Prev: 48871 Up: Map Next: 49023
48998: Move Object
Moves an object by its speeds: the horizontal position with FindHorizontalMove and the vertical position with FindVerticalMove.
Input
IX Address of the object
MoveObject 48998 CALL FindHorizontalMove Call FindHorizontalMove.
49001 LD (IX+1),H Write the map column.
49004 LD (IX+2),L Write the horizontal position.
49007 LD (IX+3),E Write E to offset 3 of IX.
49010 CALL FindVerticalMove Call FindVerticalMove.
49013 LD (IX+4),H Write the map zone.
49016 LD (IX+5),L Write the vertical position.
49019 LD (IX+6),E Write E to offset 6 of IX.
49022 RET Return.
Prev: 48871 Up: Map Next: 49023