shithub: pokecrystal

ref: 08891da82254aa4051bf594d4abc2db8e4043d8f
dir: /maps/Route7.asm/

View raw version
Route7_MapScripts:
	db 0 ; scene scripts

	db 0 ; callbacks

Route7UndergroundPathSign:
	jumptext Route7UndergroundPathSignText

Route7LockedDoor:
	jumptext Route7LockedDoorText

Route7UndergroundPathSignText:
	text "What's this flyer?"

	para "… Uncouth trainers"
	line "have been holding"

	para "battles in the"
	line "UNDERGROUND PATH."

	para "Because of rising"
	line "complaints by lo-"
	cont "cal residents, the"
	cont "UNDERGROUND PATH"
	cont "has been sealed"
	cont "indefinitely."

	para "CELADON POLICE"
	done

Route7LockedDoorText:
	text "It's locked…"
	done

Route7_MapEvents:
	db 0, 0 ; filler

	db 2 ; warp events
	warp_event 15, 6, 1, ROUTE_7_SAFFRON_GATE
	warp_event 15, 7, 2, ROUTE_7_SAFFRON_GATE

	db 0 ; coord events

	db 2 ; bg events
	bg_event 5, 11, BGEVENT_READ, Route7UndergroundPathSign
	bg_event 6, 9, BGEVENT_READ, Route7LockedDoor

	db 0 ; object events