void copyPlacePoints(StageSlot *slots, StagePoints **list, s32 place, s32 placeArg)
Copies the points of PLACE (with PLACEARG) in LIST to SLOTS, one each.
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...
void updateStage()
The names every stage defines, each its own (config/<version>/stages/<stage>.txt).
FieldState FIELDSTG_state
StageSlot * slots
up to the first type 0
u16 place
where the last warp or trigger put the player (FieldBattles.id)
u16 placeArg
the place's argument, which the stage reads with it
The task a stage starts (startStage), updated by its updateStage.
void(* nextState)(struct StageTask *task)
StagePoints * placePoints[]
Names some stages define.