Philadelphia played one of its best halves of basketball of the season, lost its 24-point lead and then won 99-98.