Sherlock: annotated disassembly

Data

Prev: EB72 Up: Map Next: EB9B
EB8B: Sub-script: internal verb 134 (sub-script: FOLLOW the direct object until in room (indirect object))
Entry points: EB8D = body of record EB8B.
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.
EB8B DEFB $8C,$04 Action record header: flags $8C; bit 7: checks only; byte 1 $04 - checks-only: the script follows
EB8D DEFB $C2,$83,$FB,$FC,$9A,$EB DO 131 IS IN: self, plan iobj [busy; ok EB9A]
EB93 DEFB $42,$15,$FD,$FF DO 21 FOLLOW: plan dobj, - [busy]
EB97 DEFB $0E,$8D,$EB GOTO EB8D
EB9A DEFB $0B RETURN OK
Prev: EB72 Up: Map Next: EB9B