6.4 update (minus sprites)

This commit is contained in:
infinitefusion
2024-12-21 09:43:11 -05:00
parent f70c2cfde4
commit 1e325366d2
1717 changed files with 140299 additions and 27845 deletions

View File

@@ -69,12 +69,18 @@ end
def sortCustomBattlers()
$game_temp.nb_imported_sprites=0
echo "Sorting CustomBattlers files..."
# pbMessage("Warning: Sprites that are manually imported will not get updated when a new sprite pack releases. This means that if some contain errors, these will not get fixed for you. All of the sprites from the latest spritepack are already available in your game without the need to manually import anything.")
# if !pbConfirmMessage("Do you still wish to import the sprites that are in the \"Sprites to import\" folder")
# return
# end
alreadyExists = {}
Dir.foreach(Settings::CUSTOM_BATTLERS_FOLDER) do |filename|
Dir.foreach(Settings::CUSTOM_SPRITES_TO_IMPORT_FOLDER) do |filename|
next if filename == '.' or filename == '..'
next if !filename.end_with?(".png")
headNum = filename.split('.')[0]
oldPath = Settings::CUSTOM_BATTLERS_FOLDER + filename
oldPath = Settings::CUSTOM_SPRITES_TO_IMPORT_FOLDER + filename
newDir = Settings::CUSTOM_BATTLERS_FOLDER_INDEXED + headNum.to_s
newPath = newDir + "/" + filename
begin