; Filter the trigger in the 2nd last surf
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "5komenotriga-"
	}
	insert:
	{
		"filtername" "Human"
	}
}

; Lock the zm speed item right before laser boss and close the rear wall faster
modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"origin" "-5477 -12752.5 -5628.57"
	}
	delete:
	{
		"OnStartTouch" "boss_breakable,SetDamageFilter,Human,3,1"
		"OnStartTouch" "server,Command,say << Rear wall closes in 5 seconds! >>,3,1"
		"OnStartTouch" "wall,Toggle,,8,1"
	}
	insert:
	{
		"targetname" "boss_trigger"
		"OnStartTouch" "so-nanoka-,Lock,,0,1"
		"OnStartTouch" "server,Command,say << Rear wall closes in 3 seconds! >>,3,1"
		"OnStartTouch" "boss_breakable,SetDamageFilter,Human,4,1"
		"OnStartTouch" "wall,Toggle,,6,1"
		"OnStartTouch" "so-nanoka-,Unlock,,6,1"
	}
}

; Kill boss hp counter when it dies for BossHP
modify:
{
	match:
	{
		"classname" "math_counter"
		"targetname" "boss_hp"
	}
	insert:
	{
		"OnHitMin" "!self,Kill,,0,1"
	}
}

; Move the crouch lasers down 4 units
modify:
{
	match:
	{
		"classname" "func_movelinear"
		"targetname" "boss_laser_up"
	}
	replace:
	{
		"origin" "-5474.55 -9375 -5772"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "boss_laser_up_hurt"
	}
	replace:
	{
		"origin" "-5478 -9528 -5772"
	}
}
; delay zm tp so they cant use item 
modify:
{
	match:
	{
		"targetname" "Last_teleport"
		"filtername" "Zombie"
	}
	replace:
	{
		"targetname" "Last_teleport_ZM"
	}
}
modify:
{
	match:
	{
		"targetname" "5komenotriga-"
	}
	insert:
	{
		"OnStartTouch" "Last_teleport_ZM,Enable,,14,1"
	}
}


