RestoreBattle - Version 1.00 (2017/1/14)
Creator name: Trb
Overview
Allows you to save in battle and resume the battle from the battle save.
Features
- Save and restore is done through plugin commands.
- To reset the battle save, run the script
Code:
$gameSystem._battleSaveData = []
<Plugin Command>
Saves the previous battle state.
If you want to save multiple times, add a number like "SaveBattle 1" or "SaveBattle 2"
Before the battle event, you can restore from battle save.
If multiple files are saved, restored the data with “RestoreBattle 1” or “RestoreBattle 2”
Note: plugin commands for this plugin are not case sensitive. SAVEBATTLE and savebattle can be used.
Event Sample)
Battle with one Minotaur and two bats.
After defeating two bats and then escape-
(SaveBattle was used)
[Harold escaped!]
Retry the battle: only Minotaur remains
(RestoreBattle 1 restore the state from SaveBattle 1)
[Minotaur appears!]
Credit and Thanks: Trb
Terms of Use- Free for commercial and non-commercial use.
License - MIT License:
http://opensource.org/licenses/mit-license.php
You can download js file from the thread attachment or Dropbox link:
https://www.dropbox.com/s/68qehkaoew47j5u/Trb_RestoreBattle.js?dl=1