Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
flo_05.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(flo_05)
5
7
8EvtScript N(EVS_PreBattle) = {
9 Call(SetSpriteShading, SHADING_NONE)
11 ExecWait(N(MakeSun))
12 Return
13 End
14};
15
16EvtScript N(EVS_PostBattle) = {
17 Return
18 End
19};
20
21Stage NAMESPACE = {
22 .texture = "flo_tex",
23 .shape = "flo_bt05_shape",
24 .hit = "flo_bt05_hit",
25 .bg = "fla_bg",
26 .preBattle = &N(EVS_PreBattle),
27 .postBattle = &N(EVS_PostBattle),
28};
Bytecode EvtScript[]
@ CAM_BATTLE
Definition enums.h:1801
ApiStatus SetSpriteShading(Evt *script, b32 isInitialCall)
ApiStatus SetCamBGColor(Evt *script, b32 isInitialCall)
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
Definition macros.h:213
#define ExecWait(EVT_SOURCE)
Launches a new child thread.
Definition macros.h:475
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
Definition macros.h:576
#define Return
Kills the current EVT thread.
Definition macros.h:217