Sherlock: annotated disassembly

Data

Prev: F2B2 Up: Map Next: F389
F380: Sub-script: RUN at $F37A
Addresses named in the title: F37A.
Entry points: F384 = body of record F380.
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.
F380 DEFB $C8,$00,$89,$F3 Action record header: flags $C8; bit 6: pre-check at F389; bit 7: checks only; byte 1 $00 - checks-only: the script follows
F384 DEFB $02,$80,$FD,$00 DO 128 PUT: plan dobj, room 0 (off stage)
F388 DEFB $0B RETURN OK
Prev: F2B2 Up: Map Next: F389