mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
94129b6b45
Interpretation of the Decoration Attributes table is complete. Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map.
40 lines
814 B
NASM
40 lines
814 B
NASM
PewterSnoozeSpeechHouse_MapScriptHeader:
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 0
|
|
|
|
GrampsScript_0x1a3059:
|
|
jumptextfaceplayer UnknownText_0x1a305f
|
|
|
|
PewterSnoozeSpeechHouseBookshelf:
|
|
jumpstd picturebookshelf
|
|
|
|
UnknownText_0x1a305f:
|
|
text "I like snoozing"
|
|
line "with the radio on…"
|
|
cont "…Zzzz…"
|
|
done
|
|
|
|
PewterSnoozeSpeechHouse_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
; warps
|
|
db 2
|
|
warp_def $7, $2, 5, GROUP_PEWTER_CITY, MAP_PEWTER_CITY
|
|
warp_def $7, $3, 5, GROUP_PEWTER_CITY, MAP_PEWTER_CITY
|
|
|
|
; xy triggers
|
|
db 0
|
|
|
|
; signposts
|
|
db 2
|
|
signpost 1, 0, SIGNPOST_READ, PewterSnoozeSpeechHouseBookshelf
|
|
signpost 1, 1, SIGNPOST_READ, PewterSnoozeSpeechHouseBookshelf
|
|
|
|
; people-events
|
|
db 1
|
|
person_event SPRITE_GRAMPS, 7, 9, OW_LEFT | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, GrampsScript_0x1a3059, -1
|