Prev: 6899 Up: Map Next: 68B0
68A2: Action: Move To Object
Makes the object's location the current room.
Input
B Object number
MoveToObject 68A2 LD C,B Copy the object number into BC.
68A3 LD B,$00
68A5 LD HL,$5DCA Point HL at this object's location in ObjectLocations.
68A8 ADD HL,BC
68A9 LD A,(HL) Write it to *CurrentRoom.
68AA LD ($5D87),A
Describe the new room.
68AD JP RoomHasChanged Jump to RoomHasChanged.
Prev: 6899 Up: Map Next: 68B0