Added new findings about invalid version IDs.

After transferring Pokemon up to Gen 6 and then to Gen 7, I discovered that invalid version IDs display the "a distant land" string that is used for the Gamecube games, so that information was added in a comment.

Also clarified that it's not just Gen 4 that displays the Johto string, it's Gen 4 and up.
This commit is contained in:
Deokishisu 2018-10-06 07:40:56 -04:00 committed by GitHub
parent 9f69ea1931
commit 2070c246f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,9 +87,10 @@ extern u8 gStringVar4[];
#define T2_READ_PTR(ptr) (void*) T2_READ_32(ptr)
// Invalid Versions show as "----------" in Gen 4 and Gen 5's summary screen.
// In Gens 6 and 7, invalid versions instead show "a distant land" in the summary screen.
// In Gen 4 only, migrated Pokemon with Diamond, Pearl, or Platinum's ID show as "----------".
// Gen 5 and up read Diamond, Pearl, or Platinum's ID as "Sinnoh".
// In Gen 4, migrated Pokemon with HeartGold or SoulSilver's ID show the unused "Johto" string.
// In Gen 4 and up, migrated Pokemon with HeartGold or SoulSilver's ID show the unused "Johto" string.
enum
{
VERSION_INVALID_0 = 0,