Troubleshooting region transfer system

I've set up a system with common events for edge-of-map transfers & custom screen wipes that is working in three directions, (N, E, S) but not the fourth (W). I suspect that the whole way I have this region transfer system set up is not quite Best Practices and I need someone else's eyes to identify what's wrong. Apologies if I've assigned variable, map, and region IDs in confusing ways but I'd love to have any and all feedback. (I took a couple screenshots and ran them through an image-to-text thing to make this more readable)

The issue: When the player travels WEST, the screen wipe loops repeatedly, and the player arrives on one of the westmost maps of the overall area. Because this happens consistently at different "latitudes" on my map, I believe the problem is with my common events and not the map events. I initially assumed the problem was that the "departure" common event was dropping the player on a region that triggers transfers, but no. I specifically think I'm using Get Location Info incorrectly but I don't know why.

DEPARTURE Common Event: This is a parallel event that runs when a switch is on. This switch is turned on whenever the player is transferred to this part of the game, roughly 30 "overworld" maps of various size & their children. Note that the "oblique" directions (which are intended to be used when the map has an edge that exits to multiple other maps) aren't set up yet, because I ran into the issue this post is about.

If RegionID= 64
Comment: North
Control Variables: #0049 DirectionTraveled = 1
Control Variables: #0036 TransferX = LocalX
Control Variables: #0036 TransferX += NorthX.Adjust
Control Variables: #0037 TransferY = ExitY.North

Show Picture: #99, vwipe, Upper Left (0,-1500), (100%, 100%), 255, Multiply
Move Picture : #99, Upper Left (-550,-400), (100%, 100%), 255, Multiply, 20 frames (Wait)

Transfer Player: {NorthMapID} ({TransferX}, {TransferY}}
: Else
If RegionID = 65
Comment: East
Control Variables: #0049 DirectionTraveled = 2
Control Variables: #0036 TransferX = ExitX.East
Control Variables: #0037 TransferY = LocalY
Control Variables: #0037 TransferY + EastY. Adjust

Show Picture : #99, hwipe, Upper Left (1204,0), (100%,100%), 255, Multiply
Move Picture: #99, Upper Left (-780,0), (100%,100%), 255, Multiply, 20 frames (Wait)

Transfer Player: {EastMapID} ({TransferX}, {TransferY})
: Else
If RegionID = 66
Comment: South
Control Variables: #0049 DirectionTraveled = 3
Control Variables: #0036 TransferX = LocalX
Control Variables: #0036 TransferX += SouthX.Adjust
Control Variables: #0037 TransferY = ExitY. South

Show Picture : #99, vwipe, Upper Left (-1100,700), (100%, 100%), 255, Multiply
Move Picture: #99, Upper Left (-550,-400), (100%, 100%), 255, Multiply, 20 frames (Wait)

Transfer Player: {SouthMapID} {{TransferX}, {TransferY})
: Else
If RegionID = 67
Comment: West
Control Variables: #0049 DirectionTraveled = 4
Control Variables: #0036 TransferX = ExitX.West
Control Variables: #0037 Transfery = LocalY
Control Variables: #0037 TransferY += WestY.Adjust

Show Picture: #99, hwipe, Upper Left (-2764,0), (100%, 100%), 255, Multiply
Move Picture: #99, Upper Left (-780,0), (100%,100%), 255, Multiply, 20 frames (Wait)

Transfer Player: {WestMapID} ({TransferX}, {TransferY}}
: Else
If: RegionID = 63
Comment: Oblique1
: Else
If RegionID= 62
Comment: Oblique2
: Else
If RegionID = 61
Comment: Oblique3
: Else
If RegionID = 60
Comment: Oblique4
: Else
Wait: 1 frame
Get Location Info: RegionID, Region ID, ({LocalX},{LocalY})
Control Variables: #0047 LocalX = Map X of Player
Control Variables: #0048 LocalY = Map Y of Player

: End
(snip)

Map Event: This is found as a parallel event on every map, with variables assigned as appropriate for each map.

Common Event ArriveScreenWipe
Change Transparency : OFF
Comment: NORTH----
Control Variables: #0012 NorthMapID = 28
Control Variables: #0051 ExitY.North = 24

Comment: EAST----
Control Variables: #0013 EastMapID = 33
Control Variables: #0050 ExitX.East = 1

Comment: SOUTH---
Control Variables: #0014 SouthMapID = 40
Control Variables: #0053 ExitY.South = 1

Comment: WEST----
Control Variables: #0015 WestMapID = 31
Control Variables: #0052 ExitX.West = 38

Comment: ADJUSTING
Control Variables: #0024 NorthX.Adjust = 0
Control Variables: #0025 EastY.Adjust = 0
Control Variables: #0026 SouthX.Adjust = 0
Control Variables: #0027 WestY. Adjust = 0

Erase Event

ARRIVAL Common Event: This is a common event that gets called by a map event (see below) that assigns the necessary variables for the DEPARTURE event.

If DirectionTraveled = 1
Comment: Arrive From South
Get Location Info RegionID, Region ID, ({LocalX}, {LocalY})
Control Variables: #0049 DirectionTraveled = 0
Show Picture #99, vwipe, Upper Left (-550, -400), (100%, 100%), 255, Multiply
Move Picture #99, Upper Left (-1100,700), (100%, 100%), 255, Multiply, 25 frames (Wait)
Erase Picture: #99

: Else
If DirectionTraveled = 2
Comment: Arrive From West
Get Location Info RegionID, Region ID, ({LocalX}, {LocalY})
Control Variables: #0049 Direction Traveled = 0
Show Picture #99, hwipe, Upper Left (-780,0), (100%, 100%), 255, Multiply
Move Picture #99, Upper Left (-2764,0), (100%, 100%), 255, Multiply, 25 frames (Wait)
Erase Picture: #99

: Else
If DirectionTraveled = 3
Comment: Arrive From North
Get Location Info RegionID, Region ID, ({LocalX},{LocalY})
Control Variables: #0049 DirectionTraveled = 0
Show Picture #99, vwipe, Upper Left (-550,-400), (100%, 100%), 255, Multiply
Move Picture #99, Upper Left (0,-1500), (100%, 100%), 255, Multiply, 25 frames (Wait)
Erase Picture: #99

: Else
If DirectionTraveled = 4
Comment: Arrive From East
Get Location Info RegionID, Region ID, ({LocalX}, {LocalY})
Control Variables: #0049 DirectionTraveled = 0
Show Picture #99, hwipe, Upper Left (-780,0), (100%, 100%), 255, Multiply
Move Picture #99, Upper Left (1204,0), (100%, 100%), 255, Multiply, 25 frames (Wait)
Erase Picture: #99

: Else
If DirectionTraveled = 0
Get Location Info RegionID, Region ID, ({LocalX}, {LocalY})
: End
: Else
Erase Picture #99
Wait 30 frames

Any input is appreciated!
Any input is appreciated!
I think you're doing this in an overly complicated way, personally. I don't see any reason/benefit to using a parallel event that's constantly monitoring the player coordinates for this.

I would place a regular Player Touch event on the edge of the map. Use event commands to set X and Y equal to the X offset you want and the Y of this event. (flip that as appropriate for each edge)

Transfer to your specified map at those coordinates. That can then be copied and pasted along your entire map edge and the code will work for each one.

One unique event per map edge, 0 parallel events (instead of 3), 2 variables (instead of...8??).

I specifically think I'm using Get Location Info incorrectly but I don't know why.
I don't see anything specific to the West side, but I didn't read all three events super in-depth. I do see that you're using Get Location Info before you set the variables equal to the player's current map location.

That seems incorrect, as you'd be getting the info from a previous (and possibly undefined) set of coordinates.
Thank you, this is precisely the information I need!
I also see one issue on it, not sure why though:

Code:
Comment: West
Control Variables: #0049 DirectionTraveled = 4
Control Variables: #0036 TransferX = ExitX.West
Control Variables: #0037 Transfery = LocalY  // <== this line, Transfery
Control Variables: #0037 TransferY += WestY.Adjust

as the others are TransferY so why it hat a lowercase on the same variable?
it might mess with your transfer though, so see if it can be solved its also Y.
That was just a side effect of running my screenshots through an image-to-text program; these were some complex events & a longer "reading demand" than previous questions I've brought to these forums, and so I wanted to post text rather than a screenshot to accommodate other peoples' accessibility. Thanks for looking!
That was just a side effect of running my screenshots through an image-to-text program;
Just for future reference, you can go into the event, Ctrl+A to select all, then right-click and copy as text.
You're cleaning up my workflow left and right!

Original thread: https://forums.rpgmakerweb.com/threads/troubleshooting-region-transfer-system.156596/