pokeemerald/data/maps/BattleFrontier_Mart/scripts.inc
2021-07-20 15:18:31 -04:00

70 lines
1.7 KiB
PHP

.set LOCALID_OLD_WOMAN, 2
BattleFrontier_Mart_MapScripts::
.byte 0
BattleFrontier_Mart_EventScript_Clerk::
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart BattleFrontier_Mart_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
BattleFrontier_Mart_Pokemart:
.2byte ITEM_ULTRA_BALL
.2byte ITEM_HYPER_POTION
.2byte ITEM_MAX_POTION
.2byte ITEM_FULL_RESTORE
.2byte ITEM_FULL_HEAL
.2byte ITEM_REVIVE
.2byte ITEM_MAX_REPEL
.2byte ITEM_PROTEIN
.2byte ITEM_CALCIUM
.2byte ITEM_IRON
.2byte ITEM_ZINC
.2byte ITEM_CARBOS
.2byte ITEM_HP_UP
.2byte ITEM_NONE
release
end
BattleFrontier_Mart_EventScript_OldMan::
msgbox BattleFrontier_Mart_Text_ChaperonGrandson, MSGBOX_NPC
end
BattleFrontier_Mart_EventScript_OldWoman::
lock
applymovement LOCALID_OLD_WOMAN, Common_Movement_FaceDown
waitmovement 0
msgbox BattleFrontier_Mart_Text_ProteinMakeNiceGift, MSGBOX_DEFAULT
release
end
BattleFrontier_Mart_EventScript_Boy::
msgbox BattleFrontier_Mart_Text_FacilitiesDontAllowItems, MSGBOX_NPC
end
BattleFrontier_Mart_Text_ChaperonGrandson:
.string "We came here to chaperon our\n"
.string "grandson.\p"
.string "But since we're here, we thought\n"
.string "we should get some souvenirs.$"
BattleFrontier_Mart_Text_ProteinMakeNiceGift:
.string "Dear, what do you think of this?\n"
.string "Wouldn't this make a nice gift?\p"
.string "It's…PRO…TE…IN?\n"
.string "It sounds delicious, doesn't it?$"
BattleFrontier_Mart_Text_FacilitiesDontAllowItems:
.string "A lot of the BATTLE FRONTIER's\n"
.string "facilities don't allow the use of items\l"
.string "during battles.\p"
.string "That rule makes things tougher than\n"
.string "they already are!$"