Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different genus according to the form #317

Open
edcrfv0 opened this issue Sep 20, 2020 · 1 comment
Open

Different genus according to the form #317

edcrfv0 opened this issue Sep 20, 2020 · 1 comment

Comments

@edcrfv0
Copy link
Contributor

edcrfv0 commented Sep 20, 2020

In a few cases, genus can be different between the forms:
Mr. Mime: Barrier Pokémon
Galarian Mr. Mime: Dancing Pokémon

Darmanitan: Blazing Pokémon
Galarian Darmanitan: Zen Charm Pokémon

Hoopa Confined: Mischief Pokémon
Hoopa Unbound: Djinn Pokémon

@itsjavi
Copy link

itsjavi commented Jan 21, 2022

This seems a limitation of the DB schema

IMHO all species and forms should share the same data structure, with forms having just a flag to differentiate them from species: e.g. is_form = true/false and form_base=pokemon_id. Maybe a nullable form_base is even enough: if it's null, then it's an species.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants