Prev: 38180 Up: Map Next: 38258
38239: Set Object Position
Used by the routine at UpdateCrystalStack.
Gives an object the position held in 38572 and 38574.
Input
IX Address of the object
SetObjectPosition 38239 LD HL,(38572) Fetch the horizontal position from 38572.
38242 LD (IX+2),L Set the horizontal position and the map column of the object.
38245 LD (IX+1),H
38248 LD HL,(38574) Fetch the vertical position from 38574.
38251 LD (IX+5),L Set the vertical position and the map zone of the object.
38254 LD (IX+4),H
38257 RET Return.
Prev: 38180 Up: Map Next: 38258