summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-07-06 13:42:42 -0400
committerGitHub <noreply@github.com>2019-07-06 13:42:42 -0400
commit7980c4aa071685983f84861cc7dc69d6daf30a90 (patch)
tree053e5e30a3454732f2be06d2119bc815f3993d50 /src/main.c
parent74d771ef90a3189bd2da1b35f6b42a1fa8f51e67 (diff)
parent95537e5c231f5714b9a2a045fca5582779df372c (diff)
Merge pull request #78 from pret/intro
Intro
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index ae9a33e81..0d4e2ee1e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -55,7 +55,12 @@ static void VCountIntr(void);
static void SerialIntr(void);
static void IntrDummy(void);
-const u8 gGameVersion = VERSION_FIRE_RED;
+#if defined(FIRERED)
+#define GAME_VERSION VERSION_FIRE_RED
+#elif defined(LEAF_GREEN)
+#define GAME_VERSION VERSION_LEAF_GREEN
+#endif
+const u8 gGameVersion = GAME_VERSION;
const u8 gGameLanguage = GAME_LANGUAGE;