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