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

@@ -114,7 +114,7 @@ class BugContestState
if !enc
raise _INTL("No encounters for map {1}, so can't judge contest",@contestMap)
end
pokemon=Pokemon.create(enc[0],enc[1])
pokemon=Pokemon.new(enc[0],enc[1])
pokemon.hp = rand(1..pokemon.totalhp - 1)
score=pbBugContestScore(pokemon)
judgearray.push([cont,pokemon.species,score])