mirror of https://github.com/pret/pokecrystal.git
36 lines
928 B
NASM
36 lines
928 B
NASM
object_const_def ; object_event constants
|
|
const PEWTERSNOOZESPEECHHOUSE_GRAMPS
|
|
|
|
PewterSnoozeSpeechHouse_MapScripts:
|
|
db 0 ; scene scripts
|
|
|
|
db 0 ; callbacks
|
|
|
|
PewterSnoozeSpeechHouseGrampsScript:
|
|
jumptextfaceplayer PewterSnoozeSpeechHouseGrampsText
|
|
|
|
PewterSnoozeSpeechHouseBookshelf:
|
|
jumpstd PictureBookshelfScript
|
|
|
|
PewterSnoozeSpeechHouseGrampsText:
|
|
text "I like snoozing"
|
|
line "with the radio on…"
|
|
cont "…Zzzz…"
|
|
done
|
|
|
|
PewterSnoozeSpeechHouse_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
db 2 ; warp events
|
|
warp_event 2, 7, PEWTER_CITY, 5
|
|
warp_event 3, 7, PEWTER_CITY, 5
|
|
|
|
db 0 ; coord events
|
|
|
|
db 2 ; bg events
|
|
bg_event 0, 1, BGEVENT_READ, PewterSnoozeSpeechHouseBookshelf
|
|
bg_event 1, 1, BGEVENT_READ, PewterSnoozeSpeechHouseBookshelf
|
|
|
|
db 1 ; object events
|
|
object_event 5, 3, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, PewterSnoozeSpeechHouseGrampsScript, -1
|