{
    num: -21002,
    accuracy: 100,
    basePower: 90,
    category: "Special",
    name: "Ether Burst",
    pp: 15,
    priority: 0,
    flags: { protect: 1, mirror: 1, metronome: 1 },
    onModifyMove(move, pokemon) {
        const types = pokemon.getTypes?.() || [];
        if (types.length) move.type = types[0];
        const atk = pokemon.getStat?.("atk", false, true) ?? pokemon.getStat?.("atk");
        const spa = pokemon.getStat?.("spa", false, true) ?? pokemon.getStat?.("spa");
        if (typeof atk === "number" && typeof spa === "number" && atk > spa) move.category = "Physical";
    },
    target: "normal",
    type: "Psychic",
    contestType: "Beautiful"
}