Use constant for daily flag offset

This commit is contained in:
GriffinR
2019-12-08 13:10:12 -05:00
committed by huderlem
parent 49f1a90534
commit 1a672dac8d
2 changed files with 2 additions and 1 deletions

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)