Jump to content


Reverse Time

  • Please log in to reply
5 replies to this topic

#1 Tsukihime


    Advanced Member

  • Member
  • 7120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 30 September 2012 - 02:47 PM

Reverse Time

This script simulates time reversal during battle.
It basically undo's the results of actions performed in previous turns, so things like

-restoring lost HP from HP damage
-restoring lost MP from MP damage
-removing added states (come back to life)
-removing buffs

This currently does not undo ACTIONS (so you won't get your MP back from skill usage, and you won't unconsume an item), nor does it undo any states, bonuses, and anything else that was applied through events.

Maybe in the future it will be possible to undo more things.


A single script call

For some integer n that is the number of turns you want to reverse.


Script: Download here
Required: Action History


Undoing an action shouldn't be too hard, since I have a reference to the action being used. However there are some complications when a single action attacks multiple targets.

Edited by Tsukihime, 05 May 2016 - 12:10 PM.

All of my work can be found on my website:


You can follow me on any of these platforms:


Go here for Bugs and Requests.
Want to become a beta tester for my plugins before they are released to the public?

#2 Tammsyn


    Advanced Member

  • Member
  • 173 posts

Posted 30 September 2012 - 05:23 PM

so bit like sands of time from price of pursa then? sounds intresting

#3 amerk


    Advanced Member

  • Member
  • 3500 posts
  • RM Skill - Writer

Awards Bar:

Users Awards

Posted 12 October 2012 - 03:16 PM

Awesome! This would make for a great spell that can be used in battle.

After all to the well organized mind, death is but the next great adventure.


#4 Novem



  • + Sponsor
  • 2679 posts
  • LocationTonawanda, New York
  • RM Skill - Writer

Posted 12 October 2012 - 03:31 PM

That's pretty awesome there Tsukihime.
Hey there. I'm Novem, author and a long time veteran of this community (previous known under names such as Nine or Obrusnine). 
If you're interested in my books, you can find them on amazon in the links in this spoiler.



#5 Crash



  • Member
  • 11 posts

Posted 01 December 2012 - 04:17 PM

Nope, never mind. Great work with this!

Edited by Crash, 01 December 2012 - 05:03 PM.

#6 oriceles


    Professional Lurker

  • Member
  • 80 posts
  • LocationValencia, VE
  • RM Skill - Writer

Posted 04 March 2013 - 08:42 PM

If this gets to undo more stuff then it will work perfect with the retry battle from Game Over with choices by regendo!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users