Map loads defeated enemies when loading save

I have a rather large main map for my game that the player returns to multiple times, and I want to allow the player to save mid-run. However reloading the map from a save will presently respawn defeated enemies (in the form of events that are deleted on defeat). I do want the enemies to respawn when the player leaves/accesses the map as intended through game mechanics, so I can't just permanently get rid of them. I could make self-switches for every individual event to turn them off on defeat and re-enable, but I have 50+ that I would need to manage (which I guess is possible just kind of a pain).

I'm wondering if there's an easier way to do it. Googled around a bit but the terms are pretty common so I didn't find anything.
There have been a number of threads about this, but it depends on exactly what you're doing.

And we can't really tell because you didn't show a screenshot of your event and you're not using standard terminology - what does "deleted" an event mean? Unless you're actually in the editor, deleting it.

If you want to use self switches, you can either use a single script call to toggle them back, or event it as I demonstrate here.

Your solution is exactly what I'm looking for, thanks.

Original thread: https://forums.rpgmakerweb.com/threads/map-loads-defeated-enemies-when-loading-save.172835/