2019-01-01 20:06:23 +00:00
|
|
|
SafariZoneSecretHouse_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
SafariZoneSecretHouse_TextPointers:
|
2023-07-14 01:27:56 +00:00
|
|
|
def_text_pointers
|
|
|
|
dw_const SafariZoneSecretHouseFishingGuruText, TEXT_SAFARIZONESECRETHOUSE_FISHING_GURU
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
SafariZoneSecretHouseFishingGuruText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_GOT_HM03
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nz, .got_item
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .YouHaveWonText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2020-07-06 02:52:27 +00:00
|
|
|
lb bc, HM_SURF, 1
|
2014-05-18 18:19:10 +00:00
|
|
|
call GiveItem
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nc, .bag_full
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .ReceivedHM03Text
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_GOT_HM03
|
2020-07-16 15:19:05 +00:00
|
|
|
jr .done
|
|
|
|
.bag_full
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .HM03NoRoomText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2020-07-16 15:19:05 +00:00
|
|
|
jr .done
|
|
|
|
.got_item
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .HM03ExplanationText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2020-07-16 15:19:05 +00:00
|
|
|
.done
|
2014-05-18 18:19:10 +00:00
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.YouHaveWonText:
|
|
|
|
text_far _SafariZoneSecretHouseFishingGuruYouHaveWonText
|
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
|
|
|
.ReceivedHM03Text:
|
|
|
|
text_far _SafariZoneSecretHouseFishingGuruReceivedHM03Text
|
2020-07-04 21:09:35 +00:00
|
|
|
sound_get_item_1
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.HM03ExplanationText:
|
|
|
|
text_far _SafariZoneSecretHouseFishingGuruHM03ExplanationText
|
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
|
|
|
.HM03NoRoomText:
|
|
|
|
text_far _SafariZoneSecretHouseFishingGuruHM03NoRoomText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|