|
Digimon World 3 decomp
The European version, SLES_039.36
|
A technique (TECHS, from 1: technique n is TECHS[n - 1]) More...
#include <engine/game_state.h>
Data Fields | |
| u16 | mp |
| its cost | |
| u16 | power |
| its damage, times the user's attack over the target's defense | |
| u8 | icon |
| a frame of the menu sprites, from 0x37 | |
| u8 | kind |
| 3: heals the target | |
| u8 | accuracy |
| u8 | element |
| ELEMENT_FIRST and up, under it none. | |
| u8 | elementPower |
| how much the element adds, against the target's resistance | |
| u8 | family |
| FAMILY_FIRST and up, under it none. | |
| u8 | effect |
| TECH_EFFECT_* (fightstg/battle.h), under TECH_EFFECT_FIRST none. | |
| u8 | effectChance |
| u8 | effectPower |
| the effect's strength (a boost's amount, a drain's 128ths) | |
| u8 | scriptStage |
| its script's stage (BattleScript.stage) | |
| u8 | scriptEffect |
| its script's sprite effect (BattleScript.effect) | |
| u8 | scriptSound |
| its script's hit sound (BattleScript.sound) | |
| u8 | script |
| its script in the user's archive (BattleScript.index); 5 and 12 are special | |
| u8 | hitCount |
A technique (TECHS, from 1: technique n is TECHS[n - 1])
Definition at line 110 of file game_state.h.
| u16 TechData::mp |
its cost
Definition at line 111 of file game_state.h.
Referenced by announceFirstTech(), confirmSwitchIn(), FIGHTSTG_showSwitchInChoices(), STGDGLAB_showSkillPanel(), STSTATUS_showChosenTech(), STSTATUS_showPartnerTech(), STSTATUS_showTechCost(), STSTATUS_useTech(), and useEnemyTech().
| u16 TechData::power |
its damage, times the user's attack over the target's defense
Definition at line 112 of file game_state.h.
Referenced by FIGHTSTG_computeDamage(), FIGHTSTG_computeHeal(), and FIGHTSTG_computeMagicDamage().
| u8 TechData::icon |
a frame of the menu sprites, from 0x37
Definition at line 113 of file game_state.h.
Referenced by announceTech(), boostFieldElement(), choosePartnerScript(), drawEntryPanel(), FIGHTSTG_startAction(), FIGHTSTG_updateTechAction(), setTechIdleMotions(), STGDGLAB_drawEntryList(), STGDGLAB_drawSkillPanel(), STSTATUS_drawDigivolvePanel(), wakeUpOrCounter(), and WFIGHTMN_startTech().
| u8 TechData::kind |
3: heals the target
Definition at line 114 of file game_state.h.
| u8 TechData::accuracy |
Definition at line 115 of file game_state.h.
Referenced by FIGHTSTG_rollHit(), and FIGHTSTG_rollMagicHit().
| u8 TechData::element |
ELEMENT_FIRST and up, under it none.
Definition at line 116 of file game_state.h.
Referenced by boostFieldElement(), chooseEnemyScript(), choosePartnerScript(), FIGHTSTG_adjustDamage(), FIGHTSTG_computeMagicDamage(), FIGHTSTG_rollMagicCritical(), playCounterTech(), WFIGHTMN_bringLastEnemy(), WFIGHTMN_recordTech(), and WFIGHTMN_startTech().
| u8 TechData::elementPower |
how much the element adds, against the target's resistance
Definition at line 117 of file game_state.h.
Referenced by FIGHTSTG_adjustDamage(), FIGHTSTG_rollMagicCritical(), and WFIGHTMN_bringLastEnemy().
| u8 TechData::family |
FAMILY_FIRST and up, under it none.
Definition at line 118 of file game_state.h.
Referenced by chooseEnemyScript(), choosePartnerScript(), FIGHTSTG_adjustDamage(), FIGHTSTG_computeMagicDamage(), FIGHTSTG_rollCritical(), FIGHTSTG_rollMagicCritical(), and WFIGHTMN_startTech().
| u8 TechData::effect |
TECH_EFFECT_* (fightstg/battle.h), under TECH_EFFECT_FIRST none.
Definition at line 119 of file game_state.h.
Referenced by choosePartnerScript(), dealTechDamage(), FIGHTSTG_adjustDamage(), FIGHTSTG_applyTechEffect(), FIGHTSTG_drainMp(), FIGHTSTG_lowerAttack(), FIGHTSTG_lowerDefense(), FIGHTSTG_raiseAllStatus(), FIGHTSTG_raiseEachStatus(), FIGHTSTG_raiseOneStatus(), FIGHTSTG_rollCritical(), FIGHTSTG_rollDrain(), FIGHTSTG_rollHit(), FIGHTSTG_rollMultiHit(), FIGHTSTG_rollPoison(), FIGHTSTG_startAction(), FIGHTSTG_startEndBattle(), FIGHTSTG_startRestriction(), FIGHTSTG_tryConfusion(), FIGHTSTG_tryDrain(), FIGHTSTG_tryNoSwitch(), FIGHTSTG_tryParalysis(), FIGHTSTG_trySleep(), FIGHTSTG_trySteal(), markTechEffect(), rollStatus(), WFIGHTMN_bringLastEnemy(), WFIGHTMN_recordTech(), and WFIGHTMN_startTech().
| u8 TechData::effectChance |
Definition at line 120 of file game_state.h.
Referenced by FIGHTSTG_rollDrain(), FIGHTSTG_rollPoison(), FIGHTSTG_rollSleep(), FIGHTSTG_rollStatusRaise(), FIGHTSTG_rollSteal(), rollStatus(), rollTechChance(), and WFIGHTMN_bringLastEnemy().
| u8 TechData::effectPower |
the effect's strength (a boost's amount, a drain's 128ths)
Definition at line 121 of file game_state.h.
Referenced by boostFieldElement(), boostFighterStat(), boostSideStat(), chargeUser(), drainMp(), FIGHTSTG_computeCounterDamage(), FIGHTSTG_drainMp(), FIGHTSTG_lowerAttack(), FIGHTSTG_lowerDefense(), FIGHTSTG_raiseAllStatus(), FIGHTSTG_raiseEachStatus(), FIGHTSTG_raiseOneStatus(), FIGHTSTG_reviveFighter(), FIGHTSTG_rollCritical(), FIGHTSTG_rollPoison(), FIGHTSTG_startRestriction(), FIGHTSTG_tryConfusion(), FIGHTSTG_tryDrain(), FIGHTSTG_tryParalysis(), FIGHTSTG_trySleep(), STSTATUS_getTechHealing(), and WFIGHTMN_bringLastEnemy().
| u8 TechData::scriptStage |
its script's stage (BattleScript.stage)
Definition at line 122 of file game_state.h.
Referenced by chooseEnemyScript(), choosePartnerScript(), setUpItemTech(), and WFIGHTMN_bringLastEnemy().
| u8 TechData::scriptEffect |
its script's sprite effect (BattleScript.effect)
Definition at line 123 of file game_state.h.
Referenced by chooseEnemyScript(), choosePartnerScript(), playCounterTech(), setUpItemTech(), and WFIGHTMN_bringLastEnemy().
| u8 TechData::scriptSound |
its script's hit sound (BattleScript.sound)
Definition at line 124 of file game_state.h.
Referenced by chooseEnemyScript(), choosePartnerScript(), playCounterTech(), setUpItemTech(), and WFIGHTMN_bringLastEnemy().
| u8 TechData::script |
its script in the user's archive (BattleScript.index); 5 and 12 are special
Definition at line 125 of file game_state.h.
Referenced by announceTech(), chooseEnemyScript(), choosePartnerScript(), FIGHTSTG_adjustDamage(), FIGHTSTG_startAction(), FIGHTSTG_updateTechAction(), playCounterTech(), wakeUpOrCounter(), WFIGHTMN_bringLastEnemy(), and WFIGHTMN_recordTech().
| u8 TechData::hitCount |
Definition at line 126 of file game_state.h.
Referenced by FIGHTSTG_rollMultiHit().