|
Digimon World 3 decomp
The European version, SLES_039.36
|
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. | |
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.
| s16 BattleFighter::id |
the Digimon (DIGIMON_DATA)
Definition at line 192 of file battle.h.
Referenced by announceFirstTech(), boostSideStat(), bringSecondEnemy(), computeEnemyStats(), FIGHTSTG_changeBoost(), FIGHTSTG_computeCounterDamage(), FIGHTSTG_computeStats(), FIGHTSTG_drawHud(), FIGHTSTG_getEnemyAction(), FIGHTSTG_getPairDigimon(), FIGHTSTG_pickEnemySwitch(), FIGHTSTG_rollDedigivolve(), FIGHTSTG_rollSteal(), FIGHTSTG_setMessageName(), FIGHTSTG_showDigivolveNames(), FIGHTSTG_showFightersMessage(), FIGHTSTG_testEnemyCondition(), FIGHTSTG_updateCounterattack(), FIGHTSTG_updateDigivolveMenu(), FIGHTSTG_updateEnemyAttack(), FIGHTSTG_updateEnemyTurn(), FIGHTSTG_updateOneHpTurn(), FIGHTSTG_updateTechMenu(), findPairTech(), listSlotTechs(), showEnemyName(), WFIGHTMN_blast(), WFIGHTMN_bringLastEnemy(), WFIGHTMN_digidevolve(), WFIGHTMN_digivolve(), WFIGHTMN_endBattle(), WFIGHTMN_endBlast(), WFIGHTMN_initFighters(), WFIGHTMN_knockOut(), WFIGHTMN_markFought(), WFIGHTMN_pairTech(), and WFIGHTMN_tag().
| 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().
| s16 BattleFighter::turns |
an enemy's, for its battle table's conditions
Definition at line 194 of file battle.h.
Referenced by FIGHTSTG_testEnemyCondition().
| s16 BattleFighter::maxHp |
Definition at line 195 of file battle.h.
Referenced by addFighters(), drainEnemy(), drainHp(), FIGHTSTG_drawHud(), FIGHTSTG_getDamage(), FIGHTSTG_getGaugeGain(), FIGHTSTG_getHeal(), FIGHTSTG_reviveFighter(), FIGHTSTG_rollCounter(), FIGHTSTG_showSwitchFighters(), FIGHTSTG_testEnemyCondition(), FIGHTSTG_updateHpTweens(), fleeWhenWeak(), healEnemy(), healPartner(), healWithTech(), restoreHalfHpMp(), restoreSide(), reviveParty(), reviveSide(), setUpDrain(), WFIGHTMN_blast(), WFIGHTMN_initFighters(), WFIGHTMN_limitDamage(), and WFIGHTMN_recover().
| s16 BattleFighter::hp |
Definition at line 196 of file battle.h.
Referenced by addFighters(), boostSideStat(), confirmSwitchIn(), damageEnemy(), damagePlayer(), dealTechDamage(), drainEnemy(), drainHp(), FIGHTSTG_changeBoost(), FIGHTSTG_drawHud(), FIGHTSTG_pickEnemySwitch(), FIGHTSTG_reviveFighter(), FIGHTSTG_showSwitchFighters(), FIGHTSTG_showSwitchInChoices(), FIGHTSTG_testEnemyCondition(), FIGHTSTG_updateEnemyAttack(), FIGHTSTG_updateHpTweens(), FIGHTSTG_updateOneHpTurn(), FIGHTSTG_updateSwitchMenu(), fleeWhenWeak(), healEnemy(), healPartner(), healWithTech(), playCounterTech(), restoreHalfHpMp(), restoreSide(), reviveParty(), reviveSide(), setUpDrain(), setUpItemTech(), showCounterResult(), showFirstTechResult(), showOtherAttackResult(), takeFirstTechDamage(), WFIGHTMN_blast(), WFIGHTMN_chargeGauge(), WFIGHTMN_initFighters(), WFIGHTMN_limitDamage(), WFIGHTMN_pairTech(), WFIGHTMN_recover(), WFIGHTMN_setIdleMotion(), WFIGHTMN_startTech(), and WFIGHTMN_takeDamage().
| s16 BattleFighter::maxMp |
Definition at line 197 of file battle.h.
Referenced by drainMp(), drainMp(), FIGHTSTG_createTechWindows(), FIGHTSTG_drainMp(), FIGHTSTG_showSwitchFighters(), FIGHTSTG_showSwitchInChoices(), restoreHalfHpMp(), and WFIGHTMN_initFighters().
| s16 BattleFighter::mp |
Definition at line 198 of file battle.h.
Referenced by announceFirstTech(), confirmSwitchIn(), drainMp(), drainMp(), FIGHTSTG_createTechWindows(), FIGHTSTG_drainMp(), FIGHTSTG_showSwitchFighters(), FIGHTSTG_showSwitchInChoices(), FIGHTSTG_showTechPage(), FIGHTSTG_testEnemyCondition(), FIGHTSTG_updateTechMenu(), restoreHalfHpMp(), useEnemyTech(), and WFIGHTMN_initFighters().
| s16 BattleFighter::charge |
added in 64ths to its next technique's damage, which uses it up
Definition at line 199 of file battle.h.
Referenced by announceKnockOut(), chargeUser(), computeEnemyStats(), FIGHTSTG_computeStats(), FIGHTSTG_testEnemyCondition(), FIGHTSTG_updateFirstTech(), healEnemy(), playCounterTech(), startTechScript(), and WFIGHTMN_digidevolve().
| s16 BattleFighter::boosts[4] |
added to the stats FIGHTSTG_boostStats picks
Definition at line 200 of file battle.h.
Referenced by boostAttack(), boostDefense(), boostSpeed(), computeEnemyStats(), FIGHTSTG_changeBoost(), FIGHTSTG_computeStats(), FIGHTSTG_testEnemyCondition(), FIGHTSTG_weakenEnemy(), lowerEnemySpeed(), lowerEnemyStat(), weakenEnemyDefense(), WFIGHTMN_endBoost(), and WFIGHTMN_restoreEnemy().
| s16 BattleFighter::item |
an enemy's
Definition at line 201 of file battle.h.
Referenced by FIGHTSTG_rollSteal(), FIGHTSTG_trySteal(), stealEnemyItem(), WFIGHTMN_endBattle(), and WFIGHTMN_initFighters().
| u8 BattleFighter::temporary |
id is a temporary Digimon
Definition at line 202 of file battle.h.
Referenced by FIGHTSTG_createTechWindows(), FIGHTSTG_showDigivolveNames(), FIGHTSTG_showTechPage(), FIGHTSTG_updateDigivolveMenu(), FIGHTSTG_updateSwitchMenu(), FIGHTSTG_updateTechMenu(), findPairTech(), listSlotTechs(), WFIGHTMN_blast(), WFIGHTMN_cancelBlast(), and WFIGHTMN_chargeGauge().
| u8 BattleFighter::special |
the partner's special state (EVENT_SPECIAL_END): doubles its effects
Definition at line 203 of file battle.h.
Referenced by announceKnockOut(), FIGHTSTG_computeCounterDamage(), FIGHTSTG_rollCritical(), FIGHTSTG_tryConfusion(), FIGHTSTG_tryDrain(), FIGHTSTG_tryParalysis(), FIGHTSTG_tryPoison(), FIGHTSTG_trySleep(), WFIGHTMN_endSpecial(), and WFIGHTMN_tag().
| u8 BattleFighter::flags |
FIGHTER_*.
Definition at line 204 of file battle.h.
Referenced by announceFirstTech(), announceKnockOut(), announceTech(), computeEnemyStats(), confirmSwitchIn(), confuseFighters(), cureStatus(), cureStatusTech(), FIGHTSTG_computeStats(), FIGHTSTG_cureStatus(), FIGHTSTG_drawHud(), FIGHTSTG_inflictConfusion(), FIGHTSTG_inflictParalysis(), FIGHTSTG_inflictPoison(), FIGHTSTG_inflictSleep(), FIGHTSTG_reviveFighter(), FIGHTSTG_rollCritical(), FIGHTSTG_rollMagicCritical(), FIGHTSTG_showCommands(), FIGHTSTG_showSwitchInChoices(), FIGHTSTG_startRestriction(), FIGHTSTG_testEnemyCondition(), FIGHTSTG_updateActionEvents(), FIGHTSTG_updateCommandMenu(), FIGHTSTG_updateCounterattack(), FIGHTSTG_updateEnemyAttack(), FIGHTSTG_updateEnemyTurn(), FIGHTSTG_updateFirstTech(), restoreSide(), wakeCounteredUp(), wakePlayerUp(), wakeUpOrCounter(), WFIGHTMN_blast(), WFIGHTMN_cureStatus(), WFIGHTMN_endRestriction(), and WFIGHTMN_runCommand().
| 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().
| u8 BattleFighter::sleep |
FIGHTER_ASLEEP's.
Definition at line 206 of file battle.h.
Referenced by announceKnockOut(), FIGHTSTG_inflictSleep(), FIGHTSTG_rollCritical(), FIGHTSTG_rollMagicCritical(), and FIGHTSTG_testWakeUp().
| u8 BattleFighter::confusion |
FIGHTER_CONFUSED's.
Definition at line 207 of file battle.h.
Referenced by announceKnockOut(), FIGHTSTG_inflictConfusion(), FIGHTSTG_rollCritical(), FIGHTSTG_rollMagicCritical(), and FIGHTSTG_testConfusion().