![]() |
Routines |
| Prev: 27170 | Up: Map |
|
|||||||||
| 27199 | LD A,B | Copy the guard number (1, 2, 3, 4) to A. | |||||||
| 27200 | CP 4 | Are we dealing with guard 4? | |||||||
| 27202 | JR NZ,27209 | Jump if not. | |||||||
| 27204 | LD HL,28131 | Point HL at the buffer for guard 4. | |||||||
| 27207 | JR 27230 | ||||||||
| 27209 | CP 3 | Are we dealing with guard 3? | |||||||
| 27211 | JR NZ,27218 | Jump if not. | |||||||
| 27213 | LD HL,28174 | Point HL at the buffer for guard 3. | |||||||
| 27216 | JR 27230 | ||||||||
| 27218 | CP 2 | Are we dealing with guard 2? | |||||||
| 27220 | JR NZ,27227 | Jump if not. | |||||||
| 27222 | LD HL,28217 | Point HL at the buffer for guard 2. | |||||||
| 27225 | JR 27230 | ||||||||
| 27227 | LD HL,28260 | Point HL at the buffer for guard 1. | |||||||
| 27230 | LD (28086),HL | Save the address of the guard's buffer for later retrieval. | |||||||
| 27233 | LD DE,28088 | Copy the guard's buffer into the temporary location (28088). | |||||||
| 27236 | LD BC,43 | ||||||||
| 27239 | LDIR | ||||||||
| 27241 | RET | ||||||||
| Prev: 27170 | Up: Map |