Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
kmr_05b.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(kmr_05b)
5
7
8EvtScript N(EVS_PreBattle) = {
9 Call(SetSpriteShading, SHADING_NONE)
12 Return
13 End
14};
15
16EvtScript N(EVS_PostBattle) = {
17 Return
18 End
19};
20
21s32 N(ForegroundModels)[] = {
25};
26
27Stage NAMESPACE = {
28 .texture = "kmr_tex",
29 .shape = "kmr_bt05_shape",
30 .hit = "kmr_bt05_hit",
31 .bg = "kmr_bg",
32 .preBattle = &N(EVS_PreBattle),
33 .postBattle = &N(EVS_PostBattle),
34 .foregroundModelList = N(ForegroundModels),
35};
#define MODEL_yuka
Bytecode EvtScript[]
#define MODEL_o303
#define MODEL_m4
#define MODEL_n2
ApiStatus SetSpriteShading(Evt *script, b32 isInitialCall)
ApiStatus EnableModel(Evt *script, b32 isInitialCall)
Enables or disables the given model.
#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
#define STAGE_MODEL_LIST_END
Definition battle.h:8