![]() |
Routines |
| Prev: 97FF | Up: Map | Next: 984D |
|
Type $17: full acceleration towards the ship (steer_towards), and the next turn in 10-25 passes.
|
||||||||
| turn_at_ship | 9837 | PUSH IY | ||||||
| 9839 | LD IY,ship_record | |||||||
| 983D | CALL steer_towards | |||||||
| 9840 | POP IY | |||||||
| 9842 | LD A,(random_a) | |||||||
| 9845 | AND $0F | |||||||
| 9847 | ADD A,$0A | |||||||
| 9849 | LD (IX+$15),A | |||||||
| 984C | RET | |||||||
| Prev: 97FF | Up: Map | Next: 984D |