mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-18 11:14:39 -05:00
`activeTurns` was previously a horrible hack, used for "first full turn only" effects like Speed Boost as well as "first move action" effects like Fake Out. In addition to being a huge hazard for API users such as OMs, this also means weird bugs such as Speed Boost not working if you get hit by Sky Drop on your first turn. This commit fixes them by splitting these counters into two - an `activeTurns` counter for Speed Boost, and an `activeMoveActions` counter for Fake Out. |
||
|---|---|---|
| .. | ||
| abilities.js | ||
| items.js | ||
| moves.js | ||
| pokedex.js | ||
| random-teams.js | ||
| scripts.js | ||
| statuses.js | ||