![]() |
Routines |
| Prev: 26777 | Up: Map | Next: 26800 |
|
Makes the object's location the current room.
|
||||||||
| MoveToObject | 26786 | LD C,B | Copy the object number into BC. | |||||
| 26787 | LD B,0 | |||||||
| 26789 | LD HL,24010 | Point HL at this object's location in ObjectLocations. | ||||||
| 26792 | ADD HL,BC | |||||||
| 26793 | LD A,(HL) | Write it to *CurrentRoom. | ||||||
| 26794 | LD (23943),A | |||||||
|
Describe the new room.
|
||||||||
| 26797 | JP RoomHasChanged | Jump to RoomHasChanged. | ||||||
| Prev: 26777 | Up: Map | Next: 26800 |