diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-02-21 19:44:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-21 19:44:58 -0500 |
commit | d313f5e58c726ced378f22eee5e06f384a614c35 (patch) | |
tree | 1012d0a56242f62828772faba414173d6bf73621 | |
parent | 6872d6f196f0dbc11542cdcca846a8dac846151b (diff) | |
parent | dafca0ba224a16496d360ef89f0a6bea1c82106f (diff) |
Merge pull request #1340 from snallapa/sahith/small-fix
changing gDifferentSaveFile to use true false constants
-rw-r--r-- | src/new_game.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/new_game.c b/src/new_game.c index 55a568132..577302a57 100644 --- a/src/new_game.c +++ b/src/new_game.c @@ -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(); |