add:
{
	"targetname" "lvl1_dmgfilter"
	"classname" "filter_damage_type"
	"Negated" "0"
	"damagetype" "16384"
}
add:
{
	"targetname" "nofalldmg"
	"classname" "filter_damage_type"
	"Negated" "1"
	"damagetype" "32"
}
modify:
{
	match:
	{
		"parentname" "lvl1_end2"
		"classname" "trigger_hurt"
 	}
	replace:
	{
		"damagetype" "16384"
	}
}
modify:
{
	match:
	{
		"targetname" "lvl2_esc_seq_timer"
		"classname" "logic_timer"
 	}
	replace:
	{
		"RefireTime" "2"
	}
}
modify:
{
	match:
	{
		"targetname" "lvl2_esc_cube_na"
		"classname" "func_door"
 	}
	replace:
	{
		"speed" "232"
	}
}

modify:
{
	match:
	{
		"targetname" "esc1_tele"
		"classname" "trigger_teleport"
		"origin" "-3680 -1984 4224"
 	}
	insert:
	{
		"OnStartTouch" "!activator,SetDamageFilter,nofalldmg,0,-1"
		"OnEndTouch" "!activator,SetDamageFilter,nofalldmg,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_gravity"
	}
	insert:
	{
		"OnStartTouch" "!activator,SetDamageFilter,nofalldmg,0,-1"
		"OnEndTouch" "!activator,SetDamageFilter,nofalldmg,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "lvl1_fo1_h"
	}
	replace:
	{
		"damagetype" "16384"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "lvl1_fo2_h"
	}
	replace:
	{
		"damagetype" "16384"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "lvl1_fo3_h"
	}
	replace:
	{
		"damagetype" "16384"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "lvl1_fo4_h"
	}
	replace:
	{
		"damagetype" "16384"
	}
}
modify:
{
	match:
	{
		"classname" "math_counter"
		"targetname" "boss_killcount"
	}
	insert:
	{
		"OnHitMax" "player,SetDamageFilter,lvl1_dmgfilter,0,-1"
		"OnHitMax" "player,SetDamageFilter,nofalldmg,45,-1"
	}
}

modify:
{
	match:
	{
		"classname" "logic_timer"
		"targetname" "lvl1_fo_timer"
		"origin" "-7117.17 -1736.15 65"
		"hammerid" "1490"
	}
	replace:
	{
		"LowerRandomBound" "0.5"
		"UpperRandomBound" "0.6"
	}
}
modify:
{
	match:
	{
		"classname" "logic_case"
		"targetname" "lvl1_tfo_case"
		"origin" "-7153.33 -1521.67 65"
		"hammerid" "1505"
	}
	replace:
	{
		"OnCase04" "global_make,AddOutput,EntityTemplate lvl1_tfo4,0,-1"
		"OnCase02" "global_make,AddOutput,EntityTemplate lvl1_tfo2,0,-1"
		"OnCase01" "global_make,AddOutput,EntityTemplate lvl1_tfo1,0,-1"
		"OnCase03" "global_make,AddOutput,EntityTemplate lvl1_tfo3,0,-1"
	}
	insert:
	{
		"OnCase05" "global_make,AddOutput,EntityTemplate lvl1_tfo1,0,-1"
		"OnCase06" "global_make,AddOutput,EntityTemplate lvl1_tfo3,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "logic_auto"
		"origin" "700.342 -3895 -244.701"
		"hammerid" "9910"
	}
	insert:
	{
		"OnMapSpawn" "cmd,Command,zr_class_modify zombies health 50000,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "func_movelinear"
		"targetname" "lvl2_esc_platform2"
		"origin" "-1600 -3648 1408"
		"model" "*203"
		"hammerid" "30609"
	}
	replace:
	{
		"movedistance" "2954"
	}
}
modify:
{
	match:
	{
		"classname" "func_movelinear"
		"targetname" "lvl2_esc_plat_fix"
		"origin" "-2208 -3744 1408"
		"model" "*238"
		"hammerid" "35150"
	}
	delete:
	{
		"OnFullyClosed" "lvl2_esc_platform2,Open,,0.02,-1"
	}
	insert:
	{
		"OnFullyClosed" "lvl2_esc_platform2,Open,,0.1,-1"
	}
}