Cite as
“Yume Koujou - Doki Doki Panic (Japan) (DV 1)”
Licence
proprietary; never redistributed (docs/data-policy.md#roms)
Credit
Nintendo; Fuji Television
Notes
No-Intro "Yume Koujou - Doki Doki Panic (Japan) (DV 1)", the Famicom Disk System game: two disk sides of 65,500 bytes each, no fwNES header. Side A holds the main program (MAIN-PRO, 32 KB loaded at $6000); side B holds TEMP-PRG (1,535 bytes at $6000, with the character stats and the Bonus Chance data), seven CHAPT-0n files of 4,608 bytes at $BF00, and one tile file per character (IMAJIN-C, LINA-C, MAMA-C, PAPA-C, 832 bytes each). DV 2 differs from it in 547 bytes, none of them in the ranges the atlas cites. No disassembly of the game exists.

Cited on

Claims (8)

Doki Doki Panic's disk holds Super Mario Bros. 2's character stats table, 92 bytes in the same layout. Mario's, Toad's, and the Princess's 23 bytes each equal the first, second, and fourth blocks on the disk. Luigi's block, the third, differs only in its six take-off speeds, each $02 lower in SMB2, so read as SMB2 reads them, Luigi leaves the ground 0.125 px/frame faster than the disk's block would. The four offsets before the table hold the same values, with the last two swapped.0x10116-0x101430x1015b-0x101710x1014a-0x1014f0x10112-0x10115Code
Super Mario Bros. 2 shrinks a character whose life meter is down to one mark. Chris Kohler's report on Kensuke Tanabe's talk says it was added because growing and shrinking was one of Mario's best-known traits. SMB2's cartridge keeps a full-size and a small tile bank for each character; Doki Doki Panic's disk has one tile file for each of its four, IMAJIN-C, LINA-C, MAMA-C, and PAPA-C, of 832 bytes.0x18cd3-0x18ce20x19024-0x190330x19375-0x193840x196c6-0x196d5Interview
Both games end a level with a Bonus Chance, and Doki Doki Panic's disk holds Super Mario Bros. 2's 24 bytes of slot-machine reels with two exceptions. Where SMB2's first reel has a turnip (its second symbol) and a Snifit (its fifth), the disk has $00, the value SMB2's code reads as a cherry, so that reel holds three of SMB2's cherry values on the disk and one in SMB2. A cherry on the first reel wins a life.0x104f2-0x10509Code
Both games have 20 levels in seven parts: Doki Doki Panic's manual calls them pages in seven chapters, and Super Mario Bros. 2's calls them areas in seven worlds. SMB2's table of each world's first level, three levels a world and two in the last, is on Doki Doki Panic's disk byte for byte.0x1b0e-0x1b15Manual
Most of Super Mario Bros. 2's enemy tiles occur on Doki Doki Panic's disk: 234 of the 244 non-blank tiles in its four banks of world enemies occur in the disk's tile files, byte for byte, and 80 of the 122 in its two banks of common enemies. Of the 199 non-blank tiles in Doki's four character files, 2 occur in SMB2's CHR ROM. Tiles are counted as often as they occur.0xa06f-0xc05e0xc070-0xcc6f0x18ce4-0x190230x19035-0x193740x19386-0x196c50x196d7-0x19a160x19a28-0x19c270x19c39-0x1a6380x1a64a-0x1b0490x1b05b-0x1ba5a0x1ba6c-0x1c46bCode
Super Mario Bros. 2's song data shares no run of more than 5 bytes with either Doki Doki Panic disk: that is the longest run found for the twelve data regions of the ROM map's music part (the songs, their pointers and headers, and the level music indexes). The sound engine's six regions share none of more than 17 bytes and the sound effects' three none of more than 14, while the two routines that pick an area's music share a run of 24 bytes. Tanabe's team greatly enhanced the sound effects, Chris Kohler reported.0x0-0x1ffb7Interview
Super Mario Bros. 2's cartridge keeps Doki Doki Panic data that it never shows. The 24 bytes the disassembly calls MysteryData14439, copied to RAM and unused, are on Doki's disk unchanged, and so are the 32 bytes of sprite entries it labels as the heads of Imajin, Lina, Mama, and Papa. After the heads, SMB2 has a PPU write of 20 blank tiles ($FB) at $20C6, which the disassembly labels BonusChanceUnused_BONUS_CHANCE; the disk's write at the same place holds text (bonus-chance-text).0x103e8-0x103ff0x10512-0x10531Code
Where Super Mario Bros. 2 writes 20 blank tiles at $20C6, Doki Doki Panic's disk writes 20 tiles that, decoded through SMB2's own letter codes, read "--- BONUS CHANCE ---", the text the disassembly's comment guessed from the write's place and length. This is a decode, not a byte match: the letters are SMB2's codes from its "NO BONUS", "PUSH (A) BUTTON", and title-card text, and how Doki Doki Panic draws its own text is unread.0x10532-0x10549Code