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

The event queue's functions (FIGHTSTG_events.funcs) More...

#include <battle/battle_mode/battle.h>

Data Fields

u8 result
 the battle's, for WFIGHTMN (BATTLE_FLED...)
 
u8 statusStrength
 getDelay's, for the end of a status (kinds 9 to 11)
 
void(* push )(BattleEvent *event)
 
void(* pushFirst )(BattleEvent *event)
 before all the others
 
s32(* pop )(void)
 the next event due
 
s32(* first )(s32 type)
 
s32(* next )(void)
 
s32(* find )(s32 type, u8 side, s32 fighter)
 
void(* remove )(EventKey *key)
 the events whose first two args are its
 
s32(* getDelay )(u8 side, s32 kind)
 FIGHTSTG_getEventDelay: when an event of side's runs.
 
void(* cureStatus )(u8 side, s32 fighter, s32 item)
 FIGHTSTG_cureStatus: an item's cure.
 

Detailed Description

The event queue's functions (FIGHTSTG_events.funcs)

Definition at line 138 of file battle.h.

Field Documentation

◆ result

u8 EventQueueFuncs::result

the battle's, for WFIGHTMN (BATTLE_FLED...)

Definition at line 139 of file battle.h.

Referenced by FIGHTSTG_endBattle(), and WFIGHTMN_endBattle().

◆ statusStrength

u8 EventQueueFuncs::statusStrength

getDelay's, for the end of a status (kinds 9 to 11)

Definition at line 140 of file battle.h.

Referenced by FIGHTSTG_getEventDelay(), FIGHTSTG_inflictConfusion(), FIGHTSTG_inflictParalysis(), and FIGHTSTG_inflictSleep().

◆ push

void(* EventQueueFuncs::push) (BattleEvent *event)

Definition at line 141 of file battle.h.

◆ pushFirst

void(* EventQueueFuncs::pushFirst) (BattleEvent *event)

before all the others

Definition at line 142 of file battle.h.

Referenced by announceKnockOut(), WFIGHTMN_restoreEnemy(), and WFIGHTMN_tag().

◆ pop

s32(* EventQueueFuncs::pop) (void)

the next event due

Definition at line 143 of file battle.h.

Referenced by WFIGHTMN_runTurn().

◆ first

s32(* EventQueueFuncs::first) (s32 type)

◆ next

s32(* EventQueueFuncs::next) (void)

Definition at line 145 of file battle.h.

◆ find

◆ remove

void(* EventQueueFuncs::remove) (EventKey *key)

the events whose first two args are its

Definition at line 147 of file battle.h.

Referenced by announceKnockOut().

◆ getDelay

s32(* EventQueueFuncs::getDelay) (u8 side, s32 kind)

◆ cureStatus

void(* EventQueueFuncs::cureStatus) (u8 side, s32 fighter, s32 item)

FIGHTSTG_cureStatus: an item's cure.

Definition at line 149 of file battle.h.

Referenced by cureStatus(), and cureStatusTech().


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