Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisXV committed Aug 1, 2023
1 parent 53ea723 commit f7f59d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/battle-dex-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -964,8 +964,9 @@ class BattlePokemonSearch extends BattleTypedSearch<'pokemon'> {
tierSet = tierSet.slice(slices['CAP LC'], slices.AG || slices.Uber).concat(tierSet.slice(slices.LC));
} else if (format === 'anythinggoes' || format.endsWith('ag') || format.startsWith('ag')) {
tierSet = tierSet.slice(slices.AG);
} else if (isHackmons && (dex.gen < 9 || this.formatType === 'natdex')) tierSet = tierSet.slice(slices.AG || slices.Uber);
else if (format === 'monotype') tierSet = tierSet.slice(slices.Uber);
} else if (isHackmons && (dex.gen < 9 || this.formatType === 'natdex')) {
tierSet = tierSet.slice(slices.AG || slices.Uber);
} else if (format === 'monotype') tierSet = tierSet.slice(slices.Uber);
else if (format === 'doublesubers') tierSet = tierSet.slice(slices.DUber);
else if (format === 'doublesou' && dex.gen > 4) tierSet = tierSet.slice(slices.DOU);
else if (format === 'doublesuu') tierSet = tierSet.slice(slices.DUU);
Expand Down

0 comments on commit f7f59d8

Please sign in to comment.