![]() |
Routines |
| Prev: 27158 | Up: Map | Next: 27196 |
|
Gives the object in B the same location as the object addressed by A.
|
||||
| CopyObjectLocation | 27183 | CALL ObjectAddress | Point at object B. | |
| 27186 | PUSH HL | |||
| 27187 | LD B,A | |||
| 27188 | CALL ObjectAddress | Read object A's location. | ||
| 27191 | LD A,(HL) | |||
| 27192 | POP HL | |||
| 27193 | LD (HL),A | Copy that location onto object B. | ||
| 27194 | JR SetObject_Here | Join SetObject_Here so a copy into this room is described. | ||
| Prev: 27158 | Up: Map | Next: 27196 |