NPCs Don't Move Passed Edge Of A Looped Map

Right now, I have an event set up where the player is getting chased by some enemies, but for some reason the NPCs won't go passed the edge of the map which is looped. Is there a way to force them to chase my hero passed the edge using move towards player?
Is it all done via move routes? If you can detect when they reach the edge of the map, you can add a moveto(x, y) to put them back over the other side.
I'll try that, thanks.
Put the moveto(x, y) in a Script call in the move route (last command), then you don't have to worry about how to tell it which event you're talking about.
Weird, I don't seem to be having that issue when testing this. 😳
It didn't work, the moveto kind of just teleported the event there and when I used move right, that just doesn't work, they don't move. Since the player can be controlled during this scene, it will look bad if they see the event teleport into place. I can eliminate the looped map and start the player off in the a little bit further than the far edge giving the player some time to get away and that will eliminate the NPC passing problem. I think that is the way I will go about it.

@Espon

Since it works for you, maybe it's a script that's causing it, but I wouldn't know which one.

Original thread: https://forums.rpgmakerweb.com/threads/npcs-dont-move-passed-edge-of-a-looped-map.16000/