Battle FIGHTSTG_battle
the battle: its fighters, speed and drawing functions
Task * FIGHTSTG_start(void)
The mode's entry point (MODE_ENTRY_POINTS): starts the root task.
void FIGHTSTG_updateRoot(Task *task, Task **children)
The mode's root task: loads WFIGHTTS (the battle test, with the mode's argument) or WFIGHTMN and star...
FIGHTSTG.PRO: the battle.
#define FILE_WFIGHTMN
The sub-overlays (FIGHTSTG_updateRoot) and their entry points.
Task * WFIGHTTS_start(void)
WFIGHTTS's entry point: creates the battle test, though with 0 bytes for its fields and for its child...
GameState GAME
The save data, the game mode and the methods.
#define TASK_INIT
Tasks: every game object is a task, a heap block that starts with this header and is updated once per...
OverlayLoader OVERLAY_LOADER
s32 FIGHTSTG_randomStage(void)
A random fight stage, 1-27.
s32 stage
the battle's fight stage
void(* countFrames)(void)
void(* setSpeed)(s32 mode)
void(* loadSubOverlay)(s32 file)
Any task, seen through its header.
void(* nextState)(struct Task *task)
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find