Sherlock: annotated disassembly

Routines

Prev: CA60 Up: Map Next: CA7F
CA76: Narrate the action, unless the verb is script-only
Calls A2E4 for verbs below 128, so script-only verbs are never narrated.
Input
$A033 The verb
Output
The action narrated unless the verb is script-only
CA76 LD A,($A033) Read $A033 in "Game variables" into A - Print a newline unless the verb has bit 7 set in $A033 (A2E4)
CA79 AND $80 Isolate bit 7 of A (mask $80)
CA7B CALL Z,$A2E4 If bit 7 of A was clear, call the routine "Narrate a command as a sentence ('You take the oil..." (A2E4)
CA7E RET Return to the caller
Prev: CA60 Up: Map Next: CA7F