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
4
API_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
}
effects.h
FireBreathFXData::targetScale
f32 targetScale
Definition
effects.h:882
FireBreathFXData::scale
f32 scale
Definition
effects.h:883
EffectData::fireBreath
struct FireBreathFXData * fireBreath
Definition
effects.h:2519
FireBreathFXData::scaleChangeRate
f32 scaleChangeRate
Definition
effects.h:884
FireBreathFXData::initialScale
f32 initialScale
Definition
effects.h:881
EffectInstance::data
EffectData data
Definition
effects.h:2605
EffectInstance
Definition
effects.h:2601
FireBreathFXData
Definition
effects.h:874
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
Bytecode
s32 Bytecode
Definition
evt.h:7
evt_get_variable
s32 evt_get_variable(Evt *script, Bytecode var)
Definition
evt.c:1690
src
common
SetBowserFireBreathScales.inc.c
Generated by
1.10.0