 
 	farmTime := 60
 	bossFightTimer := 30 + chronos + 1
+	bossFailCounter := 0
 
 	local startZone := getCurrentZone()
 	local zone := startZone
-	zoneTicks := {}
+	zoneTime := {}
 	local initiatedZone := 0
 	local earliestAscendZone := 140
 	local estimatedAscendLevel := gildedRanger ? abs(gildedRanger) * 250 - 75 : earliestAscendZone

		SetTimer, nextZoneTimer, 500
	}

	local elapsedZoneTime := 0
	local zoneTimeIncrease := 0
	local previousZoneTime := 2.0 * (10.0 + kumawakamaru)
	local previousZone := 0

	local secPerMonster := 0

	}
}

startTimer() {
	global
	SetTimer, timeTick, 250, 4 ; prio 4
}

stopTimer() {
	global
	SetTimer, timeTick, off
}

getTime() {
	global
	return elapsedTime
}

; -----------------------------------------------------------------------------------------
; -- Subroutines
; -----------------------------------------------------------------------------------------

timeTick:
	elapsedTime += 0.25
return

; Safety zone around the in-game tabs (that triggers an automatic script pause when breached)
checkMousePosition:
