How to make an event only go through certain objects?

I'm trying to make a chase scene, but I want to make it so the NPC chasing the player can go through the obstacles the player has to go around. I tried to set "through" for the options on the chase event, which worked, but I don't want it going through the walls as well. Is there any way for me to do this?

Here's a more specific breakdown of the scene I'm trying to make: The player is being chased down a long twisty hallway by a man. The hallway is really crowded, and when the player touches someone in the way, they'll move out of the way for the player. The chaser however is able to walk through them, but I don't want him to be able to walk through the wall if that makes sense.

(Sorry for all the threads I've been posting 😔 I have so many questions...)

Here's a screenshot of the hallway if it makes any difference
Check out my snippets thread in my signature - it has a bit for Passable Events that can pass through each other without affecting anything else.
Check out my snippets thread in my signature - it has a bit for Passable Events that can pass through each other without affecting anything else.
This is exactly what I'm looking for! I'm just not sure how to download it. I tried saving it as a note and making it a js file, but when I import it into RPG Maker it doesn't seem to work. Also, is the notetag a plugin command or script? Sorry, I'm still very new to this.
A notetag is typed into the Notes field of the applicable object.

So in this case you would type <passable> into the Notes of every event you want to be able to go through each other.
Ohhh now I feel dumb ahaha
Thank you it worked perfectly 🙂))

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-an-event-only-go-through-certain-objects.165918/