Skip to content

Commit

Permalink
Merge pull request #671 from KEKW555/KEKW555-patch-1
Browse files Browse the repository at this point in the history
Remove sub_0809CBE4 fake match
  • Loading branch information
hytopoulos committed Dec 29, 2023
2 parents 5fb324d + 2816176 commit 3153e42
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/object/frozenOctorok.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3153e42

Please sign in to comment.