is there any scripts to calculate and track hp/stats from map to battle?

I was wondering if there is any scripts available or one that could made to have hp, mp and stats tracked from the map to battle and vice versa? So for example if i had a simple type abs system made through events and when you attack on the map you would transition to the normal battle scene but after using up action points or finish your turn you go back to the map and the player's hp/stats would be correct based on what happened in the battle scene. I don't think it could be done properly without some sort of script or adding to current scripts.  I am hoping for any suggestions or feedback on if this is possible,

Thanks
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.


Um ... is there a reason you think it doesn't already do this? There is only one set of HP/MP/Stats per actor. Whatever happens to them on the map transfers to battle. Whatever happens to them in battle transfers back to the map.


If you think this doesn't already happen, you'd better give us a link to your ABS script as it sounds like it may not be updating correctly (or is just not designed the way you are wanting).
Pretty much gonna echo what Shaz advised you - this should be happening already.

You can safely leave the battle scene using the event command Abort Battle.  Just like a victory or defeat, stats will persist when you return to the Map.
Sorry for posting in the wrong thread. Thank you Shaz for the correction and answer ( and wavelength ). I did not realize it still calculates within default rpg maker. I am using Falcao's abs. I could not get this to work recently, but i only tried with this script. I will try it without that script to better understand it by default and try to get it to work with this new knowledge. Again thanks guys, super helpful!.

Edit * After testing this out in default/no script rpg maker, it works great. It actually works with Falcao's abs as well. I feel kinda dumbassish for not knowing that it by default tracks players hp/mp etc by aborting battle. I now am having a issue with it tracking enemies hp/mp between map and battle scene. Am i missing something here or is that something that needs a bit of work around? Thanks in advance for any help! 
bumps ya bump
You still haven't given the link to the ABS you're using.


Enemy values are not tracked in the same way as actor values, so this needs either a lot of eventing (storing the values when ending battle) or scripting.


And if you want to keep the values of different enemies, then you'll need something like the self-data-suite to store the values in events - you don't have enough general variables to do that correctly.


http://forums.rpgmakerweb.com/index.php?/topic/38349-updated-link-to-pk8s-self-data-suite/


It's NOT easy to store enemy data on map...

Original thread: https://forums.rpgmakerweb.com/threads/is-there-any-scripts-to-calculate-and-track-hp-stats-from-map-to-battle.38881/