DamageMonster(#PARAM2,8,10000)
DamageMonster(#PARAM2,9,10000)
DamageMonster(#PARAM2,10,10000)
DamageMonster(#PARAM2,11,10000)
DamageMonster(#PARAM2,12,10000)
DamageMonster(#PARAM2,13,10000)
DamageMonster(#PARAM2,14,10000)
DamageMonster(#PARAM2,15,10000)

If GetUserFlag(0,14)=0
Goto End
Endif




If GetUserMap(#PARAM1)<>#PARAM2
	If GetUserMap(#PARAM1)=215
		TargetMap=215
		Goto ChangeMap
	Endif
	If GetUserMap(#PARAM1)=216
		TargetMap=216
		Goto ChangeMap
	Endif
	If GetUserMap(#PARAM1)=217
		TargetMap=217
		Goto ChangeMap
	Endif
	Goto End
Else
	SpawnMonster(#PARAM2,81,GetUserX(#PARAM1),GetUserY(#PARAM1))
	SpawnMonster(#PARAM2,81,GetUserX(#PARAM1),GetUserY(#PARAM1))
	CreateEffect(1,600,0,#DIR_UP,#PARAM2,GetUserX(#PARAM1),GetUserY(#PARAM1),0,0,0)
	SetMonsterTarget(#PARAM2,8,#PARAM1)
	SetMonsterTarget(#PARAM2,9,#PARAM1)
	SetMonsterTarget(#PARAM2,10,#PARAM1)
	SetMonsterTarget(#PARAM2,11,#PARAM1)
	SetMonsterTarget(#PARAM2,12,#PARAM1)
	SetMonsterTarget(#PARAM2,13,#PARAM1)
	SetMonsterTarget(#PARAM2,14,#PARAM1)
	SetMonsterTarget(#PARAM2,15,#PARAM1)
	Timer(281,5000,#PARAM1,#PARAM2,0)
	Goto End
Endif

label ChangeMap
SpawnMonster(TargetMap,81,GetUserX(#PARAM1),GetUserY(#PARAM1))
SpawnMonster(TargetMap,81,GetUserX(#PARAM1),GetUserY(#PARAM1))
CreateEffect(1,600,0,#DIR_UP,TargetMap,GetUserX(#PARAM1),GetUserY(#PARAM1),0,0,0)
SetMonsterTarget(TargetMap,8,#PARAM1)
SetMonsterTarget(TargetMap,9,#PARAM1)
SetMonsterTarget(TargetMap,10,#PARAM1)
SetMonsterTarget(TargetMap,11,#PARAM1)
SetMonsterTarget(TargetMap,12,#PARAM1)
SetMonsterTarget(TargetMap,13,#PARAM1)
SetMonsterTarget(TargetMap,14,#PARAM1)
SetMonsterTarget(TargetMap,15,#PARAM1)
Timer(281,5000,#PARAM1,TargetMap,0)
Goto End


Label End


Continue = 1