Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
kmr_02.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
2
3#define NAMESPACE A(kmr_02)
4
5EvtScript N(EVS_PreBattle) = {
6 Call(SetSpriteShading, SHADING_NONE)
8 End
9};
10
11EvtScript N(EVS_PostBattle) = {
12 Return
13 End
14};
15
16Stage NAMESPACE = {
17 .texture = "kmr_tex",
18 .shape = "kmr_bt02_shape", //@bug does not exist
19 .bg = "kmr_bg",
20 .preBattle = &N(EVS_PreBattle),
21 .postBattle = &N(EVS_PostBattle),
22};
Bytecode EvtScript[]
ApiStatus SetSpriteShading(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