I suggest combining the enemy AI and the distance check to make random movement while still going away from the player. If that's possible, then make each Bomber an enemy only when the tag game is ongoing. Then when Link hits them they go to the sitting sprite.