Routines |
Prev: 7CC7 | Up: Map | Next: 7CD8 |
Used by the routine at F600. Copies the destination coordinates from the command list into bytes 0x0A and 0x0B of the character's buffer, and inserts the location identifier for the destination into byte 0x0C.
|
||||||||
7CC8 | LD L,$0A | Copy the destination coordinates from the command list into bytes 0x0A and 0x0B of the character's buffer | ||||||
7CCA | CALL $F171 | |||||||
7CCD | LD D,(HL) | Transfer the destination coordinates to DE | ||||||
7CCE | DEC L | |||||||
7CCF | LD E,(HL) | |||||||
7CD0 | LD C,$01 | Assume a destination z-coordinate of 1 (indoors) | ||||||
7CD2 | CALL $7199 | Obtain an identifier for the destination location and copy it into byte 0x0C of the character's buffer | ||||||
7CD5 | LD L,$08 | Point HL at byte 0x08 of the character's buffer | ||||||
7CD7 | RET |
Prev: 7CC7 | Up: Map | Next: 7CD8 |