pokeemerald/data/scripts/maps/LavaridgeTown_HerbShop.inc

69 lines
1.8 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
LavaridgeTown_HerbShop_MapScripts:: @ 81FE4D6
.byte 0
LavaridgeTown_HerbShop_EventScript_1FE4D7:: @ 81FE4D7
lock
faceplayer
message LavaridgeTown_HerbShop_Text_1FE53E
waitmessage
pokemart LavaridgeTown_HerbShop_Pokemart_1FE4F0
msgbox gUnknown_08272A3F, 4
release
end
.align 2
2017-11-10 02:21:31 +01:00
LavaridgeTown_HerbShop_Pokemart_1FE4F0: @ 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_1FE4FC:: @ 81FE4FC
msgbox LavaridgeTown_HerbShop_Text_1FE685, 2
end
LavaridgeTown_HerbShop_EventScript_1FE505:: @ 81FE505
lock
faceplayer
checkflag FLAG_0x0FE
goto_eq LavaridgeTown_HerbShop_EventScript_1FE534
msgbox LavaridgeTown_HerbShop_Text_1FE584, 4
giveitem_std ITEM_CHARCOAL
compare_var_to_value VAR_RESULT, 0
goto_eq LavaridgeTown_HerbShop_EventScript_272054
setflag FLAG_0x0FE
release
end
LavaridgeTown_HerbShop_EventScript_1FE534:: @ 81FE534
msgbox LavaridgeTown_HerbShop_Text_1FE5EB, 4
release
end
LavaridgeTown_HerbShop_Text_1FE53E: @ 81FE53E
.string "Welcome to the HERB SHOP, home of\n"
.string "effective and inexpensive medicine!$"
LavaridgeTown_HerbShop_Text_1FE584: @ 81FE584
.string "Youve come to look at herbal medicine\n"
.string "in LAVARIDGE?\p"
.string "Thats rather commendable.\p"
.string "I like you! Take this!$"
LavaridgeTown_HerbShop_Text_1FE5EB: @ 81FE5EB
.string "That CHARCOAL I gave you, its 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_1FE685: @ 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!$"