shithub: pokecrystal

ref: b53b03eed056883c539267a1924cf3d3c5cda5b1
dir: /maps/SafariZoneWardensHome.asm/

View raw version
const_value set 2
	const SAFARIZONEWARDENSHOME_LASS

SafariZoneWardensHome_MapScripts:
.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_MapEvents:
	; filler
	db 0, 0

.Warps:
	db 2
	warp_def 2, 7, 6, FUCHSIA_CITY
	warp_def 3, 7, 6, FUCHSIA_CITY

.CoordEvents:
	db 0

.BGEvents:
	db 4
	bg_event 0, 1, BGEVENT_READ, WardensHomeBookshelf
	bg_event 1, 1, BGEVENT_READ, WardensHomeBookshelf
	bg_event 7, 0, BGEVENT_READ, WardenPhoto
	bg_event 9, 0, BGEVENT_READ, SafariZonePhoto

.ObjectEvents:
	db 1
	object_event 2, 4, SPRITE_LASS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, WardensGranddaughter, -1