Prev: C205 Up: Map Next: C24D
C224: Red door (object $08)
Red door: object $08. It starts in dark dungeon and elvenkings great halls and elvenkings cellar. It is present, locked. It has its own handling for CLOSE, GO THROUGH, LOCK WITH, LOOK THROUGH, OPEN, THROW THROUGH, 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.
RED_DOOR C224 DEFB $03 In 3 places
C225 DEFB $FF Held by nothing
C226 DEFB $FF Size 255: nothing can hold it
C227 DEFB $FF Weight 255: too heavy for anyone to lift
C228 DEFB $00 Things are in it
C229 DEFB $00 Strength 0
C22A DEFB $00 Defence 0
C22B DEFB $81 Flags: present, locked
C22C DEFB $C0,$01 Its name: DOOR
C22E DEFB $36,$05 An adjective: RED
C230 DEFB $00,$00 No second adjective
C232 DEFB $00,$00 No description of its own
C234 DEFB $1F,$1E,$20 In locations 31, dark dungeon; 30, elvenkings great halls; 32, elvenkings cellar
C237 DEFB $10 On OPEN (action $10)
C238 DEFW DO_OPEN
C23A DEFB $0C On CLOSE (action $0C)
C23B DEFW DO_CLOSE
C23D DEFB $18 On LOOK THROUGH (action $18)
C23E DEFW LOOK_THROUGH
C240 DEFB $1E On GO THROUGH (action $1E)
C241 DEFW GO_THROUGH
C243 DEFB $25 On LOCK WITH (action $25)
C244 DEFW RED_DOOR_KEY
C246 DEFB $26 On UNLOCK WITH (action $26)
C247 DEFW RED_DOOR_KEY
C249 DEFB $2C On THROW THROUGH (action $2C)
C24A DEFW THROW_THROUGH
C24C DEFB $FF End of its handlers
Prev: C205 Up: Map Next: C24D