Fix boss IVs rerolling after reload

This commit is contained in:
Flashfyre committed 2024-04-20 23:24:01 -04:00
1 parent 08988822db
commit ee6c3e8fbc
1 file changed
+1 -1
+1 -1
View File
@@ -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++)