mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-03 03:06:44 -05:00
Handle lgpe base friendship case
This commit is contained in:
@@ -59,7 +59,7 @@ public static class LegalityCheckStrings
|
||||
public static string L_XEnigmaBerry_0 { get; set; } = "{0} Berry";
|
||||
public static string L_XMatches0_1 { get; set; } = "Matches: {0} {1}";
|
||||
public static string L_XWurmpleEvo_0 { get; set; } = "Wurmple Evolution: {0}";
|
||||
public static string L_XRareFormEvo_0_1 { get; set; } = "Evovles into Form: {0} (rare: {1})";
|
||||
public static string L_XRareFormEvo_0_1 { get; set; } = "Evolves into form: {0} (rare: {1})";
|
||||
|
||||
public static string LAbilityCapsuleUsed { get; set; } = "Ability available with Ability Capsule.";
|
||||
public static string LAbilityPatchUsed { get; set; } = "Ability available with Ability Patch.";
|
||||
|
||||
@@ -266,6 +266,7 @@ public static bool GetCanOTHandle(IEncounterTemplate enc, PKM pk, int generation
|
||||
{
|
||||
EntityContext.Gen6 => PersonalTable.AO[species].BaseFriendship,
|
||||
EntityContext.Gen7 => PersonalTable.USUM[species].BaseFriendship,
|
||||
EntityContext.Gen7b => PersonalTable.GG[species].BaseFriendship,
|
||||
EntityContext.Gen8 => PersonalTable.SWSH.GetFormEntry(species, form).BaseFriendship,
|
||||
EntityContext.Gen8a => PersonalTable.LA.GetFormEntry(species, form).BaseFriendship,
|
||||
EntityContext.Gen8b => PersonalTable.BDSP.GetFormEntry(species, form).BaseFriendship,
|
||||
|
||||
Reference in New Issue
Block a user