Skip to content

Commit 2816176

Browse files
authored
Remove sub_0809CBE4 fake match
1 parent 5fb324d commit 2816176

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/object/frozenOctorok.c

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -421,16 +421,9 @@ void sub_0809CB70(FrozenOctorokEntity* this, s32 angle, s32 radius) {
421421
}
422422

423423
void sub_0809CBE4(FrozenOctorokEntity* this) {
424-
u16 tmp1;
425-
FORCE_REGISTER(u8 tmp4, r4);
426-
u8* tmp3 = &this->unk_79;
427-
tmp1 = super->subtimer;
428-
tmp4 = *tmp3;
429-
tmp1 += tmp4;
430-
this->unk_79 = tmp1;
424+
this->unk_79 += super->subtimer;
431425
if ((s8)super->subtimer < 0) {
432-
u8 tmp_r0 = super->timer;
433-
if (tmp1 << 0x18 < -tmp_r0 << 0x18) {
426+
if ((s8)this->unk_79 < (s8)-super->timer) {
434427
super->subtimer = -super->subtimer;
435428
SoundReq(SFX_19E);
436429
}

0 commit comments

Comments
 (0)