BOSTON – Kobe Bryant took no special pleasure in spoiling Ray Allen’s record-setting night.

Still, the Los Angeles Lakers sure enjoy ruining a Celtics celebration.

“It’s always fun to beat Boston,” center Andrew Bynum said.

Bryant scored 20 of his 23 points in the second half, leading the Lakers to a 92-86 victory in an NBA finals rematch on Thursday night.

Allen became the NBA’s career leader in 3-pointers in the first quarter, but Bryant later put him on the bench in foul trouble during his big second half that rallied Los Angeles from an early 15-point deficit.

Pau Gasol added 20 points and 10 rebounds for the Lakers, who split the regular-season series with their biggest rivals and got a sorely needed victory against one of the league’s top teams. Bynum, the subject of trade rumors in the never-ending Carmelo Anthony saga, finished with 16 points and nine rebounds.

As Bryant exited the locker room, a security guard told the All-Star guard he would see him in June.

That would be fine with Bryant.

“This is one of the best atmospheres, if not the best atmosphere playing in the league today,” Bryant said.

It was at its raucous best in the first quarter, when Allen hit two 3-pointers to pass former Indiana Pacers star Reggie Miller (2,560), who was sitting courtside calling the game for TNT. But Allen made only one more and had 20 points after scoring 12 in the first quarter.

“I almost felt a little embarrassed because there was so much attention surrounding this 3-point record,” Allen said. “It was so overwhelming, but it was a great moment. I’ll remember this for the rest of my life.”

Paul Pierce had 15 points for the Celtics, who came in shooting an NBA-best 49.7 percent and shredded the Lakers for 60 percent shooting in their 109-96 victory at Los Angeles on Jan. 30. But Boston went cold after a strong start in this one and finished at 40 percent.

Without Shaquille O’Neal and Jermaine O’Neal, the Celtics were outrebounded, 47-36. Kevin Garnett had 11 boards but shot only 4 of 13 for his 10 points.

“Definitely hurts when you are down a number of guys, but we aren’t going to make excuses because we had a 13-, 14-point lead,” Pierce said. “At the end of the day, you have four All-Stars you put on the court and we are more than capable of winning these types of games.”

Bryant scored 41 points in the January loss, but seemed headed nowhere near it after taking only three shots in the first half. He had a quick flurry early in the second half, then had eight points in the final 4:51 to help the Lakers hold on.

“You knew once he saw it was a chance to win, Kobe was going to be Kobe,” Celtics Coach Doc Rivers said. “I think we knew that a week ago.”

Lamar Odom finished with 10 points and 12 rebounds for the Lakers, who moved to 3-0 on their seven-game road trip that continues today in New York.

Down eight at halftime, Los Angeles returned from the locker room with a 10-0 burst, and it was back and forth the remainder of the third quarter. The Lakers scored six consecutive points late in the period, the last two in painful fashion after Odom tipped in Gasol’s miss, then their heads collided as they turned to run downcourt. Los Angeles led 72-68 after three.

“The third quarter we decided to play some defense and Kobe got hot. It’s just that simple,” Bynum said.

Sporting a large bandage on his forehead, Odom opened the fourth with a 3-pointer, but the Celtics were only down three midway through the period before Bryant made two jumpers and a layup to push the lead to 88-79 with 3:12 remaining.