![]() |
Routines |
| Prev: 6A16 | Up: Map | Next: 6A3C |
|
Gives the object in B the same location as the object addressed by A.
|
||||||||||
|
Address the destination object.
|
||||||||||
| CopyObjectLocation | 6A2F | CALL ObjectAddress | Call ObjectAddress. | |||||||
| 6A32 | PUSH HL | Stash the destination pointer on the stack. | ||||||||
| 6A33 | LD B,A | Copy the source object into B. | ||||||||
|
Address the source object.
|
||||||||||
| 6A34 | CALL ObjectAddress | Call ObjectAddress. | ||||||||
| 6A37 | LD A,(HL) | Fetch its location. | ||||||||
| 6A38 | POP HL | Restore the destination pointer from the stack. | ||||||||
| 6A39 | LD (HL),A | Copy that location onto object B. | ||||||||
| 6A3A | JR SetObject_Here | Jump to SetObject_Here so a copy into this room is described. | ||||||||
| Prev: 6A16 | Up: Map | Next: 6A3C |