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

68 lines
1.7 KiB
PHP

PetalburgCity_Mart_MapScripts::
.byte 0
PetalburgCity_Mart_EventScript_Clerk::
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
goto_if_set FLAG_PETALBURG_MART_EXPANDED_ITEMS, PetalburgCity_Mart_EventScript_ExpandedItems
pokemart PetalburgCity_Mart_Pokemart_Basic
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
PetalburgCity_Mart_Pokemart_Basic:
.2byte ITEM_POKE_BALL
.2byte ITEM_POTION
.2byte ITEM_ANTIDOTE
.2byte ITEM_PARALYZE_HEAL
.2byte ITEM_AWAKENING
.2byte ITEM_ESCAPE_ROPE
.2byte ITEM_REPEL
.2byte ITEM_X_SPEED
.2byte ITEM_X_ATTACK
.2byte ITEM_X_DEFEND
.2byte ITEM_ORANGE_MAIL
.2byte ITEM_NONE
release
end
PetalburgCity_Mart_EventScript_ExpandedItems::
pokemart 0
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
PetalburgCity_Mart_EventScript_Woman::
msgbox PetalburgCity_Mart_Text_WeakWillGrowStronger, MSGBOX_NPC
end
PetalburgCity_Mart_EventScript_Boy::
msgbox PetalburgCity_Mart_Text_RepelIsUseful, MSGBOX_NPC
end
PetalburgCity_Mart_EventScript_Man::
msgbox PetalburgCity_Mart_Text_TakeSomeAntidotesWithYou, MSGBOX_NPC
end
PetalburgCity_Mart_Text_WeakWillGrowStronger:
.string "Even if a Pokémon is weak now,\n"
.string "it will grow stronger.\p"
.string "The most important thing is love!\n"
.string "Love for your Pokémon!$"
PetalburgCity_Mart_Text_RepelIsUseful:
.string "Do you use Repel?\n"
.string "It keeps Pokémon away, so it's\l"
.string "useful when you're in a hurry.$"
PetalburgCity_Mart_Text_TakeSomeAntidotesWithYou:
.string "Do you have any Antidotes with\n"
.string "you?\p"
.string "If you walk around with a poisoned\n"
.string "Pokémon, it will lose HP until it faints.\l"
.string "Take some Antidotes with you.$"