mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-20 22:18:18 -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. |
||
|---|---|---|
| .. | ||
| moves.js | ||
| README.md | ||
| rulesets.js | ||
| scripts.js | ||
| statuses.js | ||
Stadium
This mod inherits from gen 1, which inherits from gen 2, and then applies the Stadium changes upon the gen 1 engine.
List of major changes: *Sleep lasts between 1 and 3 turns. *Hyper Beam does recharge after a faint. *Critical hits happen way less. *Substitute now blocks all status ailments and draining. *It allows tradebacks. *Partial trapping moves miss and stop their duration upon target switch. *Focus Energy actually works. *Stat calculations are done properly, burn and para drop are lost if you lose status.