How can I clear all enemy units on the map?

As the title suggests, I want to clear the map of all enemy units, while keeping the player and allied units where they are. Is there any way to do this?
(If it matters, I’m hacking FE7.)

There should be a function in FE8 that clears all enemy units on the map. Clear all enemy units I think it’s called. It should be in FE7 too.

In FE8 is (CLEE), you can try searching that one.

You can ask these kind of questions in the FEU discord!