You've already forked Gamedata
mirror of
https://github.com/TeamLumi/Gamedata.git
synced 2026-03-30 10:09:42 -07:00
11 lines
352 B
Python
11 lines
352 B
Python
from load_files import load_data
|
|
|
|
def get_first_evo_pokemon_id(pokemonId):
|
|
evolutionData = full_data['evolution_dex']
|
|
if str(pokemonId) not in evolutionData.keys():
|
|
print("This pokemon is not in the evolution Data", pokemonId)
|
|
return -1
|
|
return evolutionData[str(pokemonId)]["path"][0]
|
|
|
|
if __name__ != "__main__":
|
|
full_data = load_data() |