MersonCity_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 1

	dbw 5, MersonCity_SetFlyFlag

MersonCity_SetFlyFlag:
	setflag ENGINE_FLYPOINT_MERSON_CITY
	return

MersonCityHiddenItem_1:
	dw EVENT_MERSON_CITY_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

MersonCitySignpost1:
	db TX_COMPRESSED, $07, $2b, $e1, $24, $61, $02
	db $7e, $9e, $16, $39, $ee, $4d, $6e, $30, $4c, $6a, $c4, $3f, $a4
	;nl ""
	;next "Please insert"
	;next "description."
	db $a6, $80

MersonCitySignpost2:
	db TX_COMPRESSED, $29, $27, $3a, $3b, $be, $9c, $58, $59, $52
	db $05, $4f, $09, $95, $98, $30, $d9
	db $3a, $68

MersonCitySignpost3:
	jumpstd martsign

MersonCitySignpost4:
	jumpstd pokecentersign

MersonCityNPC1:
	jumptextfaceplayer MersonCityNPC1_Text_332007

MersonCityNPC2:
	jumptextfaceplayer MersonCityNPC2_Text_33203f

MersonCityNPC3:
	jumptextfaceplayer MersonCityNPC3_Text_33208c

MersonCityNPC1_Text_332007:
	db TX_COMPRESSED, $13, $1a, $b1, $0f, $e9, $31, $45, $66, $64
	db $7b, $93, $bb, $19, $39, $88, $b5, $84, $9c, $9a
	db $d5, $04, $18, $d7, $2d, $27, $01, $1e, $ad, $1e
	db $a6, $80

MersonCityNPC2_Text_33203f:
	db TX_COMPRESSED, $75, $04, $77, $49, $67, $99, $b2, $d6
	db $66, $f0, $c9, $30, $58, $49, $70, $38, $4b, $49
	db $aa, $07, $2b, $e1, $24, $6d, $32, $59, $af

	db $c0, $1d, $16, $44, $34, $b3, $84, $0a, $b0, $e4
	db $13, $d5, $0f, $bd, $8f, $8c, $99
	db $f5, $34

MersonCityNPC3_Text_33208c:
	db TX_COMPRESSED, $29, $23, $44, $b0, $d4, $49, $50, $fb, $d8, $ac
	db $de, $52, $20, $6a, $24, $d4, $4b, $49

	db $80, $e7, $6c, $ea, $d0, $52, $c3, $14, $05, $ab
	db $4b, $ce, $41, $d3, $81, $24, $09, $19, $39, $69

	db $30, $08, $0b, $56, $98, $23, $6d, $30, $68
	db $79, $9e, $9e, $ac, $f3
	db $ea, $68

MersonCity_MapEventHeader ;filler
	db 0, 0

;warps
	db 6
	warp_def $21, $f, 1, MERSON_POKECENTER
	warp_def $1d, $b, 1, MERSON_GOLD_TOKEN_EXCHANGE
	warp_def $5, $2, 1, MERSON_GYM
	warp_def $d, $f, 1, MERSON_MART
	warp_def $19, $5, 1, MERSON_BIRD_HOUSE
	warp_def $11, $d, 1, MERSON_HOUSE2

	;xy triggers
	db 0

	;signposts
	db 5
	signpost 7, 1, SIGNPOST_LOAD, MersonCitySignpost1
	signpost 7, 11, SIGNPOST_LOAD, MersonCitySignpost2
	signpost 13, 16, SIGNPOST_READ, MersonCitySignpost3
	signpost 33, 16, SIGNPOST_READ, MersonCitySignpost4
	signpost 35, 16, SIGNPOST_ITEM, MersonCityHiddenItem_1

	;people-events
	db 3
	person_event SPRITE_BLACK_BELT, 9, 12, SPRITEMOVEDATA_WANDER, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, MersonCityNPC1, -1
	person_event SPRITE_FISHING_GURU, 30, 4, SPRITEMOVEDATA_WANDER, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, MersonCityNPC2, -1
	person_event SPRITE_LASS, 21, 7, SPRITEMOVEDATA_WANDER, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, MersonCityNPC3, -1

