pokeemerald/data/maps/FallarborTown_House1/scripts.inc

127 lines
3.7 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
FallarborTown_House1_MapScripts:: @ 8200F12
.byte 0
FallarborTown_House1_EventScript_200F13:: @ 8200F13
lock
faceplayer
checkflag FLAG_0x0E5
goto_eq FallarborTown_House1_EventScript_200FB2
checkitem ITEM_METEORITE, 1
compare VAR_RESULT, 1
2017-11-10 02:21:31 +01:00
goto_eq FallarborTown_House1_EventScript_200F38
msgbox FallarborTown_House1_Text_200FEE, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
FallarborTown_House1_EventScript_200F38:: @ 8200F38
2018-10-17 18:25:12 +02:00
checkflag FLAG_TEMP_2
2017-11-10 02:21:31 +01:00
call_if 0, FallarborTown_House1_EventScript_200F8B
2018-10-17 18:25:12 +02:00
checkflag FLAG_TEMP_2
2017-11-10 02:21:31 +01:00
call_if 1, FallarborTown_House1_EventScript_200F9C
compare VAR_RESULT, 0
2017-11-10 02:21:31 +01:00
goto_eq FallarborTown_House1_EventScript_200FA5
msgbox FallarborTown_House1_Text_201159, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
giveitem_std ITEM_TM27
compare VAR_RESULT, 0
2017-11-10 02:21:31 +01:00
goto_eq FallarborTown_House1_EventScript_272054
setvar VAR_0x8004, 280
call FallarborTown_House1_EventScript_2723E4
setflag FLAG_0x0E5
msgbox FallarborTown_House1_Text_2011A5, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
FallarborTown_House1_EventScript_200F8B:: @ 8200F8B
msgbox FallarborTown_House1_Text_200FEE, MSGBOX_DEFAULT
msgbox FallarborTown_House1_Text_2010A2, MSGBOX_YESNO
2017-11-10 02:21:31 +01:00
return
FallarborTown_House1_EventScript_200F9C:: @ 8200F9C
msgbox FallarborTown_House1_Text_201249, MSGBOX_YESNO
2017-11-10 02:21:31 +01:00
return
FallarborTown_House1_EventScript_200FA5:: @ 8200FA5
2018-10-17 18:25:12 +02:00
setflag FLAG_TEMP_2
msgbox FallarborTown_House1_Text_201212, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
FallarborTown_House1_EventScript_200FB2:: @ 8200FB2
msgbox FallarborTown_House1_Text_2011A5, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
FallarborTown_House1_EventScript_200FBC:: @ 8200FBC
lock
faceplayer
checkflag FLAG_0x0E5
goto_eq FallarborTown_House1_EventScript_200FE4
checkflag FLAG_0x08B
goto_eq FallarborTown_House1_EventScript_200FDA
msgbox FallarborTown_House1_Text_2012BC, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
FallarborTown_House1_EventScript_200FDA:: @ 8200FDA
msgbox FallarborTown_House1_Text_201310, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
FallarborTown_House1_EventScript_200FE4:: @ 8200FE4
msgbox FallarborTown_House1_Text_20134B, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
FallarborTown_House1_Text_200FEE: @ 8200FEE
.string "PROF. COZMO: Oh…\n"
.string "I never should have let myself be\l"
.string "conned into telling TEAM MAGMA where\l"
.string "you can find METEORITES…\p"
.string "That METEORITE from METEOR FALLS…\n"
2018-12-07 16:41:08 +01:00
.string "It's never going to be mine now…$"
2017-11-10 02:21:31 +01:00
FallarborTown_House1_Text_2010A2: @ 82010A2
.string "Oh!\n"
.string "Hah?\p"
.string "That item…\p"
.string "Could it be?\p"
.string "Is it the METEORITE that TEAM MAGMA\n"
.string "took from METEOR FALLS?\p"
.string "Please, may I have it?\p"
2018-12-07 16:41:08 +01:00
.string "I'm not asking for it for free.\n"
2017-11-10 02:21:31 +01:00
.string "How about in exchange for this TM?$"
FallarborTown_House1_Text_201159: @ 8201159
.string "PROF. COZMO: This TM, it represents\n"
.string "my feeling of gratitude.\l"
.string "Please use it!$"
FallarborTown_House1_Text_2011A5: @ 82011A5
2018-12-07 16:41:08 +01:00
.string "PROF. COZMO: Oh, I can't believe it.\n"
2017-11-10 02:21:31 +01:00
.string "This is really, really great!\p"
.string "This is really going to help my research!$"
FallarborTown_House1_Text_201212: @ 8201212
.string "PROF. COZMO: Oh, but…\n"
2018-12-07 16:41:08 +01:00
.string "I'm crushed with disappointment…$"
2017-11-10 02:21:31 +01:00
FallarborTown_House1_Text_201249: @ 8201249
.string "PROF. COZMO: Please, may I have that\n"
.string "METEORITE?\p"
2018-12-07 16:41:08 +01:00
.string "I'm not asking for it for free.\n"
2017-11-10 02:21:31 +01:00
.string "How about in exchange for this TM?$"
FallarborTown_House1_Text_2012BC: @ 82012BC
.string "PROF. COZMO went off to METEOR FALLS\n"
.string "on ROUTE 114 with some people from\l"
.string "TEAM MAGMA.$"
FallarborTown_House1_Text_201310: @ 8201310
.string "Poor PROF. COZMO…\n"
2018-12-07 16:41:08 +01:00
.string "He's so depressed… I feel sorry for him.$"
2017-11-10 02:21:31 +01:00
FallarborTown_House1_Text_20134B: @ 820134B
.string "Look at PROF. COZMO…\n"
2018-12-07 16:41:08 +01:00
.string "He's so happy! I think it's cute.$"
2017-11-10 02:21:31 +01:00