Robot004 moves towards the weakest enemy, if blocked by friend, moves randomly, and if health is < 40, then just move towards centre.