mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
Fix boss IVs rerolling after reload
This commit is contained in:
parent
08988822db
commit
ee6c3e8fbc
@ -655,7 +655,7 @@ export default class BattleScene extends SceneBase {
|
||||
if (OPP_SPECIES_OVERRIDE)
|
||||
species = getPokemonSpecies(OPP_SPECIES_OVERRIDE);
|
||||
const pokemon = new EnemyPokemon(this, species, level, trainerSlot, boss, dataSource);
|
||||
if (boss) {
|
||||
if (boss && !dataSource) {
|
||||
const secondaryIvs = Utils.getIvsFromId(Utils.randSeedInt(4294967295));
|
||||
|
||||
for (let s = 0; s < pokemon.ivs.length; s++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user