From the Super Mario Wiki
Retrieved from "https://www.mariowiki.com/index.php?title=Tokyo_%2764&oldid=2816098"
Mario and Sonic received the console as a gift to commemorate the 2020 Olympic Games in Tokyo, unaware that it was in fact a trap devised by Bowser and Dr. Eggman. However, Bowser got impatient waiting for them to activate it, leading to him deciding to give them a surprise and make them turn it on. His sudden appearance startled Luigi into turning on the console, causing it to suck Mario, Sonic, Bowser, Eggman, and Toad into the machine, which transported them back in time to the Tokyo 1964 Olympic Games.