Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
pra_04.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_04)
6
8
9EvtScript N(EVS_PreBattle) = {
10 Call(SetSpriteShading, SHADING_NONE)
14 Set(LVar2, 3000)
15 Set(LVar3, 0)
16 Exec(N(EVS_TexturePanMain))
19 Set(LVar2, 3000)
20 Set(LVar3, 0)
21 Exec(N(EVS_TexturePanMain))
22 Call(EnableBattleFloorReflections, TRUE)
23 Return
24 End
25};
26
27EvtScript N(EVS_PostBattle) = {
28 Return
29 End
30};
31
32Stage NAMESPACE = {
33 .texture = "pra_tex",
34 .shape = "pra_bt04_shape",
35 .hit = "pra_bt04_hit",
36 .preBattle = &N(EVS_PreBattle),
37 .postBattle = &N(EVS_PostBattle),
38};
Bytecode EvtScript[]
@ TEX_PANNER_0
Definition enums.h:4398
@ TEX_PANNER_1
Definition enums.h:4399
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_kira2
#define MODEL_kira1
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