PHILADELPHIA (AP) Cody Asche didn't mind the mess.
Asche hit a walk-off, two-run homer with two outs in the ninth inning to lead the Philadelphia Phillies to a 7-5 victory over the Chicago Cubs on Saturday night.
Hector Rondon (5-4) got the first two outs of the ninth before walking Erik Kratz. Asche followed in the pitcher's spot and drove the first pitch into the foul pole in right field to help Philadelphia win for just the fifth time in the last 19 games.
''It's been a while since I drove one like that,'' Asche said. ''It felt good, for sure.''
Asche was mobbed by his teammates at home plate and doused with water. He got a bucket of fruit punch dumped on him along with a shaving cream pie in the face during a postgame TV interview.
''Those are always fun,'' he said. ''You don't really care what happens. I'll take that every day of the year.''
Ken Giles (6-2) pitched 1 1-3 scoreless innings, striking out three, to earn the win.
Kyle Schwarber hit his third homer in two games, a solo shot in the third for Chicago. The Cubs dropped to three games back of Pittsburgh for the top NL wild-card spot with their second loss in their last nine.
Philadelphia took a 5-1 lead with five unearned runs with two outs in the seventh.
The trouble started for the Cubs when Andres Blanco hit a routine grounder to first. Anthony Rizzo fielded the ball cleanly, but lost control of it when he attempted to throw to first.
''I might have rushed it a little,'' Rizzo said. ''I didn't do a very good job there.''
Ryan Howard, mired in a 1-for-36 slump entering play, tied the game with an RBI pinch-hit double to right. The Phillies took the lead when Justin Grimm walked pinch-hitter Darnell Sweeney with the bases loaded, and Cesar Hernandez cleared the bases with a double to left to put Philadelphia up four runs.
But Chicago tied it with four runs in the eighth off struggling relievers Luis Garcia and Jeanmar Gomez. Garcia started the frame and faced three batters without recording an out and then left after Chris Coghlan's two-run double pulled the Cubs within 5-3. Gomez surrendered an RBI double to Kris Bryant and Miguel Montero's sacrifice fly to center that tied the game.
Giles came on and struck out Addison Russell for the final out of the frame.
The game was delayed 50 minutes at the start due to rain.
Dan Haren was scheduled to make the start for the Cubs, but manager Joe Maddon pushed Haren back to Sunday due to the rainy forecast in order to keep him in a normal routine.
Travis Wood started the game and gave up three hits with five strikeouts and no walks. It was the eighth start in 46 appearances this season for Wood, who faced one batter in the fourth. Trevor Cahill followed with three scoreless innings without allowing a hit.
''Wood and Cahill were wonderful,'' Maddon said. ''We got the start we were looking for.''
Jerad Eickhoff was solid in his fourth start with the Phillies since being acquired from Texas in the July 30 trade that sent ace Cole Hamels to the Rangers. He allowed one run on three hits in seven innings with eight strikeouts and three walks. He walked the leadoff hitter and looked out of sorts until an early mound visit by catcher Cameron Rupp helped settle him down.
''I might've been nibbling early on,'' Eickhoff said. ''Rupp said to attack the zone and I was able to do that.''
Asche said the Phillies displayed more energy throughout the game following interim manager Pete Mackanin's pregame meeting with players.
''In the dugout, I felt a lot more energy about us tonight,'' Asche said. ''Never really had those lull innings. I felt like we had good at-bats, good swings. I think we played with energy.''
Phillies: 3B Maikel Franco continues to make progress in his attempt to return from a fractured left wrist before the season ends. Franco is hitting off a tee and soft tossing. The Phillies are targeting Sept. 22 at Miami for his return.
Haren (9-9, 3.73) takes the mound in the series finale on Sunday afternoon. The right-hander leads the majors in homers allowed with 30, but didn't allow one in a 9-0 win at St. Louis on Monday. RHP Aaron Harang (5-15, 5.02) goes for Philadelphia.