pokecrystal/maps/DarkCaveBlackthornEntrance.asm

77 lines
2.0 KiB
NASM
Raw Normal View History

2018-01-31 16:38:45 +00:00
const_def 2 ; object constants
2015-11-27 05:22:14 +00:00
const DARKCAVEBLACKTHORNENTRANCE_PHARMACIST
const DARKCAVEBLACKTHORNENTRANCE_POKE_BALL1
const DARKCAVEBLACKTHORNENTRANCE_POKE_BALL2
DarkCaveBlackthornEntrance_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2017-12-18 01:45:04 +00:00
DarkCaveBlackthornEntrancePharmacistScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
2017-12-18 01:45:04 +00:00
iftrue .GotBlackglasses
writetext DarkCaveBlackthornEntrancePharmacistText1
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem BLACKGLASSES
2017-12-18 01:45:04 +00:00
iffalse .PackFull
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
2017-12-18 01:45:04 +00:00
.GotBlackglasses:
writetext DarkCaveBlackthornEntrancePharmacistText2
2015-11-25 15:16:29 +00:00
waitbutton
2017-12-18 01:45:04 +00:00
.PackFull:
2015-11-25 15:16:29 +00:00
closetext
end
2015-12-15 15:55:56 +00:00
DarkCaveBlackthornEntranceRevive:
itemball REVIVE
2015-12-15 15:55:56 +00:00
DarkCaveBlackthornEntranceTMSnore:
itemball TM_SNORE
2017-12-18 01:45:04 +00:00
DarkCaveBlackthornEntrancePharmacistText1:
text "Whoa! You startled"
line "me there!"
para "I had my BLACK-"
line "GLASSES on, so I"
para "didn't notice you"
line "at all."
para "What am I doing"
line "here?"
para "Hey, don't you"
line "worry about it."
para "I'll give you a"
line "pair of BLACK-"
cont "GLASSES, so forget"
cont "you saw me, OK?"
done
2017-12-18 01:45:04 +00:00
DarkCaveBlackthornEntrancePharmacistText2:
text "BLACKGLASSES ups"
line "the power of dark-"
cont "type moves."
done
DarkCaveBlackthornEntrance_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 23, 3, ROUTE_45, 1
warp_event 3, 25, DARK_CAVE_VIOLET_ENTRANCE, 2
db 0 ; coord events
db 0 ; bg events
db 3 ; object events
2018-02-02 03:22:07 +00:00
object_event 7, 3, SPRITE_PHARMACIST, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DarkCaveBlackthornEntrancePharmacistScript, -1
object_event 21, 24, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, DarkCaveBlackthornEntranceRevive, EVENT_DARK_CAVE_BLACKTHORN_ENTRANCE_REVIVE
2018-02-02 03:22:07 +00:00
object_event 7, 22, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, DarkCaveBlackthornEntranceTMSnore, EVENT_DARK_CAVE_BLACKTHORN_ENTRANCE_TM_SNORE