Prev: 44673 Up: Map Next: 44694
44682: Calculate Pixel Position Of Other Object
Used by the routines at HandleSocket and HandlePickupAndDrop.
Works out the pixel position of the object at IY by calling CalculatePixelCoordinates with IX pointing at it. Neither IX nor IY is changed.
Input
IY The address of the object
Call CalculatePixelCoordinates for the object at IY.
CalculatePixelPositionOfOtherObject 44682 PUSH IX Stash IX on the stack.
44684 PUSH IY Copy IY to IX (using the stack).
44686 POP IX
44688 CALL CalculatePixelCoordinates Call CalculatePixelCoordinates.
44691 POP IX Restore IX from the stack.
44693 RET Return.
Prev: 44673 Up: Map Next: 44694