Files
kq4-decompile/rooms/kq4-086-dim-hallway-west-end.md
2026-02-20 10:16:03 -08:00

6.1 KiB

Room 86: Dim Hallway (West End)

This is the west end of a dim hallway in the castle dungeon area. The room serves as a connecting corridor between the dungeon (room 92), the throne room (room 83), and the east hallway (room 87). The room contains a cell door, a table with a candelabra, and a fancy chair. It features animated candle props and conditional entry behaviors based on the player's quest progress. If the player is being chased by a henchman (global175 is set), they will be pursued into this room from room 87.

Look Description

"This is the west end of a dim hallway. There is an open door here."

Interactions

Status Behavior Type Command Response
TODO Look look "This is the west end of a dim hallway. There is an open door here." (Print 86 0)
TODO Look look/door "It appears to be a cell door." (Print 86 1)
TODO Look look/table "There is a candelabra on the table shedding dim candlelight." (Print 86 2)
TODO Look look/candelabra "Candle light flickers from the candelabra." (Print 86 3)
TODO Look look/chair "This is quite a fancy chair." (Print 86 4)
TODO Look look/wall "There is nothing of importance on the walls." (Print 86 5)
TODO Look look/down "There is nothing of importance on the floor." (Print 86 6)
TODO Action bang/door "There's nobody there..." (Print 86 7) - if in rect 171 115 204 122
TODO Action bang/door "You're not close enough." (Print 800 1) - if not in rect
TODO Action open/door "It is already open." (Print 86 8) - if in rect 171 115 204 122
TODO Action open/door "You're not close enough." (Print 800 1) - if not in rect
TODO Action close/door "It already is closed." (Print 86 9)
TODO Action unlatch/door "It is already open." (Print 86 8) - if in rect
TODO Action unlatch/door "You're not close enough." (Print 800 1) - if not in rect
TODO Action sit/chair "Why don't you just open it?" (Print 86 10)
TODO Get get/candelabra "You don't have time for that!" (Print 86 11)

Region 604 Interactions (BFCastle)

The room applies region 604 (regBFCastle), which provides additional interactions for the castle area:

Status Behavior Type Command Response
TODO Inventory blow/whistle "That is not a good idea now." (Print 604 0) - if has whistle (item 27)
TODO Look look/wall "There is nothing of interest on the walls." (Print 604 1)
TODO Talk converse/goon "You are not close enough." (Print 604 2) - if close enough to henchman
TODO Talk converse/goon "Lolotte's henchmen must not speak, as you only hear them utter guttural sounds." (Print 604 3) - if henchman exists but not close
TODO Look look/goon "You don't see one of Lolotte's henchmen here." (Print 604 4) - if henchman not in room
TODO Look look/goon "The henchman is asleep." (Print 604 5) - if henchman exists and not hostile
TODO Look look/goon "Lolotte's goons are not appealing at all! Besides having an unnatural pallor to their skin, they are creepy little creatures who fly upon wings that resemble those of bats." (Print 604 6) - if henchman hostile
TODO Action awaken/goon Triggers henchman chase if henchman exists
TODO Action get/capture/goon "Why would you want one?!" (Print 604 8)
TODO Action kiss/goon "That's an AWFUL thought!" (Print 604 9)
TODO Action deliver/goon "The henchmen are not interested in your offering." (Print 604 10)
TODO Look look/raven "You don't see a raven here." (Print 604 11) - if raven not in room
TODO Look look/raven "You see Lolotte's raven spying on you." (Print 604 12) - if raven in room
TODO Talk converse/raven "Caw! Caw!" (Print 604 13)
TODO Action get/capture/raven "You wouldn't want it even if you could get it." (Print 604 14)
TODO Action kiss/raven "Not this bird!" (Print 604 15)
TODO Action deliver/raven "The raven is not interested in anything you have." (Print 604 16)

Scripts

Status Behavior Type Name Trigger Behavior
TODO Interaction openDoor Player opens door in room Plays door animation, opens door, and transitions to room 83 (throne room)
TODO Interaction intoDungeon Entering from room 92 Triggers cutscene: ego walks to position, door opens, two actors (dwarves?) appear, ego descends into dungeon, then transitions to room 83
TODO Interaction toThrone Entering from room 83 when global109 = 0 Ego walks to throne position, then transitions to room 92
TODO Interaction henchChase Entering from room 87/0 when global175 is set Henchman actor spawns behind player and chases them. When caught, triggers game over (room 81)
TODO Background newProp_2/3/4 Always Animated candle props with forward cycle

Technical Notes

  • Room Number: 86
  • Picture: 86
  • Region: 604 (regBFCastle)
  • Exits: East → 87 (hallway), Door → 83 (throne room), From 92 (dungeon entry)
  • Music: 41 (henchman chase), 42 (henchman catch), 300 (door open)

State Variables

Variable Values Description
global109 0, 1, 2, 3, 99 Quest progress state (0 = not started, advances through game)
global175 0, 1 Henchman chase active flag (1 = being chased)
global205 0, 1 Event occurred flag (set when caught by henchman)
newProp cel 0, 4 Door state (0 = closed, 4 = open)

Entry Conditions

  • From room 87 or start: Position at 303, 141. If global175 is set, spawns henchman that chases player
  • From room 83: Position at 190, 120. If global109 = 0, runs toThrone script; otherwise just stands
  • From room 92: Position at 293, 141, plays intoDungeon animation sequence

Automatic Transitions

  • Walking east into control area $0040 while global109 != 0 triggers transition to room 87