From 6cb516f8037e28b4e4c6495ebbc20b85bf1dfecb Mon Sep 17 00:00:00 2001 From: Shriansh Chari <30420527+shrianshChari@users.noreply.github.com> Date: Fri, 8 May 2026 10:30:51 -0700 Subject: [PATCH] Just use dhelmise's code --- play.pokemonshowdown.com/src/battle-searchresults.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play.pokemonshowdown.com/src/battle-searchresults.tsx b/play.pokemonshowdown.com/src/battle-searchresults.tsx index ca40c30b6..4d5de8b82 100644 --- a/play.pokemonshowdown.com/src/battle-searchresults.tsx +++ b/play.pokemonshowdown.com/src/battle-searchresults.tsx @@ -243,7 +243,7 @@ export class PSSearchResults extends preact.Component<{ let pp = (move.pp === 1 || move.noPPBoosts ? move.pp : move.pp * 8 / 5); if (search.dex.gen < 3) pp = Math.min(61, pp); if (search.dex.modid === 'champions') { - pp = Math.min(move.pp, 20); + pp = move.pp > 20 ? 20 : move.pp; if (!move.noPPBoosts) pp = (pp / 5 + 1) * 4; } return