Sherlock: annotated disassembly

Routines

Prev: D7FA Up: Map Next: D88A
D87D: Free the current sentence's word list ($9FF0)
Addresses named in the title: 9FF0.
Clears the pointer and hands the list to A1AF.
Output
$9FF0 Empty; its nodes freed
D87D LD IX,($9FF0) Read words the player has (9FF0) into IX - The sentence list (9FF0) becomes empty; free all its nodes (A1AF)
D881 LD HL,$0000 Load HL with $0000
D884 LD ($9FF0),HL Store HL in words the player has (9FF0)
D887 JP $A1AF Go back to the routine "Free every node of the list starting at IX" (A1AF)
Prev: D7FA Up: Map Next: D88A