From cfe009672f5a33b9067bf930fd02d919eebc34ad Mon Sep 17 00:00:00 2001 From: Sirius902 <3645979-Sirius902@users.noreply.gitlab.com> Date: Mon, 19 Oct 2020 00:07:43 -0700 Subject: [PATCH] Move data into func_80A75A38 --- src/overlays/actors/ovl_En_Ik/z_en_ik.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/overlays/actors/ovl_En_Ik/z_en_ik.c b/src/overlays/actors/ovl_En_Ik/z_en_ik.c index 5a99a8b56b..61497d394c 100644 --- a/src/overlays/actors/ovl_En_Ik/z_en_ik.c +++ b/src/overlays/actors/ovl_En_Ik/z_en_ik.c @@ -579,16 +579,13 @@ void func_80A7598C(EnIk* this) { EnIk_SetupAction(this, func_80A75A38); } -static Vec3f D_80A78464 = { 0.0f, 0.5f, 0.0f }; - void func_80A75A38(EnIk* this, GlobalContext* globalCtx) { - s32 i; - Vec3f pos; - Vec3f sp7C; - if (SkelAnime_FrameUpdateMatrix(&this->skelAnime)) { if ((this->actor.colChkInfo.health == 0) && (this->unk_2F9 != 0)) { - sp7C = D_80A78464; + s32 i; + Vec3f pos; + Vec3f sp7C = { 0.0f, 0.5f, 0.0f }; + this->unk_2F9--; for (i = 0xC - (this->unk_2F9 >> 1); i >= 0; i--) {