oh, wow. I'm really sorry to burst your balloon, but your suggestions are just not very good. Neither of the two you've provided here will solve the OP's problem.
And if you're not trying to fix their problems, why post? They have asked for a solution. They want a solution.
Let's look at each one you provided.
Parallel Event:
# Store initial value
Script: $player_d = $game_player.direction if not $player_d
# If Player Direction changes
Conditional Branch -> Script: $game_player.direction != $player_d
# Do your eventing stuff here
End
When you leave the room or the event is all done and wont be used again, use another Script Box to set $player_d to nil
Why are you using a global variable? Not needed, and not a good idea.
Why are you setting the variable to the player's direction and then immediately testing to see if it's the same as the player's direction? It always WILL be, because you've just set it to be the same before doing the check
The conditional branch will NEVER evaluate to true.
Putting that aside (assuming when the player does change direction, that that branch will be true) ...
That logic will be run continually while the player's on the map (if we assume parallel event means an event on the map and not a common event) so EVERY TIME the player changes direction, that code is going to trigger.
It doesn't care where the player is on the map
It doesn't care what the new direction is
And the suggestion of using ANOTHER script box to set $player_d to nil? Why? Why not just set a self switch that controls a new page so the event doesn't run anymore? If you have one event that is repeatedly setting $player_d to nil, and another event that is repeatedly setting $player_d to the player's direction, they are going to conflict, and the test will be run right after you set it to the player's direction.
None of this addresses the question actually asked, and that's the point I was making - you appear to have read the thread title, and provided a solution, without reading the original post to see what the OP was actually trying to achieve.
So, in your revised post after you read the original requirement ...
You have shown how to hardcode the x and y values for checking. What if they move the event one tile to the left or the right? What if they want to copy it and have the same thing happen in several places? My solution says to compare the player's location with "this event's" location. If they move the event, it will still work. If they copy it and paste it 15 times, it will still work.
And I just don't understand this:
16 and 24 are XY Coordinates of tile to be moved to from 4 which is Left.
That's not what the OP asked for either. They asked for a way to tell, if they are standing on a certain tile, if they are facing up. Up is 8. They are not necessarily moving.
If your objection is merely teaching them how to do it themselves, some people just want the answer so they can get on with their game. The OP has a single post and joined the forum yesterday. He said he only got Ace 3 days ago. It's save to assume he may already be overwhelmed with the amount of stuff he has to learn. I provided steps to follow, told exactly what to put in, and then afterwards explained the logic of how those event pages all work together.
Don't get me wrong - your eagerness to help people is appreciated. But you need to make sure you're thinking things through, answering the question they asked, and that you get it right. The times when I correct you (or anyone else, or when anyone corrects me), it's because those things haven't been done. And sometimes you give solutions for engines you don't even have access to (and scripting solutions at that).