Decompiled source of BoogScryption v1.0.5

BoogScryption.dll

Decompiled 6 months ago
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BoogScryption;
using BoogScryption.Abilities;
using BoogScryption.Bosses;
using BoogScryption.CardAppearances;
using BoogScryption.Cards;
using BoogScryption.Costs;
using BoogScryption.Encounters;
using BoogScryption.Patches;
using BoogScryption.Regions;
using BoogScryption.SpecialAbilities;
using BoogScryption.Tribes;
using DiskCardGame;
using HarmonyLib;
using InscryptionAPI.Ascension;
using InscryptionAPI.Card;
using InscryptionAPI.Dialogue;
using InscryptionAPI.Encounters;
using InscryptionAPI.Guid;
using InscryptionAPI.Helpers;
using InscryptionAPI.Items;
using InscryptionAPI.Masks;
using InscryptionAPI.Nodes;
using InscryptionAPI.Regions;
using InscryptionAPI.Saves;
using InscryptionAPI.Sound;
using InscryptionAPI.TalkingCards;
using InscryptionAPI.TalkingCards.Create;
using InscryptionCommunityPatch.Card;
using Microsoft.CodeAnalysis;
using Pixelplacement;
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.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("BoogScryption")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("Spooky Halloween project oooOOooOOo")]
[assembly: AssemblyFileVersion("2.4.0.0")]
[assembly: AssemblyInformationalVersion("2.4.0")]
[assembly: AssemblyProduct("BoogScryption")]
[assembly: AssemblyTitle("BoogScryption")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("2.4.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.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
public class GiantCardReplacementTest : AnimatedPortrait
{
	public override void ApplyAppearance()
	{
		((AnimatedPortrait)this).ApplyAppearance();
		((CardAppearanceBehaviour)this).Card.RenderInfo.baseTextureOverride = ResourceBank.Get<Texture>("Art/Cards/card_empty_giant");
	}

	public override RenderLiveStatsLayer AddStatsLayerComponent(GameObject statsLayerObj)
	{
		//IL_0025: Unknown result type (might be due to invalid IL or missing references)
		//IL_002a: Unknown result type (might be due to invalid IL or missing references)
		RenderLiveStatsLayer val = statsLayerObj.AddComponent<RenderLiveStatsLayer>();
		val.Giant = true;
		((CardAppearanceBehaviour)this).Card.RenderInfo.defaultAbilitiesOffset = new Vector2(0f, -0.034f);
		return val;
	}
}
internal class MyCustomScreen : AscensionRunSetupScreenBase
{
	public override bool showCardDisplayer => false;

	public override bool showCardPanel => false;

	public override string headerText => "hmm";
}
internal static class helpers
{
	public enum CharacterSpeaker
	{
		Leshy,
		Midna,
		Ash,
		Robotnik
	}

	public static List<Ability> AllPart1Abilities;

	static helpers()
	{
		AllPart1Abilities = new List<Ability>();
		RefreshAbilityList();
	}

	public static void RefreshAbilityList()
	{
		//IL_0031: Unknown result type (might be due to invalid IL or missing references)
		//IL_0036: Unknown result type (might be due to invalid IL or missing references)
		//IL_004d: Unknown result type (might be due to invalid IL or missing references)
		AllPart1Abilities.Clear();
		foreach (AbilityInfo allAbilityInfo in AbilityManager.AllAbilityInfos)
		{
			if (allAbilityInfo.metaCategories.Contains((AbilityMetaCategory)1) && allAbilityInfo.ability != Boogie_PowerDrain.ability)
			{
				AllPart1Abilities.Add(allAbilityInfo.ability);
			}
		}
	}

	public static Ability GetRandomAbility()
	{
		//IL_0018: Unknown result type (might be due to invalid IL or missing references)
		//IL_001d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0020: Unknown result type (might be due to invalid IL or missing references)
		return AllPart1Abilities[RandomRangeIntInclusive(0, AllPart1Abilities.Count - 1)];
	}

	public static CardInfo GetRandomDevCardWithRandomStats()
	{
		//IL_0007: Unknown result type (might be due to invalid IL or missing references)
		//IL_000d: Expected O, but got Unknown
		//IL_003d: Unknown result type (might be due to invalid IL or missing references)
		CardInfo randomModCard = GetRandomModCard();
		CardModificationInfo val = new CardModificationInfo();
		val.attackAdjustment = RandomRangeIntInclusive(-2, 2);
		val.healthAdjustment = RandomRangeIntInclusive(-2, 8);
		if (RandomRangeIntInclusive(0, 1) == 0)
		{
			val.abilities.Add(GetRandomAbility());
		}
		randomModCard.Mods.Add(val);
		return randomModCard;
	}

	public static CardInfo GetRandomModCard()
	{
		List<CardInfo> list = new List<CardInfo>();
		foreach (CardInfo item in CardManager.AllCardsCopy)
		{
			if (((Object)item).name.Contains("Boogie") && !CardExtensions.GetExtendedPropertyAsBool(item, "nonrewardable").HasValue)
			{
				list.Add(item);
			}
		}
		return list[RandomRangeIntInclusive(0, list.Count - 1)];
	}

	public static int RandomRangeIntInclusive(int x, int y)
	{
		return Random.RandomRangeInt(x, y + 1);
	}

	public static IEnumerable SayRandomLine(List<string> gg, LetterAnimation letterAnimation = 0)
	{
		//IL_000f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0010: Unknown result type (might be due to invalid IL or missing references)
		Debug.Log((object)"ugggggggggggggggggggggggg");
		yield return Singleton<TextDisplayer>.Instance.ShowUntilInput("aaaaaaaaaaaaaa", 0f, 0.4f, (Emotion)0, letterAnimation, (Speaker)0, (string[])null, true);
		yield return Singleton<TextDisplayer>.Instance.ShowUntilInput("dfghfdghdfhfgh", -0.65f, 0.4f, (Emotion)0, letterAnimation, (Speaker)0, (string[])null, true);
		int rando = RandomRangeIntInclusive(0, gg.Count - 1);
		yield return Singleton<TextDisplayer>.Instance.ShowUntilInput(gg[rando], -0.65f, 0.4f, (Emotion)0, letterAnimation, (Speaker)0, (string[])null, true);
	}

	public static EncounterBlueprintData GetBlueprintData(string EncounterName)
	{
		EncounterBlueprintData result = EncounterManager.AllEncountersCopy[0];
		for (int i = 0; i < EncounterManager.AllEncountersCopy.Count; i++)
		{
			if (((Object)EncounterManager.AllEncountersCopy[i]).name == EncounterName)
			{
				result = EncounterManager.AllEncountersCopy[i];
			}
		}
		return result;
	}

	public static string[] GetCards_Pokemon()
	{
		//IL_001f: Unknown result type (might be due to invalid IL or missing references)
		List<string> list = new List<string>();
		foreach (CardInfo item in CardManager.AllCardsCopy)
		{
			if (item.IsOfTribe(Boogie_Tribe_Pokemon.tribe) && !CardExtensions.GetExtendedPropertyAsBool(item, "nonrewardable").HasValue)
			{
				list.Add(((Object)item).name);
			}
		}
		Debug.Log((object)$"Found {list.Count} likely cards for Poke");
		return list.ToArray();
	}

	public static string[] GetCards_BoogieAll()
	{
		List<string> list = new List<string>();
		foreach (CardInfo item in CardManager.AllCardsCopy)
		{
			if (((Object)item).name.Contains("Boogie") && !CardExtensions.GetExtendedPropertyAsBool(item, "nonrewardable").HasValue)
			{
				list.Add(((Object)item).name);
			}
		}
		return list.ToArray();
	}

	public static List<CardInfo> GetCardInfos_BoogieStarters()
	{
		List<CardInfo> list = new List<CardInfo>();
		foreach (CardInfo item in CardManager.AllCardsCopy)
		{
			if (((Object)item).name.Contains("Boogie") && CardExtensions.GetExtendedPropertyAsBool(item, "StarterDeckPossible").HasValue && !((Object)item).name.Contains("weaker"))
			{
				list.Add(item);
			}
		}
		return list;
	}

	public static List<CardInfo> GetCardInfos_BaseStarters()
	{
		List<CardInfo> list = new List<CardInfo>();
		foreach (CardInfo baseGameCard in CardManager.BaseGameCards)
		{
			if (Array.IndexOf(new string[8] { "MealWorm", "WolfCub", "Tadpole", "Cat", "Opossum", "Rabbit", "Bee", "Cockroach" }, ((Object)baseGameCard).name) > -1)
			{
				list.Add(baseGameCard);
			}
		}
		return list;
	}

	public static string[] GetCards_BoogieTwili()
	{
		//IL_0031: Unknown result type (might be due to invalid IL or missing references)
		//IL_003e: Unknown result type (might be due to invalid IL or missing references)
		List<string> list = new List<string>();
		foreach (CardInfo item in CardManager.AllCardsCopy)
		{
			if (((Object)item).name.Contains("Boogie") && CardExtensions.IsNotOfTribe(item, Boogie_Tribe_Pokemon.tribe) && CardExtensions.IsNotOfTribe(item, Boogie_Tribe_Mobian.tribe) && !CardExtensions.GetExtendedPropertyAsBool(item, "nonrewardable").HasValue)
			{
				list.Add(((Object)item).name);
			}
		}
		Debug.Log((object)$"Found {list.Count} likely cards for Twili");
		return list.ToArray();
	}

	public static string[] GetCards_MobianNames()
	{
		//IL_001f: Unknown result type (might be due to invalid IL or missing references)
		List<string> list = new List<string>();
		foreach (CardInfo item in CardManager.AllCardsCopy)
		{
			if (item.IsOfTribe(Boogie_Tribe_Mobian.tribe) && !CardExtensions.GetExtendedPropertyAsBool(item, "nonrewardable").HasValue)
			{
				list.Add(((Object)item).name);
			}
		}
		Debug.Log((object)$"Found {list.Count} likely cards for Mobius");
		return list.ToArray();
	}

	public static List<CardInfo> GetCards_Mobians()
	{
		//IL_001f: Unknown result type (might be due to invalid IL or missing references)
		List<CardInfo> list = new List<CardInfo>();
		foreach (CardInfo item in CardManager.AllCardsCopy)
		{
			if (item.IsOfTribe(Boogie_Tribe_Mobian.tribe) && !CardExtensions.GetExtendedPropertyAsBool(item, "nonrewardable").HasValue && ((Object)item).name.Contains("Boogie"))
			{
				list.Add(item);
			}
		}
		Debug.Log((object)$"Found {list.Count} likely cards for Mobius");
		return list;
	}

	public static Sprite GetFullCardSprite(string imagePath)
	{
		//IL_001c: Unknown result type (might be due to invalid IL or missing references)
		//IL_002b: Unknown result type (might be due to invalid IL or missing references)
		return Sprite.Create(TextureHelper.GetImageAsTexture(imagePath, (FilterMode)0), new Rect(0f, 0f, 125f, 190f), new Vector2(0.51f, 0.58f));
	}

	public static Sprite GetGiantCardSprite(string imagePath)
	{
		//IL_001c: Unknown result type (might be due to invalid IL or missing references)
		//IL_002b: Unknown result type (might be due to invalid IL or missing references)
		return Sprite.Create(TextureHelper.GetImageAsTexture(imagePath, (FilterMode)0), new Rect(0f, 0f, 275f, 200f), new Vector2(0.5f, 0.55f));
	}

	public static IEnumerator HotswapCard(PlayableCard card, CardInfo replacement)
	{
		CardSlot mySlot = card.slot;
		Singleton<CameraEffects>.Instance.Shake(0.1f, 1f);
		yield return mySlot.Card.Die(false, (PlayableCard)null, true);
		if ((Object)(object)mySlot.Card == (Object)null)
		{
			yield return (object)new WaitForSeconds(0.25f);
			yield return Singleton<BoardManager>.Instance.CreateCardInSlot(replacement, mySlot, 0f, true);
		}
	}

	public static IEnumerator ShowRandomUntilInput(List<List<string>> dialog, CharacterSpeaker speaker = CharacterSpeaker.Leshy, LetterAnimation letterAnimation = 1)
	{
		//IL_0015: Unknown result type (might be due to invalid IL or missing references)
		//IL_0016: Unknown result type (might be due to invalid IL or missing references)
		int randomIndex = RandomRangeIntInclusive(0, dialog.Count - 1);
		foreach (string aLine in dialog[randomIndex])
		{
			yield return Singleton<TextDisplayer>.Instance.ShowUntilInput(aLine, 0f, 0.4f, (Emotion)0, letterAnimation, (Speaker)0, (string[])null, true);
		}
	}

	public static IEnumerator Speak(string dialog, CharacterSpeaker speaker = CharacterSpeaker.Leshy, LetterAnimation letterAnimation = 1)
	{
		//IL_0015: Unknown result type (might be due to invalid IL or missing references)
		//IL_0016: Unknown result type (might be due to invalid IL or missing references)
		yield return Singleton<TextDisplayer>.Instance.ShowUntilInput(dialog, 0f, 0.4f, (Emotion)0, letterAnimation, (Speaker)0, (string[])null, true);
	}

	public static IEnumerator PlayDialogEvent(string eventWithoutPrefix)
	{
		yield return Singleton<TextDisplayer>.Instance.PlayDialogueEvent("Boogie_" + eventWithoutPrefix, (MessageAdvanceMode)1, (EventIntersectMode)0, (string[])null, (Action<Line>)null);
	}

	public static void CreateGenericDialogEvent(string eventWithoutPrefix, List<CustomLine> mainLines, List<List<CustomLine>> repeatLines = null)
	{
		DialogueManager.GenerateEvent("boogie.inscryption.boogscryption", "Boogie_" + eventWithoutPrefix, mainLines, repeatLines, (MaxRepeatsBehaviour)0, (Speaker)0);
	}

	public static Emotion AddEmotion(string guid, string name)
	{
		//IL_0003: Unknown result type (might be due to invalid IL or missing references)
		//IL_0008: Unknown result type (might be due to invalid IL or missing references)
		//IL_0009: Unknown result type (might be due to invalid IL or missing references)
		//IL_000a: Unknown result type (might be due to invalid IL or missing references)
		//IL_000d: Unknown result type (might be due to invalid IL or missing references)
		return GuidManager.GetEnumValue<Emotion>(guid, name);
	}
}
public static class CharacterTextColorHelper
{
	public static string Midna => "#34eb9b";

	public static string Midna_emphasis => "#80ffec";

	public static string Ash => "#3b3bff";

	public static string Ash_emphasis => "#8a75ff";

	public static string Robotnik => "#eb3434";

	public static string Robotnik_emphasis => "#ff715e";

	public static string LeshyEmphasis => "#ffca42";
}
public class SpecialEvolve
{
	public string EvolveCardName = "";

	public int EvolveChance = 100;

	public SpecialEvolve(string evolveCardName, int evolveChance)
	{
		EvolveCardName = evolveCardName;
		EvolveChance = evolveChance;
	}
}
public static class AriaTalkingCardHelper
{
	private static string CharacterEmphasisColor = "";

	private static string CharacterTalkColor = "";

	public static string CharacterName = "Aria";

	public static void AddTalkingCard()
	{
		//IL_001b: Unknown result type (might be due to invalid IL or missing references)
		//IL_002c: Unknown result type (might be due to invalid IL or missing references)
		//IL_003d: Unknown result type (might be due to invalid IL or missing references)
		//IL_004e: Unknown result type (might be due to invalid IL or missing references)
		//IL_005f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Unknown result type (might be due to invalid IL or missing references)
		//IL_0081: Unknown result type (might be due to invalid IL or missing references)
		//IL_0092: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c5: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e7: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0114: Unknown result type (might be due to invalid IL or missing references)
		//IL_0131: Unknown result type (might be due to invalid IL or missing references)
		//IL_014e: Unknown result type (might be due to invalid IL or missing references)
		//IL_016b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0188: Unknown result type (might be due to invalid IL or missing references)
		//IL_01a5: Unknown result type (might be due to invalid IL or missing references)
		//IL_01c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_01f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0204: Unknown result type (might be due to invalid IL or missing references)
		//IL_0215: Unknown result type (might be due to invalid IL or missing references)
		//IL_0226: Unknown result type (might be due to invalid IL or missing references)
		//IL_0237: Unknown result type (might be due to invalid IL or missing references)
		//IL_0248: Unknown result type (might be due to invalid IL or missing references)
		//IL_0259: Unknown result type (might be due to invalid IL or missing references)
		//IL_026a: Unknown result type (might be due to invalid IL or missing references)
		//IL_027b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0297: Unknown result type (might be due to invalid IL or missing references)
		//IL_02b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_02d1: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ee: Unknown result type (might be due to invalid IL or missing references)
		//IL_030b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0328: Unknown result type (might be due to invalid IL or missing references)
		//IL_0339: Unknown result type (might be due to invalid IL or missing references)
		//IL_0356: Unknown result type (might be due to invalid IL or missing references)
		//IL_0373: Unknown result type (might be due to invalid IL or missing references)
		//IL_03a4: Unknown result type (might be due to invalid IL or missing references)
		//IL_03b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_03c6: Unknown result type (might be due to invalid IL or missing references)
		//IL_03d7: Unknown result type (might be due to invalid IL or missing references)
		//IL_03e8: Unknown result type (might be due to invalid IL or missing references)
		//IL_03f9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0415: Unknown result type (might be due to invalid IL or missing references)
		//IL_0432: Unknown result type (might be due to invalid IL or missing references)
		//IL_044f: Unknown result type (might be due to invalid IL or missing references)
		//IL_046c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0489: Unknown result type (might be due to invalid IL or missing references)
		//IL_04a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_04d7: Unknown result type (might be due to invalid IL or missing references)
		//IL_04e8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0504: Unknown result type (might be due to invalid IL or missing references)
		//IL_0521: Unknown result type (might be due to invalid IL or missing references)
		//IL_053e: Unknown result type (might be due to invalid IL or missing references)
		//IL_055b: Unknown result type (might be due to invalid IL or missing references)
		//IL_058c: Unknown result type (might be due to invalid IL or missing references)
		//IL_059d: Unknown result type (might be due to invalid IL or missing references)
		//IL_05b9: Unknown result type (might be due to invalid IL or missing references)
		//IL_05d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_05f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0624: Unknown result type (might be due to invalid IL or missing references)
		//IL_0640: Unknown result type (might be due to invalid IL or missing references)
		//IL_065d: Unknown result type (might be due to invalid IL or missing references)
		//IL_067a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0697: Unknown result type (might be due to invalid IL or missing references)
		//IL_06c8: Unknown result type (might be due to invalid IL or missing references)
		//IL_06d9: Unknown result type (might be due to invalid IL or missing references)
		//IL_06ea: Unknown result type (might be due to invalid IL or missing references)
		//IL_0706: Unknown result type (might be due to invalid IL or missing references)
		//IL_0723: Unknown result type (might be due to invalid IL or missing references)
		//IL_0754: Unknown result type (might be due to invalid IL or missing references)
		//IL_0765: Unknown result type (might be due to invalid IL or missing references)
		//IL_0776: Unknown result type (might be due to invalid IL or missing references)
		//IL_0787: Unknown result type (might be due to invalid IL or missing references)
		//IL_07a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_07c0: Unknown result type (might be due to invalid IL or missing references)
		//IL_07dd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0813: Unknown result type (might be due to invalid IL or missing references)
		//IL_0824: Unknown result type (might be due to invalid IL or missing references)
		//IL_0835: Unknown result type (might be due to invalid IL or missing references)
		//IL_0846: Unknown result type (might be due to invalid IL or missing references)
		//IL_0857: Unknown result type (might be due to invalid IL or missing references)
		//IL_0868: Unknown result type (might be due to invalid IL or missing references)
		//IL_0884: Unknown result type (might be due to invalid IL or missing references)
		//IL_08a1: Unknown result type (might be due to invalid IL or missing references)
		//IL_08be: Unknown result type (might be due to invalid IL or missing references)
		//IL_08cf: Unknown result type (might be due to invalid IL or missing references)
		//IL_0900: Unknown result type (might be due to invalid IL or missing references)
		//IL_0911: Unknown result type (might be due to invalid IL or missing references)
		//IL_092d: Unknown result type (might be due to invalid IL or missing references)
		//IL_093e: Unknown result type (might be due to invalid IL or missing references)
		//IL_095b: Unknown result type (might be due to invalid IL or missing references)
		//IL_096c: Unknown result type (might be due to invalid IL or missing references)
		//IL_099d: Unknown result type (might be due to invalid IL or missing references)
		//IL_09ae: Unknown result type (might be due to invalid IL or missing references)
		//IL_09bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_09d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_09ec: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a09: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a26: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a57: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a68: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a79: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a8a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0aa6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ac3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0af4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b05: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b16: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b27: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b43: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b60: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b91: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ba2: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bb3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bcf: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bec: Unknown result type (might be due to invalid IL or missing references)
		helpers.CreateGenericDialogEvent(CharacterName + "_OnDrawn", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ooh a new challenger![0.6] Hi![w:0.6]"),
			CustomLine.op_Implicit("It's been a hot minute[0.1]"),
			CustomLine.op_Implicit("since a new human came through here..[w:0.6]"),
			CustomLine.op_Implicit("Fresh meat, haha![w:0.6]"),
			CustomLine.op_Implicit("Hey! Do you really think you can beat the old man?[w:0.6]"),
			CustomLine.op_Implicit("I can help![w:0.6]"),
			CustomLine.op_Implicit("Just don't get too distracted by the[w:0.6]"),
			CustomLine.op_Implicit("Uhh, you know.[w:0.6]"),
			CustomLine.op_Implicit("[e:Laughter]My fat fucking tits[w:0.6]"),
			CustomLine.op_Implicit("[e:Laughter]And this plump, jiggly belly~[w:0.6]"),
			CustomLine.op_Implicit("[e:Laughter][leshy:You are truly a disgusting creature.][w:1]"),
			CustomLine.op_Implicit("[e:None][w:1]...[w:0.6]"),
			CustomLine.op_Implicit("[e:None]He's so not fun.[w:0.6]"),
			CustomLine.op_Implicit("[e:None]Kick him in the balls for me, 'kay?[w:0.6]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("My turn!") },
			new List<CustomLine> { CustomLine.op_Implicit("Let's get him!") },
			new List<CustomLine> { CustomLine.op_Implicit("Let's eat!") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:Laughter]Hey, wanna swap sizes?") },
			new List<CustomLine> { CustomLine.op_Implicit("Make me bigger!") },
			new List<CustomLine> { CustomLine.op_Implicit("I've got your back!") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:Laughter]Here we go!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnPlayFromHand", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ooh so this is the board these days.. Cool![w:0.6]"),
			CustomLine.op_Implicit("[e:Laughter]I'll try to not eat anyone[w:0.6]"),
			CustomLine.op_Implicit(".. on your side of the field~...[w:0.6]"),
			CustomLine.op_Implicit("[w:0.6][e:None]...[w:0.6]"),
			CustomLine.op_Implicit("Man it gets so boring in the deck...[w:0.6]"),
			CustomLine.op_Implicit("We've been stuck here for ages...[w:0.6]"),
			CustomLine.op_Implicit("I miss real food...[w:0.6]"),
			CustomLine.op_Implicit("...[w:0.6]"),
			CustomLine.op_Implicit("[e:Laughter]...Guess they'll have to do~[w:0.6]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("I was just getting hungry again!") },
			new List<CustomLine> { CustomLine.op_Implicit("Does this buffet have any tables?") },
			new List<CustomLine> { CustomLine.op_Implicit("Looks tastey!") },
			new List<CustomLine> { CustomLine.op_Implicit("Mmh.. Yum..") },
			new List<CustomLine> { CustomLine.op_Implicit("*grrumble~*") },
			new List<CustomLine>
			{
				CustomLine.op_Implicit("Is smacking your fat balls"),
				CustomLine.op_Implicit("really that fun for you humans..?")
			},
			new List<CustomLine> { CustomLine.op_Implicit("3 extra smacks!") },
			new List<CustomLine> { CustomLine.op_Implicit("4 extra smacks!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnAttacked", new List<CustomLine>
		{
			CustomLine.op_Implicit("Tsk.[w:0.6]"),
			CustomLine.op_Implicit("And Piro said all this jiggle"),
			CustomLine.op_Implicit("would never be good for anything![w:0.6]"),
			CustomLine.op_Implicit("If that's all the damage you can do"),
			CustomLine.op_Implicit("[e:Laughter]through THIS meat..."),
			CustomLine.op_Implicit("we're gonna be here all day~!")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("You're gonna be delicious.") },
			new List<CustomLine> { CustomLine.op_Implicit("Ow! That almost hurt~") },
			new List<CustomLine> { CustomLine.op_Implicit("Careful, you might get stuck..~") },
			new List<CustomLine> { CustomLine.op_Implicit("That belly's heavier than YOU are!") },
			new List<CustomLine> { CustomLine.op_Implicit("Oh noo my fat titties were smacked..~") },
			new List<CustomLine> { CustomLine.op_Implicit("Ow! Human, kill this jerk!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnBecomeSelectablePositive", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ooh me me me!"),
			CustomLine.op_Implicit("Make me even THICKER!")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Would it look good, jijggling on me?") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:Laughter]Melome'll be so jealous~..") },
			new List<CustomLine> { CustomLine.op_Implicit("Sounds delicious!") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:Laughter]Will it make my ass bigger?") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnBecomeSelectableNegative", new List<CustomLine>
		{
			CustomLine.op_Implicit("..."),
			CustomLine.op_Implicit("Maybe.. Don't?")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Umm.. Gross dude.") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None].. How mean..") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Meanie...") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnSacrificed", new List<CustomLine> { CustomLine.op_Implicit("See you at dinner!") }, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("But I didn't get dessert..") },
			new List<CustomLine> { CustomLine.op_Implicit("See you later~") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Ugh so hungry..") },
			new List<CustomLine> { CustomLine.op_Implicit("I'll be back for seconds!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnSelectedForDeckTrial", new List<CustomLine>
		{
			CustomLine.op_Implicit("[e:Laughter]Tsk. piece of cake~[w:0.6]"),
			CustomLine.op_Implicit("...[w:0.6]"),
			CustomLine.op_Implicit("[e:None]Man I miss cake..[w:0.6]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("These tits can handle ANY trial!") },
			new List<CustomLine> { CustomLine.op_Implicit("Piece of cake!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnSelectedForCardMerge", new List<CustomLine>
		{
			CustomLine.op_Implicit("This sounds...[w:0.6]"),
			CustomLine.op_Implicit(" ... Weird..[w:0.6]"),
			CustomLine.op_Implicit(" ... Kinda kinky..[w:0.6]"),
			CustomLine.op_Implicit("[e:Laughter]... Will it make my tits fatter..?[w:0.6]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("I do like 'merging' things with this bod..") },
			new List<CustomLine> { CustomLine.op_Implicit("It's like skipping digestion..?") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:Laughter]And you say I'M weird..~") }
		});
		helpers.CreateGenericDialogEvent("Boogie_" + CharacterName + "_OnSelectedForCardRemove", new List<CustomLine>
		{
			CustomLine.op_Implicit("[e:Anger]Don't look at me like that![w:0.6]"),
			CustomLine.op_Implicit("[e:None]...[w:0.6]"),
			CustomLine.op_Implicit("But...[w:0.6]"),
			CustomLine.op_Implicit("[e:None]Guess I'm not getting out"),
			CustomLine.op_Implicit("[e:None]any time soon...[w:0.6]"),
			CustomLine.op_Implicit("[e:None]Why do I keep trusting humans?...[w:0.6]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Piro was right about you..[w:0.6]") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Okay I guess....[w:0.6]") },
			new List<CustomLine>
			{
				CustomLine.op_Implicit("[e:None]I should have eaten you"),
				CustomLine.op_Implicit("[e:None]when I had the chance...[w:0.6]")
			}
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutLeshy", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ooh going the extra mile huh?"),
			CustomLine.op_Implicit("Good luck!")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine>
			{
				CustomLine.op_Implicit("Ooh going the extra mile huh?"),
				CustomLine.op_Implicit("Good luck!")
			},
			new List<CustomLine>
			{
				CustomLine.op_Implicit("Ooh going for a victory lap huh?"),
				CustomLine.op_Implicit("Good luck!")
			}
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutMidna", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ah. The shortstack queen! Damn you're this far??[w:0.5]"),
			CustomLine.op_Implicit("Tsk. Don't worry.[w:0.5]"),
			CustomLine.op_Implicit("[e:Laughter]She's all ass, no chest~.[w:1]"),
			CustomLine.op_Implicit("We'll clear this, easy!")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Can I eat her after...?") },
			new List<CustomLine> { CustomLine.op_Implicit("Don't get flattened!") },
			new List<CustomLine> { CustomLine.op_Implicit("We're almost there!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutAsh", new List<CustomLine>
		{
			CustomLine.op_Implicit("Oh hey, the poke-boy toy.[w:0.5]"),
			CustomLine.op_Implicit("He shouldn't be too hard.[w:0.5]"),
			CustomLine.op_Implicit("[e:Laughter]Not as hard as you'll be[w:0.5]"),
			CustomLine.op_Implicit("[e:Laughter]when I sit on your face later, at least![w:0.5]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Tastey twink") },
			new List<CustomLine> { CustomLine.op_Implicit("Don't lose to the first boss dude!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutEggman", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ugh, The Inventor.[w:0.5]"),
			CustomLine.op_Implicit("[e:None]I don't like this boss.[w:0.5]"),
			CustomLine.op_Implicit("[e:None]Always giving all the food[w:0.5]"),
			CustomLine.op_Implicit("[e:None]to that dumb bat..")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Ugh.. Gross old man.") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Definitely not eating that.") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutProspector", new List<CustomLine>
		{
			CustomLine.op_Implicit("What in tarnation![w:0.5]"),
			CustomLine.op_Implicit("This ain't the right mode![w:0.5]"),
			CustomLine.op_Implicit("But if it works, it works![w:0.5]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Ugh.. Gross old man.") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Definitely not eating that.") }
		});
		TalkingCardManager.New<AriaTalkingCard>();
	}
}
public class AriaTalkingCard : CustomPaperTalkingCard
{
	private static string CharacterName = "Aria";

	public const Emotion Neutral = 0;

	public const Emotion NeutralAlt = 5;

	public const Emotion VoreMouth = 3;

	public const Emotion Smug = 1;

	public const Emotion Horny = 4;

	public const Emotion Angry = 2;

	public const Emotion Sad = 6;

	private SpecialTriggeredAbility dialogueAbility = SpecialTriggeredAbilityManager.Add("boogie.inscryption.boogscryption", "AriaTalkingCardAbility", typeof(AriaTalkingCard)).Id;

	public override string CardName => "Boogie_Aria";

	public override List<EmotionData> Emotions => new List<EmotionData>
	{
		new EmotionData((Emotion)0, "Boogie_Aria_Face.png", (ValueTuple<string, string>?)("Boogie_Aria_Neutral_Eyes_Open.png", "Boogie_Aria_Neutral_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Aria_Neutral_Mouth_Closed.png", "Boogie_Aria_Neutral_Mouth_Open.png"), (ValueTuple<string, string>?)("Boogie_Aria_Eyes_Open_Emission.png", "_")),
		new EmotionData((Emotion)1, "Boogie_Aria_Face.png", (ValueTuple<string, string>?)("Boogie_Aria_Smug_Eyes_Open.png", "Boogie_Aria_Smug_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Aria_Smug_Mouth_Open.png", "Boogie_Aria_Smug_Mouth_Closed.png"), (ValueTuple<string, string>?)("Boogie_Aria_Smug_Eyes_Open_Emission.png", "_")),
		new EmotionData((Emotion)4, "Boogie_Aria_Face.png", (ValueTuple<string, string>?)("Boogie_Aria_Horny_Eyes_Open.png", "Boogie_Aria_Horny_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Aria_Horny_Mouth_Open.png", "Boogie_Aria_Horny_Mouth_Closed.png"), (ValueTuple<string, string>?)("Boogie_Aria_Horny_Eyes_Open_Emission.png", "_")),
		new EmotionData((Emotion)2, "Boogie_Aria_Face.png", (ValueTuple<string, string>?)("Boogie_Aria_Angry_Eyes_Open.png", "Boogie_Aria_Angry_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Aria_Angry_Mouth_Open.png", "Boogie_Aria_Angry_Mouth_Closed.png"), (ValueTuple<string, string>?)("Boogie_Aria_Eyes_Angry_Emission.png", "_")),
		new EmotionData((Emotion)6, "Boogie_Aria_Face.png", (ValueTuple<string, string>?)("Boogie_Aria_Sad_Eyes_Open.png", "Boogie_Aria_Sad_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Aria_Mouth_Sad_Open.png", "Boogie_Aria_Mouth_Sad_Closed.png"), (ValueTuple<string, string>?)("Boogie_Aria_Sad_Eyes_Emissive.png", "_"))
	};

	public override FaceInfo FaceInfo => new FaceInfo((float?)2f, (string)null, (float?)2.1f, (string)null);

	public override SpecialTriggeredAbility DialogueAbility => dialogueAbility;

	public override string OnDrawnDialogueId => "Boogie_" + CharacterName + "_OnDrawn";

	public override string OnPlayFromHandDialogueId => "Boogie_" + CharacterName + "_OnPlayFromHand";

	public override string OnAttackedDialogueId => "Boogie_" + CharacterName + "_OnAttacked";

	public override string OnBecomeSelectablePositiveDialogueId => "Boogie_" + CharacterName + "_OnSelectedPositive";

	public override string OnBecomeSelectableNegativeDialogueId => "Boogie_" + CharacterName + "_OnSelectedNegative";

	public override string OnSacrificedDialogueId => "Boogie_" + CharacterName + "_OnSacrificed";

	public override string OnSelectedForDeckTrialDialogueId => "Boogie_" + CharacterName + "_OnSelectedForDeckTrial";

	public override string OnSelectedForCardMergeDialogueId => "Boogie_" + CharacterName + "_OnSelectedForCardMerge";

	public override string OnSelectedForCardRemoveDialogueId => "Boogie_" + CharacterName + "_OnSelectedForCardRemove";

	public override Dictionary<Type, string> OnDrawnSpecialOpponentDialogueIds => new Dictionary<Type, string>
	{
		{
			(Type)3,
			"Boogie_" + CharacterName + "_TalkAboutProspector"
		},
		{
			(Type)7,
			"Boogie_" + CharacterName + "_TalkAboutLeshy"
		},
		{
			MidnaBoss.Type,
			"Boogie_" + CharacterName + "_TalkAboutMidna"
		},
		{
			RobotnikBoss.Type,
			"Boogie_" + CharacterName + "_TalkAboutEggman"
		},
		{
			AshBoss.Type,
			"Boogie_" + CharacterName + "_TalkAboutAsh"
		}
	};
}
public static class MelomeTalkingCardHelper
{
	private static string CharacterEmphasisColor = "";

	private static string CharacterTalkColor = "";

	public static string CharacterName = "Melome";

	public static void AddTalkingCard()
	{
		//IL_0276: Unknown result type (might be due to invalid IL or missing references)
		//IL_0287: Unknown result type (might be due to invalid IL or missing references)
		//IL_0298: Unknown result type (might be due to invalid IL or missing references)
		//IL_02a9: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ba: Unknown result type (might be due to invalid IL or missing references)
		//IL_02cb: Unknown result type (might be due to invalid IL or missing references)
		//IL_02dc: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ed: Unknown result type (might be due to invalid IL or missing references)
		//IL_02fe: Unknown result type (might be due to invalid IL or missing references)
		//IL_030f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0320: Unknown result type (might be due to invalid IL or missing references)
		//IL_0331: Unknown result type (might be due to invalid IL or missing references)
		//IL_0342: Unknown result type (might be due to invalid IL or missing references)
		//IL_0353: Unknown result type (might be due to invalid IL or missing references)
		//IL_0364: Unknown result type (might be due to invalid IL or missing references)
		//IL_0375: Unknown result type (might be due to invalid IL or missing references)
		//IL_0391: Unknown result type (might be due to invalid IL or missing references)
		//IL_03ae: Unknown result type (might be due to invalid IL or missing references)
		//IL_03cb: Unknown result type (might be due to invalid IL or missing references)
		//IL_03e8: Unknown result type (might be due to invalid IL or missing references)
		//IL_03f9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0416: Unknown result type (might be due to invalid IL or missing references)
		//IL_0027: Unknown result type (might be due to invalid IL or missing references)
		//IL_0038: Unknown result type (might be due to invalid IL or missing references)
		//IL_0049: Unknown result type (might be due to invalid IL or missing references)
		//IL_005a: Unknown result type (might be due to invalid IL or missing references)
		//IL_006b: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Unknown result type (might be due to invalid IL or missing references)
		//IL_008d: Unknown result type (might be due to invalid IL or missing references)
		//IL_009e: Unknown result type (might be due to invalid IL or missing references)
		//IL_00af: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e2: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0104: Unknown result type (might be due to invalid IL or missing references)
		//IL_0115: Unknown result type (might be due to invalid IL or missing references)
		//IL_0126: Unknown result type (might be due to invalid IL or missing references)
		//IL_0137: Unknown result type (might be due to invalid IL or missing references)
		//IL_0148: Unknown result type (might be due to invalid IL or missing references)
		//IL_0164: Unknown result type (might be due to invalid IL or missing references)
		//IL_0181: Unknown result type (might be due to invalid IL or missing references)
		//IL_019e: Unknown result type (might be due to invalid IL or missing references)
		//IL_01bb: Unknown result type (might be due to invalid IL or missing references)
		//IL_01cc: Unknown result type (might be due to invalid IL or missing references)
		//IL_01e9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0206: Unknown result type (might be due to invalid IL or missing references)
		//IL_0223: Unknown result type (might be due to invalid IL or missing references)
		//IL_0240: Unknown result type (might be due to invalid IL or missing references)
		//IL_0447: Unknown result type (might be due to invalid IL or missing references)
		//IL_0458: Unknown result type (might be due to invalid IL or missing references)
		//IL_0469: Unknown result type (might be due to invalid IL or missing references)
		//IL_0485: Unknown result type (might be due to invalid IL or missing references)
		//IL_04a2: Unknown result type (might be due to invalid IL or missing references)
		//IL_04bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_04dc: Unknown result type (might be due to invalid IL or missing references)
		//IL_04f9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0516: Unknown result type (might be due to invalid IL or missing references)
		//IL_0547: Unknown result type (might be due to invalid IL or missing references)
		//IL_0558: Unknown result type (might be due to invalid IL or missing references)
		//IL_0569: Unknown result type (might be due to invalid IL or missing references)
		//IL_057a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0596: Unknown result type (might be due to invalid IL or missing references)
		//IL_05b3: Unknown result type (might be due to invalid IL or missing references)
		//IL_05d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_05ed: Unknown result type (might be due to invalid IL or missing references)
		//IL_060a: Unknown result type (might be due to invalid IL or missing references)
		//IL_063b: Unknown result type (might be due to invalid IL or missing references)
		//IL_064c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0668: Unknown result type (might be due to invalid IL or missing references)
		//IL_0685: Unknown result type (might be due to invalid IL or missing references)
		//IL_06a2: Unknown result type (might be due to invalid IL or missing references)
		//IL_06d3: Unknown result type (might be due to invalid IL or missing references)
		//IL_06e4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0700: Unknown result type (might be due to invalid IL or missing references)
		//IL_0731: Unknown result type (might be due to invalid IL or missing references)
		//IL_074d: Unknown result type (might be due to invalid IL or missing references)
		//IL_076a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0787: Unknown result type (might be due to invalid IL or missing references)
		//IL_07a4: Unknown result type (might be due to invalid IL or missing references)
		//IL_07d5: Unknown result type (might be due to invalid IL or missing references)
		//IL_07f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_080e: Unknown result type (might be due to invalid IL or missing references)
		//IL_083f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0850: Unknown result type (might be due to invalid IL or missing references)
		//IL_0861: Unknown result type (might be due to invalid IL or missing references)
		//IL_087d: Unknown result type (might be due to invalid IL or missing references)
		//IL_089a: Unknown result type (might be due to invalid IL or missing references)
		//IL_08b7: Unknown result type (might be due to invalid IL or missing references)
		//IL_08ed: Unknown result type (might be due to invalid IL or missing references)
		//IL_08fe: Unknown result type (might be due to invalid IL or missing references)
		//IL_090f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0920: Unknown result type (might be due to invalid IL or missing references)
		//IL_0931: Unknown result type (might be due to invalid IL or missing references)
		//IL_094d: Unknown result type (might be due to invalid IL or missing references)
		//IL_096a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0987: Unknown result type (might be due to invalid IL or missing references)
		//IL_09b8: Unknown result type (might be due to invalid IL or missing references)
		//IL_09c9: Unknown result type (might be due to invalid IL or missing references)
		//IL_09e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_09f6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a13: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a24: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a55: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a66: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a77: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a93: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ab0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0acd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0afe: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b0f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b20: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b31: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b4d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b6a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b9b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bac: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bbd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bce: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bdf: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bf0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c0c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c29: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c5a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c6b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c7c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c98: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cb5: Unknown result type (might be due to invalid IL or missing references)
		if (Plugin.birthdayTease)
		{
			helpers.CreateGenericDialogEvent(CharacterName + "_OnDrawn", new List<CustomLine>
			{
				CustomLine.op_Implicit("Oh. Hey![w:1]"),
				CustomLine.op_Implicit("[e:Laughter][c:#1e0040]birthday boy[c:]~[w:1]"),
				CustomLine.op_Implicit("[e:Neutral]My little knight in shining armor~[w:1]"),
				CustomLine.op_Implicit("[e:Neutral]Come to rescue little old me?[w:1]"),
				CustomLine.op_Implicit("[e:Curious]Tell you what,[w:1] you get me out of here...[w:1]"),
				CustomLine.op_Implicit("[e:Surprise]And you can pound my ass as much as you want![w:1]"),
				CustomLine.op_Implicit("[e:Curious]...[w:1]"),
				CustomLine.op_Implicit("[e:Quiet]Or maybe I'll just eat you..~![w:1]"),
				CustomLine.op_Implicit("[e:Quiet]Churn you right up~![w:1]"),
				CustomLine.op_Implicit("[e:Quiet]Into plump fat on my ASS~![w:1]"),
				CustomLine.op_Implicit("[e:None]...[w:1]"),
				CustomLine.op_Implicit("[e:None]Can't do any of that kind of fun"),
				CustomLine.op_Implicit("[e:None]as a playing card though...[w:1]"),
				CustomLine.op_Implicit("[e:Neutral]Guess you'll just have to beat this clown first!"),
				CustomLine.op_Implicit("[e:Neutral] [leshy:Silence, wench.][w:1]"),
				CustomLine.op_Implicit("[e:None]...[w:1]"),
				CustomLine.op_Implicit("[e:Anger](Huff, jackass..)[w:1]"),
				CustomLine.op_Implicit("[e:Neutral]Good luck, little hero~[w:1]")
			}, new List<List<CustomLine>>
			{
				new List<CustomLine> { CustomLine.op_Implicit("We have GOT to stop meeting like this~") },
				new List<CustomLine> { CustomLine.op_Implicit("[e:Laughter]Let's smoke this fool") },
				new List<CustomLine> { CustomLine.op_Implicit("Finally, it's [e:Laughter]sooooo booooring in the deck pile!") },
				new List<CustomLine>
				{
					CustomLine.op_Implicit("In your hand huh?"),
					CustomLine.op_Implicit("[e:Curious]I feel like you'd rather be in mine..~")
				},
				new List<CustomLine> { CustomLine.op_Implicit("[e:Curious]Don't finger me too hard..~") },
				new List<CustomLine> { CustomLine.op_Implicit("What's up, birthday boy..~?") },
				new List<CustomLine> { CustomLine.op_Implicit("[e:Curious]Tie. Up.") },
				new List<CustomLine> { CustomLine.op_Implicit("[e:Curious]Back again, birthday boy?") }
			});
		}
		else
		{
			helpers.CreateGenericDialogEvent(CharacterName + "_OnDrawn", new List<CustomLine>
			{
				CustomLine.op_Implicit("Oh. Hey![w:1]"),
				CustomLine.op_Implicit("[e:Neutral]A human..![w:0.5]"),
				CustomLine.op_Implicit("[e:Neutral]My little knight in shining armor~[w:1]"),
				CustomLine.op_Implicit("[e:Neutral]Come to rescue little old me?[w:1]"),
				CustomLine.op_Implicit("[e:Curious]Tell you what,[w:1] you get me out of here...[w:1]"),
				CustomLine.op_Implicit("[e:Surprise]And you can pound my ass as much as you want![w:1]"),
				CustomLine.op_Implicit("[e:Curious]...[w:1]"),
				CustomLine.op_Implicit("[e:Quiet]Or maybe I'll just eat you..~![w:1]"),
				CustomLine.op_Implicit("[e:None]...[w:1]"),
				CustomLine.op_Implicit("[e:None]Can't do any of that kind of fun"),
				CustomLine.op_Implicit("[e:None]as a playing card though...[w:1]"),
				CustomLine.op_Implicit("[e:Neutral]Guess you'll just have to beat this clown first!"),
				CustomLine.op_Implicit("[e:Neutral] [leshy:Silence, wench.][w:1]"),
				CustomLine.op_Implicit("[e:None]...[w:1]"),
				CustomLine.op_Implicit("[e:Anger](Huff, jackass..)[w:1]"),
				CustomLine.op_Implicit("[e:Neutral]Good luck, little hero~[w:1]")
			}, new List<List<CustomLine>>
			{
				new List<CustomLine> { CustomLine.op_Implicit("We have GOT to stop meeting like this~") },
				new List<CustomLine> { CustomLine.op_Implicit("[e:Laughter]Let's smoke this fool") },
				new List<CustomLine> { CustomLine.op_Implicit("Finally, it's [e:Laughter]sooooo booooring in the deck pile!") },
				new List<CustomLine>
				{
					CustomLine.op_Implicit("In your hand huh?"),
					CustomLine.op_Implicit("[e:Curious]I feel like you'd rather be in mine..~")
				},
				new List<CustomLine> { CustomLine.op_Implicit("[e:Curious]Don't finger me too hard..~") }
			});
		}
		helpers.CreateGenericDialogEvent(CharacterName + "_OnPlayFromHand", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ooh you're using me..?[w:0.6]"),
			CustomLine.op_Implicit("[e:Curious]That's so... [c:#1e0040]Kinky[c:]~..[w:0.6]"),
			CustomLine.op_Implicit("[e:Laughter]Let's see how well you handle me..")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Hot choice~") },
			new List<CustomLine> { CustomLine.op_Implicit("Does the board make my ass look big?") },
			new List<CustomLine> { CustomLine.op_Implicit("Time to pound some pavement.") },
			new List<CustomLine> { CustomLine.op_Implicit("I do like a decisive man..") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:Curious]6 extra smacks~") },
			new List<CustomLine> { CustomLine.op_Implicit("3 extra smacks~") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnAttacked", new List<CustomLine>
		{
			CustomLine.op_Implicit("OWW- ooh...."),
			CustomLine.op_Implicit("... Actually"),
			CustomLine.op_Implicit("... Nnfhh.."),
			CustomLine.op_Implicit("... More~")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("[e:Anger]You're lucky Aria got the eating ability, fucker!") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:Anger]Ouch! Asshole!") },
			new List<CustomLine> { CustomLine.op_Implicit("Nffh, a little harder next time..~") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:Laughter]Ooh yes!") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:Laughter]Ooh almost there!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnBecomeSelectablePositive", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ooh pick me! Pick me!"),
			CustomLine.op_Implicit("imagine the POWER!")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Would it look good on me?") },
			new List<CustomLine> { CustomLine.op_Implicit("Not as hot as stockings, but..") },
			new List<CustomLine> { CustomLine.op_Implicit("I'll be UNSTOPPABLE!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnBecomeSelectableNegative", new List<CustomLine>
		{
			CustomLine.op_Implicit("..."),
			CustomLine.op_Implicit("[e:Anger]No fuckin way.")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("This is a repeat line!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnSacrificed", new List<CustomLine> { CustomLine.op_Implicit("[e:Surprise]Ooh harder daddy~!") }, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Tsk. How lewd...~") },
			new List<CustomLine> { CustomLine.op_Implicit("A little higher next time..~") },
			new List<CustomLine> { CustomLine.op_Implicit("Weird foreplay..~") },
			new List<CustomLine> { CustomLine.op_Implicit("Surprised you're into this!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnSelectedForDeckTrial", new List<CustomLine> { CustomLine.op_Implicit("This is a main line.") }, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("I can handle it!") },
			new List<CustomLine> { CustomLine.op_Implicit("I can take it!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnSelectedForCardMerge", new List<CustomLine>
		{
			CustomLine.op_Implicit("Sounds...[w:0.6]"),
			CustomLine.op_Implicit(" ... Kinky~..[w:0.6]"),
			CustomLine.op_Implicit("Let's fucking go~")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Sounds kinky.. ") },
			new List<CustomLine> { CustomLine.op_Implicit("Could be hot.. ") },
			new List<CustomLine> { CustomLine.op_Implicit("Merge me with someone sexy!") }
		});
		helpers.CreateGenericDialogEvent("Boogie_" + CharacterName + "_OnSelectedForCardRemove", new List<CustomLine>
		{
			CustomLine.op_Implicit("[e:Anger]Don't you dare![w:0.6]"),
			CustomLine.op_Implicit("[e:None]...[w:0.6]"),
			CustomLine.op_Implicit("[e:None]But...[w:0.6]"),
			CustomLine.op_Implicit("[e:None]You promised you'd get me out..[w:0.6]"),
			CustomLine.op_Implicit("[e:None]...[w:0.6]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Fine. I see how it is..[w:0.6]") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Well fuck you too..[w:0.6]") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Break a girl's heart why don't you..[w:0.6]") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutLeshy", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ooh going the extra mile huh?"),
			CustomLine.op_Implicit("Good luck!")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine>
			{
				CustomLine.op_Implicit("Ooh going the extra mile huh?"),
				CustomLine.op_Implicit("Good luck!")
			},
			new List<CustomLine>
			{
				CustomLine.op_Implicit("Ooh going for a victory lap huh?"),
				CustomLine.op_Implicit("Good luck!")
			}
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutMidna", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ooh the shortstack queen![w:0.5]"),
			CustomLine.op_Implicit("Try not to get suffocated[w:0.5]"),
			CustomLine.op_Implicit("you know, under her fat ass..[w:1]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("[e:none]I wish MY ass was that fat..") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:none]Why don't I glow in the dark?") },
			new List<CustomLine> { CustomLine.op_Implicit("God she's hot..") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutAsh", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ugh it's this loser.[w:0.5]"),
			CustomLine.op_Implicit("Who trades pokemon anymore anyway?[w:0.5]"),
			CustomLine.op_Implicit("[e:Laughter]Freaks, that's who![w:0.5]"),
			CustomLine.op_Implicit("[e:Laughter]Put this one in the ground for me.[w:0.5]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Ugh clean him up and let's go") },
			new List<CustomLine> { CustomLine.op_Implicit("Don't trade me to this freak, please") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutEggman", new List<CustomLine>
		{
			CustomLine.op_Implicit("Oh, the Inventor![w:0.5]"),
			CustomLine.op_Implicit("[e:Laughter]I wonder if he could do to me[w:0.5]"),
			CustomLine.op_Implicit("[e:Laughter]what he did to her..[w:0.5]"),
			CustomLine.op_Implicit("..."),
			CustomLine.op_Implicit("[e:Laughter]Don't worry about it!"),
			CustomLine.op_Implicit("[e:Laughter](You'll find out soon enough)")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Beat him for me!") },
			new List<CustomLine> { CustomLine.op_Implicit("Let's see what you've got, little hero!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutProspector", new List<CustomLine>
		{
			CustomLine.op_Implicit("What in tarnation![w:0.5]"),
			CustomLine.op_Implicit("This ain't the right mode![w:0.5]"),
			CustomLine.op_Implicit("But if it works, it works![w:0.5]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Ugh.. Gross old man.") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Definitely not eating that.") }
		});
		TalkingCardManager.New<MelomeTalkingCard>();
	}
}
public class MelomeTalkingCard : CustomPaperTalkingCard
{
	private static string CharacterName = "Melome";

	public const Emotion Neutral = 0;

	public const Emotion NeutralAlt = 5;

	public const Emotion VoreMouth = 3;

	public const Emotion Smug = 1;

	public const Emotion Horny = 4;

	public const Emotion Angry = 2;

	public const Emotion Sad = 6;

	private SpecialTriggeredAbility dialogueAbility = SpecialTriggeredAbilityManager.Add("boogie.inscryption.boogscryption", "MelomeTalkingCardAbility", typeof(MelomeTalkingCard)).Id;

	public override string CardName => "Boogie_Melome";

	public override List<EmotionData> Emotions => new List<EmotionData>
	{
		new EmotionData((Emotion)0, "Boogie_Melome_Face.png", (ValueTuple<string, string>?)("Boogie_Melome_Neutral_Eyes_Open.png", "Boogie_Melome_Neutral_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Melome_Neutral_Mouth_Closed.png", "Boogie_Melome_Neutral_Mouth_Open.png"), (ValueTuple<string, string>?)("Boogie_Melome_Neutral_Eyes_Open_Emissive.png", "_")),
		new EmotionData((Emotion)5, "Boogie_Melome_Face.png", (ValueTuple<string, string>?)("Boogie_Melome_Neutral_Eyes_Open.png", "Boogie_Melome_Neutral_1B_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Melome_Neutral_Mouth_Closed.png", "Boogie_Melome_Neutral_Mouth_Open.png"), (ValueTuple<string, string>?)("Boogie_Melome_Neutral_Eyes_Open_Emissive.png", "Boogie_Melome_Neutral_1B_Eyes_Closed_Emissive.png")),
		new EmotionData((Emotion)3, "_", (ValueTuple<string, string>?)("_", "_"), (ValueTuple<string, string>?)("Boogie_Melome_Meme_Mouth_1.png", "Boogie_Melome_Meme_Mouth_2.png"), (ValueTuple<string, string>?)("_", "_")),
		new EmotionData((Emotion)1, "Boogie_Melome_Face.png", (ValueTuple<string, string>?)("Boogie_Melome_Smug_Eyes_Open.png", "Boogie_Melome_Smug_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Melome_Smug_Mouth_Open.png", "Boogie_Melome_Smug_Mouth_Closed.png"), (ValueTuple<string, string>?)("Boogie_Melome_Smug_Eyes_Open_Emissive.png", "Boogie_Melome_Smug_Eyes_Closed_Emissive")),
		new EmotionData((Emotion)4, "Boogie_Melome_Face.png", (ValueTuple<string, string>?)("Boogie_Melome_Horny_Eyes_Open.png", "Boogie_Melome_Horny_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Melome_Horny_Mouth_Open.png", "Boogie_Melome_Horny_Mouth_Closed.png"), (ValueTuple<string, string>?)("Boogie_Melome_Horny_Eyes_Open_Emissive.png", "_")),
		new EmotionData((Emotion)2, "Boogie_Melome_Face.png", (ValueTuple<string, string>?)("Boogie_Melome_Angry_Eyes_Open.png", "Boogie_Melome_Angry_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Melome_Angry_Mouth_Open.png", "Boogie_Melome_Angry_Mouth_Closed.png"), (ValueTuple<string, string>?)("Boogie_Melome_Angry_Eyes_Open_Emissive.png", "Boogie_Melome_Angry_Eyes_Closed_Emissive.png")),
		new EmotionData((Emotion)6, "Boogie_Melome_Face.png", (ValueTuple<string, string>?)("Boogie_Melome_Sad_Eyes_Open.png", "Boogie_Melome_Sad_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Melome_Sad_Mouth_Open.png", "Boogie_Melome_Sad_Mouth_Closed.png"), (ValueTuple<string, string>?)("Boogie_Melome_Sad_Eyes_Emissive.png", "_"))
	};

	public override FaceInfo FaceInfo => new FaceInfo((float?)1.5f, (string)null, (float?)1.1f, (string)null);

	public override SpecialTriggeredAbility DialogueAbility => dialogueAbility;

	public override string OnDrawnDialogueId => "Boogie_" + CharacterName + "_OnDrawn";

	public override string OnPlayFromHandDialogueId => "Boogie_" + CharacterName + "_OnPlayFromHand";

	public override string OnAttackedDialogueId => "Boogie_" + CharacterName + "_OnAttacked";

	public override string OnBecomeSelectablePositiveDialogueId => "Boogie_" + CharacterName + "_OnSelectedPositive";

	public override string OnBecomeSelectableNegativeDialogueId => "Boogie_" + CharacterName + "_OnSelectedNegative";

	public override string OnSacrificedDialogueId => "Boogie_" + CharacterName + "_OnSacrificed";

	public override string OnSelectedForDeckTrialDialogueId => "Boogie_" + CharacterName + "_OnSelectedForDeckTrial";

	public override string OnSelectedForCardMergeDialogueId => "Boogie_" + CharacterName + "_OnSelectedForCardMerge";

	public override string OnSelectedForCardRemoveDialogueId => "Boogie_" + CharacterName + "_OnSelectedForCardRemove";

	public override Dictionary<Type, string> OnDrawnSpecialOpponentDialogueIds => new Dictionary<Type, string>
	{
		{
			(Type)3,
			"Boogie_" + CharacterName + "_TalkAboutProspector"
		},
		{
			(Type)7,
			"Boogie_" + CharacterName + "_TalkAboutLeshy"
		},
		{
			MidnaBoss.Type,
			"Boogie_" + CharacterName + "_TalkAboutMidna"
		},
		{
			RobotnikBoss.Type,
			"Boogie_" + CharacterName + "_TalkAboutEggman"
		},
		{
			AshBoss.Type,
			"Boogie_" + CharacterName + "_TalkAboutAsh"
		}
	};
}
public static class PiroTalkingCardHelper
{
	private static string CharacterEmphasisColor = "";

	private static string CharacterTalkColor = "";

	public static string CharacterName = "Piro";

	public static void AddTalkingCard()
	{
		//IL_001b: Unknown result type (might be due to invalid IL or missing references)
		//IL_002c: Unknown result type (might be due to invalid IL or missing references)
		//IL_003d: Unknown result type (might be due to invalid IL or missing references)
		//IL_004e: Unknown result type (might be due to invalid IL or missing references)
		//IL_005f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0070: Unknown result type (might be due to invalid IL or missing references)
		//IL_0081: Unknown result type (might be due to invalid IL or missing references)
		//IL_0092: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c5: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0103: Unknown result type (might be due to invalid IL or missing references)
		//IL_0120: Unknown result type (might be due to invalid IL or missing references)
		//IL_013d: Unknown result type (might be due to invalid IL or missing references)
		//IL_015a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0177: Unknown result type (might be due to invalid IL or missing references)
		//IL_0194: Unknown result type (might be due to invalid IL or missing references)
		//IL_01c5: Unknown result type (might be due to invalid IL or missing references)
		//IL_01d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_01e7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0203: Unknown result type (might be due to invalid IL or missing references)
		//IL_0220: Unknown result type (might be due to invalid IL or missing references)
		//IL_023d: Unknown result type (might be due to invalid IL or missing references)
		//IL_025a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0277: Unknown result type (might be due to invalid IL or missing references)
		//IL_0294: Unknown result type (might be due to invalid IL or missing references)
		//IL_02c5: Unknown result type (might be due to invalid IL or missing references)
		//IL_02d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_02f2: Unknown result type (might be due to invalid IL or missing references)
		//IL_030f: Unknown result type (might be due to invalid IL or missing references)
		//IL_032c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0349: Unknown result type (might be due to invalid IL or missing references)
		//IL_0366: Unknown result type (might be due to invalid IL or missing references)
		//IL_0397: Unknown result type (might be due to invalid IL or missing references)
		//IL_03b3: Unknown result type (might be due to invalid IL or missing references)
		//IL_03d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_03ed: Unknown result type (might be due to invalid IL or missing references)
		//IL_041e: Unknown result type (might be due to invalid IL or missing references)
		//IL_042f: Unknown result type (might be due to invalid IL or missing references)
		//IL_044b: Unknown result type (might be due to invalid IL or missing references)
		//IL_047c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0498: Unknown result type (might be due to invalid IL or missing references)
		//IL_04b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_04d2: Unknown result type (might be due to invalid IL or missing references)
		//IL_04ef: Unknown result type (might be due to invalid IL or missing references)
		//IL_0520: Unknown result type (might be due to invalid IL or missing references)
		//IL_053c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0559: Unknown result type (might be due to invalid IL or missing references)
		//IL_0576: Unknown result type (might be due to invalid IL or missing references)
		//IL_05a7: Unknown result type (might be due to invalid IL or missing references)
		//IL_05b8: Unknown result type (might be due to invalid IL or missing references)
		//IL_05c9: Unknown result type (might be due to invalid IL or missing references)
		//IL_05e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_0602: Unknown result type (might be due to invalid IL or missing references)
		//IL_061f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0655: Unknown result type (might be due to invalid IL or missing references)
		//IL_0666: Unknown result type (might be due to invalid IL or missing references)
		//IL_0677: Unknown result type (might be due to invalid IL or missing references)
		//IL_0688: Unknown result type (might be due to invalid IL or missing references)
		//IL_0699: Unknown result type (might be due to invalid IL or missing references)
		//IL_06b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_06d2: Unknown result type (might be due to invalid IL or missing references)
		//IL_06ef: Unknown result type (might be due to invalid IL or missing references)
		//IL_0720: Unknown result type (might be due to invalid IL or missing references)
		//IL_0731: Unknown result type (might be due to invalid IL or missing references)
		//IL_0742: Unknown result type (might be due to invalid IL or missing references)
		//IL_075e: Unknown result type (might be due to invalid IL or missing references)
		//IL_076f: Unknown result type (might be due to invalid IL or missing references)
		//IL_078c: Unknown result type (might be due to invalid IL or missing references)
		//IL_079d: Unknown result type (might be due to invalid IL or missing references)
		//IL_07ce: Unknown result type (might be due to invalid IL or missing references)
		//IL_07df: Unknown result type (might be due to invalid IL or missing references)
		//IL_07f0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0801: Unknown result type (might be due to invalid IL or missing references)
		//IL_0812: Unknown result type (might be due to invalid IL or missing references)
		//IL_0823: Unknown result type (might be due to invalid IL or missing references)
		//IL_083f: Unknown result type (might be due to invalid IL or missing references)
		//IL_085c: Unknown result type (might be due to invalid IL or missing references)
		//IL_088d: Unknown result type (might be due to invalid IL or missing references)
		//IL_089e: Unknown result type (might be due to invalid IL or missing references)
		//IL_08af: Unknown result type (might be due to invalid IL or missing references)
		//IL_08c0: Unknown result type (might be due to invalid IL or missing references)
		//IL_08d1: Unknown result type (might be due to invalid IL or missing references)
		//IL_08e2: Unknown result type (might be due to invalid IL or missing references)
		//IL_08f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0904: Unknown result type (might be due to invalid IL or missing references)
		//IL_0920: Unknown result type (might be due to invalid IL or missing references)
		//IL_093d: Unknown result type (might be due to invalid IL or missing references)
		//IL_096e: Unknown result type (might be due to invalid IL or missing references)
		//IL_097f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0990: Unknown result type (might be due to invalid IL or missing references)
		//IL_09a1: Unknown result type (might be due to invalid IL or missing references)
		//IL_09b2: Unknown result type (might be due to invalid IL or missing references)
		//IL_09c3: Unknown result type (might be due to invalid IL or missing references)
		//IL_09df: Unknown result type (might be due to invalid IL or missing references)
		//IL_09fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a2d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a3e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a4f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a6b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a88: Unknown result type (might be due to invalid IL or missing references)
		helpers.CreateGenericDialogEvent(CharacterName + "_OnDrawn", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ugh. Not another fucking human[w:1]"),
			CustomLine.op_Implicit("Do you have any idea[w:0.6]"),
			CustomLine.op_Implicit("How many humans have come through here?[w:0.6]"),
			CustomLine.op_Implicit("You aren't the first,[w:0.6] you won't be the last.[w:0.6]"),
			CustomLine.op_Implicit("My idiot sisters still think someone can"),
			CustomLine.op_Implicit("get us out of this place[w:0.6]"),
			CustomLine.op_Implicit("Tsk. As if.[w:0.6]"),
			CustomLine.op_Implicit("The old man cheats too much[w:0.6]"),
			CustomLine.op_Implicit("Look, my secret ability is[leshy:Silence, or I will tear you to shreads.][w:1]"),
			CustomLine.op_Implicit("[leshy:The challenger must find out on his own.][w:1]"),
			CustomLine.op_Implicit("[w:1]...[w:0.6]"),
			CustomLine.op_Implicit("Whatever.[w:0.6] (Asshole)[w:0.6]"),
			CustomLine.op_Implicit("Good luck loser, you're gonna need it!")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Why me?") },
			new List<CustomLine> { CustomLine.op_Implicit("Ugh.") },
			new List<CustomLine> { CustomLine.op_Implicit("Not again.") },
			new List<CustomLine> { CustomLine.op_Implicit("Fuck me I guess.") },
			new List<CustomLine> { CustomLine.op_Implicit("Still alive huh?") },
			new List<CustomLine> { CustomLine.op_Implicit("Still here? Surprising.") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnPlayFromHand", new List<CustomLine>
		{
			CustomLine.op_Implicit("Hmm. Guess it's my turn.[w:0.6]"),
			CustomLine.op_Implicit("Been a while since I was on the board..[w:0.6]"),
			CustomLine.op_Implicit("Don't fuck it up, loser.[w:0.6]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Better than sitting in the deck, I guess.") },
			new List<CustomLine> { CustomLine.op_Implicit("Whatever.") },
			new List<CustomLine> { CustomLine.op_Implicit("I'll crush them.") },
			new List<CustomLine> { CustomLine.op_Implicit("Need the help, huh?") },
			new List<CustomLine> { CustomLine.op_Implicit("Ugh. 8 more smacks. Deal with it.") },
			new List<CustomLine> { CustomLine.op_Implicit("3 more smacks.") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnAttacked", new List<CustomLine>
		{
			CustomLine.op_Implicit("UGH!"),
			CustomLine.op_Implicit("I'm gonna tear you apart!")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("UGH!") },
			new List<CustomLine> { CustomLine.op_Implicit("GRR!") },
			new List<CustomLine> { CustomLine.op_Implicit("You're gonna pay for that!") },
			new List<CustomLine> { CustomLine.op_Implicit("NOT THE FACE, ASSHOLE!") },
			new List<CustomLine> { CustomLine.op_Implicit("You're gonna regret it.") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnBecomeSelectablePositive", new List<CustomLine> { CustomLine.op_Implicit("Leave me alone.") }, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Whatever.") },
			new List<CustomLine> { CustomLine.op_Implicit("I guess.") },
			new List<CustomLine> { CustomLine.op_Implicit("As if I need help.") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnBecomeSelectableNegative", new List<CustomLine>
		{
			CustomLine.op_Implicit("..."),
			CustomLine.op_Implicit("Don't even think about it.")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Really?") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnSacrificed", new List<CustomLine> { CustomLine.op_Implicit("UGH! You ASSHOLE-") }, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("AGAIN? REALLY??") },
			new List<CustomLine> { CustomLine.op_Implicit("AGAIN?") },
			new List<CustomLine> { CustomLine.op_Implicit("You never learn, do you?") },
			new List<CustomLine> { CustomLine.op_Implicit("Your balls will regret this!") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnSelectedForDeckTrial", new List<CustomLine> { CustomLine.op_Implicit("Fine.") }, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Yeah fine.") },
			new List<CustomLine> { CustomLine.op_Implicit("Sure.") },
			new List<CustomLine> { CustomLine.op_Implicit("Let's go.") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_OnSelectedForCardMerge", new List<CustomLine>
		{
			CustomLine.op_Implicit("I am[w:0.6] absolutely[w:0.6] not[w:0.6] doing that."),
			CustomLine.op_Implicit("Don't give me that stupid look, human."),
			CustomLine.op_Implicit("That's disgusting, fuck you.")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Ughhh...") },
			new List<CustomLine> { CustomLine.op_Implicit("So nasty.") },
			new List<CustomLine> { CustomLine.op_Implicit("Disgusting.") }
		});
		helpers.CreateGenericDialogEvent("Boogie_" + CharacterName + "_OnSelectedForCardRemove", new List<CustomLine>
		{
			CustomLine.op_Implicit("I knew it.[w:0.6]"),
			CustomLine.op_Implicit("Humans are all the same.[w:0.6]"),
			CustomLine.op_Implicit("Do what you've gotta do, I guess."),
			CustomLine.op_Implicit("And to think I was gonna sit on your face[w:0.6]"),
			CustomLine.op_Implicit("when this was over.[w:0.6]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Fine. I see how it is..[w:0.6]") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Well fuck you too..[w:0.6]") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]What a surprise.[w:0.6]") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutLeshy", new List<CustomLine>
		{
			CustomLine.op_Implicit("Damn you're serious about this huh?"),
			CustomLine.op_Implicit("Maybe I was wrong about you.."),
			CustomLine.op_Implicit("Good luck!")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine>
			{
				CustomLine.op_Implicit("Ooh going the extra mile huh?"),
				CustomLine.op_Implicit("Good luck!")
			},
			new List<CustomLine>
			{
				CustomLine.op_Implicit("Ooh going for a victory lap huh?"),
				CustomLine.op_Implicit("Good luck!")
			}
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutMidna", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ugh this bitch.[w:0.5]"),
			CustomLine.op_Implicit("She thinks she's so hot[w:1]"),
			CustomLine.op_Implicit("..."),
			CustomLine.op_Implicit("Yeah I know she is, but still[w:0.6]"),
			CustomLine.op_Implicit("Fuck her, and you know what? Fuck you too.[w:0.6]"),
			CustomLine.op_Implicit("I'm gonna fuck both of you when I'm out of here!")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("We'll crush her.") },
			new List<CustomLine> { CustomLine.op_Implicit("Almost there.") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutAsh", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ugh it's this fucking loser.[w:0.5]"),
			CustomLine.op_Implicit("Don't trade with him.[w:0.5]"),
			CustomLine.op_Implicit("He'll always shaft you.[w:0.5]"),
			CustomLine.op_Implicit("I wish I wasn't made of paper.[w:0.5]"),
			CustomLine.op_Implicit("I'd strangle this twink to death.[w:0.5]"),
			CustomLine.op_Implicit("Just for being annoying.[w:0.5]"),
			CustomLine.op_Implicit("... Probably with my thighs.[w:0.5]"),
			CustomLine.op_Implicit("Yeah.  Definitely with these thighs.[w:0.5]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Ugh clean him up and let's go") },
			new List<CustomLine> { CustomLine.op_Implicit("Don't trade me to this freak, please") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutEggman", new List<CustomLine>
		{
			CustomLine.op_Implicit("Ugh, the Inventor.[w:0.5]"),
			CustomLine.op_Implicit("Be careful with who you have out.[w:0.5]"),
			CustomLine.op_Implicit("His gimmick changes depending on[w:0.5]"),
			CustomLine.op_Implicit(" who's on the field.[w:0.5]"),
			CustomLine.op_Implicit("[e:Laughter]Don't worry about it!"),
			CustomLine.op_Implicit("[e:Laughter](You'll find out soon enough)")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("Ugh. Baldy.") },
			new List<CustomLine> { CustomLine.op_Implicit("I'll rip that mustache right off his face.") }
		});
		helpers.CreateGenericDialogEvent(CharacterName + "_TalkAboutProspector", new List<CustomLine>
		{
			CustomLine.op_Implicit("What in tarnation![w:0.5]"),
			CustomLine.op_Implicit("This ain't the right mode![w:0.5]"),
			CustomLine.op_Implicit("But if it works, it works![w:0.5]")
		}, new List<List<CustomLine>>
		{
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Ugh.. Gross old man.") },
			new List<CustomLine> { CustomLine.op_Implicit("[e:None]Definitely not eating that.") }
		});
		TalkingCardManager.New<PiroTalkingCard>();
	}
}
public class PiroTalkingCard : CustomPaperTalkingCard
{
	private static string CharacterName = "Piro";

	private SpecialTriggeredAbility dialogueAbility = SpecialTriggeredAbilityManager.Add("boogie.inscryption.boogscryption", "PiroTalkingCardAbility", typeof(PiroTalkingCard)).Id;

	public override string CardName => "Boogie_Piro";

	public override List<EmotionData> Emotions => new List<EmotionData>
	{
		new EmotionData((Emotion)0, "Boogie_Piro_Face.png", (ValueTuple<string, string>?)("Boogie_Piro_Neutral_Eyes_Open.png", "Boogie_Piro_Neutral_Eyes_Closed.png"), (ValueTuple<string, string>?)("Boogie_Piro_Neutral_Mouth_Open.png", "Boogie_Piro_Neutral_Mouth_Closed.png"), (ValueTuple<string, string>?)("Boogie_Piro_Neutral_Eyes_Open_Emissive.png", "_"))
	};

	public override FaceInfo FaceInfo => new FaceInfo((float?)1.7f, (string)null, (float?)1.1f, (string)null);

	public override SpecialTriggeredAbility DialogueAbility => dialogueAbility;

	public override string OnDrawnDialogueId => "Boogie_" + CharacterName + "_OnDrawn";

	public override string OnPlayFromHandDialogueId => "Boogie_" + CharacterName + "_OnPlayFromHand";

	public override string OnAttackedDialogueId => "Boogie_" + CharacterName + "_OnAttacked";

	public override string OnBecomeSelectablePositiveDialogueId => "Boogie_" + CharacterName + "_OnSelectedPositive";

	public override string OnBecomeSelectableNegativeDialogueId => "Boogie_" + CharacterName + "_OnSelectedNegative";

	public override string OnSacrificedDialogueId => "Boogie_" + CharacterName + "_OnSacrificed";

	public override string OnSelectedForDeckTrialDialogueId => "Boogie_" + CharacterName + "_OnSelectedForDeckTrial";

	public override string OnSelectedForCardMergeDialogueId => "Boogie_" + CharacterName + "_OnSelectedForCardMerge";

	public override string OnSelectedForCardRemoveDialogueId => "Boogie_" + CharacterName + "_OnSelectedForCardRemove";

	public override Dictionary<Type, string> OnDrawnSpecialOpponentDialogueIds => new Dictionary<Type, string>
	{
		{
			(Type)3,
			"Boogie_" + CharacterName + "_TalkAboutProspector"
		},
		{
			(Type)7,
			"Boogie_" + CharacterName + "_TalkAboutLeshy"
		},
		{
			MidnaBoss.Type,
			"Boogie_" + CharacterName + "_TalkAboutMidna"
		},
		{
			RobotnikBoss.Type,
			"Boogie_" + CharacterName + "_TalkAboutEggman"
		},
		{
			AshBoss.Type,
			"Boogie_" + CharacterName + "_TalkAboutAsh"
		}
	};
}
namespace BoogScryption
{
	[BepInPlugin("boogie.inscryption.boogscryption", "BoogScryption", "1.0.5")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		public static bool birthdayTease = false;

		public static bool devMode = false;

		private Harmony harmony = new Harmony("boogie.inscryption.boogscryption");

		public const string PluginGuid = "boogie.inscryption.boogscryption";

		public const string PluginName = "BoogScryption";

		public const string PluginVersion = "1.0.5";

		public const string PluginPrefix = "Boogie";

		public const string AssetBundleName = "boogscryptionbundle";

		public static string AssetBundleLocation = "boogscryptionbundle";

		public static List<Sprite> art_sprites;

		public static FullNode meloNode;

		public static int randomSeed;

		public static List<AudioClip> addedSfx = new List<AudioClip>
		{
			SoundManager.LoadAudioClip("boogie.inscryption.boogscryption", "Mobius_EggmanAppears.mp3"),
			SoundManager.LoadAudioClip("boogie.inscryption.boogscryption", "Mobius_EggmanBattle.mp3"),
			SoundManager.LoadAudioClip("boogie.inscryption.boogscryption", "Mobius_Rouge.mp3"),
			SoundManager.LoadAudioClip("boogie.inscryption.boogscryption", "Poke_TrainerAppears.mp3"),
			SoundManager.LoadAudioClip("boogie.inscryption.boogscryption", "Poke_VsTrainer.mp3"),
			SoundManager.LoadAudioClip("boogie.inscryption.boogscryption", "Twili_Revenge.mp3"),
			SoundManager.LoadAudioClip("boogie.inscryption.boogscryption", "Twili_Intro.mp3"),
			SoundManager.LoadAudioClip("boogie.inscryption.boogscryption", "Twili_ForgeOfEvil.mp3"),
			SoundManager.LoadAudioClip("boogie.inscryption.boogscryption", "Sound_GodzillaStomp.mp3"),
			SoundManager.LoadAudioClip("boogie.inscryption.boogscryption", "Sound_Stomping.mp3")
		};

		public static Emotion HornyEmotion;

		public static int AriaDevourStacks
		{
			get
			{
				return ModdedSaveManager.SaveData.GetValueAsInt("boogie.inscryption.boogscryption", "AriaDevourStacks");
			}
			set
			{
				ModdedSaveManager.SaveData.SetValue("boogie.inscryption.boogscryption", "AriaDevourStacks", (object)value);
			}
		}

		public static bool AriaDevourShownDieMessage
		{
			get
			{
				return ModdedSaveManager.SaveData.GetValueAsBoolean("boogie.inscryption.boogscryption", "PiroMoxieShownDieMessage");
			}
			set
			{
				ModdedSaveManager.SaveData.SetValue("boogie.inscryption.boogscryption", "PiroMoxieShownDieMessage", (object)value);
			}
		}

		public static int PiroMoxieStacks
		{
			get
			{
				return ModdedSaveManager.SaveData.GetValueAsInt("boogie.inscryption.boogscryption", "PiroMoxieStacks");
			}
			set
			{
				ModdedSaveManager.SaveData.SetValue("boogie.inscryption.boogscryption", "PiroMoxieStacks", (object)value);
			}
		}

		public static bool PiroMoxieShownDieMessage
		{
			get
			{
				return ModdedSaveManager.SaveData.GetValueAsBoolean("boogie.inscryption.boogscryption", "PiroMoxieShownDieMessage");
			}
			set
			{
				ModdedSaveManager.SaveData.SetValue("boogie.inscryption.boogscryption", "PiroMoxieShownDieMessage", (object)value);
			}
		}

		public static int MelomeFireStacks
		{
			get
			{
				return ModdedSaveManager.SaveData.GetValueAsInt("boogie.inscryption.boogscryption", "MelomeFireStacks");
			}
			set
			{
				ModdedSaveManager.SaveData.SetValue("boogie.inscryption.boogscryption", "MelomeFireStacks", (object)value);
			}
		}

		public static bool BallsmackDialogShown
		{
			get
			{
				return ModdedSaveManager.SaveData.GetValueAsBoolean("boogie.inscryption.boogscryption", "BallsmackDialogShown");
			}
			set
			{
				ModdedSaveManager.SaveData.SetValue("boogie.inscryption.boogscryption", "BallsmackDialogShown", (object)value);
			}
		}

		public static bool ToxicDialogShown
		{
			get
			{
				return ModdedSaveManager.SaveData.GetValueAsBoolean("boogie.inscryption.boogscryption", "BallsmackDialogShown");
			}
			set
			{
				ModdedSaveManager.SaveData.SetValue("boogie.inscryption.boogscryption", "BallsmackDialogShown", (object)value);
			}
		}

		private void Awake()
		{
			//IL_0478: Unknown result type (might be due to invalid IL or missing references)
			//IL_047e: Expected I4, but got Unknown
			//IL_048b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0491: Expected I4, but got Unknown
			//IL_04ad: Unknown result type (might be due to invalid IL or missing references)
			//IL_04b3: Expected I4, but got Unknown
			//IL_04e9: Unknown result type (might be due to invalid IL or missing references)
			//IL_04ef: Expected I4, but got Unknown
			//IL_04fc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0502: Expected I4, but got Unknown
			//IL_051e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0524: Expected I4, but got Unknown
			//IL_055a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0560: Expected I4, but got Unknown
			//IL_056d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0573: Expected I4, but got Unknown
			//IL_058f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0595: Expected I4, but got Unknown
			//IL_05c1: Unknown result type (might be due to invalid IL or missing references)
			//IL_05c7: Expected I4, but got Unknown
			//IL_05c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_05cf: Expected I4, but got Unknown
			//IL_05d1: Unknown result type (might be due to invalid IL or missing references)
			//IL_05d7: Expected I4, but got Unknown
			//IL_05d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_05df: Expected I4, but got Unknown
			//IL_05e1: Unknown result type (might be due to invalid IL or missing references)
			//IL_05e7: Expected I4, but got Unknown
			//IL_0604: Unknown result type (might be due to invalid IL or missing references)
			//IL_060a: Expected I4, but got Unknown
			//IL_060c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0612: Expected I4, but got Unknown
			//IL_0614: Unknown result type (might be due to invalid IL or missing references)
			//IL_061a: Expected I4, but got Unknown
			//IL_061c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0622: Expected I4, but got Unknown
			//IL_0624: Unknown result type (might be due to invalid IL or missing references)
			//IL_062a: Expected I4, but got Unknown
			//IL_08f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0903: Unknown result type (might be due to invalid IL or missing references)
			//IL_0914: Unknown result type (might be due to invalid IL or missing references)
			//IL_0930: Unknown result type (might be due to invalid IL or missing references)
			//IL_094d: Unknown result type (might be due to invalid IL or missing references)
			//IL_096a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0847: Unknown result type (might be due to invalid IL or missing references)
			//IL_0858: Unknown result type (might be due to invalid IL or missing references)
			//IL_0869: Unknown result type (might be due to invalid IL or missing references)
			//IL_0885: Unknown result type (might be due to invalid IL or missing references)
			//IL_08a2: Unknown result type (might be due to invalid IL or missing references)
			//IL_08bf: Unknown result type (might be due to invalid IL or missing references)
			string[] files = Directory.GetFiles(Paths.PluginPath, "boogscryptionbundle", SearchOption.AllDirectories);
			AssetBundleLocation = files[0];
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Loading BoogScryption...");
			Boogie_Tribe_Pokemon.AddTribe();
			Boogie_Tribe_DSL.AddTribe();
			Boogie_Tribe_Shortstack.AddTribe();
			Boogie_Tribe_Tiddy.AddTribe();
			Boogie_Tribe_Mobian.AddTribe();
			List<SpecialCardBehaviour> list = new List<SpecialCardBehaviour>
			{
				(SpecialCardBehaviour)(object)new Boog_Moxie(),
				(SpecialCardBehaviour)(object)new Boog_Devour(),
				(SpecialCardBehaviour)(object)new Boogie_PowerTrip(),
				(SpecialCardBehaviour)(object)new Boog_DevPlayFromHand(),
				(SpecialCardBehaviour)(object)new Boog_Clapback(),
				(SpecialCardBehaviour)(object)new Boog_RapidGrowth(),
				(SpecialCardBehaviour)(object)new Boog_Giantess(),
				(SpecialCardBehaviour)(object)new Boogie_SubmergeAss()
			};
			List<CardAppearanceBehaviour> list2 = new List<CardAppearanceBehaviour>
			{
				(CardAppearanceBehaviour)(object)new Boogie_FullCardAppearance(),
				(CardAppearanceBehaviour)(object)new Boogie_ForcedEmission()
			};
			harmony.PatchAll(typeof(Plugin));
			harmony.PatchAll(typeof(StatBoostPatch));
			harmony.PatchAll(typeof(TitleScreenPatch));
			harmony.PatchAll(typeof(SubmergeRutoAssPatch));
			harmony.PatchAll(typeof(NewRunPatch));
			harmony.PatchAll(typeof(MultiStrikePatch));
			harmony.PatchAll(typeof(GainConsumablesSequencerPatch));
			harmony.PatchAll(typeof(BallsmackTutorialPatch));
			harmony.PatchAll(typeof(AudioPatch));
			harmony.PatchAll(typeof(EvolveKirlia));
			harmony.PatchAll(typeof(CheesePatch));
			harmony.PatchAll(typeof(CardChoicePatch));
			Ballsmacks.AddCustomCost();
			Boogie_ShakeShake.AddAbility();
			Boogie_Terrified.AddAbility();
			Boogie_Terrify.AddAbility();
			Boogie_Tiny.AddAbility();
			Boogie_Predator.AddAbility();
			Boogie_ShrinkRay.AddAbility();
			Boogie_Enraged.AddAbility();
			Boogie_Enrage.AddAbility();
			Boogie_ShortTemper.AddAbility();
			Boogie_Crush.AddAbility();
			Boogie_Consume.AddAbility();
			Boogie_TagTeam.AddAbility();
			Boogie_PowerDrain.AddAbility();
			Boogie_Halfstrike.AddAbility();
			Boogie_SingleStrike.AddAbility();
			Boogie_DrawTronBlockGuys.AddAbility();
			Boogie_Poisoned.AddAbility();
			Boogie_Poisonous.AddAbility();
			Boogie_TiniesOnHit.AddAbility();
			Boogie_Cheese.AddAbility();
			helpers.RefreshAbilityList();
			Aria.AddCard();
			Piro.AddCard();
			Melome.AddCard();
			Ami.AddCard();
			AmyRose.AddCard();
			Android18.AddCard();
			Android21.AddCard();
			Badnik.AddCard();
			Blaze.AddCard();
			Celesteela.AddCard();
			Chaine.AddCard();
			Cheelai.AddCard();
			Courtney.AddCard();
			Crisis.AddCard();
			Dumbun.AddCard();
			Etna.AddCard();
			Gardevoir_DrVoir.AddCard();
			Gardevoir_Futavoir.AddCard();
			Gardevoir_Normal.AddCard();
			Gardevoir_Vanilla.AddCard();
			Glaceon.AddCard();
			Jewel.AddCard();
			Jora.AddCard();
			Juri_Han.AddCard();
			Kirlia.AddCard();
			Lana.AddCard();
			Lanolin.AddCard();
			Magikarp.AddCard();
			MarinaLiteyears.AddCard();
			Minun.AddCard();
			Misty.AddCard();
			Phantasma.AddCard();
			Pheramosa.AddCard();
			Pika_Libre.AddCard();
			RatGoddess.AddCard();
			Plusle.AddCard();
			Rottytops.AddCard();
			Risky_Boots.AddCard();
			Rouge.AddCard();
			RutoAdult.AddCard();
			RutoYoung.AddCard();
			Sticks.AddCard();
			Shantae.AddCard();
			SQ.AddCard();
			Surge.AddCard();
			Tangle.AddCard();
			Tibbs.AddCard();
			Tron_Bonne.AddCard();
			Tron_Bonne_Block_Guy.AddCard();
			Vanilla.AddCard();
			Vivian.AddCard();
			Whisper.AddCard();
			Zeena.AddCard();
			Zombie_Mobian.AddCard();
			Flat_Squidward.AddCard();
			GiantessAria.AddCard();
			GiantessPiro.AddCard();
			GiantessRouge.AddCard();
			OminousShadow.AddCard();
			OminousShadow_Rouge.AddCard();
			Imp_Simp.AddCard();
			Rayne.AddCard();
			MystAndPrea.AddCard();
			Sophie.AddCard();
			Kindred.AddCard();
			Tiny.AddCard();
			Jar_Of_Tinies.AddCard();
			Shuten_Douji.AddCard();
			Puu.AddCard();
			Shadow_Prince.AddCard();
			Enamorus.AddCard();
			Beebe.AddCard();
			Cteno.AddCard();
			Zone_Tan.AddCard();
			Percy.AddCard();
			Gooze.AddCard();
			Grace.AddCard();
			Starfire.AddCard();
			Raven.AddCard();
			Nightcap.AddCard();
			Tristana.AddCard();
			Lah.AddCard();
			Pheobe.AddCard();
			Sir.AddCard();
			Jenny_Wakeman.AddCard();
			CardExtensions.SetEmissivePortrait(CardExtensions.AddAbilities(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAppearances(CardExtensions.SetDisplayedName(CardExtensions.CardByName((IEnumerable<CardInfo>)CardManager.BaseGameCards, "Smoke"), "Crysta"), (Appearance[])(object)new Appearance[1] { (Appearance)(int)Boogie_FullCardAppearance.FullCard }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)Boogie_ForcedEmission.appearance }), helpers.GetFullCardSprite("Crysta.png")), (Ability[])(object)new Ability[1] { (Ability)(int)Boogie_Poisonous.ability }), helpers.GetFullCardSprite("Crysta_Emissive.png"));
			CardExtensions.SetEmissivePortrait(CardExtensions.AddAbilities(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAppearances(CardExtensions.SetDisplayedName(CardExtensions.CardByName((IEnumerable<CardInfo>)CardManager.BaseGameCards, "Smoke_Improved"), "Greater Crysta"), (Appearance[])(object)new Appearance[1] { (Appearance)(int)Boogie_FullCardAppearance.FullCard }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)Boogie_ForcedEmission.appearance }), helpers.GetFullCardSprite("Crysta.png")), (Ability[])(object)new Ability[1] { (Ability)(int)Boogie_Poisonous.ability }), helpers.GetFullCardSprite("Crysta_Emissive.png"));
			CardExtensions.SetEmissivePortrait(CardExtensions.AddAbilities(CardExtensions.SetPortrait(CardExtensions.AddAppearances(CardExtensions.AddAppearances(CardExtensions.SetDisplayedName(CardExtensions.CardByName((IEnumerable<CardInfo>)CardManager.BaseGameCards, "Smoke_NoBones"), "Crysta"), (Appearance[])(object)new Appearance[1] { (Appearance)(int)Boogie_FullCardAppearance.FullCard }), (Appearance[])(object)new Appearance[1] { (Appearance)(int)Boogie_ForcedEmission.appearance }), helpers.GetFullCardSprite("Crysta.png")), (Ability[])(object)new Ability[1] { (Ability)(int)Boogie_Poisonous.ability }), helpers.GetFullCardSprite("Crysta_Emissive.png"));
			CardExtensions.AddTribes(CardExtensions.CardByName((IEnumerable<CardInfo>)CardManager.BaseGameCards, "Amalgam"), (Tribe[])(object)new Tribe[5]
			{
				(Tribe)(int)Boogie_Tribe_Pokemon.tribe,
				(Tribe)(int)Boogie_Tribe_DSL.tribe,
				(Tribe)(int)Boogie_Tribe_Shortstack.tribe,
				(Tribe)(int)Boogie_Tribe_Tiddy.tribe,
				(Tribe)(int)Boogie_Tribe_Mobian.tribe
			});
			CardExtensions.AddTribes(CardExtensions.CardByName((IEnumerable<CardInfo>)CardManager.BaseGameCards, "Hydra"), (Tribe[])(object)new Tribe[5]
			{
				(Tribe)(int)Boogie_Tribe_Pokemon.tribe,
				(Tribe)(int)Boogie_Tribe_DSL.tribe,
				(Tribe)(int)Boogie_Tribe_Shortstack.tribe,
				(Tribe)(int)Boogie_Tribe_Tiddy.tribe,
				(Tribe)(int)Boogie_Tribe_Mobian.tribe
			});
			MelomeTalkingCardHelper.AddTalkingCard();
			AriaTalkingCardHelper.AddTalkingCard();
			PiroTalkingCardHelper.AddTalkingCard();
			GiantessMelome.AddCard();
			GiantessRouge.AddCard();
			AddBlank();
			MidnaBoss.AddBossMask();
			MidnaBoss.AddBossNode();
			MidnaBoss.AddBossBlueprints();
			AshBoss.AddBossMask();
			AshBoss.AddBossNode();
			AshBoss.AddBossBlueprints();
			RobotnikBoss.AddBossMask();
			RobotnikBoss.AddBossNode();
			RobotnikBoss.AddBossBlueprints();
			StarterDeckInfo val = ScriptableObject.CreateInstance<StarterDeckInfo>();
			val.title = "hrmmmm";
			val.iconSprite = TextureHelper.GetImageAsSprite("starterdeck_icon_example.png", (SpriteType)9, (FilterMode)0);
			val.cards = new List<CardInfo> { CardLoader.GetCardByName("Boogie_Misty") };
			StarterDeckManager.New("boogie.inscryption.boogscryption", "Pelts", "starterdeck_icon_example.png", new string[3] { "PeltWolf", "PeltHare", "PeltHare" }, 0);
			AddMeloNode();
			StarterDeckManager.Add("boogie.inscryption.boogscryption", val, 0);
			StarterDeckManager.SyncDeckL