Merge branch 'master' of https://github.com/pret/pokeemerald into add-flagvarsave
This commit is contained in:
@@ -5272,12 +5272,17 @@ void InitEasyChatPhrases(void)
|
||||
gSaveBlock1Ptr->mail[i].words[j] = 0xFFFF;
|
||||
}
|
||||
|
||||
#ifndef UBFIX
|
||||
// BUG: This is supposed to clear 64 bits, but this loop is clearing 64 bytes.
|
||||
// However, this bug has no resulting effect on gameplay because only the
|
||||
// Mauville old man data is corrupted, which is initialized directly after
|
||||
// this function is called when starting a new game.
|
||||
for (i = 0; i < 64; i++)
|
||||
gSaveBlock1Ptr->additionalPhrases[i] = 0;
|
||||
#else
|
||||
for (i = 0; i < ARRAY_COUNT(gSaveBlock1Ptr->additionalPhrases); i++)
|
||||
gSaveBlock1Ptr->additionalPhrases[i] = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool8 sub_811F28C(void)
|
||||
|
||||
Reference in New Issue
Block a user