Sherlock: annotated disassembly

Data

Prev: EB9B Up: Map Next: EBD5
EBA4: Sub-script: take a hansom cab to room (indirect object)
Sub-script: RUN at E974; RUN at EAEA; RUN at EB3D; RUN at EB74; RUN at EE66; RUN at EF7A; RUN at F0C9.
HAIL until a cab stops, climb in, ASK the cabbie (the plan's verb register holds who answered) TO GO TO the room, wait until there (verb 131), pay (E506) and climb out. 'Inspector Lestrade hails the hansom cab.', '...climbs into the hansom cab.', then 'Inspector Lestrade remarks to the cabbie " Go to Kings Cross Road. "'.
Entry points: EBA6 = body of record EBA4.
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.
EBA4 DEFB $80,$04 Action record header: flags $80; bit 7: checks only; byte 1 $04 - checks-only: the script follows
EBA6 DEFB $51,$1F,$A6,$EB DO 31 HAIL [busy; fail: wait here]
EBAA DEFB $47,$D5,$EB,$FD,$FF RUN EBD5 (plan dobj, -) [busy]
EBAF DEFB $C2,$82,$FA,$FF,$C0,$EB DO 130 IS HERE: plan verb, - [busy; ok EBC0]
EBB5 DEFB $52,$0C,$FD,$FF,$AA,$EB DO 12 CLIMB INTO: plan dobj, - [busy; fail EBAA]
EBBB DEFB $47,$D5,$EB,$FD,$FF RUN EBD5 (plan dobj, -) [busy]
EBC0 DEFB $44,$FA,$1D,$FC,$FF ASK plan verb TO 29 GO TO: plan iobj, - [busy]
EBC5 DEFB $52,$83,$FB,$FC,$C5,$EB DO 131 IS IN: self, plan iobj [busy; fail: wait here]
EBCB DEFB $47,$06,$E5,$FB,$FA RUN E506 (self, plan verb) [busy]
EBD0 DEFB $42,$0D,$FD,$FF DO 13 CLIMB OUT OF: plan dobj, - [busy]
EBD4 DEFB $0B RETURN OK
Prev: EB9B Up: Map Next: EBD5