mirror of https://github.com/pret/pokecrystal.git
62 lines
1.5 KiB
NASM
62 lines
1.5 KiB
NASM
object_const_def ; object_event constants
|
|
const BLACKTHORNDRAGONSPEECHHOUSE_GRANNY
|
|
const BLACKTHORNDRAGONSPEECHHOUSE_EKANS
|
|
|
|
BlackthornDragonSpeechHouse_MapScripts:
|
|
db 0 ; scene scripts
|
|
|
|
db 0 ; callbacks
|
|
|
|
BlackthornDragonSpeechHouseGrannyScript:
|
|
jumptextfaceplayer BlackthornDragonSpeechHouseGrannyText
|
|
|
|
BlackthornDragonSpeechHouseDratiniScript:
|
|
opentext
|
|
writetext BlackthornDragonSpeechHouseDratiniText
|
|
cry DRATINI
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
; unused
|
|
BlackthornDragonSpeechHousePictureBookshelf:
|
|
jumpstd PictureBookshelfScript
|
|
|
|
; unused
|
|
BlackthornDragonSpeechHouseMagazineBookshelf:
|
|
jumpstd MagazineBookshelfScript
|
|
|
|
BlackthornDragonSpeechHouseGrannyText:
|
|
text "A clan of trainers"
|
|
line "who can freely"
|
|
|
|
para "command dragons"
|
|
line "live right here in"
|
|
cont "BLACKTHORN."
|
|
|
|
para "As a result, there"
|
|
line "are many legends"
|
|
|
|
para "about dragons in"
|
|
line "this town."
|
|
done
|
|
|
|
BlackthornDragonSpeechHouseDratiniText:
|
|
text "DRATINI: Draa!"
|
|
done
|
|
|
|
BlackthornDragonSpeechHouse_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
db 2 ; warp events
|
|
warp_event 2, 7, BLACKTHORN_CITY, 2
|
|
warp_event 3, 7, BLACKTHORN_CITY, 2
|
|
|
|
db 0 ; coord events
|
|
|
|
db 0 ; bg events
|
|
|
|
db 2 ; object events
|
|
object_event 2, 3, SPRITE_GRANNY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornDragonSpeechHouseGrannyScript, -1
|
|
object_event 5, 5, SPRITE_EKANS, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, BlackthornDragonSpeechHouseDratiniScript, -1
|