From f9706ef4293e9ec2947caacbc79445d987bc455f Mon Sep 17 00:00:00 2001 From: cellos51 Date: Sun, 20 Jul 2025 22:48:58 -0400 Subject: [PATCH] Added boss blind colors to the blind select screen --- source/game.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/game.c b/source/game.c index f08e62c..835e2cf 100644 --- a/source/game.c +++ b/source/game.c @@ -490,10 +490,14 @@ void change_background(int id) REG_DISPCNT &= ~DCNT_WIN0; - memcpy(pal_bg_mem, background_blind_select_gfxPal, 64); + memcpy16(pal_bg_mem, background_blind_select_gfxPal, 64); GRIT_CPY(&tile_mem[MAIN_BG_CBB], background_blind_select_gfxTiles); GRIT_CPY(&se_mem[MAIN_BG_SBB], background_blind_select_gfxMap); + // Copy boss blind colors to blind select palette + memset16(&pal_bg_mem[1], blind_get_color(BOSS_BLIND, BLIND_BACKGROUND_MAIN_COLOR_INDEX), 1); + memset16(&pal_bg_mem[7], blind_get_color(BOSS_BLIND, BLIND_BACKGROUND_SHADOW_COLOR_INDEX), 1); + // Disable the button highlight colors // Select button PID is 15 and the outline is 18 memcpy16(&pal_bg_mem[18], &pal_bg_mem[15], 1);