You are on page 1of 1

=begin

Notes by Sixth:

Remove this script from your published demo!


I use this to quickly enable/disable scripts during coding for testing purposes.

=end

#==============================================================================
# ** TDS_Script_Disabler MOD
# Ver: 1.2
#------------------------------------------------------------------------------
# * Description:
# This Script allows you to disable a group of scripts.
#------------------------------------------------------------------------------
# * Features:
# Disable scripts.
#------------------------------------------------------------------------------
# * Instructions:
# add # at start of script name in script editor
#------------------------------------------------------------------------------
# * Notes:
# The script names are the names on the left side box not inside the script
# itself.
#
# * Notes2:
# This script MUST be placed above all script you want to disable or it won't work
#
#------------------------------------------------------------------------------
# WARNING:
#
# Do not release, distribute or change my work without my expressed written
# consent, doing so violates the terms of use of this work.
#
# If you really want to share my work please just post a link to the original
# site.
#
# * Not Knowing English or understanding these terms will not excuse you in any
# way from the consequenses.
#==============================================================================
# * Import to Global Hash *
#==============================================================================
($imported ||= {})[:TDS_Script_Disabler] = true

for i in 0 ... $RGSS_SCRIPTS.length


$RGSS_SCRIPTS[i][2] = $RGSS_SCRIPTS[i][3] = "" if $RGSS_SCRIPTS[i][1] =~ /^#/
end

You might also like