Save-Point
Speed Up Battles During Test Play - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Speed Up Battles During Test Play (/thread-2729.html)



Speed Up Battles During Test Play - RPG Advocate - 03-03-2008

Speed Up Battles During Test Play
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.