This can be done by makeing a cordinates reader using a parrellel common event process that records player x and y coords to variables, and blank events set up in the spots you don't want players to be able to walk on when they are standing on certain map coords.
If you don't want this common event running all the time, you can set it to be activated by a switch.
You will need two variables. I called them "Location X" and "Location Y"., and they are occupying 2 and 3.
You will need some kind of switch to activate the parallel process. That switch can either be something physical that the player activates (like a normal event), or it can be autorun, or whatever you want to make that switch activate.. But it must activate somehow.
Common event would look like this:
Next you need to place events everywhere you do NOT want the players to be able to step on: (the one in the top right is an autorun you'll need)
The four events placed where the arrows are pointing are blank event pages with only two things:
Priority: Same as character
Options: Through
Next, you'll want to create a new event anywhere that will autorun when the switch is activated. That event should look like this:
I named each event it's respective coordinates to make it easier to map. You'll need to repeat the above contents for each of the events you placed, and adjust the "If" requirements for the locations of each of the arrows... You can place all of it in the same event, Or alternatively, you could also place all of this in the same Common Event Parallel process.. Either way works.
What this whole process will do, is that while that parralel process is running, it will record the player location.. If you have all the coords and "if" statements set appropriately, it will turn the "through" off on the appropriate event to prevent the player from stepping on the event... Once the player steps off the arrow in any other direction, the "through" is turned back on for that event so the player can freely walk ontop of it.
It is not short and simple, but it does work.
Oh.. and one last thing. in order to assign the coords to a variable, you need to go to Control Variables.. -> Game Data -> Player -> Map X/Y
Hope that's not too confusing.. if you run into any problems with it, let me know! screenshots will also help.
EDIT: (I just realized it would be much easier to just name the events themselves the same coordinates of the arrow that should cause it to activate.. Will save you some time and work mapping them out in the event contents.)