2016-06-12 00:24:04 +00:00
|
|
|
FuchsiaHouse2Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
FuchsiaHouse2TextPointers:
|
2014-05-18 18:19:10 +00:00
|
|
|
dw FuchsiaHouse2Text1
|
2015-07-18 15:17:29 +00:00
|
|
|
dw PickUpItemText
|
2014-05-18 18:19:10 +00:00
|
|
|
dw BoulderText
|
|
|
|
dw FuchsiaHouse2Text4
|
|
|
|
dw FuchsiaHouse2Text5
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
FuchsiaHouse2Text1:
|
2015-07-03 19:58:50 +00:00
|
|
|
TX_ASM
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_GOT_HM04
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .subtract
|
2014-05-18 18:19:10 +00:00
|
|
|
ld b,GOLD_TEETH
|
|
|
|
call IsItemInBag
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_3f30f
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_GAVE_GOLD_TEETH
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_60cba
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, WardenGibberishText1
|
|
|
|
call PrintText
|
|
|
|
call YesNoChoice
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wCurrentMenuItem]
|
2014-05-18 18:19:10 +00:00
|
|
|
and a
|
|
|
|
ld hl, WardenGibberishText3
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_61238
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, WardenGibberishText2
|
2015-07-03 19:38:12 +00:00
|
|
|
.asm_61238
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_52039
|
|
|
|
.asm_3f30f
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, WardenTeethText1
|
|
|
|
call PrintText
|
|
|
|
ld a, GOLD_TEETH
|
2015-07-03 20:13:35 +00:00
|
|
|
ld [$ffdb], a
|
2014-05-19 14:38:20 +00:00
|
|
|
callba RemoveItemByID
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_GAVE_GOLD_TEETH
|
2015-07-03 19:38:12 +00:00
|
|
|
.asm_60cba
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, WardenThankYouText
|
|
|
|
call PrintText
|
2015-08-05 21:20:29 +00:00
|
|
|
lb bc, HM_04, 1
|
2014-05-18 18:19:10 +00:00
|
|
|
call GiveItem
|
|
|
|
jr nc, .BagFull
|
|
|
|
ld hl, ReceivedHM04Text
|
|
|
|
call PrintText
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_GOT_HM04
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_52039
|
|
|
|
.subtract
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, HM04ExplanationText
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_52039
|
2014-05-18 18:19:10 +00:00
|
|
|
.BagFull
|
|
|
|
ld hl, HM04NoRoomText
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
.asm_52039
|
2014-05-18 18:19:10 +00:00
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
WardenGibberishText1:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _WardenGibberishText1
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
WardenGibberishText2:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _WardenGibberishText2
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
WardenGibberishText3:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _WardenGibberishText3
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
WardenTeethText1:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _WardenTeethText1
|
2016-07-18 06:17:03 +00:00
|
|
|
TX_SFX_ITEM_1
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
WardenTeethText2:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _WardenTeethText2
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
WardenThankYouText:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _WardenThankYouText
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
ReceivedHM04Text:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _ReceivedHM04Text
|
2016-07-18 06:17:03 +00:00
|
|
|
TX_SFX_ITEM_1
|
|
|
|
db "@"
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
HM04ExplanationText:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _HM04ExplanationText
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
HM04NoRoomText:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _HM04NoRoomText
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
FuchsiaHouse2Text5:
|
|
|
|
FuchsiaHouse2Text4:
|
2015-07-03 19:58:50 +00:00
|
|
|
TX_ASM
|
2015-07-03 20:13:35 +00:00
|
|
|
ld a, [H_SPRITEINDEX]
|
2014-05-18 18:19:10 +00:00
|
|
|
cp $4
|
|
|
|
ld hl, FuchsiaHouse2Text_7517b
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_4c9a2
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, FuchsiaHouse2Text_75176
|
2015-07-03 19:38:12 +00:00
|
|
|
.asm_4c9a2
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
FuchsiaHouse2Text_75176:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _FuchsiaHouse2Text_75176
|
|
|
|
db "@"
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
FuchsiaHouse2Text_7517b:
|
2014-05-18 18:19:10 +00:00
|
|
|
TX_FAR _FuchsiaHouse2Text_7517b
|
|
|
|
db "@"
|