Remove events after battle is complete?

I have a situation where I would like 2 Events to be visible when you enter the battle, but when the battle is done and you go back, they are gone.

My current set up involved setting their Self-Switches to and empty page right after the Battle Processing is complete, but you see them for a split second before they disappear.

Is there a way, (like maybe in-battle?) to make them disappear so you don't have that moment of seeing them?
Yes, in your battle's troop event, you can turn on a switch and condition the two events' blank pages to it.
yeah, just do the switch/self-switch change using troop events
Alright. I originally tried that using

key = [$game_map.map_id, 11, 'A']$game_self_switches[key] = trueas a Script write-in as I do with in-map changes, but it didn't work the way I wanted, so I just did a regular switch and it did the job.

Thanks!
well, there's no game map during Battle... so you should have supplied the actual map_id value for the map that you want instead of using $game_map.map_id


you could also opted to just fade the screen out before battle, set those to on, then process battle and fade in
Haha, yeah, that's why I posted here 😛
this won't work

Code:
key = [$game_map.map_id, 11, 'A']$game_self_switches[key] = true
but this would for example

Code:
key = [1, 11, 'A']$game_self_switches[key] = true
I tried that too, but for some reason it did the "split moment" thing again, so I just went with the regular switch.
It shouldn't I guess, as long as you used it inside the battle and not after...


though oh well, it's just 1 switch anyways 🙂

Original thread: https://forums.rpgmakerweb.com/threads/remove-events-after-battle-is-complete.23704/