PKHeX/PKHeX.Core/Legality/Evolutions/EvolutionRuleTweak.cs
Kurt d690f1c5d3 Check unsaved entity on sav export
Add setting to skip the unsaved entity check
Add setting to skip the overwrite? prompt and always call Save As

Change Overwrite prompt to have distinct buttons rather than rows that can be mis-clicked.

fix some comments/strings from Pokemon=>Pokémon

add some underline shortcut key for main menu for English translation
2026-02-22 11:11:16 -06:00

23 lines
730 B
C#

namespace PKHeX.Core;
/// <summary>
/// Tweaks to Evolution rules to account for game-specific behaviors.
/// </summary>
public sealed class EvolutionRuleTweak
{
/// <summary>
/// Default Evolution logic (no tweaks).
/// </summary>
public static readonly EvolutionRuleTweak Default = new();
/// <summary>
/// In Sword &amp; Shield (Generation 8+), level 100 Pokémon can trigger evolution methods via Rare Candy level up.
/// </summary>
public static readonly EvolutionRuleTweak Level100 = new() { AllowLevelUpEvolution100 = true };
/// <summary>
/// Allow Level Up Evolutions to trigger if already level 100.
/// </summary>
public bool AllowLevelUpEvolution100 { get; init; }
}