Use constant for daily flag offset

This commit is contained in:
GriffinR authored and huderlem committed 2019-12-14 08:27:49 -06:00
1 parent 49f1a90534
commit 1a672dac8d
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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)