![]() |
Routines |
| Prev: 26777 | Up: Map | Next: 26800 |
|
Makes the object's location the current room.
|
||||||||
| MoveToObject | 26786 | LD C,B | Point at object B's location byte. | |||||
| 26787 | LD B,0 | |||||||
| 26789 | LD HL,24010 | |||||||
| 26792 | ADD HL,BC | |||||||
| 26793 | LD A,(HL) | That location becomes the current room. | ||||||
| 26794 | LD (23943),A | |||||||
| 26797 | JP RoomHasChanged | Jump to RoomHasChanged so the new room is described. | ||||||
| Prev: 26777 | Up: Map | Next: 26800 |