On Screen Encounters - Refresh On Enter?

So, I know how to make on-screen encounters. I can even figure out how to make them reappear after some time has passed. What I'd like to do however, is have enemies disappear after they are defeated, but if the player leaves the map and returns, the enemies are back.


Can anyone think of a good way to do this?
easy - use erase event after the battle, that does exactly what you propose
As soon as you said that, I went "DUH." Thanks for pointing that out!

Original thread: https://forums.rpgmakerweb.com/threads/on-screen-encounters-refresh-on-enter.65358/