diff options
| author | dannye <33dannye@gmail.com> | 2023-11-20 00:33:27 -0600 |
|---|---|---|
| committer | dannye <33dannye@gmail.com> | 2023-11-20 20:23:27 -0600 |
| commit | 298e99d3776580585c3f434e5d93137ae431bdd3 (patch) | |
| tree | a808c4ffd0fd0f9bd28972bae5236e0d3345c8e5 /scripts/Route22_2.asm | |
| parent | Add sound bits documentation for wOptions (#110) (diff) | |
| parent | Name 2 unnamed labels I missed in SeafoamIslandsB4F and PokemonMansion3F (#437) (diff) | |
| download | pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.tar.gz pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.tar.xz pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.zip | |
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'scripts/Route22_2.asm')
| -rw-r--r-- | scripts/Route22_2.asm | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/scripts/Route22_2.asm b/scripts/Route22_2.asm index 7f3fa54d..9d40bafc 100644 --- a/scripts/Route22_2.asm +++ b/scripts/Route22_2.asm @@ -1,14 +1,13 @@ -Func_f1b27:: +Route22PrintRival1Text:: CheckEvent EVENT_BEAT_ROUTE22_RIVAL_1ST_BATTLE - jr z, .asm_5118b + jr z, .before_battle ld hl, Route22RivalAfterBattleText1 call PrintText - jr .asm_51191 - -.asm_5118b + jr .text_script_end +.before_battle ld hl, Route22RivalBeforeBattleText1 call PrintText -.asm_51191 +.text_script_end ret Route22RivalBeforeBattleText1: @@ -19,17 +18,16 @@ Route22RivalAfterBattleText1: text_far _Route22RivalAfterBattleText1 text_end -Func_f1b47:: +Route22PrintRival2Text:: CheckEvent EVENT_BEAT_ROUTE22_RIVAL_2ND_BATTLE - jr z, .asm_511a4 + jr z, .before_battle ld hl, Route22RivalAfterBattleText2 call PrintText - jr .asm_511aa - -.asm_511a4 + jr .text_script_end +.before_battle ld hl, Route22RivalBeforeBattleText2 call PrintText -.asm_511aa +.text_script_end ret Route22RivalBeforeBattleText2: @@ -40,11 +38,11 @@ Route22RivalAfterBattleText2: text_far _Route22RivalAfterBattleText2 text_end -Func_f1b67:: - ld hl, Route22FrontGateText_3c +Route22PrintPokemonLeagueSignText:: + ld hl, .text call PrintText ret -Route22FrontGateText_3c: - text_far _Route22FrontGateText +.text + text_far _Route22PokemonLeagueSignText text_end |
