AMES, Iowa -- Iowa State has learned that with Seneca Wallace running things, anything is possible.
Wallace certainly made things happen Saturday, setting a school record with 493 total yards and directing a 93-yard touchdown drive with time running out that gave No. 22 Iowa State a 42-35 victory over Missouri.
Mike Wagner scored the game-winner on a 1-yard run with 32 seconds left.
"The last thing I remember everyone saying was how do you want to be remembered, good or great?" Wagner said. "It came down to the goal line with 30 seconds left. Great teams have got to make that play, so that's what we decided to do."
Iowa State (7-3, 4-2 Big 12) broke a two-game losing streak, became bowl eligible for the third straight year and stayed in contention for the league's North Division title.
"We wanted to get that seventh win," said wide receiver Lane Danielsen, who caught eight passes for 152 yards. "We're playing for a better bowl now."
Missouri (4-5, 1-4) kept the heat on the Cyclones all afternoon with redshirt freshman quarterback Brad Smith, who set a school single-season record for total offense.
But Wallace was too good on this day, and he was at his best on the final 13-play drive. Wallace was 4-for-4 for 29 yards and ran four times for 59 yards. The big play was a 33-yard scramble to the Missouri 13 on which he made a defender miss with a swivel-hipped move.
"It opened up a lot," Wallace said. "I knew I could get a first down or maybe score. That's what I tried to do. I was just trying to make something happen with my feet."
Wallace also had an 11-yard run to the 4, and Wagner carried the final three times, going over left guard for the final yard.
Wallace finished 31-of-47 for 425 yards and a touchdown, and carried 10 times for 68 yards and another TD. The school record for total offense was 449 yards by Bret Oberg against Oklahoma in 1989.
"He's liable to do anything," Wagner said of Wallace. "Maybe the only thing that would surprise me would be if he was to do a flip in a game. His running with his legs, nothing surprises me now."
Wallace's 31 completions broke the school record of 30 he set last year at Texas A&M, and his yards passing were the second most in school history, topped only by Todd Bandhauer's 437 against Texas in 1998.
"He threw the ball well this game," Missouri defensive end Antwaun Bynum said. "Then at the end of the game, we were in coverage and he got the yards he needed running."
Smith totaled 318 yards to give him 2,683 for the season. Corby Jones set the Missouri record of 2,545 in 1997. Smith was 23-of-34 for 241 yards and one touchdown.