2019-01-01 20:06:23 +00:00
|
|
|
Route16FlyHouse_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
Route16FlyHouse_TextPointers:
|
2023-07-14 01:27:56 +00:00
|
|
|
def_text_pointers
|
|
|
|
dw_const Route16FlyHouseBrunetteGirlText, TEXT_ROUTE16FLYHOUSE_BRUNETTE_GIRL
|
|
|
|
dw_const Route16FlyHouseFearowText, TEXT_ROUTE16FLYHOUSE_FEAROW
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
Route16FlyHouseBrunetteGirlText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_GOT_HM02
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .HM02ExplanationText
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nz, .got_item
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .Text
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2020-07-06 02:52:27 +00:00
|
|
|
lb bc, HM_FLY, 1
|
2014-05-18 18:19:10 +00:00
|
|
|
call GiveItem
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nc, .bag_full
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_GOT_HM02
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .ReceivedHM02Text
|
2020-07-16 15:19:05 +00:00
|
|
|
jr .got_item
|
|
|
|
.bag_full
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .HM02NoRoomText
|
2020-07-16 15:19:05 +00:00
|
|
|
.got_item
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.Text:
|
|
|
|
text_far _Route16FlyHouseBrunetteGirlText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.ReceivedHM02Text:
|
|
|
|
text_far _Route16FlyHouseBrunetteGirlReceivedHM02Text
|
2020-07-04 21:09:35 +00:00
|
|
|
sound_get_key_item
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.HM02ExplanationText:
|
|
|
|
text_far _Route16FlyHouseBrunetteGirlHM02ExplanationText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.HM02NoRoomText:
|
|
|
|
text_far _Route16FlyHouseBrunetteGirlHM02NoRoomText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
Route16FlyHouseFearowText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .Text
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
ld a, FEAROW
|
|
|
|
call PlayCry
|
|
|
|
call WaitForSoundToFinish
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.Text:
|
|
|
|
text_far _Route16FlyHouseFearowText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|