pokecrystal/maps/DarkCaveBlackthornEntrance.asm

84 lines
2.0 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const DARKCAVEBLACKTHORNENTRANCE_PHARMACIST
const DARKCAVEBLACKTHORNENTRANCE_POKE_BALL1
const DARKCAVEBLACKTHORNENTRANCE_POKE_BALL2
2015-07-10 08:45:35 +00:00
DarkCaveBlackthornEntrance_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
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
2015-07-10 08:45:35 +00:00
DarkCaveBlackthornEntrance_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $3, $17, 1, ROUTE_45
warp_def $19, $3, 2, DARK_CAVE_VIOLET_ENTRANCE
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 3
object_event SPRITE_PHARMACIST, 3, 7, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DarkCaveBlackthornEntrancePharmacistScript, -1
object_event SPRITE_POKE_BALL, 24, 21, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, DarkCaveBlackthornEntranceRevive, EVENT_DARK_CAVE_BLACKTHORN_ENTRANCE_REVIVE
object_event SPRITE_POKE_BALL, 22, 7, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, DarkCaveBlackthornEntranceTMSnore, EVENT_DARK_CAVE_BLACKTHORN_ENTRANCE_TM_SNORE