Prev: CC4B Up: Map Next: CCF2
CCE9: Bounce off in U: reverse the U velocity
Used by the routine at HOMER.
HOMER calls this when its move has bumped into something in U. The velocity at +14 is in sixteenths of a unit, the step at +9 made from it each turn; negating it sends the flyer back the way it came.
Input
IX the flyer
BOUNCE_U CCE9 LD A,(IX+$14) +14 = -(+14)
CCEC NEG
CCEE LD (IX+$14),A
CCF1 RET
Prev: CC4B Up: Map Next: CCF2