Sherlock: annotated disassembly

Data

Prev: F210 Up: Map Next: F22D
F21D: Plan script: steam train (actor 36)
Entry points: F21D = steam train (actor 36).
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.
F21D DEFB $02,$8C,$10,$03 DO 140 $E4C9 THEN WAIT: 16 what happened, 3
F221 DEFB $02,$8C,$02,$03 DO 140 $E4C9 THEN WAIT: 2 inspector lestrade, 3
F225 DEFB $02,$8C,$14,$03 DO 140 $E4C9 THEN WAIT: 20 stairway, 3
F229 DEFB $02,$8C,$02,$01 DO 140 $E4C9 THEN WAIT: 2 inspector lestrade, 1
Prev: F210 Up: Map Next: F22D