Sherlock: annotated disassembly

Data

Prev: F25B Up: Map Next: F278
F268: Plan script: steam train (actor 40)
Entry point: F268 = steam train (actor 40).
Each sub-block is one instruction. Split off from the block before, which it merely follows in memory.
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.
F268 DEFB $07,$BE,$DD,$04,$FF RUN DDBE WAIT (dobj) minutes (4, -)
F26D DEFB $02,$8C,$1B,$04 DO 140 $E4C9 THEN WAIT: 27 ?960 your money, 4
F271 DEFB $02,$8C,$02,$01 DO 140 $E4C9 THEN WAIT: 2 inspector lestrade, 1
F275 DEFB $0E,$46,$F2 GOTO F246
Prev: F25B Up: Map Next: F278