Sherlock: annotated disassembly

Routines

Prev: A711 Up: Map Next: A72C
A720: Code $06: name the actor
Clears $A028 and names the actor in $A036 (A82F).
Output
A 0
F Z
A720 XOR A Clear A to zero (and the carry flag) - Code $06: name the current actor ($A036) with $A028 = 0 (A82F)
A721 LD ($A028),A Store A in $A028 in "Game variables"
This entry point is used by the routine at A2E4.
A724 LD A,($A036) Read $A036 in "Game variables" into A
A727 CALL $A82F Call the routine "Name actor A ($FF: SOMEONE)" (A82F)
A72A XOR A Set A to zero, which sets the zero flag for the caller
A72B RET Return to the caller
Prev: A711 Up: Map Next: A72C