pokecrystal-board/maps/SafariZoneWardensHome.asm
Remy Oukaour c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00

101 lines
1.8 KiB
NASM

const_value set 2
const SAFARIZONEWARDENSHOME_LASS
SafariZoneWardensHome_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
WardensGranddaughter:
faceplayer
opentext
checkevent EVENT_TALKED_TO_WARDENS_GRANDDAUGHTER
iftrue .AlreadyMet
writetext WardensGranddaughterText1
waitbutton
closetext
setevent EVENT_TALKED_TO_WARDENS_GRANDDAUGHTER
end
.AlreadyMet:
writetext WardensGranddaughterText2
waitbutton
closetext
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, FUCHSIA_CITY
warp_def $7, $3, 6, FUCHSIA_CITY
.CoordEvents:
db 0
.BGEvents:
db 4
bg_event 1, 0, BGEVENT_READ, WardensHomeBookshelf
bg_event 1, 1, BGEVENT_READ, WardensHomeBookshelf
bg_event 0, 7, BGEVENT_READ, WardenPhoto
bg_event 0, 9, BGEVENT_READ, SafariZonePhoto
.ObjectEvents:
db 1
object_event SPRITE_LASS, 4, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, WardensGranddaughter, -1