20API_CALLABLE(N(StarRodAppearEffect)) {
38 actor->
state.functionTempPtr[0] = effectState;
40 for (i = 0; i < 3; effectState++, i++) {
41 effectState->
pos.
x = x;
42 effectState->
pos.
y = y;
43 effectState->
pos.
z = z;
44 effectState->
unk_18 = arg4;
45 effectState->
unk_10 = arg4;
46 effectState->
unk_14 = arg5;
47 effectState->
delay = 1 + i * 10;
51 effectState->
unk_2C = 0.0f;
52 effectState->
unk_30 = 0.0f;
53 effectState->
unk_34 = 0.0f;
59 effectState = actor->
state.functionTempPtr[0];
62 for (i = 0; i < 3; effectState++, i++) {
63 if (effectState->
delay > 0) {
65 if (effectState->
delay <= 0) {
66 effectState->
effect = fx_star_outline(0, effectState->
pos.
x, effectState->
pos.
y, effectState->
pos.
z,
76 effectState->
unk_34 += 9.0f;
80 effectState->
unk_24 = (effectState->
duration / 2 * 0.1f + 0.5f) * 255.0f;
81 effectState->
unk_28 = (effectState->
duration / 2 * 0.1f + 0.5f) * 255.0f;
103 if (endedCount >= 3) {
struct StarOutlineFXData * starOutline
s32 evt_get_variable(Evt *script, Bytecode var)
Actor * get_actor(s32 actorID)
f32 evt_get_float_variable(Evt *script, Bytecode var)
void * heap_malloc(s32 size)