Set the IVs of default starters to 15.

This commit is contained in:
frutescens 2024-11-13 12:35:37 -08:00
parent 0c521bbe08
commit 473f01b1c4
2 changed files with 2 additions and 2 deletions

View File

@ -653,7 +653,7 @@ export class FreshStartChallenge extends Challenge {
pokemon.shiny = false; // Not shiny
pokemon.variant = 0; // Not shiny
pokemon.formIndex = 0; // Froakie should be base form
pokemon.ivs = [ 10, 10, 10, 10, 10, 10 ]; // Default IVs of 10 for all stats
pokemon.ivs = [ 15, 15, 15, 15, 15, 15 ]; // Default IVs of 15 for all stats (Updated to 15 from 10 in 1.2.0)
return true;
}

View File

@ -1540,7 +1540,7 @@ export class GameData {
entry.caughtAttr = defaultStarterAttr;
entry.natureAttr = 1 << (defaultStarterNatures[ds] + 1);
for (const i in entry.ivs) {
entry.ivs[i] = 10;
entry.ivs[i] = 15;
}
}