Changed music to start after Splash Screen

This commit is contained in:
MeirGavish
2025-10-17 13:43:21 +03:00
parent f725c5e1b8
commit 53d2e53d78
6 changed files with 21 additions and 6 deletions
+7
View File
@@ -4,6 +4,8 @@
#include "graphic_utils.h"
#include "game.h"
#include "maxmod.h"
#include "soundbank.h"
static const Rect COUNTDOWN_TIMER_RECT = {208, 144, 240, 152};
static uint timer = 0;
@@ -35,3 +37,8 @@ void splash_screen_on_update()
game_change_state(GAME_STATE_MAIN_MENU);
tte_erase_screen();
}
void splash_screen_on_exit()
{
mmStart(MOD_MAIN_THEME, MM_PLAY_LOOP);
}