GoldenrodMagnetTrain_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

GoldenrodMagnetTrainEmployee:
	checkitem MAGNET_PASS
	sif false
		jumptext .no_pass_text
	opentext
	writetext .where_to_text
	loadmenudata .menu
	verticalmenu
	closewindow
	sif >, 2
		addvar 1
	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 "Kanto@"
	db "Cancel@"

.where_to_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

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

	db $7c, $01, $ce, $4c, $02, $bb, $68, $9b, $67, $d0, $5f, $80, $82
	db $d3, $cc, $e9, $29, $91, $a4, $1c, $b4, $8d

	db $00, $11, $7b, $63, $09, $25, $43, $b4, $85, $ab
	db $9a, $f0, $ae, $f2, $43, $b9, $c3, $a8, $47

	db $80, $36, $85, $f3, $8a, $f5, $95, $29, $52, $4c, $90, $10, $5a
	db $7b, $93, $b8, $12, $1f
	db $a9, $a0

GoldenrodMagnetTrainNPC:
	jumptextfaceplayer .text

.text
	db TX_COMPRESSED, $74, $59, $2d
	db $26, $f7, $0a, $cd, $03, $c9, $92

	db $fc, $00, $a4, $8d, $12, $d7, $a3, $24, $1a
	db $1e, $c3, $51, $66, $b9, $69, $d2, $4d, $20
	db $25, $40, $e5, $7c, $24, $fc, $d2
	db $65, $55, $43, $ef, $65, $ea, $91, $c0, $41, $6a, $58
	db $55, $39, $07, $4e, $04, $90, $2b, $80, $fd, $ed, $38
	db $15, $43, $24, $d9, $87, $75, $09

	db $e2, $01, $d6, $10, $10, $5a, $89, $d0, $63
	db $9a, $f2, $04, $1b, $23, $de, $c1, $1a, $84, $7e, $0e
	db $d5, $33, $a4, $9b, $d4, $06, $2b
	db $35, $57, $aa, $46, $49, $61, $82, $63, $49, $61

	db $f0, $06, $e7, $13, $a0, $c7, $04, $77, $48, $89, $61
	db $78, $e9, $d1, $1a, $4c, $cb, $0c, $0d, $a4
	db $d6, $a9, $67, $c8, $c2, $44, $41, $92, $5a
	db $4d, $56, $0d, $5b, $4b, $3f
	db $53, $40

GoldenrodMagnetTrain_MapEventHeader ;filler
	db 0, 0

;warps
	db 2
	warp_def $11, $8, 5, GOLDENROD_CITY
	warp_def $11, $9, 5, GOLDENROD_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, GoldenrodMagnetTrainEmployee, -1
	person_event SPRITE_GENTLEMAN, 14, 6, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_OW_RED, 0, 0, GoldenrodMagnetTrainNPC, -1

