summaryrefslogtreecommitdiff
path: root/src/new_game.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-12 22:42:43 -0500
committerGitHub <noreply@github.com>2020-01-12 22:42:43 -0500
commit655910a16fcb7b62cf43b83bb00b21a9c3e55e82 (patch)
treea619369a0d8b263f82d660ad7800f4b42328bb07 /src/new_game.c
parent635267ce32bd696fe15391449efdf07fa35cf449 (diff)
parentfa5816915d2a089549bfae3851c36336eae35d43 (diff)
Merge branch 'master' into fix-eventobj
Diffstat (limited to 'src/new_game.c')
-rw-r--r--src/new_game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_game.c b/src/new_game.c
index b24114f77..464da6414 100644
--- a/src/new_game.c
+++ b/src/new_game.c
@@ -150,7 +150,7 @@ void ResetMenuAndMonGlobals(void)
void NewGameInitData(void)
{
- if (gSaveFileStatus == 0 || gSaveFileStatus == 2)
+ if (gSaveFileStatus == SAVE_STATUS_EMPTY || gSaveFileStatus == SAVE_STATUS_CORRUPT)
RtcReset();
gDifferentSaveFile = 1;