mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
84 lines
2.0 KiB
NASM
84 lines
2.0 KiB
NASM
const_value set 2
|
|
const DARKCAVEBLACKTHORNENTRANCE_PHARMACIST
|
|
const DARKCAVEBLACKTHORNENTRANCE_POKE_BALL1
|
|
const DARKCAVEBLACKTHORNENTRANCE_POKE_BALL2
|
|
|
|
DarkCaveBlackthornEntrance_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
DarkCaveBlackthornEntrancePharmacistScript:
|
|
faceplayer
|
|
opentext
|
|
checkevent EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
|
|
iftrue .GotBlackglasses
|
|
writetext DarkCaveBlackthornEntrancePharmacistText1
|
|
buttonsound
|
|
verbosegiveitem BLACKGLASSES
|
|
iffalse .PackFull
|
|
setevent EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
|
|
.GotBlackglasses:
|
|
writetext DarkCaveBlackthornEntrancePharmacistText2
|
|
waitbutton
|
|
.PackFull:
|
|
closetext
|
|
end
|
|
|
|
DarkCaveBlackthornEntranceRevive:
|
|
itemball REVIVE
|
|
|
|
DarkCaveBlackthornEntranceTMSnore:
|
|
itemball TM_SNORE
|
|
|
|
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
|
|
|
|
DarkCaveBlackthornEntrancePharmacistText2:
|
|
text "BLACKGLASSES ups"
|
|
line "the power of dark-"
|
|
cont "type moves."
|
|
done
|
|
|
|
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
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 0
|
|
|
|
.PersonEvents:
|
|
db 3
|
|
person_event SPRITE_PHARMACIST, 3, 7, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, DarkCaveBlackthornEntrancePharmacistScript, -1
|
|
person_event SPRITE_POKE_BALL, 24, 21, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, DarkCaveBlackthornEntranceRevive, EVENT_DARK_CAVE_BLACKTHORN_ENTRANCE_REVIVE
|
|
person_event SPRITE_POKE_BALL, 22, 7, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, DarkCaveBlackthornEntranceTMSnore, EVENT_DARK_CAVE_BLACKTHORN_ENTRANCE_TM_SNORE
|