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 file | Page | What happens there |
|---|---|---|
LEVEL1.INF | Level 1: the catacombs | Guards 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.INF | Level 2: the prison | Guard 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.INF | Level 3: the lower catacombs and the ant nest | Cubes 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.INF | Level 4: the forest | Where a new game starts: wolves, an old woman, graves, a hidden stairway and the temple entrance. |
LEVEL5.INF | Level 5: the temple entrance | Two clerics, a sealed wall opened by four winds, breakable windows, teleporters and a resurrection altar. |
LEVEL6.INF | Level 6: the priests' chambers | An angry priest, overheard conspirators, traps and a moving pit, the carving of Talon, gem niches, the mark of Darkmoon and a portal. |
LEVEL7.INF | Level 7: the test of faith | Two 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.INF | Level 8: the hungry mouths | Seven stone mouths to feed, a fire-breathing mouth, a choice of doors, a dying adventurer whose attack switches the sublevel, and Dran Draggore. |
LEVEL9.INF | Level 9: the beholders' halls | Rotating 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.INF | Level 10: the toll room and the timed field | A monster-free level between levels 6 and 11: a niche toll, a lever-timed teleporter field and a treasure room reached by teleporter. |
LEVEL11.INF | Level 11: the bulette halls and the challenge | Moving 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.INF | Level 12: the guarded halls | Dran'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.INF | Level 13: the medusas' labyrinth | A 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.INF | Level 14: the falling floors and the giants' hall | Three 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.INF | Level 15: the crimson halls | Stairs 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.INF | Level 16: Dran Draggore | Two 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.
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.
| Level | Images, first record (bank 0, bank 1) | Images, second record | Type entries it rewrites | Monsters placed on the first arrival: number × (type, bank) |
|---|---|---|---|---|
| 1 | guard1, guard2 | spider (bank 0) | 0 | 2 × (0, 0), 1 × (1, 0), 1 × (2, 0), 6 × (3, 0), 2 × (4, 0), 2 × (5, 1), 2 × (6, 1), 3 × (7, 1) |
| 3 | cube, gargoyle | ant (bank 0) | 0, 1 | 6 × (0, 0), 20 × (1, 1) |
| 7 | mantis (bank 0 only) | wasp (bank 0) | 0, 1 | 1 × (1, 0), 1 × (2, 0) |
| 8 | fsnake, gasspore | cleric1 (bank 0) | 0 | 6 × (0, 0), 3 × (1, 0), 4 × (2, 0), 6 × (3, 0), 1 × (4, 1), 2 × (5, 1) |
| 11 | bulette, basilisk | guardian (bank 0) | 0 | 11 × (0, 0), 5 × (1, 1) |
| 16 | mindflay, salamndr | dran (bank 0), dragon (bank 1) | 0, 1 | None |
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.