![]() |
Routines |
| Prev: 994B | Up: Map | Next: 9974 |
|
The next change in 16-79 passes. One time in four it stops dead (stop_object); otherwise it homes in on the ship at the quarter rate (home_on_ship), but only until the next change (bit 7 of +$16 is cleared again).
|
||||||||
| steer_tough_attacker | 995B | LD A,(random_a) | ||||||
| 995E | AND $3F | |||||||
| 9960 | ADD A,$10 | |||||||
| 9962 | LD (IX+$15),A | |||||||
| 9965 | LD A,R | |||||||
| 9967 | AND $03 | |||||||
| 9969 | JP Z,stop_object | |||||||
| 996C | CALL home_on_ship | |||||||
| 996F | RES 7,(IX+$16) | |||||||
| 9973 | RET | |||||||
| Prev: 994B | Up: Map | Next: 9974 |