Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Essentials script] Turbo

Notices
For all updates, view the main page.

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.



Reply
 
Thread Tools
  #1    
Old August 3rd, 2013 (07:38 AM). Edited November 21st, 2013 by lauerolus.
lauerolus's Avatar
lauerolus lauerolus is offline
 
Join Date: Mar 2013
Gender: Male
Posts: 167
Code:
##inside module Input which is inside PokemonSystem

 def self.update
    update_KGC_ScreenCapture
    if press?(Input::F8)
      pbScreenCapture
    end
    if press?(Input::F7)
      pbDebugF7
    end
    if trigger?(Input::ALT)
      pbTurbo()
    end
    end
end

##above pbDeBugf7 ,BUT OUTSIDE module Input, inside  PokemonSystem
def pbTurbo()  
		if Graphics.frame_rate==40
			Graphics.frame_rate=100
		else
			Graphics.frame_rate=40
		end	
	end
Working, copy paste easy turbo. Works on all screens, but does not keep day/night lighting while in use however.
Attached Thumbnails
ZnTL0CU.png‎  
Reply With Quote
  #2    
Old August 3rd, 2013 (07:44 AM).
Pia Carrot's Avatar
Pia Carrot Pia Carrot is offline
Gen II Hacker | PHO Enthusiast
 
Join Date: Aug 2010
Age: 19
Gender: Male
Nature: Adamant
Posts: 559
Cool, looks a ton better than the buggy one I posted ages ago. Especially the fact yours runs on input triggers and not a switch.
__________________




Coming soon to a forum near you...
Reply With Quote
  #3    
Old August 3rd, 2013 (07:49 AM).
lauerolus's Avatar
lauerolus lauerolus is offline
 
Join Date: Mar 2013
Gender: Male
Posts: 167
Yeah, fighting with yours made me make this. I got lucky with the printscreen function however.
Reply With Quote
  #4    
Old August 3rd, 2013 (07:51 AM).
Pia Carrot's Avatar
Pia Carrot Pia Carrot is offline
Gen II Hacker | PHO Enthusiast
 
Join Date: Aug 2010
Age: 19
Gender: Male
Nature: Adamant
Posts: 559
I always meant to update the damn thing lol, never got around to it. Sorry it caused issues ^~^'

Anyway, this will come in handy for testing. Thank you.
__________________




Coming soon to a forum near you...
Reply With Quote
  #5    
Old October 3rd, 2013 (10:18 AM).
Peaverin's Avatar
Peaverin Peaverin is offline
 
Join Date: Sep 2013
Gender: Male
Posts: 50
Hey, can you help me? I'm trying to add this script but just make it work while in a battle and while pressing control. I don't know how to add this to make work just while battling.
Code:
if input.trigger?(Input::CTRL)
        Graphics.frame_rate = 160
    else
        Graphics.frame_rate = 40
end
__________________
Click Here to enter my project's Webpage!
Hey guys, Im a Spanish boy. It's hard for me to speak completely good in english, but I'll do my best. Please, don't be too bad with me
Reply With Quote
  #6    
Old October 3rd, 2013 (10:37 AM).
Luka S.J.'s Avatar
Luka S.J. Luka S.J. is offline
@LukaSJ0
 
Join Date: Dec 2008
Location: Croatia
Age: 21
Gender: Male
Nature: Adamant
Posts: 805
Use Input.press?(key) instead of Input.trigger?(key). The .press? method is what detects whether you're holding the key. The .trigger? method returns true only when the key is pushed down, and only at the beginning.
__________________
Reply With Quote
  #7    
Old October 3rd, 2013 (10:46 AM).
Peaverin's Avatar
Peaverin Peaverin is offline
 
Join Date: Sep 2013
Gender: Male
Posts: 50
Quote originally posted by Luka S.J.:
Use Input.press?(key) instead of Input.trigger?(key). The .press? method is what detects whether you're holding the key. The .trigger? method returns true only when the key is pushed down, and only at the beginning.
Thanks, but anyway I don't know how to paste the code to work only in battles. Can you help me with that?
__________________
Click Here to enter my project's Webpage!
Hey guys, Im a Spanish boy. It's hard for me to speak completely good in english, but I'll do my best. Please, don't be too bad with me
Reply With Quote
  #8    
Old November 21st, 2013 (05:30 AM).
lauerolus's Avatar
lauerolus lauerolus is offline
 
Join Date: Mar 2013
Gender: Male
Posts: 167
Thanks to Luka this is a single button turbo. Thanks for the tip.
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 05:15 PM.