mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
94 lines
1.7 KiB
NASM
94 lines
1.7 KiB
NASM
CianwoodPharmacy_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 1
|
|
|
|
; triggers
|
|
dw CianwoodPharmacyTrigger, 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
CianwoodPharmacyTrigger:
|
|
end
|
|
|
|
CianwoodPharmacist:
|
|
faceplayer
|
|
loadfont
|
|
checkevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY
|
|
iftrue .Mart
|
|
checkevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
|
|
iffalse .Mart
|
|
writetext PharmacistGiveSecretpotionText
|
|
keeptextopen
|
|
giveitem SECRETPOTION
|
|
writetext ReceivedSecretpotionText
|
|
playsound SFX_KEY_ITEM
|
|
waitbutton
|
|
itemnotify
|
|
setevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY
|
|
writetext PharmacistDescribeSecretpotionText
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
.Mart
|
|
pokemart MARTTYPE_PHARMACY, MART_CIANWOOD
|
|
loadmovesprites
|
|
end
|
|
|
|
CianwoodPharmacyBookshelf:
|
|
jumpstd difficultbookshelf
|
|
|
|
PharmacistGiveSecretpotionText:
|
|
text "Your #MON ap-"
|
|
line "pear to be fine."
|
|
|
|
para "Is something wor- "
|
|
line "rying you?"
|
|
|
|
para "…"
|
|
|
|
para "The LIGHTHOUSE"
|
|
line "#MON is in"
|
|
cont "trouble?"
|
|
|
|
para "I got it!"
|
|
|
|
para "This ought to do"
|
|
line "the trick."
|
|
done
|
|
|
|
ReceivedSecretpotionText:
|
|
text "<PLAYER> received"
|
|
line "SECRETPOTION."
|
|
done
|
|
|
|
PharmacistDescribeSecretpotionText:
|
|
text "My SECRETPOTION is"
|
|
line "a tad too strong."
|
|
|
|
para "I only offer it in"
|
|
line "an emergency."
|
|
done
|
|
|
|
CianwoodPharmacy_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $7, $2, 4, CIANWOOD_CITY
|
|
warp_def $7, $3, 4, CIANWOOD_CITY
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 2
|
|
signpost 1, 0, SIGNPOST_READ, CianwoodPharmacyBookshelf
|
|
signpost 1, 1, SIGNPOST_READ, CianwoodPharmacyBookshelf
|
|
|
|
.PersonEvents:
|
|
db 1
|
|
person_event SPRITE_PHARMACIST, 3, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, CianwoodPharmacist, -1
|