public FurnitureShop(Save saveFile, int offset) : base(saveFile, offset) { Item[] Items = null; Size = GetSize(saveFile.Save_Generation); Name = ShopInfo.GetShopName(saveFile.Save_Generation, Size); int ItemCount = 0; switch (saveFile.Save_Generation) { case SaveGeneration.N64: case SaveGeneration.GCN: if (Size == 0) { ItemCount = 0; } else if (Size == 1) { ItemCount = 0; } else if (Size == 2) { ItemCount = 0; } else { ItemCount = 35; } break; case SaveGeneration.N3DS: break; } Items = new Item[ItemCount]; for (int i = 0; i < ItemCount; i++) { if (SaveFile.Save_Generation == SaveGeneration.N3DS) { Items[i] = new Item(SaveFile.ReadUInt32(Offset + ShopOffsets.FurnitureShop + i * 4)); } else { Items[i] = new Item(SaveFile.ReadUInt16(Offset + ShopOffsets.FurnitureShop + i * 2)); } } Stock = Items; }