mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-06 22:43:29 -05:00
JSHint is now a fair bit stricter, and is now correctly checking files in `mods/`. The code has been fixed to match the new stricter standards. JSHint has now caught its second actual bug: Gen 5 Pinap Berry was Ice instead of Grass.
10 lines
168 B
JavaScript
10 lines
168 B
JavaScript
exports.BattleScripts = {
|
|
inherit: 'gen5',
|
|
gen: 4,
|
|
init: function () {
|
|
for (var i in this.data.Pokedex) {
|
|
delete this.data.Pokedex[i].abilities['H'];
|
|
}
|
|
}
|
|
};
|