Hello, I plan to cycle through 4 identical maps with different color schemes. So far, I have a parallel event on each map (Spring, Summer, Autumn, Winter) that sets the map ID to a unique variable, then a conditional branch check which map the player is on, move to the next one, and assign that next one as the current map while keeping the player's current coordinates. The cycle starts on Spring, so on the starting map, I have a control variable statement that sets current map to spring.
Next, I'm using Yanfly's Button Common Events plug-in to trigger the common event and cycle to the next map. It looks to work smoothly up until that point. Here's a screencap of what I have:
*The last If statement has winter twice, my mistake.
And here are my variables:
However, once I press the mapped key (I'm using E at the moment, via the YEP plug-in), it takes me to a seemingly infinite black map. The vehicles are there too. Pressing the key to cycle the maps from then onward doesn't work and only reloads the black room, though the player's coordinates are kept.
The maps are all the same size, so it shouldn't be an out-of-bounds issue. I double checked the parallel events and I don't believe they interfere with each other.
I've also tried making independent conditional branches (no else statements) that check the current map, then move the player to the next seasonal map, and current map variable is updated via the parallel event on that next map. Same results, same black screen.
I'm rather stumped. Any help is greatly appreciated.
Next, I'm using Yanfly's Button Common Events plug-in to trigger the common event and cycle to the next map. It looks to work smoothly up until that point. Here's a screencap of what I have:
*The last If statement has winter twice, my mistake.
And here are my variables:
However, once I press the mapped key (I'm using E at the moment, via the YEP plug-in), it takes me to a seemingly infinite black map. The vehicles are there too. Pressing the key to cycle the maps from then onward doesn't work and only reloads the black room, though the player's coordinates are kept.
The maps are all the same size, so it shouldn't be an out-of-bounds issue. I double checked the parallel events and I don't believe they interfere with each other.
I've also tried making independent conditional branches (no else statements) that check the current map, then move the player to the next seasonal map, and current map variable is updated via the parallel event on that next map. Same results, same black screen.
I'm rather stumped. Any help is greatly appreciated.