Who makes the bump?

Hi, I’m making a simple roguelike and I’m using MythAtelier’s turn-based plugin. I’ve made one game before with RPG Maker, but since I learned another engine in between, I feel like I’m struggling with a simple thing.

What I want to achieve:
player bumps with an enemy → this thing happens
enemy bumps with the player → this other thing happens

I just can’t figure out what the best possible way would be to determine what state the event/enemy is in: the one initiating the touch or the one being touched with. It could somehow be tied to which one is moving, but I’m worried that with the plugin this might cause issues, since fundamentally both are moving at the same time when a button is held down.

Thanks!

EDIT: Ah whoops, you're using some movement altering plugin
Thank you very much! I was pretty sure I could event the thing somehow, but that looks better. I actually tired to google plugins too, but it seems somehow couldn't get the right search words to find this!

EDIT: Hopefully doesn't clash with other plugins, but I don't see why it would.

Original thread: https://forums.rpgmakerweb.com/threads/who-makes-the-bump.183165/