Use constant for daily flag offset
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user