mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
fixes dex number not updating from previous version
This commit is contained in:
@@ -128,10 +128,8 @@ class Pokemon
|
|||||||
end
|
end
|
||||||
|
|
||||||
def species_data
|
def species_data
|
||||||
if !@species_data || @species != @species_data.species
|
|
||||||
@species_data = GameData::Species.get(@species)
|
@species_data = GameData::Species.get(@species)
|
||||||
end
|
return @species_data
|
||||||
return @species_data #GameData::Species.get(@species)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
@@ -234,7 +232,6 @@ class Pokemon
|
|||||||
is_already_old_form = self.isFusionOf(oldForm) #A 466
|
is_already_old_form = self.isFusionOf(oldForm) #A 466
|
||||||
is_already_new_form = self.isFusionOf(newForm) #P
|
is_already_new_form = self.isFusionOf(newForm) #P
|
||||||
|
|
||||||
|
|
||||||
#reverse the fusion if it's a meloA and meloP fusion
|
#reverse the fusion if it's a meloA and meloP fusion
|
||||||
# There's probably a smarter way to do this but laziness lol
|
# There's probably a smarter way to do this but laziness lol
|
||||||
if is_already_old_form && is_already_new_form
|
if is_already_old_form && is_already_new_form
|
||||||
|
|||||||
Reference in New Issue
Block a user