Sherlock: annotated disassembly

Routines

Prev: D715 Up: Map Next: D770
D769: Player's turn: stop when the line has no more words (RUN at $992D)
Addresses named in the title: 992D.
Its body just succeeds; the work is its pre-check (D770), which fails when the next token is the end of the line (class $C0). This record is one step of the loop in the player's own plan script at 9921: DO LOOK once, then read a line (D6BF), split it into words (D715), check there is a word (D769), parse a sentence (D77E), check there is a sentence (D7D9), turn it into a command (D7FA) and DO it. When you wear the china man's disguise the same script runs for him; the counts below include both.
Output
F NZ
D769 DEFB $40,$00,$70,$D7 Action record header: flags $40; bit 6: pre-check at D770; byte 1 $00
D76D OR $01 Make A non-zero, which clears the zero flag, and hand that back to the caller
D76F RET Return to the caller
Prev: D715 Up: Map Next: D770