tumbledemerald-legacy/data/maps/SootopolisCity_House1/scripts.inc

44 lines
1.2 KiB
PHP
Raw Normal View History

2022-05-19 19:14:13 +02:00
SootopolisCity_House1_MapScripts::
.byte 0
SootopolisCity_House1_EventScript_BrickBreakBlackBelt::
lock
faceplayer
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
setflag FLAG_RECEIVED_TM31
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
release
end
SootopolisCity_House1_EventScript_ReceivedBrickBreak::
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
release
end
SootopolisCity_House1_EventScript_Kecleon::
lock
faceplayer
waitse
playmoncry SPECIES_KECLEON, CRY_MODE_NORMAL
msgbox SootopolisCity_House1_Text_Kecleon, MSGBOX_DEFAULT
waitmoncry
release
end
SootopolisCity_House1_Text_DevelopedThisTM:
.string "For thirty years I've remained in\n"
.string "Sootopolis honing my skills.\p"
2022-05-19 19:14:13 +02:00
.string "I developed a shattering TM.\n"
.string "I bequeath it to you!$"
SootopolisCity_House1_Text_ExplainBrickBreak:
.string "TM31 contains Brick Break! It's a move\n"
2022-05-19 19:14:13 +02:00
.string "so horrible that I can't describe it.$"
SootopolisCity_House1_Text_Kecleon:
.string "Kecleon: Puu puhyaah.$"
2022-05-19 19:14:13 +02:00