{
    num: -32069,
    accuracy: 100,
    basePower: 90,
    basePowerCallback(target, source, move) {
      if (["iceage", "stoneage", "electricage", "dragonage"].includes(move.sourceEffect)) {
        this.add("-combine");
        return 160;
      }
      return move.basePower;
    },
    category: "Physical",
    name: "Iron Age",
    pp: 10,
    priority: 0,
    flags: { protect: 1, mirror: 1, nonsky: 1, metronome: 1, pledgecombo: 1 },
    onPrepareHit(target, source, move) {
      for (const action of this.queue) {
        if (action.choice !== "move")
          continue;
        const otherMove = action.move;
        const otherMoveUser = action.pokemon;
        if (!otherMove || !action.pokemon || !otherMoveUser.isActive || otherMoveUser.fainted || action.maxMove || action.zmove) {
          continue;
        }
        if (otherMoveUser.isAlly(source) && ["iceage", "stoneage", "electricage", "dragonage"].includes(otherMove.id)) {
          this.queue.prioritizeAction(action, move);
          this.add("-waiting", source, otherMoveUser);
          return null;
        }
      }
    },
    onModifyMove(move, pokemon) {
      if (pokemon.getStat("atk", false, true) < pokemon.getStat("spa", false, true))
        move.category = "Special";
      if (move.sourceEffect === "iceage") {
        move.type = "Ice";
        move.forceSTAB = true;
        move.self = { sideCondition: "mirrorshield" };
      }
      if (move.sourceEffect === "stoneage") {
        move.type = "Rock";
        move.forceSTAB = true;
        move.sideCondition = "gmaxsteelsurge";
      }
      if (move.sourceEffect === "electricage") {
        move.type = "Electric";
        move.forceSTAB = true;
        move.pseudoWeather = "magneticroom"
      }
      if (move.sourceEffect === "dragonage") {
        move.type = "Dragon";
        move.forceSTAB = true;
        move.sideCondition = "dragoncage";
      }
    },
    secondary: null,
    target: "normal",
    type: "Steel",
    contestType: "Clever"
}