How to make events impassable?

Hello! In the game I'm working on, I'm using a script (Yanfly's Move Restrict Region) that allows players or NPCs(events) to be allowed or disallowed on certain region tiles or to be quarantined to a specific area via fencing with the region tiles. Settings include having one number of regions to allow (or disallow) nothing (events or player cannot stand on the tile), events only, or the player only. In order to walk on those tiles, the "Through" setting needs to be put on for an event or player. I haven't found a good method to simulate walking on specific tiles (like water or nothingness) as swimming or flying could do so I used the script above.

So to visualize my problem, I'll start with water. I have a tileset with water that I can walk on. In order to "swim", you'll need a specific armor piece. A swimming suit would be the condition to "swim". When that's equipped, it'll change the player's setting to "Through" which allows the player to step on said tile. It only works that way because of how the script was made. Everything seems to be working well until an event comes along. When the player collides with an event, it either goes above or below it. I don't want that. I'd like a way that even if "Through" is set to on for the player, events will still collide with the player.
Personally, instead of having the player set to "through", have a region right in front of the body of water that extends along the perimeter. Then, make a common event (or a regular event if it's just on one map) that triggers if the player steps in that region. It will check to see if the armour is equipped, and if it is, the region won't block you. Otherwise, it'll say you don't have the required armour and move you away. Keep the water tiles passable the entire time, however. All that will change is whether or not the player will get moved away from the water.
Ah, that's actually very helpful. I wanted to use scripts to replace creating various events, but I'll just stick with having events all over the edges of water. Thanks for reminding me about events.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-events-impassable.83654/