From 2816176661b0262387408411f95b0c02af3a7d41 Mon Sep 17 00:00:00 2001 From: KEKW555 <152369890+KEKW555@users.noreply.github.com> Date: Thu, 28 Dec 2023 09:50:15 +0530 Subject: [PATCH] Remove sub_0809CBE4 fake match --- src/object/frozenOctorok.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/object/frozenOctorok.c b/src/object/frozenOctorok.c index 7aaaac94..6f46ac27 100644 --- a/src/object/frozenOctorok.c +++ b/src/object/frozenOctorok.c @@ -421,16 +421,9 @@ void sub_0809CB70(FrozenOctorokEntity* this, s32 angle, s32 radius) { } void sub_0809CBE4(FrozenOctorokEntity* this) { - u16 tmp1; - FORCE_REGISTER(u8 tmp4, r4); - u8* tmp3 = &this->unk_79; - tmp1 = super->subtimer; - tmp4 = *tmp3; - tmp1 += tmp4; - this->unk_79 = tmp1; + this->unk_79 += super->subtimer; if ((s8)super->subtimer < 0) { - u8 tmp_r0 = super->timer; - if (tmp1 << 0x18 < -tmp_r0 << 0x18) { + if ((s8)this->unk_79 < (s8)-super->timer) { super->subtimer = -super->subtimer; SoundReq(SFX_19E); }