From 0bcc99778c1ca138531d95b020c8c842a19f4e6f Mon Sep 17 00:00:00 2001 From: Sirius902 <3645979-Sirius902@users.noreply.gitlab.com> Date: Wed, 30 Sep 2020 18:12:23 -0700 Subject: [PATCH] Match func_80A74398 more --- src/overlays/actors/ovl_En_Ik/z_en_ik.c | 13 ++++++------- 1 file changed, 6 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 780c02f3e4..45157eb62c 100644 --- a/src/overlays/actors/ovl_En_Ik/z_en_ik.c +++ b/src/overlays/actors/ovl_En_Ik/z_en_ik.c @@ -175,19 +175,18 @@ void func_80A74398(EnIk* this, GlobalContext* globalCtx) { blureInit.p1StartColor[0] = blureInit.p1StartColor[1] = blureInit.p2StartColor[0] = blureInit.p2StartColor[1] = blureInit.p2StartColor[2] = blureInit.p1EndColor[0] = blureInit.p1EndColor[1] = blureInit.p2EndColor[0] = - blureInit.p2EndColor[1] = 255; + blureInit.p2EndColor[1] = blureInit.p2EndColor[2] = 255; blureInit.p2StartColor[3] = 64; blureInit.p1StartColor[3] = 200; - blureInit.p1StartColor[2] = 150; - blureInit.p1EndColor[3] = 0; + blureInit.p1StartColor[2] = blureInit.p1EndColor[2] = 150; + blureInit.p1EndColor[3] = blureInit.p2EndColor[3] = 0; + blureInit.elemDuration = 8; blureInit.unkFlag = 0; blureInit.calcMode = 2; - blureInit.p1EndColor[2] = 150; - blureInit.p2EndColor[2] = 255; - blureInit.p2EndColor[3] = 0; - Effect_Add(globalCtx, this->blureIdx, EFFECT_BLURE1, 0, 0, &blureInit); + + Effect_Add(globalCtx, &this->blureIdx, EFFECT_BLURE1, 0, 0, &blureInit); func_80A74714(this); if (this->switchFlags != 0xFF) { if (Flags_GetSwitch(globalCtx, this->switchFlags)) {