43 for (i = 1; i < numParts; i++,
part++) {
98 if (
part->unk_28 < 0) {
106 part->alpha += (255 -
part->alpha) * 0.3;
117 part->unk_14 += -0.05f;
120 part->unk_10 *= 0.94;
123 part->unk_14 += -0.05f;
124 part->unk_10 *= 0.92;
131 if (
part->unk_04.y < 30.0f) {
132 if (
part->unk_04.x > -200.0f) {
137 if (
part->unk_04.z > 0.0f) {
142 part->unk_30 *= 0.98;
143 part->unk_38 *= 0.98;
144 part->unk_14 *= 0.98;
146 if(
part->unk_04.x > 0.0f) {
151 if (
part->unk_04.z > 0.0f){
156 part->unk_30 *= 0.98;
157 part->unk_38 *= 0.98;
167 part->unk_14 += -0.05f;
168 part->unk_10 *= 0.8464;
169 part->unk_14 += -0.05f;
175 if (
part->unk_04.y < 30.0f) {
176 if (
part->unk_04.x > -200.0f) {
181 if (
part->unk_04.z > 0.0f) {
186 part->unk_30 *= 0.9603999999999999;
187 part->unk_38 *= 0.9603999999999999;
188 part->unk_14 *= 0.9603999999999999;
190 if (
part->unk_04.x > 0.0f){
195 if (
part->unk_04.z > 0.0f){
200 part->unk_30 *= 0.9603999999999999;
201 part->unk_38 *= 0.9603999999999999;
240 if (
part->type == 0) {
BSS s32 PopupMenu_SelectedIndex
#define general_heap_malloc
#define queue_render_task
#define create_effect_instance
EffectInstanceDataPtr data
struct WindyLeavesFXData * windyLeaves
s32 effect_simple_rand(s32, s32)
#define ASSERT(condition)
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
void(* appendGfx)(void *)
DisplayContext * gDisplayContext
void windy_leaves_update(EffectInstance *effect)
void windy_leaves_render(EffectInstance *effect)
void windy_leaves_init(EffectInstance *effect)
void windy_leaves_main(s32 type, f32 arg1, f32 arg2, f32 arg3)
void windy_leaves_appendGfx(void *effect)