Reusable item that takes you to an area that has an event that brings you back after

Since I can't afford to buy a skill tree plugin, I want to make a reusable item that bring the player to an area where the player can modify their stats (which I can figure out myself) but also have an event that takes them back to the area they were in before they entered. Does anyone know how to do this?
you use three variables toi store the current position, then transfer to the skill map.
on the map you probably want to disable followers (if any) and change the actor sprite to a cursor sprite, then walk arounf the skill map activating events pretending to be skills before going to an exit event that transfers back to the position stored in the three variables
you use three variables toi store the current position, then transfer to the skill map.
on the map you probably want to disable followers (if any) and change the actor sprite to a cursor sprite, then walk arounf the skill map activating events pretending to be skills before going to an exit event that transfers back to the position stored in the three variables
Does the position store the area too?
If by "area" you mean "map", yes. Like Andar said, you'd use 3 variables:
  1. Store ID: Control Variables -> Game Data -> Other -> Map ID.
  2. Store X: Control Variables -> Game Data -> Character -> Map X.
  3. Store Y: Control Variables -> Game Data -> Character -> Map Y.
  4. (Transfer to your "menu map" and do the things.)
  5. Return: Transfer Player -> Designation with variables (ID, X, Y).
Here's a tutorial on this approach~

Original thread: https://forums.rpgmakerweb.com/threads/reusable-item-that-takes-you-to-an-area-that-has-an-event-that-brings-you-back-after.175491/