Sherlock: annotated disassembly

Data

Prev: ED0C Up: Map Next: ED28
ED17: Sub-script: RUN at $E8C9; RUN at $E9E4; RUN at $EC64; RUN at $F11C
Addresses named in the title: E8C9, E9E4, EC64, F11C.
Entry points: ED19 = body of record ED17.
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.
ED17 DEFB $80,$00 Action record header: flags $80; bit 7: checks only; byte 1 $00 - checks-only: the script follows
ED19 DEFB $41,$02 DO 2 SOUTH [busy]
ED1B DEFB $42,$87,$13,$FF DO 135 GO THROUGH DOOR: 19 front door, - [busy]
ED1F DEFB $42,$87,$45,$FF DO 135 GO THROUGH DOOR: 69 sittingroom door, - [busy]
ED23 DEFB $42,$87,$44,$FF DO 135 GO THROUGH DOOR: 68 solid door, - [busy]
ED27 DEFB $0B RETURN OK
Prev: ED0C Up: Map Next: ED28