From a4ee4e68108e6c8b37ee053d526d3eaecd838f51 Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 21 Nov 2024 14:39:45 +0000 Subject: [PATCH 1/3] - Pichu's data is bad and isn't falgged as a bay on its own page. --- ui/workers/gather_evolutions_worker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/workers/gather_evolutions_worker.py b/ui/workers/gather_evolutions_worker.py index 454f02d..0357fb8 100644 --- a/ui/workers/gather_evolutions_worker.py +++ b/ui/workers/gather_evolutions_worker.py @@ -158,6 +158,9 @@ class GatherEvolutions(QRunnable): flower_form = flower_form.replace("Male", "").replace("male", "").strip() fix_form(evolution_tree, flower_form) + if evolution_tree["pokemon"] == "Pichu": + evolution_tree["is_baby"] = True + cache.set(cache_record_name, evolution_tree) return evolution_tree From 75b18649f209c6187e30c84938856e41eb185e81 Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 21 Nov 2024 15:34:08 +0000 Subject: [PATCH 2/3] - Fix for Pom-Pom Stylge getting broken up casuing form matching to fail later. --- utility/data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utility/data.py b/utility/data.py index 056230e..eacc02a 100644 --- a/utility/data.py +++ b/utility/data.py @@ -455,7 +455,8 @@ POKEMON_PROPER_NOUNS = { "Red-Striped", "Blue-Striped", "White-Striped", - "Ash-Greninja" + "Ash-Greninja", + "Pom-Pom" } POKEMON_PROPER_NOUNS = POKEMON_PROPER_NOUNS | set(regions) From b70447246dd8ed005ab7147c434ad0dc415d465d Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 21 Nov 2024 16:02:10 +0000 Subject: [PATCH 3/3] - Remove some form restrictions as they aren't listed as default forms --- utility/data.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utility/data.py b/utility/data.py index eacc02a..542ecd0 100644 --- a/utility/data.py +++ b/utility/data.py @@ -371,10 +371,10 @@ default_pokemon_forms = { "Urshifu": "Single Strike Style", "Squawkabilly": "Green Plumage", "Dudunsparce": "Two-Segment Form", - "Poltchageist": "Counterfeit Form", - "Sinistcha": "Unremarkable Form", - "Sinistea": "Antique Form", - "Polteageist": "Phony Form", + #"Poltchageist": "Counterfeit Form", + #"Sinistcha": "Unremarkable Form", + #"Sinistea": "Antique Form", + #"Polteageist": "Phony Form", "Gimmighoul": "Chest Form" }