Spawns enemies until a cap (5). if a enemy dies it will respawn it after a cooldown period (5 sec)
mold orbs have health (60) and can be destroyed
Mold orbs look at all other orbs in the room and check when they die only when all orbs are dead enemies dissapear
You can also select in which area the moldcore exists.
If your mold core is dead, it no long spawns enemies in that specific area.
If all mold cores are dead, the wave is done, and so all remaining enemies vanish