MV Custom passability for events

Looking for a plugin that allows tagged events to pass through each other, but not through untagged events. For example, let's say you have 2 events, and each of them has the comment <passable>, then those two events would pass through each other as if they had Through turned on, but they wouldn't pass through events that didn't have that comment, or through impassable tiles (or regions if you're using Region Restrictions).

Of course there are other ways to do it, that's just an example. I've played several games where the guards just pass through each other as they patrol back and forth, but of course they have to go around buildings and objects. It would be great for something like that. Hoping someone knows of a plugin that does this. Thank you.

EDIT: Or, alternatively, a plugin that makes certain regions impassable to events that have "Through" on. That would also work.
Code:
Game_Event.prototype.isCollidedWithEvents = function(x, y) {
    var events = $gameMap.eventsXyNt(x, y);
    return $dataMap.events[this._eventId].meta["passable"] && events.length>0 ?  !events.some(event => $dataMap.events[event._eventId].meta["passable"]) : events.length>0;
};
The events will be able to pass through each other IFF both have the <passable> notetag.
@ATT_Turan Wow, thank you!!! Seems to work perfectly, and totally solves my problem. I really appreciate it. And I'm surprised it's so short.

Original thread: https://forums.rpgmakerweb.com/threads/custom-passability-for-events.140849/