![]() |
Routines |
Prev: 6A22 | Up: Map |
|
||||||||||
6A3F | LD A,B | Copy the guard number (1, 2, 3, 4) to A. | ||||||||
6A40 | CP $04 | Are we dealing with guard 4? | ||||||||
6A42 | JR NZ,$6A49 | Jump if not. | ||||||||
6A44 | LD HL,$6DE3 | Point HL at the buffer for guard 4. | ||||||||
6A47 | JR $6A5E | |||||||||
6A49 | CP $03 | Are we dealing with guard 3? | ||||||||
6A4B | JR NZ,$6A52 | Jump if not. | ||||||||
6A4D | LD HL,$6E0E | Point HL at the buffer for guard 3. | ||||||||
6A50 | JR $6A5E | |||||||||
6A52 | CP $02 | Are we dealing with guard 2? | ||||||||
6A54 | JR NZ,$6A5B | Jump if not. | ||||||||
6A56 | LD HL,$6E39 | Point HL at the buffer for guard 2. | ||||||||
6A59 | JR $6A5E | |||||||||
6A5B | LD HL,$6E64 | Point HL at the buffer for guard 1. | ||||||||
6A5E | LD ($6DB6),HL | Save the address of the guard's buffer for later retrieval. | ||||||||
6A61 | LD DE,$6DB8 | Copy the guard's buffer into the temporary location (6DB8). | ||||||||
6A64 | LD BC,$002B | |||||||||
6A67 | LDIR | |||||||||
6A69 | RET |
Prev: 6A22 | Up: Map |