Sherlock: annotated disassembly

Data

Prev: F389 Up: Map Next: F3C2
F3A2: Plan script: returned as a sub-script by $9B20
Addresses named in the title: 9B20.
Entry points: F3AD = returned as a sub-script by 9B20.
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.
F3A2 DEFB $03,$88,$E5 RUN E588 CANCEL the countdown
F3A5 DEFB $07,$06,$E5,$FB,$FD RUN E506 (self, plan dobj)
F3AA DEFB $0E,$69,$F3 GOTO F369
F3AD DEFB $07,$41,$9C,$FD,$FF Entry (returned as a sub-script by 9B20): RUN 9C41 (plan dobj, -)
F3B2 DEFB $83,$54,$E6,$C1,$F3 RUN E654 [ok F3C1]
F3B7 DEFB $83,$6F,$E6,$C1,$F3 RUN E66F [ok F3C1]
F3BC DEFB $07,$BC,$E6,$FC,$FB RUN E6BC (plan iobj, self)
F3C1 DEFB $0B RETURN OK
Prev: F389 Up: Map Next: F3C2