Credit goes to sandgolem for the idea.
What this script does: Allows you to switch between fast and normal speed during debugging by presing F7
Notes: Again, this was not completely my idea, but it IS different than sandgolem's script.
Just put this joker in a new script above main.
Thanks to Arbiter for helping out.
------------Version 1.4-------------
I have released version 1.4! This allows you to select 3 different speed settings! Just for the fun of it. There is no real update. This is just if you want a different speed. If you're content with the last version, just use it. I use it.
This also requires another script, so here it is:
I don't guess it matters where you put this one, but I put it above the original when I used it.
What this script does: Allows you to switch between fast and normal speed during debugging by presing F7
Notes: Again, this was not completely my idea, but it IS different than sandgolem's script.
Just put this joker in a new script above main.
Code:
################################################################################
#Gammastar's In-game Speed Booster Version 1.1
#
#No need to give credit, since anyone playing the real game
#can't use this.
################################################################################
if $DEBUG
class Game_Map
alias gammastar_gamemap update
def update
gammastar_gamemap
if Input.trigger?(Input::F7)
$game_system.se_play($data_system.decision_se)
if Graphics.frame_rate != 120
Graphics.frame_rate = 120
else
Graphics.frame_rate = 40
end
end
end
end
class Scene_Battle
alias gammastar_scenebattle update
def update
gammastar_scenebattle
if Input.trigger?(Input::F7)
$game_system.se_play($data_system.decision_se)
if Graphics.frame_rate != 120
Graphics.frame_rate = 120
else
Graphics.frame_rate = 40
end
end
end
end
end
Thanks to Arbiter for helping out.
------------Version 1.4-------------
I have released version 1.4! This allows you to select 3 different speed settings! Just for the fun of it. There is no real update. This is just if you want a different speed. If you're content with the last version, just use it. I use it.
Code:
################################################################################
#Gammastar's In-game Speed Booster Version 1.4
#
#No need to give credit, since anyone playing the real game
#can't use this.
################################################################################
if $DEBUG
class Game_Map
alias gammastar_gamemap update
def update
gammastar_gamemap
if Input.trigger?(Input::F7)
$game_system.se_play($data_system.decision_se)
$previous_scene = $scene
$scene = Scene_DebugSpeedWindow.new
end
end
end
end
class Scene_Battle
alias gammastar_scenebattle update
def update
gammastar_scenebattle
if Input.trigger?(Input::F7)
$game_system.se_play($data_system.decision_se)
$previous_scene = $scene
$scene = Scene_DebugSpeedWindow.new
end
end
end
#Not necessary on menu, but is a little more convenient.
if $DEBUG
class Scene_Menu
alias gammastar_scenemenu update
def update
gammastar_scenemenu
if Input.trigger?(Input::F7)
$game_system.se_play($data_system.decision_se)
$previous_scene = $scene
$scene = Scene_DebugSpeedWindow.new
end
end
end
end
Code:
#Gammastar's Speed Chooser. Use in conjunction with In-game FPS Booster.
class Scene_DebugSpeedWindow
def main
s1 = "Default"
s2 = "Fast"
s3 = "Really Fast"
s4 = "What the?!"
@command_window = Window_Command.new(192, [s1, s2, s3, s4])
@command_window.x = 320 - @command_window.width / 2
@command_window.y = 240 - @command_window.height / 2
Graphics.transition
loop do
Graphics.update
Input.update
update
if $scene != self
break
end
end
Graphics.freeze
@command_window.dispose
if $scene.is_a?(Scene_Title)
Graphics.transition
Graphics.freeze
end
end
def update
@command_window.update
if Input.trigger?(Input::B)
$game_system.se_play($data_system.cancel_se)
$scene = $previous_scene
return
end
if Input.trigger?(Input::C)
case @command_window.index
when 0
command_normal
when 1
command_fast
when 2
command_reallyfast
when 3
command_wtf
end
return
end
end
def command_normal
$game_system.se_play($data_system.decision_se)
Graphics.frame_rate = 40
$scene = $previous_scene
end
def command_fast
$game_system.se_play($data_system.decision_se)
Graphics.frame_rate = 80
$scene = $previous_scene
end
def command_reallyfast
$game_system.se_play($data_system.decision_se)
Graphics.frame_rate = 100
$scene = $previous_scene
end
def command_wtf
$game_system.se_play($data_system.decision_se)
Graphics.frame_rate = 150
$scene = $previous_scene
end
end
I don't guess it matters where you put this one, but I put it above the original when I used it.