summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event_data.c b/src/event_data.c
index 50628f984..3d3cea175 100644
--- a/src/event_data.c
+++ b/src/event_data.c
@@ -48,7 +48,7 @@ void ClearTempFieldEventData(void)
void ClearDailyFlags(void)
{
- memset(gSaveBlock1Ptr->flags + 0x124, 0, DAILY_FLAGS_SIZE);
+ memset(gSaveBlock1Ptr->flags + (DAILY_FLAGS_START / 8), 0, DAILY_FLAGS_SIZE);
}
void DisableNationalPokedex(void)