Prev: CD04 Up: Map Next: CD16
CD0D: Speed a homing velocity up the negative way
Used by the routine at HOMER.
The pull for a player further back along the axis: subtract 3, and cap the result at -72 (see ACCEL_PLUS for why the caps differ).
Input
A the velocity, in sixteenths of a unit
Output
A the new velocity
ACCEL_MINUS CD0D SUB $03 subtract 3; still going the other way: done
CD0F RET P
CD10 CP $B8 no faster than -72
CD12 RET NC
CD13 LD A,$B8
CD15 RET
Prev: CD04 Up: Map Next: CD16