← All Cheat Codes

Debug Mode and Level Select

Sonic the Hedgehog 2 · Sega Genesis · 1992 · Debug Mode

Options > Sound Test: play 19, 65, 09, 17 to enable Level Select; from the Level Select sound test, play 01, 09, 09, 02, 01, 01, 02, 04 to enable Debug Mode

Effect: Unlocks a full level select menu and a debug mode for placing objects in any stage.

Sonic 2's level select and debug cheats were hidden behind the Sound Test in the Options menu: playing 19, 65, 09, 17 — Yuji Naka's birthday (17 September 1965) — unlocks Level Select, and a second sound-test sequence (1, 9, 9, 2, 1, 1, 2, 4, the game's 24 November 1992 US release date) enables debug placement. Fragments of the famously unfinished Hidden Palace Zone, cut before release, remained in the ROM and could be reached with cheat devices. Hidden Palace Zone became a major topic in the early Sega fan community and launched years of speculation about what the complete zone would have looked like.

The Story Behind the Code

Sonic the Hedgehog 2 was developed at Sega Technical Institute in California, with Yuji Naka again as programmer, and released in North America and Europe on 24 November 1992, a launch Sega marketed as "Sonic 2sday". It sold 400,000 copies in the US and 750,000 in the UK in its first week — the fastest-selling game in Britain at the time — and about six million worldwide by 2006, second only to the original among Genesis games.

Hidden Palace Zone was meant to be a secret level reached by collecting the Chaos Emeralds; Naka said it would have explained the emeralds' origin and granted Super Sonic. It was shown heavily in pre-release advertising but cut shortly before completion for lack of time and cartridge space. A prototype containing it leaked in 1999, fuelling years of fan research into unused content, and the zone was finally restored as an optional level in the 2013 mobile remake.

Key Facts:
  • The level-select code 19, 65, 09, 17 encodes Yuji Naka's birthday
  • Remnants of the cut Hidden Palace Zone survive in the ROM, though not on the level select
  • Hidden Palace Zone became one of the most discussed "lost" game areas of the 16-bit era

Sources & further reading