How to run Common Event Before End of Battle in MZ

I want to run a common event when all enemies are defeated before it gives EXP and goes back to the map.

I saw this plugin for MV that does what I want. It does not seem to work with FOSSIL.

Is there a similar plugin for MZ, or a way to do this without plugins?
It does not seem to work with FOSSIL.
How did you reach that conclusion? The plugin that you linked works fine in MZ, even without FOSSIL.
How did you reach that conclusion? The plugin that you linked works fine in MZ, even without FOSSIL.
I'm sorry. A person I work with tested it for me, reporting it would not work. So I made this thread knowing that there are incompatibilities with MV.

I tested it myself on a fresh project, and it works. Sorry for the trouble. I will now always test plugins myself before posting.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-run-common-event-before-end-of-battle-in-mz.169288/