diff --git a/change_abilities.py b/change_abilities.py index f1df64d..23eb7f7 100644 --- a/change_abilities.py +++ b/change_abilities.py @@ -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 - 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 return ability_data