Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
UnkMoveFunc2.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
npc.h
"
3
4
API_CALLABLE(N(
UnkMoveFunc2
)) {
5
Bytecode
* args =
script
->ptrReadPos;
6
s32 var1 =
evt_get_variable
(
script
, *args++);
7
s32 var2 =
evt_get_variable
(
script
, *args++);
8
s32 var3 =
evt_get_variable
(
script
, *args++);
9
f32
var4
=
evt_get_float_variable
(
script
, *args++);
10
11
fx_energy_in_out
(6, var1 + 10, var2 + 18, var3,
var4
, 45);
12
fx_radial_shimmer
(12, var1 + 10, var2 + 18, var3,
var4
, 30);
13
14
return
ApiStatus_DONE2
;
15
}
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
evt_get_float_variable
f32 evt_get_float_variable(Evt *script, Bytecode var)
Definition
evt.c:1929
npc.h
src
world
common
todo
UnkMoveFunc2.inc.c
Generated by
1.10.0