-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fixed switchout bug in multibattle where order of mons gets messed up #2099
Conversation
This is going to need |
Co-authored-by: Martin Griffin <[email protected]>
Co-authored-by: Martin Griffin <[email protected]>
Without the fix is it possible for my Pokémon to get switched with one of Steven's or does the bug only manifest in the party screen? How would you recommend to test the fix? |
I recommend to test the fix by:
The fix fixes the case where mightyena is on your side of the field. |
Co-authored-by: Alex <[email protected]>
Fixed switchout bug that messed the order of pokemon in the summary screen after the opponent uses switchout moves (whirlwind, roar, etc...).
PROBLEM:
PROBLEM: If the opponent uses forced switchout moves in a multi battle, the player side party might get the order messed up where the mons appear in the wrong slots of the party screen.
This causes a hardlock when all mons on the player side are knocked out and the player can't select their mon that's on the partner side of the party screen.
FIX: Entered the switchout effects inside the if (TryDoForceSwitchOut()) statement, also adjusted firstmonId and lastmonId to stay between the boundaries of each player (0-2 PLAYER, 3-5 STEVEN)
Description
#2093 Fixes
Discord contact info
Shachar700