Cloak. More...
Go to the source code of this file.
Macros | |
| #define | CLOAK_TILE 0xfb |
| the tile attribute Cloak can stay hidden on | |
| #define | CLOAK_END 0x2092 |
| field command when Cloak can no longer hide | |
Functions | |
| void | FieldFx_CheckCloakTile (void) |
| Scheduler callback of Cloak: when the tile under the leader is not CLOAK_TILE, requests CLOAK_END. | |
| void | FieldFx_EndCloak (void) |
| Ends Cloak: stops the tile check and makes the leader blink back into sight, clearing cloaked. | |
| void | FieldFx_ResumeCloakCheck (void) |
| Starts the Cloak tile check if the leader is hidden. | |
| void | FieldFx_StartCloak (void) |
| The leader blinks 10 times and hides (cloaked set), and the tile check starts; where the leader cannot hide it shows again at once. | |
| #define CLOAK_TILE 0xfb |
the tile attribute Cloak can stay hidden on
Definition at line 7 of file cloak.c.
Referenced by FieldFx_CheckCloakTile().
| #define CLOAK_END 0x2092 |
field command when Cloak can no longer hide
Definition at line 8 of file cloak.c.
Referenced by FieldFx_CheckCloakTile(), and FieldFx_StartCloak().
| void FieldFx_CheckCloakTile | ( | void | ) |
Scheduler callback of Cloak: when the tile under the leader is not CLOAK_TILE, requests CLOAK_END.
On the world map (event mode 3) it reads the 32-pixel gMapBlocks, elsewhere the 16-pixel terrain map.
Definition at line 13 of file cloak.c.
Referenced by Djinn_ResolvePendingEvent(), FieldFx_CheckCloakTile(), FieldFx_EndCloak(), FieldFx_ResumeCloakCheck(), and FieldFx_StartCloak().
| void FieldFx_EndCloak | ( | void | ) |
Ends Cloak: stops the tile check and makes the leader blink back into sight, clearing cloaked.
Definition at line 77 of file cloak.c.
Referenced by Djinn_ResolvePendingEvent(), FieldEvent_RunTypeHandler(), FieldFx_EndCloak(), and FieldFx_StartCloak().
| void FieldFx_ResumeCloakCheck | ( | void | ) |
Starts the Cloak tile check if the leader is hidden.
Definition at line 117 of file cloak.c.
Referenced by Djinn_ResolvePendingEvent(), Field_RunScene(), and FieldFx_ResumeCloakCheck().
| void FieldFx_StartCloak | ( | void | ) |
The leader blinks 10 times and hides (cloaked set), and the tile check starts; where the leader cannot hide it shows again at once.
Abilities: Cloak (field kind 10).
Definition at line 127 of file cloak.c.
Referenced by BattleFx_DispatchRequestKind(), BattleFx_Run(), Djinn_ResolvePendingEvent(), and FieldFx_StartCloak().