rename overide to match
This commit is contained in:
parent
c1019bac39
commit
e325af1f0b
|
@ -437,7 +437,7 @@ export default class Trainer extends Phaser.GameObjects.Container {
|
|||
const party = this.scene.getEnemyParty();
|
||||
const nonFaintedLegalPartyMembers = party.slice(this.scene.currentBattle.getBattlerCount()).filter(p => p.isAllowedInBattle()).filter(p => !trainerSlot || p.trainerSlot === trainerSlot);
|
||||
|
||||
if (Overrides.TRAINER_ALWAYS_SWITCHES) {
|
||||
if (Overrides.TRAINER_ALWAYS_SWITCHES_OVERRIDE) {
|
||||
return nonFaintedLegalPartyMembers.map(p => [party.indexOf(p), 100]);
|
||||
}
|
||||
|
||||
|
|
|
@ -119,7 +119,10 @@ class DefaultOverrides {
|
|||
// --------------------------
|
||||
// TRAINER/AI OVERRIDES
|
||||
// --------------------------
|
||||
readonly TRAINER_ALWAYS_SWITCHES: boolean = false;
|
||||
/**
|
||||
* Force enemy AI to always switch pkmn
|
||||
*/
|
||||
readonly TRAINER_ALWAYS_SWITCHES_OVERRIDE: boolean = false;
|
||||
|
||||
// -------------
|
||||
// EGG OVERRIDES
|
||||
|
|
Loading…
Reference in New Issue