Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
pra_02.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
2#include "script_api/battle.h"
4
5#define NAMESPACE A(pra_02)
6
8
9EvtScript N(EVS_PreBattle) = {
10 Call(SetSpriteShading, SHADING_NONE)
12 Call(EnableBattleFloorReflections, TRUE)
15 Set(LVar2, 3000)
16 Set(LVar3, 0)
17 Exec(N(EVS_TexturePanMain))
20 Set(LVar2, 3000)
21 Set(LVar3, 0)
22 Exec(N(EVS_TexturePanMain))
23 Return
24 End
25};
26
27EvtScript N(EVS_PostBattle) = {
28 Return
29 End
30};
31
32s32 N(ForegroundModels)[] = {
37};
38
39Stage NAMESPACE = {
40 .texture = "pra_tex",
41 .shape = "pra_bt02_shape",
42 .hit = "pra_bt02_hit",
43 .preBattle = &N(EVS_PreBattle),
44 .postBattle = &N(EVS_PostBattle),
45 .foregroundModelList = N(ForegroundModels),
46};
#define MODEL_o383
Bytecode EvtScript[]
#define MODEL_o384
#define MODEL_o412
#define MODEL_o413
#define MODEL_o385
@ TEX_PANNER_0
Definition enums.h:4398
@ CAM_BATTLE
Definition enums.h:1801
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