Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
kmr_03.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(kmr_03)
5
7
8EvtScript N(EVS_PreBattle) = {
9 Call(SetSpriteShading, SHADING_NONE)
11 Set(LVar2, 0)
12 Exec(N(EVS_AnimateCloud))
14 Set(LVar2, 70)
15 Exec(N(EVS_AnimateCloud))
16 Return
17 End
18};
19
20EvtScript N(EVS_PostBattle) = {
21 Return
22 End
23};
24
25s32 N(ForegroundModels)[] = {
29};
30
31Stage NAMESPACE = {
32 .texture = "kmr_tex",
33 .shape = "kmr_bt03_shape",
34 .hit = "kmr_bt03_hit",
35 .bg = "kmr_bg",
36 .preBattle = &N(EVS_PreBattle),
37 .postBattle = &N(EVS_PostBattle),
38 .foregroundModelList = N(ForegroundModels),
39};
Bytecode EvtScript[]
#define MODEL_g59
#define MODEL_g60
#define MODEL_m4
#define MODEL_n2
ApiStatus SetSpriteShading(Evt *script, b32 isInitialCall)
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
Definition macros.h:365
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
Definition macros.h:213
#define LVar2
Definition macros.h:150
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
Definition macros.h:576
#define LVar0
Definition macros.h:148
#define Exec(EVT_SOURCE)
Launches a new thread.
Definition macros.h:455
#define Return
Kills the current EVT thread.
Definition macros.h:217
#define STAGE_MODEL_LIST_END
Definition battle.h:8