2019-01-01 20:06:23 +00:00
|
|
|
CopycatsHouse2F_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
CopycatsHouse2F_TextPointers:
|
2014-05-18 18:19:10 +00:00
|
|
|
dw CopycatsHouse2FText1
|
|
|
|
dw CopycatsHouse2FText2
|
|
|
|
dw CopycatsHouse2FText3
|
|
|
|
dw CopycatsHouse2FText4
|
|
|
|
dw CopycatsHouse2FText5
|
|
|
|
dw CopycatsHouse2FText6
|
|
|
|
dw CopycatsHouse2FText7
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CopycatsHouse2FText1:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_GOT_TM31
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_7ccf3
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, $1
|
2014-09-13 07:50:56 +00:00
|
|
|
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CopycatsHouse2FText_5ccd4
|
|
|
|
call PrintText
|
|
|
|
ld b, POKE_DOLL
|
|
|
|
call IsItemInBag
|
2015-07-03 19:38:12 +00:00
|
|
|
jr z, .asm_62ecd
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, TM31PreReceiveText
|
|
|
|
call PrintText
|
2020-07-06 02:52:27 +00:00
|
|
|
lb bc, TM_MIMIC, 1
|
2014-05-18 18:19:10 +00:00
|
|
|
call GiveItem
|
|
|
|
jr nc, .BagFull
|
|
|
|
ld hl, ReceivedTM31Text
|
|
|
|
call PrintText
|
|
|
|
ld a, POKE_DOLL
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hItemToRemoveID], a
|
2020-07-07 01:18:22 +00:00
|
|
|
farcall RemoveItemByID
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_GOT_TM31
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_62ecd
|
2014-05-18 18:19:10 +00:00
|
|
|
.BagFull
|
|
|
|
ld hl, TM31NoRoomText
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_62ecd
|
|
|
|
.asm_7ccf3
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, TM31ExplanationText2
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
.asm_62ecd
|
2014-05-18 18:19:10 +00:00
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CopycatsHouse2FText_5ccd4:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CopycatsHouse2FText_5ccd4
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TM31PreReceiveText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM31PreReceiveText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
ReceivedTM31Text:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _ReceivedTM31Text
|
|
|
|
sound_get_item_1
|
2016-06-12 00:24:04 +00:00
|
|
|
TM31ExplanationText1:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM31ExplanationText1
|
2020-07-06 16:39:29 +00:00
|
|
|
text_waitbutton
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TM31ExplanationText2:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM31ExplanationText2
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TM31NoRoomText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM31NoRoomText
|
2020-07-06 16:39:29 +00:00
|
|
|
text_waitbutton
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CopycatsHouse2FText2:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CopycatsHouse2FText2
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CopycatsHouse2FText5:
|
|
|
|
CopycatsHouse2FText4:
|
|
|
|
CopycatsHouse2FText3:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CopycatsHouse2FText3
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CopycatsHouse2FText6:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CopycatsHouse2FText6
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CopycatsHouse2FText7:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2020-07-05 21:29:11 +00:00
|
|
|
ld a, [wSpritePlayerStateData1FacingDirection]
|
2015-07-04 05:44:12 +00:00
|
|
|
cp SPRITE_FACING_UP
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CopycatsHouse2FText_5cd1c
|
2015-07-04 05:44:12 +00:00
|
|
|
jr nz, .notUp
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CopycatsHouse2FText_5cd17
|
2015-07-04 05:44:12 +00:00
|
|
|
.notUp
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CopycatsHouse2FText_5cd17:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CopycatsHouse2FText_5cd17
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CopycatsHouse2FText_5cd1c:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CopycatsHouse2FText_5cd1c
|
|
|
|
text_end
|