Play menu music in main menu

This commit is contained in:
MysterD 2021-08-14 18:34:22 -07:00
parent ee53beb10b
commit f71cb26f64
1 changed files with 7 additions and 0 deletions

View File

@ -1373,6 +1373,13 @@ s32 lvl_init_or_update(s16 initOrUpdate, UNUSED s32 unused) {
switch (initOrUpdate) {
case 0:
result = init_level();
// HACK: play main menu music
// this is in a terrible spot but I couldn't find a better one.
if (gDjuiInMainMenu) {
set_background_music(0, 0x0021, 0);
}
break;
case 1:
result = update_level();