Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
flo_01.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3#include "effects.h"
4
5#define NAMESPACE A(flo_01)
6
9
10EvtScript N(EVS_PreBattle) = {
11 Call(SetSpriteShading, SHADING_NONE)
16 Exec(N(EVS_RandomFlowers_Background))
17 ExecWait(N(MakeSun))
18 Return
19 End
20};
21
22EvtScript N(EVS_PostBattle) = {
23 Return
24 End
25};
26
27s32 N(ForegroundModels)[] = {
28 -1,
37};
38
39Stage NAMESPACE = {
40 .texture = "flo_tex",
41 .shape = "flo_bt01_shape",
42 .hit = "flo_bt01_hit",
43 .bg = "fla_bg",
44 .preBattle = &N(EVS_PreBattle),
45 .postBattle = &N(EVS_PostBattle),
46 .foregroundModelList = N(ForegroundModels),
47};
Bytecode EvtScript[]
#define MODEL_o407
#define MODEL_o411
#define MODEL_o423
#define MODEL_o422
@ MODEL_GROUP_HIDDEN
Definition enums.h:4376
@ MODEL_GROUP_VISIBLE
Definition enums.h:4377
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_o400
#define MODEL_o424
#define MODEL_dai_05
#define MODEL_o401
#define MODEL_dai_03
#define MODEL_dai_04
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 ExecWait(EVT_SOURCE)
Launches a new child thread.
Definition macros.h:475
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
Definition macros.h:576
#define Exec(EVT_SOURCE)
Launches a new thread.
Definition macros.h:455
#define Return
Kills the current EVT thread.
Definition macros.h:217
#define STAGE_MODEL_LIST_END
Definition battle.h:8