Yume Kōjō: Doki Doki Panic

Yume Kōjō: Doki Doki Panic (translated as "Dream Factory: Heart-Pounding Panic") is a Japan-only video game developed by Nintendo in cooperation with Fuji Television for the Family Computer Disk System to promote its event called Yume Kojō '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 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.

Impact on the Mario Series
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 Shy Guys, 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 POW Blocks (from Mario Bros.) and Starmen (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 series. 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 (and their Mario counterparts)

 * Imajin (Japanese transliteration of "Imagine") 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. Like his brother's balanced stats, Luigi's higher jumps has stayed in the Mario series.
 * Lina can hover, although she is low in speed and strength. Princess Toadstool replaces her. Lina's moves inspired two of Peach's moves in Super Smash Bros. Melee and later Super Smash Bros. Brawl,and Peach being able to float is often used or seen in later games, including Super Mario 3D World.
 * Papa is the strongest character in the game and can run the fastest, but 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.
 * Poki and Piki are non-playable characters who get captured by Wart at the beginning of the game, and are rescued after his defeat. They are replaced by the Subcons in Super Mario Bros. 2.

Graphics

 * Shells were originally Blackface heads. They were edited in the western releases due to the controversy over blackface mocking African-Americans.
 * Magic Potions were originally Magic Lamps.
 * Mushrooms were originally large 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 were less menacing originally.
 * Mushroom Blocks were originally various masks.
 * Some vegetables looked slightly different.
 * In the US version, animations are given to cherries, POW Blocks, vines, grass tufts, Crystal Balls, Bomb fuses, water, cloud platforms, and spikes.
 * Waterfalls move much faster.

Miscellaneous

 * The title screen is entirely different.
 * 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 Wart after accidentally tearing out the last page. A monkey known as Rūsa witnessed this and informed the Arabian family.
 * A save feature is included.
 * The player cannot run by holding the button, as that was a feature that was exclusive to the Mario series.
 * It takes four hits for Wart to be defeated in Doki Doki Panic, two less than in Super Mario Bros. 2; This is also present in the prototype version of Super Mario Bros. 2.
 * Sound effects are changed due to limitations between the Disk System and the NES, which had fewer pin connectors.
 * 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 they Key is retrieved, the Phanto comes to life and begins attacking.
 * An albino Mouser appeared as the boss of 5-3. In the localized versions, it was replaced with Clawgrip. Its replacement was likely because the albino Mouser attacked much more erratically than its grey-skinned counterparts, thus making it seem too powerful. Because of this, Clawgrip is the only enemy exclusive to the western releases.''
 * 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 Subspace 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 overworld theme is slightly shorter. The extended theme is exclusive to Super Mario Bros. 2.
 * Enemies scream when defeated.
 * Upon grabbing the Starman, an Arabian-sounding tune plays in Doki Doki Panic, while the standard Super Mario Bros. Starman fanfare plays in SMB2.
 * 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.

References in later games

 * Super Mario Bros. 2 - Yume Kōjō: Doki Doki Panic is the source of Super Mario Bros. 2, and few differences exist between the games. In addition, Doki Doki Panics cover art was traced and edited into a piece of official art for Super Mario Bros. 2. The credits theme from Super Mario Bros. 2, which replaced a completely different song from Doki Doki Panic, is remixed from an arpeggiated chord progression and melody taken from Doki Doki Panics title screen / intro theme, a song which likewise does not exist in Super Mario Bros. 2.
 * 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: On Toad Harbor, there is a sign saying "Shy Guy Metals: Since 1987", while this game was the debut of Shy Guys, and it was released in 1987.
 * Super Smash Bros. for Wii U - Several trophies mention that a character or enemy actually debuted in Doki Doki Panic (removing the Yume Kojō part of the title, presumably due to licensing concerns).

Trivia

 * The coin counter in Bonus Chance segments is displayed in hexadecimal. When the player gets more than nine coins in a level, letters from A to F are used instead.
 * Imajin, Lina, Mama, Papa, Poki and Piki, and Rūsa were created by the Fuji Television Network as the mascots for their Yume Kojō '87 (夢工場 '87) event, while all the other characters in the game were created by Nintendo.
 * Apparently, the masks in the game are a direct reference to said event. The event's theme was based around a Mardi Gras celebration.
 * Despite appearing in the manual, no Gray Shy Guys appear in the game.
 * The mask blocks bear resemblance to Gene Simmons. Whether or not this is a coincidence is unknown.
 * Some of the sound effects heard in the Super Mario All-Stars port of Super Mario Bros. 2 sound a lot more to the ones heard in this game.
 * Coincidentally, some artwork and commercials of the game feature Imajin and Lina posing with Mario and Princess Peach, their eventual replacements in Super Mario Bros. 2.
 * The game's credits theme bears a loose resemblance to the ending/credits theme of Super Mario World.