Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
kpa_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(kpa_03)
6
7EvtScript N(EVS_PreBattle) = {
8 Call(SetSpriteShading, SHADING_NONE)
10 Call(SetDarknessMode, BTL_DARKNESS_MODE_1)
11 Return
12 End
13};
14
15EvtScript N(EVS_PostBattle) = {
16 Return
17 End
18};
19
20s32 N(ForegroundModels)[] = {
23};
24
25Stage NAMESPACE = {
26 .texture = "kpa_tex",
27 .shape = "kpa_bt03_shape",
28 .hit = "kpa_bt03_hit",
29 .preBattle = &N(EVS_PreBattle),
30 .postBattle = &N(EVS_PostBattle),
31 .foregroundModelList = N(ForegroundModels),
32};
Bytecode EvtScript[]
@ BTL_DARKNESS_MODE_1
Definition enums.h:6357
@ CAM_BATTLE
Definition enums.h:1801
#define MODEL_tar1
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