Sherlock: annotated disassembly

Data

Prev: EB8B Up: Map Next: EBA4
EB9B: Sub-script: internal verb 137 (sub-script: do verb (direct object), then EXAMINE the indirect object)
Entry points: EB9D = body of record EB9B.
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.
EB9B DEFB $87,$07 Action record header: flags $87; bit 7: checks only; byte 1 $07 - checks-only: the script follows
EB9D DEFB $41,$FD DO plan dobj [busy]
EB9F DEFB $42,$13,$FC,$FF DO 19 EXAMINE: plan iobj, - [busy]
EBA3 DEFB $0B RETURN OK
Prev: EB8B Up: Map Next: EBA4