Sherlock: annotated disassembly

Routines

Prev: 9D90 Up: Map Next: 9DC6
9D95: Lestrade's after-turn routine, after the introduction
Greets the player in his own way (9DC6: 'WELL, HOLMES FANCY SEEING YOU HERE.' the first time), asks whether the player can prove the case yet (9DD8: 'WELL CAN YOU PROVE THAT ...
Output
F None used
9D95 LD HL,$9D91 Point HL at 9D91 in "Lestrade's flags" - Greeting for Holmes (HL = 9D91, C = 0) via 9DC6
9D98 LD C,$00 Load C with $00
9D9A CALL $9DC6 Call the routine "Lestrade greets you: 'WELL, HOLMES FANCY SEEING YOU..." (9DC6)
9D9D LD HL,$9D94 Point HL at $9D94 in "Lestrade's flags" - 'Well can you prove that ... yet, Holmes ?' via 9DD8
9DA0 LD C,$00 Load C with $00
9DA2 CALL $9DD8 Call the routine "Lestrade asks whether you can prove a waiting..." (9DD8)
9DA5 LD HL,$9D93 Point HL at $9D93 in "Lestrade's flags" - A word for Watson (C = 3) via 9CE9
9DA8 LD C,$03 Load C with $03
9DAA CALL $9CE9 Call the routine "Say good morning to C, if just met" (9CE9)
9DAD LD IX,$99E3 Point IX at 99E3 in "The case: statements about the crime, and..." - Clear bit 0 of +3 in the three case records at 99E3, 99F1, 99A9 (those statements are not yet told)
9DB1 RES 0,(IX+$03) Clear bit 0 of byte +3 of the record at IX
9DB5 LD IX,$99F1 Point IX at 99F1 in "The case: statements about the crime, and..."
9DB9 RES 0,(IX+$03) Clear bit 0 of byte +3 of the record at IX
9DBD LD IX,$99A9 Point IX at 99A9 in "The case: statements about the crime, and..."
9DC1 RES 0,(IX+$03) Clear bit 0 of byte +3 of the record at IX
9DC5 RET Return to the caller
Prev: 9D90 Up: Map Next: 9DC6