summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-10-13 12:44:23 -0500
committerDiegoisawesome <diego@domoreaweso.me>2018-10-13 12:44:23 -0500
commita26380663c5acc636fb8c163c014187129afae8f (patch)
tree79eb899d0c0e3281a11f1d447879090dc208ef80 /include/global.h
parent35c69388140243c391b925fd8b9012d2d1703810 (diff)
parenta2a6700966cc802185577e44ba88a9154429c93b (diff)
Merge branch 'master' of github.com:pret/pokeemerald
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index b35008550..9ae892b5c 100644
--- a/include/global.h
+++ b/include/global.h
@@ -86,6 +86,11 @@ extern u8 gStringVar4[];
#define T2_READ_32(ptr) ((ptr)[0] + ((ptr)[1] << 8) + ((ptr)[2] << 16) + ((ptr)[3] << 24))
#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 and up, migrated Pokemon with HeartGold or SoulSilver's ID show the otherwise unused "Johto" string.
enum
{
VERSION_SAPPHIRE = 1,
@@ -93,6 +98,12 @@ enum
VERSION_EMERALD = 3,
VERSION_FIRE_RED = 4,
VERSION_LEAF_GREEN = 5,
+ VERSION_HEART_GOLD = 7,
+ VERSION_SOUL_SILVER = 8,
+ VERSION_DIAMOND = 10,
+ VERSION_PEARL = 11,
+ VERSION_PLATINUM = 12,
+ VERSION_GAMECUBE = 15,
};
enum LanguageId