2017-11-10 02:21:31 +01:00
|
|
|
OldaleTown_Mart_MapScripts:: @ 81FC23F
|
|
|
|
.byte 0
|
|
|
|
|
2019-10-21 01:30:25 +02:00
|
|
|
OldaleTown_Mart_EventScript_Clerk:: @ 81FC240
|
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
|
|
|
|
|
2019-10-21 01:30:25 +02:00
|
|
|
OldaleTown_Mart_Pokemart_Basic: @ 81FC260
|
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
|
|
|
|
|
2019-10-21 01:30:25 +02:00
|
|
|
OldaleTown_Mart_ExpandedItems:: @ 81FC26C
|
|
|
|
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
|
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
.align 2
|
2019-10-21 01:30:25 +02:00
|
|
|
OldaleTown_Mart_Pokemart_Expanded: @ 81FC27C
|
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
|
|
|
|
|
2019-10-21 01:30:25 +02:00
|
|
|
OldaleTown_Mart_EventScript_Woman:: @ 81FC28A
|
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
|
|
|
|
|
2019-10-21 01:30:25 +02:00
|
|
|
OldaleTown_Mart_EventScript_PokeBallsInStock:: @ 81FC29F
|
|
|
|
msgbox OldaleTown_Mart_Text_ImGoingToBuyPokeBalls, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-10-21 01:30:25 +02:00
|
|
|
OldaleTown_Mart_EventScript_Boy:: @ 81FC2A9
|
|
|
|
msgbox OldaleTown_Mart_Text_RestoreHPWithPotion, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-21 01:30:25 +02:00
|
|
|
OldaleTown_Mart_Text_PokeBallsAreSoldOut: @ 81FC2B2
|
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
|
|
|
|
2019-10-21 01:30:25 +02:00
|
|
|
OldaleTown_Mart_Text_ImGoingToBuyPokeBalls: @ 81FC2F3
|
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!$"
|
|
|
|
|
2019-10-21 01:30:25 +02:00
|
|
|
OldaleTown_Mart_Text_RestoreHPWithPotion: @ 81FC338
|
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.$"
|
|
|
|
|