when trying to climb it. After collecting 80 Power Stars, the endless stairs' magic stops and Mario confronts Bowser alone (as he is the only one allowed to gain access to the top). After Bowser's defeat, Mario and his friends return to Peach's castle, where they free Peach from a stained-glass window above the entrance. As a reward for saving Peach, she kisses Mario on the nose and goes to bake the cake she had promised. The game ends when Mario, Luigi, Peach, Yoshi, and Wario wave goodbye to the player as Lakitu films and flies away. A photo with Peach's cake appears. Gameplay Super Mario 64 DS is a 3D platformer in which the player switches between four different characters – Yoshi, Mario, Luigi, and Wario – and controls them through numerous levels to collect 150 Power Stars, 30 more than the original game. Each character is essential to fully complete the game. Each level is an enclosed world (usually contained within and entered through a painting) in which the player is free to wander in all directions and discover the environment without time limits. The worlds are inhabited with enemies that attack the characters, as well as friendly creatures that provide assistance, offer information, or ask for help. The player gathers stars in each course; some stars only appear after completing certain tasks, often hinted at by the name of the star in the star select menu. These challenges include defeating bosses, solving puzzles, racing an opponent, and gathering coins. As the player collects stars, more areas of the castle become accessible. Power-ups in Super Mario 64 DS take the form of special hats resembling those worn by Mario, Luigi, and Wario (all voiced by Charles Martinet), and are available in some levels. Acquiring one such hat will change the player's character into the corresponding character, allowing the player to use that character's abilities. The hats fall off if the character is hit, but can be reacquired. Yoshi (voiced by Kazumi Totaka) is able to start a level wearing the hat of any of the other available characters. Another power-up item, the "Power Flower", provides each character with a different ability: Mario is able to float, similar to Super Mario Worlds balloon item; Luigi becomes intangible and transparent, similar to the Vanish Cap in the Nintendo 64 version; Wario becomes coated by metal, which makes him temporarily invincible