This was a game for the Nintendo DS.
Spoilers May Follow
While channel surfing for treasure leads on a listless day, Wario accidentally stumbles upon a television show starring future rival Count Cannoli, AKA The Silver Zephyr. Although he is quick to insult the show's premise, Wario is secretly extremely jealous of this master thief and the riches he has accumulated. Not to be outdone, Wario dashes off to his secret headquarters (his back room) and constructs the Telmet. With this new device in tow, and an insatiable lust for treasure, Wario enters the television and makes his big screen debut.
Upon entering this new world, Wario inadvertently crash lands on Count Cannoli himself. The impact forces Cannoli to drop his wand. Wario, quick to snatch his first piece of treasure, immediately recovers the wand. Upon seeing this, Cannoli demands that Wario return his wand, as it is the source of his power. Wario is quick to inform Cannoli that he will never be getting his wand back, as Wario is having far too much fun waving it about in the air. However upon doing this, the wand begins to speak, revealing that the wand is a being of its own, known as Goodstyle. Goodstyle, with no harsh feelings towards Wario, informs him of the many capabilities that he possesses and how Wario, who Goodstyle refers to as "master", much to Wario's pleasure, can use these capabilities to his advantage. After a quick lesson about how to use him, Goodstyle transforms Wario into a master thief, the silent but deadly Purple Wind!
Through this new persona, Wario begins an race around the world, along with rival Count Cannoli to collect all the pieces of the infamous Wishstone, believed to grant the wishes of the one who possesses it in its entirety. Throughout their adventures, Wario and Cannoli also run into master thief Carpaccio, who is also in search of the Wishstone fragments. Wario, whose wish is to own all the treasures and riches of the world, stops at nothing and manages to gather all five pieces of the Wishstone through the help of Count Cannoli (who recognizes Wario as the superior criminal) and the mysterious masked maiden known only as Tiaramisu. Wario, Cannoli and Tiaramisu manage to assemble the Wishstone in its entirety, only to have Tiaramisu reveal to them a secret. It is revealed that Tiaramisu is actually a demon known as Terrormisu who was trapped within the Wishstone, and through its reassembling was now free to reign over this world. This doesn't settle well with Wario, who is furious about the Wishstone not granting his wish for treasure. In a fit of rage, Wario and Goodstyle take Terrormisu on and after a heated battle, emerge victorious.
Terrormisu is then banished into an alternate dimension where she can threaten the world no longer. It is then revealed that Goodstyle is actually the first member of the Cannoli clan who enlisted Wario to tackle the foreboding threat of Terrormisu. Wario, feeling used and cheated, expresses his rage and discontent to Goodstyle. Goodstyle quickly informs Wario that through his accomplishments, he has earned the vast amount of treasure and riches that the Cannoli clan has accumulated throughout the generations. Wario agrees to this arrangement and the player is then treated to a clip of Wario being showered with treasure. Wario, content with the events that transpired, resolves to head back to the real world with his treasure, where he will be REALLY rich!
However upon returning to the real world, it is revealed that the Telmet only teleported Wario to the real world, NOT his treasure! Upon seeing his treasure on the television, Wario slips into a fit of disbelief and resolves to re-enter the television to collect his earnings... and he soon begins to wonder, is there even more?