mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-11 23:24:59 +00:00
Replace all usage of pbNewPkmn with Pokemon.new
This commit is contained in:
@@ -205,7 +205,7 @@ def pbDayCareGenerateEgg
|
||||
getConst(PBSpecies,:ILLUMISE)][rand(2)]
|
||||
end
|
||||
# Generate egg
|
||||
egg = pbNewPkmn(babyspecies,EGG_LEVEL)
|
||||
egg = Pokemon.new(babyspecies,EGG_LEVEL)
|
||||
# Randomise personal ID
|
||||
pid = rand(65536)
|
||||
pid |= (rand(65536)<<16)
|
||||
|
||||
Reference in New Issue
Block a user