Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
SpitInk.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "effects.h"
3
4API_CALLABLE(N(SpitInk)) {
5 Bytecode* args = script->ptrReadPos;
6 EffectInstance* effect;
13
16 evt_get_variable(script, *args++);
21
22 effect = fx_water_fountain(0, temp_f20 - 10.0f, temp_f22 + 60.0f, temp_f24 + 20.0f, 2.5f, 40);
24 effect->data.waterFountain->unk_18 = 2;
25 effect->data.waterFountain->unk_1C = 2;
26 effect->data.waterFountain->unk_20 = 2;
27 effect->data.waterFountain->unk_28 = 80;
28 effect->data.waterFountain->unk_2C = 80;
29 effect->data.waterFountain->unk_30 = 80;
30 return ApiStatus_DONE2;
31}
BSS s32 PopupMenu_SelectedIndex
#define atan2
EffectInstanceDataPtr data
Definition effects.h:2605
struct WaterFountainFXData * waterFountain
Definition effects.h:2556
#define ApiStatus_DONE2
Definition evt.h:118
s32 Bytecode
Definition evt.h:7
s32 evt_get_variable(Evt *script, Bytecode var)
Definition evt.c:1689