Fixed some oversights

This commit is contained in:
cellos51
2025-06-30 21:29:35 -04:00
parent 67b917fc7c
commit d7ad34af92
3 changed files with 3 additions and 3 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

+3 -3
View File
@@ -19,7 +19,7 @@ static int timer = 1; // This might already exist in libtonc but idk so i'm just
static int game_speed = 1; static int game_speed = 1;
static int background = 0; static int background = 0;
static enum GameState game_state = GAME_ROUND_END; // The current game state, this is used to determine what the game is doing at any given time static enum GameState game_state = GAME_PLAYING; // The current game state, this is used to determine what the game is doing at any given time
static enum HandState hand_state = HAND_DRAW; static enum HandState hand_state = HAND_DRAW;
static enum PlayState play_state = PLAY_PLAYING; static enum PlayState play_state = PLAY_PLAYING;
@@ -1247,7 +1247,7 @@ void game_playing()
{ {
change_background(BG_ID_CARD_SELECTING); change_background(BG_ID_CARD_SELECTING);
} }
else else if (hand_state != HAND_SHUFFLING)
{ {
change_background(BG_ID_CARD_PLAYING); change_background(BG_ID_CARD_PLAYING);
} }
@@ -1490,7 +1490,7 @@ void game_round_end() // Writing this kind a made me want to kms. If somewone wa
memcpy(&se_mem[31][32 * y], &tile_map6, sizeof(tile_map6)); memcpy(&se_mem[31][32 * y], &tile_map6, sizeof(tile_map6));
} }
if (blind_panel_y == 5) // If the blind panel is fully animated if (blind_panel_y == 6) // If the blind panel is fully animated
{ {
// Reset palette // Reset palette
memset16(&pal_bg_mem[18], 0x1483, sizeof(pal_bg_mem)); memset16(&pal_bg_mem[18], 0x1483, sizeof(pal_bg_mem));