summaryrefslogtreecommitdiff
path: root/src/reset_rtc_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reset_rtc_screen.c')
-rw-r--r--src/reset_rtc_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reset_rtc_screen.c b/src/reset_rtc_screen.c
index 8c4843ab5..efad640e3 100644
--- a/src/reset_rtc_screen.c
+++ b/src/reset_rtc_screen.c
@@ -559,7 +559,7 @@ static void Task_ResetRtcScreen(u8 taskId)
case 1:
if (!gPaletteFade.active)
{
- if (gSaveFileStatus == 0 || gSaveFileStatus == 2)
+ if (gSaveFileStatus == SAVE_STATUS_EMPTY || gSaveFileStatus == SAVE_STATUS_CORRUPT)
{
ShowMessage(gText_NoSaveFileCantSetTime);
data[0] = 5;
@@ -608,7 +608,7 @@ static void Task_ResetRtcScreen(u8 taskId)
}
break;
case 4:
- if (TrySavingData(SAVE_NORMAL) == 1)
+ if (TrySavingData(SAVE_NORMAL) == SAVE_STATUS_OK)
{
ShowMessage(gText_SaveCompleted);
PlaySE(SE_PINPON);