Wilmer Flores drew a bases loaded walk in the bottom of the ninth, capping a wild comeback as the San Francisco Giants snapped a five-game skid with a 5-4 victory over the Chicago Cubs.Matt Chapman homered and started the ninth inning rally with a bloop double off Colten Brewer.Flores was the eighth Giant to bat in the ninth. His walk scored Patrick Bailey, who singled with one on and one out in a 4-3 game to score Chapman, and Austin Slater’s sacrifice fly two batters later tied the game.