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.
47 lines
950 B
NASM
47 lines
950 B
NASM
GuideGentsHouse_MapScriptHeader:
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 0
|
|
|
|
GuideGentsHouseGuideGent:
|
|
jumptextfaceplayer GuideGentsHouseGuideGentText
|
|
|
|
GuideGentsHouseBookshelf:
|
|
jumpstd magazinebookshelf
|
|
|
|
GuideGentsHouseGuideGentText:
|
|
text "When I was a wee"
|
|
line "lad, I was a hot-"
|
|
cont "shot trainer!"
|
|
|
|
para "Here's a word of"
|
|
line "advice: Catch lots"
|
|
cont "of #MON!"
|
|
|
|
para "Treat them all"
|
|
line "with kindness!"
|
|
done
|
|
|
|
GuideGentsHouse_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
; warps
|
|
db 2
|
|
warp_def $7, $2, 4, GROUP_CHERRYGROVE_CITY, MAP_CHERRYGROVE_CITY
|
|
warp_def $7, $3, 4, GROUP_CHERRYGROVE_CITY, MAP_CHERRYGROVE_CITY
|
|
|
|
; xy triggers
|
|
db 0
|
|
|
|
; signposts
|
|
db 2
|
|
signpost 1, 0, SIGNPOST_READ, GuideGentsHouseBookshelf
|
|
signpost 1, 1, SIGNPOST_READ, GuideGentsHouseBookshelf
|
|
|
|
; people-events
|
|
db 1
|
|
person_event SPRITE_GRAMPS, 7, 6, OW_LEFT | $1, $0, -1, -1, $0, 0, GuideGentsHouseGuideGent, EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE
|