Dialogue and sequence data
Data · Routines · Address index
The geometry of dialogue pictures, answer and button positions, and portal images. The data page explains how the entries are written.
DS:0x14b7–DS:0x14c3 — Dialogue bitmap geometry
- Layout: four tables of two words: width
0x14b7{20, 40} (8-pixel columns), height0x14bb{96, 121}, x0x14bf{1, 0} (8-pixel columns) and y0x14c3{8, 0} - Status: no writer found.
- Role: Width, height, x and y of a dialogue bitmap, indexed by the
signed
framewithout a bound check: frame f reads the words at0x14b7,0x14bb,0x14bfand0x14c3plus 2 f. The neighbors are far pointers to strings, before (0x14a7–0x14b5:talk,leave,release him,leave, the answer labels of two non-player character dialogues,0x4afb8and0x4b046) and after (0x14c7–0x14d1:0x164d,0x1651,0x1655, theMAPnames of the parchments); their segment words (0x14a9,0x14ad,0x14b1,0x14b5,0x14c9,0x14cd,0x14d1) are adjusted by the DOS loader (entries of the MZ relocation table), so their run-time value depends on the load address. - Used by: Dialogue picture frames, Dialogue screen › Drawing a picture, Dialogue screen
DS:0x147c, DS:0x1480, DS:0xdf4e — Wait-button position
- Layout:
0x147c,0x1480: two words each;0xdf4e: word - Role: x (
0x147c: 221, 76) and y (0x1480: 189, 162) of the wait prompt's button, indexed by0xdf4e, which the dialogue initialization and the non-player character sequence set to 0 (0x4b2da,0x4b1ad) and the parchment reader to 1 (0x4b570). - Used by: Dialogue screen › Waiting for the player
DS:0x1484, DS:0x1492 — Answer positions
- Layout: 14 unsigned bytes (
0x1484), 14 signed bytes (0x1492) - Role: x and vertical offset of each position of the choice menu: positions 0–1 (x 59, 166) serve two-answer questions, 2–4 (x 4, 112, 220) three answers; positions 5–13 repeat 4, 112, 220 at offsets 12, 24 and 36.
- Used by: Dialogue screen › Answer buttons
DS:0xee38 — Dialogue screen active
- Layout: word
- Role: Set to 1 by the dialogue initialization
(
0x4b2ec) and to 0 by the restore (0x4b32f); no other writer found. The level load restores the dialogue when it is set (0x272d1); the item deletion by type and value skips its hand and slot redraws while it is set (0x1e4bb), and the scene redraw skips the compass (0x3f7c3). - Used by: Dialogue screen › Edge cases and unknowns
DS:0x1505 — Portal image pairs
- Layout: signed bytes, ended by a negative value
- Role: Image pairs of the portal animation.
- Used by: —
DS:0x6d60 — Dialogue prompt label
- Layout: buffer
- Role: Label of the dialogue prompt:
MOREor a custom text. - Used by: Dialogue screen › Displaying a text, Dialogue screen › Waiting for the player
DS:0x6d74 — Last dialogue picture
- Layout: far pointer
- Role: The picture most recently shown by a dialogue.
- Used by: Dialogue screen › Drawing a picture