pokeemerald/data/maps/SootopolisCity_House1/scripts.inc

44 lines
1.2 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
SootopolisCity_House1_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
SootopolisCity_House1_EventScript_BrickBreakBlackBelt::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-10 02:40:41 +01:00
goto_if_set FLAG_RECEIVED_TM31, SootopolisCity_House1_EventScript_ReceivedBrickBreak
msgbox SootopolisCity_House1_Text_DevelopedThisTM, MSGBOX_DEFAULT
giveitem ITEM_TM31
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
2019-01-02 22:12:43 +01:00
setflag FLAG_RECEIVED_TM31
2019-11-10 02:40:41 +01:00
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
SootopolisCity_House1_EventScript_ReceivedBrickBreak::
2019-11-10 02:40:41 +01:00
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
SootopolisCity_House1_EventScript_Kecleon::
2017-11-10 02:21:31 +01:00
lock
faceplayer
waitse
2021-11-07 18:58:11 +01:00
playmoncry SPECIES_KECLEON, CRY_MODE_NORMAL
2019-11-10 02:40:41 +01:00
msgbox SootopolisCity_House1_Text_Kecleon, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
waitmoncry
release
end
2021-07-20 21:18:31 +02:00
SootopolisCity_House1_Text_DevelopedThisTM:
2018-12-07 16:41:08 +01:00
.string "For thirty years I've remained in\n"
2017-11-10 02:21:31 +01:00
.string "SOOTOPOLIS honing my skills.\p"
.string "I developed a shattering TM.\n"
.string "I bequeath it to you!$"
2021-07-20 21:18:31 +02:00
SootopolisCity_House1_Text_ExplainBrickBreak:
2018-12-07 16:41:08 +01:00
.string "TM31 contains BRICK BREAK! It's a move\n"
.string "so horrible that I can't describe it.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
SootopolisCity_House1_Text_Kecleon:
2017-11-10 02:21:31 +01:00
.string "KECLEON: Puu puhyaah.$"