tumbledemerald-legacy/data/maps/RustboroCity_Mart/scripts.inc

71 lines
1.8 KiB
PHP
Raw Normal View History

2022-05-19 19:14:13 +02:00
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.$"
2022-05-19 19:14:13 +02:00
RustboroCity_Mart_Text_ShouldBuySuperPotionsInstead:
.string "My Pokémon evolved.\n"
2022-05-19 19:14:13 +02:00
.string "It has a lot of HP now.\p"
.string "I should buy Super Potions for it\n"
.string "instead of ordinary Potions.$"
2022-05-19 19:14:13 +02:00
RustboroCity_Mart_Text_GettingEscapeRopeJustInCase:
.string "I'm getting an Escape Rope just in\n"
2022-05-19 19:14:13 +02: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.$"