Skip to content

Commit

Permalink
Update battle-dex-search.ts
Browse files Browse the repository at this point in the history
changing this back because we discussed why this shouldn't have been changed in the first place
  • Loading branch information
scoopapa committed Jan 9, 2024
1 parent 72619fb commit e733746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/src/battle-dex-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1661,8 +1661,8 @@ class BattleMoveSearch extends BattleTypedSearch<'move'> {
}
const moveData = dex.moves.get(id);
if (!moveData) return true;
if (!BattleMovedex[id].exists) return true; //Flag ALL custom moves as viable by default (unviable custom moves almost never happen, no need to add extra steps to create multi-hit moves)
if (moveData.category === 'Status') {
if (!BattleMovedex[id].exists) return true; //Flag custom moves as viable by default
return BattleMoveSearch.GOOD_STATUS_MOVES.includes(id);
}
if (moveData.flags?.charge) {
Expand Down

0 comments on commit e733746

Please sign in to comment.