summaryrefslogtreecommitdiff
path: root/scripts/FuchsiaGoodRodHouse.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
committerdannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
commit5647ca687b92954dcf37a6ea6bfbc9a341c32de4 (patch)
treedde1937a1bfdb3a835f4155e1c2eb8f1aaf86f63 /scripts/FuchsiaGoodRodHouse.asm
parent53fcd05aa24693093d8af1dc8ec4fedd3957decc (diff)
Sync with pokered
Diffstat (limited to 'scripts/FuchsiaGoodRodHouse.asm')
-rwxr-xr-xscripts/FuchsiaGoodRodHouse.asm63
1 files changed, 27 insertions, 36 deletions
diff --git a/scripts/FuchsiaGoodRodHouse.asm b/scripts/FuchsiaGoodRodHouse.asm
index 93a20e80..28f6d056 100755
--- a/scripts/FuchsiaGoodRodHouse.asm
+++ b/scripts/FuchsiaGoodRodHouse.asm
@@ -5,71 +5,62 @@ FuchsiaGoodRodHouse_TextPointers:
dw FuchsiaHouse3Text1
FuchsiaHouse3Text1:
- TX_ASM
+ text_asm
ld a, [wd728]
- bit 4, a
- jr nz, .after
-
+ bit 4, a ; got good rod?
+ jr nz, .got_item
ld hl, FuchsiaHouse3Text_561bd
call PrintText
-
call YesNoChoice
ld a, [wCurrentMenuItem]
and a
jr nz, .refused
-
lb bc, GOOD_ROD, 1
call GiveItem
- jr nc, .full
-
+ jr nc, .bag_full
ld hl, wd728
- set 4, [hl]
-
+ set 4, [hl] ; got good rod
ld hl, FuchsiaHouse3Text_561c2
- jr .talk
-
-.full
+ jr .done
+.bag_full
ld hl, FuchsiaHouse3Text_5621c
- jr .talk
-
+ jr .done
.refused
ld hl, FuchsiaHouse3Text_56212
- jr .talk
-
-.after
+ jr .done
+.got_item
ld hl, FuchsiaHouse3Text_56217
-
-.talk
+.done
call PrintText
jp TextScriptEnd
FuchsiaHouse3Text_561bd:
- TX_FAR _FuchsiaHouse3Text_561bd
- db "@"
+ text_far _FuchsiaHouse3Text_561bd
+ text_end
FuchsiaHouse3Text_561c2:
- TX_FAR _FuchsiaHouse3Text_561c2
- TX_SFX_ITEM_1
- db "@"
+ text_far _FuchsiaHouse3Text_561c2
+ sound_get_item_1
+ text_end
UnusedText_561c8:
- para "つり こそ"
- line "おとこの ロマン だ!"
+ para "つり こそ"
+ line "おとこの ロマン だ!"
para "へぼいつりざおは"
- line "コイキングしか つれ なんだが"
- line "この いいつりざおなら"
- line "もっと いいもんが つれるんじゃ!"
+ line "コイキングしか つれ なんだが"
+ line "この いいつりざおなら"
+ line "もっと いいもんが つれるんじゃ!"
done
FuchsiaHouse3Text_56212:
- TX_FAR _FuchsiaHouse3Text_56212
- db "@"
+ text_far _FuchsiaHouse3Text_56212
+ text_end
FuchsiaHouse3Text_56217:
- TX_FAR _FuchsiaHouse3Text_56217
- db "@"
+ text_far _FuchsiaHouse3Text_56217
+ text_end
FuchsiaHouse3Text_5621c:
- TX_FAR _FuchsiaHouse3Text_5621c
- db "@"
+ text_far _FuchsiaHouse3Text_5621c
+ text_end