{
    num: -32207,
    accuracy: 100,
    basePower: 90,
    basePowerCallback(target, source, move) {
      if (["stoneage", "ironage", "iceage", "electricage"].includes(move.sourceEffect)) {
        this.add("-combine");
        return 160;
      }
      return move.basePower;
    },
    category: "Special",
    name: "Dragon 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) && ["stoneage", "ironage", "iceage", "electricage"].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 = "Physical";
      if (move.sourceEffect === "stoneage") {
        move.type = "Rock";
        move.forceSTAB = true;
        move.self = { sideCondition: "dragoncrystal" };
      }
      if (move.sourceEffect === "ironage") {
        move.type = "Steel";
        move.forceSTAB = true;
        move.sideCondition = "dragoncage";
      }
      if (move.sourceEffect === "iceage") {
        move.type = "Ice";
        move.forceSTAB = true;
        move.self = { sideCondition: "dragonveil" };
      }
      if (move.sourceEffect === "electricage") {
        move.type = "Electric";
        move.forceSTAB = true;
        move.sideCondition = "shockbomb";
      }
    },
    secondary: null,
    target: "normal",
    type: "Dragon",
    contestType: "Cool"
}