Player touch & Event touch in one Event?

Hey there! Been a long time since I had a question, but I've got something new. I'm not sure if a plugin would be needed for that, so I was a little lost on where to put this topic.
However, what I'm trying to do is basically when the player touches the event, that it triggers an action, but when the event touches the player first, it triggers a different action.
If you need more of an example to understand what I mean, here is one: Let's say Mary walks after Barry and catches him, then brings him to the police. But if Barry was to touch Mary first, he would knock her out, so she couldn't catch him anymore.
I hope it's a little bit clear what I mean. ^^° I didn't find anything in conditional branches that could have achieved the wanted result and I've really been all over the web to find something like that. I hope it's not too hard? I'd also be perfectly fine with it if instead of the player touching the event, the player would have to press a button.

If anyone could help me, that would be great! Thank you in advance!
You can make a different parallel event that will check for this:
Code:
$gameMap.distance($gamePlayer.x, $gamePlayer.y, $gameMap.event(id).x, $gameMap.event(id).y)==1 && Input.isTriggered('ok')
So when you're within 1 tile of the event and press 'enter', you can catch the event. You can leave the event trigger as event touch.
In case you're interested, Galv has a handy plugin for this:
You can make a different parallel event that will check for this:
Code:
$gameMap.distance($gamePlayer.x, $gamePlayer.y, $gameMap.event(id).x, $gameMap.event(id).y)==1 && Input.isTriggered('ok')
So when you're within 1 tile of the event and press 'enter', you can catch the event. You can leave the event trigger as event touch.
Wow! That was fast, ha ha! Thank you so much, it works great and is exactly what I was searching for! 🙂

In case you're interested, Galv has a handy plugin for this:
Ah, thank you as well! I will definitely make sure to get my hands on that one!

Original thread: https://forums.rpgmakerweb.com/threads/player-touch-event-touch-in-one-event.126259/