 The ending and Warios new "castle" depends on how many coins and  treasures he collected during the adventure. If Wario collects the lowest  amount, he ends up with a birdhouse. If Wario collects the highest amount,  he ends up with a planet of his own. After the credits end, there would be  a text that shows how well you did in the game.