Routines
| Prev: 9D45 | Up: Map | Next: 9D70 |
9D48: A police man's after-turn routine: 'no one is to get by'
|
||||||||||
| 9D48 | LD A,($9D90) | Read "Lestrade's flags" (9D90) into A - (Next routine) the opposite: until 9D90 is set... | ||||||||
| 9D4B | AND A | Clear the carry flag for the caller (A is unchanged) | ||||||||
| 9D4C | RET NZ | If A is not zero, return | ||||||||
| 9D4D | LD HL,$9D45 | Point HL at "A police man's warning countdowns: the player,..." (9D45) - ...tell things 0, 3 and 7 (C) that they must wait, using the countdowns at 9D45-$9D47... | ||||||||
| 9D50 | LD C,$00 | Load C with $00 | ||||||||
| 9D52 | CALL $9D65 | Call 9D65 (inside "A police man's after-turn routine: 'no one...") | ||||||||
| 9D55 | LD HL,$9D46 | Point HL at $9D46 in "A police man's warning countdowns: the..." | ||||||||
| 9D58 | LD C,$03 | Load C with $03 | ||||||||
| 9D5A | CALL $9D65 | Call 9D65 (inside "A police man's after-turn routine: 'no one...") | ||||||||
| 9D5D | LD HL,$9D47 | Point HL at $9D47 in "A police man's warning countdowns: the..." | ||||||||
| 9D60 | LD C,$07 | Load C with $07 | ||||||||
| 9D62 | JP $9D65 | Skip ahead to 9D65 | ||||||||
|
This entry point is used by the routine at 9D73.
|
||||||||||
| 9D65 | CALL $9CF2 | Call 9CF2 (inside "Say good morning to C, if just met") - ...each once: 9CF2 sets the speaker, the flag becomes 1 and message 6D9A is printed | ||||||||
| 9D68 | LD (HL),$01 | Store $01 at the address HL points to | ||||||||
| 9D6A | LD HL,$6D9A | Point HL at the message "YOU SAY TO THE OIL LAMP" I AM SORRY SIR BUT I... (6D9A) | ||||||||
| 9D6D | JP $A59F | Jump on to the routine "Print the message at HL" (A59F) | ||||||||
| Prev: 9D45 | Up: Map | Next: 9D70 |