Merge pull request #1340 from snallapa/sahith/small-fix

changing gDifferentSaveFile to use true false constants
This commit is contained in:
GriffinR 2021-02-21 19:44:58 -05:00 committed by GitHub
commit d313f5e58c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ void Sav2_ClearSetDefault(void)
void ResetMenuAndMonGlobals(void)
{
gDifferentSaveFile = 0;
gDifferentSaveFile = FALSE;
ResetPokedexScrollPositions();
ZeroPlayerPartyMons();
ZeroEnemyPartyMons();
@ -153,7 +153,7 @@ void NewGameInitData(void)
if (gSaveFileStatus == SAVE_STATUS_EMPTY || gSaveFileStatus == SAVE_STATUS_CORRUPT)
RtcReset();
gDifferentSaveFile = 1;
gDifferentSaveFile = TRUE;
gSaveBlock2Ptr->encryptionKey = 0;
ZeroPlayerPartyMons();
ZeroEnemyPartyMons();