Prev: 44393 Up: Map Next: 44435
44422: Set Velocity Magnitude
Used by the routine at HandlerRhino.
Sets the speed of the X velocity of an actor but keeps the direction it is moving in.
Input
A The speed
IX Actor record
SetVelocityMagnitude 44422 BIT 7,(IX+6) Jump to SetVelocityMagnitude_Store if the actor is moving right.
44426 JP P,SetVelocityMagnitude_Store
44429 NEG Negate the speed.
SetVelocityMagnitude_Store 44431 LD (IX+6),A Set the X velocity of the actor.
44434 RET Return.
Prev: 44393 Up: Map Next: 44435