Sherlock: annotated disassembly

Data

Prev: EBD5 Up: Map Next: EBFA
EBE1: Sub-script: take a steam train to room (direct object)
Entry points: EBE3 = body of record EBE1.
Wait until steam train 42 or 43 is here (verb 129), climb in, wait until in the room, climb out.
Entry points: EBE3 = body of record EBE1; EBFA = chief constable straker (actor 4).
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.
EBE1 DEFB $84,$00 Action record header: flags $84; bit 7: checks only; byte 1 $00 - checks-only: the script follows
EBE3 DEFB $C2,$81,$FB,$2A,$EF,$EB DO 129 IS WITH: self, 42 steam train [busy; ok EBEF]
EBE9 DEFB $52,$81,$FB,$2B,$E3,$EB DO 129 IS WITH: self, 43 steam train [busy; fail EBE3]
EBEF DEFB $41,$0C DO 12 CLIMB INTO [busy]
EBF1 DEFB $52,$83,$FB,$FD,$F1,$EB DO 131 IS IN: self, plan dobj [busy; fail: wait here]
EBF7 DEFB $41,$0D DO 13 CLIMB OUT OF [busy]
EBF9 DEFB $0B RETURN OK
Prev: EBD5 Up: Map Next: EBFA