Revert "Adds factory for Pokemon class"

This reverts commit d304d223bd.
This commit is contained in:
infinitefusion
2023-08-05 12:34:07 -04:00
parent 1a9846f72f
commit 41acb265da
33 changed files with 43 additions and 54 deletions

View File

@@ -304,7 +304,7 @@ module GameData
level = getRematchLevel(level, nbRematch)
species = getSpecies(evolveRematchPokemon(nbRematch, species)).id
end
pkmn = Pokemon.create(species, level, trainer, false)
pkmn = Pokemon.new(species, level, trainer, false)
trainer.party.push(pkmn)
# Set Pokémon's properties if defined

View File

@@ -300,7 +300,7 @@ module GameData
species = evolveRematchPokemon(nbRematch, species)
end
pkmn = Pokemon.create(species, level, trainer, false)
pkmn = Pokemon.new(species, level, trainer, false)
trainer.party.push(pkmn)
# Set Pokémon's properties if defined