mirror of
https://github.com/jcreek/LivingDexTracker.git
synced 2026-07-12 18:43:45 +00:00
fix(forms): supplement game-scoped dex entries with alternate forms
When a Pokédex has a game scope set and isFormDex=true, alternate forms were not appearing because game_pokedex_entries only contains base-form Pokémon. This adds fetchFormsForGame() to pull supplemental form entries from pokedex_entries filtered by gamesToCatchIn, then merges and sorts them using the base form's regional dex number so ordering is preserved. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Generated
+7717
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user