/// <summary> /// Toggles the marking at a given index. /// </summary> /// <param name="pk">Pokémon to modify.</param> /// <param name="index">Marking index to toggle</param> /// <returns>Current marking values</returns> public static int[] ToggleMarking(this PKM pk, int index) => pk.ToggleMarking(index, pk.Markings);