public static int getFinalSpeed(Pokemon poke, Field field)
	{
		double speed = poke.getStats()[5] * poke.getBoosts()[4];
		
		String id = poke.getItem().getID();
		if(id.equals("choicescarf"))
			speed = Math.floor(speed * 1.5);
		else if(id.equals("machobrace") || id.equals("ironball"))
			speed = Math.floor(speed / 2.0);
		
		id = poke.getAbility().getID();
		if(id.equals("chlorophyll") && field.isSun() ||
				id.equals("sandrush") && field.isSandstorm() ||
				id.equals("swiftswim") && field.isRain())
			speed *= 2;
		System.out.println("Speed is: "+pokeRound(speed));
		return pokeRound(speed);
	}