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

@@ -543,6 +543,7 @@ DebugMenuCommands.register("demoparty", {
for id in species
party.push(id) if GameData::Species.exists?(id)
end
$Trainer.party.clear
# Generate Pokémon of each species at level 20
party.each do |species|
pkmn = Pokemon.new(species, 20)