pokeemerald/data/maps/BattleFrontier_Mart/scripts.inc

70 lines
1.7 KiB
PHP
Raw Normal View History

.set LOCALID_OLD_WOMAN, 2
2021-07-20 21:18:31 +02:00
BattleFrontier_Mart_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
BattleFrontier_Mart_EventScript_Clerk::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-08-15 05:38:42 +02:00
message gText_HowMayIServeYou
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-03 18:53:51 +01:00
pokemart BattleFrontier_Mart_Pokemart
2019-08-15 05:38:42 +02:00
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
.align 2
2021-07-20 21:18:31 +02:00
BattleFrontier_Mart_Pokemart:
2017-11-10 02:21:31 +01:00
.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
2021-07-20 21:18:31 +02:00
BattleFrontier_Mart_EventScript_OldMan::
2019-11-03 18:53:51 +01:00
msgbox BattleFrontier_Mart_Text_ChaperonGrandson, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_Mart_EventScript_OldWoman::
2017-11-10 02:21:31 +01:00
lock
applymovement LOCALID_OLD_WOMAN, Common_Movement_FaceDown
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-03 18:53:51 +01:00
msgbox BattleFrontier_Mart_Text_ProteinMakeNiceGift, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
BattleFrontier_Mart_EventScript_Boy::
2019-11-03 18:53:51 +01:00
msgbox BattleFrontier_Mart_Text_FacilitiesDontAllowItems, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
BattleFrontier_Mart_Text_ChaperonGrandson:
2017-11-10 02:21:31 +01:00
.string "We came here to chaperon our\n"
.string "grandson.\p"
2018-12-07 16:41:08 +01:00
.string "But since we're here, we thought\n"
2017-11-10 02:21:31 +01:00
.string "we should get some souvenirs.$"
2021-07-20 21:18:31 +02:00
BattleFrontier_Mart_Text_ProteinMakeNiceGift:
2017-11-10 02:21:31 +01:00
.string "Dear, what do you think of this?\n"
2018-12-07 16:41:08 +01:00
.string "Wouldn't this make a nice gift?\p"
.string "It's…PRO…TE…IN?\n"
.string "It sounds delicious, doesn't it?$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
BattleFrontier_Mart_Text_FacilitiesDontAllowItems:
2018-12-07 16:41:08 +01:00
.string "A lot of the BATTLE FRONTIER's\n"
.string "facilities don't allow the use of items\l"
2017-11-10 02:21:31 +01:00
.string "during battles.\p"
.string "That rule makes things tougher than\n"
.string "they already are!$"