Sherlock: annotated disassembly

Data

Prev: EFF6 Up: Map Next: F062
F017: Plan script: strachan (actor 5)
Entry point: F017 = strachan (actor 5).
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.
F017 DEFB $0F PASS
F018 DEFB $C9,$04,$29,$F0 AWAIT 4 chief constable straker [busy; ok F029]
F01C DEFB $57,$98,$F1,$0A,$FF,$17,$F0 RUN F198 CHANCE: succeed if a random 1-99 is at most (dobj) (10, -) [busy; fail F017]
F023 DEFB $46,$52,$75 PRINT message 7552: "YOU SEEMS AT A LOSS, LOOKING FORLORN AND CRYING QUIETLY TO HERSELF." [busy]
F026 DEFB $0E,$17,$F0 GOTO F017
F029 DEFB $0F PASS
F02A DEFB $57,$98,$F1,$0A,$FF,$34,$F0 RUN F198 CHANCE: succeed if a random 1-99 is at most (dobj) (10, -) [busy; fail F034]
F031 DEFB $46,$52,$75 PRINT message 7552: "YOU SEEMS AT A LOSS, LOOKING FORLORN AND CRYING QUIETLY TO HERSELF." [busy]
F034 DEFB $57,$98,$F1,$32,$FF,$29,$F0 RUN F198 CHANCE: succeed if a random 1-99 is at most (dobj) (50, -) [busy; fail F029]
F03B DEFB $57,$98,$F1,$32,$FF,$53,$F0 RUN F198 CHANCE: succeed if a random 1-99 is at most (dobj) (50, -) [busy; fail F053]
F042 DEFB $02,$87,$FF,$FF DO 135 GO THROUGH DOOR: -, -
F046 DEFB $52,$83,$FB,$3F,$29,$F0 DO 131 IS IN: self, room 63 (browns front door) [busy; fail F029]
F04C DEFB $02,$87,$2D,$FF DO 135 GO THROUGH DOOR: 45 large oak door, -
F050 DEFB $0E,$29,$F0 GOTO F029
F053 DEFB $C1,$28,$29,$F0 DO 40 SIT IN [busy; ok F029]
F057 DEFB $41,$19 DO 25 GET OUT OF [busy]
F059 DEFB $0E,$29,$F0 GOTO F029
F05C DEFB $03,$A8,$E5 Entry (not reached from anywhere found): RUN E5A8 IDLE (no checks; takes a minute)
F05F DEFB $0E,$5C,$F0 GOTO F05C
Prev: EFF6 Up: Map Next: F062