Interactive party member and/or being trapped by NPCs

Okay, I've got a scene I'm working on and I'm trying to puzzle out a way to solve this problem:

I want the player to be able to walk around, chat up some NPCs, usual stuff for a scene. However, I also want a secondary character to follow them around that they can talk to as well.

The secondary character is an event. I could get them to follow the PC by setting them to approach, or by creating a looping parallel event to move them a step towards the player.

The problem is that the map isn't so open that there aren't places that the player could go where they'll end up trapped if the NPC moves next to them. I could theoretically redesign the map so that there are no dead ends at all, but that's something I'd really rather not do if I could help it (especially since I'll have to go back and redesign a few other maps based on the same area)

If I set the NPC event to above or below the player they'll be able to walk through them if they get trapped, but then the auto-follow system will keep putting the NPC on the same tile as them and I'd like to avoid that. It'll not only look awkward, it'll create conflicts when they want to talk to a static NPC but the following NPC is sharing their square and the action button triggers their dialogue instead.

Something like the standard party following would be ideal (always one step away, never blocking movement) but then it wouldn't be possible for the player to interact with the NPC character.

Anyone know a solution to this dilemma or is it just not feasible?

(I figure there's a way to add a menu option to chat with a follower, but I'd like to avoid that if possible, since I'd rather keep things intuitive but if that's the best solution it's probably the way I'll have to go.
I... Literally just got done typing about having to redesign one of my towns because I was afraid of something like that happening. XD

Anyways, there is a yanfly script (Region Restrictions) that lets you block events from entering certain tiles based on regions, so maybe you could set that up before entering any of the ally ways, so its like the NPC would wait for them or something. Another thing I guess would be to have an alternate page that activates when they are touched which runs activates a parallel that turns them temporarily passable for just long enough to let the player pass, but it has been like five years since I've touched events back in VX, so I don't really remember how to set something like that up.
Put empty Events on below player on places where the NPC Event shall not go through.
Player can go through those Events, but Events can't go through those.
Maybe it works for your Scenario.
put region IDs on the map where the event is supposed to be allowed to walk, and check for those in that event's move route.
if the nearest tile is not that ID, don't move.

set your move route to script, and use this:
Code:
if ([regionID].contains(($gameMap.regionId($gameMap.xWithDirection(this._x,this._direction),$gameMap.yWithDirection(this._y,this._direction)))) {moveTowardPlayer};

set it to a slow update to allow the player some space.
you can add more IDs and mix them between different characters, if you want some events to move to some areas but not others.

(Adapted for MV from Ace. Should work as it is, since it's all base functions)

Original thread: https://forums.rpgmakerweb.com/threads/interactive-party-member-and-or-being-trapped-by-npcs.117149/