Prev: BD3B Up: Map Next: BD44
BD3F: Negate H
Used by the routines at bounce_45_negate and slope_negate.
Negates the whole part of an 8.8 speed, leaving the fraction: near enough a negation for a bounce.
Input
H the whole part
negate_high_byte BD3F LD A,H 0 - H
BD40 NEG
BD42 LD H,A
BD43 RET
Prev: BD3B Up: Map Next: BD44