mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-21 23:15:44 -05:00
In Doubles, there's the possibility that battle.sides[i].active[j] does not exist, thus causing a crash. Add a check for that. A non-existing Pokémon is not counted for result. If there's no active Pokémon, there's no field Perish Song effect whatsoever. |
||
|---|---|---|
| .. | ||
| abilities.js | ||
| aliases.js | ||
| formats-data.js | ||
| formats.js | ||
| items.js | ||
| learnsets.js | ||
| moves.js | ||
| pokedex.js | ||
| scripts.js | ||
| statuses.js | ||
| typechart.js | ||