Merge branch 'main' into mstory_jp

This commit is contained in:
mrshigure 2024-09-12 23:15:20 -07:00 committed by GitHub
commit 97f5fe5361
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 11 deletions

View File

@ -40,7 +40,7 @@ EffectInstance* chomp_drop_main(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4
data->unk_18 = arg6; data->unk_18 = arg6;
data->unk_34 = 1.0f; data->unk_34 = 1.0f;
data->unk_20 = arg7; data->unk_20 = arg7;
data->unk_38 = rand_int(0x168); data->unk_38 = rand_int(360);
data->unk_40 = arg9; data->unk_40 = arg9;
data->unk_44 = 0; data->unk_44 = 0;
data->unk_3C = arg5; data->unk_3C = arg5;

View File

@ -19,7 +19,7 @@ u8 D_E0030E90[] = {
254, 213, 172 254, 213, 172
}; };
f32 D_E0030EB4; f32 D_E0030EB4 = 0.0f;
void damage_stars_init(EffectInstance* effect); void damage_stars_init(EffectInstance* effect);
void damage_stars_update(EffectInstance* effect); void damage_stars_update(EffectInstance* effect);

View File

@ -51,7 +51,7 @@ FlamePreset FlamePresets[] = {
}, },
}; };
s32 LastFlameRenderFrame; s32 LastFlameRenderFrame = 0;
void flame_init(EffectInstance* effect); void flame_init(EffectInstance* effect);
void flame_update(EffectInstance* effect); void flame_update(EffectInstance* effect);

View File

@ -87,14 +87,14 @@ EffectInstance* recover_main(s32 type, f32 posX, f32 posY, f32 posZ, s32 duratio
if (i == 1) { if (i == 1) {
part->pos.x = 0.0f; part->pos.x = 0.0f;
part->unk_34 = 0; part->unk_34 = 0;
part->scaleX = 0.0f;; part->scaleX = 0.0f;
part->scaleY = 0.0f;; part->scaleY = 0.0f;
part->vel.y = 1.4f; part->vel.y = 1.4f;
} else { } else {
part->vel.y = 1.4f; part->vel.y = 1.4f;
part->unk_34 = i + 10; part->unk_34 = i + 10;
part->scaleX = 0.0f;; part->scaleX = 0.0f;
part->scaleY = 0.0f;; part->scaleY = 0.0f;
part->pos.x = ((i & 1) * 2 - 1) * ((i - 1) >> 1) * 4; part->pos.x = ((i & 1) * 2 - 1) * ((i - 1) >> 1) * 4;
} }
part->timeLeft = 0; part->timeLeft = 0;