![]() |
Routines |
| Prev: 64FA | Up: Map | Next: 65CB |
|
Used by the routine at UpdateLeech.
A weapon has hit the leech. A streamer kills it, the repellent spray stuns it and a smoke bomb has no effect.
|
||||||||||
| LeechWeaponHit | 65BA | AND %00111111 | Keep only bits 0-5 (the type of the weapon). | |||||||
| 65BC | CP $12 | Jump to KillLeech if the weapon is a streamer. | ||||||||
| 65BE | JR Z,KillLeech | |||||||||
| 65C0 | CP $08 | Jump to UpdateLeech_NoWeaponHit if it is not the repellent spray. | ||||||||
| 65C2 | JP NZ,UpdateLeech_NoWeaponHit | |||||||||
| 65C5 | CALL StunBug | Call StunBug to stun the leech. | ||||||||
| 65C8 | JP UpdateLeech_NoWeaponHit | Jump to UpdateLeech_NoWeaponHit. | ||||||||
| Prev: 64FA | Up: Map | Next: 65CB |