{$I HKS_Functions.script}
{$I HKS_SaveCData.script}

const TIME_TO_WIN = 18000;
Procedure OnTick;
begin

	If GT mod 10 = 0 then 
		A.OverlayTextSet(0, 'Time left : ' + U.TimeToString(TIME_TO_WIN - GT));
	If GT = TIME_TO_WIN then 
		A.PlayerDefeat(0);

end;