Language…
23 users online:  AmperSam, crocodileman94, DanMario24YT, Dennsen86, deported, DixyNL, Golden Yoshi, Green, Gurjinter,  idol, Knetog,  Losoall, Maw,  Noivern, Pink Gold Peach, ppp9q, Serena, Silver_Revolver, test212,  Thomas, tOaO, VSmario90,  yoshi3706 - Guests: 297 - Bots: 318
Users: 64,795 (2,374 active)
Latest user: mathew

Any hacks where enemies are defeated when falling into pits?

My biggest pet peeve in 2D Mario games is that when an enemy ends up in a bottomless pit, it simply despawns instead of dying. Are there any hacks where they actually die when falling into pits? Bonus points if Mario has a way to push them towards pits aside from just platform manipulation and stomping on them.
I guess I found something myself... kind of. 100 Rooms of Enemies has some rooms that let or require you to get some enemies off-screen to proceed. I'm still looking for a hack that focuses on platforming instead of ambushes (and fulfils the criteria in the OP) though.
Unless enemies are specifically scripted to erase themselves when they go off screen, they don't "die" necessarily. This has something mostly to do with how rendering and hardware is concerned. All enemies have what is called an "Off-Screen Routine", and this routine despawns them in order to save on memory and processing power for the game: It is what keeps the game from slowing down because of too many enemies to process.

So essentially you will never find a hack that does this unless the "pit" itself is set to delete any and all sprites/enemies that fall into it.
Most sprites that fall off the bottom of the screen do get unloaded, but the game intentionally (as far as I can tell) clears the flag that prevents them from being loaded again. As someone who has written a few off-screen handlers I think it would be pretty easy to make them stay gone. However, I am not familiar with any hacks that change it, which I think is a matter of nobody having wanted to. Most of the people I can imagine thinking about this behavior would prefer to go really deep with weird aspects of SMW's design like this rather than change them.

Regarding 100 Rooms of Enemies: If you see a setup based on "kill all the enemies", usually that works by checking whether any enemy sprites are loaded. If you have a single-screen room and an enemy falls in a hole, it'll get unloaded and there won't be any way to load it again. So falling in a hole will usually be enough for whatever code is checking on your progress. But if the room were multiple screens wide, you'd be able to walk away, walk back, and the scrolling would make the sprite load itself again. And if you walked to a screen with no enemies, no enemies would be loaded, and that would count as "killing" everything too. In this case the loophole is closed by single-screen level design rather than by changing the fundamental mechanics. [Edit: I haven't played 100ROE and upon rereading this thread I'm realizing this might not fit what Serena described so maybe they are using a different kill detector than usual. I was going by what I've seen in kill rooms in other hacks. The hubris!]

There are a bunch of places in the above paragraphs where I could put in some weird details or edge cases. I don't think they are super pertinent but could give a fuller account if desired.