Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
UnkMoveFunc3.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "npc.h"
3
4API_CALLABLE(N(UnkMoveFunc3)) {
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(13, var1 + 10, var2 + 18, var3, var4, 30);
13
14 return ApiStatus_DONE2;
15}
#define ApiStatus_DONE2
Definition evt.h:118
s32 Bytecode
Definition evt.h:7
s32 evt_get_variable(Evt *script, Bytecode var)
Definition evt.c:1690
f32 evt_get_float_variable(Evt *script, Bytecode var)
Definition evt.c:1930