Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
jan_00.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
3#include "effects.h"
4
5#define NAMESPACE A(jan_00)
6
8
9EvtScript N(EVS_PreBattle) = {
10 Call(SetSpriteShading, SHADING_NONE)
13 Exec(N(EVS_AnimatePalmLeaves))
15 Exec(N(EVS_AnimatePalmLeaves))
17 Exec(N(EVS_AnimateWave))
18 PlayEffect(EFFECT_SUN, 0, 0, 0, 0, 0, 0, 0)
19 Return
20 End
21};
22
23EvtScript N(EVS_PostBattle) = {
24 Return
25 End
26};
27
28Stage NAMESPACE = {
29 .texture = "jan_tex",
30 .shape = "jan_bt00_shape",
31 .hit = "jan_bt00_hit",
32 .bg = "yos_bg",
33 .preBattle = &N(EVS_PreBattle),
34 .postBattle = &N(EVS_PostBattle),
35};
#define MODEL_g88
Bytecode EvtScript[]
#define MODEL_g86
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_g89
ApiStatus SetSpriteShading(Evt *script, b32 isInitialCall)
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 PlayEffect(args...)
Definition macros.h:807
#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