2016-06-12 00:24:04 +00:00
|
|
|
Route16HouseScript:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
Route16HouseTextPointers:
|
2014-05-18 18:19:10 +00:00
|
|
|
dw Route16HouseText1
|
|
|
|
dw Route16HouseText2
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
Route16HouseText1:
|
2015-07-03 19:58:50 +00:00
|
|
|
TX_ASM
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_GOT_HM02
|
2014-05-18 18:19:10 +00:00
|
|
|
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
|
2015-08-05 21:20:29 +00:00
|
|
|
lb bc, HM_02, 1
|
2014-05-18 18:19:10 +00:00
|
|
|
call GiveItem
|
|
|
|
jr nc, .BagFull
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_GOT_HM02
|
2014-05-18 18:19:10 +00:00
|
|
|
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
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
Route16HouseText3:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _Route16HouseText3
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
ReceivedHM02Text:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _ReceivedHM02Text
|
2016-07-18 06:17:03 +00:00
|
|
|
TX_SFX_KEY_ITEM
|
|
|
|
db "@"
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
HM02ExplanationText:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _HM02ExplanationText
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
HM02NoRoomText:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _HM02NoRoomText
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
Route16HouseText2:
|
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
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
Route16HouseText_1e652:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _Route16HouseText_1e652
|
|
|
|
db "@"
|