Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
SetBowserFireBreathScales.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "effects.h"
3
4API_CALLABLE(N(SetBowserFireBreathScales)) {
5 Bytecode* args = script->ptrReadPos;
6 EffectInstance* effect = (EffectInstance*) evt_get_variable(script, *args++);
7 FireBreathFXData* data = effect->data.fireBreath;
8
9 data->scale = 0.04f;
10 data->initialScale = 0.04f;
11 effect->data.fireBreath->targetScale = 1.875f;
12 effect->data.fireBreath->scaleChangeRate = 0.05f;
13
14 return ApiStatus_DONE2;
15}
struct FireBreathFXData * fireBreath
Definition effects.h:2519
EffectData data
Definition effects.h:2605
#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