Prev: 8D42 Up: Map Next: 8E2D
8E21: Count Active Enemy
Used by the routine at UpdateEnemies.
Adds one to the number of active enemies and then jumps to PrepareErase.
CountActiveEnemy 8E21 LD A,($8E2B) Fetch the number of active enemies from 8E2B.
8E24 INC A Add one and store it.
8E25 LD ($8E2B),A
8E28 JP PrepareErase Jump to PrepareErase.
8E2B DEFB $00
8E2C DEFB $00
Prev: 8D42 Up: Map Next: 8E2D