![]() |
Routines |
| Prev: 61791 | Up: Map |
|
|||||||||||
| 61809 | LD A,2 | Two bytes will be copied | |||||||||
| 61811 | PUSH AF | Save the byte counter | |||||||||
| 61812 | CALL 61791 | Collect one byte from the character's command list | |||||||||
| 61815 | LD (HL),A | Copy it to the character's buffer | |||||||||
| 61816 | POP AF | Restore the byte counter to A | |||||||||
| 61817 | INC L | Point HL at the destination for the second byte | |||||||||
| 61818 | DEC A | Have we copied both bytes yet? | |||||||||
| 61819 | JR NZ,61811 | Jump back to copy the second one if not | |||||||||
| 61821 | DEC L | Point HL at the second byte that was copied | |||||||||
| 61822 | RET | ||||||||||
| Prev: 61791 | Up: Map |