WACO, Texas (AP) -Andrea Riley had just driven the length of the court for a layup to give No. 22 Oklahoma State a lead.
Baylor guards Jessica Morrow and Melissa Jones made sure it was short-lived -- and that the Cowgirls weren't going to win again in Waco.
"We wanted this win, especially with what happened last time," Jones said. "That mentality kicked in and took over from there."
Morrow and Jones hit consecutive 3-pointers for the fifth-ranked later Bears, the first of 12 consecutive points in a 22-3 run that pushed the Lady Bears (15-1, 3-0 Big 12) to avenging a home loss that kept them from winning the conference title last year.
Baylor, which has won nine straight overall, has won 27 of its last 28 home games. The lone loss was to the Cowgirls (12-4, 1-2) in last year's regular season finale.
"We certainly wish this was the game last year," coach Kim Mulkey said. "If you're a competitor, you don't forget those moments. When somebody denies you a championship, you are motivated to play that team."
Riley, who had a game-high 33 points, put Oklahoma State (12-4, 1-2) ahead 38-37 when she grabbed a defensive rebound and drove all the way for a layup with 17:17 left. Morrow and Jones then hit their 3s.
By time Riley scored again nearly 8 minutes later, Oklahoma State trailed by 15.
"We made some defensive mistakes and offensively we weren't quite in synch the way we should have been in the second half," coach Kurt Budke said. "Definitely, it's a long year and there are not going to be a lot of people that come here and win here."
The Cowgirls won eight straight games before losing their Big 12 opener at Iowa State, which they followed with a 36-point victory over Colorado when five players scored in double figures. Riley was the only one with at least 10 points against Baylor.
Morghan Medlock's two free throws with 10:19 left capped Baylor's game-turning spurt, with Medlock scoring eight of the last 10 points.
Medlock finished with 14 points in 16 minutes off the bench, while Danielle Wilson had 14 points and 12 rebounds, her sixth double-double in eight games. Morrow had 11 points.
The Lady Bears won their second straight game over a top 25 opponent, having defeated No. 20 Iowa State 68-57 on Wednesday. They play four of their next six games against ranked teams, starting Wednesday at No. 8 Texas A&M.
Jones had a bank shot and a 3-pointer on consecutive possessions before halftime to put the Lady Bears up 30-22.
Oklahoma State then ended the half with a 9-3 run, and had a chance to at least tie the game after Wilson's free throw with 31.7 seconds left made it 33-31. Riley waited in the backcourt for time to run off the clock, then after finally making her move to the basket lost control of the ball and the shot clock expired.
Riley then had an assist and scored five points early in the second half to push the Cowgirls ahead, but that lead last only a few seconds.
"We're only at our best when we have four or five in double figures," Budke said. "We've got to do a better job of continuing to try to get other people involved."