Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
dgb_03.inc.c
Go to the documentation of this file.
1
#include "
battle/battle.h
"
2
#include "
mapfs/dgb_bt03_shape.h
"
3
4
#define NAMESPACE A(dgb_03)
5
6
EvtScript
N(EVS_PreBattle) = {
7
Call
(
SetSpriteShading
, SHADING_NONE)
8
Return
9
End
10
};
11
12
EvtScript
N(EVS_PostBattle) = {
13
Return
14
End
15
};
16
17
Stage
NAMESPACE = {
18
.texture =
"dgb_tex"
,
19
.shape =
"dgb_bt03_shape"
,
20
.hit =
"dgb_bt03_hit"
,
21
.preBattle = &N(EVS_PreBattle),
22
.postBattle = &N(EVS_PostBattle),
23
};
EvtScript
Bytecode EvtScript[]
Definition
common_structs.h:14
dgb_bt03_shape.h
SetSpriteShading
ApiStatus SetSpriteShading(Evt *script, b32 isInitialCall)
End
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
Definition
macros.h:213
Call
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
Definition
macros.h:576
Return
#define Return
Kills the current EVT thread.
Definition
macros.h:217
battle.h
Stage
Definition
battle.h:181
src
battle
common
stage
area_dgb
dgb_03.inc.c
Generated by
1.10.0