Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
DigimonData Struct Reference

Digimon definition (DIGIMON_DATA, 52 of them; the first 8 are the partners) More...

#include <engine/game_state.h>

Data Fields

u16 id
 
u16 battleStats [6]
 
u16 resistances [7]
 
u16 skills [7]
 [1]-[6] are learnt at skillLevels
 
u16 pairTech
 its pair technique, with pairPartner
 
u8 statusResists [5]
 against poison, paralysis, confusion, sleep and knock-outs
 
u8 skillLevels [6]
 
u8 knownLevels [5]
 the levels that mark an entry's skills[0]-[4] known
 
u8 expLevel
 the level after which its exp grows faster
 
u8 pairPartner
 the Digimon (from 1) it does pairTech with, 0 for none
 
u8 expRate
 a partner's exp per level, in tenths
 
u8 hp
 
u8 mp
 
u8 hpGrowth
 what a partner's max HP grows by a level
 
u8 mpGrowth
 
u8 statGrowth [6]
 columns of the growth tables
 
u8 resistGrowth [7]
 1-5: how fast the gyms raise them
 
u8 blastForms [5]
 what a blast turns a partner into (from 1), by its level's tier
 
u8 nameId
 string in file 0x4F
 
u8 family
 the family it fights as (BattleStats.family)
 

Detailed Description

Digimon definition (DIGIMON_DATA, 52 of them; the first 8 are the partners)

Definition at line 86 of file game_state.h.

Field Documentation

◆ id

◆ battleStats

◆ resistances

◆ skills

◆ pairTech

u16 DigimonData::pairTech

its pair technique, with pairPartner

Definition at line 91 of file game_state.h.

Referenced by findPairTech().

◆ statusResists

u8 DigimonData::statusResists[5]

against poison, paralysis, confusion, sleep and knock-outs

Definition at line 92 of file game_state.h.

Referenced by FIGHTSTG_computeStats().

◆ skillLevels

u8 DigimonData::skillLevels[6]

Definition at line 93 of file game_state.h.

Referenced by STFGTREP_addSkill().

◆ knownLevels

u8 DigimonData::knownLevels[5]

the levels that mark an entry's skills[0]-[4] known

Definition at line 94 of file game_state.h.

Referenced by STFGTREP_learnSkill().

◆ expLevel

u8 DigimonData::expLevel

the level after which its exp grows faster

Definition at line 95 of file game_state.h.

Referenced by STFGTREP_addDigimonExp(), and STFGTREP_getDigimonExp().

◆ pairPartner

u8 DigimonData::pairPartner

the Digimon (from 1) it does pairTech with, 0 for none

Definition at line 96 of file game_state.h.

Referenced by FIGHTSTG_getPairDigimon(), and findPairTech().

◆ expRate

u8 DigimonData::expRate

a partner's exp per level, in tenths

Definition at line 97 of file game_state.h.

Referenced by STFGTREP_addExp().

◆ hp

u8 DigimonData::hp

Definition at line 98 of file game_state.h.

Referenced by initNewGameData().

◆ mp

u8 DigimonData::mp

Definition at line 99 of file game_state.h.

Referenced by initNewGameData().

◆ hpGrowth

u8 DigimonData::hpGrowth

what a partner's max HP grows by a level

Definition at line 100 of file game_state.h.

Referenced by STFGTREP_raiseStats().

◆ mpGrowth

u8 DigimonData::mpGrowth

Definition at line 101 of file game_state.h.

Referenced by STFGTREP_raiseStats().

◆ statGrowth

u8 DigimonData::statGrowth[6]

columns of the growth tables

Definition at line 102 of file game_state.h.

Referenced by STFGTREP_raiseStats().

◆ resistGrowth

u8 DigimonData::resistGrowth[7]

1-5: how fast the gyms raise them

Definition at line 103 of file game_state.h.

Referenced by STFGTREP_raiseStats(), and STGTRAIN_raiseResistance().

◆ blastForms

u8 DigimonData::blastForms[5]

what a blast turns a partner into (from 1), by its level's tier

Definition at line 104 of file game_state.h.

Referenced by WFIGHTMN_blast().

◆ nameId

◆ family

u8 DigimonData::family

the family it fights as (BattleStats.family)

Definition at line 106 of file game_state.h.

Referenced by FIGHTSTG_computeStats().


The documentation for this struct was generated from the following file: