From f36f91f6d8e53990ce84fdc386a583c14c0f4dfb Mon Sep 17 00:00:00 2001 From: Baoulettes Date: Tue, 5 Apr 2022 01:11:04 +0200 Subject: [PATCH] Fix z_kaleido_scope_PAL.c L and R button color issues This fix an issue in IF and gDPSetPrimColor for button L & R icon. making it with an else to place the on hover and normal color properly in both button so they both have exact same colour --- .../overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c b/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c index 140aa7734..65048c51b 100644 --- a/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c +++ b/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_scope_PAL.c @@ -1613,14 +1613,16 @@ void KaleidoScope_DrawInfoPanel(GlobalContext* globalCtx) { if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_LEFT) && (pauseCtx->unk_1E4 == 0)) { gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6); + } else { + gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 220); } gSPDisplayList(POLY_KAL_DISP++, gLButtonIconDL); - gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 220); - if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_RIGHT) && (pauseCtx->unk_1E4 == 0)) { gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6); + } else { + gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 220); } gSPDisplayList(POLY_KAL_DISP++, gRButtonIconDL);