MersonBirdHouse_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

MersonBirdHouseNPC1:
	faceplayer
	opentext
	writetext MersonBirdHouseNPC1_Text_322616
	cry SWELLOW
	waitsfx
	endtext

MersonBirdHouseNPC2:
	faceplayer
	opentext
	checkevent EVENT_TM62
	iftrue MersonBirdHouse_32247c
	writetext MersonBirdHouseNPC2_Text_322482
	waitbutton
	givetm 62 + RECEIVED_TM
	setevent EVENT_TM62
	closetext
	end

MersonBirdHouseNPC3:
	faceplayer
	opentext
	writetext MersonBirdHouseNPC3_Text_322633
	cry XATU
	waitsfx
	endtext

MersonBirdHouseNPC4:
	faceplayer
	opentext
	writetext MersonBirdHouseNPC4_Text_3225f3
	cry PIDGEOT
	waitsfx
	endtext

MersonBirdHouse_32247c:
	jumptext MersonBirdHouse_32247c_Text_322532

MersonBirdHouseNPC1_Text_322616:
	db TX_COMPRESSED, $51, $51, $f7, $a1, $a9, $c6, $09, $8d, $ab
	db $8d, $34

MersonBirdHouseNPC2_Text_322482:
	db TX_COMPRESSED, $63, $bc

	db $40, $14, $93, $88, $a8, $78, $59, $0d, $08, $81
	db $c1, $ed, $98, $74, $10, $c9, $cc, $07, $2b, $e1

	db $20, $06, $74, $84, $0d, $c5
	db $66, $f0, $5a, $b7, $f6, $d9, $49, $e7

	db $88, $07, $28, $5a, $88, $33, $7e, $74, $6a, $47
	db $35, $eb, $5e, $83, $1f, $7a, $6b, $94, $e3, $48

	db $b0, $1d, $1a, $91, $c7, $ce, $53, $8d, $22
	db $de, $56, $d2, $d1, $63, $27, $32, $a1, $da
	db $55, $32, $16, $97, $bc, $9f

	db $10, $0e, $ae, $60, $67, $d4, $4e, $8d, $48, $e0, $20
	db $b4, $f3, $3a, $49, $d0, $83, $1c, $b4, $8d, $10, $a1
	db $55, $54, $e3, $48, $b9, $d1, $a9, $1c, $75, $32, $1e
	db $34, $d0

MersonBirdHouseNPC3_Text_322633:
	db TX_COMPRESSED, $13, $5b, $db, $69, $c6, $5b, $5c, $78, $f1
	db $a6, $80

MersonBirdHouseNPC4_Text_3225f3:
	db TX_COMPRESSED, $dd, $d5, $7b, $bb, $4e, $21, $0e, $31, $dd
	db $db, $c1, $be
	db $34, $d0

MersonBirdHouse_32247c_Text_322532:
	db TX_COMPRESSED, $28, $54, $4d, $1c, $d8, $34, $45, $0a, $40
	db $9e, $ae, $ef, $59, $52

	db $e2, $01, $d5, $cb, $d5, $23, $44, $09, $0e, $5b, $4b
	db $23, $d6, $18, $ca, $75, $7c, $9f, $e2, $b6

	db $ac, $06, $e1, $66, $ba, $b5, $79, $44, $1d
	db $bd, $93, $de, $a2, $6c, $06, $35, $82

	db $01, $93, $06, $d4, $5e, $d8, $c9, $cc, $57, $d0
	db $d4, $f5, $86, $02, $0b, $4b, $98, $04, $f8
	db $d3, $40

MersonBirdHouse_MapEventHeader ;filler
	db 0, 0

;warps
	db 2
	warp_def $7, $2, 5, MERSON_CITY
	warp_def $7, $3, 5, MERSON_CITY

	;xy triggers
	db 0

	;signposts
	db 0

	;people-events
	db 4
	person_event SPRITE_SWELLOW, 7, 6, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_OW_BLUE, 0, 0, MersonBirdHouseNPC1, -1
	person_event SPRITE_BLACK_BELT, 3, 2, SPRITEMOVEDATA_WANDER, 0, 0, -1, -1, PAL_OW_RED, 0, 0, MersonBirdHouseNPC2, -1
	person_event SPRITE_XATU, 2, 7, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_OW_GREEN, 0, 0, MersonBirdHouseNPC3, -1
	person_event SPRITE_PIDGEOT, 4, 0, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_OW_BROWN, 0, 0, MersonBirdHouseNPC4, -1

