Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
pra_03c.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(pra_03c)
5
6EvtScript N(EVS_PreBattle) = {
7 Call(SetSpriteShading, SHADING_NONE)
11 Return
12 End
13};
14
15EvtScript N(EVS_PostBattle) = {
16 Return
17 End
18};
19
20Stage NAMESPACE = {
21 .texture = "pra_tex",
22 .shape = "pra_bt03_shape",
23 .hit = "pra_bt03_hit",
24 .preBattle = &N(EVS_PreBattle),
25 .postBattle = &N(EVS_PostBattle),
26};
Bytecode EvtScript[]
@ MODEL_GROUP_HIDDEN
Definition enums.h:4376
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_g117
Definition hos_00_shape.h:2
#define MODEL_g115
ApiStatus SetGroupVisibility(Evt *script, b32 isInitialCall)
Enables or disables the given group.
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