Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
kgr_01.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(kgr_01)
5
7
8EvtScript N(EVS_PreBattle) = {
9 Call(SetSpriteShading, SHADING_NONE)
11 Thread
13 Exec(N(EVS_AnimateFlotsam))
14 Wait(4)
16 Exec(N(EVS_AnimateFlotsam))
17 Wait(4)
19 Exec(N(EVS_AnimateFlotsam))
20 Wait(4)
22 Exec(N(EVS_AnimateFlotsam))
24 Thread
26 Exec(N(EVS_AnimateFlotsam))
27 Wait(4)
29 Exec(N(EVS_AnimateFlotsam))
30 Wait(4)
32 Exec(N(EVS_AnimateFlotsam))
33 Wait(4)
35 Exec(N(EVS_AnimateFlotsam))
36 Wait(4)
38 Exec(N(EVS_AnimateFlotsam))
41 Exec(N(EVS_AnimateFlotsam))
43 Exec(N(EVS_AnimateFlotsam))
44 Return
45 End
46};
47
48EvtScript N(EVS_PostBattle) = {
49 Return
50 End
51};
52
53s32 N(ForegroundModels)[] = {
57};
58
59Stage NAMESPACE = {
60 .texture = "kgr_tex",
61 .shape = "kgr_bt01_shape",
62 .hit = "kgr_bt01_hit",
63 .preBattle = &N(EVS_PreBattle),
64 .postBattle = &N(EVS_PostBattle),
65 .foregroundModelList = N(ForegroundModels),
66};
Bytecode EvtScript[]
#define MODEL_hone
#define MODEL_hako2
#define MODEL_hako4
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_bin3
Definition kgr_02_shape.h:4
#define MODEL_bin1
Definition kgr_02_shape.h:6
#define MODEL_bin2
Definition kgr_02_shape.h:5
#define MODEL_hako5
Definition kgr_02_shape.h:8
#define MODEL_bin4
Definition kgr_02_shape.h:3
#define MODEL_hako1
#define MODEL_hako6
Definition kgr_02_shape.h:7
#define MODEL_fune2
#define MODEL_fune1
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 Thread
Marks the start of a thread block.
Definition macros.h:544
#define EndThread
Marks the end of a thread block.
Definition macros.h:547
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
Definition macros.h:254
#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