bugfixes 1.5, speed up, variableShop

This commit is contained in:
infinitefusion
2021-09-19 14:02:12 -04:00
parent dd0c64f2b7
commit b51c2afcae
20 changed files with 210 additions and 6 deletions

View File

@@ -706,6 +706,13 @@ class Pokemon
return false
end
def has_egg_move?
return false if egg? || shadowPokemon?
baby = pbGetBabySpecies(self.species)
moves = pbGetSpeciesEggMoves(baby)
return true if moves.size >= 1
end
#=============================================================================
# Ribbons
#=============================================================================