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

computeStats' result: the stats with the equipment added, by STAT_* or by name. More...

#include <engine/game_state.h>

Collaboration diagram for PartnerTotals:
[legend]

Data Fields

s16 stats [24]
 
struct { 
 
   s16   level 
 
   s16   tp 
 what the training's intensities cost More...
 
   s16   hp 
 
   s16   maxHp 
 
   s16   mp 
 
   s16   maxMp 
 
   s16   battle [6] 
 strength (raised by weapons), defense (by armour), spirit, wisdom, speed and charisma (by all equipment) More...
 
   s16   resist [7] 
 
   s16   lowered [3] 
 taken from battle[0], [1] and [4] More...
 
   s32   spare 
 not filled: STGTRAIN's result keeps its yes/no answer here, 0 yes More...
 
} fields 
 
StatBlock block
 the first 0x2C bytes, which computeStats copies whole
 

Detailed Description

computeStats' result: the stats with the equipment added, by STAT_* or by name.

computeStats fills the first 22 (0x2C bytes).

Definition at line 409 of file game_state.h.

Field Documentation

◆ stats

◆ level

s16 PartnerTotals::level

Definition at line 412 of file game_state.h.

Referenced by FIGHTSTG_computeStats(), and STGTRAIN_showVitals().

◆ tp

s16 PartnerTotals::tp

what the training's intensities cost

Definition at line 413 of file game_state.h.

Referenced by STGTRAIN_pickIntensity(), STGTRAIN_showTp(), and STSTATUS_showPartnerStats().

◆ hp

s16 PartnerTotals::hp

Definition at line 414 of file game_state.h.

Referenced by STGTRAIN_showStatChanges(), and STGTRAIN_showVitals().

◆ maxHp

s16 PartnerTotals::maxHp

Definition at line 415 of file game_state.h.

Referenced by STGTRAIN_showGains(), STGTRAIN_showStatChanges(), and STGTRAIN_showVitals().

◆ mp

s16 PartnerTotals::mp

Definition at line 416 of file game_state.h.

Referenced by STGTRAIN_showStatChanges(), and STGTRAIN_showVitals().

◆ maxMp

s16 PartnerTotals::maxMp

Definition at line 417 of file game_state.h.

Referenced by STGTRAIN_showGains(), STGTRAIN_showStatChanges(), and STGTRAIN_showVitals().

◆ battle

s16 PartnerTotals::battle[6]

strength (raised by weapons), defense (by armour), spirit, wisdom, speed and charisma (by all equipment)

Definition at line 418 of file game_state.h.

Referenced by checkPartyStat(), computeStats(), FIGHTSTG_computeStats(), getStat(), STGDGLAB_showEntryList(), STGTRAIN_showBattleStats(), STGTRAIN_showStatChanges(), and STSTATUS_getTechHealing().

◆ resist

s16 PartnerTotals::resist[7]

◆ lowered

◆ spare

s32 PartnerTotals::spare

not filled: STGTRAIN's result keeps its yes/no answer here, 0 yes

Definition at line 422 of file game_state.h.

Referenced by STGTRAIN_askBonusTry(), and STGTRAIN_runTraining().

◆ [struct]

◆ block

StatBlock PartnerTotals::block

the first 0x2C bytes, which computeStats copies whole

Definition at line 424 of file game_state.h.

Referenced by computeStats().


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