Enemies disappear after battle?

Basically, I have my character run into 3 bandits and after the battle, I need the 3 bandit sprites to disappear, does anyone know how to do this?
in battle or on the map?

if on map, just flip a switch (if you use on map battle)
if win, flip switch A, B etc ON)

for battle, that depends if you use plugins or not.
in battle or on the map?

if on map, just flip a switch (if you use on map battle)
if win, flip switch A, B etc ON)

for battle, that depends if you use plugins or not.
Like, after the battle, when you return to the map, can a switch control 3 characters?
I mean, the solution is pretty simple even then, just use a switch from the "control switches" tab as a condition in the "Conditions" section top left on a second page where there's no image for your character or anything else going on.
You basically set the switch to ON if the battle won in the "If Win" section(you just need to check either "Can Escape / Can Lose" for this to show up).
You do this for all your 3 characters.
if they are connected, you just use the scriptcall:
$gameSelfSwitches.value([mapId, eventId, "A"], true);

so you just need to place it for all switches to turn the selfswitch ON.
depends on the event that trigger it, and set the A flip on, as simple as that.
you can do this for for all, but you could also do something like
[3,5,7].contains..... and the rest of the code for the ID, map, Letter of the switches.
Thank you guys, I'll give those ideas a go, after work tonight

Original thread: https://forums.rpgmakerweb.com/threads/enemies-disappear-after-battle.163061/