![]() |
Routines |
| Prev: 9837 | Up: Map | Next: 986A |
|
Types $18 and $1A: the acceleration in each axis is $20 or -$20, from bits 0 and 1 of the random number (random_a).
|
||||||||
| drift_at_random | 984D | LD A,(random_a) | ||||||
| 9850 | AND $01 | |||||||
| 9852 | CALL random_direction | |||||||
| 9855 | LD (IX+$0B),D | |||||||
| 9858 | LD (IX+$0C),E | |||||||
| 985B | LD A,(random_a) | |||||||
| 985E | AND $02 | |||||||
| 9860 | CALL random_direction | |||||||
| 9863 | LD (IX+$0E),D | |||||||
| 9866 | LD (IX+$0F),E | |||||||
| 9869 | RET | |||||||
| Prev: 9837 | Up: Map | Next: 986A |