Sherlock: annotated disassembly

Data

Prev: EFC7 Up: Map Next: F017
EFF6: Plan script: the German agent (actor 104) - Phipps's buyer
Entry points: EFF6 = german agent (actor 104).
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.
He waits for Phipps's signal (AWAIT), is put at Old Mill Road (room 103), and from 3pm counts down like Phipps; if you turn up there (F009: IS IN you, room 103) he joins Phipps's own flight code at EF4A - put in Main Street, the 4:55 to London, Kings Cross Road, a cab to Buckingham Palace Road and on to platform one at Victoria, where he too runs the last scene (9E48) if he finds you there. In the winning run (see E7E7) he was already standing on platform one at Victoria when the train came in at 6:40 - 'You can see a german agent.' - and Basil walked in two minutes later.
EFF6 DEFB $19,$06,$F6,$EF AWAIT 6 phipps [fail: wait here]
EFFA DEFB $42,$80,$FB,$67 DO 128 PUT: self, room 103 (old mill road) [busy]
EFFE DEFB $12,$88,$0F,$FF,$FE,$EF DO 136 IS HOUR 15 [fail: wait here]
F004 DEFB $07,$2F,$E5,$10,$FF RUN E52F START COUNTDOWN of (dobj) plus a random number up to (iobj) (16, -)
F009 DEFB $82,$83,$00,$67,$4A,$EF DO 131 IS IN: 0 you, room 103 (old mill road) [ok EF4A]
F00F DEFB $0F PASS
F010 DEFB $93,$7A,$E5,$09,$F0,$8C,$EF RUN E57A TICK the countdown (fails, and deletes it, when it runs out) [ok F009; fail EF8C]
Prev: EFC7 Up: Map Next: F017