Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
trd_05f.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(trd_05f)
5
7
8EvtScript N(EVS_PreBattle) = {
9 Call(SetSpriteShading, SHADING_NONE)
12 Exec(N(EVS_AnimateWave))
21 Return
22 End
23};
24
25EvtScript N(EVS_PostBattle) = {
26 Return
27 End
28};
29
30Stage NAMESPACE = {
31 .texture = "trd_tex",
32 .shape = "trd_bt05_shape",
33 .hit = "trd_bt05_hit",
34 .preBattle = &N(EVS_PreBattle),
35 .postBattle = &N(EVS_PostBattle),
36};
Bytecode EvtScript[]
#define MODEL_o318
#define MODEL_hako
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_mizu1
#define MODEL_mizu2
#define MODEL_saku2
#define MODEL_saku1
#define MODEL_ori
ApiStatus SetSpriteShading(Evt *script, b32 isInitialCall)
ApiStatus EnableModel(Evt *script, b32 isInitialCall)
Enables or disables the given model.
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 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 MODEL_mizu4
#define MODEL_mizu3