; 19/12/2025
; Fix zm cage on boss stage 2
modify:
{
	match:
	{
		"targetname" "s2_button07"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "s2_teleport_08Enable41.021"
		"OnPressed" "s2_boss_room_zm_toggleToggle411"
	}
}

; add extra hp to stage 2 boss
modify:
{
	match:
	{
		"targetname" "s2_boss_health_add"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "Vermisanguis_HitboxAddHealth42000-1"
	}
	insert:
	{
		"OnStartTouch" "Vermisanguis_HitboxAddHealth55000-1"
	}
}

; stage 2 ending hold is longer
modify:
{
	match:
	{
		"targetname" "s2_once_elevator_end"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "s2_elevator_endingOpen301"
		"OnStartTouch" "cmdCommandsay ** KEEP DEFENDING A BIT MORE **101"
		"OnStartTouch" "s2_teleport_09Enable181"
		"OnStartTouch" "cmdCommandsay ** ELEVATOR LEAVING IN 10 SECONDS **201"
	}
	insert:
	{
		"OnStartTouch" "s2_elevator_endingOpen451"
		"OnStartTouch" "cmdCommandsay ** KEEP DEFENDING A BIT MORE **251"
		"OnStartTouch" "s2_teleport_09Enable261"
		"OnStartTouch" "cmdCommandsay ** ELEVATOR LEAVING IN 10 SECONDS **351"
	}
}
