Skip to main content

Wall and door data

Data · Routines · Address index

Wall properties and the wall-to-VMP mapping, door tables and slots, temporary walls and the visible blocks. The data page explains how the entries are written.

DS:0x2178 — Wall-to-VMP mapping​

DS:0x21c8 — Wall decoration selector​

  • Layout: one byte per wall reference
  • Role: Selects the decoration drawn for a wall. In the initial image it is 0xff only for wall references 3–7 and 13–17; assigning an INF wall mapping writes 0 (no decoration) or a decoration index (overlay code at file offsets 0x4772a–0x4772f and 0x478dd–0x478e0). The monster move check sends a face whose selector is 0xff to its door branch for a type with MONSTER_CAP_OPENS_DOORS.
  • Used by: Obstacles and other monsters › The move check, Wall properties › Built-in references

DS:0x2218 — Wall special type​

DS:0x2268 — Wall properties​

DS:0x5a2b — Door direction masks​

DS:0x5a2d — Door-forcing chances​

DS:0x929c — Door operation slots​

DS:0x9346 — Temporary-wall slots​

DS:0x9446 — Visible blocks​