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,
|
||||
trainerSlot,
|
||||
undefined,
|
||||
false,
|
||||
true, // Shiny lock all trainer Pokémon #TODO: does this affect Ivy's Ray?
|
||||
undefined,
|
||||
postProcess,
|
||||
);
|
||||
@ -1742,7 +1742,7 @@ function getSpeciesFilterRandomPartyMemberFunc(
|
||||
.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,
|
||||
level,
|
||||
!this.isDouble() || !(index % 2) ? TrainerSlot.TRAINER : TrainerSlot.TRAINER_PARTNER,
|
||||
false,
|
||||
true, // shiny locking all trainer mons
|
||||
);
|
||||
},
|
||||
this.config.hasStaticParty
|
||||
|
Loading…
Reference in New Issue
Block a user