summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_game_over.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/code/z_game_over.c b/src/code/z_game_over.c
index ff2f2a57d..e6335307d 100644
--- a/src/code/z_game_over.c
+++ b/src/code/z_game_over.c
@@ -1,6 +1,7 @@
#include "z64game_over.h"
#include "global.h"
+#include "versions.h"
void GameOver_Init(PlayState* play) {
play->gameOverCtx.state = GAMEOVER_INACTIVE;
@@ -61,7 +62,12 @@ void GameOver_Update(PlayState* play) {
}
}
+#if OOT_VERSION < PAL_1_1
+ gSaveContext.nayrusLoveTimer = 0;
+#else
gSaveContext.nayrusLoveTimer = 2000;
+#endif
+
gSaveContext.save.info.playerData.naviTimer = 0;
gSaveContext.seqId = (u8)NA_BGM_DISABLED;
gSaveContext.natureAmbienceId = NATURE_ID_DISABLED;