Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
StartRumbleWithParams.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "npc.h"
3
4API_CALLABLE(N(StartRumbleWithParams)) {
5 Bytecode* args = script->ptrReadPos;
6 s32 var0 = evt_get_variable(script, *args++);
7 s32 var1 = evt_get_variable(script, *args++);
8
9 start_rumble(var0, var1);
10
11 return ApiStatus_DONE2;
12}
#define ApiStatus_DONE2
Definition evt.h:118
s32 Bytecode
Definition evt.h:7
void start_rumble(s32, s32)
Definition rumble.c:15
s32 evt_get_variable(Evt *script, Bytecode var)
Definition evt.c:1690