Sherlock: annotated disassembly

Routines

Prev: 9D2E Up: Map Next: 9D45
9D30: Chief Constable Straker's after-turn routine
Once Lestrade has been introduced (9D90 set), greets the player and Watson when he meets them (9CE9; countdowns at 9D2E/$9D2F).
Output
F From the second greeting
9D30 LD A,($9D90) Read "Lestrade's flags" (9D90) into A - 9D90 (Lestrade has been introduced) clear: nothing to say
9D33 AND A Clear the carry flag for the caller (A is unchanged)
9D34 RET Z If A is zero, return
9D35 LD HL,$9D2E Point HL at "Straker's greeting countdowns: the player, Watson" (9D2E) - Speak to thing 0 (C = 0, the player) via 9CE9 with the countdown at 9D2E
9D38 LD C,$00 Load C with $00
9D3A CALL $9CE9 Call the routine "Say good morning to C, if just met" (9CE9)
9D3D LD HL,$9D2F Point HL at $9D2F in "Straker's greeting countdowns: the player,..." - and to thing 3 (Watson) with the countdown at $9D2F
9D40 LD C,$03 Load C with $03
9D42 JP $9CE9 Go back to the routine "Say good morning to C, if just met" (9CE9)
Prev: 9D2E Up: Map Next: 9D45