{
  num: -13004,
  accuracy: 100,
  basePower: 120,
  category: "Special",
  name: "Daiguren Hyorinmaru",
  pp: 5,
  priority: 0,
  flags: { protect: 1, mirror: 1, metronome: 1 },
  secondary: { chance: 30, status: "frz" },
  bankaiOnly(source, move) {
    if (!source) return false;
    const species = source.species || source.template || {};
    const speciesName = species.name || species.species || "";
    const speciesId = species.id || "";
    const types = source.getTypes ? source.getTypes() : [];
    if (source.hasAbility?.("frozenheaven")) return true;
    if (speciesName === "Hitsugaya-Mega" || speciesName === "Hitsugaya-Bankai" || speciesId === "hitsugayamega" || speciesId === "hitsugayabankai") return true;
    if (species.forme === "Mega" && (species.baseSpecies === "Hitsugaya" || speciesName.includes("Hitsugaya"))) return true;
    if ((source.baseSpecies?.baseSpecies === "Hitsugaya" || species.baseSpecies === "Hitsugaya" || speciesName === "Hitsugaya") && types.includes("Dragon")) return true;
    this.add("-fail", source, move);
    this.attrLastMove("[still]");
    return false;
  },
  onTryMove(source, target, move) {
    if (!this.effect.bankaiOnly.call(this, source, move)) return null;
  },
  onTry(source, target, move) {
    if (!this.effect.bankaiOnly.call(this, source, move)) return null;
  },
  onTryHit(target, source, move) {
    if (!this.effect.bankaiOnly.call(this, source, move)) return null;
  },
  onHit(target, source, move) {
    if (!source || !target) return;
    this.field.setWeather("snow", source);
    if (this.field.weatherData) this.field.weatherData.duration = 0;
    this.boost({spe: -1}, target, source, move);
    if (this.field.isWeather(["snow"])) target.addVolatile("icebind", source, move);
  },
  target: "allAdjacentFoes",
  type: "Ice",
  zMove: { basePower: 190 },
  contestType: "Beautiful",
  desc: "Bankai-only. Hits all adjacent foes, sets snow while Toshiro remains active, lowers Speed, applies Ice Bind in snow, and may freeze."
}
