Alanna Smith didn’t have to win the game for Stanford on Sunday afternoon as she had the previous two games with late baskets. But it was an emotional day for her nonetheless.

In the final regular-season home game of her career on the Farm, she had 14 points as the No. 7 Cardinal trounced No. 17 Arizona State 71-50.

“These games, you never really know until you’re actually in this position as a senior how emotional they can be and how special it is,” Smith said. “Having my family here made it that much more special.”

The Smith clan, from Melbourne, Australia, was on hand as the Cardinal shot 62 percent, their best percentage against a ranked team in nearly two decades. They also limited the Sun Devils to 30 percent shooting.

Smith probably will be back at Maples after the Pac-12 tournament. Stanford (23-4, 13-3 Pac-12) figures to be a high seed in the NCAA Tournament and is expected to host first- and second-round games.

“What I’m most proud of is how much Alanna has improved her skill set and her toughness,” head coach Tara VanDerveer said. “She’s a warrior out there, posting up, playing through contact, knocking down her 3. I love her leadership; she really takes younger players under her wing. … I think she’s having an All-America year.”

Pac-12 women’s standings Team Conf. All Oregon 14-2 25-3 Oregon State 13-3 23-5 Stanford 13-3 23-4 UCLA 10-6 17-11 Arizona State 9-6 18-8 Utah 9-7 20-7 Arizona 7-9 17-10 Cal 7-9 16-11 USC 5-11 15-12 Washington St. 4-12 9-18 Washington 2-13 9-18 Colorado 2-14 12-15

Read More

She added that because of Smith, she wished “college was a six-year or eight-year deal. I’m already recruiting her sister, who’s 10 years old.”

Smith, who leads Stanford in scoring and rebounding, was given an ovation when she left the game with just less than two minutes left.

She was among three seniors honored after the game. The others were center Shannon Coffee and guard Marta Sniezek, who missed the season after undergoing surgery on her right hand and thumb.

Smith had provided the winning layup with three seconds left in a 69-67 win at USC on Feb. 17 and the decisive 3-pointer with 34 seconds left in Friday’s 56-54 win over Arizona.

“We don’t have to rely on one person,” she said. “Tara always says we’re not a one-trick pony, and we have other tricks up our sleeve.”

The Cardinal also had 15 points from Kiana Williams, 13 from DiJonai Carrington and 11 from Lexie Hull.

Stanford closes the regular season by visiting Washington State on Friday night and Washington on Sunday.

After losing at Cal on Friday, ASU lost back-to-back games for the first time this season. Courtney Ekmark had 10 points for Sun Devils (18-8, 9-6).

Guards Kiana Ibis, their leading scorer this season, and Robbi Ryan were both hampered by injuries, and backup forward Jamie Ruden missed the game because of a thumb injury suffered in a walk-though Saturday.

“We did not have a good weekend at all,” head coach Charli Turner Thorne said. “We didn’t execute our game plan at all. We were very impatient. You have to credit Stanford to some degree for that.”

Tom FitzGerald is a San Francisco Chronicle staff writer. Email: tfitzgerald@sfchronicle.com Twitter: @tomgfitzgerald