Sherlock: annotated disassembly

Data

Prev: E188 Up: Map Next: E1B2
E1A3: Sub-script: shared 3 (no object uses it)
Entry points: E1A5 = body of record E1A3.
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.
E1A3 DEFB $8D,$07 Action record header: flags $8D; bit 7: checks only; byte 1 $07 - checks-only: the script follows
E1A5 DEFB $17,$B2,$E1,$FF,$FC,$B1,$E1 RUN E1B2 (-, plan iobj) [fail E1B1]
E1AC DEFB $07,$D6,$E1,$FD,$FC RUN E1D6 (plan dobj, plan iobj)
E1B1 DEFB $0B RETURN OK
Prev: E188 Up: Map Next: E1B2