{
  num: -13100,
  accuracy: true,
  basePower: 0,
  category: "Status",
  name: "Minazuki",
  pp: 5,
  priority: 0,
  flags: { snatch: 1, heal: 1, allyanim: 1, metronome: 1 },
  sideCondition: "minazuki",
  condition: {
    duration: 3,
    onSideStart(side, source) {
      this.add("-sidestart", side, "move: Minazuki");
      for (const ally of side.pokemon) {
        if (!ally || ally.fainted || !ally.hp) continue;
        if (ally.status === "psn" || ally.status === "tox" || ally.status === "brn" || ally.status === "par") ally.cureStatus();
      }
    },
    onSideResidualOrder: 6,
    onSideResidual(side) {
      for (const ally of side.pokemon) {
        if (!ally || ally.fainted || !ally.hp || !ally.maxhp) continue;
        if (ally.isActive) this.heal(Math.max(1, Math.floor(ally.maxhp / 8)), ally);
        else ally.hp = Math.min(ally.maxhp, ally.hp + Math.max(1, Math.floor(ally.maxhp / 8)));
        if (ally.status === "psn" || ally.status === "tox" || ally.status === "brn" || ally.status === "par") ally.cureStatus();
      }
    },
    onSideEnd(side) {
      this.add("-sideend", side, "move: Minazuki");
    }
  },
  secondary: null,
  target: "allySide",
  type: "Water",
  zMove: { boost: { spd: 1 } },
  contestType: "Beautiful",
  desc: "Summons Minazuki for three turns. Unohana's side heals each turn and major status is washed away. Bankai Unohana keeps this effect active through her ability."
}