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

FIGHTSTG_startEnemyTurn's task. More...

#include <battle/battle_mode/battle.h>

Data Fields

s32 id
 
s32 key1
 
s32 key2
 
s32 state
 
s32 substate
 
s32 step
 
s32 counter
 
s32 paused
 
s32 childCount
 
void * children
 
void(* setState )(struct EnemyTurn *task, s32 state)
 
void(* setSubstate )(struct EnemyTurn *task, s32 substate)
 
void(* setStep )(struct EnemyTurn *task, s32 step)
 
void(* setCounter )(struct EnemyTurn *task, s32 counter)
 
void(* nextState )(struct EnemyTurn *task)
 
void(* nextSubstate )(struct EnemyTurn *task)
 
void(* nextStep )(struct EnemyTurn *task)
 
void(* tickCounter )(struct EnemyTurn *task)
 
void(* update )()
 
void(* destroy )(struct EnemyTurn *task)
 
s32 lines [10]
 FIGHTSTG_updateMessage's, 0 ends them.
 
s32 target
 -2 to -4 for an enemy, else any but the active one
 
s32 switchTo
 the enemy fighter it brings in (FIGHTSTG_pickEnemySwitch)
 

Detailed Description

FIGHTSTG_startEnemyTurn's task.

Definition at line 72 of file battle.h.

Field Documentation

◆ id

s32 EnemyTurn::id

Definition at line 73 of file battle.h.

◆ key1

s32 EnemyTurn::key1

Definition at line 73 of file battle.h.

◆ key2

s32 EnemyTurn::key2

Definition at line 73 of file battle.h.

◆ state

s32 EnemyTurn::state

Definition at line 73 of file battle.h.

Referenced by FIGHTSTG_updateEnemyTurn().

◆ substate

s32 EnemyTurn::substate

Definition at line 73 of file battle.h.

Referenced by FIGHTSTG_updateEnemyTurn(), fleeWhenWeak(), and switchEnemyOut().

◆ step

s32 EnemyTurn::step

Definition at line 73 of file battle.h.

Referenced by showRunAway().

◆ counter

s32 EnemyTurn::counter

Definition at line 73 of file battle.h.

◆ paused

s32 EnemyTurn::paused

Definition at line 73 of file battle.h.

◆ childCount

s32 EnemyTurn::childCount

Definition at line 73 of file battle.h.

◆ children

void* EnemyTurn::children

Definition at line 73 of file battle.h.

◆ setState

void(* EnemyTurn::setState) (struct EnemyTurn *task, s32 state)

Definition at line 73 of file battle.h.

◆ setSubstate

void(* EnemyTurn::setSubstate) (struct EnemyTurn *task, s32 substate)

Definition at line 73 of file battle.h.

Referenced by FIGHTSTG_updateEnemyTurn().

◆ setStep

void(* EnemyTurn::setStep) (struct EnemyTurn *task, s32 step)

Definition at line 73 of file battle.h.

◆ setCounter

void(* EnemyTurn::setCounter) (struct EnemyTurn *task, s32 counter)

Definition at line 73 of file battle.h.

◆ nextState

void(* EnemyTurn::nextState) (struct EnemyTurn *task)

Definition at line 73 of file battle.h.

Referenced by fleeWhenWeak().

◆ nextSubstate

void(* EnemyTurn::nextSubstate) (struct EnemyTurn *task)

Definition at line 73 of file battle.h.

Referenced by showRunAway().

◆ nextStep

void(* EnemyTurn::nextStep) (struct EnemyTurn *task)

Definition at line 73 of file battle.h.

◆ tickCounter

void(* EnemyTurn::tickCounter) (struct EnemyTurn *task)

Definition at line 73 of file battle.h.

◆ update

void(* EnemyTurn::update) ()

Definition at line 73 of file battle.h.

◆ destroy

void(* EnemyTurn::destroy) (struct EnemyTurn *task)

Definition at line 73 of file battle.h.

◆ lines

s32 EnemyTurn::lines[10]

FIGHTSTG_updateMessage's, 0 ends them.

Definition at line 74 of file battle.h.

Referenced by FIGHTSTG_updateEnemyTurn(), fleeWhenWeak(), showEnemyName(), showRunAway(), switchEnemyOut(), and useEnemyTech().

◆ target

s32 EnemyTurn::target

-2 to -4 for an enemy, else any but the active one

Definition at line 75 of file battle.h.

Referenced by FIGHTSTG_pickEnemySwitch(), FIGHTSTG_updateEnemyTurn(), and useEnemyTech().

◆ switchTo

s32 EnemyTurn::switchTo

the enemy fighter it brings in (FIGHTSTG_pickEnemySwitch)

Definition at line 76 of file battle.h.

Referenced by FIGHTSTG_updateEnemyTurn(), and switchEnemyOut().


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