Made the enemy wander around the level boundary and move away from the wall when it hits it.