Sherlock: annotated disassembly

Routines

Prev: D305 Up: Map Next: D349
D33C: IX = record of the actor's room
The actor's record is at $A017; its location byte (+$0F) is the room, looked up by D224.
Output
IX Room record
D33C PUSH AF Save AF on the stack
D33D LD IX,($A017) The current actor
D341 LD A,(IX+$0F) Its room
D344 CALL $D224 Call the routine "Find a room record" (D224)
D347 POP AF Restore AF from the stack
D348 RET Return to the caller
Prev: D305 Up: Map Next: D349