Completed the AI for passive enemies.