Yume Kōjō: Doki Doki Panic

Yume Kōjō: Doki Doki Panic, translated as Dream Factory: Heart-Pounding Panic and usually referred to as simply Doki Doki Panic, is a Japan-only video game developed by Nintendo in cooperation with (who also made All Night Nippon Super Mario Bros.) for the Family Computer Disk System to promote its event called Yume Kōjō '87 (translates to Dream Factory '87).

It was later released outside of Japan in an altered format under the name Super Mario Bros. 2, since the original Japanese Super Mario Bros. sequel, Super Mario Bros.: The Lost Levels, was deemed too similar to the original and too difficult for overseas players. Eventually, the altered Mario version of Doki Doki Panic was released in Japan as well, under the title Super Mario USA.

Story
The game takes place inside a storybook. The book's story tells of the dream world of Muu, where the quality of dreams determined the quality of the weather the next day. Because of this, the Muu citizens invented a dream machine so they could always have good dreams. One day, a mischievous being named Mamu (whose name was changed to Wart for Super Mario Bros. 2) invaded the land and used the dream machine to make nightmarish monsters. However, the Muu people learned of his weakness to vegetables and used them to defeat him.

The old storybook had found its way into the hands of a pet monkey, Rūsa, who gives the book to the young twins Poki and Piki. However, the twins quarrel and end up ripping out the last page of the book, causing its ending to be erased. Mamu, freed, reaches through the pages and grabs the twins, pulling them into the book. Rūsa gets the twins' parents, Mama and Papa, their brother, Imajin, and Imajin's girlfriend, Lina, and they enter the book to rescue them.

Impact on the Mario franchise
The Doki Doki Panic engine started as a Mario-style tech demo using vertical-scrolling mechanics as opposed to side-scrolling mechanics. Shigeru Miyamoto suggested the inclusion of side-scrolling mechanics to make it more of a Mario concept. Nintendo entered a licensing deal with Fuji Television, and the game's development proceeded with Yume Kōjō characters. Shigeru Miyamoto, as a result, was more involved with the development of Doki Doki Panic than he was in what eventually became the original Super Mario Bros. 2. Many of the game's enemies have become generic Mario enemies, though many were not intended to be that at the time of their creation. This includes Shyguys, Birdos, Pokeys, Bob-Ombs, and numerous others. Of particular note is how Mario, Luigi, Toad, and Princess Toadstool's skills and attacks have been shaped by the skills of the characters they replaced.

Some Mario elements had already been in place prior to the overhaul for America - both POWs (from Mario Bros.) and Stars (from Super Mario Bros.) are frequent and powerful items that serve the same purposes as in their games of origin.

Differences between games
Several changes were made in order to make the game appropriate for the Mario franchise. Graphical changes were made for certain enemies and characters. Additionally, the cream white Mouser boss was replaced with Clawgrip. This change was in tune with the decision to release the edited Doki Doki Panic in place of the Japanese Super Mario Bros. 2, which Nintendo of Japan feared was too hard for European and American gamers.

Characters

 * Imajin is the balanced character. While Mario replaces him, Imajin's balance in all areas has since become a staple of Mario's in certain games.
 * Mama has the ability to jump higher and lightly hover at the top of her jumps. Luigi takes her place as he had already had higher jumps than Mario in Super Mario Bros.: The Lost Levels. However, Luigi can jump slightly higher than Mama. Like his brother's balanced stats, his higher jumps have stayed in the Mario franchise.
 * Lina can briefly hover, but she is low in speed and strength. Princess Toadstool replaces her. As a result of the license with Fuji Television expiring, Peach inherited Lina's floating capability, and it would be later seen in the Super Smash Bros. series starting with Super Smash Bros. Melee (her first appearance in that series), Super Mario 3D World, and Super Mario Run (along with the addition of slowly descending in mid-air as she does so). It is also used by Toadette's Peachette form in New Super Mario Bros. U Deluxe.
 * Papa is the strongest character in the game and can run the fastest, though he is not very good at jumping. While Toad takes his place, in future video games (other than indirect references in Wario's Woods and Mario Superstar Baseball), Toad rarely has Papa's stats. However, Toad regains these properties in Super Mario 3D World and Super Mario Run, where he is the fastest character and a poor jumper.
 * Poki and Piki are non-playable characters who get captured by Mamu at the beginning of the game and are rescued after his defeat. They are replaced by the Subcons in Super Mario Bros. 2, which are also present in Doki Doki Panic's endings.

Visuals

 * Shells replace the Big Face item - which were heads resembling . They were edited due to the controversy over blackface mocking people of African ancestry.
 * Magical Potions were originally Magic Lamps. Magic Lamps were also present in the prototype version of Super Mario Bros. 2, as the Magical Potions were not implemented yet.
 * Mushrooms were originally hearts.
 * 1-Up Mushrooms were originally the heads of the character being controlled.
 * Grass tufts were black instead of red.
 * Mask Gates were originally generic masks instead of hawk masks.
 * The explosion icon says "BOM" in Doki Doki Panic, and "BOMB" in Super Mario Bros. 2.
 * Phantos originally had a less menacing appearance.
 * Mushroom Blocks were originally various masks.
 * Some vegetables looked slightly different.
 * Cherries, POWs, vines, grass tufts, Crystal Balls, bomb fuses, water, cloud platforms, and spikes are still, unlike in Super Mario Bros. 2, where they are animated.
 * Albatosses have only two frames of animation, while Super Mario Bros. 2 gives them eight (with only seven showing up outside of remakes due to a glitch).
 * Waterfalls and the fast quicksand move much faster.

Miscellaneous

 * The title screen is entirely different.
 * The title screen music is the ending theme from Super Mario Bros. 2, but without the sampling from the Super Mario Bros. Ground Theme.
 * Rather than the storyline taking place in a dream world, it takes place within a storybook. The plot of the game is about two kids named Poki and Piki who fought over reading a book and ended up getting themselves pulled in by Mamu after accidentally tearing out the last page. A monkey known as Rūsa witnessed this and informed the Arabian family.
 * In Doki Doki Panic, the intro screens of the levels were actually pages from the story book; levels were referred to as "Chapters", page number marks that were commonly used in story books appeared, and the intro screens lacked the location icons. In Super Mario Bros. 2, the intro screens were heavily edited to make them look like cards since Doki Doki Panic's story settings were from a story book instead of a dream; the text "Chapters" was changed to "Worlds", the page number marks were completely removed, and location icons were added.
 * A save feature is included.
 * The player cannot run by holding the button.
 * It takes four hits for Mamu to be defeated in Doki Doki Panic, as compared to six in Super Mario Bros. 2; this is also present in the prototype version of Super Mario Bros. 2.
 * Sound effects are changed, as the Disk System adds audio hardware not present in the NES. For example, enemies sound more like they are screaming when defeated.
 * After leaving a key's home room, a Phanto inexplicably begins assaulting the player out of nowhere. In Super Mario Bros. 2, the Phanto now appears, albeit stationary and (seemingly) harmless, in the key's home room. However, once the key is retrieved, the Phanto comes to life and begins attacking.
 * An albino version of Mouser appeared as the boss of 5-3. In Super Mario Bros. 2, he was replaced with Clawgrip, who is the only boss exclusive to Super Mario Bros. 2.
 * The highest cloud platform in a section of 7-1 was removed, and the gray Snifit was moved onto a pillar where the cloud was once attached to.
 * Imajin, Lina, Papa, and Mama do not shrink when they have one hit point left.
 * The characters and artwork are based on an Arabian style theme.
 * The Sub-space music for Super Mario Bros. 2 is the overworld theme for Super Mario Bros., while the music for Doki Doki Panic is an Arabian theme.
 * The musical score for the player select and overworld themes are slightly shorter. The extended rhythms are exclusive to Super Mario Bros. 2.
 * Upon grabbing the Star, an Arabian-sounding tune plays in Doki Doki Panic, while the standard Super Mario Bros. Star fanfare plays in Super Mario Bros. 2.
 * The player must beat the game with all four characters to view the ending in Doki Doki Panic, unlike Super Mario Bros. 2, where the player only needs to beat the game once to view the ending. However, due to Doki Doki Panic being on the Disk System, each characters' progress through the game was independently saved and could be returned to at a later date.
 * The shortcut in 6-3 is slightly different: in Doki Doki Panic, one can simply jump down from the cloud platform with the door; in Super Mario Bros. 2, two more cloud platforms stand between the door and the ground.
 * The type of Ninji that hops in place has three jump heights in Doki Doki Panic; Super Mario Bros. 2 only includes the low and high jump.

Yume Kōjō '87
Doki Doki Panic was based on Yume Kōjō '87, an event sponsored by Fuji TV and held from July 18th to August 30th, 1987. On the last day of this event, there was a grand finale. This finale was meant to introduce a new generation of media that would arrive in the years to come, with various technical displays, as well as to advertise Fuji TV's fall lineup of shows. Elements from the event carried over to the game include the characters of Papa, Mama, Imajin, Lina, Poki and Piki, the blimp on the title screen, and the use of masks as a visual motif.

References in later media

 * Super Mario (Kodansha manga): During the Super Mario USA adaptation, Princess Peach, trapped in Sub-space, finds a Magic Lamp from Doki Doki Panic. Birdo states it is useless and instead pulls out its Super Mario Bros. 2 equivalent, the Magical Potion.
 * Wario Land II: A Big Face (revised as a turtle shell in Super Mario Bros. 2) can be found as a treasure in Chapter 3, Story 4: Escape from Maze Woods.
 * Mario Kart 8 / Mario Kart 8 Deluxe: On Toad Harbor, there is a sign saying "Shy Guy Metals: Since 1987", referencing this game's release date and the introduction of the Shy Guys.
 * Super Mario 3D World: The player being required to beat all levels with all characters (Mario, Luigi, Toad, Princess Peach, and Rosalina), barring the Captain Toad levels, in order to unlock all related stamps and all five profile stars is similar to how the player was required to beat all levels with all characters (Imajin, Mama, Papa, and Lina).
 * Super Smash Bros. for Wii U: The trophies for Birdo and Shy Guy mention that they actually debuted in Doki Doki Panic (the Yume Kojō part of the title is not mentioned in English versions).
 * Paper Mario: Color Splash: During her concert in Plum Park, Birdo sings the line "two hearts in doki doki panic," referencing this game's title.
 * Paper Mario: The Origami King: One of the terms Bob-omb uses to refer to his amnesia is "Thinky Thinky Panic", referencing this game's title, which was where Bob-ombs were first introduced.

Trivia

 * The coin counter in Bonus Chance segments is displayed in . When the player gets more than nine coins in a level, letters from A to F are used instead.
 * Despite appearing in the manual, no gray Shyguys appear in the game.
 * Coincidentally, some promotional materials feature Imajin and Lina posing with Mario and Princess Peach, their eventual replacements in Super Mario Bros. 2.