From 068f6e2f5fb4ef2d45570238f9a7065ac15ea6d1 Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 25 Apr 2020 14:05:12 -0400 Subject: [PATCH] Fix Big Sprite ItemShiftY (#2816) Strange Souvenir and Room Service would get cut off since they're tall. Also remove Adventure Guide from resources, and add Discount Coupon to Gen 7 unreleased items. --- PKHeX.Core/Legality/Tables/Tables7.cs | 1 + PKHeX.Drawing/Properties/Resources.Designer.cs | 10 ---------- PKHeX.Drawing/Properties/Resources.resx | 3 --- .../Resources/img/Big Items/bitem_703.png | Bin 927 -> 0 bytes PKHeX.Drawing/Sprites/SpriteBuilder.cs | 2 +- 5 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 PKHeX.Drawing/Resources/img/Big Items/bitem_703.png diff --git a/PKHeX.Core/Legality/Tables/Tables7.cs b/PKHeX.Core/Legality/Tables/Tables7.cs index c61665db4..a4fc54f5a 100644 --- a/PKHeX.Core/Legality/Tables/Tables7.cs +++ b/PKHeX.Core/Legality/Tables/Tables7.cs @@ -640,6 +640,7 @@ public static partial class Legal 588, // Relic Band 589, // Relic Statue 590, // Relic Crown + 699, // Discount Coupon 715, // Fairy Gem }; #endregion diff --git a/PKHeX.Drawing/Properties/Resources.Designer.cs b/PKHeX.Drawing/Properties/Resources.Designer.cs index 5154587c1..72a64dbc7 100644 --- a/PKHeX.Drawing/Properties/Resources.Designer.cs +++ b/PKHeX.Drawing/Properties/Resources.Designer.cs @@ -51300,16 +51300,6 @@ public class Resources { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - public static System.Drawing.Bitmap bitem_703 { - get { - object obj = ResourceManager.GetObject("bitem_703", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/PKHeX.Drawing/Properties/Resources.resx b/PKHeX.Drawing/Properties/Resources.resx index 6ffebaf48..97647c479 100644 --- a/PKHeX.Drawing/Properties/Resources.resx +++ b/PKHeX.Drawing/Properties/Resources.resx @@ -1141,9 +1141,6 @@ ..\Resources\img\Big Items\bitem_7.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\img\Big Items\bitem_703.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\img\Big Items\bitem_708.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/PKHeX.Drawing/Resources/img/Big Items/bitem_703.png b/PKHeX.Drawing/Resources/img/Big Items/bitem_703.png deleted file mode 100644 index 094a2a0120e1c0c34b4135760e8cde24f95ec7f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 927 zcmV;Q17Q4#P)0zf;Vq4oF! zY00*la;-4NlF4uC9GDNOj7o0A50(jLt za zk#w3)ML|ic=psP48YH^^1J}ltV3o=SY-c+d8@)hgw!mQj;l==slsAgi`RBaaddWt9 zaaYQR&nNiq<^#vO0c<@Wgb-SfM)Vq#ro*%!f8&_g5swk+iW7|-aEz}l%u`+~(y1tH zZ5FA7bVtoIvjv9FC%Ae&<9Q5&cJ*K+4=HZt9vDDJ3y$s@VtfDl4- z_h{Vvb)2s+e-FSvr^*2A|0o1Nz(kD2K6JtPQSNY{7C-$w!_?#$02ePAAg@jvAklcp zO6D0YDt7^dgV5jqCATIX0=PjMI8uMk?aG@a2U`gMG}R~rz^#c#0DSw+IR{9&&XLLn zkZogZ^a3-FR~YO+Y$%`qy=ig_zyV=?SlpZ58Kl-D(z63C)x05q9ikNwzsfxUJVB0| zAivaue8z9Nb!KOu_)@+jfG0?uBR@<$0N{(y@uj?_5Vla0s!)@vSYMnHlRw@NYEreH z`PsYWkJ8$`rgj66pI 68; protected override int ItemShiftX => 52; - protected override int ItemShiftY => 28; + protected override int ItemShiftY => 24; protected override int ItemMaxSize => 32; protected override int EggItemShiftX => 32; protected override int EggItemShiftY => 26;