PHOENIX (AP) Cliff Pennington added to his list of walkoff RBIs.
Pennington's sacrifice fly to deep left field in the 10th inning drove in Welington Castillo from third base and lifted the Arizona Diamondbacks to a 4-3 victory over the Colorado Rockies on Friday night.
It was Pennington's fifth career game-ending RBI.
''He's not super fleet afoot,'' Pennington said of Castillo, a catcher, ''so I wasn't really trying to hit a sacrifice fly, obviously. But with a guy like that, you have to hit it pretty far to get him in. So just trying to get a base hit and fortunately I hit it far enough to get him in.''
Castillo doubled off the fence in right field to lead off the 10th against Yohan Flande (0-1). Castillo moved to third on Chris Owings' single and scored easily on Pennington's fly ball.
Pennington's previous four game-winners were base hits, the most recent on May 27, 2013, against Texas.
Pennington had the game-tying hit in the sixth inning and earned the third walkoff win for Arizona this season. Andrew Chafin (5-0) got the win in relief after pitching a scoreless 10th.
''It's a pretty cool feeling, there's no doubt,'' Pennington said.
The Rockies lost a chance to take the lead in the top of the 10th after getting the first two batters on base. Pinch-hitter Michael McKenry lined out to shortstop Nick Ahmed, who doubled off Wilin Rosario at second. Then Chafin struck out Drew Stubbs to end the inning.
''That's the game. Sometimes you have a good at-bat and everything goes your way, and sometimes you have a bad at-bat and everything goes your way,'' McKenry said. ''I had a good at-bat and it didn't go our way.''
The Diamondbacks had a chance to win the game in the bottom of the ninth, loading the bases with one out against reliever Scott Oberg. But Oberg struck out Yasmany Tomas on a high fastball and got Jake Lamb to ground out to end the threat.
The Rockies managed only two hits after the first inning.
Colorado jumped on Diamondbacks starter Chase Anderson for three runs in the first inning. Charlie Blackmon led off with a home run, his ninth career leadoff homer and third this season, and Rosario lined a two-out, two-run double to left.
Anderson had not allowed a home run to a left-handed hitter in his previous 11 starts, a 2-month span of 138 batters faced.
The Diamondbacks came back with two runs on doubles by David Peralta and Paul Goldschmidt and an RBI triple by Lamb off Rockies starter Kyle Kendrick. Goldschmidt has reached base in 27 straight games against Colorado.
Both starting pitchers settled down after rough first innings. Anderson retired 15 of the next 16 hitters he faced from the second inning on and left after six, allowing three runs and three hits with five strikeouts and two walks.
''I wanted to get deep in the game and give this team a chance to win,'' Anderson said.
The Rockies got help from a challenge in the fifth inning after A.J. Pollock was originally called safe sliding to stretch a bloop single into a double. But following a 3-minute review, the call was overturned. Pollock tossed his helmet in disgust while standing on the field and the crowd booed the umpiring crew into the next half inning.
''It's what they called and you move on and you live with it,'' Pollock said.
But the Diamondbacks tied it at 3 in the sixth on Pennington's shallow two-out single to drive in Lamb from second. That chased Kendrick, who lasted 5 2/3 innings and gave up three runs and nine hits with six strikeouts.
''(Kendrick) did a good job,'' Rockies manager Walt Weiss said. ''He gave up a couple in the first but really did a nice job the rest of the way.''
Rockies: Reliever John Axford is in Phoenix after three days away from the team on the family medical emergency list. He wasn't activated Friday, as Weiss said he was taking a cautious approach, but could be activated as soon as Saturday.
Diamondbacks: C Oscar Hernandez, a Rule 5 draft pick, is expected to be added to the major league roster soon after catching in the minors Thursday night. He's been out all season with a broken bone in his left wrist.
Rockies: RHP David Hale (2-3, 5.95) is coming off a loss at Oakland in which he gave up four runs in the first but lasted seven innings. In two career appearances against Arizona, he has allowed seven earned runs in 5 1/3 innings.
Diamondbacks: LHP Patrick Corbin makes his first start since Tommy John surgery on March 25, 2014. He hasn't pitched in the majors since Sept. 27, 2013. A 2013 NL All-Star, Corbin had three rehab starts at Double-A Mobile and was 1-0 with a 2.76 ERA. He also gave up four runs in 2/3 of an inning in one start at Single-A Visalia.