diff --git a/asm/enemy/chuchuBoss.s b/asm/enemy/chuchuBoss.s index d8f9c18a..75a52f58 100644 --- a/asm/enemy/chuchuBoss.s +++ b/asm/enemy/chuchuBoss.s @@ -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 diff --git a/src/enemy/chuchuBoss.c b/src/enemy/chuchuBoss.c index 2c5b7351..cb722832 100644 --- a/src/enemy/chuchuBoss.c +++ b/src/enemy/chuchuBoss.c @@ -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); + } +}