Edward Olivares scored on a wild pitch in the ninth, and Scott Barlow picked up his fourth save of the season as the Kansas City Royals defeated the Minnesota Twins 3-2.