fixes dex number not updating from previous version

This commit is contained in:
infinitefusion
2024-03-28 19:58:25 -04:00
parent 9608cca26f
commit 085f73f7d1

View File

@@ -128,10 +128,8 @@ class Pokemon
end
def species_data
if !@species_data || @species != @species_data.species
@species_data = GameData::Species.get(@species)
end
return @species_data #GameData::Species.get(@species)
return @species_data
end
#=============================================================================
@@ -234,7 +232,6 @@ class Pokemon
is_already_old_form = self.isFusionOf(oldForm) #A 466
is_already_new_form = self.isFusionOf(newForm) #P
#reverse the fusion if it's a meloA and meloP fusion
# There's probably a smarter way to do this but laziness lol
if is_already_old_form && is_already_new_form