Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
sam_03.inc.c
Go to the documentation of this file.
1#include "battle/battle.h"
2#include "script_api/battle.h"
4
5#define NAMESPACE A(sam_03)
6
8
12
15 Thread
17 Set(LVar1, 0)
19 Wait(5)
21 Set(LVar1, 0)
23 Wait(5)
25 Set(LVar1, 0)
27 Wait(5)
29 Set(LVar1, 0)
33 Return
34 End
35};
36
38 Return
39 End
40};
41
42s32 N(ForegroundModels)[] = {
43 -1,
46};
47
48Stage NAMESPACE = {
49 .texture = "sam_tex",
50 .shape = "sam_bt03_shape",
51 .hit = "sam_bt03_hit",
52 .bg = "sam_bg",
53 .preBattle = &N(EVS_PreBattle),
54 .postBattle = &N(EVS_PostBattle),
55 .foregroundModelList = N(ForegroundModels),
56};
BSS s32 PopupMenu_SelectedIndex
#define MODEL_Default
Bytecode EvtScript[]
#define MODEL_g58
#define MODEL_g62
#define MODEL_o278
#define MODEL_g60
void enable_background_wave(void)
Definition background.c:309
void N EnableBackgroundWave(void)
Definition sam_03.inc.c:9
ApiStatus SetSpriteShading(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 Thread
Marks the start of a thread block.
Definition macros.h:544
#define EndThread
Marks the end of a thread block.
Definition macros.h:547
#define LVar1
Definition macros.h:149
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
Definition macros.h:254
#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
#define STAGE_MODEL_LIST_END
Definition battle.h:8