mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-21 14:59:50 -05:00
This is the change that renames: - `Dex.getMove` -> `Dex.moves.get` - `Dex.getAbility` -> `Dex.abilities.get` - `Dex.getItem` -> `Dex.items.get` - `Dex.getSpecies` -> `Dex.species.get` - `Dex.getEffect` -> `Dex.conditions.get` - `Dex.getNature` -> `Dex.natures.get` - `Dex.getType` -> `Dex.types.get` - `Dex.getFormat` -> `Dex.formats.get` In addition, some other APIs have been updated: - `getByID` methods have also been added to every other table. - `Dex.moves.all()` now gets an array of all moves - Plus equivalent methods for `abilities`, `items`, `species`, `formats`, `natures`, `types` - Note: there's no `Dex.conditions.all()` - new API: `Dex.stats` for naming/iterating stats - `Dex.getEffectByID` -> `Dex.conditions.getByID` - `Dex.getType` -> `Dex.types.get` - `Dex.data.Formats` -> `Dex.data.Rulesets` - `Dex.formats` -> now an array `Dex.formats.all()` - `Dex.getRuleTable` -> `Dex.formats.getRuleTable` - `Dex.validateFormat` -> `Dex.formats.validate` Team functions have been split off into a new `sim/teams` package: - `Dex.packTeam` -> `Teams.pack` - `Dex.fastUnpackTeam` -> `Teams.unpack` - `Dex.generateTeam` -> `Teams.generate` - `Dex.stringifyTeam` -> `Teams.export` `Teams.export` has also been rewritten to better match how it works in client. This implements #8178 |
||
|---|---|---|
| .. | ||
| aftermath.js | ||
| angerpoint.js | ||
| arenatrap.js | ||
| battlearmor.js | ||
| berserk.js | ||
| clearbody.js | ||
| cloudnine.js | ||
| colorchange.js | ||
| comatose.js | ||
| contrary.js | ||
| cursedbody.js | ||
| damp.js | ||
| dancer.js | ||
| dazzling.js | ||
| deltastream.js | ||
| desolateland.js | ||
| disguise.js | ||
| dryskin.js | ||
| emergencyexit.js | ||
| flashfire.js | ||
| flowergift.js | ||
| flowerveil.js | ||
| hungerswitch.js | ||
| iceface.js | ||
| illusion.js | ||
| immunity.js | ||
| imposter.js | ||
| intimidate.js | ||
| klutz.js | ||
| levitate.js | ||
| lightningrod.js | ||
| magicbounce.js | ||
| magicguard.js | ||
| magician.js | ||
| magnetpull.js | ||
| mirrorarmor.js | ||
| moxie.js | ||
| multiscale.js | ||
| mummy.js | ||
| naturalcure.js | ||
| neutralizinggas.js | ||
| normalize.js | ||
| owntempo.js | ||
| parentalbond.js | ||
| pastelveil.js | ||
| pickpocket.js | ||
| pickup.js | ||
| prankster.js | ||
| pressure.js | ||
| primordialsea.js | ||
| protean.js | ||
| receiver.js | ||
| ripen.js | ||
| rockhead.js | ||
| roughskin.js | ||
| sapsipper.js | ||
| screencleaner.js | ||
| shadowtag.js | ||
| sheerforce.js | ||
| shellarmor.js | ||
| shielddust.js | ||
| shieldsdown.js | ||
| simple.js | ||
| slowstart.js | ||
| soulheart.js | ||
| stancechange.js | ||
| steelyspirit.js | ||
| stickyhold.js | ||
| stormdrain.js | ||
| sturdy.js | ||
| suctioncups.js | ||
| symbiosis.js | ||
| synchronize.js | ||
| technician.js | ||
| thickfat.js | ||
| trace.js | ||
| truant.js | ||
| unaware.js | ||
| unburden.js | ||
| unnerve.js | ||
| victorystar.js | ||
| wanderingspirit.js | ||
| wonderguard.js | ||
| zenmode.js | ||