Coyotes coach Dave Tippett paced back and forth behind the bench, absentmindedly crossing him arms and then stuffing his hands his pockets before repeating the process.

He had a front-row view to a Halloween horror show when he signed on to watch a hockey game.

The Coyotes fell into an early 3-0 hole, but that meant they had plenty of time to clean up their act against the Nashville Predators.

And they did, erasing that deficit and rallying to win 5-4 in a shootout Thursday in front of 7,401 at Jobing.com Arena.

“That was Jekyll and Hyde wasn’t it?” Tippett said. “That was perfect for the night.”

Winger Mikkel Boedker was the lone player to score, in the fifth round, and that kept the Coyotes unbeaten (6-0-1) on home ice in regulation. With the win, Tippett tied Bobby Francis for most wins in franchise history for a head coach, 165.

The Predators offered a reprieve from a division-heavy schedule, which continues for the next three games, but they weren’t a pushover.

The Coyotes should have been well-aware of that considering how similar both teams’ styles are, but their performance in the first period suggested otherwise. The Predators averaged 1.92 goals-per-game before meeting the Coyotes but racked up three in the first 20 minutes of play.

“I think there’s been some soft goals go in, and I think we’ve taken some untimely penalties,” Tippett said. “If you add those two things up, I think you’re going to see a lot of chances-against or goals-against in the first period.”

Center Matt Hendricks snuck behind the Coyotes defense and wired a shot far-side nine minutes into the game on goalie Thomas Greiss, who started so No. 1 Mike Smith could enjoy a night of rest. Greiss finished with 36 saves.

The Predators went up 2-0 at 14:12 when winger Patric Hornqvist’s cross-crease feed banged off winger Eric Nystrom, who had positioning on winger Lauri Korpikoski.

Later in the period, after center Mike Ribeiro was already in the box for a tripping call, Boedker was whistled for an illegal check to the head.