pokeemerald/data/maps/OldaleTown_Mart/scripts.inc

73 lines
1.7 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
OldaleTown_Mart_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
OldaleTown_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-10-21 01:30:25 +02:00
goto_if_set FLAG_ADVENTURE_STARTED, OldaleTown_Mart_ExpandedItems
pokemart OldaleTown_Mart_Pokemart_Basic
2019-08-15 05:38:42 +02:00
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-08-04 17:50:33 +02:00
.align 2
2021-07-20 21:18:31 +02:00
OldaleTown_Mart_Pokemart_Basic:
2017-11-10 02:21:31 +01:00
.2byte ITEM_POTION
.2byte ITEM_ANTIDOTE
.2byte ITEM_PARALYZE_HEAL
.2byte ITEM_AWAKENING
.2byte ITEM_NONE
release
end
2021-07-20 21:18:31 +02:00
OldaleTown_Mart_ExpandedItems::
2019-10-21 01:30:25 +02:00
pokemart OldaleTown_Mart_Pokemart_Expanded
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
OldaleTown_Mart_Pokemart_Expanded:
2017-11-10 02:21:31 +01:00
.2byte ITEM_POKE_BALL
.2byte ITEM_POTION
.2byte ITEM_ANTIDOTE
.2byte ITEM_PARALYZE_HEAL
.2byte ITEM_AWAKENING
.2byte ITEM_NONE
release
end
2021-07-20 21:18:31 +02:00
OldaleTown_Mart_EventScript_Woman::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-10-21 01:30:25 +02:00
goto_if_set FLAG_ADVENTURE_STARTED, OldaleTown_Mart_EventScript_PokeBallsInStock
msgbox OldaleTown_Mart_Text_PokeBallsAreSoldOut, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
OldaleTown_Mart_EventScript_PokeBallsInStock::
2019-10-21 01:30:25 +02:00
msgbox OldaleTown_Mart_Text_ImGoingToBuyPokeBalls, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
OldaleTown_Mart_EventScript_Boy::
2019-10-21 01:30:25 +02:00
msgbox OldaleTown_Mart_Text_RestoreHPWithPotion, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
OldaleTown_Mart_Text_PokeBallsAreSoldOut:
2018-12-07 16:41:08 +01:00
.string "The clerk says they're all sold out.\n"
.string "I can't buy any POKé BALLS.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
OldaleTown_Mart_Text_ImGoingToBuyPokeBalls:
2018-12-07 16:41:08 +01:00
.string "I'm going to buy a bunch of POKé BALLS\n"
2017-11-10 02:21:31 +01:00
.string "and catch a bunch of POKéMON!$"
2021-07-20 21:18:31 +02:00
OldaleTown_Mart_Text_RestoreHPWithPotion:
2017-11-10 02:21:31 +01:00
.string "If a POKéMON gets hurt and loses its HP\n"
2018-12-07 16:41:08 +01:00
.string "and faints, it won't be able to battle.\p"
2017-11-10 02:21:31 +01:00
.string "To prevent your POKéMON from fainting,\n"
.string "restore its HP with a POTION.$"