Match sub_080264AC

This commit is contained in:
Tal Hayon 2022-07-16 09:04:59 +03:00
parent 27f9666970
commit 1112df0a2a
2 changed files with 8 additions and 20 deletions

View File

@ -12,26 +12,6 @@
thumb_func_start sub_080264AC
sub_080264AC: @ 0x080264AC
push {r4, lr}
adds r4, r0, #0
movs r1, #0xd0
movs r2, #8
bl sub_080277B8
adds r0, r4, #0
adds r0, #0x84
ldr r0, [r0]
ldrb r0, [r0, #3]
cmp r0, #6
beq _080264D2
ldr r0, [r4, #0x54]
movs r1, #4
bl InitAnimationForceUpdate
adds r0, r4, #0
bl sub_08027D20
_080264D2:
pop {r4, pc}
thumb_func_start sub_080264D4
sub_080264D4: @ 0x080264D4

View File

@ -619,3 +619,11 @@ void sub_0802647C(ChuchuBossEntity* this) {
this->unk_84->unk_03++;
}
}
void sub_080264AC(ChuchuBossEntity* this) {
sub_080277B8(this, 0xd0, 8);
if (this->unk_84->unk_03 != 6) {
InitAnimationForceUpdate(super->child, 4);
sub_08027D20(this);
}
}