1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-02-27 03:24:45 +00:00

link two if parts with and else

https://github.com/zeldaret/oot/pull/2295#discussion_r1841272907
This commit is contained in:
feacur 2024-11-14 01:12:16 +01:00
parent 1fa1922a9b
commit 911550550f

View file

@ -1029,9 +1029,7 @@ s32 EnGo2_IsRollingOnGround(EnGo2* this, s16 bounceCount, f32 boundSpeed, s16 ru
if (DECR(this->bounceTimer)) {
if (!rumble) {
return true;
}
{
} else {
this->actor.world.pos.y =
(this->bounceTimer & 1) ? this->actor.world.pos.y + 1.5f : this->actor.world.pos.y - 1.5f;
Actor_PlaySfx(&this->actor, NA_SE_EV_BIGBALL_ROLL - SFX_FLAG);