Decompiled source of ColorfulEnemyVariants v0.8.3

ColorfulEnemyVariants.dll

Decompiled 3 days ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Logging;
using EnemySkinManager;
using Microsoft.CodeAnalysis;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("ExampleSkinPack")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("An example skin pack for the EnemySkinManager mod")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("ExampleSkinPack")]
[assembly: AssemblyTitle("ExampleSkinPack")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
namespace ExampleSkinPack
{
	[BepInPlugin("JustSomeDevGuy.ColorfulEnemyVariants", "Colorful Enemy Variants", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		internal static ManualLogSource? Log;

		private static AssetBundle? exampleSkinPackBundle;

		public static Plugin Instance;

		private void Awake()
		{
			Log = ((BaseUnityPlugin)this).Logger;
			ManualLogSource? log = Log;
			if (log != null)
			{
				log.LogInfo((object)"Plugin JustSomeDevGuy.ColorfulEnemyVariants is loaded!");
			}
			Instance = this;
			LoadAssets();
			RegisterExampleSkins();
		}

		private void LoadAssets()
		{
			ManualLogSource? log = Log;
			if (log != null)
			{
				log.LogInfo((object)"Attempting to load ExampleSkinPack AssetBundle...");
			}
			string text = "exampleskinpack_assets";
			string text2 = Path.Combine(Path.GetDirectoryName(((BaseUnityPlugin)this).Info.Location), text);
			if (File.Exists(text2))
			{
				exampleSkinPackBundle = AssetBundle.LoadFromFile(text2);
				if ((Object)(object)exampleSkinPackBundle == (Object)null)
				{
					ManualLogSource? log2 = Log;
					if (log2 != null)
					{
						log2.LogError((object)("Failed to load AssetBundle from path: " + text2));
					}
				}
				else
				{
					ManualLogSource? log3 = Log;
					if (log3 != null)
					{
						log3.LogInfo((object)("Successfully loaded AssetBundle: " + text));
					}
				}
			}
			else
			{
				ManualLogSource? log4 = Log;
				if (log4 != null)
				{
					log4.LogError((object)("AssetBundle not found at path: " + text2));
				}
			}
		}

		private void RegisterExampleSkins()
		{
			//IL_00c1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c8: Expected O, but got Unknown
			//IL_01ec: Unknown result type (might be due to invalid IL or missing references)
			//IL_01f3: Expected O, but got Unknown
			//IL_031b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0322: Expected O, but got Unknown
			//IL_0404: Unknown result type (might be due to invalid IL or missing references)
			//IL_040b: Expected O, but got Unknown
			//IL_04af: Unknown result type (might be due to invalid IL or missing references)
			//IL_04b6: Expected O, but got Unknown
			//IL_055a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0561: Expected O, but got Unknown
			//IL_0605: Unknown result type (might be due to invalid IL or missing references)
			//IL_060c: Expected O, but got Unknown
			//IL_06b0: Unknown result type (might be due to invalid IL or missing references)
			//IL_06b7: Expected O, but got Unknown
			//IL_075b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0762: Expected O, but got Unknown
			//IL_080a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0811: Expected O, but got Unknown
			//IL_08b9: Unknown result type (might be due to invalid IL or missing references)
			//IL_08c0: Expected O, but got Unknown
			//IL_0968: Unknown result type (might be due to invalid IL or missing references)
			//IL_096f: Expected O, but got Unknown
			//IL_0a1e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a25: Expected O, but got Unknown
			//IL_0ad2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ad9: Expected O, but got Unknown
			//IL_0b86: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b8d: Expected O, but got Unknown
			//IL_0c3a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c41: Expected O, but got Unknown
			//IL_0cf5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cfc: Expected O, but got Unknown
			//IL_0dc9: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dd0: Expected O, but got Unknown
			//IL_0e9d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ea4: Expected O, but got Unknown
			//IL_0f71: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f78: Expected O, but got Unknown
			//IL_1072: Unknown result type (might be due to invalid IL or missing references)
			//IL_1079: Expected O, but got Unknown
			//IL_117e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1185: Expected O, but got Unknown
			//IL_128a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1291: Expected O, but got Unknown
			//IL_1396: Unknown result type (might be due to invalid IL or missing references)
			//IL_139d: Expected O, but got Unknown
			//IL_14b0: Unknown result type (might be due to invalid IL or missing references)
			//IL_14b7: Expected O, but got Unknown
			//IL_15bc: Unknown result type (might be due to invalid IL or missing references)
			//IL_15c3: Expected O, but got Unknown
			//IL_16c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_16cf: Expected O, but got Unknown
			//IL_17d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_17db: Expected O, but got Unknown
			//IL_18ee: Unknown result type (might be due to invalid IL or missing references)
			//IL_18f5: Expected O, but got Unknown
			//IL_19fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_1a01: Expected O, but got Unknown
			//IL_1b06: Unknown result type (might be due to invalid IL or missing references)
			//IL_1b0d: Expected O, but got Unknown
			//IL_1c20: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c27: Expected O, but got Unknown
			//IL_1d2c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1d33: Expected O, but got Unknown
			//IL_1e38: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e3f: Expected O, but got Unknown
			//IL_1f44: Unknown result type (might be due to invalid IL or missing references)
			//IL_1f4b: Expected O, but got Unknown
			//IL_205e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2065: Expected O, but got Unknown
			//IL_2172: Unknown result type (might be due to invalid IL or missing references)
			//IL_217b: Expected O, but got Unknown
			//IL_228e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2297: Expected O, but got Unknown
			//IL_23aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_23b3: Expected O, but got Unknown
			//IL_24c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_24cf: Expected O, but got Unknown
			//IL_25fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_2606: Expected O, but got Unknown
			//IL_2726: Unknown result type (might be due to invalid IL or missing references)
			//IL_272f: Expected O, but got Unknown
			//IL_284f: Unknown result type (might be due to invalid IL or missing references)
			//IL_2858: Expected O, but got Unknown
			//IL_2978: Unknown result type (might be due to invalid IL or missing references)
			//IL_2981: Expected O, but got Unknown
			//IL_2aaf: Unknown result type (might be due to invalid IL or missing references)
			//IL_2ab8: Expected O, but got Unknown
			//IL_2bd8: Unknown result type (might be due to invalid IL or missing references)
			//IL_2be1: Expected O, but got Unknown
			//IL_2d01: Unknown result type (might be due to invalid IL or missing references)
			//IL_2d0a: Expected O, but got Unknown
			//IL_2e2a: Unknown result type (might be due to invalid IL or missing references)
			//IL_2e33: Expected O, but got Unknown
			//IL_2f53: Unknown result type (might be due to invalid IL or missing references)
			//IL_2f5c: Expected O, but got Unknown
			//IL_30a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_30ad: Expected O, but got Unknown
			//IL_3219: Unknown result type (might be due to invalid IL or missing references)
			//IL_3222: Expected O, but got Unknown
			//IL_338e: Unknown result type (might be due to invalid IL or missing references)
			//IL_3397: Expected O, but got Unknown
			//IL_34ea: Unknown result type (might be due to invalid IL or missing references)
			//IL_34f3: Expected O, but got Unknown
			//IL_3606: Unknown result type (might be due to invalid IL or missing references)
			//IL_360f: Expected O, but got Unknown
			//IL_3722: Unknown result type (might be due to invalid IL or missing references)
			//IL_372b: Expected O, but got Unknown
			//IL_383e: Unknown result type (might be due to invalid IL or missing references)
			//IL_3847: Expected O, but got Unknown
			//IL_3968: Unknown result type (might be due to invalid IL or missing references)
			//IL_3971: Expected O, but got Unknown
			//IL_3a84: Unknown result type (might be due to invalid IL or missing references)
			//IL_3a8d: Expected O, but got Unknown
			//IL_3ba0: Unknown result type (might be due to invalid IL or missing references)
			//IL_3ba9: Expected O, but got Unknown
			//IL_3cbc: Unknown result type (might be due to invalid IL or missing references)
			//IL_3cc5: Expected O, but got Unknown
			//IL_3dd8: Unknown result type (might be due to invalid IL or missing references)
			//IL_3de1: Expected O, but got Unknown
			//IL_3f02: Unknown result type (might be due to invalid IL or missing references)
			//IL_3f0b: Expected O, but got Unknown
			//IL_401e: Unknown result type (might be due to invalid IL or missing references)
			//IL_4027: Expected O, but got Unknown
			//IL_413a: Unknown result type (might be due to invalid IL or missing references)
			//IL_4143: Expected O, but got Unknown
			//IL_4256: Unknown result type (might be due to invalid IL or missing references)
			//IL_425f: Expected O, but got Unknown
			//IL_4380: Unknown result type (might be due to invalid IL or missing references)
			//IL_4389: Expected O, but got Unknown
			//IL_449c: Unknown result type (might be due to invalid IL or missing references)
			//IL_44a5: Expected O, but got Unknown
			//IL_45b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_45c1: Expected O, but got Unknown
			//IL_46d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_46dd: Expected O, but got Unknown
			if ((Object)(object)exampleSkinPackBundle == (Object)null)
			{
				ManualLogSource? log = Log;
				if (log != null)
				{
					log.LogError((object)"Cannot register skins because the AssetBundle was not loaded.");
				}
				return;
			}
			string text = "GreenDuckSkin";
			Material val = exampleSkinPackBundle.LoadAsset<Material>(text);
			string text2 = "GreenDuck - Monster.mat";
			Material val2 = exampleSkinPackBundle.LoadAsset<Material>(text2);
			if ((Object)(object)val != (Object)null && (Object)(object)val2 != (Object)null)
			{
				ManualLogSource? log2 = Log;
				if (log2 != null)
				{
					log2.LogInfo((object)("Successfully loaded material '" + text + "' and '" + text2 + "' from AssetBundle."));
				}
				SkinData val3 = new SkinData("Green Duck", (Material[])(object)new Material[2] { val, val2 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Duck", val3, (string)null);
				ManualLogSource? log3 = Log;
				if (log3 != null)
				{
					log3.LogInfo((object)"Registered skin 'Green Duck' for enemy 'Duck' with 2 materials.");
				}
			}
			else
			{
				if ((Object)(object)val == (Object)null)
				{
					ManualLogSource? log4 = Log;
					if (log4 != null)
					{
						log4.LogError((object)("Failed to load material '" + text + "' from AssetBundle."));
					}
				}
				if ((Object)(object)val2 == (Object)null)
				{
					ManualLogSource? log5 = Log;
					if (log5 != null)
					{
						log5.LogError((object)("Failed to load material '" + text2 + "' from AssetBundle."));
					}
				}
			}
			string text3 = "BlueDuckSkin";
			Material val4 = exampleSkinPackBundle.LoadAsset<Material>(text3);
			string text4 = "BlueDuck - Monster.mat";
			Material val5 = exampleSkinPackBundle.LoadAsset<Material>(text4);
			if ((Object)(object)val4 != (Object)null && (Object)(object)val5 != (Object)null)
			{
				ManualLogSource? log6 = Log;
				if (log6 != null)
				{
					log6.LogInfo((object)("Successfully loaded material '" + text3 + "' and '" + text4 + "' from AssetBundle."));
				}
				SkinData val6 = new SkinData("Blue Duck", (Material[])(object)new Material[2] { val4, val5 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Duck", val6, (string)null);
				ManualLogSource? log7 = Log;
				if (log7 != null)
				{
					log7.LogInfo((object)"Registered skin 'Blue Duck' for enemy 'Duck' with 2 materials.");
				}
			}
			else
			{
				if ((Object)(object)val4 == (Object)null)
				{
					ManualLogSource? log8 = Log;
					if (log8 != null)
					{
						log8.LogError((object)("Failed to load material '" + text3 + "' from AssetBundle."));
					}
				}
				if ((Object)(object)val5 == (Object)null)
				{
					ManualLogSource? log9 = Log;
					if (log9 != null)
					{
						log9.LogError((object)("Failed to load material '" + text4 + "' from AssetBundle."));
					}
				}
			}
			string text5 = "RedDuckSkin";
			Material val7 = exampleSkinPackBundle.LoadAsset<Material>(text5);
			string text6 = "RedDuck - Monster.mat";
			Material val8 = exampleSkinPackBundle.LoadAsset<Material>(text6);
			if ((Object)(object)val7 != (Object)null && (Object)(object)val8 != (Object)null)
			{
				ManualLogSource? log10 = Log;
				if (log10 != null)
				{
					log10.LogInfo((object)("Successfully loaded material '" + text5 + "' and '" + text6 + "' from AssetBundle."));
				}
				SkinData val9 = new SkinData("Red Duck", (Material[])(object)new Material[2] { val7, val8 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Duck", val9, (string)null);
				ManualLogSource? log11 = Log;
				if (log11 != null)
				{
					log11.LogInfo((object)"Registered skin 'Red Duck' for enemy 'Duck' with 2 materials.");
				}
			}
			else
			{
				if ((Object)(object)val7 == (Object)null)
				{
					ManualLogSource? log12 = Log;
					if (log12 != null)
					{
						log12.LogError((object)("Failed to load material '" + text5 + "' from AssetBundle."));
					}
				}
				if ((Object)(object)val8 == (Object)null)
				{
					ManualLogSource? log13 = Log;
					if (log13 != null)
					{
						log13.LogError((object)("Failed to load material '" + text6 + "' from AssetBundle."));
					}
				}
			}
			string text7 = "RedAnimal";
			Material val10 = exampleSkinPackBundle.LoadAsset<Material>(text7);
			if ((Object)(object)val10 != (Object)null)
			{
				ManualLogSource? log14 = Log;
				if (log14 != null)
				{
					log14.LogInfo((object)("Successfully loaded material '" + text7 + "' from AssetBundle."));
				}
				SkinData val11 = new SkinData("Red Animal", (Material[])(object)new Material[1] { val10 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Animal", val11, (string)null);
				ManualLogSource? log15 = Log;
				if (log15 != null)
				{
					log15.LogInfo((object)"Registered skin 'Red Animal' for enemy 'Animal'.");
				}
			}
			else
			{
				ManualLogSource? log16 = Log;
				if (log16 != null)
				{
					log16.LogError((object)("Failed to load material '" + text7 + "' from AssetBundle."));
				}
			}
			string text8 = "GreenAnimal";
			Material val12 = exampleSkinPackBundle.LoadAsset<Material>(text8);
			if ((Object)(object)val12 != (Object)null)
			{
				ManualLogSource? log17 = Log;
				if (log17 != null)
				{
					log17.LogInfo((object)("Successfully loaded material '" + text8 + "' from AssetBundle."));
				}
				SkinData val13 = new SkinData("Green Animal", (Material[])(object)new Material[1] { val12 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Animal", val13, (string)null);
				ManualLogSource? log18 = Log;
				if (log18 != null)
				{
					log18.LogInfo((object)"Registered skin 'Green Animal' for enemy 'Animal'.");
				}
			}
			else
			{
				ManualLogSource? log19 = Log;
				if (log19 != null)
				{
					log19.LogError((object)("Failed to load material '" + text8 + "' from AssetBundle."));
				}
			}
			string text9 = "BlueAnimal";
			Material val14 = exampleSkinPackBundle.LoadAsset<Material>(text9);
			if ((Object)(object)val14 != (Object)null)
			{
				ManualLogSource? log20 = Log;
				if (log20 != null)
				{
					log20.LogInfo((object)("Successfully loaded material '" + text9 + "' from AssetBundle."));
				}
				SkinData val15 = new SkinData("Blue Animal", (Material[])(object)new Material[1] { val14 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Animal", val15, (string)null);
				ManualLogSource? log21 = Log;
				if (log21 != null)
				{
					log21.LogInfo((object)"Registered skin 'Blue Animal' for enemy 'Animal'.");
				}
			}
			else
			{
				ManualLogSource? log22 = Log;
				if (log22 != null)
				{
					log22.LogError((object)("Failed to load material '" + text9 + "' from AssetBundle."));
				}
			}
			string text10 = "PurpleAnimal";
			Material val16 = exampleSkinPackBundle.LoadAsset<Material>(text10);
			if ((Object)(object)val16 != (Object)null)
			{
				ManualLogSource? log23 = Log;
				if (log23 != null)
				{
					log23.LogInfo((object)("Successfully loaded material '" + text10 + "' from AssetBundle."));
				}
				SkinData val17 = new SkinData("Purple Animal", (Material[])(object)new Material[1] { val16 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Animal", val17, (string)null);
				ManualLogSource? log24 = Log;
				if (log24 != null)
				{
					log24.LogInfo((object)"Registered skin 'Purple Animal' for enemy 'Animal'.");
				}
			}
			else
			{
				ManualLogSource? log25 = Log;
				if (log25 != null)
				{
					log25.LogError((object)("Failed to load material '" + text10 + "' from AssetBundle."));
				}
			}
			string text11 = "YellowAnimal";
			Material val18 = exampleSkinPackBundle.LoadAsset<Material>(text11);
			if ((Object)(object)val18 != (Object)null)
			{
				ManualLogSource? log26 = Log;
				if (log26 != null)
				{
					log26.LogInfo((object)("Successfully loaded material '" + text11 + "' from AssetBundle."));
				}
				SkinData val19 = new SkinData("Yellow Animal", (Material[])(object)new Material[1] { val18 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Animal", val19, (string)null);
				ManualLogSource? log27 = Log;
				if (log27 != null)
				{
					log27.LogInfo((object)"Registered skin 'Yellow Animal' for enemy 'Animal'.");
				}
			}
			else
			{
				ManualLogSource? log28 = Log;
				if (log28 != null)
				{
					log28.LogError((object)("Failed to load material '" + text11 + "' from AssetBundle."));
				}
			}
			string text12 = "RedPeeper";
			Material val20 = exampleSkinPackBundle.LoadAsset<Material>(text12);
			if ((Object)(object)val20 != (Object)null)
			{
				ManualLogSource? log29 = Log;
				if (log29 != null)
				{
					log29.LogInfo((object)("Successfully loaded material '" + text12 + "' from AssetBundle."));
				}
				SkinData val21 = new SkinData("Red Peeper", (Material[])(object)new Material[1] { val20 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Ceiling Eye", val21, "Peeper");
				ManualLogSource? log30 = Log;
				if (log30 != null)
				{
					log30.LogInfo((object)"Registered skin 'Red Peeper' for enemy 'Ceiling Eye' under category 'Peeper'.");
				}
			}
			else
			{
				ManualLogSource? log31 = Log;
				if (log31 != null)
				{
					log31.LogError((object)("Failed to load material '" + text12 + "' from AssetBundle."));
				}
			}
			string text13 = "BluePeeper";
			Material val22 = exampleSkinPackBundle.LoadAsset<Material>(text13);
			if ((Object)(object)val22 != (Object)null)
			{
				ManualLogSource? log32 = Log;
				if (log32 != null)
				{
					log32.LogInfo((object)("Successfully loaded material '" + text13 + "' from AssetBundle."));
				}
				SkinData val23 = new SkinData("Blue Peeper", (Material[])(object)new Material[1] { val22 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Ceiling Eye", val23, "Peeper");
				ManualLogSource? log33 = Log;
				if (log33 != null)
				{
					log33.LogInfo((object)"Registered skin 'Blue Peeper' for enemy 'Ceiling Eye' under category 'Peeper'.");
				}
			}
			else
			{
				ManualLogSource? log34 = Log;
				if (log34 != null)
				{
					log34.LogError((object)("Failed to load material '" + text13 + "' from AssetBundle."));
				}
			}
			string text14 = "GreenPeeper";
			Material val24 = exampleSkinPackBundle.LoadAsset<Material>(text14);
			if ((Object)(object)val24 != (Object)null)
			{
				ManualLogSource? log35 = Log;
				if (log35 != null)
				{
					log35.LogInfo((object)("Successfully loaded material '" + text14 + "' from AssetBundle."));
				}
				SkinData val25 = new SkinData("Green Peeper", (Material[])(object)new Material[1] { val24 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Ceiling Eye", val25, "Peeper");
				ManualLogSource? log36 = Log;
				if (log36 != null)
				{
					log36.LogInfo((object)"Registered skin 'Green Peeper' for enemy 'Ceiling Eye' under category 'Peeper'.");
				}
			}
			else
			{
				ManualLogSource? log37 = Log;
				if (log37 != null)
				{
					log37.LogError((object)("Failed to load material '" + text14 + "' from AssetBundle."));
				}
			}
			string text15 = "PurplePeeper";
			Material val26 = exampleSkinPackBundle.LoadAsset<Material>(text15);
			if ((Object)(object)val26 != (Object)null)
			{
				ManualLogSource? log38 = Log;
				if (log38 != null)
				{
					log38.LogInfo((object)("Successfully loaded material '" + text15 + "' from AssetBundle."));
				}
				SkinData val27 = new SkinData("Purple Peeper", (Material[])(object)new Material[1] { val26 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin("Ceiling Eye", val27, "Peeper");
				ManualLogSource? log39 = Log;
				if (log39 != null)
				{
					log39.LogInfo((object)"Registered skin 'Purple Peeper' for enemy 'Ceiling Eye' under category 'Peeper'.");
				}
			}
			else
			{
				ManualLogSource? log40 = Log;
				if (log40 != null)
				{
					log40.LogError((object)("Failed to load material '" + text15 + "' from AssetBundle."));
				}
			}
			string text16 = "Gnome";
			string text17 = "GreenGnome";
			Material val28 = exampleSkinPackBundle.LoadAsset<Material>(text17);
			if ((Object)(object)val28 != (Object)null)
			{
				ManualLogSource? log41 = Log;
				if (log41 != null)
				{
					log41.LogInfo((object)("Successfully loaded material '" + text17 + "' for Gnome."));
				}
				SkinData val29 = new SkinData("Green Gnome", (Material[])(object)new Material[1] { val28 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text16, val29, (string)null);
				ManualLogSource? log42 = Log;
				if (log42 != null)
				{
					log42.LogInfo((object)("Registered skin 'Green Gnome' for enemy '" + text16 + "'."));
				}
			}
			else
			{
				ManualLogSource? log43 = Log;
				if (log43 != null)
				{
					log43.LogError((object)("Failed to load material '" + text17 + "' for Gnome."));
				}
			}
			string text18 = "OrangeGnome";
			Material val30 = exampleSkinPackBundle.LoadAsset<Material>(text18);
			if ((Object)(object)val30 != (Object)null)
			{
				ManualLogSource? log44 = Log;
				if (log44 != null)
				{
					log44.LogInfo((object)("Successfully loaded material '" + text18 + "' for Gnome."));
				}
				SkinData val31 = new SkinData("Orange Gnome", (Material[])(object)new Material[1] { val30 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text16, val31, (string)null);
				ManualLogSource? log45 = Log;
				if (log45 != null)
				{
					log45.LogInfo((object)("Registered skin 'Orange Gnome' for enemy '" + text16 + "'."));
				}
			}
			else
			{
				ManualLogSource? log46 = Log;
				if (log46 != null)
				{
					log46.LogError((object)("Failed to load material '" + text18 + "' for Gnome."));
				}
			}
			string text19 = "PurpleGnome";
			Material val32 = exampleSkinPackBundle.LoadAsset<Material>(text19);
			if ((Object)(object)val32 != (Object)null)
			{
				ManualLogSource? log47 = Log;
				if (log47 != null)
				{
					log47.LogInfo((object)("Successfully loaded material '" + text19 + "' for Gnome."));
				}
				SkinData val33 = new SkinData("Purple Gnome", (Material[])(object)new Material[1] { val32 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text16, val33, (string)null);
				ManualLogSource? log48 = Log;
				if (log48 != null)
				{
					log48.LogInfo((object)("Registered skin 'Purple Gnome' for enemy '" + text16 + "'."));
				}
			}
			else
			{
				ManualLogSource? log49 = Log;
				if (log49 != null)
				{
					log49.LogError((object)("Failed to load material '" + text19 + "' for Gnome."));
				}
			}
			string text20 = "YellowGnome";
			Material val34 = exampleSkinPackBundle.LoadAsset<Material>(text20);
			if ((Object)(object)val34 != (Object)null)
			{
				ManualLogSource? log50 = Log;
				if (log50 != null)
				{
					log50.LogInfo((object)("Successfully loaded material '" + text20 + "' for Gnome."));
				}
				SkinData val35 = new SkinData("Yellow Gnome", (Material[])(object)new Material[1] { val34 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text16, val35, (string)null);
				ManualLogSource? log51 = Log;
				if (log51 != null)
				{
					log51.LogInfo((object)("Registered skin 'Yellow Gnome' for enemy '" + text16 + "'."));
				}
			}
			else
			{
				ManualLogSource? log52 = Log;
				if (log52 != null)
				{
					log52.LogError((object)("Failed to load material '" + text20 + "' for Gnome."));
				}
			}
			string text21 = "Runner";
			string text22 = "BlueRunner";
			Material val36 = exampleSkinPackBundle.LoadAsset<Material>(text22);
			if ((Object)(object)val36 != (Object)null)
			{
				ManualLogSource? log53 = Log;
				if (log53 != null)
				{
					log53.LogInfo((object)("Successfully loaded material '" + text22 + "' from AssetBundle."));
				}
				SkinData val37 = new SkinData("Blue Reaper", (Material[])(object)new Material[1] { val36 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text21, val37, "Reaper");
				ManualLogSource? log54 = Log;
				if (log54 != null)
				{
					log54.LogInfo((object)("Registered skin 'Blue Reaper' for enemy '" + text21 + "' under category 'Reaper'."));
				}
			}
			else
			{
				ManualLogSource? log55 = Log;
				if (log55 != null)
				{
					log55.LogError((object)("Failed to load material '" + text22 + "' from AssetBundle for enemy '" + text21 + "'."));
				}
			}
			string text23 = "YellowRunner";
			Material val38 = exampleSkinPackBundle.LoadAsset<Material>(text23);
			if ((Object)(object)val38 != (Object)null)
			{
				ManualLogSource? log56 = Log;
				if (log56 != null)
				{
					log56.LogInfo((object)("Successfully loaded material '" + text23 + "' from AssetBundle."));
				}
				SkinData val39 = new SkinData("Yellow Reaper", (Material[])(object)new Material[1] { val38 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text21, val39, "Reaper");
				ManualLogSource? log57 = Log;
				if (log57 != null)
				{
					log57.LogInfo((object)("Registered skin 'Yellow Reaper' for enemy '" + text21 + "' under category 'Reaper'."));
				}
			}
			else
			{
				ManualLogSource? log58 = Log;
				if (log58 != null)
				{
					log58.LogError((object)("Failed to load material '" + text23 + "' from AssetBundle for enemy '" + text21 + "'."));
				}
			}
			string text24 = "GreenRunner";
			Material val40 = exampleSkinPackBundle.LoadAsset<Material>(text24);
			if ((Object)(object)val40 != (Object)null)
			{
				ManualLogSource? log59 = Log;
				if (log59 != null)
				{
					log59.LogInfo((object)("Successfully loaded material '" + text24 + "' from AssetBundle."));
				}
				SkinData val41 = new SkinData("Green Reaper", (Material[])(object)new Material[1] { val40 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text21, val41, "Reaper");
				ManualLogSource? log60 = Log;
				if (log60 != null)
				{
					log60.LogInfo((object)("Registered skin 'Green Reaper' for enemy '" + text21 + "' under category 'Reaper'."));
				}
			}
			else
			{
				ManualLogSource? log61 = Log;
				if (log61 != null)
				{
					log61.LogError((object)("Failed to load material '" + text24 + "' from AssetBundle for enemy '" + text21 + "'."));
				}
			}
			string text25 = "PurpleRunner";
			Material val42 = exampleSkinPackBundle.LoadAsset<Material>(text25);
			if ((Object)(object)val42 != (Object)null)
			{
				ManualLogSource? log62 = Log;
				if (log62 != null)
				{
					log62.LogInfo((object)("Successfully loaded material '" + text25 + "' from AssetBundle."));
				}
				SkinData val43 = new SkinData("Purple Reaper", (Material[])(object)new Material[1] { val42 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text21, val43, "Reaper");
				ManualLogSource? log63 = Log;
				if (log63 != null)
				{
					log63.LogInfo((object)("Registered skin 'Purple Reaper' for enemy '" + text21 + "' under category 'Reaper'."));
				}
			}
			else
			{
				ManualLogSource? log64 = Log;
				if (log64 != null)
				{
					log64.LogError((object)("Failed to load material '" + text25 + "' from AssetBundle for enemy '" + text21 + "'."));
				}
			}
			string text26 = "Tumbler";
			string text27 = "Chef";
			string text28 = "RedChef";
			Material val44 = exampleSkinPackBundle.LoadAsset<Material>(text28);
			if ((Object)(object)val44 != (Object)null)
			{
				ManualLogSource? log65 = Log;
				if (log65 != null)
				{
					log65.LogInfo((object)("Successfully loaded material '" + text28 + "' for " + text26 + "."));
				}
				SkinData val45 = new SkinData("Red Chef", (Material[])(object)new Material[1] { val44 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text26, val45, text27);
				ManualLogSource? log66 = Log;
				if (log66 != null)
				{
					log66.LogInfo((object)("Registered skin 'Red Chef' for enemy '" + text26 + "' under category '" + text27 + "'."));
				}
			}
			else
			{
				ManualLogSource? log67 = Log;
				if (log67 != null)
				{
					log67.LogError((object)("Failed to load material '" + text28 + "' for " + text26 + "."));
				}
			}
			string text29 = "BlueChef";
			Material val46 = exampleSkinPackBundle.LoadAsset<Material>(text29);
			if ((Object)(object)val46 != (Object)null)
			{
				ManualLogSource? log68 = Log;
				if (log68 != null)
				{
					log68.LogInfo((object)("Successfully loaded material '" + text29 + "' for " + text26 + "."));
				}
				SkinData val47 = new SkinData("Blue Chef", (Material[])(object)new Material[1] { val46 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text26, val47, text27);
				ManualLogSource? log69 = Log;
				if (log69 != null)
				{
					log69.LogInfo((object)("Registered skin 'Blue Chef' for enemy '" + text26 + "' under category '" + text27 + "'."));
				}
			}
			else
			{
				ManualLogSource? log70 = Log;
				if (log70 != null)
				{
					log70.LogError((object)("Failed to load material '" + text29 + "' for " + text26 + "."));
				}
			}
			string text30 = "GreenChef";
			Material val48 = exampleSkinPackBundle.LoadAsset<Material>(text30);
			if ((Object)(object)val48 != (Object)null)
			{
				ManualLogSource? log71 = Log;
				if (log71 != null)
				{
					log71.LogInfo((object)("Successfully loaded material '" + text30 + "' for " + text26 + "."));
				}
				SkinData val49 = new SkinData("Green Chef", (Material[])(object)new Material[1] { val48 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text26, val49, text27);
				ManualLogSource? log72 = Log;
				if (log72 != null)
				{
					log72.LogInfo((object)("Registered skin 'Green Chef' for enemy '" + text26 + "' under category '" + text27 + "'."));
				}
			}
			else
			{
				ManualLogSource? log73 = Log;
				if (log73 != null)
				{
					log73.LogError((object)("Failed to load material '" + text30 + "' for " + text26 + "."));
				}
			}
			string text31 = "PurpleChef";
			Material val50 = exampleSkinPackBundle.LoadAsset<Material>(text31);
			if ((Object)(object)val50 != (Object)null)
			{
				ManualLogSource? log74 = Log;
				if (log74 != null)
				{
					log74.LogInfo((object)("Successfully loaded material '" + text31 + "' for " + text26 + "."));
				}
				SkinData val51 = new SkinData("Purple Chef", (Material[])(object)new Material[1] { val50 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text26, val51, text27);
				ManualLogSource? log75 = Log;
				if (log75 != null)
				{
					log75.LogInfo((object)("Registered skin 'Purple Chef' for enemy '" + text26 + "' under category '" + text27 + "'."));
				}
			}
			else
			{
				ManualLogSource? log76 = Log;
				if (log76 != null)
				{
					log76.LogError((object)("Failed to load material '" + text31 + "' for " + text26 + "."));
				}
			}
			string text32 = "Valuable Thrower";
			string text33 = "Rugrat";
			string text34 = "RedRugrat";
			Material val52 = exampleSkinPackBundle.LoadAsset<Material>(text34);
			if ((Object)(object)val52 != (Object)null)
			{
				ManualLogSource? log77 = Log;
				if (log77 != null)
				{
					log77.LogInfo((object)("Successfully loaded material '" + text34 + "' for " + text32 + "."));
				}
				SkinData val53 = new SkinData("Red Rugrat", (Material[])(object)new Material[1] { val52 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text32, val53, text33);
				ManualLogSource? log78 = Log;
				if (log78 != null)
				{
					log78.LogInfo((object)("Registered skin 'Red Rugrat' for enemy '" + text32 + "' under category '" + text33 + "'."));
				}
			}
			else
			{
				ManualLogSource? log79 = Log;
				if (log79 != null)
				{
					log79.LogError((object)("Failed to load material '" + text34 + "' for " + text32 + "."));
				}
			}
			string text35 = "BlueRugrat";
			Material val54 = exampleSkinPackBundle.LoadAsset<Material>(text35);
			if ((Object)(object)val54 != (Object)null)
			{
				ManualLogSource? log80 = Log;
				if (log80 != null)
				{
					log80.LogInfo((object)("Successfully loaded material '" + text35 + "' for " + text32 + "."));
				}
				SkinData val55 = new SkinData("Blue Rugrat", (Material[])(object)new Material[1] { val54 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text32, val55, text33);
				ManualLogSource? log81 = Log;
				if (log81 != null)
				{
					log81.LogInfo((object)("Registered skin 'Blue Rugrat' for enemy '" + text32 + "' under category '" + text33 + "'."));
				}
			}
			else
			{
				ManualLogSource? log82 = Log;
				if (log82 != null)
				{
					log82.LogError((object)("Failed to load material '" + text35 + "' for " + text32 + "."));
				}
			}
			string text36 = "GreenRugrat";
			Material val56 = exampleSkinPackBundle.LoadAsset<Material>(text36);
			if ((Object)(object)val56 != (Object)null)
			{
				ManualLogSource? log83 = Log;
				if (log83 != null)
				{
					log83.LogInfo((object)("Successfully loaded material '" + text36 + "' for " + text32 + "."));
				}
				SkinData val57 = new SkinData("Green Rugrat", (Material[])(object)new Material[1] { val56 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text32, val57, text33);
				ManualLogSource? log84 = Log;
				if (log84 != null)
				{
					log84.LogInfo((object)("Registered skin 'Green Rugrat' for enemy '" + text32 + "' under category '" + text33 + "'."));
				}
			}
			else
			{
				ManualLogSource? log85 = Log;
				if (log85 != null)
				{
					log85.LogError((object)("Failed to load material '" + text36 + "' for " + text32 + "."));
				}
			}
			string text37 = "PurpleRugrat";
			Material val58 = exampleSkinPackBundle.LoadAsset<Material>(text37);
			if ((Object)(object)val58 != (Object)null)
			{
				ManualLogSource? log86 = Log;
				if (log86 != null)
				{
					log86.LogInfo((object)("Successfully loaded material '" + text37 + "' for " + text32 + "."));
				}
				SkinData val59 = new SkinData("Purple Rugrat", (Material[])(object)new Material[1] { val58 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text32, val59, text33);
				ManualLogSource? log87 = Log;
				if (log87 != null)
				{
					log87.LogInfo((object)("Registered skin 'Purple Rugrat' for enemy '" + text32 + "' under category '" + text33 + "'."));
				}
			}
			else
			{
				ManualLogSource? log88 = Log;
				if (log88 != null)
				{
					log88.LogError((object)("Failed to load material '" + text37 + "' for " + text32 + "."));
				}
			}
			string text38 = "Hunter";
			string text39 = "Huntsman";
			string text40 = "RedHunter";
			Material val60 = exampleSkinPackBundle.LoadAsset<Material>(text40);
			if ((Object)(object)val60 != (Object)null)
			{
				ManualLogSource? log89 = Log;
				if (log89 != null)
				{
					log89.LogInfo((object)("Successfully loaded material '" + text40 + "' for " + text38 + "."));
				}
				SkinData val61 = new SkinData("Red Huntsman", (Material[])(object)new Material[1] { val60 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text38, val61, text39);
				ManualLogSource? log90 = Log;
				if (log90 != null)
				{
					log90.LogInfo((object)("Registered skin 'Red Huntsman' for enemy '" + text38 + "' under category '" + text39 + "'."));
				}
			}
			else
			{
				ManualLogSource? log91 = Log;
				if (log91 != null)
				{
					log91.LogError((object)("Failed to load material '" + text40 + "' for " + text38 + "."));
				}
			}
			string text41 = "BlueHunter";
			Material val62 = exampleSkinPackBundle.LoadAsset<Material>(text41);
			if ((Object)(object)val62 != (Object)null)
			{
				ManualLogSource? log92 = Log;
				if (log92 != null)
				{
					log92.LogInfo((object)("Successfully loaded material '" + text41 + "' for " + text38 + "."));
				}
				SkinData val63 = new SkinData("Blue Huntsman", (Material[])(object)new Material[1] { val62 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text38, val63, text39);
				ManualLogSource? log93 = Log;
				if (log93 != null)
				{
					log93.LogInfo((object)("Registered skin 'Blue Huntsman' for enemy '" + text38 + "' under category '" + text39 + "'."));
				}
			}
			else
			{
				ManualLogSource? log94 = Log;
				if (log94 != null)
				{
					log94.LogError((object)("Failed to load material '" + text41 + "' for " + text38 + "."));
				}
			}
			string text42 = "YellowHunter";
			Material val64 = exampleSkinPackBundle.LoadAsset<Material>(text42);
			if ((Object)(object)val64 != (Object)null)
			{
				ManualLogSource? log95 = Log;
				if (log95 != null)
				{
					log95.LogInfo((object)("Successfully loaded material '" + text42 + "' for " + text38 + "."));
				}
				SkinData val65 = new SkinData("Yellow Huntsman", (Material[])(object)new Material[1] { val64 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text38, val65, text39);
				ManualLogSource? log96 = Log;
				if (log96 != null)
				{
					log96.LogInfo((object)("Registered skin 'Yellow Huntsman' for enemy '" + text38 + "' under category '" + text39 + "'."));
				}
			}
			else
			{
				ManualLogSource? log97 = Log;
				if (log97 != null)
				{
					log97.LogError((object)("Failed to load material '" + text42 + "' for " + text38 + "."));
				}
			}
			string text43 = "Floater";
			string text44 = "Mentalist";
			string text45 = "RedFloater";
			Material val66 = exampleSkinPackBundle.LoadAsset<Material>(text45);
			if ((Object)(object)val66 != (Object)null)
			{
				ManualLogSource? log98 = Log;
				if (log98 != null)
				{
					log98.LogInfo((object)("Successfully loaded material '" + text45 + "' for " + text43 + "."));
				}
				SkinData val67 = new SkinData("Red Mentalist", (Material[])(object)new Material[1] { val66 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text43, val67, text44);
				ManualLogSource? log99 = Log;
				if (log99 != null)
				{
					log99.LogInfo((object)("Registered skin 'Red Mentalist' for enemy '" + text43 + "' under category '" + text44 + "'."));
				}
			}
			else
			{
				ManualLogSource? log100 = Log;
				if (log100 != null)
				{
					log100.LogError((object)("Failed to load material '" + text45 + "' for " + text43 + "."));
				}
			}
			string text46 = "BlueFloater";
			Material val68 = exampleSkinPackBundle.LoadAsset<Material>(text46);
			if ((Object)(object)val68 != (Object)null)
			{
				ManualLogSource? log101 = Log;
				if (log101 != null)
				{
					log101.LogInfo((object)("Successfully loaded material '" + text46 + "' for " + text43 + "."));
				}
				SkinData val69 = new SkinData("Blue Mentalist", (Material[])(object)new Material[1] { val68 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text43, val69, text44);
				ManualLogSource? log102 = Log;
				if (log102 != null)
				{
					log102.LogInfo((object)("Registered skin 'Blue Mentalist' for enemy '" + text43 + "' under category '" + text44 + "'."));
				}
			}
			else
			{
				ManualLogSource? log103 = Log;
				if (log103 != null)
				{
					log103.LogError((object)("Failed to load material '" + text46 + "' for " + text43 + "."));
				}
			}
			string text47 = "GreenFloater";
			Material val70 = exampleSkinPackBundle.LoadAsset<Material>(text47);
			if ((Object)(object)val70 != (Object)null)
			{
				ManualLogSource? log104 = Log;
				if (log104 != null)
				{
					log104.LogInfo((object)("Successfully loaded material '" + text47 + "' for " + text43 + "."));
				}
				SkinData val71 = new SkinData("Green Mentalist", (Material[])(object)new Material[1] { val70 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text43, val71, text44);
				ManualLogSource? log105 = Log;
				if (log105 != null)
				{
					log105.LogInfo((object)("Registered skin 'Green Mentalist' for enemy '" + text43 + "' under category '" + text44 + "'."));
				}
			}
			else
			{
				ManualLogSource? log106 = Log;
				if (log106 != null)
				{
					log106.LogError((object)("Failed to load material '" + text47 + "' for " + text43 + "."));
				}
			}
			string text48 = "YellowFloater";
			Material val72 = exampleSkinPackBundle.LoadAsset<Material>(text48);
			if ((Object)(object)val72 != (Object)null)
			{
				ManualLogSource? log107 = Log;
				if (log107 != null)
				{
					log107.LogInfo((object)("Successfully loaded material '" + text48 + "' for " + text43 + "."));
				}
				SkinData val73 = new SkinData("Yellow Mentalist", (Material[])(object)new Material[1] { val72 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text43, val73, text44);
				ManualLogSource? log108 = Log;
				if (log108 != null)
				{
					log108.LogInfo((object)("Registered skin 'Yellow Mentalist' for enemy '" + text43 + "' under category '" + text44 + "'."));
				}
			}
			else
			{
				ManualLogSource? log109 = Log;
				if (log109 != null)
				{
					log109.LogError((object)("Failed to load material '" + text48 + "' for " + text43 + "."));
				}
			}
			string text49 = "Robe";
			string text50 = "Robe";
			string text51 = "RedRobe";
			Material val74 = exampleSkinPackBundle.LoadAsset<Material>(text51);
			if ((Object)(object)val74 != (Object)null)
			{
				ManualLogSource? log110 = Log;
				if (log110 != null)
				{
					log110.LogInfo((object)("Successfully loaded material '" + text51 + "' for " + text49 + "."));
				}
				SkinData val75 = new SkinData("Red Robe", (Material[])(object)new Material[1] { val74 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text49, val75, text50);
				ManualLogSource? log111 = Log;
				if (log111 != null)
				{
					log111.LogInfo((object)("Registered skin 'Red Robe' for enemy '" + text49 + "' under category '" + text50 + "'."));
				}
			}
			else
			{
				ManualLogSource? log112 = Log;
				if (log112 != null)
				{
					log112.LogError((object)("Failed to load material '" + text51 + "' for " + text49 + "."));
				}
			}
			string text52 = "BlueRobe";
			Material val76 = exampleSkinPackBundle.LoadAsset<Material>(text52);
			if ((Object)(object)val76 != (Object)null)
			{
				ManualLogSource? log113 = Log;
				if (log113 != null)
				{
					log113.LogInfo((object)("Successfully loaded material '" + text52 + "' for " + text49 + "."));
				}
				SkinData val77 = new SkinData("Blue Robe", (Material[])(object)new Material[1] { val76 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text49, val77, text50);
				ManualLogSource? log114 = Log;
				if (log114 != null)
				{
					log114.LogInfo((object)("Registered skin 'Blue Robe' for enemy '" + text49 + "' under category '" + text50 + "'."));
				}
			}
			else
			{
				ManualLogSource? log115 = Log;
				if (log115 != null)
				{
					log115.LogError((object)("Failed to load material '" + text52 + "' for " + text49 + "."));
				}
			}
			string text53 = "GreenRobe";
			Material val78 = exampleSkinPackBundle.LoadAsset<Material>(text53);
			if ((Object)(object)val78 != (Object)null)
			{
				ManualLogSource? log116 = Log;
				if (log116 != null)
				{
					log116.LogInfo((object)("Successfully loaded material '" + text53 + "' for " + text49 + "."));
				}
				SkinData val79 = new SkinData("Green Robe", (Material[])(object)new Material[1] { val78 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text49, val79, text50);
				ManualLogSource? log117 = Log;
				if (log117 != null)
				{
					log117.LogInfo((object)("Registered skin 'Green Robe' for enemy '" + text49 + "' under category '" + text50 + "'."));
				}
			}
			else
			{
				ManualLogSource? log118 = Log;
				if (log118 != null)
				{
					log118.LogError((object)("Failed to load material '" + text53 + "' for " + text49 + "."));
				}
			}
			string text54 = "YellowRobe";
			Material val80 = exampleSkinPackBundle.LoadAsset<Material>(text54);
			if ((Object)(object)val80 != (Object)null)
			{
				ManualLogSource? log119 = Log;
				if (log119 != null)
				{
					log119.LogInfo((object)("Successfully loaded material '" + text54 + "' for " + text49 + "."));
				}
				SkinData val81 = new SkinData("Yellow Robe", (Material[])(object)new Material[1] { val80 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text49, val81, text50);
				ManualLogSource? log120 = Log;
				if (log120 != null)
				{
					log120.LogInfo((object)("Registered skin 'Yellow Robe' for enemy '" + text49 + "' under category '" + text50 + "'."));
				}
			}
			else
			{
				ManualLogSource? log121 = Log;
				if (log121 != null)
				{
					log121.LogError((object)("Failed to load material '" + text54 + "' for " + text49 + "."));
				}
			}
			string text55 = "PurpleRobe";
			Material val82 = exampleSkinPackBundle.LoadAsset<Material>(text55);
			if ((Object)(object)val82 != (Object)null)
			{
				ManualLogSource? log122 = Log;
				if (log122 != null)
				{
					log122.LogInfo((object)("Successfully loaded material '" + text55 + "' for " + text49 + "."));
				}
				SkinData val83 = new SkinData("Purple Robe", (Material[])(object)new Material[1] { val82 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text49, val83, text50);
				ManualLogSource? log123 = Log;
				if (log123 != null)
				{
					log123.LogInfo((object)("Registered skin 'Purple Robe' for enemy '" + text49 + "' under category '" + text50 + "'."));
				}
			}
			else
			{
				ManualLogSource? log124 = Log;
				if (log124 != null)
				{
					log124.LogError((object)("Failed to load material '" + text55 + "' for " + text49 + "."));
				}
			}
			string text56 = "Head";
			string text57 = "Headman";
			string text58 = "RedHeadmanEyeBalls";
			Material val84 = exampleSkinPackBundle.LoadAsset<Material>(text58);
			if ((Object)(object)val84 != (Object)null)
			{
				ManualLogSource? log125 = Log;
				if (log125 != null)
				{
					log125.LogInfo((object)("Successfully loaded material '" + text58 + "' for " + text56 + " (Category: " + text57 + ")."));
				}
				SkinData val85 = new SkinData("Red Headman", (Material[])(object)new Material[1] { val84 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text56, val85, text57);
				ManualLogSource? log126 = Log;
				if (log126 != null)
				{
					log126.LogInfo((object)("Registered skin 'Red Headman' for enemy '" + text56 + "' under category '" + text57 + "'."));
				}
			}
			else
			{
				ManualLogSource? log127 = Log;
				if (log127 != null)
				{
					log127.LogError((object)("Failed to load material '" + text58 + "' for " + text56 + "."));
				}
			}
			string text59 = "BlueHeadmanEyeBalls";
			Material val86 = exampleSkinPackBundle.LoadAsset<Material>(text59);
			if ((Object)(object)val86 != (Object)null)
			{
				ManualLogSource? log128 = Log;
				if (log128 != null)
				{
					log128.LogInfo((object)("Successfully loaded material '" + text59 + "' for " + text56 + " (Category: " + text57 + ")."));
				}
				SkinData val87 = new SkinData("Blue Headman", (Material[])(object)new Material[1] { val86 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text56, val87, text57);
				ManualLogSource? log129 = Log;
				if (log129 != null)
				{
					log129.LogInfo((object)("Registered skin 'Blue Headman' for enemy '" + text56 + "' under category '" + text57 + "'."));
				}
			}
			else
			{
				ManualLogSource? log130 = Log;
				if (log130 != null)
				{
					log130.LogError((object)("Failed to load material '" + text59 + "' for " + text56 + "."));
				}
			}
			string text60 = "GreenHeadmanEyeBalls";
			Material val88 = exampleSkinPackBundle.LoadAsset<Material>(text60);
			if ((Object)(object)val88 != (Object)null)
			{
				ManualLogSource? log131 = Log;
				if (log131 != null)
				{
					log131.LogInfo((object)("Successfully loaded material '" + text60 + "' for " + text56 + " (Category: " + text57 + ")."));
				}
				SkinData val89 = new SkinData("Green Headman", (Material[])(object)new Material[1] { val88 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text56, val89, text57);
				ManualLogSource? log132 = Log;
				if (log132 != null)
				{
					log132.LogInfo((object)("Registered skin 'Green Headman' for enemy '" + text56 + "' under category '" + text57 + "'."));
				}
			}
			else
			{
				ManualLogSource? log133 = Log;
				if (log133 != null)
				{
					log133.LogError((object)("Failed to load material '" + text60 + "' for " + text56 + "."));
				}
			}
			string text61 = "PurpleHeadmanEyeBalls";
			Material val90 = exampleSkinPackBundle.LoadAsset<Material>(text61);
			if ((Object)(object)val90 != (Object)null)
			{
				ManualLogSource? log134 = Log;
				if (log134 != null)
				{
					log134.LogInfo((object)("Successfully loaded material '" + text61 + "' for " + text56 + " (Category: " + text57 + ")."));
				}
				SkinData val91 = new SkinData("Purple Headman", (Material[])(object)new Material[1] { val90 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text56, val91, text57);
				ManualLogSource? log135 = Log;
				if (log135 != null)
				{
					log135.LogInfo((object)("Registered skin 'Purple Headman' for enemy '" + text56 + "' under category '" + text57 + "'."));
				}
			}
			else
			{
				ManualLogSource? log136 = Log;
				if (log136 != null)
				{
					log136.LogError((object)("Failed to load material '" + text61 + "' for " + text56 + "."));
				}
			}
			string text62 = "Slow Walker";
			string text63 = "Trudge";
			string text64 = "BlueSlowWalker";
			Material val92 = exampleSkinPackBundle.LoadAsset<Material>(text64);
			if ((Object)(object)val92 != (Object)null)
			{
				ManualLogSource? log137 = Log;
				if (log137 != null)
				{
					log137.LogInfo((object)("Successfully loaded material '" + text64 + "' for " + text62 + " (Category: " + text63 + ")."));
				}
				SkinData val93 = new SkinData("Blue Trudge", (Material[])(object)new Material[1] { val92 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text62, val93, text63);
				ManualLogSource? log138 = Log;
				if (log138 != null)
				{
					log138.LogInfo((object)("Registered skin 'Blue Trudge' for enemy '" + text62 + "' under category '" + text63 + "'."));
				}
			}
			else
			{
				ManualLogSource? log139 = Log;
				if (log139 != null)
				{
					log139.LogError((object)("Failed to load material '" + text64 + "' for " + text62 + "."));
				}
			}
			string text65 = "GreenSlowWalker";
			Material val94 = exampleSkinPackBundle.LoadAsset<Material>(text65);
			if ((Object)(object)val94 != (Object)null)
			{
				ManualLogSource? log140 = Log;
				if (log140 != null)
				{
					log140.LogInfo((object)("Successfully loaded material '" + text65 + "' for " + text62 + " (Category: " + text63 + ")."));
				}
				SkinData val95 = new SkinData("Green Trudge", (Material[])(object)new Material[1] { val94 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text62, val95, text63);
				ManualLogSource? log141 = Log;
				if (log141 != null)
				{
					log141.LogInfo((object)("Registered skin 'Green Trudge' for enemy '" + text62 + "' under category '" + text63 + "'."));
				}
			}
			else
			{
				ManualLogSource? log142 = Log;
				if (log142 != null)
				{
					log142.LogError((object)("Failed to load material '" + text65 + "' for " + text62 + "."));
				}
			}
			string text66 = "YellowSlowWalker";
			Material val96 = exampleSkinPackBundle.LoadAsset<Material>(text66);
			if ((Object)(object)val96 != (Object)null)
			{
				ManualLogSource? log143 = Log;
				if (log143 != null)
				{
					log143.LogInfo((object)("Successfully loaded material '" + text66 + "' for " + text62 + " (Category: " + text63 + ")."));
				}
				SkinData val97 = new SkinData("Yellow Trudge", (Material[])(object)new Material[1] { val96 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text62, val97, text63);
				ManualLogSource? log144 = Log;
				if (log144 != null)
				{
					log144.LogInfo((object)("Registered skin 'Yellow Trudge' for enemy '" + text62 + "' under category '" + text63 + "'."));
				}
			}
			else
			{
				ManualLogSource? log145 = Log;
				if (log145 != null)
				{
					log145.LogError((object)("Failed to load material '" + text66 + "' for " + text62 + "."));
				}
			}
			string text67 = "OrangeSlowWalker";
			Material val98 = exampleSkinPackBundle.LoadAsset<Material>(text67);
			if ((Object)(object)val98 != (Object)null)
			{
				ManualLogSource? log146 = Log;
				if (log146 != null)
				{
					log146.LogInfo((object)("Successfully loaded material '" + text67 + "' for " + text62 + " (Category: " + text63 + ")."));
				}
				SkinData val99 = new SkinData("Orange Trudge", (Material[])(object)new Material[1] { val98 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text62, val99, text63);
				ManualLogSource? log147 = Log;
				if (log147 != null)
				{
					log147.LogInfo((object)("Registered skin 'Orange Trudge' for enemy '" + text62 + "' under category '" + text63 + "'."));
				}
			}
			else
			{
				ManualLogSource? log148 = Log;
				if (log148 != null)
				{
					log148.LogError((object)("Failed to load material '" + text67 + "' for " + text62 + "."));
				}
			}
			string text68 = "PurpleSlowWalker";
			Material val100 = exampleSkinPackBundle.LoadAsset<Material>(text68);
			if ((Object)(object)val100 != (Object)null)
			{
				ManualLogSource? log149 = Log;
				if (log149 != null)
				{
					log149.LogInfo((object)("Successfully loaded material '" + text68 + "' for " + text62 + " (Category: " + text63 + ")."));
				}
				SkinData val101 = new SkinData("Purple Trudge", (Material[])(object)new Material[1] { val100 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text62, val101, text63);
				ManualLogSource? log150 = Log;
				if (log150 != null)
				{
					log150.LogInfo((object)("Registered skin 'Purple Trudge' for enemy '" + text62 + "' under category '" + text63 + "'."));
				}
			}
			else
			{
				ManualLogSource? log151 = Log;
				if (log151 != null)
				{
					log151.LogError((object)("Failed to load material '" + text68 + "' for " + text62 + "."));
				}
			}
			string text69 = "Upscream";
			string text70 = "Upscream";
			string text71 = "BlueUpscream Head";
			string text72 = "BlueUpscream_Legs";
			Material val102 = exampleSkinPackBundle.LoadAsset<Material>(text71);
			Material val103 = exampleSkinPackBundle.LoadAsset<Material>(text72);
			if ((Object)(object)val102 != (Object)null && (Object)(object)val103 != (Object)null)
			{
				ManualLogSource? log152 = Log;
				if (log152 != null)
				{
					log152.LogInfo((object)("Successfully loaded materials '" + text71 + "' and '" + text72 + "' for Blue Upscream."));
				}
				SkinData val104 = new SkinData("Blue Upscream", (Material[])(object)new Material[2] { val102, val103 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text69, val104, text70);
				ManualLogSource? log153 = Log;
				if (log153 != null)
				{
					log153.LogInfo((object)("Registered skin 'Blue Upscream' for enemy '" + text69 + "' under category '" + text70 + "'."));
				}
			}
			else
			{
				if ((Object)(object)val102 == (Object)null)
				{
					ManualLogSource? log154 = Log;
					if (log154 != null)
					{
						log154.LogError((object)("Failed to load material '" + text71 + "' for Blue Upscream."));
					}
				}
				if ((Object)(object)val103 == (Object)null)
				{
					ManualLogSource? log155 = Log;
					if (log155 != null)
					{
						log155.LogError((object)("Failed to load material '" + text72 + "' for Blue Upscream."));
					}
				}
			}
			string text73 = "GreenUpscream Head";
			string text74 = "GreenUpscream_Legs";
			Material val105 = exampleSkinPackBundle.LoadAsset<Material>(text73);
			Material val106 = exampleSkinPackBundle.LoadAsset<Material>(text74);
			if ((Object)(object)val105 != (Object)null && (Object)(object)val106 != (Object)null)
			{
				ManualLogSource? log156 = Log;
				if (log156 != null)
				{
					log156.LogInfo((object)("Successfully loaded materials '" + text73 + "' and '" + text74 + "' for Green Upscream."));
				}
				SkinData val107 = new SkinData("Green Upscream", (Material[])(object)new Material[2] { val105, val106 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text69, val107, text70);
				ManualLogSource? log157 = Log;
				if (log157 != null)
				{
					log157.LogInfo((object)("Registered skin 'Green Upscream' for enemy '" + text69 + "' under category '" + text70 + "'."));
				}
			}
			else
			{
				if ((Object)(object)val105 == (Object)null)
				{
					ManualLogSource? log158 = Log;
					if (log158 != null)
					{
						log158.LogError((object)("Failed to load material '" + text73 + "' for Green Upscream."));
					}
				}
				if ((Object)(object)val106 == (Object)null)
				{
					ManualLogSource? log159 = Log;
					if (log159 != null)
					{
						log159.LogError((object)("Failed to load material '" + text74 + "' for Green Upscream."));
					}
				}
			}
			string text75 = "YellowUpscream Head";
			string text76 = "YellowUpscream_Legs";
			Material val108 = exampleSkinPackBundle.LoadAsset<Material>(text75);
			Material val109 = exampleSkinPackBundle.LoadAsset<Material>(text76);
			if ((Object)(object)val108 != (Object)null && (Object)(object)val109 != (Object)null)
			{
				ManualLogSource? log160 = Log;
				if (log160 != null)
				{
					log160.LogInfo((object)("Successfully loaded materials '" + text75 + "' and '" + text76 + "' for Yellow Upscream."));
				}
				SkinData val110 = new SkinData("Yellow Upscream", (Material[])(object)new Material[2] { val108, val109 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text69, val110, text70);
				ManualLogSource? log161 = Log;
				if (log161 != null)
				{
					log161.LogInfo((object)("Registered skin 'Yellow Upscream' for enemy '" + text69 + "' under category '" + text70 + "'."));
				}
			}
			else
			{
				if ((Object)(object)val108 == (Object)null)
				{
					ManualLogSource? log162 = Log;
					if (log162 != null)
					{
						log162.LogError((object)("Failed to load material '" + text75 + "' for Yellow Upscream."));
					}
				}
				if ((Object)(object)val109 == (Object)null)
				{
					ManualLogSource? log163 = Log;
					if (log163 != null)
					{
						log163.LogError((object)("Failed to load material '" + text76 + "' for Yellow Upscream."));
					}
				}
			}
			string text77 = "Bowtie";
			string text78 = "Bowtie";
			string text79 = "Bluebowtie_DefaultMaterial_BaseColor";
			Material val111 = exampleSkinPackBundle.LoadAsset<Material>(text79);
			if ((Object)(object)val111 != (Object)null)
			{
				ManualLogSource? log164 = Log;
				if (log164 != null)
				{
					log164.LogInfo((object)("Successfully loaded material '" + text79 + "' for " + text77 + "."));
				}
				SkinData val112 = new SkinData("Blue Bowtie", (Material[])(object)new Material[1] { val111 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text77, val112, text78);
				ManualLogSource? log165 = Log;
				if (log165 != null)
				{
					log165.LogInfo((object)("Registered skin 'Blue Bowtie' for enemy '" + text77 + "' under category '" + text78 + "'."));
				}
			}
			else
			{
				ManualLogSource? log166 = Log;
				if (log166 != null)
				{
					log166.LogError((object)("Failed to load material '" + text79 + "' for " + text77 + "."));
				}
			}
			string text80 = "Greenbowtie_DefaultMaterial_BaseColor";
			Material val113 = exampleSkinPackBundle.LoadAsset<Material>(text80);
			if ((Object)(object)val113 != (Object)null)
			{
				ManualLogSource? log167 = Log;
				if (log167 != null)
				{
					log167.LogInfo((object)("Successfully loaded material '" + text80 + "' for " + text77 + "."));
				}
				SkinData val114 = new SkinData("Green Bowtie", (Material[])(object)new Material[1] { val113 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text77, val114, text78);
				ManualLogSource? log168 = Log;
				if (log168 != null)
				{
					log168.LogInfo((object)("Registered skin 'Green Bowtie' for enemy '" + text77 + "' under category '" + text78 + "'."));
				}
			}
			else
			{
				ManualLogSource? log169 = Log;
				if (log169 != null)
				{
					log169.LogError((object)("Failed to load material '" + text80 + "' for " + text77 + "."));
				}
			}
			string text81 = "Yellowbowtie_DefaultMaterial_BaseColor";
			Material val115 = exampleSkinPackBundle.LoadAsset<Material>(text81);
			if ((Object)(object)val115 != (Object)null)
			{
				ManualLogSource? log170 = Log;
				if (log170 != null)
				{
					log170.LogInfo((object)("Successfully loaded material '" + text81 + "' for " + text77 + "."));
				}
				SkinData val116 = new SkinData("Yellow Bowtie", (Material[])(object)new Material[1] { val115 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text77, val116, text78);
				ManualLogSource? log171 = Log;
				if (log171 != null)
				{
					log171.LogInfo((object)("Registered skin 'Yellow Bowtie' for enemy '" + text77 + "' under category '" + text78 + "'."));
				}
			}
			else
			{
				ManualLogSource? log172 = Log;
				if (log172 != null)
				{
					log172.LogError((object)("Failed to load material '" + text81 + "' for " + text77 + "."));
				}
			}
			string text82 = "Purplebowtie_DefaultMaterial_BaseColor";
			Material val117 = exampleSkinPackBundle.LoadAsset<Material>(text82);
			if ((Object)(object)val117 != (Object)null)
			{
				ManualLogSource? log173 = Log;
				if (log173 != null)
				{
					log173.LogInfo((object)("Successfully loaded material '" + text82 + "' for " + text77 + "."));
				}
				SkinData val118 = new SkinData("Purple Bowtie", (Material[])(object)new Material[1] { val117 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text77, val118, text78);
				ManualLogSource? log174 = Log;
				if (log174 != null)
				{
					log174.LogInfo((object)("Registered skin 'Purple Bowtie' for enemy '" + text77 + "' under category '" + text78 + "'."));
				}
			}
			else
			{
				ManualLogSource? log175 = Log;
				if (log175 != null)
				{
					log175.LogError((object)("Failed to load material '" + text82 + "' for " + text77 + "."));
				}
			}
			string text83 = "Bang";
			string text84 = "Banger";
			string text85 = "BlueBang";
			Material val119 = exampleSkinPackBundle.LoadAsset<Material>(text85);
			if ((Object)(object)val119 != (Object)null)
			{
				ManualLogSource? log176 = Log;
				if (log176 != null)
				{
					log176.LogInfo((object)("Successfully loaded material '" + text85 + "' for " + text83 + "."));
				}
				SkinData val120 = new SkinData("Blue Banger", (Material[])(object)new Material[1] { val119 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text83, val120, text84);
				ManualLogSource? log177 = Log;
				if (log177 != null)
				{
					log177.LogInfo((object)("Registered skin 'Blue Banger' for enemy '" + text83 + "' under category '" + text84 + "'."));
				}
			}
			else
			{
				ManualLogSource? log178 = Log;
				if (log178 != null)
				{
					log178.LogError((object)("Failed to load material '" + text85 + "' for " + text83 + "."));
				}
			}
			string text86 = "GreenBang";
			Material val121 = exampleSkinPackBundle.LoadAsset<Material>(text86);
			if ((Object)(object)val121 != (Object)null)
			{
				ManualLogSource? log179 = Log;
				if (log179 != null)
				{
					log179.LogInfo((object)("Successfully loaded material '" + text86 + "' for " + text83 + "."));
				}
				SkinData val122 = new SkinData("Green Banger", (Material[])(object)new Material[1] { val121 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text83, val122, text84);
				ManualLogSource? log180 = Log;
				if (log180 != null)
				{
					log180.LogInfo((object)("Registered skin 'Green Banger' for enemy '" + text83 + "' under category '" + text84 + "'."));
				}
			}
			else
			{
				ManualLogSource? log181 = Log;
				if (log181 != null)
				{
					log181.LogError((object)("Failed to load material '" + text86 + "' for " + text83 + "."));
				}
			}
			string text87 = "OrangeBang";
			Material val123 = exampleSkinPackBundle.LoadAsset<Material>(text87);
			if ((Object)(object)val123 != (Object)null)
			{
				ManualLogSource? log182 = Log;
				if (log182 != null)
				{
					log182.LogInfo((object)("Successfully loaded material '" + text87 + "' for " + text83 + "."));
				}
				SkinData val124 = new SkinData("Orange Banger", (Material[])(object)new Material[1] { val123 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text83, val124, text84);
				ManualLogSource? log183 = Log;
				if (log183 != null)
				{
					log183.LogInfo((object)("Registered skin 'Orange Banger' for enemy '" + text83 + "' under category '" + text84 + "'."));
				}
			}
			else
			{
				ManualLogSource? log184 = Log;
				if (log184 != null)
				{
					log184.LogError((object)("Failed to load material '" + text87 + "' for " + text83 + "."));
				}
			}
			string text88 = "YellowBang";
			Material val125 = exampleSkinPackBundle.LoadAsset<Material>(text88);
			if ((Object)(object)val125 != (Object)null)
			{
				ManualLogSource? log185 = Log;
				if (log185 != null)
				{
					log185.LogInfo((object)("Successfully loaded material '" + text88 + "' for " + text83 + "."));
				}
				SkinData val126 = new SkinData("Yellow Banger", (Material[])(object)new Material[1] { val125 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text83, val126, text84);
				ManualLogSource? log186 = Log;
				if (log186 != null)
				{
					log186.LogInfo((object)("Registered skin 'Yellow Banger' for enemy '" + text83 + "' under category '" + text84 + "'."));
				}
			}
			else
			{
				ManualLogSource? log187 = Log;
				if (log187 != null)
				{
					log187.LogError((object)("Failed to load material '" + text88 + "' for " + text83 + "."));
				}
			}
			string text89 = "PurpleBang";
			Material val127 = exampleSkinPackBundle.LoadAsset<Material>(text89);
			if ((Object)(object)val127 != (Object)null)
			{
				ManualLogSource? log188 = Log;
				if (log188 != null)
				{
					log188.LogInfo((object)("Successfully loaded material '" + text89 + "' for " + text83 + "."));
				}
				SkinData val128 = new SkinData("Purple Banger", (Material[])(object)new Material[1] { val127 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text83, val128, text84);
				ManualLogSource? log189 = Log;
				if (log189 != null)
				{
					log189.LogInfo((object)("Registered skin 'Purple Banger' for enemy '" + text83 + "' under category '" + text84 + "'."));
				}
			}
			else
			{
				ManualLogSource? log190 = Log;
				if (log190 != null)
				{
					log190.LogError((object)("Failed to load material '" + text89 + "' for " + text83 + "."));
				}
			}
			string text90 = "Thin Man";
			string text91 = "Shadow Child";
			string text92 = "RedThinMan";
			Material val129 = exampleSkinPackBundle.LoadAsset<Material>(text92);
			if ((Object)(object)val129 != (Object)null)
			{
				ManualLogSource? log191 = Log;
				if (log191 != null)
				{
					log191.LogInfo((object)("Successfully loaded material '" + text92 + "' for " + text90 + "."));
				}
				SkinData val130 = new SkinData("Red Shadow Child", (Material[])(object)new Material[1] { val129 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text90, val130, text91);
				ManualLogSource? log192 = Log;
				if (log192 != null)
				{
					log192.LogInfo((object)("Registered skin 'Red Shadow Child' for enemy '" + text90 + "' under category '" + text91 + "'."));
				}
			}
			else
			{
				ManualLogSource? log193 = Log;
				if (log193 != null)
				{
					log193.LogError((object)("Failed to load material '" + text92 + "' for " + text90 + "."));
				}
			}
			string text93 = "BlueThinMan";
			Material val131 = exampleSkinPackBundle.LoadAsset<Material>(text93);
			if ((Object)(object)val131 != (Object)null)
			{
				ManualLogSource? log194 = Log;
				if (log194 != null)
				{
					log194.LogInfo((object)("Successfully loaded material '" + text93 + "' for " + text90 + "."));
				}
				SkinData val132 = new SkinData("Blue Shadow Child", (Material[])(object)new Material[1] { val131 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text90, val132, text91);
				ManualLogSource? log195 = Log;
				if (log195 != null)
				{
					log195.LogInfo((object)("Registered skin 'Blue Shadow Child' for enemy '" + text90 + "' under category '" + text91 + "'."));
				}
			}
			else
			{
				ManualLogSource? log196 = Log;
				if (log196 != null)
				{
					log196.LogError((object)("Failed to load material '" + text93 + "' for " + text90 + "."));
				}
			}
			string text94 = "YellowThinMan";
			Material val133 = exampleSkinPackBundle.LoadAsset<Material>(text94);
			if ((Object)(object)val133 != (Object)null)
			{
				ManualLogSource? log197 = Log;
				if (log197 != null)
				{
					log197.LogInfo((object)("Successfully loaded material '" + text94 + "' for " + text90 + "."));
				}
				SkinData val134 = new SkinData("Yellow Shadow Child", (Material[])(object)new Material[1] { val133 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text90, val134, text91);
				ManualLogSource? log198 = Log;
				if (log198 != null)
				{
					log198.LogInfo((object)("Registered skin 'Yellow Shadow Child' for enemy '" + text90 + "' under category '" + text91 + "'."));
				}
			}
			else
			{
				ManualLogSource? log199 = Log;
				if (log199 != null)
				{
					log199.LogError((object)("Failed to load material '" + text94 + "' for " + text90 + "."));
				}
			}
			string text95 = "PurpleThinMan";
			Material val135 = exampleSkinPackBundle.LoadAsset<Material>(text95);
			if ((Object)(object)val135 != (Object)null)
			{
				ManualLogSource? log200 = Log;
				if (log200 != null)
				{
					log200.LogInfo((object)("Successfully loaded material '" + text95 + "' for " + text90 + "."));
				}
				SkinData val136 = new SkinData("Purple Shadow Child", (Material[])(object)new Material[1] { val135 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text90, val136, text91);
				ManualLogSource? log201 = Log;
				if (log201 != null)
				{
					log201.LogInfo((object)("Registered skin 'Purple Shadow Child' for enemy '" + text90 + "' under category '" + text91 + "'."));
				}
			}
			else
			{
				ManualLogSource? log202 = Log;
				if (log202 != null)
				{
					log202.LogError((object)("Failed to load material '" + text95 + "' for " + text90 + "."));
				}
			}
			string text96 = "Beamer";
			string text97 = "Clown";
			string text98 = "BlueBeamer";
			Material val137 = exampleSkinPackBundle.LoadAsset<Material>(text98);
			if ((Object)(object)val137 != (Object)null)
			{
				ManualLogSource? log203 = Log;
				if (log203 != null)
				{
					log203.LogInfo((object)("Successfully loaded material '" + text98 + "' for " + text96 + "."));
				}
				SkinData val138 = new SkinData("Blue Clown", (Material[])(object)new Material[1] { val137 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text96, val138, text97);
				ManualLogSource? log204 = Log;
				if (log204 != null)
				{
					log204.LogInfo((object)("Registered skin 'Blue Clown' for enemy '" + text96 + "' under category '" + text97 + "'."));
				}
			}
			else
			{
				ManualLogSource? log205 = Log;
				if (log205 != null)
				{
					log205.LogError((object)("Failed to load material '" + text98 + "' for " + text96 + "."));
				}
			}
			string text99 = "GreenBeamer";
			Material val139 = exampleSkinPackBundle.LoadAsset<Material>(text99);
			if ((Object)(object)val139 != (Object)null)
			{
				ManualLogSource? log206 = Log;
				if (log206 != null)
				{
					log206.LogInfo((object)("Successfully loaded material '" + text99 + "' for " + text96 + "."));
				}
				SkinData val140 = new SkinData("Green Clown", (Material[])(object)new Material[1] { val139 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text96, val140, text97);
				ManualLogSource? log207 = Log;
				if (log207 != null)
				{
					log207.LogInfo((object)("Registered skin 'Green Clown' for enemy '" + text96 + "' under category '" + text97 + "'."));
				}
			}
			else
			{
				ManualLogSource? log208 = Log;
				if (log208 != null)
				{
					log208.LogError((object)("Failed to load material '" + text99 + "' for " + text96 + "."));
				}
			}
			string text100 = "YellowBeamer";
			Material val141 = exampleSkinPackBundle.LoadAsset<Material>(text100);
			if ((Object)(object)val141 != (Object)null)
			{
				ManualLogSource? log209 = Log;
				if (log209 != null)
				{
					log209.LogInfo((object)("Successfully loaded material '" + text100 + "' for " + text96 + "."));
				}
				SkinData val142 = new SkinData("Yellow Clown", (Material[])(object)new Material[1] { val141 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text96, val142, text97);
				ManualLogSource? log210 = Log;
				if (log210 != null)
				{
					log210.LogInfo((object)("Registered skin 'Yellow Clown' for enemy '" + text96 + "' under category '" + text97 + "'."));
				}
			}
			else
			{
				ManualLogSource? log211 = Log;
				if (log211 != null)
				{
					log211.LogError((object)("Failed to load material '" + text100 + "' for " + text96 + "."));
				}
			}
			string text101 = "PurpleBeamer";
			Material val143 = exampleSkinPackBundle.LoadAsset<Material>(text101);
			if ((Object)(object)val143 != (Object)null)
			{
				ManualLogSource? log212 = Log;
				if (log212 != null)
				{
					log212.LogInfo((object)("Successfully loaded material '" + text101 + "' for " + text96 + "."));
				}
				SkinData val144 = new SkinData("Purple Clown", (Material[])(object)new Material[1] { val143 }, (Mesh)null, (Dictionary<string, Texture2D>)null, false);
				EnemySkinManager.RegisterSkin(text96, val144, text97);
				ManualLogSource? log213 = Log;
				if (log213 != null)
				{
					log213.LogInfo((object)("Registered skin 'Purple Clown' for enemy '" + text96 + "' under category '" + text97 + "'."));
				}
			}
			else
			{
				ManualLogSource? log214 = Log;
				if (log214 != null)
				{
					log214.LogError((object)("Failed to load material '" + text101 + "' for " + text96 + "."));
				}
			}
			ManualLogSource? log215 = Log;
			if (log215 != null)
			{
				log215.LogInfo((object)"Finished processing example skins.");
			}
		}
	}
	public static class PluginInfo
	{
		public const string PLUGIN_GUID = "JustSomeDevGuy.ColorfulEnemyVariants";

		public const string PLUGIN_NAME = "Colorful Enemy Variants";

		public const string PLUGIN_VERSION = "1.0.0";
	}
}