pokeemerald/data/maps/LavaridgeTown_HerbShop/scripts.inc

67 lines
1.9 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
LavaridgeTown_HerbShop_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
LavaridgeTown_HerbShop_EventScript_Clerk::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-07 21:21:32 +01:00
message LavaridgeTown_HerbShop_Text_WelcomeToHerbShop
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-07 21:21:32 +01:00
pokemart LavaridgeTown_HerbShop_Pokemart
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
LavaridgeTown_HerbShop_Pokemart:
2017-11-10 02:21:31 +01:00
.2byte ITEM_ENERGY_POWDER
.2byte ITEM_ENERGY_ROOT
.2byte ITEM_HEAL_POWDER
.2byte ITEM_REVIVAL_HERB
.2byte ITEM_NONE
release
end
2021-07-20 21:18:31 +02:00
LavaridgeTown_HerbShop_EventScript_ExpertM::
2019-11-07 21:21:32 +01:00
msgbox LavaridgeTown_HerbShop_Text_HerbalMedicineWorksButMonWillDislike, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
LavaridgeTown_HerbShop_EventScript_OldMan::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2020-07-21 23:21:01 +02:00
goto_if_set FLAG_RECEIVED_CHARCOAL, LavaridgeTown_HerbShop_EventScript_ExplainCharcoal
2019-11-07 21:21:32 +01:00
msgbox LavaridgeTown_HerbShop_Text_YouveComeToLookAtHerbalMedicine, MSGBOX_DEFAULT
giveitem ITEM_CHARCOAL
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
2020-07-21 23:21:01 +02:00
setflag FLAG_RECEIVED_CHARCOAL
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
LavaridgeTown_HerbShop_EventScript_ExplainCharcoal::
2019-11-07 21:21:32 +01:00
msgbox LavaridgeTown_HerbShop_Text_ExplainCharcoal, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
LavaridgeTown_HerbShop_Text_WelcomeToHerbShop:
2017-11-10 02:21:31 +01:00
.string "Welcome to the HERB SHOP, home of\n"
.string "effective and inexpensive medicine!$"
2021-07-20 21:18:31 +02:00
LavaridgeTown_HerbShop_Text_YouveComeToLookAtHerbalMedicine:
2018-12-07 16:41:08 +01:00
.string "You've come to look at herbal medicine\n"
2017-11-10 02:21:31 +01:00
.string "in LAVARIDGE?\p"
2018-12-07 16:41:08 +01:00
.string "That's rather commendable.\p"
2017-11-10 02:21:31 +01:00
.string "I like you! Take this!$"
2021-07-20 21:18:31 +02:00
LavaridgeTown_HerbShop_Text_ExplainCharcoal:
2018-12-07 16:41:08 +01:00
.string "That CHARCOAL I gave you, it's used\n"
2017-11-10 02:21:31 +01:00
.string "for making herbal medicine.\p"
.string "It also does wonders when held by\n"
.string "a POKéMON.\p"
.string "It intensifies the power of FIRE-type\n"
.string "moves.$"
2021-07-20 21:18:31 +02:00
LavaridgeTown_HerbShop_Text_HerbalMedicineWorksButMonWillDislike:
2017-11-10 02:21:31 +01:00
.string "Herbal medicine works impressively well.\n"
.string "But your POKéMON will dislike you for it.\l"
.string "It must be horribly bitter!$"