Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
trd_05b.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(trd_05b)
5
7
8EvtScript N(EVS_PreBattle) = {
9 Call(SetSpriteShading, SHADING_NONE)
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
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_kai
#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
#define MODEL_kusari1