include/field/flag_call.h
The game flag tests and changes that Izumo's stone and its guards and the World Map's placed actors (scWorldMapUpdatePlacedActors) make through small inlines of their own; the other scenes call script.h's fdScriptGetFlag, fdScriptSetFlag and fdScriptClearFlag.
Included by izumo.c and world_map_objects.c.
Functions
| Name | Description | |
|---|---|---|
static inline Sint32 | fdFlagIsClear (Sint32 flag) | Whether a game flag is clear or set, and setting or clearing it. |
static inline Sint32 | fdFlagIsSet (Sint32 flag) | |
void | syGameFlagSet (Sint32 flag) | Sets a game flag. |
static inline void | fdFlagSet (Sint32 flag) | |
static inline void | fdFlagClear (Sint32 flag) |
Description
The game flag tests and changes that Izumo's stone and its guards and the
World Map's placed actors (scWorldMapUpdatePlacedActors) make through small
inlines of their own; the other scenes call script.h's fdScriptGetFlag,
fdScriptSetFlag and fdScriptClearFlag.
Functions in detail
fdFlagIsClear
static inline Sint32 fdFlagIsClear(Sint32 flag)
Whether a game flag is clear or set, and setting or clearing it.
References Sint32 and syGameFlagGet().
Referenced by scWorldMapUpdatePlacedActors().
Definition at line 13 of file flag_call.h.
fdFlagIsSet
static inline Sint32 fdFlagIsSet(Sint32 flag)
References Sint32 and syGameFlagGet().
Referenced by scIzumoFinishMovingStone(), scIzumoTalkToFestivalStoneCircleGuard() and scIzumoTalkToStoneCircleGuard().
Definition at line 18 of file flag_call.h.
fdFlagSet
static inline void fdFlagSet(Sint32 flag)
References Sint32 and syGameFlagSet().
Referenced by scIzumoFinishMovingStone().
Definition at line 27 of file flag_call.h.
fdFlagClear
static inline void fdFlagClear(Sint32 flag)
References Sint32 and syGameFlagClear().
Referenced by scIzumoFinishMovingStone().
Definition at line 32 of file flag_call.h.