Event to turn off "Auto Battle" Special Flag?

Hey, gang. Uh.. so I have this bit in my game where you meet a character and then get ambushed, and then it's like, "oh, we gotta fight the bad guys." You know. Standard RPG fashion. Anyways - I want to make it so that in that initial fight, that party member is controlled by the AI only. Kind of giving you a taste of what they can do while not letting you control them just yet, because, well, you're not friends. For a while, at least.

But after that fight, if you recruit them, hey, it's removed forever and you get to control them. Thing is, I only saw "change parameter" in the actor tab of the event commands, not change whatever-the-special-flag-is.

We got some sort of fancy plugin for that, or a script? I'm also fine if the answer is just making two actors and giving one auto battle and the other not. Unless that replaced temporary AI-controlled actor turns evil and.. woah. Lightbulb. Anyways, lemme know. Peace.
Maybe make a state with the Auto Battle trait and add it to that actor on turn 0 of that battle? Use no icon to make it invisible in-game.

If you want to allow reviving them before they become controllable, maybe give them a Weapon/Armor with that trait instead, since that won't be removed on KO. Then swap out their equipment after the battle ends.

Two different actors is also workable. Can run into difficulties, though, e.g. if you manually give them better gear, or use an item to teach them a new skill or boost their stats.
If you want to allow reviving them before they become controllable, maybe give them a Weapon/Armor with that trait instead, since that won't be removed on KO. Then swap out their equipment after the battle ends.
The weapon/armor suggestion worked like a charm. Thanks, boss!

Original thread: https://forums.rpgmakerweb.com/threads/event-to-turn-off-auto-battle-special-flag.162020/