Goal: The player steps on an event that creates a control variable and activates a parallel process to transport them to 1 of 10 possible rooms. The player then walks and steps on a 2nd event that initiates a battle with an NPC. Immediately after the battle, the player is transported to the original room (not on the 1st event).
Problem: After battling the NPC, the player is sent back to the 2nd room, not the first room.
I can't seem to figure out what I did wrong.
Problem: After battling the NPC, the player is sent back to the 2nd room, not the first room.
I can't seem to figure out what I did wrong.