| Gyruss | Routines |
| Prev: 9A1C | Up: Map | Next: 9A49 |
|
Used by the routine at handle_collisions.
|
||||||||||
| ship_hit_sprite | 9A38 | LD A,(IX+$00) | Get sprite type | |||||||
| 9A3B | CP $12 | If < $12 | ||||||||
| 9A3D | JR C,ship_hit_enemy | Then handle collision with enemy | ||||||||
| 9A3F | CP $14 | If >= $14 | ||||||||
| 9A41 | JR NC,ship_hit_enemy | Then handle collision with enemy | ||||||||
| 9A43 | LD HL,active_enemy_shots | Decrement enemy shots | ||||||||
| 9A46 | DEC (HL) | ... | ||||||||
| 9A47 | JR ship_hit_enemy_1 | Set died flag and return | ||||||||
| Prev: 9A1C | Up: Map | Next: 9A49 |