more safeguards for wrong files credit format + added sprite managers to game credits

This commit is contained in:
infinitefusion
2023-06-11 17:35:58 -04:00
parent 76daa33bf6
commit 45fe666a35
3 changed files with 20 additions and 2 deletions

Binary file not shown.

View File

@@ -77,6 +77,18 @@ off Pokémon Red and Blue, as well as
Pokémon Gold and Silver.
Both games are made by Game Freak.
Sprites pack manager
Kiwi
Sprite Managers
Howls
Kiwi
Melmcs
Milchik the Miltank
rezza
Punko
Skel'n
All of the custom fused Pokémon sprites
were made by various members of the sp
Pokémon Infinite Fusion Discord

View File

@@ -82,7 +82,11 @@ end
def select_spriter(minNbSprites = 10, save_in_var = 1)
spriters_list = list_all_spriters_with_min_nb_of_sprites(minNbSprites)
commands = []
spriters_list.each { |name, i| commands.push([i, name, name]) }
spriters_list.each do |name, i|
if name
commands.push([i, name, name])
end
end
chosen = pbChooseList(commands, 0, nil, 1)
return nil if !chosen
return chosen
@@ -95,7 +99,9 @@ def list_all_spriters_with_min_nb_of_sprites(minNbSprites)
File.readlines(filename).each do |line|
name = line.strip.split(',')[1]
spriters_hash[name] += 1
if name
spriters_hash[name] += 1
end
end
spriters_list = []