I recently began to think about the custom sprites that make a certain sprite appear when all the enemies on the screen are killed, and there's something about these sprites that has me curious (not a request), would it be theoretically possible to have a sprite which spawns only when all the enemies in the level are killed (not just the screen any current enemies are shown on, but enemies in that single area, regardless of how many screens are used)?
In a way, it would be like the "Destroy Them All!" and "Bash The Baddies!" bonus rooms in Donkey Kong Country 2 and 3 respectively, where you can't get the Kremkoin or Bonus Coin until every enemy is killed, regardless of the length of the bonus room.
Wouldn't such a sprite be able to keep track of how many enemies are left in an individual section of a level? I wish I had a little input on this concept, please.
Anyway, thanks in advance.

In a way, it would be like the "Destroy Them All!" and "Bash The Baddies!" bonus rooms in Donkey Kong Country 2 and 3 respectively, where you can't get the Kremkoin or Bonus Coin until every enemy is killed, regardless of the length of the bonus room.
Wouldn't such a sprite be able to keep track of how many enemies are left in an individual section of a level? I wish I had a little input on this concept, please.
Anyway, thanks in advance.
