Fixed demo party not clearing the party before adding itself, fixed Pokémon icon renamer/mover not moving shiny Pokémon icons properly, added GameData#Something#keys method

This commit is contained in:
Maruno17
2021-04-28 23:27:11 +01:00
parent 1685bbc4d4
commit 5130b097ce
3 changed files with 22 additions and 1 deletions

View File

@@ -56,6 +56,8 @@ module Compiler
else
prefix = (name[/b/]) ? "Back/" : "Front/"
end
elsif default_prefix == "Icons/"
prefix = "Icons shiny/" if name[/s/] && !name[/shadow/]
end
if name[/000/]
species = "000"
@@ -69,7 +71,7 @@ module Compiler
shadow = "_shadow" if name[/_shadow/]
if name[/egg/]
prefix = "Eggs/"
crack = "_icon" if default_prefix == "Icons/"
crack = "_icon" if default_prefix == "Icons/" || default_prefix == "Icons shiny/"
crack = "_cracks" if name[/eggCracks/]
end
end