|
@@ -75,7 +75,7 @@ def get_traits(species: str, kind: str) -> list[str]:
|
|
|
traits.extend(("regional", kind))
|
|
|
|
|
|
# special cases
|
|
|
- if species == "Tauros" and "-paldea" in kind:
|
|
|
+ if species == "Tauros" and "paldea" in kind:
|
|
|
# paldean tauros has dumb names
|
|
|
traits.extend(("regional", "paldea"))
|
|
|
if species == "Minior" and kind != "meteor":
|
|
@@ -156,7 +156,7 @@ def clean_dex(raw: dict) -> dict[int, Pokemon]:
|
|
|
forms=[
|
|
|
Form(
|
|
|
name=f.get("forme", f["name"]),
|
|
|
- traits=get_traits(species, f["formeKind"]),
|
|
|
+ traits=get_traits(species, f["formeKind"].lower()),
|
|
|
types=f["types"],
|
|
|
color=f["color"],
|
|
|
) for f in forms
|