Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
PlayRisingBubble.inc.c
Go to the documentation of this file.
1#include "common_structs.h"
2#include "effects.h"
3#include "evt.h"
4
5API_CALLABLE(N(PlayRisingBubble)) {
6 Bytecode* args = script->ptrReadPos;
7 s32 x = evt_get_variable(script, *args++);
8 s32 y = evt_get_variable(script, *args++);
9 s32 z = evt_get_variable(script, *args++);
10
11 fx_rising_bubble(0, x, y, z, 0);
12
13 return ApiStatus_DONE2;
14}
#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