mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +02:00
Trainer Pokémon cannot be shiny unless explicitly requested (maybe)
This commit is contained in:
parent
8b8a92e017
commit
9e013ae52c
@ -1716,7 +1716,7 @@ export function getRandomPartyMemberFunc(
|
|||||||
level,
|
level,
|
||||||
trainerSlot,
|
trainerSlot,
|
||||||
undefined,
|
undefined,
|
||||||
false,
|
true, // Shiny lock all trainer Pokémon #TODO: does this affect Ivy's Ray?
|
||||||
undefined,
|
undefined,
|
||||||
postProcess,
|
postProcess,
|
||||||
);
|
);
|
||||||
@ -1742,7 +1742,7 @@ function getSpeciesFilterRandomPartyMemberFunc(
|
|||||||
.getTrainerSpeciesForLevel(level, true, strength, waveIndex),
|
.getTrainerSpeciesForLevel(level, true, strength, waveIndex),
|
||||||
);
|
);
|
||||||
|
|
||||||
return globalScene.addEnemyPokemon(species, level, trainerSlot, undefined, false, undefined, postProcess);
|
return globalScene.addEnemyPokemon(species, level, trainerSlot, undefined, true, undefined, postProcess);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -422,6 +422,8 @@ export default class Trainer extends Phaser.GameObjects.Container {
|
|||||||
species,
|
species,
|
||||||
level,
|
level,
|
||||||
!this.isDouble() || !(index % 2) ? TrainerSlot.TRAINER : TrainerSlot.TRAINER_PARTNER,
|
!this.isDouble() || !(index % 2) ? TrainerSlot.TRAINER : TrainerSlot.TRAINER_PARTNER,
|
||||||
|
false,
|
||||||
|
true, // shiny locking all trainer mons
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
this.config.hasStaticParty
|
this.config.hasStaticParty
|
||||||
|
Loading…
Reference in New Issue
Block a user