diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2023-04-07 13:09:00 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-07 13:09:00 +1000 |
| commit | 4faad208c6a30bd696b7c78f255900b905354e1b (patch) | |
| tree | 27d61a0ceff303ebe1a4f9c206d62b30468a317e /src/code/z_parameter.c | |
| parent | f39d412bfe940afef4e152ad863ecc79cb2b2bd3 (diff) | |
Introduce `SaveContext.gameMode` enum (#1198)
* gamemode enum
* owl save
* trailing enum comma
Diffstat (limited to 'src/code/z_parameter.c')
| -rw-r--r-- | src/code/z_parameter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c index c008e3abc..be5cc01bc 100644 --- a/src/code/z_parameter.c +++ b/src/code/z_parameter.c @@ -3701,7 +3701,7 @@ void Magic_Update(PlayState* play) { // Add magic until magicFillTarget is reached gSaveContext.save.playerData.magic += 0x10; - if ((gSaveContext.gameMode == 0) && (gSaveContext.sceneLayer < 4)) { + if ((gSaveContext.gameMode == GAMEMODE_NORMAL) && (gSaveContext.sceneLayer < 4)) { play_sound(NA_SE_SY_GAUGE_UP - SFX_FLAG); } @@ -4482,7 +4482,7 @@ void Interface_DrawClock(PlayState* play) { if (R_TIME_SPEED != 0) { if ((msgCtx->msgMode == 0) || ((play->actorCtx.flags & ACTORCTX_FLAG_1) && !Play_InCsMode(play)) || (msgCtx->msgMode == 0) || ((msgCtx->currentTextId >= 0x100) && (msgCtx->currentTextId <= 0x200)) || - (gSaveContext.gameMode == 3)) { + (gSaveContext.gameMode == GAMEMODE_END_CREDITS)) { if (!FrameAdvance_IsEnabled(&play->state) && !Environment_IsTimeStopped() && (gSaveContext.save.day < 4)) { /** * Changes Clock's transparancy depending if Player is moving or not and possibly other things |
