Prev: 50310 Up: Map Next: 50338
50319: Transform Item
TransformItem 50319 LD A,B Call GetObjectLocation to fetch where the original object is.
50320 CALL GetObjectLocation
50323 PUSH BC Call UpdateObjectLocation to clear the original object.
50324 PUSH AF
50325 LD C,0
50327 CALL UpdateObjectLocation
50330 POP AF Restore the new object and its destination from the stack.
50331 POP BC
50332 LD B,C Call UpdateObjectLocation to put the new object in its place.
50333 LD C,A
50334 CALL UpdateObjectLocation
50337 RET Return.
Prev: 50310 Up: Map Next: 50338