From c5ff984e84a157a10837a30ba95ee82124ab82a3 Mon Sep 17 00:00:00 2001 From: cellos51 Date: Sun, 10 Aug 2025 12:09:59 -0400 Subject: [PATCH] Added copliot's changes --- source/affine_background.c | 4 ++-- source/game.c | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/source/affine_background.c b/source/affine_background.c index b61be78..084c3a2 100644 --- a/source/affine_background.c +++ b/source/affine_background.c @@ -30,7 +30,7 @@ void affine_background_update() asx.tex_y = 14400; asx.sx = 128; asx.sy = 128; - asx.alpha = 1000; // This slightly rotates it which increases the percieved resolution of the background + asx.alpha = 1000; // This slightly rotates it which increases the perceived resolution of the background break; case AFFINE_BG_GAME: asx.scr_x = 0; @@ -66,7 +66,7 @@ void affine_background_load_palette(const u16 *src) void affine_background_change_background(enum AffineBackgroundID new_bg) { background = new_bg; - + switch (background) { case AFFINE_BG_MAIN_MENU: diff --git a/source/game.c b/source/game.c index 642ecd4..097f7bf 100644 --- a/source/game.c +++ b/source/game.c @@ -2707,15 +2707,10 @@ void game_main_menu() } else if (key_hit(KEY_RIGHT)) { - // TODO: Don't allow cursor on sold items if (selection_x < MAIN_MENU_BUTTONS) { selection_x++; } - else if (selection_x < MAIN_MENU_BUTTONS) - { - selection_x++; - } } if (selection_x == 0) // Play button