/*Defense Route*/

char foobar;
char state=0;
if(left_encoder && right_encoder == 0)
	{
		foobar=command_left_turn(22);
		if (foobar)
		state++;
	}

if(state==1)
	{
		foobar=command_drive(308);
		if (foobar)
		state++;	
	}

if(state == 2)
	{
		foobar=command_turn_right(22);
		if (foobar)
		state++;
	}

if(state == 3)
	{
		foobar=command_drive(148);
		if (foobar)
		state++;
	}

if(state == 4)
	{
		foobar=command_turn_right(90);
		if (foobar)
		state++;
	}

if(state == 5)
	{
		foobar=command_drive(228.75);
		if (foobar)
		state++;
	
	}
		
		
if(state == 6)

{
	foobar=command_drive(-228.75);
	if (foobar)
	state=5;
	
}

}

