Prev: 9A08 Up: Map Next: 9A38
9A1C: Remove shot
Input
D Color of 'explosion'
IX Sprite data of shot
remove_shot 9A1C LD (IX+$00),$04 Set sprite type to destroyed
9A20 LD (IX+$0B),D Set color
9A23 LD (IX+$03),$0F Set animation counter
9A27 LD (IX+$04),$FF Set loaded patten index to none
9A2B LD (IX+$06),$00
9A2F LD HL,active_shots Decrement active shots
9A32 DEC (HL) ...
9A33 LD HL,total_enemies Decrement total enemies (hmm, why here?)
9A36 DEC (HL) ...
9A37 RET
Prev: 9A08 Up: Map Next: 9A38