MoundUpperArea_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

MoundUpperAreaNPC:
	faceplayer
	opentext
	checkevent EVENT_MOUND_CAVE_MYSTIC_WATER_NPC
	sif true
		jumptext .after_item_text
	writetext .before_item_text
	buttonsound
	verbosegiveitem MYSTIC_WATER, 1
	sif true
		setevent EVENT_MOUND_CAVE_MYSTIC_WATER_NPC
	closetextend

.before_item_text
	db TX_COMPRESSED, $72, $85, $a8, $43, $3c, $cd, $80, $e5, $7c, $24
	db $7a, $c3, $39, $3b, $9a, $ca, $c2, $84, $4b, $49
	db $aa, $ab, $6c, $d7

	db $4a, $01, $b7, $49, $4c, $80, $82, $d4, $45, $43
	db $7d, $e0, $41, $69, $68, $3e, $e1

	db $4a, $01, $ca, $16, $a7, $46, $a4, $71, $f0, $51, $5f, $5a
	db $37, $88, $6c, $a9, $77, $59, $3a

	db $50, $0e, $a6, $01, $68, $99, $96, $93, $7e, $34, $4c, $9a
	db $de, $ab, $6c, $d7, $e8, $c4, $d6, $7f, $97, $aa
	db $46, $a8, $24, $3f
	db $53, $40

.after_item_text
	db TX_COMPRESSED, $72, $85, $a8, $43, $3c, $cb, $0c, $e9, $ea
	db $c8, $f2, $43, $54, $b0, $c4, $54, $37, $f8
	db $d3, $40

MoundUpperArea_MapEventHeader:: db 0, 0

.Warps: db 2
	warp_def 7, 25, 1, ROUTE_83
	warp_def 5, 3, 4, ROUTE_69

.CoordEvents: db 0

.BGEvents: db 0

.ObjectEvents: db 3
	person_event SPRITE_COOLTRAINER_M, 2, 17, SPRITEMOVEDATA_WANDER, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, MoundUpperAreaNPC, -1
	person_event SPRITE_POKE_BALL, 7, 11, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_YELLOW, PERSONTYPE_TMHMBALL, TM_MUD_SLAP, 0, EVENT_MOUND_CAVE_TM31
	person_event SPRITE_POKE_BALL, 15, 15, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_YELLOW, PERSONTYPE_TMHMBALL, TM_EARTHQUAKE, 0, EVENT_MOUND_CAVE_TM65

