namespace PKHeX.Core;
///
/// Logic for locations of a .
///
public static class LocationEdits
{
///
/// Gets the "None" location index for a specific context.
///
public static int GetNoneLocation(PKM pk) => GetNoneLocation(pk.Context);
///
/// Gets the "None" location index for a specific context.
///
public static int GetNoneLocation(EntityContext context) => context switch
{
EntityContext.Gen8b => Locations.Default8bNone,
_ => 0,
};
}