From 5b8ac16b26ce43e50c08a3e4db03d938446c2b79 Mon Sep 17 00:00:00 2001 From: Dawson Matthews Date: Wed, 14 Jan 2026 19:30:26 -0700 Subject: [PATCH] Removes dashes in ability names --- change_abilities.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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