mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-24 17:02:46 -05:00
Change back pokemon.types to a pointer to the types in the dex entry. A typeless mon now defaults to ??? rather than undefined in pokemon.getTypes() Implement methods pokemon.setType and pokemon.addType 'setType' accepts as parameters any amount of types, with the default attributes. 'addType' accepts as parameter a single type, which will have the flag 'isAdded'. |
||
|---|---|---|
| .. | ||
| abilities.js | ||
| aliases.js | ||
| formats-data.js | ||
| items.js | ||
| learnsets-g6.js | ||
| learnsets.js | ||
| moves.js | ||
| pokedex.js | ||
| rulesets.js | ||
| scripts.js | ||
| statuses.js | ||
| typechart.js | ||