Replace all usage of pbNewPkmn with Pokemon.new

This commit is contained in:
Joni Savolainen
2020-09-20 21:34:06 +03:00
parent 1b7ec64d98
commit 7257c7479f
11 changed files with 18 additions and 18 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=pbNewPkmn(enc[0],enc[1])
pokemon=Pokemon.new(enc[0],enc[1])
pokemon.hp=1+rand(pokemon.totalhp-1)
score=pbBugContestScore(pokemon)
judgearray.push([cont,pokemon.species,score])