fix(battle): DoubleOnly trainers no longer set to single battle after reload#7110
Merged
Bertie690 merged 1 commit intopagefaultgames:hotfix-1.11.13from Feb 23, 2026
Merged
Conversation
Bertie690
approved these changes
Feb 23, 2026
damocleas
approved these changes
Feb 23, 2026
DayKev
approved these changes
Feb 23, 2026
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
Twins and other DoubleOnly trainers were being set to single battle when loading from a session.
Why am I making these changes?
They should not be single battles. Ever.
What are the changes from a developer perspective?
Added a
.doubleOnlycheck to the existing.hasDoublecheck.Screenshots/Videos
Twins
Before
Before changes, after refreshing and loading from a session:After
After changes, after refreshing and loading from a session:How to test the changes?
This seed has Twins on Wave 5:
New Game > Daily Run > fight (see that the Twins throw out 2 enemies and you're in a double battle)
Refresh browser > Continue > fight (before: single battle, after: still a double battle)
Checklist
betaas my base branchbeta,mainor the name of another long-lived feature branchpnpm test:silentto test locally)pnpm test:create) or updated existing tests related to the PR's changes if necessaryAre there any localization additions or changes? If so:
Does this require any additions or changes to in-game assets? If so: