73 if (data->
unk_18 < 10.0f) {
77 if (data->
unk_18 > 45.0f) {
90 f32 effectPos = data->
pos.
x;
91 f32 playerPos = playerStatus->
pos.
x;
93 if (effectPos - playerPos > 200) {
94 data->
pos.
x = effectPos - 400;
96 if (playerPos - effectPos > 200) {
97 data->
pos.
x = effectPos + 400;
101 effectPos = data->
pos.
z;
102 playerPos = playerStatus->
pos.
z;
103 if (effectPos - playerPos > 200) {
104 data->
pos.
z = effectPos - 400;
106 if (playerPos - effectPos > 200) {
107 data->
pos.
z = effectPos + 400;
113 renderTaskPtr->
dist = 0;
121 Matrix4f sp18, sp58, sp98, spD8, sp118;
135 gDPSetPrimColor(
gMainGfxPos++, 0, 0, 0, 0, 0, 255);
#define general_heap_malloc
#define queue_render_task
#define create_effect_instance
struct SnowflakeFXData * snowflake
struct EffectGraphics * graphics
#define ASSERT(condition)
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
#define VIRTUAL_TO_PHYSICAL(addr)
void snowflake_appendGfx(void *effect)
void snowflake_init(EffectInstance *effect)
void snowflake_update(EffectInstance *effect)
void snowflake_render(EffectInstance *effect)
void snowflake_main(f32 x, f32 y, f32 z, s32 arg3)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
void(* appendGfx)(void *)
PlayerStatus gPlayerStatus
DisplayContext * gDisplayContext