mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-20 14:08:15 -05:00
pokemon.update() used to be called after pretty much everything, but now that we've refactored pretty much everything out of it, it's no longer necessary for most of the situations we call it for. It currently only updates pokemon.speed, so I've renamed it updateSpeed for clarity. We now only update pokemon.speed on switch-in, right before the residual event, and at the beginning of every turn. This gives something like a 30% speed-up. |
||
|---|---|---|
| .. | ||
| abilities.js | ||
| aliases.js | ||
| factory-sets.json | ||
| formats-data.js | ||
| items.js | ||
| learnsets.js | ||
| moves.js | ||
| pokedex.js | ||
| rulesets.js | ||
| scripts.js | ||
| statuses.js | ||
| typechart.js | ||