The Suns' regular-season finale Wednesday night could have been a what-if night as they watched the shooting guard they passed on in the draft. Sacramento's Ben McLemore, a No. 7 pick, posted a season-high 31 points. But not when they feel just as strongly about their rookie shooting guard from the No. 29 pick.

Archie Goodwin obliterated his season high with 29 points off the bench to help the Suns close the season with a 104-99 victory over the Kings at Sleep Train Arena.

In a season that was pegged to be full of meaningless games, the Suns had only one and still made it feel meaningful by having their rookie leave them longing for more next season, just as the team did by going 48-34 to tie the 2007-08 Golden State team for the most victories by a non-playoff team in the 16-team playoff era of the past 30 years.

The Suns finished one win shy of NBA history's winningest non-playoff team, the 49-win Suns of 1971-72.

With those playoff opportunities already gone because of three consecutive losses coming into the finale, Suns coach Jeff Hornacek started a regular lineup, except for Gerald Green in for Goran Dragic, who was hobbled by a sprained ankle, but went liberally to his seldom-used bench players. Goodwin made the most of it, making 11 of 13 shots from the field with every made shot coming on layups or dunks until he made a 3-pointer for a 99-94 lead with 3:13 in the game.

Despite having a 5-for-36 3-point-shooting season, Goodwin still enjoyed an earlier play more — the one that he said got his night going. Goodwin was isolated with McLemore guarding him on the wing. Reading the defensive overplay on the Suns' set, Goodwin blew by him to the baseline side for a slam through McLemore's foul that followed his and-one drive on the previous play.

"After that, I was just playing off confidence and energy from my teammates on the bench, and Coach (Hornacek) was giving me confidence," Goodwin said. "I told myself I was going to do something like that today. My teammates knew I was going to get a lot of minutes. I knew I was going to play a lot, so I knew I was going to try to leave it with a good effect on the season."

Goodwin's lineups energized the Suns in both halves, and he scored 10 of the Suns' final 15 points of the game.