106 bp.
effectID = EFFECT_STAR_SPIRITS_ENERGY;
113 data->
unk_00 = arg0 & 0xFF00;
161 s32 unk_04 = data->
unk_04;
172 effect->
flags &= ~FX_INSTANCE_FLAG_DISMISS;
176 if (data->
unk_14 < 1000) {
195 data->
unk_50[0] = (unk_18 & 3) * 30 + 200;
234 data->
unk_50[1] = var_int_1;
235 data->
unk_50[2] = var_int_1;
236 data->
unk_40[1] = var_float_1;
237 data->
unk_40[2] = var_float_1 + 0.6;
259 data->
unk_50[1] = var_int_2;
260 data->
unk_50[2] = var_int_2;
261 data->
unk_40[1] = var_float_2;
262 data->
unk_40[2] = var_float_2 * 1.2 + 4.0;
270 switch (29 - data->
unk_74) {
287 data->
unk_50[1] = var_int_3;
289 data->
unk_40[1] = var_float_3;
312 for (i = 0; i < 4; i++) {
313 if (data->
unk_50[i] > 255) {
316 if (data->
unk_50[i] < 0) {
319 if (data->
unk_40[i] < 0.0f) {
331 renderTask.
dist = 10;
340 s32 unk_04 = data->
unk_04;
353 G_MTX_PUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
357 for (i = 0; i < 4; i++) {
358 if (unk_04 != 1 || i != 2) {
364 G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW);
374 if (unk_04 == 2 || unk_04 == 3) {
378 alpha = 255 - (data->
unk_74 - 2) * 30;
382 alpha = 255 - data->
unk_74 * 30;
386 gDPSetPrimColor(
gMainGfxPos++, 0, 0, 208, 208, 208, alpha);
#define general_heap_malloc
#define queue_render_task
#define create_effect_instance
struct StarSpiritsEnergyFXData * starSpiritsEnergy
#define ASSERT(condition)
@ FX_INSTANCE_FLAG_DISMISS
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
#define VIRTUAL_TO_PHYSICAL(addr)
void star_spirits_energy_init(EffectInstance *effect)
UnkStarSpiritsEnergy D_E0122C20[]
UnkStarSpiritsEnergy D_E0122BA8[]
void star_spirits_energy_render(EffectInstance *effect)
void star_spirits_energy_update(EffectInstance *effect)
EffectInstance * star_spirits_energy_main(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5)
void star_spirits_energy_appendGfx(void *effect)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
void(* appendGfx)(void *)
DisplayContext * gDisplayContext