Choosing closest pokemon to attack