aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Route12SuperRodHouse.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/Route12SuperRodHouse.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/Route12SuperRodHouse.asm')
-rw-r--r--scripts/Route12SuperRodHouse.asm37
1 files changed, 19 insertions, 18 deletions
diff --git a/scripts/Route12SuperRodHouse.asm b/scripts/Route12SuperRodHouse.asm
index fba5426e..551949d0 100644
--- a/scripts/Route12SuperRodHouse.asm
+++ b/scripts/Route12SuperRodHouse.asm
@@ -2,14 +2,15 @@ Route12SuperRodHouse_Script:
jp EnableAutoTextBoxDrawing
Route12SuperRodHouse_TextPointers:
- dw Route12HouseText1
+ def_text_pointers
+ dw_const Route12SuperRodHouseFishingGuruText, TEXT_ROUTE12SUPERRODHOUSE_FISHING_GURU
-Route12HouseText1:
+Route12SuperRodHouseFishingGuruText:
text_asm
ld a, [wd728]
bit 5, a ; received super rod?
jr nz, .got_item
- ld hl, Route12HouseText_564c0
+ ld hl, .DoYouLikeToFishText
call PrintText
call YesNoChoice
ld a, [wCurrentMenuItem]
@@ -20,38 +21,38 @@ Route12HouseText1:
jr nc, .bag_full
ld hl, wd728
set 5, [hl] ; received super rod
- ld hl, Route12HouseText_564c5
+ ld hl, .ReceivedSuperRodText
jr .done
.bag_full
- ld hl, Route12HouseText_564d9
+ ld hl, .NoRoomText
jr .done
.refused
- ld hl, Route12HouseText_564cf
+ ld hl, .ThatsDisappointingText
jr .done
.got_item
- ld hl, Route12HouseText_564d4
+ ld hl, .TryFishingText
.done
call PrintText
jp TextScriptEnd
-Route12HouseText_564c0:
- text_far _Route12HouseText_564c0
+.DoYouLikeToFishText:
+ text_far _Route12SuperRodHouseFishingGuruDoYouLikeToFishText
text_end
-Route12HouseText_564c5:
- text_far _Route12HouseText_564c5
+.ReceivedSuperRodText:
+ text_far _Route12SuperRodHouseFishingGuruReceivedSuperRodText
sound_get_item_1
- text_far _Route12HouseText_564ca
+ text_far _Route12SuperRodHouseFishingGuruFishingWayOfLifeText
text_end
-Route12HouseText_564cf:
- text_far _Route12HouseText_564cf
+.ThatsDisappointingText:
+ text_far _Route12SuperRodHouseFishingGuruThatsDisappointingText
text_end
-Route12HouseText_564d4:
- text_far _Route12HouseText_564d4
+.TryFishingText:
+ text_far _Route12SuperRodHouseFishingGuruTryFishingText
text_end
-Route12HouseText_564d9:
- text_far _Route12HouseText_564d9
+.NoRoomText:
+ text_far _Route12SuperRodHouseFishingGuruNoRoomText
text_end