Scene_Title.class_eval do
instance_methods(false).each do |meth|
remove_method(meth)
end
def __found_save_file
for i in 1..SaveSettings.max_save_file
return true if File.exist?(SaveSettings.save_file_dir + "Save#{i}.rxdata")
end
return false
end
end
for i in 0...$RGSS_SCRIPTS.size
next if ("Section%03d" % i) == __FILE__
ary = $RGSS_SCRIPTS[i]
if ary[3][/class\s+Scene_Title/]
script = ary[3].clone.gsub(/(if|unless)\s+@continue_enabled/){"#{$1} __found_save_file"}
eval script, TOPLEVEL_BINDING, ("Section%03d" % i)
end
end
Scene_Title.class_eval do
instance_methods(false).each do |meth|
remove_method(meth)
end
def __found_save_file
for i in 1..SaveSettings.max_save_file
return true if File.exist?(SaveSettings.save_file_dir + "Save#{i}.rxdata")
end
return false
end
end
for i in 0...$RGSS_SCRIPTS.size
next if ("Section%03d" % i) == __FILE__
ary = $RGSS_SCRIPTS[i]
if ary[3][/class\s+Scene_Title/]
script = ary[3].clone.gsub(/(if|unless)\s+@continue_enabled/){"#{$1} __found_save_file"}
eval script, TOPLEVEL_BINDING, ("Section%03d" % i)
end
end