Prev: C28D Up: Map Next: C2DD
C2B5: Mountains side door (object $0B)
Mountains side door: object $0B. It starts in sidedoor and smooth straight passage. It is locked. It has its own handling for CLOSE, GO THROUGH, LOOK THROUGH, 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.
MOUNTAINS_SIDE_DOOR C2B5 DEFB $02 In 2 places
C2B6 DEFB $FF Held by nothing
C2B7 DEFB $FF Size 255: nothing can hold it
C2B8 DEFB $FF Weight 255: too heavy for anyone to lift
C2B9 DEFB $00 Things are in it
C2BA DEFB $00 Strength 0
C2BB DEFB $00 Defence 0
MOUNTAINS_SIDE_DOOR_FLAGS C2BC DEFB $01 Flags: locked
C2BD DEFB $C0,$01 Its name: DOOR
C2BF DEFB $56,$04 An adjective: MOUNTAINS
C2C1 DEFB $A6,$05 Another: SIDE
C2C3 DEFB $00,$00 No description of its own
C2C5 DEFB $2A,$2B In locations 42, sidedoor; 43, smooth straight passage
C2C7 DEFB $0C On CLOSE (action $0C)
C2C8 DEFW DO_CLOSE
C2CA DEFB $00 Key 0: after CLOSE, as well
C2CB DEFW SIDE_DOOR_CLOSED
C2CD DEFB $26 On UNLOCK WITH (action $26)
C2CE DEFW SIDE_DOOR_KEY
C2D0 DEFB $00 Key 0: after UNLOCK WITH, as well
C2D1 DEFW SIDE_DOOR_UNLOCKED
C2D3 DEFB $1E On GO THROUGH (action $1E)
C2D4 DEFW GO_THROUGH
C2D6 DEFB $18 On LOOK THROUGH (action $18)
C2D7 DEFW LOOK_THROUGH
C2D9 DEFB $2C On THROW THROUGH (action $2C)
C2DA DEFW THROW_THROUGH
C2DC DEFB $FF End of its handlers
Prev: C28D Up: Map Next: C2DD