From f5ea0f46d488d854d9210dbc356a79e69d9b569b Mon Sep 17 00:00:00 2001 From: Michael Bond Date: Thu, 21 Nov 2024 19:16:21 -0500 Subject: [PATCH] Fix pouch tab icon names --- Pkmds.Web/SpriteHelper.cs | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Pkmds.Web/SpriteHelper.cs b/Pkmds.Web/SpriteHelper.cs index d682d18a..b72ec916 100644 --- a/Pkmds.Web/SpriteHelper.cs +++ b/Pkmds.Web/SpriteHelper.cs @@ -64,24 +64,24 @@ public static string GetTypeWideSpriteFileName(byte type) => $"{SpritesRoot}t/w/type_wide_{type:00}.png"; public static string GetBagPouchSpriteFileName(InventoryType type) => - $"{SpritesRoot}bag/bag_{GetBagPouchSpriteName(type)}.png"; + $"{SpritesRoot}bag/Bag_{GetBagPouchSpriteName(type)}.png"; private static string GetBagPouchSpriteName(InventoryType type) => type switch { - InventoryType.Items => "items", - InventoryType.KeyItems => "key", - InventoryType.TMHMs => "tech", - InventoryType.Medicine => "medicine", - InventoryType.Berries => "berries", - InventoryType.Balls => "balls", - InventoryType.BattleItems => "battle", - InventoryType.MailItems => "mail", - InventoryType.PCItems => "pcitems", - InventoryType.FreeSpace => "free", - InventoryType.ZCrystals => "z", - InventoryType.Candy => "candy", - InventoryType.Treasure => "treasure", - InventoryType.Ingredients => "ingredient", + InventoryType.Balls => "Balls", + InventoryType.BattleItems => "Battle", + InventoryType.Berries => "Berries", + InventoryType.Candy => "Candy", + InventoryType.FreeSpace => "Free", + InventoryType.Ingredients => "Ingredient", + InventoryType.Items => "Items", + InventoryType.KeyItems => "Key", + InventoryType.MailItems => "Mail", + InventoryType.Medicine => "Medicine", + InventoryType.PCItems => "PCItems", + InventoryType.TMHMs => "Tech", + InventoryType.Treasure => "Treasure", + InventoryType.ZCrystals => "Z", _ => throw new ArgumentOutOfRangeException(nameof(type), type, null), };