RuinsRoof_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

RuinsRoofRaiwato:
	opentext
	setevent EVENT_RAIWATO
	writetext .text
	cry RAIWATO
	waitsfx
	setlasttalked 255
	writecode VAR_BATTLETYPE, BATTLETYPE_NORMAL
	loadwildmon RAIWATO, 50
	startbattle
	reloadmapafterbattle
	dontrestartmapmusic
	reloadmap
	disappear 2
	end

.text
	db TX_COMPRESSED, $13, $5c, $d5, $c1, $36, $d5, $df
	db $1a, $68

RuinsRoof_MapEventHeader ;filler
	db 0, 0

;warps
	db 1
	warp_def $8, $6, 2, RUINS_F5

	;xy triggers
	db 0

	;signposts
	db 0

	;people-events
	db 1
	person_event SPRITE_RAIWATO, 4, 7, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, RuinsRoofRaiwato, EVENT_RAIWATO

