The Orlando Magic dressed just enough players to participate in an NBA game.

The Grizzlies put out just enough effort to beat them.

Memphis mostly looked flat against an undermanned and unrecognizable Orlando squad that had only seven healthy bodies available. But the Griz mustered up a late burst of energy to put away the pesky Magic with an 88-82 victory Friday night in FedExForum.

“It’s hard for (the players) to believe that this team has a chance to beat them,” coach Lionel Hollins said of his troops, who extended their winning streak to six games. “You have to give Orlando a lot of credit. They came out and fought right from the start. They fought right to the end. We did enough to win and it wasn’t pretty. We defended enough and rebounded enough to get the win.”

The unfocused Griz (36-18) avoided a most improbable defeat, especially given the Magic was down to just five players with 4:35 left. Two Magic starters Andrew Nicholson and Nikola Vucevic had fouled out by then.

Memphis clung to a three-point lead.

The Griz were leading 74-71 when they ran away from the worn-down Magic for good. Tayshaun Prince’s 19-foot shot was followed by a Marc Gasol steal and the Grizzlies used a 10-2 run to establish a double-digit advantage with 1:06 remaining.