From d3cba21f078657865216da517aac24509892d197 Mon Sep 17 00:00:00 2001 From: mzxrules Date: Fri, 4 Mar 2022 22:51:47 -0500 Subject: [PATCH] format.sh --- src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.c b/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.c index 15679f3531..751447860a 100644 --- a/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.c +++ b/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.c @@ -104,7 +104,8 @@ void DemoTreLgt_Animate(DemoTreLgt* this, GlobalContext* globalCtx) { if (curFrame < D_808E1490[this->animationType].unk4) { this->colorAlpha1 = 255; } else if (curFrame <= (D_808E1490[this->animationType].unk4 + D_808E1490[this->animationType].unk8)) { - this->colorAlpha1 = ((D_808E1490[this->animationType].unk4 - curFrame) / D_808E1490[this->animationType].unk8) * 255 + 255; + this->colorAlpha1 = + ((D_808E1490[this->animationType].unk4 - curFrame) / D_808E1490[this->animationType].unk8) * 255 + 255; } else { this->colorAlpha1 = 0; }