Guest User

Untitled

a guest
Aug 29th, 2016
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. #########################################
  2. # Turbo Speed Script by Pia Carrot #
  3. # Released March 19th, 2012 #
  4. #########################################
  5. # Instructions: #
  6. # Though it's rather self explanatory, #
  7. # this little snippet: #
  8. # if $game_switches[42] #
  9. # Can be changed to whatever you please,#
  10. # even something other than a switch. #
  11. # #
  12. # Credits: Maruno, Pia Carrot #
  13. # Why Maruno? Shiny Pokémon Reference, #
  14. # current Pokémon Essentials Owner #
  15. #########################################
  16. class Game_System
  17.  
  18. alias upd_old_speedup update
  19. def update
  20. if $game_switches[42]
  21. Graphics.frame_rate = 160
  22. else
  23. Graphics.frame_rate = 40
  24. end
  25. upd_old_speedup
  26. end
  27.  
  28. end
  29.  
  30. class MoveSelectionSprite < SpriteWrapper
  31.  
  32. def update
  33. if $game_switches[42]
  34. Graphics.frame_rate = 160
  35. else
  36. Graphics.frame_rate = 40
  37. end
  38. upd_old_speedup
  39. end
  40.  
  41. end
  42.  
  43. class PokeBattle_Battler
  44.  
  45. def update
  46. if $game_switches[42]
  47. Graphics.frame_rate = 160
  48. else
  49. Graphics.frame_rate = 40
  50. end
  51. upd_old_speedup
  52. end
  53.  
  54. end
  55.  
  56. class PokeBattle_ActiveSide
  57.  
  58. def update
  59. if $game_switches[42]
  60. Graphics.frame_rate = 160
  61. else
  62. Graphics.frame_rate = 40
  63. end
  64. upd_old_speedup
  65. end
  66.  
  67. end
Add Comment
Please, Sign In to add comment