pokecrystal-board/maps/SafariZoneWardensHome.asm
PikalaxALT 94129b6b45 Finished the decoration attributes table
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.
2015-07-19 04:58:31 -04:00

98 lines
1.8 KiB
NASM

SafariZoneWardensHome_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
WardensGranddaughter:
faceplayer
loadfont
checkevent EVENT_TALKED_TO_WARDENS_GRANDDAUGHTER
iftrue .AlreadyMet
writetext WardensGranddaughterText1
closetext
loadmovesprites
setevent EVENT_TALKED_TO_WARDENS_GRANDDAUGHTER
end
.AlreadyMet
writetext WardensGranddaughterText2
closetext
loadmovesprites
end
WardenPhoto:
jumptext WardenPhotoText
SafariZonePhoto:
jumptext SafariZonePhotoText
WardensHomeBookshelf:
jumpstd picturebookshelf
WardensGranddaughterText1:
text "My grandpa is the"
line "SAFARI ZONE WAR-"
cont "DEN."
para "At least he was…"
para "He decided to go"
line "on a vacation and"
para "took off overseas"
line "all by himself."
para "He quit running"
line "SAFARI ZONE just"
cont "like that."
done
WardensGranddaughterText2:
text "Many people were"
line "disappointed that"
para "SAFARI ZONE closed"
line "down, but Grandpa"
cont "is so stubborn…"
done
WardenPhotoText:
text "It's a photo of a"
line "grinning old man"
para "who's surrounded"
line "by #MON."
done
SafariZonePhotoText:
text "It's a photo of a"
line "huge grassy plain"
para "with rare #MON"
line "frolicking in it."
done
SafariZoneWardensHome_MapEventHeader:
; filler
db 0, 0
; warps
db 2
warp_def $7, $2, 6, GROUP_FUCHSIA_CITY, MAP_FUCHSIA_CITY
warp_def $7, $3, 6, GROUP_FUCHSIA_CITY, MAP_FUCHSIA_CITY
; xy triggers
db 0
; signposts
db 4
signpost 1, 0, SIGNPOST_READ, WardensHomeBookshelf
signpost 1, 1, SIGNPOST_READ, WardensHomeBookshelf
signpost 0, 7, SIGNPOST_READ, WardenPhoto
signpost 0, 9, SIGNPOST_READ, SafariZonePhoto
; people-events
db 1
person_event SPRITE_LASS, 8, 6, OW_LEFT | $1, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, WardensGranddaughter, -1