Skip to main content

The levels

The engine in ten minutes · Scripts · Script virtual machine · INF format

In brief​

These pages walk through the original game level by level. Each level has a story page, which tells what the player meets — encounters, puzzles, traps, stairs — in short sections, and a reference page, which gives the detail of each encounter, how it is scripted, and the level's data. They complement the general explanation of scripts and the instruction reference, which do not depend on any one level.

Level filePageWhat happens there
LEVEL1.INFLevel 1: the catacombsGuards carrying Grey Keys, Insal's cell, a pit trap, barrels and hidden walls, and a spider quarter behind webs that uses the second sublevel record.
LEVEL2.INFLevel 2: the prisonGuard rooms and a northern ambush, Skull and Dark Moon locks, fireball traps, the prison block with Shorn, Calandra, crumbling walls and Khelben's vision.
LEVEL3.INFLevel 3: the lower catacombs and the ant nestCubes and gargoyles, an ant nest on a second sublevel record, keyhole doors, turning blocks, a treasure that frees gargoyles, a room of nine plates and a portal.
LEVEL4.INFLevel 4: the forestWhere a new game starts: wolves, an old woman, graves, a hidden stairway and the temple entrance.
LEVEL5.INFLevel 5: the temple entranceTwo clerics, a sealed wall opened by four winds, breakable windows, teleporters and a resurrection altar.
LEVEL6.INFLevel 6: the priests' chambersAn angry priest, overheard conspirators, traps and a moving pit, the carving of Talon, gem niches, the mark of Darkmoon and a portal.
LEVEL7.INFLevel 7: the test of faithTwo floors on one map: a lightning floor, mantis eggs and ambushes, Tanglor, a stone mouth that wants bones; upstairs a wasp nest, a lever room and two doors.
LEVEL8.INFLevel 8: the hungry mouthsSeven stone mouths to feed, a fire-breathing mouth, a choice of doors, a dying adventurer whose attack switches the sublevel, and Dran Draggore.
LEVEL9.INFLevel 9: the beholders' hallsRotating teleporters and four keys, beholder ambushes, Khelben's vision, an illusion maze, wisp guards, wind buttons, guardians and a pedestal back to level 5.
LEVEL10.INFLevel 10: the toll room and the timed fieldA monster-free level between levels 6 and 11: a niche toll, a lever-timed teleporter field and a treasure room reached by teleporter.
LEVEL11.INFLevel 11: the bulette halls and the challengeMoving and fixed pits to level 10, fireball plates, levers that reshape magic walls, gems and keys, walls removed by Dispel Magic, Alain, and a duel fought in a second sublevel.
LEVEL12.INFLevel 12: the guarded hallsDran's guardians, a magic mouth, Khelben's vision and the skull, fireball traps, a puzzle of thrown items, a gate with two locks and moving pits.
LEVEL13.INFLevel 13: the medusas' labyrinthA guardian, six shield racks, medusa ambushes, shifting walls, four plates only monsters can hold down, a tooth in a skull and a glass trap down to level 14.
LEVEL14.INFLevel 14: the falling floors and the giants' hallThree floors of moving pits between level 12's stairways, a giants' hall with pits to level 11, a giant's verse and the portal.
LEVEL15.INFLevel 15: the crimson hallsStairs within the level, Crimson Rings that open carved walls, a niche that makes Fire Spheres, shifting walls, Insal and two coin doors, and three spheres that open the way to level 16.
LEVEL16.INFLevel 16: Dran DraggoreTwo sublevel records: dispelled niche fields, a dying mage's Stone Cross, Dran's speech and the final fight whose end writes FINAL.SAV and starts the ending.

The level maps show every level, with its scripted blocks numbered and summarized.

Each reference page covers every reachable script of its level: all its cell bindings, entry points and subroutines, with the dead branches and the script faults found on the way.

The sixteen levels and the level changes of the original scripts, each level coloured by its graphics set.
A new game starts on level 4, in the forest; every other level is reached through scripts: stairs, pits and portals.

Levels with a second sublevel record​

Six levels have two sublevel records. A change of record keeps the monster slots, rewrites only the type entries the new record defines, and releases the images of both banks before it loads the images the new record names. On levels 1, 3, 7, 8 and 11, monsters of bank 1 therefore have no image while the second record is current, and those of bank 0 are drawn with its image.

LevelImages, first record (bank 0, bank 1)Images, second recordType entries it rewritesMonsters placed on the first arrival: number × (type, bank)
1guard1, guard2spider (bank 0)02 × (0, 0), 1 × (1, 0), 1 × (2, 0), 6 × (3, 0), 2 × (4, 0), 2 × (5, 1), 2 × (6, 1), 3 × (7, 1)
3cube, gargoyleant (bank 0)0, 16 × (0, 0), 20 × (1, 1)
7mantis (bank 0 only)wasp (bank 0)0, 11 × (1, 0), 1 × (2, 0)
8fsnake, gassporecleric1 (bank 0)06 × (0, 0), 3 × (1, 0), 4 × (2, 0), 6 × (3, 0), 1 × (4, 1), 2 × (5, 1)
11bulette, basiliskguardian (bank 0)011 × (0, 0), 5 × (1, 1)
16mindflay, salamndrdran (bank 0), dragon (bank 1)0, 1None

The table comes from the sublevel records and initial monsters of the reference INF files. The game's own loader, run in a processor emulator through a change of record and back, gave the same images and type entries and left the 30 monster slots unchanged.

How a level page is organized​

Each level has two pages.

  • The level follows the party: what the level is, its map, then one section per encounter or puzzle, explaining the conditions and effects of its scripts in play order.
  • Its reference tables hold the details that the story relies on: reading conventions (script offsets, directions, message numbers), the bindings — which blocks have a script, which events they accept and which script offset they use —, the bits of the level's flag word, its monster types and, for the six levels that have one, its second sublevel record.

Message and dialogue texts are summarized, not quoted. Script offsets count from the start of the level's script buffer, as in the virtual-machine reference. Positions are written [XX:YY]: column XX and row YY, counted from 00, for block index YY × 32 + XX.