Skip to content

Commit

Permalink
Random Doubles: Fix Regieleki
Browse files Browse the repository at this point in the history
  • Loading branch information
TheImmortal committed Oct 28, 2020
1 parent b226a50 commit 2e6ccdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/random-teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ export class RandomTeams {
} else if (species.baseSpecies === 'Pikachu') {
forme = 'Pikachu' + this.sample(['', '-Original', '-Hoenn', '-Sinnoh', '-Unova', '-Kalos', '-Alola', '-Partner']);
item = 'Light Ball';
} else if (species.name === 'Regieleki') {
} else if (species.name === 'Regieleki' && !isDoubles) {
item = 'Normal Gem';
} else if (species.name === 'Shedinja') {
item = (!teamDetails.defog && !teamDetails.rapidSpin && !isDoubles) ? 'Heavy-Duty Boots' : 'Focus Sash';
Expand Down
2 changes: 1 addition & 1 deletion sim/battle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2009,7 +2009,7 @@ export class Battle {

natureModify(stats: StatsTable, set: PokemonSet): StatsTable {
// Natures are calculated with 16-bit truncation.
// This only affects Eternatus-Eternmax in Pure Hackmons.
// This only affects Eternatus-Eternamax in Pure Hackmons.
const tr = this.trunc;
const nature = this.dex.getNature(set.nature);
let stat: keyof StatsTable;
Expand Down

0 comments on commit 2e6ccdd

Please sign in to comment.