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

A partner Digimon from its name on (Partner.info), as getPartnerStats gives it. More...

#include <engine/game_state.h>

Collaboration diagram for PartnerStats:
[legend]

Data Fields

char name [0x18]
 
s32 exp
 
s16 stats [19]
 
s16 status [3]
 
s16 slots [4]
 PARTNER_SLOT_COUNT entries picked from entries[].
 
PartnerEntry entries [44]
 
s16 equip [6]
 
u8 lastBonus
 the training whose bonus try last worked, 0 for none: its try can't work again at once
 

Detailed Description

A partner Digimon from its name on (Partner.info), as getPartnerStats gives it.

Stats (computeStats and setStat order): 0 level, 1 TP, 2 HP, 3 max HP, 4 MP, 5 max MP, 6-11 the battle stats strength, defense, spirit, wisdom, speed and charisma (STSTATUS's messages for the items that raise them; weapons raise 6, armour 7, all equipment 11), 12-18 seven resistances; the totals add 19-21, which are subtracted from 6, 7 and 10.

Definition at line 303 of file game_state.h.

Field Documentation

◆ name

◆ exp

s32 PartnerStats::exp

Definition at line 305 of file game_state.h.

Referenced by STFGTREP_addExp(), STFGTREP_updatePartner(), and STSTATUS_runStatusChoice().

◆ stats

◆ status

s16 PartnerStats::status[3]

◆ slots

s16 PartnerStats::slots[4]

PARTNER_SLOT_COUNT entries picked from entries[].

Definition at line 308 of file game_state.h.

Referenced by getPartnerSlots(), and setPartnerSlots().

◆ entries

◆ equip

◆ lastBonus

u8 PartnerStats::lastBonus

the training whose bonus try last worked, 0 for none: its try can't work again at once

Definition at line 311 of file game_state.h.

Referenced by STGTRAIN_startBonusTry(), and STGTRAIN_takeBonusTry().


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