Added copliot's changes

This commit is contained in:
cellos51
2025-08-10 12:09:59 -04:00
parent dcf892a393
commit c5ff984e84
2 changed files with 2 additions and 7 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ void affine_background_update()
asx.tex_y = 14400; asx.tex_y = 14400;
asx.sx = 128; asx.sx = 128;
asx.sy = 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; break;
case AFFINE_BG_GAME: case AFFINE_BG_GAME:
asx.scr_x = 0; 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) void affine_background_change_background(enum AffineBackgroundID new_bg)
{ {
background = new_bg; background = new_bg;
switch (background) switch (background)
{ {
case AFFINE_BG_MAIN_MENU: case AFFINE_BG_MAIN_MENU:
-5
View File
@@ -2707,15 +2707,10 @@ void game_main_menu()
} }
else if (key_hit(KEY_RIGHT)) else if (key_hit(KEY_RIGHT))
{ {
// TODO: Don't allow cursor on sold items
if (selection_x < MAIN_MENU_BUTTONS) if (selection_x < MAIN_MENU_BUTTONS)
{ {
selection_x++; selection_x++;
} }
else if (selection_x < MAIN_MENU_BUTTONS)
{
selection_x++;
}
} }
if (selection_x == 0) // Play button if (selection_x == 0) // Play button