{
    num: -32122,
    accuracy: 100,
    basePower: 100,
    category: "Special",
    name: "Royal Flare",
    pp: 10,
    priority: 0,
    flags: { protect: 1, mirror: 1, metronome: 1 },
    onModifyMove(move, pokemon) {
      if (pokemon.getStat("atk", false, true) > pokemon.getStat("spa", false, true)) {
        move.category = "Physical";
        move.overrideDefensiveStat = "spd";
      } else if (pokemon.getStat("atk", false, true) < pokemon.getStat("spa", false, true)) {
        move.category = "Special";
        move.overrideDefensiveStat = "def";
      }
    },
    secondary: {
      chance: 20,
      status: "brn"
    },
    target: "normal",
    type: "Fire",
    contestType: "Beautiful"
}