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

FIGHTSTG_action: the technique being carried out. More...

#include <battle/battle_mode/battle.h>

Data Fields

u8 pad [0x20]
 never read or written
 
u8 side
 the acting side, SIDE_PLAYER or SIDE_ENEMY
 
s32 tech
 the technique
 
s32 damage
 per hit
 
s32 drain
 the HP or MP that TECH_EFFECT_DRAIN or TECH_EFFECT_DRAIN_MP takes
 
u8 hits [4]
 whether each hit lands
 
s16 hitsLanded
 
s16 hitCount
 rolled in hits
 
u8 effects [0x28]
 by TECH_EFFECT_*: what each one does, 0 for none
 
s32 hitDamage [2]
 TECH_EFFECT_DOUBLE_MAGIC's.
 
void(* start )(u8 side, s32 tech)
 FIGHTSTG_startAction.
 

Detailed Description

FIGHTSTG_action: the technique being carried out.

Definition at line 274 of file battle.h.

Field Documentation

◆ pad

u8 BattleAction::pad[0x20]

never read or written

Definition at line 275 of file battle.h.

◆ side

◆ tech

◆ damage

◆ drain

s32 BattleAction::drain

the HP or MP that TECH_EFFECT_DRAIN or TECH_EFFECT_DRAIN_MP takes

Definition at line 279 of file battle.h.

Referenced by drainHp(), drainMp(), FIGHTSTG_drainMp(), FIGHTSTG_tryDrain(), and setTechIdleMotions().

◆ hits

◆ hitsLanded

◆ hitCount

s16 BattleAction::hitCount

◆ effects

◆ hitDamage

s32 BattleAction::hitDamage[2]

TECH_EFFECT_DOUBLE_MAGIC's.

Definition at line 284 of file battle.h.

Referenced by dealTechDamage(), FIGHTSTG_startDoubleMagic(), and WFIGHTMN_startTech().

◆ start

void(* BattleAction::start) (u8 side, s32 tech)

FIGHTSTG_startAction.

Definition at line 285 of file battle.h.

Referenced by announceFirstTech(), announceTech(), and FIGHTSTG_updateEnemyAttack().


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