Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
kpa_07.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(kpa_07)
5
7
8EvtScript N(EVS_PreBattle) = {
9 Call(SetSpriteShading, SHADING_NONE)
13 Set(LVar2, -200)
14 Set(LVar3, 0)
15 Exec(N(EVS_TexturePanMain))
18 Set(LVar2, -120)
19 Set(LVar3, 0)
20 Exec(N(EVS_TexturePanMain))
23 Set(LVar2, -100)
24 Set(LVar3, 0)
25 Exec(N(EVS_TexturePanMain))
26 Return
27 End
28};
29
30EvtScript N(EVS_PostBattle) = {
31 Return
32 End
33};
34
35s32 N(ForegroundModels)[] = {
38};
39
40Stage NAMESPACE = {
41 .texture = "kpa_tex",
42 .shape = "kpa_bt07_shape",
43 .hit = "kpa_bt07_hit",
44 .preBattle = &N(EVS_PreBattle),
45 .postBattle = &N(EVS_PostBattle),
46 .foregroundModelList = N(ForegroundModels),
47};
Bytecode EvtScript[]
@ TEX_PANNER_0
Definition enums.h:4398
@ TEX_PANNER_2
Definition enums.h:4400
@ TEX_PANNER_1
Definition enums.h:4399
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_kemu1
#define MODEL_kemu3
#define MODEL_kemu2
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