Cite as
“Gauntlet II (USA)”
Licence
proprietary; never redistributed (docs/data-policy.md#roms)
Credit
Tengen (NES program) and Atari Games; published by Mindscape
Notes
No-Intro "Gauntlet II (USA)". NES 2.0 header: 128 KB PRG ROM, 128 KB CHR ROM, mapper 4 (MMC3), no battery, NTSC. Without the 16-byte header the SHA-1 is d4bb5ee1cbd7e5e9f55ca8544174589f697d6b6f.

Cited on

No page cites it yet.

Claims (6)

Gauntlet II initializes a 55-byte circular random number table by repeatedly adding 21 without clearing the carry flag between iterations and sets two ring indices to 23 and 54. Because carry stays set after every 8-bit wrap and enters from the caller on the first step, wrapped steps advance by 22 rather than a fixed stride of 21; each generator call decrements both indices modulo 55 and stores the byte sum of the two indexed entries back into the table.0x1F8D0-0x1F8E20x1F8E3-0x1F90BCode
Starting a run builds a 117-entry maze deck numbered 1 through 117, swaps slots 100 and 103, and shuffles two interior ranges (slots 6 through 102 and slots 105 through 115) using the random number generator while keeping the opening five mazes in fixed order.0x1A4F4-0x1A53DCode
Each active maze unpacks into a 1,024-byte grid arranged as 32 rows of 32 tiles. Tile-coordinate lookups explicitly mask both row and column modulo 32, whereas pixel-coordinate lookups align the 2-byte row-pointer index across 32 rows and shift the 8-bit horizontal pixel coordinate right 3 bits with no mask so X wraps modulo 256 pixels across opposite edges.0x1A5D1-0x1A5E30x1C8CB-0x1C8FC0x1CBFB-0x1CC3ACode
Stepping onto warp exit tile $AE bypasses the standard exit's single-level increment, unconditionally writes 5 to the pre-display level counter before the transition routine adds 1, assigns 6 to the player's floor counter, and discards 4 stack bytes to jump directly to Level 6 from whichever level contains the tile.0x1E9CA-0x1E9E20x1E9E3-0x1EA320x1EA33-0x1EAEC0x1EB8F-0x1EBC20x1C294-0x1C2B2Code
Each maze tracks three trap-wall switch groups by resetting their row trackers to 255 and optionally pre-disabling one or two random groups with 254. During room unpacking, trap tiles in pre-disabled groups or when traps are disabled globally are overwritten directly with open floor instead of recording a row, while active groups record their topmost row index and clear matching trap walls and their switch tile to floor on contact.0x1AC54-0x1AC850x1A7DA-0x1A8210x1EE00-0x1EE320x1C96A-0x1C9B40x1C9B9-0x1CA1ECode
Keys and magic potions share a combined carry limit of 6 items per player across pickup handlers and the six-slot status display. Pickups allow exceeding 6 when bit 1 of the player's powerup byte is set, and because the limit helper tests keys plus potions against 128 before adding the new pickup, a player at 127 items still passes and reaches 128 on a single pickup or 133 on a 6-key pickup before subsequent pickups at 128 or more are rejected.0x1EC1D-0x1EC360x1EC37-0x1EC4E0x1EC4F-0x1EC9F0x1ED8F-0x1EDA10x1DF92-0x1DFC6Code