mirror of https://github.com/pret/pokeemerald.git
44 lines
1.2 KiB
PHP
44 lines
1.2 KiB
PHP
SootopolisCity_House1_MapScripts::
|
|
.byte 0
|
|
|
|
SootopolisCity_House1_EventScript_BrickBreakBlackBelt::
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_RECEIVED_TM_BRICK_BREAK, SootopolisCity_House1_EventScript_ReceivedBrickBreak
|
|
msgbox SootopolisCity_House1_Text_DevelopedThisTM, MSGBOX_DEFAULT
|
|
giveitem ITEM_TM_BRICK_BREAK
|
|
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
|
setflag FLAG_RECEIVED_TM_BRICK_BREAK
|
|
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"
|
|
.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"
|
|
.string "so horrible that I can't describe it.$"
|
|
|
|
SootopolisCity_House1_Text_Kecleon:
|
|
.string "KECLEON: Puu puhyaah.$"
|
|
|