"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var items_exports = {}; __export(items_exports, { Items: () => Items }); module.exports = __toCommonJS(items_exports); const Items = { abomasite: { inherit: true, isNonstandard: null }, absolite: { inherit: true, isNonstandard: null }, adamantcrystal: { inherit: true, onBasePower(basePower, user, target, move) { if (move.type === "Steel" || move.type === "Dragon") { return this.chainModify([4915, 4096]); } }, onTakeItem: false }, aerodactylite: { inherit: true, isNonstandard: null }, aggronite: { inherit: true, isNonstandard: null }, alakazite: { inherit: true, isNonstandard: null }, altarianite: { inherit: true, isNonstandard: null }, ampharosite: { inherit: true, isNonstandard: null }, audinite: { inherit: true, isNonstandard: null }, banettite: { inherit: true, isNonstandard: null }, beedrillite: { inherit: true, isNonstandard: null }, blastoisinite: { inherit: true, isNonstandard: null }, blazikenite: { inherit: true, isNonstandard: null }, blueorb: { inherit: true, onSwitchIn(pokemon) { if (pokemon.isActive && !pokemon.species.isPrimal && !pokemon.transformed) { const species = this.actions.getMixedSpecies(pokemon.m.originalSpecies, "Kyogre-Primal", pokemon); if (pokemon.m.originalSpecies === "Kyogre") { pokemon.formeChange(species, this.effect, true); } else { pokemon.formeChange(species, this.effect, true); pokemon.baseSpecies = species; this.add("-start", pokemon, "Blue Orb", "[silent]"); } pokemon.canTerastallize = null; } }, onTakeItem: false, isNonstandard: null }, cameruptite: { inherit: true, isNonstandard: null }, charizarditex: { inherit: true, isNonstandard: null }, charizarditey: { inherit: true, isNonstandard: null }, cornerstonemask: { inherit: true, onBasePower(basePower, user, target, move) { return this.chainModify([4915, 4096]); }, onTakeItem: false }, diancite: { inherit: true, isNonstandard: null }, galladite: { inherit: true, isNonstandard: null }, garchompite: { inherit: true, isNonstandard: null }, gardevoirite: { inherit: true, isNonstandard: null }, gengarite: { inherit: true, isNonstandard: null }, glalitite: { inherit: true, isNonstandard: null }, griseouscore: { inherit: true, onBasePower(basePower, user, target, move) { if (move.type === "Ghost" || move.type === "Dragon") { return this.chainModify([4915, 4096]); } }, onTakeItem: false }, gyaradosite: { inherit: true, isNonstandard: null }, hearthflamemask: { inherit: true, onBasePower(basePower, user, target, move) { return this.chainModify([4915, 4096]); }, onTakeItem: false }, heracronite: { inherit: true, isNonstandard: null }, houndoominite: { inherit: true, isNonstandard: null }, kangaskhanite: { inherit: true, isNonstandard: null }, latiasite: { inherit: true, isNonstandard: null }, latiosite: { inherit: true, isNonstandard: null }, lopunnite: { inherit: true, isNonstandard: null }, lucarionite: { inherit: true, isNonstandard: null }, lustrousglobe: { inherit: true, onBasePower(basePower, user, target, move) { if (move.type === "Water" || move.type === "Dragon") { return this.chainModify([4915, 4096]); } }, onTakeItem: false }, manectite: { inherit: true, isNonstandard: null }, mawilite: { inherit: true, isNonstandard: null }, medichamite: { inherit: true, isNonstandard: null }, metagrossite: { inherit: true, isNonstandard: null }, mewtwonitex: { inherit: true, isNonstandard: null }, mewtwonitey: { inherit: true, isNonstandard: null }, pidgeotite: { inherit: true, isNonstandard: null }, pinsirite: { inherit: true, isNonstandard: null }, redorb: { inherit: true, onSwitchIn(pokemon) { if (pokemon.isActive && !pokemon.species.isPrimal && !pokemon.transformed) { const species = this.actions.getMixedSpecies(pokemon.m.originalSpecies, "Groudon-Primal", pokemon); if (pokemon.m.originalSpecies === "Groudon") { pokemon.formeChange(species, this.effect, true); } else { pokemon.formeChange(species, this.effect, true); pokemon.baseSpecies = species; this.add("-start", pokemon, "Red Orb", "[silent]"); const apparentSpecies = pokemon.illusion ? pokemon.illusion.species.name : pokemon.m.originalSpecies; const oSpecies = this.dex.species.get(apparentSpecies); if (pokemon.illusion) { const types = oSpecies.types; if (types.length > 1 || types[types.length - 1] !== "Fire") { this.add("-start", pokemon, "typechange", (types[0] !== "Fire" ? types[0] + "/" : "") + "Fire", "[silent]"); } } else if (oSpecies.types.length !== pokemon.species.types.length || oSpecies.types[1] !== pokemon.species.types[1]) { this.add("-start", pokemon, "typechange", pokemon.species.types.join("/"), "[silent]"); } } pokemon.canTerastallize = null; } }, onTakeItem: false, isNonstandard: null }, rustedshield: { inherit: true, onTakeItem: false }, rustedsword: { inherit: true, onTakeItem: false }, sablenite: { inherit: true, isNonstandard: null }, salamencite: { inherit: true, isNonstandard: null }, sceptilite: { inherit: true, isNonstandard: null }, scizorite: { inherit: true, isNonstandard: null }, sharpedonite: { inherit: true, isNonstandard: null }, slowbronite: { inherit: true, isNonstandard: null }, steelixite: { inherit: true, isNonstandard: null }, swampertite: { inherit: true, isNonstandard: null }, tyranitarite: { inherit: true, isNonstandard: null }, venusaurite: { inherit: true, isNonstandard: null }, vilevial: { inherit: true, onBasePower(basePower, user, target, move) { if (["Poison", "Flying"].includes(move.type)) { return this.chainModify([4915, 4096]); } }, onTakeItem: false }, wellspringmask: { inherit: true, onBasePower(basePower, user, target, move) { return this.chainModify([4915, 4096]); }, onTakeItem: false } }; //# sourceMappingURL=items.js.map