PiaCRT
Orange Dev
- 958
- Posts
- 14
- Years
- Age 29
- Mikan Island
- Seen today
Hello, PC. I wrote this up real quickly. Make an new script above main and put the script in. What it does, is that when Switch 42 is on, the game will go into Turbo speed while on the map. I was able to get it to work with an item, but it's easier to do with a Parallel Process turning the switch on.
Script:
Please note the script does not work in DEBUG Mode. Please compile your game and use the Game.exe to test it.
Credits: Pia Carrot, Maruno (Reference)
Update. Now speeds up battles, Pokédex, and summary screens.
Script:
Code:
[COLOR=Green]#########################################
# Turbo Speed Script by Pia Carrot #
# Released March 19th, 2012 #
#########################################
# Instructions: #
# Though it's rather self explanatory, #
# this little snippet: #
# if $game_switches[42] #
# Can be changed to whatever you please,#
# even something other than a switch. #
# #
# Credits: Maruno, Pia Carrot #
# Why Maruno? Shiny Pokémon Reference, #
# current Pokémon Essentials Owner #
#########################################[/COLOR]
[COLOR=MediumTurquoise]class[/COLOR] Game_System
[COLOR=MediumTurquoise]alias[/COLOR] upd_old_speedup update
[COLOR=MediumTurquoise]def[/COLOR] update
[COLOR=MediumTurquoise]if[/COLOR] $game_switches[42]
Graphics.frame_rate = 160
[COLOR=MediumTurquoise]else[/COLOR]
Graphics.frame_rate = 40
[COLOR=MediumTurquoise]end[/COLOR]
upd_old_speedup
[COLOR=MediumTurquoise]end[/COLOR]
[COLOR=MediumTurquoise]end
[COLOR=DeepSkyBlue]
[/COLOR][/COLOR][COLOR=DeepSkyBlue]class[/COLOR] MoveSelectionSprite < SpriteWrapper
[COLOR=MediumTurquoise]def[/COLOR] update
[COLOR=MediumTurquoise]if[/COLOR] $game_switches[42]
Graphics.frame_rate = 160
[COLOR=MediumTurquoise]else[/COLOR]
Graphics.frame_rate = 40
[COLOR=MediumTurquoise]end[/COLOR]
upd_old_speedup
[COLOR=MediumTurquoise]end[/COLOR]
[COLOR=MediumTurquoise]end
[COLOR=Black]class PokeBattle_Battler
def update
if $game_switches[42]
Graphics.frame_rate = 160
else
Graphics.frame_rate = 40
end
upd_old_speedup
end
end
class PokeBattle_ActiveSide
def update
if $game_switches[42]
Graphics.frame_rate = 160
else
Graphics.frame_rate = 40
end
upd_old_speedup
end
end[/COLOR][/COLOR]
Credits: Pia Carrot, Maruno (Reference)
Update. Now speeds up battles, Pokédex, and summary screens.
Last edited: