Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
pra_03.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(pra_03)
5
6EvtScript N(EVS_PreBattle) = {
7 Call(SetSpriteShading, SHADING_NONE)
10 End
11};
12
13EvtScript N(EVS_PostBattle) = {
14 Return
15 End
16};
17
18Stage NAMESPACE = {
19 .texture = "pra_tex",
20 .shape = "pra_bt03_shape",
21 .hit = "pra_bt03_hit",
22 .preBattle = &N(EVS_PreBattle),
23 .postBattle = &N(EVS_PostBattle),
24};
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 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