Main Menu
  • Welcome to The RPG Maker Resource Kit.

Sand Golem Epilepsy Battle

Started by Algid, February 07, 2007, 01:00:55 AM

0 Members and 1 Guest are viewing this topic.

Algid

I found this script somwhere else, other than gamebaker, but it's not mine anyway.
This will speed up the delay period in between attacks. Be really careful though, put it too high and you'll go nuts. Really! I put it high and woke up an hour later with a head ache.

Script:

#==========================================================================
# ** SG Quicker Combat
#==========================================================================
# sandgolem
# Version 1
# 15.06.06
#==========================================================================

# This script may cause your battles to be too jumpy.
# Change the numbers to higher if you want faster, slower if it's too fast.

#==========================================================================
#
# To check for updates or find more scripts, visit:
# http://www.gamebaker.com/rmxp/scripts/
#
# To use this script, copy it and insert it in a new section above "Main",
# but under the default scripts and the SDK if you're using it.
#
# Have problems? You can leave me a message at:
# http://forums.gamebaker.com/showthread.php?t=158
#
#==========================================================================

begin
  SDK.log('SG Quicker Combat', 'sandgolem', 1, '15.06.06')
  if SDK.state('SG Quicker Combat') != true
    @sg_quickercombat_disabled = true
  end
  rescue
end

if @sg_quickercombat_disabled != true
#--------------------------------------------------------------------------

module RPG
  class Sprite < ::Sprite   
    if !method_defined?('sandgolem_quicker_sprite_effect?')
      alias sandgolem_quicker_sprite_effect? effect?
    end
    def effect?
      if $scene.is_a?(Scene_Battle)
        @_whiten_duration > 8 or
        @_appear_duration > 4 or
        @_escape_duration > 0 or
        @_collapse_duration > 22 or
        @_damage_duration > 14 or
        @_animation_duration > 12
      else
        sandgolem_quicker_sprite_effect?
      end
    end   
  end
end

#--------------------------------------------------------------------------
end


*Look up for Sand Golem's copyright.
FFFFFFFFFFFFFFFFFFFFFF

Falcon

Use the code tags.

And also say somewhere else that sandgolem made this, in case people are too stupid to look in the comments :P