pokeemerald/data/maps/SootopolisCity_House1/scripts.inc
2019-11-10 16:37:14 -06:00

45 lines
1.3 KiB
PHP

SootopolisCity_House1_MapScripts:: @ 822694C
.byte 0
SootopolisCity_House1_EventScript_BrickBreakBlackBelt:: @ 822694D
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM31, SootopolisCity_House1_EventScript_ReceivedBrickBreak
msgbox SootopolisCity_House1_Text_DevelopedThisTM, MSGBOX_DEFAULT
giveitem_std ITEM_TM31
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM31
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
release
end
SootopolisCity_House1_EventScript_ReceivedBrickBreak:: @ 8226984
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
release
end
SootopolisCity_House1_EventScript_Kecleon:: @ 822698E
lock
faceplayer
waitse
playmoncry SPECIES_KECLEON, 0
msgbox SootopolisCity_House1_Text_Kecleon, MSGBOX_DEFAULT
waitmoncry
release
end
SootopolisCity_House1_Text_DevelopedThisTM: @ 82269A1
.string "For thirty years I've remained in\n"
.string "SOOTOPOLIS honing my skills.\p"
.string "I developed a shattering TM.\n"
.string "I bequeath it to you!$"
SootopolisCity_House1_Text_ExplainBrickBreak: @ 8226A13
.string "TM31 contains BRICK BREAK! It's a move\n"
.string "so horrible that I can't describe it.$"
SootopolisCity_House1_Text_Kecleon: @ 8226A60
.string "KECLEON: Puu puhyaah.$"