Battle on Map event Question

So first off let me just say that on every map i make i will put in a special location somewhere on the map for battling. Like in the picture below.

Anyways im going to set up my battles as events that walk around on the map and when you go into a battle its going to transfer the player and event to that special part of the map and it will then run this script;

Victor-Map turn battle

http://victorscripts.wordpress.com/rpg-maker-vx-ace/battle-scripts/animated-battle/map-turn-battle/

My question is:
After the battle if you win, is there a way to transfer the player back to their original location, back before transferring to the "Battle area" of the map?
If you're using events to transfer the player in, you can just save the map number, player's x and y locations into variables before the transfer. Then when the battle is over, use another transfer command, but set the location using the variables rather than direct appointment.
how would i go about doing that? Ive seen alot of things where people have to save their x and y locations but ive never actually done that
Control Variables > Game Data > Other > Map ID


Control Variables > Game Data > Character (Player)'s > Map X


Control Variables > Game Data > Character (Player)'s > Map Y
ty, i got it working
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/battle-on-map-event-question.16599/