2019-01-01 20:06:23 +00:00
|
|
|
VermilionOldRodHouse_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
VermilionOldRodHouse_TextPointers:
|
2014-05-18 18:19:10 +00:00
|
|
|
dw VermilionHouse2Text1
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
VermilionHouse2Text1:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wd728]
|
2020-07-16 15:19:05 +00:00
|
|
|
bit 3, a ; got old rod?
|
|
|
|
jr nz, .got_item
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, VermilionHouse2Text_560b1
|
|
|
|
call PrintText
|
|
|
|
call YesNoChoice
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wCurrentMenuItem]
|
2014-05-18 18:19:10 +00:00
|
|
|
and a
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nz, .refused
|
2015-08-05 21:20:29 +00:00
|
|
|
lb bc, OLD_ROD, 1
|
2014-05-18 18:19:10 +00:00
|
|
|
call GiveItem
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nc, .bag_full
|
2014-05-26 21:04:56 +00:00
|
|
|
ld hl, wd728
|
2020-07-16 15:19:05 +00:00
|
|
|
set 3, [hl] ; got old rod
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, VermilionHouse2Text_560b6
|
2020-07-16 15:19:05 +00:00
|
|
|
jr .done
|
|
|
|
.bag_full
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, VermilionHouse2Text_560ca
|
2020-07-16 15:19:05 +00:00
|
|
|
jr .done
|
|
|
|
.refused
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, VermilionHouse2Text_560c0
|
2020-07-16 15:19:05 +00:00
|
|
|
jr .done
|
|
|
|
.got_item
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, VermilionHouse2Text_560c5
|
2020-07-16 15:19:05 +00:00
|
|
|
.done
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
VermilionHouse2Text_560b1:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _VermilionHouse2Text_560b1
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
VermilionHouse2Text_560b6:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _VermilionHouse2Text_560b6
|
|
|
|
sound_get_item_1
|
|
|
|
text_far _VermilionHouse2Text_560bb
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
VermilionHouse2Text_560c0:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _VermilionHouse2Text_560c0
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
VermilionHouse2Text_560c5:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _VermilionHouse2Text_560c5
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
VermilionHouse2Text_560ca:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _VermilionHouse2Text_560ca
|
|
|
|
text_end
|