Sherlock: annotated disassembly

Routines

Prev: B0AC Up: Map Next: B0D7
B0C6: Handler for SAVE
$A0DA = 2: at the end of the minute the main loop saves the game (B0E4) and carries on.
Output
Carries on in the parser at $B015
B0C6 CALL $AFE1 Only at the start of a sentence (AFE1)
B0C9 LD HL,$0001 Load HL with $0001 - The action takes 1 minute
B0CC LD ($A01F),HL Store HL in $A01F in "Game variables"
B0CF LD A,$02 Load A with $02 - $A0DA = 2: save the game at the end of the minute's walk
B0D1 LD ($A0DA),A Store A in $A0DA in "The main loop: one minute of game time per..."
B0D4 JP $B015 Carry on parsing (B015)
Prev: B0AC Up: Map Next: B0D7