Conditional branch for event triggers

I'm making a game in RPG Maker MZ where enemy sprites show on the map and interacting with them starts the battle. I'm trying to find a way to make it where if the player touches the enemy you'll start the battle in preemptive and if the event touches you, you get surprised. The problem is there are no conditional branches that effect the trigger (the choices below the priority in the event editor).

Original thread: https://forums.rpgmakerweb.com/threads/conditional-branch-for-event-triggers.180951/