mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 01:38:07 -05:00
Disallow LGPE event gift OT handling
This commit is contained in:
@@ -248,6 +248,7 @@ public static bool GetCanOTHandle(IEncounterTemplate enc, PKM pk, int generation
|
||||
EncounterSlot8GO => false,
|
||||
WC6 { OT_Name.Length: > 0 } => false,
|
||||
WC7 { OT_Name.Length: > 0, TID16: not 18075 } => false, // Ash Pikachu QR Gift doesn't set Current Handler
|
||||
WB7 wb7 when wb7.GetHasOT(pk.Language) => false,
|
||||
WC8 wc8 when wc8.GetHasOT(pk.Language) => false,
|
||||
WB8 wb8 when wb8.GetHasOT(pk.Language) => false,
|
||||
WA8 wa8 when wa8.GetHasOT(pk.Language) => false,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
namespace PKHeX.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Generation 7 Mystery Gift Template File
|
||||
/// Generation 7 Mystery Gift Template File (LGP/E)
|
||||
/// </summary>
|
||||
public sealed class WB7 : DataMysteryGift, ILangNick, IAwakened, INature, ILangNicknamedTemplate
|
||||
{
|
||||
|
||||
@@ -104,7 +104,6 @@ public void Initialize(SaveFile sav)
|
||||
/// <param name="isEgg">Is currently in an egg</param>
|
||||
/// <param name="shiny">Is it shiny</param>
|
||||
/// <param name="context">Context the sprite is for</param>
|
||||
/// <param name="tweak"></param>
|
||||
public Image GetSprite(ushort species, byte form, int gender, uint formarg, int heldItem, bool isEgg, Shiny shiny = Shiny.Never, EntityContext context = EntityContext.None)
|
||||
{
|
||||
if (species == 0)
|
||||
|
||||
Reference in New Issue
Block a user