11 switch (speed->
mode) {
23 while (speed->
rest > 4) {
Battle FIGHTSTG_battle
the battle: its fighters, speed and drawing functions
FIGHTSTG.PRO: the battle.
GfxState GFX
GFX: the graphics state and its methods.
void FIGHTSTG_countFrames(void)
How many frames the battle moves on this frame by its speed mode: as many as went by,...
void FIGHTSTG_setSpeed(s32 mode)
Sets the battle's speed mode and counts this frame again.
How the battle's frames go by (FIGHTSTG_setSpeed sets it)
s32 rest
the time mode 2 hasn't counted yet
s32 mode
1: stopped, 2: slowed (a frame per 4 of time), 3: double
s32 frames
since the last update
s32(* getFrameTime)(void)