task BorderTimeDifine
{
wait(5);
//if(GetCommonDataDefault("SELECTEDDIFFICULT","None")!="Extream"){return;}
loop
{
	if(GetCommonDataDefault("AutoBombMode",0)==0)
	{
		BorderTime=7;
	}
	else
	{
		BorderTime=0;
	}
	if(GetPlayerBomb==0){BorderTime=0;}
	if(!OnMissed)
	{
	SetRebirthFrame(BorderTime);
	BorderTimeCount=0;
	}
	yield;
}

}