[P2 Bug] Fix Own Tempo Rockruff not being able to evolve #4762
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What are the changes the user will see?
Own Tempo Rockruff will be able to evolve into Dusk Lycanroc.
Why am I making these changes?
Fixing a bug.
What are the changes from a developer perspective?
Own Tempo Rockruff's evolution condition now checks for the Rockruff to have form key "own-tempo" instead of "". (This has been broken for a while but did not matter until #4581.)
Screenshots/Videos
Before the changes: Own Tempo Rockruff cannot evolve
20241029.Rockruff.No.Evo.mp4
After the changes: Own Tempo Rockruff evolves properly
20241029.Rockruff.Dusk.Evo.mp4
After the changes: Regular Rockruff evolves properly
20241029.Rockruff.Midnight.Evo.mp4
How to test the changes?
All of Rockruff's evolutions occur level 25.
Checklist
beta
as my base branch[ ] If I have text, did I make it translatable and add a key in the English locale file(s)?npm run test
)[ ] Are the changes visual?