From e6b73951c60072f6a788be77d23210c1d16c05e0 Mon Sep 17 00:00:00 2001 From: Anghelo Carvajal Date: Wed, 1 Sep 2021 21:25:29 -0400 Subject: [PATCH] Fix renamed functions in EnDodongo (#285) --- src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.c b/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.c index 7c49e0ce0f..a411f81abf 100644 --- a/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.c +++ b/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.c @@ -762,7 +762,7 @@ void func_80877E60(EnDodongo* this, GlobalContext* globalCtx) { Audio_PlayActorSound2(&this->actor, NA_SE_IT_BOMB_EXPLOSION); if (this->actor.colChkInfo.health <= 4) { this->actor.colChkInfo.health = 0; - func_800BBA88(globalCtx, &this->actor); + Enemy_StartFinishingBlow(globalCtx, &this->actor); } else { this->actor.colChkInfo.health -= 4; } @@ -986,8 +986,8 @@ void EnDodongo_UpdateDamage(EnDodongo* this, GlobalContext* globalCtx) { ((this->unk_300 != 10) || !(this->collider1.elements[i].info.acHitInfo->toucher.dmgFlags & 0xDB0B3))) { func_80876D28(this, globalCtx); if (this->actor.colChkInfo.damageEffect != 0xF) { - if (!func_800BE22C(&this->actor)) { - func_800BBA88(globalCtx, &this->actor); + if (!Actor_ApplyDamage(&this->actor)) { + Enemy_StartFinishingBlow(globalCtx, &this->actor); if (this->actor.colChkInfo.damageEffect == 3) { func_80876CAC(this); this->timer = 3;