NEW YORK, NY - APRIL 17: Carmelo Anthony #7 of the New York Knicks goes to the basket against Paul Pierce #34 and Kevin Garnett #5 of the Boston Celtics on April 17, 2012 at Madison Square Garden in New York City. (Photo by Nathaniel S. Butler/NBAE via Getty Images)

NEW YORK (AP) As the Celtics staggered to the locker room after getting hit by an NBA record-tying 3-point assault, the halftime musical selection perfectly summed up how they must have felt.

It was ''You Dropped a Bomb on Me'' - and Carmelo Anthony and two sharpshooting subs sure did.

Anthony had 35 points, 12 rebounds and 10 assists for his second career triple-double, and the New York Knicks made 19 3-pointers to keep alive their Atlantic Division title hopes with a 118-110 victory over Boston on Tuesday night.

JR Smith and Steve Novak both scored 25 points for the Knicks, who overcame a season-high 43 points from Paul Pierce and moved into sole possession of seventh place in the Eastern Conference while trimming Boston's division lead to 3 1/2 games.

Novak hit eight 3s in the highest-scoring game of his career. Smith made all seven of his 3s in the first half, equaling a team record.

''Our bench was great tonight,'' Anthony said. ''Novak and JR, them guys combined for 50 points off the bench. When they get hot like that, it's hard to deal with.''

The Celtics would have wrapped up their fifth straight Atlantic title with a victory. Instead, the Knicks stunned them with a record-tying 14 3-pointers in a 72-point first half and equaled their season high by finishing 19 of 32 behind the arc. They improved to 14-5 under interim coach Mike Woodson.

Tyson Chandler had 20 points on 9-of-10 shooting for the Knicks, who finished one short of their franchise record for 3s, set last season.

''We didn't defend the 3 at all tonight,'' Pierce said. ''We dug ourselves a huge hole that we couldn't climb out of.''

Kevin Garnett scored 20 points for the Celtics, who fell out of a three-way tie for fourth in the East with Atlanta and Orlando. Rajon Rondo had 13 points and 13 assists.

The Celtics watched Anthony score 42 points in a losing effort against Miami on Sunday and apparently overreacted to it, trying so hard to get the ball out of his hands that they didn't pay enough attention to his supporting cast.

''We panicked,'' Boston coach Doc Rivers said. ''We trapped too early. We were doing things that we shouldn't have done. It happens. We talked about it at halftime. I thought we were better at it and then we did it again in the fourth quarter out of nowhere. Good lesson though. I told our guys it was a really good lesson for us: Don't overreact to one great player and I thought we did that.''

Playing without the injured Ray Allen, the Celtics got a brief scare in the third quarter when Rondo landed hard on his back going for a rebound and remained on the court for a few minutes while being attended to before remaining in the game.

Woodson has repeatedly said the division title was his goal, even though the Knicks' 18-24 record when he took over always made that unlikely. Rivers said he's never talked to the Celtics about winning a division title or congratulated them for doing so, but there's no doubt it's worth having this season. Division winners are guaranteed to be seeded no worse than No. 4, avoiding Chicago or Miami until at least the second round.

Allen missed his fifth straight game when he felt pain in his right ankle Tuesday morning. He had gone through the morning shootaround and Rivers assumed he was set to play before the pain returned. Neither was sure if Allen would play Wednesday against Orlando.

Allen, the NBA's career leader in 3-pointers made, would have fit in perfectly in this game.

The Celtics jumped to an 8-2 lead, but the rest of the first half belonged to the Knicks. New York scored the final 10 points of the first quarter, going up 32-26 behind 12 points from Anthony and 63 percent shooting.

The Knicks then scored eight straight points to open the second quarter, capping an 18-0 run when Smith's 3-pointer made it 40-26 with 9:16 left. Consecutive 3s by Mike Bibby and Smith later made it 54-35 midway through the second, and the lead reached 20 points when Novak was fouled while making a 25-footer, falling backward out of bounds and into the arms of Woodson - the only time anyone got near a Knicks shooter in the half.

Novak hit two more before halftime, the Knicks taking a 72-53 lead into the locker room. He is shooting an NBA-best 47.2 percent from behind the arc.

''He's the best 3-point shooter in our league by far. I mean it's not even close,'' Smith said. ''The guy's shooting 50-something percent from 3, so people are starting to catch onto it but not fast enough.''

Story continues