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

#include <battle/battle_mode/battle.h>

Collaboration diagram for BattleTableEntry:
[legend]

Data Fields

s16 id
 
s16 item
 what the enemy may leave
 
s16 itemChance
 in 1024ths, less one
 
s16 nameId
 string in file 0x4F
 
s16 techs [3]
 its first, then those of FIGHTSTG_getEnemyAction's kinds 2 and 3
 
s16 stats [5]
 by BATTLE_STAT_*, scaled by the enemy's strength / 16
 
s16 resist [12]
 
u8 family
 FAMILY_*, the enemy's stats'.
 
BattleTableAction actions [3+1]
 the first whose condition holds (FIGHTSTG_testEnemyCondition)
 
BattleTableAction counter
 its counterattack (FIGHTSTG_updateCounterattack)
 

Detailed Description

Definition at line 58 of file battle.h.

Field Documentation

◆ id

s16 BattleTableEntry::id

Definition at line 59 of file battle.h.

Referenced by FIGHTSTG_findBattleTableIndex().

◆ item

s16 BattleTableEntry::item

what the enemy may leave

Definition at line 60 of file battle.h.

Referenced by WFIGHTMN_initFighters().

◆ itemChance

s16 BattleTableEntry::itemChance

in 1024ths, less one

Definition at line 61 of file battle.h.

Referenced by FIGHTSTG_rollSteal(), and WFIGHTMN_endBattle().

◆ nameId

s16 BattleTableEntry::nameId

◆ techs

s16 BattleTableEntry::techs[3]

its first, then those of FIGHTSTG_getEnemyAction's kinds 2 and 3

Definition at line 63 of file battle.h.

Referenced by announceEnemyTech(), announceFirstTech(), FIGHTSTG_getEnemyAction(), FIGHTSTG_updateCounterattack(), FIGHTSTG_updateEnemyAttack(), and FIGHTSTG_updateOneHpTurn().

◆ stats

s16 BattleTableEntry::stats[5]

by BATTLE_STAT_*, scaled by the enemy's strength / 16

Definition at line 64 of file battle.h.

Referenced by computeEnemyStats(), and FIGHTSTG_weakenEnemy().

◆ resist

s16 BattleTableEntry::resist[12]

Definition at line 65 of file battle.h.

Referenced by computeEnemyStats().

◆ family

u8 BattleTableEntry::family

FAMILY_*, the enemy's stats'.

Definition at line 66 of file battle.h.

Referenced by computeEnemyStats().

◆ actions

BattleTableAction BattleTableEntry::actions[3+1]

the first whose condition holds (FIGHTSTG_testEnemyCondition)

Definition at line 67 of file battle.h.

Referenced by FIGHTSTG_updateEnemyTurn().

◆ counter

BattleTableAction BattleTableEntry::counter

its counterattack (FIGHTSTG_updateCounterattack)

Definition at line 68 of file battle.h.

Referenced by FIGHTSTG_updateCounterattack().


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