Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
kzn_02.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(kzn_02)
5
6#include "./Decorations.inc.c"
7
8EvtScript N(EVS_PreBattle) = {
9 Call(SetSpriteShading, SHADING_NONE)
13 Exec(N(EVS_TexPan_Lava))
16 Exec(N(EVS_TexPan_Lava))
19 Exec(N(EVS_TexPan_Lava))
22 Exec(N(EVS_TexPan_Lava))
25 Exec(N(EVS_TexPan_Lava))
28 Exec(N(EVS_TexPan_Lava))
31 Exec(N(EVS_TexPan_Lava))
33 Set(LVar1, 180)
34 Set(LVar2, 0)
35 Set(LVar3, 200)
36 Exec(N(EVS_MovingPlatform))
37 Return
38 End
39};
40
41EvtScript N(EVS_PostBattle) = {
42 Return
43 End
44};
45
46s32 N(ForegroundModels)[] = {
51};
52
53Stage NAMESPACE = {
54 .texture = "kzn_tex",
55 .shape = "kzn_bt02_shape",
56 .hit = "kzn_bt02_hit",
57 .preBattle = &N(EVS_PreBattle),
58 .postBattle = &N(EVS_PostBattle),
59 .foregroundModelList = N(ForegroundModels),
60};
#define MODEL_iwa3
Bytecode EvtScript[]
@ TEX_PANNER_5
Definition enums.h:4403
@ TEX_PANNER_6
Definition enums.h:4404
@ TEX_PANNER_4
Definition enums.h:4402
@ TEX_PANNER_0
Definition enums.h:4398
@ TEX_PANNER_2
Definition enums.h:4400
@ TEX_PANNER_3
Definition enums.h:4401
@ TEX_PANNER_1
Definition enums.h:4399
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_move
#define MODEL_yougan
Definition kpa_01_shape.h:6
#define MODEL_ue3
#define MODEL_sita1
#define MODEL_y2_1
#define MODEL_y1_2
#define MODEL_y3_2
#define MODEL_y3_1
#define MODEL_y2_2
#define MODEL_y1_1
ApiStatus SetSpriteShading(Evt *script, b32 isInitialCall)
ApiStatus SetCamBGColor(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 LVar1
Definition macros.h:149
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
Definition macros.h:576
#define LVar3
Definition macros.h:151
#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