Level 7: reference tables
Level 7 · The levels · Level data (INF)
In brief
The details of level 7: the data of the level, how to read the script details, every scripted place and encounter as the scripts run it, the cell bindings, the level flags and the monster types, with its sublevel records when it has two. Its story page tells the same places and encounters in a few sentences each.
Level data
The level has two sublevel records, which share the maze LEVEL7.MAZ, the
silver graphics and sound, one door record and a step threshold of 0
(no step-triggered script). The first record is used for the lower floor,
with mantises; the second for the upper floor, with wasps; see
sublevel records. Two monsters are present at the
start.1
Reading this page
- Coordinates. A position [XX:YY] gives the column
XXand the rowYY, counting from00; the block index used by the files and the instructions isYY × 32 + XX. - Directions and sides. Directions are 0 = north (decreasing row),
1 = east, 2 = south and 3 = west, and side
sof a block is its face turned towards directions(Direction). - Script offsets count from the start of the INF
script_datafield (decoded payload offset 1310 in the reference file). Message numbers index the level's 32 strings and text numbersTEXT.DAT; both are summarized, not quoted. - Speakers are chosen as on the level 4 page.
- Record 0 and record 1 are the two sublevel records. "Record" in the bindings table names the part of the map where the block lies: the party can reach it only while that record is current.
- A placement is a
SCRIPT_SPAWN_MONSTERinstruction, which can be refused by its checks. A mantis (occupancy class 2) is placed only in a block that holds no monster and is not the party's block; a wasp (class 0) can join other wasps standing off the centre. - Level flags are bits of this level's flag word
(
SCRIPT_FLAG_TARGET_LEVEL); their names below are descriptive.
Arrival and the way down
A level change ends by moving the party onto its arrival block, which runs
that block's entry script. Arriving at [15:06], or entering it later, first
forbids resting (SCRIPT_FLAG_TARGET_REST_ALLOWED).
The first time (level flag 22), the scene is redrawn, a short delay passes
and the dialogue screen shows the upper-left region of CHOICE with sound
54 and text 89: an apparition welcomes the party to the test of faith and
tells it to trust only itself.2
The stairs at [14:06], west of [15:06], use the stairs pattern described on the level 5 page: entering facing 3 forbids resting, prints message 0, plays sound 79, allows resting again and loads level 5, sublevel 0, at [13:06] facing 3; entering in another direction prints message 1, plays sound 29 and moves the party back to [15:06]. Items placed or flying into [14:06] go to level 5 [13:06].3
The lightning floor
The room east of the arrival, columns 17 to 22 and rows 5 to 9, is a floor of 23 blocks that carry reference 59 or 60 on their four sides. Both references let the party through and keep monsters out; they differ in their decoration, and the scripts strike only on 60. Below, 59 is called a safe tile and 60 a charged tile. Entering [16:06], [17:05], [17:09], [22:07] or [22:08] forbids resting; entering [17:04], [17:10], [23:07] or [23:08], the blocks around the floor, allows it again.4
Entering a tile. Each of these blocks has an entry script, which runs
SCRIPT_SPECIAL_EVENT with
SCRIPT_SPECIAL_EVENT_LIGHTNING, then
SCRIPT_DAMAGE_CHARACTERS
on every character, with SCRIPT_SAVING_THROW_TYPE_4 and
SCRIPT_SAVING_THROW_EFFECT_NEGATE (a successful saving throw cancels a
character's damage; ScriptSavingThrowType).
Seven blocks that no script ever changes strike unconditionally; the 16
others strike only while their side 0 holds 60. The damage is 6d6, except
4d6 at [19:08] and [22:07] and 2d6 at [22:08].
The cycle. The level's timer sends BLOCK_EVENT_TIMER to [17:07] every
18 ticks of the game clock, about once a second, while record 0 is current.
While level flag 17 is clear, each event rewrites ten tiles in the next of
three patterns, redraws the scene and strikes the party if it stands on a
tile that the new pattern charges:4
| Tile | Pattern 1 | Pattern 2 | Pattern 3 |
|---|---|---|---|
| [17:07] | safe | safe | charged |
| [18:07] | charged | safe | safe |
| [19:06] | safe | charged | safe |
| [19:07] | safe | charged | safe |
| [19:08] | safe | charged | charged |
| [19:09] | charged | safe | safe |
| [20:09] | safe | charged | safe |
| [21:08] | charged | safe | safe |
| [21:09] | safe | safe | charged |
| [22:08] | safe | charged | safe |
| Damage if struck | 6d6 | 5d6 | 6d6 |
Levels flags 18 and 19 record the phase: pattern 1 sets 19, pattern 2 clears 19 and sets 18, pattern 3 clears 18. Every other tile of the room keeps the reference it has; [17:05], [17:06], [17:08] and [17:09] start charged.
The lever. Activating the lever on the north face of [27:09] plays sound 1 and toggles level flag 17:
- flag clear: it is set, the ten cycled tiles and [17:05], [17:06] and [17:08] become safe, and the cycle stops;
- flag set: it is cleared, [17:05], [17:06], [17:08] and [17:09] become charged again, and the cycle resumes.
[17:09] is never made safe: the safe pattern leaves it out, although the other branch charges it. No script changes [21:07] and [22:07] either, so these three tiles always strike, like the seven unconditional ones.
Cycle switches. While the lever is still in its first position (side 0 of [27:09] holds 31), entering [27:05], [26:09], [15:13] or [14:12] sets flag 17, which stops the cycle in its current pattern, and entering [27:07], [26:08] or [15:12] clears it. These blocks lie on the ways around the room. Since the lever acts on the flag rather than on its own position, pulling it after one of these blocks has set the flag restarts the cycle instead of making the floor safe.
The mantis room. East of the floor, [23:07] and [23:08] are solid at the
start. Entering [21:08] or [22:08] while level flag 2 is clear calls the
subroutine at offset 2, after the tile's own strike. It sets flag 2, places
four mantises facing 3, at [24:07] (type 1), [24:08] (type 2), [25:07]
(type 2) and [25:08] (type 1), plays sound 13 at [23:07], sets the four
sides of [23:07] to WALL_REFERENCE_CLEARED_ON_ENTRY
(SpecialWallReference), which
the party crosses and monsters do not until the party enters it, and opens
[23:08]. The mantis at [24:07] always leaves a dagger when it dies, the one
at [24:08] one time in ten, and the one at [25:08] always leaves a Bone
Key.3
Mantis ambushes
Five blocks place mantises once, all in MONSTER_MODE_PURSUE unless
stated:3
| Entering | Level flag | Mantises placed |
|---|---|---|
| [17:04] | 4 | Type 1 at [13:04], type 2 at [15:01], facing 0 |
| [17:10] | 6 | Type 2 at [15:12], facing 3, always leaving a dagger |
| [01:02] | 10 | Type 2 at [01:05], facing 0, in MONSTER_MODE_WAIT |
| [10:11] | 8 | Type 2 at [09:10] and type 1 at [07:10], facing 2 |
| [08:02] | 9 | Type 1 at [05:01] and type 2 at [05:02], facing 1 |
[17:04] and [17:10] also allow resting. At [08:02] the party is turned to face 3 and the scene is redrawn; the dialogue box shows text 110, with sound 58, in which a mantis throws a sphere at the party, and the script then launches a Fireball from [06:02] eastwards, which deals 1d6 × 9 on this level. The same script clears level flag 8, so the ambush of [10:11] happens again the next time the party enters that door block.
The wounded mantis
The mantis of type 2 placed at [17:00] at the start stands in a closed
block north-west of [18:01]. Entering [18:01] (level flag 5) turns the party to
face 1, waits, and shows the lower-left region of SOUT2 with sound 57 and
a three-answer question, text 41, made of insect clicks (messages 10–12:
heal, kill, leave):3
- Heal (answer 1):
SCRIPT_MOVE_MONSTERSmoves the mantis to [19:01], next to the party; it is in pursuit mode. - Kill (answer 2): sound 58 and text 42 say that the mantis is easily defeated, and a Mantis Key is created at [19:01]. The mantis itself is not touched: it stays alive at [17:00], with its own Mantis Key.
- Leave (answer 3): flag 5 is cleared, so the question comes back on the next entry.
Doors and locks
Six keyholes open doors with a key of a given value
(ITEM_TYPE_KEY). Each script tests that the
door is still closed (its side holds reference 8 or 18), then reacts to the
item held:3
- The right key: sound 14,
SCRIPT_OPEN_DOORand the key is deleted. - Another key: message 3 (the key does not fit) and sound 81.
- Lock picks (item type 28), with a
CHARACTER_CLASS_THIEFin the party (CharacterClassMask): on a pickable lock, a roll of 1 on 1d3 opens the door with sound 14 and message 4 (the lock is picked), otherwise message 5 (the attempt fails); on the other locks the attempt always fails. Without a thief, message 6. - Any other item: message 7 (a key is needed).
- An open door: message 8.
| Keyhole (face) | Door | Key | Pickable | Record |
|---|---|---|---|---|
| [28:07] (west) | [27:06] | Bone Key (8) | yes | 0 |
| [01:01] (south) | [01:04] | Mantis Key (10) | yes | 0 |
| [11:10] (south) | [10:11] | Mantis Key (10) | no | 0 |
| [11:14] (north) | [10:13] | Copper Key (3) | no | 0 |
| [05:15] (north) | [06:15] | Bone Key (8) | no | 0 |
| [17:25] (west) | [17:26] | Copper Key (3) | no | 1 |
A successful pick also deletes every key lying in one block: [00:00] for the lock of [28:07], [10:08] for the lock of [01:01].
Picking the lock of [01:04] destroys the keys lying at [10:08]. After a successful pick, the script of [01:01] runs
SCRIPT_DELETE_ITEM with
ITEM_TYPE_KEY on [10:08], a block of the pits corridor where the level's
Mantis Key lies at the start. The other pickable lock of the level, at
[28:07], deletes keys at [00:00], where no item lies. If the party picks
this lock before taking that Mantis Key, the key disappears. The loss blocks
nothing: [10:08] and [01:01] can be reached only through the door of [10:11],
whose lock needs a Mantis Key and cannot be picked, so the party already has
a key from the wounded mantis, and the lock of [01:04]
is the one just picked (inferred from the map).
The Mantis Key of the wounded mantis is not affected.
A faithful reimplementation deletes the keys of [10:08] at this point.
The lever on the south face of [26:02] toggles the door of [25:03] with
SCRIPT_TOGGLE_DOOR.
The pits
West of the lightning floor, a corridor runs south from [10:04] past two
pits to a lever, and a closed chamber lies beside it at [12:05]–[12:07].
Reference 38 is an open pit (SCRIPT_TOGGLE also tests 37 and 39, but no
script writes 37 there, so that branch never runs). A pit here does not lead
to another level: the party falls into the chamber.5
- [10:06], a pit from the start. Entering it with side 0 at 38 or 39
deals 2d6 to every character, cancelled by a ring of Feather Fall
(
SCRIPT_DAMAGE_RING_NEGATES,ScriptDamageFlags), without saving throw, and moves the party to [12:06]; items placed there go to [12:06]. - [10:05], a floor at the start. While it is a pit, entering it deals the
same damage and moves the party to [12:05]; items go to [12:05]. While it
is a floor, a dwarf (
race_and_sexshifted right once equals 3,CharacterRace) remarks once that the floor seems unsound (message 15, sound 79, level flag 29). - The lever at [11:04] (west face, seen from [10:04]) plays sound 7 and toggles [10:05] between floor and pit. When [10:05] becomes a pit, items lying there go to [12:05], and the party, if it stands on it, takes the fall damage and goes to [12:05].
- The lever at [10:07] (north face, across the pit of [10:06]) reacts to a click and to a flying object, so it can be hit by a thrown item. It plays sound 7, turns [10:06] into floor, removes the walls of [10:07] and then toggles [10:05] like the lever of [11:04]: a party standing on [10:05] to throw falls.
- The chamber has no exit but the teleporter of [12:07]: entering it plays sound 15 and moves the party to [08:10]; items placed or flying into it go to [08:10].
The mantis nest
The corridor of column 1, behind the door of [01:04], is the mantises' nest:6
- Guard. [01:02] carries
WALL_REFERENCE_CLEARED_ON_ENTRYon its four sides: monsters cannot cross it until the party has entered it. Entering it places a mantis at [01:05] (see ambushes). - Rest. Entering [01:04], the door, forbids resting; entering [01:03] allows it again.
- Remark. Entering [01:06] once (level flag 28) makes a party member say that the nest has been found (message 16, sound 79).
- Eggs. Eight eggs line the corridor at [00:05]–[00:08] and
[02:05]–[02:08], and one more lies at [23:04]: blocks with reference 68 on
their four sides (
INF_WALL_SPECIAL_DECORATION_SCRIPT_ALT,InfWallSpecialType). Activating an egg shows message 9, a description of it. Using a weapon on it, an item whose kind isITEM_KIND_MELEE, changes its sides to 69, a passable broken egg, places a mantis of type 0 in it, facing the corridor (direction 1 from column 0, 3 from column 2; 0 at [23:04]), and redraws the scene. - Hatching. Entering [01:09] once (level flag 11) hatches every egg of the corridor still intact: each becomes 69 and receives a mantis of type 2 facing 2; the scene is redrawn.
- The eye. The north face of [01:10], seen from [01:09], carries an eye
(reference 61). The first activation with an item of type 0 and value 0
in hand — the values of item entry 0, which the condition reads when no
item is held (anomaly);
an axe of value 0 matches as well — sets level flag 20, puts a Green Gem
in hand (
SCRIPT_ITEM_DESTINATION_HELD_OR_CURRENT,ScriptItemDestination) and changes the four sides of [01:10] to 62. Holding a gem of typeITEM_TYPE_GEMand value 3, such as that Green Gem, against reference 62 deletes it, removes the walls of [01:10] and plays sound 13: the way to [01:11], where a Copper Key, a Fire Sphere and the Mantis Idol lie, is open. Any other activation shows message 17, that the eye does not move.
Tanglor
Entering [20:03] once (level flag 27) turns the party to face 1 and opens a
dialogue in three pictures of TANGLOR: sounds 62 and 61, text 106 (an
adventurer asleep in a corner), text 107 (he wakes and takes the party for
clerics, then for fellow adventurers) and a two-answer question, text 108,
in which he asks to join (messages 25 and 26).7
- Yes: message 27 announces that Tanglor joins, and
SCRIPT_SPECIAL_EVENTwithSCRIPT_SPECIAL_EVENT_RECRUIT_NPC_4adds character preset 4, asking for a member to leave when the party is full. - No: every item lying at [21:04], a shield and a short sword at the start, is deleted, and text 109 says that he leaves.
The stone mouth
The east face of [15:15] is a stone mouth (reference 67), seen from
[16:15]. Entering [16:15] while level flag 16 is clear sets flag 12, turns
the party to face 3 and shows message 18 in the dialogue box, with sound 56
and an animation of 14 views of MMOUTH2: the mouth asks for three bones.
It repeats at each entry until the mouth is satisfied.8
Activating the mouth while flag 12 is set and flag 16 clear tests the held item:
- a skull or a femur, of item type 6 or 8 and value 0: the bone is deleted, sound 9 plays and the first clear flag among 13, 14 and 15 is set. When all three are set, flags 21 and 16 are set, sound 25 plays at [15:15], a Bone Key is put in hand, message 19 thanks the party with sound 91, and the mouth's face becomes 66, a closed mouth;
- anything else: message 20, a plea for bones, with sound 56.
Otherwise the activation shows message 21, a description of the mouth. The level holds one femur, at [05:26], in record 1's part of the map; the graves of level 4 give others.
The niche and the windows
The plaques on the south faces of [21:11] and [23:11] show messages 13 and
14: two maxims about venturing and trust. Between them, the niche of
[22:11] swaps what it holds with the hidden block [30:00], where a wand lies
at the start: an item put into it is moved to [30:01], the items of [30:00]
are moved into the niche, and those of [30:01] are moved to [30:00], with
SCRIPT_MOVE_ITEMS.
Each new item put into the niche takes the place of the previous one.3
Ten windows (reference 58) show message 29, a view of mountains and clouds: seven in record 0's part of the map and three, at [00:15], [00:17] and [00:19], in record 1's.
Stairs between the two floors
Two stairs blocks side by side join the floors. [09:13] goes up: entering it facing 3 prints message 28, plays sound 79 and loads level 7, sublevel 1, at [07:13] facing 3; in another direction it prints message 1, plays sound 29 and moves the party back to [10:13]. [08:13] goes down: entering it facing 1 prints message 0, plays sound 79 and loads sublevel 0 at [10:13] facing 1; otherwise the party is moved back to [07:13]. Items placed or flying into either block go to its arrival block.3
The wasp nest
The west of the upper floor surrounds a wasp nest. In record 1, references
64 and 65 are script walls (INF_WALL_SPECIAL_DECORATION_SCRIPT): 15 faces
of reference 65 show message 30, a description of the nest, and one face of
reference 64, at [04:24], shows message 31, a movement inside the nest.
Record 0 does not map these references.9
- The swarm. Entering [01:15] once (level flag 24) places 23 wasps, 13 of
type 0 and 10 of type 1, on the quarters of seven blocks: three each at
[05:26], [02:20] and [07:21], two at [00:24] and four each at [09:20],
[08:23] and [08:26]. All are in
MONSTER_MODE_PURSUE. With the monsters already on the level, these placements can fill the 30 monster slots; each placement then replaces the living monster farthest from the party. - Inside or outside. Each entry into [02:19] toggles level flag 1.
- Reinforcements. Record 1's timer sends
BLOCK_EVENT_TIMERto [05:24] every 42 × 18 = 756 ticks, about 41 seconds. While flag 1 is set, the script places a wasp of type 0 on quarter 0, one of type 1 on quarter 2 and one of type 0 on quarter 1 of [05:24], facing 1.
The lever room
A room of four levers and four pits lies in the middle of the upper floor. Each lever opens one of four doors of the surrounding corridors, at [21:20], [19:21], [17:23] and [14:21].10
Reset. Entering [19:18] while level flag 25 is clear plays sound 17 and
restores the room: reference 31 (a lever in its first position) on the east
faces of [19:17] and [19:19] and the west faces of [23:17] and [23:19];
floor at [20:17], [20:19], [22:17] and [22:19]; the four exit doors closed
(reference 8 on their two door faces); and reference 29 on the east face
of [15:22]. Every entry into or exit from [19:18] then plays sound 12 there.
Entering [13:21], which carries WALL_REFERENCE_CLEARED_ON_ENTRY, sets flag
25 and ends the resets. The reset writes the door faces and leaves any
door operation running: a door still opening
goes on from the written reference 8 through 9 to 12 and ends open, with its
lever back in place and its pit closed. A door takes about a second to open,
so this needs a reset that soon after pulling a lever (inferred).
Levers. Each lever opens one door and opens a pit, sound 17 playing at the pit, but only while that pit is still a floor:
| Lever (face) | Opens the door of | Opens the pit at | Pit drops the party to |
|---|---|---|---|
| [19:17] (east) | [17:23] | [22:17] | [26:18] |
| [19:19] (east) | [19:21] | [20:17] | [24:18] |
| [23:17] (west) | [14:21] | [22:19] | [26:20] |
| [23:19] (west) | [21:20] | [20:19] | [24:20] |
Pits. Entering an open pit (reference 38 or 39 on side 0) deals 2d6 to every character, cancelled by a ring of Feather Fall, and moves the party to the landing block; items placed there go to the same block. The pit of [22:17] works only while the east face of [15:22] still holds 29: once that lever has been moved, the party crosses [22:17] without falling. The landing blocks lie east of the room; the teleporter of [25:17] returns the party, with sound 15, to [18:18], and items placed or flying into it follow.
Hints. The plaque on the west face of [23:18] shows message 23, a maxim about faith. Entering [16:22] gives, with a probability of 4 in 10 and only once (level flag 26), a remark that a brick of the west wall is out of place (message 22, sound 79); that brick is the lever on the east face of [15:22], whose activation plays sound 7.
The two doors and the way up
Second greeting. Entering [22:25] once (level flag 23) opens a dialogue
in four pictures of CHOICE, with sound 54: texts 90 to 93, in which the
apparition greets the party again, announces a last obstacle and says that
the door on the left leads to the next trial and the door on the right to
almost certain death.11
The doors. South of the corridor that leads down from [22:25], two doors open southwards, [21:28] on the west side and [23:28] on the east side. Each leads to a teleporter:
- [21:29], behind the west door, plays sound 15 and moves the party to [26:28], next to the stairs up; items placed or flying into it go there. [26:27], north of [26:28], is the teleporter for the way back: it moves the party, or the items, into the door block of [21:28].
- [23:29], behind the east door, deals 3d6 + 24 to every character
(
SCRIPT_SAVING_THROW_TYPE_4, a successful saving throw cancels it), plays sound 15, moves the party to [08:13] and sets bit 29 of the global flags. Items placed or flying into it go to [08:13].
[08:13] is the stairs down of the two floors, so the move runs its script: facing 1, the party goes down to [10:13] of record 0; facing any other way, it is pushed back to [07:13], the top of the stairs up. A party that walks south into [23:29] faces 2 and is therefore sent back to [07:13].
Facing south, as a party coming from [22:25] does, the east door is on the left and the west door on the right (inferred: the texts do not say from where): the door that the apparition recommends then leads to the punishment, and the one it warns against leads on. Level 8 remembers the punishment through global bit 29; see the choice of doors there.
Stairs up. Entering [26:30] facing 2 prints message 28, plays sound 79 and loads level 8, sublevel 0, at [29:30] facing 2; in another direction it prints message 1, plays sound 29 and moves the party back to [26:29]. Items placed or flying into it go to level 8 [29:30].
What the scripts cover
This page covers every reachable script of the reference file: 124 cell
bindings, 125 script entry points including one shared subroutine, and 996
instructions. The decoding finds no unknown operand layout; 12 bytes in four
places follow a level load and are never executed. Message colors are palette colors (Print a message). Sound numbers select entries of the level's sound file,
SILVER.ADL or SILVER.SND (see the
sound-effect table).3
Sublevel records
The two records name the same files and differ in what they give the monsters, the walls and the timers:1
| Part of the record | Record 0 | Record 1 |
|---|---|---|
| Monster image | mantis, with its decoration file MANTIS.DCR | wasp, without decorations |
| Monster types | 0 to 2 | 0 and 1 |
| Wall mappings | 33 | 24 |
| Decoration resources | silver1, silver2 | silver1 |
| Script timer | [17:07], interval 1 | [05:24], interval 42 |
Record 0 alone maps references 45, 48, 51, 59 to 62 and 66 to 69 (the niche, a keyhole, the stuck door of [15:13], the lightning tiles, the eye, the stone mouth and the eggs); record 1 alone maps references 64 and 65, the walls of the wasp nest. Reference 38, the open pit, lets monsters pass in record 0 but not in record 1. The other 22 mappings are the same.
The map holds two floors that do not overlap. Record 0 is the lower one, in the north of the map, which the party reaches from level 5. Record 1 is the upper one, in the south and west, which the party reaches by the stairs at [09:13] or from level 8; the bindings table gives the part of each scripted block. Each part uses only the references its record maps, and no script moves the party from one part to the other within a record.12
| Instruction | Loads | Arrival |
|---|---|---|
| Level 5, stairs at [14:06] | record 0 | [15:06], facing 1 |
| Stairs up at [09:13] | record 1 | [07:13], facing 3 |
| Stairs down at [08:13] | record 0 | [10:13], facing 1 |
| Level 8, stairs down at [29:29] | record 1 | [26:29], facing 0 |
Changing record is an ordinary level change: the walls, monster slots and temporary walls carry over, the new record's monster types and images apply to the kept monsters, and its timer replaces the other one; see sublevels. The lightning floor therefore stops changing while record 1 is current, and the wasp timer runs only then.
Bindings
Blocks whose flags are zero still receive the events that need no enabling
bit: BLOCK_EVENT_WALL_DECORATION (activated walls) and the timer event
(its target). Several blocks with the same purpose share a row; their
scripts are listed in the same order as the positions.1
| Positions | Enabled events | Scripts | Record | Purpose |
|---|---|---|---|---|
| [14:06] | BLOCK_EVENT_PARTY_ENTER, BLOCK_EVENT_ITEM_PLACED, BLOCK_EVENT_FLYING_OBJECT | 80 | 0 | Stairs down to level 5 |
| [15:06] | BLOCK_EVENT_PARTY_ENTER | 211 | 0 | The apparition |
| [16:06] | BLOCK_EVENT_PARTY_ENTER | 1237 | 0 | Lightning floor, no rest |
| [17:05], [17:06], [17:08], [17:09], [18:07], [19:06], [19:07], [19:08], [19:09], [20:09], [21:07], [21:08], [21:09], [22:07], [22:08] | BLOCK_EVENT_PARTY_ENTER | 269, 295, 691, 715, 741, 777, 801, 825, 849, 909, 945, 969, 1006, 1042, 1068 | 0 | Lightning floor, tested tiles |
| [17:07] | BLOCK_EVENT_PARTY_ENTER (and BLOCK_EVENT_TIMER) | 319 | 0 | Lightning floor, tile and cycle |
| [18:08], [20:06], [20:07], [20:08], [21:06], [22:06], [22:09] | BLOCK_EVENT_PARTY_ENTER | 765, 873, 885, 897, 933, 1030, 1107 | 0 | Lightning floor, always charged |
| [23:07], [23:08] | BLOCK_EVENT_PARTY_ENTER | 1231, 1234 | 0 | Lightning floor, rest allowed |
| [27:05], [27:07], [26:08], [26:09], [15:12], [15:13], [14:12] | BLOCK_EVENT_PARTY_ENTER | 1119, 1135, 1151, 1167, 1183, 1199, 1215 | 0 | Lightning floor, cycle switches |
| [27:09] | none (BLOCK_EVENT_WALL_DECORATION) | 1240 | 0 | Lightning floor, lever |
| [17:04], [17:10], [01:02], [10:11], [08:02] | BLOCK_EVENT_PARTY_ENTER | 1590, 1749, 3370, 2069, 2113 | 0 | Mantis ambushes |
| [18:01] | BLOCK_EVENT_PARTY_ENTER | 1636 | 0 | The wounded mantis |
| [28:07], [01:01], [11:10], [11:14], [05:15] | none (BLOCK_EVENT_WALL_DECORATION) | 1347, 2570, 1817, 1943, 4356 | 0 | Locks |
| [17:25] | none (BLOCK_EVENT_WALL_DECORATION) | 5465 | 1 | Locks |
| [26:02] | none (BLOCK_EVENT_WALL_DECORATION) | 1508 | 0 | Door lever |
| [11:04] | none (BLOCK_EVENT_WALL_DECORATION) | 2189 | 0 | Pits, lever |
| [10:05], [10:06] | BLOCK_EVENT_PARTY_ENTER, BLOCK_EVENT_ITEM_PLACED | 2289, 2366 | 0 | Pits |
| [10:07] | BLOCK_EVENT_FLYING_OBJECT (and BLOCK_EVENT_WALL_DECORATION) | 2429 | 0 | Pits, lever |
| [12:07] | BLOCK_EVENT_PARTY_ENTER, BLOCK_EVENT_ITEM_PLACED, BLOCK_EVENT_FLYING_OBJECT | 2539 | 0 | Pits, teleporter out |
| [01:03], [01:04] | BLOCK_EVENT_PARTY_ENTER | 3399, 3402 | 0 | The mantis nest, rest |
| [01:06], [01:09] | BLOCK_EVENT_PARTY_ENTER | 2731, 3405 | 0 | The mantis nest |
| [00:05], [02:05], [00:06], [02:06], [00:07], [02:07], [00:08], [02:08], [23:04] | BLOCK_EVENT_ITEM_USED (and BLOCK_EVENT_WALL_DECORATION) | 2754, 2831, 2908, 2985, 3062, 3139, 3216, 3293, 1513 | 0 | The mantis nest, eggs |
| [01:10] | none (BLOCK_EVENT_WALL_DECORATION) | 3676 | 0 | The mantis nest, eye |
| [20:03] | BLOCK_EVENT_PARTY_ENTER | 5837 | 0 | Tanglor |
| [16:15] | BLOCK_EVENT_PARTY_ENTER | 3766 | 0 | The stone mouth |
| [15:15] | none (BLOCK_EVENT_WALL_DECORATION) | 4152 | 0 | The stone mouth |
| [21:11], [23:11] | none (BLOCK_EVENT_WALL_DECORATION) | 1780, 1811 | 0 | The niche, plaques |
| [22:11] | BLOCK_EVENT_ITEM_PLACED | 1786 | 0 | The niche |
| [23:02], [29:04], [29:09], [30:11], [06:00], [21:02], [13:02] | none (BLOCK_EVENT_WALL_DECORATION) | 6122, 6128, 6134, 6140, 6146, 6170, 6176 | 0 | Windows |
| [00:15], [00:17], [00:19] | none (BLOCK_EVENT_WALL_DECORATION) | 6152, 6158, 6164 | 1 | Windows |
| [09:13] | BLOCK_EVENT_PARTY_ENTER, BLOCK_EVENT_ITEM_PLACED, BLOCK_EVENT_FLYING_OBJECT | 6278 | 0 | Stairs up to record 1 |
| [08:13] | BLOCK_EVENT_PARTY_ENTER, BLOCK_EVENT_ITEM_PLACED, BLOCK_EVENT_FLYING_OBJECT | 6405 | 1 | Stairs down to record 0 |
| [02:19], [01:15] | BLOCK_EVENT_PARTY_ENTER | 4482, 4502 | 1 | The wasp nest |
| [05:24] | none (BLOCK_EVENT_TIMER) | 4861 | 1 | The wasp nest, timer |
| [00:23], [01:25], [01:20], [03:24], [04:20], [04:22], [04:27], [06:21], [06:25], [07:23], [08:19], [08:23], [10:25], [11:23], [12:27], [04:24] | none (BLOCK_EVENT_WALL_DECORATION) | 6182, 6188, 6194, 6200, 6206, 6212, 6218, 6224, 6230, 6236, 6242, 6248, 6254, 6260, 6266, 6272 | 1 | The wasp nest, nest walls |
| [13:21] | BLOCK_EVENT_PARTY_ENTER | 4917 | 1 | The lever room |
| [19:18] | BLOCK_EVENT_PARTY_ENTER, BLOCK_EVENT_PARTY_LEAVE | 4921 | 1 | The lever room, reset |
| [19:17], [19:19], [23:17], [23:19] | none (BLOCK_EVENT_WALL_DECORATION) | 5234, 5259, 5338, 5363 | 1 | The lever room, levers |
| [20:17], [20:19], [22:19], [22:17] | BLOCK_EVENT_PARTY_ENTER, BLOCK_EVENT_ITEM_PLACED | 5045, 5108, 5171, 5284 | 1 | The lever room, pits |
| [25:17] | BLOCK_EVENT_PARTY_ENTER, BLOCK_EVENT_ITEM_PLACED, BLOCK_EVENT_FLYING_OBJECT | 5388 | 1 | The lever room, teleporter out |
| [16:22] | BLOCK_EVENT_PARTY_ENTER | 5419 | 1 | The lever room, hint |
| [15:22], [23:18] | none (BLOCK_EVENT_WALL_DECORATION) | 5454, 5459 | 1 | The lever room, lever and plaque |
| [22:25] | BLOCK_EVENT_PARTY_ENTER | 5591 | 1 | The two doors |
| [21:29], [23:29], [26:27] | BLOCK_EVENT_PARTY_ENTER, BLOCK_EVENT_ITEM_PLACED, BLOCK_EVENT_FLYING_OBJECT | 5775, 5733, 5806 | 1 | The two doors, teleporters |
| [26:30] | BLOCK_EVENT_PARTY_ENTER, BLOCK_EVENT_ITEM_PLACED, BLOCK_EVENT_FLYING_OBJECT | 5995 | 1 | Stairs up to level 8 |
The subroutine at offset 2, the release of the mantis room,
is reached only by the scripts of [21:08] and [22:08] through
SCRIPT_CALL.
Level flags
| Bit | Set by | Cleared by | Meaning (descriptive) |
|---|---|---|---|
| 1 | Entering [02:19] when clear | Entering [02:19] when set | The party is inside the wasp nest (toggled). |
| 2 | The release of the mantis room | — | The mantis room is open. |
| 4 | [17:04] | — | The northern ambush has happened. |
| 5 | [18:01] | Leaving the wounded mantis | The wounded mantis has been dealt with. |
| 6 | [17:10] | — | The southern ambush has happened. |
| 8 | [10:11] | [08:02] | The [10:11] ambush has happened. |
| 9 | [08:02] | — | The [08:02] ambush has happened. |
| 10 | [01:02] | — | The nest guard has been placed. |
| 11 | [01:09] | — | The remaining eggs have hatched. |
| 12 | [16:15] | — | The stone mouth has spoken. |
| 13–15 | Each bone given to the stone mouth | — | Bones given. |
| 16, 21 | The third bone | — | The stone mouth has given its key. |
| 17 | The cycle switches; the lever | The cycle switches; the lever | The lightning pattern is stopped. |
| 18, 19 | The lightning timer | The lightning timer | Phase of the lightning pattern. |
| 20 | The eye's first activation | — | The gem has been taken from the eye. |
| 22 | [15:06] | — | The apparition has spoken. |
| 23 | [22:25] | — | The second greeting has been given. |
| 24 | [01:15] | — | The wasp swarm has been placed. |
| 25 | [13:21] | — | The lever room no longer resets. |
| 26 | [16:22] | — | The brick remark has been made. |
| 27 | [20:03] | — | Tanglor has been met. |
| 28 | [01:06] | — | The nest remark has been made. |
| 29 | [10:05] | — | The floor remark has been made. |
The scripts also set bit 29 of the global flags, at the punishing teleporter of [23:29]; level 8 reads it.
Monster types
The game stores no name for a monster type; the types are known by their number, their image and their properties.13
Record 0 defines types 0 to 2, all drawn with mantis. Every mantis has
armour class 5, hit chance 13, level 7 for saving throws, three melee
attacks, MONSTER_CAP_ALT_FRAME_TABLE, MONSTER_CAP_POST_MOVE_ACTION and
MONSTER_CAP_PARALYZES (MonsterCapabilityFlags),
no immunity, a type flag that lets Hold Monster affect it, 1 400 experience,
occupancy class 2, attack and step sounds
37 and 36, no ranged attack, turn resistance −1 and evasion 0. They differ in:
| Type | Hit points | Melee damage | Decoration groups of MANTIS.DCR |
|---|---|---|---|
| 0 | 6d8 + 3 | 1d4, 1d4, 1d4 + 1 | 3 |
| 1 | 5d8 + 11 | 1d4, 1d4, 1d4 + 1 | 1 |
| 2 | 51 | 1d6, 1d6, 1d4 + 1 | 1 and 2 |
Record 1 defines types 0 and 1, both drawn with wasp. A wasp has
armour class 4, hit chance 16, level 4, two melee attacks of 2d8,
MONSTER_CAP_POST_MOVE_ACTION, MONSTER_CAP_POISONS and
MONSTER_CAP_PARALYZES, no immunity, the Hold Monster type flag, 420
experience, occupancy class 0, sounds 39 and 38, no ranged attack, turn
resistance −1, evasion 0 and no decoration. Type 0 has 2d8 + 16 hit points,
type 1 has 1d8 + 22. The scripts of record 1's part of the map place only
types 0 and 1.
The two monsters present at the start are both mantises in
MONSTER_MODE_PURSUE (MonsterMode): one of
type 1 at [05:05], and one of type 2 at [17:00], a block closed on all
sides, which always leaves a Mantis Key and one time in ten a dagger when it
dies.1
Sources
Locations refer to the game executable reference; the reference files are identified in the file inventory.
- and the special-event handler.