Use gamemode enum (#5089)

* Use gamemode enum

* update console command for file_select
This commit is contained in:
Archez
2025-02-25 03:13:17 -05:00
committed by GitHub
parent 51310db68f
commit f023a46a5d
18 changed files with 34 additions and 36 deletions

View File

@@ -3215,7 +3215,7 @@ void Interface_UpdateMagicBar(PlayState* play) {
case MAGIC_STATE_FILL:
gSaveContext.magic += 4;
if (gSaveContext.gameMode == 0 && gSaveContext.sceneSetupIndex < 4) {
if (gSaveContext.gameMode == GAMEMODE_NORMAL && gSaveContext.sceneSetupIndex < 4) {
Audio_PlaySoundGeneral(NA_SE_SY_GAUGE_UP - SFX_FLAG, &gSfxDefaultPos, 4, &gSfxDefaultFreqAndVolScale, &gSfxDefaultFreqAndVolScale,
&gSfxDefaultReverb);
}