pokeemerald/data/maps/PetalburgCity_Mart/scripts.inc

87 lines
2.1 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
PetalburgCity_Mart_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
PetalburgCity_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-10-20 19:27:23 +02:00
goto_if_set FLAG_PETALBURG_MART_EXPANDED_ITEMS, PetalburgCity_Mart_EventScript_ExpandedItems
pokemart PetalburgCity_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
.align 2
2021-07-20 21:18:31 +02:00
PetalburgCity_Mart_Pokemart_Basic:
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_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_ORANGE_MAIL
.2byte ITEM_NONE
release
end
2021-07-20 21:18:31 +02:00
PetalburgCity_Mart_EventScript_ExpandedItems::
2019-10-20 19:27:23 +02:00
pokemart PetalburgCity_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
.align 2
2021-07-20 21:18:31 +02:00
PetalburgCity_Mart_Pokemart_Expanded:
2017-11-10 02:21:31 +01:00
.2byte ITEM_POKE_BALL
.2byte ITEM_GREAT_BALL
.2byte ITEM_POTION
.2byte ITEM_SUPER_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
2019-04-13 13:14:45 +02:00
.2byte ITEM_X_DEFENSE
2017-11-10 02:21:31 +01:00
.2byte ITEM_ORANGE_MAIL
.2byte ITEM_NONE
release
end
2021-07-20 21:18:31 +02:00
PetalburgCity_Mart_EventScript_Woman::
2019-10-20 19:27:23 +02:00
msgbox PetalburgCity_Mart_Text_WeakWillGrowStronger, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
PetalburgCity_Mart_EventScript_Boy::
2019-10-20 19:27:23 +02:00
msgbox PetalburgCity_Mart_Text_RepelIsUseful, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
PetalburgCity_Mart_EventScript_Man::
2019-10-20 19:27:23 +02:00
msgbox PetalburgCity_Mart_Text_TakeSomeAntidotesWithYou, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
PetalburgCity_Mart_Text_WeakWillGrowStronger:
2017-11-10 02:21:31 +01:00
.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!$"
2021-07-20 21:18:31 +02:00
PetalburgCity_Mart_Text_RepelIsUseful:
2017-11-10 02:21:31 +01:00
.string "Do you use REPEL?\n"
2018-12-07 16:41:08 +01:00
.string "It keeps POKéMON away, so it's\l"
.string "useful when you're in a hurry.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
PetalburgCity_Mart_Text_TakeSomeAntidotesWithYou:
2017-11-10 02:21:31 +01:00
.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.$"