Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
kzn_04c.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(kzn_04c)
5
6#include "./Decorations.inc.c"
7
8EvtScript N(EVS_PreBattle) = {
9 Call(SetSpriteShading, SHADING_NONE)
15 Exec(N(EVS_TexPan_Lava))
18 Exec(N(EVS_TexPan_Lava))
21 Exec(N(EVS_TexPan_Lava))
24 Exec(N(EVS_TexPan_Lava))
27 Exec(N(EVS_TexPan_Lava))
30 Exec(N(EVS_TexPan_Lava))
33 Exec(N(EVS_TexAnim_LavaBubble))
36 Exec(N(EVS_TexAnim_LavaBubble))
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_bt04_shape",
56 .hit = "kzn_bt04_hit",
57 .preBattle = &N(EVS_PreBattle),
58 .postBattle = &N(EVS_PostBattle),
59 .foregroundModelList = N(ForegroundModels),
60};
#define MODEL_iwa3
Bytecode EvtScript[]
@ TEX_PANNER_8
Definition enums.h:4406
@ TEX_PANNER_4
Definition enums.h:4402
@ TEX_PANNER_0
Definition enums.h:4398
@ TEX_PANNER_2
Definition enums.h:4400
@ TEX_PANNER_9
Definition enums.h:4407
@ TEX_PANNER_7
Definition enums.h:4405
@ TEX_PANNER_3
Definition enums.h:4401
@ TEX_PANNER_1
Definition enums.h:4399
@ MODEL_GROUP_HIDDEN
Definition enums.h:4376
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_08
Definition isk_08_shape.h:2
#define MODEL_06
#define MODEL_yougan
Definition kpa_01_shape.h:6
#define MODEL_ue3
#define MODEL_sita1
#define MODEL_y2_1
#define MODEL_awa2
#define MODEL_y3_2
#define MODEL_y3_1
#define MODEL_awa1
#define MODEL_y2_2
#define MODEL_tri
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 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 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 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