Cancel a state with a button/tap

I am working on adding an auto battle feature to my game. I'm really trying to make it seem as smart as possible, but players will always want the choice to stop the AI and make their own choice. Auto battle is easy to add, I have an auto battle command that is tagged as <instant> and seals there normal skills and opens up a streamlined set of auto skills. (That's to prevent stuff like the healer using sacrifice when everyone is full simply because it does high damage).


Just like any state I can set it to remove after x number of turns, battle end, etc. is there a way for me to cancel it mid battle though? So, if the player sets all party members to auto, and the enemy performs an unexpected attack that the AI doesn't handle well, I want the player to be able to tap the screen and cancel the auto-battle flag on all. I use YEP_ButtonCommonEvents so I can do stuff like that on the world map, but that plugin only works on the world map, and it requires keyboard presses without seeming to support screen taps. 

Original thread: https://forums.rpgmakerweb.com/threads/cancel-a-state-with-a-button-tap.62405/