wild fusions

This commit is contained in:
infinitefusion
2022-04-30 11:22:01 -04:00
parent 56544412ca
commit ce93ca7919
6 changed files with 529 additions and 495 deletions

View File

@@ -208,7 +208,9 @@ def getEvolution(species, halfToEvolve=nil)
end
def getFusionSpecies(body, head)
id = body * Settings::NB_POKEMON + head
body_num = dexNum(body)
head_num = dexNum(head)
id = body_num * Settings::NB_POKEMON + head_num
return GameData::Species.get(id).species
end