|
Digimon World 3 decomp
The European version, SLES_039.36
|
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. | |
| u8 BattleAction::side |
the acting side, SIDE_PLAYER or SIDE_ENEMY
Definition at line 276 of file battle.h.
Referenced by FIGHTSTG_lowerAttack(), FIGHTSTG_lowerDefense(), FIGHTSTG_raiseAllStatus(), FIGHTSTG_raiseEachStatus(), FIGHTSTG_raiseOneStatus(), FIGHTSTG_rollMultiHit(), FIGHTSTG_startAction(), FIGHTSTG_startDoubleMagic(), FIGHTSTG_startEndBattle(), FIGHTSTG_tryConfusion(), FIGHTSTG_tryDrain(), FIGHTSTG_tryKnockOut(), FIGHTSTG_tryNoSwitch(), FIGHTSTG_tryParalysis(), FIGHTSTG_tryPoison(), and FIGHTSTG_trySleep().
| s32 BattleAction::tech |
the technique
Definition at line 277 of file battle.h.
Referenced by applyStatusEvent(), FIGHTSTG_applyTechEffect(), FIGHTSTG_drainMp(), FIGHTSTG_lowerAttack(), FIGHTSTG_lowerDefense(), FIGHTSTG_raiseAllStatus(), FIGHTSTG_raiseEachStatus(), FIGHTSTG_raiseOneStatus(), FIGHTSTG_rollMultiHit(), FIGHTSTG_startAction(), FIGHTSTG_startDoubleMagic(), FIGHTSTG_startEndBattle(), FIGHTSTG_tryConfusion(), FIGHTSTG_tryDrain(), FIGHTSTG_tryKnockOut(), FIGHTSTG_tryNoSwitch(), FIGHTSTG_tryParalysis(), FIGHTSTG_tryPoison(), FIGHTSTG_trySleep(), FIGHTSTG_trySteal(), FIGHTSTG_updateActionEvents(), and markTechEffect().
| s32 BattleAction::damage |
per hit
Definition at line 278 of file battle.h.
Referenced by damagePlayer(), dealTechDamage(), FIGHTSTG_startAction(), FIGHTSTG_startEndBattle(), FIGHTSTG_tryDrain(), FIGHTSTG_updateEnemyAttack(), showFirstTechResult(), showOtherAttackResult(), and WFIGHTMN_startTech().
| 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().
| u8 BattleAction::hits[4] |
whether each hit lands
Definition at line 280 of file battle.h.
Referenced by dealTechDamage(), FIGHTSTG_rollMultiHit(), FIGHTSTG_startAction(), FIGHTSTG_startDoubleMagic(), FIGHTSTG_startEndBattle(), FIGHTSTG_updateEnemyAttack(), showFirstTechResult(), showOtherAttackResult(), and WFIGHTMN_startTech().
| s16 BattleAction::hitsLanded |
Definition at line 281 of file battle.h.
Referenced by dealTechDamage(), FIGHTSTG_rollMultiHit(), FIGHTSTG_startAction(), FIGHTSTG_startDoubleMagic(), showFirstTechResult(), and WFIGHTMN_startTech().
| s16 BattleAction::hitCount |
rolled in hits
Definition at line 282 of file battle.h.
Referenced by FIGHTSTG_rollMultiHit(), FIGHTSTG_startAction(), FIGHTSTG_startDoubleMagic(), FIGHTSTG_startEndBattle(), and WFIGHTMN_startTech().
| u8 BattleAction::effects[0x28] |
by TECH_EFFECT_*: what each one does, 0 for none
Definition at line 283 of file battle.h.
Referenced by applyStatusEvent(), choosePartnerScript(), damagePlayer(), dealTechDamage(), FIGHTSTG_drainMp(), FIGHTSTG_lowerAttack(), FIGHTSTG_lowerDefense(), FIGHTSTG_raiseAllStatus(), FIGHTSTG_raiseEachStatus(), FIGHTSTG_raiseOneStatus(), FIGHTSTG_rollMultiHit(), FIGHTSTG_startAction(), FIGHTSTG_startDoubleMagic(), FIGHTSTG_startEndBattle(), FIGHTSTG_tryConfusion(), FIGHTSTG_tryDrain(), FIGHTSTG_tryKnockOut(), FIGHTSTG_tryNoSwitch(), FIGHTSTG_tryParalysis(), FIGHTSTG_tryPoison(), FIGHTSTG_trySleep(), FIGHTSTG_trySteal(), FIGHTSTG_updateActionEvents(), FIGHTSTG_updateEnemyAttack(), FIGHTSTG_updateFirstTech(), markTechEffect(), setTechIdleMotions(), showFirstTechResult(), showNextRaisedStatus(), showRaisedStatus(), startTechScript(), and WFIGHTMN_startTech().
| 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().
FIGHTSTG_startAction.
Definition at line 285 of file battle.h.
Referenced by announceFirstTech(), announceTech(), and FIGHTSTG_updateEnemyAttack().