In the desert area of my game, if the player steps off the path, they will be transferred back to the start of the path and have to start again. I did this using simple "Transfer Player" event tiles, but now there are so many of them that the game lags considerably. It didn't used to be a problem until now. Nothing changed, so I don't know what happened. I tried deleting a few of the more unnecessary ones, but it's still lagging. I figured terrain tags would be a good thing to switch them to, but I have NO idea how to work those. I know a script has to be used in conjunction with the terrain tagged, but I don't know where said script is. I searched through Yanfly's script list, but the closest thing I found was the "Move Restrict Region" script, which isn't quite what I want.
To prevent lagging, I need a terrain tag script that warps the player to a specific point when touched. Any suggestions or creations?