![]() |
Routines |
| Prev: 984D | Up: Map | Next: 9873 |
|
Used by the routine at drift_at_random.
For drift_at_random: DE = -$20 when the flags are zero, +$20 otherwise.
|
||||||||
| random_direction | 986A | LD D,$FF | ||||||
| 986C | LD E,$E0 | |||||||
| 986E | RET Z | |||||||
| 986F | LD DE,$0020 | |||||||
| 9872 | RET | |||||||
| Prev: 984D | Up: Map | Next: 9873 |