mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 20:17:38 +01:00
68 lines
2.0 KiB
PHP
68 lines
2.0 KiB
PHP
LavaridgeTown_HerbShop_MapScripts:: @ 81FE4D6
|
|
.byte 0
|
|
|
|
LavaridgeTown_HerbShop_EventScript_Clerk:: @ 81FE4D7
|
|
lock
|
|
faceplayer
|
|
message LavaridgeTown_HerbShop_Text_WelcomeToHerbShop
|
|
waitmessage
|
|
pokemart LavaridgeTown_HerbShop_Pokemart
|
|
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
.align 2
|
|
LavaridgeTown_HerbShop_Pokemart: @ 81FE4F0
|
|
.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:: @ 81FE4FC
|
|
msgbox LavaridgeTown_HerbShop_Text_HerbalMedicineWorksButMonWillDislike, MSGBOX_NPC
|
|
end
|
|
|
|
LavaridgeTown_HerbShop_EventScript_OldMan:: @ 81FE505
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLFLAG_RECEIVED_CHARCOAL, LavaridgeTown_HerbShop_EventScript_ExplainCharcoal
|
|
msgbox LavaridgeTown_HerbShop_Text_YouveComeToLookAtHerbalMedicine, MSGBOX_DEFAULT
|
|
giveitem_std ITEM_CHARCOAL
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
|
setflag FLFLAG_RECEIVED_CHARCOAL
|
|
release
|
|
end
|
|
|
|
LavaridgeTown_HerbShop_EventScript_ExplainCharcoal:: @ 81FE534
|
|
msgbox LavaridgeTown_HerbShop_Text_ExplainCharcoal, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
LavaridgeTown_HerbShop_Text_WelcomeToHerbShop: @ 81FE53E
|
|
.string "Welcome to the HERB SHOP, home of\n"
|
|
.string "effective and inexpensive medicine!$"
|
|
|
|
LavaridgeTown_HerbShop_Text_YouveComeToLookAtHerbalMedicine: @ 81FE584
|
|
.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: @ 81FE5EB
|
|
.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: @ 81FE685
|
|
.string "Herbal medicine works impressively well.\n"
|
|
.string "But your POKéMON will dislike you for it.\l"
|
|
.string "It must be horribly bitter!$"
|
|
|