Alt sprite credits

This commit is contained in:
infinitefusion
2023-05-07 17:26:01 -04:00
parent f9c02bf8ab
commit aa1199f6e2
18 changed files with 124 additions and 69 deletions

View File

@@ -113,6 +113,8 @@ def getDexNumberForSpecies(species)
return dexNum
end
def getPokemon(dexNum)
return GameData::Species.get(dexNum)
end
@@ -121,6 +123,11 @@ def getSpecies(dexnum)
return getPokemon(dexnum)
end
def getSpeciesIdForFusion(head_id, body_id)
return (body_id) * Settings::NB_POKEMON + head_id
end
#shortcut for using in game events because of script characters limit
def dexNum(species)
return getDexNumberForSpecies(species)
@@ -407,7 +414,9 @@ def customSpriteExists(species)
return download_custom_sprite(head, body) != nil
end
def checkIfCustomSpriteExistsByPath(path)
return true if pbResolveBitmap(path) != nil
end
def customSpriteExistsBodyHead(body, head)