CALGARY â€” Corey Perry celebrated his 100th career playoff game scoring the overtime winner for the Anaheim Ducks in a 5-4 victory over the Calgary Flames on Monday.

Trailing 4-1 late in the second, the Ducks scored three unanswered goals to pull even before Perry’s sharp-angled shot deflected off bodies and by Flames goalie Brian Elliott at 1:30 in the extra period.

“You just keep pushing shift after shift, get pucks to the net and we found a way tonight,” said Perry. “That’s all that matters.”

With their biggest post-season comeback in franchise history, Anaheim took a 3-0 stranglehold in the best-of-seven Western Conference quarter-final series.

Calgary must win Wednesday’s Game 4 at Scotiabank Saddledome to avoid a sweep.

Up 2-1 and 4-2 at period breaks, the Flames started stronger, were more disciplined with just one minor penalty and were sharper in the faceoff circle than they had been in a pair of 3-2 losses to open the series in Anaheim.

But Calgary squandered that effort. Elliott began fighting the puck while the Flames allowed the Ducks to get bodies in front of the net to score on deflections.

“It’s not easy to win in this league, but I think we have what it takes here in this dressing room and we’re going to have to find a way,” Flames forward Sean Monahan said.

Shea Theodore kicked off Anaheim’s comeback scoring the first of his two goals with 49 seconds left in the second period.

“We couldn’t seem to make two passes together for a better part of I’d say the first two periods,” Anaheim head coach Randy Carlyle said.

“Then we got a goal and it gave us some life and made us believe that we have a chance. This is playoff hockey and momentum swings within the game, from shift to shift.”

Nate Thompson had a goal and two assists and Nick Ritchie also scored for the Ducks. Defencemen Kevin Bieksa and Hampus Lindholm each had two assists.

Ducks starter John Gibson was replaced by Jonathan Bernier following Calgary’s fourth goal. Gibson stopped 12 of 16 shots with Bernier turning away all 16 he faced in relief for the win.

“He was called upon to make some big stops and he made them and we were able to build off it,” Carlyle said.