2019-01-01 20:06:23 +00:00
|
|
|
MrPsychicsHouse_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
MrPsychicsHouse_TextPointers:
|
2023-07-14 01:27:56 +00:00
|
|
|
def_text_pointers
|
|
|
|
dw_const MrPsychicsHouseMrPsychicText, TEXT_MRPSYCHICSHOUSE_MR_PSYCHIC
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
MrPsychicsHouseMrPsychicText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_GOT_TM29
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nz, .got_item
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .YouWantedThisText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2020-07-06 02:52:27 +00:00
|
|
|
lb bc, TM_PSYCHIC_M, 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, .ReceivedTM29Text
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_GOT_TM29
|
2020-07-16 15:19:05 +00:00
|
|
|
jr .done
|
|
|
|
.bag_full
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .TM29NoRoomText
|
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, .TM29ExplanationText
|
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
|
|
|
.YouWantedThisText:
|
|
|
|
text_far _MrPsychicsHouseMrPsychicYouWantedThisText
|
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
|
|
|
.ReceivedTM29Text:
|
|
|
|
text_far _MrPsychicsHouseMrPsychicReceivedTM29Text
|
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
|
|
|
.TM29ExplanationText:
|
|
|
|
text_far _MrPsychicsHouseMrPsychicTM29ExplanationText
|
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
|
|
|
.TM29NoRoomText:
|
|
|
|
text_far _MrPsychicsHouseMrPsychicTM29NoRoomText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|