Prev: 984D Up: Map Next: 9873
986A: Choose Acceleration
Used by the routine at AccelerateRandomly.
Chooses an acceleration of FFE0 or 20.
Input
F The zero flag selects the negative acceleration
Output
DE Acceleration
ChooseAcceleration 986A LD D,$FF Use FFE0 as the acceleration.
986C LD E,$E0
986E RET Z Return if the zero flag is set.
986F LD DE,$0020 Use 20 as the acceleration.
9872 RET Return.
Prev: 984D Up: Map Next: 9873