67 lines
1.9 KiB
PHP
67 lines
1.9 KiB
PHP
LavaridgeTown_HerbShop_MapScripts::
|
|
.byte 0
|
|
|
|
LavaridgeTown_HerbShop_EventScript_Clerk::
|
|
lock
|
|
faceplayer
|
|
message LavaridgeTown_HerbShop_Text_WelcomeToHerbShop
|
|
waitmessage
|
|
pokemart LavaridgeTown_HerbShop_Pokemart
|
|
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
.align 2
|
|
LavaridgeTown_HerbShop_Pokemart:
|
|
.2byte ITEM_ENERGY_POWDER
|
|
.2byte ITEM_ENERGY_ROOT
|
|
.2byte ITEM_HEAL_POWDER
|
|
.2byte ITEM_REVIVAL_HERB
|
|
.2byte ITEM_NONE
|
|
release
|
|
end
|
|
|
|
LavaridgeTown_HerbShop_EventScript_ExpertM::
|
|
msgbox LavaridgeTown_HerbShop_Text_HerbalMedicineWorksButMonWillDislike, MSGBOX_NPC
|
|
end
|
|
|
|
LavaridgeTown_HerbShop_EventScript_OldMan::
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_RECEIVED_CHARCOAL, LavaridgeTown_HerbShop_EventScript_ExplainCharcoal
|
|
msgbox LavaridgeTown_HerbShop_Text_YouveComeToLookAtHerbalMedicine, MSGBOX_DEFAULT
|
|
giveitem ITEM_CHARCOAL
|
|
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
|
setflag FLAG_RECEIVED_CHARCOAL
|
|
release
|
|
end
|
|
|
|
LavaridgeTown_HerbShop_EventScript_ExplainCharcoal::
|
|
msgbox LavaridgeTown_HerbShop_Text_ExplainCharcoal, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
LavaridgeTown_HerbShop_Text_WelcomeToHerbShop:
|
|
.string "Welcome to the Herb Shop, home of\n"
|
|
.string "effective and inexpensive medicine!$"
|
|
|
|
LavaridgeTown_HerbShop_Text_YouveComeToLookAtHerbalMedicine:
|
|
.string "You've come to look at herbal medicine\n"
|
|
.string "in Lavaridge?\p"
|
|
.string "That's rather commendable.\p"
|
|
.string "I like you! Take this!$"
|
|
|
|
LavaridgeTown_HerbShop_Text_ExplainCharcoal:
|
|
.string "That Charcoal I gave you, it's used\n"
|
|
.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.$"
|
|
|
|
LavaridgeTown_HerbShop_Text_HerbalMedicineWorksButMonWillDislike:
|
|
.string "Herbal medicine works impressively well.\n"
|
|
.string "But your Pokémon will dislike you for it.\l"
|
|
.string "It must be horribly bitter!$"
|
|
|