mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
bugfixes 1.5, speed up, variableShop
This commit is contained in:
@@ -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
|
||||
#=============================================================================
|
||||
|
||||
Reference in New Issue
Block a user