Sherlock: annotated disassembly

Data

Prev: EBFA Up: Map Next: ECFF
ECF6: Sub-script: RUN at $E997; RUN at $EC12
Addresses named in the title: E997, EC12.
Entry points: ECF8 = body of record ECF6.
Each sub-block is one instruction. Room and object numbers are as the game uses them (the reference pages list both).
In an instruction, 'plan dobj' and 'plan iobj' are not fixed objects: they mean the direct and indirect object currently held in the actor's plan registers (bytes +4 and +5 of its actor record), so the same step works on whatever the actor is dealing with - for the player, the objects of the command just typed. 'plan verb' is the verb register (+3), 'self' is the acting character, and '-' means none.
ECF6 DEFB $80,$00 Action record header: flags $80; bit 7: checks only; byte 1 $00 - checks-only: the script follows
ECF8 DEFB $41,$02 DO 2 SOUTH [busy]
ECFA DEFB $41,$04 DO 4 WEST [busy]
ECFC DEFB $0E,$01,$ED GOTO ED01
Prev: EBFA Up: Map Next: ECFF