예제 #1
0
 public override void OnAdd()
 {
     this.iTotalRounds = (this.iRoundsLeft = 5);
     float fStandardSpeed = 1f;
     this.xNumberOnes = this.LoadFlapNumbers();
     this.xNumberOnes.xTransform.v2Pos = new Vector2(407f, 60f);
     Program.game.xRenderMaster.RegisterBelowSorted(this.xNumberOnes);
     this.xNumberOnes.SwitchAnimation(5);
     this.lxConveyorMos.Add(new ToyFactoryPuzzleRoomBagman.ConveyorMos(new Rectangle(170, 143, 312, 17), new Vector2(-1f, 0f) * fStandardSpeed));
     this.lxConveyorMos.Add(new ToyFactoryPuzzleRoomBagman.ConveyorMos(new Rectangle(160, 143, 19, 119), new Vector2(0f, 1f) * fStandardSpeed));
     this.lxConveyorMos.Add(new ToyFactoryPuzzleRoomBagman.ConveyorMos(new Rectangle(160, 254, 311, 17), new Vector2(1f, 0f) * fStandardSpeed));
     this.lxConveyorMos.Add(new ToyFactoryPuzzleRoomBagman.ConveyorMos(new Rectangle(461, 151, 21, 120), new Vector2(0f, -1f) * fStandardSpeed));
     this.lxConveyorMos.Add(new ToyFactoryPuzzleRoomBagman.ConveyorMos(new Rectangle(202, 181, 216, 18), new Vector2(1f, 0f) * fStandardSpeed));
     this.lxConveyorMos.Add(new ToyFactoryPuzzleRoomBagman.ConveyorMos(new Rectangle(202, 190, 22, 41), new Vector2(0f, -1f) * fStandardSpeed));
     this.lxConveyorMos.Add(new ToyFactoryPuzzleRoomBagman.ConveyorMos(new Rectangle(213, 214, 217, 18), new Vector2(-1f, 0f) * fStandardSpeed));
     this.lxConveyorMos.Add(new ToyFactoryPuzzleRoomBagman.ConveyorMos(new Rectangle(407, 181, 23, 43), new Vector2(0f, 1f) * fStandardSpeed));
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(227f, 135f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(153f, 200f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(222f, 279f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(418f, 279f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(491f, 217f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(403f, 138f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(321f, 171f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(392f, 206f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(319f, 246f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(240f, 206f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(190f, 241f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(188f, 167f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(450f, 167f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(453f, 244f)) as JackInBox);
     this.lxJackInBoxes.Add(Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.JackInBox, new Vector2(321f, 205f)) as JackInBox);
 }
예제 #2
0
 public DynamicEnvironment()
 {
     this.xRenderComponent = new AnimatedRenderComponent(this);
     this.xTransform = new TransformComponent(Vector2.Zero);
     this.xRenderComponent.xTransform = this.xTransform;
     this.enEntityType = IEntity.EntityType.DynamicEnvironment;
     this.xBaseStats = new BaseStats(this);
 }
예제 #3
0
		public PeriodicalAnimationSwitch(AnimatedRenderComponent rcComponent, ushort iAnimationToPlay, int iInterval, params ushort[] aiOnlySwitchFrom)
		{
			this.iAnimationToPlay = iAnimationToPlay;
			this.iInterval = iInterval;
			this.rc = rcComponent;
			this.xTransform = rcComponent.xTransform;
			if (aiOnlySwitchFrom.Length > 0)
			{
				this.liOnlySwitchFrom.ToList<ushort>();
			}
		}
예제 #4
0
 public override void OnAdd()
 {
     this.xNumberTen = this.LoadFlapNumbers();
     this.xNumberTen.xTransform.v2Pos = new Vector2(386f, 100f);
     this.xNumberOnes = this.LoadFlapNumbers();
     this.xNumberOnes.xTransform.v2Pos = new Vector2(407f, 100f);
     this.xDoor = this.LoadDoor();
     this.xDoor.xTransform.v2Pos = new Vector2(294f, 95f);
     Program.game.xRenderMaster.RegisterBelowSorted(this.xNumberOnes);
     Program.game.xRenderMaster.RegisterBelowSorted(this.xNumberTen);
     Program.game.xRenderMaster.RegisterBelowSorted(this.xDoor);
     SortedAnimated xConveye = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(158f, 206f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBelt));
     xConveye.xRenderComponent.AsAnimated().fAnimationTimeWarp = 0f;
     this.lxConveyorBelts.Add(xConveye);
     xConveye = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(158f, 342f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBelt));
     xConveye.xRenderComponent.AsAnimated().fAnimationTimeWarp = 0f;
     this.lxConveyorBelts.Add(xConveye);
     xConveye = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(482f, 206f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBelt));
     xConveye.xRenderComponent.AsAnimated().SwitchAnimation(1);
     xConveye.xRenderComponent.AsAnimated().fAnimationTimeWarp = 0f;
     this.lxConveyorBelts.Add(xConveye);
     xConveye = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(482f, 342f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBelt));
     xConveye.xRenderComponent.AsAnimated().SwitchAnimation(1);
     xConveye.xRenderComponent.AsAnimated().fAnimationTimeWarp = 0f;
     this.lxConveyorBelts.Add(xConveye);
     for (int i = 0; i < 4; i++)
     {
         this.lxCandyBarsBot.Add((SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2((float)(302 + 11 * i), 421f), SortedAnimated.SortedAnimatedEffects._Blocks_Polka)));
         this.lxCandyBarsBot[i].xRenderComponent.AsAnimated().SwitchAnimation(3);
     }
     SortedAnimated xMachine = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(158f, 215f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBeltMachine));
     this.lxMachines.Add(xMachine);
     xMachine = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(158f, 351f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBeltMachine));
     this.lxMachines.Add(xMachine);
     xMachine = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(482f, 215f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBeltMachine));
     xMachine.xRenderComponent.AsAnimated().SwitchAnimation(10);
     this.lxMachines.Add(xMachine);
     xMachine = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(482f, 351f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBeltMachine));
     xMachine.xRenderComponent.AsAnimated().SwitchAnimation(10);
     this.lxMachines.Add(xMachine);
     Program.game.xRenderMaster.RegisterAboveSorted(new RectangleRenderComponent(new Rectangle(95, 148, 64, 79), new Color(33, 35, 30)));
     Program.game.xRenderMaster.RegisterAboveSorted(new RectangleRenderComponent(new Rectangle(95, 294, 64, 79), new Color(33, 35, 30)));
     Program.game.xRenderMaster.RegisterAboveSorted(new RectangleRenderComponent(new Rectangle(481, 163, 64, 79), new Color(33, 35, 30)));
     Program.game.xRenderMaster.RegisterAboveSorted(new RectangleRenderComponent(new Rectangle(481, 296, 64, 79), new Color(33, 35, 30)));
 }
예제 #5
0
 public CardWatcher(PlayerEntity xTarget, Vector2 v2Lol, EnemyCodex.EnemyTypes enType)
 {
     this.xTransform = new TransformComponent(v2Lol);
     this.xTargetEntity = xTarget;
     Vector2 v2Dir = v2Lol - this.xTargetEntity.xTransform.v2Pos;
     this.enEnemyType = enType;
     v2Dir.Normalize();
     this.v2CurDir = v2Dir;
     this.fRotAdd = 0.01f + (float)Program.GetTheGame().randomInLogic.NextDouble() * 0.025f;
     this.fVelocity = (float)Program.GetTheGame().randomInLogic.NextDouble() * 1f + 3f;
     if (Program.GetTheGame().randomInLogic.Next(2) == 0)
     {
         this.iRotDir = 1;
     }
     else
     {
         this.iRotDir = -1;
     }
     ContentManager Content = Program.GetTheGame().Content;
     this.xRenderComponent = new AnimatedRenderComponent(this);
     this.xRenderComponent.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Card"), new Vector2(7f, 7f), 1, 12, 15, 15, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
     {
         new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
         {
             20f
         }), new AnimInsEvent(AnimInsEvent.EventType.ChangeTimeWarp, new float[]
         {
             0.975f
         })),
         new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
         {
             54f
         }), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             1f
         }))
     });
     this.xRenderComponent.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Items/Card/Card"), new Vector2(7f, 7f), 8, 1, 15, 15, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
     this.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
     this.xRenderComponent.xTransform = this.xTransform;
     this.xRenderComponent.fVirtualHeight = this.xTargetEntity.xRenderComponent.fVirtualHeight;
     this.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -15f);
     Program.GetTheGame().xRenderMaster.RegisterAboveSorted(this.xRenderComponent);
     Program.GetTheGame()._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects.Card_Appear));
 }
예제 #6
0
 public SortedAnimated(Vector2 v2Position, SortedAnimated.SortedAnimatedEffects enEffect)
 {
     AnimatedRenderComponent xARC = new AnimatedRenderComponent(null);
     this.xTransform = new TransformComponent(v2Position);
     xARC.xTransform = this.xTransform;
     xARC.fScale = 1f;
     this.xRenderComponent = xARC;
     this.enEffectType = enEffect;
     RenderMaster.SubRenderLayer enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
     int iShadowLayerLayer = 20;
     ContentManager Content = Program.GetTheGame().xLevelMaster.contRegionContent;
     ContentManager GlobalContent = Program.GetTheGame().Content;
     string ENVIRON_PATH = "Sprites/Environment/";
     string NPC_PATH = "Sprites/NPC/";
     string MONSTER_PATH = "Sprites/Monster/";
     int iFastForward = 0;
     if (enEffect < SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShine)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects.PoofEffectA)
         {
             ushort arg_F8_0 = 0;
             byte arg_F8_1 = 0;
             Texture2D arg_F8_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/PoofEffectA");
             Vector2 arg_F8_3 = new Vector2(19f, 13f);
             int arg_F8_4 = 5;
             int arg_F8_5 = 6;
             int arg_F8_6 = 35;
             int arg_F8_7 = 24;
             int arg_F8_8 = 0;
             int arg_F8_9 = 0;
             int arg_F8_10 = 6;
             Animation.LoopSettings arg_F8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_F8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_F8_13 = false;
             bool arg_F8_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_F3_0 = array;
             int arg_F3_1 = 0;
             AnimInsCriteria arg_EE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_E9_0 = AnimInsEvent.EventType.PlaySound;
             string arg_E9_1 = "Enemy_Poof";
             float[] array2 = new float[1];
             arg_F3_0[arg_F3_1] = new AnimationInstruction(arg_EE_0, new AnimInsEvent(arg_E9_0, arg_E9_1, array2));
             Animation anim = new Animation(arg_F8_0, arg_F8_1, arg_F8_2, arg_F8_3, arg_F8_4, arg_F8_5, arg_F8_6, arg_F8_7, arg_F8_8, arg_F8_9, arg_F8_10, arg_F8_11, arg_F8_12, arg_F8_13, arg_F8_14, array);
             xARC.dixAnimations.Add(anim.iID, anim);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PoofEffectB)
         {
             ushort arg_18A_0 = 0;
             byte arg_18A_1 = 0;
             Texture2D arg_18A_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/PoofEffectB");
             Vector2 arg_18A_3 = new Vector2(32f, 39f);
             int arg_18A_4 = 4;
             int arg_18A_5 = 22;
             int arg_18A_6 = 62;
             int arg_18A_7 = 49;
             int arg_18A_8 = 0;
             int arg_18A_9 = 0;
             int arg_18A_10 = 22;
             Animation.LoopSettings arg_18A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_18A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_18A_13 = false;
             bool arg_18A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_185_0 = array;
             int arg_185_1 = 0;
             AnimInsCriteria arg_180_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_17B_0 = AnimInsEvent.EventType.PlaySound;
             string arg_17B_1 = "Enemy_Poof";
             float[] array2 = new float[1];
             arg_185_0[arg_185_1] = new AnimationInstruction(arg_180_0, new AnimInsEvent(arg_17B_0, arg_17B_1, array2));
             Animation anim2 = new Animation(arg_18A_0, arg_18A_1, arg_18A_2, arg_18A_3, arg_18A_4, arg_18A_5, arg_18A_6, arg_18A_7, arg_18A_8, arg_18A_9, arg_18A_10, arg_18A_11, arg_18A_12, arg_18A_13, arg_18A_14, array);
             xARC.dixAnimations.Add(anim2.iID, anim2);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PoofEffectPuzzle)
         {
             ushort arg_21B_0 = 0;
             byte arg_21B_1 = 0;
             Texture2D arg_21B_2 = GlobalContent.Load<Texture2D>("Sprites/Puzzles/Poof");
             Vector2 arg_21B_3 = new Vector2(24f, 27f);
             int arg_21B_4 = 4;
             int arg_21B_5 = 6;
             int arg_21B_6 = 47;
             int arg_21B_7 = 46;
             int arg_21B_8 = 0;
             int arg_21B_9 = 0;
             int arg_21B_10 = 22;
             Animation.LoopSettings arg_21B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21B_13 = false;
             bool arg_21B_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_216_0 = array;
             int arg_216_1 = 0;
             AnimInsCriteria arg_211_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_20C_0 = AnimInsEvent.EventType.PlaySound;
             string arg_20C_1 = "Puzzle_reset_poof";
             float[] array2 = new float[1];
             arg_216_0[arg_216_1] = new AnimationInstruction(arg_211_0, new AnimInsEvent(arg_20C_0, arg_20C_1, array2));
             Animation anim3 = new Animation(arg_21B_0, arg_21B_1, arg_21B_2, arg_21B_3, arg_21B_4, arg_21B_5, arg_21B_6, arg_21B_7, arg_21B_8, arg_21B_9, arg_21B_10, arg_21B_11, arg_21B_12, arg_21B_13, arg_21B_14, array);
             xARC.dixAnimations.Add(anim3.iID, anim3);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PoofEffectC)
         {
             ushort arg_2AF_0 = 0;
             byte arg_2AF_1 = 0;
             Texture2D arg_2AF_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/PoofEffectC");
             Vector2 arg_2AF_3 = new Vector2(23f, 22f);
             int arg_2AF_4 = 4;
             int arg_2AF_5 = 9;
             int arg_2AF_6 = 46;
             int arg_2AF_7 = 44;
             int arg_2AF_8 = 0;
             int arg_2AF_9 = 0;
             int arg_2AF_10 = 22;
             Animation.LoopSettings arg_2AF_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2AF_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2AF_13 = false;
             bool arg_2AF_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_2AA_0 = array;
             int arg_2AA_1 = 0;
             AnimInsCriteria arg_2A5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_2A0_0 = AnimInsEvent.EventType.PlaySound;
             string arg_2A0_1 = "Puzzle_reset_poof";
             float[] array2 = new float[1];
             arg_2AA_0[arg_2AA_1] = new AnimationInstruction(arg_2A5_0, new AnimInsEvent(arg_2A0_0, arg_2A0_1, array2));
             Animation anim4 = new Animation(arg_2AF_0, arg_2AF_1, arg_2AF_2, arg_2AF_3, arg_2AF_4, arg_2AF_5, arg_2AF_6, arg_2AF_7, arg_2AF_8, arg_2AF_9, arg_2AF_10, arg_2AF_11, arg_2AF_12, arg_2AF_13, arg_2AF_14, array);
             xARC.dixAnimations.Add(anim4.iID, anim4);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PoofEffectD)
         {
             ushort arg_343_0 = 0;
             byte arg_343_1 = 0;
             Texture2D arg_343_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/PoofEffectD");
             Vector2 arg_343_3 = new Vector2(22f, 38f);
             int arg_343_4 = 4;
             int arg_343_5 = 9;
             int arg_343_6 = 46;
             int arg_343_7 = 53;
             int arg_343_8 = 0;
             int arg_343_9 = 0;
             int arg_343_10 = 22;
             Animation.LoopSettings arg_343_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_343_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_343_13 = false;
             bool arg_343_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_33E_0 = array;
             int arg_33E_1 = 0;
             AnimInsCriteria arg_339_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_334_0 = AnimInsEvent.EventType.PlaySound;
             string arg_334_1 = "Enemy_Poof";
             float[] array2 = new float[1];
             arg_33E_0[arg_33E_1] = new AnimationInstruction(arg_339_0, new AnimInsEvent(arg_334_0, arg_334_1, array2));
             Animation anim5 = new Animation(arg_343_0, arg_343_1, arg_343_2, arg_343_3, arg_343_4, arg_343_5, arg_343_6, arg_343_7, arg_343_8, arg_343_9, arg_343_10, arg_343_11, arg_343_12, arg_343_13, arg_343_14, array);
             xARC.dixAnimations.Add(anim5.iID, anim5);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionGreen)
         {
             ushort arg_3D5_0 = 0;
             byte arg_3D5_1 = 0;
             Texture2D arg_3D5_2 = GlobalContent.Load<Texture2D>("Effects/Explosions/Standard/Green");
             Vector2 arg_3D5_3 = new Vector2(24f, 38f);
             int arg_3D5_4 = 4;
             int arg_3D5_5 = 9;
             int arg_3D5_6 = 46;
             int arg_3D5_7 = 53;
             int arg_3D5_8 = 0;
             int arg_3D5_9 = 0;
             int arg_3D5_10 = 40;
             Animation.LoopSettings arg_3D5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3D5_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3D5_13 = true;
             bool arg_3D5_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_3D0_0 = array;
             int arg_3D0_1 = 0;
             AnimInsCriteria arg_3CB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_3C6_0 = AnimInsEvent.EventType.PlaySound;
             string arg_3C6_1 = "Explode2a";
             float[] array2 = new float[1];
             arg_3D0_0[arg_3D0_1] = new AnimationInstruction(arg_3CB_0, new AnimInsEvent(arg_3C6_0, arg_3C6_1, array2));
             Animation anim6 = new Animation(arg_3D5_0, arg_3D5_1, arg_3D5_2, arg_3D5_3, arg_3D5_4, arg_3D5_5, arg_3D5_6, arg_3D5_7, arg_3D5_8, arg_3D5_9, arg_3D5_10, arg_3D5_11, arg_3D5_12, arg_3D5_13, arg_3D5_14, array);
             xARC.dixAnimations.Add(anim6.iID, anim6);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionRed)
         {
             ushort arg_469_0 = 0;
             byte arg_469_1 = 0;
             Texture2D arg_469_2 = GlobalContent.Load<Texture2D>("Effects/Explosions/Standard/Red");
             Vector2 arg_469_3 = new Vector2(25f, 26f);
             int arg_469_4 = 4;
             int arg_469_5 = 10;
             int arg_469_6 = 48;
             int arg_469_7 = 36;
             int arg_469_8 = 0;
             int arg_469_9 = 0;
             int arg_469_10 = 10;
             Animation.LoopSettings arg_469_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_469_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_469_13 = true;
             bool arg_469_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_464_0 = array;
             int arg_464_1 = 0;
             AnimInsCriteria arg_45F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_45A_0 = AnimInsEvent.EventType.PlaySound;
             string arg_45A_1 = "Explode2a";
             float[] array2 = new float[1];
             arg_464_0[arg_464_1] = new AnimationInstruction(arg_45F_0, new AnimInsEvent(arg_45A_0, arg_45A_1, array2));
             Animation anim7 = new Animation(arg_469_0, arg_469_1, arg_469_2, arg_469_3, arg_469_4, arg_469_5, arg_469_6, arg_469_7, arg_469_8, arg_469_9, arg_469_10, arg_469_11, arg_469_12, arg_469_13, arg_469_14, array);
             xARC.dixAnimations.Add(anim7.iID, anim7);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionTeal)
         {
             Animation anim8 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/Explosion"), new Vector2(9f, 8f), 4, 10, 18, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim8.iID, anim8);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionWisp)
         {
             ushort arg_633_0 = 0;
             byte arg_633_1 = 0;
             Texture2D arg_633_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/WispDeath");
             Vector2 arg_633_3 = new Vector2(38f, 40f);
             int arg_633_4 = 4;
             int arg_633_5 = 12;
             int arg_633_6 = 73;
             int arg_633_7 = 57;
             int arg_633_8 = 0;
             int arg_633_9 = 0;
             int arg_633_10 = 12;
             Animation.LoopSettings arg_633_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_633_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_633_13 = true;
             bool arg_633_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             AnimationInstruction[] arg_550_0 = array;
             int arg_550_1 = 0;
             AnimInsCriteria arg_54B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_546_0 = AnimInsEvent.EventType.PlaySound;
             string arg_546_1 = "Puzzle_reset_poof";
             float[] array2 = new float[1];
             arg_550_0[arg_550_1] = new AnimationInstruction(arg_54B_0, new AnimInsEvent(arg_546_0, arg_546_1, array2));
             AnimationInstruction[] arg_59A_0 = array;
             int arg_59A_1 = 1;
             AnimInsCriteria arg_595_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_590_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_59A_0[arg_59A_1] = new AnimationInstruction(arg_595_0, new AnimInsEvent(arg_590_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_62E_0 = array;
             int arg_62E_1 = 3;
             AnimInsCriteria arg_629_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_624_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_62E_0[arg_62E_1] = new AnimationInstruction(arg_629_0, new AnimInsEvent(arg_624_0, array2));
             Animation anim9 = new Animation(arg_633_0, arg_633_1, arg_633_2, arg_633_3, arg_633_4, arg_633_5, arg_633_6, arg_633_7, arg_633_8, arg_633_9, arg_633_10, arg_633_11, arg_633_12, arg_633_13, arg_633_14, array);
             xARC.dixAnimations.Add(anim9.iID, anim9);
             ushort arg_797_0 = 1;
             byte arg_797_1 = 1;
             Texture2D arg_797_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/WispDeath");
             Vector2 arg_797_3 = new Vector2(38f, 40f);
             int arg_797_4 = 4;
             int arg_797_5 = 12;
             int arg_797_6 = 73;
             int arg_797_7 = 57;
             int arg_797_8 = 0;
             int arg_797_9 = 0;
             int arg_797_10 = 12;
             Animation.LoopSettings arg_797_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_797_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_797_13 = true;
             bool arg_797_14 = true;
             array = new AnimationInstruction[4];
             AnimationInstruction[] arg_6B4_0 = array;
             int arg_6B4_1 = 0;
             AnimInsCriteria arg_6AF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_6AA_0 = AnimInsEvent.EventType.PlaySound;
             string arg_6AA_1 = "Puzzle_reset_poof";
             array2 = new float[1];
             arg_6B4_0[arg_6B4_1] = new AnimationInstruction(arg_6AF_0, new AnimInsEvent(arg_6AA_0, arg_6AA_1, array2));
             AnimationInstruction[] arg_6FE_0 = array;
             int arg_6FE_1 = 1;
             AnimInsCriteria arg_6F9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_6F4_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_6FE_0[arg_6FE_1] = new AnimationInstruction(arg_6F9_0, new AnimInsEvent(arg_6F4_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_792_0 = array;
             int arg_792_1 = 3;
             AnimInsCriteria arg_78D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_788_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_792_0[arg_792_1] = new AnimationInstruction(arg_78D_0, new AnimInsEvent(arg_788_0, array2));
             anim9 = new Animation(arg_797_0, arg_797_1, arg_797_2, arg_797_3, arg_797_4, arg_797_5, arg_797_6, arg_797_7, arg_797_8, arg_797_9, arg_797_10, arg_797_11, arg_797_12, arg_797_13, arg_797_14, array);
             anim9.enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(anim9.iID, anim9);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionOrange)
         {
             Animation anim10 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Explosions/Mushroom/Orange"), new Vector2(36f, 73f), 4, 11, 75, 78, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim10.iID, anim10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionMeteorLike)
         {
             Animation anim11 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Meteor/Level 1-2/Explosion"), new Vector2(24f, 28f), 4, 10, 50, 38, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim11.iID, anim11);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionBombA)
         {
             Animation anim12 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Environment/Traps/Bomb/Explosion"), new Vector2(50f, 55f), 4, 10, 100, 75, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim12.iID, anim12);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.CrystalDeath)
         {
             ushort arg_9EA_0 = 0;
             byte arg_9EA_1 = 0;
             Texture2D arg_9EA_2 = GlobalContent.Load<Texture2D>("Sprites/Monster/Temple/Crystal/Death/Death");
             Vector2 arg_9EA_3 = new Vector2(29f, 48f);
             int arg_9EA_4 = 4;
             int arg_9EA_5 = 14;
             int arg_9EA_6 = 58;
             int arg_9EA_7 = 52;
             int arg_9EA_8 = 406;
             int arg_9EA_9 = 0;
             int arg_9EA_10 = 16;
             Animation.LoopSettings arg_9EA_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_9EA_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_9EA_13 = true;
             bool arg_9EA_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_951_0 = array;
             int arg_951_1 = 0;
             AnimInsCriteria arg_94C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_947_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_951_0[arg_951_1] = new AnimationInstruction(arg_94C_0, new AnimInsEvent(arg_947_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_9E5_0 = array;
             int arg_9E5_1 = 2;
             AnimInsCriteria arg_9E0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_9DB_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_9E5_0[arg_9E5_1] = new AnimationInstruction(arg_9E0_0, new AnimInsEvent(arg_9DB_0, array2));
             Animation anim13 = new Animation(arg_9EA_0, arg_9EA_1, arg_9EA_2, arg_9EA_3, arg_9EA_4, arg_9EA_5, arg_9EA_6, arg_9EA_7, arg_9EA_8, arg_9EA_9, arg_9EA_10, arg_9EA_11, arg_9EA_12, arg_9EA_13, arg_9EA_14, array);
             xARC.dixAnimations.Add(anim13.iID, anim13);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SlimeDeath)
         {
             ushort arg_B2B_0 = 0;
             byte arg_B2B_1 = 0;
             Texture2D arg_B2B_2 = Content.Load<Texture2D>("Sprites/Monster/Pillar Mountains/Slime/Dead/Down");
             Vector2 arg_B2B_3 = new Vector2(28f, 21f);
             int arg_B2B_4 = 4;
             int arg_B2B_5 = 9;
             int arg_B2B_6 = 53;
             int arg_B2B_7 = 29;
             int arg_B2B_8 = 0;
             int arg_B2B_9 = 0;
             int arg_B2B_10 = 22;
             Animation.LoopSettings arg_B2B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B2B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B2B_13 = false;
             bool arg_B2B_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_A92_0 = array;
             int arg_A92_1 = 0;
             AnimInsCriteria arg_A8D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_A88_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_A92_0[arg_A92_1] = new AnimationInstruction(arg_A8D_0, new AnimInsEvent(arg_A88_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_B26_0 = array;
             int arg_B26_1 = 2;
             AnimInsCriteria arg_B21_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_B1C_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_B26_0[arg_B26_1] = new AnimationInstruction(arg_B21_0, new AnimInsEvent(arg_B1C_0, array2));
             Animation anim14 = new Animation(arg_B2B_0, arg_B2B_1, arg_B2B_2, arg_B2B_3, arg_B2B_4, arg_B2B_5, arg_B2B_6, arg_B2B_7, arg_B2B_8, arg_B2B_9, arg_B2B_10, arg_B2B_11, arg_B2B_12, arg_B2B_13, arg_B2B_14, array);
             xARC.dixAnimations.Add(anim14.iID, anim14);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SlimeDeathRed)
         {
             ushort arg_C6A_0 = 0;
             byte arg_C6A_1 = 0;
             Texture2D arg_C6A_2 = Content.Load<Texture2D>("Sprites/Monster/Special/Red Slime/Dead/Down");
             Vector2 arg_C6A_3 = new Vector2(28f, 21f);
             int arg_C6A_4 = 4;
             int arg_C6A_5 = 9;
             int arg_C6A_6 = 53;
             int arg_C6A_7 = 29;
             int arg_C6A_8 = 0;
             int arg_C6A_9 = 0;
             int arg_C6A_10 = 22;
             Animation.LoopSettings arg_C6A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_C6A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_C6A_13 = false;
             bool arg_C6A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_BD1_0 = array;
             int arg_BD1_1 = 0;
             AnimInsCriteria arg_BCC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_BC7_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_BD1_0[arg_BD1_1] = new AnimationInstruction(arg_BCC_0, new AnimInsEvent(arg_BC7_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_C65_0 = array;
             int arg_C65_1 = 2;
             AnimInsCriteria arg_C60_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_C5B_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_C65_0[arg_C65_1] = new AnimationInstruction(arg_C60_0, new AnimInsEvent(arg_C5B_0, array2));
             Animation anim15 = new Animation(arg_C6A_0, arg_C6A_1, arg_C6A_2, arg_C6A_3, arg_C6A_4, arg_C6A_5, arg_C6A_6, arg_C6A_7, arg_C6A_8, arg_C6A_9, arg_C6A_10, arg_C6A_11, arg_C6A_12, arg_C6A_13, arg_C6A_14, array);
             xARC.dixAnimations.Add(anim15.iID, anim15);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SlimeDeathBlue)
         {
             ushort arg_DA9_0 = 0;
             byte arg_DA9_1 = 0;
             Texture2D arg_DA9_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Blue Slime/Dead/Down");
             Vector2 arg_DA9_3 = new Vector2(28f, 21f);
             int arg_DA9_4 = 4;
             int arg_DA9_5 = 9;
             int arg_DA9_6 = 53;
             int arg_DA9_7 = 29;
             int arg_DA9_8 = 0;
             int arg_DA9_9 = 0;
             int arg_DA9_10 = 22;
             Animation.LoopSettings arg_DA9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_DA9_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_DA9_13 = false;
             bool arg_DA9_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_D10_0 = array;
             int arg_D10_1 = 0;
             AnimInsCriteria arg_D0B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_D06_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_D10_0[arg_D10_1] = new AnimationInstruction(arg_D0B_0, new AnimInsEvent(arg_D06_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_DA4_0 = array;
             int arg_DA4_1 = 2;
             AnimInsCriteria arg_D9F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_D9A_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_DA4_0[arg_DA4_1] = new AnimationInstruction(arg_D9F_0, new AnimInsEvent(arg_D9A_0, array2));
             Animation anim16 = new Animation(arg_DA9_0, arg_DA9_1, arg_DA9_2, arg_DA9_3, arg_DA9_4, arg_DA9_5, arg_DA9_6, arg_DA9_7, arg_DA9_8, arg_DA9_9, arg_DA9_10, arg_DA9_11, arg_DA9_12, arg_DA9_13, arg_DA9_14, array);
             xARC.dixAnimations.Add(anim16.iID, anim16);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PumpkinDeath)
         {
             ushort arg_EE8_0 = 0;
             byte arg_EE8_1 = 0;
             Texture2D arg_EE8_2 = Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Pumpkin/Dead/Down");
             Vector2 arg_EE8_3 = new Vector2(30f, 29f);
             int arg_EE8_4 = 4;
             int arg_EE8_5 = 9;
             int arg_EE8_6 = 62;
             int arg_EE8_7 = 36;
             int arg_EE8_8 = 0;
             int arg_EE8_9 = 0;
             int arg_EE8_10 = 22;
             Animation.LoopSettings arg_EE8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_EE8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_EE8_13 = false;
             bool arg_EE8_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_E4F_0 = array;
             int arg_E4F_1 = 0;
             AnimInsCriteria arg_E4A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_E45_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_E4F_0[arg_E4F_1] = new AnimationInstruction(arg_E4A_0, new AnimInsEvent(arg_E45_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_EE3_0 = array;
             int arg_EE3_1 = 2;
             AnimInsCriteria arg_EDE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_ED9_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_EE3_0[arg_EE3_1] = new AnimationInstruction(arg_EDE_0, new AnimInsEvent(arg_ED9_0, array2));
             Animation anim17 = new Animation(arg_EE8_0, arg_EE8_1, arg_EE8_2, arg_EE8_3, arg_EE8_4, arg_EE8_5, arg_EE8_6, arg_EE8_7, arg_EE8_8, arg_EE8_9, arg_EE8_10, arg_EE8_11, arg_EE8_12, arg_EE8_13, arg_EE8_14, array);
             xARC.dixAnimations.Add(anim17.iID, anim17);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ShroomDeath)
         {
             Animation anim18 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Mt Bloom/Shroom/Death/Down"), new Vector2(25f, 32f), 4, 9, 50, 38, 750, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim18.iID, anim18);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostyFriendLv1Death)
         {
             Animation anim19 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Special/Frosty Friend/Level 1-2/Dead/Effect"), new Vector2(26f, 30f), 4, 7, 54, 54, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim19.iID, anim19);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ScarecrowDeath)
         {
             ushort arg_10D6_0 = 0;
             byte arg_10D6_1 = 0;
             Texture2D arg_10D6_2 = Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Scarecrow/Dead/Down");
             Vector2 arg_10D6_3 = new Vector2(28f, 43f);
             int arg_10D6_4 = 4;
             int arg_10D6_5 = 9;
             int arg_10D6_6 = 54;
             int arg_10D6_7 = 47;
             int arg_10D6_8 = 0;
             int arg_10D6_9 = 0;
             int arg_10D6_10 = 22;
             Animation.LoopSettings arg_10D6_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_10D6_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_10D6_13 = false;
             bool arg_10D6_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_103D_0 = array;
             int arg_103D_1 = 0;
             AnimInsCriteria arg_1038_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_1033_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_103D_0[arg_103D_1] = new AnimationInstruction(arg_1038_0, new AnimInsEvent(arg_1033_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_10D1_0 = array;
             int arg_10D1_1 = 2;
             AnimInsCriteria arg_10CC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_10C7_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_10D1_0[arg_10D1_1] = new AnimationInstruction(arg_10CC_0, new AnimInsEvent(arg_10C7_0, array2));
             Animation anim20 = new Animation(arg_10D6_0, arg_10D6_1, arg_10D6_2, arg_10D6_3, arg_10D6_4, arg_10D6_5, arg_10D6_6, arg_10D6_7, arg_10D6_8, arg_10D6_9, arg_10D6_10, arg_10D6_11, arg_10D6_12, arg_10D6_13, arg_10D6_14, array);
             xARC.dixAnimations.Add(anim20.iID, anim20);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PumpkingDeath)
         {
             ushort arg_1215_0 = 0;
             byte arg_1215_1 = 0;
             Texture2D arg_1215_2 = Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/PumpKing/Dead/Down");
             Vector2 arg_1215_3 = new Vector2(29f, 46f);
             int arg_1215_4 = 4;
             int arg_1215_5 = 14;
             int arg_1215_6 = 78;
             int arg_1215_7 = 52;
             int arg_1215_8 = 0;
             int arg_1215_9 = 0;
             int arg_1215_10 = 22;
             Animation.LoopSettings arg_1215_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1215_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1215_13 = false;
             bool arg_1215_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_117C_0 = array;
             int arg_117C_1 = 0;
             AnimInsCriteria arg_1177_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_1172_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_117C_0[arg_117C_1] = new AnimationInstruction(arg_1177_0, new AnimInsEvent(arg_1172_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1210_0 = array;
             int arg_1210_1 = 2;
             AnimInsCriteria arg_120B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_1206_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1210_0[arg_1210_1] = new AnimationInstruction(arg_120B_0, new AnimInsEvent(arg_1206_0, array2));
             Animation anim21 = new Animation(arg_1215_0, arg_1215_1, arg_1215_2, arg_1215_3, arg_1215_4, arg_1215_5, arg_1215_6, arg_1215_7, arg_1215_8, arg_1215_9, arg_1215_10, arg_1215_11, arg_1215_12, arg_1215_13, arg_1215_14, array);
             xARC.dixAnimations.Add(anim21.iID, anim21);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.AutumnMageDeath)
         {
             Animation anim22 = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Death/Down"), new Vector2(20f, 34f), 4, 7, 41, 44, 451, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim22.iID, anim22);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WinterMageDeath)
         {
             Animation anim23 = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Death/Down"), new Vector2(20f, 34f), 4, 7, 41, 44, 451, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim23.iID, anim23);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SummerMageDeath)
         {
             Animation anim24 = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Death/Down"), new Vector2(20f, 34f), 4, 7, 41, 44, 451, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim24.iID, anim24);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GiftBoxMeleeDeath)
         {
             Dictionary<ushort, Animation> arg_1480_0 = xARC.dixAnimations;
             ushort arg_1480_1 = 0;
             ushort arg_147B_0 = 0;
             byte arg_147B_1 = 0;
             Texture2D arg_147B_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Melee/Dead/Up");
             Vector2 arg_147B_3 = new Vector2(25f, 25f);
             int arg_147B_4 = 4;
             int arg_147B_5 = 6;
             int arg_147B_6 = 49;
             int arg_147B_7 = 42;
             int arg_147B_8 = 49;
             int arg_147B_9 = 0;
             int arg_147B_10 = 22;
             Animation.LoopSettings arg_147B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_147B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_147B_13 = false;
             bool arg_147B_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_13E2_0 = array;
             int arg_13E2_1 = 0;
             AnimInsCriteria arg_13DD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_13D8_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_13E2_0[arg_13E2_1] = new AnimationInstruction(arg_13DD_0, new AnimInsEvent(arg_13D8_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1476_0 = array;
             int arg_1476_1 = 2;
             AnimInsCriteria arg_1471_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_146C_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1476_0[arg_1476_1] = new AnimationInstruction(arg_1471_0, new AnimInsEvent(arg_146C_0, array2));
             arg_1480_0[arg_1480_1] = new Animation(arg_147B_0, arg_147B_1, arg_147B_2, arg_147B_3, arg_147B_4, arg_147B_5, arg_147B_6, arg_147B_7, arg_147B_8, arg_147B_9, arg_147B_10, arg_147B_11, arg_147B_12, arg_147B_13, arg_147B_14, array);
             Dictionary<ushort, Animation> arg_15A8_0 = xARC.dixAnimations;
             ushort arg_15A8_1 = 1;
             ushort arg_15A3_0 = 1;
             byte arg_15A3_1 = 1;
             Texture2D arg_15A3_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Melee/Dead/Right");
             Vector2 arg_15A3_3 = new Vector2(25f, 25f);
             int arg_15A3_4 = 4;
             int arg_15A3_5 = 6;
             int arg_15A3_6 = 49;
             int arg_15A3_7 = 42;
             int arg_15A3_8 = 49;
             int arg_15A3_9 = 0;
             int arg_15A3_10 = 22;
             Animation.LoopSettings arg_15A3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_15A3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_15A3_13 = false;
             bool arg_15A3_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_150A_0 = array;
             int arg_150A_1 = 0;
             AnimInsCriteria arg_1505_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1500_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_150A_0[arg_150A_1] = new AnimationInstruction(arg_1505_0, new AnimInsEvent(arg_1500_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_159E_0 = array;
             int arg_159E_1 = 2;
             AnimInsCriteria arg_1599_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1594_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_159E_0[arg_159E_1] = new AnimationInstruction(arg_1599_0, new AnimInsEvent(arg_1594_0, array2));
             arg_15A8_0[arg_15A8_1] = new Animation(arg_15A3_0, arg_15A3_1, arg_15A3_2, arg_15A3_3, arg_15A3_4, arg_15A3_5, arg_15A3_6, arg_15A3_7, arg_15A3_8, arg_15A3_9, arg_15A3_10, arg_15A3_11, arg_15A3_12, arg_15A3_13, arg_15A3_14, array);
             Dictionary<ushort, Animation> arg_16D0_0 = xARC.dixAnimations;
             ushort arg_16D0_1 = 2;
             ushort arg_16CB_0 = 2;
             byte arg_16CB_1 = 2;
             Texture2D arg_16CB_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Melee/Dead/Down");
             Vector2 arg_16CB_3 = new Vector2(25f, 25f);
             int arg_16CB_4 = 4;
             int arg_16CB_5 = 6;
             int arg_16CB_6 = 49;
             int arg_16CB_7 = 42;
             int arg_16CB_8 = 49;
             int arg_16CB_9 = 0;
             int arg_16CB_10 = 22;
             Animation.LoopSettings arg_16CB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16CB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16CB_13 = false;
             bool arg_16CB_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1632_0 = array;
             int arg_1632_1 = 0;
             AnimInsCriteria arg_162D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1628_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1632_0[arg_1632_1] = new AnimationInstruction(arg_162D_0, new AnimInsEvent(arg_1628_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_16C6_0 = array;
             int arg_16C6_1 = 2;
             AnimInsCriteria arg_16C1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16BC_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_16C6_0[arg_16C6_1] = new AnimationInstruction(arg_16C1_0, new AnimInsEvent(arg_16BC_0, array2));
             arg_16D0_0[arg_16D0_1] = new Animation(arg_16CB_0, arg_16CB_1, arg_16CB_2, arg_16CB_3, arg_16CB_4, arg_16CB_5, arg_16CB_6, arg_16CB_7, arg_16CB_8, arg_16CB_9, arg_16CB_10, arg_16CB_11, arg_16CB_12, arg_16CB_13, arg_16CB_14, array);
             Dictionary<ushort, Animation> arg_17F8_0 = xARC.dixAnimations;
             ushort arg_17F8_1 = 3;
             ushort arg_17F3_0 = 3;
             byte arg_17F3_1 = 3;
             Texture2D arg_17F3_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Melee/Dead/Right");
             Vector2 arg_17F3_3 = new Vector2(25f, 25f);
             int arg_17F3_4 = 4;
             int arg_17F3_5 = 6;
             int arg_17F3_6 = 49;
             int arg_17F3_7 = 42;
             int arg_17F3_8 = 49;
             int arg_17F3_9 = 0;
             int arg_17F3_10 = 22;
             Animation.LoopSettings arg_17F3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17F3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17F3_13 = false;
             bool arg_17F3_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_175A_0 = array;
             int arg_175A_1 = 0;
             AnimInsCriteria arg_1755_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1750_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_175A_0[arg_175A_1] = new AnimationInstruction(arg_1755_0, new AnimInsEvent(arg_1750_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_17EE_0 = array;
             int arg_17EE_1 = 2;
             AnimInsCriteria arg_17E9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_17E4_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_17EE_0[arg_17EE_1] = new AnimationInstruction(arg_17E9_0, new AnimInsEvent(arg_17E4_0, array2));
             arg_17F8_0[arg_17F8_1] = new Animation(arg_17F3_0, arg_17F3_1, arg_17F3_2, arg_17F3_3, arg_17F3_4, arg_17F3_5, arg_17F3_6, arg_17F3_7, arg_17F3_8, arg_17F3_9, arg_17F3_10, arg_17F3_11, arg_17F3_12, arg_17F3_13, arg_17F3_14, array);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GiftBoxMeleeDeath_Lid)
         {
             ushort arg_1973_0 = 0;
             byte arg_1973_1 = 0;
             Texture2D arg_1973_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Melee/Dead/Lid");
             Vector2 arg_1973_3 = new Vector2(12f, 32f);
             int arg_1973_4 = 4;
             int arg_1973_5 = 14;
             int arg_1973_6 = 24;
             int arg_1973_7 = 38;
             int arg_1973_8 = 0;
             int arg_1973_9 = 0;
             int arg_1973_10 = 22;
             Animation.LoopSettings arg_1973_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1973_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1973_13 = true;
             bool arg_1973_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             AnimationInstruction[] arg_1890_0 = array;
             int arg_1890_1 = 0;
             AnimInsCriteria arg_188B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_1886_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1890_0[arg_1890_1] = new AnimationInstruction(arg_188B_0, new AnimInsEvent(arg_1886_0, array2));
             AnimationInstruction[] arg_18DA_0 = array;
             int arg_18DA_1 = 1;
             AnimInsCriteria arg_18D5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_18D0_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_18DA_0[arg_18DA_1] = new AnimationInstruction(arg_18D5_0, new AnimInsEvent(arg_18D0_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_196E_0 = array;
             int arg_196E_1 = 3;
             AnimInsCriteria arg_1969_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_1964_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_196E_0[arg_196E_1] = new AnimationInstruction(arg_1969_0, new AnimInsEvent(arg_1964_0, array2));
             Animation anim25 = new Animation(arg_1973_0, arg_1973_1, arg_1973_2, arg_1973_3, arg_1973_4, arg_1973_5, arg_1973_6, arg_1973_7, arg_1973_8, arg_1973_9, arg_1973_10, arg_1973_11, arg_1973_12, arg_1973_13, arg_1973_14, array);
             xARC.dixAnimations.Add(anim25.iID, anim25);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GiftBoxRangedDeath)
         {
             Dictionary<ushort, Animation> arg_1ABE_0 = xARC.dixAnimations;
             ushort arg_1ABE_1 = 0;
             ushort arg_1AB9_0 = 0;
             byte arg_1AB9_1 = 0;
             Texture2D arg_1AB9_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Ranged/Dead/Up");
             Vector2 arg_1AB9_3 = new Vector2(25f, 25f);
             int arg_1AB9_4 = 4;
             int arg_1AB9_5 = 6;
             int arg_1AB9_6 = 49;
             int arg_1AB9_7 = 42;
             int arg_1AB9_8 = 49;
             int arg_1AB9_9 = 0;
             int arg_1AB9_10 = 22;
             Animation.LoopSettings arg_1AB9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1AB9_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1AB9_13 = false;
             bool arg_1AB9_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1A20_0 = array;
             int arg_1A20_1 = 0;
             AnimInsCriteria arg_1A1B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A16_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1A20_0[arg_1A20_1] = new AnimationInstruction(arg_1A1B_0, new AnimInsEvent(arg_1A16_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1AB4_0 = array;
             int arg_1AB4_1 = 2;
             AnimInsCriteria arg_1AAF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1AAA_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1AB4_0[arg_1AB4_1] = new AnimationInstruction(arg_1AAF_0, new AnimInsEvent(arg_1AAA_0, array2));
             arg_1ABE_0[arg_1ABE_1] = new Animation(arg_1AB9_0, arg_1AB9_1, arg_1AB9_2, arg_1AB9_3, arg_1AB9_4, arg_1AB9_5, arg_1AB9_6, arg_1AB9_7, arg_1AB9_8, arg_1AB9_9, arg_1AB9_10, arg_1AB9_11, arg_1AB9_12, arg_1AB9_13, arg_1AB9_14, array);
             Dictionary<ushort, Animation> arg_1BE6_0 = xARC.dixAnimations;
             ushort arg_1BE6_1 = 1;
             ushort arg_1BE1_0 = 1;
             byte arg_1BE1_1 = 1;
             Texture2D arg_1BE1_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Ranged/Dead/Right");
             Vector2 arg_1BE1_3 = new Vector2(25f, 25f);
             int arg_1BE1_4 = 4;
             int arg_1BE1_5 = 6;
             int arg_1BE1_6 = 49;
             int arg_1BE1_7 = 42;
             int arg_1BE1_8 = 49;
             int arg_1BE1_9 = 0;
             int arg_1BE1_10 = 22;
             Animation.LoopSettings arg_1BE1_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1BE1_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1BE1_13 = false;
             bool arg_1BE1_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1B48_0 = array;
             int arg_1B48_1 = 0;
             AnimInsCriteria arg_1B43_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1B3E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1B48_0[arg_1B48_1] = new AnimationInstruction(arg_1B43_0, new AnimInsEvent(arg_1B3E_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1BDC_0 = array;
             int arg_1BDC_1 = 2;
             AnimInsCriteria arg_1BD7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1BD2_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1BDC_0[arg_1BDC_1] = new AnimationInstruction(arg_1BD7_0, new AnimInsEvent(arg_1BD2_0, array2));
             arg_1BE6_0[arg_1BE6_1] = new Animation(arg_1BE1_0, arg_1BE1_1, arg_1BE1_2, arg_1BE1_3, arg_1BE1_4, arg_1BE1_5, arg_1BE1_6, arg_1BE1_7, arg_1BE1_8, arg_1BE1_9, arg_1BE1_10, arg_1BE1_11, arg_1BE1_12, arg_1BE1_13, arg_1BE1_14, array);
             Dictionary<ushort, Animation> arg_1D0E_0 = xARC.dixAnimations;
             ushort arg_1D0E_1 = 2;
             ushort arg_1D09_0 = 2;
             byte arg_1D09_1 = 2;
             Texture2D arg_1D09_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Ranged/Dead/Down");
             Vector2 arg_1D09_3 = new Vector2(25f, 25f);
             int arg_1D09_4 = 4;
             int arg_1D09_5 = 6;
             int arg_1D09_6 = 49;
             int arg_1D09_7 = 42;
             int arg_1D09_8 = 49;
             int arg_1D09_9 = 0;
             int arg_1D09_10 = 22;
             Animation.LoopSettings arg_1D09_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1D09_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1D09_13 = false;
             bool arg_1D09_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1C70_0 = array;
             int arg_1C70_1 = 0;
             AnimInsCriteria arg_1C6B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1C66_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1C70_0[arg_1C70_1] = new AnimationInstruction(arg_1C6B_0, new AnimInsEvent(arg_1C66_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1D04_0 = array;
             int arg_1D04_1 = 2;
             AnimInsCriteria arg_1CFF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1CFA_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1D04_0[arg_1D04_1] = new AnimationInstruction(arg_1CFF_0, new AnimInsEvent(arg_1CFA_0, array2));
             arg_1D0E_0[arg_1D0E_1] = new Animation(arg_1D09_0, arg_1D09_1, arg_1D09_2, arg_1D09_3, arg_1D09_4, arg_1D09_5, arg_1D09_6, arg_1D09_7, arg_1D09_8, arg_1D09_9, arg_1D09_10, arg_1D09_11, arg_1D09_12, arg_1D09_13, arg_1D09_14, array);
             Dictionary<ushort, Animation> arg_1E36_0 = xARC.dixAnimations;
             ushort arg_1E36_1 = 3;
             ushort arg_1E31_0 = 3;
             byte arg_1E31_1 = 3;
             Texture2D arg_1E31_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Ranged/Dead/Right");
             Vector2 arg_1E31_3 = new Vector2(25f, 25f);
             int arg_1E31_4 = 4;
             int arg_1E31_5 = 6;
             int arg_1E31_6 = 49;
             int arg_1E31_7 = 42;
             int arg_1E31_8 = 49;
             int arg_1E31_9 = 0;
             int arg_1E31_10 = 22;
             Animation.LoopSettings arg_1E31_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E31_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E31_13 = false;
             bool arg_1E31_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1D98_0 = array;
             int arg_1D98_1 = 0;
             AnimInsCriteria arg_1D93_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1D8E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1D98_0[arg_1D98_1] = new AnimationInstruction(arg_1D93_0, new AnimInsEvent(arg_1D8E_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E2C_0 = array;
             int arg_1E2C_1 = 2;
             AnimInsCriteria arg_1E27_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1E22_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E2C_0[arg_1E2C_1] = new AnimationInstruction(arg_1E27_0, new AnimInsEvent(arg_1E22_0, array2));
             arg_1E36_0[arg_1E36_1] = new Animation(arg_1E31_0, arg_1E31_1, arg_1E31_2, arg_1E31_3, arg_1E31_4, arg_1E31_5, arg_1E31_6, arg_1E31_7, arg_1E31_8, arg_1E31_9, arg_1E31_10, arg_1E31_11, arg_1E31_12, arg_1E31_13, arg_1E31_14, array);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GiftBoxRangedDeath_Lid)
         {
             ushort arg_1FB1_0 = 0;
             byte arg_1FB1_1 = 0;
             Texture2D arg_1FB1_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Ranged/Dead/Lid");
             Vector2 arg_1FB1_3 = new Vector2(12f, 32f);
             int arg_1FB1_4 = 4;
             int arg_1FB1_5 = 14;
             int arg_1FB1_6 = 24;
             int arg_1FB1_7 = 38;
             int arg_1FB1_8 = 0;
             int arg_1FB1_9 = 0;
             int arg_1FB1_10 = 22;
             Animation.LoopSettings arg_1FB1_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1FB1_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1FB1_13 = true;
             bool arg_1FB1_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             AnimationInstruction[] arg_1ECE_0 = array;
             int arg_1ECE_1 = 0;
             AnimInsCriteria arg_1EC9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_1EC4_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1ECE_0[arg_1ECE_1] = new AnimationInstruction(arg_1EC9_0, new AnimInsEvent(arg_1EC4_0, array2));
             AnimationInstruction[] arg_1F18_0 = array;
             int arg_1F18_1 = 1;
             AnimInsCriteria arg_1F13_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_1F0E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1F18_0[arg_1F18_1] = new AnimationInstruction(arg_1F13_0, new AnimInsEvent(arg_1F0E_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1FAC_0 = array;
             int arg_1FAC_1 = 3;
             AnimInsCriteria arg_1FA7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_1FA2_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1FAC_0[arg_1FAC_1] = new AnimationInstruction(arg_1FA7_0, new AnimInsEvent(arg_1FA2_0, array2));
             Animation anim26 = new Animation(arg_1FB1_0, arg_1FB1_1, arg_1FB1_2, arg_1FB1_3, arg_1FB1_4, arg_1FB1_5, arg_1FB1_6, arg_1FB1_7, arg_1FB1_8, arg_1FB1_9, arg_1FB1_10, arg_1FB1_11, arg_1FB1_12, arg_1FB1_13, arg_1FB1_14, array);
             xARC.dixAnimations.Add(anim26.iID, anim26);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingRogueDeathStick)
         {
             Animation anim27 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Rogue/Dead/Stick"), new Vector2(10f, 28f), 4, 9, 19, 31, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim27.iID, anim27);
             ushort arg_217D_0 = 1;
             byte arg_217D_1 = 0;
             Texture2D arg_217D_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Rogue/Dead/Stick");
             Vector2 arg_217D_3 = new Vector2(10f, 28f);
             int arg_217D_4 = 4;
             int arg_217D_5 = 3;
             int arg_217D_6 = 19;
             int arg_217D_7 = 31;
             int arg_217D_8 = 171;
             int arg_217D_9 = 0;
             int arg_217D_10 = 22;
             Animation.LoopSettings arg_217D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_217D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_217D_13 = false;
             bool arg_217D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_20E4_0 = array;
             int arg_20E4_1 = 0;
             AnimInsCriteria arg_20DF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_20DA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_20E4_0[arg_20E4_1] = new AnimationInstruction(arg_20DF_0, new AnimInsEvent(arg_20DA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_2178_0 = array;
             int arg_2178_1 = 2;
             AnimInsCriteria arg_2173_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_216E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_2178_0[arg_2178_1] = new AnimationInstruction(arg_2173_0, new AnimInsEvent(arg_216E_0, array2));
             anim27 = new Animation(arg_217D_0, arg_217D_1, arg_217D_2, arg_217D_3, arg_217D_4, arg_217D_5, arg_217D_6, arg_217D_7, arg_217D_8, arg_217D_9, arg_217D_10, arg_217D_11, arg_217D_12, arg_217D_13, arg_217D_14, array);
             xARC.dixAnimations.Add(anim27.iID, anim27);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingBossDeathMace)
         {
             Animation anim28 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Boss/Dead/Mace"), new Vector2(13f, 34f), 4, 9, 25, 39, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim28.iID, anim28);
             ushort arg_234A_0 = 1;
             byte arg_234A_1 = 0;
             Texture2D arg_234A_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Boss/Dead/Mace");
             Vector2 arg_234A_3 = new Vector2(13f, 34f);
             int arg_234A_4 = 4;
             int arg_234A_5 = 12;
             int arg_234A_6 = 25;
             int arg_234A_7 = 39;
             int arg_234A_8 = 225;
             int arg_234A_9 = 0;
             int arg_234A_10 = 22;
             Animation.LoopSettings arg_234A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_234A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_234A_13 = false;
             bool arg_234A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_22B1_0 = array;
             int arg_22B1_1 = 0;
             AnimInsCriteria arg_22AC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_22A7_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_22B1_0[arg_22B1_1] = new AnimationInstruction(arg_22AC_0, new AnimInsEvent(arg_22A7_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_2345_0 = array;
             int arg_2345_1 = 2;
             AnimInsCriteria arg_2340_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_233B_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_2345_0[arg_2345_1] = new AnimationInstruction(arg_2340_0, new AnimInsEvent(arg_233B_0, array2));
             anim28 = new Animation(arg_234A_0, arg_234A_1, arg_234A_2, arg_234A_3, arg_234A_4, arg_234A_5, arg_234A_6, arg_234A_7, arg_234A_8, arg_234A_9, arg_234A_10, arg_234A_11, arg_234A_12, arg_234A_13, arg_234A_14, array);
             xARC.dixAnimations.Add(anim28.iID, anim28);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.MarinoDeathSword)
         {
             this.bDestroyAtEnd = false;
             Animation anim29 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Main/Rival/Death/Sword"), new Vector2(6f, 55f), 4, 15, 27, 58, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim29.iID, anim29);
             anim29 = new Animation(1, 0, Content.Load<Texture2D>("Sprites/NPC/Main/Rival/Death/Sword"), new Vector2(21f, 55f), 4, 15, 27, 58, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             anim29.enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(anim29.iID, anim29);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingScoundrelDeathSnowball)
         {
             Animation anim30 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/Snowball"), new Vector2(10f, 25f), 4, 9, 19, 28, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim30.iID, anim30);
             ushort arg_25CA_0 = 1;
             byte arg_25CA_1 = 0;
             Texture2D arg_25CA_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/Snowball");
             Vector2 arg_25CA_3 = new Vector2(10f, 25f);
             int arg_25CA_4 = 4;
             int arg_25CA_5 = 4;
             int arg_25CA_6 = 19;
             int arg_25CA_7 = 28;
             int arg_25CA_8 = 171;
             int arg_25CA_9 = 0;
             int arg_25CA_10 = 22;
             Animation.LoopSettings arg_25CA_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_25CA_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_25CA_13 = false;
             bool arg_25CA_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2531_0 = array;
             int arg_2531_1 = 0;
             AnimInsCriteria arg_252C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_2527_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_2531_0[arg_2531_1] = new AnimationInstruction(arg_252C_0, new AnimInsEvent(arg_2527_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_25C5_0 = array;
             int arg_25C5_1 = 2;
             AnimInsCriteria arg_25C0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_25BB_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_25C5_0[arg_25C5_1] = new AnimationInstruction(arg_25C0_0, new AnimInsEvent(arg_25BB_0, array2));
             anim30 = new Animation(arg_25CA_0, arg_25CA_1, arg_25CA_2, arg_25CA_3, arg_25CA_4, arg_25CA_5, arg_25CA_6, arg_25CA_7, arg_25CA_8, arg_25CA_9, arg_25CA_10, arg_25CA_11, arg_25CA_12, arg_25CA_13, arg_25CA_14, array);
             xARC.dixAnimations.Add(anim30.iID, anim30);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingScoundrelDeathSnowballBig)
         {
             Animation anim31 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/SnowballBig"), new Vector2(10f, 28f), 4, 9, 19, 31, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim31.iID, anim31);
             ushort arg_2796_0 = 1;
             byte arg_2796_1 = 0;
             Texture2D arg_2796_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/SnowballBig");
             Vector2 arg_2796_3 = new Vector2(10f, 28f);
             int arg_2796_4 = 4;
             int arg_2796_5 = 5;
             int arg_2796_6 = 19;
             int arg_2796_7 = 31;
             int arg_2796_8 = 171;
             int arg_2796_9 = 0;
             int arg_2796_10 = 22;
             Animation.LoopSettings arg_2796_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2796_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2796_13 = false;
             bool arg_2796_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_26FD_0 = array;
             int arg_26FD_1 = 0;
             AnimInsCriteria arg_26F8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             });
             AnimInsEvent.EventType arg_26F3_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_26FD_0[arg_26FD_1] = new AnimationInstruction(arg_26F8_0, new AnimInsEvent(arg_26F3_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_2791_0 = array;
             int arg_2791_1 = 2;
             AnimInsCriteria arg_278C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             });
             AnimInsEvent.EventType arg_2787_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_2791_0[arg_2791_1] = new AnimationInstruction(arg_278C_0, new AnimInsEvent(arg_2787_0, array2));
             anim31 = new Animation(arg_2796_0, arg_2796_1, arg_2796_2, arg_2796_3, arg_2796_4, arg_2796_5, arg_2796_6, arg_2796_7, arg_2796_8, arg_2796_9, arg_2796_10, arg_2796_11, arg_2796_12, arg_2796_13, arg_2796_14, array);
             xARC.dixAnimations.Add(anim31.iID, anim31);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingScoundrelSnowballDestroy)
         {
             ushort arg_28D8_0 = 0;
             byte arg_28D8_1 = 0;
             Texture2D arg_28D8_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/Snowball");
             Vector2 arg_28D8_3 = new Vector2(10f, 25f);
             int arg_28D8_4 = 4;
             int arg_28D8_5 = 4;
             int arg_28D8_6 = 19;
             int arg_28D8_7 = 28;
             int arg_28D8_8 = 171;
             int arg_28D8_9 = 0;
             int arg_28D8_10 = 22;
             Animation.LoopSettings arg_28D8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_28D8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_28D8_13 = false;
             bool arg_28D8_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_283F_0 = array;
             int arg_283F_1 = 0;
             AnimInsCriteria arg_283A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_2835_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_283F_0[arg_283F_1] = new AnimationInstruction(arg_283A_0, new AnimInsEvent(arg_2835_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_28D3_0 = array;
             int arg_28D3_1 = 2;
             AnimInsCriteria arg_28CE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_28C9_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_28D3_0[arg_28D3_1] = new AnimationInstruction(arg_28CE_0, new AnimInsEvent(arg_28C9_0, array2));
             Animation anim32 = new Animation(arg_28D8_0, arg_28D8_1, arg_28D8_2, arg_28D8_3, arg_28D8_4, arg_28D8_5, arg_28D8_6, arg_28D8_7, arg_28D8_8, arg_28D8_9, arg_28D8_10, arg_28D8_11, arg_28D8_12, arg_28D8_13, arg_28D8_14, array);
             xARC.dixAnimations.Add(anim32.iID, anim32);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingScoundrelSnowballBigDestroy)
         {
             ushort arg_2A1A_0 = 0;
             byte arg_2A1A_1 = 0;
             Texture2D arg_2A1A_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/SnowballBig");
             Vector2 arg_2A1A_3 = new Vector2(10f, 28f);
             int arg_2A1A_4 = 4;
             int arg_2A1A_5 = 5;
             int arg_2A1A_6 = 19;
             int arg_2A1A_7 = 31;
             int arg_2A1A_8 = 171;
             int arg_2A1A_9 = 0;
             int arg_2A1A_10 = 22;
             Animation.LoopSettings arg_2A1A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2A1A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2A1A_13 = false;
             bool arg_2A1A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2981_0 = array;
             int arg_2981_1 = 0;
             AnimInsCriteria arg_297C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             });
             AnimInsEvent.EventType arg_2977_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_2981_0[arg_2981_1] = new AnimationInstruction(arg_297C_0, new AnimInsEvent(arg_2977_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_2A15_0 = array;
             int arg_2A15_1 = 2;
             AnimInsCriteria arg_2A10_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             });
             AnimInsEvent.EventType arg_2A0B_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_2A15_0[arg_2A15_1] = new AnimationInstruction(arg_2A10_0, new AnimInsEvent(arg_2A0B_0, array2));
             Animation anim33 = new Animation(arg_2A1A_0, arg_2A1A_1, arg_2A1A_2, arg_2A1A_3, arg_2A1A_4, arg_2A1A_5, arg_2A1A_6, arg_2A1A_7, arg_2A1A_8, arg_2A1A_9, arg_2A1A_10, arg_2A1A_11, arg_2A1A_12, arg_2A1A_13, arg_2A1A_14, array);
             xARC.dixAnimations.Add(anim33.iID, anim33);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnivronPumpkinDeath01)
         {
             ushort arg_2B59_0 = 0;
             byte arg_2B59_1 = 0;
             Texture2D arg_2B59_2 = Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/PumpkinBreak");
             Vector2 arg_2B59_3 = new Vector2(30f, 26f);
             int arg_2B59_4 = 4;
             int arg_2B59_5 = 9;
             int arg_2B59_6 = 62;
             int arg_2B59_7 = 36;
             int arg_2B59_8 = 0;
             int arg_2B59_9 = 0;
             int arg_2B59_10 = 22;
             Animation.LoopSettings arg_2B59_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2B59_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2B59_13 = false;
             bool arg_2B59_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2AC0_0 = array;
             int arg_2AC0_1 = 0;
             AnimInsCriteria arg_2ABB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2AB6_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_2AC0_0[arg_2AC0_1] = new AnimationInstruction(arg_2ABB_0, new AnimInsEvent(arg_2AB6_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_2B54_0 = array;
             int arg_2B54_1 = 2;
             AnimInsCriteria arg_2B4F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2B4A_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_2B54_0[arg_2B54_1] = new AnimationInstruction(arg_2B4F_0, new AnimInsEvent(arg_2B4A_0, array2));
             Animation anim34 = new Animation(arg_2B59_0, arg_2B59_1, arg_2B59_2, arg_2B59_3, arg_2B59_4, arg_2B59_5, arg_2B59_6, arg_2B59_7, arg_2B59_8, arg_2B59_9, arg_2B59_10, arg_2B59_11, arg_2B59_12, arg_2B59_13, arg_2B59_14, array);
             xARC.dixAnimations.Add(anim34.iID, anim34);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnvironABCDeath01)
         {
             ushort arg_2C98_0 = 0;
             byte arg_2C98_1 = 0;
             Texture2D arg_2C98_2 = Content.Load<Texture2D>("Sprites/Environment/Containers/Special/ABCBreak");
             Vector2 arg_2C98_3 = new Vector2(38f, 32f);
             int arg_2C98_4 = 4;
             int arg_2C98_5 = 9;
             int arg_2C98_6 = 74;
             int arg_2C98_7 = 54;
             int arg_2C98_8 = 0;
             int arg_2C98_9 = 0;
             int arg_2C98_10 = 22;
             Animation.LoopSettings arg_2C98_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2C98_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2C98_13 = false;
             bool arg_2C98_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2BFF_0 = array;
             int arg_2BFF_1 = 0;
             AnimInsCriteria arg_2BFA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2BF5_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_2BFF_0[arg_2BFF_1] = new AnimationInstruction(arg_2BFA_0, new AnimInsEvent(arg_2BF5_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_2C93_0 = array;
             int arg_2C93_1 = 2;
             AnimInsCriteria arg_2C8E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2C89_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_2C93_0[arg_2C93_1] = new AnimationInstruction(arg_2C8E_0, new AnimInsEvent(arg_2C89_0, array2));
             Animation anim35 = new Animation(arg_2C98_0, arg_2C98_1, arg_2C98_2, arg_2C98_3, arg_2C98_4, arg_2C98_5, arg_2C98_6, arg_2C98_7, arg_2C98_8, arg_2C98_9, arg_2C98_10, arg_2C98_11, arg_2C98_12, arg_2C98_13, arg_2C98_14, array);
             xARC.dixAnimations.Add(anim35.iID, anim35);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnvironABCDeath02)
         {
             ushort arg_2DD7_0 = 0;
             byte arg_2DD7_1 = 0;
             Texture2D arg_2DD7_2 = Content.Load<Texture2D>("Sprites/Environment/Containers/Special/ABC2Break");
             Vector2 arg_2DD7_3 = new Vector2(38f, 32f);
             int arg_2DD7_4 = 4;
             int arg_2DD7_5 = 9;
             int arg_2DD7_6 = 74;
             int arg_2DD7_7 = 54;
             int arg_2DD7_8 = 0;
             int arg_2DD7_9 = 0;
             int arg_2DD7_10 = 22;
             Animation.LoopSettings arg_2DD7_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2DD7_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2DD7_13 = false;
             bool arg_2DD7_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2D3E_0 = array;
             int arg_2D3E_1 = 0;
             AnimInsCriteria arg_2D39_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2D34_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_2D3E_0[arg_2D3E_1] = new AnimationInstruction(arg_2D39_0, new AnimInsEvent(arg_2D34_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_2DD2_0 = array;
             int arg_2DD2_1 = 2;
             AnimInsCriteria arg_2DCD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2DC8_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_2DD2_0[arg_2DD2_1] = new AnimationInstruction(arg_2DCD_0, new AnimInsEvent(arg_2DC8_0, array2));
             Animation anim36 = new Animation(arg_2DD7_0, arg_2DD7_1, arg_2DD7_2, arg_2DD7_3, arg_2DD7_4, arg_2DD7_5, arg_2DD7_6, arg_2DD7_7, arg_2DD7_8, arg_2DD7_9, arg_2DD7_10, arg_2DD7_11, arg_2DD7_12, arg_2DD7_13, arg_2DD7_14, array);
             xARC.dixAnimations.Add(anim36.iID, anim36);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnvironABCDeath03)
         {
             ushort arg_2F16_0 = 0;
             byte arg_2F16_1 = 0;
             Texture2D arg_2F16_2 = Content.Load<Texture2D>("Sprites/Environment/Containers/Special/ABC3Break");
             Vector2 arg_2F16_3 = new Vector2(38f, 32f);
             int arg_2F16_4 = 4;
             int arg_2F16_5 = 9;
             int arg_2F16_6 = 74;
             int arg_2F16_7 = 54;
             int arg_2F16_8 = 0;
             int arg_2F16_9 = 0;
             int arg_2F16_10 = 22;
             Animation.LoopSettings arg_2F16_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2F16_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2F16_13 = false;
             bool arg_2F16_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2E7D_0 = array;
             int arg_2E7D_1 = 0;
             AnimInsCriteria arg_2E78_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2E73_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_2E7D_0[arg_2E7D_1] = new AnimationInstruction(arg_2E78_0, new AnimInsEvent(arg_2E73_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_2F11_0 = array;
             int arg_2F11_1 = 2;
             AnimInsCriteria arg_2F0C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2F07_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_2F11_0[arg_2F11_1] = new AnimationInstruction(arg_2F0C_0, new AnimInsEvent(arg_2F07_0, array2));
             Animation anim37 = new Animation(arg_2F16_0, arg_2F16_1, arg_2F16_2, arg_2F16_3, arg_2F16_4, arg_2F16_5, arg_2F16_6, arg_2F16_7, arg_2F16_8, arg_2F16_9, arg_2F16_10, arg_2F16_11, arg_2F16_12, arg_2F16_13, arg_2F16_14, array);
             xARC.dixAnimations.Add(anim37.iID, anim37);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnivronBeehiveDeath)
         {
             ushort arg_3055_0 = 0;
             byte arg_3055_1 = 0;
             Texture2D arg_3055_2 = Content.Load<Texture2D>("Sprites/Environment/Traps/Beehive/Dead");
             Vector2 arg_3055_3 = new Vector2(35f, 37f);
             int arg_3055_4 = 4;
             int arg_3055_5 = 12;
             int arg_3055_6 = 73;
             int arg_3055_7 = 53;
             int arg_3055_8 = 0;
             int arg_3055_9 = 0;
             int arg_3055_10 = 22;
             Animation.LoopSettings arg_3055_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3055_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3055_13 = false;
             bool arg_3055_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2FBC_0 = array;
             int arg_2FBC_1 = 0;
             AnimInsCriteria arg_2FB7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_2FB2_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_2FBC_0[arg_2FBC_1] = new AnimationInstruction(arg_2FB7_0, new AnimInsEvent(arg_2FB2_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_3050_0 = array;
             int arg_3050_1 = 2;
             AnimInsCriteria arg_304B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_3046_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_3050_0[arg_3050_1] = new AnimationInstruction(arg_304B_0, new AnimInsEvent(arg_3046_0, array2));
             Animation anim38 = new Animation(arg_3055_0, arg_3055_1, arg_3055_2, arg_3055_3, arg_3055_4, arg_3055_5, arg_3055_6, arg_3055_7, arg_3055_8, arg_3055_9, arg_3055_10, arg_3055_11, arg_3055_12, arg_3055_13, arg_3055_14, array);
             xARC.dixAnimations.Add(anim38.iID, anim38);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnivronRiftCrystalDeath)
         {
             Animation anim39 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/SpawnCrystal/Dead"), new Vector2(38f, 44f), 4, 12, 73, 62, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim39.iID, anim39);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FatSpark)
         {
             Animation anim40 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Sphere/Projectile/Idle"), new Vector2(10f, 10f), 3, 6, 20, 20, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.v2OffsetRenderPos.Y = -27f;
             xARC.dixAnimations.Add(anim40.iID, anim40);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GreenSpark)
         {
             Animation anim41 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Sphere/Projectile/asas"), new Vector2(3f, 3f), 3, 1, 5, 5, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = BirdieAI.fCrystalBeamAlpha;
             xARC.v2OffsetRenderPos.Y = -27f;
             xARC.dixAnimations.Add(anim41.iID, anim41);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GreenSparkMid)
         {
             Animation anim42 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Sphere/Projectile/asas2"), new Vector2(3f, 3f), 2, 1, 5, 5, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.85f;
             xARC.fScale = 0.65f;
             xARC.v2OffsetRenderPos.Y = -27f;
             xARC.dixAnimations.Add(anim42.iID, anim42);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_SandCloudSmall01)
         {
             Animation anim43 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Sand/SandA"), new Vector2(5f, 4f), 3, 1, 9, 8, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim43.iID, anim43);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_SandCloudSmall02)
         {
             Animation anim44 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Sand/SandB"), new Vector2(5f, 4f), 3, 1, 9, 8, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim44.iID, anim44);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_DustCloudSmall01)
         {
             Animation anim45 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Dust/DustB"), new Vector2(5f, 4f), 3, 1, 9, 8, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim45.iID, anim45);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_DustCloudSmall02)
         {
             Animation anim46 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Dust/DustB"), new Vector2(5f, 4f), 3, 1, 9, 8, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim46.iID, anim46);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_SmokeBig01)
         {
             Animation anim47 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Smoke/Big"), new Vector2(8f, 8f), 3, 1, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim47.iID, anim47);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_SoftSmokeWhite)
         {
             Animation anim48 = new Animation(0, 3, GlobalContent.Load<Texture2D>("Effects/Particle Effects/Smoke/White"), new Vector2(4f, 9f), 4, 9, 8, 11, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.9f;
             xARC.dixAnimations.Add(anim48.iID, anim48);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_SoftSplitSmokeWhite)
         {
             Animation anim49 = new Animation(0, 3, GlobalContent.Load<Texture2D>("Effects/Particle Effects/Smoke/Split Poff/White"), new Vector2(9f, 7f), 4, 13, 18, 14, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim49.iID, anim49);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RunStopDown)
         {
             Animation anim50 = new Animation(0, 2, GlobalContent.Load<Texture2D>("Effects/Player/RunStopEffect/Down"), new Vector2(10f, 33f), 5, 4, 24, 39, 0, 0, 4, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim50.iID, anim50);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RunStopUp)
         {
             Animation anim51 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Player/RunStopEffect/Up"), new Vector2(12f, 24f), 5, 4, 23, 29, 0, 0, 4, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim51.iID, anim51);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RunStopRight)
         {
             Animation anim52 = new Animation(0, 1, GlobalContent.Load<Texture2D>("Effects/Player/RunStopEffect/Right"), new Vector2(13f, 31f), 5, 4, 28, 35, 0, 0, 4, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim52.iID, anim52);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RunStopLeft)
         {
             Animation anim53 = new Animation(0, 3, GlobalContent.Load<Texture2D>("Effects/Player/RunStopEffect/Left"), new Vector2(18f, 31f), 5, 4, 28, 35, 0, 0, 4, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim53.iID, anim53);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SnowStepUp)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Footsteps/Snow/Down"), new Vector2(2f, 3f), 4, 1, 4, 5, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             });
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = RenderMaster.txNullTex;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SnowStepRight)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Footsteps/Snow/Right"), new Vector2(3f, 2f), 4, 1, 6, 4, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             });
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = RenderMaster.txNullTex;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterStep)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Footsteps/Water/Water"), new Vector2(11f, 17f), 4, 9, 21, 24, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PhaseShiftStart)
         {
             Animation anim54 = new Animation(0, 1, GlobalContent.Load<Texture2D>("Effects/Phase Shift/Shockwave"), new Vector2(18f, 16f), 4, 6, 37, 33, 0, 0, 4, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim54.iID, anim54);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ShieldBreakGroundsmoke)
         {
             Animation anim55 = new Animation(0, 3, GlobalContent.Load<Texture2D>("Sprites/Heroes/ShieldBreak/Smoke"), new Vector2(4f, 9f), 4, 9, 8, 11, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.7f;
             xARC.dixAnimations.Add(anim55.iID, anim55);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GreenSlimePrisonEnd)
         {
             ushort arg_39DD_0 = 0;
             byte arg_39DD_1 = 3;
             Texture2D arg_39DD_2 = Content.Load<Texture2D>("Sprites/Heroes/Debuffs/Slime Prison/End/Slime/Down");
             Vector2 arg_39DD_3 = new Vector2(38f, 38f);
             int arg_39DD_4 = 5;
             int arg_39DD_5 = 3;
             int arg_39DD_6 = 76;
             int arg_39DD_7 = 55;
             int arg_39DD_8 = 0;
             int arg_39DD_9 = 0;
             int arg_39DD_10 = 4;
             Animation.LoopSettings arg_39DD_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_39DD_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_39DD_13 = false;
             bool arg_39DD_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_39D8_0 = array;
             int arg_39D8_1 = 0;
             AnimInsCriteria arg_39D3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_39CE_0 = AnimInsEvent.EventType.PlaySound;
             string arg_39CE_1 = "GigaSlime_PrisonDestroyed";
             float[] array2 = new float[1];
             arg_39D8_0[arg_39D8_1] = new AnimationInstruction(arg_39D3_0, new AnimInsEvent(arg_39CE_0, arg_39CE_1, array2));
             Animation anim56 = new Animation(arg_39DD_0, arg_39DD_1, arg_39DD_2, arg_39DD_3, arg_39DD_4, arg_39DD_5, arg_39DD_6, arg_39DD_7, arg_39DD_8, arg_39DD_9, arg_39DD_10, arg_39DD_11, arg_39DD_12, arg_39DD_13, arg_39DD_14, array);
             xARC.dixAnimations.Add(anim56.iID, anim56);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RedSlimePrisonEnd)
         {
             ushort arg_3A6D_0 = 0;
             byte arg_3A6D_1 = 3;
             Texture2D arg_3A6D_2 = Content.Load<Texture2D>("Sprites/Heroes/Debuffs/Slime Prison Red/End/Slime/Down");
             Vector2 arg_3A6D_3 = new Vector2(38f, 38f);
             int arg_3A6D_4 = 5;
             int arg_3A6D_5 = 3;
             int arg_3A6D_6 = 76;
             int arg_3A6D_7 = 55;
             int arg_3A6D_8 = 0;
             int arg_3A6D_9 = 0;
             int arg_3A6D_10 = 4;
             Animation.LoopSettings arg_3A6D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3A6D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3A6D_13 = false;
             bool arg_3A6D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_3A68_0 = array;
             int arg_3A68_1 = 0;
             AnimInsCriteria arg_3A63_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_3A5E_0 = AnimInsEvent.EventType.PlaySound;
             string arg_3A5E_1 = "GigaSlime_PrisonDestroyed";
             float[] array2 = new float[1];
             arg_3A68_0[arg_3A68_1] = new AnimationInstruction(arg_3A63_0, new AnimInsEvent(arg_3A5E_0, arg_3A5E_1, array2));
             Animation anim57 = new Animation(arg_3A6D_0, arg_3A6D_1, arg_3A6D_2, arg_3A6D_3, arg_3A6D_4, arg_3A6D_5, arg_3A6D_6, arg_3A6D_7, arg_3A6D_8, arg_3A6D_9, arg_3A6D_10, arg_3A6D_11, arg_3A6D_12, arg_3A6D_13, arg_3A6D_14, array);
             xARC.dixAnimations.Add(anim57.iID, anim57);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GreenForestSign01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Forest/SignBounce"), new Vector2(12f, 23f), 4, 1, 21, 27, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Forest/SignBounce"), new Vector2(12f, 23f), 5, 6, 21, 27, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_3C4A_0 = xARC.dixAnimations;
             ushort arg_3C4A_1 = 2;
             ushort arg_3C45_0 = 2;
             byte arg_3C45_1 = 0;
             Texture2D arg_3C45_2 = Content.Load<Texture2D>("Sprites/Environment/Forest/SignBounce");
             Vector2 arg_3C45_3 = new Vector2(12f, 23f);
             int arg_3C45_4 = 6;
             int arg_3C45_5 = 6;
             int arg_3C45_6 = 21;
             int arg_3C45_7 = 27;
             int arg_3C45_8 = 0;
             int arg_3C45_9 = 0;
             int arg_3C45_10 = 6;
             Animation.LoopSettings arg_3C45_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3C45_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3C45_13 = false;
             bool arg_3C45_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_3C40_0 = array;
             int arg_3C40_1 = 0;
             AnimInsCriteria arg_3C3B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_3C36_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_3C40_0[arg_3C40_1] = new AnimationInstruction(arg_3C3B_0, new AnimInsEvent(arg_3C36_0, array2));
             arg_3C4A_0[arg_3C4A_1] = new Animation(arg_3C45_0, arg_3C45_1, arg_3C45_2, arg_3C45_3, arg_3C45_4, arg_3C45_5, arg_3C45_6, arg_3C45_7, arg_3C45_8, arg_3C45_9, arg_3C45_10, arg_3C45_11, arg_3C45_12, arg_3C45_13, arg_3C45_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.NormalCaveSign01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Forest/SignCaveBounce"), new Vector2(12f, 23f), 4, 1, 21, 27, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Forest/SignCaveBounce"), new Vector2(12f, 23f), 5, 6, 21, 27, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_3E11_0 = xARC.dixAnimations;
             ushort arg_3E11_1 = 2;
             ushort arg_3E0C_0 = 2;
             byte arg_3E0C_1 = 0;
             Texture2D arg_3E0C_2 = Content.Load<Texture2D>("Sprites/Environment/Forest/SignCaveBounce");
             Vector2 arg_3E0C_3 = new Vector2(12f, 23f);
             int arg_3E0C_4 = 6;
             int arg_3E0C_5 = 6;
             int arg_3E0C_6 = 21;
             int arg_3E0C_7 = 27;
             int arg_3E0C_8 = 0;
             int arg_3E0C_9 = 0;
             int arg_3E0C_10 = 6;
             Animation.LoopSettings arg_3E0C_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3E0C_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3E0C_13 = false;
             bool arg_3E0C_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_3E07_0 = array;
             int arg_3E07_1 = 0;
             AnimInsCriteria arg_3E02_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_3DFD_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_3E07_0[arg_3E07_1] = new AnimationInstruction(arg_3E02_0, new AnimInsEvent(arg_3DFD_0, array2));
             arg_3E11_0[arg_3E11_1] = new Animation(arg_3E0C_0, arg_3E0C_1, arg_3E0C_2, arg_3E0C_3, arg_3E0C_4, arg_3E0C_5, arg_3E0C_6, arg_3E0C_7, arg_3E0C_8, arg_3E0C_9, arg_3E0C_10, arg_3E0C_11, arg_3E0C_12, arg_3E0C_13, arg_3E0C_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.HalloweenForestSign01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/SignBounce"), new Vector2(12f, 23f), 4, 1, 21, 27, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/SignBounce"), new Vector2(12f, 23f), 5, 6, 21, 27, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_3FD8_0 = xARC.dixAnimations;
             ushort arg_3FD8_1 = 2;
             ushort arg_3FD3_0 = 2;
             byte arg_3FD3_1 = 0;
             Texture2D arg_3FD3_2 = Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/SignBounce");
             Vector2 arg_3FD3_3 = new Vector2(12f, 23f);
             int arg_3FD3_4 = 6;
             int arg_3FD3_5 = 6;
             int arg_3FD3_6 = 21;
             int arg_3FD3_7 = 27;
             int arg_3FD3_8 = 0;
             int arg_3FD3_9 = 0;
             int arg_3FD3_10 = 6;
             Animation.LoopSettings arg_3FD3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3FD3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3FD3_13 = false;
             bool arg_3FD3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_3FCE_0 = array;
             int arg_3FCE_1 = 0;
             AnimInsCriteria arg_3FC9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_3FC4_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_3FCE_0[arg_3FCE_1] = new AnimationInstruction(arg_3FC9_0, new AnimInsEvent(arg_3FC4_0, array2));
             arg_3FD8_0[arg_3FD8_1] = new Animation(arg_3FD3_0, arg_3FD3_1, arg_3FD3_2, arg_3FD3_3, arg_3FD3_4, arg_3FD3_5, arg_3FD3_6, arg_3FD3_7, arg_3FD3_8, arg_3FD3_9, arg_3FD3_10, arg_3FD3_11, arg_3FD3_12, arg_3FD3_13, arg_3FD3_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FlyingTempleSign01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ancient Temple/SignBounce"), new Vector2(10f, 23f), 4, 1, 20, 26, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Ancient Temple/SignBounce"), new Vector2(10f, 23f), 5, 6, 20, 26, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_419F_0 = xARC.dixAnimations;
             ushort arg_419F_1 = 2;
             ushort arg_419A_0 = 2;
             byte arg_419A_1 = 0;
             Texture2D arg_419A_2 = Content.Load<Texture2D>("Sprites/Environment/Ancient Temple/SignBounce");
             Vector2 arg_419A_3 = new Vector2(10f, 23f);
             int arg_419A_4 = 6;
             int arg_419A_5 = 6;
             int arg_419A_6 = 20;
             int arg_419A_7 = 26;
             int arg_419A_8 = 0;
             int arg_419A_9 = 0;
             int arg_419A_10 = 6;
             Animation.LoopSettings arg_419A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_419A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_419A_13 = false;
             bool arg_419A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_4195_0 = array;
             int arg_4195_1 = 0;
             AnimInsCriteria arg_4190_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_418B_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_4195_0[arg_4195_1] = new AnimationInstruction(arg_4190_0, new AnimInsEvent(arg_418B_0, array2));
             arg_419F_0[arg_419F_1] = new Animation(arg_419A_0, arg_419A_1, arg_419A_2, arg_419A_3, arg_419A_4, arg_419A_5, arg_419A_6, arg_419A_7, arg_419A_8, arg_419A_9, arg_419A_10, arg_419A_11, arg_419A_12, arg_419A_13, arg_419A_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GreenForestSign02)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Forest/Sign02Bounce"), new Vector2(18f, 39f), 4, 1, 32, 43, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             Dictionary<ushort, Animation> arg_42E8_0 = xARC.dixAnimations;
             ushort arg_42E8_1 = 1;
             ushort arg_42E3_0 = 1;
             byte arg_42E3_1 = 0;
             Texture2D arg_42E3_2 = Content.Load<Texture2D>("Sprites/Environment/Forest/Sign02Bounce");
             Vector2 arg_42E3_3 = new Vector2(18f, 39f);
             int arg_42E3_4 = 5;
             int arg_42E3_5 = 6;
             int arg_42E3_6 = 32;
             int arg_42E3_7 = 43;
             int arg_42E3_8 = 0;
             int arg_42E3_9 = 0;
             int arg_42E3_10 = 6;
             Animation.LoopSettings arg_42E3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_42E3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_42E3_13 = false;
             bool arg_42E3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_42DE_0 = array;
             int arg_42DE_1 = 0;
             AnimInsCriteria arg_42D9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_42D4_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_42DE_0[arg_42DE_1] = new AnimationInstruction(arg_42D9_0, new AnimInsEvent(arg_42D4_0, array2));
             arg_42E8_0[arg_42E8_1] = new Animation(arg_42E3_0, arg_42E3_1, arg_42E3_2, arg_42E3_3, arg_42E3_4, arg_42E3_5, arg_42E3_6, arg_42E3_7, arg_42E3_8, arg_42E3_9, arg_42E3_10, arg_42E3_11, arg_42E3_12, arg_42E3_13, arg_42E3_14, array);
             Dictionary<ushort, Animation> arg_435B_0 = xARC.dixAnimations;
             ushort arg_435B_1 = 2;
             ushort arg_4356_0 = 2;
             byte arg_4356_1 = 0;
             Texture2D arg_4356_2 = Content.Load<Texture2D>("Sprites/Environment/Forest/Sign02Bounce");
             Vector2 arg_4356_3 = new Vector2(18f, 39f);
             int arg_4356_4 = 6;
             int arg_4356_5 = 6;
             int arg_4356_6 = 32;
             int arg_4356_7 = 43;
             int arg_4356_8 = 0;
             int arg_4356_9 = 0;
             int arg_4356_10 = 6;
             Animation.LoopSettings arg_4356_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_4356_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_4356_13 = false;
             bool arg_4356_14 = false;
             array = new AnimationInstruction[1];
             AnimationInstruction[] arg_4351_0 = array;
             int arg_4351_1 = 0;
             AnimInsCriteria arg_434C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_4347_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_4351_0[arg_4351_1] = new AnimationInstruction(arg_434C_0, new AnimInsEvent(arg_4347_0, array2));
             arg_435B_0[arg_435B_1] = new Animation(arg_4356_0, arg_4356_1, arg_4356_2, arg_4356_3, arg_4356_4, arg_4356_5, arg_4356_6, arg_4356_7, arg_4356_8, arg_4356_9, arg_4356_10, arg_4356_11, arg_4356_12, arg_4356_13, arg_4356_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RockBreak)
         {
             Animation anim58 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone012_EvergrindWest/RockBreak"), new Vector2(49f, 33f), 4, 10, 92, 62, 92, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(anim58.iID, anim58);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BushWhack)
         {
             Animation anim59 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/DeathEffects/Bush"), new Vector2(20f, 18f), 4, 13, 39, 30, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim59.iID, anim59);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BushWhackOrange)
         {
             Animation anim60 = new Animation(0, 0, Content.Load<Texture2D>("Effects/DeathEffects/Bush_orange"), new Vector2(20f, 18f), 4, 13, 39, 30, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim60.iID, anim60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BushWhackAutumn)
         {
             Animation anim61 = new Animation(0, 0, Content.Load<Texture2D>("Effects/DeathEffects/Bush_west"), new Vector2(20f, 18f), 4, 13, 39, 30, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim61.iID, anim61);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BushWhackWinter)
         {
             Animation anim62 = new Animation(0, 0, Content.Load<Texture2D>("Effects/DeathEffects/Bush_winter"), new Vector2(20f, 18f), 4, 13, 39, 30, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim62.iID, anim62);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.TreasureX)
         {
             Animation anim63 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Misc/X/X"), new Vector2(11f, 12f), 4, 10, 22, 23, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim63.iID, anim63);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterLeafRings)
         {
             Animation anim64 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Water/Leaves/cirklar2"), new Vector2(9f, 11f), 5, 7, 19, 21, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.6f;
             xARC.dixAnimations.Add(anim64.iID, anim64);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Group01)
         {
             Animation anim65 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Water/AmbientE"), Vector2.Zero, 5, 10, 35, 32, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.8f;
             xARC.dixAnimations.Add(anim65.iID, anim65);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Group02)
         {
             Animation anim66 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Water/AmbientF"), Vector2.Zero, 5, 10, 40, 17, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.8f;
             xARC.dixAnimations.Add(anim66.iID, anim66);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Group03)
         {
             Animation anim67 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Water/AmbientG"), Vector2.Zero, 5, 10, 48, 19, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.8f;
             xARC.dixAnimations.Add(anim67.iID, anim67);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Halloween_E)
         {
             Animation anim68 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone008_HalloForest/Water/AmbientE"), Vector2.Zero, 7, 10, 35, 32, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim68.iID, anim68);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Halloween_F)
         {
             Animation anim69 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone008_HalloForest/Water/AmbientF"), Vector2.Zero, 7, 10, 40, 17, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim69.iID, anim69);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Halloween_G)
         {
             Animation anim70 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone008_HalloForest/Water/AmbientG"), Vector2.Zero, 7, 10, 48, 19, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim70.iID, anim70);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_SmallA)
         {
             Animation anim71 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/SmallA"), new Vector2(3f, 9f), 4, 8, 6, 12, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight = new DynamicLight();
             xLight.xRenderComponent.xTransform = this.xTransform;
             xLight.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -7f);
             xLight.SetScale(0.09f);
             xLight.xMountObject = new EntityShell(this.xTransform.v2Pos);
             xLight.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight.fFlicker = 0.3f;
             xLight.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight);
             xARC.dixAnimations.Add(anim71.iID, anim71);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_SmallB)
         {
             Animation anim72 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/SmallB"), new Vector2(3f, 11f), 4, 8, 6, 14, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight2 = new DynamicLight();
             xLight2.xRenderComponent.xTransform = this.xTransform;
             xLight2.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight2.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -9f);
             xLight2.SetScale(0.09f);
             xLight2.xMountObject = new EntityShell(this.xTransform.v2Pos);
             xLight2.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight2.fFlicker = 0.3f;
             xLight2.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight2);
             xARC.dixAnimations.Add(anim72.iID, anim72);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_MidA)
         {
             Animation anim73 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/MidA"), new Vector2(3f, 12f), 4, 8, 7, 16, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight3 = new DynamicLight();
             xLight3.xRenderComponent.xTransform = this.xTransform;
             xLight3.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight3.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -6f);
             xLight3.SetScale(0.11f);
             xLight3.xMountObject = new EntityShell(this.xTransform.v2Pos);
             xLight3.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight3.fFlicker = 0.3f;
             xLight3.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight3);
             xARC.dixAnimations.Add(anim73.iID, anim73);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_MidB)
         {
             Animation anim74 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/MidB"), new Vector2(3f, 11f), 4, 8, 7, 15, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight4 = new DynamicLight();
             xLight4.xRenderComponent.xTransform = this.xTransform;
             xLight4.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight4.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -5f);
             xLight4.SetScale(0.11f);
             xLight4.xMountObject = new EntityShell(this.xTransform.v2Pos);
             xLight4.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight4.fFlicker = 0.3f;
             xLight4.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight4);
             xARC.dixAnimations.Add(anim74.iID, anim74);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_MidC)
         {
             Animation anim75 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/MidC"), new Vector2(3f, 14f), 4, 8, 7, 18, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight5 = new DynamicLight();
             xLight5.xRenderComponent.xTransform = this.xTransform;
             xLight5.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight5.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -8f);
             xLight5.SetScale(0.11f);
             xLight5.xMountObject = new EntityShell(this.xTransform.v2Pos);
             xLight5.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight5.fFlicker = 0.3f;
             xLight5.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight5);
             xARC.dixAnimations.Add(anim75.iID, anim75);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_BigA)
         {
             Animation anim76 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/BigA"), new Vector2(4f, 18f), 4, 8, 9, 22, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight6 = new DynamicLight();
             xLight6.xRenderComponent.xTransform = this.xTransform;
             xLight6.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight6.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -12f);
             xLight6.SetScale(0.14f);
             xLight6.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight6.fFlicker = 0.3f;
             xLight6.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight6);
             xARC.dixAnimations.Add(anim76.iID, anim76);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_Flame)
         {
             Animation anim77 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/candle_flame"), new Vector2(4f, 9f), 4, 8, 9, 10, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim77.iID, anim77);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.CrateBreak)
         {
             ushort arg_5062_0 = 0;
             byte arg_5062_1 = 0;
             Texture2D arg_5062_2 = GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/Crate/CrateBreak");
             Vector2 arg_5062_3 = new Vector2(39f, 27f);
             int arg_5062_4 = 5;
             int arg_5062_5 = 6;
             int arg_5062_6 = 78;
             int arg_5062_7 = 44;
             int arg_5062_8 = 0;
             int arg_5062_9 = 0;
             int arg_5062_10 = 6;
             Animation.LoopSettings arg_5062_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_5062_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_5062_13 = false;
             bool arg_5062_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_4FC9_0 = array;
             int arg_4FC9_1 = 0;
             AnimInsCriteria arg_4FC4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_4FBF_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_4FC9_0[arg_4FC9_1] = new AnimationInstruction(arg_4FC4_0, new AnimInsEvent(arg_4FBF_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_505D_0 = array;
             int arg_505D_1 = 2;
             AnimInsCriteria arg_5058_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_5053_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_505D_0[arg_505D_1] = new AnimationInstruction(arg_5058_0, new AnimInsEvent(arg_5053_0, array2));
             Animation anim78 = new Animation(arg_5062_0, arg_5062_1, arg_5062_2, arg_5062_3, arg_5062_4, arg_5062_5, arg_5062_6, arg_5062_7, arg_5062_8, arg_5062_9, arg_5062_10, arg_5062_11, arg_5062_12, arg_5062_13, arg_5062_14, array);
             xARC.dixAnimations.Add(anim78.iID, anim78);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.CrateBreak_Snowland)
         {
             ushort arg_51A2_0 = 0;
             byte arg_51A2_1 = 0;
             Texture2D arg_51A2_2 = GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/Crate/CrateBreak_snowland");
             Vector2 arg_51A2_3 = new Vector2(39f, 27f);
             int arg_51A2_4 = 5;
             int arg_51A2_5 = 6;
             int arg_51A2_6 = 78;
             int arg_51A2_7 = 44;
             int arg_51A2_8 = 0;
             int arg_51A2_9 = 0;
             int arg_51A2_10 = 6;
             Animation.LoopSettings arg_51A2_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_51A2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_51A2_13 = false;
             bool arg_51A2_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_5109_0 = array;
             int arg_5109_1 = 0;
             AnimInsCriteria arg_5104_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_50FF_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_5109_0[arg_5109_1] = new AnimationInstruction(arg_5104_0, new AnimInsEvent(arg_50FF_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_519D_0 = array;
             int arg_519D_1 = 2;
             AnimInsCriteria arg_5198_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_5193_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_519D_0[arg_519D_1] = new AnimationInstruction(arg_5198_0, new AnimInsEvent(arg_5193_0, array2));
             Animation anim79 = new Animation(arg_51A2_0, arg_51A2_1, arg_51A2_2, arg_51A2_3, arg_51A2_4, arg_51A2_5, arg_51A2_6, arg_51A2_7, arg_51A2_8, arg_51A2_9, arg_51A2_10, arg_51A2_11, arg_51A2_12, arg_51A2_13, arg_51A2_14, array);
             xARC.dixAnimations.Add(anim79.iID, anim79);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BarrelBreak)
         {
             ushort arg_52E4_0 = 0;
             byte arg_52E4_1 = 0;
             Texture2D arg_52E4_2 = GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/Barrel/BarrelBreak");
             Vector2 arg_52E4_3 = new Vector2(27f, 32f);
             int arg_52E4_4 = 4;
             int arg_52E4_5 = 12;
             int arg_52E4_6 = 52;
             int arg_52E4_7 = 51;
             int arg_52E4_8 = 0;
             int arg_52E4_9 = 0;
             int arg_52E4_10 = 12;
             Animation.LoopSettings arg_52E4_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_52E4_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_52E4_13 = false;
             bool arg_52E4_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_524B_0 = array;
             int arg_524B_1 = 0;
             AnimInsCriteria arg_5246_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_5241_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_524B_0[arg_524B_1] = new AnimationInstruction(arg_5246_0, new AnimInsEvent(arg_5241_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_52DF_0 = array;
             int arg_52DF_1 = 2;
             AnimInsCriteria arg_52DA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_52D5_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_52DF_0[arg_52DF_1] = new AnimationInstruction(arg_52DA_0, new AnimInsEvent(arg_52D5_0, array2));
             Animation anim80 = new Animation(arg_52E4_0, arg_52E4_1, arg_52E4_2, arg_52E4_3, arg_52E4_4, arg_52E4_5, arg_52E4_6, arg_52E4_7, arg_52E4_8, arg_52E4_9, arg_52E4_10, arg_52E4_11, arg_52E4_12, arg_52E4_13, arg_52E4_14, array);
             xARC.dixAnimations.Add(anim80.iID, anim80);
             xARC.fVirtualHeight -= 15f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BarrelBreak_Snowland)
         {
             ushort arg_5436_0 = 0;
             byte arg_5436_1 = 0;
             Texture2D arg_5436_2 = GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/Barrel/BarrelBreak_snowland");
             Vector2 arg_5436_3 = new Vector2(27f, 32f);
             int arg_5436_4 = 4;
             int arg_5436_5 = 12;
             int arg_5436_6 = 52;
             int arg_5436_7 = 51;
             int arg_5436_8 = 0;
             int arg_5436_9 = 0;
             int arg_5436_10 = 12;
             Animation.LoopSettings arg_5436_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_5436_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_5436_13 = false;
             bool arg_5436_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_539D_0 = array;
             int arg_539D_1 = 0;
             AnimInsCriteria arg_5398_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_5393_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_539D_0[arg_539D_1] = new AnimationInstruction(arg_5398_0, new AnimInsEvent(arg_5393_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_5431_0 = array;
             int arg_5431_1 = 2;
             AnimInsCriteria arg_542C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_5427_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_5431_0[arg_5431_1] = new AnimationInstruction(arg_542C_0, new AnimInsEvent(arg_5427_0, array2));
             Animation anim81 = new Animation(arg_5436_0, arg_5436_1, arg_5436_2, arg_5436_3, arg_5436_4, arg_5436_5, arg_5436_6, arg_5436_7, arg_5436_8, arg_5436_9, arg_5436_10, arg_5436_11, arg_5436_12, arg_5436_13, arg_5436_14, array);
             xARC.dixAnimations.Add(anim81.iID, anim81);
             xARC.fVirtualHeight -= 15f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FlyingTempleCrystalBreak)
         {
             Animation anim82 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Bullethell/Crystal/Dead"), new Vector2(34f, 33f), 4, 11, 66, 56, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim82.iID, anim82);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ThornDisappear)
         {
             Animation anim83 = new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 3, 7, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             anim83.bReversePlayback = true;
             xARC.dixAnimations.Add(anim83.iID, anim83);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ThornDisappear_Summer)
         {
             Animation anim84 = new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/Appear"), new Vector2(19f, 29f), 3, 7, 34, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             anim84.bReversePlayback = true;
             xARC.dixAnimations.Add(anim84.iID, anim84);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ThornDisappear_Halloween)
         {
             Animation anim85 = new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 3, 7, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             anim85.bReversePlayback = true;
             xARC.dixAnimations.Add(anim85.iID, anim85);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.JarBreak)
         {
             Animation anim86 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/JarBreak"), new Vector2(28f, 28f), 4, 14, 57, 38, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim86.iID, anim86);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.JarBreak_Snowland)
         {
             Animation anim87 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/JarBreak_snowland"), new Vector2(28f, 28f), 4, 14, 57, 38, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim87.iID, anim87);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.JarFlyingBreak)
         {
             Animation anim88 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/JarBreak_flying"), new Vector2(27f, 24f), 4, 9, 53, 31, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim88.iID, anim88);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GhostTears)
         {
             Animation anim89 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Ghost/Flavor/Tears"), new Vector2(19f, 27f), 4, 20, 38, 30, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim89.iID, anim89);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Death_PlayerDeathGlitterA_NoLoop)
         {
             Animation anim90 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hero Death/Glitter/GlitterA"), new Vector2(5f, 5f), 4, 8, 11, 11, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     12f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.1125f
                 }))
             });
             xARC.dixAnimations.Add(anim90.iID, anim90);
             xARC.xCamera = new Camera();
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Death_PlayerDeathGlitterA)
         {
             Animation anim91 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hero Death/Glitter/GlitterA"), new Vector2(5f, 5f), 4, 8, 11, 11, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim91.iID, anim91);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Death_PlayerDeathGlitterB)
         {
             Animation anim92 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hero Death/Glitter/GlitterB"), new Vector2(6f, 6f), 4, 8, 13, 13, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim92.iID, anim92);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Death_PlayerDeathGlitterC)
         {
             Animation anim93 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hero Death/Glitter/GlitterC"), new Vector2(6f, 6f), 4, 16, 13, 13, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim93.iID, anim93);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.LightShift_ReassembleGlitter)
         {
             Animation anim94 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Mid"), new Vector2(4f, 4f), 5, 5, 9, 9, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim94.iID, anim94);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterA)
         {
             Animation anim95 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Big"), new Vector2(5f, 5f), 5, 5, 11, 11, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.dixAnimations.Add(anim95.iID, anim95);
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterB)
         {
             Animation anim96 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Mid"), new Vector2(4f, 4f), 5, 5, 9, 9, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim96.iID, anim96);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterC)
         {
             Animation anim97 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Small"), new Vector2(3f, 3f), 5, 5, 5, 5, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim97.iID, anim97);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterA_GuiLayer)
         {
             Animation anim98 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Big"), new Vector2(5f, 5f), 5, 5, 11, 11, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.dixAnimations.Add(anim98.iID, anim98);
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.xCamera = new Camera();
             enRegisterLayer = RenderMaster.SubRenderLayer.GUI;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterB_GuiLayer)
         {
             Animation anim99 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Mid"), new Vector2(4f, 4f), 5, 5, 9, 9, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim99.iID, anim99);
             xARC.xCamera = new Camera();
             enRegisterLayer = RenderMaster.SubRenderLayer.GUI;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterC_GuiLayer)
         {
             Animation anim100 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Small"), new Vector2(3f, 3f), 5, 5, 5, 5, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim100.iID, anim100);
             xARC.xCamera = new Camera();
             enRegisterLayer = RenderMaster.SubRenderLayer.GUI;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_Appear)
         {
             Animation anim101 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Items/Card/Effect"), new Vector2(19f, 19f), 4, 6, 37, 37, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim101.iID, anim101);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Glitter_Small)
         {
             Animation anim102 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Small"), new Vector2(3f, 3f), 5, 5, 5, 5, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.fScale = 0.75f;
             xARC.fAlpha = 0.8f;
             xARC.dixAnimations.Add(anim102.iID, anim102);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Glitter_Small_Naniva)
         {
             Animation anim103 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Santa Fae/Navi/Glitter"), new Vector2(4f, 4f), 5, 5, 7, 7, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.fAlpha = 0.8f;
             xARC.dixAnimations.Add(anim103.iID, anim103);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_NextLevel)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txCircleRad25, new Vector2(25f, 25f), 4, 1, 50, 50, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0.06f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     0.075f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     5f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.14f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     -0.03f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     6f
                 }))
             });
             xARC.fScale = 0.1f;
             xARC.fAlpha = 0.35f;
             this.fVirtualHeightMod = 2f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -10f);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_NextLevelV2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txCircleRad25, new Vector2(25f, 25f), 4, 1, 50, 50, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0.065f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     0.075f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     5f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.12f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     -0.03f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     6f
                 }))
             });
             xARC.fScale = 0.1f;
             xARC.fAlpha = 0.35f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Ice)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Ice/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Ice/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Ice/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Ice)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Ice/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Fire)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Fire/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Fire/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Fire/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Fire)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Fire/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Earth)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Earth/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Earth/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Earth/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Earth)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Earth/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Air)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Air/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Air/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Air/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Air)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Air/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Weapon)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Weapon/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Weapon/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Weapon/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Weapon)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Weapon/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BuffEffectEliteEnemy)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Elite Aura/Aura"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PetAura)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Pet Aura/Aura"), new Vector2(17f, 10f), 4, 12, 33, 19, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeTarget_Small)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetSmall"), new Vector2(16f, 16f), 4, 1, 32, 32, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     0.07f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetSmall"), new Vector2(16f, 16f), 4, 1, 32, 32, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetSmall"), new Vector2(16f, 16f), 4, 1, 32, 32, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     5f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetMedium"), new Vector2(19f, 19f), 4, 1, 38, 38, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
                 {
                     1f
                 }))
             });
             xARC.fAlpha = 0f;
             xARC.fScale = 0.25f;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargePath_Small)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Throw/TrailSmall"), new Vector2(4f, 1f), 4, 1, 9, 1, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0f,
                     0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     0.07f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Throw/TrailSmall"), new Vector2(4f, 1f), 4, 1, 9, 1, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Throw/TrailSmall"), new Vector2(4f, 1f), 4, 1, 9, 1, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0f,
                     0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     5f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Throw/TrailSmall"), new Vector2(4f, 1f), 4, 1, 9, 1, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.fAlpha = 0f;
             xARC.v2Scale = new Vector2(1f, 0.25f);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChimneySmoke)
         {
             int iVersion = Program.GetTheGame().randomInVisual.Next(6);
             if (iVersion < 3)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeA/Start"), new Vector2(20f, 17f), 4, 7, 39, 32, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeA/Idle"), new Vector2(20f, 17f), 4, 8, 39, 32, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             else if (iVersion < 5)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeB/Start"), new Vector2(20f, 17f), 4, 7, 40, 32, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeB/Idle"), new Vector2(20f, 17f), 4, 8, 40, 32, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeC/Start"), new Vector2(13f, 14f), 4, 7, 25, 25, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeC/Idle"), new Vector2(13f, 14f), 4, 8, 25, 25, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             xARC.fScale = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChimneySmokeWitch)
         {
             int iVersion2 = Program.GetTheGame().randomInVisual.Next(6);
             if (iVersion2 < 3)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeA/Start"), new Vector2(20f, 17f), 4, 7, 39, 32, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeA/Idle"), new Vector2(20f, 17f), 4, 8, 39, 32, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             else if (iVersion2 < 5)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeB/Start"), new Vector2(20f, 17f), 4, 7, 40, 32, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeB/Idle"), new Vector2(16f, 14f), 4, 8, 30, 24, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeC/Start"), new Vector2(13f, 14f), 4, 7, 25, 25, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeC/Idle"), new Vector2(13f, 14f), 4, 8, 25, 25, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.fScale = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChimneySmokeEvergrind)
         {
             int iVersion3 = Program.GetTheGame().randomInVisual.Next(6);
             if (iVersion3 < 7)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Evergrind/TypeA/Start"), new Vector2(14f, 12f), 4, 7, 29, 24, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Evergrind/TypeA/Idle"), new Vector2(14f, 12f), 4, 8, 29, 24, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             xARC.fScale = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Confetti01)
         {
             int iRan = CAS.RandomInVisual.Next(12);
             if (iRan < 2)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Blue"), new Vector2(2f, 2f), 4, 5, 5, 5, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else if (iRan < 4)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Green"), new Vector2(2f, 2f), 4, 5, 5, 5, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else if (iRan < 6)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Pink"), new Vector2(2f, 2f), 4, 5, 5, 5, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else if (iRan < 8)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Red"), new Vector2(2f, 2f), 4, 5, 5, 5, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else if (iRan < 10)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Yellow"), new Vector2(2f, 2f), 4, 5, 5, 5, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else if (iRan < 12)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Banana/yellow"), new Vector2(2f, 2f), 4, 6, 6, 12, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             xARC.fScale = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.GUI;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ArenaCrowd)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Audience"), new Vector2(0f, 0f), 5, 30, 100, 100, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.SwitchAnimation(0);
             xARC.fPassedTicks = (float)CAS.RandomInVisual.Next(150);
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.HalloweenBat)
         {
             Animation anim104 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Bat/BatIdle"), new Vector2(10f, 7f), 4, 6, 21, 13, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim104.iID, anim104);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Crow)
         {
             Animation anim105 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Bat/BatIdle"), new Vector2(10f, 7f), 3, 6, 21, 13, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim105.iID, anim105);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FallingLeaf_Brown)
         {
             Animation anim106 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Falling Leaf/Brown"), new Vector2(9f, 6f), 4, 18, 14, 8, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim106.iID, anim106);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FallingLeaf_Green)
         {
             Animation anim107 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Falling Leaf/Green"), new Vector2(9f, 6f), 4, 18, 14, 8, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim107.iID, anim107);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FallingLeaf_SpringGreen)
         {
             Animation anim108 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Santa Fae/Navi/Particle Leaf/Falling"), new Vector2(9f, 6f), 4, 18, 15, 8, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim108.iID, anim108);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FallingLeaf_Orange)
         {
             Animation anim109 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Falling Leaf/Orange"), new Vector2(9f, 6f), 4, 18, 14, 8, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim109.iID, anim109);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FallingLeaf_Yellow)
         {
             Animation anim110 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Falling Leaf/Yellow"), new Vector2(9f, 6f), 4, 18, 14, 8, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim110.iID, anim110);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Leaf_Tumbling)
         {
             Animation anim111 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Santa Fae/Navi/Particle Leaf/Rolling"), new Vector2(5f, 5f), 4, 5, 11, 10, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim111.iID, anim111);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Leaf_Tumbling_AboveSorted)
         {
             Animation anim112 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Santa Fae/Navi/Particle Leaf/Rolling"), new Vector2(5f, 5f), 4, 5, 11, 10, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim112.iID, anim112);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BurningFire01)
         {
             Animation anim113 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Fire/TypeA"), new Vector2(8f, 16f), 4, 5, 15, 17, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim113.iID, anim113);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BurningParticle)
         {
             Animation anim114 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Burn/Burn"), new Vector2(3f, 19f), 4, 15, 8, 21, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 5f;
             xARC.dixAnimations.Add(anim114.iID, anim114);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ClockAnimation01)
         {
             ushort arg_8271_0 = 0;
             byte arg_8271_1 = 0;
             Texture2D arg_8271_2 = Content.Load<Texture2D>("Effects/Ambient/Clock/Idle");
             Vector2 arg_8271_3 = new Vector2(0f, 42f);
             int arg_8271_4 = 6;
             int arg_8271_5 = 14;
             int arg_8271_6 = 20;
             int arg_8271_7 = 48;
             int arg_8271_8 = 0;
             int arg_8271_9 = 0;
             int arg_8271_10 = 14;
             Animation.LoopSettings arg_8271_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_8271_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_8271_13 = false;
             bool arg_8271_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_8228_0 = array;
             int arg_8228_1 = 0;
             AnimInsCriteria arg_8223_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_821E_0 = AnimInsEvent.EventType.PlaySound;
             string arg_821E_1 = "Clock";
             float[] array2 = new float[1];
             arg_8228_0[arg_8228_1] = new AnimationInstruction(arg_8223_0, new AnimInsEvent(arg_821E_0, arg_821E_1, array2));
             AnimationInstruction[] arg_826C_0 = array;
             int arg_826C_1 = 1;
             AnimInsCriteria arg_8267_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 8f
             });
             AnimInsEvent.EventType arg_8262_0 = AnimInsEvent.EventType.PlaySound;
             string arg_8262_1 = "Clock";
             array2 = new float[1];
             arg_826C_0[arg_826C_1] = new AnimationInstruction(arg_8267_0, new AnimInsEvent(arg_8262_0, arg_8262_1, array2));
             Animation anim115 = new Animation(arg_8271_0, arg_8271_1, arg_8271_2, arg_8271_3, arg_8271_4, arg_8271_5, arg_8271_6, arg_8271_7, arg_8271_8, arg_8271_9, arg_8271_10, arg_8271_11, arg_8271_12, arg_8271_13, arg_8271_14, array);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim115.iID, anim115);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed01)
         {
             Animation anim116 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/01"), new Vector2(9f, 4f), 8, 10, 19, 9, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim116.iID, anim116);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed01_Variant)
         {
             Animation anim117 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/01"), new Vector2(9f, 4f), 8, 10, 19, 9, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             anim117.enSpriteEffect = SpriteEffects.FlipHorizontally;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim117.iID, anim117);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed02)
         {
             Animation anim118 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/02"), new Vector2(5f, 3f), 7, 10, 12, 8, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim118.iID, anim118);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed02_Variant)
         {
             Animation anim119 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/02"), new Vector2(5f, 3f), 7, 10, 12, 8, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             anim119.enSpriteEffect = SpriteEffects.FlipHorizontally;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim119.iID, anim119);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed03)
         {
             ushort arg_851A_0 = 0;
             byte arg_851A_1 = 0;
             Texture2D arg_851A_2 = Content.Load<Texture2D>("Effects/Ambient/Waterdetails/03");
             Vector2 arg_851A_3 = new Vector2(3f, 2f);
             int arg_851A_4 = 7;
             int arg_851A_5 = 10;
             int arg_851A_6 = 11;
             int arg_851A_7 = 5;
             int arg_851A_8 = 0;
             int arg_851A_9 = 0;
             int arg_851A_10 = 14;
             Animation.LoopSettings arg_851A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_851A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_851A_13 = false;
             bool arg_851A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_84EA_0 = array;
             int arg_84EA_1 = 0;
             AnimInsCriteria arg_84E5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_84E0_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 60f;
             arg_84EA_0[arg_84EA_1] = new AnimationInstruction(arg_84E5_0, new AnimInsEvent(arg_84E0_0, array2));
             AnimationInstruction[] arg_8515_0 = array;
             int arg_8515_1 = 1;
             AnimInsCriteria arg_8510_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_850B_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_8515_0[arg_8515_1] = new AnimationInstruction(arg_8510_0, new AnimInsEvent(arg_850B_0, array2));
             Animation anim120 = new Animation(arg_851A_0, arg_851A_1, arg_851A_2, arg_851A_3, arg_851A_4, arg_851A_5, arg_851A_6, arg_851A_7, arg_851A_8, arg_851A_9, arg_851A_10, arg_851A_11, arg_851A_12, arg_851A_13, arg_851A_14, array);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim120.iID, anim120);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed03_Variant)
         {
             ushort arg_8607_0 = 0;
             byte arg_8607_1 = 0;
             Texture2D arg_8607_2 = Content.Load<Texture2D>("Effects/Ambient/Waterdetails/03");
             Vector2 arg_8607_3 = new Vector2(3f, 2f);
             int arg_8607_4 = 7;
             int arg_8607_5 = 10;
             int arg_8607_6 = 11;
             int arg_8607_7 = 5;
             int arg_8607_8 = 0;
             int arg_8607_9 = 0;
             int arg_8607_10 = 14;
             Animation.LoopSettings arg_8607_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_8607_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_8607_13 = false;
             bool arg_8607_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_85D7_0 = array;
             int arg_85D7_1 = 0;
             AnimInsCriteria arg_85D2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_85CD_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 60f;
             arg_85D7_0[arg_85D7_1] = new AnimationInstruction(arg_85D2_0, new AnimInsEvent(arg_85CD_0, array2));
             AnimationInstruction[] arg_8602_0 = array;
             int arg_8602_1 = 1;
             AnimInsCriteria arg_85FD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_85F8_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_8602_0[arg_8602_1] = new AnimationInstruction(arg_85FD_0, new AnimInsEvent(arg_85F8_0, array2));
             Animation anim121 = new Animation(arg_8607_0, arg_8607_1, arg_8607_2, arg_8607_3, arg_8607_4, arg_8607_5, arg_8607_6, arg_8607_7, arg_8607_8, arg_8607_9, arg_8607_10, arg_8607_11, arg_8607_12, arg_8607_13, arg_8607_14, array);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             anim121.enSpriteEffect = SpriteEffects.FlipHorizontally;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim121.iID, anim121);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterRock01)
         {
             Animation anim122 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/Rock"), Vector2.Zero, 6, 10, 20, 18, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim122.iID, anim122);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterRock02)
         {
             Animation anim123 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/SmallRock"), Vector2.Zero, 6, 10, 17, 13, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim123.iID, anim123);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterFallStart)
         {
             Animation anim124 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterfall/Start"), Vector2.Zero, 6, 2, 51, 10, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim124.iID, anim124);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterFallMid)
         {
             Animation anim125 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterfall/Mid"), Vector2.Zero, 6, 7, 51, 21, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim125.iID, anim125);
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter][0] = RenderMaster.txNullTex;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterFallEnd)
         {
             Animation anim126 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterfall/End"), Vector2.Zero, 6, 3, 53, 15, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim126.iID, anim126);
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter][0] = RenderMaster.txNullTex;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterFallEndRings)
         {
             Animation anim127 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterfall/Rings"), Vector2.Zero, 7, 10, 69, 17, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim127.iID, anim127);
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter][0] = RenderMaster.txNullTex;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)
         {
             Animation anim128 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/BigA"), new Vector2(17f, 22f), 6, 7, 34, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim128.iID, anim128);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/BigA"), new Vector2(17f, 22f), 4, 1, 34, 35, 204, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Disappear/BigA"), new Vector2(17f, 22f), 4, 7, 34, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 36, 35, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)
         {
             Animation anim129 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/SmallA"), new Vector2(17f, 20f), 6, 7, 36, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim129.iID, anim129);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/SmallA"), new Vector2(17f, 20f), 6, 1, 36, 35, 216, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Disappear/SmallA"), new Vector2(17f, 20f), 4, 7, 36, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 36, 35, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)
         {
             Animation anim130 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/SmallA"), new Vector2(17f, 20f), 6, 7, 36, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             anim130.enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(anim130.iID, anim130);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/SmallA"), new Vector2(17f, 20f), 4, 1, 36, 35, 216, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Disappear/SmallA"), new Vector2(17f, 20f), 4, 7, 36, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 36, 35, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_RootBig)
         {
             Animation anim131 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Root/Big"), new Vector2(14f, 31f), 6, 7, 30, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim131.iID, anim131);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Root/Big"), new Vector2(14f, 31f), 4, 1, 30, 35, 180, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Root/Big"), new Vector2(14f, 31f), 4, 7, 30, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[2].bReversePlayback = true;
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 30, 35, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_BushA)
         {
             Animation anim132 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Bush/Small"), new Vector2(17f, 38f), 4, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim132.iID, anim132);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Bush/Small"), new Vector2(17f, 38f), 4, 1, 34, 43, 170, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Bush/Small"), new Vector2(17f, 38f), 4, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[2].bReversePlayback = true;
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_BushAHalloween)
         {
             Animation anim133 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/HalloweenBush/Small"), new Vector2(17f, 38f), 4, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim133.iID, anim133);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/HalloweenBush/Small"), new Vector2(17f, 38f), 4, 1, 34, 43, 170, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/HalloweenBush/Small"), new Vector2(17f, 38f), 4, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[2].bReversePlayback = true;
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_ArcadeModeLaserfence)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/StartBlue"), new Vector2(10f, 35f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/IdleBlue"), new Vector2(10f, 35f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/EndBlue"), new Vector2(10f, 35f), 4, 3, 19, 42, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             }));
             xARC.dixAnimations.Add(3, new Animation(3, 0, RenderMaster.txNullTex, new Vector2(10f, 35f), 4, 1, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             StaticRenderComponent xHole = new StaticRenderComponent(Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/Base"), new TransformComponent(v2Position));
             xHole.v2Offset = new Vector2(5f, 5f);
             Program.GetTheGame().xRenderMaster.RegisterBelowSorted(xHole);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_SpearFence)
         {
             Animation anim134 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Spear/Appear"), new Vector2(12f, 39f), 4, 9, 25, 51, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim134.iID, anim134);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Spear/Appear"), new Vector2(12f, 39f), 4, 1, 25, 51, 200, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Spear/Appear"), new Vector2(12f, 39f), 4, 3, 25, 51, 200, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_Polka)
         {
             Animation anim135 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Polka/Appear"), new Vector2(5f, 34f), 4, 6, 16, 39, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim135.iID, anim135);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Polka/Appear"), new Vector2(5f, 34f), 4, 1, 16, 39, 96, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Polka/Appear"), new Vector2(5f, 34f), 4, 6, 16, 39, 112, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Polka/Appear"), new Vector2(5f, 34f), 4, 1, 16, 39, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FishingFloat)
         {
             this.bDestroyAtEnd = false;
             Animation anim136 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Float/Air"), new Vector2(1f, 5f), 6, 1, 5, 8, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim136.iID, anim136);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Float/Idle"), new Vector2(5f, 6f), 4, 1, 13, 11, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Float/Twitch"), new Vector2(5f, 6f), 4, 6, 13, 11, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Float/Submerged"), new Vector2(5f, 5f), 4, 7, 13, 10, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             });
             xARC.dixAnimations[4] = new Animation(4, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 4, 7, 36, 35, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FishingSplashA)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Splash/SplashA"), new Vector2(10f, 28f), 4, 8, 20, 33, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FishingSplashB)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Splash/SplashB"), new Vector2(15f, 28f), 4, 8, 29, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_Gale)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/Gale"), new Vector2(12f, 25f), 4, 17, 21, 29, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_GaleGlimmer)
         {
             Animation anim137 = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/GaleGlimmer"), new Vector2(11f, 27f), 5, 13, 21, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.dixAnimations.Add(anim137.iID, anim137);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_Attack)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/Attack"), new Vector2(24f, 43f), 4, 17, 48, 56, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_AttackGlimmer)
         {
             Animation anim138 = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/AttackGlimmer"), new Vector2(11f, 27f), 5, 13, 21, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.dixAnimations.Add(anim138.iID, anim138);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_Defense)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/Defense"), new Vector2(18f, 29f), 4, 17, 36, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_DefenseGlimmer)
         {
             Animation anim139 = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/DefenseGlimmer"), new Vector2(11f, 27f), 5, 13, 21, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.dixAnimations.Add(anim139.iID, anim139);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_Spirit)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/Spirit"), new Vector2(22f, 27f), 4, 17, 45, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_SpiritGlimmer)
         {
             Animation anim140 = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/SpiritGlimmer"), new Vector2(11f, 27f), 5, 13, 21, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.dixAnimations.Add(anim140.iID, anim140);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.MagicBlackFade)
         {
             ushort arg_9D55_0 = 0;
             byte arg_9D55_1 = 0;
             Texture2D arg_9D55_2 = RenderMaster.txNoTex;
             Vector2 arg_9D55_3 = new Vector2(0f, 0f);
             int arg_9D55_4 = 4;
             int arg_9D55_5 = 1;
             int arg_9D55_6 = 1;
             int arg_9D55_7 = 1;
             int arg_9D55_8 = 0;
             int arg_9D55_9 = 0;
             int arg_9D55_10 = 1;
             Animation.LoopSettings arg_9D55_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_9D55_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_9D55_13 = false;
             bool arg_9D55_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_9D50_0 = array;
             int arg_9D50_1 = 0;
             AnimInsCriteria arg_9D4B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_9D46_0 = AnimInsEvent.EventType.SetAlpha;
             float[] array2 = new float[1];
             arg_9D50_0[arg_9D50_1] = new AnimationInstruction(arg_9D4B_0, new AnimInsEvent(arg_9D46_0, array2));
             Animation anim141 = new Animation(arg_9D55_0, arg_9D55_1, arg_9D55_2, arg_9D55_3, arg_9D55_4, arg_9D55_5, arg_9D55_6, arg_9D55_7, arg_9D55_8, arg_9D55_9, arg_9D55_10, arg_9D55_11, arg_9D55_12, arg_9D55_13, arg_9D55_14, array);
             xARC.fScale = 1f;
             xARC.cColor = Color.Black;
             xARC.dixAnimations.Add(anim141.iID, anim141);
             Dictionary<ushort, Animation> arg_9E9C_0 = xARC.dixAnimations;
             ushort arg_9E9C_1 = 1;
             ushort arg_9E97_0 = 1;
             byte arg_9E97_1 = 0;
             Texture2D arg_9E97_2 = RenderMaster.txNoTex;
             Vector2 arg_9E97_3 = new Vector2(0f, 0f);
             int arg_9E97_4 = 4;
             int arg_9E97_5 = 2;
             int arg_9E97_6 = 1020;
             int arg_9E97_7 = 810;
             int arg_9E97_8 = 0;
             int arg_9E97_9 = 0;
             int arg_9E97_10 = 1;
             Animation.LoopSettings arg_9E97_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_9E97_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_9E97_13 = false;
             bool arg_9E97_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_9DFE_0 = array;
             int arg_9DFE_1 = 0;
             AnimInsCriteria arg_9DF9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_9DF4_0 = AnimInsEvent.EventType.SetAlpha;
             array2 = new float[1];
             arg_9DFE_0[arg_9DFE_1] = new AnimationInstruction(arg_9DF9_0, new AnimInsEvent(arg_9DF4_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 0.01f
             }));
             AnimationInstruction[] arg_9E92_0 = array;
             int arg_9E92_1 = 2;
             AnimInsCriteria arg_9E8D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_9E88_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 80f;
             arg_9E92_0[arg_9E92_1] = new AnimationInstruction(arg_9E8D_0, new AnimInsEvent(arg_9E88_0, array2));
             arg_9E9C_0[arg_9E9C_1] = new Animation(arg_9E97_0, arg_9E97_1, arg_9E97_2, arg_9E97_3, arg_9E97_4, arg_9E97_5, arg_9E97_6, arg_9E97_7, arg_9E97_8, arg_9E97_9, arg_9E97_10, arg_9E97_11, arg_9E97_12, arg_9E97_13, arg_9E97_14, array);
             Dictionary<ushort, Animation> arg_9FDB_0 = xARC.dixAnimations;
             ushort arg_9FDB_1 = 2;
             ushort arg_9FD6_0 = 2;
             byte arg_9FD6_1 = 0;
             Texture2D arg_9FD6_2 = RenderMaster.txNoTex;
             Vector2 arg_9FD6_3 = new Vector2(0f, 0f);
             int arg_9FD6_4 = 4;
             int arg_9FD6_5 = 2;
             int arg_9FD6_6 = 1020;
             int arg_9FD6_7 = 810;
             int arg_9FD6_8 = 0;
             int arg_9FD6_9 = 0;
             int arg_9FD6_10 = 1;
             Animation.LoopSettings arg_9FD6_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_9FD6_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_9FD6_13 = false;
             bool arg_9FD6_14 = false;
             array = new AnimationInstruction[4];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
             {
                 0.8f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.01f
             }));
             AnimationInstruction[] arg_9FA5_0 = array;
             int arg_9FA5_1 = 2;
             AnimInsCriteria arg_9FA0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_9F9B_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 80f;
             arg_9FA5_0[arg_9FA5_1] = new AnimationInstruction(arg_9FA0_0, new AnimInsEvent(arg_9F9B_0, array2));
             AnimationInstruction[] arg_9FD1_0 = array;
             int arg_9FD1_1 = 3;
             AnimInsCriteria arg_9FCC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_9FC7_0 = AnimInsEvent.EventType.SetAlpha;
             array2 = new float[1];
             arg_9FD1_0[arg_9FD1_1] = new AnimationInstruction(arg_9FCC_0, new AnimInsEvent(arg_9FC7_0, array2));
             arg_9FDB_0[arg_9FDB_1] = new Animation(arg_9FD6_0, arg_9FD6_1, arg_9FD6_2, arg_9FD6_3, arg_9FD6_4, arg_9FD6_5, arg_9FD6_6, arg_9FD6_7, arg_9FD6_8, arg_9FD6_9, arg_9FD6_10, arg_9FD6_11, arg_9FD6_12, arg_9FD6_13, arg_9FD6_14, array);
             this.bDestroyAtEnd = false;
             xARC.fVirtualHeight = 1000f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.TotalBlackFade)
         {
             ushort arg_A05D_0 = 0;
             byte arg_A05D_1 = 0;
             Texture2D arg_A05D_2 = RenderMaster.txNoTex;
             Vector2 arg_A05D_3 = new Vector2(0f, 0f);
             int arg_A05D_4 = 4;
             int arg_A05D_5 = 1;
             int arg_A05D_6 = 1;
             int arg_A05D_7 = 1;
             int arg_A05D_8 = 0;
             int arg_A05D_9 = 0;
             int arg_A05D_10 = 1;
             Animation.LoopSettings arg_A05D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_A05D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_A05D_13 = false;
             bool arg_A05D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_A058_0 = array;
             int arg_A058_1 = 0;
             AnimInsCriteria arg_A053_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_A04E_0 = AnimInsEvent.EventType.SetAlpha;
             float[] array2 = new float[1];
             arg_A058_0[arg_A058_1] = new AnimationInstruction(arg_A053_0, new AnimInsEvent(arg_A04E_0, array2));
             Animation anim142 = new Animation(arg_A05D_0, arg_A05D_1, arg_A05D_2, arg_A05D_3, arg_A05D_4, arg_A05D_5, arg_A05D_6, arg_A05D_7, arg_A05D_8, arg_A05D_9, arg_A05D_10, arg_A05D_11, arg_A05D_12, arg_A05D_13, arg_A05D_14, array);
             xARC.fScale = 1f;
             xARC.cColor = Color.Black;
             xARC.dixAnimations.Add(anim142.iID, anim142);
             Dictionary<ushort, Animation> arg_A1A4_0 = xARC.dixAnimations;
             ushort arg_A1A4_1 = 0;
             ushort arg_A19F_0 = 0;
             byte arg_A19F_1 = 0;
             Texture2D arg_A19F_2 = RenderMaster.txNoTex;
             Vector2 arg_A19F_3 = new Vector2(0f, 0f);
             int arg_A19F_4 = 4;
             int arg_A19F_5 = 2;
             int arg_A19F_6 = 1020;
             int arg_A19F_7 = 810;
             int arg_A19F_8 = 0;
             int arg_A19F_9 = 0;
             int arg_A19F_10 = 1;
             Animation.LoopSettings arg_A19F_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_A19F_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_A19F_13 = false;
             bool arg_A19F_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_A106_0 = array;
             int arg_A106_1 = 0;
             AnimInsCriteria arg_A101_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A0FC_0 = AnimInsEvent.EventType.SetAlpha;
             array2 = new float[1];
             arg_A106_0[arg_A106_1] = new AnimationInstruction(arg_A101_0, new AnimInsEvent(arg_A0FC_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 0.005f
             }));
             AnimationInstruction[] arg_A19A_0 = array;
             int arg_A19A_1 = 2;
             AnimInsCriteria arg_A195_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A190_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 200f;
             arg_A19A_0[arg_A19A_1] = new AnimationInstruction(arg_A195_0, new AnimInsEvent(arg_A190_0, array2));
             arg_A1A4_0[arg_A1A4_1] = new Animation(arg_A19F_0, arg_A19F_1, arg_A19F_2, arg_A19F_3, arg_A19F_4, arg_A19F_5, arg_A19F_6, arg_A19F_7, arg_A19F_8, arg_A19F_9, arg_A19F_10, arg_A19F_11, arg_A19F_12, arg_A19F_13, arg_A19F_14, array);
             Dictionary<ushort, Animation> arg_A2E3_0 = xARC.dixAnimations;
             ushort arg_A2E3_1 = 2;
             ushort arg_A2DE_0 = 2;
             byte arg_A2DE_1 = 0;
             Texture2D arg_A2DE_2 = RenderMaster.txNoTex;
             Vector2 arg_A2DE_3 = new Vector2(0f, 0f);
             int arg_A2DE_4 = 4;
             int arg_A2DE_5 = 2;
             int arg_A2DE_6 = 1020;
             int arg_A2DE_7 = 810;
             int arg_A2DE_8 = 0;
             int arg_A2DE_9 = 0;
             int arg_A2DE_10 = 1;
             Animation.LoopSettings arg_A2DE_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_A2DE_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_A2DE_13 = false;
             bool arg_A2DE_14 = false;
             array = new AnimationInstruction[4];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
             {
                 0.8f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.01f
             }));
             AnimationInstruction[] arg_A2AD_0 = array;
             int arg_A2AD_1 = 2;
             AnimInsCriteria arg_A2A8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A2A3_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 80f;
             arg_A2AD_0[arg_A2AD_1] = new AnimationInstruction(arg_A2A8_0, new AnimInsEvent(arg_A2A3_0, array2));
             AnimationInstruction[] arg_A2D9_0 = array;
             int arg_A2D9_1 = 3;
             AnimInsCriteria arg_A2D4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_A2CF_0 = AnimInsEvent.EventType.SetAlpha;
             array2 = new float[1];
             arg_A2D9_0[arg_A2D9_1] = new AnimationInstruction(arg_A2D4_0, new AnimInsEvent(arg_A2CF_0, array2));
             arg_A2E3_0[arg_A2E3_1] = new Animation(arg_A2DE_0, arg_A2DE_1, arg_A2DE_2, arg_A2DE_3, arg_A2DE_4, arg_A2DE_5, arg_A2DE_6, arg_A2DE_7, arg_A2DE_8, arg_A2DE_9, arg_A2DE_10, arg_A2DE_11, arg_A2DE_12, arg_A2DE_13, arg_A2DE_14, array);
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveAll;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.TotalBlackFadeIn)
         {
             Animation anim143 = new Animation(0, 0, RenderMaster.txNoTex, new Vector2(0f, 0f), 4, 1, 1, 1, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
                 {
                     1f
                 }))
             });
             xARC.fScale = 1f;
             xARC.cColor = Color.Black;
             xARC.dixAnimations.Add(anim143.iID, anim143);
             Dictionary<ushort, Animation> arg_A4AE_0 = xARC.dixAnimations;
             ushort arg_A4AE_1 = 0;
             ushort arg_A4A9_0 = 0;
             byte arg_A4A9_1 = 0;
             Texture2D arg_A4A9_2 = RenderMaster.txNoTex;
             Vector2 arg_A4A9_3 = new Vector2(0f, 0f);
             int arg_A4A9_4 = 4;
             int arg_A4A9_5 = 2;
             int arg_A4A9_6 = 1020;
             int arg_A4A9_7 = 810;
             int arg_A4A9_8 = 0;
             int arg_A4A9_9 = 0;
             int arg_A4A9_10 = 1;
             Animation.LoopSettings arg_A4A9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_A4A9_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_A4A9_13 = false;
             bool arg_A4A9_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_A410_0 = array;
             int arg_A410_1 = 0;
             AnimInsCriteria arg_A40B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A406_0 = AnimInsEvent.EventType.SetAlpha;
             float[] array2 = new float[1];
             arg_A410_0[arg_A410_1] = new AnimationInstruction(arg_A40B_0, new AnimInsEvent(arg_A406_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.005f
             }));
             AnimationInstruction[] arg_A4A4_0 = array;
             int arg_A4A4_1 = 2;
             AnimInsCriteria arg_A49F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A49A_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 200f;
             arg_A4A4_0[arg_A4A4_1] = new AnimationInstruction(arg_A49F_0, new AnimInsEvent(arg_A49A_0, array2));
             arg_A4AE_0[arg_A4AE_1] = new Animation(arg_A4A9_0, arg_A4A9_1, arg_A4A9_2, arg_A4A9_3, arg_A4A9_4, arg_A4A9_5, arg_A4A9_6, arg_A4A9_7, arg_A4A9_8, arg_A4A9_9, arg_A4A9_10, arg_A4A9_11, arg_A4A9_12, arg_A4A9_13, arg_A4A9_14, array);
             Dictionary<ushort, Animation> arg_A5ED_0 = xARC.dixAnimations;
             ushort arg_A5ED_1 = 2;
             ushort arg_A5E8_0 = 2;
             byte arg_A5E8_1 = 0;
             Texture2D arg_A5E8_2 = RenderMaster.txNoTex;
             Vector2 arg_A5E8_3 = new Vector2(0f, 0f);
             int arg_A5E8_4 = 4;
             int arg_A5E8_5 = 2;
             int arg_A5E8_6 = 1020;
             int arg_A5E8_7 = 810;
             int arg_A5E8_8 = 0;
             int arg_A5E8_9 = 0;
             int arg_A5E8_10 = 1;
             Animation.LoopSettings arg_A5E8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_A5E8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_A5E8_13 = false;
             bool arg_A5E8_14 = false;
             array = new AnimationInstruction[4];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
             {
                 0.8f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.01f
             }));
             AnimationInstruction[] arg_A5B7_0 = array;
             int arg_A5B7_1 = 2;
             AnimInsCriteria arg_A5B2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A5AD_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 80f;
             arg_A5B7_0[arg_A5B7_1] = new AnimationInstruction(arg_A5B2_0, new AnimInsEvent(arg_A5AD_0, array2));
             AnimationInstruction[] arg_A5E3_0 = array;
             int arg_A5E3_1 = 3;
             AnimInsCriteria arg_A5DE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_A5D9_0 = AnimInsEvent.EventType.SetAlpha;
             array2 = new float[1];
             arg_A5E3_0[arg_A5E3_1] = new AnimationInstruction(arg_A5DE_0, new AnimInsEvent(arg_A5D9_0, array2));
             arg_A5ED_0[arg_A5ED_1] = new Animation(arg_A5E8_0, arg_A5E8_1, arg_A5E8_2, arg_A5E8_3, arg_A5E8_4, arg_A5E8_5, arg_A5E8_6, arg_A5E8_7, arg_A5E8_8, arg_A5E8_9, arg_A5E8_10, arg_A5E8_11, arg_A5E8_12, arg_A5E8_13, arg_A5E8_14, array);
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNoTex, new Vector2(0f, 0f), 4, 2, 1020, 810, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
                 {
                     1f
                 }))
             });
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveAll;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._HitEffect_Sword01_Left)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShine)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/GUI/ItemShine"), new Vector2(6f, 6f), 4, 5, 13, 12, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 4f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemPickup)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/GUI/Pickup"), new Vector2(10f, 19f), 3, 4, 20, 35, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineSilver_Ground)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Silver/Ground"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineSilver_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Silver/Front"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineSilver_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Silver/Back"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight -= 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineGold_Ground)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Gold/Ground"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineGold_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Gold/Front"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineGold_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Gold/Back"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight -= 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_SmallCoinPickup)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Items/Coins/SmallPickup"), new Vector2(5f, 5f), 3, 6, 9, 9, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_BigCoinPickup)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Items/Coins/BigPickup"), new Vector2(8f, 8f), 3, 6, 16, 16, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_HealthOrbPickup)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Items/Orbs/Health/PickUp"), new Vector2(7f, 19f), 4, 5, 14, 20, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_LevelupShine)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/GUI/Levelup Effect/Glow"), new Vector2(10f, 36f), 4, 12, 20, 39, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 }), new AnimInsEvent(AnimInsEvent.EventType.LoopXTimes, new float[]
                 {
                     10f
                 }))
             });
             xARC.fVirtualHeight = 4f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_LevelupText)
         {
             Dictionary<ushort, Animation> arg_AC2E_0 = xARC.dixAnimations;
             ushort arg_AC2E_1 = 0;
             ushort arg_AC29_0 = 0;
             byte arg_AC29_1 = 0;
             Texture2D arg_AC29_2 = Content.Load<Texture2D>("Effects/GUI/Levelup Effect/Level");
             Vector2 arg_AC29_3 = new Vector2(44f, 28f);
             int arg_AC29_4 = 3;
             int arg_AC29_5 = 20;
             int arg_AC29_6 = 87;
             int arg_AC29_7 = 28;
             int arg_AC29_8 = 0;
             int arg_AC29_9 = 0;
             int arg_AC29_10 = 20;
             Animation.LoopSettings arg_AC29_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_AC29_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_AC29_13 = false;
             bool arg_AC29_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_AB90_0 = array;
             int arg_AB90_1 = 0;
             AnimInsCriteria arg_AB8B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 20f
             });
             AnimInsEvent.EventType arg_AB86_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 24f;
             arg_AB90_0[arg_AB90_1] = new AnimationInstruction(arg_AB8B_0, new AnimInsEvent(arg_AB86_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 20f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_AC24_0 = array;
             int arg_AC24_1 = 2;
             AnimInsCriteria arg_AC1F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 20f
             });
             AnimInsEvent.EventType arg_AC1A_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_AC24_0[arg_AC24_1] = new AnimationInstruction(arg_AC1F_0, new AnimInsEvent(arg_AC1A_0, array2));
             arg_AC2E_0[arg_AC2E_1] = new Animation(arg_AC29_0, arg_AC29_1, arg_AC29_2, arg_AC29_3, arg_AC29_4, arg_AC29_5, arg_AC29_6, arg_AC29_7, arg_AC29_8, arg_AC29_9, arg_AC29_10, arg_AC29_11, arg_AC29_12, arg_AC29_13, arg_AC29_14, array);
             xARC.fVirtualHeight = 4f;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_LevelupExplosion)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/GUI/Levelup Effect/Effect"), new Vector2(38f, 43f), 4, 16, 76, 75, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 4f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_LevelupBeam)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/GUI/Levelup Effect/Beam"), new Vector2(16f, 1f), 4, 16, 32, 1, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 4f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_DealText)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Halloween/Hooded/Deal"), new Vector2(28f, 28f), 3, 23, 56, 28, 0, 0, 23, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_JumpDownIndication_FlyingInside)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("GUI/JumpArrows/Flying"), new Vector2(7f, 17f), 4, 12, 15, 19, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_JumpDownIndication_Gundam)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("GUI/JumpArrows/Gund4m"), new Vector2(7f, 17f), 4, 12, 15, 19, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_JumpDownIndication_FlyingOutside)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("GUI/JumpArrows/FlyingOutside"), new Vector2(7f, 17f), 4, 12, 15, 19, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Exclamation)
         {
             Dictionary<ushort, Animation> arg_AF6A_0 = xARC.dixAnimations;
             ushort arg_AF6A_1 = 0;
             ushort arg_AF65_0 = 0;
             byte arg_AF65_1 = 0;
             Texture2D arg_AF65_2 = Content.Load<Texture2D>("Effects/Emotes/Exclamation");
             Vector2 arg_AF65_3 = new Vector2(14f, 30f);
             int arg_AF65_4 = 4;
             int arg_AF65_5 = 11;
             int arg_AF65_6 = 26;
             int arg_AF65_7 = 30;
             int arg_AF65_8 = 0;
             int arg_AF65_9 = 0;
             int arg_AF65_10 = 20;
             Animation.LoopSettings arg_AF65_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_AF65_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_AF65_13 = false;
             bool arg_AF65_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_AECC_0 = array;
             int arg_AECC_1 = 0;
             AnimInsCriteria arg_AEC7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_AEC2_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_AECC_0[arg_AECC_1] = new AnimationInstruction(arg_AEC7_0, new AnimInsEvent(arg_AEC2_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_AF60_0 = array;
             int arg_AF60_1 = 2;
             AnimInsCriteria arg_AF5B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_AF56_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_AF60_0[arg_AF60_1] = new AnimationInstruction(arg_AF5B_0, new AnimInsEvent(arg_AF56_0, array2));
             arg_AF6A_0[arg_AF6A_1] = new Animation(arg_AF65_0, arg_AF65_1, arg_AF65_2, arg_AF65_3, arg_AF65_4, arg_AF65_5, arg_AF65_6, arg_AF65_7, arg_AF65_8, arg_AF65_9, arg_AF65_10, arg_AF65_11, arg_AF65_12, arg_AF65_13, arg_AF65_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Heart)
         {
             Dictionary<ushort, Animation> arg_B0A2_0 = xARC.dixAnimations;
             ushort arg_B0A2_1 = 0;
             ushort arg_B09D_0 = 0;
             byte arg_B09D_1 = 0;
             Texture2D arg_B09D_2 = Content.Load<Texture2D>("Effects/Emotes/Heart");
             Vector2 arg_B09D_3 = new Vector2(14f, 30f);
             int arg_B09D_4 = 4;
             int arg_B09D_5 = 11;
             int arg_B09D_6 = 26;
             int arg_B09D_7 = 30;
             int arg_B09D_8 = 0;
             int arg_B09D_9 = 0;
             int arg_B09D_10 = 20;
             Animation.LoopSettings arg_B09D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B09D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B09D_13 = false;
             bool arg_B09D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B004_0 = array;
             int arg_B004_1 = 0;
             AnimInsCriteria arg_AFFF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_AFFA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B004_0[arg_B004_1] = new AnimationInstruction(arg_AFFF_0, new AnimInsEvent(arg_AFFA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B098_0 = array;
             int arg_B098_1 = 2;
             AnimInsCriteria arg_B093_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B08E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B098_0[arg_B098_1] = new AnimationInstruction(arg_B093_0, new AnimInsEvent(arg_B08E_0, array2));
             arg_B0A2_0[arg_B0A2_1] = new Animation(arg_B09D_0, arg_B09D_1, arg_B09D_2, arg_B09D_3, arg_B09D_4, arg_B09D_5, arg_B09D_6, arg_B09D_7, arg_B09D_8, arg_B09D_9, arg_B09D_10, arg_B09D_11, arg_B09D_12, arg_B09D_13, arg_B09D_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_RessPlz)
         {
             Dictionary<ushort, Animation> arg_B1DA_0 = xARC.dixAnimations;
             ushort arg_B1DA_1 = 0;
             ushort arg_B1D5_0 = 0;
             byte arg_B1D5_1 = 0;
             Texture2D arg_B1D5_2 = Content.Load<Texture2D>("Effects/Emotes/Ress");
             Vector2 arg_B1D5_3 = new Vector2(14f, 30f);
             int arg_B1D5_4 = 4;
             int arg_B1D5_5 = 11;
             int arg_B1D5_6 = 26;
             int arg_B1D5_7 = 30;
             int arg_B1D5_8 = 0;
             int arg_B1D5_9 = 0;
             int arg_B1D5_10 = 20;
             Animation.LoopSettings arg_B1D5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B1D5_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B1D5_13 = false;
             bool arg_B1D5_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B13C_0 = array;
             int arg_B13C_1 = 0;
             AnimInsCriteria arg_B137_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_B132_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B13C_0[arg_B13C_1] = new AnimationInstruction(arg_B137_0, new AnimInsEvent(arg_B132_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B1D0_0 = array;
             int arg_B1D0_1 = 2;
             AnimInsCriteria arg_B1CB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B1C6_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B1D0_0[arg_B1D0_1] = new AnimationInstruction(arg_B1CB_0, new AnimInsEvent(arg_B1C6_0, array2));
             arg_B1DA_0[arg_B1DA_1] = new Animation(arg_B1D5_0, arg_B1D5_1, arg_B1D5_2, arg_B1D5_3, arg_B1D5_4, arg_B1D5_5, arg_B1D5_6, arg_B1D5_7, arg_B1D5_8, arg_B1D5_9, arg_B1D5_10, arg_B1D5_11, arg_B1D5_12, arg_B1D5_13, arg_B1D5_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Question)
         {
             Dictionary<ushort, Animation> arg_B312_0 = xARC.dixAnimations;
             ushort arg_B312_1 = 0;
             ushort arg_B30D_0 = 0;
             byte arg_B30D_1 = 0;
             Texture2D arg_B30D_2 = Content.Load<Texture2D>("Effects/Emotes/Question");
             Vector2 arg_B30D_3 = new Vector2(14f, 30f);
             int arg_B30D_4 = 4;
             int arg_B30D_5 = 11;
             int arg_B30D_6 = 26;
             int arg_B30D_7 = 30;
             int arg_B30D_8 = 0;
             int arg_B30D_9 = 0;
             int arg_B30D_10 = 20;
             Animation.LoopSettings arg_B30D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B30D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B30D_13 = false;
             bool arg_B30D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B274_0 = array;
             int arg_B274_1 = 0;
             AnimInsCriteria arg_B26F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B26A_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B274_0[arg_B274_1] = new AnimationInstruction(arg_B26F_0, new AnimInsEvent(arg_B26A_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B308_0 = array;
             int arg_B308_1 = 2;
             AnimInsCriteria arg_B303_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B2FE_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B308_0[arg_B308_1] = new AnimationInstruction(arg_B303_0, new AnimInsEvent(arg_B2FE_0, array2));
             arg_B312_0[arg_B312_1] = new Animation(arg_B30D_0, arg_B30D_1, arg_B30D_2, arg_B30D_3, arg_B30D_4, arg_B30D_5, arg_B30D_6, arg_B30D_7, arg_B30D_8, arg_B30D_9, arg_B30D_10, arg_B30D_11, arg_B30D_12, arg_B30D_13, arg_B30D_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Dots)
         {
             Dictionary<ushort, Animation> arg_B44A_0 = xARC.dixAnimations;
             ushort arg_B44A_1 = 0;
             ushort arg_B445_0 = 0;
             byte arg_B445_1 = 0;
             Texture2D arg_B445_2 = Content.Load<Texture2D>("Effects/Emotes/Dot");
             Vector2 arg_B445_3 = new Vector2(14f, 23f);
             int arg_B445_4 = 4;
             int arg_B445_5 = 18;
             int arg_B445_6 = 26;
             int arg_B445_7 = 23;
             int arg_B445_8 = 0;
             int arg_B445_9 = 0;
             int arg_B445_10 = 20;
             Animation.LoopSettings arg_B445_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B445_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B445_13 = false;
             bool arg_B445_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B3AC_0 = array;
             int arg_B3AC_1 = 0;
             AnimInsCriteria arg_B3A7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 18f
             });
             AnimInsEvent.EventType arg_B3A2_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B3AC_0[arg_B3AC_1] = new AnimationInstruction(arg_B3A7_0, new AnimInsEvent(arg_B3A2_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 18f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B440_0 = array;
             int arg_B440_1 = 2;
             AnimInsCriteria arg_B43B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 18f
             });
             AnimInsEvent.EventType arg_B436_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B440_0[arg_B440_1] = new AnimationInstruction(arg_B43B_0, new AnimInsEvent(arg_B436_0, array2));
             arg_B44A_0[arg_B44A_1] = new Animation(arg_B445_0, arg_B445_1, arg_B445_2, arg_B445_3, arg_B445_4, arg_B445_5, arg_B445_6, arg_B445_7, arg_B445_8, arg_B445_9, arg_B445_10, arg_B445_11, arg_B445_12, arg_B445_13, arg_B445_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Angry)
         {
             Dictionary<ushort, Animation> arg_B582_0 = xARC.dixAnimations;
             ushort arg_B582_1 = 0;
             ushort arg_B57D_0 = 0;
             byte arg_B57D_1 = 0;
             Texture2D arg_B57D_2 = Content.Load<Texture2D>("Effects/Emotes/Angry");
             Vector2 arg_B57D_3 = new Vector2(13f, 28f);
             int arg_B57D_4 = 4;
             int arg_B57D_5 = 11;
             int arg_B57D_6 = 26;
             int arg_B57D_7 = 30;
             int arg_B57D_8 = 0;
             int arg_B57D_9 = 0;
             int arg_B57D_10 = 11;
             Animation.LoopSettings arg_B57D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B57D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B57D_13 = false;
             bool arg_B57D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B4E4_0 = array;
             int arg_B4E4_1 = 0;
             AnimInsCriteria arg_B4DF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B4DA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B4E4_0[arg_B4E4_1] = new AnimationInstruction(arg_B4DF_0, new AnimInsEvent(arg_B4DA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B578_0 = array;
             int arg_B578_1 = 2;
             AnimInsCriteria arg_B573_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B56E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B578_0[arg_B578_1] = new AnimationInstruction(arg_B573_0, new AnimInsEvent(arg_B56E_0, array2));
             arg_B582_0[arg_B582_1] = new Animation(arg_B57D_0, arg_B57D_1, arg_B57D_2, arg_B57D_3, arg_B57D_4, arg_B57D_5, arg_B57D_6, arg_B57D_7, arg_B57D_8, arg_B57D_9, arg_B57D_10, arg_B57D_11, arg_B57D_12, arg_B57D_13, arg_B57D_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Examine)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(13f, 28f), 4, 11, 26, 30, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, GlobalContent.Load<Texture2D>("Effects/Emotes/Examine"), new Vector2(13f, 28f), 4, 11, 26, 30, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_SweatDrop)
         {
             Dictionary<ushort, Animation> arg_B752_0 = xARC.dixAnimations;
             ushort arg_B752_1 = 0;
             ushort arg_B74D_0 = 0;
             byte arg_B74D_1 = 0;
             Texture2D arg_B74D_2 = Content.Load<Texture2D>("Effects/Emotes/Sweat");
             Vector2 arg_B74D_3 = new Vector2(13f, 28f);
             int arg_B74D_4 = 4;
             int arg_B74D_5 = 11;
             int arg_B74D_6 = 26;
             int arg_B74D_7 = 30;
             int arg_B74D_8 = 0;
             int arg_B74D_9 = 0;
             int arg_B74D_10 = 11;
             Animation.LoopSettings arg_B74D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B74D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B74D_13 = false;
             bool arg_B74D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B6B4_0 = array;
             int arg_B6B4_1 = 0;
             AnimInsCriteria arg_B6AF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B6AA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B6B4_0[arg_B6B4_1] = new AnimationInstruction(arg_B6AF_0, new AnimInsEvent(arg_B6AA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B748_0 = array;
             int arg_B748_1 = 2;
             AnimInsCriteria arg_B743_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B73E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B748_0[arg_B748_1] = new AnimationInstruction(arg_B743_0, new AnimInsEvent(arg_B73E_0, array2));
             arg_B752_0[arg_B752_1] = new Animation(arg_B74D_0, arg_B74D_1, arg_B74D_2, arg_B74D_3, arg_B74D_4, arg_B74D_5, arg_B74D_6, arg_B74D_7, arg_B74D_8, arg_B74D_9, arg_B74D_10, arg_B74D_11, arg_B74D_12, arg_B74D_13, arg_B74D_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Upset)
         {
             Dictionary<ushort, Animation> arg_B88A_0 = xARC.dixAnimations;
             ushort arg_B88A_1 = 0;
             ushort arg_B885_0 = 0;
             byte arg_B885_1 = 0;
             Texture2D arg_B885_2 = Content.Load<Texture2D>("Effects/Emotes/Upset");
             Vector2 arg_B885_3 = new Vector2(13f, 28f);
             int arg_B885_4 = 4;
             int arg_B885_5 = 11;
             int arg_B885_6 = 26;
             int arg_B885_7 = 30;
             int arg_B885_8 = 0;
             int arg_B885_9 = 0;
             int arg_B885_10 = 11;
             Animation.LoopSettings arg_B885_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B885_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B885_13 = false;
             bool arg_B885_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B7EC_0 = array;
             int arg_B7EC_1 = 0;
             AnimInsCriteria arg_B7E7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B7E2_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B7EC_0[arg_B7EC_1] = new AnimationInstruction(arg_B7E7_0, new AnimInsEvent(arg_B7E2_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B880_0 = array;
             int arg_B880_1 = 2;
             AnimInsCriteria arg_B87B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B876_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B880_0[arg_B880_1] = new AnimationInstruction(arg_B87B_0, new AnimInsEvent(arg_B876_0, array2));
             arg_B88A_0[arg_B88A_1] = new Animation(arg_B885_0, arg_B885_1, arg_B885_2, arg_B885_3, arg_B885_4, arg_B885_5, arg_B885_6, arg_B885_7, arg_B885_8, arg_B885_9, arg_B885_10, arg_B885_11, arg_B885_12, arg_B885_13, arg_B885_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Fish)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Emotes/Fish"), new Vector2(13f, 29f), 4, 11, 26, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
                 {
                     1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Emotes/Fish"), new Vector2(13f, 29f), 4, 1, 26, 30, 260, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
                 {
                     1f
                 }))
             });
             Dictionary<ushort, Animation> arg_BAEC_0 = xARC.dixAnimations;
             ushort arg_BAEC_1 = 2;
             ushort arg_BAE7_0 = 0;
             byte arg_BAE7_1 = 0;
             Texture2D arg_BAE7_2 = Content.Load<Texture2D>("Effects/Emotes/Fish");
             Vector2 arg_BAE7_3 = new Vector2(13f, 29f);
             int arg_BAE7_4 = 4;
             int arg_BAE7_5 = 1;
             int arg_BAE7_6 = 26;
             int arg_BAE7_7 = 30;
             int arg_BAE7_8 = 260;
             int arg_BAE7_9 = 0;
             int arg_BAE7_10 = 20;
             Animation.LoopSettings arg_BAE7_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_BAE7_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_BAE7_13 = false;
             bool arg_BAE7_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_BAAC_0 = array;
             int arg_BAAC_1 = 1;
             AnimInsCriteria arg_BAA7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_BAA2_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_BAAC_0[arg_BAAC_1] = new AnimationInstruction(arg_BAA7_0, new AnimInsEvent(arg_BAA2_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 3f
             }));
             arg_BAEC_0[arg_BAEC_1] = new Animation(arg_BAE7_0, arg_BAE7_1, arg_BAE7_2, arg_BAE7_3, arg_BAE7_4, arg_BAE7_5, arg_BAE7_6, arg_BAE7_7, arg_BAE7_8, arg_BAE7_9, arg_BAE7_10, arg_BAE7_11, arg_BAE7_12, arg_BAE7_13, arg_BAE7_14, array);
             xARC.dixAnimations[3] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(13f, 29f), 4, 1, 26, 30, 260, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.v2OffsetRenderPos = new Vector2(0f, -32f);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_SeasonChange_SnowFlake)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Freeze/SnowA"), new Vector2(5f, 5f), 4, 1, 11, 11, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_SeasonChange_AutumnLeafOrange)
         {
             Animation anim144 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/RollingLeaf/Orange"), new Vector2(5f, 5f), 4, 5, 11, 10, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim144.iID, anim144);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_SeasonChange_AutumnLeafRed)
         {
             Animation anim145 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/RollingLeaf/Red"), new Vector2(5f, 5f), 4, 5, 11, 10, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim145.iID, anim145);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_SeasonChange_AutumnLeafYellow)
         {
             Animation anim146 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/RollingLeaf/Yellow"), new Vector2(5f, 5f), 4, 5, 11, 10, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim146.iID, anim146);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainTop_WaterLeft)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Sword01_Left)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash1/Left"), new Vector2(30f, 5f), 3, 4, 59, 9, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash3/Left"), new Vector2(29f, 14f), 3, 4, 50, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             xARC.fRotation = -0.2f + 0.4f * (float)Program.GetTheGame().randomInVisual.NextDouble();
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Sword01_Right)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash1/Right"), new Vector2(30f, 5f), 3, 4, 59, 9, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash3/Right"), new Vector2(21f, 14f), 3, 4, 50, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             xARC.fRotation = -0.2f + 0.4f * (float)Program.GetTheGame().randomInVisual.NextDouble();
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Stinger_Up)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation -= 1.57079637f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Stinger_Right)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Stinger_Down)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += 1.57079637f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Stinger_Left)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += 3.14159274f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_MillionStab_Up)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation -= 1.57079637f;
             xARC.fVirtualHeight += 10f;
             AnimatedRenderComponent expr_C0C0_cp_0 = xARC;
             expr_C0C0_cp_0.v2OffsetRenderPos.X = expr_C0C0_cp_0.v2OffsetRenderPos.X + (float)(-5 + Program.GetTheGame().randomInLogic.Next(10));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_MillionStab_Right)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 10f;
             AnimatedRenderComponent expr_C14B_cp_0 = xARC;
             expr_C14B_cp_0.v2OffsetRenderPos.Y = expr_C14B_cp_0.v2OffsetRenderPos.Y + (float)(-14 + Program.GetTheGame().randomInLogic.Next(16));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_MillionStab_Down)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += 1.57079637f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_MillionStab_Left)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += 3.14159274f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SpiritSlash01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/SmallSlash"), new Vector2(9f, 10f), 3, 4, 18, 19, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += (float)Program.game.randomInVisual.NextDouble() * 6.28318548f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SpiritSlash02)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Slash"), new Vector2(20f, 4f), 4, 3, 41, 9, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += (float)Program.game.randomInVisual.NextDouble() * 6.28318548f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SpiritSlash03)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Slash2"), new Vector2(22f, 10f), 4, 3, 35, 14, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += (float)Program.game.randomInVisual.NextDouble() * 6.28318548f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_2HSword01_Left)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Twohanded/Slash1/Left"), new Vector2(36f, 6f), 3, 4, 72, 11, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Twohanded/Slash2/Left"), new Vector2(39f, 17f), 3, 4, 71, 32, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             xARC.fRotation = -0.2f + 0.4f * (float)Program.GetTheGame().randomInVisual.NextDouble();
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_2HSword01_Right)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Twohanded/Slash1/Right"), new Vector2(36f, 6f), 3, 4, 72, 11, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Twohanded/Slash2/Right"), new Vector2(33f, 17f), 3, 4, 71, 32, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             xARC.fRotation = -0.2f + 0.4f * (float)Program.GetTheGame().randomInVisual.NextDouble();
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_OverheadSmash)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Overhead/Overhead"), new Vector2(38f, 50f), 4, 4, 76, 59, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_OverheadSmash2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Overhead/Overhead2"), new Vector2(38f, 50f), 3, 6, 76, 59, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_OverheadSmash3)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Overhead/Overhead3"), new Vector2(28f, 39f), 3, 6, 57, 44, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SmashOnHit01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/TwoHanded/Smash/Level 1-2/HitEffects/Effect"), new Vector2(35f, 35f), 3, 9, 71, 71, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SmashOnHitWall01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/TwoHanded/Smash/Level 1-2/HitEffects/EffectSmall"), new Vector2(25f, 25f), 3, 7, 49, 49, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ShieldNormal)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Shield/Shield2"), new Vector2(8f, 9f), 4, 4, 17, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ShieldPerfect)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Shield/Shield2"), new Vector2(8f, 9f), 4, 4, 17, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ShieldBreak)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/ShieldBreak/Effect/Down"), new Vector2(16f, 29f), 4, 5, 31, 32, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SlimeParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 Dictionary<ushort, Animation> arg_C9A1_0 = xARC.dixAnimations;
                 ushort arg_C9A1_1 = 0;
                 ushort arg_C99C_0 = 0;
                 byte arg_C99C_1 = 1;
                 Texture2D arg_C99C_2 = Content.Load<Texture2D>("Sprites/Monster/Pillar Mountains/Slime/Particle/Part4");
                 Vector2 arg_C99C_3 = new Vector2(5f, 17f);
                 int arg_C99C_4 = 4;
                 int arg_C99C_5 = 11;
                 int arg_C99C_6 = 9;
                 int arg_C99C_7 = 19;
                 int arg_C99C_8 = 0;
                 int arg_C99C_9 = 0;
                 int arg_C99C_10 = 11;
                 Animation.LoopSettings arg_C99C_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_C99C_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_C99C_13 = true;
                 bool arg_C99C_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_C94D_0 = array;
                 int arg_C94D_1 = 0;
                 AnimInsCriteria arg_C948_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_C943_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_C94D_0[arg_C94D_1] = new AnimationInstruction(arg_C948_0, new AnimInsEvent(arg_C943_0, array2));
                 AnimationInstruction[] arg_C997_0 = array;
                 int arg_C997_1 = 1;
                 AnimInsCriteria arg_C992_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_C98D_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_C997_0[arg_C997_1] = new AnimationInstruction(arg_C992_0, new AnimInsEvent(arg_C98D_0, array2));
                 arg_C9A1_0[arg_C9A1_1] = new Animation(arg_C99C_0, arg_C99C_1, arg_C99C_2, arg_C99C_3, arg_C99C_4, arg_C99C_5, arg_C99C_6, arg_C99C_7, arg_C99C_8, arg_C99C_9, arg_C99C_10, arg_C99C_11, arg_C99C_12, arg_C99C_13, arg_C99C_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_CA84_0 = xARC.dixAnimations;
                 ushort arg_CA84_1 = 0;
                 ushort arg_CA7F_0 = 0;
                 byte arg_CA7F_1 = 1;
                 Texture2D arg_CA7F_2 = Content.Load<Texture2D>("Sprites/Monster/Pillar Mountains/Slime/Particle/Part5");
                 Vector2 arg_CA7F_3 = new Vector2(5f, 17f);
                 int arg_CA7F_4 = 4;
                 int arg_CA7F_5 = 11;
                 int arg_CA7F_6 = 9;
                 int arg_CA7F_7 = 19;
                 int arg_CA7F_8 = 0;
                 int arg_CA7F_9 = 0;
                 int arg_CA7F_10 = 11;
                 Animation.LoopSettings arg_CA7F_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_CA7F_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_CA7F_13 = true;
                 bool arg_CA7F_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_CA30_0 = array;
                 int arg_CA30_1 = 0;
                 AnimInsCriteria arg_CA2B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_CA26_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_CA30_0[arg_CA30_1] = new AnimationInstruction(arg_CA2B_0, new AnimInsEvent(arg_CA26_0, array2));
                 AnimationInstruction[] arg_CA7A_0 = array;
                 int arg_CA7A_1 = 1;
                 AnimInsCriteria arg_CA75_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_CA70_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_CA7A_0[arg_CA7A_1] = new AnimationInstruction(arg_CA75_0, new AnimInsEvent(arg_CA70_0, array2));
                 arg_CA84_0[arg_CA84_1] = new Animation(arg_CA7F_0, arg_CA7F_1, arg_CA7F_2, arg_CA7F_3, arg_CA7F_4, arg_CA7F_5, arg_CA7F_6, arg_CA7F_7, arg_CA7F_8, arg_CA7F_9, arg_CA7F_10, arg_CA7F_11, arg_CA7F_12, arg_CA7F_13, arg_CA7F_14, array);
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ToyMachineBrass)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Particle/Brass"), new Vector2(6f, 25f), 4, 10, 11, 28, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ToyMachineMetal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Particle/Metal"), new Vector2(6f, 25f), 4, 10, 11, 28, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ToyMachineScrew)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Particle/Screw"), new Vector2(7f, 37f), 4, 12, 13, 41, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_PaperParticle_BlankShort)
         {
             Dictionary<ushort, Animation> arg_CC16_0 = xARC.dixAnimations;
             ushort arg_CC16_1 = 0;
             ushort arg_CC11_0 = 0;
             byte arg_CC11_1 = 1;
             Texture2D arg_CC11_2 = Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/BlankShort");
             Vector2 arg_CC11_3 = new Vector2(9f, 12f);
             int arg_CC11_4 = 5;
             int arg_CC11_5 = 14;
             int arg_CC11_6 = 25;
             int arg_CC11_7 = 15;
             int arg_CC11_8 = 0;
             int arg_CC11_9 = 0;
             int arg_CC11_10 = 14;
             Animation.LoopSettings arg_CC11_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_CC11_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_CC11_13 = true;
             bool arg_CC11_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_CC0C_0 = array;
             int arg_CC0C_1 = 0;
             AnimInsCriteria arg_CC07_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_CC02_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_CC0C_0[arg_CC0C_1] = new AnimationInstruction(arg_CC07_0, new AnimInsEvent(arg_CC02_0, array2));
             arg_CC16_0[arg_CC16_1] = new Animation(arg_CC11_0, arg_CC11_1, arg_CC11_2, arg_CC11_3, arg_CC11_4, arg_CC11_5, arg_CC11_6, arg_CC11_7, arg_CC11_8, arg_CC11_9, arg_CC11_10, arg_CC11_11, arg_CC11_12, arg_CC11_13, arg_CC11_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/BlankShort"), new Vector2(9f, 12f), 5, 1, 25, 15, 150, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_PaperParticle_TextShort)
         {
             Dictionary<ushort, Animation> arg_CCEB_0 = xARC.dixAnimations;
             ushort arg_CCEB_1 = 0;
             ushort arg_CCE6_0 = 0;
             byte arg_CCE6_1 = 1;
             Texture2D arg_CCE6_2 = Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/TextShort");
             Vector2 arg_CCE6_3 = new Vector2(9f, 12f);
             int arg_CCE6_4 = 5;
             int arg_CCE6_5 = 14;
             int arg_CCE6_6 = 25;
             int arg_CCE6_7 = 15;
             int arg_CCE6_8 = 0;
             int arg_CCE6_9 = 0;
             int arg_CCE6_10 = 14;
             Animation.LoopSettings arg_CCE6_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_CCE6_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_CCE6_13 = true;
             bool arg_CCE6_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_CCE1_0 = array;
             int arg_CCE1_1 = 0;
             AnimInsCriteria arg_CCDC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_CCD7_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_CCE1_0[arg_CCE1_1] = new AnimationInstruction(arg_CCDC_0, new AnimInsEvent(arg_CCD7_0, array2));
             arg_CCEB_0[arg_CCEB_1] = new Animation(arg_CCE6_0, arg_CCE6_1, arg_CCE6_2, arg_CCE6_3, arg_CCE6_4, arg_CCE6_5, arg_CCE6_6, arg_CCE6_7, arg_CCE6_8, arg_CCE6_9, arg_CCE6_10, arg_CCE6_11, arg_CCE6_12, arg_CCE6_13, arg_CCE6_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/TextShort"), new Vector2(9f, 12f), 5, 1, 25, 15, 150, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_PaperParticle_BlankLong)
         {
             Dictionary<ushort, Animation> arg_CDC0_0 = xARC.dixAnimations;
             ushort arg_CDC0_1 = 0;
             ushort arg_CDBB_0 = 0;
             byte arg_CDBB_1 = 1;
             Texture2D arg_CDBB_2 = Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/BlankLong");
             Vector2 arg_CDBB_3 = new Vector2(9f, 12f);
             int arg_CDBB_4 = 5;
             int arg_CDBB_5 = 19;
             int arg_CDBB_6 = 25;
             int arg_CDBB_7 = 15;
             int arg_CDBB_8 = 0;
             int arg_CDBB_9 = 0;
             int arg_CDBB_10 = 19;
             Animation.LoopSettings arg_CDBB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_CDBB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_CDBB_13 = true;
             bool arg_CDBB_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_CDB6_0 = array;
             int arg_CDB6_1 = 0;
             AnimInsCriteria arg_CDB1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_CDAC_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_CDB6_0[arg_CDB6_1] = new AnimationInstruction(arg_CDB1_0, new AnimInsEvent(arg_CDAC_0, array2));
             arg_CDC0_0[arg_CDC0_1] = new Animation(arg_CDBB_0, arg_CDBB_1, arg_CDBB_2, arg_CDBB_3, arg_CDBB_4, arg_CDBB_5, arg_CDBB_6, arg_CDBB_7, arg_CDBB_8, arg_CDBB_9, arg_CDBB_10, arg_CDBB_11, arg_CDBB_12, arg_CDBB_13, arg_CDBB_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/BlankLong"), new Vector2(9f, 12f), 5, 1, 25, 15, 275, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_PaperParticle_TextLong)
         {
             Dictionary<ushort, Animation> arg_CE95_0 = xARC.dixAnimations;
             ushort arg_CE95_1 = 0;
             ushort arg_CE90_0 = 0;
             byte arg_CE90_1 = 1;
             Texture2D arg_CE90_2 = Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/TextLong");
             Vector2 arg_CE90_3 = new Vector2(9f, 12f);
             int arg_CE90_4 = 5;
             int arg_CE90_5 = 19;
             int arg_CE90_6 = 25;
             int arg_CE90_7 = 15;
             int arg_CE90_8 = 0;
             int arg_CE90_9 = 0;
             int arg_CE90_10 = 19;
             Animation.LoopSettings arg_CE90_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_CE90_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_CE90_13 = true;
             bool arg_CE90_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_CE8B_0 = array;
             int arg_CE8B_1 = 0;
             AnimInsCriteria arg_CE86_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_CE81_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_CE8B_0[arg_CE8B_1] = new AnimationInstruction(arg_CE86_0, new AnimInsEvent(arg_CE81_0, array2));
             arg_CE95_0[arg_CE95_1] = new Animation(arg_CE90_0, arg_CE90_1, arg_CE90_2, arg_CE90_3, arg_CE90_4, arg_CE90_5, arg_CE90_6, arg_CE90_7, arg_CE90_8, arg_CE90_9, arg_CE90_10, arg_CE90_11, arg_CE90_12, arg_CE90_13, arg_CE90_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/TextLong"), new Vector2(9f, 12f), 5, 1, 25, 15, 275, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_WhiteFeatherParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Feather/Feather"), new Vector2(8f, 11f), 5, 21, 15, 12, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Feather/Feather"), new Vector2(8f, 11f), 5, 21, 15, 12, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_BrownFeatherParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Feather/FeatherBrown"), new Vector2(8f, 11f), 5, 21, 15, 12, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Feather/FeatherBrown"), new Vector2(8f, 11f), 5, 21, 15, 12, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_RedSlimeParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 Dictionary<ushort, Animation> arg_D163_0 = xARC.dixAnimations;
                 ushort arg_D163_1 = 0;
                 ushort arg_D15E_0 = 0;
                 byte arg_D15E_1 = 1;
                 Texture2D arg_D15E_2 = Content.Load<Texture2D>("Sprites/Monster/Special/Red Slime/Particle/Part4");
                 Vector2 arg_D15E_3 = new Vector2(5f, 17f);
                 int arg_D15E_4 = 4;
                 int arg_D15E_5 = 11;
                 int arg_D15E_6 = 9;
                 int arg_D15E_7 = 19;
                 int arg_D15E_8 = 0;
                 int arg_D15E_9 = 0;
                 int arg_D15E_10 = 11;
                 Animation.LoopSettings arg_D15E_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D15E_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D15E_13 = true;
                 bool arg_D15E_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D10F_0 = array;
                 int arg_D10F_1 = 0;
                 AnimInsCriteria arg_D10A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D105_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D10F_0[arg_D10F_1] = new AnimationInstruction(arg_D10A_0, new AnimInsEvent(arg_D105_0, array2));
                 AnimationInstruction[] arg_D159_0 = array;
                 int arg_D159_1 = 1;
                 AnimInsCriteria arg_D154_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D14F_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D159_0[arg_D159_1] = new AnimationInstruction(arg_D154_0, new AnimInsEvent(arg_D14F_0, array2));
                 arg_D163_0[arg_D163_1] = new Animation(arg_D15E_0, arg_D15E_1, arg_D15E_2, arg_D15E_3, arg_D15E_4, arg_D15E_5, arg_D15E_6, arg_D15E_7, arg_D15E_8, arg_D15E_9, arg_D15E_10, arg_D15E_11, arg_D15E_12, arg_D15E_13, arg_D15E_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_D246_0 = xARC.dixAnimations;
                 ushort arg_D246_1 = 0;
                 ushort arg_D241_0 = 0;
                 byte arg_D241_1 = 1;
                 Texture2D arg_D241_2 = Content.Load<Texture2D>("Sprites/Monster/Special/Red Slime/Particle/Part5");
                 Vector2 arg_D241_3 = new Vector2(5f, 17f);
                 int arg_D241_4 = 4;
                 int arg_D241_5 = 11;
                 int arg_D241_6 = 9;
                 int arg_D241_7 = 19;
                 int arg_D241_8 = 0;
                 int arg_D241_9 = 0;
                 int arg_D241_10 = 11;
                 Animation.LoopSettings arg_D241_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D241_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D241_13 = true;
                 bool arg_D241_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D1F2_0 = array;
                 int arg_D1F2_1 = 0;
                 AnimInsCriteria arg_D1ED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D1E8_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D1F2_0[arg_D1F2_1] = new AnimationInstruction(arg_D1ED_0, new AnimInsEvent(arg_D1E8_0, array2));
                 AnimationInstruction[] arg_D23C_0 = array;
                 int arg_D23C_1 = 1;
                 AnimInsCriteria arg_D237_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D232_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D23C_0[arg_D23C_1] = new AnimationInstruction(arg_D237_0, new AnimInsEvent(arg_D232_0, array2));
                 arg_D246_0[arg_D246_1] = new Animation(arg_D241_0, arg_D241_1, arg_D241_2, arg_D241_3, arg_D241_4, arg_D241_5, arg_D241_6, arg_D241_7, arg_D241_8, arg_D241_9, arg_D241_10, arg_D241_11, arg_D241_12, arg_D241_13, arg_D241_14, array);
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_BlueSlimeParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 Dictionary<ushort, Animation> arg_D34D_0 = xARC.dixAnimations;
                 ushort arg_D34D_1 = 0;
                 ushort arg_D348_0 = 0;
                 byte arg_D348_1 = 1;
                 Texture2D arg_D348_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Blue Slime/Particle/Part4");
                 Vector2 arg_D348_3 = new Vector2(5f, 17f);
                 int arg_D348_4 = 4;
                 int arg_D348_5 = 11;
                 int arg_D348_6 = 9;
                 int arg_D348_7 = 19;
                 int arg_D348_8 = 0;
                 int arg_D348_9 = 0;
                 int arg_D348_10 = 11;
                 Animation.LoopSettings arg_D348_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D348_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D348_13 = true;
                 bool arg_D348_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D2F9_0 = array;
                 int arg_D2F9_1 = 0;
                 AnimInsCriteria arg_D2F4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D2EF_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D2F9_0[arg_D2F9_1] = new AnimationInstruction(arg_D2F4_0, new AnimInsEvent(arg_D2EF_0, array2));
                 AnimationInstruction[] arg_D343_0 = array;
                 int arg_D343_1 = 1;
                 AnimInsCriteria arg_D33E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D339_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D343_0[arg_D343_1] = new AnimationInstruction(arg_D33E_0, new AnimInsEvent(arg_D339_0, array2));
                 arg_D34D_0[arg_D34D_1] = new Animation(arg_D348_0, arg_D348_1, arg_D348_2, arg_D348_3, arg_D348_4, arg_D348_5, arg_D348_6, arg_D348_7, arg_D348_8, arg_D348_9, arg_D348_10, arg_D348_11, arg_D348_12, arg_D348_13, arg_D348_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_D430_0 = xARC.dixAnimations;
                 ushort arg_D430_1 = 0;
                 ushort arg_D42B_0 = 0;
                 byte arg_D42B_1 = 1;
                 Texture2D arg_D42B_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Blue Slime/Particle/Part5");
                 Vector2 arg_D42B_3 = new Vector2(5f, 17f);
                 int arg_D42B_4 = 4;
                 int arg_D42B_5 = 11;
                 int arg_D42B_6 = 9;
                 int arg_D42B_7 = 19;
                 int arg_D42B_8 = 0;
                 int arg_D42B_9 = 0;
                 int arg_D42B_10 = 11;
                 Animation.LoopSettings arg_D42B_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D42B_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D42B_13 = true;
                 bool arg_D42B_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D3DC_0 = array;
                 int arg_D3DC_1 = 0;
                 AnimInsCriteria arg_D3D7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D3D2_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D3DC_0[arg_D3DC_1] = new AnimationInstruction(arg_D3D7_0, new AnimInsEvent(arg_D3D2_0, array2));
                 AnimationInstruction[] arg_D426_0 = array;
                 int arg_D426_1 = 1;
                 AnimInsCriteria arg_D421_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D41C_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D426_0[arg_D426_1] = new AnimationInstruction(arg_D421_0, new AnimInsEvent(arg_D41C_0, array2));
                 arg_D430_0[arg_D430_1] = new Animation(arg_D42B_0, arg_D42B_1, arg_D42B_2, arg_D42B_3, arg_D42B_4, arg_D42B_5, arg_D42B_6, arg_D42B_7, arg_D42B_8, arg_D42B_9, arg_D42B_10, arg_D42B_11, arg_D42B_12, arg_D42B_13, arg_D42B_14, array);
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_CrystalParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 Dictionary<ushort, Animation> arg_D536_0 = xARC.dixAnimations;
                 ushort arg_D536_1 = 0;
                 ushort arg_D531_0 = 0;
                 byte arg_D531_1 = 1;
                 Texture2D arg_D531_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalParticle");
                 Vector2 arg_D531_3 = new Vector2(3f, 37f);
                 int arg_D531_4 = 5;
                 int arg_D531_5 = 10;
                 int arg_D531_6 = 6;
                 int arg_D531_7 = 39;
                 int arg_D531_8 = 0;
                 int arg_D531_9 = 0;
                 int arg_D531_10 = 21;
                 Animation.LoopSettings arg_D531_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D531_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D531_13 = true;
                 bool arg_D531_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D4E2_0 = array;
                 int arg_D4E2_1 = 0;
                 AnimInsCriteria arg_D4DD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_D4D8_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D4E2_0[arg_D4E2_1] = new AnimationInstruction(arg_D4DD_0, new AnimInsEvent(arg_D4D8_0, array2));
                 AnimationInstruction[] arg_D52C_0 = array;
                 int arg_D52C_1 = 1;
                 AnimInsCriteria arg_D527_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_D522_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D52C_0[arg_D52C_1] = new AnimationInstruction(arg_D527_0, new AnimInsEvent(arg_D522_0, array2));
                 arg_D536_0[arg_D536_1] = new Animation(arg_D531_0, arg_D531_1, arg_D531_2, arg_D531_3, arg_D531_4, arg_D531_5, arg_D531_6, arg_D531_7, arg_D531_8, arg_D531_9, arg_D531_10, arg_D531_11, arg_D531_12, arg_D531_13, arg_D531_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_D618_0 = xARC.dixAnimations;
                 ushort arg_D618_1 = 0;
                 ushort arg_D613_0 = 0;
                 byte arg_D613_1 = 1;
                 Texture2D arg_D613_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalParticle");
                 Vector2 arg_D613_3 = new Vector2(3f, 37f);
                 int arg_D613_4 = 5;
                 int arg_D613_5 = 10;
                 int arg_D613_6 = 6;
                 int arg_D613_7 = 39;
                 int arg_D613_8 = 0;
                 int arg_D613_9 = 0;
                 int arg_D613_10 = 21;
                 Animation.LoopSettings arg_D613_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D613_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D613_13 = true;
                 bool arg_D613_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D5C4_0 = array;
                 int arg_D5C4_1 = 0;
                 AnimInsCriteria arg_D5BF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_D5BA_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D5C4_0[arg_D5C4_1] = new AnimationInstruction(arg_D5BF_0, new AnimInsEvent(arg_D5BA_0, array2));
                 AnimationInstruction[] arg_D60E_0 = array;
                 int arg_D60E_1 = 1;
                 AnimInsCriteria arg_D609_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_D604_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D60E_0[arg_D60E_1] = new AnimationInstruction(arg_D609_0, new AnimInsEvent(arg_D604_0, array2));
                 arg_D618_0[arg_D618_1] = new Animation(arg_D613_0, arg_D613_1, arg_D613_2, arg_D613_3, arg_D613_4, arg_D613_5, arg_D613_6, arg_D613_7, arg_D613_8, arg_D613_9, arg_D613_10, arg_D613_11, arg_D613_12, arg_D613_13, arg_D613_14, array);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ConfettiParticle_Red)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Red"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Red"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ConfettiParticle_Green)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Green"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Green"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ConfettiParticle_Pink)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Pink"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Pink"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ConfettiParticle_Yellow)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Yellow"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Yellow"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ConfettiParticle_Blue)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Blue"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Blue"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_GlassParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 Dictionary<ushort, Animation> arg_DAEC_0 = xARC.dixAnimations;
                 ushort arg_DAEC_1 = 0;
                 ushort arg_DAE7_0 = 0;
                 byte arg_DAE7_1 = 1;
                 Texture2D arg_DAE7_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasParticle");
                 Vector2 arg_DAE7_3 = new Vector2(6f, 38f);
                 int arg_DAE7_4 = 5;
                 int arg_DAE7_5 = 11;
                 int arg_DAE7_6 = 11;
                 int arg_DAE7_7 = 40;
                 int arg_DAE7_8 = 0;
                 int arg_DAE7_9 = 0;
                 int arg_DAE7_10 = 21;
                 Animation.LoopSettings arg_DAE7_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_DAE7_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_DAE7_13 = true;
                 bool arg_DAE7_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_DA98_0 = array;
                 int arg_DA98_1 = 0;
                 AnimInsCriteria arg_DA93_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_DA8E_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_DA98_0[arg_DA98_1] = new AnimationInstruction(arg_DA93_0, new AnimInsEvent(arg_DA8E_0, array2));
                 AnimationInstruction[] arg_DAE2_0 = array;
                 int arg_DAE2_1 = 1;
                 AnimInsCriteria arg_DADD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_DAD8_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_DAE2_0[arg_DAE2_1] = new AnimationInstruction(arg_DADD_0, new AnimInsEvent(arg_DAD8_0, array2));
                 arg_DAEC_0[arg_DAEC_1] = new Animation(arg_DAE7_0, arg_DAE7_1, arg_DAE7_2, arg_DAE7_3, arg_DAE7_4, arg_DAE7_5, arg_DAE7_6, arg_DAE7_7, arg_DAE7_8, arg_DAE7_9, arg_DAE7_10, arg_DAE7_11, arg_DAE7_12, arg_DAE7_13, arg_DAE7_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_DBCF_0 = xARC.dixAnimations;
                 ushort arg_DBCF_1 = 0;
                 ushort arg_DBCA_0 = 0;
                 byte arg_DBCA_1 = 1;
                 Texture2D arg_DBCA_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasParticle");
                 Vector2 arg_DBCA_3 = new Vector2(6f, 38f);
                 int arg_DBCA_4 = 5;
                 int arg_DBCA_5 = 11;
                 int arg_DBCA_6 = 11;
                 int arg_DBCA_7 = 40;
                 int arg_DBCA_8 = 0;
                 int arg_DBCA_9 = 0;
                 int arg_DBCA_10 = 21;
                 Animation.LoopSettings arg_DBCA_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_DBCA_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_DBCA_13 = true;
                 bool arg_DBCA_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_DB7B_0 = array;
                 int arg_DB7B_1 = 0;
                 AnimInsCriteria arg_DB76_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_DB71_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_DB7B_0[arg_DB7B_1] = new AnimationInstruction(arg_DB76_0, new AnimInsEvent(arg_DB71_0, array2));
                 AnimationInstruction[] arg_DBC5_0 = array;
                 int arg_DBC5_1 = 1;
                 AnimInsCriteria arg_DBC0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_DBBB_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_DBC5_0[arg_DBC5_1] = new AnimationInstruction(arg_DBC0_0, new AnimInsEvent(arg_DBBB_0, array2));
                 arg_DBCF_0[arg_DBCF_1] = new Animation(arg_DBCA_0, arg_DBCA_1, arg_DBCA_2, arg_DBCA_3, arg_DBCA_4, arg_DBCA_5, arg_DBCA_6, arg_DBCA_7, arg_DBCA_8, arg_DBCA_9, arg_DBCA_10, arg_DBCA_11, arg_DBCA_12, arg_DBCA_13, arg_DBCA_14, array);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_GroundFrost)
         {
             Dictionary<ushort, Animation> arg_DCBC_0 = xARC.dixAnimations;
             ushort arg_DCBC_1 = 0;
             ushort arg_DCB7_0 = 0;
             byte arg_DCB7_1 = 1;
             Texture2D arg_DCB7_2 = GlobalContent.Load<Texture2D>("Sprites/Spells/Frost Spike/Frost/TypeB/Start2");
             Vector2 arg_DCB7_3 = new Vector2(11f, 10f);
             int arg_DCB7_4 = 4;
             int arg_DCB7_5 = 9;
             int arg_DCB7_6 = 21;
             int arg_DCB7_7 = 20;
             int arg_DCB7_8 = 0;
             int arg_DCB7_9 = 0;
             int arg_DCB7_10 = 10;
             Animation.LoopSettings arg_DCB7_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_DCB7_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_DCB7_13 = false;
             bool arg_DCB7_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_DC7C_0 = array;
             int arg_DC7C_1 = 0;
             AnimInsCriteria arg_DC77_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_DC72_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 50f;
             arg_DC7C_0[arg_DC7C_1] = new AnimationInstruction(arg_DC77_0, new AnimInsEvent(arg_DC72_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_DCBC_0[arg_DCBC_1] = new Animation(arg_DCB7_0, arg_DCB7_1, arg_DCB7_2, arg_DCB7_3, arg_DCB7_4, arg_DCB7_5, arg_DCB7_6, arg_DCB7_7, arg_DCB7_8, arg_DCB7_9, arg_DCB7_10, arg_DCB7_11, arg_DCB7_12, arg_DCB7_13, arg_DCB7_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, GlobalContent.Load<Texture2D>("Sprites/Spells/Frost Spike/Frost/TypeB/End2"), new Vector2(11f, 10f), 4, 9, 21, 20, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.65f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Pang1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Pang/Pang"), new Vector2(8f, 8f), 4, 4, 17, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Pang2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Pang/Slow2"), new Vector2(10f, 10f), 4, 4, 19, 19, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Bite1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Bite/Bite1"), new Vector2(12f, 19f), 4, 7, 24, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Bite2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Bite/Bite4"), new Vector2(16f, 19f), 4, 6, 32, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Bite3)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Bite/Bite3"), new Vector2(16f, 19f), 4, 6, 31, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Meow)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Test_02"), new Vector2(32f, 32f), 4, 32, 64, 64, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_PerfectGuard)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/ShieldDamage/Perfect Guard/Down"), new Vector2(11f, 16f), 4, 5, 22, 24, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/ShieldDamage/Perfect Guard/Right"), new Vector2(7f, 20f), 4, 5, 15, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/ShieldDamage/Perfect Guard/Right"), new Vector2(7f, 20f), 4, 5, 15, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_BatChew)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Bat/Bat"), new Vector2(16f, 16f), 4, 5, 31, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect >= SortedAnimated.SortedAnimatedEffects._HitEffect_SummerOrbParticleSmall && enEffect <= SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleSmall)
         {
             string sType = "Summer";
             if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_AutumnOrbParticleSmall)
             {
                 sType = "Fall";
             }
             else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleSmall)
             {
                 sType = "Winter";
             }
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sType + "/Particle/Small"), new Vector2(4f, 4f), 4, 5, 8, 8, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect >= SortedAnimated.SortedAnimatedEffects._HitEffect_SummerOrbParticleMedium && enEffect <= SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleMedium)
         {
             string sType2 = "Summer";
             if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_AutumnOrbParticleMedium)
             {
                 sType2 = "Fall";
             }
             else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleMedium)
             {
                 sType2 = "Winter";
             }
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sType2 + "/Particle/Mid"), new Vector2(5f, 5f), 4, 7, 10, 10, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect >= SortedAnimated.SortedAnimatedEffects._HitEffect_SummerOrbParticleBig && enEffect <= SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleBig)
         {
             string sType3 = "Summer";
             if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_AutumnOrbParticleBig)
             {
                 sType3 = "Fall";
             }
             else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleBig)
             {
                 sType3 = "Winter";
             }
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sType3 + "/Particle/Big"), new Vector2(6f, 6f), 4, 8, 12, 12, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeA)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainTop_WaterLeft)
         {
             Animation anim147 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Top/Water/Left"), Vector2.Zero, 6, 10, 282, 100, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim147.iID, anim147);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainTop_WaterRight)
         {
             Animation anim148 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Top/Water/Right"), Vector2.Zero, 6, 10, 157, 109, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim148.iID, anim148);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainTop_WaterCave)
         {
             Animation anim149 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Top/Water/Cave"), Vector2.Zero, 6, 10, 66, 40, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim149.iID, anim149);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainMid_WaterLeft)
         {
             Animation anim150 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Mid/Water/Water"), Vector2.Zero, 6, 10, 502, 118, 0, 0, 2, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim150.iID, anim150);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainMid_WaterRight)
         {
             Animation anim151 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Mid/Water/Pond"), Vector2.Zero, 6, 10, 306, 78, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim151.iID, anim151);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainBot_WaterLeft)
         {
             Animation anim152 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Bottom/Water/Left"), Vector2.Zero, 6, 10, 84, 237, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim152.iID, anim152);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainBot_WaterRight)
         {
             Animation anim153 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Bottom/Water/Right"), Vector2.Zero, 6, 10, 152, 235, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim153.iID, anim153);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainBot_WaterBridge)
         {
             Animation anim154 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Bottom/Water/Bridge"), Vector2.Zero, 6, 10, 275, 21, 0, 0, 2, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim154.iID, anim154);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainBot_WaterBridgeUnder)
         {
             Animation anim155 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Bottom/Water/BridgeUnder"), Vector2.Zero, 8, 10, 150, 29, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim155.iID, anim155);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_Fountain)
         {
             Animation anim156 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Stuff/fountain"), new Vector2(4f, 17f), 6, 8, 64, 64, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim156.iID, anim156);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQ_MasterDoor)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen"), new Vector2(33f, 68f), 5, 1, 67, 70, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen"), new Vector2(33f, 68f), 5, 6, 67, 70, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen"), new Vector2(33f, 68f), 5, 1, 67, 70, 335, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_E76D_0 = xARC.dixAnimations;
             ushort arg_E76D_1 = 3;
             ushort arg_E768_0 = 3;
             byte arg_E768_1 = 0;
             Texture2D arg_E768_2 = Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen");
             Vector2 arg_E768_3 = new Vector2(33f, 68f);
             int arg_E768_4 = 5;
             int arg_E768_5 = 6;
             int arg_E768_6 = 67;
             int arg_E768_7 = 70;
             int arg_E768_8 = 0;
             int arg_E768_9 = 0;
             int arg_E768_10 = 100;
             Animation.LoopSettings arg_E768_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_E768_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_E768_13 = false;
             bool arg_E768_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_E763_0 = array;
             int arg_E763_1 = 0;
             AnimInsCriteria arg_E75E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_E759_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_E763_0[arg_E763_1] = new AnimationInstruction(arg_E75E_0, new AnimInsEvent(arg_E759_0, array2));
             arg_E76D_0[arg_E76D_1] = new Animation(arg_E768_0, arg_E768_1, arg_E768_2, arg_E768_3, arg_E768_4, arg_E768_5, arg_E768_6, arg_E768_7, arg_E768_8, arg_E768_9, arg_E768_10, arg_E768_11, arg_E768_12, arg_E768_13, arg_E768_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.dixAnimations[4] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen"), new Vector2(33f, 68f), 5, 2, 67, 70, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[5] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen"), new Vector2(33f, 68f), 5, 4, 67, 70, 134, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQMaster_Sword)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Masterroom/SwordGlem"), new Vector2(23f, 28f), 4, 1, 46, 53, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_E911_0 = xARC.dixAnimations;
             ushort arg_E911_1 = 1;
             ushort arg_E90C_0 = 1;
             byte arg_E90C_1 = 0;
             Texture2D arg_E90C_2 = Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Masterroom/SwordGlem");
             Vector2 arg_E90C_3 = new Vector2(23f, 28f);
             int arg_E90C_4 = 4;
             int arg_E90C_5 = 8;
             int arg_E90C_6 = 46;
             int arg_E90C_7 = 53;
             int arg_E90C_8 = 0;
             int arg_E90C_9 = 0;
             int arg_E90C_10 = 100;
             Animation.LoopSettings arg_E90C_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_E90C_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_E90C_13 = false;
             bool arg_E90C_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_E907_0 = array;
             int arg_E907_1 = 0;
             AnimInsCriteria arg_E902_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_E8FD_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_E907_0[arg_E907_1] = new AnimationInstruction(arg_E902_0, new AnimInsEvent(arg_E8FD_0, array2));
             arg_E911_0[arg_E911_1] = new Animation(arg_E90C_0, arg_E90C_1, arg_E90C_2, arg_E90C_3, arg_E90C_4, arg_E90C_5, arg_E90C_6, arg_E90C_7, arg_E90C_8, arg_E90C_9, arg_E90C_10, arg_E90C_11, arg_E90C_12, arg_E90C_13, arg_E90C_14, array);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQMaster_Skull)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Masterroom/SkullLantern"), new Vector2(12f, 18f), 8, 5, 25, 27, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQLab_FloorLight)
         {
             Dictionary<ushort, Animation> arg_EA39_0 = xARC.dixAnimations;
             ushort arg_EA39_1 = 0;
             ushort arg_EA34_0 = 0;
             byte arg_EA34_1 = 0;
             Texture2D arg_EA34_2 = Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Lab/Props/Light");
             Vector2 arg_EA34_3 = new Vector2(0f, 0f);
             int arg_EA34_4 = 4;
             int arg_EA34_5 = 10;
             int arg_EA34_6 = 20;
             int arg_EA34_7 = 21;
             int arg_EA34_8 = 0;
             int arg_EA34_9 = 0;
             int arg_EA34_10 = 100;
             Animation.LoopSettings arg_EA34_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_EA34_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_EA34_13 = false;
             bool arg_EA34_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 60f
             }));
             AnimationInstruction[] arg_EA2F_0 = array;
             int arg_EA2F_1 = 1;
             AnimInsCriteria arg_EA2A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_EA25_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_EA2F_0[arg_EA2F_1] = new AnimationInstruction(arg_EA2A_0, new AnimInsEvent(arg_EA25_0, array2));
             arg_EA39_0[arg_EA39_1] = new Animation(arg_EA34_0, arg_EA34_1, arg_EA34_2, arg_EA34_3, arg_EA34_4, arg_EA34_5, arg_EA34_6, arg_EA34_7, arg_EA34_8, arg_EA34_9, arg_EA34_10, arg_EA34_11, arg_EA34_12, arg_EA34_13, arg_EA34_14, array);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQLab_Machine)
         {
             Dictionary<ushort, Animation> arg_EB0A_0 = xARC.dixAnimations;
             ushort arg_EB0A_1 = 0;
             ushort arg_EB05_0 = 0;
             byte arg_EB05_1 = 0;
             Texture2D arg_EB05_2 = Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Lab/Props/Machine");
             Vector2 arg_EB05_3 = new Vector2(0f, 0f);
             int arg_EB05_4 = 4;
             int arg_EB05_5 = 24;
             int arg_EB05_6 = 20;
             int arg_EB05_7 = 29;
             int arg_EB05_8 = 0;
             int arg_EB05_9 = 0;
             int arg_EB05_10 = 100;
             Animation.LoopSettings arg_EB05_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_EB05_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_EB05_13 = false;
             bool arg_EB05_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 24f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 60f
             }));
             AnimationInstruction[] arg_EB00_0 = array;
             int arg_EB00_1 = 1;
             AnimInsCriteria arg_EAFB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_EAF6_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_EB00_0[arg_EB00_1] = new AnimationInstruction(arg_EAFB_0, new AnimInsEvent(arg_EAF6_0, array2));
             arg_EB0A_0[arg_EB0A_1] = new Animation(arg_EB05_0, arg_EB05_1, arg_EB05_2, arg_EB05_3, arg_EB05_4, arg_EB05_5, arg_EB05_6, arg_EB05_7, arg_EB05_8, arg_EB05_9, arg_EB05_10, arg_EB05_11, arg_EB05_12, arg_EB05_13, arg_EB05_14, array);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQLab_ScreenA)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Lab/Props/ScreenA"), new Vector2(0f, 0f), 4, 11, 31, 12, 0, 4, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQLab_ScreenB)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Lab/Props/ScreenB"), new Vector2(0f, 0f), 4, 11, 22, 25, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonSingle_Blue)
         {
             Animation anim157 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Single/Blue"), new Vector2(10f, 36f), 5, 20, 21, 37, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim157.iID, anim157);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonSingle_Red)
         {
             Animation anim158 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Single/Red"), new Vector2(10f, 36f), 5, 20, 21, 37, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim158.iID, anim158);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonSingle_Green)
         {
             Animation anim159 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Single/Green"), new Vector2(10f, 36f), 5, 20, 21, 37, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim159.iID, anim159);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonSingle_Yellow)
         {
             Animation anim160 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Single/Yellow"), new Vector2(10f, 36f), 5, 20, 21, 37, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim160.iID, anim160);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonCluster_A)
         {
             Animation anim161 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Cluster/ClusterA"), new Vector2(18f, 40f), 5, 20, 36, 41, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim161.iID, anim161);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonCluster_B)
         {
             Animation anim162 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Cluster/ClusterB"), new Vector2(18f, 40f), 5, 20, 36, 41, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim162.iID, anim162);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonCluster_C)
         {
             Animation anim163 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Cluster/ClusterC"), new Vector2(18f, 46f), 5, 20, 37, 47, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim163.iID, anim163);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonCluster_D)
         {
             Animation anim164 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Cluster/ClusterD"), new Vector2(19f, 52f), 5, 20, 40, 53, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim164.iID, anim164);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_SmithWater)
         {
             Animation anim165 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Watertank_Water"), new Vector2(1f, 35f), 6, 10, 26, 45, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim165.iID, anim165);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_Jordglob)
         {
             Animation anim166 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/School/jordgubb"), new Vector2(21f, 37f), 4, 27, 43, 50, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim166.iID, anim166);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WindowCleaner)
         {
             Animation anim167 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/HQ/WindowClean/Idle"), new Vector2(9f, 33f), 5, 6, 29, 37, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim167.iID, anim167);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge01_House)
         {
             Animation anim168 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/House"), Vector2.Zero, 6, 10, 202, 29, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim168.iID, anim168);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge02_LeftBottom)
         {
             Animation anim169 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/LeftBottom"), Vector2.Zero, 6, 10, 36, 59, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim169.iID, anim169);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge03_LeftMid)
         {
             Animation anim170 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/LeftMid"), Vector2.Zero, 6, 10, 10, 377, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim170.iID, anim170);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge04_LeftTop)
         {
             Animation anim171 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/LeftTop"), Vector2.Zero, 6, 10, 8, 192, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim171.iID, anim171);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge05_LeftWall)
         {
             Animation anim172 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/LeftWall"), Vector2.Zero, 6, 10, 50, 16, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim172.iID, anim172);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge06_Library)
         {
             Animation anim173 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/Library"), Vector2.Zero, 6, 10, 13, 39, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim173.iID, anim173);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge07_RightBottom)
         {
             Animation anim174 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/RightBottom"), Vector2.Zero, 6, 10, 39, 60, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim174.iID, anim174);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge08_RightMid)
         {
             Animation anim175 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/RightMid"), Vector2.Zero, 6, 10, 11, 389, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim175.iID, anim175);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge09_RightTop)
         {
             Animation anim176 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/RightTop"), Vector2.Zero, 6, 10, 10, 157, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim176.iID, anim176);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge10_RightWall)
         {
             Animation anim177 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/RightWall"), Vector2.Zero, 6, 10, 60, 16, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim177.iID, anim177);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_LeftDoor1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left1"), new Vector2(19f, 70f), 5, 1, 59, 101, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left1"), new Vector2(19f, 70f), 5, 10, 59, 101, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left1"), new Vector2(19f, 70f), 5, 1, 59, 101, 531, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = -50f;
             Dictionary<ushort, Animation> arg_F4FC_0 = xARC.dixAnimations;
             ushort arg_F4FC_1 = 3;
             ushort arg_F4F7_0 = 3;
             byte arg_F4F7_1 = 0;
             Texture2D arg_F4F7_2 = Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left1");
             Vector2 arg_F4F7_3 = new Vector2(19f, 70f);
             int arg_F4F7_4 = 5;
             int arg_F4F7_5 = 10;
             int arg_F4F7_6 = 59;
             int arg_F4F7_7 = 101;
             int arg_F4F7_8 = 0;
             int arg_F4F7_9 = 0;
             int arg_F4F7_10 = 100;
             Animation.LoopSettings arg_F4F7_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_F4F7_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_F4F7_13 = false;
             bool arg_F4F7_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_F4F2_0 = array;
             int arg_F4F2_1 = 0;
             AnimInsCriteria arg_F4ED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_F4E8_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_F4F2_0[arg_F4F2_1] = new AnimationInstruction(arg_F4ED_0, new AnimInsEvent(arg_F4E8_0, array2));
             arg_F4FC_0[arg_F4FC_1] = new Animation(arg_F4F7_0, arg_F4F7_1, arg_F4F7_2, arg_F4F7_3, arg_F4F7_4, arg_F4F7_5, arg_F4F7_6, arg_F4F7_7, arg_F4F7_8, arg_F4F7_9, arg_F4F7_10, arg_F4F7_11, arg_F4F7_12, arg_F4F7_13, arg_F4F7_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_LeftDoor2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left2"), new Vector2(19f, 70f), 5, 1, 59, 101, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left2"), new Vector2(19f, 70f), 5, 10, 59, 101, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left2"), new Vector2(19f, 70f), 5, 1, 59, 101, 531, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_F69B_0 = xARC.dixAnimations;
             ushort arg_F69B_1 = 3;
             ushort arg_F696_0 = 3;
             byte arg_F696_1 = 0;
             Texture2D arg_F696_2 = Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left2");
             Vector2 arg_F696_3 = new Vector2(19f, 70f);
             int arg_F696_4 = 5;
             int arg_F696_5 = 10;
             int arg_F696_6 = 59;
             int arg_F696_7 = 101;
             int arg_F696_8 = 0;
             int arg_F696_9 = 0;
             int arg_F696_10 = 100;
             Animation.LoopSettings arg_F696_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_F696_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_F696_13 = false;
             bool arg_F696_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_F691_0 = array;
             int arg_F691_1 = 0;
             AnimInsCriteria arg_F68C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_F687_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_F691_0[arg_F691_1] = new AnimationInstruction(arg_F68C_0, new AnimInsEvent(arg_F687_0, array2));
             arg_F69B_0[arg_F69B_1] = new Animation(arg_F696_0, arg_F696_1, arg_F696_2, arg_F696_3, arg_F696_4, arg_F696_5, arg_F696_6, arg_F696_7, arg_F696_8, arg_F696_9, arg_F696_10, arg_F696_11, arg_F696_12, arg_F696_13, arg_F696_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.fVirtualHeight = -50f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_RightDoor1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right1"), new Vector2(40f, 70f), 5, 1, 59, 101, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right1"), new Vector2(40f, 70f), 5, 10, 59, 101, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right1"), new Vector2(40f, 70f), 5, 1, 59, 101, 531, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_F845_0 = xARC.dixAnimations;
             ushort arg_F845_1 = 3;
             ushort arg_F840_0 = 3;
             byte arg_F840_1 = 0;
             Texture2D arg_F840_2 = Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right1");
             Vector2 arg_F840_3 = new Vector2(40f, 70f);
             int arg_F840_4 = 5;
             int arg_F840_5 = 10;
             int arg_F840_6 = 59;
             int arg_F840_7 = 101;
             int arg_F840_8 = 0;
             int arg_F840_9 = 0;
             int arg_F840_10 = 100;
             Animation.LoopSettings arg_F840_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_F840_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_F840_13 = false;
             bool arg_F840_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_F83B_0 = array;
             int arg_F83B_1 = 0;
             AnimInsCriteria arg_F836_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_F831_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_F83B_0[arg_F83B_1] = new AnimationInstruction(arg_F836_0, new AnimInsEvent(arg_F831_0, array2));
             arg_F845_0[arg_F845_1] = new Animation(arg_F840_0, arg_F840_1, arg_F840_2, arg_F840_3, arg_F840_4, arg_F840_5, arg_F840_6, arg_F840_7, arg_F840_8, arg_F840_9, arg_F840_10, arg_F840_11, arg_F840_12, arg_F840_13, arg_F840_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.fVirtualHeight = -50f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_RightDoor2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right2"), new Vector2(40f, 70f), 5, 1, 59, 101, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right2"), new Vector2(40f, 70f), 5, 10, 59, 101, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right2"), new Vector2(40f, 70f), 5, 1, 59, 101, 531, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_F9EF_0 = xARC.dixAnimations;
             ushort arg_F9EF_1 = 3;
             ushort arg_F9EA_0 = 3;
             byte arg_F9EA_1 = 0;
             Texture2D arg_F9EA_2 = Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right2");
             Vector2 arg_F9EA_3 = new Vector2(40f, 70f);
             int arg_F9EA_4 = 5;
             int arg_F9EA_5 = 10;
             int arg_F9EA_6 = 59;
             int arg_F9EA_7 = 101;
             int arg_F9EA_8 = 0;
             int arg_F9EA_9 = 0;
             int arg_F9EA_10 = 100;
             Animation.LoopSettings arg_F9EA_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_F9EA_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_F9EA_13 = false;
             bool arg_F9EA_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_F9E5_0 = array;
             int arg_F9E5_1 = 0;
             AnimInsCriteria arg_F9E0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_F9DB_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_F9E5_0[arg_F9E5_1] = new AnimationInstruction(arg_F9E0_0, new AnimInsEvent(arg_F9DB_0, array2));
             arg_F9EF_0[arg_F9EF_1] = new Animation(arg_F9EA_0, arg_F9EA_1, arg_F9EA_2, arg_F9EA_3, arg_F9EA_4, arg_F9EA_5, arg_F9EA_6, arg_F9EA_7, arg_F9EA_8, arg_F9EA_9, arg_F9EA_10, arg_F9EA_11, arg_F9EA_12, arg_F9EA_13, arg_F9EA_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.fVirtualHeight = -50f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_TopDoor)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Mid"), new Vector2(33f, 64f), 5, 1, 67, 93, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Mid"), new Vector2(33f, 64f), 5, 10, 67, 93, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Mid"), new Vector2(33f, 64f), 5, 1, 67, 93, 603, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_FB99_0 = xARC.dixAnimations;
             ushort arg_FB99_1 = 3;
             ushort arg_FB94_0 = 3;
             byte arg_FB94_1 = 0;
             Texture2D arg_FB94_2 = Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Mid");
             Vector2 arg_FB94_3 = new Vector2(33f, 64f);
             int arg_FB94_4 = 5;
             int arg_FB94_5 = 10;
             int arg_FB94_6 = 67;
             int arg_FB94_7 = 93;
             int arg_FB94_8 = 0;
             int arg_FB94_9 = 0;
             int arg_FB94_10 = 100;
             Animation.LoopSettings arg_FB94_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_FB94_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_FB94_13 = false;
             bool arg_FB94_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_FB8F_0 = array;
             int arg_FB8F_1 = 0;
             AnimInsCriteria arg_FB8A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_FB85_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_FB8F_0[arg_FB8F_1] = new AnimationInstruction(arg_FB8A_0, new AnimInsEvent(arg_FB85_0, array2));
             arg_FB99_0[arg_FB99_1] = new Animation(arg_FB94_0, arg_FB94_1, arg_FB94_2, arg_FB94_3, arg_FB94_4, arg_FB94_5, arg_FB94_6, arg_FB94_7, arg_FB94_8, arg_FB94_9, arg_FB94_10, arg_FB94_11, arg_FB94_12, arg_FB94_13, arg_FB94_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.fVirtualHeight = -50f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge01_BotLeftBot)
         {
             Animation anim178 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/BotLeftBot"), Vector2.Zero, 6, 10, 25, 60, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim178.iID, anim178);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge02_BotLong)
         {
             Animation anim179 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/BotLong"), Vector2.Zero, 6, 10, 440, 23, 0, 0, 2, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim179.iID, anim179);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge03_BotRightBot)
         {
             Animation anim180 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/BotRightBot"), Vector2.Zero, 6, 10, 32, 69, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim180.iID, anim180);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge04_BotRightTop)
         {
             Animation anim181 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/BotRightTop"), Vector2.Zero, 6, 10, 59, 77, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim181.iID, anim181);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge05_Mid)
         {
             Animation anim182 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/Mid"), Vector2.Zero, 6, 10, 54, 159, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim182.iID, anim182);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge06_Top)
         {
             Animation anim183 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/Top"), Vector2.Zero, 6, 10, 54, 155, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim183.iID, anim183);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_MarinoGate)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Gate/Open"), new Vector2(41f, 57f), 4, 1, 99, 68, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Gate/Open"), new Vector2(41f, 57f), 4, 7, 99, 68, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Gate/Close"), new Vector2(41f, 57f), 4, 5, 99, 68, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_WalkingTree01)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Winterland/gran02"), new Vector2(24f, 54f), 4, 1, 49, 57, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Start"), new Vector2(26f, 85f), 4, 20, 51, 90, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Walk"), new Vector2(28f, 65f), 4, 10, 55, 72, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_FFD1_0 = xARC.dixAnimations;
             ushort arg_FFD1_1 = 3;
             ushort arg_FFCC_0 = 3;
             byte arg_FFCC_1 = 0;
             Texture2D arg_FFCC_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/End");
             Vector2 arg_FFCC_3 = new Vector2(26f, 83f);
             int arg_FFCC_4 = 4;
             int arg_FFCC_5 = 12;
             int arg_FFCC_6 = 51;
             int arg_FFCC_7 = 90;
             int arg_FFCC_8 = 0;
             int arg_FFCC_9 = 0;
             int arg_FFCC_10 = 100;
             Animation.LoopSettings arg_FFCC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_FFCC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_FFCC_13 = false;
             bool arg_FFCC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_FFC7_0 = array;
             int arg_FFC7_1 = 0;
             AnimInsCriteria arg_FFC2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_FFBD_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_FFC7_0[arg_FFC7_1] = new AnimationInstruction(arg_FFC2_0, new AnimInsEvent(arg_FFBD_0, array2));
             arg_FFD1_0[arg_FFD1_1] = new Animation(arg_FFCC_0, arg_FFCC_1, arg_FFCC_2, arg_FFCC_3, arg_FFCC_4, arg_FFCC_5, arg_FFCC_6, arg_FFCC_7, arg_FFCC_8, arg_FFCC_9, arg_FFCC_10, arg_FFCC_11, arg_FFCC_12, arg_FFCC_13, arg_FFCC_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_WalkingTree02)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Start"), new Vector2(26f, 85f), 4, 1, 102, 90, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Start"), new Vector2(26f, 85f), 4, 10, 102, 90, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Walk"), new Vector2(28f, 65f), 4, 10, 55, 72, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_10122_0 = xARC.dixAnimations;
             ushort arg_10122_1 = 3;
             ushort arg_1011D_0 = 3;
             byte arg_1011D_1 = 0;
             Texture2D arg_1011D_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/End");
             Vector2 arg_1011D_3 = new Vector2(26f, 83f);
             int arg_1011D_4 = 4;
             int arg_1011D_5 = 12;
             int arg_1011D_6 = 51;
             int arg_1011D_7 = 90;
             int arg_1011D_8 = 0;
             int arg_1011D_9 = 0;
             int arg_1011D_10 = 100;
             Animation.LoopSettings arg_1011D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1011D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1011D_13 = false;
             bool arg_1011D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_10118_0 = array;
             int arg_10118_1 = 0;
             AnimInsCriteria arg_10113_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_1010E_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_10118_0[arg_10118_1] = new AnimationInstruction(arg_10113_0, new AnimInsEvent(arg_1010E_0, array2));
             arg_10122_0[arg_10122_1] = new Animation(arg_1011D_0, arg_1011D_1, arg_1011D_2, arg_1011D_3, arg_1011D_4, arg_1011D_5, arg_1011D_6, arg_1011D_7, arg_1011D_8, arg_1011D_9, arg_1011D_10, arg_1011D_11, arg_1011D_12, arg_1011D_13, arg_1011D_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_WalkingTree03)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Start"), new Vector2(26f, 85f), 4, 1, 102, 90, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Start"), new Vector2(26f, 85f), 4, 10, 102, 90, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Walk"), new Vector2(28f, 65f), 4, 10, 55, 72, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_10273_0 = xARC.dixAnimations;
             ushort arg_10273_1 = 3;
             ushort arg_1026E_0 = 3;
             byte arg_1026E_1 = 0;
             Texture2D arg_1026E_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/End");
             Vector2 arg_1026E_3 = new Vector2(26f, 83f);
             int arg_1026E_4 = 4;
             int arg_1026E_5 = 12;
             int arg_1026E_6 = 51;
             int arg_1026E_7 = 90;
             int arg_1026E_8 = 0;
             int arg_1026E_9 = 0;
             int arg_1026E_10 = 100;
             Animation.LoopSettings arg_1026E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1026E_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1026E_13 = false;
             bool arg_1026E_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_10269_0 = array;
             int arg_10269_1 = 0;
             AnimInsCriteria arg_10264_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_1025F_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_10269_0[arg_10269_1] = new AnimationInstruction(arg_10264_0, new AnimInsEvent(arg_1025F_0, array2));
             arg_10273_0[arg_10273_1] = new Animation(arg_1026E_0, arg_1026E_1, arg_1026E_2, arg_1026E_3, arg_1026E_4, arg_1026E_5, arg_1026E_6, arg_1026E_7, arg_1026E_8, arg_1026E_9, arg_1026E_10, arg_1026E_11, arg_1026E_12, arg_1026E_13, arg_1026E_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_WalkingTree04)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Winterland/gran01"), new Vector2(24f, 54f), 4, 1, 49, 57, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Winterland/gran04"), new Vector2(41f, 57f), 4, 7, 99, 68, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Winterland/gran04"), new Vector2(41f, 57f), 4, 5, 99, 68, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_103C1_0 = xARC.dixAnimations;
             ushort arg_103C1_1 = 3;
             ushort arg_103BC_0 = 3;
             byte arg_103BC_1 = 0;
             Texture2D arg_103BC_2 = Content.Load<Texture2D>("Sprites/Environment/Winterland/gran04");
             Vector2 arg_103BC_3 = new Vector2(41f, 57f);
             int arg_103BC_4 = 4;
             int arg_103BC_5 = 5;
             int arg_103BC_6 = 99;
             int arg_103BC_7 = 68;
             int arg_103BC_8 = 0;
             int arg_103BC_9 = 0;
             int arg_103BC_10 = 100;
             Animation.LoopSettings arg_103BC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_103BC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_103BC_13 = false;
             bool arg_103BC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_103B7_0 = array;
             int arg_103B7_1 = 0;
             AnimInsCriteria arg_103B2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_103AD_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_103B7_0[arg_103B7_1] = new AnimationInstruction(arg_103B2_0, new AnimInsEvent(arg_103AD_0, array2));
             arg_103C1_0[arg_103C1_1] = new Animation(arg_103BC_0, arg_103BC_1, arg_103BC_2, arg_103BC_3, arg_103BC_4, arg_103BC_5, arg_103BC_6, arg_103BC_7, arg_103BC_8, arg_103BC_9, arg_103BC_10, arg_103BC_11, arg_103BC_12, arg_103BC_13, arg_103BC_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_Bell)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Bell"), new Vector2(10f, 0f), 4, 1, 19, 15, 190, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_10492_0 = xARC.dixAnimations;
             ushort arg_10492_1 = 1;
             ushort arg_1048D_0 = 1;
             byte arg_1048D_1 = 0;
             Texture2D arg_1048D_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/Bell");
             Vector2 arg_1048D_3 = new Vector2(10f, 0f);
             int arg_1048D_4 = 4;
             int arg_1048D_5 = 11;
             int arg_1048D_6 = 19;
             int arg_1048D_7 = 15;
             int arg_1048D_8 = 0;
             int arg_1048D_9 = 0;
             int arg_1048D_10 = 50;
             Animation.LoopSettings arg_1048D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1048D_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1048D_13 = true;
             bool arg_1048D_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_10488_0 = array;
             int arg_10488_1 = 0;
             AnimInsCriteria arg_10483_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_1047E_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_10488_0[arg_10488_1] = new AnimationInstruction(arg_10483_0, new AnimInsEvent(arg_1047E_0, array2));
             arg_10492_0.Add(arg_10492_1, new Animation(arg_1048D_0, arg_1048D_1, arg_1048D_2, arg_1048D_3, arg_1048D_4, arg_1048D_5, arg_1048D_6, arg_1048D_7, arg_1048D_8, arg_1048D_9, arg_1048D_10, arg_1048D_11, arg_1048D_12, arg_1048D_13, arg_1048D_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryBalls01)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/Lights/LeftA"), new Vector2(0f, 0f), 4, 30, 75, 19, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryBalls02)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/Lights/LeftB"), new Vector2(0f, 0f), 4, 30, 69, 23, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryBalls03)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/Lights/RightA"), new Vector2(0f, 0f), 4, 30, 72, 23, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryBalls04)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/Lights/RightB"), new Vector2(0f, 0f), 4, 30, 75, 18, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryChimneyMedium)
         {
             this.bDestroyAtEnd = false;
             Dictionary<ushort, Animation> arg_106F7_0 = xARC.dixAnimations;
             ushort arg_106F7_1 = 0;
             ushort arg_106F2_0 = 0;
             byte arg_106F2_1 = 0;
             Texture2D arg_106F2_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/ChimneyMid");
             Vector2 arg_106F2_3 = new Vector2(20f, 36f);
             int arg_106F2_4 = 4;
             int arg_106F2_5 = 9;
             int arg_106F2_6 = 40;
             int arg_106F2_7 = 43;
             int arg_106F2_8 = 0;
             int arg_106F2_9 = 0;
             int arg_106F2_10 = 100;
             Animation.LoopSettings arg_106F2_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_106F2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_106F2_13 = false;
             bool arg_106F2_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             }), new AnimInsEvent(new AnimInsEvent.DelegateFunction(AnimationDelegateFunctions._Winterland_ChimneySmoke_Medium)));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 60f
             }));
             AnimationInstruction[] arg_106ED_0 = array;
             int arg_106ED_1 = 2;
             AnimInsCriteria arg_106E8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_106E3_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_106ED_0[arg_106ED_1] = new AnimationInstruction(arg_106E8_0, new AnimInsEvent(arg_106E3_0, array2));
             arg_106F7_0[arg_106F7_1] = new Animation(arg_106F2_0, arg_106F2_1, arg_106F2_2, arg_106F2_3, arg_106F2_4, arg_106F2_5, arg_106F2_6, arg_106F2_7, arg_106F2_8, arg_106F2_9, arg_106F2_10, arg_106F2_11, arg_106F2_12, arg_106F2_13, arg_106F2_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryChimneySmall)
         {
             this.bDestroyAtEnd = false;
             Dictionary<ushort, Animation> arg_10808_0 = xARC.dixAnimations;
             ushort arg_10808_1 = 0;
             ushort arg_10803_0 = 0;
             byte arg_10803_1 = 0;
             Texture2D arg_10803_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/ChimneySmall");
             Vector2 arg_10803_3 = new Vector2(19f, 31f);
             int arg_10803_4 = 4;
             int arg_10803_5 = 9;
             int arg_10803_6 = 38;
             int arg_10803_7 = 37;
             int arg_10803_8 = 0;
             int arg_10803_9 = 0;
             int arg_10803_10 = 100;
             Animation.LoopSettings arg_10803_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_10803_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_10803_13 = false;
             bool arg_10803_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             }), new AnimInsEvent(new AnimInsEvent.DelegateFunction(AnimationDelegateFunctions._Winterland_ChimneySmoke_Small)));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 60f
             }));
             AnimationInstruction[] arg_107FE_0 = array;
             int arg_107FE_1 = 2;
             AnimInsCriteria arg_107F9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_107F4_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_107FE_0[arg_107FE_1] = new AnimationInstruction(arg_107F9_0, new AnimInsEvent(arg_107F4_0, array2));
             arg_10808_0[arg_10808_1] = new Animation(arg_10803_0, arg_10803_1, arg_10803_2, arg_10803_3, arg_10803_4, arg_10803_5, arg_10803_6, arg_10803_7, arg_10803_8, arg_10803_9, arg_10803_10, arg_10803_11, arg_10803_12, arg_10803_13, arg_10803_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryWheel)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/Cog"), new Vector2(4f, 41f), 6, 4, 53, 59, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBelt)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Rullband"), new Vector2(0f, 11f), 4, 5, 48, 35, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Rullband"), new Vector2(48f, 11f), 4, 5, 48, 35, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBeltMachine)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(0f, 50f), 4, 1, 22, 69, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(0f, 50f), 4, 6, 22, 69, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Idle"), new Vector2(0f, 50f), 4, 7, 22, 69, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(0f, 50f), 4, 6, 22, 69, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.dixAnimations[10] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(22f, 50f), 4, 1, 22, 69, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[10].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[11] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(22f, 50f), 4, 6, 22, 69, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     12f
                 }))
             });
             xARC.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[12] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Idle"), new Vector2(22f, 50f), 4, 7, 22, 69, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[12].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[13] = new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(22f, 50f), 4, 6, 22, 69, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[13].bReversePlayback = true;
             xARC.dixAnimations[13].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight = 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_WarningLamp)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Train Lamps/Down/Start"), new Vector2(30f, 30f), 4, 1, 61, 61, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Train Lamps/Down/Start"), new Vector2(30f, 30f), 4, 7, 61, 61, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Train Lamps/Down/Idle"), new Vector2(30f, 30f), 6, 4, 61, 61, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_FallingDoor)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/BreakSide"), new Vector2(67f, 70f), 4, 1, 67, 85, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/BreakSide"), new Vector2(67f, 70f), 5, 7, 67, 85, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/BreakSide"), new Vector2(67f, 70f), 4, 1, 67, 85, 402, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_TrainEngineDeath_Body)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Train/Dead/Body"), new Vector2(10f, 34f), 4, 9, 20, 38, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_TrainEngineDeath_Chimney)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Train/Dead/Chimney"), new Vector2(9f, 33f), 4, 14, 17, 38, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_TrainEngineDeath_Wheel)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Train/Dead/Wheel"), new Vector2(7f, 31f), 4, 14, 13, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_TrainCartDeath_BodyA)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Cart/Dead/BodyA"), new Vector2(11f, 35f), 4, 9, 21, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_TrainCartDeath_BodyB)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Cart/Dead/BodyB"), new Vector2(11f, 35f), 4, 10, 21, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_FakeJar)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Jar"), new Vector2(8f, 15f), 4, 1, 17, 21, 0, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, RenderMaster.txNullTex, new Vector2(8f, 15f), 4, 1, 17, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_EntranceButton)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Button/Button"), Vector2.Zero, 4, 1, 41, 37, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Button/Button"), Vector2.Zero, 4, 3, 41, 37, 41, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Button/Button"), Vector2.Zero, 4, 1, 41, 37, 123, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Button/Button"), Vector2.Zero, 4, 4, 41, 37, 164, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/Frame"), new Vector2(0f, 52f), 4, 1, 105, 52, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/FrameBreak"), new Vector2(0f, 52f), 4, 1, 105, 52, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomMachinery)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/Machines"), Vector2.Zero, 4, 10, 65, 36, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomMachinery_Small)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/MachineFront"), new Vector2(7f, 8f), 4, 10, 32, 8, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow_FallingDoor)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/Door"), new Vector2(29f, 36f), 4, 5, 29, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow_FrostlingLevers)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/Frostling"), new Vector2(5f, 26f), 4, 9, 27, 26, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/FrostlingMachine"), new Vector2(1f, 12f), 4, 1, 19, 12, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow_FightCloud)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/Fight"), new Vector2(27f, 51f), 4, 8, 94, 73, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow_GlassBreak)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/WindowBreak"), new Vector2(0f, 58f), 4, 11, 61, 72, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow_FrostlingFly)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(19f, 29f), 4, 12, 36, 34, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Dead/Right"), new Vector2(19f, 29f), 4, 12, 36, 34, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Dead/Right"), new Vector2(19f, 29f), 4, 1, 36, 34, 396, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_HalloweenForest_WaterCave)
         {
             Animation anim184 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone008_HalloForest/Water/Cave"), Vector2.Zero, 6, 10, 46, 19, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim184.iID, anim184);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_HalloweenForest_WaterPond)
         {
             Animation anim185 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone008_HalloForest/Water/Water"), Vector2.Zero, 6, 10, 217, 47, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim185.iID, anim185);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_HalloweenForest_StatueStuff)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Statue_ChargeA"), new Vector2(31f, 87f), 4, 5, 59, 98, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Statue_ChargeB"), new Vector2(31f, 87f), 4, 4, 59, 98, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Statue_Wings"), new Vector2(77f, 116f), 4, 50, 152, 127, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             });
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_SpawnTeleportPlate)
         {
             ushort arg_1186F_0 = 0;
             byte arg_1186F_1 = 0;
             Texture2D arg_1186F_2 = Content.Load<Texture2D>("Sprites/NPC/Bag/ThrowUp/Plate");
             Vector2 arg_1186F_3 = new Vector2(29f, 31f);
             int arg_1186F_4 = 4;
             int arg_1186F_5 = 17;
             int arg_1186F_6 = 60;
             int arg_1186F_7 = 57;
             int arg_1186F_8 = 0;
             int arg_1186F_9 = 0;
             int arg_1186F_10 = 17;
             Animation.LoopSettings arg_1186F_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1186F_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1186F_13 = false;
             bool arg_1186F_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_117C2_0 = array;
             int arg_117C2_1 = 0;
             AnimInsCriteria arg_117BD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_117B8_0 = AnimInsEvent.EventType.AdjustPosition;
             float[] array2 = new float[2];
             array2[0] = -2f;
             arg_117C2_0[arg_117C2_1] = new AnimationInstruction(arg_117BD_0, new AnimInsEvent(arg_117B8_0, array2));
             AnimationInstruction[] arg_11816_0 = array;
             int arg_11816_1 = 1;
             AnimInsCriteria arg_11811_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 1f,
                 6f
             });
             AnimInsEvent.EventType arg_1180C_0 = AnimInsEvent.EventType.AdjustPosition;
             array2 = new float[2];
             array2[0] = -2f;
             arg_11816_0[arg_11816_1] = new AnimationInstruction(arg_11811_0, new AnimInsEvent(arg_1180C_0, array2));
             AnimationInstruction[] arg_1186A_0 = array;
             int arg_1186A_1 = 2;
             AnimInsCriteria arg_11865_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 7f,
                 10f
             });
             AnimInsEvent.EventType arg_11860_0 = AnimInsEvent.EventType.AdjustPosition;
             array2 = new float[2];
             array2[0] = -1f;
             arg_1186A_0[arg_1186A_1] = new AnimationInstruction(arg_11865_0, new AnimInsEvent(arg_11860_0, array2));
             Animation anim186 = new Animation(arg_1186F_0, arg_1186F_1, arg_1186F_2, arg_1186F_3, arg_1186F_4, arg_1186F_5, arg_1186F_6, arg_1186F_7, arg_1186F_8, arg_1186F_9, arg_1186F_10, arg_1186F_11, arg_1186F_12, arg_1186F_13, arg_1186F_14, array);
             xARC.dixAnimations.Add(anim186.iID, anim186);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RankSmall)
         {
             Animation anim187 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Ranksmall"), new Vector2(6f, 1f), 4, 12, 14, 15, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim187.iID, anim187);
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RankMedium)
         {
             Animation anim188 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Rankmid"), new Vector2(8f, 1f), 5, 12, 16, 26, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim188.iID, anim188);
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RankBig)
         {
             Animation anim189 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Rankbig"), new Vector2(7f, 1f), 5, 12, 16, 36, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim189.iID, anim189);
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_SandFallA)
         {
             Animation anim190 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Dust"), new Vector2(14f, -2f), 5, 13, 24, 27, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim190.iID, anim190);
             enRegisterLayer = RenderMaster.SubRenderLayer.Parallax;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RockSmall)
         {
             Animation anim191 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Rocksmall"), new Vector2(4f, 4f), 5 + Program.game.randomInVisual.Next(3), 4, 7, 7, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim191.iID, anim191);
             enRegisterLayer = RenderMaster.SubRenderLayer.Parallax;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RockMedium)
         {
             Animation anim192 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Rockmid"), new Vector2(6f, 5f), 5 + Program.game.randomInVisual.Next(3), 4, 11, 10, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim192.iID, anim192);
             enRegisterLayer = RenderMaster.SubRenderLayer.Parallax;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RockBig)
         {
             Animation anim193 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Rockbig"), new Vector2(7f, 5f), 5 + Program.game.randomInVisual.Next(3), 4, 13, 10, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim193.iID, anim193);
             enRegisterLayer = RenderMaster.SubRenderLayer.Parallax;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_DistantBird)
         {
             Animation anim194 = new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/WhiteBird/Fly/Right"), new Vector2(9f, 14f), 4, 8, 21, 20, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim194.iID, anim194);
             xARC.v2ParallaxFactor = new Vector2(0.75f, 0.75f);
             xARC.fScale = 0.6f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Parallax;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_EnergySpark)
         {
             Animation anim195 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Spark"), new Vector2(0f, 7f), 4, 4, 24, 12, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim195.iID, anim195);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_LaserFenceGreen)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(10f, 34f), 4, 1, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/Start"), new Vector2(10f, 34f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/Idle"), new Vector2(10f, 34f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_11E21_0 = xARC.dixAnimations;
             ushort arg_11E21_1 = 3;
             ushort arg_11E1C_0 = 3;
             byte arg_11E1C_1 = 0;
             Texture2D arg_11E1C_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/End");
             Vector2 arg_11E1C_3 = new Vector2(10f, 34f);
             int arg_11E1C_4 = 4;
             int arg_11E1C_5 = 3;
             int arg_11E1C_6 = 19;
             int arg_11E1C_7 = 42;
             int arg_11E1C_8 = 0;
             int arg_11E1C_9 = 0;
             int arg_11E1C_10 = 8;
             Animation.LoopSettings arg_11E1C_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_11E1C_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_11E1C_13 = true;
             bool arg_11E1C_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_11E17_0 = array;
             int arg_11E17_1 = 0;
             AnimInsCriteria arg_11E12_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_11E0D_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_11E17_0[arg_11E17_1] = new AnimationInstruction(arg_11E12_0, new AnimInsEvent(arg_11E0D_0, array2));
             arg_11E21_0.Add(arg_11E21_1, new Animation(arg_11E1C_0, arg_11E1C_1, arg_11E1C_2, arg_11E1C_3, arg_11E1C_4, arg_11E1C_5, arg_11E1C_6, arg_11E1C_7, arg_11E1C_8, arg_11E1C_9, arg_11E1C_10, arg_11E1C_11, arg_11E1C_12, arg_11E1C_13, arg_11E1C_14, array));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             StaticRenderComponent xHole2 = new StaticRenderComponent(Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/Base"), new TransformComponent(v2Position));
             xHole2.v2Offset = new Vector2(5f, 5f);
             Program.GetTheGame().xRenderMaster.RegisterBelowSorted(xHole2);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_LaserFenceBlue)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(10f, 34f), 4, 1, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/StartBlue"), new Vector2(10f, 34f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/IdleBlue"), new Vector2(10f, 34f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_11FDD_0 = xARC.dixAnimations;
             ushort arg_11FDD_1 = 3;
             ushort arg_11FD8_0 = 3;
             byte arg_11FD8_1 = 0;
             Texture2D arg_11FD8_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/EndBlue");
             Vector2 arg_11FD8_3 = new Vector2(10f, 34f);
             int arg_11FD8_4 = 4;
             int arg_11FD8_5 = 3;
             int arg_11FD8_6 = 19;
             int arg_11FD8_7 = 42;
             int arg_11FD8_8 = 0;
             int arg_11FD8_9 = 0;
             int arg_11FD8_10 = 8;
             Animation.LoopSettings arg_11FD8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_11FD8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_11FD8_13 = true;
             bool arg_11FD8_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_11FD3_0 = array;
             int arg_11FD3_1 = 0;
             AnimInsCriteria arg_11FCE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_11FC9_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_11FD3_0[arg_11FD3_1] = new AnimationInstruction(arg_11FCE_0, new AnimInsEvent(arg_11FC9_0, array2));
             arg_11FDD_0.Add(arg_11FDD_1, new Animation(arg_11FD8_0, arg_11FD8_1, arg_11FD8_2, arg_11FD8_3, arg_11FD8_4, arg_11FD8_5, arg_11FD8_6, arg_11FD8_7, arg_11FD8_8, arg_11FD8_9, arg_11FD8_10, arg_11FD8_11, arg_11FD8_12, arg_11FD8_13, arg_11FD8_14, array));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             StaticRenderComponent xHole3 = new StaticRenderComponent(Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/Base"), new TransformComponent(v2Position));
             xHole3.v2Offset = new Vector2(5f, 5f);
             Program.GetTheGame().xRenderMaster.RegisterBelowSorted(xHole3);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindEast_Wagon)
         {
             Animation anim196 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Evergrind/Carpenter/Wagon"), new Vector2(30f, 18f), 5, 1, 49, 34, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim196.iID, anim196);
             Dictionary<ushort, Animation> arg_1211E_0 = xARC.dixAnimations;
             ushort arg_1211E_1 = 1;
             ushort arg_12119_0 = 1;
             byte arg_12119_1 = 0;
             Texture2D arg_12119_2 = Content.Load<Texture2D>("Sprites/NPC/Evergrind/Carpenter/Flavor/Shake");
             Vector2 arg_12119_3 = new Vector2(33f, 18f);
             int arg_12119_4 = 4;
             int arg_12119_5 = 3;
             int arg_12119_6 = 51;
             int arg_12119_7 = 33;
             int arg_12119_8 = 0;
             int arg_12119_9 = 0;
             int arg_12119_10 = 17;
             Animation.LoopSettings arg_12119_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_12119_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_12119_13 = false;
             bool arg_12119_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_120E9_0 = array;
             int arg_120E9_1 = 0;
             AnimInsCriteria arg_120E4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_120DF_0 = AnimInsEvent.EventType.PlaySound;
             string arg_120DF_1 = "Kick_Wagon";
             float[] array2 = new float[1];
             arg_120E9_0[arg_120E9_1] = new AnimationInstruction(arg_120E4_0, new AnimInsEvent(arg_120DF_0, arg_120DF_1, array2));
             AnimationInstruction[] arg_12114_0 = array;
             int arg_12114_1 = 1;
             AnimInsCriteria arg_1210F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_1210A_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_12114_0[arg_12114_1] = new AnimationInstruction(arg_1210F_0, new AnimInsEvent(arg_1210A_0, array2));
             arg_1211E_0[arg_1211E_1] = new Animation(arg_12119_0, arg_12119_1, arg_12119_2, arg_12119_3, arg_12119_4, arg_12119_5, arg_12119_6, arg_12119_7, arg_12119_8, arg_12119_9, arg_12119_10, arg_12119_11, arg_12119_12, arg_12119_13, arg_12119_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_TeleportSpawn)
         {
             ushort arg_1219D_0 = 0;
             byte arg_1219D_1 = 0;
             Texture2D arg_1219D_2 = Content.Load<Texture2D>("Effects/Spawn/Teleport");
             Vector2 arg_1219D_3 = new Vector2(20f, 14f);
             int arg_1219D_4 = 4;
             int arg_1219D_5 = 17;
             int arg_1219D_6 = 40;
             int arg_1219D_7 = 30;
             int arg_1219D_8 = 0;
             int arg_1219D_9 = 0;
             int arg_1219D_10 = 17;
             Animation.LoopSettings arg_1219D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1219D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1219D_13 = true;
             bool arg_1219D_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_12198_0 = array;
             int arg_12198_1 = 0;
             AnimInsCriteria arg_12193_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_1218E_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1218E_1 = "FlyingFortress_EnemySpawn";
             float[] array2 = new float[1];
             arg_12198_0[arg_12198_1] = new AnimationInstruction(arg_12193_0, new AnimInsEvent(arg_1218E_0, arg_1218E_1, array2));
             Animation anim197 = new Animation(arg_1219D_0, arg_1219D_1, arg_1219D_2, arg_1219D_3, arg_1219D_4, arg_1219D_5, arg_1219D_6, arg_1219D_7, arg_1219D_8, arg_1219D_9, arg_1219D_10, arg_1219D_11, arg_1219D_12, arg_1219D_13, arg_1219D_14, array);
             xARC.dixAnimations.Add(anim197.iID, anim197);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_Crystal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Crystal/Start"), new Vector2(15f, 42f), 4, 1, 31, 54, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_122D0_0 = xARC.dixAnimations;
             ushort arg_122D0_1 = 1;
             ushort arg_122CB_0 = 1;
             byte arg_122CB_1 = 0;
             Texture2D arg_122CB_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Crystal/Start");
             Vector2 arg_122CB_3 = new Vector2(15f, 42f);
             int arg_122CB_4 = 4;
             int arg_122CB_5 = 5;
             int arg_122CB_6 = 31;
             int arg_122CB_7 = 54;
             int arg_122CB_8 = 0;
             int arg_122CB_9 = 0;
             int arg_122CB_10 = 17;
             Animation.LoopSettings arg_122CB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_122CB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_122CB_13 = true;
             bool arg_122CB_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_12290_0 = array;
             int arg_12290_1 = 0;
             AnimInsCriteria arg_1228B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_12286_0 = AnimInsEvent.EventType.PlaySound;
             string arg_12286_1 = "Generator_CrystalFlash";
             float[] array2 = new float[1];
             arg_12290_0[arg_12290_1] = new AnimationInstruction(arg_1228B_0, new AnimInsEvent(arg_12286_0, arg_12286_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }));
             arg_122D0_0.Add(arg_122D0_1, new Animation(arg_122CB_0, arg_122CB_1, arg_122CB_2, arg_122CB_3, arg_122CB_4, arg_122CB_5, arg_122CB_6, arg_122CB_7, arg_122CB_8, arg_122CB_9, arg_122CB_10, arg_122CB_11, arg_122CB_12, arg_122CB_13, arg_122CB_14, array));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Crystal/Idle"), new Vector2(15f, 42f), 4, 12, 31, 54, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_123D5_0 = xARC.dixAnimations;
             ushort arg_123D5_1 = 3;
             ushort arg_123D0_0 = 3;
             byte arg_123D0_1 = 0;
             Texture2D arg_123D0_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Crystal/StartB");
             Vector2 arg_123D0_3 = new Vector2(15f, 42f);
             int arg_123D0_4 = 4;
             int arg_123D0_5 = 3;
             int arg_123D0_6 = 31;
             int arg_123D0_7 = 54;
             int arg_123D0_8 = 0;
             int arg_123D0_9 = 0;
             int arg_123D0_10 = 17;
             Animation.LoopSettings arg_123D0_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_123D0_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_123D0_13 = true;
             bool arg_123D0_14 = true;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_12395_0 = array;
             int arg_12395_1 = 0;
             AnimInsCriteria arg_12390_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_1238B_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1238B_1 = "Generator_CrystalFlash";
             array2 = new float[1];
             arg_12395_0[arg_12395_1] = new AnimationInstruction(arg_12390_0, new AnimInsEvent(arg_1238B_0, arg_1238B_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 4f
             }));
             arg_123D5_0.Add(arg_123D5_1, new Animation(arg_123D0_0, arg_123D0_1, arg_123D0_2, arg_123D0_3, arg_123D0_4, arg_123D0_5, arg_123D0_6, arg_123D0_7, arg_123D0_8, arg_123D0_9, arg_123D0_10, arg_123D0_11, arg_123D0_12, arg_123D0_13, arg_123D0_14, array));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Crystal/IdleB"), new Vector2(15f, 42f), 4, 3, 31, 54, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_Keyhole)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Keyhole/Start"), new Vector2(0f, 0f), 4, 7, 17, 36, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Keyhole/Start"), new Vector2(0f, 0f), 4, 1, 17, 36, 119, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_BossGate)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/door_boss"), new Vector2(0f, 0f), 4, 44, 141, 113, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/door_boss"), new Vector2(0f, 0f), 4, 1, 141, 113, 1410, 339, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_BigScreen)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Big Screen/Start"), new Vector2(0f, 0f), 4, 8, 83, 36, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Big Screen/Idle"), new Vector2(0f, 0f), 4, 14, 83, 36, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_Emblem)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Emblem/Start"), new Vector2(0f, 0f), 4, 7, 37, 26, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Emblem/Start"), new Vector2(0f, 0f), 4, 1, 37, 26, 222, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 50f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_Keyboard)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Keyboard/Start"), new Vector2(0f, 0f), 4, 15, 59, 15, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Keyboard/Start"), new Vector2(0f, 0f), 4, 1, 59, 15, 826, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_LeftScreen)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Left Screen/Start"), new Vector2(0f, 0f), 4, 7, 26, 44, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Left Screen/Idle"), new Vector2(0f, 0f), 4, 5, 26, 44, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 20f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_RightScreen)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Right Screen/Start"), new Vector2(0f, 0f), 4, 7, 26, 44, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Right Screen/Idle"), new Vector2(0f, 0f), 4, 5, 26, 44, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 20f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_Powerlines)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/TopStart"), new Vector2(0f, 0f), 4, 13, 103, 42, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/TopStart"), new Vector2(0f, 0f), 4, 13, 103, 42, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/SideStart"), new Vector2(0f, 0f), 4, 18, 47, 39, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/SideStart"), new Vector2(0f, 0f), 4, 18, 47, 39, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(4, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/TopStart"), new Vector2(0f, 0f), 4, 1, 103, 42, 1236, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(5, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/TopStart"), new Vector2(0f, 0f), 4, 1, 103, 42, 1236, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(6, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/SideStart"), new Vector2(0f, 0f), 4, 1, 47, 39, 799, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(7, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/SideStart"), new Vector2(0f, 0f), 4, 1, 47, 39, 799, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight = 30f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_PerfectGuardChallenge_Button)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/button"), new Vector2(13f, 12f), 4, 1, 25, 24, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/button"), new Vector2(13f, 12f), 4, 2, 25, 24, 25, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/button"), new Vector2(13f, 12f), 4, 2, 25, 24, 75, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_PerfectGuardChallenge_PowerLine)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(0f, 0f), 4, 1, 81, 2, 75, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Ground"), new Vector2(0f, 0f), 4, 4, 81, 2, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_12E2C_0 = xARC.dixAnimations;
             ushort arg_12E2C_1 = 2;
             ushort arg_12E27_0 = 1;
             byte arg_12E27_1 = 0;
             Texture2D arg_12E27_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Ground");
             Vector2 arg_12E27_3 = new Vector2(0f, 0f);
             int arg_12E27_4 = 4;
             int arg_12E27_5 = 3;
             int arg_12E27_6 = 81;
             int arg_12E27_7 = 2;
             int arg_12E27_8 = 243;
             int arg_12E27_9 = 0;
             int arg_12E27_10 = 17;
             Animation.LoopSettings arg_12E27_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_12E27_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_12E27_13 = true;
             bool arg_12E27_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_12E22_0 = array;
             int arg_12E22_1 = 0;
             AnimInsCriteria arg_12E1D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_12E18_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_12E22_0[arg_12E22_1] = new AnimationInstruction(arg_12E1D_0, new AnimInsEvent(arg_12E18_0, array2));
             arg_12E2C_0.Add(arg_12E2C_1, new Animation(arg_12E27_0, arg_12E27_1, arg_12E27_2, arg_12E27_3, arg_12E27_4, arg_12E27_5, arg_12E27_6, arg_12E27_7, arg_12E27_8, arg_12E27_9, arg_12E27_10, arg_12E27_11, arg_12E27_12, arg_12E27_13, arg_12E27_14, array));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Ground"), new Vector2(0f, 0f), 4, 1, 81, 2, 243, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_PerfectGuardChallenge_ClearScreen)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/Start"), new Vector2(0f, 0f), 4, 1, 22, 22, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/Start"), new Vector2(0f, 0f), 4, 7, 22, 22, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/Idle"), new Vector2(0f, 0f), 4, 3, 22, 22, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/Clear"), new Vector2(0f, 0f), 4, 7, 22, 22, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             }));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/ClearIdle"), new Vector2(0f, 0f), 4, 3, 22, 22, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_130BE_0 = xARC.dixAnimations;
             ushort arg_130BE_1 = 5;
             ushort arg_130B9_0 = 5;
             byte arg_130B9_1 = 0;
             Texture2D arg_130B9_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/End");
             Vector2 arg_130B9_3 = new Vector2(0f, 0f);
             int arg_130B9_4 = 4;
             int arg_130B9_5 = 3;
             int arg_130B9_6 = 22;
             int arg_130B9_7 = 22;
             int arg_130B9_8 = 0;
             int arg_130B9_9 = 0;
             int arg_130B9_10 = 17;
             Animation.LoopSettings arg_130B9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_130B9_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_130B9_13 = true;
             bool arg_130B9_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_130B4_0 = array;
             int arg_130B4_1 = 0;
             AnimInsCriteria arg_130AF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_130AA_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_130B4_0[arg_130B4_1] = new AnimationInstruction(arg_130AF_0, new AnimInsEvent(arg_130AA_0, array2));
             arg_130BE_0.Add(arg_130BE_1, new Animation(arg_130B9_0, arg_130B9_1, arg_130B9_2, arg_130B9_3, arg_130B9_4, arg_130B9_5, arg_130B9_6, arg_130B9_7, arg_130B9_8, arg_130B9_9, arg_130B9_10, arg_130B9_11, arg_130B9_12, arg_130B9_13, arg_130B9_14, array));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_GlassCrack)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasCrack"), new Vector2(12f, 48f), 4, 1, 23, 51, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasCrack"), new Vector2(12f, 48f), 4, 2, 23, 51, 23, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasCrack"), new Vector2(12f, 48f), 4, 2, 23, 51, 69, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasCrack"), new Vector2(12f, 48f), 4, 2, 23, 51, 115, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasCrack"), new Vector2(12f, 48f), 4, 2, 23, 51, 161, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_GlassDestroy)
         {
             this.bDestroyAtEnd = false;
             ushort arg_132AB_0 = 0;
             byte arg_132AB_1 = 0;
             Texture2D arg_132AB_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasBreak");
             Vector2 arg_132AB_3 = new Vector2(30f, 38f);
             int arg_132AB_4 = 4;
             int arg_132AB_5 = 12;
             int arg_132AB_6 = 56;
             int arg_132AB_7 = 59;
             int arg_132AB_8 = 0;
             int arg_132AB_9 = 0;
             int arg_132AB_10 = 17;
             Animation.LoopSettings arg_132AB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_132AB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_132AB_13 = true;
             bool arg_132AB_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_132A6_0 = array;
             int arg_132A6_1 = 0;
             AnimInsCriteria arg_132A1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_1329C_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1329C_1 = "Jar_break";
             float[] array2 = new float[1];
             arg_132A6_0[arg_132A6_1] = new AnimationInstruction(arg_132A1_0, new AnimInsEvent(arg_1329C_0, arg_1329C_1, array2));
             Animation anim198 = new Animation(arg_132AB_0, arg_132AB_1, arg_132AB_2, arg_132AB_3, arg_132AB_4, arg_132AB_5, arg_132AB_6, arg_132AB_7, arg_132AB_8, arg_132AB_9, arg_132AB_10, arg_132AB_11, arg_132AB_12, arg_132AB_13, arg_132AB_14, array);
             xARC.fVirtualHeight = 2f;
             xARC.dixAnimations.Add(anim198.iID, anim198);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_MiniCrystal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/minicrystal"), new Vector2(7f, 12f), 4, 1, 15, 18, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/minicrystal"), new Vector2(7f, 12f), 4, 4, 15, 18, 15, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/minicrystal"), new Vector2(7f, 12f), 4, 1, 15, 18, 60, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_MiniMiniCrystal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/miniminicrystal"), new Vector2(3f, 4f), 4, 1, 6, 7, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/miniminicrystal"), new Vector2(3f, 4f), 4, 4, 6, 7, 6, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/miniminicrystal"), new Vector2(3f, 4f), 4, 1, 6, 7, 24, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BulletHellFirecrystal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Bullethell/Cannon/Attack"), new Vector2(6f, 6f), 4, 1, 13, 25, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_1354F_0 = xARC.dixAnimations;
             ushort arg_1354F_1 = 1;
             ushort arg_1354A_0 = 1;
             byte arg_1354A_1 = 0;
             Texture2D arg_1354A_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Bullethell/Cannon/Attack");
             Vector2 arg_1354A_3 = new Vector2(6f, 6f);
             int arg_1354A_4 = 4;
             int arg_1354A_5 = 8;
             int arg_1354A_6 = 13;
             int arg_1354A_7 = 25;
             int arg_1354A_8 = 0;
             int arg_1354A_9 = 0;
             int arg_1354A_10 = 17;
             Animation.LoopSettings arg_1354A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1354A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1354A_13 = true;
             bool arg_1354A_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_13545_0 = array;
             int arg_13545_1 = 0;
             AnimInsCriteria arg_13540_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_1353B_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_13545_0[arg_13545_1] = new AnimationInstruction(arg_13540_0, new AnimInsEvent(arg_1353B_0, array2));
             arg_1354F_0.Add(arg_1354F_1, new Animation(arg_1354A_0, arg_1354A_1, arg_1354A_2, arg_1354A_3, arg_1354A_4, arg_1354A_5, arg_1354A_6, arg_1354A_7, arg_1354A_8, arg_1354A_9, arg_1354A_10, arg_1354A_11, arg_1354A_12, arg_1354A_13, arg_1354A_14, array));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Bullethell/Cannon/Dead"), new Vector2(6f, 6f), 4, 5, 13, 25, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenBigA)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/BigA"), Vector2.Zero, 4, 5, 28, 43, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenBigB)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/BigB"), Vector2.Zero, 4, 6, 41, 41, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenSmallA)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/SmallA"), Vector2.Zero, 4, 12, 22, 27, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenSmallB)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/SmallB"), Vector2.Zero, 4, 6, 22, 27, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenSmallC)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/SmallC"), Vector2.Zero, 4, 9, 22, 27, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenSmallD)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/SmallD"), Vector2.Zero, 4, 6, 22, 27, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenSmallOff)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/SmallOff"), Vector2.Zero, 4, 1, 22, 27, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenHelp)
         {
             Dictionary<ushort, Animation> arg_1387A_0 = xARC.dixAnimations;
             ushort arg_1387A_1 = 0;
             ushort arg_13875_0 = 0;
             byte arg_13875_1 = 0;
             Texture2D arg_13875_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/Help");
             Vector2 arg_13875_3 = Vector2.Zero;
             int arg_13875_4 = 4;
             int arg_13875_5 = 15;
             int arg_13875_6 = 31;
             int arg_13875_7 = 34;
             int arg_13875_8 = 0;
             int arg_13875_9 = 0;
             int arg_13875_10 = 17;
             Animation.LoopSettings arg_13875_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_13875_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_13875_13 = true;
             bool arg_13875_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 30f
             }));
             AnimationInstruction[] arg_13870_0 = array;
             int arg_13870_1 = 1;
             AnimInsCriteria arg_1386B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_13866_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_13870_0[arg_13870_1] = new AnimationInstruction(arg_1386B_0, new AnimInsEvent(arg_13866_0, array2));
             arg_1387A_0.Add(arg_1387A_1, new Animation(arg_13875_0, arg_13875_1, arg_13875_2, arg_13875_3, arg_13875_4, arg_13875_5, arg_13875_6, arg_13875_7, arg_13875_8, arg_13875_9, arg_13875_10, arg_13875_11, arg_13875_12, arg_13875_13, arg_13875_14, array));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofLightBeam)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/LightBeam"), Vector2.Zero, 4, 10, 111, 229, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     6f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     45f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/LightBeam"), Vector2.Zero, 4, 1, 111, 229, 999, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockSmall)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockSmall"), new Vector2(22f, 15f), 4, 1, 39, 25, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockSmall"), new Vector2(22f, 15f), 4, 11, 39, 25, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockSmall"), new Vector2(22f, 15f), 4, 1, 39, 25, 390, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockMedium)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockMid"), new Vector2(25f, 25f), 4, 1, 48, 40, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockMid"), new Vector2(25f, 25f), 4, 11, 48, 40, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockMid"), new Vector2(25f, 25f), 4, 1, 48, 40, 480, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockLarge)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockLarge"), new Vector2(31f, 31f), 4, 1, 59, 50, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockLarge"), new Vector2(31f, 31f), 4, 11, 59, 50, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockLarge"), new Vector2(31f, 31f), 4, 1, 59, 50, 590, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockMini)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockMini"), new Vector2(3f, 3f), 4, 4, 7, 7, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofLightSpot)
         {
             this.bDestroyAtEnd = false;
             xARC = new NonAdditiveAnimatedRenderComponent(null);
             this.xTransform = new TransformComponent(v2Position);
             xARC.xTransform = this.xTransform;
             xARC.fScale = 1f;
             this.xRenderComponent = xARC;
             xARC.fAlpha = 0.6f;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/LightSpot"), new Vector2(39f, 17f), 4, 10, 80, 34, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     6f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     45f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/LightSpot"), new Vector2(39f, 17f), 4, 1, 80, 34, 720, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_Lid)
         {
             Animation anim199 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/Lid"), new Vector2(12f, 40f), 4, 7, 23, 44, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight = -5f;
             xARC.dixAnimations.Add(anim199.iID, anim199);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_CrystalCrack)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 62, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 124, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_CrystalDestroy)
         {
             Animation anim200 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/Destroy"), new Vector2(35f, 35f), 4, 11, 66, 56, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim200.iID, anim200);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_MiniCrystal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 62, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 124, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BulletHellMachine)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/BullethellMachine/TakeOff"), new Vector2(15f, 21f), 4, 1, 29, 32, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/BullethellMachine/TakeOff"), new Vector2(15f, 21f), 4, 11, 29, 32, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/BullethellMachine/Idle"), new Vector2(14f, 20f), 4, 2, 27, 30, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/BullethellMachine/Attack"), new Vector2(14f, 23f), 4, 3, 27, 36, 135, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.fVirtualHeight = 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BulletHellMachine_LiftoffEffect)
         {
             Animation anim201 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/BullethellMachine/Effect"), new Vector2(17f, 10f), 4, 3, 33, 20, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim201.iID, anim201);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossAmulet)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Amulet"), new Vector2(6f, 14f), 4, 1, 12, 18, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/AmuletShine"), new Vector2(9f, 14f), 4, 5, 17, 21, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossAmuletBounce)
         {
             this.bDestroyAtEnd = false;
             Dictionary<ushort, Animation> arg_14345_0 = xARC.dixAnimations;
             ushort arg_14345_1 = 0;
             ushort arg_14340_0 = 0;
             byte arg_14340_1 = 0;
             Texture2D arg_14340_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/AmuletBounce");
             Vector2 arg_14340_3 = new Vector2(12f, 68f);
             int arg_14340_4 = 4;
             int arg_14340_5 = 12;
             int arg_14340_6 = 23;
             int arg_14340_7 = 73;
             int arg_14340_8 = 0;
             int arg_14340_9 = 0;
             int arg_14340_10 = 17;
             Animation.LoopSettings arg_14340_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_14340_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_14340_13 = true;
             bool arg_14340_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1433B_0 = array;
             int arg_1433B_1 = 0;
             AnimInsCriteria arg_14336_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_14331_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1433B_0[arg_1433B_1] = new AnimationInstruction(arg_14336_0, new AnimInsEvent(arg_14331_0, array2));
             arg_14345_0.Add(arg_14345_1, new Animation(arg_14340_0, arg_14340_1, arg_14340_2, arg_14340_3, arg_14340_4, arg_14340_5, arg_14340_6, arg_14340_7, arg_14340_8, arg_14340_9, arg_14340_10, arg_14340_11, arg_14340_12, arg_14340_13, arg_14340_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossAmuletPillar)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Pillar/Idle"), new Vector2(12f, 28f), 4, 16, 23, 37, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Pillar/Boom"), new Vector2(23f, 40f), 4, 11, 45, 49, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Pillar/Disappear"), new Vector2(12f, 23f), 4, 15, 23, 32, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             }));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Pillar/Disappear"), new Vector2(12f, 23f), 4, 1, 23, 32, 322, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossFrontScreen)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/Start"), Vector2.Zero, 4, 1, 148, 50, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/Start"), Vector2.Zero, 4, 22, 148, 50, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/Idle"), Vector2.Zero, 4, 5, 148, 50, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/ErrorStart"), Vector2.Zero, 4, 4, 148, 50, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             }));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/ErrorIdle"), Vector2.Zero, 4, 8, 148, 50, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/ErrorEnd"), Vector2.Zero, 4, 4, 148, 50, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/OverheatStart"), Vector2.Zero, 4, 7, 148, 50, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     7f
                 }))
             }));
             xARC.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/OverheatIdle"), Vector2.Zero, 4, 8, 148, 50, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/OverheatBlank"), Vector2.Zero, 4, 3, 148, 50, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(9, new Animation(9, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/End"), Vector2.Zero, 4, 5, 148, 50, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossSideScreenRight)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Start"), Vector2.Zero, 4, 1, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Start"), Vector2.Zero, 4, 22, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Idle"), Vector2.Zero, 4, 5, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/ErrorStart"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             }));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/ErrorIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/ErrorEnd"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/OverheatStart"), Vector2.Zero, 4, 7, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     7f
                 }))
             }));
             xARC.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/OverheatIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/OverheatBlank"), Vector2.Zero, 4, 3, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(9, new Animation(9, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/End"), Vector2.Zero, 4, 5, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(10, new Animation(10, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/TargetingStart"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     11f
                 }))
             }));
             xARC.dixAnimations.Add(11, new Animation(11, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/TargetingIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(12, new Animation(12, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/TargetlockIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(13, new Animation(13, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/TargetlockEnd"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossSideScreenLeft)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Start"), Vector2.Zero, 4, 1, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Start"), Vector2.Zero, 4, 22, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Idle"), Vector2.Zero, 4, 5, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/OverheatBlank"), Vector2.Zero, 4, 3, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(9, new Animation(9, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/End"), Vector2.Zero, 4, 5, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             foreach (Animation x in xARC.dixAnimations.Values)
             {
                 x.enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Mirror/ErrorStart"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             }));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Mirror/ErrorIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Mirror/ErrorEnd"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Mirror/OverheatStart"), Vector2.Zero, 4, 7, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     7f
                 }))
             }));
             xARC.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Mirror/OverheatIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.SwitchAnimation(0, Animation.CancelOptions.IgnoreIfPlaying);
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_BroomFae)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Broom/Winter"), new Vector2(10f, 17f), 4, 10, 20, 21, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Window)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Window/Fall"), Vector2.Zero, 4, 1, 17, 13, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     180f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_151BD_0 = xARC.dixAnimations;
             ushort arg_151BD_1 = 1;
             ushort arg_151B8_0 = 1;
             byte arg_151B8_1 = 0;
             Texture2D arg_151B8_2 = Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Window/Fall");
             Vector2 arg_151B8_3 = Vector2.Zero;
             int arg_151B8_4 = 4;
             int arg_151B8_5 = 28;
             int arg_151B8_6 = 17;
             int arg_151B8_7 = 13;
             int arg_151B8_8 = 0;
             int arg_151B8_9 = 0;
             int arg_151B8_10 = 50;
             Animation.LoopSettings arg_151B8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_151B8_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_151B8_13 = true;
             bool arg_151B8_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_151B3_0 = array;
             int arg_151B3_1 = 0;
             AnimInsCriteria arg_151AE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_151A9_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_151B3_0[arg_151B3_1] = new AnimationInstruction(arg_151AE_0, new AnimInsEvent(arg_151A9_0, array2));
             arg_151BD_0.Add(arg_151BD_1, new Animation(arg_151B8_0, arg_151B8_1, arg_151B8_2, arg_151B8_3, arg_151B8_4, arg_151B8_5, arg_151B8_6, arg_151B8_7, arg_151B8_8, arg_151B8_9, arg_151B8_10, arg_151B8_11, arg_151B8_12, arg_151B8_13, arg_151B8_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_WindowClean)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/WindowClean/Summer"), new Vector2(9f, 19f), 4, 8, 17, 22, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Peek)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Peek/Summer"), Vector2.Zero, 4, 1, 17, 19, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     180f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_1535A_0 = xARC.dixAnimations;
             ushort arg_1535A_1 = 1;
             ushort arg_15355_0 = 1;
             byte arg_15355_1 = 0;
             Texture2D arg_15355_2 = Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Peek/Summer");
             Vector2 arg_15355_3 = Vector2.Zero;
             int arg_15355_4 = 4;
             int arg_15355_5 = 22;
             int arg_15355_6 = 17;
             int arg_15355_7 = 19;
             int arg_15355_8 = 0;
             int arg_15355_9 = 0;
             int arg_15355_10 = 50;
             Animation.LoopSettings arg_15355_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_15355_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_15355_13 = true;
             bool arg_15355_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_15350_0 = array;
             int arg_15350_1 = 0;
             AnimInsCriteria arg_1534B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_15346_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_15350_0[arg_15350_1] = new AnimationInstruction(arg_1534B_0, new AnimInsEvent(arg_15346_0, array2));
             arg_1535A_0.Add(arg_1535A_1, new Animation(arg_15355_0, arg_15355_1, arg_15355_2, arg_15355_3, arg_15355_4, arg_15355_5, arg_15355_6, arg_15355_7, arg_15355_8, arg_15355_9, arg_15355_10, arg_15355_11, arg_15355_12, arg_15355_13, arg_15355_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Sleeping)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Sleep/Winter"), new Vector2(11f, 14f), 4, 20, 17, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Flyby_Autumn)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Fall/Down"), new Vector2(8f, 13f), 4, 4, 15, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Fall/Up"), new Vector2(7f, 13f), 4, 4, 14, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Flyby_Winter)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Winter/Down"), new Vector2(8f, 13f), 4, 4, 15, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Winter/Up"), new Vector2(7f, 13f), 4, 4, 14, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Flyby_Summer)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Summer/Down"), new Vector2(8f, 13f), 4, 4, 15, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Summer/Up"), new Vector2(7f, 13f), 4, 4, 14, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Flyby_Spring)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Spring/Down"), new Vector2(8f, 13f), 4, 4, 15, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Spring/Up"), new Vector2(7f, 13f), 4, 4, 14, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Popup_Autumn)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 17, 19, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     142f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_15775_0 = xARC.dixAnimations;
             ushort arg_15775_1 = 1;
             ushort arg_15770_0 = 1;
             byte arg_15770_1 = 0;
             Texture2D arg_15770_2 = Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Popup/Fall");
             Vector2 arg_15770_3 = new Vector2(10f, 15f);
             int arg_15770_4 = 4;
             int arg_15770_5 = 24;
             int arg_15770_6 = 20;
             int arg_15770_7 = 16;
             int arg_15770_8 = 0;
             int arg_15770_9 = 0;
             int arg_15770_10 = 50;
             Animation.LoopSettings arg_15770_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_15770_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_15770_13 = true;
             bool arg_15770_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1576B_0 = array;
             int arg_1576B_1 = 0;
             AnimInsCriteria arg_15766_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_15761_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_1576B_0[arg_1576B_1] = new AnimationInstruction(arg_15766_0, new AnimInsEvent(arg_15761_0, array2));
             arg_15775_0.Add(arg_15775_1, new Animation(arg_15770_0, arg_15770_1, arg_15770_2, arg_15770_3, arg_15770_4, arg_15770_5, arg_15770_6, arg_15770_7, arg_15770_8, arg_15770_9, arg_15770_10, arg_15770_11, arg_15770_12, arg_15770_13, arg_15770_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Popup_Spring)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 17, 19, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_158BA_0 = xARC.dixAnimations;
             ushort arg_158BA_1 = 1;
             ushort arg_158B5_0 = 1;
             byte arg_158B5_1 = 0;
             Texture2D arg_158B5_2 = Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Popup/Fall");
             Vector2 arg_158B5_3 = new Vector2(10f, 14f);
             int arg_158B5_4 = 4;
             int arg_158B5_5 = 24;
             int arg_158B5_6 = 20;
             int arg_158B5_7 = 15;
             int arg_158B5_8 = 0;
             int arg_158B5_9 = 0;
             int arg_158B5_10 = 50;
             Animation.LoopSettings arg_158B5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_158B5_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_158B5_13 = true;
             bool arg_158B5_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_158B0_0 = array;
             int arg_158B0_1 = 0;
             AnimInsCriteria arg_158AB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_158A6_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_158B0_0[arg_158B0_1] = new AnimationInstruction(arg_158AB_0, new AnimInsEvent(arg_158A6_0, array2));
             arg_158BA_0.Add(arg_158BA_1, new Animation(arg_158B5_0, arg_158B5_1, arg_158B5_2, arg_158B5_3, arg_158B5_4, arg_158B5_5, arg_158B5_6, arg_158B5_7, arg_158B5_8, arg_158B5_9, arg_158B5_10, arg_158B5_11, arg_158B5_12, arg_158B5_13, arg_158B5_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Popup_Winter)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 17, 19, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     170f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_159FF_0 = xARC.dixAnimations;
             ushort arg_159FF_1 = 1;
             ushort arg_159FA_0 = 1;
             byte arg_159FA_1 = 0;
             Texture2D arg_159FA_2 = Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Popup/Winter");
             Vector2 arg_159FA_3 = new Vector2(10f, 13f);
             int arg_159FA_4 = 4;
             int arg_159FA_5 = 24;
             int arg_159FA_6 = 20;
             int arg_159FA_7 = 14;
             int arg_159FA_8 = 0;
             int arg_159FA_9 = 0;
             int arg_159FA_10 = 50;
             Animation.LoopSettings arg_159FA_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_159FA_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_159FA_13 = true;
             bool arg_159FA_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_159F5_0 = array;
             int arg_159F5_1 = 0;
             AnimInsCriteria arg_159F0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_159EB_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_159F5_0[arg_159F5_1] = new AnimationInstruction(arg_159F0_0, new AnimInsEvent(arg_159EB_0, array2));
             arg_159FF_0.Add(arg_159FF_1, new Animation(arg_159FA_0, arg_159FA_1, arg_159FA_2, arg_159FA_3, arg_159FA_4, arg_159FA_5, arg_159FA_6, arg_159FA_7, arg_159FA_8, arg_159FA_9, arg_159FA_10, arg_159FA_11, arg_159FA_12, arg_159FA_13, arg_159FA_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Tree_Autumn)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Tree/Fall"), new Vector2(12f, 13f), 4, 12, 24, 16, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Tree_Spring)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Tree/Spring"), new Vector2(11f, 14f), 4, 12, 22, 17, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Tree_Summer)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Tree/Summer"), new Vector2(10f, 14f), 4, 18, 20, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_SmallWaterfallTwinkle)
         {
             Animation anim202 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone014_SeasonChange/Waterfall/ShineB"), new Vector2(8f, 8f), 4, 5, 17, 17, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim202.iID, anim202);
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = RenderMaster.txNullTex;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_MediumWaterfallTwinkle)
         {
             Animation anim203 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone014_SeasonChange/Waterfall/ShineA"), new Vector2(11f, 11f), 4, 5, 23, 23, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim203.iID, anim203);
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = RenderMaster.txNullTex;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_BlockingBushes)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Fall"), new Vector2(44f, 37f), 4, 21, 88, 74, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Summer");
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Fall"), new Vector2(44f, 37f), 4, 21, 88, 74, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[1].bReversePlayback = true;
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Summer"), new Vector2(44f, 37f), 4, 21, 88, 74, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][2] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Fall");
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Summer"), new Vector2(44f, 37f), 4, 21, 88, 74, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[3].bReversePlayback = true;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_HoleWithVineBridge)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/VinePit/VinePit"), new Vector2(18f, 16f), 4, 12, 36, 32, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/VinePit/VinePit"), new Vector2(18f, 16f), 4, 12, 36, 32, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[1].bReversePlayback = true;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_LilyPadMan)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Summer"), Vector2.Zero, 4, 32, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Fall"), Vector2.Zero, 4, 1, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter][1] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Winter");
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Fall"), Vector2.Zero, 4, 25, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             }));
             xARC.dixAnimations.Add(3, new Animation(3, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 25, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_GiantRoot)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/Start"), new Vector2(83f, 102f), 4, 27, 140, 109, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/Start");
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/Start"), new Vector2(83f, 102f), 4, 27, 140, 109, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             }));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][1] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/Start");
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/Start"), new Vector2(83f, 102f), 4, 1, 140, 109, 1120, 218, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][2] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/Start");
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/Start"), new Vector2(83f, 102f), 4, 1, 140, 109, 1120, 218, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][3] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/Start");
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/End"), new Vector2(83f, 102f), 4, 10, 140, 109, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     6f
                 }))
             }));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][4] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/End");
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/End"), new Vector2(83f, 102f), 4, 10, 140, 109, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     6f
                 }))
             }));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][5] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/End");
             xARC.dixAnimations.Add(6, new Animation(6, 0, RenderMaster.txNullTex, new Vector2(83f, 102f), 4, 25, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_GiantRoot_SummerFlowers)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/Flowers"), Vector2.Zero, 4, 14, 124, 44, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             xARC.dixAnimations.Add(1, new Animation(1, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_SnowPile_MeltOnly)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Snowpile/Pile"), new Vector2(34f, 63f), 4, 1, 68, 76, 544, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = RenderMaster.txNullTex;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             xARC.dixAnimations.Add(1, new Animation(1, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_SnowPile_FromTree)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Snowpile/Pile"), new Vector2(34f, 63f), 4, 9, 68, 76, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Snowpile/Pile"), new Vector2(34f, 63f), 4, 1, 68, 76, 544, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_LilyPadBridge)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Bridge"), Vector2.Zero, 4, 42, 72, 105, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Bridge"), Vector2.Zero, 4, 1, 72, 105, 648, 315, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Air_Front)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeA)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_1685A_0 = xARC.dixAnimations;
             ushort arg_1685A_1 = 1;
             ushort arg_16855_0 = 1;
             byte arg_16855_1 = 1;
             Texture2D arg_16855_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeA/Start/Right");
             Vector2 arg_16855_3 = new Vector2(17f, 30f);
             int arg_16855_4 = 4;
             int arg_16855_5 = 6;
             int arg_16855_6 = 42;
             int arg_16855_7 = 31;
             int arg_16855_8 = 0;
             int arg_16855_9 = 0;
             int arg_16855_10 = 10;
             Animation.LoopSettings arg_16855_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16855_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16855_13 = false;
             bool arg_16855_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1681A_0 = array;
             int arg_1681A_1 = 0;
             AnimInsCriteria arg_16815_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16810_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_1681A_0[arg_1681A_1] = new AnimationInstruction(arg_16815_0, new AnimInsEvent(arg_16810_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_1685A_0[arg_1685A_1] = new Animation(arg_16855_0, arg_16855_1, arg_16855_2, arg_16855_3, arg_16855_4, arg_16855_5, arg_16855_6, arg_16855_7, arg_16855_8, arg_16855_9, arg_16855_10, arg_16855_11, arg_16855_12, arg_16855_13, arg_16855_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeA/End/Right"), new Vector2(17f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1697A_0 = xARC.dixAnimations;
             ushort arg_1697A_1 = 3;
             ushort arg_16975_0 = 3;
             byte arg_16975_1 = 3;
             Texture2D arg_16975_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeA/Start/Left");
             Vector2 arg_16975_3 = new Vector2(25f, 30f);
             int arg_16975_4 = 4;
             int arg_16975_5 = 6;
             int arg_16975_6 = 42;
             int arg_16975_7 = 31;
             int arg_16975_8 = 0;
             int arg_16975_9 = 0;
             int arg_16975_10 = 10;
             Animation.LoopSettings arg_16975_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16975_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16975_13 = false;
             bool arg_16975_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1693A_0 = array;
             int arg_1693A_1 = 0;
             AnimInsCriteria arg_16935_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16930_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_1693A_0[arg_1693A_1] = new AnimationInstruction(arg_16935_0, new AnimInsEvent(arg_16930_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_1697A_0[arg_1697A_1] = new Animation(arg_16975_0, arg_16975_1, arg_16975_2, arg_16975_3, arg_16975_4, arg_16975_5, arg_16975_6, arg_16975_7, arg_16975_8, arg_16975_9, arg_16975_10, arg_16975_11, arg_16975_12, arg_16975_13, arg_16975_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeA/End/Left"), new Vector2(25f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeB)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_16AB2_0 = xARC.dixAnimations;
             ushort arg_16AB2_1 = 1;
             ushort arg_16AAD_0 = 1;
             byte arg_16AAD_1 = 1;
             Texture2D arg_16AAD_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeB/Start/Right");
             Vector2 arg_16AAD_3 = new Vector2(16f, 28f);
             int arg_16AAD_4 = 4;
             int arg_16AAD_5 = 6;
             int arg_16AAD_6 = 45;
             int arg_16AAD_7 = 29;
             int arg_16AAD_8 = 0;
             int arg_16AAD_9 = 0;
             int arg_16AAD_10 = 10;
             Animation.LoopSettings arg_16AAD_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16AAD_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16AAD_13 = false;
             bool arg_16AAD_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_16A72_0 = array;
             int arg_16A72_1 = 0;
             AnimInsCriteria arg_16A6D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16A68_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_16A72_0[arg_16A72_1] = new AnimationInstruction(arg_16A6D_0, new AnimInsEvent(arg_16A68_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_16AB2_0[arg_16AB2_1] = new Animation(arg_16AAD_0, arg_16AAD_1, arg_16AAD_2, arg_16AAD_3, arg_16AAD_4, arg_16AAD_5, arg_16AAD_6, arg_16AAD_7, arg_16AAD_8, arg_16AAD_9, arg_16AAD_10, arg_16AAD_11, arg_16AAD_12, arg_16AAD_13, arg_16AAD_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeB/End/Right"), new Vector2(16f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_16BD2_0 = xARC.dixAnimations;
             ushort arg_16BD2_1 = 3;
             ushort arg_16BCD_0 = 3;
             byte arg_16BCD_1 = 3;
             Texture2D arg_16BCD_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeB/Start/Left");
             Vector2 arg_16BCD_3 = new Vector2(28f, 28f);
             int arg_16BCD_4 = 4;
             int arg_16BCD_5 = 6;
             int arg_16BCD_6 = 45;
             int arg_16BCD_7 = 29;
             int arg_16BCD_8 = 0;
             int arg_16BCD_9 = 0;
             int arg_16BCD_10 = 10;
             Animation.LoopSettings arg_16BCD_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16BCD_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16BCD_13 = false;
             bool arg_16BCD_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_16B92_0 = array;
             int arg_16B92_1 = 0;
             AnimInsCriteria arg_16B8D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16B88_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_16B92_0[arg_16B92_1] = new AnimationInstruction(arg_16B8D_0, new AnimInsEvent(arg_16B88_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_16BD2_0[arg_16BD2_1] = new Animation(arg_16BCD_0, arg_16BCD_1, arg_16BCD_2, arg_16BCD_3, arg_16BCD_4, arg_16BCD_5, arg_16BCD_6, arg_16BCD_7, arg_16BCD_8, arg_16BCD_9, arg_16BCD_10, arg_16BCD_11, arg_16BCD_12, arg_16BCD_13, arg_16BCD_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeB/End/Left"), new Vector2(28f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeC)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_16D0A_0 = xARC.dixAnimations;
             ushort arg_16D0A_1 = 1;
             ushort arg_16D05_0 = 1;
             byte arg_16D05_1 = 1;
             Texture2D arg_16D05_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeC/Start/Right");
             Vector2 arg_16D05_3 = new Vector2(25f, 30f);
             int arg_16D05_4 = 4;
             int arg_16D05_5 = 6;
             int arg_16D05_6 = 42;
             int arg_16D05_7 = 31;
             int arg_16D05_8 = 0;
             int arg_16D05_9 = 0;
             int arg_16D05_10 = 10;
             Animation.LoopSettings arg_16D05_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16D05_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16D05_13 = false;
             bool arg_16D05_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_16CCA_0 = array;
             int arg_16CCA_1 = 0;
             AnimInsCriteria arg_16CC5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16CC0_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_16CCA_0[arg_16CCA_1] = new AnimationInstruction(arg_16CC5_0, new AnimInsEvent(arg_16CC0_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_16D0A_0[arg_16D0A_1] = new Animation(arg_16D05_0, arg_16D05_1, arg_16D05_2, arg_16D05_3, arg_16D05_4, arg_16D05_5, arg_16D05_6, arg_16D05_7, arg_16D05_8, arg_16D05_9, arg_16D05_10, arg_16D05_11, arg_16D05_12, arg_16D05_13, arg_16D05_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeC/End/Right"), new Vector2(25f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_16E2A_0 = xARC.dixAnimations;
             ushort arg_16E2A_1 = 3;
             ushort arg_16E25_0 = 3;
             byte arg_16E25_1 = 1;
             Texture2D arg_16E25_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeC/Start/Left");
             Vector2 arg_16E25_3 = new Vector2(18f, 30f);
             int arg_16E25_4 = 4;
             int arg_16E25_5 = 6;
             int arg_16E25_6 = 42;
             int arg_16E25_7 = 31;
             int arg_16E25_8 = 0;
             int arg_16E25_9 = 0;
             int arg_16E25_10 = 10;
             Animation.LoopSettings arg_16E25_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16E25_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16E25_13 = false;
             bool arg_16E25_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_16DEA_0 = array;
             int arg_16DEA_1 = 0;
             AnimInsCriteria arg_16DE5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16DE0_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_16DEA_0[arg_16DEA_1] = new AnimationInstruction(arg_16DE5_0, new AnimInsEvent(arg_16DE0_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_16E2A_0[arg_16E2A_1] = new Animation(arg_16E25_0, arg_16E25_1, arg_16E25_2, arg_16E25_3, arg_16E25_4, arg_16E25_5, arg_16E25_6, arg_16E25_7, arg_16E25_8, arg_16E25_9, arg_16E25_10, arg_16E25_11, arg_16E25_12, arg_16E25_13, arg_16E25_14, array);
             xARC.dixAnimations[7] = new Animation(7, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeC/End/Left"), new Vector2(18f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeD)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_16F6D_0 = xARC.dixAnimations;
             ushort arg_16F6D_1 = 1;
             ushort arg_16F68_0 = 1;
             byte arg_16F68_1 = 1;
             Texture2D arg_16F68_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeD/Start/Right");
             Vector2 arg_16F68_3 = new Vector2(19f, 26f);
             int arg_16F68_4 = 4;
             int arg_16F68_5 = 6;
             int arg_16F68_6 = 50;
             int arg_16F68_7 = 27;
             int arg_16F68_8 = 0;
             int arg_16F68_9 = 0;
             int arg_16F68_10 = 10;
             Animation.LoopSettings arg_16F68_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16F68_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16F68_13 = false;
             bool arg_16F68_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_16F2D_0 = array;
             int arg_16F2D_1 = 0;
             AnimInsCriteria arg_16F28_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16F23_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_16F2D_0[arg_16F2D_1] = new AnimationInstruction(arg_16F28_0, new AnimInsEvent(arg_16F23_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_16F6D_0[arg_16F6D_1] = new Animation(arg_16F68_0, arg_16F68_1, arg_16F68_2, arg_16F68_3, arg_16F68_4, arg_16F68_5, arg_16F68_6, arg_16F68_7, arg_16F68_8, arg_16F68_9, arg_16F68_10, arg_16F68_11, arg_16F68_12, arg_16F68_13, arg_16F68_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeD/End/Right"), new Vector2(19f, 26f), 4, 5, 50, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1708D_0 = xARC.dixAnimations;
             ushort arg_1708D_1 = 3;
             ushort arg_17088_0 = 3;
             byte arg_17088_1 = 3;
             Texture2D arg_17088_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeD/Start/Left");
             Vector2 arg_17088_3 = new Vector2(31f, 26f);
             int arg_17088_4 = 4;
             int arg_17088_5 = 6;
             int arg_17088_6 = 50;
             int arg_17088_7 = 27;
             int arg_17088_8 = 0;
             int arg_17088_9 = 0;
             int arg_17088_10 = 10;
             Animation.LoopSettings arg_17088_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17088_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17088_13 = false;
             bool arg_17088_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1704D_0 = array;
             int arg_1704D_1 = 0;
             AnimInsCriteria arg_17048_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_17043_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_1704D_0[arg_1704D_1] = new AnimationInstruction(arg_17048_0, new AnimInsEvent(arg_17043_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_1708D_0[arg_1708D_1] = new Animation(arg_17088_0, arg_17088_1, arg_17088_2, arg_17088_3, arg_17088_4, arg_17088_5, arg_17088_6, arg_17088_7, arg_17088_8, arg_17088_9, arg_17088_10, arg_17088_11, arg_17088_12, arg_17088_13, arg_17088_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeD/End/Left"), new Vector2(31f, 26f), 4, 5, 50, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeE)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_171C5_0 = xARC.dixAnimations;
             ushort arg_171C5_1 = 1;
             ushort arg_171C0_0 = 1;
             byte arg_171C0_1 = 1;
             Texture2D arg_171C0_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeE/Start/Right");
             Vector2 arg_171C0_3 = new Vector2(31f, 26f);
             int arg_171C0_4 = 4;
             int arg_171C0_5 = 6;
             int arg_171C0_6 = 50;
             int arg_171C0_7 = 27;
             int arg_171C0_8 = 0;
             int arg_171C0_9 = 0;
             int arg_171C0_10 = 10;
             Animation.LoopSettings arg_171C0_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_171C0_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_171C0_13 = false;
             bool arg_171C0_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17185_0 = array;
             int arg_17185_1 = 0;
             AnimInsCriteria arg_17180_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1717B_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_17185_0[arg_17185_1] = new AnimationInstruction(arg_17180_0, new AnimInsEvent(arg_1717B_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_171C5_0[arg_171C5_1] = new Animation(arg_171C0_0, arg_171C0_1, arg_171C0_2, arg_171C0_3, arg_171C0_4, arg_171C0_5, arg_171C0_6, arg_171C0_7, arg_171C0_8, arg_171C0_9, arg_171C0_10, arg_171C0_11, arg_171C0_12, arg_171C0_13, arg_171C0_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeE/End/Right"), new Vector2(31f, 26f), 4, 5, 50, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_172E5_0 = xARC.dixAnimations;
             ushort arg_172E5_1 = 3;
             ushort arg_172E0_0 = 3;
             byte arg_172E0_1 = 1;
             Texture2D arg_172E0_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeE/Start/Left");
             Vector2 arg_172E0_3 = new Vector2(13f, 26f);
             int arg_172E0_4 = 4;
             int arg_172E0_5 = 6;
             int arg_172E0_6 = 50;
             int arg_172E0_7 = 27;
             int arg_172E0_8 = 0;
             int arg_172E0_9 = 0;
             int arg_172E0_10 = 10;
             Animation.LoopSettings arg_172E0_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_172E0_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_172E0_13 = false;
             bool arg_172E0_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_172A5_0 = array;
             int arg_172A5_1 = 0;
             AnimInsCriteria arg_172A0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1729B_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_172A5_0[arg_172A5_1] = new AnimationInstruction(arg_172A0_0, new AnimInsEvent(arg_1729B_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_172E5_0[arg_172E5_1] = new Animation(arg_172E0_0, arg_172E0_1, arg_172E0_2, arg_172E0_3, arg_172E0_4, arg_172E0_5, arg_172E0_6, arg_172E0_7, arg_172E0_8, arg_172E0_9, arg_172E0_10, arg_172E0_11, arg_172E0_12, arg_172E0_13, arg_172E0_14, array);
             xARC.dixAnimations[7] = new Animation(7, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeE/End/Left"), new Vector2(13f, 26f), 4, 5, 50, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeF)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_17428_0 = xARC.dixAnimations;
             ushort arg_17428_1 = 1;
             ushort arg_17423_0 = 1;
             byte arg_17423_1 = 1;
             Texture2D arg_17423_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeF/Start/Right");
             Vector2 arg_17423_3 = new Vector2(13f, 28f);
             int arg_17423_4 = 4;
             int arg_17423_5 = 6;
             int arg_17423_6 = 45;
             int arg_17423_7 = 29;
             int arg_17423_8 = 0;
             int arg_17423_9 = 0;
             int arg_17423_10 = 10;
             Animation.LoopSettings arg_17423_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17423_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17423_13 = false;
             bool arg_17423_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_173E8_0 = array;
             int arg_173E8_1 = 0;
             AnimInsCriteria arg_173E3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_173DE_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_173E8_0[arg_173E8_1] = new AnimationInstruction(arg_173E3_0, new AnimInsEvent(arg_173DE_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_17428_0[arg_17428_1] = new Animation(arg_17423_0, arg_17423_1, arg_17423_2, arg_17423_3, arg_17423_4, arg_17423_5, arg_17423_6, arg_17423_7, arg_17423_8, arg_17423_9, arg_17423_10, arg_17423_11, arg_17423_12, arg_17423_13, arg_17423_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeF/End/Right"), new Vector2(13f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_17548_0 = xARC.dixAnimations;
             ushort arg_17548_1 = 3;
             ushort arg_17543_0 = 3;
             byte arg_17543_1 = 3;
             Texture2D arg_17543_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeF/Start/Left");
             Vector2 arg_17543_3 = new Vector2(31f, 28f);
             int arg_17543_4 = 4;
             int arg_17543_5 = 6;
             int arg_17543_6 = 45;
             int arg_17543_7 = 29;
             int arg_17543_8 = 0;
             int arg_17543_9 = 0;
             int arg_17543_10 = 10;
             Animation.LoopSettings arg_17543_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17543_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17543_13 = false;
             bool arg_17543_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17508_0 = array;
             int arg_17508_1 = 0;
             AnimInsCriteria arg_17503_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_174FE_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_17508_0[arg_17508_1] = new AnimationInstruction(arg_17503_0, new AnimInsEvent(arg_174FE_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_17548_0[arg_17548_1] = new Animation(arg_17543_0, arg_17543_1, arg_17543_2, arg_17543_3, arg_17543_4, arg_17543_5, arg_17543_6, arg_17543_7, arg_17543_8, arg_17543_9, arg_17543_10, arg_17543_11, arg_17543_12, arg_17543_13, arg_17543_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeF/End/Left"), new Vector2(31f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeG)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_17680_0 = xARC.dixAnimations;
             ushort arg_17680_1 = 1;
             ushort arg_1767B_0 = 1;
             byte arg_1767B_1 = 1;
             Texture2D arg_1767B_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeG/Start/Right");
             Vector2 arg_1767B_3 = new Vector2(29f, 28f);
             int arg_1767B_4 = 4;
             int arg_1767B_5 = 6;
             int arg_1767B_6 = 45;
             int arg_1767B_7 = 29;
             int arg_1767B_8 = 0;
             int arg_1767B_9 = 0;
             int arg_1767B_10 = 10;
             Animation.LoopSettings arg_1767B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1767B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1767B_13 = false;
             bool arg_1767B_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17640_0 = array;
             int arg_17640_1 = 0;
             AnimInsCriteria arg_1763B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_17636_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_17640_0[arg_17640_1] = new AnimationInstruction(arg_1763B_0, new AnimInsEvent(arg_17636_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_17680_0[arg_17680_1] = new Animation(arg_1767B_0, arg_1767B_1, arg_1767B_2, arg_1767B_3, arg_1767B_4, arg_1767B_5, arg_1767B_6, arg_1767B_7, arg_1767B_8, arg_1767B_9, arg_1767B_10, arg_1767B_11, arg_1767B_12, arg_1767B_13, arg_1767B_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeG/End/Right"), new Vector2(29f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_177A0_0 = xARC.dixAnimations;
             ushort arg_177A0_1 = 3;
             ushort arg_1779B_0 = 3;
             byte arg_1779B_1 = 3;
             Texture2D arg_1779B_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeG/Start/Left");
             Vector2 arg_1779B_3 = new Vector2(17f, 28f);
             int arg_1779B_4 = 4;
             int arg_1779B_5 = 6;
             int arg_1779B_6 = 45;
             int arg_1779B_7 = 29;
             int arg_1779B_8 = 0;
             int arg_1779B_9 = 0;
             int arg_1779B_10 = 10;
             Animation.LoopSettings arg_1779B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1779B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1779B_13 = false;
             bool arg_1779B_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17760_0 = array;
             int arg_17760_1 = 0;
             AnimInsCriteria arg_1775B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_17756_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_17760_0[arg_17760_1] = new AnimationInstruction(arg_1775B_0, new AnimInsEvent(arg_17756_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_177A0_0[arg_177A0_1] = new Animation(arg_1779B_0, arg_1779B_1, arg_1779B_2, arg_1779B_3, arg_1779B_4, arg_1779B_5, arg_1779B_6, arg_1779B_7, arg_1779B_8, arg_1779B_9, arg_1779B_10, arg_1779B_11, arg_1779B_12, arg_1779B_13, arg_1779B_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeG/End/Left"), new Vector2(17f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeBigA)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_178D8_0 = xARC.dixAnimations;
             ushort arg_178D8_1 = 1;
             ushort arg_178D3_0 = 1;
             byte arg_178D3_1 = 1;
             Texture2D arg_178D3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeA/Start/Right");
             Vector2 arg_178D3_3 = new Vector2(15f, 38f);
             int arg_178D3_4 = 4;
             int arg_178D3_5 = 7;
             int arg_178D3_6 = 35;
             int arg_178D3_7 = 39;
             int arg_178D3_8 = 0;
             int arg_178D3_9 = 0;
             int arg_178D3_10 = 10;
             Animation.LoopSettings arg_178D3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_178D3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_178D3_13 = false;
             bool arg_178D3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17898_0 = array;
             int arg_17898_1 = 0;
             AnimInsCriteria arg_17893_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_1788E_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_17898_0[arg_17898_1] = new AnimationInstruction(arg_17893_0, new AnimInsEvent(arg_1788E_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_178D8_0[arg_178D8_1] = new Animation(arg_178D3_0, arg_178D3_1, arg_178D3_2, arg_178D3_3, arg_178D3_4, arg_178D3_5, arg_178D3_6, arg_178D3_7, arg_178D3_8, arg_178D3_9, arg_178D3_10, arg_178D3_11, arg_178D3_12, arg_178D3_13, arg_178D3_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeA/End/Right"), new Vector2(15f, 38f), 4, 6, 35, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_179F8_0 = xARC.dixAnimations;
             ushort arg_179F8_1 = 3;
             ushort arg_179F3_0 = 3;
             byte arg_179F3_1 = 3;
             Texture2D arg_179F3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeA/Start/Right");
             Vector2 arg_179F3_3 = new Vector2(20f, 38f);
             int arg_179F3_4 = 4;
             int arg_179F3_5 = 7;
             int arg_179F3_6 = 35;
             int arg_179F3_7 = 39;
             int arg_179F3_8 = 0;
             int arg_179F3_9 = 0;
             int arg_179F3_10 = 10;
             Animation.LoopSettings arg_179F3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_179F3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_179F3_13 = false;
             bool arg_179F3_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_179B8_0 = array;
             int arg_179B8_1 = 0;
             AnimInsCriteria arg_179B3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_179AE_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_179B8_0[arg_179B8_1] = new AnimationInstruction(arg_179B3_0, new AnimInsEvent(arg_179AE_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_179F8_0[arg_179F8_1] = new Animation(arg_179F3_0, arg_179F3_1, arg_179F3_2, arg_179F3_3, arg_179F3_4, arg_179F3_5, arg_179F3_6, arg_179F3_7, arg_179F3_8, arg_179F3_9, arg_179F3_10, arg_179F3_11, arg_179F3_12, arg_179F3_13, arg_179F3_14, array);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeA/End/Right"), new Vector2(20f, 38f), 4, 6, 35, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeBigB)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_17B54_0 = xARC.dixAnimations;
             ushort arg_17B54_1 = 1;
             ushort arg_17B4F_0 = 1;
             byte arg_17B4F_1 = 1;
             Texture2D arg_17B4F_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeB/Start/Right");
             Vector2 arg_17B4F_3 = new Vector2(8f, 33f);
             int arg_17B4F_4 = 4;
             int arg_17B4F_5 = 7;
             int arg_17B4F_6 = 46;
             int arg_17B4F_7 = 34;
             int arg_17B4F_8 = 0;
             int arg_17B4F_9 = 0;
             int arg_17B4F_10 = 10;
             Animation.LoopSettings arg_17B4F_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17B4F_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17B4F_13 = false;
             bool arg_17B4F_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17B14_0 = array;
             int arg_17B14_1 = 0;
             AnimInsCriteria arg_17B0F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_17B0A_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_17B14_0[arg_17B14_1] = new AnimationInstruction(arg_17B0F_0, new AnimInsEvent(arg_17B0A_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_17B54_0[arg_17B54_1] = new Animation(arg_17B4F_0, arg_17B4F_1, arg_17B4F_2, arg_17B4F_3, arg_17B4F_4, arg_17B4F_5, arg_17B4F_6, arg_17B4F_7, arg_17B4F_8, arg_17B4F_9, arg_17B4F_10, arg_17B4F_11, arg_17B4F_12, arg_17B4F_13, arg_17B4F_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeB/End/Right"), new Vector2(8f, 33f), 4, 6, 46, 34, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_17C74_0 = xARC.dixAnimations;
             ushort arg_17C74_1 = 3;
             ushort arg_17C6F_0 = 3;
             byte arg_17C6F_1 = 3;
             Texture2D arg_17C6F_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeB/Start/Right");
             Vector2 arg_17C6F_3 = new Vector2(38f, 33f);
             int arg_17C6F_4 = 4;
             int arg_17C6F_5 = 7;
             int arg_17C6F_6 = 46;
             int arg_17C6F_7 = 34;
             int arg_17C6F_8 = 0;
             int arg_17C6F_9 = 0;
             int arg_17C6F_10 = 10;
             Animation.LoopSettings arg_17C6F_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17C6F_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17C6F_13 = false;
             bool arg_17C6F_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17C34_0 = array;
             int arg_17C34_1 = 0;
             AnimInsCriteria arg_17C2F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_17C2A_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_17C34_0[arg_17C34_1] = new AnimationInstruction(arg_17C2F_0, new AnimInsEvent(arg_17C2A_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_17C74_0[arg_17C74_1] = new Animation(arg_17C6F_0, arg_17C6F_1, arg_17C6F_2, arg_17C6F_3, arg_17C6F_4, arg_17C6F_5, arg_17C6F_6, arg_17C6F_7, arg_17C6F_8, arg_17C6F_9, arg_17C6F_10, arg_17C6F_11, arg_17C6F_12, arg_17C6F_13, arg_17C6F_14, array);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeB/End/Right"), new Vector2(38f, 33f), 4, 6, 46, 34, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeBigF)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_17DD0_0 = xARC.dixAnimations;
             ushort arg_17DD0_1 = 1;
             ushort arg_17DCB_0 = 1;
             byte arg_17DCB_1 = 1;
             Texture2D arg_17DCB_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeC/Start/Right");
             Vector2 arg_17DCB_3 = new Vector2(22f, 32f);
             int arg_17DCB_4 = 4;
             int arg_17DCB_5 = 7;
             int arg_17DCB_6 = 62;
             int arg_17DCB_7 = 33;
             int arg_17DCB_8 = 0;
             int arg_17DCB_9 = 0;
             int arg_17DCB_10 = 10;
             Animation.LoopSettings arg_17DCB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17DCB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17DCB_13 = false;
             bool arg_17DCB_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17D90_0 = array;
             int arg_17D90_1 = 0;
             AnimInsCriteria arg_17D8B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_17D86_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_17D90_0[arg_17D90_1] = new AnimationInstruction(arg_17D8B_0, new AnimInsEvent(arg_17D86_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_17DD0_0[arg_17DD0_1] = new Animation(arg_17DCB_0, arg_17DCB_1, arg_17DCB_2, arg_17DCB_3, arg_17DCB_4, arg_17DCB_5, arg_17DCB_6, arg_17DCB_7, arg_17DCB_8, arg_17DCB_9, arg_17DCB_10, arg_17DCB_11, arg_17DCB_12, arg_17DCB_13, arg_17DCB_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeC/End/Right"), new Vector2(22f, 32f), 4, 6, 62, 33, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_17EF0_0 = xARC.dixAnimations;
             ushort arg_17EF0_1 = 3;
             ushort arg_17EEB_0 = 3;
             byte arg_17EEB_1 = 1;
             Texture2D arg_17EEB_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeC/Start/Right");
             Vector2 arg_17EEB_3 = new Vector2(40f, 32f);
             int arg_17EEB_4 = 4;
             int arg_17EEB_5 = 7;
             int arg_17EEB_6 = 62;
             int arg_17EEB_7 = 33;
             int arg_17EEB_8 = 0;
             int arg_17EEB_9 = 0;
             int arg_17EEB_10 = 10;
             Animation.LoopSettings arg_17EEB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17EEB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17EEB_13 = false;
             bool arg_17EEB_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17EB0_0 = array;
             int arg_17EB0_1 = 0;
             AnimInsCriteria arg_17EAB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_17EA6_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_17EB0_0[arg_17EB0_1] = new AnimationInstruction(arg_17EAB_0, new AnimInsEvent(arg_17EA6_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_17EF0_0[arg_17EF0_1] = new Animation(arg_17EEB_0, arg_17EEB_1, arg_17EEB_2, arg_17EEB_3, arg_17EEB_4, arg_17EEB_5, arg_17EEB_6, arg_17EEB_7, arg_17EEB_8, arg_17EEB_9, arg_17EEB_10, arg_17EEB_11, arg_17EEB_12, arg_17EEB_13, arg_17EEB_14, array);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[7] = new Animation(7, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeC/End/Right"), new Vector2(40f, 32f), 4, 6, 62, 33, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 1f;
             xARC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostPathA)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_18057_0 = xARC.dixAnimations;
             ushort arg_18057_1 = 0;
             ushort arg_18052_0 = 0;
             byte arg_18052_1 = 1;
             Texture2D arg_18052_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Frost/TypeA/Start");
             Vector2 arg_18052_3 = new Vector2(21f, 15f);
             int arg_18052_4 = 4;
             int arg_18052_5 = 7;
             int arg_18052_6 = 38;
             int arg_18052_7 = 29;
             int arg_18052_8 = 0;
             int arg_18052_9 = 0;
             int arg_18052_10 = 10;
             Animation.LoopSettings arg_18052_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_18052_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_18052_13 = false;
             bool arg_18052_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_18017_0 = array;
             int arg_18017_1 = 0;
             AnimInsCriteria arg_18012_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_1800D_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 50f;
             arg_18017_0[arg_18017_1] = new AnimationInstruction(arg_18012_0, new AnimInsEvent(arg_1800D_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_18057_0[arg_18057_1] = new Animation(arg_18052_0, arg_18052_1, arg_18052_2, arg_18052_3, arg_18052_4, arg_18052_5, arg_18052_6, arg_18052_7, arg_18052_8, arg_18052_9, arg_18052_10, arg_18052_11, arg_18052_12, arg_18052_13, arg_18052_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Frost/TypeA/End"), new Vector2(21f, 15f), 4, 6, 38, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.65f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostPathB)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_1819C_0 = xARC.dixAnimations;
             ushort arg_1819C_1 = 0;
             ushort arg_18197_0 = 0;
             byte arg_18197_1 = 1;
             Texture2D arg_18197_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Frost/TypeB/Start");
             Vector2 arg_18197_3 = new Vector2(11f, 10f);
             int arg_18197_4 = 4;
             int arg_18197_5 = 7;
             int arg_18197_6 = 21;
             int arg_18197_7 = 20;
             int arg_18197_8 = 0;
             int arg_18197_9 = 0;
             int arg_18197_10 = 10;
             Animation.LoopSettings arg_18197_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_18197_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_18197_13 = false;
             bool arg_18197_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1815C_0 = array;
             int arg_1815C_1 = 0;
             AnimInsCriteria arg_18157_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_18152_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 50f;
             arg_1815C_0[arg_1815C_1] = new AnimationInstruction(arg_18157_0, new AnimInsEvent(arg_18152_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_1819C_0[arg_1819C_1] = new Animation(arg_18197_0, arg_18197_1, arg_18197_2, arg_18197_3, arg_18197_4, arg_18197_5, arg_18197_6, arg_18197_7, arg_18197_8, arg_18197_9, arg_18197_10, arg_18197_11, arg_18197_12, arg_18197_13, arg_18197_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Frost/TypeB/End"), new Vector2(11f, 10f), 4, 6, 21, 20, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.65f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FireballImpact)
         {
             Animation anim204 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Effects/SpellEffects/Impact"), new Vector2(14f, 12f), 4, 6, 25, 24, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Fireball;
             xARC.dixAnimations.Add(anim204.iID, anim204);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FireballTrail)
         {
             Animation anim205 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Smoke/TrailA"), new Vector2(12f, 13f), 4, 8, 23, 22, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Fireball;
             if (CAS.RandomInVisual.Next(2) == 0)
             {
                 anim205.enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
             xARC.dixAnimations.Add(anim205.iID, anim205);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FireballCastRight)
         {
             Animation anim206 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/CastEffect"), new Vector2(6f, 12f), 4, 6, 18, 20, 18, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Fireball;
             xARC.dixAnimations.Add(anim206.iID, anim206);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmall)
         {
             ushort arg_18406_0 = 0;
             byte arg_18406_1 = 0;
             Texture2D arg_18406_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Sprites/Spells/Meteor/Level 1-2/Meteor");
             Vector2 arg_18406_3 = new Vector2(20f, 22f);
             int arg_18406_4 = 2;
             int arg_18406_5 = 6;
             int arg_18406_6 = 30;
             int arg_18406_7 = 30;
             int arg_18406_8 = 0;
             int arg_18406_9 = 0;
             int arg_18406_10 = 6;
             Animation.LoopSettings arg_18406_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_18406_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_18406_13 = false;
             bool arg_18406_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_18401_0 = array;
             int arg_18401_1 = 0;
             AnimInsCriteria.Criteria arg_183D7_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks;
             float[] array2 = new float[1];
             arg_18401_0[arg_18401_1] = new AnimationInstruction(new AnimInsCriteria(arg_183D7_0, array2), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[]
             {
                 0.06f
             }));
             Animation anim207 = new Animation(arg_18406_0, arg_18406_1, arg_18406_2, arg_18406_3, arg_18406_4, arg_18406_5, arg_18406_6, arg_18406_7, arg_18406_8, arg_18406_9, arg_18406_10, arg_18406_11, arg_18406_12, arg_18406_13, arg_18406_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim207.iID, anim207);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmallExplosion)
         {
             ushort arg_184B4_0 = 0;
             byte arg_184B4_1 = 0;
             Texture2D arg_184B4_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Sprites/Spells/Meteor/Level 1-2/Explosion");
             Vector2 arg_184B4_3 = new Vector2(24f, 28f);
             int arg_184B4_4 = 4;
             int arg_184B4_5 = 10;
             int arg_184B4_6 = 50;
             int arg_184B4_7 = 38;
             int arg_184B4_8 = 0;
             int arg_184B4_9 = 0;
             int arg_184B4_10 = 10;
             Animation.LoopSettings arg_184B4_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_184B4_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_184B4_13 = false;
             bool arg_184B4_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_184AF_0 = array;
             int arg_184AF_1 = 0;
             AnimInsCriteria arg_184AA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_184A5_0 = AnimInsEvent.EventType.PlaySound;
             string arg_184A5_1 = "Rock_break";
             float[] array2 = new float[1];
             arg_184AF_0[arg_184AF_1] = new AnimationInstruction(arg_184AA_0, new AnimInsEvent(arg_184A5_0, arg_184A5_1, array2));
             Animation anim208 = new Animation(arg_184B4_0, arg_184B4_1, arg_184B4_2, arg_184B4_3, arg_184B4_4, arg_184B4_5, arg_184B4_6, arg_184B4_7, arg_184B4_8, arg_184B4_9, arg_184B4_10, arg_184B4_11, arg_184B4_12, arg_184B4_13, arg_184B4_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim208.iID, anim208);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmallImpact)
         {
             ushort arg_185C4_0 = 0;
             byte arg_185C4_1 = 0;
             Texture2D arg_185C4_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Sprites/Spells/Meteor/Level 1-2/Impact");
             Vector2 arg_185C4_3 = new Vector2(16f, 10f);
             int arg_185C4_4 = 4;
             int arg_185C4_5 = 3;
             int arg_185C4_6 = 31;
             int arg_185C4_7 = 19;
             int arg_185C4_8 = 0;
             int arg_185C4_9 = 0;
             int arg_185C4_10 = 10;
             Animation.LoopSettings arg_185C4_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_185C4_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_185C4_13 = false;
             bool arg_185C4_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_185BF_0 = array;
             int arg_185BF_1 = 1;
             AnimInsCriteria arg_185BA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_185B5_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 40f;
             arg_185BF_0[arg_185BF_1] = new AnimationInstruction(arg_185BA_0, new AnimInsEvent(arg_185B5_0, array2));
             Animation anim209 = new Animation(arg_185C4_0, arg_185C4_1, arg_185C4_2, arg_185C4_3, arg_185C4_4, arg_185C4_5, arg_185C4_6, arg_185C4_7, arg_185C4_8, arg_185C4_9, arg_185C4_10, arg_185C4_11, arg_185C4_12, arg_185C4_13, arg_185C4_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim209.iID, anim209);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmallTargetFade)
         {
             ushort arg_1875A_0 = 0;
             byte arg_1875A_1 = 0;
             Texture2D arg_1875A_2 = Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetSmall");
             Vector2 arg_1875A_3 = new Vector2(16f, 16f);
             int arg_1875A_4 = 4;
             int arg_1875A_5 = 1;
             int arg_1875A_6 = 32;
             int arg_1875A_7 = 32;
             int arg_1875A_8 = 0;
             int arg_1875A_9 = 0;
             int arg_1875A_10 = 30;
             Animation.LoopSettings arg_1875A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1875A_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1875A_13 = true;
             bool arg_1875A_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.03f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
             {
                 -0.03f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustRotation, new float[]
             {
                 0.1f
             }));
             AnimationInstruction[] arg_18755_0 = array;
             int arg_18755_1 = 3;
             AnimInsCriteria arg_18750_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_1874B_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 33f;
             arg_18755_0[arg_18755_1] = new AnimationInstruction(arg_18750_0, new AnimInsEvent(arg_1874B_0, array2));
             Animation anim210 = new Animation(arg_1875A_0, arg_1875A_1, arg_1875A_2, arg_1875A_3, arg_1875A_4, arg_1875A_5, arg_1875A_6, arg_1875A_7, arg_1875A_8, arg_1875A_9, arg_1875A_10, arg_1875A_11, arg_1875A_12, arg_1875A_13, arg_1875A_14, array);
             xARC.cColor = Color.Red;
             xARC.dixAnimations.Add(anim210.iID, anim210);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorMedium)
         {
             ushort arg_18815_0 = 0;
             byte arg_18815_1 = 0;
             Texture2D arg_18815_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Sprites/Spells/Meteor/Level 3/Meteor");
             Vector2 arg_18815_3 = new Vector2(26f, 25f);
             int arg_18815_4 = 4;
             int arg_18815_5 = 1;
             int arg_18815_6 = 38;
             int arg_18815_7 = 36;
             int arg_18815_8 = 0;
             int arg_18815_9 = 0;
             int arg_18815_10 = 11;
             Animation.LoopSettings arg_18815_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_18815_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_18815_13 = false;
             bool arg_18815_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_18810_0 = array;
             int arg_18810_1 = 0;
             AnimInsCriteria.Criteria arg_187E6_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks;
             float[] array2 = new float[1];
             arg_18810_0[arg_18810_1] = new AnimationInstruction(new AnimInsCriteria(arg_187E6_0, array2), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[]
             {
                 0.06f
             }));
             Animation anim211 = new Animation(arg_18815_0, arg_18815_1, arg_18815_2, arg_18815_3, arg_18815_4, arg_18815_5, arg_18815_6, arg_18815_7, arg_18815_8, arg_18815_9, arg_18815_10, arg_18815_11, arg_18815_12, arg_18815_13, arg_18815_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim211.iID, anim211);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorMediumExplosion)
         {
             ushort arg_188C3_0 = 0;
             byte arg_188C3_1 = 0;
             Texture2D arg_188C3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Effects/Explosions/Mushroom/Orange");
             Vector2 arg_188C3_3 = new Vector2(36f, 73f);
             int arg_188C3_4 = 4;
             int arg_188C3_5 = 11;
             int arg_188C3_6 = 75;
             int arg_188C3_7 = 78;
             int arg_188C3_8 = 0;
             int arg_188C3_9 = 0;
             int arg_188C3_10 = 11;
             Animation.LoopSettings arg_188C3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_188C3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_188C3_13 = false;
             bool arg_188C3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_188BE_0 = array;
             int arg_188BE_1 = 0;
             AnimInsCriteria arg_188B9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_188B4_0 = AnimInsEvent.EventType.PlaySound;
             string arg_188B4_1 = "Rock_break";
             float[] array2 = new float[1];
             arg_188BE_0[arg_188BE_1] = new AnimationInstruction(arg_188B9_0, new AnimInsEvent(arg_188B4_0, arg_188B4_1, array2));
             Animation anim212 = new Animation(arg_188C3_0, arg_188C3_1, arg_188C3_2, arg_188C3_3, arg_188C3_4, arg_188C3_5, arg_188C3_6, arg_188C3_7, arg_188C3_8, arg_188C3_9, arg_188C3_10, arg_188C3_11, arg_188C3_12, arg_188C3_13, arg_188C3_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim212.iID, anim212);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorMediumImpact)
         {
             ushort arg_189D3_0 = 0;
             byte arg_189D3_1 = 0;
             Texture2D arg_189D3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Sprites/Spells/Meteor/Level 1-2/Impact");
             Vector2 arg_189D3_3 = new Vector2(16f, 10f);
             int arg_189D3_4 = 4;
             int arg_189D3_5 = 3;
             int arg_189D3_6 = 31;
             int arg_189D3_7 = 19;
             int arg_189D3_8 = 0;
             int arg_189D3_9 = 0;
             int arg_189D3_10 = 10;
             Animation.LoopSettings arg_189D3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_189D3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_189D3_13 = false;
             bool arg_189D3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_189CE_0 = array;
             int arg_189CE_1 = 1;
             AnimInsCriteria arg_189C9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_189C4_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 40f;
             arg_189CE_0[arg_189CE_1] = new AnimationInstruction(arg_189C9_0, new AnimInsEvent(arg_189C4_0, array2));
             Animation anim213 = new Animation(arg_189D3_0, arg_189D3_1, arg_189D3_2, arg_189D3_3, arg_189D3_4, arg_189D3_5, arg_189D3_6, arg_189D3_7, arg_189D3_8, arg_189D3_9, arg_189D3_10, arg_189D3_11, arg_189D3_12, arg_189D3_13, arg_189D3_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim213.iID, anim213);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorMediumTargetFade)
         {
             ushort arg_18B69_0 = 0;
             byte arg_18B69_1 = 0;
             Texture2D arg_18B69_2 = Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetMedium");
             Vector2 arg_18B69_3 = new Vector2(16f, 16f);
             int arg_18B69_4 = 4;
             int arg_18B69_5 = 1;
             int arg_18B69_6 = 32;
             int arg_18B69_7 = 32;
             int arg_18B69_8 = 0;
             int arg_18B69_9 = 0;
             int arg_18B69_10 = 30;
             Animation.LoopSettings arg_18B69_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_18B69_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_18B69_13 = true;
             bool arg_18B69_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.03f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
             {
                 -0.03f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustRotation, new float[]
             {
                 0.1f
             }));
             AnimationInstruction[] arg_18B64_0 = array;
             int arg_18B64_1 = 3;
             AnimInsCriteria arg_18B5F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_18B5A_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 33f;
             arg_18B64_0[arg_18B64_1] = new AnimationInstruction(arg_18B5F_0, new AnimInsEvent(arg_18B5A_0, array2));
             Animation anim214 = new Animation(arg_18B69_0, arg_18B69_1, arg_18B69_2, arg_18B69_3, arg_18B69_4, arg_18B69_5, arg_18B69_6, arg_18B69_7, arg_18B69_8, arg_18B69_9, arg_18B69_10, arg_18B69_11, arg_18B69_12, arg_18B69_13, arg_18B69_14, array);
             xARC.cColor = Color.Red;
             xARC.dixAnimations.Add(anim214.iID, anim214);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FlamethrowerParticleSmall)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Flamethrower, "Sprites/Heroes/Skills/Flame Cone/Projectile/Small"), new Vector2(6f, 6f), 4, 5, 12, 12, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     20f
                 }), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Flamethrower, "Sprites/Heroes/Skills/Flame Cone/Projectile/SmallEnd"), new Vector2(6f, 6f), 4, 9, 12, 12, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Flamethrower;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FlamethrowerParticleMedium)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Flamethrower, "Sprites/Heroes/Skills/Flame Cone/Projectile/Mid"), new Vector2(8f, 8f), 4, 5, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     20f
                 }), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Flamethrower, "Sprites/Heroes/Skills/Flame Cone/Projectile/MidEnd"), new Vector2(10f, 10f), 4, 12, 20, 20, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Flamethrower;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Earth_EarthParticle01)
         {
             int iRand = Program.GetTheGame().randomInVisual.Next(2);
             string DEFAULT_SPELL_PATH = "Sprites/Spells/";
             if (iRand == 0)
             {
                 Dictionary<ushort, Animation> arg_18EC0_0 = xARC.dixAnimations;
                 ushort arg_18EC0_1 = 0;
                 ushort arg_18EBB_0 = 0;
                 byte arg_18EBB_1 = 1;
                 Texture2D arg_18EBB_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_EarthSpike, DEFAULT_SPELL_PATH + "Earth Spike/Particle/Dirt1");
                 Vector2 arg_18EBB_3 = new Vector2(5f, 17f);
                 int arg_18EBB_4 = 4;
                 int arg_18EBB_5 = 8;
                 int arg_18EBB_6 = 9;
                 int arg_18EBB_7 = 19;
                 int arg_18EBB_8 = 0;
                 int arg_18EBB_9 = 0;
                 int arg_18EBB_10 = 11;
                 Animation.LoopSettings arg_18EBB_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_18EBB_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_18EBB_13 = true;
                 bool arg_18EBB_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_18E6C_0 = array;
                 int arg_18E6C_1 = 0;
                 AnimInsCriteria arg_18E67_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_18E62_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_18E6C_0[arg_18E6C_1] = new AnimationInstruction(arg_18E67_0, new AnimInsEvent(arg_18E62_0, array2));
                 AnimationInstruction[] arg_18EB6_0 = array;
                 int arg_18EB6_1 = 1;
                 AnimInsCriteria arg_18EB1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_18EAC_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_18EB6_0[arg_18EB6_1] = new AnimationInstruction(arg_18EB1_0, new AnimInsEvent(arg_18EAC_0, array2));
                 arg_18EC0_0[arg_18EC0_1] = new Animation(arg_18EBB_0, arg_18EBB_1, arg_18EBB_2, arg_18EBB_3, arg_18EBB_4, arg_18EBB_5, arg_18EBB_6, arg_18EBB_7, arg_18EBB_8, arg_18EBB_9, arg_18EBB_10, arg_18EBB_11, arg_18EBB_12, arg_18EBB_13, arg_18EBB_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_18FB7_0 = xARC.dixAnimations;
                 ushort arg_18FB7_1 = 0;
                 ushort arg_18FB2_0 = 0;
                 byte arg_18FB2_1 = 1;
                 Texture2D arg_18FB2_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_EarthSpike, DEFAULT_SPELL_PATH + "Earth Spike/Particle/Dirt2");
                 Vector2 arg_18FB2_3 = new Vector2(5f, 17f);
                 int arg_18FB2_4 = 4;
                 int arg_18FB2_5 = 8;
                 int arg_18FB2_6 = 9;
                 int arg_18FB2_7 = 19;
                 int arg_18FB2_8 = 0;
                 int arg_18FB2_9 = 0;
                 int arg_18FB2_10 = 11;
                 Animation.LoopSettings arg_18FB2_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_18FB2_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_18FB2_13 = true;
                 bool arg_18FB2_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_18F63_0 = array;
                 int arg_18F63_1 = 0;
                 AnimInsCriteria arg_18F5E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_18F59_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_18F63_0[arg_18F63_1] = new AnimationInstruction(arg_18F5E_0, new AnimInsEvent(arg_18F59_0, array2));
                 AnimationInstruction[] arg_18FAD_0 = array;
                 int arg_18FAD_1 = 1;
                 AnimInsCriteria arg_18FA8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_18FA3_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_18FAD_0[arg_18FAD_1] = new AnimationInstruction(arg_18FA8_0, new AnimInsEvent(arg_18FA3_0, array2));
                 arg_18FB7_0[arg_18FB7_1] = new Animation(arg_18FB2_0, arg_18FB2_1, arg_18FB2_2, arg_18FB2_3, arg_18FB2_4, arg_18FB2_5, arg_18FB2_6, arg_18FB2_7, arg_18FB2_8, arg_18FB2_9, arg_18FB2_10, arg_18FB2_11, arg_18FB2_12, arg_18FB2_13, arg_18FB2_14, array);
             }
             this.enSpellType = SpellCodex.SpellTypes._Magic_Earth_EarthSpike;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Earth_InsectDeathLvl1)
         {
             Dictionary<ushort, Animation> arg_19138_0 = xARC.dixAnimations;
             ushort arg_19138_1 = 0;
             ushort arg_19133_0 = 0;
             byte arg_19133_1 = 1;
             Texture2D arg_19133_2 = Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 1-2/Dead/Down");
             Vector2 arg_19133_3 = new Vector2(7f, 6f);
             int arg_19133_4 = 4;
             int arg_19133_5 = 12;
             int arg_19133_6 = 14;
             int arg_19133_7 = 10;
             int arg_19133_8 = 0;
             int arg_19133_9 = 0;
             int arg_19133_10 = 12;
             Animation.LoopSettings arg_19133_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_19133_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_19133_13 = true;
             bool arg_19133_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             AnimationInstruction[] arg_19050_0 = array;
             int arg_19050_1 = 0;
             AnimInsCriteria arg_1904B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 8f
             });
             AnimInsEvent.EventType arg_19046_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_19050_0[arg_19050_1] = new AnimationInstruction(arg_1904B_0, new AnimInsEvent(arg_19046_0, array2));
             AnimationInstruction[] arg_1909A_0 = array;
             int arg_1909A_1 = 1;
             AnimInsCriteria arg_19095_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_19090_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 7f;
             arg_1909A_0[arg_1909A_1] = new AnimationInstruction(arg_19095_0, new AnimInsEvent(arg_19090_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_1912E_0 = array;
             int arg_1912E_1 = 3;
             AnimInsCriteria arg_19129_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_19124_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1912E_0[arg_1912E_1] = new AnimationInstruction(arg_19129_0, new AnimInsEvent(arg_19124_0, array2));
             arg_19138_0[arg_19138_1] = new Animation(arg_19133_0, arg_19133_1, arg_19133_2, arg_19133_3, arg_19133_4, arg_19133_5, arg_19133_6, arg_19133_7, arg_19133_8, arg_19133_9, arg_19133_10, arg_19133_11, arg_19133_12, arg_19133_13, arg_19133_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Earth_InsectSwarm;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Earth_InsectDeathLvl3)
         {
             Dictionary<ushort, Animation> arg_1927B_0 = xARC.dixAnimations;
             ushort arg_1927B_1 = 0;
             ushort arg_19276_0 = 0;
             byte arg_19276_1 = 1;
             Texture2D arg_19276_2 = Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 3/Dead/Right");
             Vector2 arg_19276_3 = new Vector2(11f, 25f);
             int arg_19276_4 = 4;
             int arg_19276_5 = 12;
             int arg_19276_6 = 23;
             int arg_19276_7 = 28;
             int arg_19276_8 = 0;
             int arg_19276_9 = 0;
             int arg_19276_10 = 12;
             Animation.LoopSettings arg_19276_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_19276_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_19276_13 = false;
             bool arg_19276_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_191DD_0 = array;
             int arg_191DD_1 = 0;
             AnimInsCriteria arg_191D8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_191D3_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 7f;
             arg_191DD_0[arg_191DD_1] = new AnimationInstruction(arg_191D8_0, new AnimInsEvent(arg_191D3_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_19271_0 = array;
             int arg_19271_1 = 2;
             AnimInsCriteria arg_1926C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_19267_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_19271_0[arg_19271_1] = new AnimationInstruction(arg_1926C_0, new AnimInsEvent(arg_19267_0, array2));
             arg_1927B_0[arg_1927B_1] = new Animation(arg_19276_0, arg_19276_1, arg_19276_2, arg_19276_3, arg_19276_4, arg_19276_5, arg_19276_6, arg_19276_7, arg_19276_8, arg_19276_9, arg_19276_10, arg_19276_11, arg_19276_12, arg_19276_13, arg_19276_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Earth_InsectSwarm;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_Electric16A)
         {
             Animation anim215 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Lightning"), new Vector2(4f, 0f), 4, 3, 8, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     20f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     40f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_SummonCloud;
             xARC.dixAnimations.Add(anim215.iID, anim215);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_ElectricImpactSmall)
         {
             ushort arg_19425_0 = 0;
             byte arg_19425_1 = 0;
             Texture2D arg_19425_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Impact");
             Vector2 arg_19425_3 = new Vector2(14f, 10f);
             int arg_19425_4 = 5;
             int arg_19425_5 = 3;
             int arg_19425_6 = 28;
             int arg_19425_7 = 10;
             int arg_19425_8 = 0;
             int arg_19425_9 = 0;
             int arg_19425_10 = 6;
             Animation.LoopSettings arg_19425_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_19425_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_19425_13 = false;
             bool arg_19425_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_19420_0 = array;
             int arg_19420_1 = 0;
             AnimInsCriteria arg_1941B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_19416_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 4f;
             arg_19420_0[arg_19420_1] = new AnimationInstruction(arg_1941B_0, new AnimInsEvent(arg_19416_0, array2));
             Animation anim216 = new Animation(arg_19425_0, arg_19425_1, arg_19425_2, arg_19425_3, arg_19425_4, arg_19425_5, arg_19425_6, arg_19425_7, arg_19425_8, arg_19425_9, arg_19425_10, arg_19425_11, arg_19425_12, arg_19425_13, arg_19425_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_SummonCloud;
             xARC.dixAnimations.Add(anim216.iID, anim216);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_SmallHole)
         {
             Animation anim217 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Hole"), new Vector2(3f, 3f), 4, 1, 5, 4, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     120f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     170f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_SummonCloud;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim217.iID, anim217);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_ElectricCurrent)
         {
             iFastForward = Program.game.randomInVisual.Next(60);
             Animation anim218 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Spark"), new Vector2(0f, 7f), 2, 4, 24, 12, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     (float)iFastForward
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.04f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     (float)(25 + iFastForward)
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.dixAnimations.Add(anim218.iID, anim218);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_ChainLightningCast)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_ChainLightning, "Sprites/Spells/Chain Lightning/Effect/Up"), new Vector2(17f, 23f), 3, 6, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_ChainLightning, "Sprites/Spells/Chain Lightning/Effect/Right"), new Vector2(12f, 14f), 3, 6, 36, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 2, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_ChainLightning, "Sprites/Spells/Chain Lightning/Effect/Down"), new Vector2(8f, 4f), 3, 6, 26, 25, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_ChainLightning, "Sprites/Spells/Chain Lightning/Effect/Right"), new Vector2(24f, 14f), 3, 6, 36, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_ChainLightning;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_TargetArrow)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_WindSlice, "Sprites/Spells/Wind Slash/Arrow"), new Vector2(28f, 7f), 4, 1, 56, 15, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_198D8_0 = xARC.dixAnimations;
             ushort arg_198D8_1 = 1;
             ushort arg_198D3_0 = 1;
             byte arg_198D3_1 = 0;
             Texture2D arg_198D3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_WindSlice, "Sprites/Spells/Wind Slash/Arrow");
             Vector2 arg_198D3_3 = new Vector2(28f, 7f);
             int arg_198D3_4 = 4;
             int arg_198D3_5 = 1;
             int arg_198D3_6 = 56;
             int arg_198D3_7 = 15;
             int arg_198D3_8 = 0;
             int arg_198D3_9 = 0;
             int arg_198D3_10 = 6;
             Animation.LoopSettings arg_198D3_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_198D3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_198D3_13 = false;
             bool arg_198D3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_19897_0 = array;
             int arg_19897_1 = 0;
             AnimInsCriteria.Criteria arg_1986D_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks;
             float[] array2 = new float[1];
             arg_19897_0[arg_19897_1] = new AnimationInstruction(new AnimInsCriteria(arg_1986D_0, array2), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.1f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
             {
                 10f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]));
             arg_198D8_0[arg_198D8_1] = new Animation(arg_198D3_0, arg_198D3_1, arg_198D3_2, arg_198D3_3, arg_198D3_4, arg_198D3_5, arg_198D3_6, arg_198D3_7, arg_198D3_8, arg_198D3_9, arg_198D3_10, arg_198D3_11, arg_198D3_12, arg_198D3_13, arg_198D3_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_WindSlice;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_WindSlashCastEffect)
         {
             Animation anim219 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_WindSlice, "Sprites/Spells/Wind Slash/Level 1/Effect/Down"), new Vector2(22f, 16f), 4, 6, 44, 20, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_WindSlice;
             xARC.dixAnimations.Add(anim219.iID, anim219);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_SlashCastLv1)
         {
             Animation anim220 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_WindSlice, "Sprites/Spells/Wind Slash/Level 1/Slash/Start"), new Vector2(29f, 18f), 4, 6, 40, 35, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_WindSlice;
             xARC.dixAnimations.Add(anim220.iID, anim220);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Light_HealPillarFront)
         {
             Animation anim221 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Heal/Front"), new Vector2(15f, 39f), 4, 10, 30, 45, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Light_Heal;
             xARC.dixAnimations.Add(anim221.iID, anim221);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Light_HealPillarBack)
         {
             Animation anim222 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Heal/Back"), new Vector2(15f, 39f), 4, 10, 30, 45, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = -1f;
             xARC.dixAnimations.Add(anim222.iID, anim222);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Light_HealRegenGlimmer)
         {
             Animation anim223 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Heal/Glimmer"), new Vector2(11f, 27f), 5, 13, 21, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.dixAnimations.Add(anim223.iID, anim223);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Support_HasteClockLv1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Support_Haste, "Sprites/Spells/Haste/Level 1-2/Start"), new Vector2(20f, 20f), 4, 9, 39, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Support_Haste, "Sprites/Spells/Haste/Level 1-2/Spin"), new Vector2(20f, 20f), 4, 8, 39, 39, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     40f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             this.fVirtualHeightMod = 1f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -10f);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Support_Haste;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNova_Test)
         {
             Animation anim224 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 1-2/Nova"), new Vector2(33f, 37f), 4, 5, 70, 60, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.dixAnimations.Add(anim224.iID, anim224);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNova_Top)
         {
             Animation anim225 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 1-2/NovaTop"), new Vector2(38f, 34f), 4, 6, 76, 34, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = -10f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim225.iID, anim225);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNova_Bot)
         {
             Animation anim226 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 1-2/NovaBot"), new Vector2(38f, 0f), 4, 6, 76, 33, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 5f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim226.iID, anim226);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNovaLvl3_Top)
         {
             Animation anim227 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 3/NovaTop"), new Vector2(46f, 42f), 4, 6, 95, 42, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = -10f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim227.iID, anim227);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNovaLvl3_Bot)
         {
             Animation anim228 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 3/NovaBot"), new Vector2(46f, 0f), 4, 6, 95, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 5f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim228.iID, anim228);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNovaLvl4_Top)
         {
             ushort arg_1A018_0 = 0;
             byte arg_1A018_1 = 0;
             Texture2D arg_1A018_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 4/NovaTop");
             Vector2 arg_1A018_3 = new Vector2(86f, 74f);
             int arg_1A018_4 = 4;
             int arg_1A018_5 = 6;
             int arg_1A018_6 = 172;
             int arg_1A018_7 = 74;
             int arg_1A018_8 = 0;
             int arg_1A018_9 = 0;
             int arg_1A018_10 = 10;
             Animation.LoopSettings arg_1A018_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A018_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A018_13 = false;
             bool arg_1A018_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1A013_0 = array;
             int arg_1A013_1 = 0;
             AnimInsCriteria arg_1A00E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_1A009_0 = AnimInsEvent.EventType.SkipFrameFractions;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_1A013_0[arg_1A013_1] = new AnimationInstruction(arg_1A00E_0, new AnimInsEvent(arg_1A009_0, array2));
             Animation anim229 = new Animation(arg_1A018_0, arg_1A018_1, arg_1A018_2, arg_1A018_3, arg_1A018_4, arg_1A018_5, arg_1A018_6, arg_1A018_7, arg_1A018_8, arg_1A018_9, arg_1A018_10, arg_1A018_11, arg_1A018_12, arg_1A018_13, arg_1A018_14, array);
             xARC.fVirtualHeight = -10f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim229.iID, anim229);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNovaLvl4_Bot)
         {
             ushort arg_1A0FE_0 = 0;
             byte arg_1A0FE_1 = 0;
             Texture2D arg_1A0FE_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 4/NovaBot");
             Vector2 arg_1A0FE_3 = new Vector2(86f, 0f);
             int arg_1A0FE_4 = 4;
             int arg_1A0FE_5 = 6;
             int arg_1A0FE_6 = 172;
             int arg_1A0FE_7 = 84;
             int arg_1A0FE_8 = 0;
             int arg_1A0FE_9 = 0;
             int arg_1A0FE_10 = 10;
             Animation.LoopSettings arg_1A0FE_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A0FE_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A0FE_13 = false;
             bool arg_1A0FE_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1A0F9_0 = array;
             int arg_1A0F9_1 = 0;
             AnimInsCriteria arg_1A0F4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_1A0EF_0 = AnimInsEvent.EventType.SkipFrameFractions;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_1A0F9_0[arg_1A0F9_1] = new AnimationInstruction(arg_1A0F4_0, new AnimInsEvent(arg_1A0EF_0, array2));
             Animation anim230 = new Animation(arg_1A0FE_0, arg_1A0FE_1, arg_1A0FE_2, arg_1A0FE_3, arg_1A0FE_4, arg_1A0FE_5, arg_1A0FE_6, arg_1A0FE_7, arg_1A0FE_8, arg_1A0FE_9, arg_1A0FE_10, arg_1A0FE_11, arg_1A0FE_12, arg_1A0FE_13, arg_1A0FE_14, array);
             xARC.fVirtualHeight = 5f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim230.iID, anim230);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNova_Hit)
         {
             Animation anim231 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Effects/SpellEffects/Ice Nova/Hit"), new Vector2(20f, 21f), 4, 5, 43, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim231.iID, anim231);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostPathNova)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             Dictionary<ushort, Animation> arg_1A2B1_0 = xARC.dixAnimations;
             ushort arg_1A2B1_1 = 0;
             ushort arg_1A2AC_0 = 0;
             byte arg_1A2AC_1 = 1;
             Texture2D arg_1A2AC_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/Frost/TypeA/Start2");
             Vector2 arg_1A2AC_3 = new Vector2(21f, 15f);
             int arg_1A2AC_4 = 4;
             int arg_1A2AC_5 = 9;
             int arg_1A2AC_6 = 38;
             int arg_1A2AC_7 = 29;
             int arg_1A2AC_8 = 0;
             int arg_1A2AC_9 = 0;
             int arg_1A2AC_10 = 10;
             Animation.LoopSettings arg_1A2AC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A2AC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A2AC_13 = false;
             bool arg_1A2AC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A271_0 = array;
             int arg_1A271_1 = 0;
             AnimInsCriteria arg_1A26C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_1A267_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 50f;
             arg_1A271_0[arg_1A271_1] = new AnimationInstruction(arg_1A26C_0, new AnimInsEvent(arg_1A267_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_1A2B1_0[arg_1A2B1_1] = new Animation(arg_1A2AC_0, arg_1A2AC_1, arg_1A2AC_2, arg_1A2AC_3, arg_1A2AC_4, arg_1A2AC_5, arg_1A2AC_6, arg_1A2AC_7, arg_1A2AC_8, arg_1A2AC_9, arg_1A2AC_10, arg_1A2AC_11, arg_1A2AC_12, arg_1A2AC_13, arg_1A2AC_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/Frost/TypeA/End2"), new Vector2(21f, 15f), 4, 9, 38, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.65f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_NoveIceSpikeA)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_1A3F7_0 = xARC.dixAnimations;
             ushort arg_1A3F7_1 = 1;
             ushort arg_1A3F2_0 = 1;
             byte arg_1A3F2_1 = 1;
             Texture2D arg_1A3F2_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeA/Start/Right");
             Vector2 arg_1A3F2_3 = new Vector2(17f, 30f);
             int arg_1A3F2_4 = 4;
             int arg_1A3F2_5 = 6;
             int arg_1A3F2_6 = 42;
             int arg_1A3F2_7 = 31;
             int arg_1A3F2_8 = 0;
             int arg_1A3F2_9 = 0;
             int arg_1A3F2_10 = 10;
             Animation.LoopSettings arg_1A3F2_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A3F2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A3F2_13 = false;
             bool arg_1A3F2_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A3B7_0 = array;
             int arg_1A3B7_1 = 0;
             AnimInsCriteria arg_1A3B2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A3AD_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_1A3B7_0[arg_1A3B7_1] = new AnimationInstruction(arg_1A3B2_0, new AnimInsEvent(arg_1A3AD_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_1A3F7_0[arg_1A3F7_1] = new Animation(arg_1A3F2_0, arg_1A3F2_1, arg_1A3F2_2, arg_1A3F2_3, arg_1A3F2_4, arg_1A3F2_5, arg_1A3F2_6, arg_1A3F2_7, arg_1A3F2_8, arg_1A3F2_9, arg_1A3F2_10, arg_1A3F2_11, arg_1A3F2_12, arg_1A3F2_13, arg_1A3F2_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeA/End/Right"), new Vector2(17f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1A517_0 = xARC.dixAnimations;
             ushort arg_1A517_1 = 3;
             ushort arg_1A512_0 = 3;
             byte arg_1A512_1 = 3;
             Texture2D arg_1A512_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeA/Start/Left");
             Vector2 arg_1A512_3 = new Vector2(25f, 30f);
             int arg_1A512_4 = 4;
             int arg_1A512_5 = 6;
             int arg_1A512_6 = 42;
             int arg_1A512_7 = 31;
             int arg_1A512_8 = 0;
             int arg_1A512_9 = 0;
             int arg_1A512_10 = 10;
             Animation.LoopSettings arg_1A512_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A512_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A512_13 = false;
             bool arg_1A512_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A4D7_0 = array;
             int arg_1A4D7_1 = 0;
             AnimInsCriteria arg_1A4D2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A4CD_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_1A4D7_0[arg_1A4D7_1] = new AnimationInstruction(arg_1A4D2_0, new AnimInsEvent(arg_1A4CD_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_1A517_0[arg_1A517_1] = new Animation(arg_1A512_0, arg_1A512_1, arg_1A512_2, arg_1A512_3, arg_1A512_4, arg_1A512_5, arg_1A512_6, arg_1A512_7, arg_1A512_8, arg_1A512_9, arg_1A512_10, arg_1A512_11, arg_1A512_12, arg_1A512_13, arg_1A512_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeA/End/Left"), new Vector2(25f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_NoveIceSpikeB)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_1A64F_0 = xARC.dixAnimations;
             ushort arg_1A64F_1 = 1;
             ushort arg_1A64A_0 = 1;
             byte arg_1A64A_1 = 1;
             Texture2D arg_1A64A_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeB/Start/Right");
             Vector2 arg_1A64A_3 = new Vector2(16f, 28f);
             int arg_1A64A_4 = 4;
             int arg_1A64A_5 = 6;
             int arg_1A64A_6 = 45;
             int arg_1A64A_7 = 29;
             int arg_1A64A_8 = 0;
             int arg_1A64A_9 = 0;
             int arg_1A64A_10 = 10;
             Animation.LoopSettings arg_1A64A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A64A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A64A_13 = false;
             bool arg_1A64A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A60F_0 = array;
             int arg_1A60F_1 = 0;
             AnimInsCriteria arg_1A60A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A605_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_1A60F_0[arg_1A60F_1] = new AnimationInstruction(arg_1A60A_0, new AnimInsEvent(arg_1A605_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_1A64F_0[arg_1A64F_1] = new Animation(arg_1A64A_0, arg_1A64A_1, arg_1A64A_2, arg_1A64A_3, arg_1A64A_4, arg_1A64A_5, arg_1A64A_6, arg_1A64A_7, arg_1A64A_8, arg_1A64A_9, arg_1A64A_10, arg_1A64A_11, arg_1A64A_12, arg_1A64A_13, arg_1A64A_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeB/End/Right"), new Vector2(16f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1A76F_0 = xARC.dixAnimations;
             ushort arg_1A76F_1 = 3;
             ushort arg_1A76A_0 = 3;
             byte arg_1A76A_1 = 3;
             Texture2D arg_1A76A_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeB/Start/Left");
             Vector2 arg_1A76A_3 = new Vector2(28f, 28f);
             int arg_1A76A_4 = 4;
             int arg_1A76A_5 = 6;
             int arg_1A76A_6 = 45;
             int arg_1A76A_7 = 29;
             int arg_1A76A_8 = 0;
             int arg_1A76A_9 = 0;
             int arg_1A76A_10 = 10;
             Animation.LoopSettings arg_1A76A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A76A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A76A_13 = false;
             bool arg_1A76A_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A72F_0 = array;
             int arg_1A72F_1 = 0;
             AnimInsCriteria arg_1A72A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A725_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_1A72F_0[arg_1A72F_1] = new AnimationInstruction(arg_1A72A_0, new AnimInsEvent(arg_1A725_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_1A76F_0[arg_1A76F_1] = new Animation(arg_1A76A_0, arg_1A76A_1, arg_1A76A_2, arg_1A76A_3, arg_1A76A_4, arg_1A76A_5, arg_1A76A_6, arg_1A76A_7, arg_1A76A_8, arg_1A76A_9, arg_1A76A_10, arg_1A76A_11, arg_1A76A_12, arg_1A76A_13, arg_1A76A_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeB/End/Left"), new Vector2(28f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_NoveIceSpikeC)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_1A8A7_0 = xARC.dixAnimations;
             ushort arg_1A8A7_1 = 1;
             ushort arg_1A8A2_0 = 1;
             byte arg_1A8A2_1 = 1;
             Texture2D arg_1A8A2_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeC/Start/Right");
             Vector2 arg_1A8A2_3 = new Vector2(25f, 30f);
             int arg_1A8A2_4 = 4;
             int arg_1A8A2_5 = 6;
             int arg_1A8A2_6 = 42;
             int arg_1A8A2_7 = 31;
             int arg_1A8A2_8 = 0;
             int arg_1A8A2_9 = 0;
             int arg_1A8A2_10 = 10;
             Animation.LoopSettings arg_1A8A2_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A8A2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A8A2_13 = false;
             bool arg_1A8A2_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A867_0 = array;
             int arg_1A867_1 = 0;
             AnimInsCriteria arg_1A862_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A85D_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_1A867_0[arg_1A867_1] = new AnimationInstruction(arg_1A862_0, new AnimInsEvent(arg_1A85D_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_1A8A7_0[arg_1A8A7_1] = new Animation(arg_1A8A2_0, arg_1A8A2_1, arg_1A8A2_2, arg_1A8A2_3, arg_1A8A2_4, arg_1A8A2_5, arg_1A8A2_6, arg_1A8A2_7, arg_1A8A2_8, arg_1A8A2_9, arg_1A8A2_10, arg_1A8A2_11, arg_1A8A2_12, arg_1A8A2_13, arg_1A8A2_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeC/End/Right"), new Vector2(25f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1A9C7_0 = xARC.dixAnimations;
             ushort arg_1A9C7_1 = 3;
             ushort arg_1A9C2_0 = 3;
             byte arg_1A9C2_1 = 1;
             Texture2D arg_1A9C2_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeC/Start/Left");
             Vector2 arg_1A9C2_3 = new Vector2(18f, 30f);
             int arg_1A9C2_4 = 4;
             int arg_1A9C2_5 = 6;
             int arg_1A9C2_6 = 42;
             int arg_1A9C2_7 = 31;
             int arg_1A9C2_8 = 0;
             int arg_1A9C2_9 = 0;
             int arg_1A9C2_10 = 10;
             Animation.LoopSettings arg_1A9C2_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A9C2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A9C2_13 = false;
             bool arg_1A9C2_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A987_0 = array;
             int arg_1A987_1 = 0;
             AnimInsCriteria arg_1A982_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A97D_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_1A987_0[arg_1A987_1] = new AnimationInstruction(arg_1A982_0, new AnimInsEvent(arg_1A97D_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_1A9C7_0[arg_1A9C7_1] = new Animation(arg_1A9C2_0, arg_1A9C2_1, arg_1A9C2_2, arg_1A9C2_3, arg_1A9C2_4, arg_1A9C2_5, arg_1A9C2_6, arg_1A9C2_7, arg_1A9C2_8, arg_1A9C2_9, arg_1A9C2_10, arg_1A9C2_11, arg_1A9C2_12, arg_1A9C2_13, arg_1A9C2_14, array);
             xARC.dixAnimations[7] = new Animation(7, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeC/End/Left"), new Vector2(18f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Light_Protect)
         {
             ushort arg_1AAC4_0 = 0;
             byte arg_1AAC4_1 = 0;
             Texture2D arg_1AAC4_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Light_Protect, "Effects/SpellEffects/Protect/Shield");
             Vector2 arg_1AAC4_3 = new Vector2(17f, 29f);
             int arg_1AAC4_4 = 4;
             int arg_1AAC4_5 = 10;
             int arg_1AAC4_6 = 36;
             int arg_1AAC4_7 = 35;
             int arg_1AAC4_8 = 0;
             int arg_1AAC4_9 = 0;
             int arg_1AAC4_10 = 10;
             Animation.LoopSettings arg_1AAC4_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1AAC4_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1AAC4_13 = false;
             bool arg_1AAC4_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1AABF_0 = array;
             int arg_1AABF_1 = 0;
             AnimInsCriteria arg_1AABA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_1AAB5_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_1AABF_0[arg_1AABF_1] = new AnimationInstruction(arg_1AABA_0, new AnimInsEvent(arg_1AAB5_0, array2));
             Animation anim232 = new Animation(arg_1AAC4_0, arg_1AAC4_1, arg_1AAC4_2, arg_1AAC4_3, arg_1AAC4_4, arg_1AAC4_5, arg_1AAC4_6, arg_1AAC4_7, arg_1AAC4_8, arg_1AAC4_9, arg_1AAC4_10, arg_1AAC4_11, arg_1AAC4_12, arg_1AAC4_13, arg_1AAC4_14, array);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.dixAnimations.Add(anim232.iID, anim232);
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadSlamRight)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Air_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Air/Small/Back"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Air_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Air/Small/Front"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Fire_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Fire/Small/Back"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Fire_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Fire/Small/Front"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Earth_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Earth/Small/Back"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Earth_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Earth/Small/Front"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Ice_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Ice/Small/Back"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Ice_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Ice/Small/Front"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Support_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Support/Small/Back"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Support_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Support/Small/Front"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Weapons)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Weapons/Effect"), new Vector2(25f, 32f), 4, 3, 43, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._StatusEffects_Freeze_Small)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadSlamRight)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Overhead/Effect/Right"), new Vector2(39f, 31f), 4, 3, 81, 60, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadSlamLeft)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Overhead/Effect/Left"), new Vector2(42f, 31f), 4, 3, 81, 60, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadSlamLv5)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Overhead/Effect/Level 5/Ground"), new Vector2(41f, 44f), 4, 3, 84, 86, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadBlast)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Hit Effects/Overhead/Overhead"), new Vector2(38f, 50f), 6, 4, 76, 59, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadExplosionLv4)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Overhead/Effect/Level 4/Impact"), new Vector2(28f, 93f), 4, 5, 56, 99, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadExplosionLv5)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Overhead/Effect/Level 5/Impact"), new Vector2(28f, 97f), 4, 6, 56, 109, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_StraightThrow)
         {
             Animation anim233 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Projectile"), new Vector2(1f, 6f), 4, 1, 37, 11, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim233.iID, anim233);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_SpinningThrow)
         {
             Animation anim234 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Spin"), new Vector2(20f, 20f), 2, 4, 39, 39, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim234.iID, anim234);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_ThrowExplosion)
         {
             Animation anim235 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Level 3/Effect"), new Vector2(53f, 43f), 4, 9, 106, 53, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim235.iID, anim235);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_BerserkDemon)
         {
             Animation anim236 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Berserk/Level 1-2/Effect"), new Vector2(38f, 70f), 4, 23, 84, 73, 0, 0, 23, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim236.iID, anim236);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_ThrownLantern)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Weapons/Lantern"), new Vector2(6f, 25f), 4, 1, 14, 30, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1B463_0 = xARC.dixAnimations;
             ushort arg_1B463_1 = 1;
             ushort arg_1B45E_0 = 1;
             byte arg_1B45E_1 = 0;
             Texture2D arg_1B45E_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Weapons/Lantern");
             Vector2 arg_1B45E_3 = new Vector2(6f, 25f);
             int arg_1B45E_4 = 4;
             int arg_1B45E_5 = 1;
             int arg_1B45E_6 = 14;
             int arg_1B45E_7 = 30;
             int arg_1B45E_8 = 0;
             int arg_1B45E_9 = 0;
             int arg_1B45E_10 = 10;
             Animation.LoopSettings arg_1B45E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1B45E_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1B45E_13 = false;
             bool arg_1B45E_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_1B459_0 = array;
             int arg_1B459_1 = 1;
             AnimInsCriteria arg_1B454_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_1B44F_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1B459_0[arg_1B459_1] = new AnimationInstruction(arg_1B454_0, new AnimInsEvent(arg_1B44F_0, array2));
             arg_1B463_0[arg_1B463_1] = new Animation(arg_1B45E_0, arg_1B45E_1, arg_1B45E_2, arg_1B45E_3, arg_1B45E_4, arg_1B45E_5, arg_1B45E_6, arg_1B45E_7, arg_1B45E_8, arg_1B45E_9, arg_1B45E_10, arg_1B45E_11, arg_1B45E_12, arg_1B45E_13, arg_1B45E_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Skill_TwoHanded_Throw;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_ThrowPickup)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Pickup"), new Vector2(5f, 42f), 4, 3, 11, 53, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Skill_TwoHanded_Throw;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_ShortSwingTrail1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Trail/Up"), new Vector2(29f, 32f), 4, 7, 57, 73, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Trail/Right"), new Vector2(43f, 33f), 4, 7, 74, 51, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Trail/Down"), new Vector2(27f, 69f), 4, 7, 55, 92, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Trail/Right"), new Vector2(31f, 33f), 4, 7, 74, 51, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_ShortSwingPerfectDodgeOnPlayer)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Perfect/Effect"), new Vector2(23f, 37f), 4, 6, 45, 48, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_ShortSwingPerfectDodgeOnShadow)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Perfect/Smoke"), new Vector2(16f, 32f), 4, 7, 34, 37, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_ShadowClone_CloudLv1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Shadow Clone/Effect"), new Vector2(25f, 63f), 4, 9, 46, 79, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_ShadowClone_CloudLv3)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Shadow Clone/Level3/Effect"), new Vector2(33f, 63f), 4, 9, 65, 80, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_SpiritSlash_AOE_Lv1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/aoe"), new Vector2(55f, 55f), 4, 1, 110, 110, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     0.04f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/aoe"), new Vector2(55f, 55f), 4, 16, 110, 110, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/aoe"), new Vector2(55f, 55f), 4, 1, 110, 110, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
                 {
                     1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.07f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             });
             xARC.fAlpha = 0f;
             xARC.fScale = 0.25f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_SpiritSlash_CloneRight)
         {
             Dictionary<ushort, Animation> arg_1BBDF_0 = xARC.dixAnimations;
             ushort arg_1BBDF_1 = 0;
             ushort arg_1BBDA_0 = 0;
             byte arg_1BBDA_1 = 0;
             Texture2D arg_1BBDA_2 = Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Clones/Side");
             Vector2 arg_1BBDA_3 = new Vector2(30f, 53f);
             int arg_1BBDA_4 = 3;
             int arg_1BBDA_5 = 14;
             int arg_1BBDA_6 = 55;
             int arg_1BBDA_7 = 66;
             int arg_1BBDA_8 = 0;
             int arg_1BBDA_9 = 0;
             int arg_1BBDA_10 = 14;
             Animation.LoopSettings arg_1BBDA_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1BBDA_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1BBDA_13 = true;
             bool arg_1BBDA_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 1f,
                 2f
             }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[]
             {
                 1f
             }));
             AnimationInstruction[] arg_1BBD5_0 = array;
             int arg_1BBD5_1 = 1;
             AnimInsCriteria arg_1BBD0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1BBCB_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1BBD5_0[arg_1BBD5_1] = new AnimationInstruction(arg_1BBD0_0, new AnimInsEvent(arg_1BBCB_0, array2));
             arg_1BBDF_0[arg_1BBDF_1] = new Animation(arg_1BBDA_0, arg_1BBDA_1, arg_1BBDA_2, arg_1BBDA_3, arg_1BBDA_4, arg_1BBDA_5, arg_1BBDA_6, arg_1BBDA_7, arg_1BBDA_8, arg_1BBDA_9, arg_1BBDA_10, arg_1BBDA_11, arg_1BBDA_12, arg_1BBDA_13, arg_1BBDA_14, array);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_SpiritSlash_CloneLeft)
         {
             Dictionary<ushort, Animation> arg_1BCDE_0 = xARC.dixAnimations;
             ushort arg_1BCDE_1 = 0;
             ushort arg_1BCD9_0 = 0;
             byte arg_1BCD9_1 = 0;
             Texture2D arg_1BCD9_2 = Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Clones/Side");
             Vector2 arg_1BCD9_3 = new Vector2(25f, 53f);
             int arg_1BCD9_4 = 3;
             int arg_1BCD9_5 = 14;
             int arg_1BCD9_6 = 55;
             int arg_1BCD9_7 = 66;
             int arg_1BCD9_8 = 0;
             int arg_1BCD9_9 = 0;
             int arg_1BCD9_10 = 14;
             Animation.LoopSettings arg_1BCD9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1BCD9_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1BCD9_13 = true;
             bool arg_1BCD9_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 1f,
                 2f
             }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[]
             {
                 1f
             }));
             AnimationInstruction[] arg_1BCD4_0 = array;
             int arg_1BCD4_1 = 1;
             AnimInsCriteria arg_1BCCF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1BCCA_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1BCD4_0[arg_1BCD4_1] = new AnimationInstruction(arg_1BCCF_0, new AnimInsEvent(arg_1BCCA_0, array2));
             arg_1BCDE_0[arg_1BCDE_1] = new Animation(arg_1BCD9_0, arg_1BCD9_1, arg_1BCD9_2, arg_1BCD9_3, arg_1BCD9_4, arg_1BCD9_5, arg_1BCD9_6, arg_1BCD9_7, arg_1BCD9_8, arg_1BCD9_9, arg_1BCD9_10, arg_1BCD9_11, arg_1BCD9_12, arg_1BCD9_13, arg_1BCD9_14, array);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_SpiritSlash_CloneDown)
         {
             Dictionary<ushort, Animation> arg_1BE44_0 = xARC.dixAnimations;
             ushort arg_1BE44_1 = 0;
             ushort arg_1BE3F_0 = 0;
             byte arg_1BE3F_1 = 0;
             Texture2D arg_1BE3F_2 = Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Clones/Down");
             Vector2 arg_1BE3F_3 = new Vector2(30f, 53f);
             int arg_1BE3F_4 = 4;
             int arg_1BE3F_5 = 14;
             int arg_1BE3F_6 = 52;
             int arg_1BE3F_7 = 66;
             int arg_1BE3F_8 = 0;
             int arg_1BE3F_9 = 0;
             int arg_1BE3F_10 = 14;
             Animation.LoopSettings arg_1BE3F_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1BE3F_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1BE3F_13 = true;
             bool arg_1BE3F_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 1f,
                 2f
             }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[]
             {
                 1f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 1f,
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[]
             {
                 1f
             }));
             AnimationInstruction[] arg_1BE3A_0 = array;
             int arg_1BE3A_1 = 2;
             AnimInsCriteria arg_1BE35_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1BE30_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1BE3A_0[arg_1BE3A_1] = new AnimationInstruction(arg_1BE35_0, new AnimInsEvent(arg_1BE30_0, array2));
             arg_1BE44_0[arg_1BE44_1] = new Animation(arg_1BE3F_0, arg_1BE3F_1, arg_1BE3F_2, arg_1BE3F_3, arg_1BE3F_4, arg_1BE3F_5, arg_1BE3F_6, arg_1BE3F_7, arg_1BE3F_8, arg_1BE3F_9, arg_1BE3F_10, arg_1BE3F_11, arg_1BE3F_12, arg_1BE3F_13, arg_1BE3F_14, array);
             if (CAS.RandomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
                 xARC.dixAnimations[0].v2PositionOffset = new Vector2(22f, 53f);
             }
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_SpiritSlash_CloneWat)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Clones/NoTarget"), new Vector2(16f, 60f), 4, 28, 32, 67, 0, 0, 28, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_StingerFinishA_Up)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/MillionStab/Finish/Effect/Up"), new Vector2(19f, 54f), 4, 3, 39, 58, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_StingerFinishA_UpP2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/MillionStab/Finish/Effect/Up2"), new Vector2(19f, 54f), 4, 3, 39, 58, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_StingerFinishA_Right)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/MillionStab/Finish/Effect/Right"), new Vector2(18f, 32f), 4, 3, 71, 42, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_StingerFinishA_Down)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/MillionStab/Finish/Effect/Down"), new Vector2(20f, 30f), 4, 3, 39, 74, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_StingerFinishA_Left)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/MillionStab/Finish/Effect/Right"), new Vector2(55f, 32f), 4, 3, 71, 42, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_Bow_ArrowBreak)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Spells/Arrows/Pilpaj/TypeA"), new Vector2(9f, 4f), 2, 8, 16, 7, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Spells/Arrows/Pilpaj/TypeB"), new Vector2(9f, 9f), 2, 8, 16, 16, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 1, Content.Load<Texture2D>("Sprites/Spells/Arrows/Pilpaj/TypeC"), new Vector2(4f, 9f), 2, 8, 7, 16, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.SwitchAnimation((ushort)Program.GetTheGame().randomInVisual.Next(3), Animation.CancelOptions.RestartIfPlaying);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_Bow_FadingArrow)
         {
             string DEFAULT_SPELL_PATH2 = "Sprites/Spells/";
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(DEFAULT_SPELL_PATH2 + "Arrows/Basic/Up"), new Vector2(4f, 8f), 4, 1, 7, 16, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     150f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     20f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(DEFAULT_SPELL_PATH2 + "Arrows/Basic/Right"), new Vector2(8f, 4f), 4, 1, 16, 7, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     30f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(DEFAULT_SPELL_PATH2 + "Arrows/Basic/Down"), new Vector2(4f, 8f), 4, 1, 7, 16, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     30f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 }))
             }));
             xARC.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(DEFAULT_SPELL_PATH2 + "Arrows/Basic/Left"), new Vector2(8f, 4f), 4, 1, 16, 7, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     30f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 }))
             }));
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._EnemyEffects_Halloweed_Dig)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._StatusEffects_Freeze_Small)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Freeze/Start"), new Vector2(21f, 23f), 4, 4, 41, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Effects/Freeze/Idle"), new Vector2(21f, 23f), 4, 1, 41, 36, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1000] = new Animation(1, 1, Content.Load<Texture2D>("Effects/Freeze/End"), new Vector2(27f, 28f), 4, 3, 53, 42, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.7f;
             ShadowSlaveRenderComponent shadow = new ShadowSlaveRenderComponent(xARC);
             shadow.ditxTextures[0] = Content.Load<Texture2D>("Effects/Freeze/StartShadow");
             shadow.ditxTextures[1] = Content.Load<Texture2D>("Effects/Freeze/IdleShadow");
             shadow.ditxTextures[1000] = Content.Load<Texture2D>("Effects/Freeze/EndShadow");
             Program.GetTheGame().xRenderMaster.RegisterBelowSorted(shadow);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._StatusEffects_Freeze_Small_Break)
         {
             xARC.dixAnimations[0] = new Animation(1, 1, Content.Load<Texture2D>("Effects/Freeze/End"), new Vector2(27f, 28f), 4, 3, 53, 42, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._StatusEffects_VineRootEnd_Green)
         {
             xARC.dixAnimations[0] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Halloweed/RootEffect/End"), new Vector2(20f, 32f), 4, 6, 41, 41, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._StatusEffects_Chilled_SnowFlake)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Freeze/Snow" + (Program.GetTheGame().randomInVisual.Next(2) + 1)), new Vector2(3f, 3f), 4, 1, 7, 7, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 25f;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PapaSlimeSpawnBall)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Halloweed_Dig)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Halloweed/Dig/Dig"), new Vector2(11f, 6f), 4, 13, 21, 12, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[0].fInnateTimeWarp = 0.9f;
             xARC.fScale = 1f;
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Halloweed_DigRoot)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Halloweed/Dig/Dig"), new Vector2(11f, 6f), 4, 13, 21, 12, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[0].fInnateTimeWarp = 0.9f;
             xARC.fScale = 0.5f;
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Vilya_Stars)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Vilya/Dizzy/Effect"), new Vector2(11f, 11f), 4, 8, 20, 15, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -26f);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Rabby_Rage)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Special/WhiteRabbi/Rage/Rage"), new Vector2(34f, 67f), 4, 23, 69, 78, 0, 0, 23, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_BallSpark_Smoke_Right)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Sphere/Attack/Smoke"), new Vector2(16f, 33f), 4, 7, 32, 37, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[0].fInnateTimeWarp = 0.9f;
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_BallSpark_Smoke_Left)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Sphere/Attack/Smoke"), new Vector2(16f, 33f), 4, 7, 32, 37, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[0].fInnateTimeWarp = 0.9f;
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_BrawlBot_JumpEffect)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Marauder/Jump/Effect"), new Vector2(19f, 31f), 4, 3, 37, 36, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Crystal_ChangeColor)
         {
             Dictionary<ushort, Animation> arg_1CD5C_0 = xARC.dixAnimations;
             ushort arg_1CD5C_1 = 0;
             ushort arg_1CD57_0 = 0;
             byte arg_1CD57_1 = 0;
             Texture2D arg_1CD57_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ColorChange");
             Vector2 arg_1CD57_3 = new Vector2(10f, 46f);
             int arg_1CD57_4 = 4;
             int arg_1CD57_5 = 6;
             int arg_1CD57_6 = 19;
             int arg_1CD57_7 = 50;
             int arg_1CD57_8 = 0;
             int arg_1CD57_9 = 0;
             int arg_1CD57_10 = 13;
             Animation.LoopSettings arg_1CD57_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1CD57_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1CD57_13 = true;
             bool arg_1CD57_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1CD52_0 = array;
             int arg_1CD52_1 = 0;
             AnimInsCriteria arg_1CD4D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1CD48_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1CD48_1 = "Guardian_ColorChange";
             float[] array2 = new float[1];
             arg_1CD52_0[arg_1CD52_1] = new AnimationInstruction(arg_1CD4D_0, new AnimInsEvent(arg_1CD48_0, arg_1CD48_1, array2));
             arg_1CD5C_0[arg_1CD5C_1] = new Animation(arg_1CD57_0, arg_1CD57_1, arg_1CD57_2, arg_1CD57_3, arg_1CD57_4, arg_1CD57_5, arg_1CD57_6, arg_1CD57_7, arg_1CD57_8, arg_1CD57_9, arg_1CD57_10, arg_1CD57_11, arg_1CD57_12, arg_1CD57_13, arg_1CD57_14, array);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Crystal_SlowEffectAppearParticle)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/ParticleC"), new Vector2(2f, 2f), 4, 7, 4, 4, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Crystal_SlowEffectSuckParticleA)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/ParticleA"), new Vector2(0f, 21f), 5, 7, 1, 21, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Crystal_SlowEffectSuckParticleB)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/ParticleB"), new Vector2(0f, 27f), 5, 7, 1, 27, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Crystal_ShieldEffect)
         {
             Dictionary<ushort, Animation> arg_1CF33_0 = xARC.dixAnimations;
             ushort arg_1CF33_1 = 0;
             ushort arg_1CF2E_0 = 0;
             byte arg_1CF2E_1 = 0;
             Texture2D arg_1CF2E_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/Shield/ShieldStart");
             Vector2 arg_1CF2E_3 = new Vector2(23f, 42f);
             int arg_1CF2E_4 = 4;
             int arg_1CF2E_5 = 3;
             int arg_1CF2E_6 = 43;
             int arg_1CF2E_7 = 43;
             int arg_1CF2E_8 = 0;
             int arg_1CF2E_9 = 0;
             int arg_1CF2E_10 = 13;
             Animation.LoopSettings arg_1CF2E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1CF2E_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1CF2E_13 = true;
             bool arg_1CF2E_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1CEF3_0 = array;
             int arg_1CEF3_1 = 0;
             AnimInsCriteria arg_1CEEE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_1CEE9_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1CEE9_1 = "Guardian_ShieldActive";
             float[] array2 = new float[1];
             arg_1CEF3_0[arg_1CEF3_1] = new AnimationInstruction(arg_1CEEE_0, new AnimInsEvent(arg_1CEE9_0, arg_1CEE9_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_1CF33_0[arg_1CF33_1] = new Animation(arg_1CF2E_0, arg_1CF2E_1, arg_1CF2E_2, arg_1CF2E_3, arg_1CF2E_4, arg_1CF2E_5, arg_1CF2E_6, arg_1CF2E_7, arg_1CF2E_8, arg_1CF2E_9, arg_1CF2E_10, arg_1CF2E_11, arg_1CF2E_12, arg_1CF2E_13, arg_1CF2E_14, array);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/Shield/ShieldIdle"), new Vector2(23f, 42f), 4, 7, 43, 43, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/Shield/ShieldStart"), new Vector2(23f, 42f), 4, 3, 43, 43, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2].bReversePlayback = true;
             xARC.fVirtualHeight = 10f;
             AnimatedRenderComponent expr_1CFDD_cp_0 = xARC;
             expr_1CFDD_cp_0.v2OffsetRenderPos.Y = expr_1CFDD_cp_0.v2OffsetRenderPos.Y - 5f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Pecko_Peck)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Goose/Attack/GroundEffect"), new Vector2(13f, 22f), 4, 3, 25, 23, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Pecko_Hole)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Goose/Attack/Hole"), new Vector2(2f, 3f), 4, 1, 4, 4, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             });
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Winter_GroundFrostAbove)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Above"), new Vector2(21f, 15f), 4, 4, 28, 21, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Above"), new Vector2(21f, 15f), 4, 1, 28, 21, 112, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Above"), new Vector2(21f, 15f), 4, 8, 28, 21, 140, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.ShadowLayer;
             iShadowLayerLayer = 50;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Winter_GroundFrostBelow)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Lower"), new Vector2(21f, 15f), 4, 4, 28, 21, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Lower"), new Vector2(21f, 15f), 4, 1, 28, 21, 112, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Lower"), new Vector2(21f, 15f), 4, 8, 28, 21, 140, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.ShadowLayer;
             iShadowLayerLayer = 5;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Winter_SnowFlakeA)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Freeze/SnowA"), new Vector2(5f, 5f), 4, 1, 11, 11, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 25f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Winter_SnowFlakeB)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Freeze/SnowB"), new Vector2(5f, 5f), 4, 1, 11, 11, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 25f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_DebuffEffect)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Debuffs/Illusion/Illusion"), new Vector2(11f, 30f), 4, 7, 22, 38, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_Root)
         {
             Dictionary<ushort, Animation> arg_1D523_0 = xARC.dixAnimations;
             ushort arg_1D523_1 = 0;
             ushort arg_1D51E_0 = 0;
             byte arg_1D51E_1 = 0;
             Texture2D arg_1D51E_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear");
             Vector2 arg_1D51E_3 = new Vector2(16f, 29f);
             int arg_1D51E_4 = 4;
             int arg_1D51E_5 = 13;
             int arg_1D51E_6 = 30;
             int arg_1D51E_7 = 35;
             int arg_1D51E_8 = 0;
             int arg_1D51E_9 = 0;
             int arg_1D51E_10 = 20;
             Animation.LoopSettings arg_1D51E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1D51E_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1D51E_13 = true;
             bool arg_1D51E_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1D4E3_0 = array;
             int arg_1D4E3_1 = 0;
             AnimInsCriteria arg_1D4DE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_1D4D9_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1D4D9_1 = "Halloweed_Appear";
             float[] array2 = new float[1];
             arg_1D4E3_0[arg_1D4E3_1] = new AnimationInstruction(arg_1D4DE_0, new AnimInsEvent(arg_1D4D9_0, arg_1D4D9_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_1D523_0.Add(arg_1D523_1, new Animation(arg_1D51E_0, arg_1D51E_1, arg_1D51E_2, arg_1D51E_3, arg_1D51E_4, arg_1D51E_5, arg_1D51E_6, arg_1D51E_7, arg_1D51E_8, arg_1D51E_9, arg_1D51E_10, arg_1D51E_11, arg_1D51E_12, arg_1D51E_13, arg_1D51E_14, array));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 1, 30, 35, 360, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             }));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_Halloweed)
         {
             xARC.dixAnimations.Add(6, new Animation(6, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Idle/Right"), new Vector2(47f, 52f), 4, 10, 83, 63, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Idle/Right"), new Vector2(39f, 52f), 4, 10, 83, 63, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
             Dictionary<ushort, Animation> arg_1D8AE_0 = xARC.dixAnimations;
             ushort arg_1D8AE_1 = 0;
             ushort arg_1D8A9_0 = 0;
             byte arg_1D8A9_1 = 1;
             Texture2D arg_1D8A9_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Appear/Right");
             Vector2 arg_1D8A9_3 = new Vector2(44f, 51f);
             int arg_1D8A9_4 = 4;
             int arg_1D8A9_5 = 11;
             int arg_1D8A9_6 = 82;
             int arg_1D8A9_7 = 64;
             int arg_1D8A9_8 = 0;
             int arg_1D8A9_9 = 0;
             int arg_1D8A9_10 = 19;
             Animation.LoopSettings arg_1D8A9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1D8A9_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1D8A9_13 = false;
             bool arg_1D8A9_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 6f
             }));
             AnimationInstruction[] arg_1D8A4_0 = array;
             int arg_1D8A4_1 = 1;
             AnimInsCriteria arg_1D89F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_1D89A_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1D89A_1 = "Halloweed_Appear";
             float[] array2 = new float[1];
             arg_1D8A4_0[arg_1D8A4_1] = new AnimationInstruction(arg_1D89F_0, new AnimInsEvent(arg_1D89A_0, arg_1D89A_1, array2));
             arg_1D8AE_0.Add(arg_1D8AE_1, new Animation(arg_1D8A9_0, arg_1D8A9_1, arg_1D8A9_2, arg_1D8A9_3, arg_1D8A9_4, arg_1D8A9_5, arg_1D8A9_6, arg_1D8A9_7, arg_1D8A9_8, arg_1D8A9_9, arg_1D8A9_10, arg_1D8A9_11, arg_1D8A9_12, arg_1D8A9_13, arg_1D8A9_14, array));
             Dictionary<ushort, Animation> arg_1D966_0 = xARC.dixAnimations;
             ushort arg_1D966_1 = 1;
             ushort arg_1D961_0 = 1;
             byte arg_1D961_1 = 3;
             Texture2D arg_1D961_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Appear/Right");
             Vector2 arg_1D961_3 = new Vector2(41f, 51f);
             int arg_1D961_4 = 4;
             int arg_1D961_5 = 11;
             int arg_1D961_6 = 82;
             int arg_1D961_7 = 64;
             int arg_1D961_8 = 0;
             int arg_1D961_9 = 0;
             int arg_1D961_10 = 19;
             Animation.LoopSettings arg_1D961_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1D961_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1D961_13 = false;
             bool arg_1D961_14 = false;
             array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             AnimationInstruction[] arg_1D95C_0 = array;
             int arg_1D95C_1 = 1;
             AnimInsCriteria arg_1D957_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_1D952_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1D952_1 = "Halloweed_Appear";
             array2 = new float[1];
             arg_1D95C_0[arg_1D95C_1] = new AnimationInstruction(arg_1D957_0, new AnimInsEvent(arg_1D952_0, arg_1D952_1, array2));
             arg_1D966_0.Add(arg_1D966_1, new Animation(arg_1D961_0, arg_1D961_1, arg_1D961_2, arg_1D961_3, arg_1D961_4, arg_1D961_5, arg_1D961_6, arg_1D961_7, arg_1D961_8, arg_1D961_9, arg_1D961_10, arg_1D961_11, arg_1D961_12, arg_1D961_13, arg_1D961_14, array));
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_Jumpkin)
         {
             Dictionary<ushort, Animation> arg_1DAAF_0 = xARC.dixAnimations;
             ushort arg_1DAAF_1 = 0;
             ushort arg_1DAAA_0 = 0;
             byte arg_1DAAA_1 = 0;
             Texture2D arg_1DAAA_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Up");
             Vector2 arg_1DAAA_3 = new Vector2(13f, 28f);
             int arg_1DAAA_4 = 5;
             int arg_1DAAA_5 = 8;
             int arg_1DAAA_6 = 27;
             int arg_1DAAA_7 = 32;
             int arg_1DAAA_8 = 0;
             int arg_1DAAA_9 = 0;
             int arg_1DAAA_10 = 8;
             Animation.LoopSettings arg_1DAAA_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_1DAAA_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1DAAA_13 = true;
             bool arg_1DAAA_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1DA11_0 = array;
             int arg_1DA11_1 = 0;
             AnimInsCriteria arg_1DA0C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_1DA07_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1DA07_1 = "Pumpkin_Jump";
             float[] array2 = new float[1];
             arg_1DA11_0[arg_1DA11_1] = new AnimationInstruction(arg_1DA0C_0, new AnimInsEvent(arg_1DA07_0, arg_1DA07_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 60f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.02f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 110f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
             {
                 1f
             }));
             arg_1DAAF_0.Add(arg_1DAAF_1, new Animation(arg_1DAAA_0, arg_1DAAA_1, arg_1DAAA_2, arg_1DAAA_3, arg_1DAAA_4, arg_1DAAA_5, arg_1DAAA_6, arg_1DAAA_7, arg_1DAAA_8, arg_1DAAA_9, arg_1DAAA_10, arg_1DAAA_11, arg_1DAAA_12, arg_1DAAA_13, arg_1DAAA_14, array));
             Dictionary<ushort, Animation> arg_1DBD6_0 = xARC.dixAnimations;
             ushort arg_1DBD6_1 = 1;
             ushort arg_1DBD1_0 = 1;
             byte arg_1DBD1_1 = 1;
             Texture2D arg_1DBD1_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Right");
             Vector2 arg_1DBD1_3 = new Vector2(13f, 30f);
             int arg_1DBD1_4 = 5;
             int arg_1DBD1_5 = 8;
             int arg_1DBD1_6 = 27;
             int arg_1DBD1_7 = 34;
             int arg_1DBD1_8 = 0;
             int arg_1DBD1_9 = 0;
             int arg_1DBD1_10 = 8;
             Animation.LoopSettings arg_1DBD1_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_1DBD1_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1DBD1_13 = true;
             bool arg_1DBD1_14 = true;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1DB38_0 = array;
             int arg_1DB38_1 = 0;
             AnimInsCriteria arg_1DB33_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_1DB2E_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1DB2E_1 = "Pumpkin_Jump";
             array2 = new float[1];
             arg_1DB38_0[arg_1DB38_1] = new AnimationInstruction(arg_1DB33_0, new AnimInsEvent(arg_1DB2E_0, arg_1DB2E_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 60f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.02f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 110f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
             {
                 1f
             }));
             arg_1DBD6_0.Add(arg_1DBD6_1, new Animation(arg_1DBD1_0, arg_1DBD1_1, arg_1DBD1_2, arg_1DBD1_3, arg_1DBD1_4, arg_1DBD1_5, arg_1DBD1_6, arg_1DBD1_7, arg_1DBD1_8, arg_1DBD1_9, arg_1DBD1_10, arg_1DBD1_11, arg_1DBD1_12, arg_1DBD1_13, arg_1DBD1_14, array));
             Dictionary<ushort, Animation> arg_1DCFD_0 = xARC.dixAnimations;
             ushort arg_1DCFD_1 = 2;
             ushort arg_1DCF8_0 = 2;
             byte arg_1DCF8_1 = 2;
             Texture2D arg_1DCF8_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Down");
             Vector2 arg_1DCF8_3 = new Vector2(13f, 28f);
             int arg_1DCF8_4 = 5;
             int arg_1DCF8_5 = 8;
             int arg_1DCF8_6 = 27;
             int arg_1DCF8_7 = 32;
             int arg_1DCF8_8 = 0;
             int arg_1DCF8_9 = 0;
             int arg_1DCF8_10 = 8;
             Animation.LoopSettings arg_1DCF8_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_1DCF8_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1DCF8_13 = true;
             bool arg_1DCF8_14 = true;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1DC5F_0 = array;
             int arg_1DC5F_1 = 0;
             AnimInsCriteria arg_1DC5A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_1DC55_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1DC55_1 = "Pumpkin_Jump";
             array2 = new float[1];
             arg_1DC5F_0[arg_1DC5F_1] = new AnimationInstruction(arg_1DC5A_0, new AnimInsEvent(arg_1DC55_0, arg_1DC55_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 60f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.02f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 110f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
             {
                 1f
             }));
             arg_1DCFD_0.Add(arg_1DCFD_1, new Animation(arg_1DCF8_0, arg_1DCF8_1, arg_1DCF8_2, arg_1DCF8_3, arg_1DCF8_4, arg_1DCF8_5, arg_1DCF8_6, arg_1DCF8_7, arg_1DCF8_8, arg_1DCF8_9, arg_1DCF8_10, arg_1DCF8_11, arg_1DCF8_12, arg_1DCF8_13, arg_1DCF8_14, array));
             Dictionary<ushort, Animation> arg_1DE24_0 = xARC.dixAnimations;
             ushort arg_1DE24_1 = 3;
             ushort arg_1DE1F_0 = 3;
             byte arg_1DE1F_1 = 3;
             Texture2D arg_1DE1F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Right");
             Vector2 arg_1DE1F_3 = new Vector2(14f, 30f);
             int arg_1DE1F_4 = 5;
             int arg_1DE1F_5 = 8;
             int arg_1DE1F_6 = 27;
             int arg_1DE1F_7 = 34;
             int arg_1DE1F_8 = 0;
             int arg_1DE1F_9 = 0;
             int arg_1DE1F_10 = 8;
             Animation.LoopSettings arg_1DE1F_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_1DE1F_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1DE1F_13 = true;
             bool arg_1DE1F_14 = true;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1DD86_0 = array;
             int arg_1DD86_1 = 0;
             AnimInsCriteria arg_1DD81_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_1DD7C_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1DD7C_1 = "Pumpkin_Jump";
             array2 = new float[1];
             arg_1DD86_0[arg_1DD86_1] = new AnimationInstruction(arg_1DD81_0, new AnimInsEvent(arg_1DD7C_0, arg_1DD7C_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 60f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.02f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 110f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
             {
                 1f
             }));
             arg_1DE24_0.Add(arg_1DE24_1, new Animation(arg_1DE1F_0, arg_1DE1F_1, arg_1DE1F_2, arg_1DE1F_3, arg_1DE1F_4, arg_1DE1F_5, arg_1DE1F_6, arg_1DE1F_7, arg_1DE1F_8, arg_1DE1F_9, arg_1DE1F_10, arg_1DE1F_11, arg_1DE1F_12, arg_1DE1F_13, arg_1DE1F_14, array));
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_LaughingDad)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>(NPC_PATH + "StartingTon/Papa/Laugh/Down"), new Vector2(9f, 32f), 8, 17, 18, 34, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             }));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_FakeHealthOrb)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, GlobalContent.Load<Texture2D>("Items/Orbs/Health/Idle"), new Vector2(7f, 19f), 4, 20, 14, 20, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     120f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     170f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             }));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_LivingPuzzleBlock_ShockwaveBlast)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Monster/Special/Block/Blast"), new Vector2(10f, 39f), 4, 4, 21, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathBody)
         {
             Animation anim237 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Body"), new Vector2(9f, 26f), 5, 7, 19, 32, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim237.iID, anim237);
             ushort arg_1E224_0 = 1;
             byte arg_1E224_1 = 0;
             Texture2D arg_1E224_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Body");
             Vector2 arg_1E224_3 = new Vector2(9f, 26f);
             int arg_1E224_4 = 5;
             int arg_1E224_5 = 3;
             int arg_1E224_6 = 19;
             int arg_1E224_7 = 32;
             int arg_1E224_8 = 95;
             int arg_1E224_9 = 0;
             int arg_1E224_10 = 22;
             Animation.LoopSettings arg_1E224_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E224_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E224_13 = false;
             bool arg_1E224_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1E18B_0 = array;
             int arg_1E18B_1 = 0;
             AnimInsCriteria arg_1E186_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E181_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1E18B_0[arg_1E18B_1] = new AnimationInstruction(arg_1E186_0, new AnimInsEvent(arg_1E181_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E21F_0 = array;
             int arg_1E21F_1 = 2;
             AnimInsCriteria arg_1E21A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E215_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E21F_0[arg_1E21F_1] = new AnimationInstruction(arg_1E21A_0, new AnimInsEvent(arg_1E215_0, array2));
             anim237 = new Animation(arg_1E224_0, arg_1E224_1, arg_1E224_2, arg_1E224_3, arg_1E224_4, arg_1E224_5, arg_1E224_6, arg_1E224_7, arg_1E224_8, arg_1E224_9, arg_1E224_10, arg_1E224_11, arg_1E224_12, arg_1E224_13, arg_1E224_14, array);
             xARC.dixAnimations.Add(anim237.iID, anim237);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathHead)
         {
             Animation anim238 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Head"), new Vector2(11f, 47f), 5, 8, 23, 52, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim238.iID, anim238);
             ushort arg_1E3FE_0 = 1;
             byte arg_1E3FE_1 = 0;
             Texture2D arg_1E3FE_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Head");
             Vector2 arg_1E3FE_3 = new Vector2(11f, 47f);
             int arg_1E3FE_4 = 4;
             int arg_1E3FE_5 = 4;
             int arg_1E3FE_6 = 23;
             int arg_1E3FE_7 = 52;
             int arg_1E3FE_8 = 184;
             int arg_1E3FE_9 = 0;
             int arg_1E3FE_10 = 22;
             Animation.LoopSettings arg_1E3FE_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E3FE_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E3FE_13 = false;
             bool arg_1E3FE_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1E365_0 = array;
             int arg_1E365_1 = 0;
             AnimInsCriteria arg_1E360_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1E35B_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1E365_0[arg_1E365_1] = new AnimationInstruction(arg_1E360_0, new AnimInsEvent(arg_1E35B_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E3F9_0 = array;
             int arg_1E3F9_1 = 2;
             AnimInsCriteria arg_1E3F4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1E3EF_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E3F9_0[arg_1E3F9_1] = new AnimationInstruction(arg_1E3F4_0, new AnimInsEvent(arg_1E3EF_0, array2));
             anim238 = new Animation(arg_1E3FE_0, arg_1E3FE_1, arg_1E3FE_2, arg_1E3FE_3, arg_1E3FE_4, arg_1E3FE_5, arg_1E3FE_6, arg_1E3FE_7, arg_1E3FE_8, arg_1E3FE_9, arg_1E3FE_10, arg_1E3FE_11, arg_1E3FE_12, arg_1E3FE_13, arg_1E3FE_14, array);
             xARC.dixAnimations.Add(anim238.iID, anim238);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathLeftPad)
         {
             Animation anim239 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/LeftPad"), new Vector2(7f, 26f), 4, 6, 14, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim239.iID, anim239);
             ushort arg_1E5D5_0 = 1;
             byte arg_1E5D5_1 = 0;
             Texture2D arg_1E5D5_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/LeftPad");
             Vector2 arg_1E5D5_3 = new Vector2(7f, 26f);
             int arg_1E5D5_4 = 5;
             int arg_1E5D5_5 = 3;
             int arg_1E5D5_6 = 14;
             int arg_1E5D5_7 = 29;
             int arg_1E5D5_8 = 84;
             int arg_1E5D5_9 = 0;
             int arg_1E5D5_10 = 22;
             Animation.LoopSettings arg_1E5D5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E5D5_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E5D5_13 = false;
             bool arg_1E5D5_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1E53C_0 = array;
             int arg_1E53C_1 = 0;
             AnimInsCriteria arg_1E537_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E532_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1E53C_0[arg_1E53C_1] = new AnimationInstruction(arg_1E537_0, new AnimInsEvent(arg_1E532_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E5D0_0 = array;
             int arg_1E5D0_1 = 2;
             AnimInsCriteria arg_1E5CB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E5C6_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E5D0_0[arg_1E5D0_1] = new AnimationInstruction(arg_1E5CB_0, new AnimInsEvent(arg_1E5C6_0, array2));
             anim239 = new Animation(arg_1E5D5_0, arg_1E5D5_1, arg_1E5D5_2, arg_1E5D5_3, arg_1E5D5_4, arg_1E5D5_5, arg_1E5D5_6, arg_1E5D5_7, arg_1E5D5_8, arg_1E5D5_9, arg_1E5D5_10, arg_1E5D5_11, arg_1E5D5_12, arg_1E5D5_13, arg_1E5D5_14, array);
             xARC.dixAnimations.Add(anim239.iID, anim239);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathRightPad)
         {
             Animation anim240 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/RightPad"), new Vector2(7f, 23f), 4, 5, 14, 26, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim240.iID, anim240);
             ushort arg_1E7AC_0 = 1;
             byte arg_1E7AC_1 = 0;
             Texture2D arg_1E7AC_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/RightPad");
             Vector2 arg_1E7AC_3 = new Vector2(7f, 23f);
             int arg_1E7AC_4 = 5;
             int arg_1E7AC_5 = 3;
             int arg_1E7AC_6 = 14;
             int arg_1E7AC_7 = 26;
             int arg_1E7AC_8 = 70;
             int arg_1E7AC_9 = 0;
             int arg_1E7AC_10 = 22;
             Animation.LoopSettings arg_1E7AC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E7AC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E7AC_13 = false;
             bool arg_1E7AC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1E713_0 = array;
             int arg_1E713_1 = 0;
             AnimInsCriteria arg_1E70E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E709_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1E713_0[arg_1E713_1] = new AnimationInstruction(arg_1E70E_0, new AnimInsEvent(arg_1E709_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E7A7_0 = array;
             int arg_1E7A7_1 = 2;
             AnimInsCriteria arg_1E7A2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E79D_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E7A7_0[arg_1E7A7_1] = new AnimationInstruction(arg_1E7A2_0, new AnimInsEvent(arg_1E79D_0, array2));
             anim240 = new Animation(arg_1E7AC_0, arg_1E7AC_1, arg_1E7AC_2, arg_1E7AC_3, arg_1E7AC_4, arg_1E7AC_5, arg_1E7AC_6, arg_1E7AC_7, arg_1E7AC_8, arg_1E7AC_9, arg_1E7AC_10, arg_1E7AC_11, arg_1E7AC_12, arg_1E7AC_13, arg_1E7AC_14, array);
             xARC.dixAnimations.Add(anim240.iID, anim240);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathShield)
         {
             Animation anim241 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Shield"), new Vector2(11f, 26f), 4, 6, 21, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim241.iID, anim241);
             ushort arg_1E983_0 = 1;
             byte arg_1E983_1 = 0;
             Texture2D arg_1E983_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Shield");
             Vector2 arg_1E983_3 = new Vector2(11f, 26f);
             int arg_1E983_4 = 5;
             int arg_1E983_5 = 3;
             int arg_1E983_6 = 21;
             int arg_1E983_7 = 29;
             int arg_1E983_8 = 126;
             int arg_1E983_9 = 0;
             int arg_1E983_10 = 22;
             Animation.LoopSettings arg_1E983_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E983_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E983_13 = false;
             bool arg_1E983_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1E8EA_0 = array;
             int arg_1E8EA_1 = 0;
             AnimInsCriteria arg_1E8E5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E8E0_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1E8EA_0[arg_1E8EA_1] = new AnimationInstruction(arg_1E8E5_0, new AnimInsEvent(arg_1E8E0_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E97E_0 = array;
             int arg_1E97E_1 = 2;
             AnimInsCriteria arg_1E979_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E974_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E97E_0[arg_1E97E_1] = new AnimationInstruction(arg_1E979_0, new AnimInsEvent(arg_1E974_0, array2));
             anim241 = new Animation(arg_1E983_0, arg_1E983_1, arg_1E983_2, arg_1E983_3, arg_1E983_4, arg_1E983_5, arg_1E983_6, arg_1E983_7, arg_1E983_8, arg_1E983_9, arg_1E983_10, arg_1E983_11, arg_1E983_12, arg_1E983_13, arg_1E983_14, array);
             xARC.dixAnimations.Add(anim241.iID, anim241);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathWeapon)
         {
             Animation anim242 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Weapon"), new Vector2(14f, 41f), 4, 6, 27, 47, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim242.iID, anim242);
             ushort arg_1EB5D_0 = 1;
             byte arg_1EB5D_1 = 0;
             Texture2D arg_1EB5D_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Weapon");
             Vector2 arg_1EB5D_3 = new Vector2(14f, 41f);
             int arg_1EB5D_4 = 5;
             int arg_1EB5D_5 = 3;
             int arg_1EB5D_6 = 27;
             int arg_1EB5D_7 = 47;
             int arg_1EB5D_8 = 162;
             int arg_1EB5D_9 = 0;
             int arg_1EB5D_10 = 22;
             Animation.LoopSettings arg_1EB5D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1EB5D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1EB5D_13 = false;
             bool arg_1EB5D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1EAC4_0 = array;
             int arg_1EAC4_1 = 0;
             AnimInsCriteria arg_1EABF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1EABA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1EAC4_0[arg_1EAC4_1] = new AnimationInstruction(arg_1EABF_0, new AnimInsEvent(arg_1EABA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1EB58_0 = array;
             int arg_1EB58_1 = 2;
             AnimInsCriteria arg_1EB53_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1EB4E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1EB58_0[arg_1EB58_1] = new AnimationInstruction(arg_1EB53_0, new AnimInsEvent(arg_1EB4E_0, array2));
             anim242 = new Animation(arg_1EB5D_0, arg_1EB5D_1, arg_1EB5D_2, arg_1EB5D_3, arg_1EB5D_4, arg_1EB5D_5, arg_1EB5D_6, arg_1EB5D_7, arg_1EB5D_8, arg_1EB5D_9, arg_1EB5D_10, arg_1EB5D_11, arg_1EB5D_12, arg_1EB5D_13, arg_1EB5D_14, array);
             xARC.dixAnimations.Add(anim242.iID, anim242);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathBody)
         {
             Animation anim243 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Body"), new Vector2(9f, 26f), 5, 7, 19, 32, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim243.iID, anim243);
             ushort arg_1ED34_0 = 1;
             byte arg_1ED34_1 = 0;
             Texture2D arg_1ED34_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Body");
             Vector2 arg_1ED34_3 = new Vector2(9f, 26f);
             int arg_1ED34_4 = 5;
             int arg_1ED34_5 = 3;
             int arg_1ED34_6 = 19;
             int arg_1ED34_7 = 32;
             int arg_1ED34_8 = 95;
             int arg_1ED34_9 = 0;
             int arg_1ED34_10 = 22;
             Animation.LoopSettings arg_1ED34_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1ED34_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1ED34_13 = false;
             bool arg_1ED34_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1EC9B_0 = array;
             int arg_1EC9B_1 = 0;
             AnimInsCriteria arg_1EC96_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1EC91_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1EC9B_0[arg_1EC9B_1] = new AnimationInstruction(arg_1EC96_0, new AnimInsEvent(arg_1EC91_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1ED2F_0 = array;
             int arg_1ED2F_1 = 2;
             AnimInsCriteria arg_1ED2A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1ED25_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1ED2F_0[arg_1ED2F_1] = new AnimationInstruction(arg_1ED2A_0, new AnimInsEvent(arg_1ED25_0, array2));
             anim243 = new Animation(arg_1ED34_0, arg_1ED34_1, arg_1ED34_2, arg_1ED34_3, arg_1ED34_4, arg_1ED34_5, arg_1ED34_6, arg_1ED34_7, arg_1ED34_8, arg_1ED34_9, arg_1ED34_10, arg_1ED34_11, arg_1ED34_12, arg_1ED34_13, arg_1ED34_14, array);
             xARC.dixAnimations.Add(anim243.iID, anim243);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathHead)
         {
             Animation anim244 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Head"), new Vector2(11f, 47f), 5, 8, 23, 52, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim244.iID, anim244);
             ushort arg_1EF0E_0 = 1;
             byte arg_1EF0E_1 = 0;
             Texture2D arg_1EF0E_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Head");
             Vector2 arg_1EF0E_3 = new Vector2(11f, 47f);
             int arg_1EF0E_4 = 4;
             int arg_1EF0E_5 = 4;
             int arg_1EF0E_6 = 23;
             int arg_1EF0E_7 = 52;
             int arg_1EF0E_8 = 184;
             int arg_1EF0E_9 = 0;
             int arg_1EF0E_10 = 22;
             Animation.LoopSettings arg_1EF0E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1EF0E_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1EF0E_13 = false;
             bool arg_1EF0E_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1EE75_0 = array;
             int arg_1EE75_1 = 0;
             AnimInsCriteria arg_1EE70_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1EE6B_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1EE75_0[arg_1EE75_1] = new AnimationInstruction(arg_1EE70_0, new AnimInsEvent(arg_1EE6B_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1EF09_0 = array;
             int arg_1EF09_1 = 2;
             AnimInsCriteria arg_1EF04_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1EEFF_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1EF09_0[arg_1EF09_1] = new AnimationInstruction(arg_1EF04_0, new AnimInsEvent(arg_1EEFF_0, array2));
             anim244 = new Animation(arg_1EF0E_0, arg_1EF0E_1, arg_1EF0E_2, arg_1EF0E_3, arg_1EF0E_4, arg_1EF0E_5, arg_1EF0E_6, arg_1EF0E_7, arg_1EF0E_8, arg_1EF0E_9, arg_1EF0E_10, arg_1EF0E_11, arg_1EF0E_12, arg_1EF0E_13, arg_1EF0E_14, array);
             xARC.dixAnimations.Add(anim244.iID, anim244);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathLeftPad)
         {
             Animation anim245 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/LeftPad"), new Vector2(7f, 26f), 4, 6, 14, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim245.iID, anim245);
             ushort arg_1F0E5_0 = 1;
             byte arg_1F0E5_1 = 0;
             Texture2D arg_1F0E5_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/LeftPad");
             Vector2 arg_1F0E5_3 = new Vector2(7f, 26f);
             int arg_1F0E5_4 = 5;
             int arg_1F0E5_5 = 3;
             int arg_1F0E5_6 = 14;
             int arg_1F0E5_7 = 29;
             int arg_1F0E5_8 = 84;
             int arg_1F0E5_9 = 0;
             int arg_1F0E5_10 = 22;
             Animation.LoopSettings arg_1F0E5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1F0E5_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1F0E5_13 = false;
             bool arg_1F0E5_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F04C_0 = array;
             int arg_1F04C_1 = 0;
             AnimInsCriteria arg_1F047_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F042_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F04C_0[arg_1F04C_1] = new AnimationInstruction(arg_1F047_0, new AnimInsEvent(arg_1F042_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1F0E0_0 = array;
             int arg_1F0E0_1 = 2;
             AnimInsCriteria arg_1F0DB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F0D6_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1F0E0_0[arg_1F0E0_1] = new AnimationInstruction(arg_1F0DB_0, new AnimInsEvent(arg_1F0D6_0, array2));
             anim245 = new Animation(arg_1F0E5_0, arg_1F0E5_1, arg_1F0E5_2, arg_1F0E5_3, arg_1F0E5_4, arg_1F0E5_5, arg_1F0E5_6, arg_1F0E5_7, arg_1F0E5_8, arg_1F0E5_9, arg_1F0E5_10, arg_1F0E5_11, arg_1F0E5_12, arg_1F0E5_13, arg_1F0E5_14, array);
             xARC.dixAnimations.Add(anim245.iID, anim245);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathRightPad)
         {
             Animation anim246 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/RightPad"), new Vector2(7f, 23f), 4, 5, 14, 26, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim246.iID, anim246);
             ushort arg_1F2BC_0 = 1;
             byte arg_1F2BC_1 = 0;
             Texture2D arg_1F2BC_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/RightPad");
             Vector2 arg_1F2BC_3 = new Vector2(7f, 23f);
             int arg_1F2BC_4 = 5;
             int arg_1F2BC_5 = 3;
             int arg_1F2BC_6 = 14;
             int arg_1F2BC_7 = 26;
             int arg_1F2BC_8 = 70;
             int arg_1F2BC_9 = 0;
             int arg_1F2BC_10 = 22;
             Animation.LoopSettings arg_1F2BC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1F2BC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1F2BC_13 = false;
             bool arg_1F2BC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F223_0 = array;
             int arg_1F223_1 = 0;
             AnimInsCriteria arg_1F21E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F219_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F223_0[arg_1F223_1] = new AnimationInstruction(arg_1F21E_0, new AnimInsEvent(arg_1F219_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1F2B7_0 = array;
             int arg_1F2B7_1 = 2;
             AnimInsCriteria arg_1F2B2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F2AD_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1F2B7_0[arg_1F2B7_1] = new AnimationInstruction(arg_1F2B2_0, new AnimInsEvent(arg_1F2AD_0, array2));
             anim246 = new Animation(arg_1F2BC_0, arg_1F2BC_1, arg_1F2BC_2, arg_1F2BC_3, arg_1F2BC_4, arg_1F2BC_5, arg_1F2BC_6, arg_1F2BC_7, arg_1F2BC_8, arg_1F2BC_9, arg_1F2BC_10, arg_1F2BC_11, arg_1F2BC_12, arg_1F2BC_13, arg_1F2BC_14, array);
             xARC.dixAnimations.Add(anim246.iID, anim246);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathShield)
         {
             Animation anim247 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Shield"), new Vector2(11f, 26f), 4, 6, 21, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim247.iID, anim247);
             ushort arg_1F493_0 = 1;
             byte arg_1F493_1 = 0;
             Texture2D arg_1F493_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Shield");
             Vector2 arg_1F493_3 = new Vector2(11f, 26f);
             int arg_1F493_4 = 5;
             int arg_1F493_5 = 3;
             int arg_1F493_6 = 21;
             int arg_1F493_7 = 29;
             int arg_1F493_8 = 126;
             int arg_1F493_9 = 0;
             int arg_1F493_10 = 22;
             Animation.LoopSettings arg_1F493_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1F493_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1F493_13 = false;
             bool arg_1F493_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F3FA_0 = array;
             int arg_1F3FA_1 = 0;
             AnimInsCriteria arg_1F3F5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F3F0_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F3FA_0[arg_1F3FA_1] = new AnimationInstruction(arg_1F3F5_0, new AnimInsEvent(arg_1F3F0_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1F48E_0 = array;
             int arg_1F48E_1 = 2;
             AnimInsCriteria arg_1F489_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F484_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1F48E_0[arg_1F48E_1] = new AnimationInstruction(arg_1F489_0, new AnimInsEvent(arg_1F484_0, array2));
             anim247 = new Animation(arg_1F493_0, arg_1F493_1, arg_1F493_2, arg_1F493_3, arg_1F493_4, arg_1F493_5, arg_1F493_6, arg_1F493_7, arg_1F493_8, arg_1F493_9, arg_1F493_10, arg_1F493_11, arg_1F493_12, arg_1F493_13, arg_1F493_14, array);
             xARC.dixAnimations.Add(anim247.iID, anim247);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathWeapon)
         {
             Animation anim248 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Weapon"), new Vector2(24f, 52f), 4, 7, 41, 61, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim248.iID, anim248);
             ushort arg_1F66D_0 = 1;
             byte arg_1F66D_1 = 0;
             Texture2D arg_1F66D_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Weapon");
             Vector2 arg_1F66D_3 = new Vector2(24f, 52f);
             int arg_1F66D_4 = 5;
             int arg_1F66D_5 = 3;
             int arg_1F66D_6 = 41;
             int arg_1F66D_7 = 61;
             int arg_1F66D_8 = 287;
             int arg_1F66D_9 = 0;
             int arg_1F66D_10 = 22;
             Animation.LoopSettings arg_1F66D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1F66D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1F66D_13 = false;
             bool arg_1F66D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F5D4_0 = array;
             int arg_1F5D4_1 = 0;
             AnimInsCriteria arg_1F5CF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F5CA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F5D4_0[arg_1F5D4_1] = new AnimationInstruction(arg_1F5CF_0, new AnimInsEvent(arg_1F5CA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1F668_0 = array;
             int arg_1F668_1 = 2;
             AnimInsCriteria arg_1F663_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F65E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1F668_0[arg_1F668_1] = new AnimationInstruction(arg_1F663_0, new AnimInsEvent(arg_1F65E_0, array2));
             anim248 = new Animation(arg_1F66D_0, arg_1F66D_1, arg_1F66D_2, arg_1F66D_3, arg_1F66D_4, arg_1F66D_5, arg_1F66D_6, arg_1F66D_7, arg_1F66D_8, arg_1F66D_9, arg_1F66D_10, arg_1F66D_11, arg_1F66D_12, arg_1F66D_13, arg_1F66D_14, array);
             xARC.dixAnimations.Add(anim248.iID, anim248);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathBody)
         {
             Animation anim249 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Body"), new Vector2(9f, 26f), 5, 7, 19, 32, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim249.iID, anim249);
             ushort arg_1F844_0 = 1;
             byte arg_1F844_1 = 0;
             Texture2D arg_1F844_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Body");
             Vector2 arg_1F844_3 = new Vector2(9f, 26f);
             int arg_1F844_4 = 5;
             int arg_1F844_5 = 3;
             int arg_1F844_6 = 19;
             int arg_1F844_7 = 32;
             int arg_1F844_8 = 95;
             int arg_1F844_9 = 0;
             int arg_1F844_10 = 22;
             Animation.LoopSettings arg_1F844_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1F844_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1F844_13 = false;
             bool arg_1F844_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F7AB_0 = array;
             int arg_1F7AB_1 = 0;
             AnimInsCriteria arg_1F7A6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F7A1_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F7AB_0[arg_1F7AB_1] = new AnimationInstruction(arg_1F7A6_0, new AnimInsEvent(arg_1F7A1_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1F83F_0 = array;
             int arg_1F83F_1 = 2;
             AnimInsCriteria arg_1F83A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F835_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1F83F_0[arg_1F83F_1] = new AnimationInstruction(arg_1F83A_0, new AnimInsEvent(arg_1F835_0, array2));
             anim249 = new Animation(arg_1F844_0, arg_1F844_1, arg_1F844_2, arg_1F844_3, arg_1F844_4, arg_1F844_5, arg_1F844_6, arg_1F844_7, arg_1F844_8, arg_1F844_9, arg_1F844_10, arg_1F844_11, arg_1F844_12, arg_1F844_13, arg_1F844_14, array);
             xARC.dixAnimations.Add(anim249.iID, anim249);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathHead)
         {
             Animation anim250 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Head"), new Vector2(11f, 47f), 5, 8, 23, 52, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim250.iID, anim250);
             ushort arg_1FA1E_0 = 1;
             byte arg_1FA1E_1 = 0;
             Texture2D arg_1FA1E_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Head");
             Vector2 arg_1FA1E_3 = new Vector2(11f, 47f);
             int arg_1FA1E_4 = 4;
             int arg_1FA1E_5 = 4;
             int arg_1FA1E_6 = 23;
             int arg_1FA1E_7 = 52;
             int arg_1FA1E_8 = 184;
             int arg_1FA1E_9 = 0;
             int arg_1FA1E_10 = 22;
             Animation.LoopSettings arg_1FA1E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1FA1E_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1FA1E_13 = false;
             bool arg_1FA1E_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F985_0 = array;
             int arg_1F985_1 = 0;
             AnimInsCriteria arg_1F980_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1F97B_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F985_0[arg_1F985_1] = new AnimationInstruction(arg_1F980_0, new AnimInsEvent(arg_1F97B_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1FA19_0 = array;
             int arg_1FA19_1 = 2;
             AnimInsCriteria arg_1FA14_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1FA0F_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1FA19_0[arg_1FA19_1] = new AnimationInstruction(arg_1FA14_0, new AnimInsEvent(arg_1FA0F_0, array2));
             anim250 = new Animation(arg_1FA1E_0, arg_1FA1E_1, arg_1FA1E_2, arg_1FA1E_3, arg_1FA1E_4, arg_1FA1E_5, arg_1FA1E_6, arg_1FA1E_7, arg_1FA1E_8, arg_1FA1E_9, arg_1FA1E_10, arg_1FA1E_11, arg_1FA1E_12, arg_1FA1E_13, arg_1FA1E_14, array);
             xARC.dixAnimations.Add(anim250.iID, anim250);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathLeftPad)
         {
             Animation anim251 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/LeftPad"), new Vector2(7f, 26f), 4, 6, 14, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim251.iID, anim251);
             ushort arg_1FBF5_0 = 1;
             byte arg_1FBF5_1 = 0;
             Texture2D arg_1FBF5_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/LeftPad");
             Vector2 arg_1FBF5_3 = new Vector2(7f, 26f);
             int arg_1FBF5_4 = 5;
             int arg_1FBF5_5 = 3;
             int arg_1FBF5_6 = 14;
             int arg_1FBF5_7 = 29;
             int arg_1FBF5_8 = 84;
             int arg_1FBF5_9 = 0;
             int arg_1FBF5_10 = 22;
             Animation.LoopSettings arg_1FBF5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1FBF5_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1FBF5_13 = false;
             bool arg_1FBF5_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1FB5C_0 = array;
             int arg_1FB5C_1 = 0;
             AnimInsCriteria arg_1FB57_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FB52_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1FB5C_0[arg_1FB5C_1] = new AnimationInstruction(arg_1FB57_0, new AnimInsEvent(arg_1FB52_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1FBF0_0 = array;
             int arg_1FBF0_1 = 2;
             AnimInsCriteria arg_1FBEB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FBE6_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1FBF0_0[arg_1FBF0_1] = new AnimationInstruction(arg_1FBEB_0, new AnimInsEvent(arg_1FBE6_0, array2));
             anim251 = new Animation(arg_1FBF5_0, arg_1FBF5_1, arg_1FBF5_2, arg_1FBF5_3, arg_1FBF5_4, arg_1FBF5_5, arg_1FBF5_6, arg_1FBF5_7, arg_1FBF5_8, arg_1FBF5_9, arg_1FBF5_10, arg_1FBF5_11, arg_1FBF5_12, arg_1FBF5_13, arg_1FBF5_14, array);
             xARC.dixAnimations.Add(anim251.iID, anim251);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathRightPad)
         {
             Animation anim252 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/RightPad"), new Vector2(7f, 23f), 4, 5, 14, 26, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim252.iID, anim252);
             ushort arg_1FDCC_0 = 1;
             byte arg_1FDCC_1 = 0;
             Texture2D arg_1FDCC_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/RightPad");
             Vector2 arg_1FDCC_3 = new Vector2(7f, 23f);
             int arg_1FDCC_4 = 5;
             int arg_1FDCC_5 = 3;
             int arg_1FDCC_6 = 14;
             int arg_1FDCC_7 = 26;
             int arg_1FDCC_8 = 70;
             int arg_1FDCC_9 = 0;
             int arg_1FDCC_10 = 22;
             Animation.LoopSettings arg_1FDCC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1FDCC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1FDCC_13 = false;
             bool arg_1FDCC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1FD33_0 = array;
             int arg_1FD33_1 = 0;
             AnimInsCriteria arg_1FD2E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FD29_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1FD33_0[arg_1FD33_1] = new AnimationInstruction(arg_1FD2E_0, new AnimInsEvent(arg_1FD29_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1FDC7_0 = array;
             int arg_1FDC7_1 = 2;
             AnimInsCriteria arg_1FDC2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FDBD_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1FDC7_0[arg_1FDC7_1] = new AnimationInstruction(arg_1FDC2_0, new AnimInsEvent(arg_1FDBD_0, array2));
             anim252 = new Animation(arg_1FDCC_0, arg_1FDCC_1, arg_1FDCC_2, arg_1FDCC_3, arg_1FDCC_4, arg_1FDCC_5, arg_1FDCC_6, arg_1FDCC_7, arg_1FDCC_8, arg_1FDCC_9, arg_1FDCC_10, arg_1FDCC_11, arg_1FDCC_12, arg_1FDCC_13, arg_1FDCC_14, array);
             xARC.dixAnimations.Add(anim252.iID, anim252);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathShield)
         {
             Animation anim253 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Shield"), new Vector2(11f, 26f), 4, 6, 21, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim253.iID, anim253);
             ushort arg_1FFA3_0 = 1;
             byte arg_1FFA3_1 = 0;
             Texture2D arg_1FFA3_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Shield");
             Vector2 arg_1FFA3_3 = new Vector2(11f, 26f);
             int arg_1FFA3_4 = 5;
             int arg_1FFA3_5 = 3;
             int arg_1FFA3_6 = 21;
             int arg_1FFA3_7 = 29;
             int arg_1FFA3_8 = 126;
             int arg_1FFA3_9 = 0;
             int arg_1FFA3_10 = 22;
             Animation.LoopSettings arg_1FFA3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1FFA3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1FFA3_13 = false;
             bool arg_1FFA3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1FF0A_0 = array;
             int arg_1FF0A_1 = 0;
             AnimInsCriteria arg_1FF05_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FF00_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1FF0A_0[arg_1FF0A_1] = new AnimationInstruction(arg_1FF05_0, new AnimInsEvent(arg_1FF00_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1FF9E_0 = array;
             int arg_1FF9E_1 = 2;
             AnimInsCriteria arg_1FF99_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FF94_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1FF9E_0[arg_1FF9E_1] = new AnimationInstruction(arg_1FF99_0, new AnimInsEvent(arg_1FF94_0, array2));
             anim253 = new Animation(arg_1FFA3_0, arg_1FFA3_1, arg_1FFA3_2, arg_1FFA3_3, arg_1FFA3_4, arg_1FFA3_5, arg_1FFA3_6, arg_1FFA3_7, arg_1FFA3_8, arg_1FFA3_9, arg_1FFA3_10, arg_1FFA3_11, arg_1FFA3_12, arg_1FFA3_13, arg_1FFA3_14, array);
             xARC.dixAnimations.Add(anim253.iID, anim253);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathWeapon)
         {
             Animation anim254 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Weapon"), new Vector2(14f, 41f), 4, 6, 27, 47, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim254.iID, anim254);
             ushort arg_2017D_0 = 1;
             byte arg_2017D_1 = 0;
             Texture2D arg_2017D_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Weapon");
             Vector2 arg_2017D_3 = new Vector2(14f, 41f);
             int arg_2017D_4 = 5;
             int arg_2017D_5 = 3;
             int arg_2017D_6 = 27;
             int arg_2017D_7 = 47;
             int arg_2017D_8 = 162;
             int arg_2017D_9 = 0;
             int arg_2017D_10 = 22;
             Animation.LoopSettings arg_2017D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2017D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2017D_13 = false;
             bool arg_2017D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_200E4_0 = array;
             int arg_200E4_1 = 0;
             AnimInsCriteria arg_200DF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_200DA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_200E4_0[arg_200E4_1] = new AnimationInstruction(arg_200DF_0, new AnimInsEvent(arg_200DA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_20178_0 = array;
             int arg_20178_1 = 2;
             AnimInsCriteria arg_20173_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_2016E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_20178_0[arg_20178_1] = new AnimationInstruction(arg_20173_0, new AnimInsEvent(arg_2016E_0, array2));
             anim254 = new Animation(arg_2017D_0, arg_2017D_1, arg_2017D_2, arg_2017D_3, arg_2017D_4, arg_2017D_5, arg_2017D_6, arg_2017D_7, arg_2017D_8, arg_2017D_9, arg_2017D_10, arg_2017D_11, arg_2017D_12, arg_2017D_13, arg_2017D_14, array);
             xARC.dixAnimations.Add(anim254.iID, anim254);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnProjectile_BigParticle)
         {
             Animation anim255 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Wizard/Attack/Projectile/SmallCube"), new Vector2(6f, 7f), 3, 12, 14, 15, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim255.iID, anim255);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnProjectile_SmallParticle)
         {
             Animation anim256 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Wizard/Attack/Projectile/Particle"), new Vector2(5f, 5f), 4, 7, 10, 10, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim256.iID, anim256);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnProjectile_Destroyed)
         {
             Animation anim257 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Wizard/Attack/Projectile/Explosion"), new Vector2(19f, 21f), 4, 6, 39, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim257.iID, anim257);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerProjectile_BigParticle)
         {
             Animation anim258 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Wizard/Attack/Projectile/SmallCube"), new Vector2(6f, 7f), 3, 12, 14, 15, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim258.iID, anim258);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerProjectile_SmallParticle)
         {
             Animation anim259 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Wizard/Attack/Projectile/Particle"), new Vector2(5f, 5f), 4, 7, 10, 10, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim259.iID, anim259);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerProjectile_Destroyed)
         {
             Animation anim260 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Wizard/Attack/Projectile/Explosion"), new Vector2(19f, 21f), 4, 6, 39, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim260.iID, anim260);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterProjectile_BigParticle)
         {
             Animation anim261 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Wizard/Attack/Projectile/SmallCube"), new Vector2(6f, 7f), 3, 12, 14, 15, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim261.iID, anim261);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterProjectile_SmallParticle)
         {
             Animation anim262 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Wizard/Attack/Projectile/Particle"), new Vector2(5f, 5f), 4, 7, 10, 10, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim262.iID, anim262);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterProjectile_Destroyed)
         {
             Animation anim263 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Wizard/Attack/Projectile/Explosion"), new Vector2(19f, 21f), 4, 6, 39, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim263.iID, anim263);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SeasonKnight_ShieldBreak)
         {
             Animation anim264 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/ShieldBreak/Effect"), new Vector2(18f, 31f), 4, 6, 36, 38, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim264.iID, anim264);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Halloweed_UnburrowParticle)
         {
             int iRand2 = Program.GetTheGame().randomInVisual.Next(2);
             string DEFAULT_SPELL_PATH3 = "Sprites/Spells/";
             if (iRand2 == 0)
             {
                 Dictionary<ushort, Animation> arg_20664_0 = xARC.dixAnimations;
                 ushort arg_20664_1 = 0;
                 ushort arg_2065F_0 = 0;
                 byte arg_2065F_1 = 1;
                 Texture2D arg_2065F_2 = Content.Load<Texture2D>(DEFAULT_SPELL_PATH3 + "Earth Spike/Particle/Dirt1");
                 Vector2 arg_2065F_3 = new Vector2(5f, 17f);
                 int arg_2065F_4 = 4;
                 int arg_2065F_5 = 8;
                 int arg_2065F_6 = 9;
                 int arg_2065F_7 = 19;
                 int arg_2065F_8 = 0;
                 int arg_2065F_9 = 0;
                 int arg_2065F_10 = 11;
                 Animation.LoopSettings arg_2065F_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_2065F_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_2065F_13 = true;
                 bool arg_2065F_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_20610_0 = array;
                 int arg_20610_1 = 0;
                 AnimInsCriteria arg_2060B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_20606_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_20610_0[arg_20610_1] = new AnimationInstruction(arg_2060B_0, new AnimInsEvent(arg_20606_0, array2));
                 AnimationInstruction[] arg_2065A_0 = array;
                 int arg_2065A_1 = 1;
                 AnimInsCriteria arg_20655_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_20650_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_2065A_0[arg_2065A_1] = new AnimationInstruction(arg_20655_0, new AnimInsEvent(arg_20650_0, array2));
                 arg_20664_0[arg_20664_1] = new Animation(arg_2065F_0, arg_2065F_1, arg_2065F_2, arg_2065F_3, arg_2065F_4, arg_2065F_5, arg_2065F_6, arg_2065F_7, arg_2065F_8, arg_2065F_9, arg_2065F_10, arg_2065F_11, arg_2065F_12, arg_2065F_13, arg_2065F_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_2074F_0 = xARC.dixAnimations;
                 ushort arg_2074F_1 = 0;
                 ushort arg_2074A_0 = 0;
                 byte arg_2074A_1 = 1;
                 Texture2D arg_2074A_2 = Content.Load<Texture2D>(DEFAULT_SPELL_PATH3 + "Earth Spike/Particle/Dirt2");
                 Vector2 arg_2074A_3 = new Vector2(5f, 17f);
                 int arg_2074A_4 = 4;
                 int arg_2074A_5 = 8;
                 int arg_2074A_6 = 9;
                 int arg_2074A_7 = 19;
                 int arg_2074A_8 = 0;
                 int arg_2074A_9 = 0;
                 int arg_2074A_10 = 11;
                 Animation.LoopSettings arg_2074A_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_2074A_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_2074A_13 = true;
                 bool arg_2074A_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_206FB_0 = array;
                 int arg_206FB_1 = 0;
                 AnimInsCriteria arg_206F6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_206F1_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_206FB_0[arg_206FB_1] = new AnimationInstruction(arg_206F6_0, new AnimInsEvent(arg_206F1_0, array2));
                 AnimationInstruction[] arg_20745_0 = array;
                 int arg_20745_1 = 1;
                 AnimInsCriteria arg_20740_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_2073B_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_20745_0[arg_20745_1] = new AnimationInstruction(arg_20740_0, new AnimInsEvent(arg_2073B_0, array2));
                 arg_2074F_0[arg_2074F_1] = new Animation(arg_2074A_0, arg_2074A_1, arg_2074A_2, arg_2074A_3, arg_2074A_4, arg_2074A_5, arg_2074A_6, arg_2074A_7, arg_2074A_8, arg_2074A_9, arg_2074A_10, arg_2074A_11, arg_2074A_12, arg_2074A_13, arg_2074A_14, array);
             }
             this.enSpellType = SpellCodex.SpellTypes._Magic_Earth_EarthSpike;
         }
     }
     else if (enEffect < (SortedAnimated.SortedAnimatedEffects)17000)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PapaSlimeSpawnBall)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Spawn/Ball"), new Vector2(15f, 13f), 4, 4, 31, 25, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PapaSlimeSpawnBall_Red)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Spawn/Ball"), new Vector2(15f, 13f), 4, 4, 31, 25, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PapaSlimeDeathEffectLights)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(15f, 13f), 4, 1, 1, 1, 0, 0, 25, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Death/Light"), new Vector2(127f, 148f), 4, 25, 257, 220, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     30f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     6f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     23f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     9f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     16f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     12f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     9f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     15f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     2f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     25f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     50f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     25f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.01f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     25f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     100f
                 }))
             });
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PapaSlimeDeathExplosion)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(15f, 13f), 4, 1, 1, 1, 0, 0, 25, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_20CF7_0 = xARC.dixAnimations;
             ushort arg_20CF7_1 = 1;
             ushort arg_20CF2_0 = 0;
             byte arg_20CF2_1 = 0;
             Texture2D arg_20CF2_2 = RenderMaster.txCircleRad75;
             Vector2 arg_20CF2_3 = new Vector2(75f, 75f);
             int arg_20CF2_4 = 4;
             int arg_20CF2_5 = 1;
             int arg_20CF2_6 = 150;
             int arg_20CF2_7 = 150;
             int arg_20CF2_8 = 0;
             int arg_20CF2_9 = 0;
             int arg_20CF2_10 = 5;
             Animation.LoopSettings arg_20CF2_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_20CF2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_20CF2_13 = true;
             bool arg_20CF2_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[6];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
             {
                 0.7f
             }));
             AnimationInstruction[] arg_20BD9_0 = array;
             int arg_20BD9_1 = 1;
             AnimInsCriteria arg_20BD4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_20BCF_0 = AnimInsEvent.EventType.SetScale;
             float[] array2 = new float[1];
             arg_20BD9_0[arg_20BD9_1] = new AnimationInstruction(arg_20BD4_0, new AnimInsEvent(arg_20BCF_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 0.015f
             }));
             array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
             {
                 0.12f
             }));
             array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 80f
             }));
             array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }));
             arg_20CF7_0[arg_20CF7_1] = new Animation(arg_20CF2_0, arg_20CF2_1, arg_20CF2_2, arg_20CF2_3, arg_20CF2_4, arg_20CF2_5, arg_20CF2_6, arg_20CF2_7, arg_20CF2_8, arg_20CF2_9, arg_20CF2_10, arg_20CF2_11, arg_20CF2_12, arg_20CF2_13, arg_20CF2_14, array);
             xARC.dixAnimations[2] = new Animation(0, 0, RenderMaster.txCircleRad75, new Vector2(75f, 75f), 4, 1, 150, 150, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     20f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(0, 0, RenderMaster.txCircleRad75, new Vector2(75f, 75f), 4, 1, 150, 150, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.01f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     100f
                 }))
             });
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveAll;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanGreenShotCharge)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Makaronis/Charge"), new Vector2(11f, 13f), 4, 7, 23, 25, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanGreenShotImpact)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/GreenImpact"), new Vector2(13f, 13f), 4, 3, 26, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanGreenShotExplode)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/ExplosionC"), new Vector2(47f, 40f), 4, 9, 95, 84, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanPurpleShotExplodeA)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/ExplosionA"), new Vector2(29f, 18f), 4, 8, 56, 37, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanPurpleShotExplodeB)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/ExplosionF"), new Vector2(23f, 20f), 4, 9, 48, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanPurpleShotExplodeC)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/ExplosionE"), new Vector2(35f, 30f), 4, 8, 71, 63, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanPhaseTarget)
         {
             Dictionary<ushort, Animation> arg_2111D_0 = xARC.dixAnimations;
             ushort arg_2111D_1 = 0;
             ushort arg_21118_0 = 0;
             byte arg_21118_1 = 0;
             Texture2D arg_21118_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Phase/Target");
             Vector2 arg_21118_3 = new Vector2(12f, 12f);
             int arg_21118_4 = 4;
             int arg_21118_5 = 9;
             int arg_21118_6 = 25;
             int arg_21118_7 = 23;
             int arg_21118_8 = 0;
             int arg_21118_9 = 0;
             int arg_21118_10 = 10;
             Animation.LoopSettings arg_21118_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21118_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21118_13 = true;
             bool arg_21118_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_21113_0 = array;
             int arg_21113_1 = 0;
             AnimInsCriteria arg_2110E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_21109_0 = AnimInsEvent.EventType.PlaySound;
             string arg_21109_1 = "Phaseman_TargetAppear";
             float[] array2 = new float[1];
             arg_21113_0[arg_21113_1] = new AnimationInstruction(arg_2110E_0, new AnimInsEvent(arg_21109_0, arg_21109_1, array2));
             arg_2111D_0[arg_2111D_1] = new Animation(arg_21118_0, arg_21118_1, arg_21118_2, arg_21118_3, arg_21118_4, arg_21118_5, arg_21118_6, arg_21118_7, arg_21118_8, arg_21118_9, arg_21118_10, arg_21118_11, arg_21118_12, arg_21118_13, arg_21118_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanOrbGetEffect)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/OrbGetEffect"), new Vector2(12f, 12f), 4, 5, 24, 24, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherA)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(12f, 39f), 4, 5, 24, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Start"), new Vector2(12f, 39f), 4, 5, 24, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Start"), new Vector2(12f, 39f), 4, 1, 24, 39, 96, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_21340_0 = xARC.dixAnimations;
             ushort arg_21340_1 = 3;
             ushort arg_2133B_0 = 3;
             byte arg_2133B_1 = 0;
             Texture2D arg_2133B_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Shoot");
             Vector2 arg_2133B_3 = new Vector2(12f, 39f);
             int arg_2133B_4 = 4;
             int arg_2133B_5 = 5;
             int arg_2133B_6 = 24;
             int arg_2133B_7 = 39;
             int arg_2133B_8 = 0;
             int arg_2133B_9 = 0;
             int arg_2133B_10 = 10;
             Animation.LoopSettings arg_2133B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2133B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2133B_13 = true;
             bool arg_2133B_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_21300_0 = array;
             int arg_21300_1 = 0;
             AnimInsCriteria arg_212FB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_212F6_0 = AnimInsEvent.EventType.CallBackAnimation;
             float[] array2 = new float[2];
             arg_21300_0[arg_21300_1] = new AnimationInstruction(arg_212FB_0, new AnimInsEvent(arg_212F6_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }));
             arg_21340_0[arg_21340_1] = new Animation(arg_2133B_0, arg_2133B_1, arg_2133B_2, arg_2133B_3, arg_2133B_4, arg_2133B_5, arg_2133B_6, arg_2133B_7, arg_2133B_8, arg_2133B_9, arg_2133B_10, arg_2133B_11, arg_2133B_12, arg_2133B_13, arg_2133B_14, array);
             Dictionary<ushort, Animation> arg_213B4_0 = xARC.dixAnimations;
             ushort arg_213B4_1 = 4;
             ushort arg_213AF_0 = 4;
             byte arg_213AF_1 = 0;
             Texture2D arg_213AF_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/End");
             Vector2 arg_213AF_3 = new Vector2(12f, 39f);
             int arg_213AF_4 = 4;
             int arg_213AF_5 = 5;
             int arg_213AF_6 = 24;
             int arg_213AF_7 = 39;
             int arg_213AF_8 = 0;
             int arg_213AF_9 = 0;
             int arg_213AF_10 = 10;
             Animation.LoopSettings arg_213AF_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_213AF_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_213AF_13 = true;
             bool arg_213AF_14 = true;
             array = new AnimationInstruction[1];
             AnimationInstruction[] arg_213AA_0 = array;
             int arg_213AA_1 = 0;
             AnimInsCriteria arg_213A5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_213A0_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_213AA_0[arg_213AA_1] = new AnimationInstruction(arg_213A5_0, new AnimInsEvent(arg_213A0_0, array2));
             arg_213B4_0[arg_213B4_1] = new Animation(arg_213AF_0, arg_213AF_1, arg_213AF_2, arg_213AF_3, arg_213AF_4, arg_213AF_5, arg_213AF_6, arg_213AF_7, arg_213AF_8, arg_213AF_9, arg_213AF_10, arg_213AF_11, arg_213AF_12, arg_213AF_13, arg_213AF_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherB)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(12f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Start"), new Vector2(12f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Start"), new Vector2(12f, 31f), 4, 1, 26, 31, 104, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Shoot"), new Vector2(12f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
                 {
                     0f,
                     1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_21606_0 = xARC.dixAnimations;
             ushort arg_21606_1 = 4;
             ushort arg_21601_0 = 4;
             byte arg_21601_1 = 0;
             Texture2D arg_21601_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/End");
             Vector2 arg_21601_3 = new Vector2(12f, 31f);
             int arg_21601_4 = 4;
             int arg_21601_5 = 5;
             int arg_21601_6 = 26;
             int arg_21601_7 = 31;
             int arg_21601_8 = 0;
             int arg_21601_9 = 0;
             int arg_21601_10 = 10;
             Animation.LoopSettings arg_21601_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21601_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21601_13 = true;
             bool arg_21601_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_215FC_0 = array;
             int arg_215FC_1 = 0;
             AnimInsCriteria arg_215F7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_215F2_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_215FC_0[arg_215FC_1] = new AnimationInstruction(arg_215F7_0, new AnimInsEvent(arg_215F2_0, array2));
             arg_21606_0[arg_21606_1] = new Animation(arg_21601_0, arg_21601_1, arg_21601_2, arg_21601_3, arg_21601_4, arg_21601_5, arg_21601_6, arg_21601_7, arg_21601_8, arg_21601_9, arg_21601_10, arg_21601_11, arg_21601_12, arg_21601_13, arg_21601_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherC)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Start"), new Vector2(20f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Start"), new Vector2(20f, 43f), 4, 1, 36, 43, 144, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Shoot"), new Vector2(20f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
                 {
                     0f,
                     2f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_2185B_0 = xARC.dixAnimations;
             ushort arg_2185B_1 = 4;
             ushort arg_21856_0 = 4;
             byte arg_21856_1 = 0;
             Texture2D arg_21856_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/End");
             Vector2 arg_21856_3 = new Vector2(20f, 43f);
             int arg_21856_4 = 4;
             int arg_21856_5 = 5;
             int arg_21856_6 = 36;
             int arg_21856_7 = 43;
             int arg_21856_8 = 0;
             int arg_21856_9 = 0;
             int arg_21856_10 = 10;
             Animation.LoopSettings arg_21856_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21856_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21856_13 = true;
             bool arg_21856_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_21851_0 = array;
             int arg_21851_1 = 0;
             AnimInsCriteria arg_2184C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_21847_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_21851_0[arg_21851_1] = new AnimationInstruction(arg_2184C_0, new AnimInsEvent(arg_21847_0, array2));
             arg_2185B_0[arg_2185B_1] = new Animation(arg_21856_0, arg_21856_1, arg_21856_2, arg_21856_3, arg_21856_4, arg_21856_5, arg_21856_6, arg_21856_7, arg_21856_8, arg_21856_9, arg_21856_10, arg_21856_11, arg_21856_12, arg_21856_13, arg_21856_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherD)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(12f, 39f), 4, 5, 24, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Start"), new Vector2(12f, 39f), 4, 5, 24, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Start"), new Vector2(12f, 39f), 4, 1, 24, 39, 96, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Shoot"), new Vector2(12f, 39f), 4, 5, 24, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
                 {
                     0f,
                     3f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_21AAD_0 = xARC.dixAnimations;
             ushort arg_21AAD_1 = 4;
             ushort arg_21AA8_0 = 4;
             byte arg_21AA8_1 = 0;
             Texture2D arg_21AA8_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/End");
             Vector2 arg_21AA8_3 = new Vector2(12f, 39f);
             int arg_21AA8_4 = 4;
             int arg_21AA8_5 = 5;
             int arg_21AA8_6 = 24;
             int arg_21AA8_7 = 39;
             int arg_21AA8_8 = 0;
             int arg_21AA8_9 = 0;
             int arg_21AA8_10 = 10;
             Animation.LoopSettings arg_21AA8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21AA8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21AA8_13 = true;
             bool arg_21AA8_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_21AA3_0 = array;
             int arg_21AA3_1 = 0;
             AnimInsCriteria arg_21A9E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_21A99_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_21AA3_0[arg_21AA3_1] = new AnimationInstruction(arg_21A9E_0, new AnimInsEvent(arg_21A99_0, array2));
             arg_21AAD_0[arg_21AAD_1] = new Animation(arg_21AA8_0, arg_21AA8_1, arg_21AA8_2, arg_21AA8_3, arg_21AA8_4, arg_21AA8_5, arg_21AA8_6, arg_21AA8_7, arg_21AA8_8, arg_21AA8_9, arg_21AA8_10, arg_21AA8_11, arg_21AA8_12, arg_21AA8_13, arg_21AA8_14, array);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[4].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherE)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(14f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Start"), new Vector2(14f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Start"), new Vector2(14f, 31f), 4, 1, 26, 31, 104, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Shoot"), new Vector2(14f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
                 {
                     0f,
                     4f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_21D59_0 = xARC.dixAnimations;
             ushort arg_21D59_1 = 4;
             ushort arg_21D54_0 = 4;
             byte arg_21D54_1 = 0;
             Texture2D arg_21D54_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/End");
             Vector2 arg_21D54_3 = new Vector2(14f, 31f);
             int arg_21D54_4 = 4;
             int arg_21D54_5 = 5;
             int arg_21D54_6 = 26;
             int arg_21D54_7 = 31;
             int arg_21D54_8 = 0;
             int arg_21D54_9 = 0;
             int arg_21D54_10 = 10;
             Animation.LoopSettings arg_21D54_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21D54_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21D54_13 = true;
             bool arg_21D54_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_21D4F_0 = array;
             int arg_21D4F_1 = 0;
             AnimInsCriteria arg_21D4A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_21D45_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_21D4F_0[arg_21D4F_1] = new AnimationInstruction(arg_21D4A_0, new AnimInsEvent(arg_21D45_0, array2));
             arg_21D59_0[arg_21D59_1] = new Animation(arg_21D54_0, arg_21D54_1, arg_21D54_2, arg_21D54_3, arg_21D54_4, arg_21D54_5, arg_21D54_6, arg_21D54_7, arg_21D54_8, arg_21D54_9, arg_21D54_10, arg_21D54_11, arg_21D54_12, arg_21D54_13, arg_21D54_14, array);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[4].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherF)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(16f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Start"), new Vector2(16f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Start"), new Vector2(16f, 43f), 4, 1, 36, 43, 144, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Shoot"), new Vector2(16f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
                 {
                     0f,
                     5f
                 }))
             });
             Dictionary<ushort, Animation> arg_22008_0 = xARC.dixAnimations;
             ushort arg_22008_1 = 4;
             ushort arg_22003_0 = 4;
             byte arg_22003_1 = 0;
             Texture2D arg_22003_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/End");
             Vector2 arg_22003_3 = new Vector2(16f, 43f);
             int arg_22003_4 = 4;
             int arg_22003_5 = 5;
             int arg_22003_6 = 36;
             int arg_22003_7 = 43;
             int arg_22003_8 = 0;
             int arg_22003_9 = 0;
             int arg_22003_10 = 10;
             Animation.LoopSettings arg_22003_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_22003_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_22003_13 = true;
             bool arg_22003_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_21FFE_0 = array;
             int arg_21FFE_1 = 0;
             AnimInsCriteria arg_21FF9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_21FF4_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_21FFE_0[arg_21FFE_1] = new AnimationInstruction(arg_21FF9_0, new AnimInsEvent(arg_21FF4_0, array2));
             arg_22008_0[arg_22008_1] = new Animation(arg_22003_0, arg_22003_1, arg_22003_2, arg_22003_3, arg_22003_4, arg_22003_5, arg_22003_6, arg_22003_7, arg_22003_8, arg_22003_9, arg_22003_10, arg_22003_11, arg_22003_12, arg_22003_13, arg_22003_14, array);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[4].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketTarget)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/Target"), new Vector2(20f, 20f), 4, 6, 40, 40, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketTrackingTarget)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 46f), 4, 6, 40, 40, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Targeting"), new Vector2(20f, 46f), 4, 2, 40, 54, 0, 0, 19, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_221B1_0 = xARC.dixAnimations;
             ushort arg_221B1_1 = 2;
             ushort arg_221AC_0 = 2;
             byte arg_221AC_1 = 0;
             Texture2D arg_221AC_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Targeting");
             Vector2 arg_221AC_3 = new Vector2(20f, 46f);
             int arg_221AC_4 = 4;
             int arg_221AC_5 = 19;
             int arg_221AC_6 = 40;
             int arg_221AC_7 = 54;
             int arg_221AC_8 = 0;
             int arg_221AC_9 = 0;
             int arg_221AC_10 = 19;
             Animation.LoopSettings arg_221AC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_221AC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_221AC_13 = true;
             bool arg_221AC_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_221A7_0 = array;
             int arg_221A7_1 = 0;
             AnimInsCriteria arg_221A2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_2219D_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_221A7_0[arg_221A7_1] = new AnimationInstruction(arg_221A2_0, new AnimInsEvent(arg_2219D_0, array2));
             arg_221B1_0[arg_221B1_1] = new Animation(arg_221AC_0, arg_221AC_1, arg_221AC_2, arg_221AC_3, arg_221AC_4, arg_221AC_5, arg_221AC_6, arg_221AC_7, arg_221AC_8, arg_221AC_9, arg_221AC_10, arg_221AC_11, arg_221AC_12, arg_221AC_13, arg_221AC_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketSmoke)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/Smoke"), new Vector2(21f, 14f), 4, 8, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamBody)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Body"), new Vector2(108f, 30f), 4, 1, 217, 123, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_222D5_0 = xARC.dixAnimations;
             ushort arg_222D5_1 = 1;
             ushort arg_222D0_0 = 1;
             byte arg_222D0_1 = 0;
             Texture2D arg_222D0_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Smash/Smash");
             Vector2 arg_222D0_3 = new Vector2(108f, 33f);
             int arg_222D0_4 = 4;
             int arg_222D0_5 = 4;
             int arg_222D0_6 = 217;
             int arg_222D0_7 = 126;
             int arg_222D0_8 = 0;
             int arg_222D0_9 = 0;
             int arg_222D0_10 = 20;
             Animation.LoopSettings arg_222D0_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_222D0_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_222D0_13 = true;
             bool arg_222D0_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_222CB_0 = array;
             int arg_222CB_1 = 0;
             AnimInsCriteria arg_222C6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_222C1_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_222CB_0[arg_222CB_1] = new AnimationInstruction(arg_222C6_0, new AnimInsEvent(arg_222C1_0, array2));
             arg_222D5_0.Add(arg_222D5_1, new Animation(arg_222D0_0, arg_222D0_1, arg_222D0_2, arg_222D0_3, arg_222D0_4, arg_222D0_5, arg_222D0_6, arg_222D0_7, arg_222D0_8, arg_222D0_9, arg_222D0_10, arg_222D0_11, arg_222D0_12, arg_222D0_13, arg_222D0_14, array));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/ElectricityA"), new Vector2(125f, 95f), 4, 6, 248, 187, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     8f
                 }))
             }));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/ElectricityB"), new Vector2(125f, 95f), 4, 6, 248, 187, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     8f
                 }))
             }));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/ElectricityC"), new Vector2(125f, 95f), 4, 6, 248, 187, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     8f
                 }))
             }));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/Mid"), new Vector2(125f, 95f), 4, 24, 248, 187, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     6f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/Idle"), new Vector2(125f, 95f), 4, 6, 248, 187, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_225A6_0 = xARC.dixAnimations;
             ushort arg_225A6_1 = 7;
             ushort arg_225A1_0 = 7;
             byte arg_225A1_1 = 0;
             Texture2D arg_225A1_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/End");
             Vector2 arg_225A1_3 = new Vector2(125f, 95f);
             int arg_225A1_4 = 4;
             int arg_225A1_5 = 5;
             int arg_225A1_6 = 248;
             int arg_225A1_7 = 187;
             int arg_225A1_8 = 0;
             int arg_225A1_9 = 0;
             int arg_225A1_10 = 25;
             Animation.LoopSettings arg_225A1_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_225A1_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_225A1_13 = true;
             bool arg_225A1_14 = true;
             array = new AnimationInstruction[1];
             AnimationInstruction[] arg_2259C_0 = array;
             int arg_2259C_1 = 0;
             AnimInsCriteria arg_22597_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_22592_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_2259C_0[arg_2259C_1] = new AnimationInstruction(arg_22597_0, new AnimInsEvent(arg_22592_0, array2));
             arg_225A6_0.Add(arg_225A6_1, new Animation(arg_225A1_0, arg_225A1_1, arg_225A1_2, arg_225A1_3, arg_225A1_4, arg_225A1_5, arg_225A1_6, arg_225A1_7, arg_225A1_8, arg_225A1_9, arg_225A1_10, arg_225A1_11, arg_225A1_12, arg_225A1_13, arg_225A1_14, array));
             xARC.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/ElectricityC"), new Vector2(125f, 95f), 4, 1, 248, 187, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(9, new Animation(9, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Overheat/Start"), new Vector2(108f, 30f), 4, 1, 217, 123, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(10, new Animation(10, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Dead/Start"), new Vector2(108f, 82f), 4, 37, 217, 174, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(11, new Animation(11, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Dead/Idle"), new Vector2(108f, 31f), 4, 1, 217, 123, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(12, new Animation(12, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/StartUp/Start"), new Vector2(108f, 84f), 4, 1, 217, 176, 0, 0, 7, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_227BC_0 = xARC.dixAnimations;
             ushort arg_227BC_1 = 13;
             ushort arg_227B7_0 = 13;
             byte arg_227B7_1 = 0;
             Texture2D arg_227B7_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/StartUp/Start");
             Vector2 arg_227B7_3 = new Vector2(108f, 84f);
             int arg_227B7_4 = 4;
             int arg_227B7_5 = 37;
             int arg_227B7_6 = 217;
             int arg_227B7_7 = 176;
             int arg_227B7_8 = 0;
             int arg_227B7_9 = 0;
             int arg_227B7_10 = 7;
             Animation.LoopSettings arg_227B7_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_227B7_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_227B7_13 = true;
             bool arg_227B7_14 = true;
             array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
             {
                 1f
             }));
             AnimationInstruction[] arg_227B2_0 = array;
             int arg_227B2_1 = 1;
             AnimInsCriteria arg_227AD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_227A8_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_227B2_0[arg_227B2_1] = new AnimationInstruction(arg_227AD_0, new AnimInsEvent(arg_227A8_0, array2));
             arg_227BC_0.Add(arg_227BC_1, new Animation(arg_227B7_0, arg_227B7_1, arg_227B7_2, arg_227B7_3, arg_227B7_4, arg_227B7_5, arg_227B7_6, arg_227B7_7, arg_227B7_8, arg_227B7_9, arg_227B7_10, arg_227B7_11, arg_227B7_12, arg_227B7_13, arg_227B7_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamStomach)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 47, 81, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Start"), Vector2.Zero, 4, 38, 47, 81, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Idle"), Vector2.Zero, 4, 4, 47, 81, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_2291E_0 = xARC.dixAnimations;
             ushort arg_2291E_1 = 3;
             ushort arg_22919_0 = 3;
             byte arg_22919_1 = 0;
             Texture2D arg_22919_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/End");
             Vector2 arg_22919_3 = Vector2.Zero;
             int arg_22919_4 = 4;
             int arg_22919_5 = 17;
             int arg_22919_6 = 47;
             int arg_22919_7 = 81;
             int arg_22919_8 = 0;
             int arg_22919_9 = 0;
             int arg_22919_10 = 18;
             Animation.LoopSettings arg_22919_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_22919_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_22919_13 = true;
             bool arg_22919_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_22914_0 = array;
             int arg_22914_1 = 0;
             AnimInsCriteria arg_2290F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_2290A_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_22914_0[arg_22914_1] = new AnimationInstruction(arg_2290F_0, new AnimInsEvent(arg_2290A_0, array2));
             arg_2291E_0.Add(arg_2291E_1, new Animation(arg_22919_0, arg_22919_1, arg_22919_2, arg_22919_3, arg_22919_4, arg_22919_5, arg_22919_6, arg_22919_7, arg_22919_8, arg_22919_9, arg_22919_10, arg_22919_11, arg_22919_12, arg_22919_13, arg_22919_14, array));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Attack"), Vector2.Zero, 4, 2, 47, 81, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Start"), Vector2.Zero, 4, 38, 47, 81, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     8f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Idle"), Vector2.Zero, 4, 4, 47, 81, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_22AAB_0 = xARC.dixAnimations;
             ushort arg_22AAB_1 = 7;
             ushort arg_22AA6_0 = 7;
             byte arg_22AA6_1 = 0;
             Texture2D arg_22AA6_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/End");
             Vector2 arg_22AA6_3 = Vector2.Zero;
             int arg_22AA6_4 = 4;
             int arg_22AA6_5 = 17;
             int arg_22AA6_6 = 47;
             int arg_22AA6_7 = 81;
             int arg_22AA6_8 = 0;
             int arg_22AA6_9 = 0;
             int arg_22AA6_10 = 18;
             Animation.LoopSettings arg_22AA6_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_22AA6_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_22AA6_13 = true;
             bool arg_22AA6_14 = true;
             array = new AnimationInstruction[1];
             AnimationInstruction[] arg_22AA1_0 = array;
             int arg_22AA1_1 = 0;
             AnimInsCriteria arg_22A9C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_22A97_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_22AA1_0[arg_22AA1_1] = new AnimationInstruction(arg_22A9C_0, new AnimInsEvent(arg_22A97_0, array2));
             arg_22AAB_0.Add(arg_22AAB_1, new Animation(arg_22AA6_0, arg_22AA6_1, arg_22AA6_2, arg_22AA6_3, arg_22AA6_4, arg_22AA6_5, arg_22AA6_6, arg_22AA6_7, arg_22AA6_8, arg_22AA6_9, arg_22AA6_10, arg_22AA6_11, arg_22AA6_12, arg_22AA6_13, arg_22AA6_14, array));
             xARC.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Attack"), Vector2.Zero, 4, 2, 47, 81, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     6f
                 }))
             }));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamStomach_Laser)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/ChargeEffect"), new Vector2(13f, 13f), 4, 20, 27, 27, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Beam/Start"), new Vector2(11f, 5f), 4, 3, 23, 192, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Beam/Idle"), new Vector2(11f, 5f), 4, 3, 23, 192, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Beam/End"), new Vector2(11f, 5f), 4, 6, 23, 192, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/ChargeEffect"), new Vector2(13f, 13f), 4, 20, 27, 27, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     5f
                 }))
             }));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Beam/Start"), new Vector2(11f, 5f), 4, 3, 23, 192, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     6f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Beam/Idle"), new Vector2(11f, 5f), 4, 3, 23, 192, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Beam/End"), new Vector2(11f, 5f), 4, 6, 23, 192, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamSmash_FadingHole)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             Dictionary<ushort, Animation> arg_22F75_0 = xARC.dixAnimations;
             ushort arg_22F75_1 = 0;
             ushort arg_22F70_0 = 0;
             byte arg_22F70_1 = 0;
             Texture2D arg_22F70_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/GroundEffect");
             Vector2 arg_22F70_3 = Vector2.Zero;
             int arg_22F70_4 = 4;
             int arg_22F70_5 = 1;
             int arg_22F70_6 = 106;
             int arg_22F70_7 = 83;
             int arg_22F70_8 = 0;
             int arg_22F70_9 = 0;
             int arg_22F70_10 = 22;
             Animation.LoopSettings arg_22F70_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_22F70_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_22F70_13 = false;
             bool arg_22F70_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_22ED7_0 = array;
             int arg_22ED7_1 = 0;
             AnimInsCriteria arg_22ED2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_22ECD_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 5f;
             arg_22ED7_0[arg_22ED7_1] = new AnimationInstruction(arg_22ED2_0, new AnimInsEvent(arg_22ECD_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_22F6B_0 = array;
             int arg_22F6B_1 = 2;
             AnimInsCriteria arg_22F66_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_22F61_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_22F6B_0[arg_22F6B_1] = new AnimationInstruction(arg_22F66_0, new AnimInsEvent(arg_22F61_0, array2));
             arg_22F75_0.Add(arg_22F75_1, new Animation(arg_22F70_0, arg_22F70_1, arg_22F70_2, arg_22F70_3, arg_22F70_4, arg_22F70_5, arg_22F70_6, arg_22F70_7, arg_22F70_8, arg_22F70_9, arg_22F70_10, arg_22F70_11, arg_22F70_12, arg_22F70_13, arg_22F70_14, array));
             Dictionary<ushort, Animation> arg_23092_0 = xARC.dixAnimations;
             ushort arg_23092_1 = 1;
             ushort arg_2308D_0 = 1;
             byte arg_2308D_1 = 0;
             Texture2D arg_2308D_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/GroundEffect");
             Vector2 arg_2308D_3 = Vector2.Zero;
             int arg_2308D_4 = 4;
             int arg_2308D_5 = 1;
             int arg_2308D_6 = 106;
             int arg_2308D_7 = 83;
             int arg_2308D_8 = 0;
             int arg_2308D_9 = 0;
             int arg_2308D_10 = 22;
             Animation.LoopSettings arg_2308D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2308D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2308D_13 = false;
             bool arg_2308D_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_22FF4_0 = array;
             int arg_22FF4_1 = 0;
             AnimInsCriteria arg_22FEF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_22FEA_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 5f;
             arg_22FF4_0[arg_22FF4_1] = new AnimationInstruction(arg_22FEF_0, new AnimInsEvent(arg_22FEA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_23088_0 = array;
             int arg_23088_1 = 2;
             AnimInsCriteria arg_23083_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_2307E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_23088_0[arg_23088_1] = new AnimationInstruction(arg_23083_0, new AnimInsEvent(arg_2307E_0, array2));
             arg_23092_0.Add(arg_23092_1, new Animation(arg_2308D_0, arg_2308D_1, arg_2308D_2, arg_2308D_3, arg_2308D_4, arg_2308D_5, arg_2308D_6, arg_2308D_7, arg_2308D_8, arg_2308D_9, arg_2308D_10, arg_2308D_11, arg_2308D_12, arg_2308D_13, arg_2308D_14, array));
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamBulletHell_FarmahmeraIcon)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fAlpha = 0.95f;
             xARC.v2Scale.X = 0.1f;
             Dictionary<ushort, Animation> arg_231EC_0 = xARC.dixAnimations;
             ushort arg_231EC_1 = 0;
             ushort arg_231E7_0 = 0;
             byte arg_231E7_1 = 0;
             Texture2D arg_231E7_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Head/BulletHell/powertest");
             Vector2 arg_231E7_3 = new Vector2(30f, 16f);
             int arg_231E7_4 = 3;
             int arg_231E7_5 = 3;
             int arg_231E7_6 = 59;
             int arg_231E7_7 = 33;
             int arg_231E7_8 = 0;
             int arg_231E7_9 = 0;
             int arg_231E7_10 = 20;
             Animation.LoopSettings arg_231E7_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_231E7_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_231E7_13 = true;
             bool arg_231E7_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2314F_0 = array;
             int arg_2314F_1 = 0;
             AnimInsCriteria.Criteria arg_23125_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks;
             float[] array2 = new float[1];
             AnimInsCriteria arg_2314A_0 = new AnimInsCriteria(arg_23125_0, array2);
             AnimInsEvent.EventType arg_23145_0 = AnimInsEvent.EventType.AdjustScale;
             array2 = new float[2];
             array2[0] = 0.1f;
             arg_2314F_0[arg_2314F_1] = new AnimationInstruction(arg_2314A_0, new AnimInsEvent(arg_23145_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
             {
                 1f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_231EC_0.Add(arg_231EC_1, new Animation(arg_231E7_0, arg_231E7_1, arg_231E7_2, arg_231E7_3, arg_231E7_4, arg_231E7_5, arg_231E7_6, arg_231E7_7, arg_231E7_8, arg_231E7_9, arg_231E7_10, arg_231E7_11, arg_231E7_12, arg_231E7_13, arg_231E7_14, array));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Head/BulletHell/powertest"), new Vector2(30f, 16f), 3, 3, 59, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_232FF_0 = xARC.dixAnimations;
             ushort arg_232FF_1 = 2;
             ushort arg_232FA_0 = 2;
             byte arg_232FA_1 = 0;
             Texture2D arg_232FA_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Head/BulletHell/powertest");
             Vector2 arg_232FA_3 = new Vector2(30f, 16f);
             int arg_232FA_4 = 3;
             int arg_232FA_5 = 3;
             int arg_232FA_6 = 59;
             int arg_232FA_7 = 33;
             int arg_232FA_8 = 0;
             int arg_232FA_9 = 0;
             int arg_232FA_10 = 20;
             Animation.LoopSettings arg_232FA_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_232FA_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_232FA_13 = true;
             bool arg_232FA_14 = true;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_232AB_0 = array;
             int arg_232AB_1 = 0;
             AnimInsCriteria.Criteria arg_23281_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks;
             array2 = new float[1];
             AnimInsCriteria arg_232A6_0 = new AnimInsCriteria(arg_23281_0, array2);
             AnimInsEvent.EventType arg_232A1_0 = AnimInsEvent.EventType.AdjustScale;
             array2 = new float[2];
             array2[0] = -0.1f;
             arg_232AB_0[arg_232AB_1] = new AnimationInstruction(arg_232A6_0, new AnimInsEvent(arg_232A1_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 10f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
             {
                 1f
             }));
             arg_232FF_0.Add(arg_232FF_1, new Animation(arg_232FA_0, arg_232FA_1, arg_232FA_2, arg_232FA_3, arg_232FA_4, arg_232FA_5, arg_232FA_6, arg_232FA_7, arg_232FA_8, arg_232FA_9, arg_232FA_10, arg_232FA_11, arg_232FA_12, arg_232FA_13, arg_232FA_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamBulletHell_ChargeBall)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.fAlpha = 1f;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Red"), new Vector2(8f, 8f), 4, 1, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamBulletHell_ChargeBallGreen)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.fAlpha = 1f;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Green"), new Vector2(8f, 8f), 4, 1, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamSmash_StoneA)
         {
             int iRand3 = Program.GetTheGame().randomInVisual.Next(2);
             this.bDestroyAtEnd = false;
             Dictionary<ushort, Animation> arg_23470_0 = xARC.dixAnimations;
             ushort arg_23470_1 = 0;
             ushort arg_2346B_0 = 0;
             byte arg_2346B_1 = 1;
             Texture2D arg_2346B_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/StoneA");
             Vector2 arg_2346B_3 = new Vector2(7f, 33f);
             int arg_2346B_4 = 4;
             int arg_2346B_5 = 7;
             int arg_2346B_6 = 14;
             int arg_2346B_7 = 37;
             int arg_2346B_8 = 0;
             int arg_2346B_9 = 0;
             int arg_2346B_10 = 11;
             Animation.LoopSettings arg_2346B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2346B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2346B_13 = true;
             bool arg_2346B_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_23466_0 = array;
             int arg_23466_1 = 0;
             AnimInsCriteria arg_23461_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_2345C_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_23466_0[arg_23466_1] = new AnimationInstruction(arg_23461_0, new AnimInsEvent(arg_2345C_0, array2));
             arg_23470_0[arg_23470_1] = new Animation(arg_2346B_0, arg_2346B_1, arg_2346B_2, arg_2346B_3, arg_2346B_4, arg_2346B_5, arg_2346B_6, arg_2346B_7, arg_2346B_8, arg_2346B_9, arg_2346B_10, arg_2346B_11, arg_2346B_12, arg_2346B_13, arg_2346B_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/StoneA"), new Vector2(7f, 33f), 4, 1, 14, 37, 84, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             if (iRand3 == 0)
             {
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
                 xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamSmash_StoneB)
         {
             int iRand4 = Program.GetTheGame().randomInVisual.Next(2);
             this.bDestroyAtEnd = false;
             Dictionary<ushort, Animation> arg_2359D_0 = xARC.dixAnimations;
             ushort arg_2359D_1 = 0;
             ushort arg_23598_0 = 0;
             byte arg_23598_1 = 1;
             Texture2D arg_23598_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/StoneB");
             Vector2 arg_23598_3 = new Vector2(9f, 37f);
             int arg_23598_4 = 4;
             int arg_23598_5 = 10;
             int arg_23598_6 = 17;
             int arg_23598_7 = 43;
             int arg_23598_8 = 0;
             int arg_23598_9 = 0;
             int arg_23598_10 = 11;
             Animation.LoopSettings arg_23598_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_23598_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_23598_13 = true;
             bool arg_23598_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_23593_0 = array;
             int arg_23593_1 = 0;
             AnimInsCriteria arg_2358E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_23589_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_23593_0[arg_23593_1] = new AnimationInstruction(arg_2358E_0, new AnimInsEvent(arg_23589_0, array2));
             arg_2359D_0[arg_2359D_1] = new Animation(arg_23598_0, arg_23598_1, arg_23598_2, arg_23598_3, arg_23598_4, arg_23598_5, arg_23598_6, arg_23598_7, arg_23598_8, arg_23598_9, arg_23598_10, arg_23598_11, arg_23598_12, arg_23598_13, arg_23598_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/StoneB"), new Vector2(9f, 37f), 4, 1, 17, 43, 153, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             if (iRand4 == 0)
             {
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
                 xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamPunch_HitEffect)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Punch/HitEffect"), new Vector2(51f, 51f), 4, 5, 104, 77, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamVentilLeft)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             Dictionary<ushort, Animation> arg_2371E_0 = xARC.dixAnimations;
             ushort arg_2371E_1 = 0;
             ushort arg_23719_0 = 0;
             byte arg_23719_1 = 0;
             Texture2D arg_23719_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Ventil");
             Vector2 arg_23719_3 = Vector2.Zero;
             int arg_23719_4 = 4;
             int arg_23719_5 = 6;
             int arg_23719_6 = 36;
             int arg_23719_7 = 17;
             int arg_23719_8 = 0;
             int arg_23719_9 = 0;
             int arg_23719_10 = 10;
             Animation.LoopSettings arg_23719_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_23719_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_23719_13 = true;
             bool arg_23719_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_236DE_0 = array;
             int arg_236DE_1 = 0;
             AnimInsCriteria arg_236D9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_236D4_0 = AnimInsEvent.EventType.PlaySound;
             string arg_236D4_1 = "Gund4m_Flaps_A";
             float[] array2 = new float[1];
             arg_236DE_0[arg_236DE_1] = new AnimationInstruction(arg_236D9_0, new AnimInsEvent(arg_236D4_0, arg_236D4_1, array2));
             AnimationInstruction[] arg_23714_0 = array;
             int arg_23714_1 = 1;
             AnimInsCriteria arg_2370F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_2370A_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[2];
             array2[0] = 1f;
             arg_23714_0[arg_23714_1] = new AnimationInstruction(arg_2370F_0, new AnimInsEvent(arg_2370A_0, array2));
             arg_2371E_0[arg_2371E_1] = new Animation(arg_23719_0, arg_23719_1, arg_23719_2, arg_23719_3, arg_23719_4, arg_23719_5, arg_23719_6, arg_23719_7, arg_23719_8, arg_23719_9, arg_23719_10, arg_23719_11, arg_23719_12, arg_23719_13, arg_23719_14, array);
             xARC.dixAnimations[1] = new Animation(1, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 6, 36, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamVentilRight)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             Dictionary<ushort, Animation> arg_237DD_0 = xARC.dixAnimations;
             ushort arg_237DD_1 = 0;
             ushort arg_237D8_0 = 0;
             byte arg_237D8_1 = 0;
             Texture2D arg_237D8_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Ventil");
             Vector2 arg_237D8_3 = Vector2.Zero;
             int arg_237D8_4 = 4;
             int arg_237D8_5 = 6;
             int arg_237D8_6 = 36;
             int arg_237D8_7 = 17;
             int arg_237D8_8 = 0;
             int arg_237D8_9 = 0;
             int arg_237D8_10 = 10;
             Animation.LoopSettings arg_237D8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_237D8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_237D8_13 = true;
             bool arg_237D8_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_237D3_0 = array;
             int arg_237D3_1 = 0;
             AnimInsCriteria arg_237CE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_237C9_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_237D3_0[arg_237D3_1] = new AnimationInstruction(arg_237CE_0, new AnimInsEvent(arg_237C9_0, array2));
             arg_237DD_0[arg_237DD_1] = new Animation(arg_237D8_0, arg_237D8_1, arg_237D8_2, arg_237D8_3, arg_237D8_4, arg_237D8_5, arg_237D8_6, arg_237D8_7, arg_237D8_8, arg_237D8_9, arg_237D8_10, arg_237D8_11, arg_237D8_12, arg_237D8_13, arg_237D8_14, array);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[1] = new Animation(1, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 6, 36, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamAmuletFlash)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Flash"), new Vector2(29f, 21f), 4, 4, 57, 41, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_ToyFactoryFunnel)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Funnel/Idle"), new Vector2(25f, 46f), 4, 1, 51, 61, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_2393A_0 = xARC.dixAnimations;
             ushort arg_2393A_1 = 1;
             ushort arg_23935_0 = 1;
             byte arg_23935_1 = 0;
             Texture2D arg_23935_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Funnel/Spawn");
             Vector2 arg_23935_3 = new Vector2(25f, 46f);
             int arg_23935_4 = 4;
             int arg_23935_5 = 8;
             int arg_23935_6 = 51;
             int arg_23935_7 = 61;
             int arg_23935_8 = 0;
             int arg_23935_9 = 0;
             int arg_23935_10 = 10;
             Animation.LoopSettings arg_23935_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_23935_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_23935_13 = true;
             bool arg_23935_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_23930_0 = array;
             int arg_23930_1 = 0;
             AnimInsCriteria arg_2392B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_23926_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             arg_23930_0[arg_23930_1] = new AnimationInstruction(arg_2392B_0, new AnimInsEvent(arg_23926_0, array2));
             arg_2393A_0[arg_2393A_1] = new Animation(arg_23935_0, arg_23935_1, arg_23935_2, arg_23935_3, arg_23935_4, arg_23935_5, arg_23935_6, arg_23935_7, arg_23935_8, arg_23935_9, arg_23935_10, arg_23935_11, arg_23935_12, arg_23935_13, arg_23935_14, array);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Funnel/Spawn"), new Vector2(25f, 46f), 4, 6, 51, 61, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_239F3_0 = xARC.dixAnimations;
             ushort arg_239F3_1 = 3;
             ushort arg_239EE_0 = 3;
             byte arg_239EE_1 = 0;
             Texture2D arg_239EE_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Funnel/Spawn");
             Vector2 arg_239EE_3 = new Vector2(25f, 46f);
             int arg_239EE_4 = 4;
             int arg_239EE_5 = 2;
             int arg_239EE_6 = 51;
             int arg_239EE_7 = 61;
             int arg_239EE_8 = 306;
             int arg_239EE_9 = 0;
             int arg_239EE_10 = 10;
             Animation.LoopSettings arg_239EE_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_239EE_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_239EE_13 = true;
             bool arg_239EE_14 = true;
             array = new AnimationInstruction[1];
             AnimationInstruction[] arg_239E9_0 = array;
             int arg_239E9_1 = 0;
             AnimInsCriteria arg_239E4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_239DF_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[2];
             arg_239E9_0[arg_239E9_1] = new AnimationInstruction(arg_239E4_0, new AnimInsEvent(arg_239DF_0, array2));
             arg_239F3_0[arg_239F3_1] = new Animation(arg_239EE_0, arg_239EE_1, arg_239EE_2, arg_239EE_3, arg_239EE_4, arg_239EE_5, arg_239EE_6, arg_239EE_7, arg_239EE_8, arg_239EE_9, arg_239EE_10, arg_239EE_11, arg_239EE_12, arg_239EE_13, arg_239EE_14, array);
             xARC.fVirtualHeight = 59f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_ToyFactoryBombAway)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Bomb/Bomb"), new Vector2(15f, 18f), 4, 3, 31, 22, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_AutumnFaeTornadoCast)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Projectile/CastEffect"), new Vector2(17f, 17f), 4, 4, 34, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SummerFaeThornCast)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/PlantSummon/CastEffect"), new Vector2(17f, 17f), 4, 4, 33, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_AutumnFaeBlowParticle)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Particle"), new Vector2(8f, 8f), 4, 10, 16, 16, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_SummerFlameBreath)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Skills/Flame Cone/Projectile/Small"), new Vector2(6f, 6f), 4, 5, 12, 12, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_SummerFlameBreath_Impact01)
         {
             Animation anim265 = new Animation(0, 0, Content.Load<Texture2D>("Effects/SpellEffects/Impact"), new Vector2(14f, 12f), 4, 6, 25, 24, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim265.iID, anim265);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_SummerFlameBreath_FloorFire01)
         {
             Animation anim266 = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Summer/Face/Breath/Floor"), new Vector2(7f, 24f), 4, 16, 15, 26, 0, 0, 16, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim266.iID, anim266);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_WinterFrostBreath_BeamFloorEffect)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Winter/Beam/Floor"), new Vector2(17f, 15f), 4, 3, 34, 25, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnSmallSpore_Looping)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Spore/Small"), new Vector2(5f, 5f), 4, 10, 11, 11, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Spore/SmallDisappear"), new Vector2(5f, 5f), 4, 7, 11, 11, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnBigSpore_Looping)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Spore/Big"), new Vector2(6f, 6f), 4, 10, 13, 13, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Spore/BigDisappear"), new Vector2(6f, 6f), 4, 7, 13, 13, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnMushroom_Explosion)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Mushroom/Explosion/Big"), new Vector2(22f, 26f), 4, 9, 44, 43, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_EvolveEffect)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Evolve"), new Vector2(55f, 55f), 4, 5, 109, 109, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_HeadAppearWaterFront)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/SplashFront"), new Vector2(45f, 40f), 4, 26, 91, 61, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_HeadAppearWaterBack)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/SplashBack"), new Vector2(45f, 40f), 4, 11, 91, 61, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_WaterRingBeneath)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/Ring"), new Vector2(20f, 15f), 4, 10, 40, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_PreAppearBubbleBig)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/BigBubble"), new Vector2(12f, 11f), 4, 13, 24, 14, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_PreAppearBubbleSmall)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/SmallBubble"), new Vector2(9f, 9f), 4, 13, 18, 12, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_BallAppearWaterFront)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/SplashFront"), new Vector2(45f, 40f), 4, 26, 91, 61, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.GoToFrame, new float[]
                 {
                     21f
                 }))
             });
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
     }
     if (xARC.GetCurrentAnimation() != null)
     {
         xARC.SwitchAnimation(xARC.iActiveAnimation, Animation.CancelOptions.RestartIfPlaying);
         xARC.fPassedTicks = (float)iFastForward;
     }
     xARC.xOwnerObject = this;
     if (enRegisterLayer == RenderMaster.SubRenderLayer.Sorted)
     {
         Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.BelowSorted)
     {
         Program.GetTheGame().xRenderMaster.RegisterBelowSorted(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.AboveSorted)
     {
         Program.GetTheGame().xRenderMaster.RegisterAboveSorted(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.GUI)
     {
         Program.GetTheGame().xRenderMaster.RegisterGUIRenderComponent(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.AboveAll)
     {
         Program.GetTheGame().xRenderMaster.RegisterAboveAllRenderComponent(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.Background)
     {
         Program.GetTheGame().xRenderMaster.RegisterBackground(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.Parallax)
     {
         Program.GetTheGame().xRenderMaster.RegisterParallax(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.ShadowLayer)
     {
         Program.GetTheGame().xRenderMaster.RegisterShadowLayer(this.xRenderComponent, iShadowLayerLayer);
     }
 }
예제 #7
0
 private AnimatedRenderComponent LoadFlapNumbers()
 {
     ContentManager Content = CAS.RegionContent;
     AnimatedRenderComponent xRenderComponent = new AnimatedRenderComponent(this);
     xRenderComponent.xTransform = new TransformComponent(Vector2.Zero);
     xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/1"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/2"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/3"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/4"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/5"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/6"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/7"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/8"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/9"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(9, new Animation(9, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/0"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(10, new Animation(10, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/0"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(11, new Animation(11, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/1"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(12, new Animation(12, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/2"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(13, new Animation(13, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/3"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(14, new Animation(14, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/4"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(15, new Animation(15, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/5"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/6"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(17, new Animation(17, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/7"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(18, new Animation(18, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/8"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(19, new Animation(19, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Scoreboard/9"), Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     for (ushort i = 10; i < 20; i += 1)
     {
         xRenderComponent.dixAnimations[i].bReversePlayback = true;
     }
     xRenderComponent.SwitchAnimation(0);
     xRenderComponent.fPassedTicks = 10000f;
     return xRenderComponent;
 }
예제 #8
0
 private AnimatedRenderComponent LoadDoor()
 {
     ContentManager Content = CAS.RegionContent;
     AnimatedRenderComponent xRenderComponent = new AnimatedRenderComponent(this);
     xRenderComponent.xTransform = new TransformComponent(Vector2.Zero);
     xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 6, 21, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/Close"), Vector2.Zero, 4, 6, 51, 50, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     Dictionary<ushort, Animation> arg_DB_0 = xRenderComponent.dixAnimations;
     ushort arg_DB_1 = 2;
     ushort arg_D6_0 = 2;
     byte arg_D6_1 = 0;
     Texture2D arg_D6_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/Open");
     Vector2 arg_D6_3 = Vector2.Zero;
     int arg_D6_4 = 4;
     int arg_D6_5 = 7;
     int arg_D6_6 = 51;
     int arg_D6_7 = 50;
     int arg_D6_8 = 0;
     int arg_D6_9 = 0;
     int arg_D6_10 = 20;
     Animation.LoopSettings arg_D6_11 = Animation.LoopSettings.Clamp;
     Animation.CancelOptions arg_D6_12 = Animation.CancelOptions.IgnoreIfPlaying;
     bool arg_D6_13 = true;
     bool arg_D6_14 = true;
     AnimationInstruction[] array = new AnimationInstruction[1];
     AnimationInstruction[] arg_D4_0 = array;
     int arg_D4_1 = 0;
     AnimInsCriteria arg_CF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
     AnimInsEvent.EventType arg_CA_0 = AnimInsEvent.EventType.PlayAnimation;
     float[] p_afAlterableValues = new float[1];
     arg_D4_0[arg_D4_1] = new AnimationInstruction(arg_CF_0, new AnimInsEvent(arg_CA_0, p_afAlterableValues));
     arg_DB_0.Add(arg_DB_1, new Animation(arg_D6_0, arg_D6_1, arg_D6_2, arg_D6_3, arg_D6_4, arg_D6_5, arg_D6_6, arg_D6_7, arg_D6_8, arg_D6_9, arg_D6_10, arg_D6_11, arg_D6_12, arg_D6_13, arg_D6_14, array));
     return xRenderComponent;
 }
예제 #9
0
 public override void OnAdd()
 {
     this.xDoor = this.LoadDoor();
     this.xDoor.xTransform.v2Pos = new Vector2(294f, 104f);
     Program.game.xRenderMaster.RegisterBelowSorted(this.xDoor);
 }
예제 #10
0
 private void LoadConveyorParts()
 {
     ContentManager Content = CAS.RegionContent;
     this.xConveyorEndLeft = new AnimatedRenderComponent(this);
     this.xConveyorEndLeft.xTransform = new TransformComponent(new Vector2(83f, 280f));
     this.xConveyorEndLeft.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Rullband/Machine"), new Vector2(0f, 160f), 4, 10, 44, 174, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     Program.game.xRenderMaster.RegisterSortedRenderComponent(this.xConveyorEndLeft);
     this.xConveyorEndRight = new AnimatedRenderComponent(this);
     this.xConveyorEndRight.xTransform = new TransformComponent(new Vector2(1265f, 280f));
     this.xConveyorEndRight.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Rullband/Machine"), new Vector2(44f, 160f), 4, 10, 44, 174, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xConveyorEndRight.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
     this.xConveyorEndRight.SwitchAnimation(0, Animation.CancelOptions.RestartIfPlaying);
     Program.game.xRenderMaster.RegisterSortedRenderComponent(this.xConveyorEndRight);
     for (int i = 0; i < 13; i++)
     {
         AnimatedRenderComponent x = new AnimatedRenderComponent(this);
         x.xTransform = new TransformComponent(new Vector2((float)(110 + i * 90), 147f));
         x.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Rullband/Mid"), Vector2.Zero, 3, 5, 92, 132, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Program.game.xRenderMaster.RegisterBelowSorted(x);
         this.lxConveyorMidParts.Add(x);
     }
 }
예제 #11
0
 public void LoadGraphics(ToyFactoryTrainStuffBagman.Train.GraphicType enType)
 {
     ContentManager Content = CAS.RegionContent;
     this.xRenderComponent = new AnimatedRenderComponent(this);
     this.xRenderComponent.xTransform = this.xTransform;
     bool bIsEngine = true;
     string sCartMos = "Train";
     if (enType == ToyFactoryTrainStuffBagman.Train.GraphicType.Cart01)
     {
         sCartMos = "Cart";
         bIsEngine = false;
     }
     if (bIsEngine)
     {
         this.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/Up"), new Vector2(11f, 16f), 4, 4, 23, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/UpRight"), new Vector2(13f, 15f), 4, 1, 23, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/Right"), new Vector2(12f, 17f), 4, 4, 23, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/DownRight"), new Vector2(10f, 16f), 4, 1, 23, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/Down"), new Vector2(11f, 16f), 4, 4, 23, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/DownRight"), new Vector2(10f, 16f), 4, 1, 23, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally;
         this.xRenderComponent.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/Right"), new Vector2(10f, 17f), 4, 4, 23, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations[6].enSpriteEffect = SpriteEffects.FlipHorizontally;
         this.xRenderComponent.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/UpRight"), new Vector2(9f, 15f), 4, 1, 23, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
     }
     else
     {
         this.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/Down"), new Vector2(9f, 12f), 4, 4, 19, 23, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/UpRight"), new Vector2(10f, 12f), 4, 1, 19, 23, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/Right"), new Vector2(9f, 12f), 4, 4, 19, 23, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/DownRight"), new Vector2(10f, 12f), 4, 1, 19, 23, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/Down"), new Vector2(9f, 12f), 4, 4, 19, 23, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/DownRight"), new Vector2(10f, 12f), 4, 1, 19, 23, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally;
         this.xRenderComponent.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/Right"), new Vector2(9f, 12f), 4, 4, 19, 23, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations[6].enSpriteEffect = SpriteEffects.FlipHorizontally;
         this.xRenderComponent.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/" + sCartMos + "/Idle/UpRight"), new Vector2(10f, 12f), 4, 1, 19, 23, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
     }
     Program.game.xRenderMaster.RegisterSortedRenderComponent(this.xRenderComponent);
 }
예제 #12
0
 public void LoadGraphics()
 {
     ContentManager Content = CAS.RegionContent;
     this.xRenderComponent = new AnimatedRenderComponent(this);
     this.xRenderComponent.xTransform = new TransformComponent(this.v2Position);
     if (this.iDirection == 0)
     {
         this.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Up"), Vector2.Zero, 4, 1, 15, 14, 60, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Up"), Vector2.Zero, 4, 4, 15, 14, 60, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         this.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Up"), Vector2.Zero, 4, 1, 15, 14, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_172_0 = this.xRenderComponent.dixAnimations;
         ushort arg_172_1 = 3;
         ushort arg_16D_0 = 3;
         byte arg_16D_1 = 0;
         Texture2D arg_16D_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Up");
         Vector2 arg_16D_3 = Vector2.Zero;
         int arg_16D_4 = 4;
         int arg_16D_5 = 4;
         int arg_16D_6 = 15;
         int arg_16D_7 = 14;
         int arg_16D_8 = 0;
         int arg_16D_9 = 0;
         int arg_16D_10 = 20;
         Animation.LoopSettings arg_16D_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_16D_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_16D_13 = true;
         bool arg_16D_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_16B_0 = array;
         int arg_16B_1 = 0;
         AnimInsCriteria arg_166_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_161_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] p_afAlterableValues = new float[1];
         arg_16B_0[arg_16B_1] = new AnimationInstruction(arg_166_0, new AnimInsEvent(arg_161_0, p_afAlterableValues));
         arg_172_0.Add(arg_172_1, new Animation(arg_16D_0, arg_16D_1, arg_16D_2, arg_16D_3, arg_16D_4, arg_16D_5, arg_16D_6, arg_16D_7, arg_16D_8, arg_16D_9, arg_16D_10, arg_16D_11, arg_16D_12, arg_16D_13, arg_16D_14, array));
     }
     else if (this.iDirection == 1)
     {
         this.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Right"), Vector2.Zero, 4, 1, 14, 14, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Right"), Vector2.Zero, 4, 4, 14, 14, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         this.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Right"), Vector2.Zero, 4, 1, 14, 14, 56, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_2D0_0 = this.xRenderComponent.dixAnimations;
         ushort arg_2D0_1 = 3;
         ushort arg_2CB_0 = 3;
         byte arg_2CB_1 = 0;
         Texture2D arg_2CB_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Right");
         Vector2 arg_2CB_3 = Vector2.Zero;
         int arg_2CB_4 = 4;
         int arg_2CB_5 = 4;
         int arg_2CB_6 = 14;
         int arg_2CB_7 = 14;
         int arg_2CB_8 = 56;
         int arg_2CB_9 = 0;
         int arg_2CB_10 = 20;
         Animation.LoopSettings arg_2CB_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_2CB_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_2CB_13 = true;
         bool arg_2CB_14 = true;
         AnimationInstruction[] array2 = new AnimationInstruction[1];
         AnimationInstruction[] arg_2C8_0 = array2;
         int arg_2C8_1 = 0;
         AnimInsCriteria arg_2C3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_2BE_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] p_afAlterableValues2 = new float[1];
         arg_2C8_0[arg_2C8_1] = new AnimationInstruction(arg_2C3_0, new AnimInsEvent(arg_2BE_0, p_afAlterableValues2));
         arg_2D0_0.Add(arg_2D0_1, new Animation(arg_2CB_0, arg_2CB_1, arg_2CB_2, arg_2CB_3, arg_2CB_4, arg_2CB_5, arg_2CB_6, arg_2CB_7, arg_2CB_8, arg_2CB_9, arg_2CB_10, arg_2CB_11, arg_2CB_12, arg_2CB_13, arg_2CB_14, array2));
     }
     else if (this.iDirection == 2)
     {
         this.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Down"), Vector2.Zero, 4, 1, 15, 14, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Down"), Vector2.Zero, 4, 4, 15, 14, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         this.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Down"), Vector2.Zero, 4, 1, 15, 14, 60, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_42E_0 = this.xRenderComponent.dixAnimations;
         ushort arg_42E_1 = 3;
         ushort arg_429_0 = 3;
         byte arg_429_1 = 0;
         Texture2D arg_429_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Down");
         Vector2 arg_429_3 = Vector2.Zero;
         int arg_429_4 = 4;
         int arg_429_5 = 4;
         int arg_429_6 = 15;
         int arg_429_7 = 14;
         int arg_429_8 = 60;
         int arg_429_9 = 0;
         int arg_429_10 = 20;
         Animation.LoopSettings arg_429_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_429_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_429_13 = true;
         bool arg_429_14 = true;
         AnimationInstruction[] array3 = new AnimationInstruction[1];
         AnimationInstruction[] arg_426_0 = array3;
         int arg_426_1 = 0;
         AnimInsCriteria arg_421_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_41C_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] p_afAlterableValues3 = new float[1];
         arg_426_0[arg_426_1] = new AnimationInstruction(arg_421_0, new AnimInsEvent(arg_41C_0, p_afAlterableValues3));
         arg_42E_0.Add(arg_42E_1, new Animation(arg_429_0, arg_429_1, arg_429_2, arg_429_3, arg_429_4, arg_429_5, arg_429_6, arg_429_7, arg_429_8, arg_429_9, arg_429_10, arg_429_11, arg_429_12, arg_429_13, arg_429_14, array3));
     }
     else if (this.iDirection == 3)
     {
         this.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Right"), Vector2.Zero, 4, 1, 14, 14, 56, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
         this.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Right"), Vector2.Zero, 4, 4, 14, 14, 56, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         this.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         this.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Right"), Vector2.Zero, 4, 1, 14, 14, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         this.xRenderComponent.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally;
         Dictionary<ushort, Animation> arg_5D1_0 = this.xRenderComponent.dixAnimations;
         ushort arg_5D1_1 = 3;
         ushort arg_5CC_0 = 3;
         byte arg_5CC_1 = 0;
         Texture2D arg_5CC_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Rail/Right");
         Vector2 arg_5CC_3 = Vector2.Zero;
         int arg_5CC_4 = 4;
         int arg_5CC_5 = 4;
         int arg_5CC_6 = 14;
         int arg_5CC_7 = 14;
         int arg_5CC_8 = 0;
         int arg_5CC_9 = 0;
         int arg_5CC_10 = 20;
         Animation.LoopSettings arg_5CC_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_5CC_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_5CC_13 = true;
         bool arg_5CC_14 = true;
         AnimationInstruction[] array4 = new AnimationInstruction[1];
         AnimationInstruction[] arg_5C9_0 = array4;
         int arg_5C9_1 = 0;
         AnimInsCriteria arg_5C4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_5BF_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] p_afAlterableValues4 = new float[1];
         arg_5C9_0[arg_5C9_1] = new AnimationInstruction(arg_5C4_0, new AnimInsEvent(arg_5BF_0, p_afAlterableValues4));
         arg_5D1_0.Add(arg_5D1_1, new Animation(arg_5CC_0, arg_5CC_1, arg_5CC_2, arg_5CC_3, arg_5CC_4, arg_5CC_5, arg_5CC_6, arg_5CC_7, arg_5CC_8, arg_5CC_9, arg_5CC_10, arg_5CC_11, arg_5CC_12, arg_5CC_13, arg_5CC_14, array4));
         this.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
     }
     this.xRenderComponent.SwitchAnimation(0, Animation.CancelOptions.RestartIfPlaying);
     Program.game.xRenderMaster.RegisterSortedRenderComponent(this.xRenderComponent);
 }
예제 #13
0
 public HydraBall(string sSeason)
 {
     this.xRC = new AnimatedRenderComponent(new EntityShell(Vector2.Zero));
     string MONSTER_PATH = "Sprites/Monster/";
     this.xRC.dixAnimations.Add(0, new Animation(0, 1, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Turn/Right"), new Vector2(13f, 13f), 4, 1, 27, 27, 81, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xRC.dixAnimations.Add(1, new Animation(1, 3, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Turn/Right"), new Vector2(13f, 13f), 4, 1, 27, 27, 81, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xRC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
     Dictionary<ushort, Animation> arg_15B_0 = this.xRC.dixAnimations;
     ushort arg_15B_1 = 2;
     ushort arg_156_0 = 2;
     byte arg_156_1 = 1;
     Texture2D arg_156_2 = CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Turn/Right");
     Vector2 arg_156_3 = new Vector2(13f, 13f);
     int arg_156_4 = 4;
     int arg_156_5 = 3;
     int arg_156_6 = 27;
     int arg_156_7 = 27;
     int arg_156_8 = 0;
     int arg_156_9 = 0;
     int arg_156_10 = 14;
     Animation.LoopSettings arg_156_11 = Animation.LoopSettings.Clamp;
     Animation.CancelOptions arg_156_12 = Animation.CancelOptions.IgnoreIfPlaying;
     bool arg_156_13 = true;
     bool arg_156_14 = true;
     AnimationInstruction[] array = new AnimationInstruction[1];
     AnimationInstruction[] arg_154_0 = array;
     int arg_154_1 = 0;
     AnimInsCriteria arg_14F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
     AnimInsEvent.EventType arg_14A_0 = AnimInsEvent.EventType.PlayAnimation;
     float[] p_afAlterableValues = new float[1];
     arg_154_0[arg_154_1] = new AnimationInstruction(arg_14F_0, new AnimInsEvent(arg_14A_0, p_afAlterableValues));
     arg_15B_0.Add(arg_15B_1, new Animation(arg_156_0, arg_156_1, arg_156_2, arg_156_3, arg_156_4, arg_156_5, arg_156_6, arg_156_7, arg_156_8, arg_156_9, arg_156_10, arg_156_11, arg_156_12, arg_156_13, arg_156_14, array));
     this.xRC.dixAnimations.Add(3, new Animation(3, 3, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Turn/Right"), new Vector2(13f, 13f), 4, 3, 27, 27, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
     {
         new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             1f
         }))
     }));
     this.xRC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
     this.xRC.dixAnimations.Add(4, new Animation(4, 1, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Bend/Right"), new Vector2(15f, 14f), 4, 6, 30, 29, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xRC.dixAnimations[4].bReversePlayback = true;
     this.xRC.dixAnimations.Add(5, new Animation(5, 2, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Bend/Down"), new Vector2(15f, 14f), 4, 6, 30, 29, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xRC.dixAnimations[5].bReversePlayback = true;
     this.xRC.dixAnimations.Add(6, new Animation(6, 2, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Bend/Down"), new Vector2(15f, 14f), 4, 6, 30, 29, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xRC.dixAnimations[6].bReversePlayback = true;
     this.xRC.dixAnimations[6].enSpriteEffect = SpriteEffects.FlipHorizontally;
     this.xRC.dixAnimations.Add(7, new Animation(7, 3, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Bend/Right"), new Vector2(15f, 14f), 4, 6, 30, 29, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xRC.dixAnimations[7].bReversePlayback = true;
     this.xRC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
     this.xRC.dixAnimations.Add(8, new Animation(8, 1, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Bend/Right"), new Vector2(15f, 14f), 4, 3, 30, 29, 90, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xRC.dixAnimations.Add(9, new Animation(9, 2, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Bend/Down"), new Vector2(15f, 14f), 4, 3, 30, 29, 90, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xRC.dixAnimations.Add(10, new Animation(10, 2, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Bend/Down"), new Vector2(15f, 14f), 4, 3, 30, 29, 90, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xRC.dixAnimations[10].enSpriteEffect = SpriteEffects.FlipHorizontally;
     this.xRC.dixAnimations.Add(11, new Animation(11, 3, CAS.RegionContent.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Body/Bend/Right"), new Vector2(15f, 14f), 4, 3, 30, 29, 90, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     this.xRC.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally;
     this.xRC.SwitchAnimation(0);
 }
예제 #14
0
 public static void SetAndSwitch(AnimatedRenderComponent xRC, Animation xAnim)
 {
     xRC.dixAnimations[0] = xAnim;
     xRC.SwitchAnimation(0, Animation.CancelOptions.RestartIfPlaying);
 }
예제 #15
0
 public DynamicLight()
 {
     this.xTransform = new TransformComponent(Vector2.Zero);
     this.xRenderComponent = new AnimatedRenderComponent(this);
     this.enEntityType = IEntity.EntityType.DynamicLight;
 }