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

One of the battle's fighters, three on each side (WFIGHTMN's BattleUnit): a partner's HP and MP go back to the party when the battle ends. More...

#include <battle/battle_mode/battle.h>

Data Fields

s16 id
 the Digimon (DIGIMON_DATA)
 
s16 prevId
 its own id while id is a temporary one
 
s16 turns
 an enemy's, for its battle table's conditions
 
s16 maxHp
 
s16 hp
 
s16 maxMp
 
s16 mp
 
s16 charge
 added in 64ths to its next technique's damage, which uses it up
 
s16 boosts [4]
 added to the stats FIGHTSTG_boostStats picks
 
s16 item
 an enemy's
 
u8 temporary
 id is a temporary Digimon
 
u8 special
 the partner's special state (EVENT_SPECIAL_END): doubles its effects
 
u8 flags
 FIGHTER_*.
 
u8 paralysis
 FIGHTER_PARALYZED's strength.
 
u8 sleep
 FIGHTER_ASLEEP's.
 
u8 confusion
 FIGHTER_CONFUSED's.
 

Detailed Description

One of the battle's fighters, three on each side (WFIGHTMN's BattleUnit): a partner's HP and MP go back to the party when the battle ends.

Definition at line 191 of file battle.h.

Field Documentation

◆ id

◆ prevId

s16 BattleFighter::prevId

its own id while id is a temporary one

Definition at line 193 of file battle.h.

Referenced by FIGHTSTG_showDigivolveNames(), FIGHTSTG_updateDigivolveMenu(), WFIGHTMN_blast(), and WFIGHTMN_endBlast().

◆ turns

s16 BattleFighter::turns

an enemy's, for its battle table's conditions

Definition at line 194 of file battle.h.

Referenced by FIGHTSTG_testEnemyCondition().

◆ maxHp

◆ hp

◆ maxMp

◆ mp

◆ charge

s16 BattleFighter::charge

◆ boosts

◆ item

s16 BattleFighter::item

◆ temporary

◆ special

u8 BattleFighter::special

◆ flags

◆ paralysis

u8 BattleFighter::paralysis

FIGHTER_PARALYZED's strength.

Definition at line 205 of file battle.h.

Referenced by announceKnockOut(), FIGHTSTG_inflictParalysis(), FIGHTSTG_rollCritical(), FIGHTSTG_rollMagicCritical(), and FIGHTSTG_testParalysis().

◆ sleep

u8 BattleFighter::sleep

◆ confusion

u8 BattleFighter::confusion

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