So I tried adding enemies that shoot at you, but only one keeps shooting, despite another enemy being able to but not doing it. And even after when it’s destroyed, it keeps shooting, somehow.
Link: https://makecode.com/_CH720LL04WW4
(The Shooter Enemies are found in Level 2, keep going right until you see an arrow that says “2” next to it.)
Only one enemy keeps shooting, the others don’t do anything.
I think you could fix it with a code like this:
for array of all types of enemies:
then shooting codes