Fix softlock related to #163

This commit is contained in:
Rickey Fehr
2025-10-08 20:29:11 -07:00
parent cca015238d
commit 73ec9a40d3
+2 -4
View File
@@ -1214,8 +1214,7 @@ static void game_playing_process_hand_select_input()
discard_button_highlighted = true; // Discard button discard_button_highlighted = true; // Discard button
} }
} }
else if (selection_y == 1) // On row of play/discard buttons
if (selection_y == 1) // On row of play/discard buttons
{ {
if (discard_button_highlighted == false) // Play button logic if (discard_button_highlighted == false) // Play button logic
{ {
@@ -1246,8 +1245,7 @@ static void game_playing_process_hand_select_input()
} }
} }
} }
else if (selection_y == 0) // On row of cards
if (selection_y == 0) // On row of cards
{ {
memcpy16(&pal_bg_mem[1], &pal_bg_mem[7], 1); // Play button highlight color memcpy16(&pal_bg_mem[1], &pal_bg_mem[7], 1); // Play button highlight color
memcpy16(&pal_bg_mem[9], &pal_bg_mem[12], 1); // Discard button highlight color memcpy16(&pal_bg_mem[9], &pal_bg_mem[12], 1); // Discard button highlight color