![]() |
Routines |
| Prev: 6A16 | Up: Map | Next: 6A3C |
|
Gives the object in B the same location as the object addressed by A.
|
||||
| CopyObjectLocation | 6A2F | CALL ObjectAddress | Point at object B. | |
| 6A32 | PUSH HL | |||
| 6A33 | LD B,A | |||
| 6A34 | CALL ObjectAddress | Read object A's location. | ||
| 6A37 | LD A,(HL) | |||
| 6A38 | POP HL | |||
| 6A39 | LD (HL),A | Copy that location onto object B. | ||
| 6A3A | JR SetObject_Here | Join SetObject_Here so a copy into this room is described. | ||
| Prev: 6A16 | Up: Map | Next: 6A3C |