Sherlock: annotated disassembly

Routines

Prev: DF7E Up: Map Next: DFA7
DF8B: Action record: singe the note when it is picked up (RUN at $DF85)
Addresses named in the title: DF85.
The tail of the shared TAKE script at DF7E. If the burning note's countdown (9CA1) is still running it is set to $FF (stopped) and the note's name word is changed from BURNING ($0157) to SINGED ($07D5), so the TAKEn note is a singed note you can examine.
Output
F From $E000 (NZ)
DF8B DEFB $08,$00 Action record header: flags $08; byte 1 $00
DF8D LD A,($9CA1) Read 9CA1 in "After-turn routines for nine characters" into A - The burning note's countdown (9CA1): already 0? Then nothing to change (E000)
DF90 AND A Test A for zero (this leaves A as it was and clears carry)
DF91 JR Z,$E000 If A is zero, jump on to E000
DF93 LD A,$FF Load A with $FF - Still burning: stop the countdown ($FF)...
DF95 LD ($9CA1),A Store A in 9CA1 in "After-turn routines for nine characters"
DF98 LD IX,($A013) Read $A013 in "Game variables" into IX - ...and change the name word (+9/+10) of the direct object, the note, to SINGE ($07D5)
DF9C LD HL,$07D5 Load HL with $07D5
DF9F LD (IX+$09),L Store L in byte +9 of the record at IX
DFA2 LD (IX+$0A),H Store H in byte +10 of the record at IX
DFA5 JR $E000 Jump on to E000
Prev: DF7E Up: Map Next: DFA7