Prev: 49522 Up: Map Next: 49579
49569: Test Object Moving
Used by the routines at HandleSpecialObject, HandleChest and HandleTable.
Tests whether an object is moving, which is when its speed in any of the three axes is not zero.
Input
IX Address of the object
Output
F Zero flag set if the object is not moving
TestObjectMoving 49569 LD A,(IX+9) Fetch the speed in X.
49572 OR (IX+10) Combine it with the speed in Y.
49575 OR (IX+11) Combine it with the speed in Z.
49578 RET Return.
View the equivalent code in;
Prev: 49522 Up: Map Next: 49579