Sherlock: annotated disassembly

Data

Prev: E03A Up: Map Next: E0A0
E08D: Sub-script: shared action 13, GO TO in a cab
Entry points: E08F = body of record E08D.
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.
E08D DEFB $8D,$04 Action record header: flags $8D; bit 7: checks only; byte 1 $04 - checks-only: the script follows
E08F DEFB $87,$FD,$E5,$FD,$FF,$9B,$E0 RUN E5FD (plan dobj, -) [ok E09B]
E096 DEFB $05,$FD,$9E,$6B SAY TO plan dobj message 6B9E: "YOU HAVE TO GET INTO THE CAB FIRST."
E09A DEFB $0B RETURN OK
E09B DEFB $02,$1D,$FC,$FF DO 29 GO TO: plan iobj, -
E09F DEFB $0B RETURN OK
Prev: E03A Up: Map Next: E0A0