summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-12-20 13:53:56 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2019-12-20 13:53:56 -0500
commit67cf45f7b37ffb4a31528760822ac62dd99931d5 (patch)
tree1d35ed171ca908ff396f0f764aafe28331eea5d3 /src
parentd0e15e34c57ae87a5c6f1ea886c6ccf4fc5b88c6 (diff)
Match player name choices in LG
Diffstat (limited to 'src')
-rw-r--r--src/menu2.c4
-rw-r--r--src/oak_speech.c24
-rw-r--r--src/script_menu.c8
3 files changed, 34 insertions, 2 deletions
diff --git a/src/menu2.c b/src/menu2.c
index 221f84318..1957715b2 100644
--- a/src/menu2.c
+++ b/src/menu2.c
@@ -419,7 +419,11 @@ static const u8 gUnknown_845FD54[][5] = {
[SPECIES_LATIAS - 1] = {0x1e, 0x0c, 0x10, 0x23, 0x19},
[SPECIES_LATIOS - 1] = {0x05, 0x0e, 0x10, 0x05, 0x1d},
[SPECIES_JIRACHI - 1] = {0x1c, 0x15, 0x08, 0x1e, 0x22},
+#if defined(FIRERED)
[SPECIES_DEOXYS - 1] = {0x1b, 0x08, 0x28, 0x1c, 0x16},
+#elif defined(LEAFGREEN)
+ [SPECIES_DEOXYS - 1] = {0x1a, 0x09, 0x28, 0x1a, 0x17},
+#endif
[SPECIES_CHIMECHO - 1] = {0x1d, 0x0c, 0x08, 0x1c, 0x1a},
[SPECIES_OLD_UNOWN_EMARK - 1] = {0x20, 0x21, 0x08, 0x20, 0x2b},
[SPECIES_OLD_UNOWN_QMARK - 1] = {0x20, 0x23, 0x08, 0x20, 0x2d}
diff --git a/src/oak_speech.c b/src/oak_speech.c
index 79f8b18c7..0ad5d6a6f 100644
--- a/src/oak_speech.c
+++ b/src/oak_speech.c
@@ -271,11 +271,11 @@ static const struct WindowTemplate sNewGameAdventureIntroWindowTemplates[] = {
}, DUMMY_WIN_TEMPLATE
};
-const u8 sTextColor_HelpSystem[4] = {
+static const u8 sTextColor_HelpSystem[4] = {
0x00, 0x01, 0x02
};
-const u8 sTextColor_OakSpeech[4] = {
+static const u8 sTextColor_OakSpeech[4] = {
0x00, 0x02, 0x03
};
@@ -405,11 +405,19 @@ static const u8 *const sHelpDocsPtrs[] = {
};
static const u8 *const sMaleNameChoices[] = {
+#if defined(FIRERED)
gNameChoice_Red,
gNameChoice_Fire,
gNameChoice_Ash,
gNameChoice_Kene,
gNameChoice_Geki,
+#elif defined(LEAFGREEN)
+ gNameChoice_Green,
+ gNameChoice_Leaf,
+ gNameChoice_Gary,
+ gNameChoice_Kaz,
+ gNameChoice_Toru,
+#endif
gNameChoice_Jak,
gNameChoice_Janne,
gNameChoice_Jonn,
@@ -427,8 +435,13 @@ static const u8 *const sMaleNameChoices[] = {
};
static const u8 *const sFemaleNameChoices[] = {
+#if defined(FIRERED)
gNameChoice_Red,
gNameChoice_Fire,
+#elif defined(LEAFGREEN)
+ gNameChoice_Green,
+ gNameChoice_Leaf,
+#endif
gNameChoice_Omi,
gNameChoice_Jodi,
gNameChoice_Amanda,
@@ -449,10 +462,17 @@ static const u8 *const sFemaleNameChoices[] = {
};
static const u8 *const sRivalNameChoices[] = {
+#if defined(FIRERED)
gNameChoice_Green,
gNameChoice_Gary,
gNameChoice_Kaz,
gNameChoice_Toru
+#elif defined(LEAFGREEN)
+ gNameChoice_Red,
+ gNameChoice_Ash,
+ gNameChoice_Kene,
+ gNameChoice_Geki
+#endif
};
static void VBlankCB_NewGameOaksSpeech(void)
diff --git a/src/script_menu.c b/src/script_menu.c
index b3826322b..4ebd0f8f8 100644
--- a/src/script_menu.c
+++ b/src/script_menu.c
@@ -316,11 +316,19 @@ static const struct MenuAction sScriptMultiChoiceMenu_BikeShop[] = {
};
static const struct MenuAction sScriptMultiChoiceMenu_GameCornerPokemonPrizes[] = {
+#if defined(FIRERED)
{ gText_Abra_180Coins },
{ gText_Clefairy_500Coins },
{ gText_Dratini_2800Coins },
{ gText_Scyther_5500Coins },
{ gText_Porygon_9999Coins },
+#elif defined(LEAFGREEN)
+ { gText_Abra_120Coins },
+ { gText_Clefairy_750Coins },
+ { gText_Pinsir_2500Coins },
+ { gText_Dratini_4600Coins },
+ { gText_Porygon_6500Coins },
+#endif
{ gText_NoThanks_2 }
};