Removes dashes in ability names

This commit is contained in:
Dawson Matthews
2026-01-14 19:30:26 -07:00
parent 4e385f73aa
commit 5b8ac16b26

View File

@@ -31,7 +31,9 @@ def get_target_abilities(ability_data_path):
species_name = line[0].split("-")[0].lower() # Removes the "-Mega" suffix and sends the name to lower case species_name = line[0].split("-")[0].lower() # Removes the "-Mega" suffix and sends the name to lower case
ability = (line[1].replace(" ", "")).lower() # Removes the spaces ability = (line[1].replace(" ", "")) # Removes the spaces
ability = ability.replace("-", "") # Removes the dashes
ability = ability.lower()
ability_data[species_name] = ability ability_data[species_name] = ability
return ability_data return ability_data