2014-05-18 18:19:10 +00:00
|
|
|
Route16HouseScript: ; 1e5f8 (7:65f8)
|
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
|
|
|
Route16HouseTextPointers: ; 1e5fb (7:65fb)
|
|
|
|
dw Route16HouseText1
|
|
|
|
dw Route16HouseText2
|
|
|
|
|
|
|
|
Route16HouseText1: ; 1e5ff (7:65ff)
|
2015-07-03 19:58:50 +00:00
|
|
|
TX_ASM
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wd7e0]
|
2014-05-18 18:19:10 +00:00
|
|
|
bit 6, a
|
|
|
|
ld hl, HM02ExplanationText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_13616
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, Route16HouseText3
|
|
|
|
call PrintText
|
|
|
|
ld bc, (HM_02 << 8) | 1
|
|
|
|
call GiveItem
|
|
|
|
jr nc, .BagFull
|
2014-05-26 21:04:56 +00:00
|
|
|
ld hl, wd7e0
|
2014-05-18 18:19:10 +00:00
|
|
|
set 6, [hl]
|
|
|
|
ld hl, ReceivedHM02Text
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_13616
|
2014-05-18 18:19:10 +00:00
|
|
|
.BagFull
|
|
|
|
ld hl, HM02NoRoomText
|
2015-07-03 19:38:12 +00:00
|
|
|
.asm_13616
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
|
|
|
Route16HouseText3: ; 1e62b (7:662b)
|
|
|
|
TX_FAR _Route16HouseText3
|
|
|
|
db "@"
|
|
|
|
|
|
|
|
ReceivedHM02Text: ; 1e630 (7:6630)
|
|
|
|
TX_FAR _ReceivedHM02Text
|
|
|
|
db $11, "@"
|
|
|
|
|
|
|
|
HM02ExplanationText: ; 1e636 (7:6636)
|
|
|
|
TX_FAR _HM02ExplanationText
|
|
|
|
db "@"
|
|
|
|
|
|
|
|
HM02NoRoomText: ; 1e63b (7:663b)
|
|
|
|
TX_FAR _HM02NoRoomText
|
|
|
|
db "@"
|
|
|
|
|
|
|
|
Route16HouseText2: ; 1e640 (7:6640)
|
2015-07-03 19:58:50 +00:00
|
|
|
TX_ASM
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, Route16HouseText_1e652
|
|
|
|
call PrintText
|
|
|
|
ld a, FEAROW
|
|
|
|
call PlayCry
|
|
|
|
call WaitForSoundToFinish
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
|
|
|
Route16HouseText_1e652: ; 1e652 (7:6652)
|
|
|
|
TX_FAR _Route16HouseText_1e652
|
|
|
|
db "@"
|