Tsukihime

Reverse Time

6 posts in this topic

Reverse Time

-Tsukihime

 

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.

 

Usage

 

A single script call

 

$game_temp.reverse_time(n)
For some integer n that is the number of turns you want to reverse.

 

Download

 

Script: Download here

Required: Action History

 

Notes

 

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
oriceles likes this

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.