Tidied, fixed some bugs

This commit is contained in:
Maruno17
2021-02-28 23:58:53 +00:00
parent 9c2b6e943b
commit 57b3fe1b09
18 changed files with 224 additions and 266 deletions

View File

@@ -1,13 +1,3 @@
# Loads data from a file "safely", similar to load_data. If an encrypted archive
# exists, the real file is deleted to ensure that the file is loaded from the
# encrypted archive.
def pbSafeLoad(file)
if safeExists?("./Game.rgssad") && safeExists?(file)
File.delete(file) rescue nil
end
return load_data(file)
end
def pbChooseLanguage
commands=[]
for lang in Settings::LANGUAGES