From a8154cfa494bddba481dc6d9f3781d6f7d9419f8 Mon Sep 17 00:00:00 2001 From: James Park Date: Sun, 28 May 2023 18:05:44 +1000 Subject: [PATCH] Fix Griseous Orb being incorrectly removed from Pt inventory (#3891) * Fix Griseous Orb being incorrectly removed from Pt inventory --- PKHeX.Core/Items/ItemStorage4HGSS.cs | 2 +- PKHeX.Core/Items/ItemStorage4Pt.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKHeX.Core/Items/ItemStorage4HGSS.cs b/PKHeX.Core/Items/ItemStorage4HGSS.cs index dce74b43f..92438fb64 100644 --- a/PKHeX.Core/Items/ItemStorage4HGSS.cs +++ b/PKHeX.Core/Items/ItemStorage4HGSS.cs @@ -20,7 +20,7 @@ public sealed class ItemStorage4HGSS : ItemStorage4, IItemStorage public ReadOnlySpan GetItems(InventoryType type) => type switch { - InventoryType.Items => Pouch_Items_DP, + InventoryType.Items => Pouch_Items_Pt, InventoryType.KeyItems => Pouch_Key_HGSS, InventoryType.TMHMs => Pouch_TMHM_DP, InventoryType.MailItems => Pouch_Mail_DP, diff --git a/PKHeX.Core/Items/ItemStorage4Pt.cs b/PKHeX.Core/Items/ItemStorage4Pt.cs index 64aa5b682..50673521a 100644 --- a/PKHeX.Core/Items/ItemStorage4Pt.cs +++ b/PKHeX.Core/Items/ItemStorage4Pt.cs @@ -20,7 +20,7 @@ public static ushort[] GetAllHeld() public ReadOnlySpan GetItems(InventoryType type) => type switch { - InventoryType.Items => Pouch_Items_DP, + InventoryType.Items => Pouch_Items_Pt, InventoryType.KeyItems => Pouch_Key_Pt, InventoryType.TMHMs => Pouch_TMHM_DP, InventoryType.MailItems => Pouch_Mail_DP,