Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
trd_05e.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(trd_05e)
5
7
8EvtScript N(EVS_PreBattle) = {
9 Call(SetSpriteShading, SHADING_NONE)
19 Return
20 End
21};
22
23EvtScript N(EVS_PostBattle) = {
24 Return
25 End
26};
27
28Stage NAMESPACE = {
29 .texture = "trd_tex",
30 .shape = "trd_bt05_shape",
31 .hit = "trd_bt05_hit",
32 .preBattle = &N(EVS_PreBattle),
33 .postBattle = &N(EVS_PostBattle),
34};
Bytecode EvtScript[]
#define MODEL_o318
@ 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 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 Return
Kills the current EVT thread.
Definition macros.h:217
#define MODEL_mizu4
#define MODEL_mizu3