aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Route22_2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Route22_2.asm')
-rw-r--r--scripts/Route22_2.asm48
1 files changed, 48 insertions, 0 deletions
diff --git a/scripts/Route22_2.asm b/scripts/Route22_2.asm
new file mode 100644
index 00000000..9d40bafc
--- /dev/null
+++ b/scripts/Route22_2.asm
@@ -0,0 +1,48 @@
+Route22PrintRival1Text::
+ CheckEvent EVENT_BEAT_ROUTE22_RIVAL_1ST_BATTLE
+ jr z, .before_battle
+ ld hl, Route22RivalAfterBattleText1
+ call PrintText
+ jr .text_script_end
+.before_battle
+ ld hl, Route22RivalBeforeBattleText1
+ call PrintText
+.text_script_end
+ ret
+
+Route22RivalBeforeBattleText1:
+ text_far _Route22RivalBeforeBattleText1
+ text_end
+
+Route22RivalAfterBattleText1:
+ text_far _Route22RivalAfterBattleText1
+ text_end
+
+Route22PrintRival2Text::
+ CheckEvent EVENT_BEAT_ROUTE22_RIVAL_2ND_BATTLE
+ jr z, .before_battle
+ ld hl, Route22RivalAfterBattleText2
+ call PrintText
+ jr .text_script_end
+.before_battle
+ ld hl, Route22RivalBeforeBattleText2
+ call PrintText
+.text_script_end
+ ret
+
+Route22RivalBeforeBattleText2:
+ text_far _Route22RivalBeforeBattleText2
+ text_end
+
+Route22RivalAfterBattleText2:
+ text_far _Route22RivalAfterBattleText2
+ text_end
+
+Route22PrintPokemonLeagueSignText::
+ ld hl, .text
+ call PrintText
+ ret
+
+.text
+ text_far _Route22PokemonLeagueSignText
+ text_end