Prev: 90A7 Up: Map Next: 90EC
90CD: Negate an object's velocity
Used by the routines at move_bouncing and place_collision_box.
Both components, through negate_hl.
Input
IX The object
negate_velocity 90CD LD H,(IX+$07)
90D0 LD L,(IX+$08)
90D3 CALL negate_hl
90D6 LD (IX+$07),H
90D9 LD (IX+$08),L
90DC LD H,(IX+$09)
90DF LD L,(IX+$0A)
90E2 CALL negate_hl
90E5 LD (IX+$09),H
90E8 LD (IX+$0A),L
90EB RET
Prev: 90A7 Up: Map Next: 90EC