The game's producer and director Shigeru Miyamoto was asked if he had any references, or anything else he relied on when making all of Mario’s various animations. He responded:

"We tried out a lot of different things using motion capture, but ultimately we ended up doing it all by hand. We created a “skeleton” for Mario that was the basis of his movement."
Contributed by ProtoSnake