Let us assume that you have 2 layers of those objects. Create hidden lava near the place you want your prospective event to happen.
Then create new layers:
- eventchecker1 (-) - you can use any block for that
- eventchecker2 (-) - the same
- eventlayer (*) - use SMB2 Mushroom or any Friendly NPC, bur remember: they can be killed by enemy projectiles or floating enemies with "noblockcollision=1"
Place above the lava this construction:
Remove left
eventchecker1 after
first layer NPC are defeated
Remove right
eventchecker2 after
second layer NPC are defeated
Set your prospective event for "No More Objects in Layer"
eventlayer
If you destroyed all the objects from your both layers, go to suitable place - and your prospective event will happen!
I hope you understand my crooked explaining
