Prev: 9524 Up: Map Next: 9572
955F: Set Object Position
Used by the routine at UpdateCrystalStack.
Gives an object the position held in 96AC and 96AE.
Input
IX Address of the object
SetObjectPosition 955F LD HL,($96AC) Fetch the horizontal position from 96AC.
9562 LD (IX+$02),L Set the horizontal position and the map column of the object.
9565 LD (IX+$01),H
9568 LD HL,($96AE) Fetch the vertical position from 96AE.
956B LD (IX+$05),L Set the vertical position and the map zone of the object.
956E LD (IX+$04),H
9571 RET Return.
Prev: 9524 Up: Map Next: 9572