task BorderTimeDifine
{
wait(5);
if(GetCommonDataDefault("SELECTEDDIFFICULT","None")!="Extream"){return;}
loop
{
	if(RushGauge<0)
	{
		BorderTime=-12*RushGauge/1000;
	}
	else
	{
		BorderTime=0;
	}
	if(GetPlayerBomb==0){BorderTime=0;}
	if(!OnMissed)
	{
	SetRebirthFrame(BorderTime+1);
	BorderTimeCount=0;
	}
	yield;
}

}