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:
|
2014-05-18 18:19:10 +00:00
|
|
|
dw SaffronHouse2Text1
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
SaffronHouse2Text1:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_GOT_TM29
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_9e72b
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, TM29PreReceiveText
|
|
|
|
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
|
|
|
|
jr nc, .BagFull
|
|
|
|
ld hl, ReceivedTM29Text
|
|
|
|
call PrintText
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_GOT_TM29
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_fe4e1
|
2014-05-18 18:19:10 +00:00
|
|
|
.BagFull
|
|
|
|
ld hl, TM29NoRoomText
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_fe4e1
|
|
|
|
.asm_9e72b
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, TM29ExplanationText
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
.asm_fe4e1
|
2014-05-18 18:19:10 +00:00
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TM29PreReceiveText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM29PreReceiveText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
ReceivedTM29Text:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _ReceivedTM29Text
|
|
|
|
sound_get_item_1
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TM29ExplanationText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM29ExplanationText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TM29NoRoomText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM29NoRoomText
|
|
|
|
text_end
|