tumbledemerald-legacy/data/maps/RustboroCity_Mart/scripts.inc
2022-05-19 17:14:13 +00:00

71 lines
1.8 KiB
PHP

RustboroCity_Mart_MapScripts::
.byte 0
RustboroCity_Mart_EventScript_Clerk::
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
goto_if_unset FLAG_MET_DEVON_EMPLOYEE, RustboroCity_Mart_EventScript_PokemartBasic
goto_if_set FLAG_MET_DEVON_EMPLOYEE, RustboroCity_Mart_EventScript_PokemartExpanded
end
RustboroCity_Mart_EventScript_PokemartBasic::
pokemart RustboroCity_Mart_Pokemart_Basic
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
RustboroCity_Mart_Pokemart_Basic:
.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
.2byte ITEM_X_DEFEND
.2byte ITEM_NONE
release
end
RustboroCity_Mart_EventScript_PokemartExpanded::
pokemart 0
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
RustboroCity_Mart_EventScript_PokefanF::
msgbox RustboroCity_Mart_Text_BuyingHealsInCaseOfShroomish, MSGBOX_NPC
end
RustboroCity_Mart_EventScript_Boy::
msgbox RustboroCity_Mart_Text_ShouldBuySuperPotionsInstead, MSGBOX_NPC
end
RustboroCity_Mart_EventScript_BugCatcher::
msgbox RustboroCity_Mart_Text_GettingEscapeRopeJustInCase, MSGBOX_NPC
end
RustboroCity_Mart_Text_BuyingHealsInCaseOfShroomish:
.string "I'm buying some PARLYZ HEALS and\n"
.string "ANTIDOTES.\p"
.string "Just in case I run into SHROOMISH\n"
.string "in PETALBURG WOODS.$"
RustboroCity_Mart_Text_ShouldBuySuperPotionsInstead:
.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.$"
RustboroCity_Mart_Text_GettingEscapeRopeJustInCase:
.string "I'm getting an ESCAPE ROPE just in\n"
.string "case I get lost in a cave.\p"
.string "I just need to use it to get back to\n"
.string "the entrance.$"