aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Route2Gate.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2023-11-20 00:33:27 -0600
committerdannye <33dannye@gmail.com>2023-11-20 20:23:27 -0600
commit298e99d3776580585c3f434e5d93137ae431bdd3 (patch)
treea808c4ffd0fd0f9bd28972bae5236e0d3345c8e5 /scripts/Route2Gate.asm
parentAdd sound bits documentation for wOptions (#110) (diff)
parentName 2 unnamed labels I missed in SeafoamIslandsB4F and PokemonMansion3F (#437) (diff)
downloadpokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.tar.gz
pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.tar.xz
pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'scripts/Route2Gate.asm')
-rw-r--r--scripts/Route2Gate.asm17
1 files changed, 9 insertions, 8 deletions
diff --git a/scripts/Route2Gate.asm b/scripts/Route2Gate.asm
index 60f6ffe1..a198dbd7 100644
--- a/scripts/Route2Gate.asm
+++ b/scripts/Route2Gate.asm
@@ -2,10 +2,11 @@ Route2Gate_Script:
jp EnableAutoTextBoxDrawing
Route2Gate_TextPointers:
- dw Route2GateText1
- dw Route2GateText2
+ def_text_pointers
+ dw_const Route2GateOaksAideText, TEXT_ROUTE2GATE_OAKS_AIDE
+ dw_const Route2GateYoungsterText, TEXT_ROUTE2GATE_YOUNGSTER
-Route2GateText1:
+Route2GateOaksAideText:
text_asm
CheckEvent EVENT_GOT_HM05
jr nz, .got_item
@@ -25,15 +26,15 @@ Route2GateText1:
jr nz, .no_item
SetEvent EVENT_GOT_HM05
.got_item
- ld hl, Route2GateText_5d616
+ ld hl, .FlashExplanationText
call PrintText
.no_item
jp TextScriptEnd
-Route2GateText_5d616:
- text_far _Route2GateText_5d616
+.FlashExplanationText:
+ text_far _Route2GateOaksAideFlashExplanationText
text_end
-Route2GateText2:
- text_far _Route2GateText2
+Route2GateYoungsterText:
+ text_far _Route2GateYoungsterText
text_end