Skip to content

Fix move editing, HaX ability layout, and Z-A legalization; preserve exact IVs - #1401

Merged
codemonkey85 merged 3 commits into
mainfrom
fix/editor-reports-1397-1400
Nov 16, 2026
Merged

codemonkey85 merged 3 commits into
mainfrom
fix/editor-reports-1397-1400

Conversation

@codemonkey85

Copy link
Copy Markdown
Owner

Clearing a move field could immediately restore “(None)” and prepend it to replacement text, HaX ability editing could collapse to a 14-pixel input, and Z-A legalization could throw while searching unsupported game contexts. Fix these editor regressions, add exact-IV PID generation, and update MudBlazor from 9.12.0 to 9.13.0.

  • Keep cleared move, relearn, and alpha-move selections consistent with the editor’s move-0 sentinel while replacement text is entered.
  • Constrain the HaX ability-slot wrapper so the ability field retains usable width, including on mobile.
  • Exclude transfer-only game versions with Context.None from legalization. PKHeX.Core 26.10.18 includes these in its modern version range, but its evolution-chain search throws for them; this applies the existing encounter-browser workaround to legalization.
  • Add “Keep exact current IVs” to Gen 3/4 Method 1/2/4 generation. Reverse the IV RNG seeds, retain the selected nature/gender/shiny and ability/encounter constraints, and leave the Pokémon unchanged when no compatible PID exists. Update the parity roadmap.
  • Include the MudBlazor 9.13.0 package bump proposed in Bump MudBlazor from 9.12.0 to 9.13.0 #1396.

Validation: dotnet format on changed C# files; Debug builds of Pkmds.Web and Pkmds.Tests passed with zero warnings or errors. Added regression coverage for CI; automated tests were not run locally, per repository instructions.

Manual Chromium checks with MudBlazor 9.12 and 9.13 covered clearing/replacing moves and editing arbitrary HaX abilities, including a 390-pixel viewport. The FireRed Pidgeot fixture preserved all six IVs and nature with Method 2 and reported no match with Method 1. A Z-A fixture with an intentionally invalid ability legalized successfully without the reported exception.

Fixes #1397
Closes #1398
Fixes #1399
Fixes #1400

Supersedes the package change in #1396.

@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-coast-0df43410f-1401.eastus2.2.azurestaticapps.net

@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-coast-0df43410f-1401.eastus2.2.azurestaticapps.net

@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-coast-0df43410f-1401.eastus2.2.azurestaticapps.net

@codemonkey85
codemonkey85 merged commit 47195a1 into main Nov 16, 2026
@codemonkey85
codemonkey85 deleted the fix/editor-reports-1397-1400 branch November 16, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant