Enemy pathfinding based on room size