Sherlock: annotated disassembly

Data

Prev: E135 Up: Map Next: E188
E17B: Sub-script: shared 22 (no object uses it)
Entry points: E17D = body of record E17B.
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.
E17B DEFB $8D,$07 Action record header: flags $8D; bit 7: checks only; byte 1 $07 - checks-only: the script follows
E17D DEFB $07,$88,$E1,$FD,$FC RUN E188 (plan dobj, plan iobj)
E182 DEFB $07,$D6,$E1,$FD,$FC RUN E1D6 (plan dobj, plan iobj)
E187 DEFB $0B RETURN OK
Prev: E135 Up: Map Next: E188