Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
SpawnEnemyDrainFX.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
npc.h
"
3
4
API_CALLABLE(N(
SpawnDrainHealthStartFX
)) {
5
Bytecode
* args =
script
->ptrReadPos;
6
s32 x =
evt_get_variable
(
script
, *args++);
7
s32 y =
evt_get_variable
(
script
, *args++);
8
s32 z =
evt_get_variable
(
script
, *args++);
9
10
show_start_recovery_shimmer
(x, y, z,
evt_get_variable
(
script
, *args++));
11
12
return
ApiStatus_DONE2
;
13
}
14
15
API_CALLABLE(N(
SpawnDrainHealthContinueFX
)) {
16
Bytecode
* args =
script
->ptrReadPos;
17
s32 x =
evt_get_variable
(
script
, *args++);
18
s32 y =
evt_get_variable
(
script
, *args++);
19
s32 z =
evt_get_variable
(
script
, *args++);
20
21
show_recovery_shimmer
(x, y, z,
evt_get_variable
(
script
, *args++));
22
23
return
ApiStatus_DONE2
;
24
}
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
Bytecode
s32 Bytecode
Definition
evt.h:7
evt_get_variable
s32 evt_get_variable(Evt *script, Bytecode var)
Definition
evt.c:1689
show_recovery_shimmer
void show_recovery_shimmer(f32 x, f32 y, f32 z, s32 arg3)
Definition
fx_api.c:8
show_start_recovery_shimmer
void show_start_recovery_shimmer(f32 x, f32 y, f32 z, s32 arg3)
Definition
fx_api.c:4
npc.h
src
common
SpawnEnemyDrainFX.inc.c
Generated by
1.10.0