03-03-2008, 06:09 AM
Speed Up Battles During Test Play
by RPG Advocate
saved from Phylomortis.Com
by RPG Advocate
saved from Phylomortis.Com
Introduction
This script makes it so that if you hold CTRL in battle during a test play, the battle will play in fast-forward mode. To use this script, find the code shown from Scene_Battle in the first box and replace it with the code in the second box. This 'replacement' occurs in the update method itself
Code:
class Scene_Battle # Delete this code
# -----------------------------
if @spriteset.effect?
return
end
Code:
class Scene_Battle # Replace deleted code with this
# -----------------------------
quick = true
if !($BTEST || $DEBUG)
quick = false
end
if !Input.press?(Input::CTRL)
quick = false
end
if @spriteset.effect? && !quick
return
end
Unfortunately, this system requires a direct edit. As the change has to take place in the middle of Scene_Battle's update method, it can't be easily aliased.