![]() |
Data |
| Prev: C534 | Up: Map | Next: C567 |
|
Trap door: object $1E. It starts in goblins dungeon, held by sand. It is present, locked. It has its own handling for OPEN, STRIKE WITH, UNLOCK WITH.
A record is a 16-byte head -- where it is, what holds it, its size, weight, strength and defence, its flags, its name and its description -- then the places it is in, then its own handlers, ending at $FF. OBJECT_INDEX describes each field.
|
||||
| TRAP_DOOR | C54C | DEFB $01 | In 1 place | |
| C54D | DEFB $1D | Held by sand (SAND) | ||
| C54E | DEFB $FF | Size 255: nothing can hold it | ||
| C54F | DEFB $FF | Weight 255: too heavy for anyone to lift | ||
| C550 | DEFB $03 | Things are under it | ||
| C551 | DEFB $80 | Strength 128 | ||
| C552 | DEFB $80 | Defence 128 | ||
| C553 | DEFB $81 | Flags: present, locked | ||
| C554 | DEFB $C0,$01 | Its name: DOOR | ||
| C556 | DEFB $E0,$06 | An adjective: TRAP | ||
| C558 | DEFB $00,$00 | No second adjective | ||
| C55A | DEFB $00,$00 | No description of its own | ||
| C55C | DEFB $0D | In location 13, goblins dungeon | ||
| C55D | DEFB $0B | On STRIKE WITH (action $0B) | ||
| C55E | DEFW DO_STRIKE | |||
| C560 | DEFB $26 | On UNLOCK WITH (action $26) | ||
| C561 | DEFW NO_KEY_FITS | |||
| C563 | DEFB $10 | On OPEN (action $10) | ||
| C564 | DEFW DO_OPEN | |||
| C566 | DEFB $FF | End of its handlers | ||
| Prev: C534 | Up: Map | Next: C567 |