[Bug] Override battles into single only if not fighting with trainers (#1949)

This commit is contained in:
hayuna 2024-06-08 15:41:56 +02:00 committed by GitHub
parent 3ef495c126
commit b4cf80a984
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1010,7 +1010,8 @@ export default class BattleScene extends SceneBase {
if (Overrides.DOUBLE_BATTLE_OVERRIDE) {
newDouble = true;
}
if (Overrides.SINGLE_BATTLE_OVERRIDE) {
/* Override battles into single only if not fighting with trainers */
if (newBattleType !== BattleType.TRAINER && Overrides.SINGLE_BATTLE_OVERRIDE) {
newDouble = false;
}