SaffronMagnetTrain_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

SaffronMagnetTrainEmployee:
	opentext
	writetext .text
	loadmenudata .menu
	verticalmenu
	closewindow
	sif >, 3, then
		closetext
		end
	sendif
	farjump TrainStationScript

.menu
	db $40 ; flags
	db 01, 10 ; start coords
	db 11, 19 ; end coords
	dw .options
	db 1 ; default option

.options
	db $80
	db $4
	db "Naljo@"
	db "Rijon@"
	db "Johto@"
	db "Cancel@"

.text
	db TX_COMPRESSED, $62, $7d, $e8

	db $7c, $01, $ba, $4d, $67, $32, $18, $08, $2d, $4a, $b4
	db $96, $f5, $86, $72, $1a
	db $5a, $68

SaffronMagnetTrainNPC:
	jumptextfaceplayer .text

.text
	db TX_COMPRESSED, $13, $2d, $22, $e2, $c7, $91, $93, $98, $12
	db $3d, $69, $39, $6b, $d1, $92, $0d, $13
	db $55, $10, $6c, $9c, $ab, $41, $4b, $0c, $59, $f7, $69, $df
	db $53, $40

SaffronMagnetTrain_MapEventHeader ;filler
	db 0, 0

;warps
	db 2
	warp_def $11, $8, 6, SAFFRON_CITY
	warp_def $11, $9, 6, SAFFRON_CITY

	;xy triggers
	db 0

	;signposts
	db 0

	;people-events
	db 2
	person_event SPRITE_OFFICER, 9, 9, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, 0, 0, SaffronMagnetTrainEmployee, -1
	person_event SPRITE_ROCKER, 14, 11, SPRITEMOVEDATA_WANDER, 0, 0, -1, -1, PAL_OW_YELLOW, 0, 0, SaffronMagnetTrainNPC, -1

