Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
jan_04b.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3
4#define NAMESPACE A(jan_04b)
5
6EvtScript N(EVS_PreBattle) = {
7 Call(SetSpriteShading, SHADING_NONE)
10 Return
11 End
12};
13
14EvtScript N(EVS_PostBattle) = {
15 Return
16 End
17};
18
19s32 N(ForegroundModels)[] = {
22};
23
24Stage NAMESPACE = {
25 .texture = "jan_tex",
26 .shape = "jan_bt04_shape",
27 .hit = "jan_bt04_hit",
28 .bg = "jan_bg",
29 .preBattle = &N(EVS_PreBattle),
30 .postBattle = &N(EVS_PostBattle),
31 .foregroundModelList = N(ForegroundModels),
32};
#define MODEL_g2
Bytecode EvtScript[]
#define MODEL_o31
@ MODEL_GROUP_HIDDEN
Definition enums.h:4376
@ CAM_BATTLE
Definition enums.h:1801
ApiStatus SetGroupVisibility(Evt *script, b32 isInitialCall)
Enables or disables the given group.
ApiStatus SetSpriteShading(Evt *script, b32 isInitialCall)
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 STAGE_MODEL_LIST_END
Definition battle.h:8