summaryrefslogtreecommitdiff
path: root/maps/CianwoodPharmacy.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/CianwoodPharmacy.asm')
-rw-r--r--maps/CianwoodPharmacy.asm13
1 files changed, 8 insertions, 5 deletions
diff --git a/maps/CianwoodPharmacy.asm b/maps/CianwoodPharmacy.asm
index 528789583..f488e8993 100644
--- a/maps/CianwoodPharmacy.asm
+++ b/maps/CianwoodPharmacy.asm
@@ -1,3 +1,6 @@
+const_value set 2
+ const CIANWOODPHARMACY_PHARMACIST
+
CianwoodPharmacy_MapScriptHeader:
.MapTriggers:
db 1
@@ -13,27 +16,27 @@ CianwoodPharmacyTrigger:
CianwoodPharmacist:
faceplayer
- loadfont
+ opentext
checkevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY
iftrue .Mart
checkevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
iffalse .Mart
writetext PharmacistGiveSecretpotionText
- keeptextopen
+ buttonsound
giveitem SECRETPOTION
writetext ReceivedSecretpotionText
playsound SFX_KEY_ITEM
- waitbutton
+ waitsfx
itemnotify
setevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY
writetext PharmacistDescribeSecretpotionText
+ waitbutton
closetext
- loadmovesprites
end
.Mart
pokemart MARTTYPE_PHARMACY, MART_CIANWOOD
- loadmovesprites
+ closetext
end
CianwoodPharmacyBookshelf: