Sherlock: annotated disassembly

Routines

Prev: A80E Up: Map Next: A83A
A82F: Name actor A ($FF: SOMEONE)
A thing name (A751) unless A is $FF, which prints SOMEONE ($080E).
Input
A The actor number ($FF is SOMEONE)
Output
The name printed
A82F CP $FF Actor $FF?
A831 JP NZ,$A751 No: name the thing (A751)
A834 LD DE,$080E Load DE with $080E - Yes: print the word $080E (A887)
A837 JP $A887 Jump on to A887
Prev: A80E Up: Map Next: A83A