Prev: 65BA Up: Map Next: 65D6
65CB: Stun Bug
Used by the routines at LeechWeaponHit, MidgesWeaponHit and SlugWeaponHit.
Stuns a bug for 10 updates and plays the sound for a weapon hit.
Input
IX Bug object
StunBug 65CB SET 2,(IX+$04) Set bit 2 of IX+04 (stunned).
65CF LD (IX+$05),$10 Write 10 to IX+05 (the stun timer).
65D3 JP PlayRepellentHitSound Jump to PlayRepellentHitSound (which returns to the caller).
Prev: 65BA Up: Map Next: 65D6