2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_Mart_MapScripts::
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_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
|
|
|
goto_if_unset FLAG_MET_DEVON_EMPLOYEE, RustboroCity_Mart_EventScript_PokemartBasic
|
|
|
|
goto_if_set FLAG_MET_DEVON_EMPLOYEE, RustboroCity_Mart_EventScript_PokemartExpanded
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_Mart_EventScript_PokemartBasic::
|
2019-11-03 18:53:51 +01:00
|
|
|
pokemart RustboroCity_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
|
|
|
RustboroCity_Mart_Pokemart_Basic:
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte ITEM_POKE_BALL
|
|
|
|
.2byte ITEM_POTION
|
|
|
|
.2byte ITEM_SUPER_POTION
|
|
|
|
.2byte ITEM_ANTIDOTE
|
|
|
|
.2byte ITEM_PARALYZE_HEAL
|
|
|
|
.2byte ITEM_ESCAPE_ROPE
|
|
|
|
.2byte ITEM_REPEL
|
|
|
|
.2byte ITEM_X_SPEED
|
|
|
|
.2byte ITEM_X_ATTACK
|
2019-04-13 13:14:45 +02:00
|
|
|
.2byte ITEM_X_DEFENSE
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte ITEM_NONE
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_Mart_EventScript_PokemartExpanded::
|
2019-11-03 18:53:51 +01:00
|
|
|
pokemart RustboroCity_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
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_Mart_Pokemart_Expanded:
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte ITEM_POKE_BALL
|
|
|
|
.2byte ITEM_TIMER_BALL
|
|
|
|
.2byte ITEM_REPEAT_BALL
|
|
|
|
.2byte ITEM_POTION
|
|
|
|
.2byte ITEM_SUPER_POTION
|
|
|
|
.2byte ITEM_ANTIDOTE
|
|
|
|
.2byte ITEM_PARALYZE_HEAL
|
|
|
|
.2byte ITEM_ESCAPE_ROPE
|
|
|
|
.2byte ITEM_REPEL
|
|
|
|
.2byte ITEM_X_SPEED
|
|
|
|
.2byte ITEM_X_ATTACK
|
2019-04-13 13:14:45 +02:00
|
|
|
.2byte ITEM_X_DEFENSE
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte ITEM_NONE
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_Mart_EventScript_PokefanF::
|
2019-11-03 18:53:51 +01:00
|
|
|
msgbox RustboroCity_Mart_Text_BuyingHealsInCaseOfShroomish, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_Mart_EventScript_Boy::
|
2019-11-03 18:53:51 +01:00
|
|
|
msgbox RustboroCity_Mart_Text_ShouldBuySuperPotionsInstead, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_Mart_EventScript_BugCatcher::
|
2019-11-03 18:53:51 +01:00
|
|
|
msgbox RustboroCity_Mart_Text_GettingEscapeRopeJustInCase, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_Mart_Text_BuyingHealsInCaseOfShroomish:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'm buying some PARLYZ HEALS and\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "ANTIDOTES.\p"
|
|
|
|
.string "Just in case I run into SHROOMISH\n"
|
|
|
|
.string "in PETALBURG WOODS.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_Mart_Text_ShouldBuySuperPotionsInstead:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "My POKéMON evolved.\n"
|
|
|
|
.string "It has a lot of HP now.\p"
|
|
|
|
.string "I should buy SUPER POTIONS for it\n"
|
|
|
|
.string "instead of ordinary POTIONS.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_Mart_Text_GettingEscapeRopeJustInCase:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'm getting an ESCAPE ROPE just in\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "case I get lost in a cave.\p"
|
|
|
|
.string "I just need to use it to get back to\n"
|
|
|
|
.string "the entrance.$"
|
|
|
|
|