pokecrystal-board/maps/DarkCaveBlackthornEntrance.asm

77 lines
2.0 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-26 21:22:14 -08:00
const DARKCAVEBLACKTHORNENTRANCE_PHARMACIST
const DARKCAVEBLACKTHORNENTRANCE_POKE_BALL1
const DARKCAVEBLACKTHORNENTRANCE_POKE_BALL2
DarkCaveBlackthornEntrance_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2017-12-17 17:45:04 -08:00
DarkCaveBlackthornEntrancePharmacistScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
2017-12-17 17:45:04 -08:00
iftrue .GotBlackglasses
writetext DarkCaveBlackthornEntrancePharmacistText1
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem BLACKGLASSES
2017-12-17 17:45:04 -08:00
iffalse .PackFull
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
2017-12-17 17:45:04 -08:00
.GotBlackglasses:
writetext DarkCaveBlackthornEntrancePharmacistText2
2015-11-25 07:16:29 -08:00
waitbutton
2017-12-17 17:45:04 -08:00
.PackFull:
2015-11-25 07:16:29 -08:00
closetext
end
2015-12-15 07:55:56 -08:00
DarkCaveBlackthornEntranceRevive:
itemball REVIVE
2015-12-15 07:55:56 -08:00
DarkCaveBlackthornEntranceTMSnore:
itemball TM_SNORE
2017-12-17 17:45:04 -08: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-17 17:45:04 -08: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-01 19:22:07 -08: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-01 19:22:07 -08: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-01 19:22:07 -08: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