public override void OnAdd() { Game1 master = Program.GetTheGame(); Collider colbol = new BoxCollider(new Rectangle(1037, 283, 43, 148)); colbol.ibitLayers = Utility.CreateIntMask(new int[] { 1 }); master.xCollisionMaster.RegisterStaticCollider(colbol); colbol = new BoxCollider(new Rectangle(1526, 283, 43, 148)); colbol.ibitLayers = Utility.CreateIntMask(new int[] { 1 }); master.xCollisionMaster.RegisterStaticCollider(colbol); }
public override void OnAdd() { this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(347f, 431f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(364f, 428f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(381f, 433f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(398f, 427f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(415f, 430f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(432f, 438f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(437f, 454f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(434f, 468f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(442f, 479f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(434f, 491f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(439f, 503f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(434f, 514f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(437f, 529f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(436f, 541f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(439f, 553f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(429f, 568f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(412f, 565f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(396f, 569f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(379f, 565f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(362f, 569f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(345f, 564f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(334f, 556f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(337f, 542f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(334f, 529f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(338f, 516f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(331f, 504f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(336f, 492f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(334f, 480f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(336f, 468f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(333f, 456f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)) as SortedAnimated); this.lxBlocksLeft.Add(Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(337f, 443f), SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)) as SortedAnimated); for (int i = 0; i < this.lxBlocksLeft.Count; i++) { (this.lxBlocksLeft[i].xRenderComponent as AnimatedRenderComponent).SwitchAnimation(1, Animation.CancelOptions.IgnoreIfPlaying); } Collider colbol = new BoxCollider(new Rectangle(319, 415, 134, 156)); colbol.ibitLayers = Utility.CreateIntMask(new int[] { 1 }); Program.game.xCollisionMaster.RegisterStaticCollider(colbol); this.left = colbol; }
public SlimeBoss() { this.xSpinnerAttackPhase = new AttackPhase(this); this.xSpinnerAttackPhase.lenLayers.Add(Collider.ColliderLayers.Players); BoxCollider col = new BoxCollider(66, 40, 0f, new Vector2(0f, -7f), this.xTransform, 10000f, this); SphereCollider col2 = new SphereCollider(20f, new Vector2(-37f, -7f), this.xTransform, 10000f, this); SphereCollider col3 = new SphereCollider(20f, new Vector2(37f, -7f), this.xTransform, 10000f, this); this.xSpinnerAttackPhase.lxCurrentColliders.Add(col); this.xSpinnerAttackPhase.lxCurrentColliders.Add(col2); this.xSpinnerAttackPhase.lxCurrentColliders.Add(col3); col.xAttackPhase = this.xSpinnerAttackPhase; col2.xAttackPhase = this.xSpinnerAttackPhase; col3.xAttackPhase = this.xSpinnerAttackPhase; this.xSpinnerAttackPhase.xStats.fKnockBack = 40f; this.xSpinnerAttackPhase.xStats.iBaseDamage = 35; this.xSpinnerAttackPhase.xStats.enAttackElement = AttackStats.Element.Neutral; this.xSpinnerAttackPhase.xStats.enAttackType = AttackStats.Type.Physical; }
private Vector2 ResolveMovementCollision(SphereCollider col1, BoxCollider col2) { Vector2 v2ModifiedCirclePos = col1.WorldPosition; if (col2.fRotation != 0f) { v2ModifiedCirclePos = Utility.RotateVector2AroundPoint(col2.WorldPosition, v2ModifiedCirclePos, -col2.fRotation); } Vector2 v2ClosestPoint = new Vector2(MathHelper.Clamp(v2ModifiedCirclePos.X, col2.Left, col2.Right), MathHelper.Clamp(v2ModifiedCirclePos.Y, col2.Top, col2.Bottom)); bool bCenterWithin = false; Vector2 v2Dir; if (v2ModifiedCirclePos.X >= col2.Left && v2ModifiedCirclePos.X <= col2.Right && v2ModifiedCirclePos.Y >= col2.Top && v2ModifiedCirclePos.Y <= col2.Bottom) { float fClosest = v2ModifiedCirclePos.Y - col2.Top; byte byDir = 0; if (col2.Bottom - v2ModifiedCirclePos.Y < fClosest) { fClosest = col2.Bottom - v2ModifiedCirclePos.Y; byDir = 2; } if (v2ModifiedCirclePos.X - col2.Left < fClosest) { fClosest = v2ModifiedCirclePos.X - col2.Left; byDir = 3; } if (col2.Right - v2ModifiedCirclePos.X < fClosest) { byDir = 1; } v2Dir = Utility.AnimationDirectionToVector2((int)byDir); if (byDir == 1) { v2ClosestPoint.X = col2.Right; } else if (byDir == 2) { v2ClosestPoint.Y = col2.Bottom; } else if (byDir == 3) { v2ClosestPoint.X = col2.Left; } else { v2ClosestPoint.Y = col2.Top; } bCenterWithin = true; } else { if (col2.fRotation == 0f) { v2Dir = col1.xMountTransform.v2Pos - v2ClosestPoint; } else { v2Dir = Utility.RotateVector2AroundPoint(col2.WorldPosition, col1.xMountTransform.v2Pos, -col2.fRotation) - v2ClosestPoint; } v2Dir.Normalize(); if (float.IsNaN(v2Dir.X)) { v2Dir = new Vector2(0f, 1f); } } if (col2.fRotation != 0f) { v2Dir = Utility.RotateDirectionVector(v2Dir, col2.fRotation); } if (col1.v2OverridePushDirection != Vector2.Zero) { v2Dir = -col1.v2OverridePushDirection; } else if (col2.v2OverridePushDirection != Vector2.Zero) { v2Dir = col2.v2OverridePushDirection; } if (!bCenterWithin) { v2Dir *= col1.fRadius - Vector2.Distance(v2ModifiedCirclePos, v2ClosestPoint); } else { v2Dir *= col1.fRadius + Vector2.Distance(v2ModifiedCirclePos, v2ClosestPoint); } return v2Dir; }
private void CreateBarricades() { if (this.xBarricadeCollider != null) { return; } this.iCounter = 0; this.iBarricadeState = 1; this.xBarricadeCollider = new BoxCollider(new Rectangle(989, 429, 68, 26)); this.xBarricadeCollider.ibitLayers = Utility.CreateIntMask(new int[] { 2 }); Program.game.xCollisionMaster.RegisterStaticCollider(this.xBarricadeCollider); }
public static Collider ReadBasic(NetIncomingMessage msg) { Collider ret; if (msg.ReadByte() == 0) { ret = new BoxCollider(msg.ReadInt32(), msg.ReadInt32(), msg.ReadFloat(), new Vector2(msg.ReadFloat(), msg.ReadFloat()), null, 0f, null); ret.ibitLayers = msg.ReadInt32(); } else { ret = new SphereCollider(msg.ReadFloat(), new Vector2(msg.ReadFloat(), msg.ReadFloat()), 0f, null); ret.ibitLayers = msg.ReadInt32(); } return ret; }
public static bool CheckSphereVsBoxCollision(SphereCollider col1, BoxCollider col2, out Vector2 v2Normal) { v2Normal = Vector2.Zero; if (!col1.bIsActive || !col2.bIsActive) { return false; } Vector2 v2ModifiedCirclePos = col1.WorldPosition; if (col2.fRotation != 0f) { v2ModifiedCirclePos = Utility.RotateVector2AroundPoint(col2.WorldPosition, v2ModifiedCirclePos, -col2.fRotation); } float closestX = MathHelper.Clamp(v2ModifiedCirclePos.X, col2.Left, col2.Right); float closestY = MathHelper.Clamp(v2ModifiedCirclePos.Y, col2.Top, col2.Bottom); float distanceX = v2ModifiedCirclePos.X - closestX; float distanceY = v2ModifiedCirclePos.Y - closestY; float distanceSquared = distanceX * distanceX + distanceY * distanceY; if (distanceSquared < col1.fRadius * col1.fRadius) { Vector2 v2TopLeft = new Vector2(col2.Left, col2.Top); Vector2 v2TopRight = new Vector2(col2.Right, col2.Top); Vector2 v2BotLeft = new Vector2(col2.Left, col2.Bottom); Vector2 v2BotRight = new Vector2(col2.Right, col2.Bottom); float fTopLeft = Utility.Vector2ToRadians(Vector2.Normalize(v2TopLeft - col2.WorldPosition)) + 3.14159274f; float fTopRight = Utility.Vector2ToRadians(Vector2.Normalize(v2TopRight - col2.WorldPosition)) + 3.14159274f; float fBotLeft = Utility.Vector2ToRadians(Vector2.Normalize(v2BotLeft - col2.WorldPosition)) + 3.14159274f; float fBotRight = Utility.Vector2ToRadians(Vector2.Normalize(v2BotRight - col2.WorldPosition)) + 3.14159274f; float fCircle = Utility.Vector2ToRadians(Vector2.Normalize(v2ModifiedCirclePos - col2.WorldPosition)) + 3.14159274f; if (fCircle >= fTopRight || fCircle <= fTopLeft) { v2Normal = new Vector2(0f, -1f); } else if (fCircle < fTopRight && fCircle >= fBotRight) { v2Normal = new Vector2(1f, 0f); } else if (fCircle < fBotRight && fCircle >= fBotLeft) { v2Normal = new Vector2(0f, 1f); } else { v2Normal = new Vector2(-1f, 0f); } v2Normal = Utility.RotateDirectionVector(v2Normal, col2.fRotation); return true; } return false; }
public static bool CheckBoxVsBoxCollision(BoxCollider col1, BoxCollider col2) { if (!col1.bIsActive || !col2.bIsActive) { return false; } if (col1.fRotation != 0f && col2.fRotation != 0f) { return false; } Vector2 v2TopLeft = new Vector2(col1.Left, col1.Top); Vector2 v2TopRight = new Vector2(col1.Right, col1.Top); Vector2 v2BottomLeft = new Vector2(col1.Left, col1.Bottom); Vector2 v2BottomRight = new Vector2(col1.Right, col1.Bottom); BoxCollider colToCheck = col2; if (col1.fRotation != 0f) { v2TopLeft = new Vector2(col2.Left, col2.Top); v2TopRight = new Vector2(col2.Right, col2.Top); v2BottomLeft = new Vector2(col2.Left, col2.Bottom); v2BottomRight = new Vector2(col2.Right, col2.Bottom); v2TopLeft = Utility.RotateVector2AroundPoint(col1.WorldPosition, v2TopLeft, -col1.fRotation); v2TopRight = Utility.RotateVector2AroundPoint(col1.WorldPosition, v2TopRight, -col1.fRotation); v2BottomLeft = Utility.RotateVector2AroundPoint(col1.WorldPosition, v2BottomLeft, -col1.fRotation); v2BottomRight = Utility.RotateVector2AroundPoint(col1.WorldPosition, v2BottomRight, -col1.fRotation); colToCheck = col1; } else if (col2.fRotation != 0f) { v2TopLeft = Utility.RotateVector2AroundPoint(col2.WorldPosition, v2TopLeft, -col2.fRotation); v2TopRight = Utility.RotateVector2AroundPoint(col2.WorldPosition, v2TopRight, -col2.fRotation); v2BottomLeft = Utility.RotateVector2AroundPoint(col2.WorldPosition, v2BottomLeft, -col2.fRotation); v2BottomRight = Utility.RotateVector2AroundPoint(col2.WorldPosition, v2BottomRight, -col2.fRotation); } Vector2 arg_190_0 = Vector2.Zero; bool bReturn; if (col1.fRotation != 0f || col2.fRotation != 0f) { bReturn = (colToCheck.IsPointInside(v2TopLeft) || colToCheck.IsPointInside(v2TopRight) || colToCheck.IsPointInside(v2BottomLeft) || colToCheck.IsPointInside(v2BottomRight)); } else { bReturn = (Rectangle.Intersect(new Rectangle((int)col1.Left, (int)col1.Top, col1.iWidth, col1.iHeight), new Rectangle((int)col2.Left, (int)col2.Top, col2.iWidth, col2.iHeight)) != Rectangle.Empty); } return bReturn; }
public static Enemy GetEnemyInstance(EnemyCodex.EnemyTypes enType) { Enemy xEn = new Enemy(); ContentManager Content = Program.GetTheGame().xLevelMaster.contRegionContent; string MONSTER_PATH = "Sprites/Monster/"; if (enType == EnemyCodex.EnemyTypes.GreenSlime) { xEn.xBaseStats.fMovementSpeed = 1f; xEn.enType = enType; xEn.xBehaviour = new SlimeAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 2; xEn.aiHitAnimation[1] = 2; xEn.aiHitAnimation[2] = 2; xEn.aiHitAnimation[3] = 2; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; xEn.xBaseStats.bCanBeKnockedUp = true; RenderMaster.PlayfieldRenderPass en = RenderMaster.PlayfieldRenderPass.Season_Spring; xEn.xRenderComponent.dditxAlternateTextures[en] = new Dictionary<ushort, Texture2D>(); Dictionary<ushort, Texture2D> x = xEn.xRenderComponent.dditxAlternateTextures[en]; x[0] = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Idle/Up"); x[1] = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Run/Up"); x[2] = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Up"); x[3] = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Reverse"); x[4] = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Attack/Up"); x[5] = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Attack/Right"); x[6] = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Attack/Down"); x[7] = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Attack/Left"); xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Idle/Up"), new Vector2(14f, 14f), 4, 8, 25, 18, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_24F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_24F_1 = 1; ushort arg_24A_0 = 1; byte arg_24A_1 = 0; Texture2D arg_24A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Run/Up"); Vector2 arg_24A_3 = new Vector2(14f, 19f); int arg_24A_4 = 4; int arg_24A_5 = 14; int arg_24A_6 = 25; int arg_24A_7 = 23; int arg_24A_8 = 0; int arg_24A_9 = 0; int arg_24A_10 = 14; Animation.LoopSettings arg_24A_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_24A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_24A_13 = true; bool arg_24A_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_247_0 = array; int arg_247_1 = 0; AnimInsCriteria arg_242_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_23D_0 = AnimInsEvent.EventType.PlaySound; string arg_23D_1 = "Slime_Jump"; float[] p_afAlterableValues = new float[1]; arg_247_0[arg_247_1] = new AnimationInstruction(arg_242_0, new AnimInsEvent(arg_23D_0, arg_23D_1, p_afAlterableValues)); arg_24F_0.Add(arg_24F_1, new Animation(arg_24A_0, arg_24A_1, arg_24A_2, arg_24A_3, arg_24A_4, arg_24A_5, arg_24A_6, arg_24A_7, arg_24A_8, arg_24A_9, arg_24A_10, arg_24A_11, arg_24A_12, arg_24A_13, arg_24A_14, array)); Dictionary<ushort, Animation> arg_308_0 = xEn.xRenderComponent.dixAnimations; ushort arg_308_1 = 2; ushort arg_303_0 = 2; byte arg_303_1 = 0; Texture2D arg_303_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Damage/Up"); Vector2 arg_303_3 = new Vector2(14f, 10f); int arg_303_4 = 4; int arg_303_5 = 2; int arg_303_6 = 27; int arg_303_7 = 14; int arg_303_8 = 0; int arg_303_9 = 0; int arg_303_10 = 2; Animation.LoopSettings arg_303_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_303_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_303_13 = false; bool arg_303_14 = false; AnimationInstruction[] array2 = new AnimationInstruction[2]; AnimationInstruction[] arg_2D2_0 = array2; int arg_2D2_1 = 0; AnimInsCriteria arg_2CD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_2C8_0 = AnimInsEvent.EventType.FreezeFrame; float[] array3 = new float[2]; array3[0] = 10f; arg_2D2_0[arg_2D2_1] = new AnimationInstruction(arg_2CD_0, new AnimInsEvent(arg_2C8_0, array3)); array2[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_308_0.Add(arg_308_1, new Animation(arg_303_0, arg_303_1, arg_303_2, arg_303_3, arg_303_4, arg_303_5, arg_303_6, arg_303_7, arg_303_8, arg_303_9, arg_303_10, arg_303_11, arg_303_12, arg_303_13, arg_303_14, array2)); Dictionary<ushort, Animation> arg_37C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_37C_1 = 3; ushort arg_377_0 = 3; byte arg_377_1 = 0; Texture2D arg_377_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Damage/Reverse"); Vector2 arg_377_3 = new Vector2(14f, 10f); int arg_377_4 = 4; int arg_377_5 = 2; int arg_377_6 = 27; int arg_377_7 = 14; int arg_377_8 = 0; int arg_377_9 = 0; int arg_377_10 = 2; Animation.LoopSettings arg_377_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_377_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_377_13 = false; bool arg_377_14 = false; AnimationInstruction[] array4 = new AnimationInstruction[1]; AnimationInstruction[] arg_374_0 = array4; int arg_374_1 = 0; AnimInsCriteria arg_36F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_36A_0 = AnimInsEvent.EventType.PlayAnimation; float[] p_afAlterableValues2 = new float[1]; arg_374_0[arg_374_1] = new AnimationInstruction(arg_36F_0, new AnimInsEvent(arg_36A_0, p_afAlterableValues2)); arg_37C_0.Add(arg_37C_1, new Animation(arg_377_0, arg_377_1, arg_377_2, arg_377_3, arg_377_4, arg_377_5, arg_377_6, arg_377_7, arg_377_8, arg_377_9, arg_377_10, arg_377_11, arg_377_12, arg_377_13, arg_377_14, array4)); Dictionary<ushort, Animation> arg_4E6_0 = xEn.xRenderComponent.dixAnimations; ushort arg_4E6_1 = 4; ushort arg_4E1_0 = 4; byte arg_4E1_1 = 0; Texture2D arg_4E1_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Attack/Up"); Vector2 arg_4E1_3 = new Vector2(12f, 17f); int arg_4E1_4 = 4; int arg_4E1_5 = 18; int arg_4E1_6 = 21; int arg_4E1_7 = 26; int arg_4E1_8 = 0; int arg_4E1_9 = 0; int arg_4E1_10 = 18; Animation.LoopSettings arg_4E1_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_4E1_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_4E1_13 = false; bool arg_4E1_14 = true; AnimationInstruction[] array5 = new AnimationInstruction[5]; array5[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_442_0 = array5; int arg_442_1 = 1; AnimInsCriteria arg_43D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_438_0 = AnimInsEvent.EventType.FreezeFrame; float[] array6 = new float[2]; array6[0] = 10f; arg_442_0[arg_442_1] = new AnimationInstruction(arg_43D_0, new AnimInsEvent(arg_438_0, array6)); array5[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -3f })); AnimationInstruction[] arg_4B9_0 = array5; int arg_4B9_1 = 3; AnimInsCriteria arg_4B4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_4AF_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_4B9_0[arg_4B9_1] = new AnimationInstruction(arg_4B4_0, new AnimInsEvent(arg_4AF_0, array6)); AnimationInstruction[] arg_4DE_0 = array5; int arg_4DE_1 = 4; AnimInsCriteria arg_4D9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_4D4_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_4DE_0[arg_4DE_1] = new AnimationInstruction(arg_4D9_0, new AnimInsEvent(arg_4D4_0, array6)); arg_4E6_0.Add(arg_4E6_1, new Animation(arg_4E1_0, arg_4E1_1, arg_4E1_2, arg_4E1_3, arg_4E1_4, arg_4E1_5, arg_4E1_6, arg_4E1_7, arg_4E1_8, arg_4E1_9, arg_4E1_10, arg_4E1_11, arg_4E1_12, arg_4E1_13, arg_4E1_14, array5)); Dictionary<ushort, Animation> arg_650_0 = xEn.xRenderComponent.dixAnimations; ushort arg_650_1 = 5; ushort arg_64B_0 = 5; byte arg_64B_1 = 1; Texture2D arg_64B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Attack/Right"); Vector2 arg_64B_3 = new Vector2(17f, 12f); int arg_64B_4 = 4; int arg_64B_5 = 18; int arg_64B_6 = 29; int arg_64B_7 = 16; int arg_64B_8 = 0; int arg_64B_9 = 0; int arg_64B_10 = 18; Animation.LoopSettings arg_64B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_64B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_64B_13 = false; bool arg_64B_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_5AC_0 = array; int arg_5AC_1 = 1; AnimInsCriteria arg_5A7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_5A2_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_5AC_0[arg_5AC_1] = new AnimationInstruction(arg_5A7_0, new AnimInsEvent(arg_5A2_0, array6)); AnimationInstruction[] arg_5E7_0 = array; int arg_5E7_1 = 2; AnimInsCriteria arg_5E2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_5DD_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 3f; arg_5E7_0[arg_5E7_1] = new AnimationInstruction(arg_5E2_0, new AnimInsEvent(arg_5DD_0, array6)); AnimationInstruction[] arg_623_0 = array; int arg_623_1 = 3; AnimInsCriteria arg_61E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_619_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_623_0[arg_623_1] = new AnimationInstruction(arg_61E_0, new AnimInsEvent(arg_619_0, array6)); AnimationInstruction[] arg_648_0 = array; int arg_648_1 = 4; AnimInsCriteria arg_643_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_63E_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_648_0[arg_648_1] = new AnimationInstruction(arg_643_0, new AnimInsEvent(arg_63E_0, array6)); arg_650_0.Add(arg_650_1, new Animation(arg_64B_0, arg_64B_1, arg_64B_2, arg_64B_3, arg_64B_4, arg_64B_5, arg_64B_6, arg_64B_7, arg_64B_8, arg_64B_9, arg_64B_10, arg_64B_11, arg_64B_12, arg_64B_13, arg_64B_14, array)); Dictionary<ushort, Animation> arg_7BA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7BA_1 = 6; ushort arg_7B5_0 = 6; byte arg_7B5_1 = 2; Texture2D arg_7B5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Attack/Down"); Vector2 arg_7B5_3 = new Vector2(12f, 18f); int arg_7B5_4 = 4; int arg_7B5_5 = 18; int arg_7B5_6 = 21; int arg_7B5_7 = 26; int arg_7B5_8 = 0; int arg_7B5_9 = 0; int arg_7B5_10 = 18; Animation.LoopSettings arg_7B5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_7B5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7B5_13 = false; bool arg_7B5_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_716_0 = array; int arg_716_1 = 1; AnimInsCriteria arg_711_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_70C_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_716_0[arg_716_1] = new AnimationInstruction(arg_711_0, new AnimInsEvent(arg_70C_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 3f })); AnimationInstruction[] arg_78D_0 = array; int arg_78D_1 = 3; AnimInsCriteria arg_788_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_783_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_78D_0[arg_78D_1] = new AnimationInstruction(arg_788_0, new AnimInsEvent(arg_783_0, array6)); AnimationInstruction[] arg_7B2_0 = array; int arg_7B2_1 = 4; AnimInsCriteria arg_7AD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_7A8_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_7B2_0[arg_7B2_1] = new AnimationInstruction(arg_7AD_0, new AnimInsEvent(arg_7A8_0, array6)); arg_7BA_0.Add(arg_7BA_1, new Animation(arg_7B5_0, arg_7B5_1, arg_7B5_2, arg_7B5_3, arg_7B5_4, arg_7B5_5, arg_7B5_6, arg_7B5_7, arg_7B5_8, arg_7B5_9, arg_7B5_10, arg_7B5_11, arg_7B5_12, arg_7B5_13, arg_7B5_14, array)); Dictionary<ushort, Animation> arg_924_0 = xEn.xRenderComponent.dixAnimations; ushort arg_924_1 = 7; ushort arg_91F_0 = 7; byte arg_91F_1 = 3; Texture2D arg_91F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Attack/Left"); Vector2 arg_91F_3 = new Vector2(17f, 12f); int arg_91F_4 = 4; int arg_91F_5 = 18; int arg_91F_6 = 29; int arg_91F_7 = 16; int arg_91F_8 = 0; int arg_91F_9 = 0; int arg_91F_10 = 18; Animation.LoopSettings arg_91F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_91F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_91F_13 = false; bool arg_91F_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_880_0 = array; int arg_880_1 = 1; AnimInsCriteria arg_87B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_876_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_880_0[arg_880_1] = new AnimationInstruction(arg_87B_0, new AnimInsEvent(arg_876_0, array6)); AnimationInstruction[] arg_8BB_0 = array; int arg_8BB_1 = 2; AnimInsCriteria arg_8B6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_8B1_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -3f; arg_8BB_0[arg_8BB_1] = new AnimationInstruction(arg_8B6_0, new AnimInsEvent(arg_8B1_0, array6)); AnimationInstruction[] arg_8F7_0 = array; int arg_8F7_1 = 3; AnimInsCriteria arg_8F2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_8ED_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_8F7_0[arg_8F7_1] = new AnimationInstruction(arg_8F2_0, new AnimInsEvent(arg_8ED_0, array6)); AnimationInstruction[] arg_91C_0 = array; int arg_91C_1 = 4; AnimInsCriteria arg_917_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_912_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_91C_0[arg_91C_1] = new AnimationInstruction(arg_917_0, new AnimInsEvent(arg_912_0, array6)); arg_924_0.Add(arg_924_1, new Animation(arg_91F_0, arg_91F_1, arg_91F_2, arg_91F_3, arg_91F_4, arg_91F_5, arg_91F_6, arg_91F_7, arg_91F_8, arg_91F_9, arg_91F_10, arg_91F_11, arg_91F_12, arg_91F_13, arg_91F_14, array)); Dictionary<ushort, Animation> arg_9CB_0 = xEn.xRenderComponent.dixAnimations; ushort arg_9CB_1 = 8; ushort arg_9C6_0 = 8; byte arg_9C6_1 = 0; Texture2D arg_9C6_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Fall/Impact"); Vector2 arg_9C6_3 = new Vector2(17f, 12f); int arg_9C6_4 = 4; int arg_9C6_5 = 5; int arg_9C6_6 = 32; int arg_9C6_7 = 20; int arg_9C6_8 = 0; int arg_9C6_9 = 0; int arg_9C6_10 = 5; Animation.LoopSettings arg_9C6_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_9C6_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_9C6_13 = false; bool arg_9C6_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_99E_0 = array; int arg_99E_1 = 0; AnimInsCriteria arg_999_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_994_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_99E_0[arg_99E_1] = new AnimationInstruction(arg_999_0, new AnimInsEvent(arg_994_0, array6)); AnimationInstruction[] arg_9C3_0 = array; int arg_9C3_1 = 1; AnimInsCriteria arg_9BE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_9B9_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_9C3_0[arg_9C3_1] = new AnimationInstruction(arg_9BE_0, new AnimInsEvent(arg_9B9_0, array6)); arg_9CB_0.Add(arg_9CB_1, new Animation(arg_9C6_0, arg_9C6_1, arg_9C6_2, arg_9C6_3, arg_9C6_4, arg_9C6_5, arg_9C6_6, arg_9C6_7, arg_9C6_8, arg_9C6_9, arg_9C6_10, arg_9C6_11, arg_9C6_12, arg_9C6_13, arg_9C6_14, array)); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_B93_0 = xEn.xRenderComponent.dixAnimations; ushort arg_B93_1 = 40004; ushort arg_B8E_0 = 40004; byte arg_B8E_1 = 0; Texture2D arg_B8E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Damage/Reverse"); Vector2 arg_B8E_3 = new Vector2(14f, 10f); int arg_B8E_4 = 4; int arg_B8E_5 = 2; int arg_B8E_6 = 27; int arg_B8E_7 = 14; int arg_B8E_8 = 0; int arg_B8E_9 = 0; int arg_B8E_10 = 2; Animation.LoopSettings arg_B8E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_B8E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_B8E_13 = false; bool arg_B8E_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_B8B_0 = array; int arg_B8B_1 = 0; AnimInsCriteria arg_B86_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_B81_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_B8B_0[arg_B8B_1] = new AnimationInstruction(arg_B86_0, new AnimInsEvent(arg_B81_0, array6)); arg_B93_0.Add(arg_B93_1, new Animation(arg_B8E_0, arg_B8E_1, arg_B8E_2, arg_B8E_3, arg_B8E_4, arg_B8E_5, arg_B8E_6, arg_B8E_7, arg_B8E_8, arg_B8E_9, arg_B8E_10, arg_B8E_11, arg_B8E_12, arg_B8E_13, arg_B8E_14, array)); Dictionary<ushort, Animation> arg_C0F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_C0F_1 = 40005; ushort arg_C0A_0 = 40005; byte arg_C0A_1 = 1; Texture2D arg_C0A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Damage/Reverse"); Vector2 arg_C0A_3 = new Vector2(14f, 10f); int arg_C0A_4 = 4; int arg_C0A_5 = 2; int arg_C0A_6 = 27; int arg_C0A_7 = 14; int arg_C0A_8 = 0; int arg_C0A_9 = 0; int arg_C0A_10 = 2; Animation.LoopSettings arg_C0A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_C0A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_C0A_13 = false; bool arg_C0A_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_C07_0 = array; int arg_C07_1 = 0; AnimInsCriteria arg_C02_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_BFD_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_C07_0[arg_C07_1] = new AnimationInstruction(arg_C02_0, new AnimInsEvent(arg_BFD_0, array6)); arg_C0F_0.Add(arg_C0F_1, new Animation(arg_C0A_0, arg_C0A_1, arg_C0A_2, arg_C0A_3, arg_C0A_4, arg_C0A_5, arg_C0A_6, arg_C0A_7, arg_C0A_8, arg_C0A_9, arg_C0A_10, arg_C0A_11, arg_C0A_12, arg_C0A_13, arg_C0A_14, array)); Dictionary<ushort, Animation> arg_C8B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_C8B_1 = 40006; ushort arg_C86_0 = 40006; byte arg_C86_1 = 2; Texture2D arg_C86_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Damage/Reverse"); Vector2 arg_C86_3 = new Vector2(14f, 10f); int arg_C86_4 = 4; int arg_C86_5 = 2; int arg_C86_6 = 27; int arg_C86_7 = 14; int arg_C86_8 = 0; int arg_C86_9 = 0; int arg_C86_10 = 2; Animation.LoopSettings arg_C86_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_C86_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_C86_13 = false; bool arg_C86_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_C83_0 = array; int arg_C83_1 = 0; AnimInsCriteria arg_C7E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_C79_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_C83_0[arg_C83_1] = new AnimationInstruction(arg_C7E_0, new AnimInsEvent(arg_C79_0, array6)); arg_C8B_0.Add(arg_C8B_1, new Animation(arg_C86_0, arg_C86_1, arg_C86_2, arg_C86_3, arg_C86_4, arg_C86_5, arg_C86_6, arg_C86_7, arg_C86_8, arg_C86_9, arg_C86_10, arg_C86_11, arg_C86_12, arg_C86_13, arg_C86_14, array)); Dictionary<ushort, Animation> arg_D07_0 = xEn.xRenderComponent.dixAnimations; ushort arg_D07_1 = 40007; ushort arg_D02_0 = 40007; byte arg_D02_1 = 3; Texture2D arg_D02_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Damage/Reverse"); Vector2 arg_D02_3 = new Vector2(14f, 10f); int arg_D02_4 = 4; int arg_D02_5 = 2; int arg_D02_6 = 27; int arg_D02_7 = 14; int arg_D02_8 = 0; int arg_D02_9 = 0; int arg_D02_10 = 2; Animation.LoopSettings arg_D02_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_D02_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_D02_13 = false; bool arg_D02_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_CFF_0 = array; int arg_CFF_1 = 0; AnimInsCriteria arg_CFA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_CF5_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_CFF_0[arg_CFF_1] = new AnimationInstruction(arg_CFA_0, new AnimInsEvent(arg_CF5_0, array6)); arg_D07_0.Add(arg_D07_1, new Animation(arg_D02_0, arg_D02_1, arg_D02_2, arg_D02_3, arg_D02_4, arg_D02_5, arg_D02_6, arg_D02_7, arg_D02_8, arg_D02_9, arg_D02_10, arg_D02_11, arg_D02_12, arg_D02_13, arg_D02_14, array)); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "GreenSlime"; SortedAnimated.PreLoadMany(new SortedAnimated.SortedAnimatedEffects[] { SortedAnimated.SortedAnimatedEffects._HitEffect_SlimeParticle, SortedAnimated.SortedAnimatedEffects.SlimeDeath }); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.SlimeDeath; xEn.liAnimationsWithAttackphase.Add(4); xEn.liAnimationsWithAttackphase.Add(5); xEn.liAnimationsWithAttackphase.Add(6); xEn.liAnimationsWithAttackphase.Add(7); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.RedSlime) { xEn.xBaseStats.fMovementSpeed = 1.5f; xEn.enType = enType; xEn.xBehaviour = new SlimeAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 2; xEn.aiHitAnimation[1] = 2; xEn.aiHitAnimation[2] = 2; xEn.aiHitAnimation[3] = 2; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Idle/Up"), new Vector2(14f, 14f), 4, 8, 25, 18, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_F65_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F65_1 = 1; ushort arg_F60_0 = 1; byte arg_F60_1 = 0; Texture2D arg_F60_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Run/Slime"); Vector2 arg_F60_3 = new Vector2(18f, 21f); int arg_F60_4 = 4; int arg_F60_5 = 14; int arg_F60_6 = 33; int arg_F60_7 = 29; int arg_F60_8 = 0; int arg_F60_9 = 0; int arg_F60_10 = 14; Animation.LoopSettings arg_F60_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_F60_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F60_13 = true; bool arg_F60_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_F2A_0 = array; int arg_F2A_1 = 0; AnimInsCriteria arg_F25_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_F20_0 = AnimInsEvent.EventType.PlaySound; string arg_F20_1 = "Slime_Jump"; float[] array6 = new float[1]; arg_F2A_0[arg_F2A_1] = new AnimationInstruction(arg_F25_0, new AnimInsEvent(arg_F20_0, arg_F20_1, array6)); AnimationInstruction[] arg_F5D_0 = array; int arg_F5D_1 = 1; AnimInsCriteria arg_F58_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_F53_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_F5D_0[arg_F5D_1] = new AnimationInstruction(arg_F58_0, new AnimInsEvent(arg_F53_0, array6)); arg_F65_0[arg_F65_1] = new Animation(arg_F60_0, arg_F60_1, arg_F60_2, arg_F60_3, arg_F60_4, arg_F60_5, arg_F60_6, arg_F60_7, arg_F60_8, arg_F60_9, arg_F60_10, arg_F60_11, arg_F60_12, arg_F60_13, arg_F60_14, array); Dictionary<ushort, Animation> arg_101E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_101E_1 = 2; ushort arg_1019_0 = 2; byte arg_1019_1 = 0; Texture2D arg_1019_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Up"); Vector2 arg_1019_3 = new Vector2(14f, 10f); int arg_1019_4 = 4; int arg_1019_5 = 2; int arg_1019_6 = 27; int arg_1019_7 = 14; int arg_1019_8 = 0; int arg_1019_9 = 0; int arg_1019_10 = 2; Animation.LoopSettings arg_1019_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1019_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1019_13 = false; bool arg_1019_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_FE8_0 = array; int arg_FE8_1 = 0; AnimInsCriteria arg_FE3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_FDE_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_FE8_0[arg_FE8_1] = new AnimationInstruction(arg_FE3_0, new AnimInsEvent(arg_FDE_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_101E_0.Add(arg_101E_1, new Animation(arg_1019_0, arg_1019_1, arg_1019_2, arg_1019_3, arg_1019_4, arg_1019_5, arg_1019_6, arg_1019_7, arg_1019_8, arg_1019_9, arg_1019_10, arg_1019_11, arg_1019_12, arg_1019_13, arg_1019_14, array)); Dictionary<ushort, Animation> arg_1092_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1092_1 = 3; ushort arg_108D_0 = 3; byte arg_108D_1 = 0; Texture2D arg_108D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Reverse"); Vector2 arg_108D_3 = new Vector2(14f, 10f); int arg_108D_4 = 4; int arg_108D_5 = 2; int arg_108D_6 = 27; int arg_108D_7 = 14; int arg_108D_8 = 0; int arg_108D_9 = 0; int arg_108D_10 = 2; Animation.LoopSettings arg_108D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_108D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_108D_13 = false; bool arg_108D_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_108A_0 = array; int arg_108A_1 = 0; AnimInsCriteria arg_1085_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1080_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_108A_0[arg_108A_1] = new AnimationInstruction(arg_1085_0, new AnimInsEvent(arg_1080_0, array6)); arg_1092_0.Add(arg_1092_1, new Animation(arg_108D_0, arg_108D_1, arg_108D_2, arg_108D_3, arg_108D_4, arg_108D_5, arg_108D_6, arg_108D_7, arg_108D_8, arg_108D_9, arg_108D_10, arg_108D_11, arg_108D_12, arg_108D_13, arg_108D_14, array)); Dictionary<ushort, Animation> arg_1286_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1286_1 = 4; ushort arg_1281_0 = 4; byte arg_1281_1 = 0; Texture2D arg_1281_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Attack/Up"); Vector2 arg_1281_3 = new Vector2(12f, 17f); int arg_1281_4 = 4; int arg_1281_5 = 18; int arg_1281_6 = 21; int arg_1281_7 = 26; int arg_1281_8 = 0; int arg_1281_9 = 0; int arg_1281_10 = 18; Animation.LoopSettings arg_1281_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1281_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1281_13 = false; bool arg_1281_14 = true; array = new AnimationInstruction[7]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 4f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 3f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_11E2_0 = array; int arg_11E2_1 = 3; AnimInsCriteria arg_11DD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_11D8_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_11E2_0[arg_11E2_1] = new AnimationInstruction(arg_11DD_0, new AnimInsEvent(arg_11D8_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -3f })); AnimationInstruction[] arg_1259_0 = array; int arg_1259_1 = 5; AnimInsCriteria arg_1254_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_124F_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_1259_0[arg_1259_1] = new AnimationInstruction(arg_1254_0, new AnimInsEvent(arg_124F_0, array6)); AnimationInstruction[] arg_127E_0 = array; int arg_127E_1 = 6; AnimInsCriteria arg_1279_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1274_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_127E_0[arg_127E_1] = new AnimationInstruction(arg_1279_0, new AnimInsEvent(arg_1274_0, array6)); arg_1286_0.Add(arg_1286_1, new Animation(arg_1281_0, arg_1281_1, arg_1281_2, arg_1281_3, arg_1281_4, arg_1281_5, arg_1281_6, arg_1281_7, arg_1281_8, arg_1281_9, arg_1281_10, arg_1281_11, arg_1281_12, arg_1281_13, arg_1281_14, array)); Dictionary<ushort, Animation> arg_147A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_147A_1 = 5; ushort arg_1475_0 = 5; byte arg_1475_1 = 1; Texture2D arg_1475_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Attack/Right"); Vector2 arg_1475_3 = new Vector2(17f, 13f); int arg_1475_4 = 4; int arg_1475_5 = 18; int arg_1475_6 = 29; int arg_1475_7 = 16; int arg_1475_8 = 0; int arg_1475_9 = 0; int arg_1475_10 = 18; Animation.LoopSettings arg_1475_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1475_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1475_13 = false; bool arg_1475_14 = true; array = new AnimationInstruction[7]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 4f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 3f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_13D6_0 = array; int arg_13D6_1 = 3; AnimInsCriteria arg_13D1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_13CC_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_13D6_0[arg_13D6_1] = new AnimationInstruction(arg_13D1_0, new AnimInsEvent(arg_13CC_0, array6)); AnimationInstruction[] arg_1411_0 = array; int arg_1411_1 = 4; AnimInsCriteria arg_140C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_1407_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 3f; arg_1411_0[arg_1411_1] = new AnimationInstruction(arg_140C_0, new AnimInsEvent(arg_1407_0, array6)); AnimationInstruction[] arg_144D_0 = array; int arg_144D_1 = 5; AnimInsCriteria arg_1448_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_1443_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_144D_0[arg_144D_1] = new AnimationInstruction(arg_1448_0, new AnimInsEvent(arg_1443_0, array6)); AnimationInstruction[] arg_1472_0 = array; int arg_1472_1 = 6; AnimInsCriteria arg_146D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1468_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1472_0[arg_1472_1] = new AnimationInstruction(arg_146D_0, new AnimInsEvent(arg_1468_0, array6)); arg_147A_0.Add(arg_147A_1, new Animation(arg_1475_0, arg_1475_1, arg_1475_2, arg_1475_3, arg_1475_4, arg_1475_5, arg_1475_6, arg_1475_7, arg_1475_8, arg_1475_9, arg_1475_10, arg_1475_11, arg_1475_12, arg_1475_13, arg_1475_14, array)); Dictionary<ushort, Animation> arg_166E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_166E_1 = 6; ushort arg_1669_0 = 6; byte arg_1669_1 = 2; Texture2D arg_1669_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Attack/Down"); Vector2 arg_1669_3 = new Vector2(12f, 18f); int arg_1669_4 = 4; int arg_1669_5 = 18; int arg_1669_6 = 21; int arg_1669_7 = 26; int arg_1669_8 = 0; int arg_1669_9 = 0; int arg_1669_10 = 18; Animation.LoopSettings arg_1669_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1669_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1669_13 = false; bool arg_1669_14 = true; array = new AnimationInstruction[7]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 4f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 3f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_15CA_0 = array; int arg_15CA_1 = 3; AnimInsCriteria arg_15C5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_15C0_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_15CA_0[arg_15CA_1] = new AnimationInstruction(arg_15C5_0, new AnimInsEvent(arg_15C0_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 3f })); AnimationInstruction[] arg_1641_0 = array; int arg_1641_1 = 5; AnimInsCriteria arg_163C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_1637_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_1641_0[arg_1641_1] = new AnimationInstruction(arg_163C_0, new AnimInsEvent(arg_1637_0, array6)); AnimationInstruction[] arg_1666_0 = array; int arg_1666_1 = 6; AnimInsCriteria arg_1661_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_165C_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1666_0[arg_1666_1] = new AnimationInstruction(arg_1661_0, new AnimInsEvent(arg_165C_0, array6)); arg_166E_0.Add(arg_166E_1, new Animation(arg_1669_0, arg_1669_1, arg_1669_2, arg_1669_3, arg_1669_4, arg_1669_5, arg_1669_6, arg_1669_7, arg_1669_8, arg_1669_9, arg_1669_10, arg_1669_11, arg_1669_12, arg_1669_13, arg_1669_14, array)); Dictionary<ushort, Animation> arg_1862_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1862_1 = 7; ushort arg_185D_0 = 7; byte arg_185D_1 = 3; Texture2D arg_185D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Attack/Left"); Vector2 arg_185D_3 = new Vector2(17f, 13f); int arg_185D_4 = 4; int arg_185D_5 = 18; int arg_185D_6 = 29; int arg_185D_7 = 16; int arg_185D_8 = 0; int arg_185D_9 = 0; int arg_185D_10 = 18; Animation.LoopSettings arg_185D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_185D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_185D_13 = false; bool arg_185D_14 = true; array = new AnimationInstruction[7]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 4f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 3f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_17BE_0 = array; int arg_17BE_1 = 3; AnimInsCriteria arg_17B9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_17B4_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_17BE_0[arg_17BE_1] = new AnimationInstruction(arg_17B9_0, new AnimInsEvent(arg_17B4_0, array6)); AnimationInstruction[] arg_17F9_0 = array; int arg_17F9_1 = 4; AnimInsCriteria arg_17F4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_17EF_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -3f; arg_17F9_0[arg_17F9_1] = new AnimationInstruction(arg_17F4_0, new AnimInsEvent(arg_17EF_0, array6)); AnimationInstruction[] arg_1835_0 = array; int arg_1835_1 = 5; AnimInsCriteria arg_1830_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_182B_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_1835_0[arg_1835_1] = new AnimationInstruction(arg_1830_0, new AnimInsEvent(arg_182B_0, array6)); AnimationInstruction[] arg_185A_0 = array; int arg_185A_1 = 6; AnimInsCriteria arg_1855_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1850_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_185A_0[arg_185A_1] = new AnimationInstruction(arg_1855_0, new AnimInsEvent(arg_1850_0, array6)); arg_1862_0.Add(arg_1862_1, new Animation(arg_185D_0, arg_185D_1, arg_185D_2, arg_185D_3, arg_185D_4, arg_185D_5, arg_185D_6, arg_185D_7, arg_185D_8, arg_185D_9, arg_185D_10, arg_185D_11, arg_185D_12, arg_185D_13, arg_185D_14, array)); Dictionary<ushort, Animation> arg_1909_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1909_1 = 8; ushort arg_1904_0 = 8; byte arg_1904_1 = 0; Texture2D arg_1904_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Fall/Impact"); Vector2 arg_1904_3 = new Vector2(17f, 12f); int arg_1904_4 = 4; int arg_1904_5 = 5; int arg_1904_6 = 32; int arg_1904_7 = 20; int arg_1904_8 = 0; int arg_1904_9 = 0; int arg_1904_10 = 5; Animation.LoopSettings arg_1904_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1904_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1904_13 = false; bool arg_1904_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_18DC_0 = array; int arg_18DC_1 = 0; AnimInsCriteria arg_18D7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_18D2_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_18DC_0[arg_18DC_1] = new AnimationInstruction(arg_18D7_0, new AnimInsEvent(arg_18D2_0, array6)); AnimationInstruction[] arg_1901_0 = array; int arg_1901_1 = 1; AnimInsCriteria arg_18FC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_18F7_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1901_0[arg_1901_1] = new AnimationInstruction(arg_18FC_0, new AnimInsEvent(arg_18F7_0, array6)); arg_1909_0.Add(arg_1909_1, new Animation(arg_1904_0, arg_1904_1, arg_1904_2, arg_1904_3, arg_1904_4, arg_1904_5, arg_1904_6, arg_1904_7, arg_1904_8, arg_1904_9, arg_1904_10, arg_1904_11, arg_1904_12, arg_1904_13, arg_1904_14, array)); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_1AD1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1AD1_1 = 40004; ushort arg_1ACC_0 = 40004; byte arg_1ACC_1 = 0; Texture2D arg_1ACC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Reverse"); Vector2 arg_1ACC_3 = new Vector2(14f, 10f); int arg_1ACC_4 = 4; int arg_1ACC_5 = 2; int arg_1ACC_6 = 27; int arg_1ACC_7 = 14; int arg_1ACC_8 = 0; int arg_1ACC_9 = 0; int arg_1ACC_10 = 2; Animation.LoopSettings arg_1ACC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1ACC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1ACC_13 = false; bool arg_1ACC_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1AC9_0 = array; int arg_1AC9_1 = 0; AnimInsCriteria arg_1AC4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1ABF_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1AC9_0[arg_1AC9_1] = new AnimationInstruction(arg_1AC4_0, new AnimInsEvent(arg_1ABF_0, array6)); arg_1AD1_0.Add(arg_1AD1_1, new Animation(arg_1ACC_0, arg_1ACC_1, arg_1ACC_2, arg_1ACC_3, arg_1ACC_4, arg_1ACC_5, arg_1ACC_6, arg_1ACC_7, arg_1ACC_8, arg_1ACC_9, arg_1ACC_10, arg_1ACC_11, arg_1ACC_12, arg_1ACC_13, arg_1ACC_14, array)); Dictionary<ushort, Animation> arg_1B4D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1B4D_1 = 40005; ushort arg_1B48_0 = 40005; byte arg_1B48_1 = 1; Texture2D arg_1B48_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Reverse"); Vector2 arg_1B48_3 = new Vector2(14f, 10f); int arg_1B48_4 = 4; int arg_1B48_5 = 2; int arg_1B48_6 = 27; int arg_1B48_7 = 14; int arg_1B48_8 = 0; int arg_1B48_9 = 0; int arg_1B48_10 = 2; Animation.LoopSettings arg_1B48_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1B48_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1B48_13 = false; bool arg_1B48_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1B45_0 = array; int arg_1B45_1 = 0; AnimInsCriteria arg_1B40_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1B3B_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1B45_0[arg_1B45_1] = new AnimationInstruction(arg_1B40_0, new AnimInsEvent(arg_1B3B_0, array6)); arg_1B4D_0.Add(arg_1B4D_1, new Animation(arg_1B48_0, arg_1B48_1, arg_1B48_2, arg_1B48_3, arg_1B48_4, arg_1B48_5, arg_1B48_6, arg_1B48_7, arg_1B48_8, arg_1B48_9, arg_1B48_10, arg_1B48_11, arg_1B48_12, arg_1B48_13, arg_1B48_14, array)); Dictionary<ushort, Animation> arg_1BC9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1BC9_1 = 40006; ushort arg_1BC4_0 = 40006; byte arg_1BC4_1 = 2; Texture2D arg_1BC4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Reverse"); Vector2 arg_1BC4_3 = new Vector2(14f, 10f); int arg_1BC4_4 = 4; int arg_1BC4_5 = 2; int arg_1BC4_6 = 27; int arg_1BC4_7 = 14; int arg_1BC4_8 = 0; int arg_1BC4_9 = 0; int arg_1BC4_10 = 2; Animation.LoopSettings arg_1BC4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1BC4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1BC4_13 = false; bool arg_1BC4_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1BC1_0 = array; int arg_1BC1_1 = 0; AnimInsCriteria arg_1BBC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1BB7_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1BC1_0[arg_1BC1_1] = new AnimationInstruction(arg_1BBC_0, new AnimInsEvent(arg_1BB7_0, array6)); arg_1BC9_0.Add(arg_1BC9_1, new Animation(arg_1BC4_0, arg_1BC4_1, arg_1BC4_2, arg_1BC4_3, arg_1BC4_4, arg_1BC4_5, arg_1BC4_6, arg_1BC4_7, arg_1BC4_8, arg_1BC4_9, arg_1BC4_10, arg_1BC4_11, arg_1BC4_12, arg_1BC4_13, arg_1BC4_14, array)); Dictionary<ushort, Animation> arg_1C45_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1C45_1 = 40007; ushort arg_1C40_0 = 40007; byte arg_1C40_1 = 3; Texture2D arg_1C40_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Red Slime/Damage/Reverse"); Vector2 arg_1C40_3 = new Vector2(14f, 10f); int arg_1C40_4 = 4; int arg_1C40_5 = 2; int arg_1C40_6 = 27; int arg_1C40_7 = 14; int arg_1C40_8 = 0; int arg_1C40_9 = 0; int arg_1C40_10 = 2; Animation.LoopSettings arg_1C40_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1C40_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1C40_13 = false; bool arg_1C40_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1C3D_0 = array; int arg_1C3D_1 = 0; AnimInsCriteria arg_1C38_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1C33_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1C3D_0[arg_1C3D_1] = new AnimationInstruction(arg_1C38_0, new AnimInsEvent(arg_1C33_0, array6)); arg_1C45_0.Add(arg_1C45_1, new Animation(arg_1C40_0, arg_1C40_1, arg_1C40_2, arg_1C40_3, arg_1C40_4, arg_1C40_5, arg_1C40_6, arg_1C40_7, arg_1C40_8, arg_1C40_9, arg_1C40_10, arg_1C40_11, arg_1C40_12, arg_1C40_13, arg_1C40_14, array)); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "GreenSlime"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.SlimeDeathRed; xEn.liAnimationsWithAttackphase.Add(4); xEn.liAnimationsWithAttackphase.Add(5); xEn.liAnimationsWithAttackphase.Add(6); xEn.liAnimationsWithAttackphase.Add(7); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.GreenSlime_RingQuestVersion) { xEn.xBaseStats.fMovementSpeed = 1f; xEn.enType = enType; xEn.xBehaviour = new SlimeAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 2; xEn.aiHitAnimation[1] = 2; xEn.aiHitAnimation[2] = 2; xEn.aiHitAnimation[3] = 2; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Idle/Up"), new Vector2(14f, 14f), 4, 8, 25, 18, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_1E53_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1E53_1 = 1; ushort arg_1E4E_0 = 1; byte arg_1E4E_1 = 0; Texture2D arg_1E4E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Run/Up"); Vector2 arg_1E4E_3 = new Vector2(14f, 20f); int arg_1E4E_4 = 4; int arg_1E4E_5 = 14; int arg_1E4E_6 = 25; int arg_1E4E_7 = 23; int arg_1E4E_8 = 0; int arg_1E4E_9 = 0; int arg_1E4E_10 = 14; Animation.LoopSettings arg_1E4E_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_1E4E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1E4E_13 = true; bool arg_1E4E_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_1E4B_0 = array; int arg_1E4B_1 = 0; AnimInsCriteria arg_1E46_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1E41_0 = AnimInsEvent.EventType.PlaySound; string arg_1E41_1 = "Slime_Jump"; float[] array6 = new float[1]; arg_1E4B_0[arg_1E4B_1] = new AnimationInstruction(arg_1E46_0, new AnimInsEvent(arg_1E41_0, arg_1E41_1, array6)); arg_1E53_0.Add(arg_1E53_1, new Animation(arg_1E4E_0, arg_1E4E_1, arg_1E4E_2, arg_1E4E_3, arg_1E4E_4, arg_1E4E_5, arg_1E4E_6, arg_1E4E_7, arg_1E4E_8, arg_1E4E_9, arg_1E4E_10, arg_1E4E_11, arg_1E4E_12, arg_1E4E_13, arg_1E4E_14, array)); Dictionary<ushort, Animation> arg_1F0C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1F0C_1 = 2; ushort arg_1F07_0 = 2; byte arg_1F07_1 = 0; Texture2D arg_1F07_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Damage/Up"); Vector2 arg_1F07_3 = new Vector2(14f, 10f); int arg_1F07_4 = 4; int arg_1F07_5 = 2; int arg_1F07_6 = 27; int arg_1F07_7 = 14; int arg_1F07_8 = 0; int arg_1F07_9 = 0; int arg_1F07_10 = 2; Animation.LoopSettings arg_1F07_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1F07_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1F07_13 = false; bool arg_1F07_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1ED6_0 = array; int arg_1ED6_1 = 0; AnimInsCriteria arg_1ED1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1ECC_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_1ED6_0[arg_1ED6_1] = new AnimationInstruction(arg_1ED1_0, new AnimInsEvent(arg_1ECC_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_1F0C_0.Add(arg_1F0C_1, new Animation(arg_1F07_0, arg_1F07_1, arg_1F07_2, arg_1F07_3, arg_1F07_4, arg_1F07_5, arg_1F07_6, arg_1F07_7, arg_1F07_8, arg_1F07_9, arg_1F07_10, arg_1F07_11, arg_1F07_12, arg_1F07_13, arg_1F07_14, array)); Dictionary<ushort, Animation> arg_1F80_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1F80_1 = 3; ushort arg_1F7B_0 = 3; byte arg_1F7B_1 = 0; Texture2D arg_1F7B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Damage/Reverse"); Vector2 arg_1F7B_3 = new Vector2(14f, 10f); int arg_1F7B_4 = 4; int arg_1F7B_5 = 2; int arg_1F7B_6 = 27; int arg_1F7B_7 = 14; int arg_1F7B_8 = 0; int arg_1F7B_9 = 0; int arg_1F7B_10 = 2; Animation.LoopSettings arg_1F7B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1F7B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1F7B_13 = false; bool arg_1F7B_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1F78_0 = array; int arg_1F78_1 = 0; AnimInsCriteria arg_1F73_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1F6E_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1F78_0[arg_1F78_1] = new AnimationInstruction(arg_1F73_0, new AnimInsEvent(arg_1F6E_0, array6)); arg_1F80_0.Add(arg_1F80_1, new Animation(arg_1F7B_0, arg_1F7B_1, arg_1F7B_2, arg_1F7B_3, arg_1F7B_4, arg_1F7B_5, arg_1F7B_6, arg_1F7B_7, arg_1F7B_8, arg_1F7B_9, arg_1F7B_10, arg_1F7B_11, arg_1F7B_12, arg_1F7B_13, arg_1F7B_14, array)); Dictionary<ushort, Animation> arg_20EA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_20EA_1 = 4; ushort arg_20E5_0 = 4; byte arg_20E5_1 = 0; Texture2D arg_20E5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Attack/Up"); Vector2 arg_20E5_3 = new Vector2(12f, 17f); int arg_20E5_4 = 4; int arg_20E5_5 = 18; int arg_20E5_6 = 21; int arg_20E5_7 = 26; int arg_20E5_8 = 0; int arg_20E5_9 = 0; int arg_20E5_10 = 18; Animation.LoopSettings arg_20E5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_20E5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_20E5_13 = false; bool arg_20E5_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_2046_0 = array; int arg_2046_1 = 1; AnimInsCriteria arg_2041_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_203C_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_2046_0[arg_2046_1] = new AnimationInstruction(arg_2041_0, new AnimInsEvent(arg_203C_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -3f })); AnimationInstruction[] arg_20BD_0 = array; int arg_20BD_1 = 3; AnimInsCriteria arg_20B8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_20B3_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_20BD_0[arg_20BD_1] = new AnimationInstruction(arg_20B8_0, new AnimInsEvent(arg_20B3_0, array6)); AnimationInstruction[] arg_20E2_0 = array; int arg_20E2_1 = 4; AnimInsCriteria arg_20DD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_20D8_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_20E2_0[arg_20E2_1] = new AnimationInstruction(arg_20DD_0, new AnimInsEvent(arg_20D8_0, array6)); arg_20EA_0.Add(arg_20EA_1, new Animation(arg_20E5_0, arg_20E5_1, arg_20E5_2, arg_20E5_3, arg_20E5_4, arg_20E5_5, arg_20E5_6, arg_20E5_7, arg_20E5_8, arg_20E5_9, arg_20E5_10, arg_20E5_11, arg_20E5_12, arg_20E5_13, arg_20E5_14, array)); Dictionary<ushort, Animation> arg_2254_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2254_1 = 5; ushort arg_224F_0 = 5; byte arg_224F_1 = 1; Texture2D arg_224F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Attack/Right"); Vector2 arg_224F_3 = new Vector2(17f, 13f); int arg_224F_4 = 4; int arg_224F_5 = 18; int arg_224F_6 = 29; int arg_224F_7 = 16; int arg_224F_8 = 0; int arg_224F_9 = 0; int arg_224F_10 = 18; Animation.LoopSettings arg_224F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_224F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_224F_13 = false; bool arg_224F_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_21B0_0 = array; int arg_21B0_1 = 1; AnimInsCriteria arg_21AB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_21A6_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_21B0_0[arg_21B0_1] = new AnimationInstruction(arg_21AB_0, new AnimInsEvent(arg_21A6_0, array6)); AnimationInstruction[] arg_21EB_0 = array; int arg_21EB_1 = 2; AnimInsCriteria arg_21E6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_21E1_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 3f; arg_21EB_0[arg_21EB_1] = new AnimationInstruction(arg_21E6_0, new AnimInsEvent(arg_21E1_0, array6)); AnimationInstruction[] arg_2227_0 = array; int arg_2227_1 = 3; AnimInsCriteria arg_2222_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_221D_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_2227_0[arg_2227_1] = new AnimationInstruction(arg_2222_0, new AnimInsEvent(arg_221D_0, array6)); AnimationInstruction[] arg_224C_0 = array; int arg_224C_1 = 4; AnimInsCriteria arg_2247_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2242_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_224C_0[arg_224C_1] = new AnimationInstruction(arg_2247_0, new AnimInsEvent(arg_2242_0, array6)); arg_2254_0.Add(arg_2254_1, new Animation(arg_224F_0, arg_224F_1, arg_224F_2, arg_224F_3, arg_224F_4, arg_224F_5, arg_224F_6, arg_224F_7, arg_224F_8, arg_224F_9, arg_224F_10, arg_224F_11, arg_224F_12, arg_224F_13, arg_224F_14, array)); Dictionary<ushort, Animation> arg_23BE_0 = xEn.xRenderComponent.dixAnimations; ushort arg_23BE_1 = 6; ushort arg_23B9_0 = 6; byte arg_23B9_1 = 2; Texture2D arg_23B9_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Attack/Down"); Vector2 arg_23B9_3 = new Vector2(12f, 18f); int arg_23B9_4 = 4; int arg_23B9_5 = 18; int arg_23B9_6 = 21; int arg_23B9_7 = 26; int arg_23B9_8 = 0; int arg_23B9_9 = 0; int arg_23B9_10 = 18; Animation.LoopSettings arg_23B9_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_23B9_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_23B9_13 = false; bool arg_23B9_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_231A_0 = array; int arg_231A_1 = 1; AnimInsCriteria arg_2315_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_2310_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_231A_0[arg_231A_1] = new AnimationInstruction(arg_2315_0, new AnimInsEvent(arg_2310_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 3f })); AnimationInstruction[] arg_2391_0 = array; int arg_2391_1 = 3; AnimInsCriteria arg_238C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_2387_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_2391_0[arg_2391_1] = new AnimationInstruction(arg_238C_0, new AnimInsEvent(arg_2387_0, array6)); AnimationInstruction[] arg_23B6_0 = array; int arg_23B6_1 = 4; AnimInsCriteria arg_23B1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_23AC_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_23B6_0[arg_23B6_1] = new AnimationInstruction(arg_23B1_0, new AnimInsEvent(arg_23AC_0, array6)); arg_23BE_0.Add(arg_23BE_1, new Animation(arg_23B9_0, arg_23B9_1, arg_23B9_2, arg_23B9_3, arg_23B9_4, arg_23B9_5, arg_23B9_6, arg_23B9_7, arg_23B9_8, arg_23B9_9, arg_23B9_10, arg_23B9_11, arg_23B9_12, arg_23B9_13, arg_23B9_14, array)); Dictionary<ushort, Animation> arg_2528_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2528_1 = 7; ushort arg_2523_0 = 7; byte arg_2523_1 = 3; Texture2D arg_2523_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Attack/Left"); Vector2 arg_2523_3 = new Vector2(17f, 13f); int arg_2523_4 = 4; int arg_2523_5 = 18; int arg_2523_6 = 29; int arg_2523_7 = 16; int arg_2523_8 = 0; int arg_2523_9 = 0; int arg_2523_10 = 18; Animation.LoopSettings arg_2523_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2523_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2523_13 = false; bool arg_2523_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_2484_0 = array; int arg_2484_1 = 1; AnimInsCriteria arg_247F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_247A_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_2484_0[arg_2484_1] = new AnimationInstruction(arg_247F_0, new AnimInsEvent(arg_247A_0, array6)); AnimationInstruction[] arg_24BF_0 = array; int arg_24BF_1 = 2; AnimInsCriteria arg_24BA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_24B5_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -3f; arg_24BF_0[arg_24BF_1] = new AnimationInstruction(arg_24BA_0, new AnimInsEvent(arg_24B5_0, array6)); AnimationInstruction[] arg_24FB_0 = array; int arg_24FB_1 = 3; AnimInsCriteria arg_24F6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_24F1_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_24FB_0[arg_24FB_1] = new AnimationInstruction(arg_24F6_0, new AnimInsEvent(arg_24F1_0, array6)); AnimationInstruction[] arg_2520_0 = array; int arg_2520_1 = 4; AnimInsCriteria arg_251B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2516_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2520_0[arg_2520_1] = new AnimationInstruction(arg_251B_0, new AnimInsEvent(arg_2516_0, array6)); arg_2528_0.Add(arg_2528_1, new Animation(arg_2523_0, arg_2523_1, arg_2523_2, arg_2523_3, arg_2523_4, arg_2523_5, arg_2523_6, arg_2523_7, arg_2523_8, arg_2523_9, arg_2523_10, arg_2523_11, arg_2523_12, arg_2523_13, arg_2523_14, array)); Dictionary<ushort, Animation> arg_259C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_259C_1 = 8; ushort arg_2597_0 = 8; byte arg_2597_1 = 0; Texture2D arg_2597_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Fall/Impact"); Vector2 arg_2597_3 = new Vector2(13f, 15f); int arg_2597_4 = 4; int arg_2597_5 = 5; int arg_2597_6 = 25; int arg_2597_7 = 18; int arg_2597_8 = 0; int arg_2597_9 = 0; int arg_2597_10 = 5; Animation.LoopSettings arg_2597_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2597_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2597_13 = false; bool arg_2597_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2594_0 = array; int arg_2594_1 = 0; AnimInsCriteria arg_258F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_258A_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2594_0[arg_2594_1] = new AnimationInstruction(arg_258F_0, new AnimInsEvent(arg_258A_0, array6)); arg_259C_0.Add(arg_259C_1, new Animation(arg_2597_0, arg_2597_1, arg_2597_2, arg_2597_3, arg_2597_4, arg_2597_5, arg_2597_6, arg_2597_7, arg_2597_8, arg_2597_9, arg_2597_10, arg_2597_11, arg_2597_12, arg_2597_13, arg_2597_14, array)); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Damage/Up"), new Vector2(14f, 10f), 4, 1, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_2764_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2764_1 = 40004; ushort arg_275F_0 = 40004; byte arg_275F_1 = 0; Texture2D arg_275F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Damage/Reverse"); Vector2 arg_275F_3 = new Vector2(14f, 10f); int arg_275F_4 = 4; int arg_275F_5 = 2; int arg_275F_6 = 27; int arg_275F_7 = 14; int arg_275F_8 = 0; int arg_275F_9 = 0; int arg_275F_10 = 2; Animation.LoopSettings arg_275F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_275F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_275F_13 = false; bool arg_275F_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_275C_0 = array; int arg_275C_1 = 0; AnimInsCriteria arg_2757_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2752_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_275C_0[arg_275C_1] = new AnimationInstruction(arg_2757_0, new AnimInsEvent(arg_2752_0, array6)); arg_2764_0.Add(arg_2764_1, new Animation(arg_275F_0, arg_275F_1, arg_275F_2, arg_275F_3, arg_275F_4, arg_275F_5, arg_275F_6, arg_275F_7, arg_275F_8, arg_275F_9, arg_275F_10, arg_275F_11, arg_275F_12, arg_275F_13, arg_275F_14, array)); Dictionary<ushort, Animation> arg_27E0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_27E0_1 = 40005; ushort arg_27DB_0 = 40005; byte arg_27DB_1 = 1; Texture2D arg_27DB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Damage/Reverse"); Vector2 arg_27DB_3 = new Vector2(14f, 10f); int arg_27DB_4 = 4; int arg_27DB_5 = 2; int arg_27DB_6 = 27; int arg_27DB_7 = 14; int arg_27DB_8 = 0; int arg_27DB_9 = 0; int arg_27DB_10 = 2; Animation.LoopSettings arg_27DB_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_27DB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_27DB_13 = false; bool arg_27DB_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_27D8_0 = array; int arg_27D8_1 = 0; AnimInsCriteria arg_27D3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_27CE_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_27D8_0[arg_27D8_1] = new AnimationInstruction(arg_27D3_0, new AnimInsEvent(arg_27CE_0, array6)); arg_27E0_0.Add(arg_27E0_1, new Animation(arg_27DB_0, arg_27DB_1, arg_27DB_2, arg_27DB_3, arg_27DB_4, arg_27DB_5, arg_27DB_6, arg_27DB_7, arg_27DB_8, arg_27DB_9, arg_27DB_10, arg_27DB_11, arg_27DB_12, arg_27DB_13, arg_27DB_14, array)); Dictionary<ushort, Animation> arg_285C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_285C_1 = 40006; ushort arg_2857_0 = 40006; byte arg_2857_1 = 2; Texture2D arg_2857_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Damage/Reverse"); Vector2 arg_2857_3 = new Vector2(14f, 10f); int arg_2857_4 = 4; int arg_2857_5 = 2; int arg_2857_6 = 27; int arg_2857_7 = 14; int arg_2857_8 = 0; int arg_2857_9 = 0; int arg_2857_10 = 2; Animation.LoopSettings arg_2857_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2857_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2857_13 = false; bool arg_2857_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2854_0 = array; int arg_2854_1 = 0; AnimInsCriteria arg_284F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_284A_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2854_0[arg_2854_1] = new AnimationInstruction(arg_284F_0, new AnimInsEvent(arg_284A_0, array6)); arg_285C_0.Add(arg_285C_1, new Animation(arg_2857_0, arg_2857_1, arg_2857_2, arg_2857_3, arg_2857_4, arg_2857_5, arg_2857_6, arg_2857_7, arg_2857_8, arg_2857_9, arg_2857_10, arg_2857_11, arg_2857_12, arg_2857_13, arg_2857_14, array)); Dictionary<ushort, Animation> arg_28D8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_28D8_1 = 40007; ushort arg_28D3_0 = 40007; byte arg_28D3_1 = 3; Texture2D arg_28D3_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime_RingQuest/Damage/Reverse"); Vector2 arg_28D3_3 = new Vector2(14f, 10f); int arg_28D3_4 = 4; int arg_28D3_5 = 2; int arg_28D3_6 = 27; int arg_28D3_7 = 14; int arg_28D3_8 = 0; int arg_28D3_9 = 0; int arg_28D3_10 = 2; Animation.LoopSettings arg_28D3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_28D3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_28D3_13 = false; bool arg_28D3_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_28D0_0 = array; int arg_28D0_1 = 0; AnimInsCriteria arg_28CB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_28C6_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_28D0_0[arg_28D0_1] = new AnimationInstruction(arg_28CB_0, new AnimInsEvent(arg_28C6_0, array6)); arg_28D8_0.Add(arg_28D8_1, new Animation(arg_28D3_0, arg_28D3_1, arg_28D3_2, arg_28D3_3, arg_28D3_4, arg_28D3_5, arg_28D3_6, arg_28D3_7, arg_28D3_8, arg_28D3_9, arg_28D3_10, arg_28D3_11, arg_28D3_12, arg_28D3_13, arg_28D3_14, array)); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "GreenSlime"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.SlimeDeath; xEn.liAnimationsWithAttackphase.Add(4); xEn.liAnimationsWithAttackphase.Add(5); xEn.liAnimationsWithAttackphase.Add(6); xEn.liAnimationsWithAttackphase.Add(7); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Rabbi) { xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.fMovementSpeed = 1.4f; xEn.enType = enType; xEn.xBehaviour = new BunnyAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; RenderMaster.PlayfieldRenderPass en2 = RenderMaster.PlayfieldRenderPass.Season_Spring; xEn.xRenderComponent.dditxAlternateTextures[en2] = new Dictionary<ushort, Texture2D>(); Dictionary<ushort, Texture2D> x2 = xEn.xRenderComponent.dditxAlternateTextures[en2]; x2[0] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Idle/Up"); x2[1] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Idle/Right"); x2[2] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Idle/Down"); x2[3] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Idle/Left"); x2[4] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Run/Up"); x2[5] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Run/Right"); x2[6] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Run/Down"); x2[7] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Run/Left"); x2[8] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Attack/Up"); x2[9] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Attack/Right"); x2[10] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Attack/Down"); x2[11] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Attack/Left"); x2[12] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Up"); x2[13] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Right"); x2[14] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Down"); x2[15] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Left"); x2[16] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Up"); x2[17] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Right"); x2[18] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Down"); x2[19] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Left"); x2[10002] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Dead/Down"); x2[10003] = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Dead/Down"); xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Idle/Up"), new Vector2(11f, 18f), 4, 12, 21, 23, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Idle/Right"), new Vector2(14f, 18f), 4, 12, 29, 22, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Idle/Down"), new Vector2(13f, 17f), 4, 12, 25, 22, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Idle/Right"), new Vector2(14f, 18f), 4, 12, 29, 22, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2E57_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2E57_1 = 4; ushort arg_2E52_0 = 4; byte arg_2E52_1 = 0; Texture2D arg_2E52_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Run/Up"); Vector2 arg_2E52_3 = new Vector2(12f, 19f); int arg_2E52_4 = 4; int arg_2E52_5 = 11; int arg_2E52_6 = 23; int arg_2E52_7 = 25; int arg_2E52_8 = 0; int arg_2E52_9 = 0; int arg_2E52_10 = 12; Animation.LoopSettings arg_2E52_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_2E52_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2E52_13 = true; bool arg_2E52_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_2E4F_0 = array; int arg_2E4F_1 = 0; AnimInsCriteria arg_2E4A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_2E45_0 = AnimInsEvent.EventType.PlaySound; string arg_2E45_1 = "Rabby_Jump"; float[] array6 = new float[1]; arg_2E4F_0[arg_2E4F_1] = new AnimationInstruction(arg_2E4A_0, new AnimInsEvent(arg_2E45_0, arg_2E45_1, array6)); arg_2E57_0.Add(arg_2E57_1, new Animation(arg_2E52_0, arg_2E52_1, arg_2E52_2, arg_2E52_3, arg_2E52_4, arg_2E52_5, arg_2E52_6, arg_2E52_7, arg_2E52_8, arg_2E52_9, arg_2E52_10, arg_2E52_11, arg_2E52_12, arg_2E52_13, arg_2E52_14, array)); Dictionary<ushort, Animation> arg_2EE0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2EE0_1 = 5; ushort arg_2EDB_0 = 5; byte arg_2EDB_1 = 1; Texture2D arg_2EDB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Run/Right"); Vector2 arg_2EDB_3 = new Vector2(14f, 21f); int arg_2EDB_4 = 4; int arg_2EDB_5 = 11; int arg_2EDB_6 = 30; int arg_2EDB_7 = 25; int arg_2EDB_8 = 0; int arg_2EDB_9 = 0; int arg_2EDB_10 = 12; Animation.LoopSettings arg_2EDB_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_2EDB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2EDB_13 = true; bool arg_2EDB_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2ED8_0 = array; int arg_2ED8_1 = 0; AnimInsCriteria arg_2ED3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_2ECE_0 = AnimInsEvent.EventType.PlaySound; string arg_2ECE_1 = "Rabby_Jump"; array6 = new float[1]; arg_2ED8_0[arg_2ED8_1] = new AnimationInstruction(arg_2ED3_0, new AnimInsEvent(arg_2ECE_0, arg_2ECE_1, array6)); arg_2EE0_0.Add(arg_2EE0_1, new Animation(arg_2EDB_0, arg_2EDB_1, arg_2EDB_2, arg_2EDB_3, arg_2EDB_4, arg_2EDB_5, arg_2EDB_6, arg_2EDB_7, arg_2EDB_8, arg_2EDB_9, arg_2EDB_10, arg_2EDB_11, arg_2EDB_12, arg_2EDB_13, arg_2EDB_14, array)); Dictionary<ushort, Animation> arg_2F69_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2F69_1 = 6; ushort arg_2F64_0 = 6; byte arg_2F64_1 = 2; Texture2D arg_2F64_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Run/Down"); Vector2 arg_2F64_3 = new Vector2(13f, 19f); int arg_2F64_4 = 4; int arg_2F64_5 = 11; int arg_2F64_6 = 25; int arg_2F64_7 = 24; int arg_2F64_8 = 0; int arg_2F64_9 = 0; int arg_2F64_10 = 12; Animation.LoopSettings arg_2F64_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_2F64_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2F64_13 = true; bool arg_2F64_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2F61_0 = array; int arg_2F61_1 = 0; AnimInsCriteria arg_2F5C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_2F57_0 = AnimInsEvent.EventType.PlaySound; string arg_2F57_1 = "Rabby_Jump"; array6 = new float[1]; arg_2F61_0[arg_2F61_1] = new AnimationInstruction(arg_2F5C_0, new AnimInsEvent(arg_2F57_0, arg_2F57_1, array6)); arg_2F69_0.Add(arg_2F69_1, new Animation(arg_2F64_0, arg_2F64_1, arg_2F64_2, arg_2F64_3, arg_2F64_4, arg_2F64_5, arg_2F64_6, arg_2F64_7, arg_2F64_8, arg_2F64_9, arg_2F64_10, arg_2F64_11, arg_2F64_12, arg_2F64_13, arg_2F64_14, array)); Dictionary<ushort, Animation> arg_2FF2_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2FF2_1 = 7; ushort arg_2FED_0 = 7; byte arg_2FED_1 = 3; Texture2D arg_2FED_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Run/Right"); Vector2 arg_2FED_3 = new Vector2(15f, 21f); int arg_2FED_4 = 4; int arg_2FED_5 = 11; int arg_2FED_6 = 30; int arg_2FED_7 = 25; int arg_2FED_8 = 0; int arg_2FED_9 = 0; int arg_2FED_10 = 12; Animation.LoopSettings arg_2FED_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_2FED_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2FED_13 = true; bool arg_2FED_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2FEA_0 = array; int arg_2FEA_1 = 0; AnimInsCriteria arg_2FE5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_2FE0_0 = AnimInsEvent.EventType.PlaySound; string arg_2FE0_1 = "Rabby_Jump"; array6 = new float[1]; arg_2FEA_0[arg_2FEA_1] = new AnimationInstruction(arg_2FE5_0, new AnimInsEvent(arg_2FE0_0, arg_2FE0_1, array6)); arg_2FF2_0.Add(arg_2FF2_1, new Animation(arg_2FED_0, arg_2FED_1, arg_2FED_2, arg_2FED_3, arg_2FED_4, arg_2FED_5, arg_2FED_6, arg_2FED_7, arg_2FED_8, arg_2FED_9, arg_2FED_10, arg_2FED_11, arg_2FED_12, arg_2FED_13, arg_2FED_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; int iAttackSpeed = 4; if (GameSessionData.iBaseDifficulty > 0) { iAttackSpeed = 3; } Dictionary<ushort, Animation> arg_3180_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3180_1 = 8; ushort arg_317B_0 = 8; byte arg_317B_1 = 0; Texture2D arg_317B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Attack/Up"); Vector2 arg_317B_3 = new Vector2(12f, 22f); int arg_317B_4 = iAttackSpeed; int arg_317B_5 = 15; int arg_317B_6 = 23; int arg_317B_7 = 28; int arg_317B_8 = 0; int arg_317B_9 = 0; int arg_317B_10 = 15; Animation.LoopSettings arg_317B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_317B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_317B_13 = false; bool arg_317B_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -12f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -12f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -12f })); AnimationInstruction[] arg_3137_0 = array; int arg_3137_1 = 3; AnimInsCriteria arg_3132_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_312D_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3137_0[arg_3137_1] = new AnimationInstruction(arg_3132_0, new AnimInsEvent(arg_312D_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Rabby_Attack", new float[] { 1f })); arg_3180_0.Add(arg_3180_1, new Animation(arg_317B_0, arg_317B_1, arg_317B_2, arg_317B_3, arg_317B_4, arg_317B_5, arg_317B_6, arg_317B_7, arg_317B_8, arg_317B_9, arg_317B_10, arg_317B_11, arg_317B_12, arg_317B_13, arg_317B_14, array)); Dictionary<ushort, Animation> arg_32F4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_32F4_1 = 9; ushort arg_32EF_0 = 9; byte arg_32EF_1 = 1; Texture2D arg_32EF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Attack/Right"); Vector2 arg_32EF_3 = new Vector2(14f, 22f); int arg_32EF_4 = iAttackSpeed; int arg_32EF_5 = 15; int arg_32EF_6 = 30; int arg_32EF_7 = 26; int arg_32EF_8 = 0; int arg_32EF_9 = 0; int arg_32EF_10 = 15; Animation.LoopSettings arg_32EF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_32EF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_32EF_13 = false; bool arg_32EF_14 = true; array = new AnimationInstruction[5]; AnimationInstruction[] arg_3207_0 = array; int arg_3207_1 = 0; AnimInsCriteria arg_3202_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }); AnimInsEvent.EventType arg_31FD_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 12f; arg_3207_0[arg_3207_1] = new AnimationInstruction(arg_3202_0, new AnimInsEvent(arg_31FD_0, array6)); AnimationInstruction[] arg_3242_0 = array; int arg_3242_1 = 1; AnimInsCriteria arg_323D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_3238_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 12f; arg_3242_0[arg_3242_1] = new AnimationInstruction(arg_323D_0, new AnimInsEvent(arg_3238_0, array6)); AnimationInstruction[] arg_327D_0 = array; int arg_327D_1 = 2; AnimInsCriteria arg_3278_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }); AnimInsEvent.EventType arg_3273_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 12f; arg_327D_0[arg_327D_1] = new AnimationInstruction(arg_3278_0, new AnimInsEvent(arg_3273_0, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Rabby_Attack", new float[] { 1f })); arg_32F4_0.Add(arg_32F4_1, new Animation(arg_32EF_0, arg_32EF_1, arg_32EF_2, arg_32EF_3, arg_32EF_4, arg_32EF_5, arg_32EF_6, arg_32EF_7, arg_32EF_8, arg_32EF_9, arg_32EF_10, arg_32EF_11, arg_32EF_12, arg_32EF_13, arg_32EF_14, array)); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Attack/Down"), new Vector2(12f, 22f), iAttackSpeed, 15, 23, 27, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 12f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 12f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 12f })), 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[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Rabby_Attack", new float[] { 1f })) })); Dictionary<ushort, Animation> arg_35DC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_35DC_1 = 11; ushort arg_35D7_0 = 11; byte arg_35D7_1 = 3; Texture2D arg_35D7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Attack/Right"); Vector2 arg_35D7_3 = new Vector2(14f, 22f); int arg_35D7_4 = iAttackSpeed; int arg_35D7_5 = 15; int arg_35D7_6 = 30; int arg_35D7_7 = 26; int arg_35D7_8 = 0; int arg_35D7_9 = 0; int arg_35D7_10 = 15; Animation.LoopSettings arg_35D7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_35D7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_35D7_13 = false; bool arg_35D7_14 = true; array = new AnimationInstruction[5]; AnimationInstruction[] arg_34EF_0 = array; int arg_34EF_1 = 0; AnimInsCriteria arg_34EA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }); AnimInsEvent.EventType arg_34E5_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -12f; arg_34EF_0[arg_34EF_1] = new AnimationInstruction(arg_34EA_0, new AnimInsEvent(arg_34E5_0, array6)); AnimationInstruction[] arg_352A_0 = array; int arg_352A_1 = 1; AnimInsCriteria arg_3525_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_3520_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -12f; arg_352A_0[arg_352A_1] = new AnimationInstruction(arg_3525_0, new AnimInsEvent(arg_3520_0, array6)); AnimationInstruction[] arg_3565_0 = array; int arg_3565_1 = 2; AnimInsCriteria arg_3560_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }); AnimInsEvent.EventType arg_355B_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -12f; arg_3565_0[arg_3565_1] = new AnimationInstruction(arg_3560_0, new AnimInsEvent(arg_355B_0, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Rabby_Attack", new float[] { 1f })); arg_35DC_0.Add(arg_35DC_1, new Animation(arg_35D7_0, arg_35D7_1, arg_35D7_2, arg_35D7_3, arg_35D7_4, arg_35D7_5, arg_35D7_6, arg_35D7_7, arg_35D7_8, arg_35D7_9, arg_35D7_10, arg_35D7_11, arg_35D7_12, arg_35D7_13, arg_35D7_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_36B0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_36B0_1 = 12; ushort arg_36AB_0 = 12; byte arg_36AB_1 = 0; Texture2D arg_36AB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Damage/Up"); Vector2 arg_36AB_3 = new Vector2(12f, 18f); int arg_36AB_4 = 4; int arg_36AB_5 = 1; int arg_36AB_6 = 23; int arg_36AB_7 = 23; int arg_36AB_8 = 23; int arg_36AB_9 = 0; int arg_36AB_10 = 2; Animation.LoopSettings arg_36AB_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_36AB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_36AB_13 = false; bool arg_36AB_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_367A_0 = array; int arg_367A_1 = 0; AnimInsCriteria arg_3675_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_3670_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_367A_0[arg_367A_1] = new AnimationInstruction(arg_3675_0, new AnimInsEvent(arg_3670_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 16f })); arg_36B0_0.Add(arg_36B0_1, new Animation(arg_36AB_0, arg_36AB_1, arg_36AB_2, arg_36AB_3, arg_36AB_4, arg_36AB_5, arg_36AB_6, arg_36AB_7, arg_36AB_8, arg_36AB_9, arg_36AB_10, arg_36AB_11, arg_36AB_12, arg_36AB_13, arg_36AB_14, array)); Dictionary<ushort, Animation> arg_376C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_376C_1 = 13; ushort arg_3767_0 = 13; byte arg_3767_1 = 1; Texture2D arg_3767_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Damage/Right"); Vector2 arg_3767_3 = new Vector2(15f, 18f); int arg_3767_4 = 4; int arg_3767_5 = 1; int arg_3767_6 = 29; int arg_3767_7 = 22; int arg_3767_8 = 29; int arg_3767_9 = 0; int arg_3767_10 = 2; Animation.LoopSettings arg_3767_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3767_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3767_13 = false; bool arg_3767_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_3736_0 = array; int arg_3736_1 = 0; AnimInsCriteria arg_3731_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_372C_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_3736_0[arg_3736_1] = new AnimationInstruction(arg_3731_0, new AnimInsEvent(arg_372C_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 17f })); arg_376C_0.Add(arg_376C_1, new Animation(arg_3767_0, arg_3767_1, arg_3767_2, arg_3767_3, arg_3767_4, arg_3767_5, arg_3767_6, arg_3767_7, arg_3767_8, arg_3767_9, arg_3767_10, arg_3767_11, arg_3767_12, arg_3767_13, arg_3767_14, array)); Dictionary<ushort, Animation> arg_3828_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3828_1 = 14; ushort arg_3823_0 = 14; byte arg_3823_1 = 2; Texture2D arg_3823_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Damage/Down"); Vector2 arg_3823_3 = new Vector2(13f, 18f); int arg_3823_4 = 4; int arg_3823_5 = 1; int arg_3823_6 = 25; int arg_3823_7 = 22; int arg_3823_8 = 25; int arg_3823_9 = 0; int arg_3823_10 = 2; Animation.LoopSettings arg_3823_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3823_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3823_13 = false; bool arg_3823_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_37F2_0 = array; int arg_37F2_1 = 0; AnimInsCriteria arg_37ED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_37E8_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_37F2_0[arg_37F2_1] = new AnimationInstruction(arg_37ED_0, new AnimInsEvent(arg_37E8_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 18f })); arg_3828_0.Add(arg_3828_1, new Animation(arg_3823_0, arg_3823_1, arg_3823_2, arg_3823_3, arg_3823_4, arg_3823_5, arg_3823_6, arg_3823_7, arg_3823_8, arg_3823_9, arg_3823_10, arg_3823_11, arg_3823_12, arg_3823_13, arg_3823_14, array)); Dictionary<ushort, Animation> arg_38E4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_38E4_1 = 15; ushort arg_38DF_0 = 15; byte arg_38DF_1 = 3; Texture2D arg_38DF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Damage/Left"); Vector2 arg_38DF_3 = new Vector2(15f, 18f); int arg_38DF_4 = 4; int arg_38DF_5 = 1; int arg_38DF_6 = 29; int arg_38DF_7 = 22; int arg_38DF_8 = 29; int arg_38DF_9 = 0; int arg_38DF_10 = 2; Animation.LoopSettings arg_38DF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_38DF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_38DF_13 = false; bool arg_38DF_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_38AE_0 = array; int arg_38AE_1 = 0; AnimInsCriteria arg_38A9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_38A4_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_38AE_0[arg_38AE_1] = new AnimationInstruction(arg_38A9_0, new AnimInsEvent(arg_38A4_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 19f })); arg_38E4_0.Add(arg_38E4_1, new Animation(arg_38DF_0, arg_38DF_1, arg_38DF_2, arg_38DF_3, arg_38DF_4, arg_38DF_5, arg_38DF_6, arg_38DF_7, arg_38DF_8, arg_38DF_9, arg_38DF_10, arg_38DF_11, arg_38DF_12, arg_38DF_13, arg_38DF_14, array)); Dictionary<ushort, Animation> arg_395A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_395A_1 = 16; ushort arg_3955_0 = 16; byte arg_3955_1 = 0; Texture2D arg_3955_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/DamageReverse/Up"); Vector2 arg_3955_3 = new Vector2(12f, 18f); int arg_3955_4 = 4; int arg_3955_5 = 2; int arg_3955_6 = 23; int arg_3955_7 = 23; int arg_3955_8 = 0; int arg_3955_9 = 0; int arg_3955_10 = 2; Animation.LoopSettings arg_3955_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3955_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3955_13 = false; bool arg_3955_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3952_0 = array; int arg_3952_1 = 0; AnimInsCriteria arg_394D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3948_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3952_0[arg_3952_1] = new AnimationInstruction(arg_394D_0, new AnimInsEvent(arg_3948_0, array6)); arg_395A_0.Add(arg_395A_1, new Animation(arg_3955_0, arg_3955_1, arg_3955_2, arg_3955_3, arg_3955_4, arg_3955_5, arg_3955_6, arg_3955_7, arg_3955_8, arg_3955_9, arg_3955_10, arg_3955_11, arg_3955_12, arg_3955_13, arg_3955_14, array)); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/DamageReverse/Right"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/DamageReverse/Down"), new Vector2(13f, 18f), 4, 2, 25, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/DamageReverse/Left"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations.Add(10002, new Animation(10002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Dead/Down"), new Vector2(24f, 30f), 4, 14, 48, 38, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(10003, new Animation(10003, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Dead/Down"), new Vector2(28f, 30f), 4, 14, 48, 38, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations[10003].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Damage/Up"), new Vector2(12f, 18f), 4, 2, 23, 23, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Damage/Right"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Damage/Down"), new Vector2(13f, 18f), 4, 2, 25, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/Damage/Left"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_3E7E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3E7E_1 = 40004; ushort arg_3E79_0 = 40004; byte arg_3E79_1 = 0; Texture2D arg_3E79_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/DamageReverse/Up"); Vector2 arg_3E79_3 = new Vector2(12f, 18f); int arg_3E79_4 = 4; int arg_3E79_5 = 2; int arg_3E79_6 = 23; int arg_3E79_7 = 23; int arg_3E79_8 = 0; int arg_3E79_9 = 0; int arg_3E79_10 = 2; Animation.LoopSettings arg_3E79_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3E79_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3E79_13 = false; bool arg_3E79_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3E76_0 = array; int arg_3E76_1 = 0; AnimInsCriteria arg_3E71_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3E6C_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3E76_0[arg_3E76_1] = new AnimationInstruction(arg_3E71_0, new AnimInsEvent(arg_3E6C_0, array6)); arg_3E7E_0.Add(arg_3E7E_1, new Animation(arg_3E79_0, arg_3E79_1, arg_3E79_2, arg_3E79_3, arg_3E79_4, arg_3E79_5, arg_3E79_6, arg_3E79_7, arg_3E79_8, arg_3E79_9, arg_3E79_10, arg_3E79_11, arg_3E79_12, arg_3E79_13, arg_3E79_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/DamageReverse/Right"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/DamageReverse/Down"), new Vector2(13f, 18f), 4, 2, 25, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Rabbi/DamageReverse/Left"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Rabbi"; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.RabbyWhite) { xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.fMovementSpeed = 2.1f + 0.15f * (float)GameSessionData.iBaseDifficulty; xEn.xBaseStats.iBaseDEF = GameSessionData.iBaseDifficulty * 5; xEn.enType = enType; xEn.xBehaviour = new WhiteBunnyAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Idle/Up"), new Vector2(11f, 18f), 4, 12, 21, 23, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Idle/Right"), new Vector2(14f, 18f), 4, 12, 29, 22, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Idle/Down"), new Vector2(13f, 17f), 4, 12, 25, 22, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Idle/Left"), new Vector2(14f, 18f), 4, 12, 29, 22, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_4329_0 = xEn.xRenderComponent.dixAnimations; ushort arg_4329_1 = 4; ushort arg_4324_0 = 4; byte arg_4324_1 = 0; Texture2D arg_4324_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Run/Up"); Vector2 arg_4324_3 = new Vector2(12f, 19f); int arg_4324_4 = 4; int arg_4324_5 = 11; int arg_4324_6 = 23; int arg_4324_7 = 25; int arg_4324_8 = 0; int arg_4324_9 = 0; int arg_4324_10 = 12; Animation.LoopSettings arg_4324_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_4324_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_4324_13 = true; bool arg_4324_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_4321_0 = array; int arg_4321_1 = 0; AnimInsCriteria arg_431C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_4317_0 = AnimInsEvent.EventType.PlaySound; string arg_4317_1 = "Rabby_Jump"; float[] array6 = new float[1]; arg_4321_0[arg_4321_1] = new AnimationInstruction(arg_431C_0, new AnimInsEvent(arg_4317_0, arg_4317_1, array6)); arg_4329_0.Add(arg_4329_1, new Animation(arg_4324_0, arg_4324_1, arg_4324_2, arg_4324_3, arg_4324_4, arg_4324_5, arg_4324_6, arg_4324_7, arg_4324_8, arg_4324_9, arg_4324_10, arg_4324_11, arg_4324_12, arg_4324_13, arg_4324_14, array)); Dictionary<ushort, Animation> arg_43B2_0 = xEn.xRenderComponent.dixAnimations; ushort arg_43B2_1 = 5; ushort arg_43AD_0 = 5; byte arg_43AD_1 = 1; Texture2D arg_43AD_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Run/Right"); Vector2 arg_43AD_3 = new Vector2(14f, 21f); int arg_43AD_4 = 4; int arg_43AD_5 = 11; int arg_43AD_6 = 30; int arg_43AD_7 = 25; int arg_43AD_8 = 0; int arg_43AD_9 = 0; int arg_43AD_10 = 12; Animation.LoopSettings arg_43AD_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_43AD_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_43AD_13 = true; bool arg_43AD_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_43AA_0 = array; int arg_43AA_1 = 0; AnimInsCriteria arg_43A5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_43A0_0 = AnimInsEvent.EventType.PlaySound; string arg_43A0_1 = "Rabby_Jump"; array6 = new float[1]; arg_43AA_0[arg_43AA_1] = new AnimationInstruction(arg_43A5_0, new AnimInsEvent(arg_43A0_0, arg_43A0_1, array6)); arg_43B2_0.Add(arg_43B2_1, new Animation(arg_43AD_0, arg_43AD_1, arg_43AD_2, arg_43AD_3, arg_43AD_4, arg_43AD_5, arg_43AD_6, arg_43AD_7, arg_43AD_8, arg_43AD_9, arg_43AD_10, arg_43AD_11, arg_43AD_12, arg_43AD_13, arg_43AD_14, array)); Dictionary<ushort, Animation> arg_443B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_443B_1 = 6; ushort arg_4436_0 = 6; byte arg_4436_1 = 2; Texture2D arg_4436_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Run/Down"); Vector2 arg_4436_3 = new Vector2(13f, 19f); int arg_4436_4 = 4; int arg_4436_5 = 11; int arg_4436_6 = 25; int arg_4436_7 = 24; int arg_4436_8 = 0; int arg_4436_9 = 0; int arg_4436_10 = 12; Animation.LoopSettings arg_4436_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_4436_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_4436_13 = true; bool arg_4436_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_4433_0 = array; int arg_4433_1 = 0; AnimInsCriteria arg_442E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_4429_0 = AnimInsEvent.EventType.PlaySound; string arg_4429_1 = "Rabby_Jump"; array6 = new float[1]; arg_4433_0[arg_4433_1] = new AnimationInstruction(arg_442E_0, new AnimInsEvent(arg_4429_0, arg_4429_1, array6)); arg_443B_0.Add(arg_443B_1, new Animation(arg_4436_0, arg_4436_1, arg_4436_2, arg_4436_3, arg_4436_4, arg_4436_5, arg_4436_6, arg_4436_7, arg_4436_8, arg_4436_9, arg_4436_10, arg_4436_11, arg_4436_12, arg_4436_13, arg_4436_14, array)); Dictionary<ushort, Animation> arg_44C4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_44C4_1 = 7; ushort arg_44BF_0 = 7; byte arg_44BF_1 = 3; Texture2D arg_44BF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Run/Left"); Vector2 arg_44BF_3 = new Vector2(15f, 21f); int arg_44BF_4 = 4; int arg_44BF_5 = 11; int arg_44BF_6 = 30; int arg_44BF_7 = 25; int arg_44BF_8 = 0; int arg_44BF_9 = 0; int arg_44BF_10 = 12; Animation.LoopSettings arg_44BF_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_44BF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_44BF_13 = true; bool arg_44BF_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_44BC_0 = array; int arg_44BC_1 = 0; AnimInsCriteria arg_44B7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_44B2_0 = AnimInsEvent.EventType.PlaySound; string arg_44B2_1 = "Rabby_Jump"; array6 = new float[1]; arg_44BC_0[arg_44BC_1] = new AnimationInstruction(arg_44B7_0, new AnimInsEvent(arg_44B2_0, arg_44B2_1, array6)); arg_44C4_0.Add(arg_44C4_1, new Animation(arg_44BF_0, arg_44BF_1, arg_44BF_2, arg_44BF_3, arg_44BF_4, arg_44BF_5, arg_44BF_6, arg_44BF_7, arg_44BF_8, arg_44BF_9, arg_44BF_10, arg_44BF_11, arg_44BF_12, arg_44BF_13, arg_44BF_14, array)); Dictionary<ushort, Animation> arg_4671_0 = xEn.xRenderComponent.dixAnimations; ushort arg_4671_1 = 8; ushort arg_466C_0 = 8; byte arg_466C_1 = 0; Texture2D arg_466C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Attack/Up"); Vector2 arg_466C_3 = new Vector2(12f, 22f); int arg_466C_4 = 3; int arg_466C_5 = 15; int arg_466C_6 = 23; int arg_466C_7 = 28; int arg_466C_8 = 0; int arg_466C_9 = 0; int arg_466C_10 = 15; Animation.LoopSettings arg_466C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_466C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_466C_13 = false; bool arg_466C_14 = true; array = new AnimationInstruction[6]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 6f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -15f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -15f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -15f })); AnimationInstruction[] arg_4628_0 = array; int arg_4628_1 = 4; AnimInsCriteria arg_4623_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_461E_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_4628_0[arg_4628_1] = new AnimationInstruction(arg_4623_0, new AnimInsEvent(arg_461E_0, array6)); array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Rabby_Attack", new float[] { 1f })); arg_4671_0.Add(arg_4671_1, new Animation(arg_466C_0, arg_466C_1, arg_466C_2, arg_466C_3, arg_466C_4, arg_466C_5, arg_466C_6, arg_466C_7, arg_466C_8, arg_466C_9, arg_466C_10, arg_466C_11, arg_466C_12, arg_466C_13, arg_466C_14, array)); Dictionary<ushort, Animation> arg_4829_0 = xEn.xRenderComponent.dixAnimations; ushort arg_4829_1 = 9; ushort arg_4824_0 = 9; byte arg_4824_1 = 1; Texture2D arg_4824_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Attack/Right"); Vector2 arg_4824_3 = new Vector2(14f, 22f); int arg_4824_4 = 3; int arg_4824_5 = 15; int arg_4824_6 = 30; int arg_4824_7 = 26; int arg_4824_8 = 0; int arg_4824_9 = 0; int arg_4824_10 = 15; Animation.LoopSettings arg_4824_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_4824_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_4824_13 = false; bool arg_4824_14 = true; array = new AnimationInstruction[6]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 6f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_473C_0 = array; int arg_473C_1 = 1; AnimInsCriteria arg_4737_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }); AnimInsEvent.EventType arg_4732_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 15f; arg_473C_0[arg_473C_1] = new AnimationInstruction(arg_4737_0, new AnimInsEvent(arg_4732_0, array6)); AnimationInstruction[] arg_4777_0 = array; int arg_4777_1 = 2; AnimInsCriteria arg_4772_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_476D_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 15f; arg_4777_0[arg_4777_1] = new AnimationInstruction(arg_4772_0, new AnimInsEvent(arg_476D_0, array6)); AnimationInstruction[] arg_47B2_0 = array; int arg_47B2_1 = 3; AnimInsCriteria arg_47AD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }); AnimInsEvent.EventType arg_47A8_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 15f; arg_47B2_0[arg_47B2_1] = new AnimationInstruction(arg_47AD_0, new AnimInsEvent(arg_47A8_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Rabby_Attack", new float[] { 1f })); arg_4829_0.Add(arg_4829_1, new Animation(arg_4824_0, arg_4824_1, arg_4824_2, arg_4824_3, arg_4824_4, arg_4824_5, arg_4824_6, arg_4824_7, arg_4824_8, arg_4824_9, arg_4824_10, arg_4824_11, arg_4824_12, arg_4824_13, arg_4824_14, array)); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Attack/Down"), new Vector2(12f, 22f), 3, 15, 23, 27, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 6f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 15f })), 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[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Rabby_Attack", new float[] { 1f })) })); Dictionary<ushort, Animation> arg_4B99_0 = xEn.xRenderComponent.dixAnimations; ushort arg_4B99_1 = 11; ushort arg_4B94_0 = 11; byte arg_4B94_1 = 3; Texture2D arg_4B94_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Attack/Left"); Vector2 arg_4B94_3 = new Vector2(14f, 22f); int arg_4B94_4 = 3; int arg_4B94_5 = 15; int arg_4B94_6 = 30; int arg_4B94_7 = 26; int arg_4B94_8 = 0; int arg_4B94_9 = 0; int arg_4B94_10 = 15; Animation.LoopSettings arg_4B94_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_4B94_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_4B94_13 = false; bool arg_4B94_14 = true; array = new AnimationInstruction[6]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 6f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_4AAC_0 = array; int arg_4AAC_1 = 1; AnimInsCriteria arg_4AA7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }); AnimInsEvent.EventType arg_4AA2_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -15f; arg_4AAC_0[arg_4AAC_1] = new AnimationInstruction(arg_4AA7_0, new AnimInsEvent(arg_4AA2_0, array6)); AnimationInstruction[] arg_4AE7_0 = array; int arg_4AE7_1 = 2; AnimInsCriteria arg_4AE2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_4ADD_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -15f; arg_4AE7_0[arg_4AE7_1] = new AnimationInstruction(arg_4AE2_0, new AnimInsEvent(arg_4ADD_0, array6)); AnimationInstruction[] arg_4B22_0 = array; int arg_4B22_1 = 3; AnimInsCriteria arg_4B1D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }); AnimInsEvent.EventType arg_4B18_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -15f; arg_4B22_0[arg_4B22_1] = new AnimationInstruction(arg_4B1D_0, new AnimInsEvent(arg_4B18_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Rabby_Attack", new float[] { 1f })); arg_4B99_0.Add(arg_4B99_1, new Animation(arg_4B94_0, arg_4B94_1, arg_4B94_2, arg_4B94_3, arg_4B94_4, arg_4B94_5, arg_4B94_6, arg_4B94_7, arg_4B94_8, arg_4B94_9, arg_4B94_10, arg_4B94_11, arg_4B94_12, arg_4B94_13, arg_4B94_14, array)); Dictionary<ushort, Animation> arg_4C55_0 = xEn.xRenderComponent.dixAnimations; ushort arg_4C55_1 = 12; ushort arg_4C50_0 = 12; byte arg_4C50_1 = 0; Texture2D arg_4C50_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Up"); Vector2 arg_4C50_3 = new Vector2(12f, 18f); int arg_4C50_4 = 4; int arg_4C50_5 = 1; int arg_4C50_6 = 23; int arg_4C50_7 = 23; int arg_4C50_8 = 23; int arg_4C50_9 = 0; int arg_4C50_10 = 2; Animation.LoopSettings arg_4C50_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_4C50_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_4C50_13 = false; bool arg_4C50_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_4C1F_0 = array; int arg_4C1F_1 = 0; AnimInsCriteria arg_4C1A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_4C15_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_4C1F_0[arg_4C1F_1] = new AnimationInstruction(arg_4C1A_0, new AnimInsEvent(arg_4C15_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 16f })); arg_4C55_0.Add(arg_4C55_1, new Animation(arg_4C50_0, arg_4C50_1, arg_4C50_2, arg_4C50_3, arg_4C50_4, arg_4C50_5, arg_4C50_6, arg_4C50_7, arg_4C50_8, arg_4C50_9, arg_4C50_10, arg_4C50_11, arg_4C50_12, arg_4C50_13, arg_4C50_14, array)); Dictionary<ushort, Animation> arg_4D11_0 = xEn.xRenderComponent.dixAnimations; ushort arg_4D11_1 = 13; ushort arg_4D0C_0 = 13; byte arg_4D0C_1 = 1; Texture2D arg_4D0C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Right"); Vector2 arg_4D0C_3 = new Vector2(15f, 18f); int arg_4D0C_4 = 4; int arg_4D0C_5 = 1; int arg_4D0C_6 = 29; int arg_4D0C_7 = 22; int arg_4D0C_8 = 29; int arg_4D0C_9 = 0; int arg_4D0C_10 = 2; Animation.LoopSettings arg_4D0C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_4D0C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_4D0C_13 = false; bool arg_4D0C_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_4CDB_0 = array; int arg_4CDB_1 = 0; AnimInsCriteria arg_4CD6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_4CD1_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_4CDB_0[arg_4CDB_1] = new AnimationInstruction(arg_4CD6_0, new AnimInsEvent(arg_4CD1_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 17f })); arg_4D11_0.Add(arg_4D11_1, new Animation(arg_4D0C_0, arg_4D0C_1, arg_4D0C_2, arg_4D0C_3, arg_4D0C_4, arg_4D0C_5, arg_4D0C_6, arg_4D0C_7, arg_4D0C_8, arg_4D0C_9, arg_4D0C_10, arg_4D0C_11, arg_4D0C_12, arg_4D0C_13, arg_4D0C_14, array)); Dictionary<ushort, Animation> arg_4DCD_0 = xEn.xRenderComponent.dixAnimations; ushort arg_4DCD_1 = 14; ushort arg_4DC8_0 = 14; byte arg_4DC8_1 = 2; Texture2D arg_4DC8_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Down"); Vector2 arg_4DC8_3 = new Vector2(13f, 18f); int arg_4DC8_4 = 4; int arg_4DC8_5 = 1; int arg_4DC8_6 = 25; int arg_4DC8_7 = 22; int arg_4DC8_8 = 25; int arg_4DC8_9 = 0; int arg_4DC8_10 = 2; Animation.LoopSettings arg_4DC8_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_4DC8_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_4DC8_13 = false; bool arg_4DC8_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_4D97_0 = array; int arg_4D97_1 = 0; AnimInsCriteria arg_4D92_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_4D8D_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_4D97_0[arg_4D97_1] = new AnimationInstruction(arg_4D92_0, new AnimInsEvent(arg_4D8D_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 18f })); arg_4DCD_0.Add(arg_4DCD_1, new Animation(arg_4DC8_0, arg_4DC8_1, arg_4DC8_2, arg_4DC8_3, arg_4DC8_4, arg_4DC8_5, arg_4DC8_6, arg_4DC8_7, arg_4DC8_8, arg_4DC8_9, arg_4DC8_10, arg_4DC8_11, arg_4DC8_12, arg_4DC8_13, arg_4DC8_14, array)); Dictionary<ushort, Animation> arg_4E89_0 = xEn.xRenderComponent.dixAnimations; ushort arg_4E89_1 = 15; ushort arg_4E84_0 = 15; byte arg_4E84_1 = 3; Texture2D arg_4E84_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Left"); Vector2 arg_4E84_3 = new Vector2(15f, 18f); int arg_4E84_4 = 4; int arg_4E84_5 = 1; int arg_4E84_6 = 29; int arg_4E84_7 = 22; int arg_4E84_8 = 29; int arg_4E84_9 = 0; int arg_4E84_10 = 2; Animation.LoopSettings arg_4E84_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_4E84_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_4E84_13 = false; bool arg_4E84_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_4E53_0 = array; int arg_4E53_1 = 0; AnimInsCriteria arg_4E4E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_4E49_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_4E53_0[arg_4E53_1] = new AnimationInstruction(arg_4E4E_0, new AnimInsEvent(arg_4E49_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 19f })); arg_4E89_0.Add(arg_4E89_1, new Animation(arg_4E84_0, arg_4E84_1, arg_4E84_2, arg_4E84_3, arg_4E84_4, arg_4E84_5, arg_4E84_6, arg_4E84_7, arg_4E84_8, arg_4E84_9, arg_4E84_10, arg_4E84_11, arg_4E84_12, arg_4E84_13, arg_4E84_14, array)); Dictionary<ushort, Animation> arg_4EFF_0 = xEn.xRenderComponent.dixAnimations; ushort arg_4EFF_1 = 16; ushort arg_4EFA_0 = 16; byte arg_4EFA_1 = 0; Texture2D arg_4EFA_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Up"); Vector2 arg_4EFA_3 = new Vector2(12f, 18f); int arg_4EFA_4 = 4; int arg_4EFA_5 = 2; int arg_4EFA_6 = 23; int arg_4EFA_7 = 23; int arg_4EFA_8 = 0; int arg_4EFA_9 = 0; int arg_4EFA_10 = 2; Animation.LoopSettings arg_4EFA_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_4EFA_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_4EFA_13 = false; bool arg_4EFA_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_4EF7_0 = array; int arg_4EF7_1 = 0; AnimInsCriteria arg_4EF2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_4EED_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_4EF7_0[arg_4EF7_1] = new AnimationInstruction(arg_4EF2_0, new AnimInsEvent(arg_4EED_0, array6)); arg_4EFF_0.Add(arg_4EFF_1, new Animation(arg_4EFA_0, arg_4EFA_1, arg_4EFA_2, arg_4EFA_3, arg_4EFA_4, arg_4EFA_5, arg_4EFA_6, arg_4EFA_7, arg_4EFA_8, arg_4EFA_9, arg_4EFA_10, arg_4EFA_11, arg_4EFA_12, arg_4EFA_13, arg_4EFA_14, array)); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Right"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Down"), new Vector2(13f, 18f), 4, 2, 25, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Left"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations.Add(10002, new Animation(10002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Dead/Down"), new Vector2(24f, 30f), 4, 14, 48, 38, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(10003, new Animation(10003, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Dead/Down"), new Vector2(28f, 30f), 4, 14, 48, 38, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations[10003].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Up"), new Vector2(12f, 18f), 4, 2, 23, 23, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Right"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Down"), new Vector2(13f, 18f), 4, 2, 25, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/Damage/Left"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_5423_0 = xEn.xRenderComponent.dixAnimations; ushort arg_5423_1 = 40004; ushort arg_541E_0 = 40004; byte arg_541E_1 = 0; Texture2D arg_541E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Up"); Vector2 arg_541E_3 = new Vector2(12f, 18f); int arg_541E_4 = 4; int arg_541E_5 = 2; int arg_541E_6 = 23; int arg_541E_7 = 23; int arg_541E_8 = 0; int arg_541E_9 = 0; int arg_541E_10 = 2; Animation.LoopSettings arg_541E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_541E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_541E_13 = false; bool arg_541E_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_541B_0 = array; int arg_541B_1 = 0; AnimInsCriteria arg_5416_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_5411_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_541B_0[arg_541B_1] = new AnimationInstruction(arg_5416_0, new AnimInsEvent(arg_5411_0, array6)); arg_5423_0.Add(arg_5423_1, new Animation(arg_541E_0, arg_541E_1, arg_541E_2, arg_541E_3, arg_541E_4, arg_541E_5, arg_541E_6, arg_541E_7, arg_541E_8, arg_541E_9, arg_541E_10, arg_541E_11, arg_541E_12, arg_541E_13, arg_541E_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Right"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Down"), new Vector2(13f, 18f), 4, 2, 25, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Special/WhiteRabbi/DamageReverse/Left"), new Vector2(15f, 18f), 4, 2, 29, 22, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Rabbi"; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Bee) { xEn.xBaseStats.fMovementSpeed = 1f + 0.2f * (float)GameSessionData.iBaseDifficulty; xEn.enType = enType; xEn.xBehaviour = new BeeAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 6; xEn.aiHitAnimation[1] = 6; xEn.aiHitAnimation[2] = 7; xEn.aiHitAnimation[3] = 7; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Idle/Up"), new Vector2(14f, 44f), 4, 8, 25, 48, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Bee_Idle", new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Idle/Right"), new Vector2(14f, 44f), 4, 8, 26, 48, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Bee_Idle", new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Idle/Down"), new Vector2(13f, 45f), 4, 8, 27, 49, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Bee_Idle", new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Idle/Left"), new Vector2(14f, 44f), 4, 8, 26, 48, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Bee_Idle", new float[] { 1f })) })); int iAttackSpeed2 = 4; if (GameSessionData.iBaseDifficulty > 0) { iAttackSpeed2 = 3; } Dictionary<ushort, Animation> arg_5BEC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_5BEC_1 = 4; ushort arg_5BE7_0 = 4; byte arg_5BE7_1 = 1; Texture2D arg_5BE7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Attack/Right"); Vector2 arg_5BE7_3 = new Vector2(15f, 53f); int arg_5BE7_4 = iAttackSpeed2; int arg_5BE7_5 = 27; int arg_5BE7_6 = 27; int arg_5BE7_7 = 57; int arg_5BE7_8 = 0; int arg_5BE7_9 = 0; int arg_5BE7_10 = 27; Animation.LoopSettings arg_5BE7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_5BE7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_5BE7_13 = false; bool arg_5BE7_14 = false; AnimationInstruction[] array = new AnimationInstruction[10]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Bee_AttackC", new float[] { 1f })); AnimationInstruction[] arg_5A05_0 = array; int arg_5A05_1 = 1; AnimInsCriteria arg_5A00_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 6f }); AnimInsEvent.EventType arg_59FB_0 = AnimInsEvent.EventType.AddSmoothPush; float[] array6 = new float[2]; array6[0] = -2f; arg_5A05_0[arg_5A05_1] = new AnimationInstruction(arg_5A00_0, new AnimInsEvent(arg_59FB_0, array6)); AnimationInstruction[] arg_5A4D_0 = array; int arg_5A4D_1 = 2; AnimInsCriteria arg_5A48_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 12f, 19f }); AnimInsEvent.EventType arg_5A43_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = (float)(10 + GameSessionData.iBaseDifficulty); arg_5A4D_0[arg_5A4D_1] = new AnimationInstruction(arg_5A48_0, new AnimInsEvent(arg_5A43_0, array6)); AnimationInstruction[] arg_5A95_0 = array; int arg_5A95_1 = 3; AnimInsCriteria arg_5A90_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 20f, 21f }); AnimInsEvent.EventType arg_5A8B_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = (float)(10 + GameSessionData.iBaseDifficulty); arg_5A95_0[arg_5A95_1] = new AnimationInstruction(arg_5A90_0, new AnimInsEvent(arg_5A8B_0, array6)); AnimationInstruction[] arg_5AC8_0 = array; int arg_5AC8_1 = 4; AnimInsCriteria arg_5AC3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 14f }); AnimInsEvent.EventType arg_5ABE_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_5AC8_0[arg_5AC8_1] = new AnimationInstruction(arg_5AC3_0, new AnimInsEvent(arg_5ABE_0, array6)); array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 22f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_5B3F_0 = array; int arg_5B3F_1 = 6; AnimInsCriteria arg_5B3A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 22f }); AnimInsEvent.EventType arg_5B35_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 5f; arg_5B3F_0[arg_5B3F_1] = new AnimationInstruction(arg_5B3A_0, new AnimInsEvent(arg_5B35_0, array6)); AnimationInstruction[] arg_5B7A_0 = array; int arg_5B7A_1 = 7; AnimInsCriteria arg_5B75_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 23f }); AnimInsEvent.EventType arg_5B70_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 3f; arg_5B7A_0[arg_5B7A_1] = new AnimationInstruction(arg_5B75_0, new AnimInsEvent(arg_5B70_0, array6)); AnimationInstruction[] arg_5BB5_0 = array; int arg_5BB5_1 = 8; AnimInsCriteria arg_5BB0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 24f }); AnimInsEvent.EventType arg_5BAB_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 1f; arg_5BB5_0[arg_5BB5_1] = new AnimationInstruction(arg_5BB0_0, new AnimInsEvent(arg_5BAB_0, array6)); array[9] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_5BEC_0.Add(arg_5BEC_1, new Animation(arg_5BE7_0, arg_5BE7_1, arg_5BE7_2, arg_5BE7_3, arg_5BE7_4, arg_5BE7_5, arg_5BE7_6, arg_5BE7_7, arg_5BE7_8, arg_5BE7_9, arg_5BE7_10, arg_5BE7_11, arg_5BE7_12, arg_5BE7_13, arg_5BE7_14, array)); Dictionary<ushort, Animation> arg_5EA3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_5EA3_1 = 5; ushort arg_5E9E_0 = 5; byte arg_5E9E_1 = 3; Texture2D arg_5E9E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Attack/Left"); Vector2 arg_5E9E_3 = new Vector2(14f, 53f); int arg_5E9E_4 = iAttackSpeed2; int arg_5E9E_5 = 27; int arg_5E9E_6 = 27; int arg_5E9E_7 = 57; int arg_5E9E_8 = 0; int arg_5E9E_9 = 0; int arg_5E9E_10 = 27; Animation.LoopSettings arg_5E9E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_5E9E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_5E9E_13 = false; bool arg_5E9E_14 = false; array = new AnimationInstruction[10]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Bee_AttackC", new float[] { 1f })); AnimationInstruction[] arg_5CBC_0 = array; int arg_5CBC_1 = 1; AnimInsCriteria arg_5CB7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 6f }); AnimInsEvent.EventType arg_5CB2_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 2f; arg_5CBC_0[arg_5CBC_1] = new AnimationInstruction(arg_5CB7_0, new AnimInsEvent(arg_5CB2_0, array6)); AnimationInstruction[] arg_5D04_0 = array; int arg_5D04_1 = 2; AnimInsCriteria arg_5CFF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 12f, 19f }); AnimInsEvent.EventType arg_5CFA_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = (float)(-10 - GameSessionData.iBaseDifficulty); arg_5D04_0[arg_5D04_1] = new AnimationInstruction(arg_5CFF_0, new AnimInsEvent(arg_5CFA_0, array6)); AnimationInstruction[] arg_5D4C_0 = array; int arg_5D4C_1 = 3; AnimInsCriteria arg_5D47_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 20f, 21f }); AnimInsEvent.EventType arg_5D42_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = (float)(-10 - GameSessionData.iBaseDifficulty); arg_5D4C_0[arg_5D4C_1] = new AnimationInstruction(arg_5D47_0, new AnimInsEvent(arg_5D42_0, array6)); AnimationInstruction[] arg_5D7F_0 = array; int arg_5D7F_1 = 4; AnimInsCriteria arg_5D7A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 14f }); AnimInsEvent.EventType arg_5D75_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_5D7F_0[arg_5D7F_1] = new AnimationInstruction(arg_5D7A_0, new AnimInsEvent(arg_5D75_0, array6)); array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 22f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_5DF6_0 = array; int arg_5DF6_1 = 6; AnimInsCriteria arg_5DF1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 22f }); AnimInsEvent.EventType arg_5DEC_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -5f; arg_5DF6_0[arg_5DF6_1] = new AnimationInstruction(arg_5DF1_0, new AnimInsEvent(arg_5DEC_0, array6)); AnimationInstruction[] arg_5E31_0 = array; int arg_5E31_1 = 7; AnimInsCriteria arg_5E2C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 23f }); AnimInsEvent.EventType arg_5E27_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -3f; arg_5E31_0[arg_5E31_1] = new AnimationInstruction(arg_5E2C_0, new AnimInsEvent(arg_5E27_0, array6)); AnimationInstruction[] arg_5E6C_0 = array; int arg_5E6C_1 = 8; AnimInsCriteria arg_5E67_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 24f }); AnimInsEvent.EventType arg_5E62_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -1f; arg_5E6C_0[arg_5E6C_1] = new AnimationInstruction(arg_5E67_0, new AnimInsEvent(arg_5E62_0, array6)); array[9] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_5EA3_0.Add(arg_5EA3_1, new Animation(arg_5E9E_0, arg_5E9E_1, arg_5E9E_2, arg_5E9E_3, arg_5E9E_4, arg_5E9E_5, arg_5E9E_6, arg_5E9E_7, arg_5E9E_8, arg_5E9E_9, arg_5E9E_10, arg_5E9E_11, arg_5E9E_12, arg_5E9E_13, arg_5E9E_14, array)); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Damage/Right"), new Vector2(14f, 48f), 4, 13, 24, 52, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Damage/Left"), new Vector2(12f, 48f), 4, 13, 24, 52, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); Dictionary<ushort, Animation> arg_60F2_0 = xEn.xRenderComponent.dixAnimations; ushort arg_60F2_1 = 8; ushort arg_60ED_0 = 8; byte arg_60ED_1 = 1; Texture2D arg_60ED_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Blocked/Right"); Vector2 arg_60ED_3 = new Vector2(17f, 28f); int arg_60ED_4 = 4; int arg_60ED_5 = 12; int arg_60ED_6 = 28; int arg_60ED_7 = 32; int arg_60ED_8 = 0; int arg_60ED_9 = 0; int arg_60ED_10 = 12; Animation.LoopSettings arg_60ED_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_60ED_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_60ED_13 = false; bool arg_60ED_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Bee_Stunned", new float[] { 1f })); AnimationInstruction[] arg_60BC_0 = array; int arg_60BC_1 = 1; AnimInsCriteria arg_60B7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_60B2_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_60BC_0[arg_60BC_1] = new AnimationInstruction(arg_60B7_0, new AnimInsEvent(arg_60B2_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 10f })); arg_60F2_0.Add(arg_60F2_1, new Animation(arg_60ED_0, arg_60ED_1, arg_60ED_2, arg_60ED_3, arg_60ED_4, arg_60ED_5, arg_60ED_6, arg_60ED_7, arg_60ED_8, arg_60ED_9, arg_60ED_10, arg_60ED_11, arg_60ED_12, arg_60ED_13, arg_60ED_14, array)); Dictionary<ushort, Animation> arg_61CD_0 = xEn.xRenderComponent.dixAnimations; ushort arg_61CD_1 = 9; ushort arg_61C8_0 = 9; byte arg_61C8_1 = 3; Texture2D arg_61C8_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Blocked/Left"); Vector2 arg_61C8_3 = new Vector2(15f, 28f); int arg_61C8_4 = 4; int arg_61C8_5 = 12; int arg_61C8_6 = 28; int arg_61C8_7 = 32; int arg_61C8_8 = 0; int arg_61C8_9 = 0; int arg_61C8_10 = 12; Animation.LoopSettings arg_61C8_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_61C8_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_61C8_13 = false; bool arg_61C8_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Bee_Stunned", new float[] { 1f })); AnimationInstruction[] arg_6197_0 = array; int arg_6197_1 = 1; AnimInsCriteria arg_6192_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_618D_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_6197_0[arg_6197_1] = new AnimationInstruction(arg_6192_0, new AnimInsEvent(arg_618D_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 11f })); arg_61CD_0.Add(arg_61CD_1, new Animation(arg_61C8_0, arg_61C8_1, arg_61C8_2, arg_61C8_3, arg_61C8_4, arg_61C8_5, arg_61C8_6, arg_61C8_7, arg_61C8_8, arg_61C8_9, arg_61C8_10, arg_61C8_11, arg_61C8_12, arg_61C8_13, arg_61C8_14, array)); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Downed/Right"), new Vector2(17f, 28f), 4, 16, 28, 32, 0, 0, 16, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Downed/Left"), new Vector2(15f, 28f), 4, 16, 28, 32, 0, 0, 16, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(12, new Animation(12, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Recovery/Right"), new Vector2(14f, 48f), 4, 15, 24, 52, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Recovery/Left"), new Vector2(13f, 50f), 4, 15, 24, 52, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Recovery/Right"), new Vector2(13f, 50f), 4, 11, 24, 52, 96, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[] { 0.5f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 5f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[] { 0.1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 4f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 8f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 9f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Damage/Right"), new Vector2(14f, 48f), 4, 2, 24, 52, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Damage/Right"), new Vector2(14f, 48f), 4, 2, 24, 52, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Damage/Left"), new Vector2(12f, 48f), 4, 2, 24, 52, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Damage/Left"), new Vector2(12f, 48f), 4, 2, 24, 52, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_684D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_684D_1 = 40004; ushort arg_6848_0 = 40004; byte arg_6848_1 = 0; Texture2D arg_6848_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Damage/Right"); Vector2 arg_6848_3 = new Vector2(14f, 48f); int arg_6848_4 = 4; int arg_6848_5 = 11; int arg_6848_6 = 24; int arg_6848_7 = 52; int arg_6848_8 = 48; int arg_6848_9 = 0; int arg_6848_10 = 13; Animation.LoopSettings arg_6848_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_6848_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_6848_13 = false; bool arg_6848_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_6809_0 = array; int arg_6809_1 = 0; AnimInsCriteria arg_6804_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_67FF_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_6809_0[arg_6809_1] = new AnimationInstruction(arg_6804_0, new AnimInsEvent(arg_67FF_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); arg_684D_0.Add(arg_684D_1, new Animation(arg_6848_0, arg_6848_1, arg_6848_2, arg_6848_3, arg_6848_4, arg_6848_5, arg_6848_6, arg_6848_7, arg_6848_8, arg_6848_9, arg_6848_10, arg_6848_11, arg_6848_12, arg_6848_13, arg_6848_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Damage/Right"), new Vector2(14f, 48f), 4, 11, 24, 52, 48, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Damage/Left"), new Vector2(12f, 48f), 4, 11, 24, 52, 48, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, 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[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Bee/Damage/Left"), new Vector2(12f, 48f), 4, 11, 24, 52, 48, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Bee"; xEn.liAnimationsWithAttackphase.Add(4); xEn.liAnimationsWithAttackphase.Add(5); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 2f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsFlying = true; SphereCollider hit = new SphereCollider(4f, new Vector2(0f, -5f), xEn.xTransform, 0f, xEn); hit.bIsFlying = true; xEn.xCollisionComponent.AddHitboxCollider(hit, Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.BeeHive) { xEn.enType = enType; xEn.xBehaviour = new BeeHiveAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 1; xEn.aiHitAnimation[1] = 1; xEn.aiHitAnimation[2] = 1; xEn.aiHitAnimation[3] = 1; xEn.xBaseStats.bAllowKnockback = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; string ENVIRON_PATH = "Sprites/Environment/"; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Beehive/Idle"), new Vector2(16f, 27f), 4, 1, 32, 34, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_6C9C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_6C9C_1 = 1; ushort arg_6C97_0 = 1; byte arg_6C97_1 = 0; Texture2D arg_6C97_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Beehive/Damage"); Vector2 arg_6C97_3 = new Vector2(16f, 27f); int arg_6C97_4 = 3; int arg_6C97_5 = 2; int arg_6C97_6 = 32; int arg_6C97_7 = 34; int arg_6C97_8 = 0; int arg_6C97_9 = 0; int arg_6C97_10 = 2; Animation.LoopSettings arg_6C97_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_6C97_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_6C97_13 = true; bool arg_6C97_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_6C94_0 = array; int arg_6C94_1 = 0; AnimInsCriteria arg_6C8F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_6C8A_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_6C94_0[arg_6C94_1] = new AnimationInstruction(arg_6C8F_0, new AnimInsEvent(arg_6C8A_0, array6)); arg_6C9C_0.Add(arg_6C9C_1, new Animation(arg_6C97_0, arg_6C97_1, arg_6C97_2, arg_6C97_3, arg_6C97_4, arg_6C97_5, arg_6C97_6, arg_6C97_7, arg_6C97_8, arg_6C97_9, arg_6C97_10, arg_6C97_11, arg_6C97_12, arg_6C97_13, arg_6C97_14, array)); Dictionary<ushort, Animation> arg_6D11_0 = xEn.xRenderComponent.dixAnimations; ushort arg_6D11_1 = 2; ushort arg_6D0C_0 = 2; byte arg_6D0C_1 = 0; Texture2D arg_6D0C_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Beehive/Spawn"); Vector2 arg_6D0C_3 = new Vector2(17f, 30f); int arg_6D0C_4 = 3; int arg_6D0C_5 = 2; int arg_6D0C_6 = 34; int arg_6D0C_7 = 37; int arg_6D0C_8 = 0; int arg_6D0C_9 = 0; int arg_6D0C_10 = 2; Animation.LoopSettings arg_6D0C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_6D0C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_6D0C_13 = true; bool arg_6D0C_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_6D09_0 = array; int arg_6D09_1 = 0; AnimInsCriteria arg_6D04_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_6CFF_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_6D09_0[arg_6D09_1] = new AnimationInstruction(arg_6D04_0, new AnimInsEvent(arg_6CFF_0, array6)); arg_6D11_0.Add(arg_6D11_1, new Animation(arg_6D0C_0, arg_6D0C_1, arg_6D0C_2, arg_6D0C_3, arg_6D0C_4, arg_6D0C_5, arg_6D0C_6, arg_6D0C_7, arg_6D0C_8, arg_6D0C_9, arg_6D0C_10, arg_6D0C_11, arg_6D0C_12, arg_6D0C_13, arg_6D0C_14, array)); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.EnivronBeehiveDeath; xEn.sAttackPhaseCategory = "Bee"; xEn.xCollisionComponent.xMovementCollider = new BoxCollider(36, 14, 0f, new Vector2(0f, -1f), xEn.xTransform, 10000f, xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; BoxCollider hit2 = new BoxCollider(36, 14, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn); xEn.xCollisionComponent.AddHitboxCollider(hit2, Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Blomma) { xEn.xBaseStats.fMovementSpeed = 2f; xEn.xBaseStats.bAllowKnockback = false; xEn.enType = enType; xEn.xBehaviour = new BlommaAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 18; xEn.aiHitAnimation[1] = 18; xEn.aiHitAnimation[2] = 18; xEn.aiHitAnimation[3] = 19; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PoofEffectB; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.bUntargetable = true; xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Appear/Right"), new Vector2(44f, 51f), 4, 1, 82, 64, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Appear/Right"), new Vector2(41f, 51f), 4, 1, 82, 64, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Idle/Right"), new Vector2(47f, 52f), 4, 10, 83, 63, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Idle/Right"), new Vector2(39f, 52f), 4, 10, 83, 63, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_7063_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7063_1 = 10; ushort arg_705E_0 = 10; byte arg_705E_1 = 2; Texture2D arg_705E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Appear/Right"); Vector2 arg_705E_3 = new Vector2(44f, 51f); int arg_705E_4 = 4; int arg_705E_5 = 18; int arg_705E_6 = 82; int arg_705E_7 = 64; int arg_705E_8 = 0; int arg_705E_9 = 0; int arg_705E_10 = 19; Animation.LoopSettings arg_705E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_705E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_705E_13 = true; bool arg_705E_14 = true; 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_705B_0 = array; int arg_705B_1 = 1; AnimInsCriteria arg_7056_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_7051_0 = AnimInsEvent.EventType.PlaySound; string arg_7051_1 = "Halloweed_Appear"; float[] array6 = new float[1]; arg_705B_0[arg_705B_1] = new AnimationInstruction(arg_7056_0, new AnimInsEvent(arg_7051_0, arg_7051_1, array6)); arg_7063_0.Add(arg_7063_1, new Animation(arg_705E_0, arg_705E_1, arg_705E_2, arg_705E_3, arg_705E_4, arg_705E_5, arg_705E_6, arg_705E_7, arg_705E_8, arg_705E_9, arg_705E_10, arg_705E_11, arg_705E_12, arg_705E_13, arg_705E_14, array)); Dictionary<ushort, Animation> arg_711C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_711C_1 = 11; ushort arg_7117_0 = 11; byte arg_7117_1 = 3; Texture2D arg_7117_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Appear/Right"); Vector2 arg_7117_3 = new Vector2(41f, 51f); int arg_7117_4 = 4; int arg_7117_5 = 18; int arg_7117_6 = 82; int arg_7117_7 = 64; int arg_7117_8 = 0; int arg_7117_9 = 0; int arg_7117_10 = 19; Animation.LoopSettings arg_7117_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_7117_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7117_13 = true; bool arg_7117_14 = true; 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_7114_0 = array; int arg_7114_1 = 1; AnimInsCriteria arg_710F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_710A_0 = AnimInsEvent.EventType.PlaySound; string arg_710A_1 = "Halloweed_Appear"; array6 = new float[1]; arg_7114_0[arg_7114_1] = new AnimationInstruction(arg_710F_0, new AnimInsEvent(arg_710A_0, arg_710A_1, array6)); arg_711C_0.Add(arg_711C_1, new Animation(arg_7117_0, arg_7117_1, arg_7117_2, arg_7117_3, arg_7117_4, arg_7117_5, arg_7117_6, arg_7117_7, arg_7117_8, arg_7117_9, arg_7117_10, arg_7117_11, arg_7117_12, arg_7117_13, arg_7117_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_71ED_0 = xEn.xRenderComponent.dixAnimations; ushort arg_71ED_1 = 14; ushort arg_71E8_0 = 14; byte arg_71E8_1 = 2; Texture2D arg_71E8_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Attack/Right"); Vector2 arg_71E8_3 = new Vector2(66f, 54f); int arg_71E8_4 = 4; int arg_71E8_5 = 14; int arg_71E8_6 = 118; int arg_71E8_7 = 88; int arg_71E8_8 = 0; int arg_71E8_9 = 0; int arg_71E8_10 = 14; Animation.LoopSettings arg_71E8_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_71E8_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_71E8_13 = false; bool arg_71E8_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[] { 6f })); AnimationInstruction[] arg_71E5_0 = array; int arg_71E5_1 = 1; AnimInsCriteria arg_71E0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_71DB_0 = AnimInsEvent.EventType.PlaySound; string arg_71DB_1 = "Halloweed_Attack"; array6 = new float[1]; arg_71E5_0[arg_71E5_1] = new AnimationInstruction(arg_71E0_0, new AnimInsEvent(arg_71DB_0, arg_71DB_1, array6)); arg_71ED_0.Add(arg_71ED_1, new Animation(arg_71E8_0, arg_71E8_1, arg_71E8_2, arg_71E8_3, arg_71E8_4, arg_71E8_5, arg_71E8_6, arg_71E8_7, arg_71E8_8, arg_71E8_9, arg_71E8_10, arg_71E8_11, arg_71E8_12, arg_71E8_13, arg_71E8_14, array)); Dictionary<ushort, Animation> arg_72A6_0 = xEn.xRenderComponent.dixAnimations; ushort arg_72A6_1 = 15; ushort arg_72A1_0 = 15; byte arg_72A1_1 = 3; Texture2D arg_72A1_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Attack/Right"); Vector2 arg_72A1_3 = new Vector2(55f, 54f); int arg_72A1_4 = 4; int arg_72A1_5 = 14; int arg_72A1_6 = 118; int arg_72A1_7 = 88; int arg_72A1_8 = 0; int arg_72A1_9 = 0; int arg_72A1_10 = 14; Animation.LoopSettings arg_72A1_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_72A1_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_72A1_13 = false; bool arg_72A1_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_729E_0 = array; int arg_729E_1 = 1; AnimInsCriteria arg_7299_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_7294_0 = AnimInsEvent.EventType.PlaySound; string arg_7294_1 = "Halloweed_Attack"; array6 = new float[1]; arg_729E_0[arg_729E_1] = new AnimationInstruction(arg_7299_0, new AnimInsEvent(arg_7294_0, arg_7294_1, array6)); arg_72A6_0.Add(arg_72A6_1, new Animation(arg_72A1_0, arg_72A1_1, arg_72A1_2, arg_72A1_3, arg_72A1_4, arg_72A1_5, arg_72A1_6, arg_72A1_7, arg_72A1_8, arg_72A1_9, arg_72A1_10, arg_72A1_11, arg_72A1_12, arg_72A1_13, arg_72A1_14, array)); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_7379_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7379_1 = 18; ushort arg_7374_0 = 18; byte arg_7374_1 = 2; Texture2D arg_7374_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Damage/Right"); Vector2 arg_7374_3 = new Vector2(44f, 44f); int arg_7374_4 = 5; int arg_7374_5 = 4; int arg_7374_6 = 76; int arg_7374_7 = 53; int arg_7374_8 = 0; int arg_7374_9 = 0; int arg_7374_10 = 4; Animation.LoopSettings arg_7374_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_7374_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7374_13 = false; bool arg_7374_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_7343_0 = array; int arg_7343_1 = 0; AnimInsCriteria arg_733E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_7339_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 3f; arg_7343_0[arg_7343_1] = new AnimationInstruction(arg_733E_0, new AnimInsEvent(arg_7339_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); arg_7379_0.Add(arg_7379_1, new Animation(arg_7374_0, arg_7374_1, arg_7374_2, arg_7374_3, arg_7374_4, arg_7374_5, arg_7374_6, arg_7374_7, arg_7374_8, arg_7374_9, arg_7374_10, arg_7374_11, arg_7374_12, arg_7374_13, arg_7374_14, array)); Dictionary<ushort, Animation> arg_7434_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7434_1 = 19; ushort arg_742F_0 = 19; byte arg_742F_1 = 3; Texture2D arg_742F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Damage/Right"); Vector2 arg_742F_3 = new Vector2(35f, 44f); int arg_742F_4 = 5; int arg_742F_5 = 4; int arg_742F_6 = 76; int arg_742F_7 = 53; int arg_742F_8 = 0; int arg_742F_9 = 0; int arg_742F_10 = 4; Animation.LoopSettings arg_742F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_742F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_742F_13 = false; bool arg_742F_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_73FE_0 = array; int arg_73FE_1 = 0; AnimInsCriteria arg_73F9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_73F4_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 3f; arg_73FE_0[arg_73FE_1] = new AnimationInstruction(arg_73F9_0, new AnimInsEvent(arg_73F4_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); arg_7434_0.Add(arg_7434_1, new Animation(arg_742F_0, arg_742F_1, arg_742F_2, arg_742F_3, arg_742F_4, arg_742F_5, arg_742F_6, arg_742F_7, arg_742F_8, arg_742F_9, arg_742F_10, arg_742F_11, arg_742F_12, arg_742F_13, arg_742F_14, array)); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_74F6_0 = xEn.xRenderComponent.dixAnimations; ushort arg_74F6_1 = 22; ushort arg_74F1_0 = 22; byte arg_74F1_1 = 2; Texture2D arg_74F1_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Turn/Right"); Vector2 arg_74F1_3 = new Vector2(48f, 44f); int arg_74F1_4 = 4; int arg_74F1_5 = 5; int arg_74F1_6 = 93; int arg_74F1_7 = 53; int arg_74F1_8 = 0; int arg_74F1_9 = 0; int arg_74F1_10 = 5; Animation.LoopSettings arg_74F1_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_74F1_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_74F1_13 = false; bool arg_74F1_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_74EE_0 = array; int arg_74EE_1 = 1; AnimInsCriteria arg_74E9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_74E4_0 = AnimInsEvent.EventType.PlaySound; string arg_74E4_1 = "Halloweed_Turn"; array6 = new float[1]; arg_74EE_0[arg_74EE_1] = new AnimationInstruction(arg_74E9_0, new AnimInsEvent(arg_74E4_0, arg_74E4_1, array6)); arg_74F6_0.Add(arg_74F6_1, new Animation(arg_74F1_0, arg_74F1_1, arg_74F1_2, arg_74F1_3, arg_74F1_4, arg_74F1_5, arg_74F1_6, arg_74F1_7, arg_74F1_8, arg_74F1_9, arg_74F1_10, arg_74F1_11, arg_74F1_12, arg_74F1_13, arg_74F1_14, array)); Dictionary<ushort, Animation> arg_75A0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_75A0_1 = 23; ushort arg_759B_0 = 23; byte arg_759B_1 = 3; Texture2D arg_759B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Blomma/Turn/Right"); Vector2 arg_759B_3 = new Vector2(48f, 44f); int arg_759B_4 = 4; int arg_759B_5 = 5; int arg_759B_6 = 93; int arg_759B_7 = 53; int arg_759B_8 = 0; int arg_759B_9 = 0; int arg_759B_10 = 5; Animation.LoopSettings arg_759B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_759B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_759B_13 = false; bool arg_759B_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[] { 6f })); AnimationInstruction[] arg_7598_0 = array; int arg_7598_1 = 1; AnimInsCriteria arg_7593_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_758E_0 = AnimInsEvent.EventType.PlaySound; string arg_758E_1 = "Halloweed_Turn"; array6 = new float[1]; arg_7598_0[arg_7598_1] = new AnimationInstruction(arg_7593_0, new AnimInsEvent(arg_758E_0, arg_758E_1, array6)); arg_75A0_0.Add(arg_75A0_1, new Animation(arg_759B_0, arg_759B_1, arg_759B_2, arg_759B_3, arg_759B_4, arg_759B_5, arg_759B_6, arg_759B_7, arg_759B_8, arg_759B_9, arg_759B_10, arg_759B_11, arg_759B_12, arg_759B_13, arg_759B_14, array)); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.xRenderComponent.SwitchAnimation(3, Animation.CancelOptions.IgnoreIfPlaying); xEn.sAttackPhaseCategory = "Blomma"; xEn.liAnimationsWithAttackphase.Add(14); xEn.liAnimationsWithAttackphase.Add(15); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(7f, Vector2.Zero, xEn.xTransform, 100000f, xEn); } else if (enType == EnemyCodex.EnemyTypes.Boar) { xEn.xBaseStats.fMovementSpeed = 1f; xEn.enType = enType; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xBehaviour = new BoarAI(xEn); xEn.xBaseStats.SetDefaulKnockbackResistance(2); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 28; xEn.aiHitAnimation[1] = 29; xEn.aiHitAnimation[2] = 30; xEn.aiHitAnimation[3] = 31; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; Dictionary<ushort, Animation> arg_773D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_773D_1 = 0; ushort arg_7738_0 = 0; byte arg_7738_1 = 0; Texture2D arg_7738_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Idle/Up"); Vector2 arg_7738_3 = new Vector2(14f, 28f); int arg_7738_4 = 4; int arg_7738_5 = 10; int arg_7738_6 = 29; int arg_7738_7 = 38; int arg_7738_8 = 0; int arg_7738_9 = 0; int arg_7738_10 = 30; Animation.LoopSettings arg_7738_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_7738_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7738_13 = true; bool arg_7738_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_7735_0 = array; int arg_7735_1 = 0; AnimInsCriteria arg_7730_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_772B_0 = AnimInsEvent.EventType.PlaySound; string arg_772B_1 = "Boar_Idle"; float[] array6 = new float[1]; arg_7735_0[arg_7735_1] = new AnimationInstruction(arg_7730_0, new AnimInsEvent(arg_772B_0, arg_772B_1, array6)); arg_773D_0.Add(arg_773D_1, new Animation(arg_7738_0, arg_7738_1, arg_7738_2, arg_7738_3, arg_7738_4, arg_7738_5, arg_7738_6, arg_7738_7, arg_7738_8, arg_7738_9, arg_7738_10, arg_7738_11, arg_7738_12, arg_7738_13, arg_7738_14, array)); Dictionary<ushort, Animation> arg_77C6_0 = xEn.xRenderComponent.dixAnimations; ushort arg_77C6_1 = 1; ushort arg_77C1_0 = 1; byte arg_77C1_1 = 1; Texture2D arg_77C1_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Idle/Right"); Vector2 arg_77C1_3 = new Vector2(30f, 24f); int arg_77C1_4 = 4; int arg_77C1_5 = 10; int arg_77C1_6 = 60; int arg_77C1_7 = 33; int arg_77C1_8 = 0; int arg_77C1_9 = 0; int arg_77C1_10 = 30; Animation.LoopSettings arg_77C1_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_77C1_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_77C1_13 = true; bool arg_77C1_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_77BE_0 = array; int arg_77BE_1 = 0; AnimInsCriteria arg_77B9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_77B4_0 = AnimInsEvent.EventType.PlaySound; string arg_77B4_1 = "Boar_Idle"; array6 = new float[1]; arg_77BE_0[arg_77BE_1] = new AnimationInstruction(arg_77B9_0, new AnimInsEvent(arg_77B4_0, arg_77B4_1, array6)); arg_77C6_0.Add(arg_77C6_1, new Animation(arg_77C1_0, arg_77C1_1, arg_77C1_2, arg_77C1_3, arg_77C1_4, arg_77C1_5, arg_77C1_6, arg_77C1_7, arg_77C1_8, arg_77C1_9, arg_77C1_10, arg_77C1_11, arg_77C1_12, arg_77C1_13, arg_77C1_14, array)); Dictionary<ushort, Animation> arg_784F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_784F_1 = 2; ushort arg_784A_0 = 2; byte arg_784A_1 = 2; Texture2D arg_784A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Idle/Down"); Vector2 arg_784A_3 = new Vector2(14f, 25f); int arg_784A_4 = 4; int arg_784A_5 = 10; int arg_784A_6 = 29; int arg_784A_7 = 41; int arg_784A_8 = 0; int arg_784A_9 = 0; int arg_784A_10 = 30; Animation.LoopSettings arg_784A_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_784A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_784A_13 = true; bool arg_784A_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_7847_0 = array; int arg_7847_1 = 0; AnimInsCriteria arg_7842_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_783D_0 = AnimInsEvent.EventType.PlaySound; string arg_783D_1 = "Boar_Idle"; array6 = new float[1]; arg_7847_0[arg_7847_1] = new AnimationInstruction(arg_7842_0, new AnimInsEvent(arg_783D_0, arg_783D_1, array6)); arg_784F_0.Add(arg_784F_1, new Animation(arg_784A_0, arg_784A_1, arg_784A_2, arg_784A_3, arg_784A_4, arg_784A_5, arg_784A_6, arg_784A_7, arg_784A_8, arg_784A_9, arg_784A_10, arg_784A_11, arg_784A_12, arg_784A_13, arg_784A_14, array)); Dictionary<ushort, Animation> arg_78D8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_78D8_1 = 3; ushort arg_78D3_0 = 3; byte arg_78D3_1 = 3; Texture2D arg_78D3_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Idle/Right"); Vector2 arg_78D3_3 = new Vector2(30f, 24f); int arg_78D3_4 = 4; int arg_78D3_5 = 10; int arg_78D3_6 = 60; int arg_78D3_7 = 33; int arg_78D3_8 = 0; int arg_78D3_9 = 0; int arg_78D3_10 = 30; Animation.LoopSettings arg_78D3_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_78D3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_78D3_13 = true; bool arg_78D3_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_78D0_0 = array; int arg_78D0_1 = 0; AnimInsCriteria arg_78CB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_78C6_0 = AnimInsEvent.EventType.PlaySound; string arg_78C6_1 = "Boar_Idle"; array6 = new float[1]; arg_78D0_0[arg_78D0_1] = new AnimationInstruction(arg_78CB_0, new AnimInsEvent(arg_78C6_0, arg_78C6_1, array6)); arg_78D8_0.Add(arg_78D8_1, new Animation(arg_78D3_0, arg_78D3_1, arg_78D3_2, arg_78D3_3, arg_78D3_4, arg_78D3_5, arg_78D3_6, arg_78D3_7, arg_78D3_8, arg_78D3_9, arg_78D3_10, arg_78D3_11, arg_78D3_12, arg_78D3_13, arg_78D3_14, array)); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_79E7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_79E7_1 = 4; ushort arg_79E2_0 = 4; byte arg_79E2_1 = 0; Texture2D arg_79E2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Walk/Up"); Vector2 arg_79E2_3 = new Vector2(14f, 27f); int arg_79E2_4 = 4; int arg_79E2_5 = 7; int arg_79E2_6 = 29; int arg_79E2_7 = 37; int arg_79E2_8 = 0; int arg_79E2_9 = 0; int arg_79E2_10 = 30; Animation.LoopSettings arg_79E2_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_79E2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_79E2_13 = true; bool arg_79E2_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_796F_0 = array; int arg_796F_1 = 0; AnimInsCriteria arg_796A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_7965_0 = AnimInsEvent.EventType.PlaySound; string arg_7965_1 = "BoarWalk"; array6 = new float[1]; arg_796F_0[arg_796F_1] = new AnimationInstruction(arg_796A_0, new AnimInsEvent(arg_7965_0, arg_7965_1, array6)); AnimationInstruction[] arg_79A7_0 = array; int arg_79A7_1 = 1; AnimInsCriteria arg_79A2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_799D_0 = AnimInsEvent.EventType.PlaySound; string arg_799D_1 = "BoarWalk"; array6 = new float[1]; arg_79A7_0[arg_79A7_1] = new AnimationInstruction(arg_79A2_0, new AnimInsEvent(arg_799D_0, arg_799D_1, array6)); AnimationInstruction[] arg_79DF_0 = array; int arg_79DF_1 = 2; AnimInsCriteria arg_79DA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_79D5_0 = AnimInsEvent.EventType.PlaySound; string arg_79D5_1 = "BoarWalk"; array6 = new float[1]; arg_79DF_0[arg_79DF_1] = new AnimationInstruction(arg_79DA_0, new AnimInsEvent(arg_79D5_0, arg_79D5_1, array6)); arg_79E7_0.Add(arg_79E7_1, new Animation(arg_79E2_0, arg_79E2_1, arg_79E2_2, arg_79E2_3, arg_79E2_4, arg_79E2_5, arg_79E2_6, arg_79E2_7, arg_79E2_8, arg_79E2_9, arg_79E2_10, arg_79E2_11, arg_79E2_12, arg_79E2_13, arg_79E2_14, array)); Dictionary<ushort, Animation> arg_7ADF_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7ADF_1 = 5; ushort arg_7ADA_0 = 5; byte arg_7ADA_1 = 1; Texture2D arg_7ADA_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Walk/Right"); Vector2 arg_7ADA_3 = new Vector2(17f, 27f); int arg_7ADA_4 = 4; int arg_7ADA_5 = 7; int arg_7ADA_6 = 37; int arg_7ADA_7 = 36; int arg_7ADA_8 = 0; int arg_7ADA_9 = 0; int arg_7ADA_10 = 30; Animation.LoopSettings arg_7ADA_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_7ADA_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7ADA_13 = true; bool arg_7ADA_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_7A67_0 = array; int arg_7A67_1 = 0; AnimInsCriteria arg_7A62_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_7A5D_0 = AnimInsEvent.EventType.PlaySound; string arg_7A5D_1 = "BoarWalk"; array6 = new float[1]; arg_7A67_0[arg_7A67_1] = new AnimationInstruction(arg_7A62_0, new AnimInsEvent(arg_7A5D_0, arg_7A5D_1, array6)); AnimationInstruction[] arg_7A9F_0 = array; int arg_7A9F_1 = 1; AnimInsCriteria arg_7A9A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_7A95_0 = AnimInsEvent.EventType.PlaySound; string arg_7A95_1 = "BoarWalk"; array6 = new float[1]; arg_7A9F_0[arg_7A9F_1] = new AnimationInstruction(arg_7A9A_0, new AnimInsEvent(arg_7A95_0, arg_7A95_1, array6)); AnimationInstruction[] arg_7AD7_0 = array; int arg_7AD7_1 = 2; AnimInsCriteria arg_7AD2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_7ACD_0 = AnimInsEvent.EventType.PlaySound; string arg_7ACD_1 = "BoarWalk"; array6 = new float[1]; arg_7AD7_0[arg_7AD7_1] = new AnimationInstruction(arg_7AD2_0, new AnimInsEvent(arg_7ACD_0, arg_7ACD_1, array6)); arg_7ADF_0.Add(arg_7ADF_1, new Animation(arg_7ADA_0, arg_7ADA_1, arg_7ADA_2, arg_7ADA_3, arg_7ADA_4, arg_7ADA_5, arg_7ADA_6, arg_7ADA_7, arg_7ADA_8, arg_7ADA_9, arg_7ADA_10, arg_7ADA_11, arg_7ADA_12, arg_7ADA_13, arg_7ADA_14, array)); Dictionary<ushort, Animation> arg_7BD7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7BD7_1 = 6; ushort arg_7BD2_0 = 6; byte arg_7BD2_1 = 2; Texture2D arg_7BD2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Walk/Down"); Vector2 arg_7BD2_3 = new Vector2(14f, 27f); int arg_7BD2_4 = 4; int arg_7BD2_5 = 7; int arg_7BD2_6 = 29; int arg_7BD2_7 = 37; int arg_7BD2_8 = 0; int arg_7BD2_9 = 0; int arg_7BD2_10 = 30; Animation.LoopSettings arg_7BD2_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_7BD2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7BD2_13 = true; bool arg_7BD2_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_7B5F_0 = array; int arg_7B5F_1 = 0; AnimInsCriteria arg_7B5A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_7B55_0 = AnimInsEvent.EventType.PlaySound; string arg_7B55_1 = "BoarWalk"; array6 = new float[1]; arg_7B5F_0[arg_7B5F_1] = new AnimationInstruction(arg_7B5A_0, new AnimInsEvent(arg_7B55_0, arg_7B55_1, array6)); AnimationInstruction[] arg_7B97_0 = array; int arg_7B97_1 = 1; AnimInsCriteria arg_7B92_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_7B8D_0 = AnimInsEvent.EventType.PlaySound; string arg_7B8D_1 = "BoarWalk"; array6 = new float[1]; arg_7B97_0[arg_7B97_1] = new AnimationInstruction(arg_7B92_0, new AnimInsEvent(arg_7B8D_0, arg_7B8D_1, array6)); AnimationInstruction[] arg_7BCF_0 = array; int arg_7BCF_1 = 2; AnimInsCriteria arg_7BCA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_7BC5_0 = AnimInsEvent.EventType.PlaySound; string arg_7BC5_1 = "BoarWalk"; array6 = new float[1]; arg_7BCF_0[arg_7BCF_1] = new AnimationInstruction(arg_7BCA_0, new AnimInsEvent(arg_7BC5_0, arg_7BC5_1, array6)); arg_7BD7_0.Add(arg_7BD7_1, new Animation(arg_7BD2_0, arg_7BD2_1, arg_7BD2_2, arg_7BD2_3, arg_7BD2_4, arg_7BD2_5, arg_7BD2_6, arg_7BD2_7, arg_7BD2_8, arg_7BD2_9, arg_7BD2_10, arg_7BD2_11, arg_7BD2_12, arg_7BD2_13, arg_7BD2_14, array)); Dictionary<ushort, Animation> arg_7CCF_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7CCF_1 = 7; ushort arg_7CCA_0 = 7; byte arg_7CCA_1 = 3; Texture2D arg_7CCA_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Walk/Right"); Vector2 arg_7CCA_3 = new Vector2(20f, 27f); int arg_7CCA_4 = 4; int arg_7CCA_5 = 7; int arg_7CCA_6 = 37; int arg_7CCA_7 = 36; int arg_7CCA_8 = 0; int arg_7CCA_9 = 0; int arg_7CCA_10 = 30; Animation.LoopSettings arg_7CCA_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_7CCA_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7CCA_13 = true; bool arg_7CCA_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_7C57_0 = array; int arg_7C57_1 = 0; AnimInsCriteria arg_7C52_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_7C4D_0 = AnimInsEvent.EventType.PlaySound; string arg_7C4D_1 = "BoarWalk"; array6 = new float[1]; arg_7C57_0[arg_7C57_1] = new AnimationInstruction(arg_7C52_0, new AnimInsEvent(arg_7C4D_0, arg_7C4D_1, array6)); AnimationInstruction[] arg_7C8F_0 = array; int arg_7C8F_1 = 1; AnimInsCriteria arg_7C8A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_7C85_0 = AnimInsEvent.EventType.PlaySound; string arg_7C85_1 = "BoarWalk"; array6 = new float[1]; arg_7C8F_0[arg_7C8F_1] = new AnimationInstruction(arg_7C8A_0, new AnimInsEvent(arg_7C85_0, arg_7C85_1, array6)); AnimationInstruction[] arg_7CC7_0 = array; int arg_7CC7_1 = 2; AnimInsCriteria arg_7CC2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_7CBD_0 = AnimInsEvent.EventType.PlaySound; string arg_7CBD_1 = "BoarWalk"; array6 = new float[1]; arg_7CC7_0[arg_7CC7_1] = new AnimationInstruction(arg_7CC2_0, new AnimInsEvent(arg_7CBD_0, arg_7CBD_1, array6)); arg_7CCF_0.Add(arg_7CCF_1, new Animation(arg_7CCA_0, arg_7CCA_1, arg_7CCA_2, arg_7CCA_3, arg_7CCA_4, arg_7CCA_5, arg_7CCA_6, arg_7CCA_7, arg_7CCA_8, arg_7CCA_9, arg_7CCA_10, arg_7CCA_11, arg_7CCA_12, arg_7CCA_13, arg_7CCA_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_7D86_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7D86_1 = 8; ushort arg_7D81_0 = 8; byte arg_7D81_1 = 0; Texture2D arg_7D81_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Stop/Up"); Vector2 arg_7D81_3 = new Vector2(13f, 24f); int arg_7D81_4 = 5; int arg_7D81_5 = 6; int arg_7D81_6 = 27; int arg_7D81_7 = 35; int arg_7D81_8 = 0; int arg_7D81_9 = 0; int arg_7D81_10 = 30; Animation.LoopSettings arg_7D81_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_7D81_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7D81_13 = true; bool arg_7D81_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_7D53_0 = array; int arg_7D53_1 = 0; AnimInsCriteria arg_7D4E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_7D49_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_7D53_0[arg_7D53_1] = new AnimationInstruction(arg_7D4E_0, new AnimInsEvent(arg_7D49_0, array6)); AnimationInstruction[] arg_7D7E_0 = array; int arg_7D7E_1 = 1; AnimInsCriteria arg_7D79_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_7D74_0 = AnimInsEvent.EventType.PlaySound; string arg_7D74_1 = "RunStop"; array6 = new float[1]; arg_7D7E_0[arg_7D7E_1] = new AnimationInstruction(arg_7D79_0, new AnimInsEvent(arg_7D74_0, arg_7D74_1, array6)); arg_7D86_0.Add(arg_7D86_1, new Animation(arg_7D81_0, arg_7D81_1, arg_7D81_2, arg_7D81_3, arg_7D81_4, arg_7D81_5, arg_7D81_6, arg_7D81_7, arg_7D81_8, arg_7D81_9, arg_7D81_10, arg_7D81_11, arg_7D81_12, arg_7D81_13, arg_7D81_14, array)); Dictionary<ushort, Animation> arg_7E31_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7E31_1 = 9; ushort arg_7E2C_0 = 9; byte arg_7E2C_1 = 1; Texture2D arg_7E2C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Stop/Right"); Vector2 arg_7E2C_3 = new Vector2(20f, 24f); int arg_7E2C_4 = 5; int arg_7E2C_5 = 6; int arg_7E2C_6 = 40; int arg_7E2C_7 = 33; int arg_7E2C_8 = 0; int arg_7E2C_9 = 0; int arg_7E2C_10 = 30; Animation.LoopSettings arg_7E2C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_7E2C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7E2C_13 = true; bool arg_7E2C_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); AnimationInstruction[] arg_7E29_0 = array; int arg_7E29_1 = 1; AnimInsCriteria arg_7E24_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_7E1F_0 = AnimInsEvent.EventType.PlaySound; string arg_7E1F_1 = "RunStop"; array6 = new float[1]; arg_7E29_0[arg_7E29_1] = new AnimationInstruction(arg_7E24_0, new AnimInsEvent(arg_7E1F_0, arg_7E1F_1, array6)); arg_7E31_0.Add(arg_7E31_1, new Animation(arg_7E2C_0, arg_7E2C_1, arg_7E2C_2, arg_7E2C_3, arg_7E2C_4, arg_7E2C_5, arg_7E2C_6, arg_7E2C_7, arg_7E2C_8, arg_7E2C_9, arg_7E2C_10, arg_7E2C_11, arg_7E2C_12, arg_7E2C_13, arg_7E2C_14, array)); Dictionary<ushort, Animation> arg_7EDC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7EDC_1 = 10; ushort arg_7ED7_0 = 10; byte arg_7ED7_1 = 2; Texture2D arg_7ED7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Stop/Down"); Vector2 arg_7ED7_3 = new Vector2(13f, 24f); int arg_7ED7_4 = 5; int arg_7ED7_5 = 6; int arg_7ED7_6 = 27; int arg_7ED7_7 = 36; int arg_7ED7_8 = 0; int arg_7ED7_9 = 0; int arg_7ED7_10 = 30; Animation.LoopSettings arg_7ED7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_7ED7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7ED7_13 = true; bool arg_7ED7_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); AnimationInstruction[] arg_7ED4_0 = array; int arg_7ED4_1 = 1; AnimInsCriteria arg_7ECF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_7ECA_0 = AnimInsEvent.EventType.PlaySound; string arg_7ECA_1 = "RunStop"; array6 = new float[1]; arg_7ED4_0[arg_7ED4_1] = new AnimationInstruction(arg_7ECF_0, new AnimInsEvent(arg_7ECA_0, arg_7ECA_1, array6)); arg_7EDC_0.Add(arg_7EDC_1, new Animation(arg_7ED7_0, arg_7ED7_1, arg_7ED7_2, arg_7ED7_3, arg_7ED7_4, arg_7ED7_5, arg_7ED7_6, arg_7ED7_7, arg_7ED7_8, arg_7ED7_9, arg_7ED7_10, arg_7ED7_11, arg_7ED7_12, arg_7ED7_13, arg_7ED7_14, array)); Dictionary<ushort, Animation> arg_7F87_0 = xEn.xRenderComponent.dixAnimations; ushort arg_7F87_1 = 11; ushort arg_7F82_0 = 11; byte arg_7F82_1 = 3; Texture2D arg_7F82_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Stop/Right"); Vector2 arg_7F82_3 = new Vector2(21f, 24f); int arg_7F82_4 = 5; int arg_7F82_5 = 6; int arg_7F82_6 = 40; int arg_7F82_7 = 33; int arg_7F82_8 = 0; int arg_7F82_9 = 0; int arg_7F82_10 = 30; Animation.LoopSettings arg_7F82_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_7F82_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_7F82_13 = true; bool arg_7F82_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); AnimationInstruction[] arg_7F7F_0 = array; int arg_7F7F_1 = 1; AnimInsCriteria arg_7F7A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_7F75_0 = AnimInsEvent.EventType.PlaySound; string arg_7F75_1 = "RunStop"; array6 = new float[1]; arg_7F7F_0[arg_7F7F_1] = new AnimationInstruction(arg_7F7A_0, new AnimInsEvent(arg_7F75_0, arg_7F75_1, array6)); arg_7F87_0.Add(arg_7F87_1, new Animation(arg_7F82_0, arg_7F82_1, arg_7F82_2, arg_7F82_3, arg_7F82_4, arg_7F82_5, arg_7F82_6, arg_7F82_7, arg_7F82_8, arg_7F82_9, arg_7F82_10, arg_7F82_11, arg_7F82_12, arg_7F82_13, arg_7F82_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_8088_0 = xEn.xRenderComponent.dixAnimations; ushort arg_8088_1 = 12; ushort arg_8083_0 = 12; byte arg_8083_1 = 0; Texture2D arg_8083_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Charge/Up"); Vector2 arg_8083_3 = new Vector2(16f, 23f); int arg_8083_4 = 4; int arg_8083_5 = 20; int arg_8083_6 = 33; int arg_8083_7 = 35; int arg_8083_8 = 0; int arg_8083_9 = 0; int arg_8083_10 = 30; Animation.LoopSettings arg_8083_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_8083_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_8083_13 = false; bool arg_8083_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_8022_0 = array; int arg_8022_1 = 0; AnimInsCriteria arg_801D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_8018_0 = AnimInsEvent.EventType.PlaySound; string arg_8018_1 = "BoarScratch"; array6 = new float[1]; arg_8022_0[arg_8022_1] = new AnimationInstruction(arg_801D_0, new AnimInsEvent(arg_8018_0, arg_8018_1, array6)); AnimationInstruction[] arg_805A_0 = array; int arg_805A_1 = 1; AnimInsCriteria arg_8055_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 16f }); AnimInsEvent.EventType arg_8050_0 = AnimInsEvent.EventType.PlaySound; string arg_8050_1 = "BoarScratch"; array6 = new float[1]; arg_805A_0[arg_805A_1] = new AnimationInstruction(arg_8055_0, new AnimInsEvent(arg_8050_0, arg_8050_1, array6)); AnimationInstruction[] arg_8080_0 = array; int arg_8080_1 = 2; AnimInsCriteria arg_807B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_8076_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_8080_0[arg_8080_1] = new AnimationInstruction(arg_807B_0, new AnimInsEvent(arg_8076_0, array6)); arg_8088_0.Add(arg_8088_1, new Animation(arg_8083_0, arg_8083_1, arg_8083_2, arg_8083_3, arg_8083_4, arg_8083_5, arg_8083_6, arg_8083_7, arg_8083_8, arg_8083_9, arg_8083_10, arg_8083_11, arg_8083_12, arg_8083_13, arg_8083_14, array)); Dictionary<ushort, Animation> arg_8171_0 = xEn.xRenderComponent.dixAnimations; ushort arg_8171_1 = 13; ushort arg_816C_0 = 13; byte arg_816C_1 = 1; Texture2D arg_816C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Charge/Right"); Vector2 arg_816C_3 = new Vector2(19f, 24f); int arg_816C_4 = 4; int arg_816C_5 = 20; int arg_816C_6 = 40; int arg_816C_7 = 33; int arg_816C_8 = 0; int arg_816C_9 = 0; int arg_816C_10 = 30; Animation.LoopSettings arg_816C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_816C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_816C_13 = false; bool arg_816C_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_810B_0 = array; int arg_810B_1 = 0; AnimInsCriteria arg_8106_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_8101_0 = AnimInsEvent.EventType.PlaySound; string arg_8101_1 = "BoarScratch"; array6 = new float[1]; arg_810B_0[arg_810B_1] = new AnimationInstruction(arg_8106_0, new AnimInsEvent(arg_8101_0, arg_8101_1, array6)); AnimationInstruction[] arg_8143_0 = array; int arg_8143_1 = 1; AnimInsCriteria arg_813E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 16f }); AnimInsEvent.EventType arg_8139_0 = AnimInsEvent.EventType.PlaySound; string arg_8139_1 = "BoarScratch"; array6 = new float[1]; arg_8143_0[arg_8143_1] = new AnimationInstruction(arg_813E_0, new AnimInsEvent(arg_8139_0, arg_8139_1, array6)); AnimationInstruction[] arg_8169_0 = array; int arg_8169_1 = 2; AnimInsCriteria arg_8164_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_815F_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_8169_0[arg_8169_1] = new AnimationInstruction(arg_8164_0, new AnimInsEvent(arg_815F_0, array6)); arg_8171_0.Add(arg_8171_1, new Animation(arg_816C_0, arg_816C_1, arg_816C_2, arg_816C_3, arg_816C_4, arg_816C_5, arg_816C_6, arg_816C_7, arg_816C_8, arg_816C_9, arg_816C_10, arg_816C_11, arg_816C_12, arg_816C_13, arg_816C_14, array)); Dictionary<ushort, Animation> arg_825A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_825A_1 = 14; ushort arg_8255_0 = 14; byte arg_8255_1 = 2; Texture2D arg_8255_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Charge/Down"); Vector2 arg_8255_3 = new Vector2(13f, 24f); int arg_8255_4 = 4; int arg_8255_5 = 20; int arg_8255_6 = 27; int arg_8255_7 = 35; int arg_8255_8 = 0; int arg_8255_9 = 0; int arg_8255_10 = 30; Animation.LoopSettings arg_8255_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_8255_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_8255_13 = false; bool arg_8255_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_81F4_0 = array; int arg_81F4_1 = 0; AnimInsCriteria arg_81EF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_81EA_0 = AnimInsEvent.EventType.PlaySound; string arg_81EA_1 = "BoarScratch"; array6 = new float[1]; arg_81F4_0[arg_81F4_1] = new AnimationInstruction(arg_81EF_0, new AnimInsEvent(arg_81EA_0, arg_81EA_1, array6)); AnimationInstruction[] arg_822C_0 = array; int arg_822C_1 = 1; AnimInsCriteria arg_8227_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 16f }); AnimInsEvent.EventType arg_8222_0 = AnimInsEvent.EventType.PlaySound; string arg_8222_1 = "BoarScratch"; array6 = new float[1]; arg_822C_0[arg_822C_1] = new AnimationInstruction(arg_8227_0, new AnimInsEvent(arg_8222_0, arg_8222_1, array6)); AnimationInstruction[] arg_8252_0 = array; int arg_8252_1 = 2; AnimInsCriteria arg_824D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_8248_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_8252_0[arg_8252_1] = new AnimationInstruction(arg_824D_0, new AnimInsEvent(arg_8248_0, array6)); arg_825A_0.Add(arg_825A_1, new Animation(arg_8255_0, arg_8255_1, arg_8255_2, arg_8255_3, arg_8255_4, arg_8255_5, arg_8255_6, arg_8255_7, arg_8255_8, arg_8255_9, arg_8255_10, arg_8255_11, arg_8255_12, arg_8255_13, arg_8255_14, array)); Dictionary<ushort, Animation> arg_8343_0 = xEn.xRenderComponent.dixAnimations; ushort arg_8343_1 = 15; ushort arg_833E_0 = 15; byte arg_833E_1 = 3; Texture2D arg_833E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Charge/Right"); Vector2 arg_833E_3 = new Vector2(21f, 24f); int arg_833E_4 = 4; int arg_833E_5 = 20; int arg_833E_6 = 40; int arg_833E_7 = 33; int arg_833E_8 = 0; int arg_833E_9 = 0; int arg_833E_10 = 30; Animation.LoopSettings arg_833E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_833E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_833E_13 = false; bool arg_833E_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_82DD_0 = array; int arg_82DD_1 = 0; AnimInsCriteria arg_82D8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_82D3_0 = AnimInsEvent.EventType.PlaySound; string arg_82D3_1 = "BoarScratch"; array6 = new float[1]; arg_82DD_0[arg_82DD_1] = new AnimationInstruction(arg_82D8_0, new AnimInsEvent(arg_82D3_0, arg_82D3_1, array6)); AnimationInstruction[] arg_8315_0 = array; int arg_8315_1 = 1; AnimInsCriteria arg_8310_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 16f }); AnimInsEvent.EventType arg_830B_0 = AnimInsEvent.EventType.PlaySound; string arg_830B_1 = "BoarScratch"; array6 = new float[1]; arg_8315_0[arg_8315_1] = new AnimationInstruction(arg_8310_0, new AnimInsEvent(arg_830B_0, arg_830B_1, array6)); AnimationInstruction[] arg_833B_0 = array; int arg_833B_1 = 2; AnimInsCriteria arg_8336_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_8331_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_833B_0[arg_833B_1] = new AnimationInstruction(arg_8336_0, new AnimInsEvent(arg_8331_0, array6)); arg_8343_0.Add(arg_8343_1, new Animation(arg_833E_0, arg_833E_1, arg_833E_2, arg_833E_3, arg_833E_4, arg_833E_5, arg_833E_6, arg_833E_7, arg_833E_8, arg_833E_9, arg_833E_10, arg_833E_11, arg_833E_12, arg_833E_13, arg_833E_14, array)); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_8443_0 = xEn.xRenderComponent.dixAnimations; ushort arg_8443_1 = 16; ushort arg_843E_0 = 16; byte arg_843E_1 = 0; Texture2D arg_843E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Impact/Up"); Vector2 arg_843E_3 = new Vector2(15f, 31f); int arg_843E_4 = 4; int arg_843E_5 = 11; int arg_843E_6 = 31; int arg_843E_7 = 41; int arg_843E_8 = 0; int arg_843E_9 = 0; int arg_843E_10 = 30; Animation.LoopSettings arg_843E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_843E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_843E_13 = true; bool arg_843E_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_83D1_0 = array; int arg_83D1_1 = 0; AnimInsCriteria arg_83CC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_83C7_0 = AnimInsEvent.EventType.PlaySound; string arg_83C7_1 = "Rock_break"; array6 = new float[1]; arg_83D1_0[arg_83D1_1] = new AnimationInstruction(arg_83CC_0, new AnimInsEvent(arg_83C7_0, arg_83C7_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 20f })); arg_8443_0.Add(arg_8443_1, new Animation(arg_843E_0, arg_843E_1, arg_843E_2, arg_843E_3, arg_843E_4, arg_843E_5, arg_843E_6, arg_843E_7, arg_843E_8, arg_843E_9, arg_843E_10, arg_843E_11, arg_843E_12, arg_843E_13, arg_843E_14, array)); Dictionary<ushort, Animation> arg_852B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_852B_1 = 17; ushort arg_8526_0 = 17; byte arg_8526_1 = 1; Texture2D arg_8526_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Impact/Right"); Vector2 arg_8526_3 = new Vector2(19f, 30f); int arg_8526_4 = 4; int arg_8526_5 = 11; int arg_8526_6 = 42; int arg_8526_7 = 39; int arg_8526_8 = 0; int arg_8526_9 = 0; int arg_8526_10 = 30; Animation.LoopSettings arg_8526_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_8526_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_8526_13 = true; bool arg_8526_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_84B9_0 = array; int arg_84B9_1 = 0; AnimInsCriteria arg_84B4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_84AF_0 = AnimInsEvent.EventType.PlaySound; string arg_84AF_1 = "Rock_break"; array6 = new float[1]; arg_84B9_0[arg_84B9_1] = new AnimationInstruction(arg_84B4_0, new AnimInsEvent(arg_84AF_0, arg_84AF_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 21f })); arg_852B_0.Add(arg_852B_1, new Animation(arg_8526_0, arg_8526_1, arg_8526_2, arg_8526_3, arg_8526_4, arg_8526_5, arg_8526_6, arg_8526_7, arg_8526_8, arg_8526_9, arg_8526_10, arg_8526_11, arg_8526_12, arg_8526_13, arg_8526_14, array)); Dictionary<ushort, Animation> arg_8613_0 = xEn.xRenderComponent.dixAnimations; ushort arg_8613_1 = 18; ushort arg_860E_0 = 18; byte arg_860E_1 = 2; Texture2D arg_860E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Impact/Down"); Vector2 arg_860E_3 = new Vector2(15f, 32f); int arg_860E_4 = 4; int arg_860E_5 = 11; int arg_860E_6 = 31; int arg_860E_7 = 42; int arg_860E_8 = 0; int arg_860E_9 = 0; int arg_860E_10 = 30; Animation.LoopSettings arg_860E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_860E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_860E_13 = true; bool arg_860E_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_85A1_0 = array; int arg_85A1_1 = 0; AnimInsCriteria arg_859C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_8597_0 = AnimInsEvent.EventType.PlaySound; string arg_8597_1 = "Rock_break"; array6 = new float[1]; arg_85A1_0[arg_85A1_1] = new AnimationInstruction(arg_859C_0, new AnimInsEvent(arg_8597_0, arg_8597_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 22f })); arg_8613_0.Add(arg_8613_1, new Animation(arg_860E_0, arg_860E_1, arg_860E_2, arg_860E_3, arg_860E_4, arg_860E_5, arg_860E_6, arg_860E_7, arg_860E_8, arg_860E_9, arg_860E_10, arg_860E_11, arg_860E_12, arg_860E_13, arg_860E_14, array)); Dictionary<ushort, Animation> arg_86FB_0 = xEn.xRenderComponent.dixAnimations; ushort arg_86FB_1 = 19; ushort arg_86F6_0 = 19; byte arg_86F6_1 = 3; Texture2D arg_86F6_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Impact/Right"); Vector2 arg_86F6_3 = new Vector2(23f, 30f); int arg_86F6_4 = 4; int arg_86F6_5 = 11; int arg_86F6_6 = 42; int arg_86F6_7 = 39; int arg_86F6_8 = 0; int arg_86F6_9 = 0; int arg_86F6_10 = 30; Animation.LoopSettings arg_86F6_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_86F6_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_86F6_13 = true; bool arg_86F6_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_8689_0 = array; int arg_8689_1 = 0; AnimInsCriteria arg_8684_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_867F_0 = AnimInsEvent.EventType.PlaySound; string arg_867F_1 = "Rock_break"; array6 = new float[1]; arg_8689_0[arg_8689_1] = new AnimationInstruction(arg_8684_0, new AnimInsEvent(arg_867F_0, arg_867F_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 23f })); arg_86FB_0.Add(arg_86FB_1, new Animation(arg_86F6_0, arg_86F6_1, arg_86F6_2, arg_86F6_3, arg_86F6_4, arg_86F6_5, arg_86F6_6, arg_86F6_7, arg_86F6_8, arg_86F6_9, arg_86F6_10, arg_86F6_11, arg_86F6_12, arg_86F6_13, arg_86F6_14, array)); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Dizzy/Up"), new Vector2(14f, 24f), 5, 10, 29, 34, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Dizzy/Right"), new Vector2(17f, 23f), 5, 10, 39, 31, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Dizzy/Down"), new Vector2(14f, 25f), 5, 10, 29, 35, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Dizzy/Right"), new Vector2(22f, 23f), 5, 10, 39, 31, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; int arg_8871_0 = GameSessionData.iBaseDifficulty; xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 0, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Attack/Up"), new Vector2(16f, 32f), 4, 14, 34, 43, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 1, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Attack/Right"), new Vector2(28f, 28f), 4, 14, 58, 37, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 2, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Attack/Down"), new Vector2(14f, 24f), 4, 14, 29, 36, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 3, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Attack/Right"), new Vector2(30f, 28f), 4, 14, 58, 37, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_8A74_0 = xEn.xRenderComponent.dixAnimations; ushort arg_8A74_1 = 28; ushort arg_8A6F_0 = 28; byte arg_8A6F_1 = 0; Texture2D arg_8A6F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Up"); Vector2 arg_8A6F_3 = new Vector2(13f, 22f); int arg_8A6F_4 = 4; int arg_8A6F_5 = 4; int arg_8A6F_6 = 27; int arg_8A6F_7 = 33; int arg_8A6F_8 = 0; int arg_8A6F_9 = 0; int arg_8A6F_10 = 30; Animation.LoopSettings arg_8A6F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_8A6F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_8A6F_13 = false; bool arg_8A6F_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 20f })); AnimationInstruction[] arg_8A6C_0 = array; int arg_8A6C_1 = 1; AnimInsCriteria arg_8A67_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_8A62_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_8A6C_0[arg_8A6C_1] = new AnimationInstruction(arg_8A67_0, new AnimInsEvent(arg_8A62_0, array6)); arg_8A74_0.Add(arg_8A74_1, new Animation(arg_8A6F_0, arg_8A6F_1, arg_8A6F_2, arg_8A6F_3, arg_8A6F_4, arg_8A6F_5, arg_8A6F_6, arg_8A6F_7, arg_8A6F_8, arg_8A6F_9, arg_8A6F_10, arg_8A6F_11, arg_8A6F_12, arg_8A6F_13, arg_8A6F_14, array)); xEn.xRenderComponent.dixAnimations.Add(29, new Animation(29, 1, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Right"), new Vector2(19f, 24f), 4, 4, 40, 33, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), 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[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(30, new Animation(30, 2, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Down"), new Vector2(13f, 23f), 4, 4, 27, 33, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), 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[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(31, new Animation(31, 3, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Right"), new Vector2(21f, 24f), 4, 4, 40, 33, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), 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 })) })); xEn.xRenderComponent.dixAnimations[31].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(32, new Animation(32, 0, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Dead/Right"), new Vector2(18f, 27f), 4, 18, 40, 36, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 18f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 4f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(33, new Animation(33, 1, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Dead/Right"), new Vector2(18f, 27f), 4, 18, 40, 36, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 18f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 4f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(34, new Animation(34, 2, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Dead/Right"), new Vector2(18f, 27f), 4, 18, 40, 36, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 18f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 4f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(35, new Animation(35, 3, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Dead/Right"), new Vector2(22f, 27f), 4, 18, 40, 36, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 18f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 4f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations[35].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_90C7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_90C7_1 = 36; ushort arg_90C2_0 = 36; byte arg_90C2_1 = 0; Texture2D arg_90C2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Shake/Up"); Vector2 arg_90C2_3 = new Vector2(17f, 22f); int arg_90C2_4 = 4; int arg_90C2_5 = 12; int arg_90C2_6 = 35; int arg_90C2_7 = 32; int arg_90C2_8 = 0; int arg_90C2_9 = 0; int arg_90C2_10 = 30; Animation.LoopSettings arg_90C2_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_90C2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_90C2_13 = false; bool arg_90C2_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_909A_0 = array; int arg_909A_1 = 0; AnimInsCriteria arg_9095_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_9090_0 = AnimInsEvent.EventType.PlaySound; string arg_9090_1 = "Vilya_DizzyShake"; array6 = new float[1]; arg_909A_0[arg_909A_1] = new AnimationInstruction(arg_9095_0, new AnimInsEvent(arg_9090_0, arg_9090_1, array6)); AnimationInstruction[] arg_90BF_0 = array; int arg_90BF_1 = 1; AnimInsCriteria arg_90BA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_90B5_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_90BF_0[arg_90BF_1] = new AnimationInstruction(arg_90BA_0, new AnimInsEvent(arg_90B5_0, array6)); arg_90C7_0.Add(arg_90C7_1, new Animation(arg_90C2_0, arg_90C2_1, arg_90C2_2, arg_90C2_3, arg_90C2_4, arg_90C2_5, arg_90C2_6, arg_90C2_7, arg_90C2_8, arg_90C2_9, arg_90C2_10, arg_90C2_11, arg_90C2_12, arg_90C2_13, arg_90C2_14, array)); Dictionary<ushort, Animation> arg_9173_0 = xEn.xRenderComponent.dixAnimations; ushort arg_9173_1 = 37; ushort arg_916E_0 = 37; byte arg_916E_1 = 1; Texture2D arg_916E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Shake/Right"); Vector2 arg_916E_3 = new Vector2(19f, 23f); int arg_916E_4 = 4; int arg_916E_5 = 12; int arg_916E_6 = 43; int arg_916E_7 = 32; int arg_916E_8 = 0; int arg_916E_9 = 0; int arg_916E_10 = 30; Animation.LoopSettings arg_916E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_916E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_916E_13 = false; bool arg_916E_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_913D_0 = array; int arg_913D_1 = 0; AnimInsCriteria arg_9138_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_9133_0 = AnimInsEvent.EventType.PlaySound; string arg_9133_1 = "Vilya_DizzyShake"; array6 = new float[1]; arg_913D_0[arg_913D_1] = new AnimationInstruction(arg_9138_0, new AnimInsEvent(arg_9133_0, arg_9133_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_9173_0.Add(arg_9173_1, new Animation(arg_916E_0, arg_916E_1, arg_916E_2, arg_916E_3, arg_916E_4, arg_916E_5, arg_916E_6, arg_916E_7, arg_916E_8, arg_916E_9, arg_916E_10, arg_916E_11, arg_916E_12, arg_916E_13, arg_916E_14, array)); Dictionary<ushort, Animation> arg_921F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_921F_1 = 38; ushort arg_921A_0 = 38; byte arg_921A_1 = 2; Texture2D arg_921A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Shake/Down"); Vector2 arg_921A_3 = new Vector2(14f, 22f); int arg_921A_4 = 4; int arg_921A_5 = 12; int arg_921A_6 = 29; int arg_921A_7 = 32; int arg_921A_8 = 0; int arg_921A_9 = 0; int arg_921A_10 = 30; Animation.LoopSettings arg_921A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_921A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_921A_13 = false; bool arg_921A_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_91E9_0 = array; int arg_91E9_1 = 0; AnimInsCriteria arg_91E4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_91DF_0 = AnimInsEvent.EventType.PlaySound; string arg_91DF_1 = "Vilya_DizzyShake"; array6 = new float[1]; arg_91E9_0[arg_91E9_1] = new AnimationInstruction(arg_91E4_0, new AnimInsEvent(arg_91DF_0, arg_91DF_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_921F_0.Add(arg_921F_1, new Animation(arg_921A_0, arg_921A_1, arg_921A_2, arg_921A_3, arg_921A_4, arg_921A_5, arg_921A_6, arg_921A_7, arg_921A_8, arg_921A_9, arg_921A_10, arg_921A_11, arg_921A_12, arg_921A_13, arg_921A_14, array)); Dictionary<ushort, Animation> arg_92CB_0 = xEn.xRenderComponent.dixAnimations; ushort arg_92CB_1 = 39; ushort arg_92C6_0 = 39; byte arg_92C6_1 = 3; Texture2D arg_92C6_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Shake/Right"); Vector2 arg_92C6_3 = new Vector2(24f, 23f); int arg_92C6_4 = 4; int arg_92C6_5 = 12; int arg_92C6_6 = 43; int arg_92C6_7 = 32; int arg_92C6_8 = 0; int arg_92C6_9 = 0; int arg_92C6_10 = 30; Animation.LoopSettings arg_92C6_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_92C6_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_92C6_13 = false; bool arg_92C6_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_9295_0 = array; int arg_9295_1 = 0; AnimInsCriteria arg_9290_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_928B_0 = AnimInsEvent.EventType.PlaySound; string arg_928B_1 = "Vilya_DizzyShake"; array6 = new float[1]; arg_9295_0[arg_9295_1] = new AnimationInstruction(arg_9290_0, new AnimInsEvent(arg_928B_0, arg_928B_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_92CB_0.Add(arg_92CB_1, new Animation(arg_92C6_0, arg_92C6_1, arg_92C6_2, arg_92C6_3, arg_92C6_4, arg_92C6_5, arg_92C6_6, arg_92C6_7, arg_92C6_8, arg_92C6_9, arg_92C6_10, arg_92C6_11, arg_92C6_12, arg_92C6_13, arg_92C6_14, array)); xEn.xRenderComponent.dixAnimations[39].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_93DD_0 = xEn.xRenderComponent.dixAnimations; ushort arg_93DD_1 = 40; ushort arg_93D8_0 = 40; byte arg_93D8_1 = 0; Texture2D arg_93D8_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Walk/Up"); Vector2 arg_93D8_3 = new Vector2(14f, 27f); int arg_93D8_4 = 3; int arg_93D8_5 = 7; int arg_93D8_6 = 29; int arg_93D8_7 = 37; int arg_93D8_8 = 0; int arg_93D8_9 = 0; int arg_93D8_10 = 30; Animation.LoopSettings arg_93D8_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_93D8_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_93D8_13 = true; bool arg_93D8_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_9365_0 = array; int arg_9365_1 = 0; AnimInsCriteria arg_9360_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_935B_0 = AnimInsEvent.EventType.PlaySound; string arg_935B_1 = "BoarRun"; array6 = new float[1]; arg_9365_0[arg_9365_1] = new AnimationInstruction(arg_9360_0, new AnimInsEvent(arg_935B_0, arg_935B_1, array6)); AnimationInstruction[] arg_939D_0 = array; int arg_939D_1 = 1; AnimInsCriteria arg_9398_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_9393_0 = AnimInsEvent.EventType.PlaySound; string arg_9393_1 = "BoarRun"; array6 = new float[1]; arg_939D_0[arg_939D_1] = new AnimationInstruction(arg_9398_0, new AnimInsEvent(arg_9393_0, arg_9393_1, array6)); AnimationInstruction[] arg_93D5_0 = array; int arg_93D5_1 = 2; AnimInsCriteria arg_93D0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_93CB_0 = AnimInsEvent.EventType.PlaySound; string arg_93CB_1 = "BoarRun"; array6 = new float[1]; arg_93D5_0[arg_93D5_1] = new AnimationInstruction(arg_93D0_0, new AnimInsEvent(arg_93CB_0, arg_93CB_1, array6)); arg_93DD_0.Add(arg_93DD_1, new Animation(arg_93D8_0, arg_93D8_1, arg_93D8_2, arg_93D8_3, arg_93D8_4, arg_93D8_5, arg_93D8_6, arg_93D8_7, arg_93D8_8, arg_93D8_9, arg_93D8_10, arg_93D8_11, arg_93D8_12, arg_93D8_13, arg_93D8_14, array)); Dictionary<ushort, Animation> arg_94D7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_94D7_1 = 41; ushort arg_94D2_0 = 41; byte arg_94D2_1 = 1; Texture2D arg_94D2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Walk/Right"); Vector2 arg_94D2_3 = new Vector2(17f, 27f); int arg_94D2_4 = 3; int arg_94D2_5 = 7; int arg_94D2_6 = 37; int arg_94D2_7 = 36; int arg_94D2_8 = 0; int arg_94D2_9 = 0; int arg_94D2_10 = 30; Animation.LoopSettings arg_94D2_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_94D2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_94D2_13 = true; bool arg_94D2_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_945F_0 = array; int arg_945F_1 = 0; AnimInsCriteria arg_945A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_9455_0 = AnimInsEvent.EventType.PlaySound; string arg_9455_1 = "BoarRun"; array6 = new float[1]; arg_945F_0[arg_945F_1] = new AnimationInstruction(arg_945A_0, new AnimInsEvent(arg_9455_0, arg_9455_1, array6)); AnimationInstruction[] arg_9497_0 = array; int arg_9497_1 = 1; AnimInsCriteria arg_9492_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_948D_0 = AnimInsEvent.EventType.PlaySound; string arg_948D_1 = "BoarRun"; array6 = new float[1]; arg_9497_0[arg_9497_1] = new AnimationInstruction(arg_9492_0, new AnimInsEvent(arg_948D_0, arg_948D_1, array6)); AnimationInstruction[] arg_94CF_0 = array; int arg_94CF_1 = 2; AnimInsCriteria arg_94CA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_94C5_0 = AnimInsEvent.EventType.PlaySound; string arg_94C5_1 = "BoarRun"; array6 = new float[1]; arg_94CF_0[arg_94CF_1] = new AnimationInstruction(arg_94CA_0, new AnimInsEvent(arg_94C5_0, arg_94C5_1, array6)); arg_94D7_0.Add(arg_94D7_1, new Animation(arg_94D2_0, arg_94D2_1, arg_94D2_2, arg_94D2_3, arg_94D2_4, arg_94D2_5, arg_94D2_6, arg_94D2_7, arg_94D2_8, arg_94D2_9, arg_94D2_10, arg_94D2_11, arg_94D2_12, arg_94D2_13, arg_94D2_14, array)); Dictionary<ushort, Animation> arg_95D1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_95D1_1 = 42; ushort arg_95CC_0 = 42; byte arg_95CC_1 = 2; Texture2D arg_95CC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Walk/Down"); Vector2 arg_95CC_3 = new Vector2(14f, 27f); int arg_95CC_4 = 3; int arg_95CC_5 = 7; int arg_95CC_6 = 29; int arg_95CC_7 = 37; int arg_95CC_8 = 0; int arg_95CC_9 = 0; int arg_95CC_10 = 30; Animation.LoopSettings arg_95CC_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_95CC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_95CC_13 = true; bool arg_95CC_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_9559_0 = array; int arg_9559_1 = 0; AnimInsCriteria arg_9554_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_954F_0 = AnimInsEvent.EventType.PlaySound; string arg_954F_1 = "BoarRun"; array6 = new float[1]; arg_9559_0[arg_9559_1] = new AnimationInstruction(arg_9554_0, new AnimInsEvent(arg_954F_0, arg_954F_1, array6)); AnimationInstruction[] arg_9591_0 = array; int arg_9591_1 = 1; AnimInsCriteria arg_958C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_9587_0 = AnimInsEvent.EventType.PlaySound; string arg_9587_1 = "BoarRun"; array6 = new float[1]; arg_9591_0[arg_9591_1] = new AnimationInstruction(arg_958C_0, new AnimInsEvent(arg_9587_0, arg_9587_1, array6)); AnimationInstruction[] arg_95C9_0 = array; int arg_95C9_1 = 2; AnimInsCriteria arg_95C4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_95BF_0 = AnimInsEvent.EventType.PlaySound; string arg_95BF_1 = "BoarRun"; array6 = new float[1]; arg_95C9_0[arg_95C9_1] = new AnimationInstruction(arg_95C4_0, new AnimInsEvent(arg_95BF_0, arg_95BF_1, array6)); arg_95D1_0.Add(arg_95D1_1, new Animation(arg_95CC_0, arg_95CC_1, arg_95CC_2, arg_95CC_3, arg_95CC_4, arg_95CC_5, arg_95CC_6, arg_95CC_7, arg_95CC_8, arg_95CC_9, arg_95CC_10, arg_95CC_11, arg_95CC_12, arg_95CC_13, arg_95CC_14, array)); Dictionary<ushort, Animation> arg_96CB_0 = xEn.xRenderComponent.dixAnimations; ushort arg_96CB_1 = 43; ushort arg_96C6_0 = 43; byte arg_96C6_1 = 3; Texture2D arg_96C6_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Walk/Right"); Vector2 arg_96C6_3 = new Vector2(20f, 27f); int arg_96C6_4 = 3; int arg_96C6_5 = 7; int arg_96C6_6 = 37; int arg_96C6_7 = 36; int arg_96C6_8 = 0; int arg_96C6_9 = 0; int arg_96C6_10 = 30; Animation.LoopSettings arg_96C6_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_96C6_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_96C6_13 = true; bool arg_96C6_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_9653_0 = array; int arg_9653_1 = 0; AnimInsCriteria arg_964E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_9649_0 = AnimInsEvent.EventType.PlaySound; string arg_9649_1 = "BoarRun"; array6 = new float[1]; arg_9653_0[arg_9653_1] = new AnimationInstruction(arg_964E_0, new AnimInsEvent(arg_9649_0, arg_9649_1, array6)); AnimationInstruction[] arg_968B_0 = array; int arg_968B_1 = 1; AnimInsCriteria arg_9686_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_9681_0 = AnimInsEvent.EventType.PlaySound; string arg_9681_1 = "BoarRun"; array6 = new float[1]; arg_968B_0[arg_968B_1] = new AnimationInstruction(arg_9686_0, new AnimInsEvent(arg_9681_0, arg_9681_1, array6)); AnimationInstruction[] arg_96C3_0 = array; int arg_96C3_1 = 2; AnimInsCriteria arg_96BE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_96B9_0 = AnimInsEvent.EventType.PlaySound; string arg_96B9_1 = "BoarRun"; array6 = new float[1]; arg_96C3_0[arg_96C3_1] = new AnimationInstruction(arg_96BE_0, new AnimInsEvent(arg_96B9_0, arg_96B9_1, array6)); arg_96CB_0.Add(arg_96CB_1, new Animation(arg_96C6_0, arg_96C6_1, arg_96C6_2, arg_96C6_3, arg_96C6_4, arg_96C6_5, arg_96C6_6, arg_96C6_7, arg_96C6_8, arg_96C6_9, arg_96C6_10, arg_96C6_11, arg_96C6_12, arg_96C6_13, arg_96C6_14, array)); xEn.xRenderComponent.dixAnimations[43].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Up"), new Vector2(13f, 22f), 4, 2, 27, 33, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Right"), new Vector2(19f, 24f), 4, 2, 40, 33, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Down"), new Vector2(13f, 23f), 4, 2, 27, 33, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Right"), new Vector2(21f, 24f), 4, 2, 40, 33, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_98CC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_98CC_1 = 40004; ushort arg_98C7_0 = 40004; byte arg_98C7_1 = 0; Texture2D arg_98C7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Up"); Vector2 arg_98C7_3 = new Vector2(13f, 22f); int arg_98C7_4 = 4; int arg_98C7_5 = 2; int arg_98C7_6 = 27; int arg_98C7_7 = 33; int arg_98C7_8 = 54; int arg_98C7_9 = 0; int arg_98C7_10 = 30; Animation.LoopSettings arg_98C7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_98C7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_98C7_13 = false; bool arg_98C7_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_98C4_0 = array; int arg_98C4_1 = 0; AnimInsCriteria arg_98BF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_98BA_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_98C4_0[arg_98C4_1] = new AnimationInstruction(arg_98BF_0, new AnimInsEvent(arg_98BA_0, array6)); arg_98CC_0.Add(arg_98CC_1, new Animation(arg_98C7_0, arg_98C7_1, arg_98C7_2, arg_98C7_3, arg_98C7_4, arg_98C7_5, arg_98C7_6, arg_98C7_7, arg_98C7_8, arg_98C7_9, arg_98C7_10, arg_98C7_11, arg_98C7_12, arg_98C7_13, arg_98C7_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Right"), new Vector2(19f, 24f), 4, 2, 40, 33, 80, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Down"), new Vector2(13f, 23f), 4, 2, 27, 33, 54, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Evergrind Fields/Swine/Damage/Right"), new Vector2(21f, 24f), 4, 2, 40, 33, 80, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Boar"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PoofEffectA; xEn.liAnimationsWithAttackphase.Add(24); xEn.liAnimationsWithAttackphase.Add(25); xEn.liAnimationsWithAttackphase.Add(26); xEn.liAnimationsWithAttackphase.Add(27); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Pumpkin) { xEn.xBaseStats.fMovementSpeed = 0.5f; xEn.enType = enType; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xBehaviour = new PumpkinAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 8; xEn.aiHitAnimation[1] = 9; xEn.aiHitAnimation[2] = 10; xEn.aiHitAnimation[3] = 11; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; Dictionary<ushort, Animation> arg_9C69_0 = xEn.xRenderComponent.dixAnimations; ushort arg_9C69_1 = 0; ushort arg_9C64_0 = 0; byte arg_9C64_1 = 0; Texture2D arg_9C64_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Up"); Vector2 arg_9C64_3 = new Vector2(13f, 28f); int arg_9C64_4 = 5; int arg_9C64_5 = 8; int arg_9C64_6 = 27; int arg_9C64_7 = 32; int arg_9C64_8 = 0; int arg_9C64_9 = 0; int arg_9C64_10 = 8; Animation.LoopSettings arg_9C64_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_9C64_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_9C64_13 = true; bool arg_9C64_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_9C3B_0 = array; int arg_9C3B_1 = 0; AnimInsCriteria arg_9C36_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_9C31_0 = AnimInsEvent.EventType.PlaySound; string arg_9C31_1 = "Pumpkin_Jump"; float[] array6 = new float[1]; arg_9C3B_0[arg_9C3B_1] = new AnimationInstruction(arg_9C36_0, new AnimInsEvent(arg_9C31_0, arg_9C31_1, array6)); AnimationInstruction[] arg_9C61_0 = array; int arg_9C61_1 = 1; AnimInsCriteria arg_9C5C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_9C57_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_9C61_0[arg_9C61_1] = new AnimationInstruction(arg_9C5C_0, new AnimInsEvent(arg_9C57_0, array6)); arg_9C69_0.Add(arg_9C69_1, new Animation(arg_9C64_0, arg_9C64_1, arg_9C64_2, arg_9C64_3, arg_9C64_4, arg_9C64_5, arg_9C64_6, arg_9C64_7, arg_9C64_8, arg_9C64_9, arg_9C64_10, arg_9C64_11, arg_9C64_12, arg_9C64_13, arg_9C64_14, array)); Dictionary<ushort, Animation> arg_9D16_0 = xEn.xRenderComponent.dixAnimations; ushort arg_9D16_1 = 1; ushort arg_9D11_0 = 1; byte arg_9D11_1 = 1; Texture2D arg_9D11_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Right"); Vector2 arg_9D11_3 = new Vector2(13f, 30f); int arg_9D11_4 = 5; int arg_9D11_5 = 8; int arg_9D11_6 = 27; int arg_9D11_7 = 34; int arg_9D11_8 = 0; int arg_9D11_9 = 0; int arg_9D11_10 = 8; Animation.LoopSettings arg_9D11_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_9D11_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_9D11_13 = true; bool arg_9D11_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_9CE8_0 = array; int arg_9CE8_1 = 0; AnimInsCriteria arg_9CE3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_9CDE_0 = AnimInsEvent.EventType.PlaySound; string arg_9CDE_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_9CE8_0[arg_9CE8_1] = new AnimationInstruction(arg_9CE3_0, new AnimInsEvent(arg_9CDE_0, arg_9CDE_1, array6)); AnimationInstruction[] arg_9D0E_0 = array; int arg_9D0E_1 = 1; AnimInsCriteria arg_9D09_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_9D04_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_9D0E_0[arg_9D0E_1] = new AnimationInstruction(arg_9D09_0, new AnimInsEvent(arg_9D04_0, array6)); arg_9D16_0.Add(arg_9D16_1, new Animation(arg_9D11_0, arg_9D11_1, arg_9D11_2, arg_9D11_3, arg_9D11_4, arg_9D11_5, arg_9D11_6, arg_9D11_7, arg_9D11_8, arg_9D11_9, arg_9D11_10, arg_9D11_11, arg_9D11_12, arg_9D11_13, arg_9D11_14, array)); Dictionary<ushort, Animation> arg_9DC3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_9DC3_1 = 2; ushort arg_9DBE_0 = 2; byte arg_9DBE_1 = 2; Texture2D arg_9DBE_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Down"); Vector2 arg_9DBE_3 = new Vector2(13f, 28f); int arg_9DBE_4 = 5; int arg_9DBE_5 = 8; int arg_9DBE_6 = 27; int arg_9DBE_7 = 32; int arg_9DBE_8 = 0; int arg_9DBE_9 = 0; int arg_9DBE_10 = 8; Animation.LoopSettings arg_9DBE_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_9DBE_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_9DBE_13 = true; bool arg_9DBE_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_9D95_0 = array; int arg_9D95_1 = 0; AnimInsCriteria arg_9D90_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_9D8B_0 = AnimInsEvent.EventType.PlaySound; string arg_9D8B_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_9D95_0[arg_9D95_1] = new AnimationInstruction(arg_9D90_0, new AnimInsEvent(arg_9D8B_0, arg_9D8B_1, array6)); AnimationInstruction[] arg_9DBB_0 = array; int arg_9DBB_1 = 1; AnimInsCriteria arg_9DB6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_9DB1_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_9DBB_0[arg_9DBB_1] = new AnimationInstruction(arg_9DB6_0, new AnimInsEvent(arg_9DB1_0, array6)); arg_9DC3_0.Add(arg_9DC3_1, new Animation(arg_9DBE_0, arg_9DBE_1, arg_9DBE_2, arg_9DBE_3, arg_9DBE_4, arg_9DBE_5, arg_9DBE_6, arg_9DBE_7, arg_9DBE_8, arg_9DBE_9, arg_9DBE_10, arg_9DBE_11, arg_9DBE_12, arg_9DBE_13, arg_9DBE_14, array)); Dictionary<ushort, Animation> arg_9E70_0 = xEn.xRenderComponent.dixAnimations; ushort arg_9E70_1 = 3; ushort arg_9E6B_0 = 3; byte arg_9E6B_1 = 3; Texture2D arg_9E6B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Right"); Vector2 arg_9E6B_3 = new Vector2(14f, 30f); int arg_9E6B_4 = 5; int arg_9E6B_5 = 8; int arg_9E6B_6 = 27; int arg_9E6B_7 = 34; int arg_9E6B_8 = 0; int arg_9E6B_9 = 0; int arg_9E6B_10 = 8; Animation.LoopSettings arg_9E6B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_9E6B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_9E6B_13 = true; bool arg_9E6B_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_9E42_0 = array; int arg_9E42_1 = 0; AnimInsCriteria arg_9E3D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_9E38_0 = AnimInsEvent.EventType.PlaySound; string arg_9E38_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_9E42_0[arg_9E42_1] = new AnimationInstruction(arg_9E3D_0, new AnimInsEvent(arg_9E38_0, arg_9E38_1, array6)); AnimationInstruction[] arg_9E68_0 = array; int arg_9E68_1 = 1; AnimInsCriteria arg_9E63_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_9E5E_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_9E68_0[arg_9E68_1] = new AnimationInstruction(arg_9E63_0, new AnimInsEvent(arg_9E5E_0, array6)); arg_9E70_0.Add(arg_9E70_1, new Animation(arg_9E6B_0, arg_9E6B_1, arg_9E6B_2, arg_9E6B_3, arg_9E6B_4, arg_9E6B_5, arg_9E6B_6, arg_9E6B_7, arg_9E6B_8, arg_9E6B_9, arg_9E6B_10, arg_9E6B_11, arg_9E6B_12, arg_9E6B_13, arg_9E6B_14, array)); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_9F6C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_9F6C_1 = 4; ushort arg_9F67_0 = 4; byte arg_9F67_1 = 0; Texture2D arg_9F67_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Up"); Vector2 arg_9F67_3 = new Vector2(13f, 28f); int arg_9F67_4 = 4; int arg_9F67_5 = 8; int arg_9F67_6 = 27; int arg_9F67_7 = 32; int arg_9F67_8 = 0; int arg_9F67_9 = 0; int arg_9F67_10 = 8; Animation.LoopSettings arg_9F67_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_9F67_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_9F67_13 = true; bool arg_9F67_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_9F06_0 = array; int arg_9F06_1 = 0; AnimInsCriteria arg_9F01_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_9EFC_0 = AnimInsEvent.EventType.PlaySound; string arg_9EFC_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_9F06_0[arg_9F06_1] = new AnimationInstruction(arg_9F01_0, new AnimInsEvent(arg_9EFC_0, arg_9EFC_1, array6)); AnimationInstruction[] arg_9F3E_0 = array; int arg_9F3E_1 = 1; AnimInsCriteria arg_9F39_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_9F34_0 = AnimInsEvent.EventType.PlaySound; string arg_9F34_1 = "Pumpkin_Attack"; array6 = new float[1]; arg_9F3E_0[arg_9F3E_1] = new AnimationInstruction(arg_9F39_0, new AnimInsEvent(arg_9F34_0, arg_9F34_1, array6)); AnimationInstruction[] arg_9F64_0 = array; int arg_9F64_1 = 2; AnimInsCriteria arg_9F5F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_9F5A_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_9F64_0[arg_9F64_1] = new AnimationInstruction(arg_9F5F_0, new AnimInsEvent(arg_9F5A_0, array6)); arg_9F6C_0.Add(arg_9F6C_1, new Animation(arg_9F67_0, arg_9F67_1, arg_9F67_2, arg_9F67_3, arg_9F67_4, arg_9F67_5, arg_9F67_6, arg_9F67_7, arg_9F67_8, arg_9F67_9, arg_9F67_10, arg_9F67_11, arg_9F67_12, arg_9F67_13, arg_9F67_14, array)); Dictionary<ushort, Animation> arg_A051_0 = xEn.xRenderComponent.dixAnimations; ushort arg_A051_1 = 5; ushort arg_A04C_0 = 5; byte arg_A04C_1 = 1; Texture2D arg_A04C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Right"); Vector2 arg_A04C_3 = new Vector2(13f, 30f); int arg_A04C_4 = 4; int arg_A04C_5 = 8; int arg_A04C_6 = 27; int arg_A04C_7 = 34; int arg_A04C_8 = 0; int arg_A04C_9 = 0; int arg_A04C_10 = 8; Animation.LoopSettings arg_A04C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_A04C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_A04C_13 = true; bool arg_A04C_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_9FEB_0 = array; int arg_9FEB_1 = 0; AnimInsCriteria arg_9FE6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_9FE1_0 = AnimInsEvent.EventType.PlaySound; string arg_9FE1_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_9FEB_0[arg_9FEB_1] = new AnimationInstruction(arg_9FE6_0, new AnimInsEvent(arg_9FE1_0, arg_9FE1_1, array6)); AnimationInstruction[] arg_A023_0 = array; int arg_A023_1 = 1; AnimInsCriteria arg_A01E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_A019_0 = AnimInsEvent.EventType.PlaySound; string arg_A019_1 = "Pumpkin_Attack"; array6 = new float[1]; arg_A023_0[arg_A023_1] = new AnimationInstruction(arg_A01E_0, new AnimInsEvent(arg_A019_0, arg_A019_1, array6)); AnimationInstruction[] arg_A049_0 = array; int arg_A049_1 = 2; AnimInsCriteria arg_A044_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_A03F_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_A049_0[arg_A049_1] = new AnimationInstruction(arg_A044_0, new AnimInsEvent(arg_A03F_0, array6)); arg_A051_0.Add(arg_A051_1, new Animation(arg_A04C_0, arg_A04C_1, arg_A04C_2, arg_A04C_3, arg_A04C_4, arg_A04C_5, arg_A04C_6, arg_A04C_7, arg_A04C_8, arg_A04C_9, arg_A04C_10, arg_A04C_11, arg_A04C_12, arg_A04C_13, arg_A04C_14, array)); Dictionary<ushort, Animation> arg_A136_0 = xEn.xRenderComponent.dixAnimations; ushort arg_A136_1 = 6; ushort arg_A131_0 = 6; byte arg_A131_1 = 2; Texture2D arg_A131_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Down"); Vector2 arg_A131_3 = new Vector2(13f, 28f); int arg_A131_4 = 4; int arg_A131_5 = 8; int arg_A131_6 = 27; int arg_A131_7 = 32; int arg_A131_8 = 0; int arg_A131_9 = 0; int arg_A131_10 = 8; Animation.LoopSettings arg_A131_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_A131_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_A131_13 = true; bool arg_A131_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_A0D0_0 = array; int arg_A0D0_1 = 0; AnimInsCriteria arg_A0CB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_A0C6_0 = AnimInsEvent.EventType.PlaySound; string arg_A0C6_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_A0D0_0[arg_A0D0_1] = new AnimationInstruction(arg_A0CB_0, new AnimInsEvent(arg_A0C6_0, arg_A0C6_1, array6)); AnimationInstruction[] arg_A108_0 = array; int arg_A108_1 = 1; AnimInsCriteria arg_A103_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_A0FE_0 = AnimInsEvent.EventType.PlaySound; string arg_A0FE_1 = "Pumpkin_Attack"; array6 = new float[1]; arg_A108_0[arg_A108_1] = new AnimationInstruction(arg_A103_0, new AnimInsEvent(arg_A0FE_0, arg_A0FE_1, array6)); AnimationInstruction[] arg_A12E_0 = array; int arg_A12E_1 = 2; AnimInsCriteria arg_A129_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_A124_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_A12E_0[arg_A12E_1] = new AnimationInstruction(arg_A129_0, new AnimInsEvent(arg_A124_0, array6)); arg_A136_0.Add(arg_A136_1, new Animation(arg_A131_0, arg_A131_1, arg_A131_2, arg_A131_3, arg_A131_4, arg_A131_5, arg_A131_6, arg_A131_7, arg_A131_8, arg_A131_9, arg_A131_10, arg_A131_11, arg_A131_12, arg_A131_13, arg_A131_14, array)); Dictionary<ushort, Animation> arg_A21B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_A21B_1 = 7; ushort arg_A216_0 = 7; byte arg_A216_1 = 3; Texture2D arg_A216_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Right"); Vector2 arg_A216_3 = new Vector2(14f, 30f); int arg_A216_4 = 4; int arg_A216_5 = 8; int arg_A216_6 = 27; int arg_A216_7 = 34; int arg_A216_8 = 0; int arg_A216_9 = 0; int arg_A216_10 = 8; Animation.LoopSettings arg_A216_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_A216_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_A216_13 = true; bool arg_A216_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_A1B5_0 = array; int arg_A1B5_1 = 0; AnimInsCriteria arg_A1B0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_A1AB_0 = AnimInsEvent.EventType.PlaySound; string arg_A1AB_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_A1B5_0[arg_A1B5_1] = new AnimationInstruction(arg_A1B0_0, new AnimInsEvent(arg_A1AB_0, arg_A1AB_1, array6)); AnimationInstruction[] arg_A1ED_0 = array; int arg_A1ED_1 = 1; AnimInsCriteria arg_A1E8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_A1E3_0 = AnimInsEvent.EventType.PlaySound; string arg_A1E3_1 = "Pumpkin_Attack"; array6 = new float[1]; arg_A1ED_0[arg_A1ED_1] = new AnimationInstruction(arg_A1E8_0, new AnimInsEvent(arg_A1E3_0, arg_A1E3_1, array6)); AnimationInstruction[] arg_A213_0 = array; int arg_A213_1 = 2; AnimInsCriteria arg_A20E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_A209_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_A213_0[arg_A213_1] = new AnimationInstruction(arg_A20E_0, new AnimInsEvent(arg_A209_0, array6)); arg_A21B_0.Add(arg_A21B_1, new Animation(arg_A216_0, arg_A216_1, arg_A216_2, arg_A216_3, arg_A216_4, arg_A216_5, arg_A216_6, arg_A216_7, arg_A216_8, arg_A216_9, arg_A216_10, arg_A216_11, arg_A216_12, arg_A216_13, arg_A216_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_A2E3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_A2E3_1 = 8; ushort arg_A2DE_0 = 8; byte arg_A2DE_1 = 0; Texture2D arg_A2DE_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Up"); Vector2 arg_A2DE_3 = new Vector2(12f, 20f); int arg_A2DE_4 = 4; int arg_A2DE_5 = 2; int arg_A2DE_6 = 25; int arg_A2DE_7 = 23; int arg_A2DE_8 = 0; int arg_A2DE_9 = 0; int arg_A2DE_10 = 14; Animation.LoopSettings arg_A2DE_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_A2DE_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_A2DE_13 = false; bool arg_A2DE_14 = false; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 20f })); AnimationInstruction[] arg_A2DB_0 = array; int arg_A2DB_1 = 1; AnimInsCriteria arg_A2D6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_A2D1_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_A2DB_0[arg_A2DB_1] = new AnimationInstruction(arg_A2D6_0, new AnimInsEvent(arg_A2D1_0, array6)); arg_A2E3_0.Add(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)); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 2, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, 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[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Down"), new Vector2(12f, 22f), 4, 2, 25, 25, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, 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[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 2, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, 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 })) })); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(12, new Animation(12, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Appear/Down"), new Vector2(13f, 25f), 4, 10, 27, 32, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Up"), new Vector2(12f, 20f), 4, 1, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Down"), new Vector2(12f, 22f), 4, 1, 25, 25, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_A799_0 = xEn.xRenderComponent.dixAnimations; ushort arg_A799_1 = 40004; ushort arg_A794_0 = 40004; byte arg_A794_1 = 0; Texture2D arg_A794_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Up"); Vector2 arg_A794_3 = new Vector2(12f, 20f); int arg_A794_4 = 4; int arg_A794_5 = 1; int arg_A794_6 = 25; int arg_A794_7 = 23; int arg_A794_8 = 25; int arg_A794_9 = 0; int arg_A794_10 = 14; Animation.LoopSettings arg_A794_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_A794_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_A794_13 = false; bool arg_A794_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_A791_0 = array; int arg_A791_1 = 0; AnimInsCriteria arg_A78C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_A787_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_A791_0[arg_A791_1] = new AnimationInstruction(arg_A78C_0, new AnimInsEvent(arg_A787_0, array6)); arg_A799_0.Add(arg_A799_1, new Animation(arg_A794_0, arg_A794_1, arg_A794_2, arg_A794_3, arg_A794_4, arg_A794_5, arg_A794_6, arg_A794_7, arg_A794_8, arg_A794_9, arg_A794_10, arg_A794_11, arg_A794_12, arg_A794_13, arg_A794_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 25, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Down"), new Vector2(12f, 22f), 4, 1, 25, 25, 25, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 25, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Pumpkin"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PumpkinDeath; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.PyroPumpkin) { xEn.xBaseStats.iLevel = 0; xEn.xBaseStats.iBaseMaxHP = (xEn.xBaseStats.iHP = 18); xEn.xBaseStats.fMovementSpeed = 0.8f; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.enType = enType; xEn.xBehaviour = new JackLanternAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 8; xEn.aiHitAnimation[1] = 9; xEn.aiHitAnimation[2] = 10; xEn.aiHitAnimation[3] = 11; Dictionary<ushort, Animation> arg_AB3D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_AB3D_1 = 0; ushort arg_AB38_0 = 0; byte arg_AB38_1 = 0; Texture2D arg_AB38_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Idle/Up"); Vector2 arg_AB38_3 = new Vector2(17f, 38f); int arg_AB38_4 = 4; int arg_AB38_5 = 14; int arg_AB38_6 = 34; int arg_AB38_7 = 43; int arg_AB38_8 = 0; int arg_AB38_9 = 0; int arg_AB38_10 = 14; Animation.LoopSettings arg_AB38_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_AB38_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_AB38_13 = true; bool arg_AB38_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_AB02_0 = array; int arg_AB02_1 = 0; AnimInsCriteria arg_AAFD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_AAF8_0 = AnimInsEvent.EventType.CallBackAnimation; float[] array6 = new float[1]; arg_AB02_0[arg_AB02_1] = new AnimationInstruction(arg_AAFD_0, new AnimInsEvent(arg_AAF8_0, array6)); AnimationInstruction[] arg_AB35_0 = array; int arg_AB35_1 = 1; AnimInsCriteria arg_AB30_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }); AnimInsEvent.EventType arg_AB2B_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_AB35_0[arg_AB35_1] = new AnimationInstruction(arg_AB30_0, new AnimInsEvent(arg_AB2B_0, array6)); arg_AB3D_0.Add(arg_AB3D_1, new Animation(arg_AB38_0, arg_AB38_1, arg_AB38_2, arg_AB38_3, arg_AB38_4, arg_AB38_5, arg_AB38_6, arg_AB38_7, arg_AB38_8, arg_AB38_9, arg_AB38_10, arg_AB38_11, arg_AB38_12, arg_AB38_13, arg_AB38_14, array)); Dictionary<ushort, Animation> arg_ABF4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_ABF4_1 = 1; ushort arg_ABEF_0 = 1; byte arg_ABEF_1 = 1; Texture2D arg_ABEF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Idle/Right"); Vector2 arg_ABEF_3 = new Vector2(17f, 38f); int arg_ABEF_4 = 4; int arg_ABEF_5 = 14; int arg_ABEF_6 = 32; int arg_ABEF_7 = 43; int arg_ABEF_8 = 0; int arg_ABEF_9 = 0; int arg_ABEF_10 = 14; Animation.LoopSettings arg_ABEF_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_ABEF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_ABEF_13 = true; bool arg_ABEF_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_ABB9_0 = array; int arg_ABB9_1 = 0; AnimInsCriteria arg_ABB4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_ABAF_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_ABB9_0[arg_ABB9_1] = new AnimationInstruction(arg_ABB4_0, new AnimInsEvent(arg_ABAF_0, array6)); AnimationInstruction[] arg_ABEC_0 = array; int arg_ABEC_1 = 1; AnimInsCriteria arg_ABE7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }); AnimInsEvent.EventType arg_ABE2_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_ABEC_0[arg_ABEC_1] = new AnimationInstruction(arg_ABE7_0, new AnimInsEvent(arg_ABE2_0, array6)); arg_ABF4_0.Add(arg_ABF4_1, new Animation(arg_ABEF_0, arg_ABEF_1, arg_ABEF_2, arg_ABEF_3, arg_ABEF_4, arg_ABEF_5, arg_ABEF_6, arg_ABEF_7, arg_ABEF_8, arg_ABEF_9, arg_ABEF_10, arg_ABEF_11, arg_ABEF_12, arg_ABEF_13, arg_ABEF_14, array)); Dictionary<ushort, Animation> arg_ACAB_0 = xEn.xRenderComponent.dixAnimations; ushort arg_ACAB_1 = 2; ushort arg_ACA6_0 = 2; byte arg_ACA6_1 = 2; Texture2D arg_ACA6_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Idle/Down"); Vector2 arg_ACA6_3 = new Vector2(17f, 38f); int arg_ACA6_4 = 4; int arg_ACA6_5 = 14; int arg_ACA6_6 = 32; int arg_ACA6_7 = 43; int arg_ACA6_8 = 0; int arg_ACA6_9 = 0; int arg_ACA6_10 = 14; Animation.LoopSettings arg_ACA6_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_ACA6_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_ACA6_13 = true; bool arg_ACA6_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_AC70_0 = array; int arg_AC70_1 = 0; AnimInsCriteria arg_AC6B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_AC66_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_AC70_0[arg_AC70_1] = new AnimationInstruction(arg_AC6B_0, new AnimInsEvent(arg_AC66_0, array6)); AnimationInstruction[] arg_ACA3_0 = array; int arg_ACA3_1 = 1; AnimInsCriteria arg_AC9E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }); AnimInsEvent.EventType arg_AC99_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_ACA3_0[arg_ACA3_1] = new AnimationInstruction(arg_AC9E_0, new AnimInsEvent(arg_AC99_0, array6)); arg_ACAB_0.Add(arg_ACAB_1, new Animation(arg_ACA6_0, arg_ACA6_1, arg_ACA6_2, arg_ACA6_3, arg_ACA6_4, arg_ACA6_5, arg_ACA6_6, arg_ACA6_7, arg_ACA6_8, arg_ACA6_9, arg_ACA6_10, arg_ACA6_11, arg_ACA6_12, arg_ACA6_13, arg_ACA6_14, array)); Dictionary<ushort, Animation> arg_AD62_0 = xEn.xRenderComponent.dixAnimations; ushort arg_AD62_1 = 3; ushort arg_AD5D_0 = 3; byte arg_AD5D_1 = 3; Texture2D arg_AD5D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Idle/Right"); Vector2 arg_AD5D_3 = new Vector2(16f, 38f); int arg_AD5D_4 = 4; int arg_AD5D_5 = 14; int arg_AD5D_6 = 32; int arg_AD5D_7 = 43; int arg_AD5D_8 = 0; int arg_AD5D_9 = 0; int arg_AD5D_10 = 14; Animation.LoopSettings arg_AD5D_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_AD5D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_AD5D_13 = true; bool arg_AD5D_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_AD27_0 = array; int arg_AD27_1 = 0; AnimInsCriteria arg_AD22_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_AD1D_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_AD27_0[arg_AD27_1] = new AnimationInstruction(arg_AD22_0, new AnimInsEvent(arg_AD1D_0, array6)); AnimationInstruction[] arg_AD5A_0 = array; int arg_AD5A_1 = 1; AnimInsCriteria arg_AD55_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }); AnimInsEvent.EventType arg_AD50_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_AD5A_0[arg_AD5A_1] = new AnimationInstruction(arg_AD55_0, new AnimInsEvent(arg_AD50_0, array6)); arg_AD62_0.Add(arg_AD62_1, new Animation(arg_AD5D_0, arg_AD5D_1, arg_AD5D_2, arg_AD5D_3, arg_AD5D_4, arg_AD5D_5, arg_AD5D_6, arg_AD5D_7, arg_AD5D_8, arg_AD5D_9, arg_AD5D_10, arg_AD5D_11, arg_AD5D_12, arg_AD5D_13, arg_AD5D_14, array)); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_AE5F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_AE5F_1 = 4; ushort arg_AE5A_0 = 4; byte arg_AE5A_1 = 0; Texture2D arg_AE5A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Attack/Up"); Vector2 arg_AE5A_3 = new Vector2(24f, 36f); int arg_AE5A_4 = 4; int arg_AE5A_5 = 15; int arg_AE5A_6 = 49; int arg_AE5A_7 = 40; int arg_AE5A_8 = 0; int arg_AE5A_9 = 0; int arg_AE5A_10 = 15; Animation.LoopSettings arg_AE5A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_AE5A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_AE5A_13 = false; bool arg_AE5A_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f, 1f })); AnimationInstruction[] arg_AE2C_0 = array; int arg_AE2C_1 = 1; AnimInsCriteria arg_AE27_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_AE22_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_AE2C_0[arg_AE2C_1] = new AnimationInstruction(arg_AE27_0, new AnimInsEvent(arg_AE22_0, array6)); AnimationInstruction[] arg_AE57_0 = array; int arg_AE57_1 = 2; AnimInsCriteria arg_AE52_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_AE4D_0 = AnimInsEvent.EventType.PlaySound; string arg_AE4D_1 = "Jacko_Attack"; array6 = new float[1]; arg_AE57_0[arg_AE57_1] = new AnimationInstruction(arg_AE52_0, new AnimInsEvent(arg_AE4D_0, arg_AE4D_1, array6)); arg_AE5F_0.Add(arg_AE5F_1, new Animation(arg_AE5A_0, arg_AE5A_1, arg_AE5A_2, arg_AE5A_3, arg_AE5A_4, arg_AE5A_5, arg_AE5A_6, arg_AE5A_7, arg_AE5A_8, arg_AE5A_9, arg_AE5A_10, arg_AE5A_11, arg_AE5A_12, arg_AE5A_13, arg_AE5A_14, array)); Dictionary<ushort, Animation> arg_AF4E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_AF4E_1 = 5; ushort arg_AF49_0 = 5; byte arg_AF49_1 = 1; Texture2D arg_AF49_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Attack/Right"); Vector2 arg_AF49_3 = new Vector2(19f, 36f); int arg_AF49_4 = 4; int arg_AF49_5 = 15; int arg_AF49_6 = 45; int arg_AF49_7 = 40; int arg_AF49_8 = 0; int arg_AF49_9 = 0; int arg_AF49_10 = 15; Animation.LoopSettings arg_AF49_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_AF49_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_AF49_13 = false; bool arg_AF49_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f, 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); AnimationInstruction[] arg_AF46_0 = array; int arg_AF46_1 = 2; AnimInsCriteria arg_AF41_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_AF3C_0 = AnimInsEvent.EventType.PlaySound; string arg_AF3C_1 = "Jacko_Attack"; array6 = new float[1]; arg_AF46_0[arg_AF46_1] = new AnimationInstruction(arg_AF41_0, new AnimInsEvent(arg_AF3C_0, arg_AF3C_1, array6)); arg_AF4E_0.Add(arg_AF4E_1, new Animation(arg_AF49_0, arg_AF49_1, arg_AF49_2, arg_AF49_3, arg_AF49_4, arg_AF49_5, arg_AF49_6, arg_AF49_7, arg_AF49_8, arg_AF49_9, arg_AF49_10, arg_AF49_11, arg_AF49_12, arg_AF49_13, arg_AF49_14, array)); Dictionary<ushort, Animation> arg_B03D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_B03D_1 = 6; ushort arg_B038_0 = 6; byte arg_B038_1 = 2; Texture2D arg_B038_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Attack/Down"); Vector2 arg_B038_3 = new Vector2(25f, 37f); int arg_B038_4 = 4; int arg_B038_5 = 15; int arg_B038_6 = 48; int arg_B038_7 = 42; int arg_B038_8 = 0; int arg_B038_9 = 0; int arg_B038_10 = 15; Animation.LoopSettings arg_B038_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_B038_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_B038_13 = false; bool arg_B038_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f, 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); AnimationInstruction[] arg_B035_0 = array; int arg_B035_1 = 2; AnimInsCriteria arg_B030_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_B02B_0 = AnimInsEvent.EventType.PlaySound; string arg_B02B_1 = "Jacko_Attack"; array6 = new float[1]; arg_B035_0[arg_B035_1] = new AnimationInstruction(arg_B030_0, new AnimInsEvent(arg_B02B_0, arg_B02B_1, array6)); arg_B03D_0.Add(arg_B03D_1, new Animation(arg_B038_0, arg_B038_1, arg_B038_2, arg_B038_3, arg_B038_4, arg_B038_5, arg_B038_6, arg_B038_7, arg_B038_8, arg_B038_9, arg_B038_10, arg_B038_11, arg_B038_12, arg_B038_13, arg_B038_14, array)); Dictionary<ushort, Animation> arg_B12C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_B12C_1 = 7; ushort arg_B127_0 = 7; byte arg_B127_1 = 3; Texture2D arg_B127_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Attack/Right"); Vector2 arg_B127_3 = new Vector2(24f, 36f); int arg_B127_4 = 4; int arg_B127_5 = 15; int arg_B127_6 = 45; int arg_B127_7 = 40; int arg_B127_8 = 0; int arg_B127_9 = 0; int arg_B127_10 = 15; Animation.LoopSettings arg_B127_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_B127_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_B127_13 = false; bool arg_B127_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f, 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); AnimationInstruction[] arg_B124_0 = array; int arg_B124_1 = 2; AnimInsCriteria arg_B11F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_B11A_0 = AnimInsEvent.EventType.PlaySound; string arg_B11A_1 = "Jacko_Attack"; array6 = new float[1]; arg_B124_0[arg_B124_1] = new AnimationInstruction(arg_B11F_0, new AnimInsEvent(arg_B11A_0, arg_B11A_1, array6)); arg_B12C_0.Add(arg_B12C_1, new Animation(arg_B127_0, arg_B127_1, arg_B127_2, arg_B127_3, arg_B127_4, arg_B127_5, arg_B127_6, arg_B127_7, arg_B127_8, arg_B127_9, arg_B127_10, arg_B127_11, arg_B127_12, arg_B127_13, arg_B127_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_B1F4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_B1F4_1 = 8; ushort arg_B1EF_0 = 8; byte arg_B1EF_1 = 0; Texture2D arg_B1EF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Damage/Up"); Vector2 arg_B1EF_3 = new Vector2(17f, 38f); int arg_B1EF_4 = 4; int arg_B1EF_5 = 2; int arg_B1EF_6 = 34; int arg_B1EF_7 = 43; int arg_B1EF_8 = 0; int arg_B1EF_9 = 0; int arg_B1EF_10 = 15; Animation.LoopSettings arg_B1EF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_B1EF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_B1EF_13 = false; bool arg_B1EF_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_B1B0_0 = array; int arg_B1B0_1 = 0; AnimInsCriteria arg_B1AB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_B1A6_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_B1B0_0[arg_B1B0_1] = new AnimationInstruction(arg_B1AB_0, new AnimInsEvent(arg_B1A6_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })); arg_B1F4_0.Add(arg_B1F4_1, new Animation(arg_B1EF_0, arg_B1EF_1, arg_B1EF_2, arg_B1EF_3, arg_B1EF_4, arg_B1EF_5, arg_B1EF_6, arg_B1EF_7, arg_B1EF_8, arg_B1EF_9, arg_B1EF_10, arg_B1EF_11, arg_B1EF_12, arg_B1EF_13, arg_B1EF_14, array)); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Damage/Right"), new Vector2(16f, 38f), 4, 2, 32, 43, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })) })); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Damage/Down"), new Vector2(16f, 38f), 4, 2, 32, 43, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, 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[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })) })); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Damage/Right"), new Vector2(16f, 38f), 4, 2, 32, 43, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })) })); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_B515_0 = xEn.xRenderComponent.dixAnimations; ushort arg_B515_1 = 10002; ushort arg_B510_0 = 10002; byte arg_B510_1 = 2; Texture2D arg_B510_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Jack o Lantern/Death/Down"); Vector2 arg_B510_3 = new Vector2(31f, 35f); int arg_B510_4 = 4; int arg_B510_5 = 19; int arg_B510_6 = 62; int arg_B510_7 = 42; int arg_B510_8 = 0; int arg_B510_9 = 0; int arg_B510_10 = 19; Animation.LoopSettings arg_B510_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_B510_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_B510_13 = false; bool arg_B510_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])); AnimationInstruction[] arg_B4EB_0 = array; int arg_B4EB_1 = 1; AnimInsCriteria arg_B4E6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 19f }); AnimInsEvent.EventType arg_B4E1_0 = AnimInsEvent.EventType.PlaySound; string arg_B4E1_1 = "Pumpkin_Death"; array6 = new float[1]; arg_B4EB_0[arg_B4EB_1] = new AnimationInstruction(arg_B4E6_0, new AnimInsEvent(arg_B4E1_0, arg_B4E1_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])); arg_B515_0.Add(arg_B515_1, new Animation(arg_B510_0, arg_B510_1, arg_B510_2, arg_B510_3, arg_B510_4, arg_B510_5, arg_B510_6, arg_B510_7, arg_B510_8, arg_B510_9, arg_B510_10, arg_B510_11, arg_B510_12, arg_B510_13, arg_B510_14, array)); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Up"), new Vector2(12f, 20f), 4, 1, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Down"), new Vector2(12f, 22f), 4, 1, 25, 25, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_B6FE_0 = xEn.xRenderComponent.dixAnimations; ushort arg_B6FE_1 = 40004; ushort arg_B6F9_0 = 40004; byte arg_B6F9_1 = 0; Texture2D arg_B6F9_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Up"); Vector2 arg_B6F9_3 = new Vector2(12f, 20f); int arg_B6F9_4 = 4; int arg_B6F9_5 = 1; int arg_B6F9_6 = 25; int arg_B6F9_7 = 23; int arg_B6F9_8 = 25; int arg_B6F9_9 = 0; int arg_B6F9_10 = 14; Animation.LoopSettings arg_B6F9_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_B6F9_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_B6F9_13 = false; bool arg_B6F9_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_B6F6_0 = array; int arg_B6F6_1 = 0; AnimInsCriteria arg_B6F1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_B6EC_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_B6F6_0[arg_B6F6_1] = new AnimationInstruction(arg_B6F1_0, new AnimInsEvent(arg_B6EC_0, array6)); arg_B6FE_0.Add(arg_B6FE_1, new Animation(arg_B6F9_0, arg_B6F9_1, arg_B6F9_2, arg_B6F9_3, arg_B6F9_4, arg_B6F9_5, arg_B6F9_6, arg_B6F9_7, arg_B6F9_8, arg_B6F9_9, arg_B6F9_10, arg_B6F9_11, arg_B6F9_12, arg_B6F9_13, arg_B6F9_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 25, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Down"), new Vector2(12f, 22f), 4, 1, 25, 25, 25, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 25, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "JackLantern"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PumpkinDeath; xEn.liAnimationsWithAttackphase.Add(4); xEn.liAnimationsWithAttackphase.Add(5); xEn.liAnimationsWithAttackphase.Add(6); xEn.liAnimationsWithAttackphase.Add(7); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); JackLanternLight xLight = new JackLanternLight(xEn); Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight); } else if (enType == EnemyCodex.EnemyTypes.Scarecrow) { xEn.xBaseStats.fMovementSpeed = 1.5f + (float)GameSessionData.iBaseDifficulty * 0.2f; xEn.xBaseStats.iKnockbackResistance = 3; xEn.xBaseStats.iBaseDEF = GameSessionData.iBaseDifficulty * 10; xEn.enType = enType; xEn.xBehaviour = new ScarecrowAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 0; xEn.aiHitAnimation[1] = 1; xEn.aiHitAnimation[2] = 2; xEn.aiHitAnimation[3] = 3; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; Dictionary<ushort, Animation> arg_BB0A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_BB0A_1 = 0; ushort arg_BB05_0 = 0; byte arg_BB05_1 = 0; Texture2D arg_BB05_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Idle/Up"); Vector2 arg_BB05_3 = new Vector2(20f, 43f); int arg_BB05_4 = 5; int arg_BB05_5 = 22; int arg_BB05_6 = 41; int arg_BB05_7 = 46; int arg_BB05_8 = 0; int arg_BB05_9 = 0; int arg_BB05_10 = 22; Animation.LoopSettings arg_BB05_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_BB05_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_BB05_13 = true; bool arg_BB05_14 = true; AnimationInstruction[] array = new AnimationInstruction[3]; AnimationInstruction[] arg_BAA4_0 = array; int arg_BAA4_1 = 0; AnimInsCriteria arg_BA9F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_BA9A_0 = AnimInsEvent.EventType.CallBackAnimation; float[] array6 = new float[1]; arg_BAA4_0[arg_BAA4_1] = new AnimationInstruction(arg_BA9F_0, new AnimInsEvent(arg_BA9A_0, array6)); AnimationInstruction[] arg_BAD7_0 = array; int arg_BAD7_1 = 1; AnimInsCriteria arg_BAD2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_BACD_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_BAD7_0[arg_BAD7_1] = new AnimationInstruction(arg_BAD2_0, new AnimInsEvent(arg_BACD_0, array6)); AnimationInstruction[] arg_BB02_0 = array; int arg_BB02_1 = 2; AnimInsCriteria arg_BAFD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_BAF8_0 = AnimInsEvent.EventType.PlaySound; string arg_BAF8_1 = "Scarecrow_Idle"; array6 = new float[1]; arg_BB02_0[arg_BB02_1] = new AnimationInstruction(arg_BAFD_0, new AnimInsEvent(arg_BAF8_0, arg_BAF8_1, array6)); arg_BB0A_0.Add(arg_BB0A_1, new Animation(arg_BB05_0, arg_BB05_1, arg_BB05_2, arg_BB05_3, arg_BB05_4, arg_BB05_5, arg_BB05_6, arg_BB05_7, arg_BB05_8, arg_BB05_9, arg_BB05_10, arg_BB05_11, arg_BB05_12, arg_BB05_13, arg_BB05_14, array)); Dictionary<ushort, Animation> arg_BBEC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_BBEC_1 = 1; ushort arg_BBE7_0 = 1; byte arg_BBE7_1 = 1; Texture2D arg_BBE7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Idle/Right"); Vector2 arg_BBE7_3 = new Vector2(19f, 44f); int arg_BBE7_4 = 5; int arg_BBE7_5 = 22; int arg_BBE7_6 = 37; int arg_BBE7_7 = 51; int arg_BBE7_8 = 0; int arg_BBE7_9 = 0; int arg_BBE7_10 = 22; Animation.LoopSettings arg_BBE7_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_BBE7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_BBE7_13 = true; bool arg_BBE7_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_BB86_0 = array; int arg_BB86_1 = 0; AnimInsCriteria arg_BB81_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_BB7C_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_BB86_0[arg_BB86_1] = new AnimationInstruction(arg_BB81_0, new AnimInsEvent(arg_BB7C_0, array6)); AnimationInstruction[] arg_BBB9_0 = array; int arg_BBB9_1 = 1; AnimInsCriteria arg_BBB4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_BBAF_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_BBB9_0[arg_BBB9_1] = new AnimationInstruction(arg_BBB4_0, new AnimInsEvent(arg_BBAF_0, array6)); AnimationInstruction[] arg_BBE4_0 = array; int arg_BBE4_1 = 2; AnimInsCriteria arg_BBDF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_BBDA_0 = AnimInsEvent.EventType.PlaySound; string arg_BBDA_1 = "Scarecrow_Idle"; array6 = new float[1]; arg_BBE4_0[arg_BBE4_1] = new AnimationInstruction(arg_BBDF_0, new AnimInsEvent(arg_BBDA_0, arg_BBDA_1, array6)); arg_BBEC_0.Add(arg_BBEC_1, new Animation(arg_BBE7_0, arg_BBE7_1, arg_BBE7_2, arg_BBE7_3, arg_BBE7_4, arg_BBE7_5, arg_BBE7_6, arg_BBE7_7, arg_BBE7_8, arg_BBE7_9, arg_BBE7_10, arg_BBE7_11, arg_BBE7_12, arg_BBE7_13, arg_BBE7_14, array)); Dictionary<ushort, Animation> arg_BCCE_0 = xEn.xRenderComponent.dixAnimations; ushort arg_BCCE_1 = 2; ushort arg_BCC9_0 = 2; byte arg_BCC9_1 = 2; Texture2D arg_BCC9_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Idle/Down"); Vector2 arg_BCC9_3 = new Vector2(20f, 44f); int arg_BCC9_4 = 5; int arg_BCC9_5 = 22; int arg_BCC9_6 = 41; int arg_BCC9_7 = 47; int arg_BCC9_8 = 0; int arg_BCC9_9 = 0; int arg_BCC9_10 = 22; Animation.LoopSettings arg_BCC9_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_BCC9_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_BCC9_13 = true; bool arg_BCC9_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_BC68_0 = array; int arg_BC68_1 = 0; AnimInsCriteria arg_BC63_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_BC5E_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_BC68_0[arg_BC68_1] = new AnimationInstruction(arg_BC63_0, new AnimInsEvent(arg_BC5E_0, array6)); AnimationInstruction[] arg_BC9B_0 = array; int arg_BC9B_1 = 1; AnimInsCriteria arg_BC96_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_BC91_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_BC9B_0[arg_BC9B_1] = new AnimationInstruction(arg_BC96_0, new AnimInsEvent(arg_BC91_0, array6)); AnimationInstruction[] arg_BCC6_0 = array; int arg_BCC6_1 = 2; AnimInsCriteria arg_BCC1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_BCBC_0 = AnimInsEvent.EventType.PlaySound; string arg_BCBC_1 = "Scarecrow_Idle"; array6 = new float[1]; arg_BCC6_0[arg_BCC6_1] = new AnimationInstruction(arg_BCC1_0, new AnimInsEvent(arg_BCBC_0, arg_BCBC_1, array6)); arg_BCCE_0.Add(arg_BCCE_1, new Animation(arg_BCC9_0, arg_BCC9_1, arg_BCC9_2, arg_BCC9_3, arg_BCC9_4, arg_BCC9_5, arg_BCC9_6, arg_BCC9_7, arg_BCC9_8, arg_BCC9_9, arg_BCC9_10, arg_BCC9_11, arg_BCC9_12, arg_BCC9_13, arg_BCC9_14, array)); Dictionary<ushort, Animation> arg_BDB0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_BDB0_1 = 3; ushort arg_BDAB_0 = 3; byte arg_BDAB_1 = 3; Texture2D arg_BDAB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Idle/Right"); Vector2 arg_BDAB_3 = new Vector2(17f, 44f); int arg_BDAB_4 = 5; int arg_BDAB_5 = 22; int arg_BDAB_6 = 37; int arg_BDAB_7 = 51; int arg_BDAB_8 = 0; int arg_BDAB_9 = 0; int arg_BDAB_10 = 22; Animation.LoopSettings arg_BDAB_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_BDAB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_BDAB_13 = true; bool arg_BDAB_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_BD4A_0 = array; int arg_BD4A_1 = 0; AnimInsCriteria arg_BD45_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_BD40_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_BD4A_0[arg_BD4A_1] = new AnimationInstruction(arg_BD45_0, new AnimInsEvent(arg_BD40_0, array6)); AnimationInstruction[] arg_BD7D_0 = array; int arg_BD7D_1 = 1; AnimInsCriteria arg_BD78_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_BD73_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_BD7D_0[arg_BD7D_1] = new AnimationInstruction(arg_BD78_0, new AnimInsEvent(arg_BD73_0, array6)); AnimationInstruction[] arg_BDA8_0 = array; int arg_BDA8_1 = 2; AnimInsCriteria arg_BDA3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_BD9E_0 = AnimInsEvent.EventType.PlaySound; string arg_BD9E_1 = "Scarecrow_Idle"; array6 = new float[1]; arg_BDA8_0[arg_BDA8_1] = new AnimationInstruction(arg_BDA3_0, new AnimInsEvent(arg_BD9E_0, arg_BD9E_1, array6)); arg_BDB0_0.Add(arg_BDB0_1, new Animation(arg_BDAB_0, arg_BDAB_1, arg_BDAB_2, arg_BDAB_3, arg_BDAB_4, arg_BDAB_5, arg_BDAB_6, arg_BDAB_7, arg_BDAB_8, arg_BDAB_9, arg_BDAB_10, arg_BDAB_11, arg_BDAB_12, arg_BDAB_13, arg_BDAB_14, array)); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_BE75_0 = xEn.xRenderComponent.dixAnimations; ushort arg_BE75_1 = 4; ushort arg_BE70_0 = 4; byte arg_BE70_1 = 0; Texture2D arg_BE70_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Move/Up"); Vector2 arg_BE70_3 = new Vector2(19f, 51f); int arg_BE70_4 = 4; int arg_BE70_5 = 8; int arg_BE70_6 = 39; int arg_BE70_7 = 54; int arg_BE70_8 = 0; int arg_BE70_9 = 0; int arg_BE70_10 = 14; Animation.LoopSettings arg_BE70_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_BE70_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_BE70_13 = true; bool arg_BE70_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_BE35_0 = array; int arg_BE35_1 = 0; AnimInsCriteria arg_BE30_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_BE2B_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_BE35_0[arg_BE35_1] = new AnimationInstruction(arg_BE30_0, new AnimInsEvent(arg_BE2B_0, array6)); AnimationInstruction[] arg_BE6D_0 = array; int arg_BE6D_1 = 1; AnimInsCriteria arg_BE68_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_BE63_0 = AnimInsEvent.EventType.PlaySound; string arg_BE63_1 = "Scarecrow_Hop"; array6 = new float[1]; arg_BE6D_0[arg_BE6D_1] = new AnimationInstruction(arg_BE68_0, new AnimInsEvent(arg_BE63_0, arg_BE63_1, array6)); arg_BE75_0.Add(arg_BE75_1, new Animation(arg_BE70_0, arg_BE70_1, arg_BE70_2, arg_BE70_3, arg_BE70_4, arg_BE70_5, arg_BE70_6, arg_BE70_7, arg_BE70_8, arg_BE70_9, arg_BE70_10, arg_BE70_11, arg_BE70_12, arg_BE70_13, arg_BE70_14, array)); Dictionary<ushort, Animation> arg_BF23_0 = xEn.xRenderComponent.dixAnimations; ushort arg_BF23_1 = 5; ushort arg_BF1E_0 = 5; byte arg_BF1E_1 = 1; Texture2D arg_BF1E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Move/Right"); Vector2 arg_BF1E_3 = new Vector2(18f, 52f); int arg_BF1E_4 = 4; int arg_BF1E_5 = 8; int arg_BF1E_6 = 35; int arg_BF1E_7 = 59; int arg_BF1E_8 = 0; int arg_BF1E_9 = 0; int arg_BF1E_10 = 14; Animation.LoopSettings arg_BF1E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_BF1E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_BF1E_13 = true; bool arg_BF1E_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_BEE3_0 = array; int arg_BEE3_1 = 0; AnimInsCriteria arg_BEDE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_BED9_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_BEE3_0[arg_BEE3_1] = new AnimationInstruction(arg_BEDE_0, new AnimInsEvent(arg_BED9_0, array6)); AnimationInstruction[] arg_BF1B_0 = array; int arg_BF1B_1 = 1; AnimInsCriteria arg_BF16_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_BF11_0 = AnimInsEvent.EventType.PlaySound; string arg_BF11_1 = "Scarecrow_Hop"; array6 = new float[1]; arg_BF1B_0[arg_BF1B_1] = new AnimationInstruction(arg_BF16_0, new AnimInsEvent(arg_BF11_0, arg_BF11_1, array6)); arg_BF23_0.Add(arg_BF23_1, new Animation(arg_BF1E_0, arg_BF1E_1, arg_BF1E_2, arg_BF1E_3, arg_BF1E_4, arg_BF1E_5, arg_BF1E_6, arg_BF1E_7, arg_BF1E_8, arg_BF1E_9, arg_BF1E_10, arg_BF1E_11, arg_BF1E_12, arg_BF1E_13, arg_BF1E_14, array)); Dictionary<ushort, Animation> arg_BFD1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_BFD1_1 = 6; ushort arg_BFCC_0 = 6; byte arg_BFCC_1 = 2; Texture2D arg_BFCC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Move/Down"); Vector2 arg_BFCC_3 = new Vector2(19f, 53f); int arg_BFCC_4 = 4; int arg_BFCC_5 = 8; int arg_BFCC_6 = 39; int arg_BFCC_7 = 56; int arg_BFCC_8 = 0; int arg_BFCC_9 = 0; int arg_BFCC_10 = 14; Animation.LoopSettings arg_BFCC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_BFCC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_BFCC_13 = true; bool arg_BFCC_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_BF91_0 = array; int arg_BF91_1 = 0; AnimInsCriteria arg_BF8C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_BF87_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_BF91_0[arg_BF91_1] = new AnimationInstruction(arg_BF8C_0, new AnimInsEvent(arg_BF87_0, array6)); AnimationInstruction[] arg_BFC9_0 = array; int arg_BFC9_1 = 1; AnimInsCriteria arg_BFC4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_BFBF_0 = AnimInsEvent.EventType.PlaySound; string arg_BFBF_1 = "Scarecrow_Hop"; array6 = new float[1]; arg_BFC9_0[arg_BFC9_1] = new AnimationInstruction(arg_BFC4_0, new AnimInsEvent(arg_BFBF_0, arg_BFBF_1, array6)); arg_BFD1_0.Add(arg_BFD1_1, new Animation(arg_BFCC_0, arg_BFCC_1, arg_BFCC_2, arg_BFCC_3, arg_BFCC_4, arg_BFCC_5, arg_BFCC_6, arg_BFCC_7, arg_BFCC_8, arg_BFCC_9, arg_BFCC_10, arg_BFCC_11, arg_BFCC_12, arg_BFCC_13, arg_BFCC_14, array)); Dictionary<ushort, Animation> arg_C07F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_C07F_1 = 7; ushort arg_C07A_0 = 7; byte arg_C07A_1 = 3; Texture2D arg_C07A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Move/Right"); Vector2 arg_C07A_3 = new Vector2(16f, 52f); int arg_C07A_4 = 4; int arg_C07A_5 = 8; int arg_C07A_6 = 35; int arg_C07A_7 = 59; int arg_C07A_8 = 0; int arg_C07A_9 = 0; int arg_C07A_10 = 14; Animation.LoopSettings arg_C07A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_C07A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_C07A_13 = true; bool arg_C07A_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_C03F_0 = array; int arg_C03F_1 = 0; AnimInsCriteria arg_C03A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_C035_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_C03F_0[arg_C03F_1] = new AnimationInstruction(arg_C03A_0, new AnimInsEvent(arg_C035_0, array6)); AnimationInstruction[] arg_C077_0 = array; int arg_C077_1 = 1; AnimInsCriteria arg_C072_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_C06D_0 = AnimInsEvent.EventType.PlaySound; string arg_C06D_1 = "Scarecrow_Hop"; array6 = new float[1]; arg_C077_0[arg_C077_1] = new AnimationInstruction(arg_C072_0, new AnimInsEvent(arg_C06D_0, arg_C06D_1, array6)); arg_C07F_0.Add(arg_C07F_1, new Animation(arg_C07A_0, arg_C07A_1, arg_C07A_2, arg_C07A_3, arg_C07A_4, arg_C07A_5, arg_C07A_6, arg_C07A_7, arg_C07A_8, arg_C07A_9, arg_C07A_10, arg_C07A_11, arg_C07A_12, arg_C07A_13, arg_C07A_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; int iAttackSpeed3 = 4; if (GameSessionData.iBaseDifficulty > 0) { iAttackSpeed3 = 3; } Dictionary<ushort, Animation> arg_C18B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_C18B_1 = 8; ushort arg_C186_0 = 8; byte arg_C186_1 = 0; Texture2D arg_C186_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Attack/Up"); Vector2 arg_C186_3 = new Vector2(25f, 45f); int arg_C186_4 = iAttackSpeed3; int arg_C186_5 = 19; int arg_C186_6 = 52; int arg_C186_7 = 48; int arg_C186_8 = 0; int arg_C186_9 = 0; int arg_C186_10 = 19; Animation.LoopSettings arg_C186_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_C186_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_C186_13 = false; bool arg_C186_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 11f, 13f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_C158_0 = array; int arg_C158_1 = 1; AnimInsCriteria arg_C153_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_C14E_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_C158_0[arg_C158_1] = new AnimationInstruction(arg_C153_0, new AnimInsEvent(arg_C14E_0, array6)); AnimationInstruction[] arg_C183_0 = array; int arg_C183_1 = 2; AnimInsCriteria arg_C17E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_C179_0 = AnimInsEvent.EventType.PlaySound; string arg_C179_1 = "Scarecrow_Attack"; array6 = new float[1]; arg_C183_0[arg_C183_1] = new AnimationInstruction(arg_C17E_0, new AnimInsEvent(arg_C179_0, arg_C179_1, array6)); arg_C18B_0.Add(arg_C18B_1, new Animation(arg_C186_0, arg_C186_1, arg_C186_2, arg_C186_3, arg_C186_4, arg_C186_5, arg_C186_6, arg_C186_7, arg_C186_8, arg_C186_9, arg_C186_10, arg_C186_11, arg_C186_12, arg_C186_13, arg_C186_14, array)); Dictionary<ushort, Animation> arg_C27D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_C27D_1 = 9; ushort arg_C278_0 = 9; byte arg_C278_1 = 1; Texture2D arg_C278_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Attack/Right"); Vector2 arg_C278_3 = new Vector2(23f, 44f); int arg_C278_4 = iAttackSpeed3; int arg_C278_5 = 19; int arg_C278_6 = 61; int arg_C278_7 = 55; int arg_C278_8 = 0; int arg_C278_9 = 0; int arg_C278_10 = 19; Animation.LoopSettings arg_C278_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_C278_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_C278_13 = false; bool arg_C278_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 11f, 13f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); AnimationInstruction[] arg_C275_0 = array; int arg_C275_1 = 2; AnimInsCriteria arg_C270_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_C26B_0 = AnimInsEvent.EventType.PlaySound; string arg_C26B_1 = "Scarecrow_Attack"; array6 = new float[1]; arg_C275_0[arg_C275_1] = new AnimationInstruction(arg_C270_0, new AnimInsEvent(arg_C26B_0, arg_C26B_1, array6)); arg_C27D_0.Add(arg_C27D_1, new Animation(arg_C278_0, arg_C278_1, arg_C278_2, arg_C278_3, arg_C278_4, arg_C278_5, arg_C278_6, arg_C278_7, arg_C278_8, arg_C278_9, arg_C278_10, arg_C278_11, arg_C278_12, arg_C278_13, arg_C278_14, array)); Dictionary<ushort, Animation> arg_C36F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_C36F_1 = 10; ushort arg_C36A_0 = 10; byte arg_C36A_1 = 2; Texture2D arg_C36A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Attack/Down"); Vector2 arg_C36A_3 = new Vector2(26f, 44f); int arg_C36A_4 = iAttackSpeed3; int arg_C36A_5 = 19; int arg_C36A_6 = 53; int arg_C36A_7 = 73; int arg_C36A_8 = 0; int arg_C36A_9 = 0; int arg_C36A_10 = 19; Animation.LoopSettings arg_C36A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_C36A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_C36A_13 = false; bool arg_C36A_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 11f, 13f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); AnimationInstruction[] arg_C367_0 = array; int arg_C367_1 = 2; AnimInsCriteria arg_C362_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_C35D_0 = AnimInsEvent.EventType.PlaySound; string arg_C35D_1 = "Scarecrow_Attack"; array6 = new float[1]; arg_C367_0[arg_C367_1] = new AnimationInstruction(arg_C362_0, new AnimInsEvent(arg_C35D_0, arg_C35D_1, array6)); arg_C36F_0.Add(arg_C36F_1, new Animation(arg_C36A_0, arg_C36A_1, arg_C36A_2, arg_C36A_3, arg_C36A_4, arg_C36A_5, arg_C36A_6, arg_C36A_7, arg_C36A_8, arg_C36A_9, arg_C36A_10, arg_C36A_11, arg_C36A_12, arg_C36A_13, arg_C36A_14, array)); Dictionary<ushort, Animation> arg_C461_0 = xEn.xRenderComponent.dixAnimations; ushort arg_C461_1 = 11; ushort arg_C45C_0 = 11; byte arg_C45C_1 = 3; Texture2D arg_C45C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Attack/Right"); Vector2 arg_C45C_3 = new Vector2(37f, 44f); int arg_C45C_4 = iAttackSpeed3; int arg_C45C_5 = 19; int arg_C45C_6 = 61; int arg_C45C_7 = 55; int arg_C45C_8 = 0; int arg_C45C_9 = 0; int arg_C45C_10 = 19; Animation.LoopSettings arg_C45C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_C45C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_C45C_13 = false; bool arg_C45C_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 11f, 13f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); AnimationInstruction[] arg_C459_0 = array; int arg_C459_1 = 2; AnimInsCriteria arg_C454_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_C44F_0 = AnimInsEvent.EventType.PlaySound; string arg_C44F_1 = "Scarecrow_Attack"; array6 = new float[1]; arg_C459_0[arg_C459_1] = new AnimationInstruction(arg_C454_0, new AnimInsEvent(arg_C44F_0, arg_C44F_1, array6)); arg_C461_0.Add(arg_C461_1, new Animation(arg_C45C_0, arg_C45C_1, arg_C45C_2, arg_C45C_3, arg_C45C_4, arg_C45C_5, arg_C45C_6, arg_C45C_7, arg_C45C_8, arg_C45C_9, arg_C45C_10, arg_C45C_11, arg_C45C_12, arg_C45C_13, arg_C45C_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_C52C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_C52C_1 = 12; ushort arg_C527_0 = 12; byte arg_C527_1 = 0; Texture2D arg_C527_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Up"); Vector2 arg_C527_3 = new Vector2(19f, 43f); int arg_C527_4 = 4; int arg_C527_5 = 2; int arg_C527_6 = 39; int arg_C527_7 = 46; int arg_C527_8 = 0; int arg_C527_9 = 0; int arg_C527_10 = 16; Animation.LoopSettings arg_C527_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_C527_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_C527_13 = false; bool arg_C527_14 = false; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })); AnimationInstruction[] arg_C524_0 = array; int arg_C524_1 = 1; AnimInsCriteria arg_C51F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_C51A_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_C524_0[arg_C524_1] = new AnimationInstruction(arg_C51F_0, new AnimInsEvent(arg_C51A_0, array6)); arg_C52C_0.Add(arg_C52C_1, new Animation(arg_C527_0, arg_C527_1, arg_C527_2, arg_C527_3, arg_C527_4, arg_C527_5, arg_C527_6, arg_C527_7, arg_C527_8, arg_C527_9, arg_C527_10, arg_C527_11, arg_C527_12, arg_C527_13, arg_C527_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Right"), new Vector2(18f, 44f), 4, 2, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Down"), new Vector2(19f, 44f), 4, 2, 39, 47, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Right"), new Vector2(16f, 44f), 4, 2, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Up"), new Vector2(19f, 43f), 4, 1, 39, 46, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Right"), new Vector2(18f, 44f), 4, 1, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Down"), new Vector2(19f, 44f), 4, 1, 39, 47, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Right"), new Vector2(16f, 44f), 4, 1, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_C960_0 = xEn.xRenderComponent.dixAnimations; ushort arg_C960_1 = 40004; ushort arg_C95B_0 = 40004; byte arg_C95B_1 = 0; Texture2D arg_C95B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Up"); Vector2 arg_C95B_3 = new Vector2(19f, 43f); int arg_C95B_4 = 4; int arg_C95B_5 = 2; int arg_C95B_6 = 39; int arg_C95B_7 = 46; int arg_C95B_8 = 0; int arg_C95B_9 = 0; int arg_C95B_10 = 16; Animation.LoopSettings arg_C95B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_C95B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_C95B_13 = false; bool arg_C95B_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_C958_0 = array; int arg_C958_1 = 0; AnimInsCriteria arg_C953_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_C94E_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_C958_0[arg_C958_1] = new AnimationInstruction(arg_C953_0, new AnimInsEvent(arg_C94E_0, array6)); arg_C960_0.Add(arg_C960_1, new Animation(arg_C95B_0, arg_C95B_1, arg_C95B_2, arg_C95B_3, arg_C95B_4, arg_C95B_5, arg_C95B_6, arg_C95B_7, arg_C95B_8, arg_C95B_9, arg_C95B_10, arg_C95B_11, arg_C95B_12, arg_C95B_13, arg_C95B_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Right"), new Vector2(18f, 44f), 4, 2, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Down"), new Vector2(19f, 44f), 4, 2, 39, 47, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Scarecrow/Damage/Right"), new Vector2(16f, 44f), 4, 2, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Scarecrow"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.ScarecrowDeath; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 100f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Pumpking) { xEn.xBaseStats.fMovementSpeed = 1.5f + (float)GameSessionData.iBaseDifficulty * 0.2f; xEn.xBaseStats.iKnockbackResistance = 7; xEn.xBaseStats.iBaseDEF = GameSessionData.iBaseDifficulty * 10; xEn.enType = enType; xEn.xBehaviour = new PumpkingAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 0; xEn.aiHitAnimation[1] = 1; xEn.aiHitAnimation[2] = 2; xEn.aiHitAnimation[3] = 3; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xBaseStats.bSlowImmunity = (xEn.xBaseStats.bFreezeImmunity = true); xEn.xBaseStats.enSize = BaseStats.BodySize.Large; CAS.RegionContent.Load<Texture2D>("Sprites/Environment/Ambient/Bat/BatIdle"); Dictionary<ushort, Animation> arg_CD51_0 = xEn.xRenderComponent.dixAnimations; ushort arg_CD51_1 = 0; ushort arg_CD4C_0 = 0; byte arg_CD4C_1 = 0; Texture2D arg_CD4C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Idle/Up"); Vector2 arg_CD4C_3 = new Vector2(20f, 43f); int arg_CD4C_4 = 5; int arg_CD4C_5 = 22; int arg_CD4C_6 = 41; int arg_CD4C_7 = 46; int arg_CD4C_8 = 0; int arg_CD4C_9 = 0; int arg_CD4C_10 = 22; Animation.LoopSettings arg_CD4C_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_CD4C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_CD4C_13 = true; bool arg_CD4C_14 = true; AnimationInstruction[] array = new AnimationInstruction[3]; AnimationInstruction[] arg_CCEB_0 = array; int arg_CCEB_1 = 0; AnimInsCriteria arg_CCE6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_CCE1_0 = AnimInsEvent.EventType.CallBackAnimation; float[] array6 = new float[1]; arg_CCEB_0[arg_CCEB_1] = new AnimationInstruction(arg_CCE6_0, new AnimInsEvent(arg_CCE1_0, array6)); AnimationInstruction[] arg_CD1E_0 = array; int arg_CD1E_1 = 1; AnimInsCriteria arg_CD19_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_CD14_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_CD1E_0[arg_CD1E_1] = new AnimationInstruction(arg_CD19_0, new AnimInsEvent(arg_CD14_0, array6)); AnimationInstruction[] arg_CD49_0 = array; int arg_CD49_1 = 2; AnimInsCriteria arg_CD44_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_CD3F_0 = AnimInsEvent.EventType.PlaySound; string arg_CD3F_1 = "Scarecrow_Idle"; array6 = new float[1]; arg_CD49_0[arg_CD49_1] = new AnimationInstruction(arg_CD44_0, new AnimInsEvent(arg_CD3F_0, arg_CD3F_1, array6)); arg_CD51_0.Add(arg_CD51_1, new Animation(arg_CD4C_0, arg_CD4C_1, arg_CD4C_2, arg_CD4C_3, arg_CD4C_4, arg_CD4C_5, arg_CD4C_6, arg_CD4C_7, arg_CD4C_8, arg_CD4C_9, arg_CD4C_10, arg_CD4C_11, arg_CD4C_12, arg_CD4C_13, arg_CD4C_14, array)); Dictionary<ushort, Animation> arg_CE33_0 = xEn.xRenderComponent.dixAnimations; ushort arg_CE33_1 = 1; ushort arg_CE2E_0 = 1; byte arg_CE2E_1 = 1; Texture2D arg_CE2E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Idle/Right"); Vector2 arg_CE2E_3 = new Vector2(19f, 44f); int arg_CE2E_4 = 5; int arg_CE2E_5 = 22; int arg_CE2E_6 = 37; int arg_CE2E_7 = 51; int arg_CE2E_8 = 0; int arg_CE2E_9 = 0; int arg_CE2E_10 = 22; Animation.LoopSettings arg_CE2E_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_CE2E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_CE2E_13 = true; bool arg_CE2E_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_CDCD_0 = array; int arg_CDCD_1 = 0; AnimInsCriteria arg_CDC8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_CDC3_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_CDCD_0[arg_CDCD_1] = new AnimationInstruction(arg_CDC8_0, new AnimInsEvent(arg_CDC3_0, array6)); AnimationInstruction[] arg_CE00_0 = array; int arg_CE00_1 = 1; AnimInsCriteria arg_CDFB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_CDF6_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_CE00_0[arg_CE00_1] = new AnimationInstruction(arg_CDFB_0, new AnimInsEvent(arg_CDF6_0, array6)); AnimationInstruction[] arg_CE2B_0 = array; int arg_CE2B_1 = 2; AnimInsCriteria arg_CE26_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_CE21_0 = AnimInsEvent.EventType.PlaySound; string arg_CE21_1 = "Scarecrow_Idle"; array6 = new float[1]; arg_CE2B_0[arg_CE2B_1] = new AnimationInstruction(arg_CE26_0, new AnimInsEvent(arg_CE21_0, arg_CE21_1, array6)); arg_CE33_0.Add(arg_CE33_1, new Animation(arg_CE2E_0, arg_CE2E_1, arg_CE2E_2, arg_CE2E_3, arg_CE2E_4, arg_CE2E_5, arg_CE2E_6, arg_CE2E_7, arg_CE2E_8, arg_CE2E_9, arg_CE2E_10, arg_CE2E_11, arg_CE2E_12, arg_CE2E_13, arg_CE2E_14, array)); Dictionary<ushort, Animation> arg_CF15_0 = xEn.xRenderComponent.dixAnimations; ushort arg_CF15_1 = 2; ushort arg_CF10_0 = 2; byte arg_CF10_1 = 2; Texture2D arg_CF10_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Idle/Down"); Vector2 arg_CF10_3 = new Vector2(20f, 44f); int arg_CF10_4 = 5; int arg_CF10_5 = 22; int arg_CF10_6 = 41; int arg_CF10_7 = 47; int arg_CF10_8 = 0; int arg_CF10_9 = 0; int arg_CF10_10 = 22; Animation.LoopSettings arg_CF10_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_CF10_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_CF10_13 = true; bool arg_CF10_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_CEAF_0 = array; int arg_CEAF_1 = 0; AnimInsCriteria arg_CEAA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_CEA5_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_CEAF_0[arg_CEAF_1] = new AnimationInstruction(arg_CEAA_0, new AnimInsEvent(arg_CEA5_0, array6)); AnimationInstruction[] arg_CEE2_0 = array; int arg_CEE2_1 = 1; AnimInsCriteria arg_CEDD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_CED8_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_CEE2_0[arg_CEE2_1] = new AnimationInstruction(arg_CEDD_0, new AnimInsEvent(arg_CED8_0, array6)); AnimationInstruction[] arg_CF0D_0 = array; int arg_CF0D_1 = 2; AnimInsCriteria arg_CF08_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_CF03_0 = AnimInsEvent.EventType.PlaySound; string arg_CF03_1 = "Scarecrow_Idle"; array6 = new float[1]; arg_CF0D_0[arg_CF0D_1] = new AnimationInstruction(arg_CF08_0, new AnimInsEvent(arg_CF03_0, arg_CF03_1, array6)); arg_CF15_0.Add(arg_CF15_1, new Animation(arg_CF10_0, arg_CF10_1, arg_CF10_2, arg_CF10_3, arg_CF10_4, arg_CF10_5, arg_CF10_6, arg_CF10_7, arg_CF10_8, arg_CF10_9, arg_CF10_10, arg_CF10_11, arg_CF10_12, arg_CF10_13, arg_CF10_14, array)); Dictionary<ushort, Animation> arg_CFF7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_CFF7_1 = 3; ushort arg_CFF2_0 = 3; byte arg_CFF2_1 = 3; Texture2D arg_CFF2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Idle/Right"); Vector2 arg_CFF2_3 = new Vector2(17f, 44f); int arg_CFF2_4 = 5; int arg_CFF2_5 = 22; int arg_CFF2_6 = 37; int arg_CFF2_7 = 51; int arg_CFF2_8 = 0; int arg_CFF2_9 = 0; int arg_CFF2_10 = 22; Animation.LoopSettings arg_CFF2_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_CFF2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_CFF2_13 = true; bool arg_CFF2_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_CF91_0 = array; int arg_CF91_1 = 0; AnimInsCriteria arg_CF8C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_CF87_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_CF91_0[arg_CF91_1] = new AnimationInstruction(arg_CF8C_0, new AnimInsEvent(arg_CF87_0, array6)); AnimationInstruction[] arg_CFC4_0 = array; int arg_CFC4_1 = 1; AnimInsCriteria arg_CFBF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_CFBA_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_CFC4_0[arg_CFC4_1] = new AnimationInstruction(arg_CFBF_0, new AnimInsEvent(arg_CFBA_0, array6)); AnimationInstruction[] arg_CFEF_0 = array; int arg_CFEF_1 = 2; AnimInsCriteria arg_CFEA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_CFE5_0 = AnimInsEvent.EventType.PlaySound; string arg_CFE5_1 = "Scarecrow_Idle"; array6 = new float[1]; arg_CFEF_0[arg_CFEF_1] = new AnimationInstruction(arg_CFEA_0, new AnimInsEvent(arg_CFE5_0, arg_CFE5_1, array6)); arg_CFF7_0.Add(arg_CFF7_1, new Animation(arg_CFF2_0, arg_CFF2_1, arg_CFF2_2, arg_CFF2_3, arg_CFF2_4, arg_CFF2_5, arg_CFF2_6, arg_CFF2_7, arg_CFF2_8, arg_CFF2_9, arg_CFF2_10, arg_CFF2_11, arg_CFF2_12, arg_CFF2_13, arg_CFF2_14, array)); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_D0BC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_D0BC_1 = 4; ushort arg_D0B7_0 = 4; byte arg_D0B7_1 = 0; Texture2D arg_D0B7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Move/Up"); Vector2 arg_D0B7_3 = new Vector2(19f, 51f); int arg_D0B7_4 = 4; int arg_D0B7_5 = 8; int arg_D0B7_6 = 39; int arg_D0B7_7 = 54; int arg_D0B7_8 = 0; int arg_D0B7_9 = 0; int arg_D0B7_10 = 14; Animation.LoopSettings arg_D0B7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_D0B7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_D0B7_13 = true; bool arg_D0B7_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_D07C_0 = array; int arg_D07C_1 = 0; AnimInsCriteria arg_D077_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_D072_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_D07C_0[arg_D07C_1] = new AnimationInstruction(arg_D077_0, new AnimInsEvent(arg_D072_0, array6)); AnimationInstruction[] arg_D0B4_0 = array; int arg_D0B4_1 = 1; AnimInsCriteria arg_D0AF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_D0AA_0 = AnimInsEvent.EventType.PlaySound; string arg_D0AA_1 = "Scarecrow_Hop"; array6 = new float[1]; arg_D0B4_0[arg_D0B4_1] = new AnimationInstruction(arg_D0AF_0, new AnimInsEvent(arg_D0AA_0, arg_D0AA_1, array6)); arg_D0BC_0.Add(arg_D0BC_1, new Animation(arg_D0B7_0, arg_D0B7_1, arg_D0B7_2, arg_D0B7_3, arg_D0B7_4, arg_D0B7_5, arg_D0B7_6, arg_D0B7_7, arg_D0B7_8, arg_D0B7_9, arg_D0B7_10, arg_D0B7_11, arg_D0B7_12, arg_D0B7_13, arg_D0B7_14, array)); Dictionary<ushort, Animation> arg_D16A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_D16A_1 = 5; ushort arg_D165_0 = 5; byte arg_D165_1 = 1; Texture2D arg_D165_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Move/Right"); Vector2 arg_D165_3 = new Vector2(18f, 54f); int arg_D165_4 = 4; int arg_D165_5 = 8; int arg_D165_6 = 35; int arg_D165_7 = 62; int arg_D165_8 = 0; int arg_D165_9 = 0; int arg_D165_10 = 14; Animation.LoopSettings arg_D165_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_D165_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_D165_13 = true; bool arg_D165_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_D12A_0 = array; int arg_D12A_1 = 0; AnimInsCriteria arg_D125_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_D120_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_D12A_0[arg_D12A_1] = new AnimationInstruction(arg_D125_0, new AnimInsEvent(arg_D120_0, array6)); AnimationInstruction[] arg_D162_0 = array; int arg_D162_1 = 1; AnimInsCriteria arg_D15D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_D158_0 = AnimInsEvent.EventType.PlaySound; string arg_D158_1 = "Scarecrow_Hop"; array6 = new float[1]; arg_D162_0[arg_D162_1] = new AnimationInstruction(arg_D15D_0, new AnimInsEvent(arg_D158_0, arg_D158_1, array6)); arg_D16A_0.Add(arg_D16A_1, new Animation(arg_D165_0, arg_D165_1, arg_D165_2, arg_D165_3, arg_D165_4, arg_D165_5, arg_D165_6, arg_D165_7, arg_D165_8, arg_D165_9, arg_D165_10, arg_D165_11, arg_D165_12, arg_D165_13, arg_D165_14, array)); Dictionary<ushort, Animation> arg_D218_0 = xEn.xRenderComponent.dixAnimations; ushort arg_D218_1 = 6; ushort arg_D213_0 = 6; byte arg_D213_1 = 2; Texture2D arg_D213_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Move/Down"); Vector2 arg_D213_3 = new Vector2(19f, 53f); int arg_D213_4 = 4; int arg_D213_5 = 8; int arg_D213_6 = 39; int arg_D213_7 = 56; int arg_D213_8 = 0; int arg_D213_9 = 0; int arg_D213_10 = 14; Animation.LoopSettings arg_D213_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_D213_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_D213_13 = true; bool arg_D213_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_D1D8_0 = array; int arg_D1D8_1 = 0; AnimInsCriteria arg_D1D3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_D1CE_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_D1D8_0[arg_D1D8_1] = new AnimationInstruction(arg_D1D3_0, new AnimInsEvent(arg_D1CE_0, array6)); AnimationInstruction[] arg_D210_0 = array; int arg_D210_1 = 1; AnimInsCriteria arg_D20B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_D206_0 = AnimInsEvent.EventType.PlaySound; string arg_D206_1 = "Scarecrow_Hop"; array6 = new float[1]; arg_D210_0[arg_D210_1] = new AnimationInstruction(arg_D20B_0, new AnimInsEvent(arg_D206_0, arg_D206_1, array6)); arg_D218_0.Add(arg_D218_1, new Animation(arg_D213_0, arg_D213_1, arg_D213_2, arg_D213_3, arg_D213_4, arg_D213_5, arg_D213_6, arg_D213_7, arg_D213_8, arg_D213_9, arg_D213_10, arg_D213_11, arg_D213_12, arg_D213_13, arg_D213_14, array)); Dictionary<ushort, Animation> arg_D2C6_0 = xEn.xRenderComponent.dixAnimations; ushort arg_D2C6_1 = 7; ushort arg_D2C1_0 = 7; byte arg_D2C1_1 = 3; Texture2D arg_D2C1_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Move/Right"); Vector2 arg_D2C1_3 = new Vector2(16f, 54f); int arg_D2C1_4 = 4; int arg_D2C1_5 = 8; int arg_D2C1_6 = 35; int arg_D2C1_7 = 62; int arg_D2C1_8 = 0; int arg_D2C1_9 = 0; int arg_D2C1_10 = 14; Animation.LoopSettings arg_D2C1_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_D2C1_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_D2C1_13 = true; bool arg_D2C1_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_D286_0 = array; int arg_D286_1 = 0; AnimInsCriteria arg_D281_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_D27C_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_D286_0[arg_D286_1] = new AnimationInstruction(arg_D281_0, new AnimInsEvent(arg_D27C_0, array6)); AnimationInstruction[] arg_D2BE_0 = array; int arg_D2BE_1 = 1; AnimInsCriteria arg_D2B9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_D2B4_0 = AnimInsEvent.EventType.PlaySound; string arg_D2B4_1 = "Scarecrow_Hop"; array6 = new float[1]; arg_D2BE_0[arg_D2BE_1] = new AnimationInstruction(arg_D2B9_0, new AnimInsEvent(arg_D2B4_0, arg_D2B4_1, array6)); arg_D2C6_0.Add(arg_D2C6_1, new Animation(arg_D2C1_0, arg_D2C1_1, arg_D2C1_2, arg_D2C1_3, arg_D2C1_4, arg_D2C1_5, arg_D2C1_6, arg_D2C1_7, arg_D2C1_8, arg_D2C1_9, arg_D2C1_10, arg_D2C1_11, arg_D2C1_12, arg_D2C1_13, arg_D2C1_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; int iAttackSpeed4 = 4; if (GameSessionData.iBaseDifficulty > 0) { iAttackSpeed4 = 3; } Dictionary<ushort, Animation> arg_D3D2_0 = xEn.xRenderComponent.dixAnimations; ushort arg_D3D2_1 = 8; ushort arg_D3CD_0 = 8; byte arg_D3CD_1 = 0; Texture2D arg_D3CD_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Attack/Up"); Vector2 arg_D3CD_3 = new Vector2(25f, 45f); int arg_D3CD_4 = iAttackSpeed4; int arg_D3CD_5 = 19; int arg_D3CD_6 = 52; int arg_D3CD_7 = 48; int arg_D3CD_8 = 0; int arg_D3CD_9 = 0; int arg_D3CD_10 = 19; Animation.LoopSettings arg_D3CD_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_D3CD_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_D3CD_13 = false; bool arg_D3CD_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 11f, 13f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_D39F_0 = array; int arg_D39F_1 = 1; AnimInsCriteria arg_D39A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_D395_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_D39F_0[arg_D39F_1] = new AnimationInstruction(arg_D39A_0, new AnimInsEvent(arg_D395_0, array6)); AnimationInstruction[] arg_D3CA_0 = array; int arg_D3CA_1 = 2; AnimInsCriteria arg_D3C5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_D3C0_0 = AnimInsEvent.EventType.PlaySound; string arg_D3C0_1 = "Scarecrow_Attack"; array6 = new float[1]; arg_D3CA_0[arg_D3CA_1] = new AnimationInstruction(arg_D3C5_0, new AnimInsEvent(arg_D3C0_0, arg_D3C0_1, array6)); arg_D3D2_0.Add(arg_D3D2_1, new Animation(arg_D3CD_0, arg_D3CD_1, arg_D3CD_2, arg_D3CD_3, arg_D3CD_4, arg_D3CD_5, arg_D3CD_6, arg_D3CD_7, arg_D3CD_8, arg_D3CD_9, arg_D3CD_10, arg_D3CD_11, arg_D3CD_12, arg_D3CD_13, arg_D3CD_14, array)); Dictionary<ushort, Animation> arg_D4C4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_D4C4_1 = 9; ushort arg_D4BF_0 = 9; byte arg_D4BF_1 = 1; Texture2D arg_D4BF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Attack/Right"); Vector2 arg_D4BF_3 = new Vector2(23f, 44f); int arg_D4BF_4 = iAttackSpeed4; int arg_D4BF_5 = 19; int arg_D4BF_6 = 64; int arg_D4BF_7 = 55; int arg_D4BF_8 = 0; int arg_D4BF_9 = 0; int arg_D4BF_10 = 19; Animation.LoopSettings arg_D4BF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_D4BF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_D4BF_13 = false; bool arg_D4BF_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 11f, 13f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); AnimationInstruction[] arg_D4BC_0 = array; int arg_D4BC_1 = 2; AnimInsCriteria arg_D4B7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_D4B2_0 = AnimInsEvent.EventType.PlaySound; string arg_D4B2_1 = "Scarecrow_Attack"; array6 = new float[1]; arg_D4BC_0[arg_D4BC_1] = new AnimationInstruction(arg_D4B7_0, new AnimInsEvent(arg_D4B2_0, arg_D4B2_1, array6)); arg_D4C4_0.Add(arg_D4C4_1, new Animation(arg_D4BF_0, arg_D4BF_1, arg_D4BF_2, arg_D4BF_3, arg_D4BF_4, arg_D4BF_5, arg_D4BF_6, arg_D4BF_7, arg_D4BF_8, arg_D4BF_9, arg_D4BF_10, arg_D4BF_11, arg_D4BF_12, arg_D4BF_13, arg_D4BF_14, array)); Dictionary<ushort, Animation> arg_D5B6_0 = xEn.xRenderComponent.dixAnimations; ushort arg_D5B6_1 = 10; ushort arg_D5B1_0 = 10; byte arg_D5B1_1 = 2; Texture2D arg_D5B1_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Attack/Down"); Vector2 arg_D5B1_3 = new Vector2(26f, 44f); int arg_D5B1_4 = iAttackSpeed4; int arg_D5B1_5 = 19; int arg_D5B1_6 = 53; int arg_D5B1_7 = 73; int arg_D5B1_8 = 0; int arg_D5B1_9 = 0; int arg_D5B1_10 = 19; Animation.LoopSettings arg_D5B1_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_D5B1_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_D5B1_13 = false; bool arg_D5B1_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 11f, 13f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); AnimationInstruction[] arg_D5AE_0 = array; int arg_D5AE_1 = 2; AnimInsCriteria arg_D5A9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_D5A4_0 = AnimInsEvent.EventType.PlaySound; string arg_D5A4_1 = "Scarecrow_Attack"; array6 = new float[1]; arg_D5AE_0[arg_D5AE_1] = new AnimationInstruction(arg_D5A9_0, new AnimInsEvent(arg_D5A4_0, arg_D5A4_1, array6)); arg_D5B6_0.Add(arg_D5B6_1, new Animation(arg_D5B1_0, arg_D5B1_1, arg_D5B1_2, arg_D5B1_3, arg_D5B1_4, arg_D5B1_5, arg_D5B1_6, arg_D5B1_7, arg_D5B1_8, arg_D5B1_9, arg_D5B1_10, arg_D5B1_11, arg_D5B1_12, arg_D5B1_13, arg_D5B1_14, array)); Dictionary<ushort, Animation> arg_D6A8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_D6A8_1 = 11; ushort arg_D6A3_0 = 11; byte arg_D6A3_1 = 3; Texture2D arg_D6A3_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Attack/Right"); Vector2 arg_D6A3_3 = new Vector2(41f, 44f); int arg_D6A3_4 = iAttackSpeed4; int arg_D6A3_5 = 19; int arg_D6A3_6 = 64; int arg_D6A3_7 = 55; int arg_D6A3_8 = 0; int arg_D6A3_9 = 0; int arg_D6A3_10 = 19; Animation.LoopSettings arg_D6A3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_D6A3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_D6A3_13 = false; bool arg_D6A3_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 11f, 13f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); AnimationInstruction[] arg_D6A0_0 = array; int arg_D6A0_1 = 2; AnimInsCriteria arg_D69B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_D696_0 = AnimInsEvent.EventType.PlaySound; string arg_D696_1 = "Scarecrow_Attack"; array6 = new float[1]; arg_D6A0_0[arg_D6A0_1] = new AnimationInstruction(arg_D69B_0, new AnimInsEvent(arg_D696_0, arg_D696_1, array6)); arg_D6A8_0.Add(arg_D6A8_1, new Animation(arg_D6A3_0, arg_D6A3_1, arg_D6A3_2, arg_D6A3_3, arg_D6A3_4, arg_D6A3_5, arg_D6A3_6, arg_D6A3_7, arg_D6A3_8, arg_D6A3_9, arg_D6A3_10, arg_D6A3_11, arg_D6A3_12, arg_D6A3_13, arg_D6A3_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_D773_0 = xEn.xRenderComponent.dixAnimations; ushort arg_D773_1 = 12; ushort arg_D76E_0 = 12; byte arg_D76E_1 = 0; Texture2D arg_D76E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Up"); Vector2 arg_D76E_3 = new Vector2(19f, 43f); int arg_D76E_4 = 4; int arg_D76E_5 = 2; int arg_D76E_6 = 39; int arg_D76E_7 = 46; int arg_D76E_8 = 0; int arg_D76E_9 = 0; int arg_D76E_10 = 16; Animation.LoopSettings arg_D76E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_D76E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_D76E_13 = false; bool arg_D76E_14 = false; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })); AnimationInstruction[] arg_D76B_0 = array; int arg_D76B_1 = 1; AnimInsCriteria arg_D766_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_D761_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_D76B_0[arg_D76B_1] = new AnimationInstruction(arg_D766_0, new AnimInsEvent(arg_D761_0, array6)); arg_D773_0.Add(arg_D773_1, new Animation(arg_D76E_0, arg_D76E_1, arg_D76E_2, arg_D76E_3, arg_D76E_4, arg_D76E_5, arg_D76E_6, arg_D76E_7, arg_D76E_8, arg_D76E_9, arg_D76E_10, arg_D76E_11, arg_D76E_12, arg_D76E_13, arg_D76E_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Right"), new Vector2(18f, 44f), 4, 2, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Down"), new Vector2(19f, 44f), 4, 2, 39, 47, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Right"), new Vector2(16f, 44f), 4, 2, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_DAF4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_DAF4_1 = 16; ushort arg_DAEF_0 = 16; byte arg_DAEF_1 = 0; Texture2D arg_DAEF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Scream/Up"); Vector2 arg_DAEF_3 = new Vector2(25f, 46f); int arg_DAEF_4 = 5; int arg_DAEF_5 = 36; int arg_DAEF_6 = 52; int arg_DAEF_7 = 53; int arg_DAEF_8 = 0; int arg_DAEF_9 = 0; int arg_DAEF_10 = 18; Animation.LoopSettings arg_DAEF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_DAEF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_DAEF_13 = false; bool arg_DAEF_14 = false; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 5f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 20f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_DAEC_0 = array; int arg_DAEC_1 = 3; AnimInsCriteria arg_DAE7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_DAE2_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_DAEC_0[arg_DAEC_1] = new AnimationInstruction(arg_DAE7_0, new AnimInsEvent(arg_DAE2_0, array6)); arg_DAF4_0.Add(arg_DAF4_1, new Animation(arg_DAEF_0, arg_DAEF_1, arg_DAEF_2, arg_DAEF_3, arg_DAEF_4, arg_DAEF_5, arg_DAEF_6, arg_DAEF_7, arg_DAEF_8, arg_DAEF_9, arg_DAEF_10, arg_DAEF_11, arg_DAEF_12, arg_DAEF_13, arg_DAEF_14, array)); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Scream/Right"), new Vector2(29f, 49f), 4, 36, 59, 56, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 19f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 20f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Scream/Down"), new Vector2(25f, 51f), 4, 36, 52, 55, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 19f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 20f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Scream/Right"), new Vector2(30f, 49f), 4, 36, 59, 56, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 19f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 20f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Up"), new Vector2(19f, 51f), 4, 8, 39, 54, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 8f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Right"), new Vector2(18f, 54f), 4, 8, 35, 62, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 8f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Down"), new Vector2(19f, 51f), 4, 8, 39, 54, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 8f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Right"), new Vector2(17f, 54f), 4, 8, 35, 62, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 8f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })) })); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Up"), new Vector2(19f, 51f), 4, 2, 39, 54, 429, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Right"), new Vector2(18f, 54f), 4, 2, 35, 62, 385, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Down"), new Vector2(19f, 51f), 4, 2, 39, 54, 429, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Right"), new Vector2(17f, 54f), 4, 2, 35, 62, 385, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(28, new Animation(28, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Up"), new Vector2(19f, 51f), 4, 2, 39, 54, 507, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(29, new Animation(29, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Right"), new Vector2(18f, 54f), 4, 2, 35, 62, 455, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(30, new Animation(30, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Down"), new Vector2(19f, 51f), 4, 2, 39, 54, 507, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(31, new Animation(31, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Right"), new Vector2(17f, 54f), 4, 2, 35, 62, 455, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[31].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(32, new Animation(32, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Up"), new Vector2(19f, 51f), 4, 3, 39, 54, 312, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 24f })) })); xEn.xRenderComponent.dixAnimations.Add(33, new Animation(33, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Right"), new Vector2(18f, 54f), 4, 3, 35, 62, 280, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 25f })) })); xEn.xRenderComponent.dixAnimations.Add(34, new Animation(34, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Down"), new Vector2(19f, 51f), 4, 3, 39, 54, 312, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 26f })) })); xEn.xRenderComponent.dixAnimations.Add(35, new Animation(35, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Right"), new Vector2(17f, 54f), 4, 3, 35, 62, 280, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 27f })) })); xEn.xRenderComponent.dixAnimations[35].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_E851_0 = xEn.xRenderComponent.dixAnimations; ushort arg_E851_1 = 36; ushort arg_E84C_0 = 36; byte arg_E84C_1 = 0; Texture2D arg_E84C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Up"); Vector2 arg_E84C_3 = new Vector2(19f, 51f); int arg_E84C_4 = 4; int arg_E84C_5 = 3; int arg_E84C_6 = 39; int arg_E84C_7 = 54; int arg_E84C_8 = 585; int arg_E84C_9 = 0; int arg_E84C_10 = 18; Animation.LoopSettings arg_E84C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_E84C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_E84C_13 = false; bool arg_E84C_14 = false; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f })); AnimationInstruction[] arg_E849_0 = array; int arg_E849_1 = 1; AnimInsCriteria arg_E844_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_E83F_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_E849_0[arg_E849_1] = new AnimationInstruction(arg_E844_0, new AnimInsEvent(arg_E83F_0, array6)); arg_E851_0.Add(arg_E851_1, new Animation(arg_E84C_0, arg_E84C_1, arg_E84C_2, arg_E84C_3, arg_E84C_4, arg_E84C_5, arg_E84C_6, arg_E84C_7, arg_E84C_8, arg_E84C_9, arg_E84C_10, arg_E84C_11, arg_E84C_12, arg_E84C_13, arg_E84C_14, array)); xEn.xRenderComponent.dixAnimations.Add(37, new Animation(37, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Right"), new Vector2(18f, 54f), 4, 3, 35, 62, 525, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(38, new Animation(38, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Down"), new Vector2(19f, 51f), 4, 3, 39, 54, 585, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(39, new Animation(39, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Jump/Right"), new Vector2(17f, 54f), 4, 3, 35, 62, 525, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[39].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Up"), new Vector2(19f, 43f), 4, 1, 39, 46, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Right"), new Vector2(18f, 44f), 4, 1, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Down"), new Vector2(19f, 44f), 4, 1, 39, 47, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Right"), new Vector2(16f, 44f), 4, 1, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_EC91_0 = xEn.xRenderComponent.dixAnimations; ushort arg_EC91_1 = 40004; ushort arg_EC8C_0 = 40004; byte arg_EC8C_1 = 0; Texture2D arg_EC8C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Up"); Vector2 arg_EC8C_3 = new Vector2(19f, 43f); int arg_EC8C_4 = 4; int arg_EC8C_5 = 2; int arg_EC8C_6 = 39; int arg_EC8C_7 = 46; int arg_EC8C_8 = 0; int arg_EC8C_9 = 0; int arg_EC8C_10 = 16; Animation.LoopSettings arg_EC8C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_EC8C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_EC8C_13 = false; bool arg_EC8C_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_EC89_0 = array; int arg_EC89_1 = 0; AnimInsCriteria arg_EC84_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_EC7F_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_EC89_0[arg_EC89_1] = new AnimationInstruction(arg_EC84_0, new AnimInsEvent(arg_EC7F_0, array6)); arg_EC91_0.Add(arg_EC91_1, new Animation(arg_EC8C_0, arg_EC8C_1, arg_EC8C_2, arg_EC8C_3, arg_EC8C_4, arg_EC8C_5, arg_EC8C_6, arg_EC8C_7, arg_EC8C_8, arg_EC8C_9, arg_EC8C_10, arg_EC8C_11, arg_EC8C_12, arg_EC8C_13, arg_EC8C_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Right"), new Vector2(18f, 44f), 4, 2, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Down"), new Vector2(19f, 44f), 4, 2, 39, 47, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/PumpKing/Damage/Right"), new Vector2(16f, 44f), 4, 2, 35, 50, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Scarecrow"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PumpkingDeath; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 100f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Halloweed) { xEn.xBaseStats.fMovementSpeed = 2f + 0.5f * (float)GameSessionData.iBaseDifficulty; xEn.xBaseStats.bAllowKnockback = false; xEn.bAutoSwitchToHitAnimation = false; xEn.enType = enType; xEn.xBehaviour = new HalloweedAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 18; xEn.aiHitAnimation[1] = 18; xEn.aiHitAnimation[2] = 19; xEn.aiHitAnimation[3] = 19; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Flower/Idle"), new Vector2(14f, 21f), 4, 1, 25, 27, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Flower/Idle"), new Vector2(14f, 21f), 4, 1, 25, 27, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_F0B5_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F0B5_1 = 2; ushort arg_F0B0_0 = 2; byte arg_F0B0_1 = 3; Texture2D arg_F0B0_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Flower/Disappear"); Vector2 arg_F0B0_3 = new Vector2(14f, 21f); int arg_F0B0_4 = 4; int arg_F0B0_5 = 5; int arg_F0B0_6 = 25; int arg_F0B0_7 = 27; int arg_F0B0_8 = 0; int arg_F0B0_9 = 0; int arg_F0B0_10 = 8; Animation.LoopSettings arg_F0B0_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_F0B0_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F0B0_13 = false; bool arg_F0B0_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_F07F_0 = array; int arg_F07F_1 = 0; AnimInsCriteria arg_F07A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_F075_0 = AnimInsEvent.EventType.PlaySound; string arg_F075_1 = "Halloweed_SmallDisappear"; float[] array6 = new float[1]; arg_F07F_0[arg_F07F_1] = new AnimationInstruction(arg_F07A_0, new AnimInsEvent(arg_F075_0, arg_F075_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_F0B5_0.Add(arg_F0B5_1, new Animation(arg_F0B0_0, arg_F0B0_1, arg_F0B0_2, arg_F0B0_3, arg_F0B0_4, arg_F0B0_5, arg_F0B0_6, arg_F0B0_7, arg_F0B0_8, arg_F0B0_9, arg_F0B0_10, arg_F0B0_11, arg_F0B0_12, arg_F0B0_13, arg_F0B0_14, array)); Dictionary<ushort, Animation> arg_F15D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F15D_1 = 3; ushort arg_F158_0 = 3; byte arg_F158_1 = 1; Texture2D arg_F158_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Flower/Disappear"); Vector2 arg_F158_3 = new Vector2(14f, 21f); int arg_F158_4 = 4; int arg_F158_5 = 5; int arg_F158_6 = 25; int arg_F158_7 = 27; int arg_F158_8 = 0; int arg_F158_9 = 0; int arg_F158_10 = 8; Animation.LoopSettings arg_F158_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_F158_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F158_13 = false; bool arg_F158_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_F127_0 = array; int arg_F127_1 = 0; AnimInsCriteria arg_F122_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_F11D_0 = AnimInsEvent.EventType.PlaySound; string arg_F11D_1 = "Halloweed_SmallDisappear"; array6 = new float[1]; arg_F127_0[arg_F127_1] = new AnimationInstruction(arg_F122_0, new AnimInsEvent(arg_F11D_0, arg_F11D_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_F15D_0.Add(arg_F15D_1, new Animation(arg_F158_0, arg_F158_1, arg_F158_2, arg_F158_3, arg_F158_4, arg_F158_5, arg_F158_6, arg_F158_7, arg_F158_8, arg_F158_9, arg_F158_10, arg_F158_11, arg_F158_12, arg_F158_13, arg_F158_14, array)); xEn.xRenderComponent.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_F1E2_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F1E2_1 = 4; ushort arg_F1DD_0 = 4; byte arg_F1DD_1 = 1; Texture2D arg_F1DD_2 = RenderMaster.txNullTex; Vector2 arg_F1DD_3 = new Vector2(12f, 22f); int arg_F1DD_4 = 4; int arg_F1DD_5 = 1; int arg_F1DD_6 = 25; int arg_F1DD_7 = 27; int arg_F1DD_8 = 0; int arg_F1DD_9 = 0; int arg_F1DD_10 = 8; Animation.LoopSettings arg_F1DD_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_F1DD_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F1DD_13 = true; bool arg_F1DD_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_F1DA_0 = array; int arg_F1DA_1 = 0; AnimInsCriteria arg_F1D5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_F1D0_0 = AnimInsEvent.EventType.PlaySound; string arg_F1D0_1 = "Halloweed_Digging"; array6 = new float[1]; arg_F1DA_0[arg_F1DA_1] = new AnimationInstruction(arg_F1D5_0, new AnimInsEvent(arg_F1D0_0, arg_F1D0_1, array6)); arg_F1E2_0.Add(arg_F1E2_1, new Animation(arg_F1DD_0, arg_F1DD_1, arg_F1DD_2, arg_F1DD_3, arg_F1DD_4, arg_F1DD_5, arg_F1DD_6, arg_F1DD_7, arg_F1DD_8, arg_F1DD_9, arg_F1DD_10, arg_F1DD_11, arg_F1DD_12, arg_F1DD_13, arg_F1DD_14, array)); xEn.xRenderComponent.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[0])); xEn.xRenderComponent.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[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_F3AE_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F3AE_1 = 10; ushort arg_F3A9_0 = 10; byte arg_F3A9_1 = 1; Texture2D arg_F3A9_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Appear/Right"); Vector2 arg_F3A9_3 = new Vector2(44f, 51f); int arg_F3A9_4 = 4; int arg_F3A9_5 = 11; int arg_F3A9_6 = 82; int arg_F3A9_7 = 64; int arg_F3A9_8 = 0; int arg_F3A9_9 = 0; int arg_F3A9_10 = 19; Animation.LoopSettings arg_F3A9_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_F3A9_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F3A9_13 = false; bool arg_F3A9_14 = false; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); AnimationInstruction[] arg_F337_0 = array; int arg_F337_1 = 1; AnimInsCriteria arg_F332_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_F32D_0 = AnimInsEvent.EventType.PlaySound; string arg_F32D_1 = "Halloweed_Appear"; array6 = new float[1]; arg_F337_0[arg_F337_1] = new AnimationInstruction(arg_F332_0, new AnimInsEvent(arg_F32D_0, arg_F32D_1, array6)); AnimationInstruction[] arg_F36A_0 = array; int arg_F36A_1 = 2; AnimInsCriteria arg_F365_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }); AnimInsEvent.EventType arg_F360_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_F36A_0[arg_F36A_1] = new AnimationInstruction(arg_F365_0, new AnimInsEvent(arg_F360_0, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); arg_F3AE_0.Add(arg_F3AE_1, new Animation(arg_F3A9_0, arg_F3A9_1, arg_F3A9_2, arg_F3A9_3, arg_F3A9_4, arg_F3A9_5, arg_F3A9_6, arg_F3A9_7, arg_F3A9_8, arg_F3A9_9, arg_F3A9_10, arg_F3A9_11, arg_F3A9_12, arg_F3A9_13, arg_F3A9_14, array)); Dictionary<ushort, Animation> arg_F4C9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F4C9_1 = 11; ushort arg_F4C4_0 = 11; byte arg_F4C4_1 = 3; Texture2D arg_F4C4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Appear/Right"); Vector2 arg_F4C4_3 = new Vector2(41f, 51f); int arg_F4C4_4 = 4; int arg_F4C4_5 = 11; int arg_F4C4_6 = 82; int arg_F4C4_7 = 64; int arg_F4C4_8 = 0; int arg_F4C4_9 = 0; int arg_F4C4_10 = 19; Animation.LoopSettings arg_F4C4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_F4C4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F4C4_13 = false; bool arg_F4C4_14 = false; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); AnimationInstruction[] arg_F452_0 = array; int arg_F452_1 = 1; AnimInsCriteria arg_F44D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_F448_0 = AnimInsEvent.EventType.PlaySound; string arg_F448_1 = "Halloweed_Appear"; array6 = new float[1]; arg_F452_0[arg_F452_1] = new AnimationInstruction(arg_F44D_0, new AnimInsEvent(arg_F448_0, arg_F448_1, array6)); AnimationInstruction[] arg_F485_0 = array; int arg_F485_1 = 2; AnimInsCriteria arg_F480_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }); AnimInsEvent.EventType arg_F47B_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_F485_0[arg_F485_1] = new AnimationInstruction(arg_F480_0, new AnimInsEvent(arg_F47B_0, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); arg_F4C9_0.Add(arg_F4C9_1, new Animation(arg_F4C4_0, arg_F4C4_1, arg_F4C4_2, arg_F4C4_3, arg_F4C4_4, arg_F4C4_5, arg_F4C4_6, arg_F4C4_7, arg_F4C4_8, arg_F4C4_9, arg_F4C4_10, arg_F4C4_11, arg_F4C4_12, arg_F4C4_13, arg_F4C4_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_F59A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F59A_1 = 14; ushort arg_F595_0 = 14; byte arg_F595_1 = 1; Texture2D arg_F595_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Attack/Right"); Vector2 arg_F595_3 = new Vector2(66f, 54f); int arg_F595_4 = 4; int arg_F595_5 = 14; int arg_F595_6 = 118; int arg_F595_7 = 88; int arg_F595_8 = 0; int arg_F595_9 = 0; int arg_F595_10 = 14; Animation.LoopSettings arg_F595_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_F595_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F595_13 = false; bool arg_F595_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[] { 6f })); AnimationInstruction[] arg_F592_0 = array; int arg_F592_1 = 1; AnimInsCriteria arg_F58D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_F588_0 = AnimInsEvent.EventType.PlaySound; string arg_F588_1 = "Halloweed_Attack"; array6 = new float[1]; arg_F592_0[arg_F592_1] = new AnimationInstruction(arg_F58D_0, new AnimInsEvent(arg_F588_0, arg_F588_1, array6)); arg_F59A_0.Add(arg_F59A_1, new Animation(arg_F595_0, arg_F595_1, arg_F595_2, arg_F595_3, arg_F595_4, arg_F595_5, arg_F595_6, arg_F595_7, arg_F595_8, arg_F595_9, arg_F595_10, arg_F595_11, arg_F595_12, arg_F595_13, arg_F595_14, array)); Dictionary<ushort, Animation> arg_F653_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F653_1 = 15; ushort arg_F64E_0 = 15; byte arg_F64E_1 = 3; Texture2D arg_F64E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Attack/Right"); Vector2 arg_F64E_3 = new Vector2(55f, 54f); int arg_F64E_4 = 4; int arg_F64E_5 = 14; int arg_F64E_6 = 118; int arg_F64E_7 = 88; int arg_F64E_8 = 0; int arg_F64E_9 = 0; int arg_F64E_10 = 14; Animation.LoopSettings arg_F64E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_F64E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F64E_13 = false; bool arg_F64E_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_F64B_0 = array; int arg_F64B_1 = 1; AnimInsCriteria arg_F646_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_F641_0 = AnimInsEvent.EventType.PlaySound; string arg_F641_1 = "Halloweed_Attack"; array6 = new float[1]; arg_F64B_0[arg_F64B_1] = new AnimationInstruction(arg_F646_0, new AnimInsEvent(arg_F641_0, arg_F641_1, array6)); arg_F653_0.Add(arg_F653_1, new Animation(arg_F64E_0, arg_F64E_1, arg_F64E_2, arg_F64E_3, arg_F64E_4, arg_F64E_5, arg_F64E_6, arg_F64E_7, arg_F64E_8, arg_F64E_9, arg_F64E_10, arg_F64E_11, arg_F64E_12, arg_F64E_13, arg_F64E_14, array)); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_F726_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F726_1 = 18; ushort arg_F721_0 = 18; byte arg_F721_1 = 1; Texture2D arg_F721_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Damage/Right"); Vector2 arg_F721_3 = new Vector2(44f, 44f); int arg_F721_4 = 5; int arg_F721_5 = 4; int arg_F721_6 = 76; int arg_F721_7 = 53; int arg_F721_8 = 0; int arg_F721_9 = 0; int arg_F721_10 = 4; Animation.LoopSettings arg_F721_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_F721_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F721_13 = false; bool arg_F721_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_F6F0_0 = array; int arg_F6F0_1 = 0; AnimInsCriteria arg_F6EB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_F6E6_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 3f; arg_F6F0_0[arg_F6F0_1] = new AnimationInstruction(arg_F6EB_0, new AnimInsEvent(arg_F6E6_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); arg_F726_0.Add(arg_F726_1, new Animation(arg_F721_0, arg_F721_1, arg_F721_2, arg_F721_3, arg_F721_4, arg_F721_5, arg_F721_6, arg_F721_7, arg_F721_8, arg_F721_9, arg_F721_10, arg_F721_11, arg_F721_12, arg_F721_13, arg_F721_14, array)); Dictionary<ushort, Animation> arg_F7E1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F7E1_1 = 19; ushort arg_F7DC_0 = 19; byte arg_F7DC_1 = 3; Texture2D arg_F7DC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Damage/Right"); Vector2 arg_F7DC_3 = new Vector2(35f, 44f); int arg_F7DC_4 = 5; int arg_F7DC_5 = 4; int arg_F7DC_6 = 76; int arg_F7DC_7 = 53; int arg_F7DC_8 = 0; int arg_F7DC_9 = 0; int arg_F7DC_10 = 4; Animation.LoopSettings arg_F7DC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_F7DC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F7DC_13 = false; bool arg_F7DC_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_F7AB_0 = array; int arg_F7AB_1 = 0; AnimInsCriteria arg_F7A6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_F7A1_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 3f; arg_F7AB_0[arg_F7AB_1] = new AnimationInstruction(arg_F7A6_0, new AnimInsEvent(arg_F7A1_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); arg_F7E1_0.Add(arg_F7E1_1, new Animation(arg_F7DC_0, arg_F7DC_1, arg_F7DC_2, arg_F7DC_3, arg_F7DC_4, arg_F7DC_5, arg_F7DC_6, arg_F7DC_7, arg_F7DC_8, arg_F7DC_9, arg_F7DC_10, arg_F7DC_11, arg_F7DC_12, arg_F7DC_13, arg_F7DC_14, array)); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_F8A3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F8A3_1 = 22; ushort arg_F89E_0 = 22; byte arg_F89E_1 = 1; Texture2D arg_F89E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Turn/Right"); Vector2 arg_F89E_3 = new Vector2(48f, 44f); int arg_F89E_4 = 4; int arg_F89E_5 = 5; int arg_F89E_6 = 93; int arg_F89E_7 = 53; int arg_F89E_8 = 0; int arg_F89E_9 = 0; int arg_F89E_10 = 5; Animation.LoopSettings arg_F89E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_F89E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F89E_13 = false; bool arg_F89E_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_F89B_0 = array; int arg_F89B_1 = 1; AnimInsCriteria arg_F896_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_F891_0 = AnimInsEvent.EventType.PlaySound; string arg_F891_1 = "Halloweed_Turn"; array6 = new float[1]; arg_F89B_0[arg_F89B_1] = new AnimationInstruction(arg_F896_0, new AnimInsEvent(arg_F891_0, arg_F891_1, array6)); arg_F8A3_0.Add(arg_F8A3_1, new Animation(arg_F89E_0, arg_F89E_1, arg_F89E_2, arg_F89E_3, arg_F89E_4, arg_F89E_5, arg_F89E_6, arg_F89E_7, arg_F89E_8, arg_F89E_9, arg_F89E_10, arg_F89E_11, arg_F89E_12, arg_F89E_13, arg_F89E_14, array)); Dictionary<ushort, Animation> arg_F94D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_F94D_1 = 23; ushort arg_F948_0 = 23; byte arg_F948_1 = 3; Texture2D arg_F948_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Turn/Right"); Vector2 arg_F948_3 = new Vector2(48f, 44f); int arg_F948_4 = 4; int arg_F948_5 = 5; int arg_F948_6 = 93; int arg_F948_7 = 53; int arg_F948_8 = 0; int arg_F948_9 = 0; int arg_F948_10 = 5; Animation.LoopSettings arg_F948_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_F948_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_F948_13 = false; bool arg_F948_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[] { 6f })); AnimationInstruction[] arg_F945_0 = array; int arg_F945_1 = 1; AnimInsCriteria arg_F940_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_F93B_0 = AnimInsEvent.EventType.PlaySound; string arg_F93B_1 = "Halloweed_Turn"; array6 = new float[1]; arg_F945_0[arg_F945_1] = new AnimationInstruction(arg_F940_0, new AnimInsEvent(arg_F93B_0, arg_F93B_1, array6)); arg_F94D_0.Add(arg_F94D_1, new Animation(arg_F948_0, arg_F948_1, arg_F948_2, arg_F948_3, arg_F948_4, arg_F948_5, arg_F948_6, arg_F948_7, arg_F948_8, arg_F948_9, arg_F948_10, arg_F948_11, arg_F948_12, arg_F948_13, arg_F948_14, array)); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_FA4D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_FA4D_1 = 26; ushort arg_FA48_0 = 26; byte arg_FA48_1 = 1; Texture2D arg_FA48_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Dig/DigRight"); Vector2 arg_FA48_3 = new Vector2(47f, 52f); int arg_FA48_4 = 4; int arg_FA48_5 = 14; int arg_FA48_6 = 83; int arg_FA48_7 = 63; int arg_FA48_8 = 0; int arg_FA48_9 = 0; int arg_FA48_10 = 14; Animation.LoopSettings arg_FA48_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_FA48_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_FA48_13 = false; bool arg_FA48_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_FA17_0 = array; int arg_FA17_1 = 1; AnimInsCriteria arg_FA12_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_FA0D_0 = AnimInsEvent.EventType.PlaySound; string arg_FA0D_1 = "Halloweed_Disappear"; array6 = new float[1]; arg_FA17_0[arg_FA17_1] = new AnimationInstruction(arg_FA12_0, new AnimInsEvent(arg_FA0D_0, arg_FA0D_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_FA4D_0.Add(arg_FA4D_1, new Animation(arg_FA48_0, arg_FA48_1, arg_FA48_2, arg_FA48_3, arg_FA48_4, arg_FA48_5, arg_FA48_6, arg_FA48_7, arg_FA48_8, arg_FA48_9, arg_FA48_10, arg_FA48_11, arg_FA48_12, arg_FA48_13, arg_FA48_14, array)); Dictionary<ushort, Animation> arg_FB35_0 = xEn.xRenderComponent.dixAnimations; ushort arg_FB35_1 = 27; ushort arg_FB30_0 = 27; byte arg_FB30_1 = 3; Texture2D arg_FB30_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Dig/DigRight"); Vector2 arg_FB30_3 = new Vector2(39f, 52f); int arg_FB30_4 = 4; int arg_FB30_5 = 14; int arg_FB30_6 = 83; int arg_FB30_7 = 63; int arg_FB30_8 = 0; int arg_FB30_9 = 0; int arg_FB30_10 = 14; Animation.LoopSettings arg_FB30_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_FB30_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_FB30_13 = false; bool arg_FB30_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_FAFF_0 = array; int arg_FAFF_1 = 1; AnimInsCriteria arg_FAFA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_FAF5_0 = AnimInsEvent.EventType.PlaySound; string arg_FAF5_1 = "Halloweed_Disappear"; array6 = new float[1]; arg_FAFF_0[arg_FAFF_1] = new AnimationInstruction(arg_FAFA_0, new AnimInsEvent(arg_FAF5_0, arg_FAF5_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_FB35_0.Add(arg_FB35_1, new Animation(arg_FB30_0, arg_FB30_1, arg_FB30_2, arg_FB30_3, arg_FB30_4, arg_FB30_5, arg_FB30_6, arg_FB30_7, arg_FB30_8, arg_FB30_9, arg_FB30_10, arg_FB30_11, arg_FB30_12, arg_FB30_13, arg_FB30_14, array)); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_FCBF_0 = xEn.xRenderComponent.dixAnimations; ushort arg_FCBF_1 = 28; ushort arg_FCBA_0 = 28; byte arg_FCBA_1 = 1; Texture2D arg_FCBA_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Root/Right"); Vector2 arg_FCBA_3 = new Vector2(64f, 52f); int arg_FCBA_4 = 4; int arg_FCBA_5 = 12; int arg_FCBA_6 = 109; int arg_FCBA_7 = 63; int arg_FCBA_8 = 0; int arg_FCBA_9 = 0; int arg_FCBA_10 = 14; Animation.LoopSettings arg_FCBA_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_FCBA_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_FCBA_13 = false; bool arg_FCBA_14 = false; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); AnimationInstruction[] arg_FBFF_0 = array; int arg_FBFF_1 = 1; AnimInsCriteria arg_FBFA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_FBF5_0 = AnimInsEvent.EventType.PlaySound; string arg_FBF5_1 = "Halloweed_SnareStart"; array6 = new float[1]; arg_FBFF_0[arg_FBFF_1] = new AnimationInstruction(arg_FBFA_0, new AnimInsEvent(arg_FBF5_0, arg_FBF5_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 6f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 8f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 32f })); arg_FCBF_0.Add(arg_FCBF_1, new Animation(arg_FCBA_0, arg_FCBA_1, arg_FCBA_2, arg_FCBA_3, arg_FCBA_4, arg_FCBA_5, arg_FCBA_6, arg_FCBA_7, arg_FCBA_8, arg_FCBA_9, arg_FCBA_10, arg_FCBA_11, arg_FCBA_12, arg_FCBA_13, arg_FCBA_14, array)); Dictionary<ushort, Animation> arg_FE31_0 = xEn.xRenderComponent.dixAnimations; ushort arg_FE31_1 = 29; ushort arg_FE2C_0 = 29; byte arg_FE2C_1 = 3; Texture2D arg_FE2C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Root/Right"); Vector2 arg_FE2C_3 = new Vector2(48f, 52f); int arg_FE2C_4 = 4; int arg_FE2C_5 = 12; int arg_FE2C_6 = 109; int arg_FE2C_7 = 63; int arg_FE2C_8 = 0; int arg_FE2C_9 = 0; int arg_FE2C_10 = 14; Animation.LoopSettings arg_FE2C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_FE2C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_FE2C_13 = false; bool arg_FE2C_14 = false; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); AnimationInstruction[] arg_FD71_0 = array; int arg_FD71_1 = 1; AnimInsCriteria arg_FD6C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_FD67_0 = AnimInsEvent.EventType.PlaySound; string arg_FD67_1 = "Halloweed_SnareStart"; array6 = new float[1]; arg_FD71_0[arg_FD71_1] = new AnimationInstruction(arg_FD6C_0, new AnimInsEvent(arg_FD67_0, arg_FD67_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 6f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 8f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 33f })); arg_FE31_0.Add(arg_FE31_1, new Animation(arg_FE2C_0, arg_FE2C_1, arg_FE2C_2, arg_FE2C_3, arg_FE2C_4, arg_FE2C_5, arg_FE2C_6, arg_FE2C_7, arg_FE2C_8, arg_FE2C_9, arg_FE2C_10, arg_FE2C_11, arg_FE2C_12, arg_FE2C_13, arg_FE2C_14, array)); xEn.xRenderComponent.dixAnimations[29].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(30, new Animation(30, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/RootEnd/Right"), new Vector2(64f, 52f), 4, 5, 109, 63, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })) })); xEn.xRenderComponent.dixAnimations.Add(31, new Animation(31, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/RootEnd/Right"), new Vector2(48f, 52f), 4, 5, 109, 63, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })) })); xEn.xRenderComponent.dixAnimations[31].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(32, new Animation(32, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/RootIdle/Right"), new Vector2(46f, 38f), 4, 8, 91, 49, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(33, new Animation(33, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/RootIdle/Right"), new Vector2(48f, 38f), 4, 8, 91, 49, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[33].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(80, new Animation(80, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Dig/DigRight"), new Vector2(47f, 52f), 5, 4, 83, 63, 83, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 81f })) })); xEn.xRenderComponent.dixAnimations.Add(81, new Animation(81, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Dig/DigRight"), new Vector2(47f, 52f), 5, 4, 83, 63, 83, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 80f })) })); xEn.xRenderComponent.dixAnimations[81].bReversePlayback = true; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Blomma"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PoofEffectB; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(7f, Vector2.Zero, xEn.xTransform, 1000000f, xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); xEn.xCollisionComponent.SetPropertyInGroup(CollisionComponent.ColliderGroup.Movement, CollisionComponent.ColliderProperty.Ghost); xEn.xCollisionComponent.DeactivateGroup(CollisionComponent.ColliderGroup.Combat); } else if (enType == EnemyCodex.EnemyTypes.TerrorWeed) { xEn.xBaseStats.fMovementSpeed = 0f; xEn.xBaseStats.bAllowKnockback = false; xEn.bAutoSwitchToHitAnimation = false; xEn.enType = enType; xEn.xBehaviour = new TerrorweedAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 18; xEn.aiHitAnimation[1] = 18; xEn.aiHitAnimation[2] = 19; xEn.aiHitAnimation[3] = 19; xEn.xBaseStats.bSlowImmunity = (xEn.xBaseStats.bFreezeImmunity = true); xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Flower/Idle"), new Vector2(14f, 21f), 4, 1, 25, 27, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Flower/Idle"), new Vector2(14f, 21f), 4, 1, 25, 27, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_103E4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_103E4_1 = 2; ushort arg_103DF_0 = 2; byte arg_103DF_1 = 3; Texture2D arg_103DF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Flower/Disappear"); Vector2 arg_103DF_3 = new Vector2(14f, 21f); int arg_103DF_4 = 4; int arg_103DF_5 = 5; int arg_103DF_6 = 25; int arg_103DF_7 = 27; int arg_103DF_8 = 0; int arg_103DF_9 = 0; int arg_103DF_10 = 8; Animation.LoopSettings arg_103DF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_103DF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_103DF_13 = false; bool arg_103DF_14 = false; AnimationInstruction[] array = new AnimationInstruction[3]; AnimationInstruction[] arg_1037F_0 = array; int arg_1037F_1 = 0; AnimInsCriteria arg_1037A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_10375_0 = AnimInsEvent.EventType.PlaySound; string arg_10375_1 = "Halloweed_SmallDisappear"; float[] array6 = new float[1]; arg_1037F_0[arg_1037F_1] = new AnimationInstruction(arg_1037A_0, new AnimInsEvent(arg_10375_0, arg_10375_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_103E4_0.Add(arg_103E4_1, new Animation(arg_103DF_0, arg_103DF_1, arg_103DF_2, arg_103DF_3, arg_103DF_4, arg_103DF_5, arg_103DF_6, arg_103DF_7, arg_103DF_8, arg_103DF_9, arg_103DF_10, arg_103DF_11, arg_103DF_12, arg_103DF_13, arg_103DF_14, array)); Dictionary<ushort, Animation> arg_104BB_0 = xEn.xRenderComponent.dixAnimations; ushort arg_104BB_1 = 3; ushort arg_104B6_0 = 3; byte arg_104B6_1 = 1; Texture2D arg_104B6_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Flower/Disappear"); Vector2 arg_104B6_3 = new Vector2(14f, 21f); int arg_104B6_4 = 4; int arg_104B6_5 = 5; int arg_104B6_6 = 25; int arg_104B6_7 = 27; int arg_104B6_8 = 0; int arg_104B6_9 = 0; int arg_104B6_10 = 8; Animation.LoopSettings arg_104B6_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_104B6_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_104B6_13 = false; bool arg_104B6_14 = false; array = new AnimationInstruction[3]; AnimationInstruction[] arg_10456_0 = array; int arg_10456_1 = 0; AnimInsCriteria arg_10451_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1044C_0 = AnimInsEvent.EventType.PlaySound; string arg_1044C_1 = "Halloweed_SmallDisappear"; array6 = new float[1]; arg_10456_0[arg_10456_1] = new AnimationInstruction(arg_10451_0, new AnimInsEvent(arg_1044C_0, arg_1044C_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_104BB_0.Add(arg_104BB_1, new Animation(arg_104B6_0, arg_104B6_1, arg_104B6_2, arg_104B6_3, arg_104B6_4, arg_104B6_5, arg_104B6_6, arg_104B6_7, arg_104B6_8, arg_104B6_9, arg_104B6_10, arg_104B6_11, arg_104B6_12, arg_104B6_13, arg_104B6_14, array)); xEn.xRenderComponent.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_10540_0 = xEn.xRenderComponent.dixAnimations; ushort arg_10540_1 = 4; ushort arg_1053B_0 = 4; byte arg_1053B_1 = 1; Texture2D arg_1053B_2 = RenderMaster.txNullTex; Vector2 arg_1053B_3 = new Vector2(12f, 22f); int arg_1053B_4 = 4; int arg_1053B_5 = 1; int arg_1053B_6 = 25; int arg_1053B_7 = 27; int arg_1053B_8 = 0; int arg_1053B_9 = 0; int arg_1053B_10 = 8; Animation.LoopSettings arg_1053B_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_1053B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1053B_13 = true; bool arg_1053B_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_10538_0 = array; int arg_10538_1 = 0; AnimInsCriteria arg_10533_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1052E_0 = AnimInsEvent.EventType.PlaySound; string arg_1052E_1 = "Halloweed_Digging"; array6 = new float[1]; arg_10538_0[arg_10538_1] = new AnimationInstruction(arg_10533_0, new AnimInsEvent(arg_1052E_0, arg_1052E_1, array6)); arg_10540_0.Add(arg_10540_1, new Animation(arg_1053B_0, arg_1053B_1, arg_1053B_2, arg_1053B_3, arg_1053B_4, arg_1053B_5, arg_1053B_6, arg_1053B_7, arg_1053B_8, arg_1053B_9, arg_1053B_10, arg_1053B_11, arg_1053B_12, arg_1053B_13, arg_1053B_14, array)); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Idle/Right"), new Vector2(47f, 52f), 4, 10, 83, 63, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Idle/Right"), new Vector2(39f, 52f), 4, 10, 83, 63, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1070C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1070C_1 = 10; ushort arg_10707_0 = 10; byte arg_10707_1 = 1; Texture2D arg_10707_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Appear/Right"); Vector2 arg_10707_3 = new Vector2(44f, 51f); int arg_10707_4 = 4; int arg_10707_5 = 11; int arg_10707_6 = 82; int arg_10707_7 = 64; int arg_10707_8 = 0; int arg_10707_9 = 0; int arg_10707_10 = 19; Animation.LoopSettings arg_10707_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_10707_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_10707_13 = false; bool arg_10707_14 = false; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); AnimationInstruction[] arg_10695_0 = array; int arg_10695_1 = 1; AnimInsCriteria arg_10690_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1068B_0 = AnimInsEvent.EventType.PlaySound; string arg_1068B_1 = "Halloweed_Appear"; array6 = new float[1]; arg_10695_0[arg_10695_1] = new AnimationInstruction(arg_10690_0, new AnimInsEvent(arg_1068B_0, arg_1068B_1, array6)); AnimationInstruction[] arg_106C8_0 = array; int arg_106C8_1 = 2; AnimInsCriteria arg_106C3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }); AnimInsEvent.EventType arg_106BE_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_106C8_0[arg_106C8_1] = new AnimationInstruction(arg_106C3_0, new AnimInsEvent(arg_106BE_0, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); arg_1070C_0.Add(arg_1070C_1, new Animation(arg_10707_0, arg_10707_1, arg_10707_2, arg_10707_3, arg_10707_4, arg_10707_5, arg_10707_6, arg_10707_7, arg_10707_8, arg_10707_9, arg_10707_10, arg_10707_11, arg_10707_12, arg_10707_13, arg_10707_14, array)); Dictionary<ushort, Animation> arg_10827_0 = xEn.xRenderComponent.dixAnimations; ushort arg_10827_1 = 11; ushort arg_10822_0 = 11; byte arg_10822_1 = 3; Texture2D arg_10822_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Appear/Right"); Vector2 arg_10822_3 = new Vector2(41f, 51f); int arg_10822_4 = 4; int arg_10822_5 = 11; int arg_10822_6 = 82; int arg_10822_7 = 64; int arg_10822_8 = 0; int arg_10822_9 = 0; int arg_10822_10 = 19; Animation.LoopSettings arg_10822_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_10822_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_10822_13 = false; bool arg_10822_14 = false; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); AnimationInstruction[] arg_107B0_0 = array; int arg_107B0_1 = 1; AnimInsCriteria arg_107AB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_107A6_0 = AnimInsEvent.EventType.PlaySound; string arg_107A6_1 = "Halloweed_Appear"; array6 = new float[1]; arg_107B0_0[arg_107B0_1] = new AnimationInstruction(arg_107AB_0, new AnimInsEvent(arg_107A6_0, arg_107A6_1, array6)); AnimationInstruction[] arg_107E3_0 = array; int arg_107E3_1 = 2; AnimInsCriteria arg_107DE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }); AnimInsEvent.EventType arg_107D9_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_107E3_0[arg_107E3_1] = new AnimationInstruction(arg_107DE_0, new AnimInsEvent(arg_107D9_0, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); arg_10827_0.Add(arg_10827_1, new Animation(arg_10822_0, arg_10822_1, arg_10822_2, arg_10822_3, arg_10822_4, arg_10822_5, arg_10822_6, arg_10822_7, arg_10822_8, arg_10822_9, arg_10822_10, arg_10822_11, arg_10822_12, arg_10822_13, arg_10822_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_10A69_0 = xEn.xRenderComponent.dixAnimations; ushort arg_10A69_1 = 14; ushort arg_10A64_0 = 14; byte arg_10A64_1 = 1; Texture2D arg_10A64_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Attack/Right"); Vector2 arg_10A64_3 = new Vector2(66f, 54f); int arg_10A64_4 = 4; int arg_10A64_5 = 14; int arg_10A64_6 = 118; int arg_10A64_7 = 88; int arg_10A64_8 = 0; int arg_10A64_9 = 0; int arg_10A64_10 = 14; Animation.LoopSettings arg_10A64_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_10A64_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_10A64_13 = false; bool arg_10A64_14 = false; array = new AnimationInstruction[8]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); AnimationInstruction[] arg_10A1C_0 = array; int arg_10A1C_1 = 6; AnimInsCriteria arg_10A17_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_10A12_0 = AnimInsEvent.EventType.PlaySound; string arg_10A12_1 = "Halloweed_Attack"; array6 = new float[1]; arg_10A1C_0[arg_10A1C_1] = new AnimationInstruction(arg_10A17_0, new AnimInsEvent(arg_10A12_0, arg_10A12_1, array6)); array[7] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 12f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); arg_10A69_0.Add(arg_10A69_1, new Animation(arg_10A64_0, arg_10A64_1, arg_10A64_2, arg_10A64_3, arg_10A64_4, arg_10A64_5, arg_10A64_6, arg_10A64_7, arg_10A64_8, arg_10A64_9, arg_10A64_10, arg_10A64_11, arg_10A64_12, arg_10A64_13, arg_10A64_14, array)); Dictionary<ushort, Animation> arg_10C93_0 = xEn.xRenderComponent.dixAnimations; ushort arg_10C93_1 = 15; ushort arg_10C8E_0 = 15; byte arg_10C8E_1 = 3; Texture2D arg_10C8E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Attack/Right"); Vector2 arg_10C8E_3 = new Vector2(55f, 54f); int arg_10C8E_4 = 4; int arg_10C8E_5 = 14; int arg_10C8E_6 = 118; int arg_10C8E_7 = 88; int arg_10C8E_8 = 0; int arg_10C8E_9 = 0; int arg_10C8E_10 = 14; Animation.LoopSettings arg_10C8E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_10C8E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_10C8E_13 = false; bool arg_10C8E_14 = false; array = new AnimationInstruction[8]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); AnimationInstruction[] arg_10C46_0 = array; int arg_10C46_1 = 6; AnimInsCriteria arg_10C41_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_10C3C_0 = AnimInsEvent.EventType.PlaySound; string arg_10C3C_1 = "Halloweed_Attack"; array6 = new float[1]; arg_10C46_0[arg_10C46_1] = new AnimationInstruction(arg_10C41_0, new AnimInsEvent(arg_10C3C_0, arg_10C3C_1, array6)); array[7] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 12f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); arg_10C93_0.Add(arg_10C93_1, new Animation(arg_10C8E_0, arg_10C8E_1, arg_10C8E_2, arg_10C8E_3, arg_10C8E_4, arg_10C8E_5, arg_10C8E_6, arg_10C8E_7, arg_10C8E_8, arg_10C8E_9, arg_10C8E_10, arg_10C8E_11, arg_10C8E_12, arg_10C8E_13, arg_10C8E_14, array)); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_10D66_0 = xEn.xRenderComponent.dixAnimations; ushort arg_10D66_1 = 18; ushort arg_10D61_0 = 18; byte arg_10D61_1 = 1; Texture2D arg_10D61_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Damage/Right"); Vector2 arg_10D61_3 = new Vector2(44f, 44f); int arg_10D61_4 = 5; int arg_10D61_5 = 4; int arg_10D61_6 = 76; int arg_10D61_7 = 53; int arg_10D61_8 = 0; int arg_10D61_9 = 0; int arg_10D61_10 = 4; Animation.LoopSettings arg_10D61_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_10D61_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_10D61_13 = false; bool arg_10D61_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_10D30_0 = array; int arg_10D30_1 = 0; AnimInsCriteria arg_10D2B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_10D26_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 3f; arg_10D30_0[arg_10D30_1] = new AnimationInstruction(arg_10D2B_0, new AnimInsEvent(arg_10D26_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); arg_10D66_0.Add(arg_10D66_1, new Animation(arg_10D61_0, arg_10D61_1, arg_10D61_2, arg_10D61_3, arg_10D61_4, arg_10D61_5, arg_10D61_6, arg_10D61_7, arg_10D61_8, arg_10D61_9, arg_10D61_10, arg_10D61_11, arg_10D61_12, arg_10D61_13, arg_10D61_14, array)); Dictionary<ushort, Animation> arg_10E21_0 = xEn.xRenderComponent.dixAnimations; ushort arg_10E21_1 = 19; ushort arg_10E1C_0 = 19; byte arg_10E1C_1 = 3; Texture2D arg_10E1C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Damage/Right"); Vector2 arg_10E1C_3 = new Vector2(35f, 44f); int arg_10E1C_4 = 5; int arg_10E1C_5 = 4; int arg_10E1C_6 = 76; int arg_10E1C_7 = 53; int arg_10E1C_8 = 0; int arg_10E1C_9 = 0; int arg_10E1C_10 = 4; Animation.LoopSettings arg_10E1C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_10E1C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_10E1C_13 = false; bool arg_10E1C_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_10DEB_0 = array; int arg_10DEB_1 = 0; AnimInsCriteria arg_10DE6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_10DE1_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 3f; arg_10DEB_0[arg_10DEB_1] = new AnimationInstruction(arg_10DE6_0, new AnimInsEvent(arg_10DE1_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); arg_10E21_0.Add(arg_10E21_1, new Animation(arg_10E1C_0, arg_10E1C_1, arg_10E1C_2, arg_10E1C_3, arg_10E1C_4, arg_10E1C_5, arg_10E1C_6, arg_10E1C_7, arg_10E1C_8, arg_10E1C_9, arg_10E1C_10, arg_10E1C_11, arg_10E1C_12, arg_10E1C_13, arg_10E1C_14, array)); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_10EE3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_10EE3_1 = 22; ushort arg_10EDE_0 = 22; byte arg_10EDE_1 = 1; Texture2D arg_10EDE_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Turn/Right"); Vector2 arg_10EDE_3 = new Vector2(48f, 44f); int arg_10EDE_4 = 4; int arg_10EDE_5 = 5; int arg_10EDE_6 = 93; int arg_10EDE_7 = 53; int arg_10EDE_8 = 0; int arg_10EDE_9 = 0; int arg_10EDE_10 = 5; Animation.LoopSettings arg_10EDE_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_10EDE_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_10EDE_13 = false; bool arg_10EDE_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_10EDB_0 = array; int arg_10EDB_1 = 1; AnimInsCriteria arg_10ED6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_10ED1_0 = AnimInsEvent.EventType.PlaySound; string arg_10ED1_1 = "Halloweed_Turn"; array6 = new float[1]; arg_10EDB_0[arg_10EDB_1] = new AnimationInstruction(arg_10ED6_0, new AnimInsEvent(arg_10ED1_0, arg_10ED1_1, array6)); arg_10EE3_0.Add(arg_10EE3_1, new Animation(arg_10EDE_0, arg_10EDE_1, arg_10EDE_2, arg_10EDE_3, arg_10EDE_4, arg_10EDE_5, arg_10EDE_6, arg_10EDE_7, arg_10EDE_8, arg_10EDE_9, arg_10EDE_10, arg_10EDE_11, arg_10EDE_12, arg_10EDE_13, arg_10EDE_14, array)); Dictionary<ushort, Animation> arg_10F8D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_10F8D_1 = 23; ushort arg_10F88_0 = 23; byte arg_10F88_1 = 3; Texture2D arg_10F88_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Turn/Right"); Vector2 arg_10F88_3 = new Vector2(48f, 44f); int arg_10F88_4 = 4; int arg_10F88_5 = 5; int arg_10F88_6 = 93; int arg_10F88_7 = 53; int arg_10F88_8 = 0; int arg_10F88_9 = 0; int arg_10F88_10 = 5; Animation.LoopSettings arg_10F88_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_10F88_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_10F88_13 = false; bool arg_10F88_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[] { 6f })); AnimationInstruction[] arg_10F85_0 = array; int arg_10F85_1 = 1; AnimInsCriteria arg_10F80_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_10F7B_0 = AnimInsEvent.EventType.PlaySound; string arg_10F7B_1 = "Halloweed_Turn"; array6 = new float[1]; arg_10F85_0[arg_10F85_1] = new AnimationInstruction(arg_10F80_0, new AnimInsEvent(arg_10F7B_0, arg_10F7B_1, array6)); arg_10F8D_0.Add(arg_10F8D_1, new Animation(arg_10F88_0, arg_10F88_1, arg_10F88_2, arg_10F88_3, arg_10F88_4, arg_10F88_5, arg_10F88_6, arg_10F88_7, arg_10F88_8, arg_10F88_9, arg_10F88_10, arg_10F88_11, arg_10F88_12, arg_10F88_13, arg_10F88_14, array)); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_110BC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_110BC_1 = 26; ushort arg_110B7_0 = 26; byte arg_110B7_1 = 1; Texture2D arg_110B7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Dig/DigRight"); Vector2 arg_110B7_3 = new Vector2(47f, 52f); int arg_110B7_4 = 4; int arg_110B7_5 = 14; int arg_110B7_6 = 83; int arg_110B7_7 = 63; int arg_110B7_8 = 0; int arg_110B7_9 = 0; int arg_110B7_10 = 14; Animation.LoopSettings arg_110B7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_110B7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_110B7_13 = false; bool arg_110B7_14 = false; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_11057_0 = array; int arg_11057_1 = 1; AnimInsCriteria arg_11052_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1104D_0 = AnimInsEvent.EventType.PlaySound; string arg_1104D_1 = "Halloweed_Disappear"; array6 = new float[1]; arg_11057_0[arg_11057_1] = new AnimationInstruction(arg_11052_0, new AnimInsEvent(arg_1104D_0, arg_1104D_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_110BC_0.Add(arg_110BC_1, new Animation(arg_110B7_0, arg_110B7_1, arg_110B7_2, arg_110B7_3, arg_110B7_4, arg_110B7_5, arg_110B7_6, arg_110B7_7, arg_110B7_8, arg_110B7_9, arg_110B7_10, arg_110B7_11, arg_110B7_12, arg_110B7_13, arg_110B7_14, array)); Dictionary<ushort, Animation> arg_111D3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_111D3_1 = 27; ushort arg_111CE_0 = 27; byte arg_111CE_1 = 3; Texture2D arg_111CE_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Dig/DigRight"); Vector2 arg_111CE_3 = new Vector2(39f, 52f); int arg_111CE_4 = 4; int arg_111CE_5 = 14; int arg_111CE_6 = 83; int arg_111CE_7 = 63; int arg_111CE_8 = 0; int arg_111CE_9 = 0; int arg_111CE_10 = 14; Animation.LoopSettings arg_111CE_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_111CE_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_111CE_13 = false; bool arg_111CE_14 = false; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_1116E_0 = array; int arg_1116E_1 = 1; AnimInsCriteria arg_11169_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_11164_0 = AnimInsEvent.EventType.PlaySound; string arg_11164_1 = "Halloweed_Disappear"; array6 = new float[1]; arg_1116E_0[arg_1116E_1] = new AnimationInstruction(arg_11169_0, new AnimInsEvent(arg_11164_0, arg_11164_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_111D3_0.Add(arg_111D3_1, new Animation(arg_111CE_0, arg_111CE_1, arg_111CE_2, arg_111CE_3, arg_111CE_4, arg_111CE_5, arg_111CE_6, arg_111CE_7, arg_111CE_8, arg_111CE_9, arg_111CE_10, arg_111CE_11, arg_111CE_12, arg_111CE_13, arg_111CE_14, array)); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_11388_0 = xEn.xRenderComponent.dixAnimations; ushort arg_11388_1 = 28; ushort arg_11383_0 = 28; byte arg_11383_1 = 1; Texture2D arg_11383_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Root/Right"); Vector2 arg_11383_3 = new Vector2(64f, 52f); int arg_11383_4 = 4; int arg_11383_5 = 12; int arg_11383_6 = 109; int arg_11383_7 = 63; int arg_11383_8 = 0; int arg_11383_9 = 0; int arg_11383_10 = 14; Animation.LoopSettings arg_11383_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_11383_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_11383_13 = false; bool arg_11383_14 = false; array = new AnimationInstruction[6]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); AnimationInstruction[] arg_1129D_0 = array; int arg_1129D_1 = 1; AnimInsCriteria arg_11298_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_11293_0 = AnimInsEvent.EventType.PlaySound; string arg_11293_1 = "Halloweed_SnareStart"; array6 = new float[1]; arg_1129D_0[arg_1129D_1] = new AnimationInstruction(arg_11298_0, new AnimInsEvent(arg_11293_0, arg_11293_1, array6)); AnimationInstruction[] arg_112C8_0 = array; int arg_112C8_1 = 2; AnimInsCriteria arg_112C3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_112BE_0 = AnimInsEvent.EventType.PlaySound; string arg_112BE_1 = "TerrorWeed_SpawnRoots"; array6 = new float[1]; arg_112C8_0[arg_112C8_1] = new AnimationInstruction(arg_112C3_0, new AnimInsEvent(arg_112BE_0, arg_112BE_1, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 6f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 8f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 32f })); arg_11388_0.Add(arg_11388_1, new Animation(arg_11383_0, arg_11383_1, arg_11383_2, arg_11383_3, arg_11383_4, arg_11383_5, arg_11383_6, arg_11383_7, arg_11383_8, arg_11383_9, arg_11383_10, arg_11383_11, arg_11383_12, arg_11383_13, arg_11383_14, array)); Dictionary<ushort, Animation> arg_114FA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_114FA_1 = 29; ushort arg_114F5_0 = 29; byte arg_114F5_1 = 3; Texture2D arg_114F5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Root/Right"); Vector2 arg_114F5_3 = new Vector2(48f, 52f); int arg_114F5_4 = 4; int arg_114F5_5 = 12; int arg_114F5_6 = 109; int arg_114F5_7 = 63; int arg_114F5_8 = 0; int arg_114F5_9 = 0; int arg_114F5_10 = 14; Animation.LoopSettings arg_114F5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_114F5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_114F5_13 = false; bool arg_114F5_14 = false; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); AnimationInstruction[] arg_1143A_0 = array; int arg_1143A_1 = 1; AnimInsCriteria arg_11435_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_11430_0 = AnimInsEvent.EventType.PlaySound; string arg_11430_1 = "TerrorWeed_SpawnRoots"; array6 = new float[1]; arg_1143A_0[arg_1143A_1] = new AnimationInstruction(arg_11435_0, new AnimInsEvent(arg_11430_0, arg_11430_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 6f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 8f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 33f })); arg_114FA_0.Add(arg_114FA_1, new Animation(arg_114F5_0, arg_114F5_1, arg_114F5_2, arg_114F5_3, arg_114F5_4, arg_114F5_5, arg_114F5_6, arg_114F5_7, arg_114F5_8, arg_114F5_9, arg_114F5_10, arg_114F5_11, arg_114F5_12, arg_114F5_13, arg_114F5_14, array)); xEn.xRenderComponent.dixAnimations[29].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(30, new Animation(30, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/RootEnd/Right"), new Vector2(64f, 52f), 4, 5, 109, 63, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })) })); xEn.xRenderComponent.dixAnimations.Add(31, new Animation(31, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/RootEnd/Right"), new Vector2(48f, 52f), 4, 5, 109, 63, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })) })); xEn.xRenderComponent.dixAnimations[31].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(32, new Animation(32, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/RootIdle/Right"), new Vector2(46f, 38f), 4, 8, 91, 49, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(33, new Animation(33, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/RootIdle/Right"), new Vector2(48f, 38f), 4, 8, 91, 49, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[33].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(80, new Animation(80, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Dig/DigRight"), new Vector2(47f, 52f), 5, 4, 83, 63, 83, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 81f })) })); xEn.xRenderComponent.dixAnimations.Add(81, new Animation(81, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Terrorweed/Dig/DigRight"), new Vector2(47f, 52f), 5, 4, 83, 63, 83, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 80f })) })); xEn.xRenderComponent.dixAnimations[81].bReversePlayback = true; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Terrorweed"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PoofEffectB; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(7f, Vector2.Zero, xEn.xTransform, 1000000f, xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); xEn.xCollisionComponent.SetPropertyInGroup(CollisionComponent.ColliderGroup.Movement, CollisionComponent.ColliderProperty.Ghost); xEn.xCollisionComponent.DeactivateGroup(CollisionComponent.ColliderGroup.Combat); } else if (enType == EnemyCodex.EnemyTypes.Ghosty) { xEn.xBaseStats.fMovementSpeed = 1f; xEn.enType = enType; xEn.xBehaviour = new GhostyAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 16; xEn.aiHitAnimation[1] = 17; xEn.aiHitAnimation[2] = 18; xEn.aiHitAnimation[3] = 19; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xBaseStats.bFreezeImmunity = true; xEn.xBaseStats.bUntargetable = true; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Idle/Up"), new Vector2(13f, 31f), 4, 14, 25, 34, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Idle/Right"), new Vector2(12f, 31f), 4, 14, 26, 34, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Idle/Down"), new Vector2(13f, 31f), 4, 14, 25, 34, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Idle/Right"), new Vector2(14f, 31f), 4, 14, 26, 34, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_11D30_0 = xEn.xRenderComponent.dixAnimations; ushort arg_11D30_1 = 5; ushort arg_11D2B_0 = 5; byte arg_11D2B_1 = 1; Texture2D arg_11D2B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Attack/Right"); Vector2 arg_11D2B_3 = new Vector2(12f, 29f); int arg_11D2B_4 = 4; int arg_11D2B_5 = 11; int arg_11D2B_6 = 26; int arg_11D2B_7 = 32; int arg_11D2B_8 = 0; int arg_11D2B_9 = 0; int arg_11D2B_10 = 16; Animation.LoopSettings arg_11D2B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_11D2B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_11D2B_13 = false; bool arg_11D2B_14 = false; AnimationInstruction[] array = new AnimationInstruction[11]; AnimationInstruction[] arg_11AEE_0 = array; int arg_11AEE_1 = 0; AnimInsCriteria arg_11AE9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_11AE4_0 = AnimInsEvent.EventType.AddSmoothPush; float[] array6 = new float[2]; array6[0] = -3f; arg_11AEE_0[arg_11AEE_1] = new AnimationInstruction(arg_11AE9_0, new AnimInsEvent(arg_11AE4_0, array6)); AnimationInstruction[] arg_11B29_0 = array; int arg_11B29_1 = 1; AnimInsCriteria arg_11B24_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_11B1F_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -3f; arg_11B29_0[arg_11B29_1] = new AnimationInstruction(arg_11B24_0, new AnimInsEvent(arg_11B1F_0, array6)); AnimationInstruction[] arg_11B64_0 = array; int arg_11B64_1 = 2; AnimInsCriteria arg_11B5F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_11B5A_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -2f; arg_11B64_0[arg_11B64_1] = new AnimationInstruction(arg_11B5F_0, new AnimInsEvent(arg_11B5A_0, array6)); AnimationInstruction[] arg_11B9F_0 = array; int arg_11B9F_1 = 3; AnimInsCriteria arg_11B9A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_11B95_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -1f; arg_11B9F_0[arg_11B9F_1] = new AnimationInstruction(arg_11B9A_0, new AnimInsEvent(arg_11B95_0, array6)); AnimationInstruction[] arg_11BDA_0 = array; int arg_11BDA_1 = 4; AnimInsCriteria arg_11BD5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_11BD0_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -1f; arg_11BDA_0[arg_11BDA_1] = new AnimationInstruction(arg_11BD5_0, new AnimInsEvent(arg_11BD0_0, array6)); AnimationInstruction[] arg_11C15_0 = array; int arg_11C15_1 = 5; AnimInsCriteria arg_11C10_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_11C0B_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -1f; arg_11C15_0[arg_11C15_1] = new AnimationInstruction(arg_11C10_0, new AnimInsEvent(arg_11C0B_0, array6)); AnimationInstruction[] arg_11C50_0 = array; int arg_11C50_1 = 6; AnimInsCriteria arg_11C4B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }); AnimInsEvent.EventType arg_11C46_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 11f; arg_11C50_0[arg_11C50_1] = new AnimationInstruction(arg_11C4B_0, new AnimInsEvent(arg_11C46_0, array6)); AnimationInstruction[] arg_11C8B_0 = array; int arg_11C8B_1 = 7; AnimInsCriteria arg_11C86_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_11C81_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 13f; arg_11C8B_0[arg_11C8B_1] = new AnimationInstruction(arg_11C86_0, new AnimInsEvent(arg_11C81_0, array6)); array[8] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 10f, 11f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); array[9] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[10] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Ghost_Attack", new float[] { 1f })); arg_11D30_0.Add(arg_11D30_1, new Animation(arg_11D2B_0, arg_11D2B_1, arg_11D2B_2, arg_11D2B_3, arg_11D2B_4, arg_11D2B_5, arg_11D2B_6, arg_11D2B_7, arg_11D2B_8, arg_11D2B_9, arg_11D2B_10, arg_11D2B_11, arg_11D2B_12, arg_11D2B_13, arg_11D2B_14, array)); Dictionary<ushort, Animation> arg_11FF7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_11FF7_1 = 7; ushort arg_11FF2_0 = 7; byte arg_11FF2_1 = 3; Texture2D arg_11FF2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Attack/Right"); Vector2 arg_11FF2_3 = new Vector2(15f, 29f); int arg_11FF2_4 = 4; int arg_11FF2_5 = 11; int arg_11FF2_6 = 26; int arg_11FF2_7 = 32; int arg_11FF2_8 = 0; int arg_11FF2_9 = 0; int arg_11FF2_10 = 16; Animation.LoopSettings arg_11FF2_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_11FF2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_11FF2_13 = false; bool arg_11FF2_14 = false; array = new AnimationInstruction[11]; AnimationInstruction[] arg_11DB5_0 = array; int arg_11DB5_1 = 0; AnimInsCriteria arg_11DB0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_11DAB_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 3f; arg_11DB5_0[arg_11DB5_1] = new AnimationInstruction(arg_11DB0_0, new AnimInsEvent(arg_11DAB_0, array6)); AnimationInstruction[] arg_11DF0_0 = array; int arg_11DF0_1 = 1; AnimInsCriteria arg_11DEB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_11DE6_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 3f; arg_11DF0_0[arg_11DF0_1] = new AnimationInstruction(arg_11DEB_0, new AnimInsEvent(arg_11DE6_0, array6)); AnimationInstruction[] arg_11E2B_0 = array; int arg_11E2B_1 = 2; AnimInsCriteria arg_11E26_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_11E21_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 2f; arg_11E2B_0[arg_11E2B_1] = new AnimationInstruction(arg_11E26_0, new AnimInsEvent(arg_11E21_0, array6)); AnimationInstruction[] arg_11E66_0 = array; int arg_11E66_1 = 3; AnimInsCriteria arg_11E61_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_11E5C_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 1f; arg_11E66_0[arg_11E66_1] = new AnimationInstruction(arg_11E61_0, new AnimInsEvent(arg_11E5C_0, array6)); AnimationInstruction[] arg_11EA1_0 = array; int arg_11EA1_1 = 4; AnimInsCriteria arg_11E9C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_11E97_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 1f; arg_11EA1_0[arg_11EA1_1] = new AnimationInstruction(arg_11E9C_0, new AnimInsEvent(arg_11E97_0, array6)); AnimationInstruction[] arg_11EDC_0 = array; int arg_11EDC_1 = 5; AnimInsCriteria arg_11ED7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_11ED2_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 1f; arg_11EDC_0[arg_11EDC_1] = new AnimationInstruction(arg_11ED7_0, new AnimInsEvent(arg_11ED2_0, array6)); AnimationInstruction[] arg_11F17_0 = array; int arg_11F17_1 = 6; AnimInsCriteria arg_11F12_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }); AnimInsEvent.EventType arg_11F0D_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -11f; arg_11F17_0[arg_11F17_1] = new AnimationInstruction(arg_11F12_0, new AnimInsEvent(arg_11F0D_0, array6)); AnimationInstruction[] arg_11F52_0 = array; int arg_11F52_1 = 7; AnimInsCriteria arg_11F4D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_11F48_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -13f; arg_11F52_0[arg_11F52_1] = new AnimationInstruction(arg_11F4D_0, new AnimInsEvent(arg_11F48_0, array6)); array[8] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 10f, 11f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); array[9] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[10] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Ghost_Attack", new float[] { 1f })); arg_11FF7_0.Add(arg_11FF7_1, new Animation(arg_11FF2_0, arg_11FF2_1, arg_11FF2_2, arg_11FF2_3, arg_11FF2_4, arg_11FF2_5, arg_11FF2_6, arg_11FF2_7, arg_11FF2_8, arg_11FF2_9, arg_11FF2_10, arg_11FF2_11, arg_11FF2_12, arg_11FF2_13, arg_11FF2_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_12112_0 = xEn.xRenderComponent.dixAnimations; ushort arg_12112_1 = 9; ushort arg_1210D_0 = 9; byte arg_1210D_1 = 1; Texture2D arg_1210D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Attack/Right"); Vector2 arg_1210D_3 = new Vector2(12f, 29f); int arg_1210D_4 = 4; int arg_1210D_5 = 2; int arg_1210D_6 = 26; int arg_1210D_7 = 32; int arg_1210D_8 = 286; int arg_1210D_9 = 0; int arg_1210D_10 = 16; Animation.LoopSettings arg_1210D_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_1210D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1210D_13 = false; bool arg_1210D_14 = false; array = new AnimationInstruction[3]; AnimationInstruction[] arg_12097_0 = array; int arg_12097_1 = 0; AnimInsCriteria arg_12092_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_1208D_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 13f; arg_12097_0[arg_12097_1] = new AnimationInstruction(arg_12092_0, new AnimInsEvent(arg_1208D_0, array6)); AnimationInstruction[] arg_120D2_0 = array; int arg_120D2_1 = 1; AnimInsCriteria arg_120CD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_120C8_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 13f; arg_120D2_0[arg_120D2_1] = new AnimationInstruction(arg_120CD_0, new AnimInsEvent(arg_120C8_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); arg_12112_0.Add(arg_12112_1, new Animation(arg_1210D_0, arg_1210D_1, arg_1210D_2, arg_1210D_3, arg_1210D_4, arg_1210D_5, arg_1210D_6, arg_1210D_7, arg_1210D_8, arg_1210D_9, arg_1210D_10, arg_1210D_11, arg_1210D_12, arg_1210D_13, arg_1210D_14, array)); Dictionary<ushort, Animation> arg_12216_0 = xEn.xRenderComponent.dixAnimations; ushort arg_12216_1 = 11; ushort arg_12211_0 = 11; byte arg_12211_1 = 3; Texture2D arg_12211_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Attack/Right"); Vector2 arg_12211_3 = new Vector2(15f, 29f); int arg_12211_4 = 4; int arg_12211_5 = 2; int arg_12211_6 = 26; int arg_12211_7 = 32; int arg_12211_8 = 286; int arg_12211_9 = 0; int arg_12211_10 = 16; Animation.LoopSettings arg_12211_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_12211_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_12211_13 = false; bool arg_12211_14 = false; array = new AnimationInstruction[3]; AnimationInstruction[] arg_1219B_0 = array; int arg_1219B_1 = 0; AnimInsCriteria arg_12196_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_12191_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -13f; arg_1219B_0[arg_1219B_1] = new AnimationInstruction(arg_12196_0, new AnimInsEvent(arg_12191_0, array6)); AnimationInstruction[] arg_121D6_0 = array; int arg_121D6_1 = 1; AnimInsCriteria arg_121D1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_121CC_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -13f; arg_121D6_0[arg_121D6_1] = new AnimationInstruction(arg_121D1_0, new AnimInsEvent(arg_121CC_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); arg_12216_0.Add(arg_12216_1, new Animation(arg_12211_0, arg_12211_1, arg_12211_2, arg_12211_3, arg_12211_4, arg_12211_5, arg_12211_6, arg_12211_7, arg_12211_8, arg_12211_9, arg_12211_10, arg_12211_11, arg_12211_12, arg_12211_13, arg_12211_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_12360_0 = xEn.xRenderComponent.dixAnimations; ushort arg_12360_1 = 12; ushort arg_1235B_0 = 12; byte arg_1235B_1 = 1; Texture2D arg_1235B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Attack/Right"); Vector2 arg_1235B_3 = new Vector2(12f, 29f); int arg_1235B_4 = 4; int arg_1235B_5 = 3; int arg_1235B_6 = 26; int arg_1235B_7 = 32; int arg_1235B_8 = 312; int arg_1235B_9 = 0; int arg_1235B_10 = 16; Animation.LoopSettings arg_1235B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1235B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1235B_13 = false; bool arg_1235B_14 = false; array = new AnimationInstruction[4]; AnimationInstruction[] arg_122B7_0 = array; int arg_122B7_1 = 0; AnimInsCriteria arg_122B2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_122AD_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 5f; arg_122B7_0[arg_122B7_1] = new AnimationInstruction(arg_122B2_0, new AnimInsEvent(arg_122AD_0, array6)); AnimationInstruction[] arg_122F2_0 = array; int arg_122F2_1 = 1; AnimInsCriteria arg_122ED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_122E8_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 2f; arg_122F2_0[arg_122F2_1] = new AnimationInstruction(arg_122ED_0, new AnimInsEvent(arg_122E8_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_12360_0.Add(arg_12360_1, new Animation(arg_1235B_0, arg_1235B_1, arg_1235B_2, arg_1235B_3, arg_1235B_4, arg_1235B_5, arg_1235B_6, arg_1235B_7, arg_1235B_8, arg_1235B_9, arg_1235B_10, arg_1235B_11, arg_1235B_12, arg_1235B_13, arg_1235B_14, array)); Dictionary<ushort, Animation> arg_12492_0 = xEn.xRenderComponent.dixAnimations; ushort arg_12492_1 = 13; ushort arg_1248D_0 = 13; byte arg_1248D_1 = 3; Texture2D arg_1248D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Attack/Right"); Vector2 arg_1248D_3 = new Vector2(15f, 29f); int arg_1248D_4 = 4; int arg_1248D_5 = 3; int arg_1248D_6 = 26; int arg_1248D_7 = 32; int arg_1248D_8 = 312; int arg_1248D_9 = 0; int arg_1248D_10 = 16; Animation.LoopSettings arg_1248D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1248D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1248D_13 = false; bool arg_1248D_14 = false; array = new AnimationInstruction[4]; AnimationInstruction[] arg_123E9_0 = array; int arg_123E9_1 = 0; AnimInsCriteria arg_123E4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_123DF_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -5f; arg_123E9_0[arg_123E9_1] = new AnimationInstruction(arg_123E4_0, new AnimInsEvent(arg_123DF_0, array6)); AnimationInstruction[] arg_12424_0 = array; int arg_12424_1 = 1; AnimInsCriteria arg_1241F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1241A_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -2f; arg_12424_0[arg_12424_1] = new AnimationInstruction(arg_1241F_0, new AnimInsEvent(arg_1241A_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_12492_0.Add(arg_12492_1, new Animation(arg_1248D_0, arg_1248D_1, arg_1248D_2, arg_1248D_3, arg_1248D_4, arg_1248D_5, arg_1248D_6, arg_1248D_7, arg_1248D_8, arg_1248D_9, arg_1248D_10, arg_1248D_11, arg_1248D_12, arg_1248D_13, arg_1248D_14, array)); xEn.xRenderComponent.dixAnimations[13].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_125DC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_125DC_1 = 14; ushort arg_125D7_0 = 14; byte arg_125D7_1 = 1; Texture2D arg_125D7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Attack/Right_turn"); Vector2 arg_125D7_3 = new Vector2(12f, 29f); int arg_125D7_4 = 4; int arg_125D7_5 = 5; int arg_125D7_6 = 26; int arg_125D7_7 = 32; int arg_125D7_8 = 312; int arg_125D7_9 = 0; int arg_125D7_10 = 16; Animation.LoopSettings arg_125D7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_125D7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_125D7_13 = false; bool arg_125D7_14 = false; array = new AnimationInstruction[4]; AnimationInstruction[] arg_12533_0 = array; int arg_12533_1 = 0; AnimInsCriteria arg_1252E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_12529_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 5f; arg_12533_0[arg_12533_1] = new AnimationInstruction(arg_1252E_0, new AnimInsEvent(arg_12529_0, array6)); AnimationInstruction[] arg_1256E_0 = array; int arg_1256E_1 = 1; AnimInsCriteria arg_12569_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_12564_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 2f; arg_1256E_0[arg_1256E_1] = new AnimationInstruction(arg_12569_0, new AnimInsEvent(arg_12564_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_125DC_0.Add(arg_125DC_1, new Animation(arg_125D7_0, arg_125D7_1, arg_125D7_2, arg_125D7_3, arg_125D7_4, arg_125D7_5, arg_125D7_6, arg_125D7_7, arg_125D7_8, arg_125D7_9, arg_125D7_10, arg_125D7_11, arg_125D7_12, arg_125D7_13, arg_125D7_14, array)); Dictionary<ushort, Animation> arg_1270E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1270E_1 = 15; ushort arg_12709_0 = 15; byte arg_12709_1 = 3; Texture2D arg_12709_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Attack/Right_turn"); Vector2 arg_12709_3 = new Vector2(15f, 29f); int arg_12709_4 = 4; int arg_12709_5 = 5; int arg_12709_6 = 26; int arg_12709_7 = 32; int arg_12709_8 = 312; int arg_12709_9 = 0; int arg_12709_10 = 16; Animation.LoopSettings arg_12709_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_12709_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_12709_13 = false; bool arg_12709_14 = false; array = new AnimationInstruction[4]; AnimationInstruction[] arg_12665_0 = array; int arg_12665_1 = 0; AnimInsCriteria arg_12660_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_1265B_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -5f; arg_12665_0[arg_12665_1] = new AnimationInstruction(arg_12660_0, new AnimInsEvent(arg_1265B_0, array6)); AnimationInstruction[] arg_126A0_0 = array; int arg_126A0_1 = 1; AnimInsCriteria arg_1269B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_12696_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -2f; arg_126A0_0[arg_126A0_1] = new AnimationInstruction(arg_1269B_0, new AnimInsEvent(arg_12696_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_1270E_0.Add(arg_1270E_1, new Animation(arg_12709_0, arg_12709_1, arg_12709_2, arg_12709_3, arg_12709_4, arg_12709_5, arg_12709_6, arg_12709_7, arg_12709_8, arg_12709_9, arg_12709_10, arg_12709_11, arg_12709_12, arg_12709_13, arg_12709_14, array)); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_127D9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_127D9_1 = 16; ushort arg_127D4_0 = 16; byte arg_127D4_1 = 0; Texture2D arg_127D4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Up"); Vector2 arg_127D4_3 = new Vector2(13f, 31f); int arg_127D4_4 = 4; int arg_127D4_5 = 2; int arg_127D4_6 = 25; int arg_127D4_7 = 34; int arg_127D4_8 = 0; int arg_127D4_9 = 0; int arg_127D4_10 = 14; Animation.LoopSettings arg_127D4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_127D4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_127D4_13 = false; bool arg_127D4_14 = false; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })); AnimationInstruction[] arg_127D1_0 = array; int arg_127D1_1 = 1; AnimInsCriteria arg_127CC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_127C7_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_127D1_0[arg_127D1_1] = new AnimationInstruction(arg_127CC_0, new AnimInsEvent(arg_127C7_0, array6)); arg_127D9_0.Add(arg_127D9_1, new Animation(arg_127D4_0, arg_127D4_1, arg_127D4_2, arg_127D4_3, arg_127D4_4, arg_127D4_5, arg_127D4_6, arg_127D4_7, arg_127D4_8, arg_127D4_9, arg_127D4_10, arg_127D4_11, arg_127D4_12, arg_127D4_13, arg_127D4_14, array)); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Right"), new Vector2(12f, 31f), 4, 2, 26, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Down"), new Vector2(13f, 31f), 4, 2, 25, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Right"), new Vector2(14f, 31f), 4, 2, 26, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Up"), new Vector2(13f, 31f), 4, 1, 25, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Right"), new Vector2(12f, 31f), 4, 1, 26, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Down"), new Vector2(13f, 31f), 4, 1, 25, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Right"), new Vector2(14f, 31f), 4, 1, 26, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_12C0D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_12C0D_1 = 40004; ushort arg_12C08_0 = 40004; byte arg_12C08_1 = 0; Texture2D arg_12C08_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Up"); Vector2 arg_12C08_3 = new Vector2(13f, 31f); int arg_12C08_4 = 4; int arg_12C08_5 = 2; int arg_12C08_6 = 25; int arg_12C08_7 = 34; int arg_12C08_8 = 0; int arg_12C08_9 = 0; int arg_12C08_10 = 14; Animation.LoopSettings arg_12C08_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_12C08_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_12C08_13 = false; bool arg_12C08_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_12C05_0 = array; int arg_12C05_1 = 0; AnimInsCriteria arg_12C00_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_12BFB_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_12C05_0[arg_12C05_1] = new AnimationInstruction(arg_12C00_0, new AnimInsEvent(arg_12BFB_0, array6)); arg_12C0D_0.Add(arg_12C0D_1, new Animation(arg_12C08_0, arg_12C08_1, arg_12C08_2, arg_12C08_3, arg_12C08_4, arg_12C08_5, arg_12C08_6, arg_12C08_7, arg_12C08_8, arg_12C08_9, arg_12C08_10, arg_12C08_11, arg_12C08_12, arg_12C08_13, arg_12C08_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Right"), new Vector2(12f, 31f), 4, 2, 26, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Down"), new Vector2(13f, 31f), 4, 2, 25, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Ghostling/Damage/Right"), new Vector2(14f, 31f), 4, 2, 26, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.fAlpha = 0f; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Ghosty"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PoofEffectA; xEn.liAnimationsWithAttackphase.Add(5); xEn.liAnimationsWithAttackphase.Add(7); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(11); xEn.liAnimationsWithAttackphase.Add(13); xEn.liAnimationsWithAttackphase.Add(15); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); xEn.xCollisionComponent.SetPropertyInGroup(CollisionComponent.ColliderGroup.Movement, CollisionComponent.ColliderProperty.Ghost); xEn.xCollisionComponent.DeactivateGroup(CollisionComponent.ColliderGroup.Combat); } else if (enType == EnemyCodex.EnemyTypes.Chicken) { xEn.xBaseStats.iLevel = 4; xEn.xBaseStats.iBaseMaxHP = (xEn.xBaseStats.iHP = 2000000000); xEn.xBaseStats.fMovementSpeed = 0.5f; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.enType = enType; xEn.xBehaviour = new ChickenAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 6; xEn.aiHitAnimation[1] = 6; xEn.aiHitAnimation[2] = 7; xEn.aiHitAnimation[3] = 7; xEn.bDropsAnyLoot = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(MONSTER_PATH + "Chicken/Idle/Right"), new Vector2(14f, 23f), 8, 8, 29, 31, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 3, Content.Load<Texture2D>(MONSTER_PATH + "Chicken/Idle/Left"), new Vector2(16f, 23f), 8, 8, 29, 31, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 1, Content.Load<Texture2D>(MONSTER_PATH + "Chicken/Walk/Right"), new Vector2(14f, 23f), 4, 8, 29, 31, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Chicken/Walk/Left"), new Vector2(16f, 23f), 4, 8, 29, 31, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_13110_0 = xEn.xRenderComponent.dixAnimations; ushort arg_13110_1 = 4; ushort arg_1310B_0 = 4; byte arg_1310B_1 = 1; Texture2D arg_1310B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Chicken/Peck/Right"); Vector2 arg_1310B_3 = new Vector2(14f, 23f); int arg_1310B_4 = 4; int arg_1310B_5 = 9; int arg_1310B_6 = 29; int arg_1310B_7 = 31; int arg_1310B_8 = 0; int arg_1310B_9 = 0; int arg_1310B_10 = 12; Animation.LoopSettings arg_1310B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1310B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1310B_13 = true; bool arg_1310B_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_13108_0 = array; int arg_13108_1 = 0; AnimInsCriteria arg_13103_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_130FE_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_13108_0[arg_13108_1] = new AnimationInstruction(arg_13103_0, new AnimInsEvent(arg_130FE_0, array6)); arg_13110_0.Add(arg_13110_1, new Animation(arg_1310B_0, arg_1310B_1, arg_1310B_2, arg_1310B_3, arg_1310B_4, arg_1310B_5, arg_1310B_6, arg_1310B_7, arg_1310B_8, arg_1310B_9, arg_1310B_10, arg_1310B_11, arg_1310B_12, arg_1310B_13, arg_1310B_14, array)); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 3, Content.Load<Texture2D>(MONSTER_PATH + "Chicken/Peck/Left"), new Vector2(16f, 23f), 4, 9, 29, 31, 0, 0, 12, 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 })) })); Dictionary<ushort, Animation> arg_13270_0 = xEn.xRenderComponent.dixAnimations; ushort arg_13270_1 = 6; ushort arg_1326B_0 = 6; byte arg_1326B_1 = 1; Texture2D arg_1326B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Chicken/Damage/Right"); Vector2 arg_1326B_3 = new Vector2(14f, 23f); int arg_1326B_4 = 4; int arg_1326B_5 = 4; int arg_1326B_6 = 29; int arg_1326B_7 = 31; int arg_1326B_8 = 0; int arg_1326B_9 = 0; int arg_1326B_10 = 12; Animation.LoopSettings arg_1326B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1326B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1326B_13 = false; bool arg_1326B_14 = false; array = new AnimationInstruction[3]; AnimationInstruction[] arg_13213_0 = array; int arg_13213_1 = 0; AnimInsCriteria arg_1320E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_13209_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_13213_0[arg_13213_1] = new AnimationInstruction(arg_1320E_0, new AnimInsEvent(arg_13209_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_13268_0 = array; int arg_13268_1 = 2; AnimInsCriteria arg_13263_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1325E_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_13268_0[arg_13268_1] = new AnimationInstruction(arg_13263_0, new AnimInsEvent(arg_1325E_0, array6)); arg_13270_0.Add(arg_13270_1, new Animation(arg_1326B_0, arg_1326B_1, arg_1326B_2, arg_1326B_3, arg_1326B_4, arg_1326B_5, arg_1326B_6, arg_1326B_7, arg_1326B_8, arg_1326B_9, arg_1326B_10, arg_1326B_11, arg_1326B_12, arg_1326B_13, arg_1326B_14, array)); Dictionary<ushort, Animation> arg_13351_0 = xEn.xRenderComponent.dixAnimations; ushort arg_13351_1 = 7; ushort arg_1334C_0 = 7; byte arg_1334C_1 = 3; Texture2D arg_1334C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Chicken/Damage/Left"); Vector2 arg_1334C_3 = new Vector2(16f, 23f); int arg_1334C_4 = 4; int arg_1334C_5 = 4; int arg_1334C_6 = 29; int arg_1334C_7 = 31; int arg_1334C_8 = 0; int arg_1334C_9 = 0; int arg_1334C_10 = 12; Animation.LoopSettings arg_1334C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1334C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1334C_13 = false; bool arg_1334C_14 = false; array = new AnimationInstruction[3]; AnimationInstruction[] arg_132F4_0 = array; int arg_132F4_1 = 0; AnimInsCriteria arg_132EF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_132EA_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_132F4_0[arg_132F4_1] = new AnimationInstruction(arg_132EF_0, new AnimInsEvent(arg_132EA_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_13349_0 = array; int arg_13349_1 = 2; AnimInsCriteria arg_13344_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1333F_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_13349_0[arg_13349_1] = new AnimationInstruction(arg_13344_0, new AnimInsEvent(arg_1333F_0, array6)); arg_13351_0.Add(arg_13351_1, new Animation(arg_1334C_0, arg_1334C_1, arg_1334C_2, arg_1334C_3, arg_1334C_4, arg_1334C_5, arg_1334C_6, arg_1334C_7, arg_1334C_8, arg_1334C_9, arg_1334C_10, arg_1334C_11, arg_1334C_12, arg_1334C_13, arg_1334C_14, array)); xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 1, Content.Load<Texture2D>(MONSTER_PATH + "Chicken/Walk/Right"), new Vector2(14f, 23f), 2, 8, 29, 31, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 3, Content.Load<Texture2D>(MONSTER_PATH + "Chicken/Walk/Left"), new Vector2(16f, 23f), 2, 8, 29, 31, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); SortedAnimated.PreLoadMany(new SortedAnimated.SortedAnimatedEffects[] { SortedAnimated.SortedAnimatedEffects._HitEffect_WhiteFeatherParticle }); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Chicken"; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Neutrals); xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.EnivonmentalHazards); } else if (enType == EnemyCodex.EnemyTypes.Freddy || enType == EnemyCodex.EnemyTypes.Teddy) { string sName = "Freddy"; if (enType == EnemyCodex.EnemyTypes.Teddy) { sName = "Teddy"; } xEn.bDropsAnyLoot = false; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 0.75f; xEn.xBaseStats.iBaseATK = 1; xEn.enType = enType; xEn.xBehaviour = new FreddyFirst_MK2(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.bDontAutoKillAt0HP = true; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/IdleCasual/Up"), new Vector2(13f, 36f), 4, 1, 27, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/IdleCasual/Right"), new Vector2(13f, 37f), 4, 1, 25, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/IdleCasual/Down"), new Vector2(12f, 36f), 4, 1, 24, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/IdleCasual/Left"), new Vector2(12f, 37f), 4, 1, 25, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Idle/Up"), new Vector2(12f, 37f), 4, 8, 25, 40, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Idle/Right"), new Vector2(14f, 37f), 4, 8, 26, 40, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Idle/Down"), new Vector2(12f, 37f), 4, 8, 27, 40, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Idle/Left"), new Vector2(13f, 38f), 4, 8, 26, 40, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Walk/Up"), new Vector2(11f, 34f), 4, 10, 23, 38, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Walk/Right"), new Vector2(10f, 35f), 4, 10, 21, 38, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Walk/Down"), new Vector2(12f, 37f), 4, 10, 28, 40, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Walk/Left"), new Vector2(11f, 36f), 4, 10, 21, 38, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_13A3E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_13A3E_1 = 12; ushort arg_13A39_0 = 12; byte arg_13A39_1 = 0; Texture2D arg_13A39_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Up"); Vector2 arg_13A39_3 = new Vector2(12f, 37f); int arg_13A39_4 = 4; int arg_13A39_5 = 4; int arg_13A39_6 = 27; int arg_13A39_7 = 40; int arg_13A39_8 = 0; int arg_13A39_9 = 0; int arg_13A39_10 = 12; Animation.LoopSettings arg_13A39_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_13A39_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_13A39_13 = false; bool arg_13A39_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_13A08_0 = array; int arg_13A08_1 = 0; AnimInsCriteria arg_13A03_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_139FE_0 = AnimInsEvent.EventType.FreezeFrame; float[] array6 = new float[2]; array6[0] = 10f; arg_13A08_0[arg_13A08_1] = new AnimationInstruction(arg_13A03_0, new AnimInsEvent(arg_139FE_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_13A3E_0.Add(arg_13A3E_1, new Animation(arg_13A39_0, arg_13A39_1, arg_13A39_2, arg_13A39_3, arg_13A39_4, arg_13A39_5, arg_13A39_6, arg_13A39_7, arg_13A39_8, arg_13A39_9, arg_13A39_10, arg_13A39_11, arg_13A39_12, arg_13A39_13, arg_13A39_14, array)); Dictionary<ushort, Animation> arg_13B01_0 = xEn.xRenderComponent.dixAnimations; ushort arg_13B01_1 = 13; ushort arg_13AFC_0 = 13; byte arg_13AFC_1 = 1; Texture2D arg_13AFC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Right"); Vector2 arg_13AFC_3 = new Vector2(14f, 37f); int arg_13AFC_4 = 4; int arg_13AFC_5 = 4; int arg_13AFC_6 = 26; int arg_13AFC_7 = 40; int arg_13AFC_8 = 0; int arg_13AFC_9 = 0; int arg_13AFC_10 = 12; Animation.LoopSettings arg_13AFC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_13AFC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_13AFC_13 = false; bool arg_13AFC_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_13ACB_0 = array; int arg_13ACB_1 = 0; AnimInsCriteria arg_13AC6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_13AC1_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_13ACB_0[arg_13ACB_1] = new AnimationInstruction(arg_13AC6_0, new AnimInsEvent(arg_13AC1_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 5f })); arg_13B01_0.Add(arg_13B01_1, new Animation(arg_13AFC_0, arg_13AFC_1, arg_13AFC_2, arg_13AFC_3, arg_13AFC_4, arg_13AFC_5, arg_13AFC_6, arg_13AFC_7, arg_13AFC_8, arg_13AFC_9, arg_13AFC_10, arg_13AFC_11, arg_13AFC_12, arg_13AFC_13, arg_13AFC_14, array)); Dictionary<ushort, Animation> arg_13BC4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_13BC4_1 = 14; ushort arg_13BBF_0 = 14; byte arg_13BBF_1 = 2; Texture2D arg_13BBF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Down"); Vector2 arg_13BBF_3 = new Vector2(13f, 37f); int arg_13BBF_4 = 4; int arg_13BBF_5 = 4; int arg_13BBF_6 = 27; int arg_13BBF_7 = 40; int arg_13BBF_8 = 0; int arg_13BBF_9 = 0; int arg_13BBF_10 = 12; Animation.LoopSettings arg_13BBF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_13BBF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_13BBF_13 = false; bool arg_13BBF_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_13B8E_0 = array; int arg_13B8E_1 = 0; AnimInsCriteria arg_13B89_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_13B84_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_13B8E_0[arg_13B8E_1] = new AnimationInstruction(arg_13B89_0, new AnimInsEvent(arg_13B84_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); arg_13BC4_0.Add(arg_13BC4_1, new Animation(arg_13BBF_0, arg_13BBF_1, arg_13BBF_2, arg_13BBF_3, arg_13BBF_4, arg_13BBF_5, arg_13BBF_6, arg_13BBF_7, arg_13BBF_8, arg_13BBF_9, arg_13BBF_10, arg_13BBF_11, arg_13BBF_12, arg_13BBF_13, arg_13BBF_14, array)); Dictionary<ushort, Animation> arg_13C87_0 = xEn.xRenderComponent.dixAnimations; ushort arg_13C87_1 = 15; ushort arg_13C82_0 = 15; byte arg_13C82_1 = 3; Texture2D arg_13C82_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Left"); Vector2 arg_13C82_3 = new Vector2(12f, 37f); int arg_13C82_4 = 4; int arg_13C82_5 = 4; int arg_13C82_6 = 26; int arg_13C82_7 = 40; int arg_13C82_8 = 0; int arg_13C82_9 = 0; int arg_13C82_10 = 12; Animation.LoopSettings arg_13C82_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_13C82_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_13C82_13 = false; bool arg_13C82_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_13C51_0 = array; int arg_13C51_1 = 0; AnimInsCriteria arg_13C4C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_13C47_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_13C51_0[arg_13C51_1] = new AnimationInstruction(arg_13C4C_0, new AnimInsEvent(arg_13C47_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); arg_13C87_0.Add(arg_13C87_1, new Animation(arg_13C82_0, arg_13C82_1, arg_13C82_2, arg_13C82_3, arg_13C82_4, arg_13C82_5, arg_13C82_6, arg_13C82_7, arg_13C82_8, arg_13C82_9, arg_13C82_10, arg_13C82_11, arg_13C82_12, arg_13C82_13, arg_13C82_14, array)); xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/AttackA/Up"), new Vector2(25f, 41f), 4, 25, 52, 46, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, sName + "_AttackA", new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 10f, 12f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -6f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 13f, 16f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 17f, 18f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })) })); Dictionary<ushort, Animation> arg_13FA5_0 = xEn.xRenderComponent.dixAnimations; ushort arg_13FA5_1 = 17; ushort arg_13FA0_0 = 17; byte arg_13FA0_1 = 1; Texture2D arg_13FA0_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/AttackA/Right"); Vector2 arg_13FA0_3 = new Vector2(25f, 37f); int arg_13FA0_4 = 4; int arg_13FA0_5 = 25; int arg_13FA0_6 = 50; int arg_13FA0_7 = 41; int arg_13FA0_8 = 0; int arg_13FA0_9 = 0; int arg_13FA0_10 = 25; Animation.LoopSettings arg_13FA0_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_13FA0_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_13FA0_13 = false; bool arg_13FA0_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, sName + "_AttackA", new float[] { 1f })); AnimationInstruction[] arg_13EE7_0 = array; int arg_13EE7_1 = 1; AnimInsCriteria arg_13EE2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 10f, 12f }); AnimInsEvent.EventType arg_13EDD_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 6f; arg_13EE7_0[arg_13EE7_1] = new AnimationInstruction(arg_13EE2_0, new AnimInsEvent(arg_13EDD_0, array6)); AnimationInstruction[] arg_13F2B_0 = array; int arg_13F2B_1 = 2; AnimInsCriteria arg_13F26_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 13f, 16f }); AnimInsEvent.EventType arg_13F21_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 3f; arg_13F2B_0[arg_13F2B_1] = new AnimationInstruction(arg_13F26_0, new AnimInsEvent(arg_13F21_0, array6)); AnimationInstruction[] arg_13F6F_0 = array; int arg_13F6F_1 = 3; AnimInsCriteria arg_13F6A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 17f, 18f }); AnimInsEvent.EventType arg_13F65_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 1f; arg_13F6F_0[arg_13F6F_1] = new AnimationInstruction(arg_13F6A_0, new AnimInsEvent(arg_13F65_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 5f })); arg_13FA5_0.Add(arg_13FA5_1, new Animation(arg_13FA0_0, arg_13FA0_1, arg_13FA0_2, arg_13FA0_3, arg_13FA0_4, arg_13FA0_5, arg_13FA0_6, arg_13FA0_7, arg_13FA0_8, arg_13FA0_9, arg_13FA0_10, arg_13FA0_11, arg_13FA0_12, arg_13FA0_13, arg_13FA0_14, array)); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/AttackA/Down"), new Vector2(26f, 37f), 4, 25, 56, 48, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, sName + "_AttackA", new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 10f, 12f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 6f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 13f, 16f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 17f, 18f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })) })); Dictionary<ushort, Animation> arg_142C3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_142C3_1 = 19; ushort arg_142BE_0 = 19; byte arg_142BE_1 = 3; Texture2D arg_142BE_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/AttackA/Left"); Vector2 arg_142BE_3 = new Vector2(26f, 38f); int arg_142BE_4 = 4; int arg_142BE_5 = 25; int arg_142BE_6 = 50; int arg_142BE_7 = 41; int arg_142BE_8 = 0; int arg_142BE_9 = 0; int arg_142BE_10 = 25; Animation.LoopSettings arg_142BE_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_142BE_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_142BE_13 = false; bool arg_142BE_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, sName + "_AttackA", new float[] { 1f })); AnimationInstruction[] arg_14205_0 = array; int arg_14205_1 = 1; AnimInsCriteria arg_14200_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 10f, 12f }); AnimInsEvent.EventType arg_141FB_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -6f; arg_14205_0[arg_14205_1] = new AnimationInstruction(arg_14200_0, new AnimInsEvent(arg_141FB_0, array6)); AnimationInstruction[] arg_14249_0 = array; int arg_14249_1 = 2; AnimInsCriteria arg_14244_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 13f, 16f }); AnimInsEvent.EventType arg_1423F_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -3f; arg_14249_0[arg_14249_1] = new AnimationInstruction(arg_14244_0, new AnimInsEvent(arg_1423F_0, array6)); AnimationInstruction[] arg_1428D_0 = array; int arg_1428D_1 = 3; AnimInsCriteria arg_14288_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 17f, 18f }); AnimInsEvent.EventType arg_14283_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -1f; arg_1428D_0[arg_1428D_1] = new AnimationInstruction(arg_14288_0, new AnimInsEvent(arg_14283_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); arg_142C3_0.Add(arg_142C3_1, new Animation(arg_142BE_0, arg_142BE_1, arg_142BE_2, arg_142BE_3, arg_142BE_4, arg_142BE_5, arg_142BE_6, arg_142BE_7, arg_142BE_8, arg_142BE_9, arg_142BE_10, arg_142BE_11, arg_142BE_12, arg_142BE_13, arg_142BE_14, array)); Dictionary<ushort, Animation> arg_14394_0 = xEn.xRenderComponent.dixAnimations; ushort arg_14394_1 = 20; ushort arg_1438F_0 = 20; byte arg_1438F_1 = 2; Texture2D arg_1438F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Death/Down"); Vector2 arg_1438F_3 = new Vector2(14f, 37f); int arg_1438F_4 = 4; int arg_1438F_5 = 20; int arg_1438F_6 = 26; int arg_1438F_7 = 64; int arg_1438F_8 = 0; int arg_1438F_9 = 0; int arg_1438F_10 = 25; Animation.LoopSettings arg_1438F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1438F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1438F_13 = false; bool arg_1438F_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, sName + "_KO", new float[] { 1f })); AnimationInstruction[] arg_1438C_0 = array; int arg_1438C_1 = 1; AnimInsCriteria arg_14387_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_14382_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 4f; arg_1438C_0[arg_1438C_1] = new AnimationInstruction(arg_14387_0, new AnimInsEvent(arg_14382_0, array6)); arg_14394_0.Add(arg_14394_1, new Animation(arg_1438F_0, arg_1438F_1, arg_1438F_2, arg_1438F_3, arg_1438F_4, arg_1438F_5, arg_1438F_6, arg_1438F_7, arg_1438F_8, arg_1438F_9, arg_1438F_10, arg_1438F_11, arg_1438F_12, arg_1438F_13, arg_1438F_14, array)); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Blocked/Up"), new Vector2(25f, 41f), 4, 6, 52, 46, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })) })); Dictionary<ushort, Animation> arg_145A0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_145A0_1 = 23; ushort arg_1459B_0 = 23; byte arg_1459B_1 = 1; Texture2D arg_1459B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Blocked/Right"); Vector2 arg_1459B_3 = new Vector2(25f, 37f); int arg_1459B_4 = 4; int arg_1459B_5 = 6; int arg_1459B_6 = 50; int arg_1459B_7 = 41; int arg_1459B_8 = 0; int arg_1459B_9 = 0; int arg_1459B_10 = 25; Animation.LoopSettings arg_1459B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1459B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1459B_13 = false; bool arg_1459B_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_1452F_0 = array; int arg_1452F_1 = 0; AnimInsCriteria arg_1452A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }); AnimInsEvent.EventType arg_14525_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -2f; arg_1452F_0[arg_1452F_1] = new AnimationInstruction(arg_1452A_0, new AnimInsEvent(arg_14525_0, array6)); AnimationInstruction[] arg_1456A_0 = array; int arg_1456A_1 = 1; AnimInsCriteria arg_14565_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_14560_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -1f; arg_1456A_0[arg_1456A_1] = new AnimationInstruction(arg_14565_0, new AnimInsEvent(arg_14560_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 5f })); arg_145A0_0.Add(arg_145A0_1, new Animation(arg_1459B_0, arg_1459B_1, arg_1459B_2, arg_1459B_3, arg_1459B_4, arg_1459B_5, arg_1459B_6, arg_1459B_7, arg_1459B_8, arg_1459B_9, arg_1459B_10, arg_1459B_11, arg_1459B_12, arg_1459B_13, arg_1459B_14, array)); xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Blocked/Down"), new Vector2(26f, 37f), 4, 6, 56, 48, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })) })); Dictionary<ushort, Animation> arg_147AC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_147AC_1 = 25; ushort arg_147A7_0 = 25; byte arg_147A7_1 = 3; Texture2D arg_147A7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Blocked/Left"); Vector2 arg_147A7_3 = new Vector2(26f, 38f); int arg_147A7_4 = 4; int arg_147A7_5 = 6; int arg_147A7_6 = 50; int arg_147A7_7 = 41; int arg_147A7_8 = 0; int arg_147A7_9 = 0; int arg_147A7_10 = 25; Animation.LoopSettings arg_147A7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_147A7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_147A7_13 = false; bool arg_147A7_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_1473B_0 = array; int arg_1473B_1 = 0; AnimInsCriteria arg_14736_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }); AnimInsEvent.EventType arg_14731_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 2f; arg_1473B_0[arg_1473B_1] = new AnimationInstruction(arg_14736_0, new AnimInsEvent(arg_14731_0, array6)); AnimationInstruction[] arg_14776_0 = array; int arg_14776_1 = 1; AnimInsCriteria arg_14771_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_1476C_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 1f; arg_14776_0[arg_14776_1] = new AnimationInstruction(arg_14771_0, new AnimInsEvent(arg_1476C_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); arg_147AC_0.Add(arg_147AC_1, new Animation(arg_147A7_0, arg_147A7_1, arg_147A7_2, arg_147A7_3, arg_147A7_4, arg_147A7_5, arg_147A7_6, arg_147A7_7, arg_147A7_8, arg_147A7_9, arg_147A7_10, arg_147A7_11, arg_147A7_12, arg_147A7_13, arg_147A7_14, array)); xEn.xRenderComponent.dixAnimations.Add(28, new Animation(28, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Flavour/Jump"), new Vector2(12f, 38f), 4, 17, 27, 41, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(29, new Animation(29, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Draw/Left"), new Vector2(16f, 38f), 3, 17, 30, 40, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })) })); xEn.xRenderComponent.dixAnimations.Add(30, new Animation(30, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Flavour/CheerA"), new Vector2(12f, 36f), 4, 13, 24, 40, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(31, new Animation(31, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Flavour/JumpDown"), new Vector2(12f, 38f), 4, 17, 24, 41, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(32, new Animation(32, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Flavour/Rise"), new Vector2(16f, 28f), 4, 11, 28, 51, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.AdjustPosition, new float[] { -2f, 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(33, new Animation(33, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/WalkCasual/Up"), new Vector2(12f, 35f), 4, 8, 24, 40, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(34, new Animation(34, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/WalkCasual/Right"), new Vector2(12f, 33f), 4, 8, 24, 36, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(35, new Animation(35, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/WalkCasual/Down"), new Vector2(12f, 34f), 4, 8, 24, 39, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(36, new Animation(36, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/WalkCasual/Left"), new Vector2(12f, 33f), 4, 8, 24, 36, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Up"), new Vector2(12f, 37f), 4, 2, 27, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Right"), new Vector2(14f, 37f), 4, 2, 26, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Down"), new Vector2(13f, 37f), 4, 2, 27, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Left"), new Vector2(12f, 37f), 4, 2, 26, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40004, new Animation(40004, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Up"), new Vector2(12f, 37f), 4, 2, 27, 40, 54, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Right"), new Vector2(14f, 37f), 4, 2, 26, 40, 52, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 5f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Down"), new Vector2(13f, 37f), 4, 2, 27, 40, 54, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/" + sName + "/Damage/Left"), new Vector2(12f, 37f), 4, 2, 26, 40, 52, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })) })); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "FreddiFirst"; xEn.liAnimationsWithAttackphase.Add(16); xEn.liAnimationsWithAttackphase.Add(17); xEn.liAnimationsWithAttackphase.Add(18); xEn.liAnimationsWithAttackphase.Add(19); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 50f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Vilya) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus = xEn as Boss; fnus.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.bDropsAnyLoot = false; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 0.5f + 0.2f * (float)GameSessionData.iBaseDifficulty; xEn.enType = enType; xEn.xBehaviour = new VilyaTheFirst(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.bAllowKnockback = false; xEn.xBehaviour.bRunClientUpdate = true; xEn.xBehaviour.bActive = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/WalkCasual/Right"), new Vector2(26f, 33f), 4, 8, 53, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/WalkCasual/Right"), new Vector2(12f, 34f), 4, 1, 26, 37, 182, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/WalkCasual/Left"), new Vector2(27f, 32f), 4, 8, 52, 34, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/WalkCasual/Left"), new Vector2(14f, 34f), 4, 1, 26, 37, 182, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Idle/Up"), new Vector2(25f, 33f), 4, 8, 50, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Idle/Right"), new Vector2(16f, 36f), 4, 8, 33, 40, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Idle/Down"), new Vector2(27f, 32f), 4, 8, 52, 36, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Idle/Left"), new Vector2(16f, 36f), 4, 8, 33, 40, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Walk/Up"), new Vector2(26f, 33f), 4, 10, 53, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Walk/Right"), new Vector2(16f, 36f), 4, 10, 35, 41, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Walk/Down"), new Vector2(27f, 32f), 4, 10, 52, 34, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Walk/Left"), new Vector2(16f, 36f), 4, 10, 35, 41, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_15518_0 = xEn.xRenderComponent.dixAnimations; ushort arg_15518_1 = 12; ushort arg_15513_0 = 12; byte arg_15513_1 = 0; Texture2D arg_15513_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Charge/Up"); Vector2 arg_15513_3 = new Vector2(30f, 33f); int arg_15513_4 = 4; int arg_15513_5 = 6; int arg_15513_6 = 60; int arg_15513_7 = 41; int arg_15513_8 = 0; int arg_15513_9 = 0; int arg_15513_10 = 12; Animation.LoopSettings arg_15513_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_15513_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_15513_13 = true; bool arg_15513_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_15510_0 = array; int arg_15510_1 = 0; AnimInsCriteria arg_1550B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_15506_0 = AnimInsEvent.EventType.PlaySound; string arg_15506_1 = "Vilya_DashAttack_Ready"; float[] array6 = new float[1]; arg_15510_0[arg_15510_1] = new AnimationInstruction(arg_1550B_0, new AnimInsEvent(arg_15506_0, arg_15506_1, array6)); arg_15518_0.Add(arg_15518_1, new Animation(arg_15513_0, arg_15513_1, arg_15513_2, arg_15513_3, arg_15513_4, arg_15513_5, arg_15513_6, arg_15513_7, arg_15513_8, arg_15513_9, arg_15513_10, arg_15513_11, arg_15513_12, arg_15513_13, arg_15513_14, array)); Dictionary<ushort, Animation> arg_15595_0 = xEn.xRenderComponent.dixAnimations; ushort arg_15595_1 = 13; ushort arg_15590_0 = 13; byte arg_15590_1 = 1; Texture2D arg_15590_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Charge/Right"); Vector2 arg_15590_3 = new Vector2(27f, 36f); int arg_15590_4 = 4; int arg_15590_5 = 6; int arg_15590_6 = 57; int arg_15590_7 = 46; int arg_15590_8 = 0; int arg_15590_9 = 0; int arg_15590_10 = 12; Animation.LoopSettings arg_15590_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_15590_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_15590_13 = true; bool arg_15590_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1558D_0 = array; int arg_1558D_1 = 0; AnimInsCriteria arg_15588_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_15583_0 = AnimInsEvent.EventType.PlaySound; string arg_15583_1 = "Vilya_DashAttack_Ready"; array6 = new float[1]; arg_1558D_0[arg_1558D_1] = new AnimationInstruction(arg_15588_0, new AnimInsEvent(arg_15583_0, arg_15583_1, array6)); arg_15595_0.Add(arg_15595_1, new Animation(arg_15590_0, arg_15590_1, arg_15590_2, arg_15590_3, arg_15590_4, arg_15590_5, arg_15590_6, arg_15590_7, arg_15590_8, arg_15590_9, arg_15590_10, arg_15590_11, arg_15590_12, arg_15590_13, arg_15590_14, array)); Dictionary<ushort, Animation> arg_15612_0 = xEn.xRenderComponent.dixAnimations; ushort arg_15612_1 = 14; ushort arg_1560D_0 = 14; byte arg_1560D_1 = 2; Texture2D arg_1560D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Charge/Down"); Vector2 arg_1560D_3 = new Vector2(30f, 30f); int arg_1560D_4 = 4; int arg_1560D_5 = 6; int arg_1560D_6 = 55; int arg_1560D_7 = 44; int arg_1560D_8 = 0; int arg_1560D_9 = 0; int arg_1560D_10 = 12; Animation.LoopSettings arg_1560D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1560D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1560D_13 = true; bool arg_1560D_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1560A_0 = array; int arg_1560A_1 = 0; AnimInsCriteria arg_15605_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_15600_0 = AnimInsEvent.EventType.PlaySound; string arg_15600_1 = "Vilya_DashAttack_Ready"; array6 = new float[1]; arg_1560A_0[arg_1560A_1] = new AnimationInstruction(arg_15605_0, new AnimInsEvent(arg_15600_0, arg_15600_1, array6)); arg_15612_0.Add(arg_15612_1, new Animation(arg_1560D_0, arg_1560D_1, arg_1560D_2, arg_1560D_3, arg_1560D_4, arg_1560D_5, arg_1560D_6, arg_1560D_7, arg_1560D_8, arg_1560D_9, arg_1560D_10, arg_1560D_11, arg_1560D_12, arg_1560D_13, arg_1560D_14, array)); Dictionary<ushort, Animation> arg_1568F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1568F_1 = 15; ushort arg_1568A_0 = 15; byte arg_1568A_1 = 3; Texture2D arg_1568A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Charge/Left"); Vector2 arg_1568A_3 = new Vector2(29f, 36f); int arg_1568A_4 = 4; int arg_1568A_5 = 6; int arg_1568A_6 = 57; int arg_1568A_7 = 46; int arg_1568A_8 = 0; int arg_1568A_9 = 0; int arg_1568A_10 = 12; Animation.LoopSettings arg_1568A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1568A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1568A_13 = true; bool arg_1568A_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_15687_0 = array; int arg_15687_1 = 0; AnimInsCriteria arg_15682_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1567D_0 = AnimInsEvent.EventType.PlaySound; string arg_1567D_1 = "Vilya_DashAttack_Ready"; array6 = new float[1]; arg_15687_0[arg_15687_1] = new AnimationInstruction(arg_15682_0, new AnimInsEvent(arg_1567D_0, arg_1567D_1, array6)); arg_1568F_0.Add(arg_1568F_1, new Animation(arg_1568A_0, arg_1568A_1, arg_1568A_2, arg_1568A_3, arg_1568A_4, arg_1568A_5, arg_1568A_6, arg_1568A_7, arg_1568A_8, arg_1568A_9, arg_1568A_10, arg_1568A_11, arg_1568A_12, arg_1568A_13, arg_1568A_14, array)); xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Jump/Up"), new Vector2(30f, 33f), 4, 2, 60, 41, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 20f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Jump/Right"), new Vector2(27f, 36f), 4, 2, 57, 46, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 21f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Jump/Down"), new Vector2(30f, 30f), 4, 2, 55, 44, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 22f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Jump/Left"), new Vector2(29f, 36f), 4, 2, 57, 46, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 23f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/InAir/Up"), new Vector2(30f, 33f), 4, 2, 60, 41, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Vilya_DashAttack_Swing", new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/InAir/Right"), new Vector2(27f, 36f), 4, 2, 57, 46, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Vilya_DashAttack_Swing", new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/InAir/Down"), new Vector2(30f, 30f), 4, 2, 55, 44, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Vilya_DashAttack_Swing", new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/InAir/Left"), new Vector2(29f, 36f), 4, 2, 57, 46, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Vilya_DashAttack_Swing", new float[] { 1f })) })); Dictionary<ushort, Animation> arg_15E2B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_15E2B_1 = 24; ushort arg_15E26_0 = 24; byte arg_15E26_1 = 0; Texture2D arg_15E26_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/AttackA/Up"); Vector2 arg_15E26_3 = new Vector2(30f, 33f); int arg_15E26_4 = 4; int arg_15E26_5 = 10; int arg_15E26_6 = 60; int arg_15E26_7 = 41; int arg_15E26_8 = 0; int arg_15E26_9 = 0; int arg_15E26_10 = 12; Animation.LoopSettings arg_15E26_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_15E26_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_15E26_13 = false; bool arg_15E26_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_15DF5_0 = array; int arg_15DF5_1 = 0; AnimInsCriteria arg_15DF0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_15DEB_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_15DF5_0[arg_15DF5_1] = new AnimationInstruction(arg_15DF0_0, new AnimInsEvent(arg_15DEB_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_15E2B_0.Add(arg_15E2B_1, new Animation(arg_15E26_0, arg_15E26_1, arg_15E26_2, arg_15E26_3, arg_15E26_4, arg_15E26_5, arg_15E26_6, arg_15E26_7, arg_15E26_8, arg_15E26_9, arg_15E26_10, arg_15E26_11, arg_15E26_12, arg_15E26_13, arg_15E26_14, array)); Dictionary<ushort, Animation> arg_15EDF_0 = xEn.xRenderComponent.dixAnimations; ushort arg_15EDF_1 = 25; ushort arg_15EDA_0 = 25; byte arg_15EDA_1 = 1; Texture2D arg_15EDA_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/AttackA/Right"); Vector2 arg_15EDA_3 = new Vector2(27f, 36f); int arg_15EDA_4 = 4; int arg_15EDA_5 = 10; int arg_15EDA_6 = 57; int arg_15EDA_7 = 46; int arg_15EDA_8 = 0; int arg_15EDA_9 = 0; int arg_15EDA_10 = 12; Animation.LoopSettings arg_15EDA_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_15EDA_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_15EDA_13 = false; bool arg_15EDA_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_15EA9_0 = array; int arg_15EA9_1 = 0; AnimInsCriteria arg_15EA4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_15E9F_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_15EA9_0[arg_15EA9_1] = new AnimationInstruction(arg_15EA4_0, new AnimInsEvent(arg_15E9F_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 5f })); arg_15EDF_0.Add(arg_15EDF_1, new Animation(arg_15EDA_0, arg_15EDA_1, arg_15EDA_2, arg_15EDA_3, arg_15EDA_4, arg_15EDA_5, arg_15EDA_6, arg_15EDA_7, arg_15EDA_8, arg_15EDA_9, arg_15EDA_10, arg_15EDA_11, arg_15EDA_12, arg_15EDA_13, arg_15EDA_14, array)); Dictionary<ushort, Animation> arg_15F93_0 = xEn.xRenderComponent.dixAnimations; ushort arg_15F93_1 = 26; ushort arg_15F8E_0 = 26; byte arg_15F8E_1 = 2; Texture2D arg_15F8E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/AttackA/Down"); Vector2 arg_15F8E_3 = new Vector2(30f, 30f); int arg_15F8E_4 = 4; int arg_15F8E_5 = 10; int arg_15F8E_6 = 55; int arg_15F8E_7 = 44; int arg_15F8E_8 = 0; int arg_15F8E_9 = 0; int arg_15F8E_10 = 12; Animation.LoopSettings arg_15F8E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_15F8E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_15F8E_13 = false; bool arg_15F8E_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_15F5D_0 = array; int arg_15F5D_1 = 0; AnimInsCriteria arg_15F58_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_15F53_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_15F5D_0[arg_15F5D_1] = new AnimationInstruction(arg_15F58_0, new AnimInsEvent(arg_15F53_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); arg_15F93_0.Add(arg_15F93_1, new Animation(arg_15F8E_0, arg_15F8E_1, arg_15F8E_2, arg_15F8E_3, arg_15F8E_4, arg_15F8E_5, arg_15F8E_6, arg_15F8E_7, arg_15F8E_8, arg_15F8E_9, arg_15F8E_10, arg_15F8E_11, arg_15F8E_12, arg_15F8E_13, arg_15F8E_14, array)); Dictionary<ushort, Animation> arg_16047_0 = xEn.xRenderComponent.dixAnimations; ushort arg_16047_1 = 27; ushort arg_16042_0 = 27; byte arg_16042_1 = 3; Texture2D arg_16042_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/AttackA/Left"); Vector2 arg_16042_3 = new Vector2(29f, 36f); int arg_16042_4 = 4; int arg_16042_5 = 10; int arg_16042_6 = 57; int arg_16042_7 = 46; int arg_16042_8 = 0; int arg_16042_9 = 0; int arg_16042_10 = 12; Animation.LoopSettings arg_16042_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_16042_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_16042_13 = false; bool arg_16042_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_16011_0 = array; int arg_16011_1 = 0; AnimInsCriteria arg_1600C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_16007_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_16011_0[arg_16011_1] = new AnimationInstruction(arg_1600C_0, new AnimInsEvent(arg_16007_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); arg_16047_0.Add(arg_16047_1, new Animation(arg_16042_0, arg_16042_1, arg_16042_2, arg_16042_3, arg_16042_4, arg_16042_5, arg_16042_6, arg_16042_7, arg_16042_8, arg_16042_9, arg_16042_10, arg_16042_11, arg_16042_12, arg_16042_13, arg_16042_14, array)); Dictionary<ushort, Animation> arg_16138_0 = xEn.xRenderComponent.dixAnimations; ushort arg_16138_1 = 28; ushort arg_16133_0 = 28; byte arg_16133_1 = 0; Texture2D arg_16133_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Miss/Up"); Vector2 arg_16133_3 = new Vector2(30f, 30f); int arg_16133_4 = 4; int arg_16133_5 = 17; int arg_16133_6 = 55; int arg_16133_7 = 46; int arg_16133_8 = 0; int arg_16133_9 = 0; int arg_16133_10 = 17; Animation.LoopSettings arg_16133_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_16133_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_16133_13 = false; bool arg_16133_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_160BD_0 = array; int arg_160BD_1 = 0; AnimInsCriteria arg_160B8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_160B3_0 = AnimInsEvent.EventType.PlaySound; string arg_160B3_1 = "Vilya_BladeSpin"; array6 = new float[1]; arg_160BD_0[arg_160BD_1] = new AnimationInstruction(arg_160B8_0, new AnimInsEvent(arg_160B3_0, arg_160B3_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 34f })); arg_16138_0.Add(arg_16138_1, new Animation(arg_16133_0, arg_16133_1, arg_16133_2, arg_16133_3, arg_16133_4, arg_16133_5, arg_16133_6, arg_16133_7, arg_16133_8, arg_16133_9, arg_16133_10, arg_16133_11, arg_16133_12, arg_16133_13, arg_16133_14, array)); Dictionary<ushort, Animation> arg_16229_0 = xEn.xRenderComponent.dixAnimations; ushort arg_16229_1 = 29; ushort arg_16224_0 = 29; byte arg_16224_1 = 1; Texture2D arg_16224_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Miss/Right"); Vector2 arg_16224_3 = new Vector2(30f, 30f); int arg_16224_4 = 4; int arg_16224_5 = 13; int arg_16224_6 = 55; int arg_16224_7 = 46; int arg_16224_8 = 0; int arg_16224_9 = 0; int arg_16224_10 = 13; Animation.LoopSettings arg_16224_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_16224_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_16224_13 = false; bool arg_16224_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_161AE_0 = array; int arg_161AE_1 = 0; AnimInsCriteria arg_161A9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_161A4_0 = AnimInsEvent.EventType.PlaySound; string arg_161A4_1 = "Vilya_BladeSpin"; array6 = new float[1]; arg_161AE_0[arg_161AE_1] = new AnimationInstruction(arg_161A9_0, new AnimInsEvent(arg_161A4_0, arg_161A4_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 5f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 34f })); arg_16229_0.Add(arg_16229_1, new Animation(arg_16224_0, arg_16224_1, arg_16224_2, arg_16224_3, arg_16224_4, arg_16224_5, arg_16224_6, arg_16224_7, arg_16224_8, arg_16224_9, arg_16224_10, arg_16224_11, arg_16224_12, arg_16224_13, arg_16224_14, array)); Dictionary<ushort, Animation> arg_1631A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1631A_1 = 30; ushort arg_16315_0 = 30; byte arg_16315_1 = 2; Texture2D arg_16315_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Miss/Down"); Vector2 arg_16315_3 = new Vector2(30f, 30f); int arg_16315_4 = 4; int arg_16315_5 = 14; int arg_16315_6 = 55; int arg_16315_7 = 46; int arg_16315_8 = 0; int arg_16315_9 = 0; int arg_16315_10 = 14; Animation.LoopSettings arg_16315_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_16315_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_16315_13 = false; bool arg_16315_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_1629F_0 = array; int arg_1629F_1 = 0; AnimInsCriteria arg_1629A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_16295_0 = AnimInsEvent.EventType.PlaySound; string arg_16295_1 = "Vilya_BladeSpin"; array6 = new float[1]; arg_1629F_0[arg_1629F_1] = new AnimationInstruction(arg_1629A_0, new AnimInsEvent(arg_16295_0, arg_16295_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 6f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 34f })); arg_1631A_0.Add(arg_1631A_1, new Animation(arg_16315_0, arg_16315_1, arg_16315_2, arg_16315_3, arg_16315_4, arg_16315_5, arg_16315_6, arg_16315_7, arg_16315_8, arg_16315_9, arg_16315_10, arg_16315_11, arg_16315_12, arg_16315_13, arg_16315_14, array)); Dictionary<ushort, Animation> arg_1640B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1640B_1 = 31; ushort arg_16406_0 = 31; byte arg_16406_1 = 3; Texture2D arg_16406_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Miss/Left"); Vector2 arg_16406_3 = new Vector2(30f, 30f); int arg_16406_4 = 4; int arg_16406_5 = 13; int arg_16406_6 = 55; int arg_16406_7 = 46; int arg_16406_8 = 0; int arg_16406_9 = 0; int arg_16406_10 = 13; Animation.LoopSettings arg_16406_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_16406_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_16406_13 = false; bool arg_16406_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_16390_0 = array; int arg_16390_1 = 0; AnimInsCriteria arg_1638B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_16386_0 = AnimInsEvent.EventType.PlaySound; string arg_16386_1 = "Vilya_BladeSpin"; array6 = new float[1]; arg_16390_0[arg_16390_1] = new AnimationInstruction(arg_1638B_0, new AnimInsEvent(arg_16386_0, arg_16386_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 4f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 35f })); arg_1640B_0.Add(arg_1640B_1, new Animation(arg_16406_0, arg_16406_1, arg_16406_2, arg_16406_3, arg_16406_4, arg_16406_5, arg_16406_6, arg_16406_7, arg_16406_8, arg_16406_9, arg_16406_10, arg_16406_11, arg_16406_12, arg_16406_13, arg_16406_14, array)); xEn.xRenderComponent.dixAnimations.Add(34, new Animation(34, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Dizzy/Down"), new Vector2(30f, 30f), 5, 14, 55, 46, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(35, new Animation(35, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Dizzy/Left"), new Vector2(30f, 30f), 5, 14, 55, 46, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(38, new Animation(38, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Recover/Down"), new Vector2(30f, 30f), 3, 14, 55, 44, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })) })); xEn.xRenderComponent.dixAnimations.Add(42, new Animation(42, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/SpinAttack/Down2"), new Vector2(33f, 40f), 4, 26, 65, 60, 0, 0, 26, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 3f, 6f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Vilya_Spinattack", new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 12f, 17f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })) })); Dictionary<ushort, Animation> arg_167F3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_167F3_1 = 44; ushort arg_167EE_0 = 44; byte arg_167EE_1 = 0; Texture2D arg_167EE_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/AttackB/Up"); Vector2 arg_167EE_3 = new Vector2(30f, 35f); int arg_167EE_4 = 4; int arg_167EE_5 = 3; int arg_167EE_6 = 60; int arg_167EE_7 = 46; int arg_167EE_8 = 0; int arg_167EE_9 = 0; int arg_167EE_10 = 17; Animation.LoopSettings arg_167EE_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_167EE_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_167EE_13 = false; bool arg_167EE_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[] { 2f })); AnimationInstruction[] arg_167EB_0 = array; int arg_167EB_1 = 1; AnimInsCriteria arg_167E6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_167E1_0 = AnimInsEvent.EventType.PlaySound; string arg_167E1_1 = "Vilya_Attack_Normal"; array6 = new float[1]; arg_167EB_0[arg_167EB_1] = new AnimationInstruction(arg_167E6_0, new AnimInsEvent(arg_167E1_0, arg_167E1_1, array6)); arg_167F3_0.Add(arg_167F3_1, new Animation(arg_167EE_0, arg_167EE_1, arg_167EE_2, arg_167EE_3, arg_167EE_4, arg_167EE_5, arg_167EE_6, arg_167EE_7, arg_167EE_8, arg_167EE_9, arg_167EE_10, arg_167EE_11, arg_167EE_12, arg_167EE_13, arg_167EE_14, array)); Dictionary<ushort, Animation> arg_1689F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1689F_1 = 45; ushort arg_1689A_0 = 45; byte arg_1689A_1 = 1; Texture2D arg_1689A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/AttackB/Right"); Vector2 arg_1689A_3 = new Vector2(27f, 36f); int arg_1689A_4 = 4; int arg_1689A_5 = 3; int arg_1689A_6 = 57; int arg_1689A_7 = 46; int arg_1689A_8 = 0; int arg_1689A_9 = 0; int arg_1689A_10 = 12; Animation.LoopSettings arg_1689A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1689A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1689A_13 = false; bool arg_1689A_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[] { 2f })); AnimationInstruction[] arg_16897_0 = array; int arg_16897_1 = 1; AnimInsCriteria arg_16892_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1688D_0 = AnimInsEvent.EventType.PlaySound; string arg_1688D_1 = "Vilya_Attack_Normal"; array6 = new float[1]; arg_16897_0[arg_16897_1] = new AnimationInstruction(arg_16892_0, new AnimInsEvent(arg_1688D_0, arg_1688D_1, array6)); arg_1689F_0.Add(arg_1689F_1, new Animation(arg_1689A_0, arg_1689A_1, arg_1689A_2, arg_1689A_3, arg_1689A_4, arg_1689A_5, arg_1689A_6, arg_1689A_7, arg_1689A_8, arg_1689A_9, arg_1689A_10, arg_1689A_11, arg_1689A_12, arg_1689A_13, arg_1689A_14, array)); Dictionary<ushort, Animation> arg_1694B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1694B_1 = 46; ushort arg_16946_0 = 46; byte arg_16946_1 = 2; Texture2D arg_16946_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/AttackB/Down"); Vector2 arg_16946_3 = new Vector2(30f, 30f); int arg_16946_4 = 4; int arg_16946_5 = 3; int arg_16946_6 = 55; int arg_16946_7 = 44; int arg_16946_8 = 0; int arg_16946_9 = 0; int arg_16946_10 = 12; Animation.LoopSettings arg_16946_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_16946_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_16946_13 = false; bool arg_16946_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[] { 2f })); AnimationInstruction[] arg_16943_0 = array; int arg_16943_1 = 1; AnimInsCriteria arg_1693E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_16939_0 = AnimInsEvent.EventType.PlaySound; string arg_16939_1 = "Vilya_Attack_Normal"; array6 = new float[1]; arg_16943_0[arg_16943_1] = new AnimationInstruction(arg_1693E_0, new AnimInsEvent(arg_16939_0, arg_16939_1, array6)); arg_1694B_0.Add(arg_1694B_1, new Animation(arg_16946_0, arg_16946_1, arg_16946_2, arg_16946_3, arg_16946_4, arg_16946_5, arg_16946_6, arg_16946_7, arg_16946_8, arg_16946_9, arg_16946_10, arg_16946_11, arg_16946_12, arg_16946_13, arg_16946_14, array)); Dictionary<ushort, Animation> arg_169F7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_169F7_1 = 47; ushort arg_169F2_0 = 47; byte arg_169F2_1 = 3; Texture2D arg_169F2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/AttackB/Left"); Vector2 arg_169F2_3 = new Vector2(29f, 36f); int arg_169F2_4 = 4; int arg_169F2_5 = 3; int arg_169F2_6 = 57; int arg_169F2_7 = 46; int arg_169F2_8 = 0; int arg_169F2_9 = 0; int arg_169F2_10 = 12; Animation.LoopSettings arg_169F2_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_169F2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_169F2_13 = false; bool arg_169F2_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[] { 2f })); AnimationInstruction[] arg_169EF_0 = array; int arg_169EF_1 = 1; AnimInsCriteria arg_169EA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_169E5_0 = AnimInsEvent.EventType.PlaySound; string arg_169E5_1 = "Vilya_Attack_Normal"; array6 = new float[1]; arg_169EF_0[arg_169EF_1] = new AnimationInstruction(arg_169EA_0, new AnimInsEvent(arg_169E5_0, arg_169E5_1, array6)); arg_169F7_0.Add(arg_169F7_1, new Animation(arg_169F2_0, arg_169F2_1, arg_169F2_2, arg_169F2_3, arg_169F2_4, arg_169F2_5, arg_169F2_6, arg_169F2_7, arg_169F2_8, arg_169F2_9, arg_169F2_10, arg_169F2_11, arg_169F2_12, arg_169F2_13, arg_169F2_14, array)); xEn.xRenderComponent.dixAnimations.Add(50, new Animation(50, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Death/Down"), new Vector2(34f, 32f), 4, 11, 68, 57, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(54, new Animation(54, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Rise/Down"), new Vector2(28f, 31f), 4, 10, 53, 44, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })) })); xEn.xRenderComponent.dixAnimations.Add(56, new Animation(56, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/WalkCasual/Right"), new Vector2(26f, 33f), 4, 8, 53, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(57, new Animation(57, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/WalkCasual/Right"), new Vector2(12f, 34f), 4, 8, 26, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(58, new Animation(58, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/WalkCasual/Left"), new Vector2(27f, 32f), 4, 8, 52, 34, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(59, new Animation(59, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/WalkCasual/Left"), new Vector2(14f, 34f), 4, 8, 26, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(62, new Animation(62, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Pull/Down"), new Vector2(27f, 37f), 4, 14, 55, 40, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })) })); Dictionary<ushort, Animation> arg_16D2C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_16D2C_1 = 63; ushort arg_16D27_0 = 63; byte arg_16D27_1 = 3; Texture2D arg_16D27_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Vilya/Pull/Left"); Vector2 arg_16D27_3 = new Vector2(27f, 37f); int arg_16D27_4 = 4; int arg_16D27_5 = 17; int arg_16D27_6 = 55; int arg_16D27_7 = 40; int arg_16D27_8 = 0; int arg_16D27_9 = 0; int arg_16D27_10 = 100; Animation.LoopSettings arg_16D27_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_16D27_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_16D27_13 = false; bool arg_16D27_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_16CF6_0 = array; int arg_16CF6_1 = 0; AnimInsCriteria arg_16CF1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_16CEC_0 = AnimInsEvent.EventType.PlaySound; string arg_16CEC_1 = "Vilya_Brandish"; array6 = new float[1]; arg_16CF6_0[arg_16CF6_1] = new AnimationInstruction(arg_16CF1_0, new AnimInsEvent(arg_16CEC_0, arg_16CEC_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 7f })); arg_16D2C_0.Add(arg_16D2C_1, new Animation(arg_16D27_0, arg_16D27_1, arg_16D27_2, arg_16D27_3, arg_16D27_4, arg_16D27_5, arg_16D27_6, arg_16D27_7, arg_16D27_8, arg_16D27_9, arg_16D27_10, arg_16D27_11, arg_16D27_12, arg_16D27_13, arg_16D27_14, array)); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "VilyaFirst"; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(9f, Vector2.Zero, xEn.xTransform, 100f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(10f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.PapaSlime) { xEn = new SlimeBoss(); xEn.xBaseStats.iLevel = 120; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.xBaseStats.iBaseMaxHP = (xEn.xBaseStats.iHP = 300); xEn.bDropsAnyLoot = false; SlimeBoss fnus2 = xEn as SlimeBoss; fnus2.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 2f; xEn.xBaseStats.iBaseDEF = GameSessionData.iBaseDifficulty * 5; xEn.enType = enType; xEn.xBehaviour = new PapaSlime(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.bAllowKnockback = false; xEn.bHitSoundIsNotVoice = true; xEn.xBaseStats.bUltimateGuard = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Titan; int iStandardSpeed = 4; if (GameSessionData.iBaseDifficulty > 0) { iStandardSpeed = 3; } xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Idle/Down"), new Vector2(52f, 80f), 4, 14, 104, 93, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_16FB1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_16FB1_1 = 1; ushort arg_16FAC_0 = 1; byte arg_16FAC_1 = 2; Texture2D arg_16FAC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Jump/Start"); Vector2 arg_16FAC_3 = new Vector2(52f, 80f); int arg_16FAC_4 = iStandardSpeed; int arg_16FAC_5 = 5; int arg_16FAC_6 = 104; int arg_16FAC_7 = 93; int arg_16FAC_8 = 0; int arg_16FAC_9 = 0; int arg_16FAC_10 = 20; Animation.LoopSettings arg_16FAC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_16FAC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_16FAC_13 = true; bool arg_16FAC_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_16FA9_0 = array; int arg_16FA9_1 = 0; AnimInsCriteria arg_16FA4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_16F9F_0 = AnimInsEvent.EventType.PlaySound; string arg_16F9F_1 = "GigaSlime_Jump"; float[] array6 = new float[1]; arg_16FA9_0[arg_16FA9_1] = new AnimationInstruction(arg_16FA4_0, new AnimInsEvent(arg_16F9F_0, arg_16F9F_1, array6)); arg_16FB1_0.Add(arg_16FB1_1, new Animation(arg_16FAC_0, arg_16FAC_1, arg_16FAC_2, arg_16FAC_3, arg_16FAC_4, arg_16FAC_5, arg_16FAC_6, arg_16FAC_7, arg_16FAC_8, arg_16FAC_9, arg_16FAC_10, arg_16FAC_11, arg_16FAC_12, arg_16FAC_13, arg_16FAC_14, array)); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Jump/InAir"), new Vector2(52f, 80f), 4, 6, 104, 93, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_170E8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_170E8_1 = 3; ushort arg_170E3_0 = 3; byte arg_170E3_1 = 2; Texture2D arg_170E3_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Jump/Stop"); Vector2 arg_170E3_3 = new Vector2(56f, 81f); int arg_170E3_4 = iStandardSpeed; int arg_170E3_5 = 10; int arg_170E3_6 = 114; int arg_170E3_7 = 106; int arg_170E3_8 = 0; int arg_170E3_9 = 0; int arg_170E3_10 = 20; Animation.LoopSettings arg_170E3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_170E3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_170E3_13 = true; bool arg_170E3_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_1706C_0 = array; int arg_1706C_1 = 0; AnimInsCriteria arg_17067_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_17062_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1706C_0[arg_1706C_1] = new AnimationInstruction(arg_17067_0, new AnimInsEvent(arg_17062_0, array6)); AnimationInstruction[] arg_170A4_0 = array; int arg_170A4_1 = 1; AnimInsCriteria arg_1709F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1709A_0 = AnimInsEvent.EventType.PlaySound; string arg_1709A_1 = "GigaSlime_Land"; array6 = new float[1]; arg_170A4_0[arg_170A4_1] = new AnimationInstruction(arg_1709F_0, new AnimInsEvent(arg_1709A_0, arg_1709A_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f })); arg_170E8_0.Add(arg_170E8_1, new Animation(arg_170E3_0, arg_170E3_1, arg_170E3_2, arg_170E3_3, arg_170E3_4, arg_170E3_5, arg_170E3_6, arg_170E3_7, arg_170E3_8, arg_170E3_9, arg_170E3_10, arg_170E3_11, arg_170E3_12, arg_170E3_13, arg_170E3_14, array)); Dictionary<ushort, Animation> arg_17217_0 = xEn.xRenderComponent.dixAnimations; ushort arg_17217_1 = 4; ushort arg_17212_0 = 4; byte arg_17212_1 = 0; Texture2D arg_17212_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Hammer/Up"); Vector2 arg_17212_3 = new Vector2(48f, 87f); int arg_17212_4 = iStandardSpeed; int arg_17212_5 = 22; int arg_17212_6 = 98; int arg_17212_7 = 103; int arg_17212_8 = 0; int arg_17212_9 = 0; int arg_17212_10 = 8; Animation.LoopSettings arg_17212_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_17212_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_17212_13 = true; bool arg_17212_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.SetCameraShake, new float[] { 70f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "GigaSlime_Hammer", new float[] { 1f })); AnimationInstruction[] arg_171EA_0 = array; int arg_171EA_1 = 2; AnimInsCriteria arg_171E5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_171E0_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[2]; array6[0] = 2f; arg_171EA_0[arg_171EA_1] = new AnimationInstruction(arg_171E5_0, new AnimInsEvent(arg_171E0_0, array6)); AnimationInstruction[] arg_1720F_0 = array; int arg_1720F_1 = 3; AnimInsCriteria arg_1720A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_17205_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1720F_0[arg_1720F_1] = new AnimationInstruction(arg_1720A_0, new AnimInsEvent(arg_17205_0, array6)); arg_17217_0.Add(arg_17217_1, new Animation(arg_17212_0, arg_17212_1, arg_17212_2, arg_17212_3, arg_17212_4, arg_17212_5, arg_17212_6, arg_17212_7, arg_17212_8, arg_17212_9, arg_17212_10, arg_17212_11, arg_17212_12, arg_17212_13, arg_17212_14, array)); Dictionary<ushort, Animation> arg_17352_0 = xEn.xRenderComponent.dixAnimations; ushort arg_17352_1 = 5; ushort arg_1734D_0 = 5; byte arg_1734D_1 = 1; Texture2D arg_1734D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Hammer/Right"); Vector2 arg_1734D_3 = new Vector2(85f, 105f); int arg_1734D_4 = iStandardSpeed; int arg_1734D_5 = 22; int arg_1734D_6 = 172; int arg_1734D_7 = 118; int arg_1734D_8 = 0; int arg_1734D_9 = 0; int arg_1734D_10 = 8; Animation.LoopSettings arg_1734D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1734D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1734D_13 = true; bool arg_1734D_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.SetCameraShake, new float[] { 70f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "GigaSlime_Hammer", new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f, 1f })); AnimationInstruction[] arg_1734A_0 = array; int arg_1734A_1 = 3; AnimInsCriteria arg_17345_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_17340_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1734A_0[arg_1734A_1] = new AnimationInstruction(arg_17345_0, new AnimInsEvent(arg_17340_0, array6)); arg_17352_0.Add(arg_17352_1, new Animation(arg_1734D_0, arg_1734D_1, arg_1734D_2, arg_1734D_3, arg_1734D_4, arg_1734D_5, arg_1734D_6, arg_1734D_7, arg_1734D_8, arg_1734D_9, arg_1734D_10, arg_1734D_11, arg_1734D_12, arg_1734D_13, arg_1734D_14, array)); Dictionary<ushort, Animation> arg_1748A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1748A_1 = 6; ushort arg_17485_0 = 6; byte arg_17485_1 = 2; Texture2D arg_17485_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Hammer/Down"); Vector2 arg_17485_3 = new Vector2(49f, 102f); int arg_17485_4 = iStandardSpeed; int arg_17485_5 = 22; int arg_17485_6 = 98; int arg_17485_7 = 127; int arg_17485_8 = 0; int arg_17485_9 = 0; int arg_17485_10 = 8; Animation.LoopSettings arg_17485_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_17485_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_17485_13 = true; bool arg_17485_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.SetCameraShake, new float[] { 70f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "GigaSlime_Hammer", new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f, 2f })); AnimationInstruction[] arg_17482_0 = array; int arg_17482_1 = 3; AnimInsCriteria arg_1747D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_17478_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_17482_0[arg_17482_1] = new AnimationInstruction(arg_1747D_0, new AnimInsEvent(arg_17478_0, array6)); arg_1748A_0.Add(arg_1748A_1, new Animation(arg_17485_0, arg_17485_1, arg_17485_2, arg_17485_3, arg_17485_4, arg_17485_5, arg_17485_6, arg_17485_7, arg_17485_8, arg_17485_9, arg_17485_10, arg_17485_11, arg_17485_12, arg_17485_13, arg_17485_14, array)); Dictionary<ushort, Animation> arg_175C5_0 = xEn.xRenderComponent.dixAnimations; ushort arg_175C5_1 = 7; ushort arg_175C0_0 = 7; byte arg_175C0_1 = 3; Texture2D arg_175C0_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Hammer/Left"); Vector2 arg_175C0_3 = new Vector2(86f, 105f); int arg_175C0_4 = iStandardSpeed; int arg_175C0_5 = 22; int arg_175C0_6 = 172; int arg_175C0_7 = 118; int arg_175C0_8 = 0; int arg_175C0_9 = 0; int arg_175C0_10 = 8; Animation.LoopSettings arg_175C0_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_175C0_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_175C0_13 = true; bool arg_175C0_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.SetCameraShake, new float[] { 70f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "GigaSlime_Hammer", new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f, 3f })); AnimationInstruction[] arg_175BD_0 = array; int arg_175BD_1 = 3; AnimInsCriteria arg_175B8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_175B3_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_175BD_0[arg_175BD_1] = new AnimationInstruction(arg_175B8_0, new AnimInsEvent(arg_175B3_0, array6)); arg_175C5_0.Add(arg_175C5_1, new Animation(arg_175C0_0, arg_175C0_1, arg_175C0_2, arg_175C0_3, arg_175C0_4, arg_175C0_5, arg_175C0_6, arg_175C0_7, arg_175C0_8, arg_175C0_9, arg_175C0_10, arg_175C0_11, arg_175C0_12, arg_175C0_13, arg_175C0_14, array)); Dictionary<ushort, Animation> arg_176DC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_176DC_1 = 8; ushort arg_176D7_0 = 8; byte arg_176D7_1 = 2; Texture2D arg_176D7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Saw/Start"); Vector2 arg_176D7_3 = new Vector2(80f, 69f); int arg_176D7_4 = 4; int arg_176D7_5 = 24; int arg_176D7_6 = 158; int arg_176D7_7 = 94; int arg_176D7_8 = 0; int arg_176D7_9 = 0; int arg_176D7_10 = 8; Animation.LoopSettings arg_176D7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_176D7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_176D7_13 = true; bool arg_176D7_14 = true; array = new AnimationInstruction[4]; AnimationInstruction[] arg_1763B_0 = array; int arg_1763B_1 = 0; AnimInsCriteria arg_17636_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_17631_0 = AnimInsEvent.EventType.PlaySound; string arg_17631_1 = "GigaSlime_SawBegin"; array6 = new float[1]; arg_1763B_0[arg_1763B_1] = new AnimationInstruction(arg_17636_0, new AnimInsEvent(arg_17631_0, arg_17631_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 14f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); AnimationInstruction[] arg_176A6_0 = array; int arg_176A6_1 = 2; AnimInsCriteria arg_176A1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1769C_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 5f; arg_176A6_0[arg_176A6_1] = new AnimationInstruction(arg_176A1_0, new AnimInsEvent(arg_1769C_0, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 9f })); arg_176DC_0.Add(arg_176DC_1, new Animation(arg_176D7_0, arg_176D7_1, arg_176D7_2, arg_176D7_3, arg_176D7_4, arg_176D7_5, arg_176D7_6, arg_176D7_7, arg_176D7_8, arg_176D7_9, arg_176D7_10, arg_176D7_11, arg_176D7_12, arg_176D7_13, arg_176D7_14, array)); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Saw/Spin"), new Vector2(80f, 69f), 4, 3, 158, 94, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "GigaSlime_SawMid", new float[] { 1f, 1f })) })); Dictionary<ushort, Animation> arg_17824_0 = xEn.xRenderComponent.dixAnimations; ushort arg_17824_1 = 10; ushort arg_1781F_0 = 10; byte arg_1781F_1 = 2; Texture2D arg_1781F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Saw/Stop"); Vector2 arg_1781F_3 = new Vector2(80f, 69f); int arg_1781F_4 = 4; int arg_1781F_5 = 8; int arg_1781F_6 = 158; int arg_1781F_7 = 94; int arg_1781F_8 = 0; int arg_1781F_9 = 0; int arg_1781F_10 = 20; Animation.LoopSettings arg_1781F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1781F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1781F_13 = true; bool arg_1781F_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })); AnimationInstruction[] arg_1781C_0 = array; int arg_1781C_1 = 1; AnimInsCriteria arg_17817_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_17812_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1781C_0[arg_1781C_1] = new AnimationInstruction(arg_17817_0, new AnimInsEvent(arg_17812_0, array6)); arg_17824_0.Add(arg_17824_1, new Animation(arg_1781F_0, arg_1781F_1, arg_1781F_2, arg_1781F_3, arg_1781F_4, arg_1781F_5, arg_1781F_6, arg_1781F_7, arg_1781F_8, arg_1781F_9, arg_1781F_10, arg_1781F_11, arg_1781F_12, arg_1781F_13, arg_1781F_14, array)); Dictionary<ushort, Animation> arg_17907_0 = xEn.xRenderComponent.dixAnimations; ushort arg_17907_1 = 11; ushort arg_17902_0 = 11; byte arg_17902_1 = 2; Texture2D arg_17902_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Spawn/Down"); Vector2 arg_17902_3 = new Vector2(52f, 105f); int arg_17902_4 = 4; int arg_17902_5 = 15; int arg_17902_6 = 104; int arg_17902_7 = 118; int arg_17902_8 = 0; int arg_17902_9 = 0; int arg_17902_10 = 20; Animation.LoopSettings arg_17902_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_17902_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_17902_13 = true; bool arg_17902_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_178A7_0 = array; int arg_178A7_1 = 0; AnimInsCriteria arg_178A2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_1789D_0 = AnimInsEvent.EventType.PlaySound; string arg_1789D_1 = "GigaSlime_ShootSlime"; array6 = new float[1]; arg_178A7_0[arg_178A7_1] = new AnimationInstruction(arg_178A2_0, new AnimInsEvent(arg_1789D_0, arg_1789D_1, array6)); AnimationInstruction[] arg_178DA_0 = array; int arg_178DA_1 = 1; AnimInsCriteria arg_178D5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_178D0_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_178DA_0[arg_178DA_1] = new AnimationInstruction(arg_178D5_0, new AnimInsEvent(arg_178D0_0, array6)); AnimationInstruction[] arg_178FF_0 = array; int arg_178FF_1 = 2; AnimInsCriteria arg_178FA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_178F5_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_178FF_0[arg_178FF_1] = new AnimationInstruction(arg_178FA_0, new AnimInsEvent(arg_178F5_0, array6)); arg_17907_0.Add(arg_17907_1, new Animation(arg_17902_0, arg_17902_1, arg_17902_2, arg_17902_3, arg_17902_4, arg_17902_5, arg_17902_6, arg_17902_7, arg_17902_8, arg_17902_9, arg_17902_10, arg_17902_11, arg_17902_12, arg_17902_13, arg_17902_14, array)); Dictionary<ushort, Animation> arg_179C0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_179C0_1 = 12; ushort arg_179BB_0 = 12; byte arg_179BB_1 = 2; Texture2D arg_179BB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Super Jump/Start"); Vector2 arg_179BB_3 = new Vector2(52f, 80f); int arg_179BB_4 = 4; int arg_179BB_5 = 14; int arg_179BB_6 = 104; int arg_179BB_7 = 93; int arg_179BB_8 = 0; int arg_179BB_9 = 0; int arg_179BB_10 = 20; Animation.LoopSettings arg_179BB_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_179BB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_179BB_13 = true; bool arg_179BB_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1798A_0 = array; int arg_1798A_1 = 0; AnimInsCriteria arg_17985_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }); AnimInsEvent.EventType arg_17980_0 = AnimInsEvent.EventType.PlaySound; string arg_17980_1 = "GigaSlime_Jump"; array6 = new float[1]; arg_1798A_0[arg_1798A_1] = new AnimationInstruction(arg_17985_0, new AnimInsEvent(arg_17980_0, arg_17980_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 13f })); arg_179C0_0.Add(arg_179C0_1, new Animation(arg_179BB_0, arg_179BB_1, arg_179BB_2, arg_179BB_3, arg_179BB_4, arg_179BB_5, arg_179BB_6, arg_179BB_7, arg_179BB_8, arg_179BB_9, arg_179BB_10, arg_179BB_11, arg_179BB_12, arg_179BB_13, arg_179BB_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Super Jump/InAir"), new Vector2(52f, 80f), 4, 8, 104, 93, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 16f })) })); Dictionary<ushort, Animation> arg_17B3A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_17B3A_1 = 14; ushort arg_17B35_0 = 14; byte arg_17B35_1 = 2; Texture2D arg_17B35_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Super Jump/End"); Vector2 arg_17B35_3 = new Vector2(56f, 81f); int arg_17B35_4 = 4; int arg_17B35_5 = 11; int arg_17B35_6 = 114; int arg_17B35_7 = 106; int arg_17B35_8 = 0; int arg_17B35_9 = 0; int arg_17B35_10 = 20; Animation.LoopSettings arg_17B35_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_17B35_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_17B35_13 = true; bool arg_17B35_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_17AD1_0 = array; int arg_17AD1_1 = 0; AnimInsCriteria arg_17ACC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_17AC7_0 = AnimInsEvent.EventType.PlaySound; string arg_17AC7_1 = "GigaSlime_Land"; array6 = new float[1]; arg_17AD1_0[arg_17AD1_1] = new AnimationInstruction(arg_17ACC_0, new AnimInsEvent(arg_17AC7_0, arg_17AC7_1, array6)); AnimationInstruction[] arg_17AF6_0 = array; int arg_17AF6_1 = 1; AnimInsCriteria arg_17AF1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_17AEC_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_17AF6_0[arg_17AF6_1] = new AnimationInstruction(arg_17AF1_0, new AnimInsEvent(arg_17AEC_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f })); arg_17B3A_0.Add(arg_17B3A_1, new Animation(arg_17B35_0, arg_17B35_1, arg_17B35_2, arg_17B35_3, arg_17B35_4, arg_17B35_5, arg_17B35_6, arg_17B35_7, arg_17B35_8, arg_17B35_9, arg_17B35_10, arg_17B35_11, arg_17B35_12, arg_17B35_13, arg_17B35_14, array)); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Death/Down"), new Vector2(127f, 148f), 6, 3, 257, 220, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Idle/Up"), new Vector2(14f, 14f), 5, 8, 25, 18, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_17C66_0 = xEn.xRenderComponent.dixAnimations; ushort arg_17C66_1 = 17; ushort arg_17C61_0 = 17; byte arg_17C61_1 = 0; Texture2D arg_17C61_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Run/Up"); Vector2 arg_17C61_3 = new Vector2(14f, 20f); int arg_17C61_4 = 5; int arg_17C61_5 = 14; int arg_17C61_6 = 25; int arg_17C61_7 = 23; int arg_17C61_8 = 0; int arg_17C61_9 = 0; int arg_17C61_10 = 14; Animation.LoopSettings arg_17C61_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_17C61_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_17C61_13 = true; bool arg_17C61_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_17C5E_0 = array; int arg_17C5E_1 = 0; AnimInsCriteria arg_17C59_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_17C54_0 = AnimInsEvent.EventType.PlaySound; string arg_17C54_1 = "Slime_Jump"; array6 = new float[1]; arg_17C5E_0[arg_17C5E_1] = new AnimationInstruction(arg_17C59_0, new AnimInsEvent(arg_17C54_0, arg_17C54_1, array6)); arg_17C66_0.Add(arg_17C66_1, new Animation(arg_17C61_0, arg_17C61_1, arg_17C61_2, arg_17C61_3, arg_17C61_4, arg_17C61_5, arg_17C61_6, arg_17C61_7, arg_17C61_8, arg_17C61_9, arg_17C61_10, arg_17C61_11, arg_17C61_12, arg_17C61_13, arg_17C61_14, array)); Dictionary<ushort, Animation> arg_17D1F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_17D1F_1 = 18; ushort arg_17D1A_0 = 18; byte arg_17D1A_1 = 2; Texture2D arg_17D1A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Intro/WobbleShort"); Vector2 arg_17D1A_3 = new Vector2(14f, 12f); int arg_17D1A_4 = 4; int arg_17D1A_5 = 13; int arg_17D1A_6 = 25; int arg_17D1A_7 = 17; int arg_17D1A_8 = 0; int arg_17D1A_9 = 0; int arg_17D1A_10 = 20; Animation.LoopSettings arg_17D1A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_17D1A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_17D1A_13 = true; bool arg_17D1A_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_17CE9_0 = array; int arg_17CE9_1 = 0; AnimInsCriteria arg_17CE4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_17CDF_0 = AnimInsEvent.EventType.PlaySound; string arg_17CDF_1 = "GigaSlime_Wobble"; array6 = new float[1]; arg_17CE9_0[arg_17CE9_1] = new AnimationInstruction(arg_17CE4_0, new AnimInsEvent(arg_17CDF_0, arg_17CDF_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 16f })); arg_17D1F_0.Add(arg_17D1F_1, new Animation(arg_17D1A_0, arg_17D1A_1, arg_17D1A_2, arg_17D1A_3, arg_17D1A_4, arg_17D1A_5, arg_17D1A_6, arg_17D1A_7, arg_17D1A_8, arg_17D1A_9, arg_17D1A_10, arg_17D1A_11, arg_17D1A_12, arg_17D1A_13, arg_17D1A_14, array)); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Intro/WobbleLong"), new Vector2(14f, 12f), 4, 17, 25, 17, 25, 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[] { 20f })) })); Dictionary<ushort, Animation> arg_17EC7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_17EC7_1 = 20; ushort arg_17EC2_0 = 20; byte arg_17EC2_1 = 2; Texture2D arg_17EC2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Intro/Grow"); Vector2 arg_17EC2_3 = new Vector2(52f, 111f); int arg_17EC2_4 = 4; int arg_17EC2_5 = 38; int arg_17EC2_6 = 101; int arg_17EC2_7 = 123; int arg_17EC2_8 = 0; int arg_17EC2_9 = 0; int arg_17EC2_10 = 8; Animation.LoopSettings arg_17EC2_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_17EC2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_17EC2_13 = true; bool arg_17EC2_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 27f }), new AnimInsEvent(AnimInsEvent.EventType.SetCameraShake, new float[] { 60f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 27f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.AdjustPosition, new float[] { -2f, -2f })); AnimationInstruction[] arg_17EBF_0 = array; int arg_17EBF_1 = 3; AnimInsCriteria arg_17EBA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_17EB5_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_17EBF_0[arg_17EBF_1] = new AnimationInstruction(arg_17EBA_0, new AnimInsEvent(arg_17EB5_0, array6)); arg_17EC7_0.Add(arg_17EC7_1, new Animation(arg_17EC2_0, arg_17EC2_1, arg_17EC2_2, arg_17EC2_3, arg_17EC2_4, arg_17EC2_5, arg_17EC2_6, arg_17EC2_7, arg_17EC2_8, arg_17EC2_9, arg_17EC2_10, arg_17EC2_11, arg_17EC2_12, arg_17EC2_13, arg_17EC2_14, array)); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Intro/WobbleLong"), new Vector2(14f, 12f), 4, 5, 25, 17, 25, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); fnus2.xShadowSlaveRenderComp = new AnimatedRenderComponent(xEn); fnus2.xShadowSlaveRenderComp.xTransform = xEn.xTransform; foreach (ushort key in xEn.xRenderComponent.dixAnimations.Keys) { fnus2.xShadowSlaveRenderComp.dixAnimations[key] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(44f, 11f), 4, 1, 89, 22, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); } fnus2.xShadowSlaveRenderComp.dixAnimations[2] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Jump/Shadow"), new Vector2(44f, 11f), 4, 1, 89, 22, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); fnus2.xShadowSlaveRenderComp.dixAnimations[3] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Jump/Shadow"), new Vector2(44f, 11f), 4, 1, 89, 22, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); fnus2.xShadowSlaveRenderComp.dixAnimations[13] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Jump/Shadow"), new Vector2(44f, 11f), 4, 1, 89, 22, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); fnus2.xShadowSlaveRenderComp.fVirtualHeight -= 100f; fnus2.xShadowSlaveRenderComp.SwitchAnimation(2, Animation.CancelOptions.IgnoreIfPlaying); fnus2.xShadowSlaveRenderComp.SwitchAnimation(3, Animation.CancelOptions.IgnoreIfPlaying); fnus2.xShadowSlaveRenderComp.SwitchAnimation(13, Animation.CancelOptions.IgnoreIfPlaying); fnus2.xShadowSlaveRenderComp.SwitchAnimation(0, Animation.CancelOptions.IgnoreIfPlaying); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(fnus2.xShadowSlaveRenderComp); xEn.sAttackPhaseCategory = "PapaSlime"; BoxCollider col = new BoxCollider(60, 16, 0f, Vector2.Zero, xEn.xTransform, 10000f, xEn); col.bIsLarge = true; col.bIgnoreOtherBoxes = true; SphereCollider col2 = new SphereCollider(8f, new Vector2(-33f, 0f), xEn.xTransform, 10000f, xEn); SphereCollider col3 = new SphereCollider(8f, new Vector2(33f, 0f), xEn.xTransform, 10000f, xEn); xEn.xCollisionComponent.AddMovementCollider(col); xEn.xCollisionComponent.AddMovementCollider(col2); xEn.xCollisionComponent.AddMovementCollider(col3); xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(10f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); xEn.xCollisionComponent.AddHitboxCollider(col2, Collider.ColliderLayers.Enemies); xEn.xCollisionComponent.AddHitboxCollider(col3, Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.RedPapaSlime) { xEn = new SlimeBoss(); xEn.xBaseStats.iLevel = 120; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.xBaseStats.iBaseMaxHP = (xEn.xBaseStats.iHP = 3000); xEn.xBaseStats.iBaseDEF = GameSessionData.iBaseDifficulty * 5; SlimeBoss fnus3 = xEn as SlimeBoss; fnus3.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 2.5f; xEn.enType = enType; xEn.xBehaviour = new RedPapaSlime(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.bAllowKnockback = false; xEn.bHitSoundIsNotVoice = true; xEn.xBaseStats.bUltimateGuard = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Titan; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Idle/Down"), new Vector2(52f, 80f), 4, 14, 104, 93, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_183EB_0 = xEn.xRenderComponent.dixAnimations; ushort arg_183EB_1 = 1; ushort arg_183E6_0 = 1; byte arg_183E6_1 = 2; Texture2D arg_183E6_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Jump/Start"); Vector2 arg_183E6_3 = new Vector2(52f, 80f); int arg_183E6_4 = 3; int arg_183E6_5 = 5; int arg_183E6_6 = 104; int arg_183E6_7 = 93; int arg_183E6_8 = 0; int arg_183E6_9 = 0; int arg_183E6_10 = 20; Animation.LoopSettings arg_183E6_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_183E6_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_183E6_13 = true; bool arg_183E6_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_183E3_0 = array; int arg_183E3_1 = 0; AnimInsCriteria arg_183DE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_183D9_0 = AnimInsEvent.EventType.PlaySound; string arg_183D9_1 = "GigaSlime_Jump"; float[] array6 = new float[1]; arg_183E3_0[arg_183E3_1] = new AnimationInstruction(arg_183DE_0, new AnimInsEvent(arg_183D9_0, arg_183D9_1, array6)); arg_183EB_0.Add(arg_183EB_1, new Animation(arg_183E6_0, arg_183E6_1, arg_183E6_2, arg_183E6_3, arg_183E6_4, arg_183E6_5, arg_183E6_6, arg_183E6_7, arg_183E6_8, arg_183E6_9, arg_183E6_10, arg_183E6_11, arg_183E6_12, arg_183E6_13, arg_183E6_14, array)); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Jump/InAir"), new Vector2(52f, 80f), 4, 6, 104, 93, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_18521_0 = xEn.xRenderComponent.dixAnimations; ushort arg_18521_1 = 3; ushort arg_1851C_0 = 3; byte arg_1851C_1 = 2; Texture2D arg_1851C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Jump/Stop"); Vector2 arg_1851C_3 = new Vector2(56f, 81f); int arg_1851C_4 = 3; int arg_1851C_5 = 10; int arg_1851C_6 = 114; int arg_1851C_7 = 106; int arg_1851C_8 = 0; int arg_1851C_9 = 0; int arg_1851C_10 = 20; Animation.LoopSettings arg_1851C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1851C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1851C_13 = true; bool arg_1851C_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_184A5_0 = array; int arg_184A5_1 = 0; AnimInsCriteria arg_184A0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1849B_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_184A5_0[arg_184A5_1] = new AnimationInstruction(arg_184A0_0, new AnimInsEvent(arg_1849B_0, array6)); AnimationInstruction[] arg_184DD_0 = array; int arg_184DD_1 = 1; AnimInsCriteria arg_184D8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_184D3_0 = AnimInsEvent.EventType.PlaySound; string arg_184D3_1 = "GigaSlime_Land"; array6 = new float[1]; arg_184DD_0[arg_184DD_1] = new AnimationInstruction(arg_184D8_0, new AnimInsEvent(arg_184D3_0, arg_184D3_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f })); arg_18521_0.Add(arg_18521_1, new Animation(arg_1851C_0, arg_1851C_1, arg_1851C_2, arg_1851C_3, arg_1851C_4, arg_1851C_5, arg_1851C_6, arg_1851C_7, arg_1851C_8, arg_1851C_9, arg_1851C_10, arg_1851C_11, arg_1851C_12, arg_1851C_13, arg_1851C_14, array)); Dictionary<ushort, Animation> arg_1864F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1864F_1 = 4; ushort arg_1864A_0 = 4; byte arg_1864A_1 = 0; Texture2D arg_1864A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Hammer/Up"); Vector2 arg_1864A_3 = new Vector2(48f, 87f); int arg_1864A_4 = 3; int arg_1864A_5 = 22; int arg_1864A_6 = 98; int arg_1864A_7 = 103; int arg_1864A_8 = 0; int arg_1864A_9 = 0; int arg_1864A_10 = 8; Animation.LoopSettings arg_1864A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1864A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1864A_13 = true; bool arg_1864A_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.SetCameraShake, new float[] { 70f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "GigaSlime_Hammer", new float[] { 1f })); AnimationInstruction[] arg_18622_0 = array; int arg_18622_1 = 2; AnimInsCriteria arg_1861D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_18618_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[2]; array6[0] = 2f; arg_18622_0[arg_18622_1] = new AnimationInstruction(arg_1861D_0, new AnimInsEvent(arg_18618_0, array6)); AnimationInstruction[] arg_18647_0 = array; int arg_18647_1 = 3; AnimInsCriteria arg_18642_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1863D_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_18647_0[arg_18647_1] = new AnimationInstruction(arg_18642_0, new AnimInsEvent(arg_1863D_0, array6)); arg_1864F_0.Add(arg_1864F_1, new Animation(arg_1864A_0, arg_1864A_1, arg_1864A_2, arg_1864A_3, arg_1864A_4, arg_1864A_5, arg_1864A_6, arg_1864A_7, arg_1864A_8, arg_1864A_9, arg_1864A_10, arg_1864A_11, arg_1864A_12, arg_1864A_13, arg_1864A_14, array)); Dictionary<ushort, Animation> arg_18789_0 = xEn.xRenderComponent.dixAnimations; ushort arg_18789_1 = 5; ushort arg_18784_0 = 5; byte arg_18784_1 = 1; Texture2D arg_18784_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Hammer/Right"); Vector2 arg_18784_3 = new Vector2(85f, 105f); int arg_18784_4 = 3; int arg_18784_5 = 22; int arg_18784_6 = 172; int arg_18784_7 = 118; int arg_18784_8 = 0; int arg_18784_9 = 0; int arg_18784_10 = 8; Animation.LoopSettings arg_18784_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_18784_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_18784_13 = true; bool arg_18784_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.SetCameraShake, new float[] { 70f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "GigaSlime_Hammer", new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f, 1f })); AnimationInstruction[] arg_18781_0 = array; int arg_18781_1 = 3; AnimInsCriteria arg_1877C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_18777_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_18781_0[arg_18781_1] = new AnimationInstruction(arg_1877C_0, new AnimInsEvent(arg_18777_0, array6)); arg_18789_0.Add(arg_18789_1, new Animation(arg_18784_0, arg_18784_1, arg_18784_2, arg_18784_3, arg_18784_4, arg_18784_5, arg_18784_6, arg_18784_7, arg_18784_8, arg_18784_9, arg_18784_10, arg_18784_11, arg_18784_12, arg_18784_13, arg_18784_14, array)); Dictionary<ushort, Animation> arg_188C0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_188C0_1 = 6; ushort arg_188BB_0 = 6; byte arg_188BB_1 = 2; Texture2D arg_188BB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Hammer/Down"); Vector2 arg_188BB_3 = new Vector2(49f, 102f); int arg_188BB_4 = 3; int arg_188BB_5 = 22; int arg_188BB_6 = 98; int arg_188BB_7 = 127; int arg_188BB_8 = 0; int arg_188BB_9 = 0; int arg_188BB_10 = 8; Animation.LoopSettings arg_188BB_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_188BB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_188BB_13 = true; bool arg_188BB_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.SetCameraShake, new float[] { 70f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "GigaSlime_Hammer", new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f, 2f })); AnimationInstruction[] arg_188B8_0 = array; int arg_188B8_1 = 3; AnimInsCriteria arg_188B3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_188AE_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_188B8_0[arg_188B8_1] = new AnimationInstruction(arg_188B3_0, new AnimInsEvent(arg_188AE_0, array6)); arg_188C0_0.Add(arg_188C0_1, new Animation(arg_188BB_0, arg_188BB_1, arg_188BB_2, arg_188BB_3, arg_188BB_4, arg_188BB_5, arg_188BB_6, arg_188BB_7, arg_188BB_8, arg_188BB_9, arg_188BB_10, arg_188BB_11, arg_188BB_12, arg_188BB_13, arg_188BB_14, array)); Dictionary<ushort, Animation> arg_189FA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_189FA_1 = 7; ushort arg_189F5_0 = 7; byte arg_189F5_1 = 3; Texture2D arg_189F5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Hammer/Left"); Vector2 arg_189F5_3 = new Vector2(86f, 105f); int arg_189F5_4 = 3; int arg_189F5_5 = 22; int arg_189F5_6 = 172; int arg_189F5_7 = 118; int arg_189F5_8 = 0; int arg_189F5_9 = 0; int arg_189F5_10 = 8; Animation.LoopSettings arg_189F5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_189F5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_189F5_13 = true; bool arg_189F5_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.SetCameraShake, new float[] { 70f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "GigaSlime_Hammer", new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f, 3f })); AnimationInstruction[] arg_189F2_0 = array; int arg_189F2_1 = 3; AnimInsCriteria arg_189ED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_189E8_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_189F2_0[arg_189F2_1] = new AnimationInstruction(arg_189ED_0, new AnimInsEvent(arg_189E8_0, array6)); arg_189FA_0.Add(arg_189FA_1, new Animation(arg_189F5_0, arg_189F5_1, arg_189F5_2, arg_189F5_3, arg_189F5_4, arg_189F5_5, arg_189F5_6, arg_189F5_7, arg_189F5_8, arg_189F5_9, arg_189F5_10, arg_189F5_11, arg_189F5_12, arg_189F5_13, arg_189F5_14, array)); Dictionary<ushort, Animation> arg_18B11_0 = xEn.xRenderComponent.dixAnimations; ushort arg_18B11_1 = 8; ushort arg_18B0C_0 = 8; byte arg_18B0C_1 = 2; Texture2D arg_18B0C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Saw/Start"); Vector2 arg_18B0C_3 = new Vector2(80f, 69f); int arg_18B0C_4 = 4; int arg_18B0C_5 = 24; int arg_18B0C_6 = 158; int arg_18B0C_7 = 94; int arg_18B0C_8 = 0; int arg_18B0C_9 = 0; int arg_18B0C_10 = 8; Animation.LoopSettings arg_18B0C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_18B0C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_18B0C_13 = true; bool arg_18B0C_14 = true; array = new AnimationInstruction[4]; AnimationInstruction[] arg_18A70_0 = array; int arg_18A70_1 = 0; AnimInsCriteria arg_18A6B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_18A66_0 = AnimInsEvent.EventType.PlaySound; string arg_18A66_1 = "GigaSlime_SawBegin"; array6 = new float[1]; arg_18A70_0[arg_18A70_1] = new AnimationInstruction(arg_18A6B_0, new AnimInsEvent(arg_18A66_0, arg_18A66_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 14f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); AnimationInstruction[] arg_18ADB_0 = array; int arg_18ADB_1 = 2; AnimInsCriteria arg_18AD6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_18AD1_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 5f; arg_18ADB_0[arg_18ADB_1] = new AnimationInstruction(arg_18AD6_0, new AnimInsEvent(arg_18AD1_0, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 9f })); arg_18B11_0.Add(arg_18B11_1, new Animation(arg_18B0C_0, arg_18B0C_1, arg_18B0C_2, arg_18B0C_3, arg_18B0C_4, arg_18B0C_5, arg_18B0C_6, arg_18B0C_7, arg_18B0C_8, arg_18B0C_9, arg_18B0C_10, arg_18B0C_11, arg_18B0C_12, arg_18B0C_13, arg_18B0C_14, array)); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Saw/Spin"), new Vector2(80f, 69f), 4, 3, 158, 94, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "GigaSlime_SawMid", new float[] { 1f, 1f })) })); Dictionary<ushort, Animation> arg_18C59_0 = xEn.xRenderComponent.dixAnimations; ushort arg_18C59_1 = 10; ushort arg_18C54_0 = 10; byte arg_18C54_1 = 2; Texture2D arg_18C54_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Saw/Stop"); Vector2 arg_18C54_3 = new Vector2(80f, 69f); int arg_18C54_4 = 4; int arg_18C54_5 = 8; int arg_18C54_6 = 158; int arg_18C54_7 = 94; int arg_18C54_8 = 0; int arg_18C54_9 = 0; int arg_18C54_10 = 20; Animation.LoopSettings arg_18C54_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_18C54_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_18C54_13 = true; bool arg_18C54_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })); AnimationInstruction[] arg_18C51_0 = array; int arg_18C51_1 = 1; AnimInsCriteria arg_18C4C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_18C47_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_18C51_0[arg_18C51_1] = new AnimationInstruction(arg_18C4C_0, new AnimInsEvent(arg_18C47_0, array6)); arg_18C59_0.Add(arg_18C59_1, new Animation(arg_18C54_0, arg_18C54_1, arg_18C54_2, arg_18C54_3, arg_18C54_4, arg_18C54_5, arg_18C54_6, arg_18C54_7, arg_18C54_8, arg_18C54_9, arg_18C54_10, arg_18C54_11, arg_18C54_12, arg_18C54_13, arg_18C54_14, array)); Dictionary<ushort, Animation> arg_18D3C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_18D3C_1 = 11; ushort arg_18D37_0 = 11; byte arg_18D37_1 = 2; Texture2D arg_18D37_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Spawn/Down"); Vector2 arg_18D37_3 = new Vector2(52f, 105f); int arg_18D37_4 = 4; int arg_18D37_5 = 15; int arg_18D37_6 = 104; int arg_18D37_7 = 118; int arg_18D37_8 = 0; int arg_18D37_9 = 0; int arg_18D37_10 = 20; Animation.LoopSettings arg_18D37_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_18D37_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_18D37_13 = true; bool arg_18D37_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_18CDC_0 = array; int arg_18CDC_1 = 0; AnimInsCriteria arg_18CD7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_18CD2_0 = AnimInsEvent.EventType.PlaySound; string arg_18CD2_1 = "GigaSlime_ShootSlime"; array6 = new float[1]; arg_18CDC_0[arg_18CDC_1] = new AnimationInstruction(arg_18CD7_0, new AnimInsEvent(arg_18CD2_0, arg_18CD2_1, array6)); AnimationInstruction[] arg_18D0F_0 = array; int arg_18D0F_1 = 1; AnimInsCriteria arg_18D0A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_18D05_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_18D0F_0[arg_18D0F_1] = new AnimationInstruction(arg_18D0A_0, new AnimInsEvent(arg_18D05_0, array6)); AnimationInstruction[] arg_18D34_0 = array; int arg_18D34_1 = 2; AnimInsCriteria arg_18D2F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_18D2A_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_18D34_0[arg_18D34_1] = new AnimationInstruction(arg_18D2F_0, new AnimInsEvent(arg_18D2A_0, array6)); arg_18D3C_0.Add(arg_18D3C_1, new Animation(arg_18D37_0, arg_18D37_1, arg_18D37_2, arg_18D37_3, arg_18D37_4, arg_18D37_5, arg_18D37_6, arg_18D37_7, arg_18D37_8, arg_18D37_9, arg_18D37_10, arg_18D37_11, arg_18D37_12, arg_18D37_13, arg_18D37_14, array)); Dictionary<ushort, Animation> arg_18DF5_0 = xEn.xRenderComponent.dixAnimations; ushort arg_18DF5_1 = 12; ushort arg_18DF0_0 = 12; byte arg_18DF0_1 = 2; Texture2D arg_18DF0_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Super Jump/Start"); Vector2 arg_18DF0_3 = new Vector2(52f, 80f); int arg_18DF0_4 = 4; int arg_18DF0_5 = 14; int arg_18DF0_6 = 104; int arg_18DF0_7 = 93; int arg_18DF0_8 = 0; int arg_18DF0_9 = 0; int arg_18DF0_10 = 20; Animation.LoopSettings arg_18DF0_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_18DF0_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_18DF0_13 = true; bool arg_18DF0_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_18DBF_0 = array; int arg_18DBF_1 = 0; AnimInsCriteria arg_18DBA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 10f }); AnimInsEvent.EventType arg_18DB5_0 = AnimInsEvent.EventType.PlaySound; string arg_18DB5_1 = "GigaSlime_Jump"; array6 = new float[1]; arg_18DBF_0[arg_18DBF_1] = new AnimationInstruction(arg_18DBA_0, new AnimInsEvent(arg_18DB5_0, arg_18DB5_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 13f })); arg_18DF5_0.Add(arg_18DF5_1, new Animation(arg_18DF0_0, arg_18DF0_1, arg_18DF0_2, arg_18DF0_3, arg_18DF0_4, arg_18DF0_5, arg_18DF0_6, arg_18DF0_7, arg_18DF0_8, arg_18DF0_9, arg_18DF0_10, arg_18DF0_11, arg_18DF0_12, arg_18DF0_13, arg_18DF0_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Super Jump/InAir"), new Vector2(52f, 80f), 4, 8, 104, 93, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 16f })) })); Dictionary<ushort, Animation> arg_18F6F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_18F6F_1 = 14; ushort arg_18F6A_0 = 14; byte arg_18F6A_1 = 2; Texture2D arg_18F6A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Super Jump/End"); Vector2 arg_18F6A_3 = new Vector2(56f, 81f); int arg_18F6A_4 = 4; int arg_18F6A_5 = 11; int arg_18F6A_6 = 114; int arg_18F6A_7 = 106; int arg_18F6A_8 = 0; int arg_18F6A_9 = 0; int arg_18F6A_10 = 20; Animation.LoopSettings arg_18F6A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_18F6A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_18F6A_13 = true; bool arg_18F6A_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_18F06_0 = array; int arg_18F06_1 = 0; AnimInsCriteria arg_18F01_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_18EFC_0 = AnimInsEvent.EventType.PlaySound; string arg_18EFC_1 = "GigaSlime_Land"; array6 = new float[1]; arg_18F06_0[arg_18F06_1] = new AnimationInstruction(arg_18F01_0, new AnimInsEvent(arg_18EFC_0, arg_18EFC_1, array6)); AnimationInstruction[] arg_18F2B_0 = array; int arg_18F2B_1 = 1; AnimInsCriteria arg_18F26_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_18F21_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_18F2B_0[arg_18F2B_1] = new AnimationInstruction(arg_18F26_0, new AnimInsEvent(arg_18F21_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f })); arg_18F6F_0.Add(arg_18F6F_1, new Animation(arg_18F6A_0, arg_18F6A_1, arg_18F6A_2, arg_18F6A_3, arg_18F6A_4, arg_18F6A_5, arg_18F6A_6, arg_18F6A_7, arg_18F6A_8, arg_18F6A_9, arg_18F6A_10, arg_18F6A_11, arg_18F6A_12, arg_18F6A_13, arg_18F6A_14, array)); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Death/Down"), new Vector2(127f, 148f), 6, 3, 257, 220, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Idle/Up"), new Vector2(14f, 14f), 5, 8, 25, 18, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_1909B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1909B_1 = 17; ushort arg_19096_0 = 17; byte arg_19096_1 = 0; Texture2D arg_19096_2 = Content.Load<Texture2D>(MONSTER_PATH + "Pillar Mountains/Slime/Run/Up"); Vector2 arg_19096_3 = new Vector2(14f, 20f); int arg_19096_4 = 5; int arg_19096_5 = 14; int arg_19096_6 = 25; int arg_19096_7 = 23; int arg_19096_8 = 0; int arg_19096_9 = 0; int arg_19096_10 = 14; Animation.LoopSettings arg_19096_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_19096_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_19096_13 = true; bool arg_19096_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_19093_0 = array; int arg_19093_1 = 0; AnimInsCriteria arg_1908E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_19089_0 = AnimInsEvent.EventType.PlaySound; string arg_19089_1 = "Slime_Jump"; array6 = new float[1]; arg_19093_0[arg_19093_1] = new AnimationInstruction(arg_1908E_0, new AnimInsEvent(arg_19089_0, arg_19089_1, array6)); arg_1909B_0.Add(arg_1909B_1, new Animation(arg_19096_0, arg_19096_1, arg_19096_2, arg_19096_3, arg_19096_4, arg_19096_5, arg_19096_6, arg_19096_7, arg_19096_8, arg_19096_9, arg_19096_10, arg_19096_11, arg_19096_12, arg_19096_13, arg_19096_14, array)); Dictionary<ushort, Animation> arg_19154_0 = xEn.xRenderComponent.dixAnimations; ushort arg_19154_1 = 18; ushort arg_1914F_0 = 18; byte arg_1914F_1 = 2; Texture2D arg_1914F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Intro/WobbleShort"); Vector2 arg_1914F_3 = new Vector2(14f, 12f); int arg_1914F_4 = 4; int arg_1914F_5 = 13; int arg_1914F_6 = 25; int arg_1914F_7 = 17; int arg_1914F_8 = 0; int arg_1914F_9 = 0; int arg_1914F_10 = 20; Animation.LoopSettings arg_1914F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1914F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1914F_13 = true; bool arg_1914F_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1911E_0 = array; int arg_1911E_1 = 0; AnimInsCriteria arg_19119_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_19114_0 = AnimInsEvent.EventType.PlaySound; string arg_19114_1 = "GigaSlime_Wobble"; array6 = new float[1]; arg_1911E_0[arg_1911E_1] = new AnimationInstruction(arg_19119_0, new AnimInsEvent(arg_19114_0, arg_19114_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 16f })); arg_19154_0.Add(arg_19154_1, new Animation(arg_1914F_0, arg_1914F_1, arg_1914F_2, arg_1914F_3, arg_1914F_4, arg_1914F_5, arg_1914F_6, arg_1914F_7, arg_1914F_8, arg_1914F_9, arg_1914F_10, arg_1914F_11, arg_1914F_12, arg_1914F_13, arg_1914F_14, array)); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Intro/WobbleLong"), new Vector2(14f, 12f), 4, 17, 25, 17, 25, 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[] { 20f })) })); Dictionary<ushort, Animation> arg_192FC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_192FC_1 = 20; ushort arg_192F7_0 = 20; byte arg_192F7_1 = 2; Texture2D arg_192F7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Intro/Grow"); Vector2 arg_192F7_3 = new Vector2(52f, 111f); int arg_192F7_4 = 4; int arg_192F7_5 = 38; int arg_192F7_6 = 101; int arg_192F7_7 = 123; int arg_192F7_8 = 0; int arg_192F7_9 = 0; int arg_192F7_10 = 8; Animation.LoopSettings arg_192F7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_192F7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_192F7_13 = true; bool arg_192F7_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 27f }), new AnimInsEvent(AnimInsEvent.EventType.SetCameraShake, new float[] { 60f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 27f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.AdjustPosition, new float[] { -2f, -2f })); AnimationInstruction[] arg_192F4_0 = array; int arg_192F4_1 = 3; AnimInsCriteria arg_192EF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_192EA_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_192F4_0[arg_192F4_1] = new AnimationInstruction(arg_192EF_0, new AnimInsEvent(arg_192EA_0, array6)); arg_192FC_0.Add(arg_192FC_1, new Animation(arg_192F7_0, arg_192F7_1, arg_192F7_2, arg_192F7_3, arg_192F7_4, arg_192F7_5, arg_192F7_6, arg_192F7_7, arg_192F7_8, arg_192F7_9, arg_192F7_10, arg_192F7_11, arg_192F7_12, arg_192F7_13, arg_192F7_14, array)); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime Red/Intro/WobbleLong"), new Vector2(14f, 12f), 4, 5, 25, 17, 25, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); fnus3.xShadowSlaveRenderComp = new AnimatedRenderComponent(xEn); fnus3.xShadowSlaveRenderComp.xTransform = xEn.xTransform; foreach (ushort key2 in xEn.xRenderComponent.dixAnimations.Keys) { fnus3.xShadowSlaveRenderComp.dixAnimations[key2] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(44f, 11f), 4, 1, 89, 22, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); } fnus3.xShadowSlaveRenderComp.dixAnimations[2] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Jump/Shadow"), new Vector2(44f, 11f), 4, 1, 89, 22, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); fnus3.xShadowSlaveRenderComp.dixAnimations[3] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Jump/Shadow"), new Vector2(44f, 11f), 4, 1, 89, 22, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); fnus3.xShadowSlaveRenderComp.dixAnimations[13] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Papa Slime/Jump/Shadow"), new Vector2(44f, 11f), 4, 1, 89, 22, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); fnus3.xShadowSlaveRenderComp.fVirtualHeight -= 100f; fnus3.xShadowSlaveRenderComp.SwitchAnimation(2, Animation.CancelOptions.IgnoreIfPlaying); fnus3.xShadowSlaveRenderComp.SwitchAnimation(3, Animation.CancelOptions.IgnoreIfPlaying); fnus3.xShadowSlaveRenderComp.SwitchAnimation(13, Animation.CancelOptions.IgnoreIfPlaying); fnus3.xShadowSlaveRenderComp.SwitchAnimation(0, Animation.CancelOptions.IgnoreIfPlaying); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(fnus3.xShadowSlaveRenderComp); xEn.sAttackPhaseCategory = "PapaSlime"; BoxCollider col4 = new BoxCollider(60, 16, 0f, Vector2.Zero, xEn.xTransform, 10000f, xEn); col4.bIsLarge = true; col4.bIgnoreOtherBoxes = true; SphereCollider col5 = new SphereCollider(8f, new Vector2(-33f, 0f), xEn.xTransform, 10000f, xEn); SphereCollider col6 = new SphereCollider(8f, new Vector2(33f, 0f), xEn.xTransform, 10000f, xEn); xEn.xCollisionComponent.AddMovementCollider(col4); xEn.xCollisionComponent.AddMovementCollider(col5); xEn.xCollisionComponent.AddMovementCollider(col6); xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(10f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); xEn.xCollisionComponent.AddHitboxCollider(col5, Collider.ColliderLayers.Enemies); xEn.xCollisionComponent.AddHitboxCollider(col6, Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Trick || enType == EnemyCodex.EnemyTypes.Treat) { string sName2 = "Treat"; if (enType == EnemyCodex.EnemyTypes.Treat) { sName2 = "Treat"; } xEn.bDropsAnyLoot = false; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 1.2f; xEn.enType = enType; xEn.xBaseStats.bAllowKnockback = false; xEn.xBehaviour = new Trick_Original(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.bAutoSwitchToHitAnimation = false; xEn.bDontAutoKillAt0HP = true; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Idle/Up"), new Vector2(14f, 23f), 4, 6, 29, 26, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Idle/Right"), new Vector2(15f, 23f), 4, 6, 28, 27, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Idle/Down"), new Vector2(14f, 23f), 4, 6, 29, 27, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Idle/Right"), new Vector2(14f, 23f), 4, 6, 28, 27, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Walk/Up"), new Vector2(14f, 25f), 4, 10, 29, 29, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Walk/Right"), new Vector2(16f, 25f), 4, 10, 31, 29, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Walk/Down"), new Vector2(14f, 25f), 4, 10, 29, 29, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Walk/Right"), new Vector2(15f, 25f), 4, 10, 31, 29, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_19A72_0 = xEn.xRenderComponent.dixAnimations; ushort arg_19A72_1 = 8; ushort arg_19A6D_0 = 8; byte arg_19A6D_1 = 0; Texture2D arg_19A6D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Attack/Up"); Vector2 arg_19A6D_3 = new Vector2(15f, 31f); int arg_19A6D_4 = 4; int arg_19A6D_5 = 14; int arg_19A6D_6 = 31; int arg_19A6D_7 = 35; int arg_19A6D_8 = 0; int arg_19A6D_9 = 0; int arg_19A6D_10 = 25; Animation.LoopSettings arg_19A6D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_19A6D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_19A6D_13 = false; bool arg_19A6D_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Teddy_AttackA", new float[] { 1f })); AnimationInstruction[] arg_19A6A_0 = array; int arg_19A6A_1 = 1; AnimInsCriteria arg_19A65_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_19A60_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_19A6A_0[arg_19A6A_1] = new AnimationInstruction(arg_19A65_0, new AnimInsEvent(arg_19A60_0, array6)); arg_19A72_0.Add(arg_19A72_1, new Animation(arg_19A6D_0, arg_19A6D_1, arg_19A6D_2, arg_19A6D_3, arg_19A6D_4, arg_19A6D_5, arg_19A6D_6, arg_19A6D_7, arg_19A6D_8, arg_19A6D_9, arg_19A6D_10, arg_19A6D_11, arg_19A6D_12, arg_19A6D_13, arg_19A6D_14, array)); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Attack/Right"), new Vector2(15f, 26f), 4, 14, 50, 30, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Teddy_AttackA", new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Attack/Down"), new Vector2(15f, 21f), 4, 14, 31, 43, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Teddy_AttackA", new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Attack/Right"), new Vector2(36f, 26f), 4, 14, 50, 30, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Teddy_AttackA", new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(12, new Animation(12, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/Start/Down"), new Vector2(14f, 23f), 4, 6, 29, 27, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 13f })) })); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/Idle/Down"), new Vector2(14f, 23f), 4, 3, 29, 27, 0, 0, 25, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/Stop/Down"), new Vector2(14f, 23f), 4, 2, 29, 27, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/Swallow/Down"), new Vector2(16f, 23f), 4, 3, 33, 27, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 18f })) })); xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/EatenIdle/Up"), new Vector2(16f, 23f), 4, 6, 33, 27, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/EatenIdle/Right"), new Vector2(16f, 23f), 4, 6, 32, 27, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/EatenIdle/Down"), new Vector2(16f, 23f), 4, 6, 33, 27, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/EatenIdle/Right"), new Vector2(17f, 23f), 4, 6, 32, 27, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1A0F4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1A0F4_1 = 20; ushort arg_1A0EF_0 = 20; byte arg_1A0EF_1 = 0; Texture2D arg_1A0EF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/Spit/Up"); Vector2 arg_1A0EF_3 = new Vector2(15f, 27f); int arg_1A0EF_4 = 4; int arg_1A0EF_5 = 8; int arg_1A0EF_6 = 31; int arg_1A0EF_7 = 31; int arg_1A0EF_8 = 0; int arg_1A0EF_9 = 0; int arg_1A0EF_10 = 12; Animation.LoopSettings arg_1A0EF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1A0EF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1A0EF_13 = false; bool arg_1A0EF_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1A0C7_0 = array; int arg_1A0C7_1 = 0; AnimInsCriteria arg_1A0C2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_1A0BD_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_1A0C7_0[arg_1A0C7_1] = new AnimationInstruction(arg_1A0C2_0, new AnimInsEvent(arg_1A0BD_0, array6)); AnimationInstruction[] arg_1A0EC_0 = array; int arg_1A0EC_1 = 1; AnimInsCriteria arg_1A0E7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1A0E2_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1A0EC_0[arg_1A0EC_1] = new AnimationInstruction(arg_1A0E7_0, new AnimInsEvent(arg_1A0E2_0, array6)); arg_1A0F4_0.Add(arg_1A0F4_1, new Animation(arg_1A0EF_0, arg_1A0EF_1, arg_1A0EF_2, arg_1A0EF_3, arg_1A0EF_4, arg_1A0EF_5, arg_1A0EF_6, arg_1A0EF_7, arg_1A0EF_8, arg_1A0EF_9, arg_1A0EF_10, arg_1A0EF_11, arg_1A0EF_12, arg_1A0EF_13, arg_1A0EF_14, array)); Dictionary<ushort, Animation> arg_1A1AE_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1A1AE_1 = 21; ushort arg_1A1A9_0 = 21; byte arg_1A1A9_1 = 1; Texture2D arg_1A1A9_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/Spit/Right"); Vector2 arg_1A1A9_3 = new Vector2(16f, 23f); int arg_1A1A9_4 = 4; int arg_1A1A9_5 = 8; int arg_1A1A9_6 = 39; int arg_1A1A9_7 = 27; int arg_1A1A9_8 = 0; int arg_1A1A9_9 = 0; int arg_1A1A9_10 = 12; Animation.LoopSettings arg_1A1A9_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1A1A9_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1A1A9_13 = false; bool arg_1A1A9_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1A178_0 = array; int arg_1A178_1 = 0; AnimInsCriteria arg_1A173_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_1A16E_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_1A178_0[arg_1A178_1] = new AnimationInstruction(arg_1A173_0, new AnimInsEvent(arg_1A16E_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_1A1AE_0.Add(arg_1A1AE_1, new Animation(arg_1A1A9_0, arg_1A1A9_1, arg_1A1A9_2, arg_1A1A9_3, arg_1A1A9_4, arg_1A1A9_5, arg_1A1A9_6, arg_1A1A9_7, arg_1A1A9_8, arg_1A1A9_9, arg_1A1A9_10, arg_1A1A9_11, arg_1A1A9_12, arg_1A1A9_13, arg_1A1A9_14, array)); Dictionary<ushort, Animation> arg_1A268_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1A268_1 = 22; ushort arg_1A263_0 = 22; byte arg_1A263_1 = 2; Texture2D arg_1A263_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/Spit/Down"); Vector2 arg_1A263_3 = new Vector2(15f, 23f); int arg_1A263_4 = 4; int arg_1A263_5 = 8; int arg_1A263_6 = 31; int arg_1A263_7 = 32; int arg_1A263_8 = 0; int arg_1A263_9 = 0; int arg_1A263_10 = 12; Animation.LoopSettings arg_1A263_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1A263_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1A263_13 = false; bool arg_1A263_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1A232_0 = array; int arg_1A232_1 = 0; AnimInsCriteria arg_1A22D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_1A228_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_1A232_0[arg_1A232_1] = new AnimationInstruction(arg_1A22D_0, new AnimInsEvent(arg_1A228_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_1A268_0.Add(arg_1A268_1, new Animation(arg_1A263_0, arg_1A263_1, arg_1A263_2, arg_1A263_3, arg_1A263_4, arg_1A263_5, arg_1A263_6, arg_1A263_7, arg_1A263_8, arg_1A263_9, arg_1A263_10, arg_1A263_11, arg_1A263_12, arg_1A263_13, arg_1A263_14, array)); Dictionary<ushort, Animation> arg_1A322_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1A322_1 = 23; ushort arg_1A31D_0 = 23; byte arg_1A31D_1 = 3; Texture2D arg_1A31D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Trick&Treat/" + sName2 + "/Absorb/Spit/Right"); Vector2 arg_1A31D_3 = new Vector2(17f, 23f); int arg_1A31D_4 = 4; int arg_1A31D_5 = 8; int arg_1A31D_6 = 39; int arg_1A31D_7 = 27; int arg_1A31D_8 = 0; int arg_1A31D_9 = 0; int arg_1A31D_10 = 12; Animation.LoopSettings arg_1A31D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1A31D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1A31D_13 = false; bool arg_1A31D_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1A2EC_0 = array; int arg_1A2EC_1 = 0; AnimInsCriteria arg_1A2E7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_1A2E2_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_1A2EC_0[arg_1A2EC_1] = new AnimationInstruction(arg_1A2E7_0, new AnimInsEvent(arg_1A2E2_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_1A322_0.Add(arg_1A322_1, new Animation(arg_1A31D_0, arg_1A31D_1, arg_1A31D_2, arg_1A31D_3, arg_1A31D_4, arg_1A31D_5, arg_1A31D_6, arg_1A31D_7, arg_1A31D_8, arg_1A31D_9, arg_1A31D_10, arg_1A31D_11, arg_1A31D_12, arg_1A31D_13, arg_1A31D_14, array)); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "TrickTreat"; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); float fAdd = 0f; if (enType == EnemyCodex.EnemyTypes.Treat) { fAdd = 200f; } xEn.xCollisionComponent.xMovementCollider = new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 500f + fAdd + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = true; xEn.xCollisionComponent.AddMovementCollider(new SphereCollider(8f, new Vector2(-6f, 0f), xEn.xTransform, 500f + fAdd + (float)new Random().NextDouble(), xEn)); xEn.xCollisionComponent.AddMovementCollider(new SphereCollider(8f, new Vector2(6f, 0f), xEn.xTransform, 500f + fAdd + (float)new Random().NextDouble(), xEn)); xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(25, 10, 0f, Vector2.Zero, xEn.xTransform, 10000f + (float)new Random().NextDouble(), xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Wisp) { xEn.xBaseStats.fMovementSpeed = 2.5f + 0.5f * (float)GameSessionData.iBaseDifficulty; xEn.xBaseStats.bAllowKnockback = true; xEn.bAutoSwitchToHitAnimation = true; xEn.bDontAutoKillAt0HP = true; xEn.enType = enType; xEn.xBehaviour = new BallSparkAI(xEn); xEn.xBehaviour.bRunClientUpdate = true; xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 4; xEn.aiHitAnimation[1] = 4; xEn.aiHitAnimation[2] = 5; xEn.aiHitAnimation[3] = 5; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; BallSparkAI mos = xEn.xBehaviour as BallSparkAI; mos.xShadowLol = new StaticRenderComponent(Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Shadow"), xEn.xTransform); xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Idle/Right2"), new Vector2(11f, 17f), 4, 14, 21, 20, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Idle/Right2"), new Vector2(11f, 17f), 4, 14, 21, 20, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1A6D1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1A6D1_1 = 2; ushort arg_1A6CC_0 = 2; byte arg_1A6CC_1 = 1; Texture2D arg_1A6CC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Attack/Right"); Vector2 arg_1A6CC_3 = new Vector2(15f, 21f); int arg_1A6CC_4 = 4; int arg_1A6CC_5 = 5; int arg_1A6CC_6 = 29; int arg_1A6CC_7 = 37; int arg_1A6CC_8 = 0; int arg_1A6CC_9 = 0; int arg_1A6CC_10 = 12; Animation.LoopSettings arg_1A6CC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1A6CC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1A6CC_13 = false; bool arg_1A6CC_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_1A68E_0 = array; int arg_1A68E_1 = 0; AnimInsCriteria arg_1A689_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1A684_0 = AnimInsEvent.EventType.PlaySound; string arg_1A684_1 = "Wisp_Open"; float[] array6 = new float[1]; arg_1A68E_0[arg_1A68E_1] = new AnimationInstruction(arg_1A689_0, new AnimInsEvent(arg_1A684_0, arg_1A684_1, array6)); AnimationInstruction[] arg_1A6C9_0 = array; int arg_1A6C9_1 = 1; AnimInsCriteria arg_1A6C4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); IEffect arg_1A6BF_0 = new SortedAnimated(SortedAnimated.SortedAnimatedEffects._EnemyEffects_BallSpark_Smoke_Left); array6 = new float[2]; arg_1A6C9_0[arg_1A6C9_1] = new AnimationInstruction(arg_1A6C4_0, new AnimInsEvent(arg_1A6BF_0, array6)); arg_1A6D1_0.Add(arg_1A6D1_1, new Animation(arg_1A6CC_0, arg_1A6CC_1, arg_1A6CC_2, arg_1A6CC_3, arg_1A6CC_4, arg_1A6CC_5, arg_1A6CC_6, arg_1A6CC_7, arg_1A6CC_8, arg_1A6CC_9, arg_1A6CC_10, arg_1A6CC_11, arg_1A6CC_12, arg_1A6CC_13, arg_1A6CC_14, array)); Dictionary<ushort, Animation> arg_1A787_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1A787_1 = 3; ushort arg_1A782_0 = 3; byte arg_1A782_1 = 3; Texture2D arg_1A782_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Attack/Right"); Vector2 arg_1A782_3 = new Vector2(15f, 21f); int arg_1A782_4 = 4; int arg_1A782_5 = 5; int arg_1A782_6 = 29; int arg_1A782_7 = 28; int arg_1A782_8 = 0; int arg_1A782_9 = 0; int arg_1A782_10 = 12; Animation.LoopSettings arg_1A782_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1A782_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1A782_13 = false; bool arg_1A782_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1A744_0 = array; int arg_1A744_1 = 0; AnimInsCriteria arg_1A73F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1A73A_0 = AnimInsEvent.EventType.PlaySound; string arg_1A73A_1 = "Wisp_Open"; array6 = new float[1]; arg_1A744_0[arg_1A744_1] = new AnimationInstruction(arg_1A73F_0, new AnimInsEvent(arg_1A73A_0, arg_1A73A_1, array6)); AnimationInstruction[] arg_1A77F_0 = array; int arg_1A77F_1 = 1; AnimInsCriteria arg_1A77A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); IEffect arg_1A775_0 = new SortedAnimated(SortedAnimated.SortedAnimatedEffects._EnemyEffects_BallSpark_Smoke_Left); array6 = new float[2]; arg_1A77F_0[arg_1A77F_1] = new AnimationInstruction(arg_1A77A_0, new AnimInsEvent(arg_1A775_0, array6)); arg_1A787_0.Add(arg_1A787_1, new Animation(arg_1A782_0, arg_1A782_1, arg_1A782_2, arg_1A782_3, arg_1A782_4, arg_1A782_5, arg_1A782_6, arg_1A782_7, arg_1A782_8, arg_1A782_9, arg_1A782_10, arg_1A782_11, arg_1A782_12, arg_1A782_13, arg_1A782_14, array)); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1A813_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1A813_1 = 4; ushort arg_1A80E_0 = 4; byte arg_1A80E_1 = 1; Texture2D arg_1A80E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"); Vector2 arg_1A80E_3 = new Vector2(10f, 21f); int arg_1A80E_4 = 4; int arg_1A80E_5 = 6; int arg_1A80E_6 = 21; int arg_1A80E_7 = 27; int arg_1A80E_8 = 0; int arg_1A80E_9 = 0; int arg_1A80E_10 = 10; Animation.LoopSettings arg_1A80E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1A80E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1A80E_13 = false; bool arg_1A80E_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1A80B_0 = array; int arg_1A80B_1 = 0; AnimInsCriteria arg_1A806_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1A801_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1A80B_0[arg_1A80B_1] = new AnimationInstruction(arg_1A806_0, new AnimInsEvent(arg_1A801_0, array6)); arg_1A813_0.Add(arg_1A813_1, new Animation(arg_1A80E_0, arg_1A80E_1, arg_1A80E_2, arg_1A80E_3, arg_1A80E_4, arg_1A80E_5, arg_1A80E_6, arg_1A80E_7, arg_1A80E_8, arg_1A80E_9, arg_1A80E_10, arg_1A80E_11, arg_1A80E_12, arg_1A80E_13, arg_1A80E_14, array)); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"), new Vector2(10f, 21f), 4, 6, 21, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1A91E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1A91E_1 = 6; ushort arg_1A919_0 = 6; byte arg_1A919_1 = 1; Texture2D arg_1A919_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"); Vector2 arg_1A919_3 = new Vector2(10f, 21f); int arg_1A919_4 = 4; int arg_1A919_5 = 6; int arg_1A919_6 = 21; int arg_1A919_7 = 27; int arg_1A919_8 = 0; int arg_1A919_9 = 0; int arg_1A919_10 = 10; Animation.LoopSettings arg_1A919_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1A919_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1A919_13 = false; bool arg_1A919_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1A916_0 = array; int arg_1A916_1 = 0; AnimInsCriteria arg_1A911_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1A90C_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_1A916_0[arg_1A916_1] = new AnimationInstruction(arg_1A911_0, new AnimInsEvent(arg_1A90C_0, array6)); arg_1A91E_0.Add(arg_1A91E_1, new Animation(arg_1A919_0, arg_1A919_1, arg_1A919_2, arg_1A919_3, arg_1A919_4, arg_1A919_5, arg_1A919_6, arg_1A919_7, arg_1A919_8, arg_1A919_9, arg_1A919_10, arg_1A919_11, arg_1A919_12, arg_1A919_13, arg_1A919_14, array)); Dictionary<ushort, Animation> arg_1A994_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1A994_1 = 7; ushort arg_1A98F_0 = 7; byte arg_1A98F_1 = 3; Texture2D arg_1A98F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"); Vector2 arg_1A98F_3 = new Vector2(10f, 21f); int arg_1A98F_4 = 4; int arg_1A98F_5 = 6; int arg_1A98F_6 = 21; int arg_1A98F_7 = 27; int arg_1A98F_8 = 0; int arg_1A98F_9 = 0; int arg_1A98F_10 = 10; Animation.LoopSettings arg_1A98F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1A98F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1A98F_13 = false; bool arg_1A98F_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1A98C_0 = array; int arg_1A98C_1 = 0; AnimInsCriteria arg_1A987_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1A982_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_1A98C_0[arg_1A98C_1] = new AnimationInstruction(arg_1A987_0, new AnimInsEvent(arg_1A982_0, array6)); arg_1A994_0.Add(arg_1A994_1, new Animation(arg_1A98F_0, arg_1A98F_1, arg_1A98F_2, arg_1A98F_3, arg_1A98F_4, arg_1A98F_5, arg_1A98F_6, arg_1A98F_7, arg_1A98F_8, arg_1A98F_9, arg_1A98F_10, arg_1A98F_11, arg_1A98F_12, arg_1A98F_13, arg_1A98F_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1AA4C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1AA4C_1 = 8; ushort arg_1AA47_0 = 8; byte arg_1AA47_1 = 1; Texture2D arg_1AA47_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Attack/Right"); Vector2 arg_1AA47_3 = new Vector2(15f, 21f); int arg_1AA47_4 = 4; int arg_1AA47_5 = 7; int arg_1AA47_6 = 29; int arg_1AA47_7 = 28; int arg_1AA47_8 = 116; int arg_1AA47_9 = 0; int arg_1AA47_10 = 12; Animation.LoopSettings arg_1AA47_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1AA47_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1AA47_13 = false; bool arg_1AA47_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1AA1F_0 = array; int arg_1AA1F_1 = 0; AnimInsCriteria arg_1AA1A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1AA15_0 = AnimInsEvent.EventType.PlaySound; string arg_1AA15_1 = "Wisp_Fire"; array6 = new float[1]; arg_1AA1F_0[arg_1AA1F_1] = new AnimationInstruction(arg_1AA1A_0, new AnimInsEvent(arg_1AA15_0, arg_1AA15_1, array6)); AnimationInstruction[] arg_1AA44_0 = array; int arg_1AA44_1 = 1; AnimInsCriteria arg_1AA3F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1AA3A_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1AA44_0[arg_1AA44_1] = new AnimationInstruction(arg_1AA3F_0, new AnimInsEvent(arg_1AA3A_0, array6)); arg_1AA4C_0.Add(arg_1AA4C_1, new Animation(arg_1AA47_0, arg_1AA47_1, arg_1AA47_2, arg_1AA47_3, arg_1AA47_4, arg_1AA47_5, arg_1AA47_6, arg_1AA47_7, arg_1AA47_8, arg_1AA47_9, arg_1AA47_10, arg_1AA47_11, arg_1AA47_12, arg_1AA47_13, arg_1AA47_14, array)); Dictionary<ushort, Animation> arg_1AAF8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1AAF8_1 = 9; ushort arg_1AAF3_0 = 9; byte arg_1AAF3_1 = 3; Texture2D arg_1AAF3_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Attack/Right"); Vector2 arg_1AAF3_3 = new Vector2(15f, 21f); int arg_1AAF3_4 = 4; int arg_1AAF3_5 = 7; int arg_1AAF3_6 = 29; int arg_1AAF3_7 = 28; int arg_1AAF3_8 = 116; int arg_1AAF3_9 = 0; int arg_1AAF3_10 = 12; Animation.LoopSettings arg_1AAF3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1AAF3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1AAF3_13 = false; bool arg_1AAF3_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1AAC2_0 = array; int arg_1AAC2_1 = 0; AnimInsCriteria arg_1AABD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1AAB8_0 = AnimInsEvent.EventType.PlaySound; string arg_1AAB8_1 = "Wisp_Fire"; array6 = new float[1]; arg_1AAC2_0[arg_1AAC2_1] = new AnimationInstruction(arg_1AABD_0, new AnimInsEvent(arg_1AAB8_0, arg_1AAB8_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_1AAF8_0.Add(arg_1AAF8_1, new Animation(arg_1AAF3_0, arg_1AAF3_1, arg_1AAF3_2, arg_1AAF3_3, arg_1AAF3_4, arg_1AAF3_5, arg_1AAF3_6, arg_1AAF3_7, arg_1AAF3_8, arg_1AAF3_9, arg_1AAF3_10, arg_1AAF3_11, arg_1AAF3_12, arg_1AAF3_13, arg_1AAF3_14, array)); xEn.xRenderComponent.dixAnimations[9].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"), new Vector2(10f, 21f), 4, 6, 21, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"), new Vector2(10f, 21f), 4, 6, 21, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"), new Vector2(10f, 21f), 4, 6, 21, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40002].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"), new Vector2(10f, 21f), 4, 6, 21, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1AD13_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1AD13_1 = 40004; ushort arg_1AD0E_0 = 40004; byte arg_1AD0E_1 = 0; Texture2D arg_1AD0E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"); Vector2 arg_1AD0E_3 = new Vector2(10f, 21f); int arg_1AD0E_4 = 4; int arg_1AD0E_5 = 6; int arg_1AD0E_6 = 21; int arg_1AD0E_7 = 27; int arg_1AD0E_8 = 0; int arg_1AD0E_9 = 0; int arg_1AD0E_10 = 10; Animation.LoopSettings arg_1AD0E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1AD0E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1AD0E_13 = false; bool arg_1AD0E_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1AD0B_0 = array; int arg_1AD0B_1 = 0; AnimInsCriteria arg_1AD06_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1AD01_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1AD0B_0[arg_1AD0B_1] = new AnimationInstruction(arg_1AD06_0, new AnimInsEvent(arg_1AD01_0, array6)); arg_1AD13_0.Add(arg_1AD13_1, new Animation(arg_1AD0E_0, arg_1AD0E_1, arg_1AD0E_2, arg_1AD0E_3, arg_1AD0E_4, arg_1AD0E_5, arg_1AD0E_6, arg_1AD0E_7, arg_1AD0E_8, arg_1AD0E_9, arg_1AD0E_10, arg_1AD0E_11, arg_1AD0E_12, arg_1AD0E_13, arg_1AD0E_14, array)); Dictionary<ushort, Animation> arg_1AD90_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1AD90_1 = 40005; ushort arg_1AD8B_0 = 40005; byte arg_1AD8B_1 = 1; Texture2D arg_1AD8B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"); Vector2 arg_1AD8B_3 = new Vector2(10f, 21f); int arg_1AD8B_4 = 4; int arg_1AD8B_5 = 6; int arg_1AD8B_6 = 21; int arg_1AD8B_7 = 27; int arg_1AD8B_8 = 0; int arg_1AD8B_9 = 0; int arg_1AD8B_10 = 10; Animation.LoopSettings arg_1AD8B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1AD8B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1AD8B_13 = false; bool arg_1AD8B_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1AD88_0 = array; int arg_1AD88_1 = 0; AnimInsCriteria arg_1AD83_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1AD7E_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1AD88_0[arg_1AD88_1] = new AnimationInstruction(arg_1AD83_0, new AnimInsEvent(arg_1AD7E_0, array6)); arg_1AD90_0.Add(arg_1AD90_1, new Animation(arg_1AD8B_0, arg_1AD8B_1, arg_1AD8B_2, arg_1AD8B_3, arg_1AD8B_4, arg_1AD8B_5, arg_1AD8B_6, arg_1AD8B_7, arg_1AD8B_8, arg_1AD8B_9, arg_1AD8B_10, arg_1AD8B_11, arg_1AD8B_12, arg_1AD8B_13, arg_1AD8B_14, array)); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"), new Vector2(10f, 21f), 4, 6, 21, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations[40006].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Sphere/Damage/Right"), new Vector2(10f, 21f), 4, 6, 21, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(mos.xShadowLol); xEn.sAttackPhaseCategory = "Blomma"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 2f, xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Pecko) { xEn.xBaseStats.fMovementSpeed = 1f + 0.2f * (float)GameSessionData.iBaseDifficulty; xEn.xBaseStats.bAllowKnockback = false; xEn.bAutoSwitchToHitAnimation = false; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bFreezeImmunity = true; xEn.xBaseStats.bSlowImmunity = true; xEn.enType = enType; xEn.xBehaviour = new BirdieAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 4; xEn.aiHitAnimation[1] = 4; xEn.aiHitAnimation[2] = 5; xEn.aiHitAnimation[3] = 5; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; BirdieAI mos2 = xEn.xBehaviour as BirdieAI; Dictionary<ushort, Animation> arg_1B113_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1B113_1 = 0; ushort arg_1B10E_0 = 0; byte arg_1B10E_1 = 1; Texture2D arg_1B10E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Idle/Right"); Vector2 arg_1B10E_3 = new Vector2(29f, 30f); int arg_1B10E_4 = 5; int arg_1B10E_5 = 12; int arg_1B10E_6 = 51; int arg_1B10E_7 = 36; int arg_1B10E_8 = 0; int arg_1B10E_9 = 0; int arg_1B10E_10 = 14; Animation.LoopSettings arg_1B10E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1B10E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1B10E_13 = true; bool arg_1B10E_14 = true; AnimationInstruction[] array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 6f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 6f })); AnimationInstruction[] arg_1B10B_0 = array; int arg_1B10B_1 = 2; AnimInsCriteria arg_1B106_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1B101_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_1B10B_0[arg_1B10B_1] = new AnimationInstruction(arg_1B106_0, new AnimInsEvent(arg_1B101_0, array6)); arg_1B113_0.Add(arg_1B113_1, new Animation(arg_1B10E_0, arg_1B10E_1, arg_1B10E_2, arg_1B10E_3, arg_1B10E_4, arg_1B10E_5, arg_1B10E_6, arg_1B10E_7, arg_1B10E_8, arg_1B10E_9, arg_1B10E_10, arg_1B10E_11, arg_1B10E_12, arg_1B10E_13, arg_1B10E_14, array)); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Idle/Right"), new Vector2(22f, 30f), 5, 12, 51, 36, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 6f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 6f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1B33E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1B33E_1 = 2; ushort arg_1B339_0 = 2; byte arg_1B339_1 = 1; Texture2D arg_1B339_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Attack/Right"); Vector2 arg_1B339_3 = new Vector2(30f, 33f); int arg_1B339_4 = 3; int arg_1B339_5 = 11; int arg_1B339_6 = 58; int arg_1B339_7 = 39; int arg_1B339_8 = 0; int arg_1B339_9 = 0; int arg_1B339_10 = 14; Animation.LoopSettings arg_1B339_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1B339_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1B339_13 = true; bool arg_1B339_14 = true; array = new AnimationInstruction[4]; AnimationInstruction[] arg_1B28F_0 = array; int arg_1B28F_1 = 0; AnimInsCriteria arg_1B28A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1B285_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1B28F_0[arg_1B28F_1] = new AnimationInstruction(arg_1B28A_0, new AnimInsEvent(arg_1B285_0, array6)); AnimationInstruction[] arg_1B2C2_0 = array; int arg_1B2C2_1 = 1; AnimInsCriteria arg_1B2BD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }); AnimInsEvent.EventType arg_1B2B8_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_1B2C2_0[arg_1B2C2_1] = new AnimationInstruction(arg_1B2BD_0, new AnimInsEvent(arg_1B2B8_0, array6)); AnimationInstruction[] arg_1B2FA_0 = array; int arg_1B2FA_1 = 2; AnimInsCriteria arg_1B2F5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_1B2F0_0 = AnimInsEvent.EventType.PlaySound; string arg_1B2F0_1 = "Pecco_PeckAttack"; array6 = new float[1]; arg_1B2FA_0[arg_1B2FA_1] = new AnimationInstruction(arg_1B2F5_0, new AnimInsEvent(arg_1B2F0_0, arg_1B2F0_1, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })); arg_1B33E_0.Add(arg_1B33E_1, new Animation(arg_1B339_0, arg_1B339_1, arg_1B339_2, arg_1B339_3, arg_1B339_4, arg_1B339_5, arg_1B339_6, arg_1B339_7, arg_1B339_8, arg_1B339_9, arg_1B339_10, arg_1B339_11, arg_1B339_12, arg_1B339_13, arg_1B339_14, array)); Dictionary<ushort, Animation> arg_1B464_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1B464_1 = 3; ushort arg_1B45F_0 = 3; byte arg_1B45F_1 = 3; Texture2D arg_1B45F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Attack/Right"); Vector2 arg_1B45F_3 = new Vector2(28f, 33f); int arg_1B45F_4 = 3; int arg_1B45F_5 = 11; int arg_1B45F_6 = 58; int arg_1B45F_7 = 39; int arg_1B45F_8 = 0; int arg_1B45F_9 = 0; int arg_1B45F_10 = 14; Animation.LoopSettings arg_1B45F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1B45F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1B45F_13 = true; bool arg_1B45F_14 = true; array = new AnimationInstruction[4]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); AnimationInstruction[] arg_1B3E8_0 = array; int arg_1B3E8_1 = 1; AnimInsCriteria arg_1B3E3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }); AnimInsEvent.EventType arg_1B3DE_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_1B3E8_0[arg_1B3E8_1] = new AnimationInstruction(arg_1B3E3_0, new AnimInsEvent(arg_1B3DE_0, array6)); AnimationInstruction[] arg_1B420_0 = array; int arg_1B420_1 = 2; AnimInsCriteria arg_1B41B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_1B416_0 = AnimInsEvent.EventType.PlaySound; string arg_1B416_1 = "Pecco_PeckAttack"; array6 = new float[1]; arg_1B420_0[arg_1B420_1] = new AnimationInstruction(arg_1B41B_0, new AnimInsEvent(arg_1B416_0, arg_1B416_1, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 15f })); arg_1B464_0.Add(arg_1B464_1, new Animation(arg_1B45F_0, arg_1B45F_1, arg_1B45F_2, arg_1B45F_3, arg_1B45F_4, arg_1B45F_5, arg_1B45F_6, arg_1B45F_7, arg_1B45F_8, arg_1B45F_9, arg_1B45F_10, arg_1B45F_11, arg_1B45F_12, arg_1B45F_13, arg_1B45F_14, array)); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Turn/Right"), new Vector2(28f, 31f), 4, 6, 57, 37, 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 })) })); Dictionary<ushort, Animation> arg_1B56E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1B56E_1 = 5; ushort arg_1B569_0 = 5; byte arg_1B569_1 = 3; Texture2D arg_1B569_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Turn/Right"); Vector2 arg_1B569_3 = new Vector2(29f, 31f); int arg_1B569_4 = 4; int arg_1B569_5 = 6; int arg_1B569_6 = 57; int arg_1B569_7 = 37; int arg_1B569_8 = 0; int arg_1B569_9 = 0; int arg_1B569_10 = 14; Animation.LoopSettings arg_1B569_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1B569_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1B569_13 = true; bool arg_1B569_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1B566_0 = array; int arg_1B566_1 = 0; AnimInsCriteria arg_1B561_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1B55C_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1B566_0[arg_1B566_1] = new AnimationInstruction(arg_1B561_0, new AnimInsEvent(arg_1B55C_0, array6)); arg_1B56E_0.Add(arg_1B56E_1, new Animation(arg_1B569_0, arg_1B569_1, arg_1B569_2, arg_1B569_3, arg_1B569_4, arg_1B569_5, arg_1B569_6, arg_1B569_7, arg_1B569_8, arg_1B569_9, arg_1B569_10, arg_1B569_11, arg_1B569_12, arg_1B569_13, arg_1B569_14, array)); xEn.xRenderComponent.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1B5FA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1B5FA_1 = 6; ushort arg_1B5F5_0 = 6; byte arg_1B5F5_1 = 1; Texture2D arg_1B5F5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Attack/Right"); Vector2 arg_1B5F5_3 = new Vector2(30f, 33f); int arg_1B5F5_4 = 3; int arg_1B5F5_5 = 6; int arg_1B5F5_6 = 58; int arg_1B5F5_7 = 39; int arg_1B5F5_8 = 0; int arg_1B5F5_9 = 0; int arg_1B5F5_10 = 14; Animation.LoopSettings arg_1B5F5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1B5F5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1B5F5_13 = true; bool arg_1B5F5_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1B5F2_0 = array; int arg_1B5F2_1 = 0; AnimInsCriteria arg_1B5ED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1B5E8_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1B5F2_0[arg_1B5F2_1] = new AnimationInstruction(arg_1B5ED_0, new AnimInsEvent(arg_1B5E8_0, array6)); arg_1B5FA_0.Add(arg_1B5FA_1, new Animation(arg_1B5F5_0, arg_1B5F5_1, arg_1B5F5_2, arg_1B5F5_3, arg_1B5F5_4, arg_1B5F5_5, arg_1B5F5_6, arg_1B5F5_7, arg_1B5F5_8, arg_1B5F5_9, arg_1B5F5_10, arg_1B5F5_11, arg_1B5F5_12, arg_1B5F5_13, arg_1B5F5_14, array)); xEn.xRenderComponent.dixAnimations[6].bReversePlayback = true; xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Attack/Right"), new Vector2(28f, 33f), 3, 6, 58, 39, 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 })) })); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[7].bReversePlayback = true; Dictionary<ushort, Animation> arg_1B77D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1B77D_1 = 8; ushort arg_1B778_0 = 8; byte arg_1B778_1 = 1; Texture2D arg_1B778_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Walk/Right"); Vector2 arg_1B778_3 = new Vector2(29f, 29f); int arg_1B778_4 = 4; int arg_1B778_5 = 8; int arg_1B778_6 = 50; int arg_1B778_7 = 35; int arg_1B778_8 = 0; int arg_1B778_9 = 0; int arg_1B778_10 = 14; Animation.LoopSettings arg_1B778_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_1B778_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1B778_13 = true; bool arg_1B778_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1B73D_0 = array; int arg_1B73D_1 = 0; AnimInsCriteria arg_1B738_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_1B733_0 = AnimInsEvent.EventType.PlaySound; string arg_1B733_1 = "PecoWalk"; array6 = new float[1]; arg_1B73D_0[arg_1B73D_1] = new AnimationInstruction(arg_1B738_0, new AnimInsEvent(arg_1B733_0, arg_1B733_1, array6)); AnimationInstruction[] arg_1B775_0 = array; int arg_1B775_1 = 1; AnimInsCriteria arg_1B770_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }); AnimInsEvent.EventType arg_1B76B_0 = AnimInsEvent.EventType.PlaySound; string arg_1B76B_1 = "PecoWalk"; array6 = new float[1]; arg_1B775_0[arg_1B775_1] = new AnimationInstruction(arg_1B770_0, new AnimInsEvent(arg_1B76B_0, arg_1B76B_1, array6)); arg_1B77D_0.Add(arg_1B77D_1, new Animation(arg_1B778_0, arg_1B778_1, arg_1B778_2, arg_1B778_3, arg_1B778_4, arg_1B778_5, arg_1B778_6, arg_1B778_7, arg_1B778_8, arg_1B778_9, arg_1B778_10, arg_1B778_11, arg_1B778_12, arg_1B778_13, arg_1B778_14, array)); Dictionary<ushort, Animation> arg_1B83F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1B83F_1 = 9; ushort arg_1B83A_0 = 9; byte arg_1B83A_1 = 3; Texture2D arg_1B83A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Walk/Right"); Vector2 arg_1B83A_3 = new Vector2(21f, 29f); int arg_1B83A_4 = 4; int arg_1B83A_5 = 8; int arg_1B83A_6 = 50; int arg_1B83A_7 = 35; int arg_1B83A_8 = 0; int arg_1B83A_9 = 0; int arg_1B83A_10 = 14; Animation.LoopSettings arg_1B83A_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_1B83A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1B83A_13 = true; bool arg_1B83A_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1B7FF_0 = array; int arg_1B7FF_1 = 0; AnimInsCriteria arg_1B7FA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_1B7F5_0 = AnimInsEvent.EventType.PlaySound; string arg_1B7F5_1 = "PecoWalk"; array6 = new float[1]; arg_1B7FF_0[arg_1B7FF_1] = new AnimationInstruction(arg_1B7FA_0, new AnimInsEvent(arg_1B7F5_0, arg_1B7F5_1, array6)); AnimationInstruction[] arg_1B837_0 = array; int arg_1B837_1 = 1; AnimInsCriteria arg_1B832_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }); AnimInsEvent.EventType arg_1B82D_0 = AnimInsEvent.EventType.PlaySound; string arg_1B82D_1 = "PecoWalk"; array6 = new float[1]; arg_1B837_0[arg_1B837_1] = new AnimationInstruction(arg_1B832_0, new AnimInsEvent(arg_1B82D_0, arg_1B82D_1, array6)); arg_1B83F_0.Add(arg_1B83F_1, new Animation(arg_1B83A_0, arg_1B83A_1, arg_1B83A_2, arg_1B83A_3, arg_1B83A_4, arg_1B83A_5, arg_1B83A_6, arg_1B83A_7, arg_1B83A_8, arg_1B83A_9, arg_1B83A_10, arg_1B83A_11, arg_1B83A_12, arg_1B83A_13, arg_1B83A_14, array)); xEn.xRenderComponent.dixAnimations[9].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1B919_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1B919_1 = 10; ushort arg_1B914_0 = 10; byte arg_1B914_1 = 1; Texture2D arg_1B914_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Walk/Right"); Vector2 arg_1B914_3 = new Vector2(29f, 29f); int arg_1B914_4 = 4; int arg_1B914_5 = 8; int arg_1B914_6 = 50; int arg_1B914_7 = 35; int arg_1B914_8 = 0; int arg_1B914_9 = 0; int arg_1B914_10 = 14; Animation.LoopSettings arg_1B914_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_1B914_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1B914_13 = true; bool arg_1B914_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1B8D9_0 = array; int arg_1B8D9_1 = 0; AnimInsCriteria arg_1B8D4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_1B8CF_0 = AnimInsEvent.EventType.PlaySound; string arg_1B8CF_1 = "PecoWalk"; array6 = new float[1]; arg_1B8D9_0[arg_1B8D9_1] = new AnimationInstruction(arg_1B8D4_0, new AnimInsEvent(arg_1B8CF_0, arg_1B8CF_1, array6)); AnimationInstruction[] arg_1B911_0 = array; int arg_1B911_1 = 1; AnimInsCriteria arg_1B90C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }); AnimInsEvent.EventType arg_1B907_0 = AnimInsEvent.EventType.PlaySound; string arg_1B907_1 = "PecoWalk"; array6 = new float[1]; arg_1B911_0[arg_1B911_1] = new AnimationInstruction(arg_1B90C_0, new AnimInsEvent(arg_1B907_0, arg_1B907_1, array6)); arg_1B919_0.Add(arg_1B919_1, new Animation(arg_1B914_0, arg_1B914_1, arg_1B914_2, arg_1B914_3, arg_1B914_4, arg_1B914_5, arg_1B914_6, arg_1B914_7, arg_1B914_8, arg_1B914_9, arg_1B914_10, arg_1B914_11, arg_1B914_12, arg_1B914_13, arg_1B914_14, array)); xEn.xRenderComponent.dixAnimations[10].bReversePlayback = true; Dictionary<ushort, Animation> arg_1B9F3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1B9F3_1 = 11; ushort arg_1B9EE_0 = 11; byte arg_1B9EE_1 = 3; Texture2D arg_1B9EE_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Walk/Right"); Vector2 arg_1B9EE_3 = new Vector2(21f, 29f); int arg_1B9EE_4 = 4; int arg_1B9EE_5 = 8; int arg_1B9EE_6 = 50; int arg_1B9EE_7 = 35; int arg_1B9EE_8 = 0; int arg_1B9EE_9 = 0; int arg_1B9EE_10 = 14; Animation.LoopSettings arg_1B9EE_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_1B9EE_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1B9EE_13 = true; bool arg_1B9EE_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1B9B3_0 = array; int arg_1B9B3_1 = 0; AnimInsCriteria arg_1B9AE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_1B9A9_0 = AnimInsEvent.EventType.PlaySound; string arg_1B9A9_1 = "PecoWalk"; array6 = new float[1]; arg_1B9B3_0[arg_1B9B3_1] = new AnimationInstruction(arg_1B9AE_0, new AnimInsEvent(arg_1B9A9_0, arg_1B9A9_1, array6)); AnimationInstruction[] arg_1B9EB_0 = array; int arg_1B9EB_1 = 1; AnimInsCriteria arg_1B9E6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }); AnimInsEvent.EventType arg_1B9E1_0 = AnimInsEvent.EventType.PlaySound; string arg_1B9E1_1 = "PecoWalk"; array6 = new float[1]; arg_1B9EB_0[arg_1B9EB_1] = new AnimationInstruction(arg_1B9E6_0, new AnimInsEvent(arg_1B9E1_0, arg_1B9E1_1, array6)); arg_1B9F3_0.Add(arg_1B9F3_1, new Animation(arg_1B9EE_0, arg_1B9EE_1, arg_1B9EE_2, arg_1B9EE_3, arg_1B9EE_4, arg_1B9EE_5, arg_1B9EE_6, arg_1B9EE_7, arg_1B9EE_8, arg_1B9EE_9, arg_1B9EE_10, arg_1B9EE_11, arg_1B9EE_12, arg_1B9EE_13, arg_1B9EE_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[11].bReversePlayback = true; Dictionary<ushort, Animation> arg_1BB18_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1BB18_1 = 12; ushort arg_1BB13_0 = 12; byte arg_1BB13_1 = 1; Texture2D arg_1BB13_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Lift/Right"); Vector2 arg_1BB13_3 = new Vector2(39f, 49f); int arg_1BB13_4 = 4; int arg_1BB13_5 = 10; int arg_1BB13_6 = 93; int arg_1BB13_7 = 55; int arg_1BB13_8 = 0; int arg_1BB13_9 = 0; int arg_1BB13_10 = 14; Animation.LoopSettings arg_1BB13_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1BB13_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1BB13_13 = true; bool arg_1BB13_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_1BAA6_0 = array; int arg_1BAA6_1 = 0; AnimInsCriteria arg_1BAA1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1BA9C_0 = AnimInsEvent.EventType.PlaySound; string arg_1BA9C_1 = "Pecco_LiftOff"; array6 = new float[1]; arg_1BAA6_0[arg_1BAA6_1] = new AnimationInstruction(arg_1BAA1_0, new AnimInsEvent(arg_1BA9C_0, arg_1BA9C_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 14f })); arg_1BB18_0.Add(arg_1BB18_1, new Animation(arg_1BB13_0, arg_1BB13_1, arg_1BB13_2, arg_1BB13_3, arg_1BB13_4, arg_1BB13_5, arg_1BB13_6, arg_1BB13_7, arg_1BB13_8, arg_1BB13_9, arg_1BB13_10, arg_1BB13_11, arg_1BB13_12, arg_1BB13_13, arg_1BB13_14, array)); Dictionary<ushort, Animation> arg_1BC0D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1BC0D_1 = 13; ushort arg_1BC08_0 = 13; byte arg_1BC08_1 = 3; Texture2D arg_1BC08_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Lift/Right"); Vector2 arg_1BC08_3 = new Vector2(54f, 49f); int arg_1BC08_4 = 4; int arg_1BC08_5 = 10; int arg_1BC08_6 = 93; int arg_1BC08_7 = 55; int arg_1BC08_8 = 0; int arg_1BC08_9 = 0; int arg_1BC08_10 = 14; Animation.LoopSettings arg_1BC08_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1BC08_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1BC08_13 = true; bool arg_1BC08_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_1BB9B_0 = array; int arg_1BB9B_1 = 0; AnimInsCriteria arg_1BB96_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1BB91_0 = AnimInsEvent.EventType.PlaySound; string arg_1BB91_1 = "Pecco_LiftOff"; array6 = new float[1]; arg_1BB9B_0[arg_1BB9B_1] = new AnimationInstruction(arg_1BB96_0, new AnimInsEvent(arg_1BB91_0, arg_1BB91_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 15f })); arg_1BC0D_0.Add(arg_1BC0D_1, new Animation(arg_1BC08_0, arg_1BC08_1, arg_1BC08_2, arg_1BC08_3, arg_1BC08_4, arg_1BC08_5, arg_1BC08_6, arg_1BC08_7, arg_1BC08_8, arg_1BC08_9, arg_1BC08_10, arg_1BC08_11, arg_1BC08_12, arg_1BC08_13, arg_1BC08_14, array)); xEn.xRenderComponent.dixAnimations[13].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1BCB0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1BCB0_1 = 14; ushort arg_1BCAB_0 = 14; byte arg_1BCAB_1 = 1; Texture2D arg_1BCAB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Fly/Right"); Vector2 arg_1BCAB_3 = new Vector2(37f, 43f); int arg_1BCAB_4 = 4; int arg_1BCAB_5 = 9; int arg_1BCAB_6 = 90; int arg_1BCAB_7 = 53; int arg_1BCAB_8 = 0; int arg_1BCAB_9 = 0; int arg_1BCAB_10 = 14; Animation.LoopSettings arg_1BCAB_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_1BCAB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1BCAB_13 = true; bool arg_1BCAB_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1BCA8_0 = array; int arg_1BCA8_1 = 0; AnimInsCriteria arg_1BCA3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_1BC9E_0 = AnimInsEvent.EventType.PlaySound; string arg_1BC9E_1 = "Pecco_WingFlap"; array6 = new float[1]; arg_1BCA8_0[arg_1BCA8_1] = new AnimationInstruction(arg_1BCA3_0, new AnimInsEvent(arg_1BC9E_0, arg_1BC9E_1, array6)); arg_1BCB0_0.Add(arg_1BCB0_1, new Animation(arg_1BCAB_0, arg_1BCAB_1, arg_1BCAB_2, arg_1BCAB_3, arg_1BCAB_4, arg_1BCAB_5, arg_1BCAB_6, arg_1BCAB_7, arg_1BCAB_8, arg_1BCAB_9, arg_1BCAB_10, arg_1BCAB_11, arg_1BCAB_12, arg_1BCAB_13, arg_1BCAB_14, array)); Dictionary<ushort, Animation> arg_1BD3B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1BD3B_1 = 15; ushort arg_1BD36_0 = 15; byte arg_1BD36_1 = 3; Texture2D arg_1BD36_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Fly/Right"); Vector2 arg_1BD36_3 = new Vector2(56f, 43f); int arg_1BD36_4 = 4; int arg_1BD36_5 = 9; int arg_1BD36_6 = 90; int arg_1BD36_7 = 53; int arg_1BD36_8 = 0; int arg_1BD36_9 = 0; int arg_1BD36_10 = 14; Animation.LoopSettings arg_1BD36_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_1BD36_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1BD36_13 = true; bool arg_1BD36_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1BD33_0 = array; int arg_1BD33_1 = 0; AnimInsCriteria arg_1BD2E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_1BD29_0 = AnimInsEvent.EventType.PlaySound; string arg_1BD29_1 = "Pecco_WingFlap"; array6 = new float[1]; arg_1BD33_0[arg_1BD33_1] = new AnimationInstruction(arg_1BD2E_0, new AnimInsEvent(arg_1BD29_0, arg_1BD29_1, array6)); arg_1BD3B_0.Add(arg_1BD3B_1, new Animation(arg_1BD36_0, arg_1BD36_1, arg_1BD36_2, arg_1BD36_3, arg_1BD36_4, arg_1BD36_5, arg_1BD36_6, arg_1BD36_7, arg_1BD36_8, arg_1BD36_9, arg_1BD36_10, arg_1BD36_11, arg_1BD36_12, arg_1BD36_13, arg_1BD36_14, array)); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1BEC0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1BEC0_1 = 16; ushort arg_1BEBB_0 = 16; byte arg_1BEBB_1 = 1; Texture2D arg_1BEBB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Land/Right"); Vector2 arg_1BEBB_3 = new Vector2(29f, 47f); int arg_1BEBB_4 = 5; int arg_1BEBB_5 = 7; int arg_1BEBB_6 = 75; int arg_1BEBB_7 = 53; int arg_1BEBB_8 = 0; int arg_1BEBB_9 = 0; int arg_1BEBB_10 = 14; Animation.LoopSettings arg_1BEBB_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1BEBB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1BEBB_13 = true; bool arg_1BEBB_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 4f })); AnimationInstruction[] arg_1BE4D_0 = array; int arg_1BE4D_1 = 2; AnimInsCriteria arg_1BE48_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1BE43_0 = AnimInsEvent.EventType.PlaySound; string arg_1BE43_1 = "Pecco_Land"; array6 = new float[1]; arg_1BE4D_0[arg_1BE4D_1] = new AnimationInstruction(arg_1BE48_0, new AnimInsEvent(arg_1BE43_0, arg_1BE43_1, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); arg_1BEC0_0.Add(arg_1BEC0_1, new Animation(arg_1BEBB_0, arg_1BEBB_1, arg_1BEBB_2, arg_1BEBB_3, arg_1BEBB_4, arg_1BEBB_5, arg_1BEBB_6, arg_1BEBB_7, arg_1BEBB_8, arg_1BEBB_9, arg_1BEBB_10, arg_1BEBB_11, arg_1BEBB_12, arg_1BEBB_13, arg_1BEBB_14, array)); Dictionary<ushort, Animation> arg_1C02D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1C02D_1 = 17; ushort arg_1C028_0 = 17; byte arg_1C028_1 = 3; Texture2D arg_1C028_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Land/Right"); Vector2 arg_1C028_3 = new Vector2(46f, 47f); int arg_1C028_4 = 5; int arg_1C028_5 = 7; int arg_1C028_6 = 75; int arg_1C028_7 = 53; int arg_1C028_8 = 0; int arg_1C028_9 = 0; int arg_1C028_10 = 14; Animation.LoopSettings arg_1C028_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1C028_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1C028_13 = true; bool arg_1C028_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 4f })); AnimationInstruction[] arg_1BFBA_0 = array; int arg_1BFBA_1 = 2; AnimInsCriteria arg_1BFB5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1BFB0_0 = AnimInsEvent.EventType.PlaySound; string arg_1BFB0_1 = "Pecco_Land"; array6 = new float[1]; arg_1BFBA_0[arg_1BFBA_1] = new AnimationInstruction(arg_1BFB5_0, new AnimInsEvent(arg_1BFB0_0, arg_1BFB0_1, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); arg_1C02D_0.Add(arg_1C02D_1, new Animation(arg_1C028_0, arg_1C028_1, arg_1C028_2, arg_1C028_3, arg_1C028_4, arg_1C028_5, arg_1C028_6, arg_1C028_7, arg_1C028_8, arg_1C028_9, arg_1C028_10, arg_1C028_11, arg_1C028_12, arg_1C028_13, arg_1C028_14, array)); xEn.xRenderComponent.dixAnimations[17].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1C1C8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1C1C8_1 = 18; ushort arg_1C1C3_0 = 18; byte arg_1C1C3_1 = 1; Texture2D arg_1C1C3_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Sand/Right"); Vector2 arg_1C1C3_3 = new Vector2(30f, 36f); int arg_1C1C3_4 = 4; int arg_1C1C3_5 = 20; int arg_1C1C3_6 = 52; int arg_1C1C3_7 = 42; int arg_1C1C3_8 = 0; int arg_1C1C3_9 = 0; int arg_1C1C3_10 = 20; Animation.LoopSettings arg_1C1C3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1C1C3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1C1C3_13 = true; bool arg_1C1C3_14 = true; array = new AnimationInstruction[5]; AnimationInstruction[] arg_1C0CC_0 = array; int arg_1C0CC_1 = 0; AnimInsCriteria arg_1C0C7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }); AnimInsEvent.EventType arg_1C0C2_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[2]; array6[0] = 5f; arg_1C0CC_0[arg_1C0CC_1] = new AnimationInstruction(arg_1C0C7_0, new AnimInsEvent(arg_1C0C2_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f, 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 13f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f, 1f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 17f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f, 2f })); AnimationInstruction[] arg_1C1C0_0 = array; int arg_1C1C0_1 = 4; AnimInsCriteria arg_1C1BB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1C1B6_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1C1C0_0[arg_1C1C0_1] = new AnimationInstruction(arg_1C1BB_0, new AnimInsEvent(arg_1C1B6_0, array6)); arg_1C1C8_0.Add(arg_1C1C8_1, new Animation(arg_1C1C3_0, arg_1C1C3_1, arg_1C1C3_2, arg_1C1C3_3, arg_1C1C3_4, arg_1C1C3_5, arg_1C1C3_6, arg_1C1C3_7, arg_1C1C3_8, arg_1C1C3_9, arg_1C1C3_10, arg_1C1C3_11, arg_1C1C3_12, arg_1C1C3_13, arg_1C1C3_14, array)); Dictionary<ushort, Animation> arg_1C354_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1C354_1 = 19; ushort arg_1C34F_0 = 19; byte arg_1C34F_1 = 3; Texture2D arg_1C34F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Sand/Right"); Vector2 arg_1C34F_3 = new Vector2(22f, 36f); int arg_1C34F_4 = 4; int arg_1C34F_5 = 20; int arg_1C34F_6 = 52; int arg_1C34F_7 = 42; int arg_1C34F_8 = 0; int arg_1C34F_9 = 0; int arg_1C34F_10 = 20; Animation.LoopSettings arg_1C34F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1C34F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1C34F_13 = true; bool arg_1C34F_14 = true; array = new AnimationInstruction[5]; AnimationInstruction[] arg_1C24F_0 = array; int arg_1C24F_1 = 0; AnimInsCriteria arg_1C24A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }); AnimInsEvent.EventType arg_1C245_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[2]; array6[0] = 5f; arg_1C24F_0[arg_1C24F_1] = new AnimationInstruction(arg_1C24A_0, new AnimInsEvent(arg_1C245_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f, 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 13f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f, 1f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 17f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f, 2f })); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_1C354_0.Add(arg_1C354_1, new Animation(arg_1C34F_0, arg_1C34F_1, arg_1C34F_2, arg_1C34F_3, arg_1C34F_4, arg_1C34F_5, arg_1C34F_6, arg_1C34F_7, arg_1C34F_8, arg_1C34F_9, arg_1C34F_10, arg_1C34F_11, arg_1C34F_12, arg_1C34F_13, arg_1C34F_14, array)); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead = new AnimatedRenderComponent(xEn); mos2.xRCHead.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Up"), new Vector2(9f, 13f), 4, 1, 15, 25, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/UpRight"), new Vector2(11f, 11f), 4, 1, 25, 26, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[2] = new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Right"), new Vector2(11f, 13f), 4, 1, 33, 33, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[3] = new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/DownRight"), new Vector2(9f, 14f), 4, 1, 24, 33, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[4] = new Animation(4, 4, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Down"), new Vector2(8f, 11f), 4, 1, 15, 32, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[5] = new Animation(5, 5, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/DownRight"), new Vector2(15f, 14f), 4, 1, 24, 33, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[6] = new Animation(6, 6, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Right"), new Vector2(21f, 13f), 4, 1, 33, 33, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[7] = new Animation(7, 7, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/UpRight"), new Vector2(14f, 11f), 4, 1, 25, 26, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[6].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[8] = new Animation(8, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Up"), new Vector2(9f, 13f), 4, 1, 15, 25, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[9] = new Animation(9, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/UpRight"), new Vector2(8f, 11f), 4, 1, 25, 26, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[10] = new Animation(10, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Right"), new Vector2(11f, 13f), 4, 2, 33, 33, 33, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[11] = new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/DownRight"), new Vector2(9f, 14f), 4, 3, 24, 33, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[12] = new Animation(12, 4, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Down"), new Vector2(8f, 11f), 4, 3, 15, 32, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[13] = new Animation(13, 5, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/DownRight"), new Vector2(15f, 14f), 4, 3, 24, 33, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[14] = new Animation(14, 6, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Right"), new Vector2(21f, 13f), 4, 2, 33, 33, 33, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[15] = new Animation(15, 7, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/UpRight"), new Vector2(17f, 11f), 4, 1, 25, 26, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); mos2.xRCHead.dixAnimations[13].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[14].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1C964_0 = mos2.xRCHead.dixAnimations; ushort arg_1C964_1 = 16; ushort arg_1C95F_0 = 16; byte arg_1C95F_1 = 0; Texture2D arg_1C95F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Up"); Vector2 arg_1C95F_3 = new Vector2(9f, 13f); int arg_1C95F_4 = 6; int arg_1C95F_5 = 1; int arg_1C95F_6 = 15; int arg_1C95F_7 = 25; int arg_1C95F_8 = 0; int arg_1C95F_9 = 0; int arg_1C95F_10 = 14; Animation.LoopSettings arg_1C95F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1C95F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1C95F_13 = true; bool arg_1C95F_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1C95C_0 = array; int arg_1C95C_1 = 0; AnimInsCriteria arg_1C957_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1C952_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1C95C_0[arg_1C95C_1] = new AnimationInstruction(arg_1C957_0, new AnimInsEvent(arg_1C952_0, array6)); arg_1C964_0[arg_1C964_1] = new Animation(arg_1C95F_0, arg_1C95F_1, arg_1C95F_2, arg_1C95F_3, arg_1C95F_4, arg_1C95F_5, arg_1C95F_6, arg_1C95F_7, arg_1C95F_8, arg_1C95F_9, arg_1C95F_10, arg_1C95F_11, arg_1C95F_12, arg_1C95F_13, arg_1C95F_14, array); mos2.xRCHead.dixAnimations[17] = new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/UpRight"), new Vector2(8f, 11f), 6, 1, 25, 26, 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 })) }); mos2.xRCHead.dixAnimations[18] = new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Right"), new Vector2(11f, 13f), 6, 3, 33, 33, 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[] { 2f })) }); mos2.xRCHead.dixAnimations[19] = new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/DownRight"), new Vector2(9f, 14f), 6, 3, 24, 33, 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[] { 3f })) }); mos2.xRCHead.dixAnimations[20] = new Animation(20, 4, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Down"), new Vector2(8f, 11f), 6, 3, 15, 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[] { 4f })) }); mos2.xRCHead.dixAnimations[21] = new Animation(21, 5, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/DownRight"), new Vector2(15f, 14f), 6, 3, 24, 33, 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[] { 5f })) }); mos2.xRCHead.dixAnimations[22] = new Animation(22, 6, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Right"), new Vector2(21f, 13f), 6, 3, 33, 33, 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[] { 6f })) }); mos2.xRCHead.dixAnimations[23] = new Animation(23, 7, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/UpRight"), new Vector2(17f, 11f), 6, 1, 25, 26, 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[] { 7f })) }); mos2.xRCHead.dixAnimations[21].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[22].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[16].bReversePlayback = true; mos2.xRCHead.dixAnimations[17].bReversePlayback = true; mos2.xRCHead.dixAnimations[18].bReversePlayback = true; mos2.xRCHead.dixAnimations[19].bReversePlayback = true; mos2.xRCHead.dixAnimations[20].bReversePlayback = true; mos2.xRCHead.dixAnimations[21].bReversePlayback = true; mos2.xRCHead.dixAnimations[22].bReversePlayback = true; mos2.xRCHead.dixAnimations[23].bReversePlayback = true; mos2.xRCHead.fAlpha = 0f; mos2.xRCHead.dixAnimations[100] = new Animation(100, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Damage"), new Vector2(13f, 11f), 4, 1, 35, 19, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 101f })) }); mos2.xRCHead.dixAnimations[101] = new Animation(101, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Damage"), new Vector2(21f, 11f), 4, 1, 35, 19, 0, 0, 14, Animation.LoopSettings.Looping, 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 })) }); mos2.xRCHead.dixAnimations[102] = new Animation(102, 6, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Damage"), new Vector2(13f, 11f), 4, 1, 35, 19, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 103f })) }); mos2.xRCHead.dixAnimations[103] = new Animation(103, 6, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Damage"), new Vector2(21f, 11f), 4, 1, 35, 19, 0, 0, 14, Animation.LoopSettings.Looping, 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 })) }); mos2.xRCHead.dixAnimations[101].bReversePlayback = true; mos2.xRCHead.dixAnimations[102].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[103].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[103].bReversePlayback = true; mos2.xRCHead.dixAnimations[104] = new Animation(104, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Pakaa"), new Vector2(8f, 11f), 4, 1, 15, 30, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 105f })) }); mos2.xRCHead.dixAnimations[105] = new Animation(105, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Pakaa"), new Vector2(8f, 11f), 4, 1, 15, 30, 0, 0, 14, Animation.LoopSettings.Looping, 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 })) }); mos2.xRCHead.dixAnimations[106] = new Animation(106, 6, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Pakaa"), new Vector2(8f, 11f), 4, 1, 15, 30, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 107f })) }); mos2.xRCHead.dixAnimations[107] = new Animation(107, 6, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Head/Pakaa"), new Vector2(8f, 11f), 4, 1, 15, 30, 0, 0, 14, Animation.LoopSettings.Looping, 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 })) }); mos2.xRCHead.dixAnimations[105].bReversePlayback = true; mos2.xRCHead.dixAnimations[106].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[107].enSpriteEffect = SpriteEffects.FlipHorizontally; mos2.xRCHead.dixAnimations[107].bReversePlayback = true; mos2.xRCHead.xTransform = xEn.xTransform; mos2.xRCHead.v2OffsetRenderPos = new Vector2(30f, -29f); mos2.xRCHead.SwitchAnimation(0, Animation.CancelOptions.IgnoreIfPlaying); mos2.xRCHead.fVirtualHeight = 2f; mos2.AttachNeckOffsets(0, new Vector2[] { new Vector2(14f, -22f), new Vector2(13f, -23f), new Vector2(13f, -24f), new Vector2(13f, -24f), new Vector2(13f, -24f), new Vector2(13f, -24f), new Vector2(14f, -23f), new Vector2(14f, -21f), new Vector2(14f, -20f), new Vector2(14f, -20f), new Vector2(14f, -20f), new Vector2(14f, -21f) }); mos2.AttachNeckOffsets(1, new Vector2[] { new Vector2(-14f, -22f), new Vector2(-13f, -23f), new Vector2(-13f, -24f), new Vector2(-13f, -24f), new Vector2(-13f, -24f), new Vector2(-13f, -24f), new Vector2(-14f, -23f), new Vector2(-14f, -21f), new Vector2(-14f, -20f), new Vector2(-14f, -20f), new Vector2(-14f, -20f), new Vector2(-14f, -21f) }); mos2.AttachNeckOffsets(2, new Vector2[] { new Vector2(13f, -22f), new Vector2(13f, -22f), new Vector2(11f, -25f), new Vector2(7f, -26f), new Vector2(6f, -27f), new Vector2(6f, -27f), new Vector2(11f, -25f), new Vector2(20f, -19f), new Vector2(20f, -19f), new Vector2(18f, -20f), new Vector2(14f, -22f) }); mos2.AttachNeckOffsets(3, new Vector2[] { new Vector2(-13f, -22f), new Vector2(-13f, -22f), new Vector2(-11f, -25f), new Vector2(-7f, -26f), new Vector2(-6f, -27f), new Vector2(-6f, -27f), new Vector2(-11f, -25f), new Vector2(-20f, -19f), new Vector2(-20f, -19f), new Vector2(-18f, -20f), new Vector2(-14f, -22f) }); mos2.AttachNeckOffsets(4, new Vector2[] { new Vector2(14f, -22f), new Vector2(12f, -22f), new Vector2(5f, -23f), new Vector2(-10f, -23f), new Vector2(-12f, -23f), new Vector2(-14f, -22f) }); mos2.AttachNeckOffsets(5, new Vector2[] { new Vector2(-14f, -22f), new Vector2(-12f, -22f), new Vector2(-5f, -23f), new Vector2(10f, -23f), new Vector2(12f, -23f), new Vector2(14f, -22f) }); mos2.AttachNeckOffsets(6, new Vector2[] { new Vector2(6f, -27f), new Vector2(6f, -27f), new Vector2(7f, -26f), new Vector2(11f, -25f), new Vector2(13f, -22f), new Vector2(13f, -22f) }); mos2.AttachNeckOffsets(7, new Vector2[] { new Vector2(-6f, -27f), new Vector2(-6f, -27f), new Vector2(-7f, -26f), new Vector2(-11f, -25f), new Vector2(-13f, -22f), new Vector2(-13f, -22f) }); mos2.AttachNeckOffsets(8, new Vector2[] { new Vector2(13f, -21f), new Vector2(15f, -22f), new Vector2(12f, -21f), new Vector2(13f, -22f), new Vector2(14f, -23f), new Vector2(14f, -22f), new Vector2(15f, -21f), new Vector2(14f, -23f) }); mos2.AttachNeckOffsets(9, new Vector2[] { new Vector2(-13f, -21f), new Vector2(-15f, -22f), new Vector2(-12f, -21f), new Vector2(-13f, -22f), new Vector2(-14f, -23f), new Vector2(-14f, -22f), new Vector2(-15f, -21f), new Vector2(-14f, -23f) }); mos2.AttachNeckOffsets(10, new Vector2[] { new Vector2(14f, -23f), new Vector2(15f, -21f), new Vector2(14f, -22f), new Vector2(14f, -23f), new Vector2(13f, -22f), new Vector2(12f, -21f), new Vector2(15f, -22f), new Vector2(13f, -21f) }); mos2.AttachNeckOffsets(11, new Vector2[] { new Vector2(-14f, -23f), new Vector2(-15f, -21f), new Vector2(-14f, -22f), new Vector2(-14f, -23f), new Vector2(-13f, -22f), new Vector2(-12f, -21f), new Vector2(-15f, -22f), new Vector2(-13f, -21f) }); mos2.AttachNeckOffsets(12, new Vector2[] { new Vector2(14f, -22f), new Vector2(14f, -21f), new Vector2(14f, -23f), new Vector2(13f, -25f), new Vector2(13f, -26f), new Vector2(13f, -26f), new Vector2(13f, -24f), new Vector2(15f, -22f), new Vector2(14f, -25f), new Vector2(15f, -26f) }); mos2.AttachNeckOffsets(13, new Vector2[] { new Vector2(-14f, -22f), new Vector2(-14f, -21f), new Vector2(-14f, -23f), new Vector2(-13f, -25f), new Vector2(-13f, -26f), new Vector2(-13f, -26f), new Vector2(-13f, -24f), new Vector2(-15f, -22f), new Vector2(-14f, -25f), new Vector2(-15f, -26f) }); mos2.AttachNeckOffsets(14, new Vector2[] { new Vector2(14f, -22f), new Vector2(15f, -22f), new Vector2(14f, -21f), new Vector2(14f, -20f), new Vector2(14f, -20f), new Vector2(14f, -20f), new Vector2(14f, -21f), new Vector2(14f, -22f), new Vector2(14f, -22f) }); mos2.AttachNeckOffsets(15, new Vector2[] { new Vector2(-14f, -22f), new Vector2(-15f, -22f), new Vector2(-14f, -21f), new Vector2(-14f, -20f), new Vector2(-14f, -20f), new Vector2(-14f, -20f), new Vector2(-14f, -21f), new Vector2(-14f, -22f), new Vector2(-14f, -22f) }); mos2.AttachNeckOffsets(16, new Vector2[] { new Vector2(15f, -24f), new Vector2(15f, -24f), new Vector2(14f, -25f), new Vector2(13f, -22f), new Vector2(14f, -20f), new Vector2(14f, -21f), new Vector2(14f, -22f) }); mos2.AttachNeckOffsets(17, new Vector2[] { new Vector2(-15f, -24f), new Vector2(-15f, -24f), new Vector2(-14f, -25f), new Vector2(-13f, -22f), new Vector2(-14f, -20f), new Vector2(-14f, -21f), new Vector2(-14f, -22f) }); mos2.AttachNeckOffsets(18, new Vector2[] { new Vector2(14f, -22f), new Vector2(15f, -19f), new Vector2(16f, -18f), new Vector2(16f, -18f), new Vector2(15f, -18f), new Vector2(14f, -18f), new Vector2(7f, -16f), new Vector2(6f, -16f), new Vector2(6f, -16f), new Vector2(8f, -16f), new Vector2(14f, -17f), new Vector2(16f, -18f), new Vector2(14f, -18f), new Vector2(7f, -16f), new Vector2(7f, -16f), new Vector2(7f, -16f), new Vector2(8f, -16f), new Vector2(8f, -16f), new Vector2(11f, -18f), new Vector2(12f, -20f) }); mos2.AttachNeckOffsets(19, new Vector2[] { new Vector2(-14f, -22f), new Vector2(-15f, -19f), new Vector2(-16f, -18f), new Vector2(-16f, -18f), new Vector2(-15f, -18f), new Vector2(-14f, -18f), new Vector2(-7f, -16f), new Vector2(-6f, -16f), new Vector2(-6f, -16f), new Vector2(-8f, -16f), new Vector2(-14f, -17f), new Vector2(-16f, -18f), new Vector2(-14f, -18f), new Vector2(-7f, -16f), new Vector2(-7f, -16f), new Vector2(-7f, -16f), new Vector2(-8f, -16f), new Vector2(-8f, -16f), new Vector2(-11f, -18f), new Vector2(-12f, -20f) }); mos2.xRCHead.SwitchAnimation(2, Animation.CancelOptions.IgnoreIfPlaying); mos2.xRCShadow = new StaticRenderComponent(Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Shadow"), xEn.xTransform); mos2.lxBallz.Add(null); mos2.lxBallz.Add(null); mos2.lxBallz.Add(null); mos2.lxBallz.Add(null); mos2.lxBallz.Add(null); for (int i = 4; i >= 0; i--) { mos2.lxBallz[i] = new StaticRenderComponent(Content.Load<Texture2D>(MONSTER_PATH + "Temple/Goose/Neck"), xEn.xTransform); mos2.lxBallz[i].fVirtualHeight += 1f; mos2.lxBallz[i].fAlpha = 0f; } mos2.lxBallz[0].v2OffsetRenderPos = new Vector2(12f, -22f); mos2.lxBallz[1].v2OffsetRenderPos = new Vector2(13f, -27f); mos2.lxBallz[2].v2OffsetRenderPos = new Vector2(15f, -30f); mos2.lxBallz[3].v2OffsetRenderPos = new Vector2(18f, -32f); mos2.lxBallz[4].v2OffsetRenderPos = new Vector2(21f, -30f); for (int j = 4; j >= 0; j--) { mos2.lv2RelaxBallPositions.Add(mos2.lxBallz[j].v2OffsetRenderPos); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(mos2.lxBallz[j]); } Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(mos2.xRCHead); xEn.sAttackPhaseCategory = "Birdie"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PoofEffectC; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(13f, Vector2.Zero, xEn.xTransform, 200000f, xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(14f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); mos2.OnUpdate(); } else if (enType == EnemyCodex.EnemyTypes.Guardian) { xEn.xBaseStats.fMovementSpeed = 2f; xEn.xBaseStats.iBaseDEF = GameSessionData.iBaseDifficulty * 10; xEn.enType = enType; xEn.xBehaviour = new CrystalAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 0; xEn.aiHitAnimation[1] = 1; xEn.aiHitAnimation[2] = 2; xEn.aiHitAnimation[3] = 3; xEn.xBaseStats.bCanBeKnockedUp = false; xEn.bAutoSwitchToHitAnimation = false; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Idle/Green"), new Vector2(10f, 46f), 4, 12, 19, 50, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_1EE3B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1EE3B_1 = 1; ushort arg_1EE36_0 = 1; byte arg_1EE36_1 = 2; Texture2D arg_1EE36_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Beam/Start"); Vector2 arg_1EE36_3 = new Vector2(15f, 49f); int arg_1EE36_4 = 4; int arg_1EE36_5 = 20; int arg_1EE36_6 = 29; int arg_1EE36_7 = 53; int arg_1EE36_8 = 0; int arg_1EE36_9 = 0; int arg_1EE36_10 = 22; Animation.LoopSettings arg_1EE36_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1EE36_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1EE36_13 = true; bool arg_1EE36_14 = true; AnimationInstruction[] array = new AnimationInstruction[3]; AnimationInstruction[] arg_1EDD2_0 = array; int arg_1EDD2_1 = 0; AnimInsCriteria arg_1EDCD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1EDC8_0 = AnimInsEvent.EventType.PlaySound; string arg_1EDC8_1 = "Guardian_LaserBeamStart"; float[] array6 = new float[1]; arg_1EDD2_0[arg_1EDD2_1] = new AnimationInstruction(arg_1EDCD_0, new AnimInsEvent(arg_1EDC8_0, arg_1EDC8_1, array6)); AnimationInstruction[] arg_1EE05_0 = array; int arg_1EE05_1 = 1; AnimInsCriteria arg_1EE00_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 19f }); AnimInsEvent.EventType arg_1EDFB_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_1EE05_0[arg_1EE05_1] = new AnimationInstruction(arg_1EE00_0, new AnimInsEvent(arg_1EDFB_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_1EE3B_0.Add(arg_1EE3B_1, new Animation(arg_1EE36_0, arg_1EE36_1, arg_1EE36_2, arg_1EE36_3, arg_1EE36_4, arg_1EE36_5, arg_1EE36_6, arg_1EE36_7, arg_1EE36_8, arg_1EE36_9, arg_1EE36_10, arg_1EE36_11, arg_1EE36_12, arg_1EE36_13, arg_1EE36_14, array)); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Beam/Idle"), new Vector2(10f, 46f), 4, 4, 19, 50, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(100, new Animation(100, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Idle/Blue"), new Vector2(10f, 46f), 4, 12, 19, 50, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_1EFBD_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1EFBD_1 = 101; ushort arg_1EFB8_0 = 101; byte arg_1EFB8_1 = 2; Texture2D arg_1EFB8_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Shield/Right"); Vector2 arg_1EFB8_3 = new Vector2(13f, 46f); int arg_1EFB8_4 = 4; int arg_1EFB8_5 = 7; int arg_1EFB8_6 = 25; int arg_1EFB8_7 = 50; int arg_1EFB8_8 = 0; int arg_1EFB8_9 = 0; int arg_1EFB8_10 = 20; Animation.LoopSettings arg_1EFB8_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1EFB8_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1EFB8_13 = true; bool arg_1EFB8_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_1EF4B_0 = array; int arg_1EF4B_1 = 0; AnimInsCriteria arg_1EF46_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_1EF41_0 = AnimInsEvent.EventType.PlaySound; string arg_1EF41_1 = "Guardian_ShieldLaunchStart"; array6 = new float[1]; arg_1EF4B_0[arg_1EF4B_1] = new AnimationInstruction(arg_1EF46_0, new AnimInsEvent(arg_1EF41_0, arg_1EF41_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 100f })); arg_1EFBD_0.Add(arg_1EFBD_1, new Animation(arg_1EFB8_0, arg_1EFB8_1, arg_1EFB8_2, arg_1EFB8_3, arg_1EFB8_4, arg_1EFB8_5, arg_1EFB8_6, arg_1EFB8_7, arg_1EFB8_8, arg_1EFB8_9, arg_1EFB8_10, arg_1EFB8_11, arg_1EFB8_12, arg_1EFB8_13, arg_1EFB8_14, array)); Dictionary<ushort, Animation> arg_1F075_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1F075_1 = 102; ushort arg_1F070_0 = 102; byte arg_1F070_1 = 2; Texture2D arg_1F070_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Shield/Start"); Vector2 arg_1F070_3 = new Vector2(13f, 49f); int arg_1F070_4 = 4; int arg_1F070_5 = 3; int arg_1F070_6 = 25; int arg_1F070_7 = 53; int arg_1F070_8 = 0; int arg_1F070_9 = 0; int arg_1F070_10 = 20; Animation.LoopSettings arg_1F070_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1F070_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1F070_13 = true; bool arg_1F070_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1F03F_0 = array; int arg_1F03F_1 = 0; AnimInsCriteria arg_1F03A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_1F035_0 = AnimInsEvent.EventType.PlaySound; string arg_1F035_1 = "Guardian_ColorChange"; array6 = new float[1]; arg_1F03F_0[arg_1F03F_1] = new AnimationInstruction(arg_1F03A_0, new AnimInsEvent(arg_1F035_0, arg_1F035_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 103f })); arg_1F075_0.Add(arg_1F075_1, new Animation(arg_1F070_0, arg_1F070_1, arg_1F070_2, arg_1F070_3, arg_1F070_4, arg_1F070_5, arg_1F070_6, arg_1F070_7, arg_1F070_8, arg_1F070_9, arg_1F070_10, arg_1F070_11, arg_1F070_12, arg_1F070_13, arg_1F070_14, array)); xEn.xRenderComponent.dixAnimations.Add(103, new Animation(103, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Shield/Idle"), new Vector2(13f, 49f), 4, 12, 25, 53, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(104, new Animation(104, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Shield/End"), new Vector2(13f, 49f), 4, 4, 25, 53, 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[] { 100f })) })); xEn.xRenderComponent.dixAnimations.Add(200, new Animation(200, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Idle/Purple"), new Vector2(10f, 46f), 4, 12, 19, 50, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_1F294_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1F294_1 = 201; ushort arg_1F28F_0 = 201; byte arg_1F28F_1 = 2; Texture2D arg_1F28F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/ForceField/Start"); Vector2 arg_1F28F_3 = new Vector2(13f, 49f); int arg_1F28F_4 = 4; int arg_1F28F_5 = 15; int arg_1F28F_6 = 25; int arg_1F28F_7 = 53; int arg_1F28F_8 = 0; int arg_1F28F_9 = 0; int arg_1F28F_10 = 20; Animation.LoopSettings arg_1F28F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1F28F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1F28F_13 = true; bool arg_1F28F_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_1F222_0 = array; int arg_1F222_1 = 0; AnimInsCriteria arg_1F21D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1F218_0 = AnimInsEvent.EventType.PlaySound; string arg_1F218_1 = "Guardian_GravityFieldCasting"; array6 = new float[1]; arg_1F222_0[arg_1F222_1] = new AnimationInstruction(arg_1F21D_0, new AnimInsEvent(arg_1F218_0, arg_1F218_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 202f })); arg_1F294_0.Add(arg_1F294_1, new Animation(arg_1F28F_0, arg_1F28F_1, arg_1F28F_2, arg_1F28F_3, arg_1F28F_4, arg_1F28F_5, arg_1F28F_6, arg_1F28F_7, arg_1F28F_8, arg_1F28F_9, arg_1F28F_10, arg_1F28F_11, arg_1F28F_12, arg_1F28F_13, arg_1F28F_14, array)); xEn.xRenderComponent.dixAnimations.Add(202, new Animation(202, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/ForceField/Idle"), new Vector2(13f, 49f), 4, 12, 25, 53, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_1F3A7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1F3A7_1 = 203; ushort arg_1F3A2_0 = 203; byte arg_1F3A2_1 = 2; Texture2D arg_1F3A2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/ForceField/End"); Vector2 arg_1F3A2_3 = new Vector2(13f, 53f); int arg_1F3A2_4 = 4; int arg_1F3A2_5 = 4; int arg_1F3A2_6 = 25; int arg_1F3A2_7 = 57; int arg_1F3A2_8 = 0; int arg_1F3A2_9 = 0; int arg_1F3A2_10 = 20; Animation.LoopSettings arg_1F3A2_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1F3A2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1F3A2_13 = true; bool arg_1F3A2_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1F371_0 = array; int arg_1F371_1 = 0; AnimInsCriteria arg_1F36C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1F367_0 = AnimInsEvent.EventType.PlaySound; string arg_1F367_1 = "Guardian_FlickOffLight"; array6 = new float[1]; arg_1F371_0[arg_1F371_1] = new AnimationInstruction(arg_1F36C_0, new AnimInsEvent(arg_1F367_0, arg_1F367_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 200f })); arg_1F3A7_0.Add(arg_1F3A7_1, new Animation(arg_1F3A2_0, arg_1F3A2_1, arg_1F3A2_2, arg_1F3A2_3, arg_1F3A2_4, arg_1F3A2_5, arg_1F3A2_6, arg_1F3A2_7, arg_1F3A2_8, arg_1F3A2_9, arg_1F3A2_10, arg_1F3A2_11, arg_1F3A2_12, arg_1F3A2_13, arg_1F3A2_14, array)); Dictionary<ushort, Animation> arg_1F47B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1F47B_1 = 10002; ushort arg_1F476_0 = 10002; byte arg_1F476_1 = 2; Texture2D arg_1F476_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Death/Death"); Vector2 arg_1F476_3 = new Vector2(29f, 48f); int arg_1F476_4 = 4; int arg_1F476_5 = 7; int arg_1F476_6 = 58; int arg_1F476_7 = 52; int arg_1F476_8 = 0; int arg_1F476_9 = 0; int arg_1F476_10 = 16; Animation.LoopSettings arg_1F476_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1F476_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1F476_13 = false; bool arg_1F476_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])); AnimationInstruction[] arg_1F451_0 = array; int arg_1F451_1 = 1; AnimInsCriteria arg_1F44C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1F447_0 = AnimInsEvent.EventType.PlaySound; string arg_1F447_1 = "Guardian_Dead"; array6 = new float[1]; arg_1F451_0[arg_1F451_1] = new AnimationInstruction(arg_1F44C_0, new AnimInsEvent(arg_1F447_0, arg_1F447_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])); arg_1F47B_0.Add(arg_1F47B_1, new Animation(arg_1F476_0, arg_1F476_1, arg_1F476_2, arg_1F476_3, arg_1F476_4, arg_1F476_5, arg_1F476_6, arg_1F476_7, arg_1F476_8, arg_1F476_9, arg_1F476_10, arg_1F476_11, arg_1F476_12, arg_1F476_13, arg_1F476_14, array)); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Death/Death"), new Vector2(29f, 48f), 4, 1, 58, 52, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Death/Death"), new Vector2(29f, 48f), 4, 1, 58, 52, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Death/Death"), new Vector2(29f, 48f), 4, 1, 58, 52, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Death/Death"), new Vector2(29f, 48f), 4, 1, 58, 52, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations.Add(40004, new Animation(40004, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Death/Death"), new Vector2(29f, 48f), 4, 1, 58, 52, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Death/Death"), new Vector2(29f, 48f), 4, 1, 58, 52, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Death/Death"), new Vector2(29f, 48f), 4, 1, 58, 52, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Crystal/Death/Death"), new Vector2(29f, 48f), 4, 1, 58, 52, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Scarecrow"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.CrystalDeath; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 100f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.BrawlerBot) { xEn.xBaseStats.fMovementSpeed = 2f; xEn.xBaseStats.iBaseDEF = GameSessionData.iBaseDifficulty * 10; xEn.enType = enType; xEn.xBehaviour = new BrawlerBotAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 8; xEn.aiHitAnimation[1] = 9; xEn.aiHitAnimation[2] = 10; xEn.aiHitAnimation[3] = 11; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.bAutoSwitchToHitAnimation = true; xEn.bDontAutoKillAt0HP = true; (xEn.xBehaviour as BrawlerBotAI).xShadowRC = new StaticRenderComponent(Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Shadow"), new TransformComponent(Vector2.Zero)); xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.ExplosionRed; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Idle/Up"), new Vector2(17f, 29f), 4, 10, 33, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "BrawlerBot_Idle", new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Idle/Right"), new Vector2(16f, 29f), 4, 10, 31, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "BrawlerBot_Idle", new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Idle/Down"), new Vector2(17f, 29f), 4, 10, 33, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "BrawlerBot_Idle", new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Idle/Right"), new Vector2(15f, 29f), 4, 10, 31, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "BrawlerBot_Idle", new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_1FDAD_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1FDAD_1 = 4; ushort arg_1FDA8_0 = 4; byte arg_1FDA8_1 = 0; Texture2D arg_1FDA8_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Attack/Up"); Vector2 arg_1FDA8_3 = new Vector2(17f, 36f); int arg_1FDA8_4 = 4; int arg_1FDA8_5 = 12; int arg_1FDA8_6 = 33; int arg_1FDA8_7 = 40; int arg_1FDA8_8 = 0; int arg_1FDA8_9 = 0; int arg_1FDA8_10 = 20; Animation.LoopSettings arg_1FDA8_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1FDA8_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1FDA8_13 = false; bool arg_1FDA8_14 = true; AnimationInstruction[] array = new AnimationInstruction[4]; AnimationInstruction[] arg_1FCF8_0 = array; int arg_1FCF8_1 = 0; AnimInsCriteria arg_1FCF3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_1FCEE_0 = AnimInsEvent.EventType.PlaySound; string arg_1FCEE_1 = "BrawlerBot_Attack"; float[] array6 = new float[1]; arg_1FCF8_0[arg_1FCF8_1] = new AnimationInstruction(arg_1FCF3_0, new AnimInsEvent(arg_1FCEE_0, arg_1FCEE_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 6f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -10f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 8f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -5f })); AnimationInstruction[] arg_1FDA5_0 = array; int arg_1FDA5_1 = 3; AnimInsCriteria arg_1FDA0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1FD9B_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_1FDA5_0[arg_1FDA5_1] = new AnimationInstruction(arg_1FDA0_0, new AnimInsEvent(arg_1FD9B_0, array6)); arg_1FDAD_0.Add(arg_1FDAD_1, new Animation(arg_1FDA8_0, arg_1FDA8_1, arg_1FDA8_2, arg_1FDA8_3, arg_1FDA8_4, arg_1FDA8_5, arg_1FDA8_6, arg_1FDA8_7, arg_1FDA8_8, arg_1FDA8_9, arg_1FDA8_10, arg_1FDA8_11, arg_1FDA8_12, arg_1FDA8_13, arg_1FDA8_14, array)); Dictionary<ushort, Animation> arg_1FEEC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_1FEEC_1 = 5; ushort arg_1FEE7_0 = 5; byte arg_1FEE7_1 = 1; Texture2D arg_1FEE7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Attack/Right"); Vector2 arg_1FEE7_3 = new Vector2(23f, 28f); int arg_1FEE7_4 = 4; int arg_1FEE7_5 = 12; int arg_1FEE7_6 = 45; int arg_1FEE7_7 = 31; int arg_1FEE7_8 = 0; int arg_1FEE7_9 = 0; int arg_1FEE7_10 = 20; Animation.LoopSettings arg_1FEE7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1FEE7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1FEE7_13 = false; bool arg_1FEE7_14 = true; array = new AnimationInstruction[4]; AnimationInstruction[] arg_1FE2E_0 = array; int arg_1FE2E_1 = 0; AnimInsCriteria arg_1FE29_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_1FE24_0 = AnimInsEvent.EventType.PlaySound; string arg_1FE24_1 = "BrawlerBot_Attack"; array6 = new float[1]; arg_1FE2E_0[arg_1FE2E_1] = new AnimationInstruction(arg_1FE29_0, new AnimInsEvent(arg_1FE24_0, arg_1FE24_1, array6)); AnimationInstruction[] arg_1FE72_0 = array; int arg_1FE72_1 = 1; AnimInsCriteria arg_1FE6D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 6f, 7f }); AnimInsEvent.EventType arg_1FE68_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 10f; arg_1FE72_0[arg_1FE72_1] = new AnimationInstruction(arg_1FE6D_0, new AnimInsEvent(arg_1FE68_0, array6)); AnimationInstruction[] arg_1FEB6_0 = array; int arg_1FEB6_1 = 2; AnimInsCriteria arg_1FEB1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 8f, 9f }); AnimInsEvent.EventType arg_1FEAC_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 5f; arg_1FEB6_0[arg_1FEB6_1] = new AnimationInstruction(arg_1FEB1_0, new AnimInsEvent(arg_1FEAC_0, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_1FEEC_0.Add(arg_1FEEC_1, new Animation(arg_1FEE7_0, arg_1FEE7_1, arg_1FEE7_2, arg_1FEE7_3, arg_1FEE7_4, arg_1FEE7_5, arg_1FEE7_6, arg_1FEE7_7, arg_1FEE7_8, arg_1FEE7_9, arg_1FEE7_10, arg_1FEE7_11, arg_1FEE7_12, arg_1FEE7_13, arg_1FEE7_14, array)); Dictionary<ushort, Animation> arg_2002B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2002B_1 = 6; ushort arg_20026_0 = 6; byte arg_20026_1 = 2; Texture2D arg_20026_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Attack/Down"); Vector2 arg_20026_3 = new Vector2(18f, 29f); int arg_20026_4 = 4; int arg_20026_5 = 12; int arg_20026_6 = 35; int arg_20026_7 = 33; int arg_20026_8 = 0; int arg_20026_9 = 0; int arg_20026_10 = 20; Animation.LoopSettings arg_20026_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_20026_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_20026_13 = false; bool arg_20026_14 = true; array = new AnimationInstruction[4]; AnimationInstruction[] arg_1FF6D_0 = array; int arg_1FF6D_1 = 0; AnimInsCriteria arg_1FF68_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_1FF63_0 = AnimInsEvent.EventType.PlaySound; string arg_1FF63_1 = "BrawlerBot_Attack"; array6 = new float[1]; arg_1FF6D_0[arg_1FF6D_1] = new AnimationInstruction(arg_1FF68_0, new AnimInsEvent(arg_1FF63_0, arg_1FF63_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 6f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 10f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 8f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 5f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_2002B_0.Add(arg_2002B_1, new Animation(arg_20026_0, arg_20026_1, arg_20026_2, arg_20026_3, arg_20026_4, arg_20026_5, arg_20026_6, arg_20026_7, arg_20026_8, arg_20026_9, arg_20026_10, arg_20026_11, arg_20026_12, arg_20026_13, arg_20026_14, array)); Dictionary<ushort, Animation> arg_2016A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2016A_1 = 7; ushort arg_20165_0 = 7; byte arg_20165_1 = 3; Texture2D arg_20165_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Attack/Right"); Vector2 arg_20165_3 = new Vector2(23f, 28f); int arg_20165_4 = 4; int arg_20165_5 = 12; int arg_20165_6 = 45; int arg_20165_7 = 31; int arg_20165_8 = 0; int arg_20165_9 = 0; int arg_20165_10 = 20; Animation.LoopSettings arg_20165_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_20165_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_20165_13 = false; bool arg_20165_14 = true; array = new AnimationInstruction[4]; AnimationInstruction[] arg_200AC_0 = array; int arg_200AC_1 = 0; AnimInsCriteria arg_200A7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_200A2_0 = AnimInsEvent.EventType.PlaySound; string arg_200A2_1 = "BrawlerBot_Attack"; array6 = new float[1]; arg_200AC_0[arg_200AC_1] = new AnimationInstruction(arg_200A7_0, new AnimInsEvent(arg_200A2_0, arg_200A2_1, array6)); AnimationInstruction[] arg_200F0_0 = array; int arg_200F0_1 = 1; AnimInsCriteria arg_200EB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 6f, 7f }); AnimInsEvent.EventType arg_200E6_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -10f; arg_200F0_0[arg_200F0_1] = new AnimationInstruction(arg_200EB_0, new AnimInsEvent(arg_200E6_0, array6)); AnimationInstruction[] arg_20134_0 = array; int arg_20134_1 = 2; AnimInsCriteria arg_2012F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 8f, 9f }); AnimInsEvent.EventType arg_2012A_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -5f; arg_20134_0[arg_20134_1] = new AnimationInstruction(arg_2012F_0, new AnimInsEvent(arg_2012A_0, array6)); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_2016A_0.Add(arg_2016A_1, new Animation(arg_20165_0, arg_20165_1, arg_20165_2, arg_20165_3, arg_20165_4, arg_20165_5, arg_20165_6, arg_20165_7, arg_20165_8, arg_20165_9, arg_20165_10, arg_20165_11, arg_20165_12, arg_20165_13, arg_20165_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_20232_0 = xEn.xRenderComponent.dixAnimations; ushort arg_20232_1 = 8; ushort arg_2022D_0 = 8; byte arg_2022D_1 = 0; Texture2D arg_2022D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Damage/Up"); Vector2 arg_2022D_3 = new Vector2(17f, 25f); int arg_2022D_4 = 4; int arg_2022D_5 = 2; int arg_2022D_6 = 33; int arg_2022D_7 = 28; int arg_2022D_8 = 0; int arg_2022D_9 = 0; int arg_2022D_10 = 20; Animation.LoopSettings arg_2022D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2022D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2022D_13 = false; bool arg_2022D_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 12f })); AnimationInstruction[] arg_2022A_0 = array; int arg_2022A_1 = 1; AnimInsCriteria arg_20225_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_20220_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2022A_0[arg_2022A_1] = new AnimationInstruction(arg_20225_0, new AnimInsEvent(arg_20220_0, array6)); arg_20232_0.Add(arg_20232_1, new Animation(arg_2022D_0, arg_2022D_1, arg_2022D_2, arg_2022D_3, arg_2022D_4, arg_2022D_5, arg_2022D_6, arg_2022D_7, arg_2022D_8, arg_2022D_9, arg_2022D_10, arg_2022D_11, arg_2022D_12, arg_2022D_13, arg_2022D_14, array)); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Damage/Right"), new Vector2(21f, 27f), 4, 2, 39, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 12f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Damage/Down"), new Vector2(19f, 27f), 4, 2, 37, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 12f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Damage/Right"), new Vector2(18f, 27f), 4, 2, 39, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 12f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_20563_0 = xEn.xRenderComponent.dixAnimations; ushort arg_20563_1 = 12; ushort arg_2055E_0 = 12; byte arg_2055E_1 = 0; Texture2D arg_2055E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Attack/Up"); Vector2 arg_2055E_3 = new Vector2(17f, 36f); int arg_2055E_4 = 4; int arg_2055E_5 = 2; int arg_2055E_6 = 33; int arg_2055E_7 = 40; int arg_2055E_8 = 330; int arg_2055E_9 = 0; int arg_2055E_10 = 20; Animation.LoopSettings arg_2055E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2055E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2055E_13 = false; bool arg_2055E_14 = true; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 15f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 6f })); AnimationInstruction[] arg_2055B_0 = array; int arg_2055B_1 = 2; AnimInsCriteria arg_20556_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_20551_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2055B_0[arg_2055B_1] = new AnimationInstruction(arg_20556_0, new AnimInsEvent(arg_20551_0, array6)); arg_20563_0.Add(arg_20563_1, new Animation(arg_2055E_0, arg_2055E_1, arg_2055E_2, arg_2055E_3, arg_2055E_4, arg_2055E_5, arg_2055E_6, arg_2055E_7, arg_2055E_8, arg_2055E_9, arg_2055E_10, arg_2055E_11, arg_2055E_12, arg_2055E_13, arg_2055E_14, array)); Dictionary<ushort, Animation> arg_20651_0 = xEn.xRenderComponent.dixAnimations; ushort arg_20651_1 = 13; ushort arg_2064C_0 = 13; byte arg_2064C_1 = 1; Texture2D arg_2064C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Attack/Right"); Vector2 arg_2064C_3 = new Vector2(23f, 28f); int arg_2064C_4 = 4; int arg_2064C_5 = 2; int arg_2064C_6 = 45; int arg_2064C_7 = 31; int arg_2064C_8 = 450; int arg_2064C_9 = 0; int arg_2064C_10 = 20; Animation.LoopSettings arg_2064C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2064C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2064C_13 = false; bool arg_2064C_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_205DF_0 = array; int arg_205DF_1 = 0; AnimInsCriteria arg_205DA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_205D5_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -15f; arg_205DF_0[arg_205DF_1] = new AnimationInstruction(arg_205DA_0, new AnimInsEvent(arg_205D5_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 6f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_20651_0.Add(arg_20651_1, new Animation(arg_2064C_0, arg_2064C_1, arg_2064C_2, arg_2064C_3, arg_2064C_4, arg_2064C_5, arg_2064C_6, arg_2064C_7, arg_2064C_8, arg_2064C_9, arg_2064C_10, arg_2064C_11, arg_2064C_12, arg_2064C_13, arg_2064C_14, array)); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Attack/Down"), new Vector2(18f, 29f), 4, 2, 35, 33, 350, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 6f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); Dictionary<ushort, Animation> arg_2082D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2082D_1 = 15; ushort arg_20828_0 = 15; byte arg_20828_1 = 3; Texture2D arg_20828_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Attack/Right"); Vector2 arg_20828_3 = new Vector2(23f, 28f); int arg_20828_4 = 4; int arg_20828_5 = 2; int arg_20828_6 = 45; int arg_20828_7 = 31; int arg_20828_8 = 450; int arg_20828_9 = 0; int arg_20828_10 = 20; Animation.LoopSettings arg_20828_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_20828_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_20828_13 = false; bool arg_20828_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_207BB_0 = array; int arg_207BB_1 = 0; AnimInsCriteria arg_207B6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_207B1_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 15f; arg_207BB_0[arg_207BB_1] = new AnimationInstruction(arg_207B6_0, new AnimInsEvent(arg_207B1_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 6f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_2082D_0.Add(arg_2082D_1, new Animation(arg_20828_0, arg_20828_1, arg_20828_2, arg_20828_3, arg_20828_4, arg_20828_5, arg_20828_6, arg_20828_7, arg_20828_8, arg_20828_9, arg_20828_10, arg_20828_11, arg_20828_12, arg_20828_13, arg_20828_14, array)); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_208F0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_208F0_1 = 16; ushort arg_208EB_0 = 16; byte arg_208EB_1 = 0; Texture2D arg_208EB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Up/Start"); Vector2 arg_208EB_3 = new Vector2(17f, 27f); int arg_208EB_4 = 4; int arg_208EB_5 = 1; int arg_208EB_6 = 33; int arg_208EB_7 = 32; int arg_208EB_8 = 0; int arg_208EB_9 = 0; int arg_208EB_10 = 20; Animation.LoopSettings arg_208EB_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_208EB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_208EB_13 = true; bool arg_208EB_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_208BA_0 = array; int arg_208BA_1 = 0; AnimInsCriteria arg_208B5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_208B0_0 = AnimInsEvent.EventType.PlaySound; string arg_208B0_1 = "BrawlerBot_DashStart"; array6 = new float[1]; arg_208BA_0[arg_208BA_1] = new AnimationInstruction(arg_208B5_0, new AnimInsEvent(arg_208B0_0, arg_208B0_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 20f })); arg_208F0_0.Add(arg_208F0_1, new Animation(arg_208EB_0, arg_208EB_1, arg_208EB_2, arg_208EB_3, arg_208EB_4, arg_208EB_5, arg_208EB_6, arg_208EB_7, arg_208EB_8, arg_208EB_9, arg_208EB_10, arg_208EB_11, arg_208EB_12, arg_208EB_13, arg_208EB_14, array)); Dictionary<ushort, Animation> arg_2099B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2099B_1 = 17; ushort arg_20996_0 = 17; byte arg_20996_1 = 1; Texture2D arg_20996_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Right/Start"); Vector2 arg_20996_3 = new Vector2(23f, 27f); int arg_20996_4 = 4; int arg_20996_5 = 1; int arg_20996_6 = 48; int arg_20996_7 = 30; int arg_20996_8 = 0; int arg_20996_9 = 0; int arg_20996_10 = 20; Animation.LoopSettings arg_20996_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_20996_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_20996_13 = true; bool arg_20996_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_20965_0 = array; int arg_20965_1 = 0; AnimInsCriteria arg_20960_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2095B_0 = AnimInsEvent.EventType.PlaySound; string arg_2095B_1 = "BrawlerBot_DashStart"; array6 = new float[1]; arg_20965_0[arg_20965_1] = new AnimationInstruction(arg_20960_0, new AnimInsEvent(arg_2095B_0, arg_2095B_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 21f })); arg_2099B_0.Add(arg_2099B_1, new Animation(arg_20996_0, arg_20996_1, arg_20996_2, arg_20996_3, arg_20996_4, arg_20996_5, arg_20996_6, arg_20996_7, arg_20996_8, arg_20996_9, arg_20996_10, arg_20996_11, arg_20996_12, arg_20996_13, arg_20996_14, array)); Dictionary<ushort, Animation> arg_20A46_0 = xEn.xRenderComponent.dixAnimations; ushort arg_20A46_1 = 18; ushort arg_20A41_0 = 18; byte arg_20A41_1 = 2; Texture2D arg_20A41_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Down/Start"); Vector2 arg_20A41_3 = new Vector2(18f, 26f); int arg_20A41_4 = 4; int arg_20A41_5 = 1; int arg_20A41_6 = 35; int arg_20A41_7 = 31; int arg_20A41_8 = 0; int arg_20A41_9 = 0; int arg_20A41_10 = 20; Animation.LoopSettings arg_20A41_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_20A41_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_20A41_13 = true; bool arg_20A41_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_20A10_0 = array; int arg_20A10_1 = 0; AnimInsCriteria arg_20A0B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_20A06_0 = AnimInsEvent.EventType.PlaySound; string arg_20A06_1 = "BrawlerBot_DashStart"; array6 = new float[1]; arg_20A10_0[arg_20A10_1] = new AnimationInstruction(arg_20A0B_0, new AnimInsEvent(arg_20A06_0, arg_20A06_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 22f })); arg_20A46_0.Add(arg_20A46_1, new Animation(arg_20A41_0, arg_20A41_1, arg_20A41_2, arg_20A41_3, arg_20A41_4, arg_20A41_5, arg_20A41_6, arg_20A41_7, arg_20A41_8, arg_20A41_9, arg_20A41_10, arg_20A41_11, arg_20A41_12, arg_20A41_13, arg_20A41_14, array)); Dictionary<ushort, Animation> arg_20AF1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_20AF1_1 = 19; ushort arg_20AEC_0 = 19; byte arg_20AEC_1 = 3; Texture2D arg_20AEC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Right/Start"); Vector2 arg_20AEC_3 = new Vector2(21f, 27f); int arg_20AEC_4 = 4; int arg_20AEC_5 = 1; int arg_20AEC_6 = 48; int arg_20AEC_7 = 30; int arg_20AEC_8 = 0; int arg_20AEC_9 = 0; int arg_20AEC_10 = 20; Animation.LoopSettings arg_20AEC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_20AEC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_20AEC_13 = true; bool arg_20AEC_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_20ABB_0 = array; int arg_20ABB_1 = 0; AnimInsCriteria arg_20AB6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_20AB1_0 = AnimInsEvent.EventType.PlaySound; string arg_20AB1_1 = "BrawlerBot_DashStart"; array6 = new float[1]; arg_20ABB_0[arg_20ABB_1] = new AnimationInstruction(arg_20AB6_0, new AnimInsEvent(arg_20AB1_0, arg_20AB1_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 23f })); arg_20AF1_0.Add(arg_20AF1_1, new Animation(arg_20AEC_0, arg_20AEC_1, arg_20AEC_2, arg_20AEC_3, arg_20AEC_4, arg_20AEC_5, arg_20AEC_6, arg_20AEC_7, arg_20AEC_8, arg_20AEC_9, arg_20AEC_10, arg_20AEC_11, arg_20AEC_12, arg_20AEC_13, arg_20AEC_14, array)); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Up/Idle"), new Vector2(17f, 27f), 4, 4, 33, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Right/Idle"), new Vector2(23f, 27f), 4, 4, 48, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Down/Idle"), new Vector2(18f, 26f), 4, 4, 35, 31, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Right/Idle"), new Vector2(21f, 27f), 4, 4, 48, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_20E58_0 = xEn.xRenderComponent.dixAnimations; ushort arg_20E58_1 = 24; ushort arg_20E53_0 = 24; byte arg_20E53_1 = 0; Texture2D arg_20E53_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Up/End"); Vector2 arg_20E53_3 = new Vector2(17f, 27f); int arg_20E53_4 = 4; int arg_20E53_5 = 6; int arg_20E53_6 = 33; int arg_20E53_7 = 32; int arg_20E53_8 = 0; int arg_20E53_9 = 0; int arg_20E53_10 = 20; Animation.LoopSettings arg_20E53_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_20E53_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_20E53_13 = true; bool arg_20E53_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); AnimationInstruction[] arg_20DC9_0 = array; int arg_20DC9_1 = 1; AnimInsCriteria arg_20DC4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_20DBF_0 = AnimInsEvent.EventType.PlaySound; string arg_20DBF_1 = "BrawlerBot_DashEnd"; array6 = new float[1]; arg_20DC9_0[arg_20DC9_1] = new AnimationInstruction(arg_20DC4_0, new AnimInsEvent(arg_20DBF_0, arg_20DBF_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_20E2B_0 = array; int arg_20E2B_1 = 3; AnimInsCriteria arg_20E26_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_20E21_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_20E2B_0[arg_20E2B_1] = new AnimationInstruction(arg_20E26_0, new AnimInsEvent(arg_20E21_0, array6)); AnimationInstruction[] arg_20E50_0 = array; int arg_20E50_1 = 4; AnimInsCriteria arg_20E4B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_20E46_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_20E50_0[arg_20E50_1] = new AnimationInstruction(arg_20E4B_0, new AnimInsEvent(arg_20E46_0, array6)); arg_20E58_0.Add(arg_20E58_1, new Animation(arg_20E53_0, arg_20E53_1, arg_20E53_2, arg_20E53_3, arg_20E53_4, arg_20E53_5, arg_20E53_6, arg_20E53_7, arg_20E53_8, arg_20E53_9, arg_20E53_10, arg_20E53_11, arg_20E53_12, arg_20E53_13, arg_20E53_14, array)); Dictionary<ushort, Animation> arg_20F94_0 = xEn.xRenderComponent.dixAnimations; ushort arg_20F94_1 = 25; ushort arg_20F8F_0 = 25; byte arg_20F8F_1 = 1; Texture2D arg_20F8F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Right/End"); Vector2 arg_20F8F_3 = new Vector2(23f, 27f); int arg_20F8F_4 = 4; int arg_20F8F_5 = 6; int arg_20F8F_6 = 48; int arg_20F8F_7 = 30; int arg_20F8F_8 = 0; int arg_20F8F_9 = 0; int arg_20F8F_10 = 20; Animation.LoopSettings arg_20F8F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_20F8F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_20F8F_13 = true; bool arg_20F8F_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); AnimationInstruction[] arg_20EFC_0 = array; int arg_20EFC_1 = 1; AnimInsCriteria arg_20EF7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_20EF2_0 = AnimInsEvent.EventType.PlaySound; string arg_20EF2_1 = "BrawlerBot_DashEnd"; array6 = new float[1]; arg_20EFC_0[arg_20EFC_1] = new AnimationInstruction(arg_20EF7_0, new AnimInsEvent(arg_20EF2_0, arg_20EF2_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_20F5E_0 = array; int arg_20F5E_1 = 3; AnimInsCriteria arg_20F59_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_20F54_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_20F5E_0[arg_20F5E_1] = new AnimationInstruction(arg_20F59_0, new AnimInsEvent(arg_20F54_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_20F94_0.Add(arg_20F94_1, new Animation(arg_20F8F_0, arg_20F8F_1, arg_20F8F_2, arg_20F8F_3, arg_20F8F_4, arg_20F8F_5, arg_20F8F_6, arg_20F8F_7, arg_20F8F_8, arg_20F8F_9, arg_20F8F_10, arg_20F8F_11, arg_20F8F_12, arg_20F8F_13, arg_20F8F_14, array)); Dictionary<ushort, Animation> arg_210D0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_210D0_1 = 26; ushort arg_210CB_0 = 26; byte arg_210CB_1 = 2; Texture2D arg_210CB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Down/End"); Vector2 arg_210CB_3 = new Vector2(18f, 26f); int arg_210CB_4 = 4; int arg_210CB_5 = 6; int arg_210CB_6 = 35; int arg_210CB_7 = 31; int arg_210CB_8 = 0; int arg_210CB_9 = 0; int arg_210CB_10 = 20; Animation.LoopSettings arg_210CB_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_210CB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_210CB_13 = true; bool arg_210CB_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); AnimationInstruction[] arg_21038_0 = array; int arg_21038_1 = 1; AnimInsCriteria arg_21033_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2102E_0 = AnimInsEvent.EventType.PlaySound; string arg_2102E_1 = "BrawlerBot_DashEnd"; array6 = new float[1]; arg_21038_0[arg_21038_1] = new AnimationInstruction(arg_21033_0, new AnimInsEvent(arg_2102E_0, arg_2102E_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_2109A_0 = array; int arg_2109A_1 = 3; AnimInsCriteria arg_21095_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_21090_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_2109A_0[arg_2109A_1] = new AnimationInstruction(arg_21095_0, new AnimInsEvent(arg_21090_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_210D0_0.Add(arg_210D0_1, new Animation(arg_210CB_0, arg_210CB_1, arg_210CB_2, arg_210CB_3, arg_210CB_4, arg_210CB_5, arg_210CB_6, arg_210CB_7, arg_210CB_8, arg_210CB_9, arg_210CB_10, arg_210CB_11, arg_210CB_12, arg_210CB_13, arg_210CB_14, array)); Dictionary<ushort, Animation> arg_2120C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2120C_1 = 27; ushort arg_21207_0 = 27; byte arg_21207_1 = 3; Texture2D arg_21207_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Dash/Right/End"); Vector2 arg_21207_3 = new Vector2(21f, 27f); int arg_21207_4 = 4; int arg_21207_5 = 6; int arg_21207_6 = 48; int arg_21207_7 = 30; int arg_21207_8 = 0; int arg_21207_9 = 0; int arg_21207_10 = 20; Animation.LoopSettings arg_21207_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_21207_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_21207_13 = true; bool arg_21207_14 = true; array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); AnimationInstruction[] arg_21174_0 = array; int arg_21174_1 = 1; AnimInsCriteria arg_2116F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2116A_0 = AnimInsEvent.EventType.PlaySound; string arg_2116A_1 = "BrawlerBot_DashEnd"; array6 = new float[1]; arg_21174_0[arg_21174_1] = new AnimationInstruction(arg_2116F_0, new AnimInsEvent(arg_2116A_0, arg_2116A_1, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_211D6_0 = array; int arg_211D6_1 = 3; AnimInsCriteria arg_211D1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_211CC_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_211D6_0[arg_211D6_1] = new AnimationInstruction(arg_211D1_0, new AnimInsEvent(arg_211CC_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_2120C_0.Add(arg_2120C_1, new Animation(arg_21207_0, arg_21207_1, arg_21207_2, arg_21207_3, arg_21207_4, arg_21207_5, arg_21207_6, arg_21207_7, arg_21207_8, arg_21207_9, arg_21207_10, arg_21207_11, arg_21207_12, arg_21207_13, arg_21207_14, array)); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(28, new Animation(28, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"), new Vector2(19f, 31f), 4, 3, 37, 36, 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[] { 32f })) })); xEn.xRenderComponent.dixAnimations.Add(29, new Animation(29, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"), new Vector2(19f, 31f), 4, 3, 37, 36, 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[] { 33f })) })); xEn.xRenderComponent.dixAnimations.Add(30, new Animation(30, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"), new Vector2(19f, 31f), 4, 3, 37, 36, 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[] { 34f })) })); xEn.xRenderComponent.dixAnimations.Add(31, new Animation(31, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"), new Vector2(19f, 31f), 4, 3, 37, 36, 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[] { 35f })) })); xEn.xRenderComponent.dixAnimations[30].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[31].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_214D5_0 = xEn.xRenderComponent.dixAnimations; ushort arg_214D5_1 = 32; ushort arg_214D0_0 = 32; byte arg_214D0_1 = 0; Texture2D arg_214D0_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"); Vector2 arg_214D0_3 = new Vector2(19f, 31f); int arg_214D0_4 = 4; int arg_214D0_5 = 3; int arg_214D0_6 = 37; int arg_214D0_7 = 36; int arg_214D0_8 = 111; int arg_214D0_9 = 0; int arg_214D0_10 = 20; Animation.LoopSettings arg_214D0_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_214D0_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_214D0_13 = true; bool arg_214D0_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_214CD_0 = array; int arg_214CD_1 = 0; AnimInsCriteria arg_214C8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); IEffect arg_214C3_0 = new SortedAnimated(SortedAnimated.SortedAnimatedEffects._EnemyEffects_BrawlBot_JumpEffect); array6 = new float[2]; arg_214CD_0[arg_214CD_1] = new AnimationInstruction(arg_214C8_0, new AnimInsEvent(arg_214C3_0, array6)); arg_214D5_0.Add(arg_214D5_1, new Animation(arg_214D0_0, arg_214D0_1, arg_214D0_2, arg_214D0_3, arg_214D0_4, arg_214D0_5, arg_214D0_6, arg_214D0_7, arg_214D0_8, arg_214D0_9, arg_214D0_10, arg_214D0_11, arg_214D0_12, arg_214D0_13, arg_214D0_14, array)); Dictionary<ushort, Animation> arg_21556_0 = xEn.xRenderComponent.dixAnimations; ushort arg_21556_1 = 33; ushort arg_21551_0 = 33; byte arg_21551_1 = 1; Texture2D arg_21551_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"); Vector2 arg_21551_3 = new Vector2(19f, 31f); int arg_21551_4 = 4; int arg_21551_5 = 3; int arg_21551_6 = 37; int arg_21551_7 = 36; int arg_21551_8 = 111; int arg_21551_9 = 0; int arg_21551_10 = 20; Animation.LoopSettings arg_21551_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_21551_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_21551_13 = true; bool arg_21551_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2154E_0 = array; int arg_2154E_1 = 0; AnimInsCriteria arg_21549_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); IEffect arg_21544_0 = new SortedAnimated(SortedAnimated.SortedAnimatedEffects._EnemyEffects_BrawlBot_JumpEffect); array6 = new float[2]; arg_2154E_0[arg_2154E_1] = new AnimationInstruction(arg_21549_0, new AnimInsEvent(arg_21544_0, array6)); arg_21556_0.Add(arg_21556_1, new Animation(arg_21551_0, arg_21551_1, arg_21551_2, arg_21551_3, arg_21551_4, arg_21551_5, arg_21551_6, arg_21551_7, arg_21551_8, arg_21551_9, arg_21551_10, arg_21551_11, arg_21551_12, arg_21551_13, arg_21551_14, array)); Dictionary<ushort, Animation> arg_215D7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_215D7_1 = 34; ushort arg_215D2_0 = 34; byte arg_215D2_1 = 2; Texture2D arg_215D2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"); Vector2 arg_215D2_3 = new Vector2(19f, 31f); int arg_215D2_4 = 4; int arg_215D2_5 = 3; int arg_215D2_6 = 37; int arg_215D2_7 = 36; int arg_215D2_8 = 111; int arg_215D2_9 = 0; int arg_215D2_10 = 20; Animation.LoopSettings arg_215D2_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_215D2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_215D2_13 = true; bool arg_215D2_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_215CF_0 = array; int arg_215CF_1 = 0; AnimInsCriteria arg_215CA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); IEffect arg_215C5_0 = new SortedAnimated(SortedAnimated.SortedAnimatedEffects._EnemyEffects_BrawlBot_JumpEffect); array6 = new float[2]; arg_215CF_0[arg_215CF_1] = new AnimationInstruction(arg_215CA_0, new AnimInsEvent(arg_215C5_0, array6)); arg_215D7_0.Add(arg_215D7_1, new Animation(arg_215D2_0, arg_215D2_1, arg_215D2_2, arg_215D2_3, arg_215D2_4, arg_215D2_5, arg_215D2_6, arg_215D2_7, arg_215D2_8, arg_215D2_9, arg_215D2_10, arg_215D2_11, arg_215D2_12, arg_215D2_13, arg_215D2_14, array)); Dictionary<ushort, Animation> arg_21658_0 = xEn.xRenderComponent.dixAnimations; ushort arg_21658_1 = 35; ushort arg_21653_0 = 35; byte arg_21653_1 = 3; Texture2D arg_21653_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"); Vector2 arg_21653_3 = new Vector2(19f, 31f); int arg_21653_4 = 4; int arg_21653_5 = 3; int arg_21653_6 = 37; int arg_21653_7 = 36; int arg_21653_8 = 111; int arg_21653_9 = 0; int arg_21653_10 = 20; Animation.LoopSettings arg_21653_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_21653_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_21653_13 = true; bool arg_21653_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_21650_0 = array; int arg_21650_1 = 0; AnimInsCriteria arg_2164B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); IEffect arg_21646_0 = new SortedAnimated(SortedAnimated.SortedAnimatedEffects._EnemyEffects_BrawlBot_JumpEffect); array6 = new float[2]; arg_21650_0[arg_21650_1] = new AnimationInstruction(arg_2164B_0, new AnimInsEvent(arg_21646_0, array6)); arg_21658_0.Add(arg_21658_1, new Animation(arg_21653_0, arg_21653_1, arg_21653_2, arg_21653_3, arg_21653_4, arg_21653_5, arg_21653_6, arg_21653_7, arg_21653_8, arg_21653_9, arg_21653_10, arg_21653_11, arg_21653_12, arg_21653_13, arg_21653_14, array)); xEn.xRenderComponent.dixAnimations[34].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[35].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(36, new Animation(36, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"), new Vector2(19f, 31f), 4, 3, 37, 36, 222, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(37, new Animation(37, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"), new Vector2(19f, 31f), 4, 3, 37, 36, 222, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(38, new Animation(38, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"), new Vector2(19f, 31f), 4, 3, 37, 36, 222, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations.Add(39, new Animation(39, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Jump/Right"), new Vector2(19f, 31f), 4, 3, 37, 36, 222, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[38].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[39].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_21A79_0 = xEn.xRenderComponent.dixAnimations; ushort arg_21A79_1 = 40; ushort arg_21A74_0 = 40; byte arg_21A74_1 = 1; Texture2D arg_21A74_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Sleep/Right"); Vector2 arg_21A74_3 = new Vector2(18f, 24f); int arg_21A74_4 = 4; int arg_21A74_5 = 11; int arg_21A74_6 = 34; int arg_21A74_7 = 30; int arg_21A74_8 = 0; int arg_21A74_9 = 0; int arg_21A74_10 = 20; Animation.LoopSettings arg_21A74_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_21A74_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_21A74_13 = false; bool arg_21A74_14 = false; array = new AnimationInstruction[3]; AnimationInstruction[] arg_21A07_0 = array; int arg_21A07_1 = 0; AnimInsCriteria arg_21A02_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_219FD_0 = AnimInsEvent.EventType.PlaySound; string arg_219FD_1 = "BrawlerBot_WakeUp"; array6 = new float[1]; arg_21A07_0[arg_21A07_1] = new AnimationInstruction(arg_21A02_0, new AnimInsEvent(arg_219FD_0, arg_219FD_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 40f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_21A79_0.Add(arg_21A79_1, new Animation(arg_21A74_0, arg_21A74_1, arg_21A74_2, arg_21A74_3, arg_21A74_4, arg_21A74_5, arg_21A74_6, arg_21A74_7, arg_21A74_8, arg_21A74_9, arg_21A74_10, arg_21A74_11, arg_21A74_12, arg_21A74_13, arg_21A74_14, array)); Dictionary<ushort, Animation> arg_21B6E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_21B6E_1 = 41; ushort arg_21B69_0 = 41; byte arg_21B69_1 = 3; Texture2D arg_21B69_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Sleep/Right"); Vector2 arg_21B69_3 = new Vector2(16f, 24f); int arg_21B69_4 = 4; int arg_21B69_5 = 11; int arg_21B69_6 = 34; int arg_21B69_7 = 30; int arg_21B69_8 = 0; int arg_21B69_9 = 0; int arg_21B69_10 = 20; Animation.LoopSettings arg_21B69_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_21B69_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_21B69_13 = false; bool arg_21B69_14 = false; array = new AnimationInstruction[3]; AnimationInstruction[] arg_21AFC_0 = array; int arg_21AFC_1 = 0; AnimInsCriteria arg_21AF7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_21AF2_0 = AnimInsEvent.EventType.PlaySound; string arg_21AF2_1 = "BrawlerBot_WakeUp"; array6 = new float[1]; arg_21AFC_0[arg_21AFC_1] = new AnimationInstruction(arg_21AF7_0, new AnimInsEvent(arg_21AF2_0, arg_21AF2_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 40f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_21B6E_0.Add(arg_21B6E_1, new Animation(arg_21B69_0, arg_21B69_1, arg_21B69_2, arg_21B69_3, arg_21B69_4, arg_21B69_5, arg_21B69_6, arg_21B69_7, arg_21B69_8, arg_21B69_9, arg_21B69_10, arg_21B69_11, arg_21B69_12, arg_21B69_13, arg_21B69_14, array)); xEn.xRenderComponent.dixAnimations[41].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(42, new Animation(42, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Sleep/Right"), new Vector2(18f, 24f), 4, 1, 34, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(43, new Animation(43, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Sleep/Right"), new Vector2(16f, 24f), 4, 1, 34, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[43].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(10002, new Animation(10002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Death/Death"), new Vector2(18f, 29f), 4, 13, 34, 37, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 13f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 10f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(10003, new Animation(10003, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Death/Death"), new Vector2(16f, 29f), 4, 13, 34, 37, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 13f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 10f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations[10003].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/DamageNoShadow/Up"), new Vector2(17f, 25f), 4, 1, 33, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/DamageNoShadow/Right"), new Vector2(21f, 27f), 4, 1, 39, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/DamageNoShadow/Down"), new Vector2(19f, 27f), 4, 1, 37, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/DamageNoShadow/Right"), new Vector2(18f, 27f), 4, 1, 39, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_22079_0 = xEn.xRenderComponent.dixAnimations; ushort arg_22079_1 = 40004; ushort arg_22074_0 = 40004; byte arg_22074_1 = 0; Texture2D arg_22074_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Damage/Up"); Vector2 arg_22074_3 = new Vector2(17f, 25f); int arg_22074_4 = 4; int arg_22074_5 = 2; int arg_22074_6 = 33; int arg_22074_7 = 28; int arg_22074_8 = 0; int arg_22074_9 = 0; int arg_22074_10 = 20; Animation.LoopSettings arg_22074_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_22074_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_22074_13 = false; bool arg_22074_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_22071_0 = array; int arg_22071_1 = 0; AnimInsCriteria arg_2206C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_22067_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_22071_0[arg_22071_1] = new AnimationInstruction(arg_2206C_0, new AnimInsEvent(arg_22067_0, array6)); arg_22079_0.Add(arg_22079_1, new Animation(arg_22074_0, arg_22074_1, arg_22074_2, arg_22074_3, arg_22074_4, arg_22074_5, arg_22074_6, arg_22074_7, arg_22074_8, arg_22074_9, arg_22074_10, arg_22074_11, arg_22074_12, arg_22074_13, arg_22074_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Damage/Right"), new Vector2(21f, 27f), 4, 2, 39, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Damage/Down"), new Vector2(19f, 27f), 4, 2, 37, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Temple/Marauder/Damage/Right"), new Vector2(18f, 27f), 4, 2, 39, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.liAnimationsWithAttackphase.Add(4); xEn.liAnimationsWithAttackphase.Add(5); xEn.liAnimationsWithAttackphase.Add(6); xEn.liAnimationsWithAttackphase.Add(7); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "BrawlerBot"; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 100f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.RiftCrystal) { xEn.enType = enType; xEn.xBehaviour = new RiftCrystalAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 1; xEn.aiHitAnimation[1] = 1; xEn.aiHitAnimation[2] = 1; xEn.aiHitAnimation[3] = 1; xEn.xBaseStats.bAllowKnockback = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; string ENVIRON_PATH2 = "Sprites/Environment/"; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH2 + "Traps/SpawnCrystal/Idle"), new Vector2(12f, 33f), 4, 10, 24, 40, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_22413_0 = xEn.xRenderComponent.dixAnimations; ushort arg_22413_1 = 1; ushort arg_2240E_0 = 1; byte arg_2240E_1 = 0; Texture2D arg_2240E_2 = Content.Load<Texture2D>(ENVIRON_PATH2 + "Traps/SpawnCrystal/Damage"); Vector2 arg_2240E_3 = new Vector2(12f, 34f); int arg_2240E_4 = 3; int arg_2240E_5 = 2; int arg_2240E_6 = 26; int arg_2240E_7 = 40; int arg_2240E_8 = 0; int arg_2240E_9 = 0; int arg_2240E_10 = 20; Animation.LoopSettings arg_2240E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2240E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2240E_13 = true; bool arg_2240E_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_2240B_0 = array; int arg_2240B_1 = 0; AnimInsCriteria arg_22406_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_22401_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_2240B_0[arg_2240B_1] = new AnimationInstruction(arg_22406_0, new AnimInsEvent(arg_22401_0, array6)); arg_22413_0.Add(arg_22413_1, new Animation(arg_2240E_0, arg_2240E_1, arg_2240E_2, arg_2240E_3, arg_2240E_4, arg_2240E_5, arg_2240E_6, arg_2240E_7, arg_2240E_8, arg_2240E_9, arg_2240E_10, arg_2240E_11, arg_2240E_12, arg_2240E_13, arg_2240E_14, array)); Dictionary<ushort, Animation> arg_2248A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2248A_1 = 2; ushort arg_22485_0 = 2; byte arg_22485_1 = 0; Texture2D arg_22485_2 = Content.Load<Texture2D>(ENVIRON_PATH2 + "Traps/SpawnCrystal/Spawn"); Vector2 arg_22485_3 = new Vector2(16f, 39f); int arg_22485_4 = 3; int arg_22485_5 = 10; int arg_22485_6 = 32; int arg_22485_7 = 48; int arg_22485_8 = 0; int arg_22485_9 = 0; int arg_22485_10 = 20; Animation.LoopSettings arg_22485_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_22485_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_22485_13 = true; bool arg_22485_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_22482_0 = array; int arg_22482_1 = 0; AnimInsCriteria arg_2247D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_22478_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_22482_0[arg_22482_1] = new AnimationInstruction(arg_2247D_0, new AnimInsEvent(arg_22478_0, array6)); arg_2248A_0.Add(arg_2248A_1, new Animation(arg_22485_0, arg_22485_1, arg_22485_2, arg_22485_3, arg_22485_4, arg_22485_5, arg_22485_6, arg_22485_7, arg_22485_8, arg_22485_9, arg_22485_10, arg_22485_11, arg_22485_12, arg_22485_13, arg_22485_14, array)); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.EnivronRiftCrystalDeath; xEn.sAttackPhaseCategory = "Bee"; xEn.xCollisionComponent.xMovementCollider = new BoxCollider(36, 14, 0f, new Vector2(0f, -1f), xEn.xTransform, 10000f, xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; BoxCollider hit3 = new BoxCollider(36, 14, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn); xEn.xCollisionComponent.AddHitboxCollider(hit3, Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.PhaseMan) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus4 = xEn as Boss; fnus4.xHPRenderComponent = new MegaMiniBossHPRenderComponent(xEn, Content); xEn.xBaseStats.bUntargetable = true; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 10f; xEn.enType = enType; xEn.xBehaviour = new PhasemanAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.bAllowKnockback = false; xEn.xBehaviour.bRunClientUpdate = true; xEn.xBehaviour.bActive = false; xEn.bDropsHealthOrbs = false; xEn.bInstantiateInNetwork = false; xEn.iBonusMoney = 100; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Idle/Up"), new Vector2(21f, 51f), 4, 1, 41, 56, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Idle/Right"), new Vector2(21f, 51f), 4, 1, 38, 57, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Idle/Down"), new Vector2(19f, 51f), 4, 1, 38, 57, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Idle/Right"), new Vector2(17f, 51f), 4, 1, 38, 57, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Up"), new Vector2(21f, 50f), 4, 13, 42, 57, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 8f })) })); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(28f, 50f), 4, 13, 54, 56, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 9f })) })); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Down"), new Vector2(21f, 50f), 4, 13, 42, 57, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 10f })) })); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(26f, 50f), 4, 13, 54, 56, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 11f })) })); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_22A67_0 = xEn.xRenderComponent.dixAnimations; ushort arg_22A67_1 = 8; ushort arg_22A62_0 = 8; byte arg_22A62_1 = 0; Texture2D arg_22A62_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Up"); Vector2 arg_22A62_3 = new Vector2(21f, 50f); int arg_22A62_4 = 4; int arg_22A62_5 = 2; int arg_22A62_6 = 42; int arg_22A62_7 = 57; int arg_22A62_8 = 546; int arg_22A62_9 = 0; int arg_22A62_10 = 12; Animation.LoopSettings arg_22A62_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_22A62_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_22A62_13 = true; bool arg_22A62_14 = true; AnimationInstruction[] array = new AnimationInstruction[3]; AnimationInstruction[] arg_22A0A_0 = array; int arg_22A0A_1 = 0; AnimInsCriteria arg_22A05_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }); AnimInsEvent.EventType arg_22A00_0 = AnimInsEvent.EventType.PlaySound; string arg_22A00_1 = "Phaseman_FireSmallShot"; float[] array6 = new float[1]; arg_22A0A_0[arg_22A0A_1] = new AnimationInstruction(arg_22A05_0, new AnimInsEvent(arg_22A00_0, arg_22A00_1, array6)); AnimationInstruction[] arg_22A30_0 = array; int arg_22A30_1 = 1; AnimInsCriteria arg_22A2B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_22A26_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_22A30_0[arg_22A30_1] = new AnimationInstruction(arg_22A2B_0, new AnimInsEvent(arg_22A26_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); arg_22A67_0.Add(arg_22A67_1, new Animation(arg_22A62_0, arg_22A62_1, arg_22A62_2, arg_22A62_3, arg_22A62_4, arg_22A62_5, arg_22A62_6, arg_22A62_7, arg_22A62_8, arg_22A62_9, arg_22A62_10, arg_22A62_11, arg_22A62_12, arg_22A62_13, arg_22A62_14, array)); Dictionary<ushort, Animation> arg_22B53_0 = xEn.xRenderComponent.dixAnimations; ushort arg_22B53_1 = 9; ushort arg_22B4E_0 = 9; byte arg_22B4E_1 = 1; Texture2D arg_22B4E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"); Vector2 arg_22B4E_3 = new Vector2(28f, 50f); int arg_22B4E_4 = 4; int arg_22B4E_5 = 2; int arg_22B4E_6 = 54; int arg_22B4E_7 = 56; int arg_22B4E_8 = 702; int arg_22B4E_9 = 0; int arg_22B4E_10 = 12; Animation.LoopSettings arg_22B4E_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_22B4E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_22B4E_13 = true; bool arg_22B4E_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_22AF6_0 = array; int arg_22AF6_1 = 0; AnimInsCriteria arg_22AF1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }); AnimInsEvent.EventType arg_22AEC_0 = AnimInsEvent.EventType.PlaySound; string arg_22AEC_1 = "Phaseman_FireSmallShot"; array6 = new float[1]; arg_22AF6_0[arg_22AF6_1] = new AnimationInstruction(arg_22AF1_0, new AnimInsEvent(arg_22AEC_0, arg_22AEC_1, array6)); AnimationInstruction[] arg_22B1C_0 = array; int arg_22B1C_1 = 1; AnimInsCriteria arg_22B17_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_22B12_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_22B1C_0[arg_22B1C_1] = new AnimationInstruction(arg_22B17_0, new AnimInsEvent(arg_22B12_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); arg_22B53_0.Add(arg_22B53_1, new Animation(arg_22B4E_0, arg_22B4E_1, arg_22B4E_2, arg_22B4E_3, arg_22B4E_4, arg_22B4E_5, arg_22B4E_6, arg_22B4E_7, arg_22B4E_8, arg_22B4E_9, arg_22B4E_10, arg_22B4E_11, arg_22B4E_12, arg_22B4E_13, arg_22B4E_14, array)); Dictionary<ushort, Animation> arg_22C3F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_22C3F_1 = 10; ushort arg_22C3A_0 = 10; byte arg_22C3A_1 = 2; Texture2D arg_22C3A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Down"); Vector2 arg_22C3A_3 = new Vector2(21f, 50f); int arg_22C3A_4 = 4; int arg_22C3A_5 = 2; int arg_22C3A_6 = 42; int arg_22C3A_7 = 57; int arg_22C3A_8 = 546; int arg_22C3A_9 = 0; int arg_22C3A_10 = 12; Animation.LoopSettings arg_22C3A_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_22C3A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_22C3A_13 = true; bool arg_22C3A_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_22BE2_0 = array; int arg_22BE2_1 = 0; AnimInsCriteria arg_22BDD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }); AnimInsEvent.EventType arg_22BD8_0 = AnimInsEvent.EventType.PlaySound; string arg_22BD8_1 = "Phaseman_FireSmallShot"; array6 = new float[1]; arg_22BE2_0[arg_22BE2_1] = new AnimationInstruction(arg_22BDD_0, new AnimInsEvent(arg_22BD8_0, arg_22BD8_1, array6)); AnimationInstruction[] arg_22C08_0 = array; int arg_22C08_1 = 1; AnimInsCriteria arg_22C03_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_22BFE_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_22C08_0[arg_22C08_1] = new AnimationInstruction(arg_22C03_0, new AnimInsEvent(arg_22BFE_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); arg_22C3F_0.Add(arg_22C3F_1, new Animation(arg_22C3A_0, arg_22C3A_1, arg_22C3A_2, arg_22C3A_3, arg_22C3A_4, arg_22C3A_5, arg_22C3A_6, arg_22C3A_7, arg_22C3A_8, arg_22C3A_9, arg_22C3A_10, arg_22C3A_11, arg_22C3A_12, arg_22C3A_13, arg_22C3A_14, array)); Dictionary<ushort, Animation> arg_22D2B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_22D2B_1 = 11; ushort arg_22D26_0 = 11; byte arg_22D26_1 = 3; Texture2D arg_22D26_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"); Vector2 arg_22D26_3 = new Vector2(26f, 50f); int arg_22D26_4 = 4; int arg_22D26_5 = 2; int arg_22D26_6 = 54; int arg_22D26_7 = 56; int arg_22D26_8 = 702; int arg_22D26_9 = 0; int arg_22D26_10 = 12; Animation.LoopSettings arg_22D26_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_22D26_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_22D26_13 = true; bool arg_22D26_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_22CCE_0 = array; int arg_22CCE_1 = 0; AnimInsCriteria arg_22CC9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }); AnimInsEvent.EventType arg_22CC4_0 = AnimInsEvent.EventType.PlaySound; string arg_22CC4_1 = "Phaseman_FireSmallShot"; array6 = new float[1]; arg_22CCE_0[arg_22CCE_1] = new AnimationInstruction(arg_22CC9_0, new AnimInsEvent(arg_22CC4_0, arg_22CC4_1, array6)); AnimationInstruction[] arg_22CF4_0 = array; int arg_22CF4_1 = 1; AnimInsCriteria arg_22CEF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_22CEA_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_22CF4_0[arg_22CF4_1] = new AnimationInstruction(arg_22CEF_0, new AnimInsEvent(arg_22CEA_0, array6)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); arg_22D2B_0.Add(arg_22D2B_1, new Animation(arg_22D26_0, arg_22D26_1, arg_22D26_2, arg_22D26_3, arg_22D26_4, arg_22D26_5, arg_22D26_6, arg_22D26_7, arg_22D26_8, arg_22D26_9, arg_22D26_10, arg_22D26_11, arg_22D26_12, arg_22D26_13, arg_22D26_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_22DBB_0 = xEn.xRenderComponent.dixAnimations; ushort arg_22DBB_1 = 12; ushort arg_22DB6_0 = 12; byte arg_22DB6_1 = 0; Texture2D arg_22DB6_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Up"); Vector2 arg_22DB6_3 = new Vector2(21f, 50f); int arg_22DB6_4 = 4; int arg_22DB6_5 = 15; int arg_22DB6_6 = 42; int arg_22DB6_7 = 57; int arg_22DB6_8 = 0; int arg_22DB6_9 = 0; int arg_22DB6_10 = 15; Animation.LoopSettings arg_22DB6_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_22DB6_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_22DB6_13 = false; bool arg_22DB6_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_22DB3_0 = array; int arg_22DB3_1 = 0; AnimInsCriteria arg_22DAE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_22DA9_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_22DB3_0[arg_22DB3_1] = new AnimationInstruction(arg_22DAE_0, new AnimInsEvent(arg_22DA9_0, array6)); arg_22DBB_0.Add(arg_22DBB_1, new Animation(arg_22DB6_0, arg_22DB6_1, arg_22DB6_2, arg_22DB6_3, arg_22DB6_4, arg_22DB6_5, arg_22DB6_6, arg_22DB6_7, arg_22DB6_8, arg_22DB6_9, arg_22DB6_10, arg_22DB6_11, arg_22DB6_12, arg_22DB6_13, arg_22DB6_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(28f, 50f), 4, 15, 54, 56, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Down"), new Vector2(21f, 50f), 4, 15, 42, 57, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(26f, 50f), 4, 15, 54, 56, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[12].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[13].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[14].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[15].bReversePlayback = true; Dictionary<ushort, Animation> arg_230F9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_230F9_1 = 18; ushort arg_230F4_0 = 18; byte arg_230F4_1 = 2; Texture2D arg_230F4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Makaronis/Down"); Vector2 arg_230F4_3 = new Vector2(24f, 53f); int arg_230F4_4 = 4; int arg_230F4_5 = 23; int arg_230F4_6 = 48; int arg_230F4_7 = 80; int arg_230F4_8 = 0; int arg_230F4_9 = 0; int arg_230F4_10 = 23; Animation.LoopSettings arg_230F4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_230F4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_230F4_13 = false; bool arg_230F4_14 = true; array = new AnimationInstruction[4]; AnimationInstruction[] arg_2303D_0 = array; int arg_2303D_1 = 0; AnimInsCriteria arg_23038_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }); AnimInsEvent.EventType arg_23033_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[2]; array6[0] = 2f; arg_2303D_0[arg_2303D_1] = new AnimationInstruction(arg_23038_0, new AnimInsEvent(arg_23033_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 16f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f, 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 16f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Phaseman_FireBigShot", new float[] { 1f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_230F9_0.Add(arg_230F9_1, new Animation(arg_230F4_0, arg_230F4_1, arg_230F4_2, arg_230F4_3, arg_230F4_4, arg_230F4_5, arg_230F4_6, arg_230F4_7, arg_230F4_8, arg_230F4_9, arg_230F4_10, arg_230F4_11, arg_230F4_12, arg_230F4_13, arg_230F4_14, array)); xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Up"), new Vector2(21f, 50f), 4, 5, 42, 57, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 24f })) })); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(28f, 50f), 4, 5, 54, 56, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 25f })) })); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Stun/Down"), new Vector2(29f, 53f), 4, 9, 57, 59, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.RepeatFromFrameXYTimes, new float[] { 3f, 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 26f })) })); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(26f, 50f), 4, 5, 54, 56, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 27f })) })); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Up"), new Vector2(21f, 50f), 4, 5, 42, 57, 210, 0, 15, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(28f, 50f), 4, 5, 54, 56, 210, 0, 15, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Stun/Down"), new Vector2(29f, 53f), 4, 1, 57, 59, 456, 0, 15, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(26f, 50f), 4, 5, 54, 56, 210, 0, 15, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2352E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2352E_1 = 28; ushort arg_23529_0 = 28; byte arg_23529_1 = 0; Texture2D arg_23529_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Up"); Vector2 arg_23529_3 = new Vector2(21f, 50f); int arg_23529_4 = 4; int arg_23529_5 = 5; int arg_23529_6 = 42; int arg_23529_7 = 57; int arg_23529_8 = 0; int arg_23529_9 = 0; int arg_23529_10 = 15; Animation.LoopSettings arg_23529_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_23529_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_23529_13 = false; bool arg_23529_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_23526_0 = array; int arg_23526_1 = 0; AnimInsCriteria arg_23521_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2351C_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_23526_0[arg_23526_1] = new AnimationInstruction(arg_23521_0, new AnimInsEvent(arg_2351C_0, array6)); arg_2352E_0.Add(arg_2352E_1, new Animation(arg_23529_0, arg_23529_1, arg_23529_2, arg_23529_3, arg_23529_4, arg_23529_5, arg_23529_6, arg_23529_7, arg_23529_8, arg_23529_9, arg_23529_10, arg_23529_11, arg_23529_12, arg_23529_13, arg_23529_14, array)); xEn.xRenderComponent.dixAnimations.Add(29, new Animation(29, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(28f, 50f), 4, 5, 54, 56, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(30, new Animation(30, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Stun/Down"), new Vector2(29f, 53f), 4, 3, 57, 59, 513, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(31, new Animation(31, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(26f, 50f), 4, 5, 54, 56, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[31].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_23783_0 = xEn.xRenderComponent.dixAnimations; ushort arg_23783_1 = 32; ushort arg_2377E_0 = 32; byte arg_2377E_1 = 0; Texture2D arg_2377E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Up"); Vector2 arg_2377E_3 = new Vector2(21f, 51f); int arg_2377E_4 = 4; int arg_2377E_5 = 8; int arg_2377E_6 = 41; int arg_2377E_7 = 57; int arg_2377E_8 = 0; int arg_2377E_9 = 0; int arg_2377E_10 = 15; Animation.LoopSettings arg_2377E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2377E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2377E_13 = false; bool arg_2377E_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2374C_0 = array; int arg_2374C_1 = 0; AnimInsCriteria arg_23747_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_23742_0 = AnimInsEvent.EventType.PlaySound; string arg_23742_1 = "Phaseman_ReadyFire"; array6 = new float[1]; arg_2374C_0[arg_2374C_1] = new AnimationInstruction(arg_23747_0, new AnimInsEvent(arg_23742_0, arg_23742_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); arg_23783_0.Add(arg_23783_1, new Animation(arg_2377E_0, arg_2377E_1, arg_2377E_2, arg_2377E_3, arg_2377E_4, arg_2377E_5, arg_2377E_6, arg_2377E_7, arg_2377E_8, arg_2377E_9, arg_2377E_10, arg_2377E_11, arg_2377E_12, arg_2377E_13, arg_2377E_14, array)); Dictionary<ushort, Animation> arg_2383C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2383C_1 = 33; ushort arg_23837_0 = 33; byte arg_23837_1 = 1; Texture2D arg_23837_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Right"); Vector2 arg_23837_3 = new Vector2(22f, 51f); int arg_23837_4 = 4; int arg_23837_5 = 8; int arg_23837_6 = 62; int arg_23837_7 = 57; int arg_23837_8 = 0; int arg_23837_9 = 0; int arg_23837_10 = 15; Animation.LoopSettings arg_23837_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_23837_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_23837_13 = false; bool arg_23837_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_23805_0 = array; int arg_23805_1 = 0; AnimInsCriteria arg_23800_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_237FB_0 = AnimInsEvent.EventType.PlaySound; string arg_237FB_1 = "Phaseman_ReadyFire"; array6 = new float[1]; arg_23805_0[arg_23805_1] = new AnimationInstruction(arg_23800_0, new AnimInsEvent(arg_237FB_0, arg_237FB_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); arg_2383C_0.Add(arg_2383C_1, new Animation(arg_23837_0, arg_23837_1, arg_23837_2, arg_23837_3, arg_23837_4, arg_23837_5, arg_23837_6, arg_23837_7, arg_23837_8, arg_23837_9, arg_23837_10, arg_23837_11, arg_23837_12, arg_23837_13, arg_23837_14, array)); Dictionary<ushort, Animation> arg_238F5_0 = xEn.xRenderComponent.dixAnimations; ushort arg_238F5_1 = 34; ushort arg_238F0_0 = 34; byte arg_238F0_1 = 2; Texture2D arg_238F0_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Down"); Vector2 arg_238F0_3 = new Vector2(19f, 52f); int arg_238F0_4 = 4; int arg_238F0_5 = 8; int arg_238F0_6 = 38; int arg_238F0_7 = 68; int arg_238F0_8 = 0; int arg_238F0_9 = 0; int arg_238F0_10 = 15; Animation.LoopSettings arg_238F0_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_238F0_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_238F0_13 = false; bool arg_238F0_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_238BE_0 = array; int arg_238BE_1 = 0; AnimInsCriteria arg_238B9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_238B4_0 = AnimInsEvent.EventType.PlaySound; string arg_238B4_1 = "Phaseman_ReadyFire"; array6 = new float[1]; arg_238BE_0[arg_238BE_1] = new AnimationInstruction(arg_238B9_0, new AnimInsEvent(arg_238B4_0, arg_238B4_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); arg_238F5_0.Add(arg_238F5_1, new Animation(arg_238F0_0, arg_238F0_1, arg_238F0_2, arg_238F0_3, arg_238F0_4, arg_238F0_5, arg_238F0_6, arg_238F0_7, arg_238F0_8, arg_238F0_9, arg_238F0_10, arg_238F0_11, arg_238F0_12, arg_238F0_13, arg_238F0_14, array)); Dictionary<ushort, Animation> arg_239AE_0 = xEn.xRenderComponent.dixAnimations; ushort arg_239AE_1 = 35; ushort arg_239A9_0 = 35; byte arg_239A9_1 = 3; Texture2D arg_239A9_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Right"); Vector2 arg_239A9_3 = new Vector2(40f, 51f); int arg_239A9_4 = 4; int arg_239A9_5 = 8; int arg_239A9_6 = 62; int arg_239A9_7 = 57; int arg_239A9_8 = 0; int arg_239A9_9 = 0; int arg_239A9_10 = 15; Animation.LoopSettings arg_239A9_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_239A9_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_239A9_13 = false; bool arg_239A9_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_23977_0 = array; int arg_23977_1 = 0; AnimInsCriteria arg_23972_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_2396D_0 = AnimInsEvent.EventType.PlaySound; string arg_2396D_1 = "Phaseman_ReadyFire"; array6 = new float[1]; arg_23977_0[arg_23977_1] = new AnimationInstruction(arg_23972_0, new AnimInsEvent(arg_2396D_0, arg_2396D_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 3f })); arg_239AE_0.Add(arg_239AE_1, new Animation(arg_239A9_0, arg_239A9_1, arg_239A9_2, arg_239A9_3, arg_239A9_4, arg_239A9_5, arg_239A9_6, arg_239A9_7, arg_239A9_8, arg_239A9_9, arg_239A9_10, arg_239A9_11, arg_239A9_12, arg_239A9_13, arg_239A9_14, array)); xEn.xRenderComponent.dixAnimations[35].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(36, new Animation(36, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Up"), new Vector2(21f, 51f), 4, 2, 41, 57, 328, 0, 15, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(37, new Animation(37, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Right"), new Vector2(22f, 51f), 4, 2, 62, 57, 496, 0, 15, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(38, new Animation(38, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Down"), new Vector2(19f, 52f), 4, 2, 38, 68, 304, 0, 15, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(39, new Animation(39, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Right"), new Vector2(40f, 51f), 4, 2, 62, 57, 496, 0, 15, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[39].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_23BA1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_23BA1_1 = 40; ushort arg_23B9C_0 = 40; byte arg_23B9C_1 = 0; Texture2D arg_23B9C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Up"); Vector2 arg_23B9C_3 = new Vector2(21f, 51f); int arg_23B9C_4 = 4; int arg_23B9C_5 = 7; int arg_23B9C_6 = 41; int arg_23B9C_7 = 57; int arg_23B9C_8 = 410; int arg_23B9C_9 = 0; int arg_23B9C_10 = 20; Animation.LoopSettings arg_23B9C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_23B9C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_23B9C_13 = false; bool arg_23B9C_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_23B99_0 = array; int arg_23B99_1 = 0; AnimInsCriteria arg_23B94_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_23B8F_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_23B99_0[arg_23B99_1] = new AnimationInstruction(arg_23B94_0, new AnimInsEvent(arg_23B8F_0, array6)); arg_23BA1_0.Add(arg_23BA1_1, new Animation(arg_23B9C_0, arg_23B9C_1, arg_23B9C_2, arg_23B9C_3, arg_23B9C_4, arg_23B9C_5, arg_23B9C_6, arg_23B9C_7, arg_23B9C_8, arg_23B9C_9, arg_23B9C_10, arg_23B9C_11, arg_23B9C_12, arg_23B9C_13, arg_23B9C_14, array)); xEn.xRenderComponent.dixAnimations.Add(41, new Animation(41, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Right"), new Vector2(22f, 51f), 4, 7, 62, 57, 620, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(42, new Animation(42, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Down"), new Vector2(19f, 52f), 4, 7, 38, 68, 380, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(43, new Animation(43, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Bullet/Right"), new Vector2(40f, 51f), 4, 7, 62, 57, 620, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[43].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_23DC2_0 = xEn.xRenderComponent.dixAnimations; ushort arg_23DC2_1 = 45; ushort arg_23DBD_0 = 45; byte arg_23DBD_1 = 1; Texture2D arg_23DBD_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Blowback/Right"); Vector2 arg_23DBD_3 = new Vector2(22f, 51f); int arg_23DBD_4 = 4; int arg_23DBD_5 = 4; int arg_23DBD_6 = 62; int arg_23DBD_7 = 57; int arg_23DBD_8 = 0; int arg_23DBD_9 = 0; int arg_23DBD_10 = 20; Animation.LoopSettings arg_23DBD_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_23DBD_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_23DBD_13 = false; bool arg_23DBD_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_23DBA_0 = array; int arg_23DBA_1 = 0; AnimInsCriteria arg_23DB5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_23DB0_0 = AnimInsEvent.EventType.PlaySound; string arg_23DB0_1 = "Phaseman_FireBigShot"; array6 = new float[1]; arg_23DBA_0[arg_23DBA_1] = new AnimationInstruction(arg_23DB5_0, new AnimInsEvent(arg_23DB0_0, arg_23DB0_1, array6)); arg_23DC2_0.Add(arg_23DC2_1, new Animation(arg_23DBD_0, arg_23DBD_1, arg_23DBD_2, arg_23DBD_3, arg_23DBD_4, arg_23DBD_5, arg_23DBD_6, arg_23DBD_7, arg_23DBD_8, arg_23DBD_9, arg_23DBD_10, arg_23DBD_11, arg_23DBD_12, arg_23DBD_13, arg_23DBD_14, array)); Dictionary<ushort, Animation> arg_23E3F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_23E3F_1 = 47; ushort arg_23E3A_0 = 47; byte arg_23E3A_1 = 3; Texture2D arg_23E3A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Blowback/Right"); Vector2 arg_23E3A_3 = new Vector2(40f, 51f); int arg_23E3A_4 = 4; int arg_23E3A_5 = 4; int arg_23E3A_6 = 62; int arg_23E3A_7 = 57; int arg_23E3A_8 = 0; int arg_23E3A_9 = 0; int arg_23E3A_10 = 20; Animation.LoopSettings arg_23E3A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_23E3A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_23E3A_13 = false; bool arg_23E3A_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_23E37_0 = array; int arg_23E37_1 = 0; AnimInsCriteria arg_23E32_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_23E2D_0 = AnimInsEvent.EventType.PlaySound; string arg_23E2D_1 = "Phaseman_FireBigShot"; array6 = new float[1]; arg_23E37_0[arg_23E37_1] = new AnimationInstruction(arg_23E32_0, new AnimInsEvent(arg_23E2D_0, arg_23E2D_1, array6)); arg_23E3F_0.Add(arg_23E3F_1, new Animation(arg_23E3A_0, arg_23E3A_1, arg_23E3A_2, arg_23E3A_3, arg_23E3A_4, arg_23E3A_5, arg_23E3A_6, arg_23E3A_7, arg_23E3A_8, arg_23E3A_9, arg_23E3A_10, arg_23E3A_11, arg_23E3A_12, arg_23E3A_13, arg_23E3A_14, array)); xEn.xRenderComponent.dixAnimations[47].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_23ED5_0 = xEn.xRenderComponent.dixAnimations; ushort arg_23ED5_1 = 50; ushort arg_23ED0_0 = 50; byte arg_23ED0_1 = 2; Texture2D arg_23ED0_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Down"); Vector2 arg_23ED0_3 = new Vector2(21f, 50f); int arg_23ED0_4 = 4; int arg_23ED0_5 = 10; int arg_23ED0_6 = 42; int arg_23ED0_7 = 57; int arg_23ED0_8 = 0; int arg_23ED0_9 = 0; int arg_23ED0_10 = 15; Animation.LoopSettings arg_23ED0_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_23ED0_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_23ED0_13 = false; bool arg_23ED0_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_23ECD_0 = array; int arg_23ECD_1 = 0; AnimInsCriteria arg_23EC8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_23EC3_0 = AnimInsEvent.EventType.PlaySound; string arg_23EC3_1 = "Phaseman_ReadyTornado"; array6 = new float[1]; arg_23ECD_0[arg_23ECD_1] = new AnimationInstruction(arg_23EC8_0, new AnimInsEvent(arg_23EC3_0, arg_23EC3_1, array6)); arg_23ED5_0.Add(arg_23ED5_1, new Animation(arg_23ED0_0, arg_23ED0_1, arg_23ED0_2, arg_23ED0_3, arg_23ED0_4, arg_23ED0_5, arg_23ED0_6, arg_23ED0_7, arg_23ED0_8, arg_23ED0_9, arg_23ED0_10, arg_23ED0_11, arg_23ED0_12, arg_23ED0_13, arg_23ED0_14, array)); xEn.xRenderComponent.dixAnimations.Add(54, new Animation(54, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Down"), new Vector2(21f, 50f), 4, 3, 42, 57, 420, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 10f })) })); xEn.xRenderComponent.dixAnimations.Add(100, new Animation(100, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Death/Right"), new Vector2(31f, 50f), 4, 3, 51, 56, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(101, new Animation(101, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Death/Right"), new Vector2(20f, 50f), 4, 3, 51, 56, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[101].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_240F5_0 = xEn.xRenderComponent.dixAnimations; ushort arg_240F5_1 = 200; ushort arg_240F0_0 = 200; byte arg_240F0_1 = 0; Texture2D arg_240F0_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Up"); Vector2 arg_240F0_3 = new Vector2(21f, 50f); int arg_240F0_4 = 4; int arg_240F0_5 = 2; int arg_240F0_6 = 42; int arg_240F0_7 = 57; int arg_240F0_8 = 546; int arg_240F0_9 = 0; int arg_240F0_10 = 12; Animation.LoopSettings arg_240F0_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_240F0_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_240F0_13 = true; bool arg_240F0_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_24094_0 = array; int arg_24094_1 = 0; AnimInsCriteria.Criteria arg_24070_0 = AnimInsCriteria.Criteria.TriggerAtStart; array6 = new float[1]; arg_24094_0[arg_24094_1] = new AnimationInstruction(new AnimInsCriteria(arg_24070_0, array6), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 4f })); AnimationInstruction[] arg_240BA_0 = array; int arg_240BA_1 = 1; AnimInsCriteria.Criteria arg_240A3_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks; array6 = new float[1]; arg_240BA_0[arg_240BA_1] = new AnimationInstruction(new AnimInsCriteria(arg_240A3_0, array6), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); AnimationInstruction[] arg_240ED_0 = array; int arg_240ED_1 = 2; AnimInsCriteria.Criteria arg_240C9_0 = AnimInsCriteria.Criteria.TriggerAtInterrupt; array6 = new float[1]; arg_240ED_0[arg_240ED_1] = new AnimationInstruction(new AnimInsCriteria(arg_240C9_0, array6), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 5f })); arg_240F5_0.Add(arg_240F5_1, new Animation(arg_240F0_0, arg_240F0_1, arg_240F0_2, arg_240F0_3, arg_240F0_4, arg_240F0_5, arg_240F0_6, arg_240F0_7, arg_240F0_8, arg_240F0_9, arg_240F0_10, arg_240F0_11, arg_240F0_12, arg_240F0_13, arg_240F0_14, array)); xEn.xRenderComponent.dixAnimations.Add(201, new Animation(201, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(28f, 50f), 4, 2, 54, 56, 702, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(202, new Animation(202, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Down"), new Vector2(21f, 50f), 4, 2, 42, 57, 546, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(203, new Animation(203, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Phaseman/Phase/Right"), new Vector2(26f, 50f), 4, 2, 54, 56, 702, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[203].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "VilyaFirst"; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(9f, Vector2.Zero, xEn.xTransform, 100000f, xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(10f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.GundamMain) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus5 = xEn as Boss; fnus5.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.bDropsAnyLoot = false; xEn.bExpAwarded = true; xEn.bInstantiateInNetwork = false; xEn.bSynchNetworkPosition = false; xEn.bSyncAnimationWithServer = false; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 10f; xEn.enType = enType; xEn.xBehaviour = new GundamHeadAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.bAllowKnockback = false; xEn.xBehaviour.bRunClientUpdate = true; xEn.xBehaviour.bActive = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Titan; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.ExplosionGreen; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Head"), new Vector2(44f, 79f), 4, 1, 89, 88, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_24493_0 = xEn.xRenderComponent.dixAnimations; ushort arg_24493_1 = 1; ushort arg_2448E_0 = 1; byte arg_2448E_1 = 1; Texture2D arg_2448E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Headturn/Right"); Vector2 arg_2448E_3 = new Vector2(44f, 79f); int arg_2448E_4 = 4; int arg_2448E_5 = 6; int arg_2448E_6 = 89; int arg_2448E_7 = 88; int arg_2448E_8 = 0; int arg_2448E_9 = 0; int arg_2448E_10 = 20; Animation.LoopSettings arg_2448E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2448E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2448E_13 = true; bool arg_2448E_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 30f })); AnimationInstruction[] arg_2448B_0 = array; int arg_2448B_1 = 1; AnimInsCriteria arg_24486_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_24481_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_2448B_0[arg_2448B_1] = new AnimationInstruction(arg_24486_0, new AnimInsEvent(arg_24481_0, array6)); arg_24493_0.Add(arg_24493_1, new Animation(arg_2448E_0, arg_2448E_1, arg_2448E_2, arg_2448E_3, arg_2448E_4, arg_2448E_5, arg_2448E_6, arg_2448E_7, arg_2448E_8, arg_2448E_9, arg_2448E_10, arg_2448E_11, arg_2448E_12, arg_2448E_13, arg_2448E_14, array)); Dictionary<ushort, Animation> arg_24544_0 = xEn.xRenderComponent.dixAnimations; ushort arg_24544_1 = 2; ushort arg_2453F_0 = 2; byte arg_2453F_1 = 3; Texture2D arg_2453F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Headturn/Right"); Vector2 arg_2453F_3 = new Vector2(44f, 79f); int arg_2453F_4 = 4; int arg_2453F_5 = 6; int arg_2453F_6 = 89; int arg_2453F_7 = 88; int arg_2453F_8 = 0; int arg_2453F_9 = 0; int arg_2453F_10 = 20; Animation.LoopSettings arg_2453F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2453F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2453F_13 = true; bool arg_2453F_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 30f })); AnimationInstruction[] arg_2453C_0 = array; int arg_2453C_1 = 1; AnimInsCriteria arg_24537_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_24532_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2453C_0[arg_2453C_1] = new AnimationInstruction(arg_24537_0, new AnimInsEvent(arg_24532_0, array6)); arg_24544_0.Add(arg_24544_1, new Animation(arg_2453F_0, arg_2453F_1, arg_2453F_2, arg_2453F_3, arg_2453F_4, arg_2453F_5, arg_2453F_6, arg_2453F_7, arg_2453F_8, arg_2453F_9, arg_2453F_10, arg_2453F_11, arg_2453F_12, arg_2453F_13, arg_2453F_14, array)); xEn.xRenderComponent.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Smash/Overheat/Start"), new Vector2(55f, 88f), 4, 5, 109, 114, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Smash/Overheat/Smash"), new Vector2(55f, 88f), 4, 7, 109, 114, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, RenderMaster.txNullTex, new Vector2(55f, 85f), 4, 3, 109, 114, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_246A8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_246A8_1 = 6; ushort arg_246A3_0 = 6; byte arg_246A3_1 = 0; Texture2D arg_246A3_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Smash/Overheat/End"); Vector2 arg_246A3_3 = new Vector2(55f, 88f); int arg_246A3_4 = 4; int arg_246A3_5 = 3; int arg_246A3_6 = 109; int arg_246A3_7 = 114; int arg_246A3_8 = 0; int arg_246A3_9 = 0; int arg_246A3_10 = 20; Animation.LoopSettings arg_246A3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_246A3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_246A3_13 = true; bool arg_246A3_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_246A0_0 = array; int arg_246A0_1 = 0; AnimInsCriteria arg_2469B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_24696_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_246A0_0[arg_246A0_1] = new AnimationInstruction(arg_2469B_0, new AnimInsEvent(arg_24696_0, array6)); arg_246A8_0.Add(arg_246A8_1, new Animation(arg_246A3_0, arg_246A3_1, arg_246A3_2, arg_246A3_3, arg_246A3_4, arg_246A3_5, arg_246A3_6, arg_246A3_7, arg_246A3_8, arg_246A3_9, arg_246A3_10, arg_246A3_11, arg_246A3_12, arg_246A3_13, arg_246A3_14, array)); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/BulletHell/Start"), new Vector2(44f, 79f), 4, 18, 89, 91, 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[] { 8f })) })); xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/BulletHell/Idle"), new Vector2(44f, 79f), 4, 12, 89, 91, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_247EC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_247EC_1 = 9; ushort arg_247E7_0 = 9; byte arg_247E7_1 = 0; Texture2D arg_247E7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/BulletHell/End"); Vector2 arg_247E7_3 = new Vector2(44f, 79f); int arg_247E7_4 = 4; int arg_247E7_5 = 15; int arg_247E7_6 = 89; int arg_247E7_7 = 91; int arg_247E7_8 = 0; int arg_247E7_9 = 0; int arg_247E7_10 = 20; Animation.LoopSettings arg_247E7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_247E7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_247E7_13 = true; bool arg_247E7_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_247E4_0 = array; int arg_247E4_1 = 0; AnimInsCriteria arg_247DF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_247DA_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_247E4_0[arg_247E4_1] = new AnimationInstruction(arg_247DF_0, new AnimInsEvent(arg_247DA_0, array6)); arg_247EC_0.Add(arg_247EC_1, new Animation(arg_247E7_0, arg_247E7_1, arg_247E7_2, arg_247E7_3, arg_247E7_4, arg_247E7_5, arg_247E7_6, arg_247E7_7, arg_247E7_8, arg_247E7_9, arg_247E7_10, arg_247E7_11, arg_247E7_12, arg_247E7_13, arg_247E7_14, array)); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Overheat/Start"), new Vector2(55f, 88f), 4, 14, 109, 114, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Overheat/End"), new Vector2(55f, 88f), 4, 7, 109, 114, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(12, new Animation(12, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/BulletHell/Overheat/Start"), new Vector2(44f, 79f), 4, 18, 89, 91, 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[] { 13f })) })); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/BulletHell/Overheat/Idle"), new Vector2(44f, 79f), 4, 12, 89, 91, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Smash/Start"), new Vector2(52f, 87f), 4, 5, 105, 131, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Smash/Smash"), new Vector2(52f, 88f), 4, 20, 105, 131, 0, 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[] { 20f })) })); xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Smash/Electricity"), new Vector2(52f, 88f), 4, 6, 105, 131, 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 })) })); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Dead/Head"), new Vector2(51f, 54f), 4, 10, 106, 194, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 10f })) })); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Damage/DamageA"), new Vector2(52f, 88f), 4, 8, 105, 131, 0, 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[] { 20f })) })); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Damage/DamageB"), new Vector2(52f, 88f), 4, 8, 105, 131, 0, 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[] { 20f })) })); xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Smash/Smash"), new Vector2(52f, 88f), 4, 1, 105, 131, 945, 131, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Smash/Close"), new Vector2(52f, 88f), 4, 7, 105, 131, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_24D9E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_24D9E_1 = 22; ushort arg_24D99_0 = 22; byte arg_24D99_1 = 0; Texture2D arg_24D99_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/BulletHell/Attack"); Vector2 arg_24D99_3 = new Vector2(52f, 87f); int arg_24D99_4 = 4; int arg_24D99_5 = 7; int arg_24D99_6 = 105; int arg_24D99_7 = 107; int arg_24D99_8 = 0; int arg_24D99_9 = 0; int arg_24D99_10 = 10; Animation.LoopSettings arg_24D99_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_24D99_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_24D99_13 = true; bool arg_24D99_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_24D68_0 = array; int arg_24D68_1 = 0; AnimInsCriteria arg_24D63_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_24D5E_0 = AnimInsEvent.EventType.PlaySound; string arg_24D5E_1 = "Gund4m_BulletHellFire"; array6 = new float[1]; arg_24D68_0[arg_24D68_1] = new AnimationInstruction(arg_24D63_0, new AnimInsEvent(arg_24D5E_0, arg_24D5E_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 8f })); arg_24D9E_0.Add(arg_24D9E_1, new Animation(arg_24D99_0, arg_24D99_1, arg_24D99_2, arg_24D99_3, arg_24D99_4, arg_24D99_5, arg_24D99_6, arg_24D99_7, arg_24D99_8, arg_24D99_9, arg_24D99_10, arg_24D99_11, arg_24D99_12, arg_24D99_13, arg_24D99_14, array)); Dictionary<ushort, Animation> arg_24E49_0 = xEn.xRenderComponent.dixAnimations; ushort arg_24E49_1 = 23; ushort arg_24E44_0 = 23; byte arg_24E44_1 = 0; Texture2D arg_24E44_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/BulletHell/Overheat/Attack"); Vector2 arg_24E44_3 = new Vector2(52f, 87f); int arg_24E44_4 = 4; int arg_24E44_5 = 7; int arg_24E44_6 = 105; int arg_24E44_7 = 107; int arg_24E44_8 = 0; int arg_24E44_9 = 0; int arg_24E44_10 = 10; Animation.LoopSettings arg_24E44_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_24E44_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_24E44_13 = true; bool arg_24E44_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_24E13_0 = array; int arg_24E13_1 = 0; AnimInsCriteria arg_24E0E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_24E09_0 = AnimInsEvent.EventType.PlaySound; string arg_24E09_1 = "Gund4m_BulletHellFire"; array6 = new float[1]; arg_24E13_0[arg_24E13_1] = new AnimationInstruction(arg_24E0E_0, new AnimInsEvent(arg_24E09_0, arg_24E09_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 13f })); arg_24E49_0.Add(arg_24E49_1, new Animation(arg_24E44_0, arg_24E44_1, arg_24E44_2, arg_24E44_3, arg_24E44_4, arg_24E44_5, arg_24E44_6, arg_24E44_7, arg_24E44_8, arg_24E44_9, arg_24E44_10, arg_24E44_11, arg_24E44_12, arg_24E44_13, arg_24E44_14, array)); xEn.xRenderComponent.dixAnimations.Add(100, new Animation(100, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Headturn/Right"), new Vector2(44f, 79f), 4, 1, 89, 88, 267, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[100].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(101, new Animation(101, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Headturn/Right"), new Vector2(44f, 79f), 4, 1, 89, 88, 178, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[101].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(102, new Animation(102, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Headturn/Right"), new Vector2(44f, 79f), 4, 1, 89, 88, 89, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[102].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(103, new Animation(103, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Headturn/Right"), new Vector2(44f, 79f), 4, 1, 89, 88, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[103].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(104, new Animation(104, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Headturn/Right"), new Vector2(44f, 79f), 4, 1, 89, 88, 89, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(105, new Animation(105, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Headturn/Right"), new Vector2(44f, 79f), 4, 1, 89, 88, 178, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(106, new Animation(106, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Head/Headturn/Right"), new Vector2(44f, 79f), 4, 1, 89, 88, 267, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.liAnimationsWithAttackphase.Add(4); xEn.liAnimationsWithAttackphase.Add(5); xEn.liAnimationsWithAttackphase.Add(6); xEn.liAnimationsWithAttackphase.Add(7); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "BrawlerBot"; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 1000000f, xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.xMovementCollider.bIgnoreHeavyColliders = true; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(60, 72, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.GundamHand) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus6 = xEn as Boss; fnus6.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.bDropsAnyLoot = false; xEn.bExpAwarded = true; xEn.bInstantiateInNetwork = false; xEn.bSynchNetworkPosition = false; xEn.bSyncAnimationWithServer = false; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 10f; xEn.enType = enType; xEn.xBehaviour = new GundamHandAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.bAllowKnockback = false; xEn.xBehaviour.bRunClientUpdate = true; xEn.xBehaviour.bActive = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Titan; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.ExplosionGreen; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Right"), new Vector2(35f, 44f), 4, 1, 68, 66, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Right"), new Vector2(30f, 44f), 4, 1, 68, 66, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_253CA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_253CA_1 = 2; ushort arg_253C5_0 = 2; byte arg_253C5_1 = 1; Texture2D arg_253C5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Punch/Right"); Vector2 arg_253C5_3 = new Vector2(40f, 47f); int arg_253C5_4 = 4; int arg_253C5_5 = 5; int arg_253C5_6 = 70; int arg_253C5_7 = 73; int arg_253C5_8 = 0; int arg_253C5_9 = 0; int arg_253C5_10 = 20; Animation.LoopSettings arg_253C5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_253C5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_253C5_13 = true; bool arg_253C5_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_253C2_0 = array; int arg_253C2_1 = 0; AnimInsCriteria arg_253BD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_253B8_0 = AnimInsEvent.EventType.PlaySound; string arg_253B8_1 = "Gund4m_Punch_Start"; float[] array6 = new float[1]; arg_253C2_0[arg_253C2_1] = new AnimationInstruction(arg_253BD_0, new AnimInsEvent(arg_253B8_0, arg_253B8_1, array6)); arg_253CA_0.Add(arg_253CA_1, new Animation(arg_253C5_0, arg_253C5_1, arg_253C5_2, arg_253C5_3, arg_253C5_4, arg_253C5_5, arg_253C5_6, arg_253C5_7, arg_253C5_8, arg_253C5_9, arg_253C5_10, arg_253C5_11, arg_253C5_12, arg_253C5_13, arg_253C5_14, array)); xEn.xRenderComponent.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2545C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2545C_1 = 3; ushort arg_25457_0 = 3; byte arg_25457_1 = 3; Texture2D arg_25457_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Punch/Right"); Vector2 arg_25457_3 = new Vector2(30f, 47f); int arg_25457_4 = 4; int arg_25457_5 = 5; int arg_25457_6 = 70; int arg_25457_7 = 73; int arg_25457_8 = 0; int arg_25457_9 = 0; int arg_25457_10 = 20; Animation.LoopSettings arg_25457_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_25457_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_25457_13 = true; bool arg_25457_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_25454_0 = array; int arg_25454_1 = 0; AnimInsCriteria arg_2544F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2544A_0 = AnimInsEvent.EventType.PlaySound; string arg_2544A_1 = "Gund4m_Punch_Start"; array6 = new float[1]; arg_25454_0[arg_25454_1] = new AnimationInstruction(arg_2544F_0, new AnimInsEvent(arg_2544A_0, arg_2544A_1, array6)); arg_2545C_0.Add(arg_2545C_1, new Animation(arg_25457_0, arg_25457_1, arg_25457_2, arg_25457_3, arg_25457_4, arg_25457_5, arg_25457_6, arg_25457_7, arg_25457_8, arg_25457_9, arg_25457_10, arg_25457_11, arg_25457_12, arg_25457_13, arg_25457_14, array)); Dictionary<ushort, Animation> arg_254D1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_254D1_1 = 4; ushort arg_254CC_0 = 4; byte arg_254CC_1 = 1; Texture2D arg_254CC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Punch/Right"); Vector2 arg_254CC_3 = new Vector2(40f, 47f); int arg_254CC_4 = 4; int arg_254CC_5 = 5; int arg_254CC_6 = 70; int arg_254CC_7 = 73; int arg_254CC_8 = 0; int arg_254CC_9 = 0; int arg_254CC_10 = 20; Animation.LoopSettings arg_254CC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_254CC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_254CC_13 = true; bool arg_254CC_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_254C9_0 = array; int arg_254C9_1 = 0; AnimInsCriteria arg_254C4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_254BF_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_254C9_0[arg_254C9_1] = new AnimationInstruction(arg_254C4_0, new AnimInsEvent(arg_254BF_0, array6)); arg_254D1_0.Add(arg_254D1_1, new Animation(arg_254CC_0, arg_254CC_1, arg_254CC_2, arg_254CC_3, arg_254CC_4, arg_254CC_5, arg_254CC_6, arg_254CC_7, arg_254CC_8, arg_254CC_9, arg_254CC_10, arg_254CC_11, arg_254CC_12, arg_254CC_13, arg_254CC_14, array)); xEn.xRenderComponent.dixAnimations[4].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[4].bReversePlayback = true; xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Punch/Right"), new Vector2(30f, 47f), 4, 5, 70, 73, 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 })) })); xEn.xRenderComponent.dixAnimations[5].bReversePlayback = true; xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Start"), new Vector2(54f, 58f), 4, 4, 108, 125, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[6].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Start"), new Vector2(54f, 58f), 4, 4, 108, 125, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_25742_0 = xEn.xRenderComponent.dixAnimations; ushort arg_25742_1 = 8; ushort arg_2573D_0 = 8; byte arg_2573D_1 = 1; Texture2D arg_2573D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Start"); Vector2 arg_2573D_3 = new Vector2(54f, 58f); int arg_2573D_4 = 4; int arg_2573D_5 = 4; int arg_2573D_6 = 108; int arg_2573D_7 = 125; int arg_2573D_8 = 432; int arg_2573D_9 = 0; int arg_2573D_10 = 20; Animation.LoopSettings arg_2573D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2573D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2573D_13 = true; bool arg_2573D_14 = true; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 2f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); AnimationInstruction[] arg_2573A_0 = array; int arg_2573A_1 = 2; AnimInsCriteria arg_25735_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_25730_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_2573A_0[arg_2573A_1] = new AnimationInstruction(arg_25735_0, new AnimInsEvent(arg_25730_0, array6)); arg_25742_0.Add(arg_25742_1, new Animation(arg_2573D_0, arg_2573D_1, arg_2573D_2, arg_2573D_3, arg_2573D_4, arg_2573D_5, arg_2573D_6, arg_2573D_7, arg_2573D_8, arg_2573D_9, arg_2573D_10, arg_2573D_11, arg_2573D_12, arg_2573D_13, arg_2573D_14, array)); xEn.xRenderComponent.dixAnimations[8].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2585A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2585A_1 = 9; ushort arg_25855_0 = 9; byte arg_25855_1 = 3; Texture2D arg_25855_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Start"); Vector2 arg_25855_3 = new Vector2(54f, 58f); int arg_25855_4 = 4; int arg_25855_5 = 4; int arg_25855_6 = 108; int arg_25855_7 = 125; int arg_25855_8 = 432; int arg_25855_9 = 0; int arg_25855_10 = 20; Animation.LoopSettings arg_25855_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_25855_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_25855_13 = true; bool arg_25855_14 = true; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 2f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })); AnimationInstruction[] arg_25852_0 = array; int arg_25852_1 = 2; AnimInsCriteria arg_2584D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }); AnimInsEvent.EventType arg_25848_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_25852_0[arg_25852_1] = new AnimationInstruction(arg_2584D_0, new AnimInsEvent(arg_25848_0, array6)); arg_2585A_0.Add(arg_2585A_1, new Animation(arg_25855_0, arg_25855_1, arg_25855_2, arg_25855_3, arg_25855_4, arg_25855_5, arg_25855_6, arg_25855_7, arg_25855_8, arg_25855_9, arg_25855_10, arg_25855_11, arg_25855_12, arg_25855_13, arg_25855_14, array)); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/ShakeGround"), new Vector2(54f, 58f), 4, 2, 108, 125, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[10].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/ShakeGround"), new Vector2(54f, 58f), 4, 2, 108, 125, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(12, new Animation(12, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Lift"), new Vector2(54f, 58f), 4, 5, 108, 125, 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[] { 14f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations[12].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Lift"), new Vector2(54f, 58f), 4, 5, 108, 125, 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[] { 15f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/ShakeAir"), new Vector2(54f, 58f), 4, 2, 108, 125, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[14].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/ShakeAir"), new Vector2(54f, 58f), 4, 2, 108, 125, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_25BC9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_25BC9_1 = 16; ushort arg_25BC4_0 = 16; byte arg_25BC4_1 = 1; Texture2D arg_25BC4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/End"); Vector2 arg_25BC4_3 = new Vector2(54f, 58f); int arg_25BC4_4 = 4; int arg_25BC4_5 = 4; int arg_25BC4_6 = 108; int arg_25BC4_7 = 125; int arg_25BC4_8 = 0; int arg_25BC4_9 = 0; int arg_25BC4_10 = 20; Animation.LoopSettings arg_25BC4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_25BC4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_25BC4_13 = true; bool arg_25BC4_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_25BC1_0 = array; int arg_25BC1_1 = 0; AnimInsCriteria arg_25BBC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_25BB7_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_25BC1_0[arg_25BC1_1] = new AnimationInstruction(arg_25BBC_0, new AnimInsEvent(arg_25BB7_0, array6)); arg_25BC9_0.Add(arg_25BC9_1, new Animation(arg_25BC4_0, arg_25BC4_1, arg_25BC4_2, arg_25BC4_3, arg_25BC4_4, arg_25BC4_5, arg_25BC4_6, arg_25BC4_7, arg_25BC4_8, arg_25BC4_9, arg_25BC4_10, arg_25BC4_11, arg_25BC4_12, arg_25BC4_13, arg_25BC4_14, array)); xEn.xRenderComponent.dixAnimations[16].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/End"), new Vector2(54f, 58f), 4, 4, 108, 125, 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 })) })); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Punch/Hit"), new Vector2(57f, 48f), 4, 4, 104, 77, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[18].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Punch/Hit"), new Vector2(47f, 48f), 4, 4, 104, 77, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Last Stand/Start"), new Vector2(54f, 58f), 4, 12, 108, 125, 0, 0, 20, 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[] { 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 22f })) })); xEn.xRenderComponent.dixAnimations[20].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Last Stand/Start"), new Vector2(54f, 58f), 4, 12, 108, 125, 0, 0, 20, 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[] { 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 23f })) })); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Last Stand/Start"), new Vector2(54f, 58f), 4, 1, 108, 125, 1188, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[22].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Last Stand/Start"), new Vector2(54f, 58f), 4, 1, 108, 125, 1188, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Last Stand/Idle"), new Vector2(54f, 58f), 4, 1, 108, 125, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[24].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Last Stand/Idle"), new Vector2(54f, 58f), 4, 1, 108, 125, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Last Stand/Idle"), new Vector2(54f, 58f), 4, 18, 108, 125, 0, 0, 18, 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[] { 34f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 55f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 13f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 45f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 26f })) })); xEn.xRenderComponent.dixAnimations[26].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Last Stand/Idle"), new Vector2(54f, 58f), 4, 18, 108, 125, 0, 0, 18, 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[] { 60f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 55f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 13f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 21f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 27f })) })); Dictionary<ushort, Animation> arg_26401_0 = xEn.xRenderComponent.dixAnimations; ushort arg_26401_1 = 28; ushort arg_263FC_0 = 28; byte arg_263FC_1 = 1; Texture2D arg_263FC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Right"); Vector2 arg_263FC_3 = new Vector2(35f, 44f); int arg_263FC_4 = 4; int arg_263FC_5 = 12; int arg_263FC_6 = 68; int arg_263FC_7 = 66; int arg_263FC_8 = 0; int arg_263FC_9 = 0; int arg_263FC_10 = 20; Animation.LoopSettings arg_263FC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_263FC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_263FC_13 = true; bool arg_263FC_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_263F9_0 = array; int arg_263F9_1 = 0; AnimInsCriteria arg_263F4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_263EF_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_263F9_0[arg_263F9_1] = new AnimationInstruction(arg_263F4_0, new AnimInsEvent(arg_263EF_0, array6)); arg_26401_0.Add(arg_26401_1, new Animation(arg_263FC_0, arg_263FC_1, arg_263FC_2, arg_263FC_3, arg_263FC_4, arg_263FC_5, arg_263FC_6, arg_263FC_7, arg_263FC_8, arg_263FC_9, arg_263FC_10, arg_263FC_11, arg_263FC_12, arg_263FC_13, arg_263FC_14, array)); xEn.xRenderComponent.dixAnimations[28].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(29, new Animation(29, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Right"), new Vector2(30f, 44f), 4, 12, 68, 66, 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 })) })); xEn.xRenderComponent.dixAnimations.Add(30, new Animation(30, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Last Stand/Dead"), new Vector2(54f, 58f), 4, 17, 108, 125, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[30].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(31, new Animation(31, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Last Stand/Dead"), new Vector2(54f, 58f), 4, 17, 108, 125, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(32, new Animation(32, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Start"), new Vector2(56f, 58f), 4, 4, 108, 125, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[32].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(33, new Animation(33, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Start"), new Vector2(49f, 58f), 4, 4, 108, 125, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(34, new Animation(34, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Start"), new Vector2(56f, 58f), 4, 4, 108, 125, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[34].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[34].bReversePlayback = true; xEn.xRenderComponent.dixAnimations.Add(35, new Animation(35, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Gundam/Hands/Smash/Start"), new Vector2(49f, 58f), 4, 4, 108, 125, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[35].bReversePlayback = true; xEn.xRenderComponent.fVirtualHeight += 12f; xEn.liAnimationsWithAttackphase.Add(4); xEn.liAnimationsWithAttackphase.Add(5); xEn.liAnimationsWithAttackphase.Add(6); xEn.liAnimationsWithAttackphase.Add(7); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.xRenderComponent.SwitchAnimation(0, Animation.CancelOptions.RestartIfPlaying); xEn.sAttackPhaseCategory = "BrawlerBot"; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(18f, Vector2.Zero, xEn.xTransform, 10000f, xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.xMovementCollider.bIgnoreHeavyColliders = true; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(23f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.FlyingTempleChallengeCrystal) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus7 = xEn as Boss; fnus7.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.bDropsAnyLoot = false; xEn.bInstantiateInNetwork = false; xEn.bHitSoundIsNotVoice = true; xEn.xBaseStats.fMovementSpeed = 2f; xEn.xBaseStats.iBaseDEF = GameSessionData.iBaseDifficulty * 4; xEn.enType = enType; xEn.xBehaviour = new ChallengeCrystalAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 0; xEn.aiHitAnimation[1] = 0; xEn.aiHitAnimation[2] = 0; xEn.aiHitAnimation[3] = 0; xEn.xBaseStats.bAllowKnockback = false; xEn.xBaseStats.bCanBeKnockedUp = false; xEn.bAutoSwitchToHitAnimation = false; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Titan; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_CrystalDestroy; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Temple/ChallengeCrystal/CrystalIdle"), new Vector2(16f, 36f), 4, 12, 31, 49, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_26BD1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_26BD1_1 = 1; ushort arg_26BCC_0 = 1; byte arg_26BCC_1 = 0; Texture2D arg_26BCC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Temple/ChallengeCrystal/CrystalIdle"); Vector2 arg_26BCC_3 = new Vector2(16f, 36f); int arg_26BCC_4 = 140; int arg_26BCC_5 = 1; int arg_26BCC_6 = 31; int arg_26BCC_7 = 49; int arg_26BCC_8 = 0; int arg_26BCC_9 = 0; int arg_26BCC_10 = 20; Animation.LoopSettings arg_26BCC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_26BCC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_26BCC_13 = true; bool arg_26BCC_14 = true; AnimationInstruction[] array = new AnimationInstruction[13]; AnimationInstruction[] arg_2697C_0 = array; int arg_2697C_1 = 0; AnimInsCriteria arg_26977_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_26972_0 = AnimInsEvent.EventType.PlaySound; string arg_26972_1 = "crystal_sentry_death"; float[] array6 = new float[1]; arg_2697C_0[arg_2697C_1] = new AnimationInstruction(arg_26977_0, new AnimInsEvent(arg_26972_0, arg_26972_1, array6)); AnimationInstruction[] arg_269AF_0 = array; int arg_269AF_1 = 1; AnimInsCriteria arg_269AA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[] { 10f }); AnimInsEvent.EventType arg_269A5_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_269AF_0[arg_269AF_1] = new AnimationInstruction(arg_269AA_0, new AnimInsEvent(arg_269A5_0, array6)); AnimationInstruction[] arg_269E2_0 = array; int arg_269E2_1 = 2; AnimInsCriteria arg_269DD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[] { 20f }); AnimInsEvent.EventType arg_269D8_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_269E2_0[arg_269E2_1] = new AnimationInstruction(arg_269DD_0, new AnimInsEvent(arg_269D8_0, array6)); AnimationInstruction[] arg_26A15_0 = array; int arg_26A15_1 = 3; AnimInsCriteria arg_26A10_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[] { 30f }); AnimInsEvent.EventType arg_26A0B_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_26A15_0[arg_26A15_1] = new AnimationInstruction(arg_26A10_0, new AnimInsEvent(arg_26A0B_0, array6)); AnimationInstruction[] arg_26A48_0 = array; int arg_26A48_1 = 4; AnimInsCriteria arg_26A43_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[] { 40f }); AnimInsEvent.EventType arg_26A3E_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_26A48_0[arg_26A48_1] = new AnimationInstruction(arg_26A43_0, new AnimInsEvent(arg_26A3E_0, array6)); AnimationInstruction[] arg_26A7B_0 = array; int arg_26A7B_1 = 5; AnimInsCriteria arg_26A76_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[] { 50f }); AnimInsEvent.EventType arg_26A71_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_26A7B_0[arg_26A7B_1] = new AnimationInstruction(arg_26A76_0, new AnimInsEvent(arg_26A71_0, array6)); AnimationInstruction[] arg_26AAE_0 = array; int arg_26AAE_1 = 6; AnimInsCriteria arg_26AA9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[] { 60f }); AnimInsEvent.EventType arg_26AA4_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_26AAE_0[arg_26AAE_1] = new AnimationInstruction(arg_26AA9_0, new AnimInsEvent(arg_26AA4_0, array6)); AnimationInstruction[] arg_26AE1_0 = array; int arg_26AE1_1 = 7; AnimInsCriteria arg_26ADC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[] { 70f }); AnimInsEvent.EventType arg_26AD7_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_26AE1_0[arg_26AE1_1] = new AnimationInstruction(arg_26ADC_0, new AnimInsEvent(arg_26AD7_0, array6)); AnimationInstruction[] arg_26B14_0 = array; int arg_26B14_1 = 8; AnimInsCriteria arg_26B0F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[] { 80f }); AnimInsEvent.EventType arg_26B0A_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_26B14_0[arg_26B14_1] = new AnimationInstruction(arg_26B0F_0, new AnimInsEvent(arg_26B0A_0, array6)); AnimationInstruction[] arg_26B48_0 = array; int arg_26B48_1 = 9; AnimInsCriteria arg_26B43_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[] { 90f }); AnimInsEvent.EventType arg_26B3E_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_26B48_0[arg_26B48_1] = new AnimationInstruction(arg_26B43_0, new AnimInsEvent(arg_26B3E_0, array6)); AnimationInstruction[] arg_26B7C_0 = array; int arg_26B7C_1 = 10; AnimInsCriteria arg_26B77_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[] { 120f }); AnimInsEvent.EventType arg_26B72_0 = AnimInsEvent.EventType.KillEnemy; array6 = new float[1]; arg_26B7C_0[arg_26B7C_1] = new AnimationInstruction(arg_26B77_0, new AnimInsEvent(arg_26B72_0, array6)); AnimationInstruction[] arg_26BA3_0 = array; int arg_26BA3_1 = 11; AnimInsCriteria arg_26B9E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_26B99_0 = AnimInsEvent.EventType.KillEnemy; array6 = new float[1]; arg_26BA3_0[arg_26BA3_1] = new AnimationInstruction(arg_26B9E_0, new AnimInsEvent(arg_26B99_0, array6)); AnimationInstruction[] arg_26BC9_0 = array; int arg_26BC9_1 = 12; AnimInsCriteria arg_26BC4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_26BBF_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_26BC9_0[arg_26BC9_1] = new AnimationInstruction(arg_26BC4_0, new AnimInsEvent(arg_26BBF_0, array6)); arg_26BD1_0.Add(arg_26BD1_1, new Animation(arg_26BCC_0, arg_26BCC_1, arg_26BCC_2, arg_26BCC_3, arg_26BCC_4, arg_26BCC_5, arg_26BCC_6, arg_26BCC_7, arg_26BCC_8, arg_26BCC_9, arg_26BCC_10, arg_26BCC_11, arg_26BCC_12, arg_26BCC_13, arg_26BCC_14, array)); xEn.liAnimationsWithAttackphase.Add(4); xEn.liAnimationsWithAttackphase.Add(5); xEn.liAnimationsWithAttackphase.Add(6); xEn.liAnimationsWithAttackphase.Add(7); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "BrawlerBot"; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10000f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.BlueSlime) { xEn.xBaseStats.fMovementSpeed = 1.2f; xEn.enType = enType; xEn.xBehaviour = new BlueSlimeAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 2; xEn.aiHitAnimation[1] = 2; xEn.aiHitAnimation[2] = 2; xEn.aiHitAnimation[3] = 2; xEn.iBonusMoney = 18; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Idle/Up"), new Vector2(14f, 14f), 4, 8, 25, 18, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_26E1B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_26E1B_1 = 1; ushort arg_26E16_0 = 1; byte arg_26E16_1 = 0; Texture2D arg_26E16_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Run/Up"); Vector2 arg_26E16_3 = new Vector2(14f, 20f); int arg_26E16_4 = 4; int arg_26E16_5 = 14; int arg_26E16_6 = 25; int arg_26E16_7 = 23; int arg_26E16_8 = 0; int arg_26E16_9 = 0; int arg_26E16_10 = 14; Animation.LoopSettings arg_26E16_11 = Animation.LoopSettings.Looping; Animation.CancelOptions arg_26E16_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_26E16_13 = true; bool arg_26E16_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_26DD7_0 = array; int arg_26DD7_1 = 0; AnimInsCriteria arg_26DD2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_26DCD_0 = AnimInsEvent.EventType.PlaySound; string arg_26DCD_1 = "Slime_Jump"; float[] array6 = new float[1]; arg_26DD7_0[arg_26DD7_1] = new AnimationInstruction(arg_26DD2_0, new AnimInsEvent(arg_26DCD_0, arg_26DCD_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); arg_26E1B_0.Add(arg_26E1B_1, new Animation(arg_26E16_0, arg_26E16_1, arg_26E16_2, arg_26E16_3, arg_26E16_4, arg_26E16_5, arg_26E16_6, arg_26E16_7, arg_26E16_8, arg_26E16_9, arg_26E16_10, arg_26E16_11, arg_26E16_12, arg_26E16_13, arg_26E16_14, array)); Dictionary<ushort, Animation> arg_26ED4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_26ED4_1 = 2; ushort arg_26ECF_0 = 2; byte arg_26ECF_1 = 0; Texture2D arg_26ECF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Damage/Up"); Vector2 arg_26ECF_3 = new Vector2(14f, 10f); int arg_26ECF_4 = 4; int arg_26ECF_5 = 2; int arg_26ECF_6 = 27; int arg_26ECF_7 = 14; int arg_26ECF_8 = 0; int arg_26ECF_9 = 0; int arg_26ECF_10 = 2; Animation.LoopSettings arg_26ECF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_26ECF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_26ECF_13 = false; bool arg_26ECF_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_26E9E_0 = array; int arg_26E9E_1 = 0; AnimInsCriteria arg_26E99_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_26E94_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_26E9E_0[arg_26E9E_1] = new AnimationInstruction(arg_26E99_0, new AnimInsEvent(arg_26E94_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_26ED4_0.Add(arg_26ED4_1, new Animation(arg_26ECF_0, arg_26ECF_1, arg_26ECF_2, arg_26ECF_3, arg_26ECF_4, arg_26ECF_5, arg_26ECF_6, arg_26ECF_7, arg_26ECF_8, arg_26ECF_9, arg_26ECF_10, arg_26ECF_11, arg_26ECF_12, arg_26ECF_13, arg_26ECF_14, array)); Dictionary<ushort, Animation> arg_26F48_0 = xEn.xRenderComponent.dixAnimations; ushort arg_26F48_1 = 3; ushort arg_26F43_0 = 3; byte arg_26F43_1 = 0; Texture2D arg_26F43_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Damage/Reverse"); Vector2 arg_26F43_3 = new Vector2(14f, 10f); int arg_26F43_4 = 4; int arg_26F43_5 = 2; int arg_26F43_6 = 27; int arg_26F43_7 = 14; int arg_26F43_8 = 0; int arg_26F43_9 = 0; int arg_26F43_10 = 2; Animation.LoopSettings arg_26F43_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_26F43_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_26F43_13 = false; bool arg_26F43_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_26F40_0 = array; int arg_26F40_1 = 0; AnimInsCriteria arg_26F3B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_26F36_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_26F40_0[arg_26F40_1] = new AnimationInstruction(arg_26F3B_0, new AnimInsEvent(arg_26F36_0, array6)); arg_26F48_0.Add(arg_26F48_1, new Animation(arg_26F43_0, arg_26F43_1, arg_26F43_2, arg_26F43_3, arg_26F43_4, arg_26F43_5, arg_26F43_6, arg_26F43_7, arg_26F43_8, arg_26F43_9, arg_26F43_10, arg_26F43_11, arg_26F43_12, arg_26F43_13, arg_26F43_14, array)); Dictionary<ushort, Animation> arg_2713C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2713C_1 = 4; ushort arg_27137_0 = 4; byte arg_27137_1 = 0; Texture2D arg_27137_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Attack/Up"); Vector2 arg_27137_3 = new Vector2(12f, 33f); int arg_27137_4 = 4; int arg_27137_5 = 24; int arg_27137_6 = 21; int arg_27137_7 = 42; int arg_27137_8 = 0; int arg_27137_9 = 0; int arg_27137_10 = 24; Animation.LoopSettings arg_27137_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_27137_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_27137_13 = false; bool arg_27137_14 = true; array = new AnimationInstruction[7]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 4f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 3f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_27098_0 = array; int arg_27098_1 = 3; AnimInsCriteria arg_27093_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_2708E_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_27098_0[arg_27098_1] = new AnimationInstruction(arg_27093_0, new AnimInsEvent(arg_2708E_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -6f })); AnimationInstruction[] arg_2710F_0 = array; int arg_2710F_1 = 5; AnimInsCriteria arg_2710A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_27105_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_2710F_0[arg_2710F_1] = new AnimationInstruction(arg_2710A_0, new AnimInsEvent(arg_27105_0, array6)); AnimationInstruction[] arg_27134_0 = array; int arg_27134_1 = 6; AnimInsCriteria arg_2712F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2712A_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_27134_0[arg_27134_1] = new AnimationInstruction(arg_2712F_0, new AnimInsEvent(arg_2712A_0, array6)); arg_2713C_0.Add(arg_2713C_1, new Animation(arg_27137_0, arg_27137_1, arg_27137_2, arg_27137_3, arg_27137_4, arg_27137_5, arg_27137_6, arg_27137_7, arg_27137_8, arg_27137_9, arg_27137_10, arg_27137_11, arg_27137_12, arg_27137_13, arg_27137_14, array)); Dictionary<ushort, Animation> arg_27330_0 = xEn.xRenderComponent.dixAnimations; ushort arg_27330_1 = 5; ushort arg_2732B_0 = 5; byte arg_2732B_1 = 1; Texture2D arg_2732B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Attack/Right"); Vector2 arg_2732B_3 = new Vector2(16f, 13f); int arg_2732B_4 = 4; int arg_2732B_5 = 24; int arg_2732B_6 = 58; int arg_2732B_7 = 16; int arg_2732B_8 = 0; int arg_2732B_9 = 0; int arg_2732B_10 = 24; Animation.LoopSettings arg_2732B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2732B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2732B_13 = false; bool arg_2732B_14 = true; array = new AnimationInstruction[7]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 4f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 3f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_2728C_0 = array; int arg_2728C_1 = 3; AnimInsCriteria arg_27287_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_27282_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_2728C_0[arg_2728C_1] = new AnimationInstruction(arg_27287_0, new AnimInsEvent(arg_27282_0, array6)); AnimationInstruction[] arg_272C7_0 = array; int arg_272C7_1 = 4; AnimInsCriteria arg_272C2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_272BD_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 6f; arg_272C7_0[arg_272C7_1] = new AnimationInstruction(arg_272C2_0, new AnimInsEvent(arg_272BD_0, array6)); AnimationInstruction[] arg_27303_0 = array; int arg_27303_1 = 5; AnimInsCriteria arg_272FE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_272F9_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_27303_0[arg_27303_1] = new AnimationInstruction(arg_272FE_0, new AnimInsEvent(arg_272F9_0, array6)); AnimationInstruction[] arg_27328_0 = array; int arg_27328_1 = 6; AnimInsCriteria arg_27323_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2731E_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_27328_0[arg_27328_1] = new AnimationInstruction(arg_27323_0, new AnimInsEvent(arg_2731E_0, array6)); arg_27330_0.Add(arg_27330_1, new Animation(arg_2732B_0, arg_2732B_1, arg_2732B_2, arg_2732B_3, arg_2732B_4, arg_2732B_5, arg_2732B_6, arg_2732B_7, arg_2732B_8, arg_2732B_9, arg_2732B_10, arg_2732B_11, arg_2732B_12, arg_2732B_13, arg_2732B_14, array)); Dictionary<ushort, Animation> arg_27524_0 = xEn.xRenderComponent.dixAnimations; ushort arg_27524_1 = 6; ushort arg_2751F_0 = 6; byte arg_2751F_1 = 2; Texture2D arg_2751F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Attack/Down"); Vector2 arg_2751F_3 = new Vector2(12f, 18f); int arg_2751F_4 = 4; int arg_2751F_5 = 24; int arg_2751F_6 = 21; int arg_2751F_7 = 47; int arg_2751F_8 = 0; int arg_2751F_9 = 0; int arg_2751F_10 = 24; Animation.LoopSettings arg_2751F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2751F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2751F_13 = false; bool arg_2751F_14 = true; array = new AnimationInstruction[7]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 4f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 3f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_27480_0 = array; int arg_27480_1 = 3; AnimInsCriteria arg_2747B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_27476_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_27480_0[arg_27480_1] = new AnimationInstruction(arg_2747B_0, new AnimInsEvent(arg_27476_0, array6)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 6f })); AnimationInstruction[] arg_274F7_0 = array; int arg_274F7_1 = 5; AnimInsCriteria arg_274F2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_274ED_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_274F7_0[arg_274F7_1] = new AnimationInstruction(arg_274F2_0, new AnimInsEvent(arg_274ED_0, array6)); AnimationInstruction[] arg_2751C_0 = array; int arg_2751C_1 = 6; AnimInsCriteria arg_27517_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_27512_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2751C_0[arg_2751C_1] = new AnimationInstruction(arg_27517_0, new AnimInsEvent(arg_27512_0, array6)); arg_27524_0.Add(arg_27524_1, new Animation(arg_2751F_0, arg_2751F_1, arg_2751F_2, arg_2751F_3, arg_2751F_4, arg_2751F_5, arg_2751F_6, arg_2751F_7, arg_2751F_8, arg_2751F_9, arg_2751F_10, arg_2751F_11, arg_2751F_12, arg_2751F_13, arg_2751F_14, array)); Dictionary<ushort, Animation> arg_27718_0 = xEn.xRenderComponent.dixAnimations; ushort arg_27718_1 = 7; ushort arg_27713_0 = 7; byte arg_27713_1 = 1; Texture2D arg_27713_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Attack/Right"); Vector2 arg_27713_3 = new Vector2(45f, 12f); int arg_27713_4 = 4; int arg_27713_5 = 24; int arg_27713_6 = 58; int arg_27713_7 = 16; int arg_27713_8 = 0; int arg_27713_9 = 0; int arg_27713_10 = 24; Animation.LoopSettings arg_27713_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_27713_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_27713_13 = false; bool arg_27713_14 = true; array = new AnimationInstruction[7]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 4f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 3f })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 5f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "Slime_Attack", new float[] { 1f })); AnimationInstruction[] arg_27674_0 = array; int arg_27674_1 = 3; AnimInsCriteria arg_2766F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 9f }); AnimInsEvent.EventType arg_2766A_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_27674_0[arg_27674_1] = new AnimationInstruction(arg_2766F_0, new AnimInsEvent(arg_2766A_0, array6)); AnimationInstruction[] arg_276AF_0 = array; int arg_276AF_1 = 4; AnimInsCriteria arg_276AA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_276A5_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -6f; arg_276AF_0[arg_276AF_1] = new AnimationInstruction(arg_276AA_0, new AnimInsEvent(arg_276A5_0, array6)); AnimationInstruction[] arg_276EB_0 = array; int arg_276EB_1 = 5; AnimInsCriteria arg_276E6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }); AnimInsEvent.EventType arg_276E1_0 = AnimInsEvent.EventType.FreezeFrame; array6 = new float[2]; array6[0] = 10f; arg_276EB_0[arg_276EB_1] = new AnimationInstruction(arg_276E6_0, new AnimInsEvent(arg_276E1_0, array6)); AnimationInstruction[] arg_27710_0 = array; int arg_27710_1 = 6; AnimInsCriteria arg_2770B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_27706_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_27710_0[arg_27710_1] = new AnimationInstruction(arg_2770B_0, new AnimInsEvent(arg_27706_0, array6)); arg_27718_0.Add(arg_27718_1, new Animation(arg_27713_0, arg_27713_1, arg_27713_2, arg_27713_3, arg_27713_4, arg_27713_5, arg_27713_6, arg_27713_7, arg_27713_8, arg_27713_9, arg_27713_10, arg_27713_11, arg_27713_12, arg_27713_13, arg_27713_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_277A3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_277A3_1 = 8; ushort arg_2779E_0 = 8; byte arg_2779E_1 = 0; Texture2D arg_2779E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Fall/Impact"); Vector2 arg_2779E_3 = new Vector2(13f, 15f); int arg_2779E_4 = 4; int arg_2779E_5 = 5; int arg_2779E_6 = 25; int arg_2779E_7 = 18; int arg_2779E_8 = 0; int arg_2779E_9 = 0; int arg_2779E_10 = 5; Animation.LoopSettings arg_2779E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2779E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2779E_13 = false; bool arg_2779E_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2779B_0 = array; int arg_2779B_1 = 0; AnimInsCriteria arg_27796_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_27791_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2779B_0[arg_2779B_1] = new AnimationInstruction(arg_27796_0, new AnimInsEvent(arg_27791_0, array6)); arg_277A3_0.Add(arg_277A3_1, new Animation(arg_2779E_0, arg_2779E_1, arg_2779E_2, arg_2779E_3, arg_2779E_4, arg_2779E_5, arg_2779E_6, arg_2779E_7, arg_2779E_8, arg_2779E_9, arg_2779E_10, arg_2779E_11, arg_2779E_12, arg_2779E_13, arg_2779E_14, array)); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Damage/Up"), new Vector2(14f, 10f), 4, 2, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Damage/Up"), new Vector2(14f, 10f), 4, 2, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Damage/Up"), new Vector2(14f, 10f), 4, 2, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Damage/Up"), new Vector2(14f, 10f), 4, 2, 27, 14, 0, 0, 2, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_2796B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2796B_1 = 40004; ushort arg_27966_0 = 40004; byte arg_27966_1 = 0; Texture2D arg_27966_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Damage/Reverse"); Vector2 arg_27966_3 = new Vector2(14f, 10f); int arg_27966_4 = 4; int arg_27966_5 = 2; int arg_27966_6 = 27; int arg_27966_7 = 14; int arg_27966_8 = 0; int arg_27966_9 = 0; int arg_27966_10 = 2; Animation.LoopSettings arg_27966_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_27966_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_27966_13 = false; bool arg_27966_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_27963_0 = array; int arg_27963_1 = 0; AnimInsCriteria arg_2795E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_27959_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_27963_0[arg_27963_1] = new AnimationInstruction(arg_2795E_0, new AnimInsEvent(arg_27959_0, array6)); arg_2796B_0.Add(arg_2796B_1, new Animation(arg_27966_0, arg_27966_1, arg_27966_2, arg_27966_3, arg_27966_4, arg_27966_5, arg_27966_6, arg_27966_7, arg_27966_8, arg_27966_9, arg_27966_10, arg_27966_11, arg_27966_12, arg_27966_13, arg_27966_14, array)); Dictionary<ushort, Animation> arg_279E7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_279E7_1 = 40005; ushort arg_279E2_0 = 40005; byte arg_279E2_1 = 1; Texture2D arg_279E2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Damage/Reverse"); Vector2 arg_279E2_3 = new Vector2(14f, 10f); int arg_279E2_4 = 4; int arg_279E2_5 = 2; int arg_279E2_6 = 27; int arg_279E2_7 = 14; int arg_279E2_8 = 0; int arg_279E2_9 = 0; int arg_279E2_10 = 2; Animation.LoopSettings arg_279E2_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_279E2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_279E2_13 = false; bool arg_279E2_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_279DF_0 = array; int arg_279DF_1 = 0; AnimInsCriteria arg_279DA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_279D5_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_279DF_0[arg_279DF_1] = new AnimationInstruction(arg_279DA_0, new AnimInsEvent(arg_279D5_0, array6)); arg_279E7_0.Add(arg_279E7_1, new Animation(arg_279E2_0, arg_279E2_1, arg_279E2_2, arg_279E2_3, arg_279E2_4, arg_279E2_5, arg_279E2_6, arg_279E2_7, arg_279E2_8, arg_279E2_9, arg_279E2_10, arg_279E2_11, arg_279E2_12, arg_279E2_13, arg_279E2_14, array)); Dictionary<ushort, Animation> arg_27A63_0 = xEn.xRenderComponent.dixAnimations; ushort arg_27A63_1 = 40006; ushort arg_27A5E_0 = 40006; byte arg_27A5E_1 = 2; Texture2D arg_27A5E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Damage/Reverse"); Vector2 arg_27A5E_3 = new Vector2(14f, 10f); int arg_27A5E_4 = 4; int arg_27A5E_5 = 2; int arg_27A5E_6 = 27; int arg_27A5E_7 = 14; int arg_27A5E_8 = 0; int arg_27A5E_9 = 0; int arg_27A5E_10 = 2; Animation.LoopSettings arg_27A5E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_27A5E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_27A5E_13 = false; bool arg_27A5E_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_27A5B_0 = array; int arg_27A5B_1 = 0; AnimInsCriteria arg_27A56_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_27A51_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_27A5B_0[arg_27A5B_1] = new AnimationInstruction(arg_27A56_0, new AnimInsEvent(arg_27A51_0, array6)); arg_27A63_0.Add(arg_27A63_1, new Animation(arg_27A5E_0, arg_27A5E_1, arg_27A5E_2, arg_27A5E_3, arg_27A5E_4, arg_27A5E_5, arg_27A5E_6, arg_27A5E_7, arg_27A5E_8, arg_27A5E_9, arg_27A5E_10, arg_27A5E_11, arg_27A5E_12, arg_27A5E_13, arg_27A5E_14, array)); Dictionary<ushort, Animation> arg_27ADF_0 = xEn.xRenderComponent.dixAnimations; ushort arg_27ADF_1 = 40007; ushort arg_27ADA_0 = 40007; byte arg_27ADA_1 = 3; Texture2D arg_27ADA_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Blue Slime/Damage/Reverse"); Vector2 arg_27ADA_3 = new Vector2(14f, 10f); int arg_27ADA_4 = 4; int arg_27ADA_5 = 2; int arg_27ADA_6 = 27; int arg_27ADA_7 = 14; int arg_27ADA_8 = 0; int arg_27ADA_9 = 0; int arg_27ADA_10 = 2; Animation.LoopSettings arg_27ADA_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_27ADA_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_27ADA_13 = false; bool arg_27ADA_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_27AD7_0 = array; int arg_27AD7_1 = 0; AnimInsCriteria arg_27AD2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_27ACD_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_27AD7_0[arg_27AD7_1] = new AnimationInstruction(arg_27AD2_0, new AnimInsEvent(arg_27ACD_0, array6)); arg_27ADF_0.Add(arg_27ADF_1, new Animation(arg_27ADA_0, arg_27ADA_1, arg_27ADA_2, arg_27ADA_3, arg_27ADA_4, arg_27ADA_5, arg_27ADA_6, arg_27ADA_7, arg_27ADA_8, arg_27ADA_9, arg_27ADA_10, arg_27ADA_11, arg_27ADA_12, arg_27ADA_13, arg_27ADA_14, array)); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "BlueSlime"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.SlimeDeathBlue; xEn.liAnimationsWithAttackphase.Add(4); xEn.liAnimationsWithAttackphase.Add(5); xEn.liAnimationsWithAttackphase.Add(6); xEn.liAnimationsWithAttackphase.Add(7); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.FrostlingRogue) { xEn.enType = enType; xEn.xBehaviour = new FrostlingRogueAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 20; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.bAutoSwitchToHitAnimation = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Idle/Up"), new Vector2(19f, 27f), 4, 16, 39, 36, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Idle/Right"), new Vector2(13f, 27f), 4, 16, 28, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Idle/Down"), new Vector2(17f, 27f), 4, 16, 35, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Idle/Right"), new Vector2(14f, 27f), 4, 16, 28, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Run/Up"), new Vector2(12f, 27f), 4, 8, 25, 34, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Run/Right"), new Vector2(11f, 28f), 4, 8, 28, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Run/Down"), new Vector2(12f, 28f), 4, 8, 25, 35, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Run/Right"), new Vector2(16f, 28f), 4, 8, 28, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_27F68_0 = xEn.xRenderComponent.dixAnimations; ushort arg_27F68_1 = 12; ushort arg_27F63_0 = 12; byte arg_27F63_1 = 0; Texture2D arg_27F63_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Up"); Vector2 arg_27F63_3 = new Vector2(15f, 26f); int arg_27F63_4 = 4; int arg_27F63_5 = 4; int arg_27F63_6 = 31; int arg_27F63_7 = 32; int arg_27F63_8 = 0; int arg_27F63_9 = 0; int arg_27F63_10 = 20; Animation.LoopSettings arg_27F63_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_27F63_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_27F63_13 = false; bool arg_27F63_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_27F60_0 = array; int arg_27F60_1 = 1; AnimInsCriteria arg_27F5B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_27F56_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_27F60_0[arg_27F60_1] = new AnimationInstruction(arg_27F5B_0, new AnimInsEvent(arg_27F56_0, array6)); arg_27F68_0.Add(arg_27F68_1, new Animation(arg_27F63_0, arg_27F63_1, arg_27F63_2, arg_27F63_3, arg_27F63_4, arg_27F63_5, arg_27F63_6, arg_27F63_7, arg_27F63_8, arg_27F63_9, arg_27F63_10, arg_27F63_11, arg_27F63_12, arg_27F63_13, arg_27F63_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Right"), new Vector2(17f, 29f), 4, 4, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Down"), new Vector2(12f, 26f), 4, 4, 25, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Right"), new Vector2(11f, 29f), 4, 4, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(1000, new Animation(1000, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Flavour/Smashed"), new Vector2(18f, 57f), 4, 16, 36, 62, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[1000].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(1001, new Animation(1001, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Flavour/Smashed"), new Vector2(18f, 57f), 4, 16, 36, 62, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(10003, new Animation(10003, 2, 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, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 10f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(10002, new Animation(10002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Dead/Right"), new Vector2(17f, 29f), 4, 12, 36, 34, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 10f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations[10002].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Up"), new Vector2(15f, 26f), 4, 2, 31, 32, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Right"), new Vector2(17f, 29f), 4, 2, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Down"), new Vector2(12f, 26f), 4, 2, 25, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Right"), new Vector2(11f, 29f), 4, 2, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_286B9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_286B9_1 = 40004; ushort arg_286B4_0 = 40004; byte arg_286B4_1 = 0; Texture2D arg_286B4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Up"); Vector2 arg_286B4_3 = new Vector2(15f, 26f); int arg_286B4_4 = 4; int arg_286B4_5 = 2; int arg_286B4_6 = 31; int arg_286B4_7 = 32; int arg_286B4_8 = 62; int arg_286B4_9 = 0; int arg_286B4_10 = 20; Animation.LoopSettings arg_286B4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_286B4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_286B4_13 = false; bool arg_286B4_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_286B1_0 = array; int arg_286B1_1 = 0; AnimInsCriteria arg_286AC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_286A7_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_286B1_0[arg_286B1_1] = new AnimationInstruction(arg_286AC_0, new AnimInsEvent(arg_286A7_0, array6)); arg_286B9_0.Add(arg_286B9_1, new Animation(arg_286B4_0, arg_286B4_1, arg_286B4_2, arg_286B4_3, arg_286B4_4, arg_286B4_5, arg_286B4_6, arg_286B4_7, arg_286B4_8, arg_286B4_9, arg_286B4_10, arg_286B4_11, arg_286B4_12, arg_286B4_13, arg_286B4_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Right"), new Vector2(17f, 29f), 4, 2, 29, 34, 58, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Down"), new Vector2(12f, 26f), 4, 2, 25, 31, 50, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Damage/Right"), new Vector2(11f, 29f), 4, 2, 29, 34, 58, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "FrostlingRogue"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PoofEffectA; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.FrostlingScoundrel) { xEn.enType = enType; xEn.xBehaviour = new FrostlingScoundrelAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.bAutoSwitchToHitAnimation = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/Up"), new Vector2(13f, 27f), 4, 12, 26, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/Right"), new Vector2(12f, 28f), 4, 12, 22, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/Down"), new Vector2(13f, 27f), 4, 12, 26, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/Right"), new Vector2(11f, 28f), 4, 12, 22, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Run/Up"), new Vector2(12f, 27f), 4, 8, 25, 34, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Run/Right"), new Vector2(11f, 28f), 4, 8, 28, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Run/Down"), new Vector2(12f, 28f), 4, 8, 25, 35, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Run/Right"), new Vector2(16f, 28f), 4, 8, 28, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_28CF4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_28CF4_1 = 12; ushort arg_28CEF_0 = 12; byte arg_28CEF_1 = 0; Texture2D arg_28CEF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Up"); Vector2 arg_28CEF_3 = new Vector2(15f, 26f); int arg_28CEF_4 = 4; int arg_28CEF_5 = 4; int arg_28CEF_6 = 31; int arg_28CEF_7 = 32; int arg_28CEF_8 = 0; int arg_28CEF_9 = 0; int arg_28CEF_10 = 20; Animation.LoopSettings arg_28CEF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_28CEF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_28CEF_13 = false; bool arg_28CEF_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_28CEC_0 = array; int arg_28CEC_1 = 1; AnimInsCriteria arg_28CE7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_28CE2_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_28CEC_0[arg_28CEC_1] = new AnimationInstruction(arg_28CE7_0, new AnimInsEvent(arg_28CE2_0, array6)); arg_28CF4_0.Add(arg_28CF4_1, new Animation(arg_28CEF_0, arg_28CEF_1, arg_28CEF_2, arg_28CEF_3, arg_28CEF_4, arg_28CEF_5, arg_28CEF_6, arg_28CEF_7, arg_28CEF_8, arg_28CEF_9, arg_28CEF_10, arg_28CEF_11, arg_28CEF_12, arg_28CEF_13, arg_28CEF_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Right"), new Vector2(17f, 29f), 4, 4, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Down"), new Vector2(12f, 26f), 4, 4, 25, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Right"), new Vector2(11f, 29f), 4, 4, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/NoSnow/Up"), new Vector2(14f, 27f), 4, 10, 27, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/NoSnow/Right"), new Vector2(13f, 28f), 4, 10, 24, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/NoSnow/Down"), new Vector2(13f, 26f), 4, 10, 25, 31, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/NoSnow/Right"), new Vector2(12f, 28f), 4, 10, 24, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/BigSnow/Up"), new Vector2(13f, 27f), 4, 10, 30, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/BigSnow/Right"), new Vector2(16f, 28f), 4, 10, 26, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/BigSnow/Down"), new Vector2(13f, 27f), 4, 10, 30, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Idle/BigSnow/Right"), new Vector2(11f, 28f), 4, 10, 26, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2929C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2929C_1 = 24; ushort arg_29297_0 = 24; byte arg_29297_1 = 0; Texture2D arg_29297_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/PickUp/Up"); Vector2 arg_29297_3 = new Vector2(13f, 24f); int arg_29297_4 = 4; int arg_29297_5 = 13; int arg_29297_6 = 25; int arg_29297_7 = 29; int arg_29297_8 = 0; int arg_29297_9 = 0; int arg_29297_10 = 20; Animation.LoopSettings arg_29297_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_29297_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_29297_13 = false; bool arg_29297_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_29258_0 = array; int arg_29258_1 = 0; AnimInsCriteria arg_29253_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2924E_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_29258_0[arg_29258_1] = new AnimationInstruction(arg_29253_0, new AnimInsEvent(arg_2924E_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); arg_2929C_0[arg_2929C_1] = new Animation(arg_29297_0, arg_29297_1, arg_29297_2, arg_29297_3, arg_29297_4, arg_29297_5, arg_29297_6, arg_29297_7, arg_29297_8, arg_29297_9, arg_29297_10, arg_29297_11, arg_29297_12, arg_29297_13, arg_29297_14, array); xEn.xRenderComponent.dixAnimations[25] = new Animation(25, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/PickUp/Right"), new Vector2(11f, 26f), 4, 13, 27, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })) }); xEn.xRenderComponent.dixAnimations[26] = new Animation(26, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/PickUp/Down"), new Vector2(14f, 25f), 4, 13, 27, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, 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[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })) }); xEn.xRenderComponent.dixAnimations[27] = new Animation(27, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/PickUp/Right"), new Vector2(17f, 26f), 4, 13, 27, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })) }); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2959F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2959F_1 = 28; ushort arg_2959A_0 = 28; byte arg_2959A_1 = 0; Texture2D arg_2959A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/PickUp/BigSnow/Up"); Vector2 arg_2959A_3 = new Vector2(13f, 24f); int arg_2959A_4 = 4; int arg_2959A_5 = 19; int arg_2959A_6 = 27; int arg_2959A_7 = 29; int arg_2959A_8 = 0; int arg_2959A_9 = 0; int arg_2959A_10 = 20; Animation.LoopSettings arg_2959A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2959A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2959A_13 = false; bool arg_2959A_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2955B_0 = array; int arg_2955B_1 = 0; AnimInsCriteria arg_29556_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_29551_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2955B_0[arg_2955B_1] = new AnimationInstruction(arg_29556_0, new AnimInsEvent(arg_29551_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); arg_2959F_0[arg_2959F_1] = new Animation(arg_2959A_0, arg_2959A_1, arg_2959A_2, arg_2959A_3, arg_2959A_4, arg_2959A_5, arg_2959A_6, arg_2959A_7, arg_2959A_8, arg_2959A_9, arg_2959A_10, arg_2959A_11, arg_2959A_12, arg_2959A_13, arg_2959A_14, array); xEn.xRenderComponent.dixAnimations[29] = new Animation(29, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/PickUp/BigSnow/Right"), new Vector2(14f, 26f), 4, 19, 30, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) }); xEn.xRenderComponent.dixAnimations[30] = new Animation(30, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/PickUp/BigSnow/Down"), new Vector2(14f, 25f), 4, 19, 27, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, 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[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) }); xEn.xRenderComponent.dixAnimations[31] = new Animation(31, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/PickUp/BigSnow/Right"), new Vector2(17f, 26f), 4, 19, 30, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) }); xEn.xRenderComponent.dixAnimations[31].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(1000, new Animation(1000, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Dead/Right"), new Vector2(19f, 29f), 4, 12, 36, 34, 396, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1001, new Animation(1001, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Dead/Right"), new Vector2(17f, 29f), 4, 12, 36, 34, 396, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[1001].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[1002] = new Animation(1002, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Attack/BigSnow/Right"), new Vector2(24f, 27f), 4, 12, 45, 32, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 4f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 17f })) }); xEn.xRenderComponent.dixAnimations.Add(10003, new Animation(10003, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Dead/Right"), new Vector2(19f, 29f), 4, 12, 36, 34, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 10f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(10002, new Animation(10002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Dead/Right"), new Vector2(17f, 29f), 4, 12, 36, 34, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 10f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations[10002].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Up"), new Vector2(15f, 26f), 4, 2, 31, 32, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Right"), new Vector2(17f, 29f), 4, 2, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Down"), new Vector2(12f, 26f), 4, 2, 25, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Right"), new Vector2(11f, 29f), 4, 2, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_29DBE_0 = xEn.xRenderComponent.dixAnimations; ushort arg_29DBE_1 = 40004; ushort arg_29DB9_0 = 40004; byte arg_29DB9_1 = 0; Texture2D arg_29DB9_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Up"); Vector2 arg_29DB9_3 = new Vector2(15f, 26f); int arg_29DB9_4 = 4; int arg_29DB9_5 = 2; int arg_29DB9_6 = 31; int arg_29DB9_7 = 32; int arg_29DB9_8 = 62; int arg_29DB9_9 = 0; int arg_29DB9_10 = 20; Animation.LoopSettings arg_29DB9_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_29DB9_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_29DB9_13 = false; bool arg_29DB9_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_29DB6_0 = array; int arg_29DB6_1 = 0; AnimInsCriteria arg_29DB1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_29DAC_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_29DB6_0[arg_29DB6_1] = new AnimationInstruction(arg_29DB1_0, new AnimInsEvent(arg_29DAC_0, array6)); arg_29DBE_0.Add(arg_29DBE_1, new Animation(arg_29DB9_0, arg_29DB9_1, arg_29DB9_2, arg_29DB9_3, arg_29DB9_4, arg_29DB9_5, arg_29DB9_6, arg_29DB9_7, arg_29DB9_8, arg_29DB9_9, arg_29DB9_10, arg_29DB9_11, arg_29DB9_12, arg_29DB9_13, arg_29DB9_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Right"), new Vector2(17f, 29f), 4, 2, 29, 34, 58, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Down"), new Vector2(12f, 26f), 4, 2, 25, 31, 50, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Scoundrel/Damage/Right"), new Vector2(11f, 29f), 4, 2, 29, 34, 58, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "FrostlingRogue"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PoofEffectA; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.FrostlingBoss) { xEn.enType = enType; xEn.xBehaviour = new FrostlingBossAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 20; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.bAutoSwitchToHitAnimation = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Idle/Up"), new Vector2(25f, 27f), 4, 16, 45, 36, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Idle/Right"), new Vector2(17f, 27f), 4, 16, 36, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Idle/Down"), new Vector2(17f, 27f), 4, 16, 41, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Idle/Right"), new Vector2(18f, 27f), 4, 16, 36, 32, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Run/Up"), new Vector2(12f, 27f), 4, 8, 25, 34, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Run/Right"), new Vector2(11f, 28f), 4, 8, 28, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Run/Down"), new Vector2(12f, 28f), 4, 8, 25, 35, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Run/Right"), new Vector2(16f, 28f), 4, 8, 28, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2A3F9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2A3F9_1 = 12; ushort arg_2A3F4_0 = 12; byte arg_2A3F4_1 = 0; Texture2D arg_2A3F4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Up"); Vector2 arg_2A3F4_3 = new Vector2(15f, 26f); int arg_2A3F4_4 = 4; int arg_2A3F4_5 = 4; int arg_2A3F4_6 = 31; int arg_2A3F4_7 = 32; int arg_2A3F4_8 = 0; int arg_2A3F4_9 = 0; int arg_2A3F4_10 = 20; Animation.LoopSettings arg_2A3F4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2A3F4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2A3F4_13 = false; bool arg_2A3F4_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_2A3F1_0 = array; int arg_2A3F1_1 = 1; AnimInsCriteria arg_2A3EC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2A3E7_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_2A3F1_0[arg_2A3F1_1] = new AnimationInstruction(arg_2A3EC_0, new AnimInsEvent(arg_2A3E7_0, array6)); arg_2A3F9_0.Add(arg_2A3F9_1, new Animation(arg_2A3F4_0, arg_2A3F4_1, arg_2A3F4_2, arg_2A3F4_3, arg_2A3F4_4, arg_2A3F4_5, arg_2A3F4_6, arg_2A3F4_7, arg_2A3F4_8, arg_2A3F4_9, arg_2A3F4_10, arg_2A3F4_11, arg_2A3F4_12, arg_2A3F4_13, arg_2A3F4_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Right"), new Vector2(17f, 29f), 4, 4, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Down"), new Vector2(12f, 26f), 4, 4, 25, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Right"), new Vector2(11f, 29f), 4, 4, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2A6F9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2A6F9_1 = 24; ushort arg_2A6F4_0 = 24; byte arg_2A6F4_1 = 0; Texture2D arg_2A6F4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Jump/Up"); Vector2 arg_2A6F4_3 = new Vector2(16f, 32f); int arg_2A6F4_4 = 4; int arg_2A6F4_5 = 12; int arg_2A6F4_6 = 30; int arg_2A6F4_7 = 36; int arg_2A6F4_8 = 0; int arg_2A6F4_9 = 0; int arg_2A6F4_10 = 20; Animation.LoopSettings arg_2A6F4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2A6F4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2A6F4_13 = false; bool arg_2A6F4_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_2A6F1_0 = array; int arg_2A6F1_1 = 1; AnimInsCriteria arg_2A6EC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2A6E7_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2A6F1_0[arg_2A6F1_1] = new AnimationInstruction(arg_2A6EC_0, new AnimInsEvent(arg_2A6E7_0, array6)); arg_2A6F9_0.Add(arg_2A6F9_1, new Animation(arg_2A6F4_0, arg_2A6F4_1, arg_2A6F4_2, arg_2A6F4_3, arg_2A6F4_4, arg_2A6F4_5, arg_2A6F4_6, arg_2A6F4_7, arg_2A6F4_8, arg_2A6F4_9, arg_2A6F4_10, arg_2A6F4_11, arg_2A6F4_12, arg_2A6F4_13, arg_2A6F4_14, array)); xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Jump/Right"), new Vector2(18f, 33f), 4, 12, 32, 37, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Jump/Down"), new Vector2(22f, 32f), 4, 12, 45, 36, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Jump/Right"), new Vector2(14f, 33f), 4, 12, 32, 37, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 7f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(10003, new Animation(10003, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Dead/Right"), new Vector2(19f, 29f), 4, 13, 36, 34, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 10f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(10002, new Animation(10002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Dead/Right"), new Vector2(17f, 29f), 4, 13, 36, 34, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 7f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 10f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations[10002].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Up"), new Vector2(15f, 26f), 4, 2, 31, 32, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Right"), new Vector2(17f, 29f), 4, 2, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Down"), new Vector2(12f, 26f), 4, 2, 25, 31, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Right"), new Vector2(11f, 29f), 4, 2, 29, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2AD88_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2AD88_1 = 40004; ushort arg_2AD83_0 = 40004; byte arg_2AD83_1 = 0; Texture2D arg_2AD83_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Up"); Vector2 arg_2AD83_3 = new Vector2(15f, 26f); int arg_2AD83_4 = 4; int arg_2AD83_5 = 2; int arg_2AD83_6 = 31; int arg_2AD83_7 = 32; int arg_2AD83_8 = 62; int arg_2AD83_9 = 0; int arg_2AD83_10 = 20; Animation.LoopSettings arg_2AD83_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2AD83_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2AD83_13 = false; bool arg_2AD83_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2AD80_0 = array; int arg_2AD80_1 = 0; AnimInsCriteria arg_2AD7B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2AD76_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2AD80_0[arg_2AD80_1] = new AnimationInstruction(arg_2AD7B_0, new AnimInsEvent(arg_2AD76_0, array6)); arg_2AD88_0.Add(arg_2AD88_1, new Animation(arg_2AD83_0, arg_2AD83_1, arg_2AD83_2, arg_2AD83_3, arg_2AD83_4, arg_2AD83_5, arg_2AD83_6, arg_2AD83_7, arg_2AD83_8, arg_2AD83_9, arg_2AD83_10, arg_2AD83_11, arg_2AD83_12, arg_2AD83_13, arg_2AD83_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Right"), new Vector2(17f, 29f), 4, 2, 29, 34, 58, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Down"), new Vector2(12f, 26f), 4, 2, 25, 31, 50, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Damage/Right"), new Vector2(11f, 29f), 4, 2, 29, 34, 58, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; (xEn.xBehaviour as FrostlingBossAI).xShadowRC = new StaticRenderComponent(Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Boss/Jump/Shadow"), new TransformComponent(Vector2.Zero)); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "FrostlingBoss"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PoofEffectA; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.GiftBoxMelee) { xEn.enType = enType; xEn.xBehaviour = new GiftBoxMeleeAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.bAutoSwitchToHitAnimation = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Idle/Up"), new Vector2(16f, 23f), 4, 18, 32, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Idle/Right"), new Vector2(11f, 23f), 4, 18, 22, 31, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Idle/Down"), new Vector2(16f, 23f), 4, 18, 32, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Idle/Right"), new Vector2(11f, 23f), 4, 18, 22, 31, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Move/Up"), new Vector2(12f, 26f), 4, 10, 24, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Move/Right"), new Vector2(12f, 27f), 4, 10, 24, 34, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Move/Down"), new Vector2(12f, 26f), 4, 10, 24, 34, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Move/Right"), new Vector2(12f, 27f), 4, 10, 24, 34, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2B3F7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2B3F7_1 = 12; ushort arg_2B3F2_0 = 12; byte arg_2B3F2_1 = 0; Texture2D arg_2B3F2_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Up"); Vector2 arg_2B3F2_3 = new Vector2(12f, 20f); int arg_2B3F2_4 = 4; int arg_2B3F2_5 = 4; int arg_2B3F2_6 = 24; int arg_2B3F2_7 = 27; int arg_2B3F2_8 = 0; int arg_2B3F2_9 = 0; int arg_2B3F2_10 = 20; Animation.LoopSettings arg_2B3F2_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2B3F2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2B3F2_13 = false; bool arg_2B3F2_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_2B3EF_0 = array; int arg_2B3EF_1 = 1; AnimInsCriteria arg_2B3EA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2B3E5_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_2B3EF_0[arg_2B3EF_1] = new AnimationInstruction(arg_2B3EA_0, new AnimInsEvent(arg_2B3E5_0, array6)); arg_2B3F7_0.Add(arg_2B3F7_1, new Animation(arg_2B3F2_0, arg_2B3F2_1, arg_2B3F2_2, arg_2B3F2_3, arg_2B3F2_4, arg_2B3F2_5, arg_2B3F2_6, arg_2B3F2_7, arg_2B3F2_8, arg_2B3F2_9, arg_2B3F2_10, arg_2B3F2_11, arg_2B3F2_12, arg_2B3F2_13, arg_2B3F2_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Right"), new Vector2(12f, 21f), 4, 4, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Down"), new Vector2(12f, 21f), 4, 4, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Right"), new Vector2(12f, 21f), 4, 4, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(100, new Animation(100, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Jump/Right"), new Vector2(12f, 27f), 4, 3, 24, 34, 24, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(101, new Animation(101, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Jump/Right"), new Vector2(12f, 27f), 4, 3, 24, 34, 24, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[101].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(104, new Animation(104, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Jump/Right"), new Vector2(12f, 27f), 4, 5, 24, 34, 96, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(105, new Animation(105, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Jump/Right"), new Vector2(12f, 27f), 4, 5, 24, 34, 96, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[105].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Up"), new Vector2(12f, 20f), 4, 2, 24, 27, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Right"), new Vector2(12f, 21f), 4, 2, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Down"), new Vector2(12f, 21f), 4, 2, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Right"), new Vector2(12f, 21f), 4, 2, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2B9FC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2B9FC_1 = 40004; ushort arg_2B9F7_0 = 40004; byte arg_2B9F7_1 = 0; Texture2D arg_2B9F7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Up"); Vector2 arg_2B9F7_3 = new Vector2(12f, 20f); int arg_2B9F7_4 = 4; int arg_2B9F7_5 = 2; int arg_2B9F7_6 = 24; int arg_2B9F7_7 = 27; int arg_2B9F7_8 = 48; int arg_2B9F7_9 = 0; int arg_2B9F7_10 = 20; Animation.LoopSettings arg_2B9F7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2B9F7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2B9F7_13 = false; bool arg_2B9F7_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2B9F4_0 = array; int arg_2B9F4_1 = 0; AnimInsCriteria arg_2B9EF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2B9EA_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2B9F4_0[arg_2B9F4_1] = new AnimationInstruction(arg_2B9EF_0, new AnimInsEvent(arg_2B9EA_0, array6)); arg_2B9FC_0.Add(arg_2B9FC_1, new Animation(arg_2B9F7_0, arg_2B9F7_1, arg_2B9F7_2, arg_2B9F7_3, arg_2B9F7_4, arg_2B9F7_5, arg_2B9F7_6, arg_2B9F7_7, arg_2B9F7_8, arg_2B9F7_9, arg_2B9F7_10, arg_2B9F7_11, arg_2B9F7_12, arg_2B9F7_13, arg_2B9F7_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Right"), new Vector2(12f, 21f), 4, 2, 24, 28, 48, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Down"), new Vector2(12f, 21f), 4, 2, 24, 28, 48, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Melee/Damage/Right"), new Vector2(12f, 21f), 4, 2, 24, 28, 48, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "MeleeGiftBox"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 9, 0f, Vector2.Zero, xEn.xTransform, 19f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(20, 10, 0f, Vector2.Zero, xEn.xTransform, 19f + (float)new Random().NextDouble(), xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.GiftBoxRanged) { xEn.enType = enType; xEn.xBehaviour = new GiftBoxRangedAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.bAutoSwitchToHitAnimation = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Idle/Up"), new Vector2(16f, 23f), 4, 18, 32, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Idle/Right"), new Vector2(11f, 23f), 4, 18, 22, 31, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Idle/Down"), new Vector2(16f, 23f), 4, 18, 32, 30, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Idle/Right"), new Vector2(11f, 23f), 4, 18, 22, 31, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Move/Up"), new Vector2(12f, 26f), 4, 10, 24, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Move/Right"), new Vector2(12f, 27f), 4, 10, 24, 34, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Move/Down"), new Vector2(12f, 26f), 4, 10, 24, 34, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Move/Right"), new Vector2(12f, 27f), 4, 10, 24, 34, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2C04F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2C04F_1 = 12; ushort arg_2C04A_0 = 12; byte arg_2C04A_1 = 0; Texture2D arg_2C04A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Up"); Vector2 arg_2C04A_3 = new Vector2(12f, 20f); int arg_2C04A_4 = 4; int arg_2C04A_5 = 4; int arg_2C04A_6 = 24; int arg_2C04A_7 = 27; int arg_2C04A_8 = 0; int arg_2C04A_9 = 0; int arg_2C04A_10 = 20; Animation.LoopSettings arg_2C04A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2C04A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2C04A_13 = false; bool arg_2C04A_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_2C047_0 = array; int arg_2C047_1 = 1; AnimInsCriteria arg_2C042_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2C03D_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_2C047_0[arg_2C047_1] = new AnimationInstruction(arg_2C042_0, new AnimInsEvent(arg_2C03D_0, array6)); arg_2C04F_0.Add(arg_2C04F_1, new Animation(arg_2C04A_0, arg_2C04A_1, arg_2C04A_2, arg_2C04A_3, arg_2C04A_4, arg_2C04A_5, arg_2C04A_6, arg_2C04A_7, arg_2C04A_8, arg_2C04A_9, arg_2C04A_10, arg_2C04A_11, arg_2C04A_12, arg_2C04A_13, arg_2C04A_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Right"), new Vector2(12f, 21f), 4, 4, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Down"), new Vector2(12f, 21f), 4, 4, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Right"), new Vector2(12f, 21f), 4, 4, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(100, new Animation(100, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Jump/Right"), new Vector2(12f, 27f), 4, 3, 24, 34, 24, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(101, new Animation(101, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Jump/Right"), new Vector2(12f, 27f), 4, 3, 24, 34, 24, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[101].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(104, new Animation(104, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Jump/Right"), new Vector2(12f, 27f), 4, 5, 24, 34, 96, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(105, new Animation(105, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Jump/Right"), new Vector2(12f, 27f), 4, 5, 24, 34, 96, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[105].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Up"), new Vector2(12f, 20f), 4, 2, 24, 27, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Right"), new Vector2(12f, 21f), 4, 2, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Down"), new Vector2(12f, 21f), 4, 2, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Right"), new Vector2(12f, 21f), 4, 2, 24, 28, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2C654_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2C654_1 = 40004; ushort arg_2C64F_0 = 40004; byte arg_2C64F_1 = 0; Texture2D arg_2C64F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Up"); Vector2 arg_2C64F_3 = new Vector2(12f, 20f); int arg_2C64F_4 = 4; int arg_2C64F_5 = 2; int arg_2C64F_6 = 24; int arg_2C64F_7 = 27; int arg_2C64F_8 = 48; int arg_2C64F_9 = 0; int arg_2C64F_10 = 20; Animation.LoopSettings arg_2C64F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2C64F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2C64F_13 = false; bool arg_2C64F_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2C64C_0 = array; int arg_2C64C_1 = 0; AnimInsCriteria arg_2C647_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2C642_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2C64C_0[arg_2C64C_1] = new AnimationInstruction(arg_2C647_0, new AnimInsEvent(arg_2C642_0, array6)); arg_2C654_0.Add(arg_2C654_1, new Animation(arg_2C64F_0, arg_2C64F_1, arg_2C64F_2, arg_2C64F_3, arg_2C64F_4, arg_2C64F_5, arg_2C64F_6, arg_2C64F_7, arg_2C64F_8, arg_2C64F_9, arg_2C64F_10, arg_2C64F_11, arg_2C64F_12, arg_2C64F_13, arg_2C64F_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Right"), new Vector2(12f, 21f), 4, 2, 24, 28, 48, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Down"), new Vector2(12f, 21f), 4, 2, 24, 28, 48, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Present Ranged/Damage/Right"), new Vector2(12f, 21f), 4, 2, 24, 28, 48, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "MeleeGiftBox"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 9, 0f, Vector2.Zero, xEn.xTransform, 19f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(20, 10, 0f, Vector2.Zero, xEn.xTransform, 19f + (float)new Random().NextDouble(), xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Yeti) { xEn.enType = enType; xEn.xBehaviour = new YetiAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = false; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; xEn.xBaseStats.iKnockbackResistance = 6; xEn.xBaseStats.bFreezeImmunity = true; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Up"), new Vector2(21f, 36f), 4, 11, 43, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Right"), new Vector2(19f, 36f), 4, 11, 39, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Down"), new Vector2(22f, 36f), 4, 11, 45, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Right"), new Vector2(20f, 36f), 4, 11, 39, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Move/Up"), new Vector2(20f, 34f), 4, 12, 42, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Move/Right"), new Vector2(20f, 36f), 4, 12, 40, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Move/Down"), new Vector2(22f, 34f), 4, 12, 43, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Move/Right"), new Vector2(20f, 36f), 4, 12, 40, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(12, new Animation(12, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Up"), new Vector2(21f, 42f), 4, 3, 43, 46, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 16f })) })); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Right"), new Vector2(18f, 39f), 4, 3, 41, 43, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 17f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Down"), new Vector2(20f, 35f), 4, 3, 41, 39, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 18f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Right"), new Vector2(23f, 39f), 4, 3, 41, 43, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 19f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Up"), new Vector2(21f, 42f), 4, 7, 43, 46, 129, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Right"), new Vector2(18f, 39f), 4, 7, 41, 43, 123, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Down"), new Vector2(20f, 35f), 4, 7, 41, 39, 123, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Right"), new Vector2(23f, 39f), 4, 7, 41, 43, 123, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Up"), new Vector2(21f, 42f), 4, 4, 43, 46, 430, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Right"), new Vector2(18f, 39f), 4, 4, 41, 43, 410, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Down"), new Vector2(20f, 35f), 4, 4, 41, 39, 410, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Right"), new Vector2(23f, 39f), 4, 4, 41, 43, 410, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2D156_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2D156_1 = 24; ushort arg_2D151_0 = 24; byte arg_2D151_1 = 0; Texture2D arg_2D151_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Up"); Vector2 arg_2D151_3 = new Vector2(21f, 42f); int arg_2D151_4 = 4; int arg_2D151_5 = 3; int arg_2D151_6 = 43; int arg_2D151_7 = 46; int arg_2D151_8 = 602; int arg_2D151_9 = 0; int arg_2D151_10 = 20; Animation.LoopSettings arg_2D151_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2D151_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2D151_13 = false; bool arg_2D151_14 = false; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_2D14E_0 = array; int arg_2D14E_1 = 0; AnimInsCriteria arg_2D149_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2D144_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_2D14E_0[arg_2D14E_1] = new AnimationInstruction(arg_2D149_0, new AnimInsEvent(arg_2D144_0, array6)); arg_2D156_0.Add(arg_2D156_1, new Animation(arg_2D151_0, arg_2D151_1, arg_2D151_2, arg_2D151_3, arg_2D151_4, arg_2D151_5, arg_2D151_6, arg_2D151_7, arg_2D151_8, arg_2D151_9, arg_2D151_10, arg_2D151_11, arg_2D151_12, arg_2D151_13, arg_2D151_14, array)); xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Right"), new Vector2(18f, 39f), 4, 3, 41, 43, 574, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Down"), new Vector2(20f, 35f), 4, 3, 41, 39, 574, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Freeze/Right"), new Vector2(23f, 39f), 4, 3, 41, 43, 574, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2D3DE_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2D3DE_1 = 28; ushort arg_2D3D9_0 = 28; byte arg_2D3D9_1 = 0; Texture2D arg_2D3D9_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Dead/Up"); Vector2 arg_2D3D9_3 = new Vector2(22f, 38f); int arg_2D3D9_4 = 4; int arg_2D3D9_5 = 30; int arg_2D3D9_6 = 46; int arg_2D3D9_7 = 53; int arg_2D3D9_8 = 0; int arg_2D3D9_9 = 0; int arg_2D3D9_10 = 40; Animation.LoopSettings arg_2D3D9_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2D3D9_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2D3D9_13 = false; bool arg_2D3D9_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 4f, 6f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_2D3B0_0 = array; int arg_2D3B0_1 = 1; AnimInsCriteria arg_2D3AB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2D3A6_0 = AnimInsEvent.EventType.KillEnemy; array6 = new float[1]; arg_2D3B0_0[arg_2D3B0_1] = new AnimationInstruction(arg_2D3AB_0, new AnimInsEvent(arg_2D3A6_0, array6)); AnimationInstruction[] arg_2D3D6_0 = array; int arg_2D3D6_1 = 2; AnimInsCriteria arg_2D3D1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]); AnimInsEvent.EventType arg_2D3CC_0 = AnimInsEvent.EventType.KillEnemy; array6 = new float[1]; arg_2D3D6_0[arg_2D3D6_1] = new AnimationInstruction(arg_2D3D1_0, new AnimInsEvent(arg_2D3CC_0, array6)); arg_2D3DE_0.Add(arg_2D3DE_1, new Animation(arg_2D3D9_0, arg_2D3D9_1, arg_2D3D9_2, arg_2D3D9_3, arg_2D3D9_4, arg_2D3D9_5, arg_2D3D9_6, arg_2D3D9_7, arg_2D3D9_8, arg_2D3D9_9, arg_2D3D9_10, arg_2D3D9_11, arg_2D3D9_12, arg_2D3D9_13, arg_2D3D9_14, array)); Dictionary<ushort, Animation> arg_2D4C2_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2D4C2_1 = 29; ushort arg_2D4BD_0 = 29; byte arg_2D4BD_1 = 1; Texture2D arg_2D4BD_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Dead/Right"); Vector2 arg_2D4BD_3 = new Vector2(22f, 38f); int arg_2D4BD_4 = 4; int arg_2D4BD_5 = 30; int arg_2D4BD_6 = 46; int arg_2D4BD_7 = 53; int arg_2D4BD_8 = 0; int arg_2D4BD_9 = 0; int arg_2D4BD_10 = 40; Animation.LoopSettings arg_2D4BD_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2D4BD_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2D4BD_13 = false; bool arg_2D4BD_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 4f, 6f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_2D494_0 = array; int arg_2D494_1 = 1; AnimInsCriteria arg_2D48F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2D48A_0 = AnimInsEvent.EventType.KillEnemy; array6 = new float[1]; arg_2D494_0[arg_2D494_1] = new AnimationInstruction(arg_2D48F_0, new AnimInsEvent(arg_2D48A_0, array6)); AnimationInstruction[] arg_2D4BA_0 = array; int arg_2D4BA_1 = 2; AnimInsCriteria arg_2D4B5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]); AnimInsEvent.EventType arg_2D4B0_0 = AnimInsEvent.EventType.KillEnemy; array6 = new float[1]; arg_2D4BA_0[arg_2D4BA_1] = new AnimationInstruction(arg_2D4B5_0, new AnimInsEvent(arg_2D4B0_0, array6)); arg_2D4C2_0.Add(arg_2D4C2_1, new Animation(arg_2D4BD_0, arg_2D4BD_1, arg_2D4BD_2, arg_2D4BD_3, arg_2D4BD_4, arg_2D4BD_5, arg_2D4BD_6, arg_2D4BD_7, arg_2D4BD_8, arg_2D4BD_9, arg_2D4BD_10, arg_2D4BD_11, arg_2D4BD_12, arg_2D4BD_13, arg_2D4BD_14, array)); Dictionary<ushort, Animation> arg_2D5A6_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2D5A6_1 = 30; ushort arg_2D5A1_0 = 30; byte arg_2D5A1_1 = 2; Texture2D arg_2D5A1_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Dead/Down"); Vector2 arg_2D5A1_3 = new Vector2(22f, 38f); int arg_2D5A1_4 = 4; int arg_2D5A1_5 = 30; int arg_2D5A1_6 = 46; int arg_2D5A1_7 = 53; int arg_2D5A1_8 = 0; int arg_2D5A1_9 = 0; int arg_2D5A1_10 = 40; Animation.LoopSettings arg_2D5A1_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2D5A1_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2D5A1_13 = false; bool arg_2D5A1_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 4f, 6f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_2D578_0 = array; int arg_2D578_1 = 1; AnimInsCriteria arg_2D573_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2D56E_0 = AnimInsEvent.EventType.KillEnemy; array6 = new float[1]; arg_2D578_0[arg_2D578_1] = new AnimationInstruction(arg_2D573_0, new AnimInsEvent(arg_2D56E_0, array6)); AnimationInstruction[] arg_2D59E_0 = array; int arg_2D59E_1 = 2; AnimInsCriteria arg_2D599_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]); AnimInsEvent.EventType arg_2D594_0 = AnimInsEvent.EventType.KillEnemy; array6 = new float[1]; arg_2D59E_0[arg_2D59E_1] = new AnimationInstruction(arg_2D599_0, new AnimInsEvent(arg_2D594_0, array6)); arg_2D5A6_0.Add(arg_2D5A6_1, new Animation(arg_2D5A1_0, arg_2D5A1_1, arg_2D5A1_2, arg_2D5A1_3, arg_2D5A1_4, arg_2D5A1_5, arg_2D5A1_6, arg_2D5A1_7, arg_2D5A1_8, arg_2D5A1_9, arg_2D5A1_10, arg_2D5A1_11, arg_2D5A1_12, arg_2D5A1_13, arg_2D5A1_14, array)); Dictionary<ushort, Animation> arg_2D68A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2D68A_1 = 31; ushort arg_2D685_0 = 31; byte arg_2D685_1 = 3; Texture2D arg_2D685_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Dead/Right"); Vector2 arg_2D685_3 = new Vector2(24f, 38f); int arg_2D685_4 = 4; int arg_2D685_5 = 30; int arg_2D685_6 = 46; int arg_2D685_7 = 53; int arg_2D685_8 = 0; int arg_2D685_9 = 0; int arg_2D685_10 = 40; Animation.LoopSettings arg_2D685_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2D685_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2D685_13 = false; bool arg_2D685_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 4f, 6f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 1f })); AnimationInstruction[] arg_2D65C_0 = array; int arg_2D65C_1 = 1; AnimInsCriteria arg_2D657_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2D652_0 = AnimInsEvent.EventType.KillEnemy; array6 = new float[1]; arg_2D65C_0[arg_2D65C_1] = new AnimationInstruction(arg_2D657_0, new AnimInsEvent(arg_2D652_0, array6)); AnimationInstruction[] arg_2D682_0 = array; int arg_2D682_1 = 2; AnimInsCriteria arg_2D67D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtInterrupt, new float[0]); AnimInsEvent.EventType arg_2D678_0 = AnimInsEvent.EventType.KillEnemy; array6 = new float[1]; arg_2D682_0[arg_2D682_1] = new AnimationInstruction(arg_2D67D_0, new AnimInsEvent(arg_2D678_0, array6)); arg_2D68A_0.Add(arg_2D68A_1, new Animation(arg_2D685_0, arg_2D685_1, arg_2D685_2, arg_2D685_3, arg_2D685_4, arg_2D685_5, arg_2D685_6, arg_2D685_7, arg_2D685_8, arg_2D685_9, arg_2D685_10, arg_2D685_11, arg_2D685_12, arg_2D685_13, arg_2D685_14, array)); xEn.xRenderComponent.dixAnimations[31].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Up"), new Vector2(21f, 36f), 4, 2, 43, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Right"), new Vector2(19f, 36f), 4, 2, 39, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Down"), new Vector2(22f, 36f), 4, 2, 45, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Right"), new Vector2(20f, 36f), 4, 2, 39, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2D88A_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2D88A_1 = 40004; ushort arg_2D885_0 = 40004; byte arg_2D885_1 = 0; Texture2D arg_2D885_2 = Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Up"); Vector2 arg_2D885_3 = new Vector2(21f, 36f); int arg_2D885_4 = 4; int arg_2D885_5 = 2; int arg_2D885_6 = 43; int arg_2D885_7 = 40; int arg_2D885_8 = 0; int arg_2D885_9 = 0; int arg_2D885_10 = 20; Animation.LoopSettings arg_2D885_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2D885_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2D885_13 = false; bool arg_2D885_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2D882_0 = array; int arg_2D882_1 = 0; AnimInsCriteria arg_2D87D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2D878_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2D882_0[arg_2D882_1] = new AnimationInstruction(arg_2D87D_0, new AnimInsEvent(arg_2D878_0, array6)); arg_2D88A_0.Add(arg_2D88A_1, new Animation(arg_2D885_0, arg_2D885_1, arg_2D885_2, arg_2D885_3, arg_2D885_4, arg_2D885_5, arg_2D885_6, arg_2D885_7, arg_2D885_8, arg_2D885_9, arg_2D885_10, arg_2D885_11, arg_2D885_12, arg_2D885_13, arg_2D885_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Right"), new Vector2(19f, 36f), 4, 2, 39, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Down"), new Vector2(22f, 36f), 4, 2, 45, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Yeti/Idle/Right"), new Vector2(20f, 36f), 4, 2, 39, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Yeti"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.PoofEffectD; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 10000f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(30, 8, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.Marino) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus8 = xEn as Boss; fnus8.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.bDropsAnyLoot = false; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 0.5f + 0.2f * (float)GameSessionData.iBaseDifficulty; xEn.enType = enType; xEn.xBehaviour = new MarinoOneAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.bAllowKnockback = false; xEn.xBehaviour.bRunClientUpdate = true; xEn.xBehaviour.bActive = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; string MARINO_PATH = "Sprites/NPC/Main/Rival/"; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MARINO_PATH + "Idle/Up"), new Vector2(11f, 31f), 4, 1, 22, 36, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MARINO_PATH + "Idle/Right"), new Vector2(11f, 31f), 4, 1, 22, 36, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MARINO_PATH + "Idle/Down"), new Vector2(11f, 31f), 4, 1, 22, 36, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MARINO_PATH + "Idle/Right"), new Vector2(11f, 31f), 4, 1, 22, 36, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MARINO_PATH + "Walk/Up"), new Vector2(11f, 31f), 4, 8, 22, 36, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MARINO_PATH + "Walk/Right"), new Vector2(11f, 31f), 4, 8, 22, 35, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MARINO_PATH + "Walk/Down"), new Vector2(11f, 31f), 4, 8, 23, 36, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MARINO_PATH + "Walk/Right"), new Vector2(11f, 31f), 4, 8, 22, 35, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>(MARINO_PATH + "Run/Up"), new Vector2(12f, 32f), 4, 8, 24, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 1, Content.Load<Texture2D>(MARINO_PATH + "Run/Right"), new Vector2(11f, 32f), 4, 8, 25, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 2, Content.Load<Texture2D>(MARINO_PATH + "Run/Down"), new Vector2(12f, 32f), 4, 8, 24, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MARINO_PATH + "Run/Right"), new Vector2(13f, 32f), 4, 8, 25, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(12, new Animation(12, 0, Content.Load<Texture2D>(MARINO_PATH + "CombatIdle/Up"), new Vector2(13f, 32f), 4, 7, 25, 38, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MARINO_PATH + "CombatIdle/Right"), new Vector2(15f, 32f), 4, 7, 50, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MARINO_PATH + "CombatIdle/Down"), new Vector2(13f, 33f), 4, 7, 24, 41, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MARINO_PATH + "CombatIdle/Right"), new Vector2(35f, 32f), 4, 7, 50, 37, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MARINO_PATH + "CombatWalk/Up"), new Vector2(13f, 33f), 4, 5, 26, 41, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MARINO_PATH + "CombatWalk/Right"), new Vector2(16f, 33f), 4, 5, 54, 38, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MARINO_PATH + "CombatWalk/Down"), new Vector2(13f, 33f), 4, 5, 24, 44, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MARINO_PATH + "CombatWalk/Right"), new Vector2(38f, 33f), 4, 5, 54, 38, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2E342_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2E342_1 = 60; ushort arg_2E33D_0 = 60; byte arg_2E33D_1 = 0; Texture2D arg_2E33D_2 = Content.Load<Texture2D>(MARINO_PATH + "Perfect Guard/Right"); Vector2 arg_2E33D_3 = new Vector2(14f, 35f); int arg_2E33D_4 = 4; int arg_2E33D_5 = 11; int arg_2E33D_6 = 51; int arg_2E33D_7 = 40; int arg_2E33D_8 = 0; int arg_2E33D_9 = 0; int arg_2E33D_10 = 12; Animation.LoopSettings arg_2E33D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2E33D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2E33D_13 = true; bool arg_2E33D_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_2E2F6_0 = array; int arg_2E2F6_1 = 0; AnimInsCriteria arg_2E2F1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2E2EC_0 = AnimInsEvent.EventType.PlaySound; string arg_2E2EC_1 = "marino_fallDown"; float[] array6 = new float[1]; arg_2E2F6_0[arg_2E2F6_1] = new AnimationInstruction(arg_2E2F1_0, new AnimInsEvent(arg_2E2EC_0, arg_2E2EC_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 5f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, -7f })); arg_2E342_0.Add(arg_2E342_1, new Animation(arg_2E33D_0, arg_2E33D_1, arg_2E33D_2, arg_2E33D_3, arg_2E33D_4, arg_2E33D_5, arg_2E33D_6, arg_2E33D_7, arg_2E33D_8, arg_2E33D_9, arg_2E33D_10, arg_2E33D_11, arg_2E33D_12, arg_2E33D_13, arg_2E33D_14, array)); Dictionary<ushort, Animation> arg_2E405_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2E405_1 = 61; ushort arg_2E400_0 = 61; byte arg_2E400_1 = 1; Texture2D arg_2E400_2 = Content.Load<Texture2D>(MARINO_PATH + "Perfect Guard/Right"); Vector2 arg_2E400_3 = new Vector2(14f, 35f); int arg_2E400_4 = 4; int arg_2E400_5 = 11; int arg_2E400_6 = 51; int arg_2E400_7 = 40; int arg_2E400_8 = 0; int arg_2E400_9 = 0; int arg_2E400_10 = 12; Animation.LoopSettings arg_2E400_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2E400_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2E400_13 = true; bool arg_2E400_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2E3B9_0 = array; int arg_2E3B9_1 = 0; AnimInsCriteria arg_2E3B4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2E3AF_0 = AnimInsEvent.EventType.PlaySound; string arg_2E3AF_1 = "marino_fallDown"; array6 = new float[1]; arg_2E3B9_0[arg_2E3B9_1] = new AnimationInstruction(arg_2E3B4_0, new AnimInsEvent(arg_2E3AF_0, arg_2E3AF_1, array6)); AnimationInstruction[] arg_2E3FD_0 = array; int arg_2E3FD_1 = 1; AnimInsCriteria arg_2E3F8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 5f }); AnimInsEvent.EventType arg_2E3F3_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -7f; arg_2E3FD_0[arg_2E3FD_1] = new AnimationInstruction(arg_2E3F8_0, new AnimInsEvent(arg_2E3F3_0, array6)); arg_2E405_0.Add(arg_2E405_1, new Animation(arg_2E400_0, arg_2E400_1, arg_2E400_2, arg_2E400_3, arg_2E400_4, arg_2E400_5, arg_2E400_6, arg_2E400_7, arg_2E400_8, arg_2E400_9, arg_2E400_10, arg_2E400_11, arg_2E400_12, arg_2E400_13, arg_2E400_14, array)); Dictionary<ushort, Animation> arg_2E4C8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2E4C8_1 = 62; ushort arg_2E4C3_0 = 62; byte arg_2E4C3_1 = 2; Texture2D arg_2E4C3_2 = Content.Load<Texture2D>(MARINO_PATH + "Perfect Guard/Right"); Vector2 arg_2E4C3_3 = new Vector2(14f, 35f); int arg_2E4C3_4 = 4; int arg_2E4C3_5 = 11; int arg_2E4C3_6 = 51; int arg_2E4C3_7 = 40; int arg_2E4C3_8 = 0; int arg_2E4C3_9 = 0; int arg_2E4C3_10 = 12; Animation.LoopSettings arg_2E4C3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2E4C3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2E4C3_13 = true; bool arg_2E4C3_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2E47C_0 = array; int arg_2E47C_1 = 0; AnimInsCriteria arg_2E477_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2E472_0 = AnimInsEvent.EventType.PlaySound; string arg_2E472_1 = "marino_fallDown"; array6 = new float[1]; arg_2E47C_0[arg_2E47C_1] = new AnimationInstruction(arg_2E477_0, new AnimInsEvent(arg_2E472_0, arg_2E472_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 5f }), new AnimInsEvent(AnimInsEvent.EventType.AddSmoothPush, new float[] { 0f, 7f })); arg_2E4C8_0.Add(arg_2E4C8_1, new Animation(arg_2E4C3_0, arg_2E4C3_1, arg_2E4C3_2, arg_2E4C3_3, arg_2E4C3_4, arg_2E4C3_5, arg_2E4C3_6, arg_2E4C3_7, arg_2E4C3_8, arg_2E4C3_9, arg_2E4C3_10, arg_2E4C3_11, arg_2E4C3_12, arg_2E4C3_13, arg_2E4C3_14, array)); Dictionary<ushort, Animation> arg_2E58B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2E58B_1 = 63; ushort arg_2E586_0 = 63; byte arg_2E586_1 = 3; Texture2D arg_2E586_2 = Content.Load<Texture2D>(MARINO_PATH + "Perfect Guard/Right"); Vector2 arg_2E586_3 = new Vector2(37f, 35f); int arg_2E586_4 = 4; int arg_2E586_5 = 11; int arg_2E586_6 = 51; int arg_2E586_7 = 40; int arg_2E586_8 = 0; int arg_2E586_9 = 0; int arg_2E586_10 = 12; Animation.LoopSettings arg_2E586_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2E586_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2E586_13 = true; bool arg_2E586_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2E53F_0 = array; int arg_2E53F_1 = 0; AnimInsCriteria arg_2E53A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2E535_0 = AnimInsEvent.EventType.PlaySound; string arg_2E535_1 = "marino_fallDown"; array6 = new float[1]; arg_2E53F_0[arg_2E53F_1] = new AnimationInstruction(arg_2E53A_0, new AnimInsEvent(arg_2E535_0, arg_2E535_1, array6)); AnimationInstruction[] arg_2E583_0 = array; int arg_2E583_1 = 1; AnimInsCriteria arg_2E57E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 5f }); AnimInsEvent.EventType arg_2E579_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 7f; arg_2E583_0[arg_2E583_1] = new AnimationInstruction(arg_2E57E_0, new AnimInsEvent(arg_2E579_0, array6)); arg_2E58B_0.Add(arg_2E58B_1, new Animation(arg_2E586_0, arg_2E586_1, arg_2E586_2, arg_2E586_3, arg_2E586_4, arg_2E586_5, arg_2E586_6, arg_2E586_7, arg_2E586_8, arg_2E586_9, arg_2E586_10, arg_2E586_11, arg_2E586_12, arg_2E586_13, arg_2E586_14, array)); xEn.xRenderComponent.dixAnimations[63].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(64, new Animation(64, 0, Content.Load<Texture2D>(MARINO_PATH + "Perfect Guard/Right"), new Vector2(14f, 35f), 4, 6, 51, 40, 561, 0, 12, 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[] { 13f })) })); xEn.xRenderComponent.dixAnimations.Add(65, new Animation(65, 1, Content.Load<Texture2D>(MARINO_PATH + "Perfect Guard/Right"), new Vector2(14f, 35f), 4, 6, 51, 40, 561, 0, 12, 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[] { 13f })) })); xEn.xRenderComponent.dixAnimations.Add(66, new Animation(66, 2, Content.Load<Texture2D>(MARINO_PATH + "Perfect Guard/Right"), new Vector2(14f, 35f), 4, 6, 51, 40, 561, 0, 12, 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[] { 13f })) })); xEn.xRenderComponent.dixAnimations.Add(67, new Animation(67, 3, Content.Load<Texture2D>(MARINO_PATH + "Perfect Guard/Right"), new Vector2(37f, 35f), 4, 6, 51, 40, 561, 0, 12, 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[] { 15f })) })); xEn.xRenderComponent.dixAnimations[67].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(68, new Animation(68, 0, Content.Load<Texture2D>(MARINO_PATH + "Jump/Right"), new Vector2(15f, 49f), 4, 5, 48, 53, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(69, new Animation(69, 0, Content.Load<Texture2D>(MARINO_PATH + "Jump/Right"), new Vector2(15f, 49f), 4, 5, 48, 53, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(70, new Animation(70, 0, Content.Load<Texture2D>(MARINO_PATH + "Jump/Right"), new Vector2(15f, 49f), 4, 5, 48, 53, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(71, new Animation(71, 0, Content.Load<Texture2D>(MARINO_PATH + "Jump/Right"), new Vector2(33f, 49f), 4, 5, 48, 53, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[71].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2EA20_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2EA20_1 = 1000; ushort arg_2EA1B_0 = 1000; byte arg_2EA1B_1 = 1; Texture2D arg_2EA1B_2 = Content.Load<Texture2D>(MARINO_PATH + "Death/Right"); Vector2 arg_2EA1B_3 = new Vector2(19f, 35f); int arg_2EA1B_4 = 4; int arg_2EA1B_5 = 11; int arg_2EA1B_6 = 53; int arg_2EA1B_7 = 40; int arg_2EA1B_8 = 0; int arg_2EA1B_9 = 0; int arg_2EA1B_10 = 12; Animation.LoopSettings arg_2EA1B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2EA1B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2EA1B_13 = true; bool arg_2EA1B_14 = true; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "marino_fallDown", new float[] { 1f })); AnimationInstruction[] arg_2E9D4_0 = array; int arg_2E9D4_1 = 1; AnimInsCriteria arg_2E9CF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2E9CA_0 = AnimInsEvent.EventType.PlaySound; string arg_2E9CA_1 = "marino_dropSword"; array6 = new float[1]; arg_2E9D4_0[arg_2E9D4_1] = new AnimationInstruction(arg_2E9CF_0, new AnimInsEvent(arg_2E9CA_0, arg_2E9CA_1, array6)); AnimationInstruction[] arg_2EA18_0 = array; int arg_2EA18_1 = 2; AnimInsCriteria arg_2EA13_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 5f }); AnimInsEvent.EventType arg_2EA0E_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = -7f; arg_2EA18_0[arg_2EA18_1] = new AnimationInstruction(arg_2EA13_0, new AnimInsEvent(arg_2EA0E_0, array6)); arg_2EA20_0.Add(arg_2EA20_1, new Animation(arg_2EA1B_0, arg_2EA1B_1, arg_2EA1B_2, arg_2EA1B_3, arg_2EA1B_4, arg_2EA1B_5, arg_2EA1B_6, arg_2EA1B_7, arg_2EA1B_8, arg_2EA1B_9, arg_2EA1B_10, arg_2EA1B_11, arg_2EA1B_12, arg_2EA1B_13, arg_2EA1B_14, array)); Dictionary<ushort, Animation> arg_2EB1D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2EB1D_1 = 1001; ushort arg_2EB18_0 = 1001; byte arg_2EB18_1 = 3; Texture2D arg_2EB18_2 = Content.Load<Texture2D>(MARINO_PATH + "Death/Right"); Vector2 arg_2EB18_3 = new Vector2(34f, 35f); int arg_2EB18_4 = 4; int arg_2EB18_5 = 11; int arg_2EB18_6 = 53; int arg_2EB18_7 = 40; int arg_2EB18_8 = 0; int arg_2EB18_9 = 0; int arg_2EB18_10 = 12; Animation.LoopSettings arg_2EB18_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2EB18_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2EB18_13 = true; bool arg_2EB18_14 = true; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlaySound, "marino_fallDown", new float[] { 1f })); AnimationInstruction[] arg_2EAD1_0 = array; int arg_2EAD1_1 = 1; AnimInsCriteria arg_2EACC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2EAC7_0 = AnimInsEvent.EventType.PlaySound; string arg_2EAC7_1 = "marino_dropSword"; array6 = new float[1]; arg_2EAD1_0[arg_2EAD1_1] = new AnimationInstruction(arg_2EACC_0, new AnimInsEvent(arg_2EAC7_0, arg_2EAC7_1, array6)); AnimationInstruction[] arg_2EB15_0 = array; int arg_2EB15_1 = 2; AnimInsCriteria arg_2EB10_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 2f, 5f }); AnimInsEvent.EventType arg_2EB0B_0 = AnimInsEvent.EventType.AddSmoothPush; array6 = new float[2]; array6[0] = 7f; arg_2EB15_0[arg_2EB15_1] = new AnimationInstruction(arg_2EB10_0, new AnimInsEvent(arg_2EB0B_0, array6)); arg_2EB1D_0.Add(arg_2EB1D_1, new Animation(arg_2EB18_0, arg_2EB18_1, arg_2EB18_2, arg_2EB18_3, arg_2EB18_4, arg_2EB18_5, arg_2EB18_6, arg_2EB18_7, arg_2EB18_8, arg_2EB18_9, arg_2EB18_10, arg_2EB18_11, arg_2EB18_12, arg_2EB18_13, arg_2EB18_14, array)); xEn.xRenderComponent.dixAnimations[1001].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(1002, new Animation(1002, 1, Content.Load<Texture2D>(MARINO_PATH + "Flavor/StandUp"), new Vector2(19f, 35f), 4, 6, 53, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1003, new Animation(1003, 3, Content.Load<Texture2D>(MARINO_PATH + "Flavor/StandUp"), new Vector2(34f, 35f), 4, 6, 53, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[1003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2ECE7_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2ECE7_1 = 5000; ushort arg_2ECE2_0 = 5000; byte arg_2ECE2_1 = 0; Texture2D arg_2ECE2_2 = Content.Load<Texture2D>(MARINO_PATH + "Flavor/PullSword"); Vector2 arg_2ECE2_3 = new Vector2(15f, 37f); int arg_2ECE2_4 = 4; int arg_2ECE2_5 = 28; int arg_2ECE2_6 = 62; int arg_2ECE2_7 = 47; int arg_2ECE2_8 = 0; int arg_2ECE2_9 = 0; int arg_2ECE2_10 = 28; Animation.LoopSettings arg_2ECE2_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2ECE2_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2ECE2_13 = true; bool arg_2ECE2_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_2EC7A_0 = array; int arg_2EC7A_1 = 0; AnimInsCriteria arg_2EC75_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2EC70_0 = AnimInsEvent.EventType.PlaySound; string arg_2EC70_1 = "marino_pullSword"; array6 = new float[1]; arg_2EC7A_0[arg_2EC7A_1] = new AnimationInstruction(arg_2EC75_0, new AnimInsEvent(arg_2EC70_0, arg_2EC70_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.AdjustPosition, new float[] { 5f, 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 13f })); arg_2ECE7_0.Add(arg_2ECE7_1, new Animation(arg_2ECE2_0, arg_2ECE2_1, arg_2ECE2_2, arg_2ECE2_3, arg_2ECE2_4, arg_2ECE2_5, arg_2ECE2_6, arg_2ECE2_7, arg_2ECE2_8, arg_2ECE2_9, arg_2ECE2_10, arg_2ECE2_11, arg_2ECE2_12, arg_2ECE2_13, arg_2ECE2_14, array)); Dictionary<ushort, Animation> arg_2ED9E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2ED9E_1 = 5001; ushort arg_2ED99_0 = 5001; byte arg_2ED99_1 = 0; Texture2D arg_2ED99_2 = Content.Load<Texture2D>(MARINO_PATH + "Flavor/PullSword"); Vector2 arg_2ED99_3 = new Vector2(15f, 37f); int arg_2ED99_4 = 4; int arg_2ED99_5 = 11; int arg_2ED99_6 = 62; int arg_2ED99_7 = 47; int arg_2ED99_8 = 620; int arg_2ED99_9 = 0; int arg_2ED99_10 = 28; Animation.LoopSettings arg_2ED99_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2ED99_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2ED99_13 = true; bool arg_2ED99_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2ED68_0 = array; int arg_2ED68_1 = 0; AnimInsCriteria arg_2ED63_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2ED5E_0 = AnimInsEvent.EventType.PlaySound; string arg_2ED5E_1 = "marino_prepareDash"; array6 = new float[1]; arg_2ED68_0[arg_2ED68_1] = new AnimationInstruction(arg_2ED63_0, new AnimInsEvent(arg_2ED5E_0, arg_2ED5E_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 14f })); arg_2ED9E_0.Add(arg_2ED9E_1, new Animation(arg_2ED99_0, arg_2ED99_1, arg_2ED99_2, arg_2ED99_3, arg_2ED99_4, arg_2ED99_5, arg_2ED99_6, arg_2ED99_7, arg_2ED99_8, arg_2ED99_9, arg_2ED99_10, arg_2ED99_11, arg_2ED99_12, arg_2ED99_13, arg_2ED99_14, array)); Dictionary<ushort, Animation> arg_2EE51_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2EE51_1 = 5002; ushort arg_2EE4C_0 = 5002; byte arg_2EE4C_1 = 0; Texture2D arg_2EE4C_2 = Content.Load<Texture2D>(MARINO_PATH + "Flavor/Laugh"); Vector2 arg_2EE4C_3 = new Vector2(11f, 32f); int arg_2EE4C_4 = 4; int arg_2EE4C_5 = 15; int arg_2EE4C_6 = 22; int arg_2EE4C_7 = 37; int arg_2EE4C_8 = 0; int arg_2EE4C_9 = 0; int arg_2EE4C_10 = 28; Animation.LoopSettings arg_2EE4C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2EE4C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2EE4C_13 = true; bool arg_2EE4C_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2EE1B_0 = array; int arg_2EE1B_1 = 0; AnimInsCriteria arg_2EE16_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_2EE11_0 = AnimInsEvent.EventType.PlaySound; string arg_2EE11_1 = "marino_laugh"; array6 = new float[1]; arg_2EE1B_0[arg_2EE1B_1] = new AnimationInstruction(arg_2EE16_0, new AnimInsEvent(arg_2EE11_0, arg_2EE11_1, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_2EE51_0.Add(arg_2EE51_1, new Animation(arg_2EE4C_0, arg_2EE4C_1, arg_2EE4C_2, arg_2EE4C_3, arg_2EE4C_4, arg_2EE4C_5, arg_2EE4C_6, arg_2EE4C_7, arg_2EE4C_8, arg_2EE4C_9, arg_2EE4C_10, arg_2EE4C_11, arg_2EE4C_12, arg_2EE4C_13, arg_2EE4C_14, array)); Dictionary<ushort, Animation> arg_2EED0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2EED0_1 = 5003; ushort arg_2EECB_0 = 5003; byte arg_2EECB_1 = 0; Texture2D arg_2EECB_2 = Content.Load<Texture2D>(MARINO_PATH + "Flavor/Push"); Vector2 arg_2EECB_3 = new Vector2(12f, 32f); int arg_2EECB_4 = 4; int arg_2EECB_5 = 12; int arg_2EECB_6 = 27; int arg_2EECB_7 = 37; int arg_2EECB_8 = 0; int arg_2EECB_9 = 0; int arg_2EECB_10 = 28; Animation.LoopSettings arg_2EECB_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2EECB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2EECB_13 = true; bool arg_2EECB_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_2EEC8_0 = array; int arg_2EEC8_1 = 0; AnimInsCriteria arg_2EEC3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2EEBE_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_2EEC8_0[arg_2EEC8_1] = new AnimationInstruction(arg_2EEC3_0, new AnimInsEvent(arg_2EEBE_0, array6)); arg_2EED0_0.Add(arg_2EED0_1, new Animation(arg_2EECB_0, arg_2EECB_1, arg_2EECB_2, arg_2EECB_3, arg_2EECB_4, arg_2EECB_5, arg_2EECB_6, arg_2EECB_7, arg_2EECB_8, arg_2EECB_9, arg_2EECB_10, arg_2EECB_11, arg_2EECB_12, arg_2EECB_13, arg_2EECB_14, array)); xEn.xRenderComponent.dixAnimations.Add(5004, new Animation(5004, 0, Content.Load<Texture2D>(MARINO_PATH + "Flavor/AmuletPull"), new Vector2(13f, 32f), 4, 9, 26, 37, 0, 0, 28, 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[] { 5005f })) })); xEn.xRenderComponent.dixAnimations.Add(5005, new Animation(5005, 0, Content.Load<Texture2D>(MARINO_PATH + "Flavor/Amulet"), new Vector2(13f, 31f), 4, 8, 24, 36, 0, 0, 28, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5006, new Animation(5006, 0, Content.Load<Texture2D>(MARINO_PATH + "Flavor/AmuletCaught"), new Vector2(13f, 32f), 4, 5, 24, 37, 0, 0, 28, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5008, new Animation(5008, 0, Content.Load<Texture2D>(MARINO_PATH + "Flavor/AmuletPutback"), new Vector2(13f, 32f), 4, 9, 26, 37, 0, 0, 28, 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 })) })); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Marino"; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(9f, Vector2.Zero, xEn.xTransform, 100f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(10f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.EnragedToyMachine) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus9 = xEn as Boss; fnus9.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.bDropsAnyLoot = false; xEn.bInstantiateInNetwork = false; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 0.5f + 0.2f * (float)GameSessionData.iBaseDifficulty; xEn.enType = enType; xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.bAllowKnockback = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Titan; xEn.xBaseStats.iBaseDEF = 20; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Enraged Toy Machine/Idle"), new Vector2(82f, 114f), 4, 14, 176, 134, 0, 0, 7, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Enraged Toy Machine/Dead/Start"), new Vector2(95f, 114f), 4, 6, 189, 141, 0, 0, 7, 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 })) })); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Enraged Toy Machine/Dead/Mid"), new Vector2(95f, 114f), 4, 30, 189, 141, 0, 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[] { 3f })) })); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Enraged Toy Machine/Dead/End"), new Vector2(95f, 114f), 4, 6, 189, 141, 0, 0, 7, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Enraged Toy Machine/Dead/Dead"), new Vector2(82f, 76f), 4, 1, 162, 103, 0, 0, 7, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Enraged Toy Machine/Start"), new Vector2(95f, 138f), 4, 30, 189, 165, 0, 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[] { 0f, 24f })) })); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Enraged Toy Machine/Start"), new Vector2(95f, 138f), 4, 1, 189, 165, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xBehaviour = new EnragedToyMachineAI(xEn); xEn.xBehaviour.bRunClientUpdate = true; xEn.xBehaviour.bActive = false; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Marino"; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(100, 30, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.AutumnFae) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus10 = xEn as Boss; fnus10.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.bDropsAnyLoot = false; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 1.5f; xEn.enType = enType; xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 4; xEn.aiHitAnimation[1] = 5; xEn.aiHitAnimation[2] = 6; xEn.aiHitAnimation[3] = 7; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = true; xEn.xBaseStats.bAllowKnockback = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; xEn.xBaseStats.iBaseDEF = 40; xEn.xBehaviour = new AutumnFaeAI(xEn); xEn.xBehaviour.bRunClientUpdate = true; xEn.xBehaviour.bActive = false; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Idle/Up"), new Vector2(10f, 27f), 4, 8, 20, 30, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Idle/Right"), new Vector2(10f, 27f), 4, 8, 16, 30, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Idle/Down"), new Vector2(11f, 27f), 4, 8, 22, 30, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Idle/Right"), new Vector2(6f, 27f), 4, 8, 16, 30, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2F80B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2F80B_1 = 4; ushort arg_2F806_0 = 4; byte arg_2F806_1 = 0; Texture2D arg_2F806_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Damage/Up"); Vector2 arg_2F806_3 = new Vector2(11f, 25f); int arg_2F806_4 = 4; int arg_2F806_5 = 2; int arg_2F806_6 = 22; int arg_2F806_7 = 28; int arg_2F806_8 = 0; int arg_2F806_9 = 0; int arg_2F806_10 = 10; Animation.LoopSettings arg_2F806_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2F806_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2F806_13 = true; bool arg_2F806_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[] { 8f })); AnimationInstruction[] arg_2F803_0 = array; int arg_2F803_1 = 1; AnimInsCriteria arg_2F7FE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2F7F9_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_2F803_0[arg_2F803_1] = new AnimationInstruction(arg_2F7FE_0, new AnimInsEvent(arg_2F7F9_0, array6)); arg_2F80B_0.Add(arg_2F80B_1, new Animation(arg_2F806_0, arg_2F806_1, arg_2F806_2, arg_2F806_3, arg_2F806_4, arg_2F806_5, arg_2F806_6, arg_2F806_7, arg_2F806_8, arg_2F806_9, arg_2F806_10, arg_2F806_11, arg_2F806_12, arg_2F806_13, arg_2F806_14, array)); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Damage/Right"), new Vector2(11f, 25f), 4, 2, 17, 28, 0, 0, 10, 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[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Damage/Down"), new Vector2(12f, 25f), 4, 2, 24, 28, 0, 0, 10, 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[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Damage/Right"), new Vector2(6f, 25f), 4, 2, 17, 28, 0, 0, 10, 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[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2FB04_0 = xEn.xRenderComponent.dixAnimations; ushort arg_2FB04_1 = 10; ushort arg_2FAFF_0 = 10; byte arg_2FAFF_1 = 2; Texture2D arg_2FAFF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Projectile/Down"); Vector2 arg_2FAFF_3 = new Vector2(12f, 28f); int arg_2FAFF_4 = 4; int arg_2FAFF_5 = 19; int arg_2FAFF_6 = 24; int arg_2FAFF_7 = 31; int arg_2FAFF_8 = 0; int arg_2FAFF_9 = 0; int arg_2FAFF_10 = 19; Animation.LoopSettings arg_2FAFF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2FAFF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2FAFF_13 = true; bool arg_2FAFF_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2FACE_0 = array; int arg_2FACE_1 = 0; AnimInsCriteria arg_2FAC9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }); AnimInsEvent.EventType arg_2FAC4_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_2FACE_0[arg_2FACE_1] = new AnimationInstruction(arg_2FAC9_0, new AnimInsEvent(arg_2FAC4_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_2FB04_0.Add(arg_2FB04_1, new Animation(arg_2FAFF_0, arg_2FAFF_1, arg_2FAFF_2, arg_2FAFF_3, arg_2FAFF_4, arg_2FAFF_5, arg_2FAFF_6, arg_2FAFF_7, arg_2FAFF_8, arg_2FAFF_9, arg_2FAFF_10, arg_2FAFF_11, arg_2FAFF_12, arg_2FAFF_13, arg_2FAFF_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Right"), new Vector2(11f, 28f), 4, 27, 21, 32, 0, 0, 34, 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[] { 17f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Down"), new Vector2(11f, 28f), 4, 27, 22, 32, 0, 0, 34, 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[] { 18f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Right"), new Vector2(10f, 28f), 4, 27, 21, 32, 0, 0, 34, 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[] { 19f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Right"), new Vector2(11f, 28f), 4, 2, 21, 32, 567, 0, 34, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Down"), new Vector2(11f, 28f), 4, 2, 22, 32, 594, 0, 34, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Right"), new Vector2(10f, 28f), 4, 2, 21, 32, 567, 0, 34, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Right"), new Vector2(11f, 28f), 4, 5, 21, 32, 609, 0, 34, 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 })) })); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Down"), new Vector2(11f, 28f), 4, 5, 22, 32, 638, 0, 34, 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 })) })); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Right"), new Vector2(10f, 28f), 4, 5, 21, 32, 609, 0, 34, 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 })) })); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Death/Death"), new Vector2(13f, 34f), 4, 13, 26, 38, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Death/Shake"), new Vector2(14f, 27f), 4, 19, 28, 31, 0, 0, 19, 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 })) })); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Marino"; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(10f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.SummerFae) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus11 = xEn as Boss; fnus11.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.bDropsAnyLoot = false; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 0.5f + 0.2f * (float)GameSessionData.iBaseDifficulty; xEn.enType = enType; xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 4; xEn.aiHitAnimation[1] = 5; xEn.aiHitAnimation[2] = 6; xEn.aiHitAnimation[3] = 7; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = true; xEn.xBaseStats.bAllowKnockback = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; xEn.xBaseStats.iBaseDEF = 40; xEn.xBehaviour = new SummerFaeAI(xEn); xEn.xBehaviour.bRunClientUpdate = true; xEn.xBehaviour.bActive = false; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Idle/Up"), new Vector2(10f, 25f), 4, 8, 20, 28, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Idle/Right"), new Vector2(10f, 25f), 4, 8, 16, 28, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Idle/Down"), new Vector2(11f, 25f), 4, 8, 22, 28, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Idle/Right"), new Vector2(6f, 25f), 4, 8, 16, 28, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_30353_0 = xEn.xRenderComponent.dixAnimations; ushort arg_30353_1 = 4; ushort arg_3034E_0 = 4; byte arg_3034E_1 = 0; Texture2D arg_3034E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Damage/Up"); Vector2 arg_3034E_3 = new Vector2(11f, 23f); int arg_3034E_4 = 4; int arg_3034E_5 = 2; int arg_3034E_6 = 22; int arg_3034E_7 = 26; int arg_3034E_8 = 0; int arg_3034E_9 = 0; int arg_3034E_10 = 10; Animation.LoopSettings arg_3034E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3034E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3034E_13 = true; bool arg_3034E_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[] { 8f })); AnimationInstruction[] arg_3034B_0 = array; int arg_3034B_1 = 1; AnimInsCriteria arg_30346_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_30341_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_3034B_0[arg_3034B_1] = new AnimationInstruction(arg_30346_0, new AnimInsEvent(arg_30341_0, array6)); arg_30353_0.Add(arg_30353_1, new Animation(arg_3034E_0, arg_3034E_1, arg_3034E_2, arg_3034E_3, arg_3034E_4, arg_3034E_5, arg_3034E_6, arg_3034E_7, arg_3034E_8, arg_3034E_9, arg_3034E_10, arg_3034E_11, arg_3034E_12, arg_3034E_13, arg_3034E_14, array)); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Damage/Right"), new Vector2(11f, 23f), 4, 2, 17, 26, 0, 0, 10, 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[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Damage/Down"), new Vector2(12f, 23f), 4, 2, 24, 26, 0, 0, 10, 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[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Damage/Right"), new Vector2(6f, 23f), 4, 2, 17, 28, 0, 0, 10, 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[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_30641_0 = xEn.xRenderComponent.dixAnimations; ushort arg_30641_1 = 8; ushort arg_3063C_0 = 8; byte arg_3063C_1 = 0; Texture2D arg_3063C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Entangle/Up"); Vector2 arg_3063C_3 = new Vector2(13f, 35f); int arg_3063C_4 = 4; int arg_3063C_5 = 11; int arg_3063C_6 = 26; int arg_3063C_7 = 38; int arg_3063C_8 = 0; int arg_3063C_9 = 0; int arg_3063C_10 = 19; Animation.LoopSettings arg_3063C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3063C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3063C_13 = true; bool arg_3063C_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_30614_0 = array; int arg_30614_1 = 0; AnimInsCriteria arg_3060F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_3060A_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_30614_0[arg_30614_1] = new AnimationInstruction(arg_3060F_0, new AnimInsEvent(arg_3060A_0, array6)); AnimationInstruction[] arg_30639_0 = array; int arg_30639_1 = 1; AnimInsCriteria arg_30634_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3062F_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_30639_0[arg_30639_1] = new AnimationInstruction(arg_30634_0, new AnimInsEvent(arg_3062F_0, array6)); arg_30641_0.Add(arg_30641_1, new Animation(arg_3063C_0, arg_3063C_1, arg_3063C_2, arg_3063C_3, arg_3063C_4, arg_3063C_5, arg_3063C_6, arg_3063C_7, arg_3063C_8, arg_3063C_9, arg_3063C_10, arg_3063C_11, arg_3063C_12, arg_3063C_13, arg_3063C_14, array)); Dictionary<ushort, Animation> arg_306F5_0 = xEn.xRenderComponent.dixAnimations; ushort arg_306F5_1 = 9; ushort arg_306F0_0 = 9; byte arg_306F0_1 = 1; Texture2D arg_306F0_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Entangle/Right"); Vector2 arg_306F0_3 = new Vector2(11f, 24f); int arg_306F0_4 = 4; int arg_306F0_5 = 11; int arg_306F0_6 = 32; int arg_306F0_7 = 27; int arg_306F0_8 = 0; int arg_306F0_9 = 0; int arg_306F0_10 = 19; Animation.LoopSettings arg_306F0_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_306F0_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_306F0_13 = true; bool arg_306F0_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_306BF_0 = array; int arg_306BF_1 = 0; AnimInsCriteria arg_306BA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_306B5_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_306BF_0[arg_306BF_1] = new AnimationInstruction(arg_306BA_0, new AnimInsEvent(arg_306B5_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_306F5_0.Add(arg_306F5_1, new Animation(arg_306F0_0, arg_306F0_1, arg_306F0_2, arg_306F0_3, arg_306F0_4, arg_306F0_5, arg_306F0_6, arg_306F0_7, arg_306F0_8, arg_306F0_9, arg_306F0_10, arg_306F0_11, arg_306F0_12, arg_306F0_13, arg_306F0_14, array)); Dictionary<ushort, Animation> arg_307A9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_307A9_1 = 10; ushort arg_307A4_0 = 10; byte arg_307A4_1 = 2; Texture2D arg_307A4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Entangle/Down"); Vector2 arg_307A4_3 = new Vector2(13f, 24f); int arg_307A4_4 = 4; int arg_307A4_5 = 11; int arg_307A4_6 = 26; int arg_307A4_7 = 32; int arg_307A4_8 = 0; int arg_307A4_9 = 0; int arg_307A4_10 = 19; Animation.LoopSettings arg_307A4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_307A4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_307A4_13 = true; bool arg_307A4_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_30773_0 = array; int arg_30773_1 = 0; AnimInsCriteria arg_3076E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_30769_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_30773_0[arg_30773_1] = new AnimationInstruction(arg_3076E_0, new AnimInsEvent(arg_30769_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_307A9_0.Add(arg_307A9_1, new Animation(arg_307A4_0, arg_307A4_1, arg_307A4_2, arg_307A4_3, arg_307A4_4, arg_307A4_5, arg_307A4_6, arg_307A4_7, arg_307A4_8, arg_307A4_9, arg_307A4_10, arg_307A4_11, arg_307A4_12, arg_307A4_13, arg_307A4_14, array)); Dictionary<ushort, Animation> arg_3085D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3085D_1 = 11; ushort arg_30858_0 = 11; byte arg_30858_1 = 3; Texture2D arg_30858_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Entangle/Right"); Vector2 arg_30858_3 = new Vector2(21f, 24f); int arg_30858_4 = 4; int arg_30858_5 = 11; int arg_30858_6 = 32; int arg_30858_7 = 27; int arg_30858_8 = 0; int arg_30858_9 = 0; int arg_30858_10 = 19; Animation.LoopSettings arg_30858_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_30858_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_30858_13 = true; bool arg_30858_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_30827_0 = array; int arg_30827_1 = 0; AnimInsCriteria arg_30822_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_3081D_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_30827_0[arg_30827_1] = new AnimationInstruction(arg_30822_0, new AnimInsEvent(arg_3081D_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_3085D_0.Add(arg_3085D_1, new Animation(arg_30858_0, arg_30858_1, arg_30858_2, arg_30858_3, arg_30858_4, arg_30858_5, arg_30858_6, arg_30858_7, arg_30858_8, arg_30858_9, arg_30858_10, arg_30858_11, arg_30858_12, arg_30858_13, arg_30858_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_30928_0 = xEn.xRenderComponent.dixAnimations; ushort arg_30928_1 = 12; ushort arg_30923_0 = 12; byte arg_30923_1 = 0; Texture2D arg_30923_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/PlantSummon/Up"); Vector2 arg_30923_3 = new Vector2(11f, 24f); int arg_30923_4 = 4; int arg_30923_5 = 6; int arg_30923_6 = 22; int arg_30923_7 = 27; int arg_30923_8 = 0; int arg_30923_9 = 0; int arg_30923_10 = 19; Animation.LoopSettings arg_30923_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_30923_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_30923_13 = true; bool arg_30923_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); AnimationInstruction[] arg_30920_0 = array; int arg_30920_1 = 1; AnimInsCriteria arg_3091B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_30916_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_30920_0[arg_30920_1] = new AnimationInstruction(arg_3091B_0, new AnimInsEvent(arg_30916_0, array6)); arg_30928_0.Add(arg_30928_1, new Animation(arg_30923_0, arg_30923_1, arg_30923_2, arg_30923_3, arg_30923_4, arg_30923_5, arg_30923_6, arg_30923_7, arg_30923_8, arg_30923_9, arg_30923_10, arg_30923_11, arg_30923_12, arg_30923_13, arg_30923_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/PlantSummon/Right"), new Vector2(11f, 24f), 4, 6, 18, 27, 0, 0, 19, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/PlantSummon/Down"), new Vector2(12f, 24f), 4, 6, 24, 27, 0, 0, 19, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/PlantSummon/Right"), new Vector2(7f, 24f), 4, 6, 18, 27, 0, 0, 19, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Death/Death"), new Vector2(13f, 34f), 4, 13, 26, 38, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Death/Shake"), new Vector2(14f, 27f), 4, 19, 28, 31, 0, 0, 19, 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 })) })); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Marino"; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(10f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.WinterFae) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus12 = xEn as Boss; fnus12.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 211); xEn.bDropsAnyLoot = false; xEn.xBaseStats.bSlowImmunity = true; xEn.xBaseStats.fMovementSpeed = 0.5f + 0.2f * (float)GameSessionData.iBaseDifficulty; xEn.enType = enType; xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 4; xEn.aiHitAnimation[1] = 5; xEn.aiHitAnimation[2] = 6; xEn.aiHitAnimation[3] = 7; xEn.bDontAutoKillAt0HP = true; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.bAllowKnockback = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; xEn.xBaseStats.iBaseDEF = 40; xEn.xBehaviour = new SummerFaeAI(xEn); xEn.xBehaviour.bRunClientUpdate = true; xEn.xBehaviour.bActive = false; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Idle/Up"), new Vector2(9f, 26f), 4, 8, 18, 29, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Idle/Right"), new Vector2(9f, 26f), 4, 8, 15, 29, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Idle/Down"), new Vector2(10f, 26f), 4, 8, 20, 29, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Idle/Right"), new Vector2(6f, 26f), 4, 8, 15, 29, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_30F76_0 = xEn.xRenderComponent.dixAnimations; ushort arg_30F76_1 = 4; ushort arg_30F71_0 = 4; byte arg_30F71_1 = 0; Texture2D arg_30F71_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Damage/Up"); Vector2 arg_30F71_3 = new Vector2(11f, 23f); int arg_30F71_4 = 4; int arg_30F71_5 = 2; int arg_30F71_6 = 22; int arg_30F71_7 = 26; int arg_30F71_8 = 0; int arg_30F71_9 = 0; int arg_30F71_10 = 10; Animation.LoopSettings arg_30F71_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_30F71_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_30F71_13 = true; bool arg_30F71_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[] { 8f })); AnimationInstruction[] arg_30F6E_0 = array; int arg_30F6E_1 = 1; AnimInsCriteria arg_30F69_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_30F64_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_30F6E_0[arg_30F6E_1] = new AnimationInstruction(arg_30F69_0, new AnimInsEvent(arg_30F64_0, array6)); arg_30F76_0.Add(arg_30F76_1, new Animation(arg_30F71_0, arg_30F71_1, arg_30F71_2, arg_30F71_3, arg_30F71_4, arg_30F71_5, arg_30F71_6, arg_30F71_7, arg_30F71_8, arg_30F71_9, arg_30F71_10, arg_30F71_11, arg_30F71_12, arg_30F71_13, arg_30F71_14, array)); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Damage/Right"), new Vector2(11f, 23f), 4, 2, 17, 26, 0, 0, 10, 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[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Damage/Down"), new Vector2(12f, 23f), 4, 2, 24, 26, 0, 0, 10, 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[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Damage/Right"), new Vector2(6f, 23f), 4, 2, 17, 28, 0, 0, 10, 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[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_31264_0 = xEn.xRenderComponent.dixAnimations; ushort arg_31264_1 = 8; ushort arg_3125F_0 = 8; byte arg_3125F_1 = 0; Texture2D arg_3125F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Entangle/Up"); Vector2 arg_3125F_3 = new Vector2(13f, 35f); int arg_3125F_4 = 4; int arg_3125F_5 = 11; int arg_3125F_6 = 26; int arg_3125F_7 = 38; int arg_3125F_8 = 0; int arg_3125F_9 = 0; int arg_3125F_10 = 19; Animation.LoopSettings arg_3125F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3125F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3125F_13 = true; bool arg_3125F_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_31237_0 = array; int arg_31237_1 = 0; AnimInsCriteria arg_31232_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_3122D_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_31237_0[arg_31237_1] = new AnimationInstruction(arg_31232_0, new AnimInsEvent(arg_3122D_0, array6)); AnimationInstruction[] arg_3125C_0 = array; int arg_3125C_1 = 1; AnimInsCriteria arg_31257_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_31252_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3125C_0[arg_3125C_1] = new AnimationInstruction(arg_31257_0, new AnimInsEvent(arg_31252_0, array6)); arg_31264_0.Add(arg_31264_1, new Animation(arg_3125F_0, arg_3125F_1, arg_3125F_2, arg_3125F_3, arg_3125F_4, arg_3125F_5, arg_3125F_6, arg_3125F_7, arg_3125F_8, arg_3125F_9, arg_3125F_10, arg_3125F_11, arg_3125F_12, arg_3125F_13, arg_3125F_14, array)); Dictionary<ushort, Animation> arg_31318_0 = xEn.xRenderComponent.dixAnimations; ushort arg_31318_1 = 9; ushort arg_31313_0 = 9; byte arg_31313_1 = 1; Texture2D arg_31313_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Entangle/Right"); Vector2 arg_31313_3 = new Vector2(11f, 24f); int arg_31313_4 = 4; int arg_31313_5 = 11; int arg_31313_6 = 32; int arg_31313_7 = 27; int arg_31313_8 = 0; int arg_31313_9 = 0; int arg_31313_10 = 19; Animation.LoopSettings arg_31313_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_31313_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_31313_13 = true; bool arg_31313_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_312E2_0 = array; int arg_312E2_1 = 0; AnimInsCriteria arg_312DD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_312D8_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_312E2_0[arg_312E2_1] = new AnimationInstruction(arg_312DD_0, new AnimInsEvent(arg_312D8_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_31318_0.Add(arg_31318_1, new Animation(arg_31313_0, arg_31313_1, arg_31313_2, arg_31313_3, arg_31313_4, arg_31313_5, arg_31313_6, arg_31313_7, arg_31313_8, arg_31313_9, arg_31313_10, arg_31313_11, arg_31313_12, arg_31313_13, arg_31313_14, array)); Dictionary<ushort, Animation> arg_313CC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_313CC_1 = 10; ushort arg_313C7_0 = 10; byte arg_313C7_1 = 2; Texture2D arg_313C7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Entangle/Down"); Vector2 arg_313C7_3 = new Vector2(13f, 24f); int arg_313C7_4 = 4; int arg_313C7_5 = 11; int arg_313C7_6 = 26; int arg_313C7_7 = 32; int arg_313C7_8 = 0; int arg_313C7_9 = 0; int arg_313C7_10 = 19; Animation.LoopSettings arg_313C7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_313C7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_313C7_13 = true; bool arg_313C7_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_31396_0 = array; int arg_31396_1 = 0; AnimInsCriteria arg_31391_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_3138C_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_31396_0[arg_31396_1] = new AnimationInstruction(arg_31391_0, new AnimInsEvent(arg_3138C_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_313CC_0.Add(arg_313CC_1, new Animation(arg_313C7_0, arg_313C7_1, arg_313C7_2, arg_313C7_3, arg_313C7_4, arg_313C7_5, arg_313C7_6, arg_313C7_7, arg_313C7_8, arg_313C7_9, arg_313C7_10, arg_313C7_11, arg_313C7_12, arg_313C7_13, arg_313C7_14, array)); Dictionary<ushort, Animation> arg_31480_0 = xEn.xRenderComponent.dixAnimations; ushort arg_31480_1 = 11; ushort arg_3147B_0 = 11; byte arg_3147B_1 = 3; Texture2D arg_3147B_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/Entangle/Right"); Vector2 arg_3147B_3 = new Vector2(21f, 24f); int arg_3147B_4 = 4; int arg_3147B_5 = 11; int arg_3147B_6 = 32; int arg_3147B_7 = 27; int arg_3147B_8 = 0; int arg_3147B_9 = 0; int arg_3147B_10 = 19; Animation.LoopSettings arg_3147B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3147B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3147B_13 = true; bool arg_3147B_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_3144A_0 = array; int arg_3144A_1 = 0; AnimInsCriteria arg_31445_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_31440_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_3144A_0[arg_3144A_1] = new AnimationInstruction(arg_31445_0, new AnimInsEvent(arg_31440_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_31480_0.Add(arg_31480_1, new Animation(arg_3147B_0, arg_3147B_1, arg_3147B_2, arg_3147B_3, arg_3147B_4, arg_3147B_5, arg_3147B_6, arg_3147B_7, arg_3147B_8, arg_3147B_9, arg_3147B_10, arg_3147B_11, arg_3147B_12, arg_3147B_13, arg_3147B_14, array)); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_31542_0 = xEn.xRenderComponent.dixAnimations; ushort arg_31542_1 = 12; ushort arg_3153D_0 = 12; byte arg_3153D_1 = 0; Texture2D arg_3153D_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/PlantSummon/Up"); Vector2 arg_3153D_3 = new Vector2(11f, 24f); int arg_3153D_4 = 4; int arg_3153D_5 = 6; int arg_3153D_6 = 22; int arg_3153D_7 = 27; int arg_3153D_8 = 0; int arg_3153D_9 = 0; int arg_3153D_10 = 19; Animation.LoopSettings arg_3153D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3153D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3153D_13 = true; bool arg_3153D_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_31515_0 = array; int arg_31515_1 = 0; AnimInsCriteria arg_31510_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_3150B_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_31515_0[arg_31515_1] = new AnimationInstruction(arg_31510_0, new AnimInsEvent(arg_3150B_0, array6)); AnimationInstruction[] arg_3153A_0 = array; int arg_3153A_1 = 1; AnimInsCriteria arg_31535_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_31530_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3153A_0[arg_3153A_1] = new AnimationInstruction(arg_31535_0, new AnimInsEvent(arg_31530_0, array6)); arg_31542_0.Add(arg_31542_1, new Animation(arg_3153D_0, arg_3153D_1, arg_3153D_2, arg_3153D_3, arg_3153D_4, arg_3153D_5, arg_3153D_6, arg_3153D_7, arg_3153D_8, arg_3153D_9, arg_3153D_10, arg_3153D_11, arg_3153D_12, arg_3153D_13, arg_3153D_14, array)); Dictionary<ushort, Animation> arg_315F5_0 = xEn.xRenderComponent.dixAnimations; ushort arg_315F5_1 = 13; ushort arg_315F0_0 = 13; byte arg_315F0_1 = 1; Texture2D arg_315F0_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/PlantSummon/Right"); Vector2 arg_315F0_3 = new Vector2(11f, 24f); int arg_315F0_4 = 4; int arg_315F0_5 = 6; int arg_315F0_6 = 18; int arg_315F0_7 = 27; int arg_315F0_8 = 0; int arg_315F0_9 = 0; int arg_315F0_10 = 19; Animation.LoopSettings arg_315F0_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_315F0_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_315F0_13 = true; bool arg_315F0_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_315BF_0 = array; int arg_315BF_1 = 0; AnimInsCriteria arg_315BA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_315B5_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_315BF_0[arg_315BF_1] = new AnimationInstruction(arg_315BA_0, new AnimInsEvent(arg_315B5_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_315F5_0.Add(arg_315F5_1, new Animation(arg_315F0_0, arg_315F0_1, arg_315F0_2, arg_315F0_3, arg_315F0_4, arg_315F0_5, arg_315F0_6, arg_315F0_7, arg_315F0_8, arg_315F0_9, arg_315F0_10, arg_315F0_11, arg_315F0_12, arg_315F0_13, arg_315F0_14, array)); Dictionary<ushort, Animation> arg_316A8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_316A8_1 = 14; ushort arg_316A3_0 = 14; byte arg_316A3_1 = 2; Texture2D arg_316A3_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/PlantSummon/Down"); Vector2 arg_316A3_3 = new Vector2(12f, 24f); int arg_316A3_4 = 4; int arg_316A3_5 = 6; int arg_316A3_6 = 24; int arg_316A3_7 = 27; int arg_316A3_8 = 0; int arg_316A3_9 = 0; int arg_316A3_10 = 19; Animation.LoopSettings arg_316A3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_316A3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_316A3_13 = true; bool arg_316A3_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_31672_0 = array; int arg_31672_1 = 0; AnimInsCriteria arg_3166D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_31668_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_31672_0[arg_31672_1] = new AnimationInstruction(arg_3166D_0, new AnimInsEvent(arg_31668_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })); arg_316A8_0.Add(arg_316A8_1, new Animation(arg_316A3_0, arg_316A3_1, arg_316A3_2, arg_316A3_3, arg_316A3_4, arg_316A3_5, arg_316A3_6, arg_316A3_7, arg_316A3_8, arg_316A3_9, arg_316A3_10, arg_316A3_11, arg_316A3_12, arg_316A3_13, arg_316A3_14, array)); Dictionary<ushort, Animation> arg_3175B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3175B_1 = 15; ushort arg_31756_0 = 15; byte arg_31756_1 = 3; Texture2D arg_31756_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/PlantSummon/Right"); Vector2 arg_31756_3 = new Vector2(7f, 24f); int arg_31756_4 = 4; int arg_31756_5 = 6; int arg_31756_6 = 18; int arg_31756_7 = 27; int arg_31756_8 = 0; int arg_31756_9 = 0; int arg_31756_10 = 19; Animation.LoopSettings arg_31756_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_31756_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_31756_13 = true; bool arg_31756_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_31725_0 = array; int arg_31725_1 = 0; AnimInsCriteria arg_31720_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 5f }); AnimInsEvent.EventType arg_3171B_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_31725_0[arg_31725_1] = new AnimationInstruction(arg_31720_0, new AnimInsEvent(arg_3171B_0, array6)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })); arg_3175B_0.Add(arg_3175B_1, new Animation(arg_31756_0, arg_31756_1, arg_31756_2, arg_31756_3, arg_31756_4, arg_31756_5, arg_31756_6, arg_31756_7, arg_31756_8, arg_31756_9, arg_31756_10, arg_31756_11, arg_31756_12, arg_31756_13, arg_31756_14, array)); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(100, new Animation(100, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Freeze/Right"), new Vector2(21f, 24f), 4, 15, 32, 27, 0, 0, 15, 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 })) })); xEn.xRenderComponent.dixAnimations[100].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(101, new Animation(101, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Hypnosis/Start"), new Vector2(15f, 45f), 4, 49, 30, 48, 0, 0, 49, 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[] { 102f })) })); xEn.xRenderComponent.dixAnimations.Add(102, new Animation(102, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Hypnosis/End"), new Vector2(28f, 45f), 4, 32, 56, 86, 0, 0, 32, 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 })) })); xEn.xRenderComponent.dixAnimations.Add(103, new Animation(103, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Hypnosis/Start"), new Vector2(15f, 45f), 4, 18, 30, 48, 0, 0, 49, 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[] { 104f })) })); xEn.xRenderComponent.dixAnimations.Add(104, new Animation(104, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Hypnosis/Start"), new Vector2(15f, 45f), 4, 4, 30, 48, 540, 0, 32, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(105, new Animation(105, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Hypnosis/End"), new Vector2(28f, 45f), 4, 3, 56, 86, 1624, 0, 32, 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 })) })); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Marino"; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(10f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.SeasonKnight_Summer) { xEn.enType = enType; xEn.xBehaviour = new SummerKnightAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = false; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xBaseStats.iKnockbackResistance = 0; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Idle/Up"), new Vector2(21f, 30f), 4, 9, 43, 35, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Idle/Right"), new Vector2(11f, 31f), 4, 9, 28, 44, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Idle/Down"), new Vector2(24f, 31f), 4, 9, 49, 41, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Idle/Right"), new Vector2(17f, 31f), 4, 9, 28, 44, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Move/Up"), new Vector2(22f, 32f), 4, 10, 45, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Move/Right"), new Vector2(12f, 33f), 4, 10, 29, 44, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Move/Down"), new Vector2(21f, 33f), 4, 10, 43, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Move/Right"), new Vector2(17f, 33f), 4, 10, 29, 44, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_31E83_0 = xEn.xRenderComponent.dixAnimations; ushort arg_31E83_1 = 12; ushort arg_31E7E_0 = 12; byte arg_31E7E_1 = 0; Texture2D arg_31E7E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Up"); Vector2 arg_31E7E_3 = new Vector2(24f, 28f); int arg_31E7E_4 = 4; int arg_31E7E_5 = 2; int arg_31E7E_6 = 50; int arg_31E7E_7 = 35; int arg_31E7E_8 = 0; int arg_31E7E_9 = 0; int arg_31E7E_10 = 20; Animation.LoopSettings arg_31E7E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_31E7E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_31E7E_13 = false; bool arg_31E7E_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_31E7B_0 = array; int arg_31E7B_1 = 1; AnimInsCriteria arg_31E76_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_31E71_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_31E7B_0[arg_31E7B_1] = new AnimationInstruction(arg_31E76_0, new AnimInsEvent(arg_31E71_0, array6)); arg_31E83_0.Add(arg_31E83_1, new Animation(arg_31E7E_0, arg_31E7E_1, arg_31E7E_2, arg_31E7E_3, arg_31E7E_4, arg_31E7E_5, arg_31E7E_6, arg_31E7E_7, arg_31E7E_8, arg_31E7E_9, arg_31E7E_10, arg_31E7E_11, arg_31E7E_12, arg_31E7E_13, arg_31E7E_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Right"), new Vector2(13f, 29f), 4, 2, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Down"), new Vector2(26f, 28f), 4, 2, 53, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Right"), new Vector2(18f, 29f), 4, 2, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldPull/Up"), new Vector2(21f, 28f), 4, 6, 44, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 20f })) })); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldPull/Right"), new Vector2(18f, 31f), 4, 6, 38, 39, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 21f })) })); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldPull/Down"), new Vector2(22f, 33f), 4, 6, 45, 43, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 22f })) })); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldPull/Right"), new Vector2(20f, 31f), 4, 6, 38, 39, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 23f })) })); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldIdle/Up"), new Vector2(13f, 26f), 4, 1, 29, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldIdle/Right"), new Vector2(19f, 32f), 4, 1, 39, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldIdle/Down"), new Vector2(17f, 33f), 4, 1, 35, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldIdle/Right"), new Vector2(20f, 32f), 4, 1, 39, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldWalk/Up"), new Vector2(15f, 28f), 4, 5, 31, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldWalk/Right"), new Vector2(18f, 32f), 4, 5, 39, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldWalk/Down"), new Vector2(16f, 35f), 4, 5, 32, 43, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldWalk/Right"), new Vector2(21f, 32f), 4, 5, 39, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(32, new Animation(32, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldDamage/Up"), new Vector2(13f, 26f), 4, 3, 29, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 20f })) })); xEn.xRenderComponent.dixAnimations.Add(33, new Animation(33, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldDamage/Right"), new Vector2(19f, 32f), 4, 3, 39, 37, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 21f })) })); xEn.xRenderComponent.dixAnimations.Add(34, new Animation(34, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldDamage/Down"), new Vector2(16f, 33f), 4, 3, 35, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 22f })) })); xEn.xRenderComponent.dixAnimations.Add(35, new Animation(35, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldDamage/Right"), new Vector2(20f, 32f), 4, 3, 39, 37, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 23f })) })); xEn.xRenderComponent.dixAnimations[35].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_32A36_0 = xEn.xRenderComponent.dixAnimations; ushort arg_32A36_1 = 40; ushort arg_32A31_0 = 40; byte arg_32A31_1 = 0; Texture2D arg_32A31_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldBreak/Up"); Vector2 arg_32A31_3 = new Vector2(25f, 32f); int arg_32A31_4 = 4; int arg_32A31_5 = 5; int arg_32A31_6 = 51; int arg_32A31_7 = 41; int arg_32A31_8 = 0; int arg_32A31_9 = 0; int arg_32A31_10 = 20; Animation.LoopSettings arg_32A31_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_32A31_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_32A31_13 = false; bool arg_32A31_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_32A2E_0 = array; int arg_32A2E_1 = 2; AnimInsCriteria arg_32A29_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_32A24_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_32A2E_0[arg_32A2E_1] = new AnimationInstruction(arg_32A29_0, new AnimInsEvent(arg_32A24_0, array6)); arg_32A36_0.Add(arg_32A36_1, new Animation(arg_32A31_0, arg_32A31_1, arg_32A31_2, arg_32A31_3, arg_32A31_4, arg_32A31_5, arg_32A31_6, arg_32A31_7, arg_32A31_8, arg_32A31_9, arg_32A31_10, arg_32A31_11, arg_32A31_12, arg_32A31_13, arg_32A31_14, array)); xEn.xRenderComponent.dixAnimations.Add(41, new Animation(41, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldBreak/Right"), new Vector2(22f, 31f), 4, 5, 41, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(42, new Animation(42, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldBreak/Down"), new Vector2(26f, 32f), 4, 5, 53, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(43, new Animation(43, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldBreak/Right"), new Vector2(19f, 31f), 4, 5, 41, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[43].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_32DA1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_32DA1_1 = 50; ushort arg_32D9C_0 = 50; byte arg_32D9C_1 = 0; Texture2D arg_32D9C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldPull/Up"); Vector2 arg_32D9C_3 = new Vector2(21f, 28f); int arg_32D9C_4 = 4; int arg_32D9C_5 = 3; int arg_32D9C_6 = 44; int arg_32D9C_7 = 35; int arg_32D9C_8 = 0; int arg_32D9C_9 = 0; int arg_32D9C_10 = 20; Animation.LoopSettings arg_32D9C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_32D9C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_32D9C_13 = false; bool arg_32D9C_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_32D99_0 = array; int arg_32D99_1 = 0; AnimInsCriteria arg_32D94_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_32D8F_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_32D99_0[arg_32D99_1] = new AnimationInstruction(arg_32D94_0, new AnimInsEvent(arg_32D8F_0, array6)); arg_32DA1_0.Add(arg_32DA1_1, new Animation(arg_32D9C_0, arg_32D9C_1, arg_32D9C_2, arg_32D9C_3, arg_32D9C_4, arg_32D9C_5, arg_32D9C_6, arg_32D9C_7, arg_32D9C_8, arg_32D9C_9, arg_32D9C_10, arg_32D9C_11, arg_32D9C_12, arg_32D9C_13, arg_32D9C_14, array)); xEn.xRenderComponent.dixAnimations.Add(51, new Animation(51, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldPull/Right"), new Vector2(18f, 31f), 4, 3, 38, 39, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(52, new Animation(52, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldPull/Down"), new Vector2(22f, 33f), 4, 3, 45, 43, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(53, new Animation(53, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/ShieldPull/Right"), new Vector2(20f, 31f), 4, 3, 38, 39, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[50].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[51].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[52].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[53].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[53].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Up"), new Vector2(24f, 28f), 4, 1, 50, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Right"), new Vector2(13f, 29f), 4, 1, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Down"), new Vector2(26f, 28f), 4, 1, 53, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Right"), new Vector2(18f, 29f), 4, 1, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_33181_0 = xEn.xRenderComponent.dixAnimations; ushort arg_33181_1 = 40004; ushort arg_3317C_0 = 40004; byte arg_3317C_1 = 0; Texture2D arg_3317C_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Up"); Vector2 arg_3317C_3 = new Vector2(24f, 28f); int arg_3317C_4 = 4; int arg_3317C_5 = 2; int arg_3317C_6 = 50; int arg_3317C_7 = 35; int arg_3317C_8 = 0; int arg_3317C_9 = 0; int arg_3317C_10 = 20; Animation.LoopSettings arg_3317C_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3317C_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3317C_13 = false; bool arg_3317C_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_33179_0 = array; int arg_33179_1 = 0; AnimInsCriteria arg_33174_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3316F_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_33179_0[arg_33179_1] = new AnimationInstruction(arg_33174_0, new AnimInsEvent(arg_3316F_0, array6)); arg_33181_0.Add(arg_33181_1, new Animation(arg_3317C_0, arg_3317C_1, arg_3317C_2, arg_3317C_3, arg_3317C_4, arg_3317C_5, arg_3317C_6, arg_3317C_7, arg_3317C_8, arg_3317C_9, arg_3317C_10, arg_3317C_11, arg_3317C_12, arg_3317C_13, arg_3317C_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Right"), new Vector2(13f, 29f), 4, 2, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Down"), new Vector2(26f, 28f), 4, 2, 53, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Knight/Damage/Right"), new Vector2(18f, 29f), 4, 2, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "SummerKnight"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 10000f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(30, 8, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.SeasonKnight_Autumn) { xEn.enType = enType; xEn.xBehaviour = new AutumnKnightAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = false; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xBaseStats.iKnockbackResistance = 0; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Idle/Up"), new Vector2(27f, 31f), 4, 9, 55, 36, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Idle/Right"), new Vector2(14f, 31f), 4, 9, 31, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Idle/Down"), new Vector2(29f, 31f), 4, 9, 59, 36, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Idle/Right"), new Vector2(17f, 31f), 4, 9, 31, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Move/Up"), new Vector2(22f, 32f), 4, 10, 45, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Move/Right"), new Vector2(12f, 33f), 4, 10, 29, 44, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Move/Down"), new Vector2(21f, 33f), 4, 10, 43, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Move/Right"), new Vector2(17f, 33f), 4, 10, 29, 44, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_337CC_0 = xEn.xRenderComponent.dixAnimations; ushort arg_337CC_1 = 12; ushort arg_337C7_0 = 12; byte arg_337C7_1 = 0; Texture2D arg_337C7_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Up"); Vector2 arg_337C7_3 = new Vector2(25f, 27f); int arg_337C7_4 = 4; int arg_337C7_5 = 2; int arg_337C7_6 = 49; int arg_337C7_7 = 32; int arg_337C7_8 = 0; int arg_337C7_9 = 0; int arg_337C7_10 = 20; Animation.LoopSettings arg_337C7_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_337C7_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_337C7_13 = false; bool arg_337C7_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_337C4_0 = array; int arg_337C4_1 = 1; AnimInsCriteria arg_337BF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_337BA_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_337C4_0[arg_337C4_1] = new AnimationInstruction(arg_337BF_0, new AnimInsEvent(arg_337BA_0, array6)); arg_337CC_0.Add(arg_337CC_1, new Animation(arg_337C7_0, arg_337C7_1, arg_337C7_2, arg_337C7_3, arg_337C7_4, arg_337C7_5, arg_337C7_6, arg_337C7_7, arg_337C7_8, arg_337C7_9, arg_337C7_10, arg_337C7_11, arg_337C7_12, arg_337C7_13, arg_337C7_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Right"), new Vector2(13f, 28f), 4, 2, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Down"), new Vector2(30f, 28f), 4, 2, 61, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Right"), new Vector2(18f, 28f), 4, 2, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldPull/Up"), new Vector2(26f, 30f), 4, 6, 53, 47, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 20f })) })); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldPull/Right"), new Vector2(25f, 33f), 4, 6, 60, 50, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 21f })) })); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldPull/Down"), new Vector2(27f, 33f), 4, 6, 55, 60, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 22f })) })); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldPull/Right"), new Vector2(35f, 33f), 4, 6, 60, 50, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 23f })) })); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldIdle/Up"), new Vector2(13f, 26f), 4, 1, 29, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldIdle/Right"), new Vector2(19f, 32f), 4, 1, 39, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldIdle/Down"), new Vector2(17f, 33f), 4, 1, 35, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldIdle/Right"), new Vector2(20f, 32f), 4, 1, 39, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldWalk/Up"), new Vector2(15f, 28f), 4, 5, 31, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldWalk/Right"), new Vector2(18f, 32f), 4, 5, 39, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldWalk/Down"), new Vector2(16f, 35f), 4, 5, 32, 43, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldWalk/Right"), new Vector2(21f, 32f), 4, 5, 39, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(32, new Animation(32, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldDamage/Up"), new Vector2(13f, 26f), 4, 3, 29, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 20f })) })); xEn.xRenderComponent.dixAnimations.Add(33, new Animation(33, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldDamage/Right"), new Vector2(19f, 32f), 4, 3, 39, 37, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 21f })) })); xEn.xRenderComponent.dixAnimations.Add(34, new Animation(34, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldDamage/Down"), new Vector2(17f, 33f), 4, 3, 35, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 22f })) })); xEn.xRenderComponent.dixAnimations.Add(35, new Animation(35, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldDamage/Right"), new Vector2(20f, 32f), 4, 3, 39, 37, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 23f })) })); xEn.xRenderComponent.dixAnimations[35].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_3437F_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3437F_1 = 40; ushort arg_3437A_0 = 40; byte arg_3437A_1 = 0; Texture2D arg_3437A_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldBreak/Up"); Vector2 arg_3437A_3 = new Vector2(25f, 32f); int arg_3437A_4 = 4; int arg_3437A_5 = 5; int arg_3437A_6 = 51; int arg_3437A_7 = 41; int arg_3437A_8 = 0; int arg_3437A_9 = 0; int arg_3437A_10 = 20; Animation.LoopSettings arg_3437A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3437A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3437A_13 = false; bool arg_3437A_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_34377_0 = array; int arg_34377_1 = 2; AnimInsCriteria arg_34372_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3436D_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_34377_0[arg_34377_1] = new AnimationInstruction(arg_34372_0, new AnimInsEvent(arg_3436D_0, array6)); arg_3437F_0.Add(arg_3437F_1, new Animation(arg_3437A_0, arg_3437A_1, arg_3437A_2, arg_3437A_3, arg_3437A_4, arg_3437A_5, arg_3437A_6, arg_3437A_7, arg_3437A_8, arg_3437A_9, arg_3437A_10, arg_3437A_11, arg_3437A_12, arg_3437A_13, arg_3437A_14, array)); xEn.xRenderComponent.dixAnimations.Add(41, new Animation(41, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldBreak/Right"), new Vector2(22f, 31f), 4, 5, 41, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(42, new Animation(42, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldBreak/Down"), new Vector2(28f, 32f), 4, 5, 57, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(43, new Animation(43, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldBreak/Right"), new Vector2(19f, 31f), 4, 5, 41, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[43].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_346EA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_346EA_1 = 50; ushort arg_346E5_0 = 50; byte arg_346E5_1 = 0; Texture2D arg_346E5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldPull/Up"); Vector2 arg_346E5_3 = new Vector2(26f, 30f); int arg_346E5_4 = 4; int arg_346E5_5 = 3; int arg_346E5_6 = 53; int arg_346E5_7 = 47; int arg_346E5_8 = 0; int arg_346E5_9 = 0; int arg_346E5_10 = 20; Animation.LoopSettings arg_346E5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_346E5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_346E5_13 = false; bool arg_346E5_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_346E2_0 = array; int arg_346E2_1 = 0; AnimInsCriteria arg_346DD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_346D8_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_346E2_0[arg_346E2_1] = new AnimationInstruction(arg_346DD_0, new AnimInsEvent(arg_346D8_0, array6)); arg_346EA_0.Add(arg_346EA_1, new Animation(arg_346E5_0, arg_346E5_1, arg_346E5_2, arg_346E5_3, arg_346E5_4, arg_346E5_5, arg_346E5_6, arg_346E5_7, arg_346E5_8, arg_346E5_9, arg_346E5_10, arg_346E5_11, arg_346E5_12, arg_346E5_13, arg_346E5_14, array)); xEn.xRenderComponent.dixAnimations.Add(51, new Animation(51, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldPull/Right"), new Vector2(25f, 33f), 4, 3, 60, 50, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(52, new Animation(52, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldPull/Down"), new Vector2(27f, 33f), 4, 3, 55, 60, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(53, new Animation(53, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/ShieldPull/Right"), new Vector2(35f, 33f), 4, 3, 60, 50, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[50].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[51].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[52].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[53].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[53].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Up"), new Vector2(24f, 28f), 4, 1, 50, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Right"), new Vector2(13f, 29f), 4, 1, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Down"), new Vector2(26f, 28f), 4, 1, 53, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Right"), new Vector2(18f, 29f), 4, 1, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_34ACA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_34ACA_1 = 40004; ushort arg_34AC5_0 = 40004; byte arg_34AC5_1 = 0; Texture2D arg_34AC5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Up"); Vector2 arg_34AC5_3 = new Vector2(24f, 28f); int arg_34AC5_4 = 4; int arg_34AC5_5 = 2; int arg_34AC5_6 = 50; int arg_34AC5_7 = 35; int arg_34AC5_8 = 0; int arg_34AC5_9 = 0; int arg_34AC5_10 = 20; Animation.LoopSettings arg_34AC5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_34AC5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_34AC5_13 = false; bool arg_34AC5_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_34AC2_0 = array; int arg_34AC2_1 = 0; AnimInsCriteria arg_34ABD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_34AB8_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_34AC2_0[arg_34AC2_1] = new AnimationInstruction(arg_34ABD_0, new AnimInsEvent(arg_34AB8_0, array6)); arg_34ACA_0.Add(arg_34ACA_1, new Animation(arg_34AC5_0, arg_34AC5_1, arg_34AC5_2, arg_34AC5_3, arg_34AC5_4, arg_34AC5_5, arg_34AC5_6, arg_34AC5_7, arg_34AC5_8, arg_34AC5_9, arg_34AC5_10, arg_34AC5_11, arg_34AC5_12, arg_34AC5_13, arg_34AC5_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Right"), new Vector2(13f, 29f), 4, 2, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Down"), new Vector2(26f, 28f), 4, 2, 53, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Knight/Damage/Right"), new Vector2(18f, 29f), 4, 2, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "AutumnKnight"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 10000f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(30, 8, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.SeasonKnight_Winter) { xEn.enType = enType; xEn.xBehaviour = new WinterKnightAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = false; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xBaseStats.iKnockbackResistance = 0; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Idle/Up"), new Vector2(17f, 30f), 4, 9, 58, 35, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Idle/Right"), new Vector2(18f, 31f), 4, 9, 46, 41, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Idle/Down"), new Vector2(43f, 31f), 4, 9, 61, 40, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Idle/Right"), new Vector2(28f, 31f), 4, 9, 46, 41, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Move/Up"), new Vector2(16f, 36f), 4, 10, 41, 42, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Move/Right"), new Vector2(16f, 33f), 4, 10, 46, 51, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Move/Down"), new Vector2(31f, 33f), 4, 10, 48, 52, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Move/Right"), new Vector2(30f, 33f), 4, 10, 46, 51, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_35115_0 = xEn.xRenderComponent.dixAnimations; ushort arg_35115_1 = 12; ushort arg_35110_0 = 12; byte arg_35110_1 = 0; Texture2D arg_35110_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Up"); Vector2 arg_35110_3 = new Vector2(17f, 31f); int arg_35110_4 = 4; int arg_35110_5 = 2; int arg_35110_6 = 56; int arg_35110_7 = 36; int arg_35110_8 = 0; int arg_35110_9 = 0; int arg_35110_10 = 20; Animation.LoopSettings arg_35110_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_35110_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_35110_13 = false; bool arg_35110_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_3510D_0 = array; int arg_3510D_1 = 1; AnimInsCriteria arg_35108_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_35103_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_3510D_0[arg_3510D_1] = new AnimationInstruction(arg_35108_0, new AnimInsEvent(arg_35103_0, array6)); arg_35115_0.Add(arg_35115_1, new Animation(arg_35110_0, arg_35110_1, arg_35110_2, arg_35110_3, arg_35110_4, arg_35110_5, arg_35110_6, arg_35110_7, arg_35110_8, arg_35110_9, arg_35110_10, arg_35110_11, arg_35110_12, arg_35110_13, arg_35110_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Right"), new Vector2(14f, 28f), 4, 2, 41, 49, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Down"), new Vector2(48f, 28f), 4, 2, 67, 34, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Right"), new Vector2(27f, 28f), 4, 2, 41, 49, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldPull/Up"), new Vector2(17f, 46f), 4, 6, 57, 79, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 20f })) })); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldPull/Right"), new Vector2(29f, 45f), 4, 6, 79, 55, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 21f })) })); xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldPull/Down"), new Vector2(40f, 50f), 4, 6, 58, 85, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 22f })) })); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldPull/Right"), new Vector2(50f, 45f), 4, 6, 79, 55, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 23f })) })); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldIdle/Up"), new Vector2(13f, 39f), 4, 1, 29, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldIdle/Right"), new Vector2(20f, 45f), 4, 1, 39, 50, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldIdle/Down"), new Vector2(17f, 48f), 4, 1, 35, 54, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldIdle/Right"), new Vector2(19f, 45f), 4, 1, 39, 50, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldWalk/Up"), new Vector2(15f, 42f), 4, 5, 31, 49, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldWalk/Right"), new Vector2(19f, 46f), 4, 5, 39, 51, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldWalk/Down"), new Vector2(16f, 50f), 4, 5, 32, 57, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldWalk/Right"), new Vector2(20f, 46f), 4, 5, 39, 51, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[27].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(32, new Animation(32, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldDamage/Up"), new Vector2(12f, 39f), 4, 3, 29, 45, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 20f })) })); xEn.xRenderComponent.dixAnimations.Add(33, new Animation(33, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldDamage/Right"), new Vector2(20f, 45f), 4, 3, 39, 50, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 21f })) })); xEn.xRenderComponent.dixAnimations.Add(34, new Animation(34, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldDamage/Down"), new Vector2(17f, 48f), 4, 3, 35, 54, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 22f })) })); xEn.xRenderComponent.dixAnimations.Add(35, new Animation(35, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldDamage/Right"), new Vector2(19f, 45f), 4, 3, 39, 50, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 23f })) })); xEn.xRenderComponent.dixAnimations[35].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_35CC8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_35CC8_1 = 40; ushort arg_35CC3_0 = 40; byte arg_35CC3_1 = 0; Texture2D arg_35CC3_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldBreak/Up"); Vector2 arg_35CC3_3 = new Vector2(19f, 37f); int arg_35CC3_4 = 4; int arg_35CC3_5 = 5; int arg_35CC3_6 = 62; int arg_35CC3_7 = 46; int arg_35CC3_8 = 0; int arg_35CC3_9 = 0; int arg_35CC3_10 = 20; Animation.LoopSettings arg_35CC3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_35CC3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_35CC3_13 = false; bool arg_35CC3_14 = false; array = new AnimationInstruction[3]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_35CC0_0 = array; int arg_35CC0_1 = 2; AnimInsCriteria arg_35CBB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_35CB6_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_35CC0_0[arg_35CC0_1] = new AnimationInstruction(arg_35CBB_0, new AnimInsEvent(arg_35CB6_0, array6)); arg_35CC8_0.Add(arg_35CC8_1, new Animation(arg_35CC3_0, arg_35CC3_1, arg_35CC3_2, arg_35CC3_3, arg_35CC3_4, arg_35CC3_5, arg_35CC3_6, arg_35CC3_7, arg_35CC3_8, arg_35CC3_9, arg_35CC3_10, arg_35CC3_11, arg_35CC3_12, arg_35CC3_13, arg_35CC3_14, array)); xEn.xRenderComponent.dixAnimations.Add(41, new Animation(41, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldBreak/Right"), new Vector2(31f, 44f), 4, 5, 49, 67, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(42, new Animation(42, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldBreak/Down"), new Vector2(44f, 46f), 4, 5, 64, 56, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(43, new Animation(43, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldBreak/Right"), new Vector2(18f, 44f), 4, 5, 49, 67, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 2f }), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[0])), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 3f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[43].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_36033_0 = xEn.xRenderComponent.dixAnimations; ushort arg_36033_1 = 50; ushort arg_3602E_0 = 50; byte arg_3602E_1 = 0; Texture2D arg_3602E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldPull/Up"); Vector2 arg_3602E_3 = new Vector2(17f, 46f); int arg_3602E_4 = 4; int arg_3602E_5 = 6; int arg_3602E_6 = 57; int arg_3602E_7 = 79; int arg_3602E_8 = 0; int arg_3602E_9 = 0; int arg_3602E_10 = 20; Animation.LoopSettings arg_3602E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3602E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3602E_13 = false; bool arg_3602E_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3602B_0 = array; int arg_3602B_1 = 0; AnimInsCriteria arg_36026_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_36021_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3602B_0[arg_3602B_1] = new AnimationInstruction(arg_36026_0, new AnimInsEvent(arg_36021_0, array6)); arg_36033_0.Add(arg_36033_1, new Animation(arg_3602E_0, arg_3602E_1, arg_3602E_2, arg_3602E_3, arg_3602E_4, arg_3602E_5, arg_3602E_6, arg_3602E_7, arg_3602E_8, arg_3602E_9, arg_3602E_10, arg_3602E_11, arg_3602E_12, arg_3602E_13, arg_3602E_14, array)); xEn.xRenderComponent.dixAnimations.Add(51, new Animation(51, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldPull/Right"), new Vector2(29f, 45f), 4, 6, 79, 55, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(52, new Animation(52, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldPull/Down"), new Vector2(40f, 50f), 4, 6, 58, 85, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(53, new Animation(53, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/ShieldPull/Right"), new Vector2(50f, 45f), 4, 6, 79, 55, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[50].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[51].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[52].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[53].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[53].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Up"), new Vector2(24f, 28f), 4, 1, 50, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Right"), new Vector2(13f, 29f), 4, 1, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Down"), new Vector2(26f, 28f), 4, 1, 53, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Right"), new Vector2(18f, 29f), 4, 1, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_36413_0 = xEn.xRenderComponent.dixAnimations; ushort arg_36413_1 = 40004; ushort arg_3640E_0 = 40004; byte arg_3640E_1 = 0; Texture2D arg_3640E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Up"); Vector2 arg_3640E_3 = new Vector2(24f, 28f); int arg_3640E_4 = 4; int arg_3640E_5 = 2; int arg_3640E_6 = 50; int arg_3640E_7 = 35; int arg_3640E_8 = 0; int arg_3640E_9 = 0; int arg_3640E_10 = 20; Animation.LoopSettings arg_3640E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3640E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3640E_13 = false; bool arg_3640E_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3640B_0 = array; int arg_3640B_1 = 0; AnimInsCriteria arg_36406_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_36401_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3640B_0[arg_3640B_1] = new AnimationInstruction(arg_36406_0, new AnimInsEvent(arg_36401_0, array6)); arg_36413_0.Add(arg_36413_1, new Animation(arg_3640E_0, arg_3640E_1, arg_3640E_2, arg_3640E_3, arg_3640E_4, arg_3640E_5, arg_3640E_6, arg_3640E_7, arg_3640E_8, arg_3640E_9, arg_3640E_10, arg_3640E_11, arg_3640E_12, arg_3640E_13, arg_3640E_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Right"), new Vector2(13f, 29f), 4, 2, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Down"), new Vector2(26f, 28f), 4, 2, 53, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Knight/Damage/Right"), new Vector2(18f, 29f), 4, 2, 31, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "WinterKnight"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 10000f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(30, 8, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.SeasonMage_Autumn) { xEn.enType = enType; xEn.xBehaviour = new AutumnMageAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = false; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xBaseStats.iKnockbackResistance = 0; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Idle/Up"), new Vector2(12f, 36f), 4, 12, 25, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Idle/Right"), new Vector2(13f, 36f), 4, 12, 26, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Idle/Down"), new Vector2(14f, 36f), 4, 12, 29, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Idle/Right"), new Vector2(13f, 36f), 4, 12, 26, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_36A13_0 = xEn.xRenderComponent.dixAnimations; ushort arg_36A13_1 = 12; ushort arg_36A0E_0 = 12; byte arg_36A0E_1 = 0; Texture2D arg_36A0E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Up"); Vector2 arg_36A0E_3 = new Vector2(14f, 32f); int arg_36A0E_4 = 4; int arg_36A0E_5 = 2; int arg_36A0E_6 = 29; int arg_36A0E_7 = 41; int arg_36A0E_8 = 0; int arg_36A0E_9 = 0; int arg_36A0E_10 = 20; Animation.LoopSettings arg_36A0E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_36A0E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_36A0E_13 = false; bool arg_36A0E_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_36A0B_0 = array; int arg_36A0B_1 = 1; AnimInsCriteria arg_36A06_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_36A01_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_36A0B_0[arg_36A0B_1] = new AnimationInstruction(arg_36A06_0, new AnimInsEvent(arg_36A01_0, array6)); arg_36A13_0.Add(arg_36A13_1, new Animation(arg_36A0E_0, arg_36A0E_1, arg_36A0E_2, arg_36A0E_3, arg_36A0E_4, arg_36A0E_5, arg_36A0E_6, arg_36A0E_7, arg_36A0E_8, arg_36A0E_9, arg_36A0E_10, arg_36A0E_11, arg_36A0E_12, arg_36A0E_13, arg_36A0E_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Right"), new Vector2(15f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Down"), new Vector2(15f, 32f), 4, 2, 31, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Right"), new Vector2(14f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Death/Down"), new Vector2(20f, 34f), 4, 11, 41, 44, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Up"), new Vector2(15f, 32f), 4, 1, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Right"), new Vector2(15f, 32f), 4, 1, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Down"), new Vector2(15f, 32f), 4, 1, 31, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Right"), new Vector2(14f, 32f), 4, 1, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_36EC9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_36EC9_1 = 40004; ushort arg_36EC4_0 = 40004; byte arg_36EC4_1 = 0; Texture2D arg_36EC4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Up"); Vector2 arg_36EC4_3 = new Vector2(15f, 32f); int arg_36EC4_4 = 4; int arg_36EC4_5 = 2; int arg_36EC4_6 = 29; int arg_36EC4_7 = 41; int arg_36EC4_8 = 0; int arg_36EC4_9 = 0; int arg_36EC4_10 = 20; Animation.LoopSettings arg_36EC4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_36EC4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_36EC4_13 = false; bool arg_36EC4_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_36EC1_0 = array; int arg_36EC1_1 = 0; AnimInsCriteria arg_36EBC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_36EB7_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_36EC1_0[arg_36EC1_1] = new AnimationInstruction(arg_36EBC_0, new AnimInsEvent(arg_36EB7_0, array6)); arg_36EC9_0.Add(arg_36EC9_1, new Animation(arg_36EC4_0, arg_36EC4_1, arg_36EC4_2, arg_36EC4_3, arg_36EC4_4, arg_36EC4_5, arg_36EC4_6, arg_36EC4_7, arg_36EC4_8, arg_36EC4_9, arg_36EC4_10, arg_36EC4_11, arg_36EC4_12, arg_36EC4_13, arg_36EC4_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Right"), new Vector2(15f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Down"), new Vector2(15f, 32f), 4, 2, 31, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Damage/Right"), new Vector2(14f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "SummerKnight"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.AutumnMageDeath; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 10000f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(30, 8, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.SeasonMage_Winter) { xEn.enType = enType; xEn.xBehaviour = new WinterMageAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = false; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xBaseStats.iKnockbackResistance = 0; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Idle/Up"), new Vector2(12f, 36f), 4, 12, 25, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Idle/Right"), new Vector2(13f, 36f), 4, 12, 26, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Idle/Down"), new Vector2(14f, 36f), 4, 12, 29, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Idle/Right"), new Vector2(13f, 36f), 4, 12, 26, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_37497_0 = xEn.xRenderComponent.dixAnimations; ushort arg_37497_1 = 12; ushort arg_37492_0 = 12; byte arg_37492_1 = 0; Texture2D arg_37492_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Up"); Vector2 arg_37492_3 = new Vector2(14f, 32f); int arg_37492_4 = 4; int arg_37492_5 = 2; int arg_37492_6 = 29; int arg_37492_7 = 41; int arg_37492_8 = 0; int arg_37492_9 = 0; int arg_37492_10 = 20; Animation.LoopSettings arg_37492_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_37492_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_37492_13 = false; bool arg_37492_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_3748F_0 = array; int arg_3748F_1 = 1; AnimInsCriteria arg_3748A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_37485_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_3748F_0[arg_3748F_1] = new AnimationInstruction(arg_3748A_0, new AnimInsEvent(arg_37485_0, array6)); arg_37497_0.Add(arg_37497_1, new Animation(arg_37492_0, arg_37492_1, arg_37492_2, arg_37492_3, arg_37492_4, arg_37492_5, arg_37492_6, arg_37492_7, arg_37492_8, arg_37492_9, arg_37492_10, arg_37492_11, arg_37492_12, arg_37492_13, arg_37492_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Right"), new Vector2(15f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Down"), new Vector2(15f, 32f), 4, 2, 31, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Right"), new Vector2(14f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Death/Down"), new Vector2(20f, 34f), 4, 11, 41, 44, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Up"), new Vector2(15f, 32f), 4, 1, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Right"), new Vector2(15f, 32f), 4, 1, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Down"), new Vector2(15f, 32f), 4, 1, 31, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Right"), new Vector2(14f, 32f), 4, 1, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_3794D_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3794D_1 = 40004; ushort arg_37948_0 = 40004; byte arg_37948_1 = 0; Texture2D arg_37948_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Up"); Vector2 arg_37948_3 = new Vector2(15f, 32f); int arg_37948_4 = 4; int arg_37948_5 = 2; int arg_37948_6 = 29; int arg_37948_7 = 41; int arg_37948_8 = 0; int arg_37948_9 = 0; int arg_37948_10 = 20; Animation.LoopSettings arg_37948_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_37948_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_37948_13 = false; bool arg_37948_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_37945_0 = array; int arg_37945_1 = 0; AnimInsCriteria arg_37940_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3793B_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_37945_0[arg_37945_1] = new AnimationInstruction(arg_37940_0, new AnimInsEvent(arg_3793B_0, array6)); arg_3794D_0.Add(arg_3794D_1, new Animation(arg_37948_0, arg_37948_1, arg_37948_2, arg_37948_3, arg_37948_4, arg_37948_5, arg_37948_6, arg_37948_7, arg_37948_8, arg_37948_9, arg_37948_10, arg_37948_11, arg_37948_12, arg_37948_13, arg_37948_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Right"), new Vector2(15f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Down"), new Vector2(15f, 32f), 4, 2, 31, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Damage/Right"), new Vector2(14f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "SummerKnight"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.WinterMageDeath; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 10000f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(30, 8, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.SeasonMage_Summer) { xEn.enType = enType; xEn.xBehaviour = new SummerMageAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = false; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xBaseStats.iKnockbackResistance = 0; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Idle/Up"), new Vector2(12f, 36f), 4, 12, 25, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Idle/Right"), new Vector2(13f, 36f), 4, 12, 26, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Idle/Down"), new Vector2(14f, 36f), 4, 12, 29, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Idle/Right"), new Vector2(13f, 36f), 4, 12, 26, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 12f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_37F1B_0 = xEn.xRenderComponent.dixAnimations; ushort arg_37F1B_1 = 12; ushort arg_37F16_0 = 12; byte arg_37F16_1 = 0; Texture2D arg_37F16_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Up"); Vector2 arg_37F16_3 = new Vector2(14f, 32f); int arg_37F16_4 = 4; int arg_37F16_5 = 2; int arg_37F16_6 = 29; int arg_37F16_7 = 41; int arg_37F16_8 = 0; int arg_37F16_9 = 0; int arg_37F16_10 = 20; Animation.LoopSettings arg_37F16_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_37F16_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_37F16_13 = false; bool arg_37F16_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_37F13_0 = array; int arg_37F13_1 = 1; AnimInsCriteria arg_37F0E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_37F09_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_37F13_0[arg_37F13_1] = new AnimationInstruction(arg_37F0E_0, new AnimInsEvent(arg_37F09_0, array6)); arg_37F1B_0.Add(arg_37F1B_1, new Animation(arg_37F16_0, arg_37F16_1, arg_37F16_2, arg_37F16_3, arg_37F16_4, arg_37F16_5, arg_37F16_6, arg_37F16_7, arg_37F16_8, arg_37F16_9, arg_37F16_10, arg_37F16_11, arg_37F16_12, arg_37F16_13, arg_37F16_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Right"), new Vector2(15f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Down"), new Vector2(15f, 32f), 4, 2, 31, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Right"), new Vector2(14f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Death/Down"), new Vector2(20f, 34f), 4, 11, 41, 44, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Up"), new Vector2(15f, 32f), 4, 1, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Right"), new Vector2(15f, 32f), 4, 1, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Down"), new Vector2(15f, 32f), 4, 1, 31, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Right"), new Vector2(14f, 32f), 4, 1, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_383D1_0 = xEn.xRenderComponent.dixAnimations; ushort arg_383D1_1 = 40004; ushort arg_383CC_0 = 40004; byte arg_383CC_1 = 0; Texture2D arg_383CC_2 = Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Up"); Vector2 arg_383CC_3 = new Vector2(15f, 32f); int arg_383CC_4 = 4; int arg_383CC_5 = 2; int arg_383CC_6 = 29; int arg_383CC_7 = 41; int arg_383CC_8 = 0; int arg_383CC_9 = 0; int arg_383CC_10 = 20; Animation.LoopSettings arg_383CC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_383CC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_383CC_13 = false; bool arg_383CC_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_383C9_0 = array; int arg_383C9_1 = 0; AnimInsCriteria arg_383C4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_383BF_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_383C9_0[arg_383C9_1] = new AnimationInstruction(arg_383C4_0, new AnimInsEvent(arg_383BF_0, array6)); arg_383D1_0.Add(arg_383D1_1, new Animation(arg_383CC_0, arg_383CC_1, arg_383CC_2, arg_383CC_3, arg_383CC_4, arg_383CC_5, arg_383CC_6, arg_383CC_7, arg_383CC_8, arg_383CC_9, arg_383CC_10, arg_383CC_11, arg_383CC_12, arg_383CC_13, arg_383CC_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Right"), new Vector2(15f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Down"), new Vector2(15f, 32f), 4, 2, 31, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Damage/Right"), new Vector2(14f, 32f), 4, 2, 29, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "SummerKnight"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.SummerMageDeath; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 10000f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(30, 8, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.LivingPuzzleBlock) { xEn.enType = enType; xEn.xBehaviour = new LivingPuzzleBlockAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = false; xEn.bAutoSwitchToHitAnimation = false; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; xEn.xBaseStats.iKnockbackResistance = 11; xEn.xBaseStats.iBaseATK = 50 + CAS.DifficultySetting * 20 + CAS.DifficultyModifier * 10; xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/Grow"), new Vector2(13f, 34f), 4, 1, 26, 43, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/Grow"), new Vector2(13f, 34f), 4, 18, 26, 43, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/Jump"), new Vector2(17f, 72f), 4, 1, 34, 81, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_3881C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3881C_1 = 3; ushort arg_38817_0 = 3; byte arg_38817_1 = 2; Texture2D arg_38817_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/Jump"); Vector2 arg_38817_3 = new Vector2(17f, 72f); int arg_38817_4 = 4; int arg_38817_5 = 4; int arg_38817_6 = 34; int arg_38817_7 = 81; int arg_38817_8 = 0; int arg_38817_9 = 0; int arg_38817_10 = 20; Animation.LoopSettings arg_38817_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_38817_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_38817_13 = true; bool arg_38817_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_38814_0 = array; int arg_38814_1 = 0; AnimInsCriteria arg_3880F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3880A_0 = AnimInsEvent.EventType.CallBackAnimation; float[] array6 = new float[2]; arg_38814_0[arg_38814_1] = new AnimationInstruction(arg_3880F_0, new AnimInsEvent(arg_3880A_0, array6)); arg_3881C_0.Add(arg_3881C_1, new Animation(arg_38817_0, arg_38817_1, arg_38817_2, arg_38817_3, arg_38817_4, arg_38817_5, arg_38817_6, arg_38817_7, arg_38817_8, arg_38817_9, arg_38817_10, arg_38817_11, arg_38817_12, arg_38817_13, arg_38817_14, array)); xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/Jump"), new Vector2(17f, 72f), 4, 6, 34, 81, 136, 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.CallBackAnimation, new float[] { 0f, 1f })) })); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/Jump"), new Vector2(17f, 72f), 3, 6, 34, 81, 340, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), 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_389DD_0 = xEn.xRenderComponent.dixAnimations; ushort arg_389DD_1 = 6; ushort arg_389D8_0 = 6; byte arg_389D8_1 = 2; Texture2D arg_389D8_2 = Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/SuperJump"); Vector2 arg_389D8_3 = new Vector2(44f, 87f); int arg_389D8_4 = 4; int arg_389D8_5 = 12; int arg_389D8_6 = 90; int arg_389D8_7 = 96; int arg_389D8_8 = 0; int arg_389D8_9 = 0; int arg_389D8_10 = 9; Animation.LoopSettings arg_389D8_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_389D8_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_389D8_13 = true; bool arg_389D8_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_389D5_0 = array; int arg_389D5_1 = 0; AnimInsCriteria arg_389D0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_389CB_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[2]; array6[0] = 1f; arg_389D5_0[arg_389D5_1] = new AnimationInstruction(arg_389D0_0, new AnimInsEvent(arg_389CB_0, array6)); arg_389DD_0.Add(arg_389DD_1, new Animation(arg_389D8_0, arg_389D8_1, arg_389D8_2, arg_389D8_3, arg_389D8_4, arg_389D8_5, arg_389D8_6, arg_389D8_7, arg_389D8_8, arg_389D8_9, arg_389D8_10, arg_389D8_11, arg_389D8_12, arg_389D8_13, arg_389D8_14, array)); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/SuperJump"), new Vector2(44f, 87f), 4, 18, 90, 96, 0, 0, 9, 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[] { 13f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f, 1f })) })); xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/SuperJump"), new Vector2(44f, 87f), 4, 27, 90, 96, 0, 0, 9, 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[] { 19f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 21f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f, 2f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/Shrink"), new Vector2(13f, 34f), 4, 14, 26, 43, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 2, Content.Load<Texture2D>(MONSTER_PATH + "Special/Block/Fall"), new Vector2(11f, 30f), 4, 6, 22, 30, 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[] { 11f })) })); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 2, RenderMaster.txNullTex, new Vector2(11f, 23f), 4, 6, 22, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "LivingPuzzleBlock"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.liAnimationsWithAttackphase.Add(8); xEn.liAnimationsWithAttackphase.Add(9); xEn.liAnimationsWithAttackphase.Add(10); xEn.liAnimationsWithAttackphase.Add(11); xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 9, 0f, Vector2.Zero, xEn.xTransform, 10000f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(20, 10, 0f, Vector2.Zero, xEn.xTransform, 19f + (float)new Random().NextDouble(), xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.MtBloom_CrystalBeetle) { xEn.enType = enType; xEn.xBehaviour = new CrystalBeetleAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 12; xEn.aiHitAnimation[1] = 13; xEn.aiHitAnimation[2] = 14; xEn.aiHitAnimation[3] = 15; xEn.iBonusMoney = 22; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.bAutoSwitchToHitAnimation = true; xEn.xBaseStats.enSize = BaseStats.BodySize.Medium; int iBlinkDelay = 20; Dictionary<ushort, Animation> arg_38F55_0 = xEn.xRenderComponent.dixAnimations; ushort arg_38F55_1 = 0; ushort arg_38F50_0 = 0; byte arg_38F50_1 = 0; Texture2D arg_38F50_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Up"); Vector2 arg_38F50_3 = new Vector2(17f, 26f); int arg_38F50_4 = 4; int arg_38F50_5 = 28; int arg_38F50_6 = 34; int arg_38F50_7 = 37; int arg_38F50_8 = 0; int arg_38F50_9 = 0; int arg_38F50_10 = 30; Animation.LoopSettings arg_38F50_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_38F50_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_38F50_13 = true; bool arg_38F50_14 = true; AnimationInstruction[] array = new AnimationInstruction[5]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 15f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 22f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })); AnimationInstruction[] arg_38F4D_0 = array; int arg_38F4D_1 = 4; AnimInsCriteria arg_38F48_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_38F43_0 = AnimInsEvent.EventType.PlayAnimation; float[] array6 = new float[1]; arg_38F4D_0[arg_38F4D_1] = new AnimationInstruction(arg_38F48_0, new AnimInsEvent(arg_38F43_0, array6)); arg_38F55_0.Add(arg_38F55_1, new Animation(arg_38F50_0, arg_38F50_1, arg_38F50_2, arg_38F50_3, arg_38F50_4, arg_38F50_5, arg_38F50_6, arg_38F50_7, arg_38F50_8, arg_38F50_9, arg_38F50_10, arg_38F50_11, arg_38F50_12, arg_38F50_13, arg_38F50_14, array)); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Right"), new Vector2(19f, 30f), 4, 28, 38, 41, 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.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 15f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 22f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Down"), new Vector2(17f, 29f), 4, 28, 35, 40, 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.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 15f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 22f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Right"), new Vector2(19f, 30f), 4, 28, 38, 41, 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.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 8f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 15f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 22f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { (float)iBlinkDelay })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Move/Up"), new Vector2(17f, 26f), 4, 6, 34, 37, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Move/Right"), new Vector2(19f, 31f), 4, 6, 38, 42, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Move/Down"), new Vector2(17f, 30f), 4, 6, 35, 41, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Move/Right"), new Vector2(19f, 31f), 4, 6, 38, 42, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_3959C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3959C_1 = 12; ushort arg_39597_0 = 12; byte arg_39597_1 = 0; Texture2D arg_39597_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Up"); Vector2 arg_39597_3 = new Vector2(17f, 26f); int arg_39597_4 = 4; int arg_39597_5 = 2; int arg_39597_6 = 34; int arg_39597_7 = 37; int arg_39597_8 = 34; int arg_39597_9 = 0; int arg_39597_10 = 30; Animation.LoopSettings arg_39597_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_39597_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_39597_13 = false; bool arg_39597_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_39594_0 = array; int arg_39594_1 = 1; AnimInsCriteria arg_3958F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3958A_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_39594_0[arg_39594_1] = new AnimationInstruction(arg_3958F_0, new AnimInsEvent(arg_3958A_0, array6)); arg_3959C_0.Add(arg_3959C_1, new Animation(arg_39597_0, arg_39597_1, arg_39597_2, arg_39597_3, arg_39597_4, arg_39597_5, arg_39597_6, arg_39597_7, arg_39597_8, arg_39597_9, arg_39597_10, arg_39597_11, arg_39597_12, arg_39597_13, arg_39597_14, array)); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Right"), new Vector2(19f, 30f), 4, 2, 38, 41, 38, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Down"), new Vector2(17f, 29f), 4, 2, 35, 40, 35, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Right"), new Vector2(19f, 30f), 4, 2, 38, 41, 38, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Up"), new Vector2(17f, 26f), 4, 2, 34, 37, 34, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Right"), new Vector2(19f, 30f), 4, 2, 38, 41, 38, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Down"), new Vector2(17f, 29f), 4, 2, 35, 40, 35, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Right"), new Vector2(19f, 30f), 4, 2, 38, 41, 38, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_399D8_0 = xEn.xRenderComponent.dixAnimations; ushort arg_399D8_1 = 40004; ushort arg_399D3_0 = 40004; byte arg_399D3_1 = 0; Texture2D arg_399D3_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Up"); Vector2 arg_399D3_3 = new Vector2(17f, 26f); int arg_399D3_4 = 4; int arg_399D3_5 = 2; int arg_399D3_6 = 34; int arg_399D3_7 = 37; int arg_399D3_8 = 102; int arg_399D3_9 = 0; int arg_399D3_10 = 30; Animation.LoopSettings arg_399D3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_399D3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_399D3_13 = false; bool arg_399D3_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_399D0_0 = array; int arg_399D0_1 = 0; AnimInsCriteria arg_399CB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_399C6_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_399D0_0[arg_399D0_1] = new AnimationInstruction(arg_399CB_0, new AnimInsEvent(arg_399C6_0, array6)); arg_399D8_0.Add(arg_399D8_1, new Animation(arg_399D3_0, arg_399D3_1, arg_399D3_2, arg_399D3_3, arg_399D3_4, arg_399D3_5, arg_399D3_6, arg_399D3_7, arg_399D3_8, arg_399D3_9, arg_399D3_10, arg_399D3_11, arg_399D3_12, arg_399D3_13, arg_399D3_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Right"), new Vector2(19f, 30f), 4, 2, 38, 41, 114, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Down"), new Vector2(17f, 29f), 4, 2, 35, 40, 105, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Crystal Beetle/Idle/Right"), new Vector2(19f, 30f), 4, 2, 38, 41, 114, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40004].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[40005].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[40006].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[40007].bReversePlayback = true; xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "CrystalBeetle"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.liAnimationsWithAttackphase.Add(16); xEn.liAnimationsWithAttackphase.Add(17); xEn.liAnimationsWithAttackphase.Add(18); xEn.liAnimationsWithAttackphase.Add(19); xEn.xCollisionComponent.xMovementCollider = new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 100f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(26, 14, 0f, Vector2.Zero, xEn.xTransform, 19f + (float)new Random().NextDouble(), xEn), Collider.ColliderLayers.Enemies); } else if (enType == EnemyCodex.EnemyTypes.MtBloom_Shroom) { xEn.xBaseStats.fMovementSpeed = 0.5f; xEn.enType = enType; xEn.xBaseStats.bCanBeKnockedUp = true; xEn.xBehaviour = new ShroomAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 8; xEn.aiHitAnimation[1] = 9; xEn.aiHitAnimation[2] = 10; xEn.aiHitAnimation[3] = 11; xEn.xBaseStats.enSize = BaseStats.BodySize.Small; xEn.bDontAutoKillAt0HP = true; Dictionary<ushort, Animation> arg_39DFA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_39DFA_1 = 0; ushort arg_39DF5_0 = 0; byte arg_39DF5_1 = 0; Texture2D arg_39DF5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Shroom/Move/Up"); Vector2 arg_39DF5_3 = new Vector2(14f, 29f); int arg_39DF5_4 = 5; int arg_39DF5_5 = 9; int arg_39DF5_6 = 28; int arg_39DF5_7 = 33; int arg_39DF5_8 = 0; int arg_39DF5_9 = 0; int arg_39DF5_10 = 20; Animation.LoopSettings arg_39DF5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_39DF5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_39DF5_13 = true; bool arg_39DF5_14 = true; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_39DCC_0 = array; int arg_39DCC_1 = 0; AnimInsCriteria arg_39DC7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_39DC2_0 = AnimInsEvent.EventType.PlaySound; string arg_39DC2_1 = "Pumpkin_Jump"; float[] array6 = new float[1]; arg_39DCC_0[arg_39DCC_1] = new AnimationInstruction(arg_39DC7_0, new AnimInsEvent(arg_39DC2_0, arg_39DC2_1, array6)); AnimationInstruction[] arg_39DF2_0 = array; int arg_39DF2_1 = 1; AnimInsCriteria arg_39DED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_39DE8_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_39DF2_0[arg_39DF2_1] = new AnimationInstruction(arg_39DED_0, new AnimInsEvent(arg_39DE8_0, array6)); arg_39DFA_0.Add(arg_39DFA_1, new Animation(arg_39DF5_0, arg_39DF5_1, arg_39DF5_2, arg_39DF5_3, arg_39DF5_4, arg_39DF5_5, arg_39DF5_6, arg_39DF5_7, arg_39DF5_8, arg_39DF5_9, arg_39DF5_10, arg_39DF5_11, arg_39DF5_12, arg_39DF5_13, arg_39DF5_14, array)); Dictionary<ushort, Animation> arg_39EA9_0 = xEn.xRenderComponent.dixAnimations; ushort arg_39EA9_1 = 1; ushort arg_39EA4_0 = 1; byte arg_39EA4_1 = 1; Texture2D arg_39EA4_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Shroom/Move/Right"); Vector2 arg_39EA4_3 = new Vector2(14f, 29f); int arg_39EA4_4 = 5; int arg_39EA4_5 = 9; int arg_39EA4_6 = 28; int arg_39EA4_7 = 33; int arg_39EA4_8 = 0; int arg_39EA4_9 = 0; int arg_39EA4_10 = 20; Animation.LoopSettings arg_39EA4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_39EA4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_39EA4_13 = true; bool arg_39EA4_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_39E7B_0 = array; int arg_39E7B_1 = 0; AnimInsCriteria arg_39E76_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_39E71_0 = AnimInsEvent.EventType.PlaySound; string arg_39E71_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_39E7B_0[arg_39E7B_1] = new AnimationInstruction(arg_39E76_0, new AnimInsEvent(arg_39E71_0, arg_39E71_1, array6)); AnimationInstruction[] arg_39EA1_0 = array; int arg_39EA1_1 = 1; AnimInsCriteria arg_39E9C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_39E97_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_39EA1_0[arg_39EA1_1] = new AnimationInstruction(arg_39E9C_0, new AnimInsEvent(arg_39E97_0, array6)); arg_39EA9_0.Add(arg_39EA9_1, new Animation(arg_39EA4_0, arg_39EA4_1, arg_39EA4_2, arg_39EA4_3, arg_39EA4_4, arg_39EA4_5, arg_39EA4_6, arg_39EA4_7, arg_39EA4_8, arg_39EA4_9, arg_39EA4_10, arg_39EA4_11, arg_39EA4_12, arg_39EA4_13, arg_39EA4_14, array)); Dictionary<ushort, Animation> arg_39F58_0 = xEn.xRenderComponent.dixAnimations; ushort arg_39F58_1 = 2; ushort arg_39F53_0 = 2; byte arg_39F53_1 = 2; Texture2D arg_39F53_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Shroom/Move/Down"); Vector2 arg_39F53_3 = new Vector2(14f, 29f); int arg_39F53_4 = 5; int arg_39F53_5 = 9; int arg_39F53_6 = 28; int arg_39F53_7 = 33; int arg_39F53_8 = 0; int arg_39F53_9 = 0; int arg_39F53_10 = 20; Animation.LoopSettings arg_39F53_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_39F53_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_39F53_13 = true; bool arg_39F53_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_39F2A_0 = array; int arg_39F2A_1 = 0; AnimInsCriteria arg_39F25_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_39F20_0 = AnimInsEvent.EventType.PlaySound; string arg_39F20_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_39F2A_0[arg_39F2A_1] = new AnimationInstruction(arg_39F25_0, new AnimInsEvent(arg_39F20_0, arg_39F20_1, array6)); AnimationInstruction[] arg_39F50_0 = array; int arg_39F50_1 = 1; AnimInsCriteria arg_39F4B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_39F46_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_39F50_0[arg_39F50_1] = new AnimationInstruction(arg_39F4B_0, new AnimInsEvent(arg_39F46_0, array6)); arg_39F58_0.Add(arg_39F58_1, new Animation(arg_39F53_0, arg_39F53_1, arg_39F53_2, arg_39F53_3, arg_39F53_4, arg_39F53_5, arg_39F53_6, arg_39F53_7, arg_39F53_8, arg_39F53_9, arg_39F53_10, arg_39F53_11, arg_39F53_12, arg_39F53_13, arg_39F53_14, array)); Dictionary<ushort, Animation> arg_3A007_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3A007_1 = 3; ushort arg_3A002_0 = 3; byte arg_3A002_1 = 3; Texture2D arg_3A002_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Shroom/Move/Right"); Vector2 arg_3A002_3 = new Vector2(13f, 29f); int arg_3A002_4 = 5; int arg_3A002_5 = 9; int arg_3A002_6 = 28; int arg_3A002_7 = 33; int arg_3A002_8 = 0; int arg_3A002_9 = 0; int arg_3A002_10 = 20; Animation.LoopSettings arg_3A002_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3A002_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3A002_13 = true; bool arg_3A002_14 = true; array = new AnimationInstruction[2]; AnimationInstruction[] arg_39FD9_0 = array; int arg_39FD9_1 = 0; AnimInsCriteria arg_39FD4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_39FCF_0 = AnimInsEvent.EventType.PlaySound; string arg_39FCF_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_39FD9_0[arg_39FD9_1] = new AnimationInstruction(arg_39FD4_0, new AnimInsEvent(arg_39FCF_0, arg_39FCF_1, array6)); AnimationInstruction[] arg_39FFF_0 = array; int arg_39FFF_1 = 1; AnimInsCriteria arg_39FFA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_39FF5_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_39FFF_0[arg_39FFF_1] = new AnimationInstruction(arg_39FFA_0, new AnimInsEvent(arg_39FF5_0, array6)); arg_3A007_0.Add(arg_3A007_1, new Animation(arg_3A002_0, arg_3A002_1, arg_3A002_2, arg_3A002_3, arg_3A002_4, arg_3A002_5, arg_3A002_6, arg_3A002_7, arg_3A002_8, arg_3A002_9, arg_3A002_10, arg_3A002_11, arg_3A002_12, arg_3A002_13, arg_3A002_14, array)); xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_3A104_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3A104_1 = 4; ushort arg_3A0FF_0 = 4; byte arg_3A0FF_1 = 0; Texture2D arg_3A0FF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Shroom/Attack/Up"); Vector2 arg_3A0FF_3 = new Vector2(15f, 31f); int arg_3A0FF_4 = 4; int arg_3A0FF_5 = 8; int arg_3A0FF_6 = 30; int arg_3A0FF_7 = 36; int arg_3A0FF_8 = 0; int arg_3A0FF_9 = 0; int arg_3A0FF_10 = 20; Animation.LoopSettings arg_3A0FF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3A0FF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3A0FF_13 = true; bool arg_3A0FF_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_3A09E_0 = array; int arg_3A09E_1 = 0; AnimInsCriteria arg_3A099_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_3A094_0 = AnimInsEvent.EventType.PlaySound; string arg_3A094_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_3A09E_0[arg_3A09E_1] = new AnimationInstruction(arg_3A099_0, new AnimInsEvent(arg_3A094_0, arg_3A094_1, array6)); AnimationInstruction[] arg_3A0D6_0 = array; int arg_3A0D6_1 = 1; AnimInsCriteria arg_3A0D1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_3A0CC_0 = AnimInsEvent.EventType.PlaySound; string arg_3A0CC_1 = "Pumpkin_Attack"; array6 = new float[1]; arg_3A0D6_0[arg_3A0D6_1] = new AnimationInstruction(arg_3A0D1_0, new AnimInsEvent(arg_3A0CC_0, arg_3A0CC_1, array6)); AnimationInstruction[] arg_3A0FC_0 = array; int arg_3A0FC_1 = 2; AnimInsCriteria arg_3A0F7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3A0F2_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_3A0FC_0[arg_3A0FC_1] = new AnimationInstruction(arg_3A0F7_0, new AnimInsEvent(arg_3A0F2_0, array6)); arg_3A104_0.Add(arg_3A104_1, new Animation(arg_3A0FF_0, arg_3A0FF_1, arg_3A0FF_2, arg_3A0FF_3, arg_3A0FF_4, arg_3A0FF_5, arg_3A0FF_6, arg_3A0FF_7, arg_3A0FF_8, arg_3A0FF_9, arg_3A0FF_10, arg_3A0FF_11, arg_3A0FF_12, arg_3A0FF_13, arg_3A0FF_14, array)); Dictionary<ushort, Animation> arg_3A1EA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3A1EA_1 = 5; ushort arg_3A1E5_0 = 5; byte arg_3A1E5_1 = 1; Texture2D arg_3A1E5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Shroom/Attack/Right"); Vector2 arg_3A1E5_3 = new Vector2(15f, 31f); int arg_3A1E5_4 = 4; int arg_3A1E5_5 = 8; int arg_3A1E5_6 = 30; int arg_3A1E5_7 = 36; int arg_3A1E5_8 = 0; int arg_3A1E5_9 = 0; int arg_3A1E5_10 = 20; Animation.LoopSettings arg_3A1E5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3A1E5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3A1E5_13 = true; bool arg_3A1E5_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_3A184_0 = array; int arg_3A184_1 = 0; AnimInsCriteria arg_3A17F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_3A17A_0 = AnimInsEvent.EventType.PlaySound; string arg_3A17A_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_3A184_0[arg_3A184_1] = new AnimationInstruction(arg_3A17F_0, new AnimInsEvent(arg_3A17A_0, arg_3A17A_1, array6)); AnimationInstruction[] arg_3A1BC_0 = array; int arg_3A1BC_1 = 1; AnimInsCriteria arg_3A1B7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_3A1B2_0 = AnimInsEvent.EventType.PlaySound; string arg_3A1B2_1 = "Pumpkin_Attack"; array6 = new float[1]; arg_3A1BC_0[arg_3A1BC_1] = new AnimationInstruction(arg_3A1B7_0, new AnimInsEvent(arg_3A1B2_0, arg_3A1B2_1, array6)); AnimationInstruction[] arg_3A1E2_0 = array; int arg_3A1E2_1 = 2; AnimInsCriteria arg_3A1DD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3A1D8_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_3A1E2_0[arg_3A1E2_1] = new AnimationInstruction(arg_3A1DD_0, new AnimInsEvent(arg_3A1D8_0, array6)); arg_3A1EA_0.Add(arg_3A1EA_1, new Animation(arg_3A1E5_0, arg_3A1E5_1, arg_3A1E5_2, arg_3A1E5_3, arg_3A1E5_4, arg_3A1E5_5, arg_3A1E5_6, arg_3A1E5_7, arg_3A1E5_8, arg_3A1E5_9, arg_3A1E5_10, arg_3A1E5_11, arg_3A1E5_12, arg_3A1E5_13, arg_3A1E5_14, array)); Dictionary<ushort, Animation> arg_3A2D0_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3A2D0_1 = 6; ushort arg_3A2CB_0 = 6; byte arg_3A2CB_1 = 2; Texture2D arg_3A2CB_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Shroom/Attack/Down"); Vector2 arg_3A2CB_3 = new Vector2(15f, 31f); int arg_3A2CB_4 = 4; int arg_3A2CB_5 = 8; int arg_3A2CB_6 = 30; int arg_3A2CB_7 = 36; int arg_3A2CB_8 = 0; int arg_3A2CB_9 = 0; int arg_3A2CB_10 = 20; Animation.LoopSettings arg_3A2CB_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3A2CB_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3A2CB_13 = true; bool arg_3A2CB_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_3A26A_0 = array; int arg_3A26A_1 = 0; AnimInsCriteria arg_3A265_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_3A260_0 = AnimInsEvent.EventType.PlaySound; string arg_3A260_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_3A26A_0[arg_3A26A_1] = new AnimationInstruction(arg_3A265_0, new AnimInsEvent(arg_3A260_0, arg_3A260_1, array6)); AnimationInstruction[] arg_3A2A2_0 = array; int arg_3A2A2_1 = 1; AnimInsCriteria arg_3A29D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_3A298_0 = AnimInsEvent.EventType.PlaySound; string arg_3A298_1 = "Pumpkin_Attack"; array6 = new float[1]; arg_3A2A2_0[arg_3A2A2_1] = new AnimationInstruction(arg_3A29D_0, new AnimInsEvent(arg_3A298_0, arg_3A298_1, array6)); AnimationInstruction[] arg_3A2C8_0 = array; int arg_3A2C8_1 = 2; AnimInsCriteria arg_3A2C3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3A2BE_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_3A2C8_0[arg_3A2C8_1] = new AnimationInstruction(arg_3A2C3_0, new AnimInsEvent(arg_3A2BE_0, array6)); arg_3A2D0_0.Add(arg_3A2D0_1, new Animation(arg_3A2CB_0, arg_3A2CB_1, arg_3A2CB_2, arg_3A2CB_3, arg_3A2CB_4, arg_3A2CB_5, arg_3A2CB_6, arg_3A2CB_7, arg_3A2CB_8, arg_3A2CB_9, arg_3A2CB_10, arg_3A2CB_11, arg_3A2CB_12, arg_3A2CB_13, arg_3A2CB_14, array)); Dictionary<ushort, Animation> arg_3A3B6_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3A3B6_1 = 7; ushort arg_3A3B1_0 = 7; byte arg_3A3B1_1 = 3; Texture2D arg_3A3B1_2 = Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Shroom/Attack/Right"); Vector2 arg_3A3B1_3 = new Vector2(15f, 31f); int arg_3A3B1_4 = 4; int arg_3A3B1_5 = 8; int arg_3A3B1_6 = 30; int arg_3A3B1_7 = 36; int arg_3A3B1_8 = 0; int arg_3A3B1_9 = 0; int arg_3A3B1_10 = 20; Animation.LoopSettings arg_3A3B1_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3A3B1_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3A3B1_13 = true; bool arg_3A3B1_14 = true; array = new AnimationInstruction[3]; AnimationInstruction[] arg_3A350_0 = array; int arg_3A350_1 = 0; AnimInsCriteria arg_3A34B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_3A346_0 = AnimInsEvent.EventType.PlaySound; string arg_3A346_1 = "Pumpkin_Jump"; array6 = new float[1]; arg_3A350_0[arg_3A350_1] = new AnimationInstruction(arg_3A34B_0, new AnimInsEvent(arg_3A346_0, arg_3A346_1, array6)); AnimationInstruction[] arg_3A388_0 = array; int arg_3A388_1 = 1; AnimInsCriteria arg_3A383_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_3A37E_0 = AnimInsEvent.EventType.PlaySound; string arg_3A37E_1 = "Pumpkin_Attack"; array6 = new float[1]; arg_3A388_0[arg_3A388_1] = new AnimationInstruction(arg_3A383_0, new AnimInsEvent(arg_3A37E_0, arg_3A37E_1, array6)); AnimationInstruction[] arg_3A3AE_0 = array; int arg_3A3AE_1 = 2; AnimInsCriteria arg_3A3A9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3A3A4_0 = AnimInsEvent.EventType.CallBackAnimation; array6 = new float[1]; arg_3A3AE_0[arg_3A3AE_1] = new AnimationInstruction(arg_3A3A9_0, new AnimInsEvent(arg_3A3A4_0, array6)); arg_3A3B6_0.Add(arg_3A3B6_1, new Animation(arg_3A3B1_0, arg_3A3B1_1, arg_3A3B1_2, arg_3A3B1_3, arg_3A3B1_4, arg_3A3B1_5, arg_3A3B1_6, arg_3A3B1_7, arg_3A3B1_8, arg_3A3B1_9, arg_3A3B1_10, arg_3A3B1_11, arg_3A3B1_12, arg_3A3B1_13, arg_3A3B1_14, array)); xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_3A47E_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3A47E_1 = 8; ushort arg_3A479_0 = 8; byte arg_3A479_1 = 0; Texture2D arg_3A479_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Up"); Vector2 arg_3A479_3 = new Vector2(12f, 20f); int arg_3A479_4 = 4; int arg_3A479_5 = 2; int arg_3A479_6 = 25; int arg_3A479_7 = 23; int arg_3A479_8 = 0; int arg_3A479_9 = 0; int arg_3A479_10 = 14; Animation.LoopSettings arg_3A479_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3A479_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3A479_13 = false; bool arg_3A479_14 = false; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 20f })); AnimationInstruction[] arg_3A476_0 = array; int arg_3A476_1 = 1; AnimInsCriteria arg_3A471_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3A46C_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3A476_0[arg_3A476_1] = new AnimationInstruction(arg_3A471_0, new AnimInsEvent(arg_3A46C_0, array6)); arg_3A47E_0.Add(arg_3A47E_1, new Animation(arg_3A479_0, arg_3A479_1, arg_3A479_2, arg_3A479_3, arg_3A479_4, arg_3A479_5, arg_3A479_6, arg_3A479_7, arg_3A479_8, arg_3A479_9, arg_3A479_10, arg_3A479_11, arg_3A479_12, arg_3A479_13, arg_3A479_14, array)); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 2, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, 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[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Down"), new Vector2(12f, 22f), 4, 2, 25, 25, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, 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[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 2, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, 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 })) })); xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(12, new Animation(12, 0, Content.Load<Texture2D>(MONSTER_PATH + "Mt Bloom/Shroom/Death/Down"), new Vector2(25f, 32f), 4, 15, 50, 38, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.KillEnemy, new float[0])) })); xEn.xRenderComponent.dixAnimations.Add(40000, new Animation(40000, 0, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Up"), new Vector2(12f, 20f), 4, 1, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40001, new Animation(40001, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40002, new Animation(40002, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Down"), new Vector2(12f, 22f), 4, 1, 25, 25, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(40003, new Animation(40003, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[40003].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_3A957_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3A957_1 = 40004; ushort arg_3A952_0 = 40004; byte arg_3A952_1 = 0; Texture2D arg_3A952_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Up"); Vector2 arg_3A952_3 = new Vector2(12f, 20f); int arg_3A952_4 = 4; int arg_3A952_5 = 1; int arg_3A952_6 = 25; int arg_3A952_7 = 23; int arg_3A952_8 = 25; int arg_3A952_9 = 0; int arg_3A952_10 = 14; Animation.LoopSettings arg_3A952_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3A952_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3A952_13 = false; bool arg_3A952_14 = false; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3A94F_0 = array; int arg_3A94F_1 = 0; AnimInsCriteria arg_3A94A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3A945_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3A94F_0[arg_3A94F_1] = new AnimationInstruction(arg_3A94A_0, new AnimInsEvent(arg_3A945_0, array6)); arg_3A957_0.Add(arg_3A957_1, new Animation(arg_3A952_0, arg_3A952_1, arg_3A952_2, arg_3A952_3, arg_3A952_4, arg_3A952_5, arg_3A952_6, arg_3A952_7, arg_3A952_8, arg_3A952_9, arg_3A952_10, arg_3A952_11, arg_3A952_12, arg_3A952_13, arg_3A952_14, array)); xEn.xRenderComponent.dixAnimations.Add(40005, new Animation(40005, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 25, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations.Add(40006, new Animation(40006, 2, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Down"), new Vector2(12f, 22f), 4, 1, 25, 25, 25, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(40007, new Animation(40007, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Damage/Right"), new Vector2(12f, 21f), 4, 1, 25, 23, 25, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 3f })) })); xEn.xRenderComponent.dixAnimations[40007].enSpriteEffect = SpriteEffects.FlipHorizontally; Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Shroom"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.ShroomDeath; xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 9f + (float)new Random().NextDouble(), xEn); xEn.xCollisionComponent.xMovementCollider.bIsLarge = false; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } else if (enType >= EnemyCodex.EnemyTypes.SeasonHydra_Summer && enType <= EnemyCodex.EnemyTypes.SeasonHydra_Autumn) { xEn = new Boss(); xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; Boss fnus13 = xEn as Boss; fnus13.xHPRenderComponent = new MiniBossHPRenderComponent(xEn, Content, 160); xEn.bDropsAnyLoot = false; xEn.xBaseStats.fMovementSpeed = 1f + 0.2f * (float)GameSessionData.iBaseDifficulty; xEn.xBaseStats.bAllowKnockback = false; xEn.bAutoSwitchToHitAnimation = false; xEn.bDontAutoKillAt0HP = true; xEn.xBaseStats.bFreezeImmunity = true; xEn.xBaseStats.bSlowImmunity = true; xEn.enType = enType; xEn.xBehaviour = new SeasonHydraAI(xEn); xEn.xRenderComponent.xOwnerObject = xEn; xEn.aiHitAnimation[0] = 4; xEn.aiHitAnimation[1] = 4; xEn.aiHitAnimation[2] = 5; xEn.aiHitAnimation[3] = 5; xEn.xBaseStats.enSize = BaseStats.BodySize.Large; SeasonHydraAI mos3 = xEn.xBehaviour as SeasonHydraAI; string sSeason = "Summer"; if (enType == EnemyCodex.EnemyTypes.SeasonHydra_Autumn) { sSeason = "Fall"; } else if (enType == EnemyCodex.EnemyTypes.SeasonHydra_Winter) { sSeason = "Winter"; } AnimationInstruction[] array; float[] array6; if (sSeason == "Summer") { xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(60f, 45f), 4, 1, 119, 70, 357, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(60f, 45f), 4, 1, 119, 70, 357, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_3ADE4_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3ADE4_1 = 2; ushort arg_3ADDF_0 = 2; byte arg_3ADDF_1 = 1; Texture2D arg_3ADDF_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"); Vector2 arg_3ADDF_3 = new Vector2(60f, 45f); int arg_3ADDF_4 = 4; int arg_3ADDF_5 = 3; int arg_3ADDF_6 = 119; int arg_3ADDF_7 = 70; int arg_3ADDF_8 = 0; int arg_3ADDF_9 = 0; int arg_3ADDF_10 = 14; Animation.LoopSettings arg_3ADDF_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3ADDF_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3ADDF_13 = true; bool arg_3ADDF_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3ADDC_0 = array; int arg_3ADDC_1 = 0; AnimInsCriteria arg_3ADD7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3ADD2_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3ADDC_0[arg_3ADDC_1] = new AnimationInstruction(arg_3ADD7_0, new AnimInsEvent(arg_3ADD2_0, array6)); arg_3ADE4_0.Add(arg_3ADE4_1, new Animation(arg_3ADDF_0, arg_3ADDF_1, arg_3ADDF_2, arg_3ADDF_3, arg_3ADDF_4, arg_3ADDF_5, arg_3ADDF_6, arg_3ADDF_7, arg_3ADDF_8, arg_3ADDF_9, arg_3ADDF_10, arg_3ADDF_11, arg_3ADDF_12, arg_3ADDF_13, arg_3ADDF_14, array)); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(60f, 45f), 4, 3, 119, 70, 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 })) })); xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 72f), 4, 4, 134, 103, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 72f), 4, 4, 134, 103, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(60f, 45f), 4, 3, 119, 70, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(60f, 45f), 4, 3, 119, 70, 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[] { 5f })) })); xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 72f), 4, 3, 134, 103, 0, 0, 14, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 72f), 4, 3, 134, 103, 0, 0, 14, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 72f), 4, 25, 134, 103, 0, 0, 14, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 72f), 4, 25, 134, 103, 0, 0, 14, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })) })); Dictionary<ushort, Animation> arg_3B354_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3B354_1 = 22; ushort arg_3B34F_0 = 22; byte arg_3B34F_1 = 1; Texture2D arg_3B34F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Shake"); Vector2 arg_3B34F_3 = new Vector2(58f, 46f); int arg_3B34F_4 = 4; int arg_3B34F_5 = 18; int arg_3B34F_6 = 119; int arg_3B34F_7 = 71; int arg_3B34F_8 = 0; int arg_3B34F_9 = 0; int arg_3B34F_10 = 9; Animation.LoopSettings arg_3B34F_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3B34F_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3B34F_13 = true; bool arg_3B34F_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3B34C_0 = array; int arg_3B34C_1 = 0; AnimInsCriteria arg_3B347_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3B342_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3B34C_0[arg_3B34C_1] = new AnimationInstruction(arg_3B347_0, new AnimInsEvent(arg_3B342_0, array6)); arg_3B354_0.Add(arg_3B354_1, new Animation(arg_3B34F_0, arg_3B34F_1, arg_3B34F_2, arg_3B34F_3, arg_3B34F_4, arg_3B34F_5, arg_3B34F_6, arg_3B34F_7, arg_3B34F_8, arg_3B34F_9, arg_3B34F_10, arg_3B34F_11, arg_3B34F_12, arg_3B34F_13, arg_3B34F_14, array)); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Shake"), new Vector2(62f, 46f), 4, 18, 119, 71, 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[] { 1f })) })); } else if (sSeason == "Fall") { xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(60f, 45f), 4, 1, 119, 70, 357, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(60f, 45f), 4, 1, 119, 70, 357, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_3B51C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3B51C_1 = 2; ushort arg_3B517_0 = 2; byte arg_3B517_1 = 1; Texture2D arg_3B517_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"); Vector2 arg_3B517_3 = new Vector2(60f, 45f); int arg_3B517_4 = 4; int arg_3B517_5 = 3; int arg_3B517_6 = 119; int arg_3B517_7 = 70; int arg_3B517_8 = 0; int arg_3B517_9 = 0; int arg_3B517_10 = 14; Animation.LoopSettings arg_3B517_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3B517_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3B517_13 = true; bool arg_3B517_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3B514_0 = array; int arg_3B514_1 = 0; AnimInsCriteria arg_3B50F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3B50A_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3B514_0[arg_3B514_1] = new AnimationInstruction(arg_3B50F_0, new AnimInsEvent(arg_3B50A_0, array6)); arg_3B51C_0.Add(arg_3B51C_1, new Animation(arg_3B517_0, arg_3B517_1, arg_3B517_2, arg_3B517_3, arg_3B517_4, arg_3B517_5, arg_3B517_6, arg_3B517_7, arg_3B517_8, arg_3B517_9, arg_3B517_10, arg_3B517_11, arg_3B517_12, arg_3B517_13, arg_3B517_14, array)); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(60f, 45f), 4, 3, 119, 70, 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 })) })); xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 4, 134, 112, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 4, 134, 112, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(60f, 45f), 4, 3, 119, 70, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(60f, 45f), 4, 3, 119, 70, 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[] { 5f })) })); xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 3, 134, 112, 0, 0, 14, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 3, 134, 112, 0, 0, 14, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 25, 134, 112, 0, 0, 14, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 25, 134, 112, 0, 0, 14, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })) })); Dictionary<ushort, Animation> arg_3BA8C_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3BA8C_1 = 22; ushort arg_3BA87_0 = 22; byte arg_3BA87_1 = 1; Texture2D arg_3BA87_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Shake"); Vector2 arg_3BA87_3 = new Vector2(58f, 46f); int arg_3BA87_4 = 4; int arg_3BA87_5 = 18; int arg_3BA87_6 = 119; int arg_3BA87_7 = 71; int arg_3BA87_8 = 0; int arg_3BA87_9 = 0; int arg_3BA87_10 = 9; Animation.LoopSettings arg_3BA87_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3BA87_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3BA87_13 = true; bool arg_3BA87_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3BA84_0 = array; int arg_3BA84_1 = 0; AnimInsCriteria arg_3BA7F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3BA7A_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3BA84_0[arg_3BA84_1] = new AnimationInstruction(arg_3BA7F_0, new AnimInsEvent(arg_3BA7A_0, array6)); arg_3BA8C_0.Add(arg_3BA8C_1, new Animation(arg_3BA87_0, arg_3BA87_1, arg_3BA87_2, arg_3BA87_3, arg_3BA87_4, arg_3BA87_5, arg_3BA87_6, arg_3BA87_7, arg_3BA87_8, arg_3BA87_9, arg_3BA87_10, arg_3BA87_11, arg_3BA87_12, arg_3BA87_13, arg_3BA87_14, array)); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Shake"), new Vector2(62f, 46f), 4, 18, 119, 71, 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[] { 1f })) })); } else { xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(55f, 47f), 4, 1, 109, 72, 327, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(55f, 47f), 4, 1, 109, 72, 327, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_3BC43_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3BC43_1 = 2; ushort arg_3BC3E_0 = 2; byte arg_3BC3E_1 = 1; Texture2D arg_3BC3E_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"); Vector2 arg_3BC3E_3 = new Vector2(55f, 47f); int arg_3BC3E_4 = 4; int arg_3BC3E_5 = 3; int arg_3BC3E_6 = 109; int arg_3BC3E_7 = 72; int arg_3BC3E_8 = 0; int arg_3BC3E_9 = 0; int arg_3BC3E_10 = 14; Animation.LoopSettings arg_3BC3E_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3BC3E_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3BC3E_13 = true; bool arg_3BC3E_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3BC3B_0 = array; int arg_3BC3B_1 = 0; AnimInsCriteria arg_3BC36_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3BC31_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3BC3B_0[arg_3BC3B_1] = new AnimationInstruction(arg_3BC36_0, new AnimInsEvent(arg_3BC31_0, array6)); arg_3BC43_0.Add(arg_3BC43_1, new Animation(arg_3BC3E_0, arg_3BC3E_1, arg_3BC3E_2, arg_3BC3E_3, arg_3BC3E_4, arg_3BC3E_5, arg_3BC3E_6, arg_3BC3E_7, arg_3BC3E_8, arg_3BC3E_9, arg_3BC3E_10, arg_3BC3E_11, arg_3BC3E_12, arg_3BC3E_13, arg_3BC3E_14, array)); xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(55f, 47f), 4, 3, 109, 72, 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 })) })); xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 4, 134, 112, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 4, 134, 112, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(55f, 47f), 4, 3, 109, 72, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Turn/Right"), new Vector2(55f, 47f), 4, 3, 109, 72, 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[] { 5f })) })); xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 3, 134, 112, 0, 0, 14, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 3, 134, 112, 0, 0, 14, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 25, 134, 112, 0, 0, 14, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Right"), new Vector2(67f, 82f), 4, 25, 134, 112, 0, 0, 14, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })) })); Dictionary<ushort, Animation> arg_3C1B3_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3C1B3_1 = 22; ushort arg_3C1AE_0 = 22; byte arg_3C1AE_1 = 1; Texture2D arg_3C1AE_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Shake"); Vector2 arg_3C1AE_3 = new Vector2(58f, 49f); int arg_3C1AE_4 = 4; int arg_3C1AE_5 = 18; int arg_3C1AE_6 = 119; int arg_3C1AE_7 = 73; int arg_3C1AE_8 = 0; int arg_3C1AE_9 = 0; int arg_3C1AE_10 = 9; Animation.LoopSettings arg_3C1AE_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3C1AE_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3C1AE_13 = true; bool arg_3C1AE_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3C1AB_0 = array; int arg_3C1AB_1 = 0; AnimInsCriteria arg_3C1A6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3C1A1_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3C1AB_0[arg_3C1AB_1] = new AnimationInstruction(arg_3C1A6_0, new AnimInsEvent(arg_3C1A1_0, array6)); arg_3C1B3_0.Add(arg_3C1B3_1, new Animation(arg_3C1AE_0, arg_3C1AE_1, arg_3C1AE_2, arg_3C1AE_3, arg_3C1AE_4, arg_3C1AE_5, arg_3C1AE_6, arg_3C1AE_7, arg_3C1AE_8, arg_3C1AE_9, arg_3C1AE_10, arg_3C1AE_11, arg_3C1AE_12, arg_3C1AE_13, arg_3C1AE_14, array)); xEn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Attack/Shake"), new Vector2(62f, 49f), 4, 18, 119, 73, 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[] { 1f })) })); } xEn.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[9].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[23].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(12, new Animation(12, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"), new Vector2(64f, 50f), 4, 6, 118, 87, 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[] { 14f })) })); xEn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"), new Vector2(54f, 50f), 4, 6, 118, 87, 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[] { 15f })) })); xEn.xRenderComponent.dixAnimations[13].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"), new Vector2(64f, 50f), 4, 3, 118, 87, 708, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"), new Vector2(54f, 50f), 4, 3, 118, 87, 708, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"), new Vector2(64f, 50f), 4, 2, 118, 87, 0, 87, 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[] { 18f })) })); xEn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"), new Vector2(54f, 50f), 4, 2, 118, 87, 0, 87, 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[] { 19f })) })); xEn.xRenderComponent.dixAnimations[17].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(18, new Animation(18, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"), new Vector2(64f, 50f), 4, 2, 118, 87, 236, 87, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(19, new Animation(19, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"), new Vector2(54f, 50f), 4, 2, 118, 87, 236, 87, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[19].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_3C746_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3C746_1 = 20; ushort arg_3C741_0 = 20; byte arg_3C741_1 = 1; Texture2D arg_3C741_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"); Vector2 arg_3C741_3 = new Vector2(64f, 50f); int arg_3C741_4 = 4; int arg_3C741_5 = 5; int arg_3C741_6 = 118; int arg_3C741_7 = 87; int arg_3C741_8 = 472; int arg_3C741_9 = 87; int arg_3C741_10 = 14; Animation.LoopSettings arg_3C741_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3C741_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3C741_13 = true; bool arg_3C741_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_3C73E_0 = array; int arg_3C73E_1 = 0; AnimInsCriteria arg_3C739_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3C734_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3C73E_0[arg_3C73E_1] = new AnimationInstruction(arg_3C739_0, new AnimInsEvent(arg_3C734_0, array6)); arg_3C746_0.Add(arg_3C746_1, new Animation(arg_3C741_0, arg_3C741_1, arg_3C741_2, arg_3C741_3, arg_3C741_4, arg_3C741_5, arg_3C741_6, arg_3C741_7, arg_3C741_8, arg_3C741_9, arg_3C741_10, arg_3C741_11, arg_3C741_12, arg_3C741_13, arg_3C741_14, array)); xEn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"), new Vector2(54f, 50f), 4, 5, 118, 87, 472, 87, 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 })) })); xEn.xRenderComponent.dixAnimations[21].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 2, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Front"), new Vector2(64f, 50f), 4, 2, 125, 77, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_3C8FA_0 = xEn.xRenderComponent.dixAnimations; ushort arg_3C8FA_1 = 25; ushort arg_3C8F5_0 = 25; byte arg_3C8F5_1 = 1; Texture2D arg_3C8F5_2 = Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"); Vector2 arg_3C8F5_3 = new Vector2(64f, 50f); int arg_3C8F5_4 = 4; int arg_3C8F5_5 = 17; int arg_3C8F5_6 = 118; int arg_3C8F5_7 = 87; int arg_3C8F5_8 = 0; int arg_3C8F5_9 = 0; int arg_3C8F5_10 = 9; Animation.LoopSettings arg_3C8F5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3C8F5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3C8F5_13 = true; bool arg_3C8F5_14 = true; array = new AnimationInstruction[2]; array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })); AnimationInstruction[] arg_3C8F2_0 = array; int arg_3C8F2_1 = 1; AnimInsCriteria arg_3C8ED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3C8E8_0 = AnimInsEvent.EventType.PlayAnimation; array6 = new float[1]; arg_3C8F2_0[arg_3C8F2_1] = new AnimationInstruction(arg_3C8ED_0, new AnimInsEvent(arg_3C8E8_0, array6)); arg_3C8FA_0.Add(arg_3C8FA_1, new Animation(arg_3C8F5_0, arg_3C8F5_1, arg_3C8F5_2, arg_3C8F5_3, arg_3C8F5_4, arg_3C8F5_5, arg_3C8F5_6, arg_3C8F5_7, arg_3C8F5_8, arg_3C8F5_9, arg_3C8F5_10, arg_3C8F5_11, arg_3C8F5_12, arg_3C8F5_13, arg_3C8F5_14, array)); xEn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Breath/Right"), new Vector2(54f, 50f), 4, 17, 118, 87, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 11f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 8f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })) })); xEn.xRenderComponent.dixAnimations[26].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Rise/Right"), new Vector2(67f, 74f), 4, 4, 134, 105, 0, 0, 7, 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[] { 29f })) })); xEn.xRenderComponent.dixAnimations.Add(28, new Animation(28, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Rise/Right"), new Vector2(67f, 74f), 4, 4, 134, 105, 0, 0, 7, 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[] { 30f })) })); xEn.xRenderComponent.dixAnimations[28].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(29, new Animation(29, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Rise/Right"), new Vector2(67f, 74f), 4, 2, 134, 105, 536, 0, 7, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(30, new Animation(30, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Rise/Right"), new Vector2(67f, 74f), 4, 2, 134, 105, 536, 0, 7, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations[30].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations.Add(31, new Animation(31, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/Face/Rise/Right"), new Vector2(67f, 74f), 4, 13, 134, 105, 0, 0, 7, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { (float)((enType == EnemyCodex.EnemyTypes.SeasonHydra_Summer) ? 0 : 100) })) })); xEn.xRenderComponent.dixAnimations.Add(100, new Animation(100, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Turn/Right"), new Vector2(60f, 45f), 4, 1, 119, 70, 357, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(101, new Animation(101, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Turn/Right"), new Vector2(60f, 45f), 4, 1, 119, 70, 357, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(102, new Animation(102, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Turn/Right"), new Vector2(60f, 45f), 4, 3, 119, 70, 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[] { 100f })) })); xEn.xRenderComponent.dixAnimations.Add(103, new Animation(103, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Turn/Right"), new Vector2(60f, 45f), 4, 3, 119, 70, 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[] { 101f })) })); if (sSeason != "Fall") { xEn.xRenderComponent.dixAnimations.Add(104, new Animation(104, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 72f), 4, 4, 134, 103, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(105, new Animation(105, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 72f), 4, 4, 134, 103, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(108, new Animation(108, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 72f), 4, 3, 134, 103, 0, 0, 14, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(109, new Animation(109, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 72f), 4, 3, 134, 103, 0, 0, 14, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(110, new Animation(110, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 72f), 4, 25, 134, 103, 0, 0, 14, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(111, new Animation(111, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 72f), 4, 25, 134, 103, 0, 0, 14, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })) })); } else { xEn.xRenderComponent.dixAnimations.Add(104, new Animation(104, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 82f), 4, 4, 134, 112, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(105, new Animation(105, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 82f), 4, 4, 134, 112, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xEn.xRenderComponent.dixAnimations.Add(108, new Animation(108, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 82f), 4, 3, 134, 112, 0, 0, 14, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(109, new Animation(109, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 82f), 4, 3, 134, 112, 0, 0, 14, 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[] { 4f })) })); xEn.xRenderComponent.dixAnimations.Add(110, new Animation(110, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 82f), 4, 25, 134, 112, 0, 0, 14, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })) })); xEn.xRenderComponent.dixAnimations.Add(111, new Animation(111, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Right"), new Vector2(67f, 82f), 4, 25, 134, 112, 0, 0, 14, 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[] { 7f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 7f, 10f }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[] { 2f })) })); } xEn.xRenderComponent.dixAnimations.Add(106, new Animation(106, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Turn/Right"), new Vector2(60f, 45f), 4, 3, 119, 70, 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[] { 104f })) })); xEn.xRenderComponent.dixAnimations.Add(107, new Animation(107, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Turn/Right"), new Vector2(60f, 45f), 4, 3, 119, 70, 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[] { 105f })) })); xEn.xRenderComponent.dixAnimations.Add(122, new Animation(122, 1, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Shake"), new Vector2(58f, 46f), 4, 18, 119, 71, 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[] { 100f })) })); xEn.xRenderComponent.dixAnimations.Add(123, new Animation(123, 3, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/" + sSeason + "/FaceSmall/Attack/Shake"), new Vector2(62f, 46f), 4, 18, 119, 71, 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[] { 101f })) })); xEn.xRenderComponent.dixAnimations[101].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[105].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[103].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[107].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[109].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[111].enSpriteEffect = SpriteEffects.FlipHorizontally; xEn.xRenderComponent.dixAnimations[123].enSpriteEffect = SpriteEffects.FlipHorizontally; mos3.lxBalls.Add(new SeasonHydraAI.HydraBall(sSeason)); mos3.lxBalls.Add(new SeasonHydraAI.HydraBall(sSeason)); mos3.lxBalls.Add(new SeasonHydraAI.HydraBall(sSeason)); mos3.lxBalls.Add(new SeasonHydraAI.HydraBall(sSeason)); mos3.lxBalls.Add(new SeasonHydraAI.HydraBall(sSeason)); mos3.lxBalls.Add(new SeasonHydraAI.HydraBall(sSeason)); Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(xEn.xRenderComponent); xEn.sAttackPhaseCategory = "Birdie"; xEn.enDeathEffect = SortedAnimated.SortedAnimatedEffects.None; xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(14f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.Enemies); } xEn.xEnemyDescription = EnemyCodex.GetEnemyDescription(enType); xEn.xBaseStats.iLevel = xEn.xEnemyDescription.iLevel; xEn.xBaseStats.iHP = (xEn.xBaseStats.iBaseMaxHP = xEn.xEnemyDescription.iMaxHealth); xEn.xRenderComponent.bReSortHeight = true; xEn.xRenderComponent.GetCurrentAnimation().Reset(); foreach (DropChance xDrop in xEn.xEnemyDescription.lxLootTable) { xEn.lxLootTable.Add(new DropChance(xDrop.iChance, xDrop.enItemToDrop)); ItemCodex.GetItemDescription(xDrop.enItemToDrop); } return xEn; }
public override void OnInstruction(byte byInstructionID, params float[] afParams) { if (byInstructionID == 0) { if (this.iPhase != 0) { return; } Game1 master = Program.game; Collider colbol = new BoxCollider(new Rectangle(1043, 283, 43, 148)); colbol.ibitLayers = Utility.CreateIntMask(new int[] { 1 }); master.xCollisionMaster.RegisterStaticCollider(colbol); this.left = colbol; colbol = new BoxCollider(new Rectangle(1520, 283, 43, 148)); colbol.ibitLayers = Utility.CreateIntMask(new int[] { 1 }); master.xCollisionMaster.RegisterStaticCollider(colbol); this.right = colbol; this.iPhase = 1; this.iCounter = 0; return; } else if (byInstructionID == 1) { if (this.iPhase > 2) { return; } Game1 master2 = Program.game; master2.xCollisionMaster.UnregisterCollider(this.left); master2.xCollisionMaster.UnregisterCollider(this.right); this.iPhase = 3; this.iCounter = 0; return; } else { if (byInstructionID == 2) { Program.game.xCamera.SetShake(8); Program.game.xSoundSystem.PlayCue("GravelRockMove", Program.game.xLocalPlayer.xEntity.xTransform); (this.lxBlocksRight[1].xRenderComponent as AnimatedRenderComponent).SwitchAnimation(2, Animation.CancelOptions.IgnoreIfPlaying); (this.lxBlocksRight[2].xRenderComponent as AnimatedRenderComponent).SwitchAnimation(2, Animation.CancelOptions.IgnoreIfPlaying); this.iPhase = 5; this.iCounter = 0; return; } if (byInstructionID == 3 && this.iPhase == 5) { (this.lxBlocksRight[1].xRenderComponent as AnimatedRenderComponent).SwitchAnimation(1, Animation.CancelOptions.IgnoreIfPlaying); (this.lxBlocksRight[2].xRenderComponent as AnimatedRenderComponent).SwitchAnimation(1, Animation.CancelOptions.IgnoreIfPlaying); this.iPhase = 2; } return; } }
public static ISpellInstance GetSpellInstance(SpellCodex.SpellTypes enType, int iPowerLevel) { ISpellInstance xIn = null; ContentManager Content = Program.GetTheGame().Content; string MONSTER_PATH = "Sprites/Monster/"; if (enType == SpellCodex.SpellTypes._Magic_Fire_Fireball) { xIn = new _Spells_FireballInstance(); _Spells_FireballInstance xFireball = xIn as _Spells_FireballInstance; xFireball.xRenderComponent = new AnimatedRenderComponent(xIn); xFireball.xRenderComponent.xTransform = xIn.xTransform; xFireball.xAttackPhaseEnemy = new AttackPhase(xFireball); xFireball.xAttackPhaseEnvironment = new AttackPhase(xFireball); xFireball.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xFireball.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); SphereCollider col = new SphereCollider(10f, new Vector2(0f, -11f), xFireball.xTransform, 0f, xFireball); col.xAttackPhase = xFireball.xAttackPhaseEnemy; col.bIsLarge = false; xFireball.xAttackPhaseEnemy.lxCurrentColliders.Add(col); xFireball.xAttackPhaseEnemy.RegisterCurrent(); col = new SphereCollider(2f, new Vector2(0f, -3f), xFireball.xTransform, 0f, xFireball); col.xAttackPhase = xFireball.xAttackPhaseEnvironment; col.bCollideWithFlat = false; xFireball.xAttackPhaseEnvironment.lxCurrentColliders.Add(col); xFireball.xAttackPhaseEnvironment.RegisterCurrent(); xFireball.enType = enType; xFireball.xRenderComponent.xOwnerObject = xIn; xFireball.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -12f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv1Up"), new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv1Up"), new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv1Up"), new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv1Up"), new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations[1].SetRotationOverride(1.57079637f); xIn.xRenderComponent.dixAnimations[2].SetRotationOverride(3.14159274f); xIn.xRenderComponent.dixAnimations[3].SetRotationOverride(4.712389f); xIn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv3Up"), new Vector2(12f, 10f), 4, 6, 24, 38, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv3Up"), new Vector2(12f, 10f), 4, 6, 24, 38, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 2, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv3Up"), new Vector2(12f, 10f), 4, 6, 24, 38, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv3Up"), new Vector2(12f, 10f), 4, 6, 24, 38, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations[5].SetRotationOverride(1.57079637f); xIn.xRenderComponent.dixAnimations[6].SetRotationOverride(3.14159274f); xIn.xRenderComponent.dixAnimations[7].SetRotationOverride(4.712389f); xIn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv4Up"), new Vector2(16f, 11f), 4, 6, 29, 46, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv4Up"), new Vector2(16f, 11f), 4, 6, 29, 46, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 2, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv4Up"), new Vector2(16f, 11f), 4, 6, 29, 46, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv4Up"), new Vector2(16f, 11f), 4, 6, 29, 46, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations[9].SetRotationOverride(1.57079637f); xIn.xRenderComponent.dixAnimations[10].SetRotationOverride(3.14159274f); xIn.xRenderComponent.dixAnimations[11].SetRotationOverride(4.712389f); xIn.xRenderComponent.dixAnimations.Add(12, new Animation(12, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv5Up"), new Vector2(28f, 30f), 4, 1, 56, 51, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(13, new Animation(13, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv5Up"), new Vector2(28f, 30f), 4, 1, 56, 51, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 2, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv5Up"), new Vector2(28f, 30f), 4, 1, 56, 51, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv5Up"), new Vector2(28f, 30f), 4, 1, 56, 51, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations[13].SetRotationOverride(1.57079637f); xIn.xRenderComponent.dixAnimations[14].SetRotationOverride(3.14159274f); xIn.xRenderComponent.dixAnimations[15].SetRotationOverride(4.712389f); xIn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv1Disappear"), new Vector2(9f, 7f), 4, 9, 18, 25, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[] { -0.1f })) })); xIn.xRenderComponent.dixAnimations.Add(21, new Animation(21, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv1Disappear"), new Vector2(9f, 7f), 4, 9, 18, 25, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[] { -0.1f })) })); xIn.xRenderComponent.dixAnimations.Add(22, new Animation(22, 2, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv1Disappear"), new Vector2(9f, 7f), 4, 9, 18, 25, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[] { -0.1f })) })); xIn.xRenderComponent.dixAnimations.Add(23, new Animation(23, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv1Disappear"), new Vector2(9f, 7f), 4, 9, 18, 25, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[] { -0.1f })) })); xIn.xRenderComponent.dixAnimations[21].SetRotationOverride(1.57079637f); xIn.xRenderComponent.dixAnimations[22].SetRotationOverride(3.14159274f); xIn.xRenderComponent.dixAnimations[23].SetRotationOverride(4.712389f); xIn.xRenderComponent.dixAnimations.Add(24, new Animation(24, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv3Disappear"), new Vector2(12f, 10f), 4, 9, 24, 38, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[] { -0.1f })) })); xIn.xRenderComponent.dixAnimations.Add(25, new Animation(25, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv3Disappear"), new Vector2(12f, 10f), 4, 9, 24, 38, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[] { -0.1f })) })); xIn.xRenderComponent.dixAnimations.Add(26, new Animation(26, 2, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv3Disappear"), new Vector2(12f, 10f), 4, 9, 24, 38, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[] { -0.1f })) })); xIn.xRenderComponent.dixAnimations.Add(27, new Animation(27, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Lv3Disappear"), new Vector2(12f, 10f), 4, 9, 24, 38, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[] { 1f, 9f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[] { -0.1f })) })); xIn.xRenderComponent.dixAnimations[25].SetRotationOverride(1.57079637f); xIn.xRenderComponent.dixAnimations[26].SetRotationOverride(3.14159274f); xIn.xRenderComponent.dixAnimations[27].SetRotationOverride(4.712389f); DynamicLight xLight = new DynamicLight(); xLight.xRenderComponent.xTransform = xIn.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, -10f); xLight.SetScale(0.3f); xLight.xMountObject = xFireball; xLight.enDestructionType = DynamicLight.DestructionType.Flash; xLight.fFlicker = 0.3f; xLight.iFlickerInterval = 15; Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight); } else if (enType == SpellCodex.SpellTypes._Magic_Fire_Meteor) { xIn = new _Spells_MeteorInstance(); _Spells_MeteorInstance xFireball2 = xIn as _Spells_MeteorInstance; xFireball2.xRenderComponent = new AnimatedRenderComponent(xIn); xFireball2.xRenderComponent.xTransform = xIn.xTransform; xFireball2.bSendOwnerID = true; xFireball2.xAttackPhaseEnemy = new AttackPhase(xFireball2); xFireball2.xAttackPhaseEnvironment = new AttackPhase(xFireball2); xFireball2.xAttackPhaseEpicenter = new AttackPhase(xFireball2); xFireball2.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xFireball2.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); if (Program.GetTheGame().xNetworkInfo.enCurrentRole != NetworkHelperInterface.NetworkRole.Client) { SphereCollider col2 = new SphereCollider(14f, new Vector2(0f, 0f), xFireball2.xTransform, 0f, xFireball2); col2.xAttackPhase = xFireball2.xAttackPhaseEnemy; col2.bIsLarge = false; xFireball2.xAttackPhaseEnemy.lxCurrentColliders.Add(col2); col2 = new SphereCollider(12f, new Vector2(0f, 0f), xFireball2.xTransform, 0f, xFireball2); col2.xAttackPhase = xFireball2.xAttackPhaseEnvironment; col2.bCollideWithFlat = false; xFireball2.xAttackPhaseEnvironment.lxCurrentColliders.Add(col2); col2 = new SphereCollider(10f, new Vector2(0f, 0f), xFireball2.xTransform, 0f, xFireball2); col2.xAttackPhase = xFireball2.xAttackPhaseEpicenter; col2.bCollideWithFlat = false; xFireball2.xAttackPhaseEpicenter.lxCurrentColliders.Add(col2); } xFireball2.enType = enType; xFireball2.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(18f, 32f), 3, 7, 36, 41, 36, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Magic_Fire_Flamethrower) { xIn = new _Spells_FlamethrowerInstance(); _Spells_FlamethrowerInstance xFireball3 = xIn as _Spells_FlamethrowerInstance; xFireball3.xRenderComponent = new AnimatedRenderComponent(xIn); xFireball3.xRenderComponent.xTransform = xIn.xTransform; xFireball3.bSendOwnerID = true; xFireball3.xAttackPhaseEnemy = new AttackPhase(xFireball3); xFireball3.xAttackPhaseEnvironment = new AttackPhase(xFireball3); xFireball3.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xFireball3.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); if (Program.GetTheGame().xNetworkInfo.enCurrentRole != NetworkHelperInterface.NetworkRole.Client) { SphereCollider col3 = new SphereCollider(17f, new Vector2(0f, 0f), xFireball3.xTransform, 0f, xFireball3); col3.xAttackPhase = xFireball3.xAttackPhaseEnemy; col3.bIsLarge = false; xFireball3.xAttackPhaseEnemy.lxCurrentColliders.Add(col3); col3 = new SphereCollider(17f, new Vector2(0f, 0f), xFireball3.xTransform, 0f, xFireball3); col3.xAttackPhase = xFireball3.xAttackPhaseEnemy; col3.bIsLarge = false; xFireball3.xAttackPhaseEnemy.lxCurrentColliders.Add(col3); col3 = new SphereCollider(17f, new Vector2(0f, 0f), xFireball3.xTransform, 0f, xFireball3); col3.xAttackPhase = xFireball3.xAttackPhaseEnvironment; col3.bCollideWithFlat = false; xFireball3.xAttackPhaseEnvironment.lxCurrentColliders.Add(col3); col3 = new SphereCollider(17f, new Vector2(0f, 0f), xFireball3.xTransform, 0f, xFireball3); col3.xAttackPhase = xFireball3.xAttackPhaseEnvironment; col3.bCollideWithFlat = false; xFireball3.xAttackPhaseEnvironment.lxCurrentColliders.Add(col3); } xFireball3.enType = enType; xFireball3.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(18f, 32f), 3, 7, 36, 41, 36, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Magic_Fire_BurnControlInstance) { xIn = new _Spells_BurnInstance(); _Spells_BurnInstance xBurn = xIn as _Spells_BurnInstance; xBurn.xRenderComponent = new AnimatedRenderComponent(xIn); xBurn.xRenderComponent.xTransform = xIn.xTransform; xBurn.xDummyPhase = new AttackPhase(xBurn); xBurn.xDummyPhase.xStats.iBreakingPower = -1; xBurn.enType = enType; xBurn.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(18f, 32f), 3, 7, 36, 41, 36, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Magic_Earth_EarthSpike) { xIn = new _Spells_EarthSpikeInstance(); _Spells_EarthSpikeInstance xFireball4 = xIn as _Spells_EarthSpikeInstance; xFireball4.xRenderComponent = new AnimatedRenderComponent(xIn); xFireball4.xRenderComponent.xTransform = xIn.xTransform; xFireball4.xAttackPhaseEnemy = new AttackPhase(xFireball4); xFireball4.xAttackPhaseEnvironment = new AttackPhase(xFireball4); xFireball4.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xFireball4.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); if (Program.GetTheGame().xNetworkInfo.enCurrentRole != NetworkHelperInterface.NetworkRole.Client) { SphereCollider col4 = new SphereCollider(14f, new Vector2(0f, 0f), xFireball4.xTransform, 0f, xFireball4); col4.xAttackPhase = xFireball4.xAttackPhaseEnemy; col4.bIsLarge = false; xFireball4.xAttackPhaseEnemy.lxCurrentColliders.Add(col4); xFireball4.xAttackPhaseEnemy.RegisterCurrent(); col4 = new SphereCollider(12f, new Vector2(0f, 0f), xFireball4.xTransform, 0f, xFireball4); col4.xAttackPhase = xFireball4.xAttackPhaseEnvironment; col4.bCollideWithFlat = false; xFireball4.xAttackPhaseEnvironment.lxCurrentColliders.Add(col4); xFireball4.xAttackPhaseEnvironment.RegisterCurrent(); } xFireball4.enType = enType; xFireball4.xRenderComponent.xOwnerObject = xIn; Dictionary<ushort, Animation> arg_1546_0 = xIn.xRenderComponent.dixAnimations; ushort arg_1546_1 = 0; ushort arg_1541_0 = 0; byte arg_1541_1 = 0; Texture2D arg_1541_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_EarthSpike, "Sprites/Spells/Earth Spike/Level 1-2/Start"); Vector2 arg_1541_3 = new Vector2(18f, 32f); int arg_1541_4 = 3; int arg_1541_5 = 7; int arg_1541_6 = 36; int arg_1541_7 = 41; int arg_1541_8 = 36; int arg_1541_9 = 0; int arg_1541_10 = 10; Animation.LoopSettings arg_1541_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1541_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1541_13 = true; bool arg_1541_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_153E_0 = array; int arg_153E_1 = 0; AnimInsCriteria arg_1539_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_1534_0 = AnimInsEvent.EventType.PlaySound; string arg_1534_1 = "Earth_Spike"; float[] array2 = new float[1]; arg_153E_0[arg_153E_1] = new AnimationInstruction(arg_1539_0, new AnimInsEvent(arg_1534_0, arg_1534_1, array2)); arg_1546_0.Add(arg_1546_1, new Animation(arg_1541_0, arg_1541_1, arg_1541_2, arg_1541_3, arg_1541_4, arg_1541_5, arg_1541_6, arg_1541_7, arg_1541_8, arg_1541_9, arg_1541_10, arg_1541_11, arg_1541_12, arg_1541_13, arg_1541_14, array)); xIn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_EarthSpike, "Sprites/Spells/Earth Spike/Level 1-2/End"), new Vector2(18f, 32f), 4, 12, 36, 41, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_162C_0 = xIn.xRenderComponent.dixAnimations; ushort arg_162C_1 = 2; ushort arg_1627_0 = 2; byte arg_1627_1 = 0; Texture2D arg_1627_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_EarthSpike, "Sprites/Spells/Earth Spike/Level 3/Start"); Vector2 arg_1627_3 = new Vector2(17f, 37f); int arg_1627_4 = 3; int arg_1627_5 = 7; int arg_1627_6 = 35; int arg_1627_7 = 45; int arg_1627_8 = 35; int arg_1627_9 = 0; int arg_1627_10 = 10; Animation.LoopSettings arg_1627_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1627_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1627_13 = true; bool arg_1627_14 = true; array = new AnimationInstruction[1]; AnimationInstruction[] arg_1624_0 = array; int arg_1624_1 = 0; AnimInsCriteria arg_161F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }); AnimInsEvent.EventType arg_161A_0 = AnimInsEvent.EventType.PlaySound; string arg_161A_1 = "Earth_Spike"; array2 = new float[1]; arg_1624_0[arg_1624_1] = new AnimationInstruction(arg_161F_0, new AnimInsEvent(arg_161A_0, arg_161A_1, array2)); arg_162C_0.Add(arg_162C_1, new Animation(arg_1627_0, arg_1627_1, arg_1627_2, arg_1627_3, arg_1627_4, arg_1627_5, arg_1627_6, arg_1627_7, arg_1627_8, arg_1627_9, arg_1627_10, arg_1627_11, arg_1627_12, arg_1627_13, arg_1627_14, array)); xIn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_EarthSpike, "Sprites/Spells/Earth Spike/Level 3/End"), new Vector2(17f, 37f), 4, 12, 35, 45, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Magic_Earth_SummonPlant) { xIn = new _Spells_PlantInstance(); _Spells_PlantInstance xCloud = xIn as _Spells_PlantInstance; xCloud.xRenderComponent = new AnimatedRenderComponent(xIn); xCloud.xRenderComponent.xTransform = xIn.xTransform; xCloud.enType = enType; xCloud.xRenderComponent.xOwnerObject = xIn; xCloud.xAttackPhaseEnemy = new AttackPhase(xCloud); xCloud.xAttackPhaseEnemy.xStats = new AttackStats(); xCloud.xAttackPhaseEnemy.xStats.iBreakingPower = -1; xCloud.xAttackPhaseEnemy.xStats.iBaseDamage = 25; xCloud.xAttackPhaseEnemy.lenLayers.Add(Collider.ColliderLayers.Enemies); xCloud.xAttackPhaseEnemy.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); SphereCollider col5 = new SphereCollider(12f, new Vector2(-7f, -6f), xCloud.xTransform, 0f, xCloud); col5.xAttackPhase = xCloud.xAttackPhaseEnemy; col5.bIsLarge = false; col5.ibitLayers = 2147483647; xCloud.xAttackPhaseEnemy.lxCurrentColliders.Add(col5); col5 = new SphereCollider(12f, new Vector2(-7f, 9f), xCloud.xTransform, 0f, xCloud); col5.xAttackPhase = xCloud.xAttackPhaseEnemy; col5.bIsLarge = false; col5.ibitLayers = 2147483647; xCloud.xAttackPhaseEnemy.lxCurrentColliders.Add(col5); Dictionary<ushort, Animation> arg_18B6_0 = xIn.xRenderComponent.dixAnimations; ushort arg_18B6_1 = 0; ushort arg_18B1_0 = 0; byte arg_18B1_1 = 1; Texture2D arg_18B1_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 1/Appear"); Vector2 arg_18B1_3 = new Vector2(11f, 20f); int arg_18B1_4 = 4; int arg_18B1_5 = 9; int arg_18B1_6 = 22; int arg_18B1_7 = 25; int arg_18B1_8 = 0; int arg_18B1_9 = 0; int arg_18B1_10 = 10; Animation.LoopSettings arg_18B1_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_18B1_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_18B1_13 = false; bool arg_18B1_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_1880_0 = array; int arg_1880_1 = 0; AnimInsCriteria arg_187B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1876_0 = AnimInsEvent.EventType.PlaySound; string arg_1876_1 = "Halloweed_Appear"; float[] array2 = new float[1]; arg_1880_0[arg_1880_1] = new AnimationInstruction(arg_187B_0, new AnimInsEvent(arg_1876_0, arg_1876_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_18B6_0.Add(arg_18B6_1, new Animation(arg_18B1_0, arg_18B1_1, arg_18B1_2, arg_18B1_3, arg_18B1_4, arg_18B1_5, arg_18B1_6, arg_18B1_7, arg_18B1_8, arg_18B1_9, arg_18B1_10, arg_18B1_11, arg_18B1_12, arg_18B1_13, arg_18B1_14, array)); xIn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 1/Idle"), new Vector2(8f, 13f), 4, 8, 15, 18, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_19C1_0 = xIn.xRenderComponent.dixAnimations; ushort arg_19C1_1 = 2; ushort arg_19BC_0 = 2; byte arg_19BC_1 = 1; Texture2D arg_19BC_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 1/Disappear"); Vector2 arg_19BC_3 = new Vector2(9f, 21f); int arg_19BC_4 = 4; int arg_19BC_5 = 9; int arg_19BC_6 = 18; int arg_19BC_7 = 27; int arg_19BC_8 = 0; int arg_19BC_9 = 0; int arg_19BC_10 = 12; Animation.LoopSettings arg_19BC_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_19BC_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_19BC_13 = false; bool arg_19BC_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1981_0 = array; int arg_1981_1 = 0; AnimInsCriteria arg_197C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1977_0 = AnimInsEvent.EventType.CallBackAnimation; array2 = new float[1]; arg_1981_0[arg_1981_1] = new AnimationInstruction(arg_197C_0, new AnimInsEvent(arg_1977_0, array2)); AnimationInstruction[] arg_19B9_0 = array; int arg_19B9_1 = 1; AnimInsCriteria arg_19B4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_19AF_0 = AnimInsEvent.EventType.PlaySound; string arg_19AF_1 = "Halloweed_Disappear"; array2 = new float[1]; arg_19B9_0[arg_19B9_1] = new AnimationInstruction(arg_19B4_0, new AnimInsEvent(arg_19AF_0, arg_19AF_1, array2)); arg_19C1_0.Add(arg_19C1_1, new Animation(arg_19BC_0, arg_19BC_1, arg_19BC_2, arg_19BC_3, arg_19BC_4, arg_19BC_5, arg_19BC_6, arg_19BC_7, arg_19BC_8, arg_19BC_9, arg_19BC_10, arg_19BC_11, arg_19BC_12, arg_19BC_13, arg_19BC_14, array)); Dictionary<ushort, Animation> arg_1AF8_0 = xIn.xRenderComponent.dixAnimations; ushort arg_1AF8_1 = 3; ushort arg_1AF3_0 = 3; byte arg_1AF3_1 = 3; Texture2D arg_1AF3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 1/Attack/Left"); Vector2 arg_1AF3_3 = new Vector2(20f, 19f); int arg_1AF3_4 = 4; int arg_1AF3_5 = 9; int arg_1AF3_6 = 36; int arg_1AF3_7 = 40; int arg_1AF3_8 = 0; int arg_1AF3_9 = 0; int arg_1AF3_10 = 12; Animation.LoopSettings arg_1AF3_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1AF3_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1AF3_13 = false; bool arg_1AF3_14 = false; array = new AnimationInstruction[4]; AnimationInstruction[] arg_1A4A_0 = array; int arg_1A4A_1 = 0; AnimInsCriteria arg_1A45_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[] { 2f }); AnimInsEvent.EventType arg_1A40_0 = AnimInsEvent.EventType.PlaySound; string arg_1A40_1 = "Halloweed_Attack"; array2 = new float[1]; arg_1A4A_0[arg_1A4A_1] = new AnimationInstruction(arg_1A45_0, new AnimInsEvent(arg_1A40_0, arg_1A40_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_1AF8_0.Add(arg_1AF8_1, new Animation(arg_1AF3_0, arg_1AF3_1, arg_1AF3_2, arg_1AF3_3, arg_1AF3_4, arg_1AF3_5, arg_1AF3_6, arg_1AF3_7, arg_1AF3_8, arg_1AF3_9, arg_1AF3_10, arg_1AF3_11, arg_1AF3_12, arg_1AF3_13, arg_1AF3_14, array)); Dictionary<ushort, Animation> arg_1C2F_0 = xIn.xRenderComponent.dixAnimations; ushort arg_1C2F_1 = 4; ushort arg_1C2A_0 = 4; byte arg_1C2A_1 = 1; Texture2D arg_1C2A_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 1/Attack/Right"); Vector2 arg_1C2A_3 = new Vector2(16f, 19f); int arg_1C2A_4 = 4; int arg_1C2A_5 = 9; int arg_1C2A_6 = 36; int arg_1C2A_7 = 40; int arg_1C2A_8 = 0; int arg_1C2A_9 = 0; int arg_1C2A_10 = 12; Animation.LoopSettings arg_1C2A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1C2A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1C2A_13 = false; bool arg_1C2A_14 = false; array = new AnimationInstruction[4]; AnimationInstruction[] arg_1B81_0 = array; int arg_1B81_1 = 0; AnimInsCriteria arg_1B7C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[] { 2f }); AnimInsEvent.EventType arg_1B77_0 = AnimInsEvent.EventType.PlaySound; string arg_1B77_1 = "Halloweed_Attack"; array2 = new float[1]; arg_1B81_0[arg_1B81_1] = new AnimationInstruction(arg_1B7C_0, new AnimInsEvent(arg_1B77_0, arg_1B77_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 1f })); arg_1C2F_0.Add(arg_1C2F_1, new Animation(arg_1C2A_0, arg_1C2A_1, arg_1C2A_2, arg_1C2A_3, arg_1C2A_4, arg_1C2A_5, arg_1C2A_6, arg_1C2A_7, arg_1C2A_8, arg_1C2A_9, arg_1C2A_10, arg_1C2A_11, arg_1C2A_12, arg_1C2A_13, arg_1C2A_14, array)); Dictionary<ushort, Animation> arg_1CEE_0 = xIn.xRenderComponent.dixAnimations; ushort arg_1CEE_1 = 5; ushort arg_1CE9_0 = 5; byte arg_1CE9_1 = 1; Texture2D arg_1CE9_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 2/Appear"); Vector2 arg_1CE9_3 = new Vector2(11f, 20f); int arg_1CE9_4 = 4; int arg_1CE9_5 = 9; int arg_1CE9_6 = 22; int arg_1CE9_7 = 25; int arg_1CE9_8 = 0; int arg_1CE9_9 = 0; int arg_1CE9_10 = 10; Animation.LoopSettings arg_1CE9_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1CE9_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1CE9_13 = false; bool arg_1CE9_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1CB8_0 = array; int arg_1CB8_1 = 0; AnimInsCriteria arg_1CB3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1CAE_0 = AnimInsEvent.EventType.PlaySound; string arg_1CAE_1 = "Halloweed_Appear"; array2 = new float[1]; arg_1CB8_0[arg_1CB8_1] = new AnimationInstruction(arg_1CB3_0, new AnimInsEvent(arg_1CAE_0, arg_1CAE_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); arg_1CEE_0.Add(arg_1CEE_1, new Animation(arg_1CE9_0, arg_1CE9_1, arg_1CE9_2, arg_1CE9_3, arg_1CE9_4, arg_1CE9_5, arg_1CE9_6, arg_1CE9_7, arg_1CE9_8, arg_1CE9_9, arg_1CE9_10, arg_1CE9_11, arg_1CE9_12, arg_1CE9_13, arg_1CE9_14, array)); xIn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 2/Idle"), new Vector2(8f, 16f), 4, 8, 17, 18, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_1DF9_0 = xIn.xRenderComponent.dixAnimations; ushort arg_1DF9_1 = 7; ushort arg_1DF4_0 = 7; byte arg_1DF4_1 = 1; Texture2D arg_1DF4_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 2/Disappear"); Vector2 arg_1DF4_3 = new Vector2(9f, 21f); int arg_1DF4_4 = 4; int arg_1DF4_5 = 9; int arg_1DF4_6 = 18; int arg_1DF4_7 = 27; int arg_1DF4_8 = 0; int arg_1DF4_9 = 0; int arg_1DF4_10 = 12; Animation.LoopSettings arg_1DF4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1DF4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1DF4_13 = false; bool arg_1DF4_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_1DB9_0 = array; int arg_1DB9_1 = 0; AnimInsCriteria arg_1DB4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_1DAF_0 = AnimInsEvent.EventType.CallBackAnimation; array2 = new float[1]; arg_1DB9_0[arg_1DB9_1] = new AnimationInstruction(arg_1DB4_0, new AnimInsEvent(arg_1DAF_0, array2)); AnimationInstruction[] arg_1DF1_0 = array; int arg_1DF1_1 = 1; AnimInsCriteria arg_1DEC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_1DE7_0 = AnimInsEvent.EventType.PlaySound; string arg_1DE7_1 = "Halloweed_Disappear"; array2 = new float[1]; arg_1DF1_0[arg_1DF1_1] = new AnimationInstruction(arg_1DEC_0, new AnimInsEvent(arg_1DE7_0, arg_1DE7_1, array2)); arg_1DF9_0.Add(arg_1DF9_1, new Animation(arg_1DF4_0, arg_1DF4_1, arg_1DF4_2, arg_1DF4_3, arg_1DF4_4, arg_1DF4_5, arg_1DF4_6, arg_1DF4_7, arg_1DF4_8, arg_1DF4_9, arg_1DF4_10, arg_1DF4_11, arg_1DF4_12, arg_1DF4_13, arg_1DF4_14, array)); Dictionary<ushort, Animation> arg_1F30_0 = xIn.xRenderComponent.dixAnimations; ushort arg_1F30_1 = 8; ushort arg_1F2B_0 = 8; byte arg_1F2B_1 = 3; Texture2D arg_1F2B_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 2/Attack/Left"); Vector2 arg_1F2B_3 = new Vector2(20f, 19f); int arg_1F2B_4 = 4; int arg_1F2B_5 = 9; int arg_1F2B_6 = 36; int arg_1F2B_7 = 39; int arg_1F2B_8 = 0; int arg_1F2B_9 = 0; int arg_1F2B_10 = 12; Animation.LoopSettings arg_1F2B_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_1F2B_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_1F2B_13 = false; bool arg_1F2B_14 = false; array = new AnimationInstruction[4]; AnimationInstruction[] arg_1E82_0 = array; int arg_1E82_1 = 0; AnimInsCriteria arg_1E7D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[] { 2f }); AnimInsEvent.EventType arg_1E78_0 = AnimInsEvent.EventType.PlaySound; string arg_1E78_1 = "Halloweed_Attack"; array2 = new float[1]; arg_1E82_0[arg_1E82_1] = new AnimationInstruction(arg_1E7D_0, new AnimInsEvent(arg_1E78_0, arg_1E78_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); arg_1F30_0.Add(arg_1F30_1, new Animation(arg_1F2B_0, arg_1F2B_1, arg_1F2B_2, arg_1F2B_3, arg_1F2B_4, arg_1F2B_5, arg_1F2B_6, arg_1F2B_7, arg_1F2B_8, arg_1F2B_9, arg_1F2B_10, arg_1F2B_11, arg_1F2B_12, arg_1F2B_13, arg_1F2B_14, array)); Dictionary<ushort, Animation> arg_2069_0 = xIn.xRenderComponent.dixAnimations; ushort arg_2069_1 = 9; ushort arg_2064_0 = 9; byte arg_2064_1 = 1; Texture2D arg_2064_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 2/Attack/Right"); Vector2 arg_2064_3 = new Vector2(16f, 19f); int arg_2064_4 = 4; int arg_2064_5 = 9; int arg_2064_6 = 36; int arg_2064_7 = 40; int arg_2064_8 = 0; int arg_2064_9 = 0; int arg_2064_10 = 12; Animation.LoopSettings arg_2064_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2064_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2064_13 = false; bool arg_2064_14 = false; array = new AnimationInstruction[4]; AnimationInstruction[] arg_1FBB_0 = array; int arg_1FBB_1 = 0; AnimInsCriteria arg_1FB6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[] { 2f }); AnimInsEvent.EventType arg_1FB1_0 = AnimInsEvent.EventType.PlaySound; string arg_1FB1_1 = "Halloweed_Attack"; array2 = new float[1]; arg_1FBB_0[arg_1FBB_1] = new AnimationInstruction(arg_1FB6_0, new AnimInsEvent(arg_1FB1_0, arg_1FB1_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 6f })); arg_2069_0.Add(arg_2069_1, new Animation(arg_2064_0, arg_2064_1, arg_2064_2, arg_2064_3, arg_2064_4, arg_2064_5, arg_2064_6, arg_2064_7, arg_2064_8, arg_2064_9, arg_2064_10, arg_2064_11, arg_2064_12, arg_2064_13, arg_2064_14, array)); Dictionary<ushort, Animation> arg_212A_0 = xIn.xRenderComponent.dixAnimations; ushort arg_212A_1 = 10; ushort arg_2125_0 = 10; byte arg_2125_1 = 1; Texture2D arg_2125_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 3/Appear"); Vector2 arg_2125_3 = new Vector2(11f, 24f); int arg_2125_4 = 4; int arg_2125_5 = 9; int arg_2125_6 = 22; int arg_2125_7 = 28; int arg_2125_8 = 0; int arg_2125_9 = 0; int arg_2125_10 = 10; Animation.LoopSettings arg_2125_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2125_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2125_13 = false; bool arg_2125_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_20F4_0 = array; int arg_20F4_1 = 0; AnimInsCriteria arg_20EF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_20EA_0 = AnimInsEvent.EventType.PlaySound; string arg_20EA_1 = "Halloweed_Appear"; array2 = new float[1]; arg_20F4_0[arg_20F4_1] = new AnimationInstruction(arg_20EF_0, new AnimInsEvent(arg_20EA_0, arg_20EA_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 11f })); arg_212A_0.Add(arg_212A_1, new Animation(arg_2125_0, arg_2125_1, arg_2125_2, arg_2125_3, arg_2125_4, arg_2125_5, arg_2125_6, arg_2125_7, arg_2125_8, arg_2125_9, arg_2125_10, arg_2125_11, arg_2125_12, arg_2125_13, arg_2125_14, array)); xIn.xRenderComponent.dixAnimations.Add(11, new Animation(11, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 3/Idle"), new Vector2(9f, 24f), 4, 8, 18, 28, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); Dictionary<ushort, Animation> arg_2239_0 = xIn.xRenderComponent.dixAnimations; ushort arg_2239_1 = 12; ushort arg_2234_0 = 12; byte arg_2234_1 = 1; Texture2D arg_2234_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 3/Disappear"); Vector2 arg_2234_3 = new Vector2(11f, 27f); int arg_2234_4 = 4; int arg_2234_5 = 9; int arg_2234_6 = 20; int arg_2234_7 = 31; int arg_2234_8 = 0; int arg_2234_9 = 0; int arg_2234_10 = 12; Animation.LoopSettings arg_2234_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2234_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2234_13 = false; bool arg_2234_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_21F9_0 = array; int arg_21F9_1 = 0; AnimInsCriteria arg_21F4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_21EF_0 = AnimInsEvent.EventType.CallBackAnimation; array2 = new float[1]; arg_21F9_0[arg_21F9_1] = new AnimationInstruction(arg_21F4_0, new AnimInsEvent(arg_21EF_0, array2)); AnimationInstruction[] arg_2231_0 = array; int arg_2231_1 = 1; AnimInsCriteria arg_222C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_2227_0 = AnimInsEvent.EventType.PlaySound; string arg_2227_1 = "Halloweed_Disappear"; array2 = new float[1]; arg_2231_0[arg_2231_1] = new AnimationInstruction(arg_222C_0, new AnimInsEvent(arg_2227_0, arg_2227_1, array2)); arg_2239_0.Add(arg_2239_1, new Animation(arg_2234_0, arg_2234_1, arg_2234_2, arg_2234_3, arg_2234_4, arg_2234_5, arg_2234_6, arg_2234_7, arg_2234_8, arg_2234_9, arg_2234_10, arg_2234_11, arg_2234_12, arg_2234_13, arg_2234_14, array)); Dictionary<ushort, Animation> arg_2372_0 = xIn.xRenderComponent.dixAnimations; ushort arg_2372_1 = 13; ushort arg_236D_0 = 13; byte arg_236D_1 = 3; Texture2D arg_236D_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 3/Attack/Left"); Vector2 arg_236D_3 = new Vector2(25f, 27f); int arg_236D_4 = 4; int arg_236D_5 = 11; int arg_236D_6 = 43; int arg_236D_7 = 51; int arg_236D_8 = 0; int arg_236D_9 = 0; int arg_236D_10 = 12; Animation.LoopSettings arg_236D_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_236D_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_236D_13 = false; bool arg_236D_14 = false; array = new AnimationInstruction[4]; AnimationInstruction[] arg_22C4_0 = array; int arg_22C4_1 = 0; AnimInsCriteria arg_22BF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[] { 2f }); AnimInsEvent.EventType arg_22BA_0 = AnimInsEvent.EventType.PlaySound; string arg_22BA_1 = "Halloweed_Attack"; array2 = new float[1]; arg_22C4_0[arg_22C4_1] = new AnimationInstruction(arg_22BF_0, new AnimInsEvent(arg_22BA_0, arg_22BA_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 11f })); arg_2372_0.Add(arg_2372_1, new Animation(arg_236D_0, arg_236D_1, arg_236D_2, arg_236D_3, arg_236D_4, arg_236D_5, arg_236D_6, arg_236D_7, arg_236D_8, arg_236D_9, arg_236D_10, arg_236D_11, arg_236D_12, arg_236D_13, arg_236D_14, array)); Dictionary<ushort, Animation> arg_24AB_0 = xIn.xRenderComponent.dixAnimations; ushort arg_24AB_1 = 14; ushort arg_24A6_0 = 14; byte arg_24A6_1 = 1; Texture2D arg_24A6_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_SummonPlant, "Sprites/Spells/Plant/Level 3/Attack/Right"); Vector2 arg_24A6_3 = new Vector2(21f, 27f); int arg_24A6_4 = 4; int arg_24A6_5 = 11; int arg_24A6_6 = 43; int arg_24A6_7 = 51; int arg_24A6_8 = 0; int arg_24A6_9 = 0; int arg_24A6_10 = 12; Animation.LoopSettings arg_24A6_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_24A6_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_24A6_13 = false; bool arg_24A6_14 = false; array = new AnimationInstruction[4]; AnimationInstruction[] arg_23FD_0 = array; int arg_23FD_1 = 0; AnimInsCriteria arg_23F8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[] { 2f }); AnimInsEvent.EventType arg_23F3_0 = AnimInsEvent.EventType.PlaySound; string arg_23F3_1 = "Halloweed_Attack"; array2 = new float[1]; arg_23FD_0[arg_23FD_1] = new AnimationInstruction(arg_23F8_0, new AnimInsEvent(arg_23F3_0, arg_23F3_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 2f })); array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 11f })); arg_24AB_0.Add(arg_24AB_1, new Animation(arg_24A6_0, arg_24A6_1, arg_24A6_2, arg_24A6_3, arg_24A6_4, arg_24A6_5, arg_24A6_6, arg_24A6_7, arg_24A6_8, arg_24A6_9, arg_24A6_10, arg_24A6_11, arg_24A6_12, arg_24A6_13, arg_24A6_14, array)); } else if (enType == SpellCodex.SpellTypes._Magic_Earth_InsectSwarm) { xIn = new _Spells_InsectSwarmInstance(); _Spells_InsectSwarmInstance xCloud2 = xIn as _Spells_InsectSwarmInstance; xCloud2.xRenderComponent = new AnimatedRenderComponent(xIn); xCloud2.xRenderComponent.xTransform = xIn.xTransform; xCloud2.enType = enType; xCloud2.xRenderComponent.xOwnerObject = xIn; xCloud2.xAttackPhaseEnemy = new AttackPhase(xCloud2); xCloud2.xAttackPhaseEnemy.xStats = new AttackStats(); xCloud2.xAttackPhaseEnemy.xStats.iBreakingPower = -1; xCloud2.xAttackPhaseEnemy.xStats.iBaseDamage = 25; xCloud2.xAttackPhaseEnemy.lenLayers.Add(Collider.ColliderLayers.Enemies); xCloud2.xAttackPhaseEnemy.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); SphereCollider col6 = new SphereCollider(12f, new Vector2(-7f, -6f), xCloud2.xTransform, 0f, xCloud2); col6.xAttackPhase = xCloud2.xAttackPhaseEnemy; col6.bIsLarge = false; col6.ibitLayers = 2147483647; xCloud2.xAttackPhaseEnemy.lxCurrentColliders.Add(col6); col6 = new SphereCollider(12f, new Vector2(-7f, 9f), xCloud2.xTransform, 0f, xCloud2); col6.xAttackPhase = xCloud2.xAttackPhaseEnemy; col6.bIsLarge = false; col6.ibitLayers = 2147483647; xCloud2.xAttackPhaseEnemy.lxCurrentColliders.Add(col6); xCloud2.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xCloud2.xTransform, 9f + (float)new Random().NextDouble(), xCloud2); xCloud2.xCollisionComponent.xMovementCollider.bIsLarge = false; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, RenderMaster.txNullTex, new Vector2(11f, 20f), 4, 9, 22, 25, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Magic_Wind_SummonCloud) { xIn = new _Spells_CloudInstance(); _Spells_CloudInstance xCloud3 = xIn as _Spells_CloudInstance; xCloud3.xRenderComponent = new AnimatedRenderComponent(xIn); xCloud3.xRenderComponent.xTransform = xIn.xTransform; xCloud3.enType = enType; xCloud3.xRenderComponent.xOwnerObject = xIn; xCloud3.bPersistent = true; xCloud3.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -25f); xCloud3.xAttackPhaseEnemy = new AttackPhase(xCloud3); xCloud3.xAttackPhaseEnemy.xStats = new AttackStats(); xCloud3.xAttackPhaseEnemy.xStats.iBreakingPower = -1; xCloud3.xAttackPhaseEnemy.xStats.iBaseDamage = 25; xCloud3.xAttackPhaseEnemy.lenLayers.Add(Collider.ColliderLayers.Enemies); xCloud3.xAttackPhaseEnemy.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xCloud3.xAttackPhaseEnemy.xStats.enAttackElement = AttackStats.Element.Wind; xCloud3.xAttackPhaseEnemy.xStats.enAttackType = AttackStats.Type.Magical; SphereCollider col7 = new SphereCollider(7f, new Vector2(0f, 0f), xCloud3.xTransform, 0f, xCloud3); col7.xAttackPhase = xCloud3.xAttackPhaseEnemy; col7.bIsLarge = false; col7.ibitLayers = 2147483647; xCloud3.xAttackPhaseEnemy.lxCurrentColliders.Add(col7); xCloud3.xShadowComponent = new StaticRenderComponent(Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Monster/Bosses/Papa Slime/Spawn/smallshadow"), xCloud3.xTransform); Program.GetTheGame().xRenderMaster.RegisterShadowLayer(xCloud3.xShadowComponent, 60); xCloud3.xShadowComponent.fAlpha = 0.5f; Dictionary<ushort, Animation> arg_291B_0 = xIn.xRenderComponent.dixAnimations; ushort arg_291B_1 = 0; ushort arg_2916_0 = 0; byte arg_2916_1 = 1; Texture2D arg_2916_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Spawn"); Vector2 arg_2916_3 = new Vector2(15f, 14f); int arg_2916_4 = 4; int arg_2916_5 = 7; int arg_2916_6 = 28; int arg_2916_7 = 18; int arg_2916_8 = 0; int arg_2916_9 = 0; int arg_2916_10 = 10; Animation.LoopSettings arg_2916_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2916_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2916_13 = false; bool arg_2916_14 = false; AnimationInstruction[] array = new AnimationInstruction[2]; AnimationInstruction[] arg_28E5_0 = array; int arg_28E5_1 = 0; AnimInsCriteria arg_28E0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_28DB_0 = AnimInsEvent.EventType.PlaySound; string arg_28DB_1 = "Summon_cloud"; float[] array2 = new float[1]; arg_28E5_0[arg_28E5_1] = new AnimationInstruction(arg_28E0_0, new AnimInsEvent(arg_28DB_0, arg_28DB_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })); arg_291B_0.Add(arg_291B_1, new Animation(arg_2916_0, arg_2916_1, arg_2916_2, arg_2916_3, arg_2916_4, arg_2916_5, arg_2916_6, arg_2916_7, arg_2916_8, arg_2916_9, arg_2916_10, arg_2916_11, arg_2916_12, arg_2916_13, arg_2916_14, array)); Dictionary<ushort, Animation> arg_29D9_0 = xIn.xRenderComponent.dixAnimations; ushort arg_29D9_1 = 1; ushort arg_29D4_0 = 1; byte arg_29D4_1 = 3; Texture2D arg_29D4_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Spawn"); Vector2 arg_29D4_3 = new Vector2(15f, 14f); int arg_29D4_4 = 4; int arg_29D4_5 = 7; int arg_29D4_6 = 28; int arg_29D4_7 = 18; int arg_29D4_8 = 0; int arg_29D4_9 = 0; int arg_29D4_10 = 10; Animation.LoopSettings arg_29D4_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_29D4_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_29D4_13 = false; bool arg_29D4_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_29A3_0 = array; int arg_29A3_1 = 0; AnimInsCriteria arg_299E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_2999_0 = AnimInsEvent.EventType.PlaySound; string arg_2999_1 = "Summon_cloud"; array2 = new float[1]; arg_29A3_0[arg_29A3_1] = new AnimationInstruction(arg_299E_0, new AnimInsEvent(arg_2999_0, arg_2999_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 5f })); arg_29D9_0.Add(arg_29D9_1, new Animation(arg_29D4_0, arg_29D4_1, arg_29D4_2, arg_29D4_3, arg_29D4_4, arg_29D4_5, arg_29D4_6, arg_29D4_7, arg_29D4_8, arg_29D4_9, arg_29D4_10, arg_29D4_11, arg_29D4_12, arg_29D4_13, arg_29D4_14, array)); Dictionary<ushort, Animation> arg_2A8F_0 = xIn.xRenderComponent.dixAnimations; ushort arg_2A8F_1 = 2; ushort arg_2A8A_0 = 2; byte arg_2A8A_1 = 1; Texture2D arg_2A8A_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Despawn"); Vector2 arg_2A8A_3 = new Vector2(18f, 22f); int arg_2A8A_4 = 4; int arg_2A8A_5 = 5; int arg_2A8A_6 = 37; int arg_2A8A_7 = 25; int arg_2A8A_8 = 0; int arg_2A8A_9 = 0; int arg_2A8A_10 = 12; Animation.LoopSettings arg_2A8A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2A8A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2A8A_13 = false; bool arg_2A8A_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2A4F_0 = array; int arg_2A4F_1 = 0; AnimInsCriteria arg_2A4A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2A45_0 = AnimInsEvent.EventType.CallBackAnimation; array2 = new float[1]; arg_2A4F_0[arg_2A4F_1] = new AnimationInstruction(arg_2A4A_0, new AnimInsEvent(arg_2A45_0, array2)); AnimationInstruction[] arg_2A87_0 = array; int arg_2A87_1 = 1; AnimInsCriteria arg_2A82_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_2A7D_0 = AnimInsEvent.EventType.PlaySound; string arg_2A7D_1 = "Enemy_Poof"; array2 = new float[1]; arg_2A87_0[arg_2A87_1] = new AnimationInstruction(arg_2A82_0, new AnimInsEvent(arg_2A7D_0, arg_2A7D_1, array2)); arg_2A8F_0.Add(arg_2A8F_1, new Animation(arg_2A8A_0, arg_2A8A_1, arg_2A8A_2, arg_2A8A_3, arg_2A8A_4, arg_2A8A_5, arg_2A8A_6, arg_2A8A_7, arg_2A8A_8, arg_2A8A_9, arg_2A8A_10, arg_2A8A_11, arg_2A8A_12, arg_2A8A_13, arg_2A8A_14, array)); Dictionary<ushort, Animation> arg_2B45_0 = xIn.xRenderComponent.dixAnimations; ushort arg_2B45_1 = 3; ushort arg_2B40_0 = 3; byte arg_2B40_1 = 3; Texture2D arg_2B40_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Despawn"); Vector2 arg_2B40_3 = new Vector2(18f, 22f); int arg_2B40_4 = 4; int arg_2B40_5 = 5; int arg_2B40_6 = 37; int arg_2B40_7 = 25; int arg_2B40_8 = 0; int arg_2B40_9 = 0; int arg_2B40_10 = 12; Animation.LoopSettings arg_2B40_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2B40_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2B40_13 = false; bool arg_2B40_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2B05_0 = array; int arg_2B05_1 = 0; AnimInsCriteria arg_2B00_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2AFB_0 = AnimInsEvent.EventType.CallBackAnimation; array2 = new float[1]; arg_2B05_0[arg_2B05_1] = new AnimationInstruction(arg_2B00_0, new AnimInsEvent(arg_2AFB_0, array2)); AnimationInstruction[] arg_2B3D_0 = array; int arg_2B3D_1 = 1; AnimInsCriteria arg_2B38_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_2B33_0 = AnimInsEvent.EventType.PlaySound; string arg_2B33_1 = "Enemy_Poof"; array2 = new float[1]; arg_2B3D_0[arg_2B3D_1] = new AnimationInstruction(arg_2B38_0, new AnimInsEvent(arg_2B33_0, arg_2B33_1, array2)); arg_2B45_0.Add(arg_2B45_1, new Animation(arg_2B40_0, arg_2B40_1, arg_2B40_2, arg_2B40_3, arg_2B40_4, arg_2B40_5, arg_2B40_6, arg_2B40_7, arg_2B40_8, arg_2B40_9, arg_2B40_10, arg_2B40_11, arg_2B40_12, arg_2B40_13, arg_2B40_14, array)); xIn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Idle"), new Vector2(15f, 14f), 4, 10, 28, 18, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Idle"), new Vector2(15f, 14f), 4, 10, 28, 18, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Attack"), new Vector2(17f, 14f), 5, 4, 32, 17, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 12f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 4f })) })); xIn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Attack"), new Vector2(17f, 14f), 5, 4, 32, 17, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 12f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 5f })) })); xIn.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally; xIn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally; xIn.xRenderComponent.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally; xIn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_2E8F_0 = xIn.xRenderComponent.dixAnimations; ushort arg_2E8F_1 = 10; ushort arg_2E8A_0 = 10; byte arg_2E8A_1 = 1; Texture2D arg_2E8A_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 3/Spawn"); Vector2 arg_2E8A_3 = new Vector2(18f, 20f); int arg_2E8A_4 = 4; int arg_2E8A_5 = 7; int arg_2E8A_6 = 35; int arg_2E8A_7 = 22; int arg_2E8A_8 = 0; int arg_2E8A_9 = 0; int arg_2E8A_10 = 10; Animation.LoopSettings arg_2E8A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2E8A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2E8A_13 = false; bool arg_2E8A_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2E59_0 = array; int arg_2E59_1 = 0; AnimInsCriteria arg_2E54_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_2E4F_0 = AnimInsEvent.EventType.PlaySound; string arg_2E4F_1 = "Summon_cloud"; array2 = new float[1]; arg_2E59_0[arg_2E59_1] = new AnimationInstruction(arg_2E54_0, new AnimInsEvent(arg_2E4F_0, arg_2E4F_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 14f })); arg_2E8F_0.Add(arg_2E8F_1, new Animation(arg_2E8A_0, arg_2E8A_1, arg_2E8A_2, arg_2E8A_3, arg_2E8A_4, arg_2E8A_5, arg_2E8A_6, arg_2E8A_7, arg_2E8A_8, arg_2E8A_9, arg_2E8A_10, arg_2E8A_11, arg_2E8A_12, arg_2E8A_13, arg_2E8A_14, array)); Dictionary<ushort, Animation> arg_2F4F_0 = xIn.xRenderComponent.dixAnimations; ushort arg_2F4F_1 = 11; ushort arg_2F4A_0 = 11; byte arg_2F4A_1 = 3; Texture2D arg_2F4A_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 3/Spawn"); Vector2 arg_2F4A_3 = new Vector2(18f, 20f); int arg_2F4A_4 = 4; int arg_2F4A_5 = 7; int arg_2F4A_6 = 35; int arg_2F4A_7 = 22; int arg_2F4A_8 = 0; int arg_2F4A_9 = 0; int arg_2F4A_10 = 10; Animation.LoopSettings arg_2F4A_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_2F4A_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_2F4A_13 = false; bool arg_2F4A_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2F19_0 = array; int arg_2F19_1 = 0; AnimInsCriteria arg_2F14_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_2F0F_0 = AnimInsEvent.EventType.PlaySound; string arg_2F0F_1 = "Summon_cloud"; array2 = new float[1]; arg_2F19_0[arg_2F19_1] = new AnimationInstruction(arg_2F14_0, new AnimInsEvent(arg_2F0F_0, arg_2F0F_1, array2)); array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 15f })); arg_2F4F_0.Add(arg_2F4F_1, new Animation(arg_2F4A_0, arg_2F4A_1, arg_2F4A_2, arg_2F4A_3, arg_2F4A_4, arg_2F4A_5, arg_2F4A_6, arg_2F4A_7, arg_2F4A_8, arg_2F4A_9, arg_2F4A_10, arg_2F4A_11, arg_2F4A_12, arg_2F4A_13, arg_2F4A_14, array)); Dictionary<ushort, Animation> arg_3007_0 = xIn.xRenderComponent.dixAnimations; ushort arg_3007_1 = 12; ushort arg_3002_0 = 12; byte arg_3002_1 = 1; Texture2D arg_3002_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 3/Despawn"); Vector2 arg_3002_3 = new Vector2(20f, 20f); int arg_3002_4 = 4; int arg_3002_5 = 5; int arg_3002_6 = 43; int arg_3002_7 = 24; int arg_3002_8 = 0; int arg_3002_9 = 0; int arg_3002_10 = 12; Animation.LoopSettings arg_3002_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_3002_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_3002_13 = false; bool arg_3002_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_2FC7_0 = array; int arg_2FC7_1 = 0; AnimInsCriteria arg_2FC2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_2FBD_0 = AnimInsEvent.EventType.CallBackAnimation; array2 = new float[1]; arg_2FC7_0[arg_2FC7_1] = new AnimationInstruction(arg_2FC2_0, new AnimInsEvent(arg_2FBD_0, array2)); AnimationInstruction[] arg_2FFF_0 = array; int arg_2FFF_1 = 1; AnimInsCriteria arg_2FFA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_2FF5_0 = AnimInsEvent.EventType.PlaySound; string arg_2FF5_1 = "Enemy_Poof"; array2 = new float[1]; arg_2FFF_0[arg_2FFF_1] = new AnimationInstruction(arg_2FFA_0, new AnimInsEvent(arg_2FF5_0, arg_2FF5_1, array2)); arg_3007_0.Add(arg_3007_1, new Animation(arg_3002_0, arg_3002_1, arg_3002_2, arg_3002_3, arg_3002_4, arg_3002_5, arg_3002_6, arg_3002_7, arg_3002_8, arg_3002_9, arg_3002_10, arg_3002_11, arg_3002_12, arg_3002_13, arg_3002_14, array)); Dictionary<ushort, Animation> arg_30BF_0 = xIn.xRenderComponent.dixAnimations; ushort arg_30BF_1 = 13; ushort arg_30BA_0 = 13; byte arg_30BA_1 = 3; Texture2D arg_30BA_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 3/Despawn"); Vector2 arg_30BA_3 = new Vector2(20f, 20f); int arg_30BA_4 = 4; int arg_30BA_5 = 5; int arg_30BA_6 = 43; int arg_30BA_7 = 24; int arg_30BA_8 = 0; int arg_30BA_9 = 0; int arg_30BA_10 = 12; Animation.LoopSettings arg_30BA_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_30BA_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_30BA_13 = false; bool arg_30BA_14 = false; array = new AnimationInstruction[2]; AnimationInstruction[] arg_307F_0 = array; int arg_307F_1 = 0; AnimInsCriteria arg_307A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_3075_0 = AnimInsEvent.EventType.CallBackAnimation; array2 = new float[1]; arg_307F_0[arg_307F_1] = new AnimationInstruction(arg_307A_0, new AnimInsEvent(arg_3075_0, array2)); AnimationInstruction[] arg_30B7_0 = array; int arg_30B7_1 = 1; AnimInsCriteria arg_30B2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 2f }); AnimInsEvent.EventType arg_30AD_0 = AnimInsEvent.EventType.PlaySound; string arg_30AD_1 = "Enemy_Poof"; array2 = new float[1]; arg_30B7_0[arg_30B7_1] = new AnimationInstruction(arg_30B2_0, new AnimInsEvent(arg_30AD_0, arg_30AD_1, array2)); arg_30BF_0.Add(arg_30BF_1, new Animation(arg_30BA_0, arg_30BA_1, arg_30BA_2, arg_30BA_3, arg_30BA_4, arg_30BA_5, arg_30BA_6, arg_30BA_7, arg_30BA_8, arg_30BA_9, arg_30BA_10, arg_30BA_11, arg_30BA_12, arg_30BA_13, arg_30BA_14, array)); xIn.xRenderComponent.dixAnimations.Add(14, new Animation(14, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 3/Idle"), new Vector2(18f, 20f), 4, 10, 35, 22, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(15, new Animation(15, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 3/Idle"), new Vector2(18f, 20f), 4, 10, 35, 22, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(16, new Animation(16, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 3/Attack"), new Vector2(21f, 20f), 5, 4, 39, 22, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 12f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 14f })) })); xIn.xRenderComponent.dixAnimations.Add(17, new Animation(17, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 3/Attack"), new Vector2(21f, 20f), 5, 4, 39, 22, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[] { new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 1f }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[] { 12f })), new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[] { 15f })) })); xIn.xRenderComponent.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally; xIn.xRenderComponent.dixAnimations[13].enSpriteEffect = SpriteEffects.FlipHorizontally; xIn.xRenderComponent.dixAnimations[15].enSpriteEffect = SpriteEffects.FlipHorizontally; xIn.xRenderComponent.dixAnimations[17].enSpriteEffect = SpriteEffects.FlipHorizontally; } else if (enType == SpellCodex.SpellTypes._Magic_Wind_ChainLightning) { xIn = new _Spells_ChainLightningInstance(); _Spells_ChainLightningInstance xChainLightning = xIn as _Spells_ChainLightningInstance; xChainLightning.xRenderComponent = new AnimatedRenderComponent(xIn); xChainLightning.xRenderComponent.xTransform = xIn.xTransform; xChainLightning.xAttackPhaseEnemy = new AttackPhase(xChainLightning); xChainLightning.xAttackPhaseEnvironment = new AttackPhase(xChainLightning); xChainLightning.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xChainLightning.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); SphereCollider col8 = new SphereCollider(10f, new Vector2(0f, -11f), xChainLightning.xTransform, 0f, xChainLightning); col8.xAttackPhase = xChainLightning.xAttackPhaseEnemy; col8.bIsLarge = false; xChainLightning.xAttackPhaseEnemy.lxCurrentColliders.Add(col8); col8 = new SphereCollider(2f, new Vector2(0f, -3f), xChainLightning.xTransform, 0f, xChainLightning); col8.xAttackPhase = xChainLightning.xAttackPhaseEnvironment; col8.bCollideWithFlat = false; xChainLightning.xAttackPhaseEnvironment.lxCurrentColliders.Add(col8); xChainLightning.enType = enType; xChainLightning.xRenderComponent.xOwnerObject = xIn; xChainLightning.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -12f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Magic_Wind_WindSlice) { xIn = new _Spells_WindSliceInstance(); _Spells_WindSliceInstance xFireball5 = xIn as _Spells_WindSliceInstance; xFireball5.xRenderComponent = new AnimatedRenderComponent(xIn); xFireball5.xRenderComponent.xTransform = xIn.xTransform; xFireball5.xAttackPhaseEnemy = new AttackPhase(xFireball5); xFireball5.xAttackPhaseEnvironment = new AttackPhase(xFireball5); xFireball5.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xFireball5.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); SphereCollider col9 = new SphereCollider(12f, Vector2.Zero, xFireball5.xTransform, 0f, xFireball5); col9.xAttackPhase = xFireball5.xAttackPhaseEnemy; col9.bIsLarge = false; col9.bCollideWithFlat = false; xFireball5.xAttackPhaseEnemy.lxCurrentColliders.Add(col9); col9 = new SphereCollider(12f, Vector2.Zero, xFireball5.xTransform, 0f, xFireball5); col9.xAttackPhase = xFireball5.xAttackPhaseEnvironment; col9.bCollideWithFlat = false; xFireball5.xAttackPhaseEnvironment.lxCurrentColliders.Add(col9); xFireball5.enType = enType; xFireball5.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_WindSlice, "Sprites/Spells/Wind Slash/Level 1/Slash/Mid"), new Vector2(9f, 17f), 4, 2, 18, 35, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally; Dictionary<ushort, Animation> arg_36FE_0 = xIn.xRenderComponent.dixAnimations; ushort arg_36FE_1 = 1; ushort arg_36F9_0 = 1; byte arg_36F9_1 = 0; Texture2D arg_36F9_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_WindSlice, "Sprites/Spells/Wind Slash/Level 1/Slash/End"); Vector2 arg_36F9_3 = new Vector2(9f, 15f); int arg_36F9_4 = 4; int arg_36F9_5 = 5; int arg_36F9_6 = 28; int arg_36F9_7 = 29; int arg_36F9_8 = 0; int arg_36F9_9 = 0; int arg_36F9_10 = 5; Animation.LoopSettings arg_36F9_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_36F9_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_36F9_13 = true; bool arg_36F9_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_36F6_0 = array; int arg_36F6_1 = 0; AnimInsCriteria arg_36F1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]); AnimInsEvent.EventType arg_36EC_0 = AnimInsEvent.EventType.CallBackAnimation; float[] array2 = new float[1]; arg_36F6_0[arg_36F6_1] = new AnimationInstruction(arg_36F1_0, new AnimInsEvent(arg_36EC_0, array2)); arg_36FE_0.Add(arg_36FE_1, new Animation(arg_36F9_0, arg_36F9_1, arg_36F9_2, arg_36F9_3, arg_36F9_4, arg_36F9_5, arg_36F9_6, arg_36F9_7, arg_36F9_8, arg_36F9_9, arg_36F9_10, arg_36F9_11, arg_36F9_12, arg_36F9_13, arg_36F9_14, array)); xIn.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally; } else if (enType == SpellCodex.SpellTypes._Magic_Ice_IceSpikes) { xIn = new _Spells_IcespikeInstance(); _Spells_IcespikeInstance xFireball6 = xIn as _Spells_IcespikeInstance; xFireball6.xRenderComponent = new AnimatedRenderComponent(xIn); xFireball6.xRenderComponent.xTransform = xIn.xTransform; xFireball6.xAttackPhaseEnemy = new AttackPhase(xFireball6); xFireball6.xAttackPhaseEnvironment = new AttackPhase(xFireball6); xFireball6.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xFireball6.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); SphereCollider col10 = new SphereCollider(11f, new Vector2(0f, -7f), xFireball6.xTransform, 0f, xFireball6); col10.xAttackPhase = xFireball6.xAttackPhaseEnemy; col10.bIsLarge = false; xFireball6.xAttackPhaseEnemy.lxCurrentColliders.Add(col10); xFireball6.xAttackPhaseEnemy.RegisterCurrent(); col10 = new SphereCollider(2f, new Vector2(0f, -3f), xFireball6.xTransform, 0f, xFireball6); col10.xAttackPhase = xFireball6.xAttackPhaseEnvironment; col10.bCollideWithFlat = true; xFireball6.xAttackPhaseEnvironment.lxCurrentColliders.Add(col10); xFireball6.xAttackPhaseEnvironment.RegisterCurrent(); xFireball6.enType = enType; xFireball6.xRenderComponent.xOwnerObject = xIn; xFireball6.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -12f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Magic_Ice_IceNova) { xIn = new _Spells_IceNovaInstance(); _Spells_IceNovaInstance xNova = xIn as _Spells_IceNovaInstance; xNova.xRenderComponent = new AnimatedRenderComponent(xIn); xNova.xRenderComponent.xTransform = xIn.xTransform; xNova.xAttackPhaseEnemy = new AttackPhase(xNova); SphereCollider col11 = new SphereCollider(12f, new Vector2(0f, -4f), xNova.xTransform, 0f, xNova); col11.xAttackPhase = xNova.xAttackPhaseEnemy; col11.bIsLarge = false; xNova.xAttackPhaseEnemy.lxCurrentColliders.Add(col11); xNova.xAttackPhaseEnemy.RegisterCurrent(); xNova.enType = enType; xNova.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Magic_Ice_FrostyFriend) { xIn = new _Spells_FrostyFriendInstance(); _Spells_FrostyFriendInstance xCloud4 = xIn as _Spells_FrostyFriendInstance; xCloud4.xRenderComponent = new AnimatedRenderComponent(xIn); xCloud4.xRenderComponent.xTransform = xIn.xTransform; xCloud4.enType = enType; xCloud4.xRenderComponent.xOwnerObject = xIn; xCloud4.bPersistent = true; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, RenderMaster.txNullTex, new Vector2(15f, 14f), 4, 7, 28, 18, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, false, false, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Magic_Light_Heal) { xIn = new _Spells_HealInstance(); _Spells_HealInstance xArrow = xIn as _Spells_HealInstance; xArrow.enType = enType; xArrow.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow.xRenderComponent.xTransform = xIn.xTransform; xArrow.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 1, 1, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_Bow_ShootArrow) { xIn = new _Spells_ArrowInstance(); _Spells_ArrowInstance xArrow2 = xIn as _Spells_ArrowInstance; xArrow2.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow2.xRenderComponent.xTransform = xIn.xTransform; xArrow2.xAttackPhaseEnemy = new AttackPhase(xArrow2); xArrow2.xAttackPhaseEnvironment = new AttackPhase(xArrow2); xArrow2.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xArrow2.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); SphereCollider col12 = new SphereCollider(10f, new Vector2(0f, -3f), xArrow2.xTransform, 0f, xArrow2); col12.xAttackPhase = xArrow2.xAttackPhaseEnemy; col12.bIsLarge = false; xArrow2.xAttackPhaseEnemy.lxCurrentColliders.Add(col12); xArrow2.xAttackPhaseEnemy.RegisterCurrent(); col12 = new SphereCollider(2f, new Vector2(0f, -2f), xArrow2.xTransform, 0f, xArrow2); col12.xAttackPhase = xArrow2.xAttackPhaseEnvironment; col12.bCollideWithFlat = false; xArrow2.xAttackPhaseEnvironment.lxCurrentColliders.Add(col12); col12 = new SphereCollider(2f, new Vector2(0f, -2f), xArrow2.xTransform, 0f, xArrow2); col12.xAttackPhase = xArrow2.xAttackPhaseEnvironment; col12.bCollideWithFlat = false; xArrow2.xAttackPhaseEnvironment.lxCurrentColliders.Add(col12); xArrow2.xAttackPhaseEnvironment.RegisterCurrent(); xArrow2.enType = enType; xArrow2.xRenderComponent.xOwnerObject = xIn; xArrow2.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -12f); xArrow2.bAutoDestructInNetwork = false; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Arrows/Basic/Up"), new Vector2(4f, 8f), 4, 1, 7, 16, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>("Sprites/Spells/Arrows/Basic/Right"), new Vector2(8f, 4f), 4, 1, 16, 7, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>("Sprites/Spells/Arrows/Basic/Down"), new Vector2(4f, 8f), 4, 1, 7, 16, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>("Sprites/Spells/Arrows/Basic/Left"), new Vector2(8f, 4f), 4, 1, 16, 7, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_Bow_SplittingArrow) { xIn = new _Skills_SplittingArrowInstance(); _Skills_SplittingArrowInstance xArrow3 = xIn as _Skills_SplittingArrowInstance; xArrow3.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow3.xRenderComponent.xTransform = xIn.xTransform; xArrow3.xAttackPhaseEnemy = new AttackPhase(xArrow3); xArrow3.xAttackPhaseEnvironment = new AttackPhase(xArrow3); xArrow3.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xArrow3.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); SphereCollider col13 = new SphereCollider(10f, new Vector2(0f, -6f), xArrow3.xTransform, 0f, xArrow3); col13.xAttackPhase = xArrow3.xAttackPhaseEnemy; col13.bIsLarge = false; xArrow3.xAttackPhaseEnemy.lxCurrentColliders.Add(col13); xArrow3.xAttackPhaseEnemy.RegisterCurrent(); col13 = new SphereCollider(2f, new Vector2(0f, -2f), xArrow3.xTransform, 0f, xArrow3); col13.xAttackPhase = xArrow3.xAttackPhaseEnvironment; col13.bCollideWithFlat = false; xArrow3.xAttackPhaseEnvironment.lxCurrentColliders.Add(col13); xArrow3.xAttackPhaseEnvironment.RegisterCurrent(); xArrow3.enType = enType; xArrow3.xRenderComponent.xOwnerObject = xIn; xArrow3.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -12f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Arrows/Basic/Up"), new Vector2(4f, 8f), 4, 1, 7, 16, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>("Sprites/Spells/Arrows/Basic/Right"), new Vector2(8f, 4f), 4, 1, 16, 7, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>("Sprites/Spells/Arrows/Basic/Down"), new Vector2(4f, 8f), 4, 1, 7, 16, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>("Sprites/Spells/Arrows/Basic/Left"), new Vector2(8f, 4f), 4, 1, 16, 7, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_Bow_MachineBow) { xIn = new _Skills_MachineBowInstance(); _Skills_MachineBowInstance xArrow4 = xIn as _Skills_MachineBowInstance; xArrow4.enType = enType; xArrow4.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow4.xRenderComponent.xTransform = xIn.xTransform; xArrow4.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 1, 1, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_OneHanded_Stinger) { xIn = new _Spells_StingerInstance(); _Spells_StingerInstance xArrow5 = xIn as _Spells_StingerInstance; xArrow5.enType = enType; xArrow5.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow5.xRenderComponent.xTransform = xIn.xTransform; xArrow5.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 1, 1, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_OneHanded_QuickCounter) { xIn = new _Spells_ShortswingInstance(); _Spells_ShortswingInstance xArrow6 = xIn as _Spells_ShortswingInstance; xArrow6.bSendOwnerID = true; xArrow6.enType = enType; xArrow6.xAttackPhaseEnemy = new AttackPhase(xArrow6); xArrow6.xAttackPhaseEnemy.xStats.bKnockBackOwner = false; if (Program.GetTheGame().xNetworkInfo.enCurrentRole != NetworkHelperInterface.NetworkRole.Client) { BoxCollider col14 = new BoxCollider(24, 40, 0f, new Vector2(0f, 0f), xArrow6.xTransform, 0f, xArrow6); col14.xAttackPhase = xArrow6.xAttackPhaseEnemy; col14.bIsLarge = false; xArrow6.xAttackPhaseEnemy.lxCurrentColliders.Add(col14); } xArrow6.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow6.xRenderComponent.xTransform = xIn.xTransform; xArrow6.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 1, 1, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_OneHanded_MillionStabs) { xIn = new _Skills_StabInstance(); _Skills_StabInstance xArrow7 = xIn as _Skills_StabInstance; xArrow7.enType = enType; xArrow7.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow7.xRenderComponent.xTransform = xIn.xTransform; xArrow7.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 1, 1, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_OneHanded_ShadowClone) { xIn = new _Skills_ShadowCloneInstance(); _Skills_ShadowCloneInstance xArrow8 = xIn as _Skills_ShadowCloneInstance; xArrow8.enType = enType; xArrow8.bSendOwnerID = true; xArrow8.bPersistent = true; xArrow8.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow8.xRenderComponent.xTransform = xIn.xTransform; xArrow8.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 1, 1, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_OneHanded_SpiritSlash) { xIn = new _Skills_SpiritSlashInstance(); _Skills_SpiritSlashInstance xArrow9 = xIn as _Skills_SpiritSlashInstance; xArrow9.enType = enType; xArrow9.bSendOwnerID = true; xArrow9.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow9.xRenderComponent.xTransform = xIn.xTransform; xArrow9.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 1, 1, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_TwoHanded_Spin) { xIn = new _Spells_SpinInstance(); _Spells_SpinInstance xArrow10 = xIn as _Spells_SpinInstance; xArrow10.enType = enType; xArrow10.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow10.xRenderComponent.xTransform = xIn.xTransform; xArrow10.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 1, 1, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_TwoHanded_Overhead) { xIn = new _Spells_OverheadInstance(); _Spells_OverheadInstance xArrow11 = xIn as _Spells_OverheadInstance; xArrow11.enType = enType; xArrow11.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow11.xRenderComponent.xTransform = xIn.xTransform; xArrow11.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 1, 1, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_TwoHanded_Throw) { xIn = new _Spells_ThrowInstance(); _Spells_ThrowInstance xFireball7 = xIn as _Spells_ThrowInstance; xFireball7.xRenderComponent = new AnimatedRenderComponent(xIn); xFireball7.xRenderComponent.xTransform = xIn.xTransform; xFireball7.bSendOwnerID = true; xFireball7.xAttackPhaseEnemy = new AttackPhase(xFireball7); xFireball7.xAttackPhaseEnvironment = new AttackPhase(xFireball7); xFireball7.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xFireball7.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); if (Program.GetTheGame().xNetworkInfo.enCurrentRole != NetworkHelperInterface.NetworkRole.Client) { SphereCollider col15 = new SphereCollider(14f, new Vector2(0f, 0f), xFireball7.xTransform, 0f, xFireball7); col15.xAttackPhase = xFireball7.xAttackPhaseEnemy; col15.bIsLarge = false; xFireball7.xAttackPhaseEnemy.lxCurrentColliders.Add(col15); col15 = new SphereCollider(12f, new Vector2(0f, 0f), xFireball7.xTransform, 0f, xFireball7); col15.xAttackPhase = xFireball7.xAttackPhaseEnvironment; col15.bCollideWithFlat = false; xFireball7.xAttackPhaseEnvironment.lxCurrentColliders.Add(col15); } xFireball7.enType = enType; xFireball7.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(18f, 32f), 3, 7, 36, 41, 36, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_TwoHanded_Smash) { xIn = new _Spells_SmashInstance(); _Spells_SmashInstance xFireball8 = xIn as _Spells_SmashInstance; xFireball8.xRenderComponent = new AnimatedRenderComponent(xIn); xFireball8.xRenderComponent.xTransform = xIn.xTransform; xFireball8.bSendOwnerID = true; xFireball8.xAttackPhaseEnemy = new AttackPhase(xFireball8); xFireball8.xAttackPhaseEnvironment = new AttackPhase(xFireball8); xFireball8.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xFireball8.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); if (Program.GetTheGame().xNetworkInfo.enCurrentRole != NetworkHelperInterface.NetworkRole.Client) { SphereCollider col16 = new SphereCollider(20f, new Vector2(0f, 0f), xFireball8.xTransform, 0f, xFireball8); col16.xAttackPhase = xFireball8.xAttackPhaseEnemy; col16.bIsLarge = false; xFireball8.xAttackPhaseEnemy.lxCurrentColliders.Add(col16); col16 = new SphereCollider(20f, new Vector2(0f, 0f), xFireball8.xTransform, 0f, xFireball8); col16.xAttackPhase = xFireball8.xAttackPhaseEnemy; col16.bIsLarge = false; xFireball8.xAttackPhaseEnemy.lxCurrentColliders.Add(col16); col16 = new SphereCollider(1f, new Vector2(0f, 0f), xFireball8.xTransform, 0f, xFireball8); col16.xAttackPhase = xFireball8.xAttackPhaseEnvironment; col16.bCollideWithFlat = false; xFireball8.xAttackPhaseEnvironment.lxCurrentColliders.Add(col16); } xFireball8.enType = enType; xFireball8.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(18f, 32f), 3, 7, 36, 41, 36, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_TwoHanded_Smash_TravelInstance) { xIn = new _Spells_SmashTravelInstance(); _Spells_SmashTravelInstance xFireball9 = xIn as _Spells_SmashTravelInstance; xFireball9.xRenderComponent = new AnimatedRenderComponent(xIn); xFireball9.xRenderComponent.xTransform = xIn.xTransform; xFireball9.bSendOwnerID = true; xFireball9.xAttackPhaseEnemy = new AttackPhase(xFireball9); xFireball9.xAttackPhaseEnvironment = new AttackPhase(xFireball9); xFireball9.xAttackPhaseEnvironment.xStats.bKnockBackOwner = (xFireball9.xAttackPhaseEnemy.xStats.bKnockBackOwner = false); xFireball9.colMoveCollider = new SphereCollider(18f, new Vector2(0f, 0f), xFireball9.xTransform, 10f, xFireball9); xFireball9.colMoveCollider.bIsLarge = false; if (Program.GetTheGame().xNetworkInfo.enCurrentRole != NetworkHelperInterface.NetworkRole.Client) { SphereCollider col17 = new SphereCollider(14f, new Vector2(0f, 0f), xFireball9.xTransform, 0f, xFireball9); col17.xAttackPhase = xFireball9.xAttackPhaseEnemy; col17.bIsLarge = false; xFireball9.xAttackPhaseEnemy.lenLayers.Add(Collider.ColliderLayers.Enemies); xFireball9.xAttackPhaseEnemy.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xFireball9.xAttackPhaseEnemy.lxCurrentColliders.Add(col17); col17 = new SphereCollider(12f, new Vector2(0f, 0f), xFireball9.xTransform, 0f, xFireball9); col17.xAttackPhase = xFireball9.xAttackPhaseEnvironment; col17.bCollideWithFlat = false; xFireball9.xAttackPhaseEnvironment.lxCurrentColliders.Add(col17); } xFireball9.enType = enType; xFireball9.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(18f, 32f), 3, 7, 36, 41, 36, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Skill_TwoHanded_BerserkMode) { xIn = new _Skills_BerserkInstance(); _Skills_BerserkInstance xArrow12 = xIn as _Skills_BerserkInstance; xArrow12.enType = enType; xArrow12.bSendOwnerID = true; xArrow12.bPersistent = true; xArrow12.xRenderComponent = new AnimatedRenderComponent(xIn); xArrow12.xRenderComponent.xTransform = xIn.xTransform; xArrow12.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 1, 1, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._Ridiculon_ButterflySwarm) { xIn = new _Ridiculon_ButterflySwarmInstance(); _Ridiculon_ButterflySwarmInstance xProjectile = xIn as _Ridiculon_ButterflySwarmInstance; xProjectile.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile.xRenderComponent.xTransform = xIn.xTransform; xProjectile.enType = enType; xProjectile.xRenderComponent.xOwnerObject = xIn; xProjectile.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -6f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 4, 5, 18, 25, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); } else if (enType == SpellCodex.SpellTypes._EnemySkill_JackLantern_Flame) { xIn = new _EnemySpells_JackLanternProjectile(); _EnemySpells_JackLanternProjectile xProjectile2 = xIn as _EnemySpells_JackLanternProjectile; xProjectile2.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile2.xRenderComponent.xTransform = xIn.xTransform; xProjectile2.xAttackPhasePlayer = new AttackPhase(xProjectile2); xProjectile2.xAttackPhaseEnvironment = new AttackPhase(xProjectile2); SphereCollider col18 = new SphereCollider(6f, new Vector2(0f, -2f), xProjectile2.xTransform, 0f, xProjectile2); col18.xAttackPhase = xProjectile2.xAttackPhasePlayer; col18.bIsLarge = false; xProjectile2.xAttackPhasePlayer.lxCurrentColliders.Add(col18); xProjectile2.xAttackPhasePlayer.RegisterCurrent(); xProjectile2.xAttackPhasePlayer.xStats.bIsProjectile = true; col18 = new SphereCollider(2f, new Vector2(0f, -3f), xProjectile2.xTransform, 0f, xProjectile2); col18.xAttackPhase = xProjectile2.xAttackPhaseEnvironment; col18.bCollideWithFlat = false; xProjectile2.xAttackPhaseEnvironment.lxCurrentColliders.Add(col18); xProjectile2.enType = enType; xProjectile2.xRenderComponent.xOwnerObject = xIn; xProjectile2.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -6f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Jack o Lantern/Projectile/Projectile"), new Vector2(3f, 10f), 4, 5, 7, 13, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); DynamicLight xLight2 = new DynamicLight(); xLight2.xRenderComponent.xTransform = xIn.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, -4f); xLight2.SetScale(0.15f); xLight2.xMountObject = xIn; xLight2.enDestructionType = DynamicLight.DestructionType.Flash; xLight2.fFlicker = 0.3f; xLight2.iFlickerInterval = 15; Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight2); } else if (enType == SpellCodex.SpellTypes._EnemySkill_Halloweed_Root) { xIn = new _EnemySpells_HalloweedRoot(); _EnemySpells_HalloweedRoot xProjectile3 = xIn as _EnemySpells_HalloweedRoot; xProjectile3.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile3.xRenderComponent.xTransform = xIn.xTransform; xProjectile3.xAttackPhasePlayer = new AttackPhase(xProjectile3); xProjectile3.xAttackPhaseEnvironment = new AttackPhase(xProjectile3); SphereCollider col19 = new SphereCollider(3f, new Vector2(0f, -2f), xProjectile3.xTransform, 0f, xProjectile3); col19.xAttackPhase = xProjectile3.xAttackPhasePlayer; col19.bIsLarge = false; xProjectile3.xAttackPhasePlayer.lxCurrentColliders.Add(col19); xProjectile3.xAttackPhasePlayer.RegisterCurrent(); xProjectile3.xAttackPhasePlayer.xStats.bNonDamaging = true; col19 = new SphereCollider(2f, new Vector2(0f, -3f), xProjectile3.xTransform, 0f, xProjectile3); col19.xAttackPhase = xProjectile3.xAttackPhaseEnvironment; col19.bCollideWithFlat = false; xProjectile3.xAttackPhaseEnvironment.lxCurrentColliders.Add(col19); xProjectile3.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile3.enType = enType; xProjectile3.xRenderComponent.xOwnerObject = xIn; xProjectile3.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -6f); xIn.xRenderComponent.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(11f, 6f), 4, 1, 21, 12, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); Dictionary<ushort, Animation> arg_512E_0 = xIn.xRenderComponent.dixAnimations; ushort arg_512E_1 = 1; ushort arg_5129_0 = 1; byte arg_5129_1 = 0; Texture2D arg_5129_2 = Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Halloweed/RootEffect/Start"); Vector2 arg_5129_3 = new Vector2(21f, 26f); int arg_5129_4 = 4; int arg_5129_5 = 7; int arg_5129_6 = 41; int arg_5129_7 = 41; int arg_5129_8 = 0; int arg_5129_9 = 0; int arg_5129_10 = 13; Animation.LoopSettings arg_5129_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_5129_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_5129_13 = true; bool arg_5129_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_5126_0 = array; int arg_5126_1 = 0; AnimInsCriteria arg_5121_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_511C_0 = AnimInsEvent.EventType.PlaySound; string arg_511C_1 = "Halloweed_SnareHit"; float[] array2 = new float[1]; arg_5126_0[arg_5126_1] = new AnimationInstruction(arg_5121_0, new AnimInsEvent(arg_511C_0, arg_511C_1, array2)); arg_512E_0[arg_512E_1] = new Animation(arg_5129_0, arg_5129_1, arg_5129_2, arg_5129_3, arg_5129_4, arg_5129_5, arg_5129_6, arg_5129_7, arg_5129_8, arg_5129_9, arg_5129_10, arg_5129_11, arg_5129_12, arg_5129_13, arg_5129_14, array); Dictionary<ushort, Animation> arg_528E_0 = xIn.xRenderComponent.dixAnimations; ushort arg_528E_1 = 2; ushort arg_5289_0 = 2; byte arg_5289_1 = 0; Texture2D arg_5289_2 = Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Halloweed/RootEffect/End"); Vector2 arg_5289_3 = new Vector2(21f, 26f); int arg_5289_4 = 4; int arg_5289_5 = 6; int arg_5289_6 = 41; int arg_5289_7 = 41; int arg_5289_8 = 0; int arg_5289_9 = 0; int arg_5289_10 = 13; Animation.LoopSettings arg_5289_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_5289_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_5289_13 = true; bool arg_5289_14 = true; array = new AnimationInstruction[5]; AnimationInstruction[] arg_51A3_0 = array; int arg_51A3_1 = 0; AnimInsCriteria arg_519E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_5199_0 = AnimInsEvent.EventType.CallBackAnimation; array2 = new float[1]; arg_51A3_0[arg_51A3_1] = new AnimationInstruction(arg_519E_0, new AnimInsEvent(arg_5199_0, array2)); AnimationInstruction[] arg_51DF_0 = array; int arg_51DF_1 = 1; AnimInsCriteria arg_51DA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_51D5_0 = AnimInsEvent.EventType.FreezeFrame; array2 = new float[2]; array2[0] = 20f; arg_51DF_0[arg_51DF_1] = new AnimationInstruction(arg_51DA_0, new AnimInsEvent(arg_51D5_0, array2)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[] { -0.025f })); AnimationInstruction[] arg_5257_0 = array; int arg_5257_1 = 3; AnimInsCriteria arg_5252_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_524D_0 = AnimInsEvent.EventType.FreezeFrame; array2 = new float[2]; array2[0] = 40f; arg_5257_0[arg_5257_1] = new AnimationInstruction(arg_5252_0, new AnimInsEvent(arg_524D_0, array2)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); arg_528E_0[arg_528E_1] = new Animation(arg_5289_0, arg_5289_1, arg_5289_2, arg_5289_3, arg_5289_4, arg_5289_5, arg_5289_6, arg_5289_7, arg_5289_8, arg_5289_9, arg_5289_10, arg_5289_11, arg_5289_12, arg_5289_13, arg_5289_14, array); } else if (enType == SpellCodex.SpellTypes._EnemySkill_SummerElder_Root) { xIn = new _EnemySpells_SummerElderRoot(); _EnemySpells_SummerElderRoot xProjectile4 = xIn as _EnemySpells_SummerElderRoot; xProjectile4.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile4.xRenderComponent.xTransform = xIn.xTransform; xProjectile4.xAttackPhasePlayer = new AttackPhase(xProjectile4); xProjectile4.xAttackPhaseEnvironment = new AttackPhase(xProjectile4); SphereCollider col20 = new SphereCollider(3f, new Vector2(0f, -2f), xProjectile4.xTransform, 0f, xProjectile4); col20.xAttackPhase = xProjectile4.xAttackPhasePlayer; col20.bIsLarge = false; xProjectile4.xAttackPhasePlayer.lxCurrentColliders.Add(col20); xProjectile4.xAttackPhasePlayer.RegisterCurrent(); xProjectile4.xAttackPhasePlayer.xStats.bNonDamaging = true; col20 = new SphereCollider(2f, new Vector2(0f, -3f), xProjectile4.xTransform, 0f, xProjectile4); col20.xAttackPhase = xProjectile4.xAttackPhaseEnvironment; col20.bCollideWithFlat = false; xProjectile4.xAttackPhaseEnvironment.lxCurrentColliders.Add(col20); xProjectile4.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile4.enType = enType; xProjectile4.xRenderComponent.xOwnerObject = xIn; xProjectile4.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -6f); xIn.xRenderComponent.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(11f, 6f), 4, 1, 21, 12, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]); Dictionary<ushort, Animation> arg_549A_0 = xIn.xRenderComponent.dixAnimations; ushort arg_549A_1 = 1; ushort arg_5495_0 = 1; byte arg_5495_1 = 0; Texture2D arg_5495_2 = Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Halloweed/RootEffect/Start"); Vector2 arg_5495_3 = new Vector2(21f, 26f); int arg_5495_4 = 4; int arg_5495_5 = 7; int arg_5495_6 = 41; int arg_5495_7 = 41; int arg_5495_8 = 0; int arg_5495_9 = 0; int arg_5495_10 = 13; Animation.LoopSettings arg_5495_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_5495_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_5495_13 = true; bool arg_5495_14 = true; AnimationInstruction[] array = new AnimationInstruction[1]; AnimationInstruction[] arg_5492_0 = array; int arg_5492_1 = 0; AnimInsCriteria arg_548D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]); AnimInsEvent.EventType arg_5488_0 = AnimInsEvent.EventType.PlaySound; string arg_5488_1 = "Halloweed_SnareHit"; float[] array2 = new float[1]; arg_5492_0[arg_5492_1] = new AnimationInstruction(arg_548D_0, new AnimInsEvent(arg_5488_0, arg_5488_1, array2)); arg_549A_0[arg_549A_1] = new Animation(arg_5495_0, arg_5495_1, arg_5495_2, arg_5495_3, arg_5495_4, arg_5495_5, arg_5495_6, arg_5495_7, arg_5495_8, arg_5495_9, arg_5495_10, arg_5495_11, arg_5495_12, arg_5495_13, arg_5495_14, array); Dictionary<ushort, Animation> arg_55FA_0 = xIn.xRenderComponent.dixAnimations; ushort arg_55FA_1 = 2; ushort arg_55F5_0 = 2; byte arg_55F5_1 = 0; Texture2D arg_55F5_2 = Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Halloweed/RootEffect/End"); Vector2 arg_55F5_3 = new Vector2(21f, 26f); int arg_55F5_4 = 4; int arg_55F5_5 = 6; int arg_55F5_6 = 41; int arg_55F5_7 = 41; int arg_55F5_8 = 0; int arg_55F5_9 = 0; int arg_55F5_10 = 13; Animation.LoopSettings arg_55F5_11 = Animation.LoopSettings.Clamp; Animation.CancelOptions arg_55F5_12 = Animation.CancelOptions.IgnoreIfPlaying; bool arg_55F5_13 = true; bool arg_55F5_14 = true; array = new AnimationInstruction[5]; AnimationInstruction[] arg_550F_0 = array; int arg_550F_1 = 0; AnimInsCriteria arg_550A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 4f }); AnimInsEvent.EventType arg_5505_0 = AnimInsEvent.EventType.CallBackAnimation; array2 = new float[1]; arg_550F_0[arg_550F_1] = new AnimationInstruction(arg_550A_0, new AnimInsEvent(arg_5505_0, array2)); AnimationInstruction[] arg_554B_0 = array; int arg_554B_1 = 1; AnimInsCriteria arg_5546_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_5541_0 = AnimInsEvent.EventType.FreezeFrame; array2 = new float[2]; array2[0] = 20f; arg_554B_0[arg_554B_1] = new AnimationInstruction(arg_5546_0, new AnimInsEvent(arg_5541_0, array2)); array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[] { -0.025f })); AnimationInstruction[] arg_55C3_0 = array; int arg_55C3_1 = 3; AnimInsCriteria arg_55BE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[] { 6f }); AnimInsEvent.EventType arg_55B9_0 = AnimInsEvent.EventType.FreezeFrame; array2 = new float[2]; array2[0] = 40f; arg_55C3_0[arg_55C3_1] = new AnimationInstruction(arg_55BE_0, new AnimInsEvent(arg_55B9_0, array2)); array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[] { 1f })); arg_55FA_0[arg_55FA_1] = new Animation(arg_55F5_0, arg_55F5_1, arg_55F5_2, arg_55F5_3, arg_55F5_4, arg_55F5_5, arg_55F5_6, arg_55F5_7, arg_55F5_8, arg_55F5_9, arg_55F5_10, arg_55F5_11, arg_55F5_12, arg_55F5_13, arg_55F5_14, array); } else if (enType == SpellCodex.SpellTypes._EnemySkill_BallSpark_HomingSpark) { xIn = new _EnemySpells_BallSparkSpark(); _EnemySpells_BallSparkSpark xProjectile5 = xIn as _EnemySpells_BallSparkSpark; xProjectile5.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile5.xRenderComponent.xTransform = xIn.xTransform; xProjectile5.xAttackPhasePlayer = new AttackPhase(xProjectile5); xProjectile5.xAttackPhaseEnvironment = new AttackPhase(xProjectile5); SphereCollider col21 = new SphereCollider(3f, new Vector2(0f, -3f), xProjectile5.xTransform, 0f, xProjectile5); col21.xAttackPhase = xProjectile5.xAttackPhasePlayer; col21.bIsLarge = false; xProjectile5.xAttackPhasePlayer.lxCurrentColliders.Add(col21); xProjectile5.xAttackPhasePlayer.RegisterCurrent(); xProjectile5.xAttackPhasePlayer.xStats.bIsProjectile = true; col21 = new SphereCollider(2f, new Vector2(0f, -4f), xProjectile5.xTransform, 0f, xProjectile5); col21.xAttackPhase = xProjectile5.xAttackPhaseEnvironment; col21.bCollideWithFlat = false; xProjectile5.xAttackPhaseEnvironment.lxCurrentColliders.Add(col21); xProjectile5.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile5.enType = enType; xProjectile5.xRenderComponent.xOwnerObject = xIn; xProjectile5.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -4f); xIn.xRenderComponent.dixAnimations.Add(0, 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.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 16f; DynamicLight xLight3 = new DynamicLight(); xLight3.xRenderComponent.xTransform = xIn.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, -4f); xLight3.SetScale(0.15f); xLight3.xMountObject = xIn; xLight3.enDestructionType = DynamicLight.DestructionType.Flash; xLight3.fFlicker = 0.3f; xLight3.iFlickerInterval = 15; Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight3); } else if (enType == SpellCodex.SpellTypes._EnemySkill_Tornado) { xIn = new _EnemySpells_Tornado(); _EnemySpells_Tornado xProjectile6 = xIn as _EnemySpells_Tornado; xProjectile6.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile6.xRenderComponent.xTransform = xIn.xTransform; xProjectile6.xAttackPhasePlayer = new AttackPhase(xProjectile6); xProjectile6.xAttackPhaseEnvironment = new AttackPhase(xProjectile6); SphereCollider col22 = new SphereCollider(10f, new Vector2(0f, -3f), xProjectile6.xTransform, 0f, xProjectile6); col22.xAttackPhase = xProjectile6.xAttackPhasePlayer; col22.bIsLarge = false; xProjectile6.xAttackPhasePlayer.lxCurrentColliders.Add(col22); xProjectile6.xAttackPhasePlayer.xStats.bIsProjectile = false; xProjectile6.xAttackPhasePlayer.RegisterCurrent(); xProjectile6.xAttackPhasePlayer.xStats.bNonDamaging = true; col22 = new SphereCollider(8f, new Vector2(0f, -4f), xProjectile6.xTransform, 0f, xProjectile6); col22.xAttackPhase = xProjectile6.xAttackPhaseEnvironment; col22.bCollideWithFlat = false; xProjectile6.xAttackPhaseEnvironment.lxCurrentColliders.Add(col22); xProjectile6.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile6.xAttackPhaseEnvironment.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xProjectile6.enType = enType; xProjectile6.xRenderComponent.xOwnerObject = xIn; xProjectile6.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -4f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Wizard/Spellcast/Tornado"), new Vector2(23f, 57f), 4, 3, 46, 58, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fAlpha = 0.8f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_Pumpking_CrowSwarm) { xIn = new _EnemySpells_CrowSwarm(); _EnemySpells_CrowSwarm xProjectile7 = xIn as _EnemySpells_CrowSwarm; xProjectile7.bSendNetworkUpdates = false; xProjectile7.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile7.xRenderComponent.xTransform = xIn.xTransform; xProjectile7.xAttackPhasePlayer = new AttackPhase(xProjectile7); xProjectile7.xAttackPhaseEnvironment = new AttackPhase(xProjectile7); SphereCollider col23 = new SphereCollider(3f, new Vector2(0f, -15f), new TransformComponent(xProjectile7.xTransform.v2Pos), 0f, xProjectile7); col23.xAttackPhase = xProjectile7.xAttackPhasePlayer; col23.bIsLarge = false; xProjectile7.xAttackPhasePlayer.lxCurrentColliders.Add(col23); xProjectile7.xAttackPhasePlayer.xStats.bIsProjectile = true; col23 = new SphereCollider(2f, new Vector2(0f, -4f), xProjectile7.xTransform, 0f, xProjectile7); col23.xAttackPhase = xProjectile7.xAttackPhaseEnvironment; col23.bCollideWithFlat = false; xProjectile7.xAttackPhaseEnvironment.lxCurrentColliders.Add(col23); xProjectile7.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile7.enType = enType; xProjectile7.xRenderComponent.xOwnerObject = xIn; xProjectile7.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -4f); xIn.xRenderComponent.dixAnimations.Add(0, 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.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 16f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_PGTest_GuardableProjectile) { xIn = new _EnemySpells_PGTestGuardableProjectile(); _EnemySpells_PGTestGuardableProjectile xProjectile8 = xIn as _EnemySpells_PGTestGuardableProjectile; xProjectile8.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile8.xRenderComponent.xTransform = xIn.xTransform; xProjectile8.xAttackPhasePlayer = new AttackPhase(xProjectile8); BoxCollider col24 = new BoxCollider(12, 36, 0f, new Vector2(0f, -3f), xProjectile8.xTransform, 0f, xProjectile8); col24.xAttackPhase = xProjectile8.xAttackPhasePlayer; col24.bIsLarge = false; xProjectile8.xAttackPhasePlayer.lxCurrentColliders.Add(col24); xProjectile8.xAttackPhasePlayer.RegisterCurrent(); xProjectile8.enType = enType; xProjectile8.xRenderComponent.xOwnerObject = xIn; xProjectile8.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -3f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Green"), new Vector2(8f, 8f), 4, 4, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 16f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_PGTest_RoguelikeGuardableProjectile) { xIn = new _EnemySpells_PGTestGuardableProjectileRoguelike(); _EnemySpells_PGTestGuardableProjectileRoguelike xProjectile9 = xIn as _EnemySpells_PGTestGuardableProjectileRoguelike; xProjectile9.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile9.xRenderComponent.xTransform = xIn.xTransform; xProjectile9.xAttackPhasePlayer = new AttackPhase(xProjectile9); BoxCollider col25 = new BoxCollider(12, 36, 0f, new Vector2(0f, -3f), xProjectile9.xTransform, 0f, xProjectile9); col25.xAttackPhase = xProjectile9.xAttackPhasePlayer; col25.bIsLarge = false; xProjectile9.xAttackPhasePlayer.lxCurrentColliders.Add(col25); xProjectile9.xAttackPhasePlayer.RegisterCurrent(); xProjectile9.enType = enType; xProjectile9.xRenderComponent.xOwnerObject = xIn; xProjectile9.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -3f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Green"), new Vector2(8f, 8f), 4, 4, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 16f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_BulletHellKnockbackBullet) { xIn = new _EnemySpells_GenericStraightBullet(); _EnemySpells_GenericStraightBullet xProjectile10 = xIn as _EnemySpells_GenericStraightBullet; xProjectile10.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile10.xRenderComponent.xTransform = xIn.xTransform; xProjectile10.xAttackPhasePlayer = new AttackPhase(xProjectile10); xProjectile10.xAttackPhaseEnvironment = new AttackPhase(xProjectile10); SphereCollider col26 = new SphereCollider(3f, new Vector2(0f, -3f), xProjectile10.xTransform, 0f, xProjectile10); col26.xAttackPhase = xProjectile10.xAttackPhasePlayer; col26.bIsLarge = false; xProjectile10.xAttackPhasePlayer.lxCurrentColliders.Add(col26); xProjectile10.xAttackPhasePlayer.RegisterCurrent(); col26 = new SphereCollider(1f, new Vector2(0f, -3f), xProjectile10.xTransform, 0f, xProjectile10); col26.xAttackPhase = xProjectile10.xAttackPhaseEnvironment; col26.bCollideWithFlat = false; col26.bIsActive = false; xProjectile10.xAttackPhaseEnvironment.lxCurrentColliders.Add(col26); xProjectile10.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile10.enType = enType; xProjectile10.xRenderComponent.xOwnerObject = xIn; xProjectile10.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -4f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Red"), new Vector2(8f, 8f), 4, 4, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 16f; DynamicLight xLight4 = new DynamicLight(); xLight4.xRenderComponent.xTransform = xIn.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, -4f); xLight4.SetScale(0.15f); xLight4.xMountObject = xIn; xLight4.enDestructionType = DynamicLight.DestructionType.Flash; xLight4.fFlicker = 0.3f; xLight4.iFlickerInterval = 15; Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight4); } else if (enType == SpellCodex.SpellTypes._EnemySkill_PhasemanRedBullet) { xIn = new _EnemySpells_GenericStraightBullet(); _EnemySpells_GenericStraightBullet xProjectile11 = xIn as _EnemySpells_GenericStraightBullet; xProjectile11.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile11.xRenderComponent.xTransform = xIn.xTransform; xProjectile11.xAttackPhasePlayer = new AttackPhase(xProjectile11); xProjectile11.xAttackPhaseEnvironment = new AttackPhase(xProjectile11); SphereCollider col27 = new SphereCollider(3f, new Vector2(0f, 0f), xProjectile11.xTransform, 0f, xProjectile11); col27.xAttackPhase = xProjectile11.xAttackPhasePlayer; col27.bIsLarge = false; xProjectile11.xAttackPhasePlayer.lxCurrentColliders.Add(col27); xProjectile11.xAttackPhasePlayer.RegisterCurrent(); xProjectile11.xAttackPhasePlayer.xStats.bIsProjectile = true; col27 = new SphereCollider(1f, new Vector2(0f, 0f), xProjectile11.xTransform, 0f, xProjectile11); col27.xAttackPhase = xProjectile11.xAttackPhaseEnvironment; col27.bCollideWithFlat = false; xProjectile11.xAttackPhaseEnvironment.lxCurrentColliders.Add(col27); xProjectile11.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile11.enType = enType; xProjectile11.xRenderComponent.xOwnerObject = xIn; xProjectile11.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Red"), new Vector2(8f, 8f), 4, 4, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_PhasemanSpecial) { xIn = new _EnemySpells_PhasemanSpecialProjectile(); _EnemySpells_PhasemanSpecialProjectile xProjectile12 = xIn as _EnemySpells_PhasemanSpecialProjectile; xProjectile12.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile12.xRenderComponent.xTransform = xIn.xTransform; xProjectile12.xAttackPhasePlayer = new AttackPhase(xProjectile12); SphereCollider col28 = new SphereCollider(3f, new Vector2(0f, -3f), xProjectile12.xTransform, 0f, xProjectile12); col28.xAttackPhase = xProjectile12.xAttackPhasePlayer; col28.bIsLarge = false; xProjectile12.xAttackPhasePlayer.lxCurrentColliders.Add(col28); xProjectile12.xAttackPhasePlayer.RegisterCurrent(); xProjectile12.xAttackPhasePlayer.xStats.bIsProjectile = true; xProjectile12.enType = enType; xProjectile12.xRenderComponent.xOwnerObject = xIn; xProjectile12.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -4f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Green"), new Vector2(8f, 8f), 4, 4, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; DynamicLight xLight5 = new DynamicLight(); xLight5.xRenderComponent.xTransform = xIn.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, -4f); xLight5.SetScale(0.15f); xLight5.xMountObject = xIn; xLight5.enDestructionType = DynamicLight.DestructionType.Flash; xLight5.fFlicker = 0.3f; xLight5.iFlickerInterval = 15; Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight5); } else if (enType == SpellCodex.SpellTypes._EnemySkill_PhasemanMegaBullet) { xIn = new _EnemySpells_PhasemanMegabullet(); _EnemySpells_PhasemanMegabullet xProjectile13 = xIn as _EnemySpells_PhasemanMegabullet; xProjectile13.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile13.xRenderComponent.xTransform = xIn.xTransform; xProjectile13.xAttackPhasePlayer = new AttackPhase(xProjectile13); SphereCollider col29 = new SphereCollider(3f, new Vector2(0f, 0f), xProjectile13.xTransform, 0f, xProjectile13); col29.xAttackPhase = xProjectile13.xAttackPhasePlayer; col29.bIsLarge = false; xProjectile13.xAttackPhasePlayer.lxCurrentColliders.Add(col29); xProjectile13.xAttackPhasePlayer.RegisterCurrent(); xProjectile13.xAttackPhasePlayer.xStats.bIsProjectile = true; col29 = new SphereCollider(1f, new Vector2(0f, 0f), xProjectile13.xTransform, 0f, xProjectile13); col29.bCollideWithFlat = false; xProjectile13.enType = enType; xProjectile13.xRenderComponent.xOwnerObject = xIn; xProjectile13.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Purple"), new Vector2(8f, 8f), 4, 4, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; DynamicLight xLight6 = new DynamicLight(); xLight6.xRenderComponent.xTransform = xIn.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, -4f); xLight6.SetScale(0.15f); xLight6.xMountObject = xIn; xLight6.enDestructionType = DynamicLight.DestructionType.Flash; xLight6.fFlicker = 0.3f; xLight6.iFlickerInterval = 15; Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight6); } else if (enType == SpellCodex.SpellTypes._EnemySkill_Crystal_ShieldProjectile) { xIn = new _EnemySpells_CrystalShieldProjectile(); _EnemySpells_CrystalShieldProjectile xProjectile14 = xIn as _EnemySpells_CrystalShieldProjectile; xProjectile14.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile14.xRenderComponent.xTransform = xIn.xTransform; xProjectile14.enType = enType; xProjectile14.xRenderComponent.xOwnerObject = xIn; xProjectile14.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -4f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/Shield/ProjectileStart"), new Vector2(7f, 7f), 4, 3, 15, 15, 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[] { 1f })) })); xIn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/Shield/Projectile"), new Vector2(7f, 7f), 4, 6, 15, 15, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 16f; xIn.xRenderComponent.v2OffsetRenderPos.Y = -20f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_GundamRocket) { xIn = new _EnemySpells_Rocket(); _EnemySpells_Rocket xProjectile15 = xIn as _EnemySpells_Rocket; xProjectile15.bSendNetworkUpdates = false; xProjectile15.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile15.xRenderComponent.xTransform = xIn.xTransform; xProjectile15.xAttackPhasePlayer = new AttackPhase(xProjectile15); SphereCollider col30 = new SphereCollider(20f, new Vector2(0f, 0f), xProjectile15.xTransform, 0f, xProjectile15); col30.xAttackPhase = xProjectile15.xAttackPhasePlayer; col30.bIsLarge = false; xProjectile15.xAttackPhasePlayer.lxCurrentColliders.Add(col30); xProjectile15.xAttackPhasePlayer.lenLayers.Add(Collider.ColliderLayers.Players); xProjectile15.xAttackPhasePlayer.lenLayers.Add(Collider.ColliderLayers.Neutrals); xProjectile15.xAttackPhasePlayer.xStats.bIsProjectile = true; xProjectile15.enType = enType; xProjectile15.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/Rocket"), new Vector2(8f, 6f), 4, 1, 17, 32, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight = 10000f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_ArbitraryCircularDamage) { xIn = new _EnemySpells_ArbitraryCircularExplosion(); _EnemySpells_ArbitraryCircularExplosion xProjectile16 = xIn as _EnemySpells_ArbitraryCircularExplosion; xProjectile16.bSendNetworkUpdates = false; xProjectile16.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile16.xRenderComponent.xTransform = xIn.xTransform; xProjectile16.xAttackPhasePlayer = new AttackPhase(xProjectile16); SphereCollider col31 = new SphereCollider(20f, new Vector2(0f, 0f), xProjectile16.xTransform, 0f, xProjectile16); col31.xAttackPhase = xProjectile16.xAttackPhasePlayer; col31.bIsLarge = false; xProjectile16.xAttackPhasePlayer.lxCurrentColliders.Add(col31); xProjectile16.xAttackPhasePlayer.lenLayers.Add(Collider.ColliderLayers.Players); xProjectile16.xAttackPhasePlayer.lenLayers.Add(Collider.ColliderLayers.Neutrals); xProjectile16.xAttackPhasePlayer.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xProjectile16.xAttackPhasePlayer.xStats.bIsProjectile = false; xProjectile16.enType = enType; xProjectile16.xRenderComponent.xOwnerObject = xIn; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(8f, 6f), 4, 1, 17, 32, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight = 10000f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_OrbitBullet) { xIn = new _EnemySpells_GenericOrbitBullet(); _EnemySpells_GenericOrbitBullet xProjectile17 = xIn as _EnemySpells_GenericOrbitBullet; xProjectile17.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile17.xRenderComponent.xTransform = xIn.xTransform; xProjectile17.xAttackPhasePlayer = new AttackPhase(xProjectile17); xProjectile17.xAttackPhaseEnvironment = new AttackPhase(xProjectile17); SphereCollider col32 = new SphereCollider(3f, new Vector2(0f, 0f), xProjectile17.xTransform, 0f, xProjectile17); col32.xAttackPhase = xProjectile17.xAttackPhasePlayer; col32.bIsLarge = false; xProjectile17.xAttackPhasePlayer.lxCurrentColliders.Add(col32); xProjectile17.xAttackPhasePlayer.RegisterCurrent(); xProjectile17.xAttackPhasePlayer.xStats.bIsProjectile = true; col32 = new SphereCollider(1f, new Vector2(0f, 0f), xProjectile17.xTransform, 0f, xProjectile17); col32.xAttackPhase = xProjectile17.xAttackPhaseEnvironment; col32.bCollideWithFlat = false; xProjectile17.xAttackPhaseEnvironment.lxCurrentColliders.Add(col32); xProjectile17.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile17.enType = enType; xProjectile17.xRenderComponent.xOwnerObject = xIn; xProjectile17.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Directional_Purple"), new Vector2(7f, 8f), 4, 1, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 10f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_DelayedHomingBullet) { xIn = new _EnemySpells_DelayedHomingBullet(); _EnemySpells_DelayedHomingBullet xProjectile18 = xIn as _EnemySpells_DelayedHomingBullet; xProjectile18.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile18.xRenderComponent.xTransform = xIn.xTransform; xProjectile18.xAttackPhasePlayer = new AttackPhase(xProjectile18); xProjectile18.xAttackPhaseEnvironment = new AttackPhase(xProjectile18); SphereCollider col33 = new SphereCollider(3f, new Vector2(0f, 0f), xProjectile18.xTransform, 0f, xProjectile18); col33.xAttackPhase = xProjectile18.xAttackPhasePlayer; col33.bIsLarge = false; xProjectile18.xAttackPhasePlayer.lxCurrentColliders.Add(col33); xProjectile18.xAttackPhasePlayer.RegisterCurrent(); xProjectile18.xAttackPhasePlayer.xStats.bIsProjectile = true; col33 = new SphereCollider(1f, new Vector2(0f, 0f), xProjectile18.xTransform, 0f, xProjectile18); col33.xAttackPhase = xProjectile18.xAttackPhaseEnvironment; col33.bCollideWithFlat = false; xProjectile18.xAttackPhaseEnvironment.lxCurrentColliders.Add(col33); xProjectile18.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile18.enType = enType; xProjectile18.xRenderComponent.xOwnerObject = xIn; xProjectile18.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Directional_Turkos"), new Vector2(7f, 8f), 4, 1, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 6f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_GundamMegaBullet) { xIn = new _EnemySpells_GundamMegabullet(); _EnemySpells_GundamMegabullet xProjectile19 = xIn as _EnemySpells_GundamMegabullet; xProjectile19.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile19.xRenderComponent.xTransform = xIn.xTransform; xProjectile19.xAttackPhasePlayer = new AttackPhase(xProjectile19); SphereCollider col34 = new SphereCollider(3f, new Vector2(0f, 0f), xProjectile19.xTransform, 0f, xProjectile19); col34.xAttackPhase = xProjectile19.xAttackPhasePlayer; col34.bIsLarge = false; xProjectile19.xAttackPhasePlayer.lxCurrentColliders.Add(col34); xProjectile19.xAttackPhasePlayer.RegisterCurrent(); xProjectile19.xAttackPhasePlayer.xStats.bIsProjectile = true; col34 = new SphereCollider(1f, new Vector2(0f, 0f), xProjectile19.xTransform, 0f, xProjectile19); col34.bCollideWithFlat = false; xProjectile19.enType = enType; xProjectile19.xRenderComponent.xOwnerObject = xIn; xProjectile19.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Purple"), new Vector2(8f, 8f), 4, 4, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; DynamicLight xLight7 = new DynamicLight(); xLight7.xRenderComponent.xTransform = xIn.xTransform; xLight7.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])); xLight7.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -4f); xLight7.SetScale(0.15f); xLight7.xMountObject = xIn; xLight7.enDestructionType = DynamicLight.DestructionType.Flash; xLight7.fFlicker = 0.3f; xLight7.iFlickerInterval = 15; Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight7); } else if (enType == SpellCodex.SpellTypes._EnemySkill_ScoundrelSnowBall_Small) { xIn = new _EnemySpells_SmallSnowBall(); _EnemySpells_SmallSnowBall xProjectile20 = xIn as _EnemySpells_SmallSnowBall; xProjectile20.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile20.xRenderComponent.xTransform = xIn.xTransform; xProjectile20.xAttackPhasePlayer = new AttackPhase(xProjectile20); xProjectile20.xAttackPhaseEnvironment = new AttackPhase(xProjectile20); SphereCollider col35 = new SphereCollider(5f, new Vector2(0f, 0f), xProjectile20.xTransform, 0f, xProjectile20); col35.xAttackPhase = xProjectile20.xAttackPhasePlayer; col35.bIsLarge = false; xProjectile20.xAttackPhasePlayer.lxCurrentColliders.Add(col35); xProjectile20.xAttackPhasePlayer.RegisterCurrent(); xProjectile20.xAttackPhasePlayer.xStats.bIsProjectile = true; col35 = new SphereCollider(1f, new Vector2(0f, 0f), xProjectile20.xTransform, 0f, xProjectile20); col35.xAttackPhase = xProjectile20.xAttackPhaseEnvironment; col35.bCollideWithFlat = false; xProjectile20.xAttackPhaseEnvironment.lxCurrentColliders.Add(col35); xProjectile20.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile20.enType = enType; xProjectile20.xRenderComponent.xOwnerObject = xIn; xProjectile20.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Snowball"), new Vector2(2f, 3f), 4, 1, 5, 5, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_ScoundrelSnowBall_Big) { xIn = new _EnemySpells_BigSnowBall(); _EnemySpells_BigSnowBall xProjectile21 = xIn as _EnemySpells_BigSnowBall; xProjectile21.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile21.xRenderComponent.xTransform = xIn.xTransform; xProjectile21.xAttackPhasePlayer = new AttackPhase(xProjectile21); xProjectile21.xAttackPhaseEnvironment = new AttackPhase(xProjectile21); SphereCollider col36 = new SphereCollider(10f, new Vector2(0f, 0f), xProjectile21.xTransform, 0f, xProjectile21); col36.xAttackPhase = xProjectile21.xAttackPhasePlayer; col36.bIsLarge = false; xProjectile21.xAttackPhasePlayer.lxCurrentColliders.Add(col36); xProjectile21.xAttackPhasePlayer.xStats.bIsProjectile = true; xProjectile21.enType = enType; xProjectile21.xRenderComponent.xOwnerObject = xIn; xProjectile21.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/SnowballBig"), new Vector2(6f, 10f), 4, 1, 12, 12, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_SteamPipeSteam) { xIn = new _EnemySpells_GenericStraightBullet(); _EnemySpells_GenericStraightBullet xProjectile22 = xIn as _EnemySpells_GenericStraightBullet; xProjectile22.bFadeIn = false; xProjectile22.bScaleIn = false; xProjectile22.bScaleOut = false; xProjectile22.bDisableAllNetworking = true; xProjectile22.bSendNetworkUpdates = false; xProjectile22.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile22.xRenderComponent.xTransform = xIn.xTransform; xProjectile22.xAttackPhasePlayer = new AttackPhase(xProjectile22); xProjectile22.xAttackPhaseEnvironment = new AttackPhase(xProjectile22); SphereCollider col37 = new SphereCollider(5f, new Vector2(0f, 0f), xProjectile22.xTransform, 0f, xProjectile22); col37.xAttackPhase = xProjectile22.xAttackPhasePlayer; col37.bIsLarge = false; xProjectile22.xAttackPhasePlayer.lxCurrentColliders.Add(col37); xProjectile22.xAttackPhasePlayer.RegisterCurrent(); xProjectile22.xAttackPhasePlayer.xStats.bIsProjectile = true; xProjectile22.enType = enType; xProjectile22.xRenderComponent.xOwnerObject = xIn; xProjectile22.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 7f), 5, 12, 18, 14, 18, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_LinearShockwave) { xIn = new _EnemySpells_LinearShockwave(); _EnemySpells_LinearShockwave xProjectile23 = xIn as _EnemySpells_LinearShockwave; xProjectile23.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile23.xRenderComponent.xTransform = xIn.xTransform; xProjectile23.xAttackPhasePlayer = new AttackPhase(xProjectile23); xProjectile23.xAttackPhaseEnvironment = new AttackPhase(xProjectile23); SphereCollider col38 = new SphereCollider(9f, new Vector2(0f, 0f), xProjectile23.xTransform, 0f, xProjectile23); col38.xAttackPhase = xProjectile23.xAttackPhasePlayer; col38.bIsLarge = false; xProjectile23.xAttackPhasePlayer.lxCurrentColliders.Add(col38); xProjectile23.xAttackPhasePlayer.RegisterCurrent(); xProjectile23.xAttackPhasePlayer.xStats.bIsProjectile = true; xProjectile23.xAttackPhasePlayer.xStats.bIgnoreShield = true; xProjectile23.xAttackPhasePlayer.xStats.enShieldCrush = AttackStats.ShieldCrush.AllIncludingPerfectGuard; col38 = new SphereCollider(5f, new Vector2(0f, 0f), xProjectile23.xTransform, 0f, xProjectile23); col38.xAttackPhase = xProjectile23.xAttackPhaseEnvironment; col38.bCollideWithFlat = false; xProjectile23.xAttackPhaseEnvironment.lxCurrentColliders.Add(col38); xProjectile23.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile23.enType = enType; xProjectile23.xRenderComponent.xOwnerObject = xIn; xProjectile23.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(8f, 8f), 4, 4, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_SpinningShieldThing) { xIn = new _EnemySpells_SpinningShieldThings(); _EnemySpells_SpinningShieldThings xProjectile24 = xIn as _EnemySpells_SpinningShieldThings; xProjectile24.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile24.xRenderComponent.xTransform = xIn.xTransform; xProjectile24.enType = enType; xProjectile24.xRenderComponent.xOwnerObject = xIn; xProjectile24.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xProjectile24.bSendOwnerAsWorldActor = true; xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Wizard/Attack/Projectile/Cube"), new Vector2(11f, 12f), 4, 6, 22, 23, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.v2OffsetRenderPos.Y = -5f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_AutumnMageProjectile) { xIn = new _EnemySpells_SeasonMageProjectile(); _EnemySpells_SeasonMageProjectile xProjectile25 = xIn as _EnemySpells_SeasonMageProjectile; xProjectile25.enBigParticleTail = SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnProjectile_BigParticle; xProjectile25.enSmallParticleTrail = SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnProjectile_SmallParticle; xProjectile25.enDestroyEffect = SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnProjectile_Destroyed; xProjectile25.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile25.xRenderComponent.xTransform = xIn.xTransform; xProjectile25.xAttackPhasePlayer = new AttackPhase(xProjectile25); xProjectile25.xAttackPhaseEnvironment = new AttackPhase(xProjectile25); xProjectile25.bFadeIn = false; xProjectile25.bScaleIn = false; xProjectile25.bScaleOut = true; SphereCollider col39 = new SphereCollider(5f, new Vector2(0f, 0f), xProjectile25.xTransform, 0f, xProjectile25); col39.xAttackPhase = xProjectile25.xAttackPhasePlayer; col39.bIsLarge = false; xProjectile25.xAttackPhasePlayer.lxCurrentColliders.Add(col39); xProjectile25.xAttackPhasePlayer.RegisterCurrent(); xProjectile25.xAttackPhasePlayer.xStats.bIsProjectile = true; col39 = new SphereCollider(1f, new Vector2(0f, 0f), xProjectile25.xTransform, 0f, xProjectile25); col39.xAttackPhase = xProjectile25.xAttackPhaseEnvironment; col39.bCollideWithFlat = false; xProjectile25.xAttackPhaseEnvironment.lxCurrentColliders.Add(col39); xProjectile25.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile25.enType = enType; xProjectile25.xRenderComponent.xOwnerObject = xIn; xProjectile25.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Wizard/Attack/Projectile/Cube"), new Vector2(11f, 12f), 4, 6, 22, 23, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_WinterMageProjectile) { xIn = new _EnemySpells_SeasonMageProjectile(); _EnemySpells_SeasonMageProjectile xProjectile26 = xIn as _EnemySpells_SeasonMageProjectile; xProjectile26.enBigParticleTail = SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterProjectile_BigParticle; xProjectile26.enSmallParticleTrail = SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterProjectile_SmallParticle; xProjectile26.enDestroyEffect = SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterProjectile_Destroyed; xProjectile26.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile26.xRenderComponent.xTransform = xIn.xTransform; xProjectile26.xAttackPhasePlayer = new AttackPhase(xProjectile26); xProjectile26.xAttackPhaseEnvironment = new AttackPhase(xProjectile26); xProjectile26.bFadeIn = false; xProjectile26.bScaleIn = false; xProjectile26.bScaleOut = true; SphereCollider col40 = new SphereCollider(5f, new Vector2(0f, 0f), xProjectile26.xTransform, 0f, xProjectile26); col40.xAttackPhase = xProjectile26.xAttackPhasePlayer; col40.bIsLarge = false; xProjectile26.xAttackPhasePlayer.lxCurrentColliders.Add(col40); xProjectile26.xAttackPhasePlayer.RegisterCurrent(); xProjectile26.xAttackPhasePlayer.xStats.bIsProjectile = true; col40 = new SphereCollider(1f, new Vector2(0f, 0f), xProjectile26.xTransform, 0f, xProjectile26); col40.xAttackPhase = xProjectile26.xAttackPhaseEnvironment; col40.bCollideWithFlat = false; xProjectile26.xAttackPhaseEnvironment.lxCurrentColliders.Add(col40); xProjectile26.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile26.enType = enType; xProjectile26.xRenderComponent.xOwnerObject = xIn; xProjectile26.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Wizard/Attack/Projectile/Cube"), new Vector2(11f, 12f), 4, 6, 22, 23, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_SummerMageProjectile) { xIn = new _EnemySpells_SeasonMageProjectile(); _EnemySpells_SeasonMageProjectile xProjectile27 = xIn as _EnemySpells_SeasonMageProjectile; xProjectile27.enBigParticleTail = SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerProjectile_BigParticle; xProjectile27.enSmallParticleTrail = SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerProjectile_SmallParticle; xProjectile27.enDestroyEffect = SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerProjectile_Destroyed; xProjectile27.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile27.xRenderComponent.xTransform = xIn.xTransform; xProjectile27.xAttackPhasePlayer = new AttackPhase(xProjectile27); xProjectile27.xAttackPhaseEnvironment = new AttackPhase(xProjectile27); xProjectile27.bFadeIn = false; xProjectile27.bScaleIn = false; xProjectile27.bScaleOut = true; SphereCollider col41 = new SphereCollider(5f, new Vector2(0f, 0f), xProjectile27.xTransform, 0f, xProjectile27); col41.xAttackPhase = xProjectile27.xAttackPhasePlayer; col41.bIsLarge = false; xProjectile27.xAttackPhasePlayer.lxCurrentColliders.Add(col41); xProjectile27.xAttackPhasePlayer.RegisterCurrent(); xProjectile27.xAttackPhasePlayer.xStats.bIsProjectile = true; col41 = new SphereCollider(1f, new Vector2(0f, 0f), xProjectile27.xTransform, 0f, xProjectile27); col41.xAttackPhase = xProjectile27.xAttackPhaseEnvironment; col41.bCollideWithFlat = false; xProjectile27.xAttackPhaseEnvironment.lxCurrentColliders.Add(col41); xProjectile27.xAttackPhaseEnvironment.RegisterCurrent(); xProjectile27.enType = enType; xProjectile27.xRenderComponent.xOwnerObject = xIn; xProjectile27.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Wizard/Attack/Projectile/Cube"), new Vector2(11f, 12f), 4, 6, 22, 23, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_SummerHydraFire) { xIn = new _EnemySpells_SummerHydraFire(); _EnemySpells_SummerHydraFire xProjectile28 = xIn as _EnemySpells_SummerHydraFire; xProjectile28.enType = enType; xProjectile28.xAttackPhase = new AttackPhase(xProjectile28); SphereCollider col42 = new SphereCollider(15f, new Vector2(0f, 0f), xProjectile28.xTransform, 0f, xProjectile28); col42.xAttackPhase = xProjectile28.xAttackPhase; col42.bIsLarge = false; xProjectile28.xAttackPhase.lxCurrentColliders.Add(col42); xProjectile28.xAttackPhase.xStats.bIsProjectile = false; xProjectile28.xAttackPhase.lenLayers.Add(Collider.ColliderLayers.Players); xProjectile28.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile28.xRenderComponent.xTransform = xIn.xTransform; xProjectile28.xRenderComponent.xOwnerObject = xIn; xProjectile28.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Wizard/Attack/Projectile/Cube"), new Vector2(11f, 12f), 4, 6, 22, 23, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 180f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_WinterHydraFrost) { xIn = new _EnemySpells_WinterHydraBreath(); _EnemySpells_WinterHydraBreath xProjectile29 = xIn as _EnemySpells_WinterHydraBreath; xProjectile29.enType = enType; xProjectile29.xAttackPhase = new AttackPhase(xProjectile29); SphereCollider col43 = new SphereCollider(15f, new Vector2(0f, 0f), xProjectile29.xTransform, 0f, xProjectile29); col43.xAttackPhase = xProjectile29.xAttackPhase; col43.bIsLarge = false; xProjectile29.xAttackPhase.lxCurrentColliders.Add(col43); xProjectile29.xAttackPhase.xStats.bIsProjectile = false; xProjectile29.xAttackPhase.xStats.bIgnoreShield = true; xProjectile29.xAttackPhase.lenLayers.Add(Collider.ColliderLayers.Players); xProjectile29.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile29.xRenderComponent.xTransform = xIn.xTransform; xProjectile29.xRenderComponent.xOwnerObject = xIn; xProjectile29.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Wizard/Attack/Projectile/Cube"), new Vector2(11f, 12f), 4, 6, 22, 23, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 180f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_AutumnHydraShot) { xIn = new _EnemySpells_AutumnHydraHomingShot(); _EnemySpells_AutumnHydraHomingShot xProjectile30 = xIn as _EnemySpells_AutumnHydraHomingShot; xProjectile30.enType = enType; xProjectile30.xAttackPhasePlayer = new AttackPhase(xProjectile30); SphereCollider col44 = new SphereCollider(15f, new Vector2(0f, 0f), xProjectile30.xTransform, 0f, xProjectile30); col44.xAttackPhase = xProjectile30.xAttackPhasePlayer; col44.bIsLarge = false; xProjectile30.xAttackPhasePlayer.lxCurrentColliders.Add(col44); xProjectile30.xAttackPhasePlayer.xStats.bIsProjectile = true; xProjectile30.xAttackPhasePlayer.xStats.bIgnoreShield = false; xProjectile30.xAttackPhasePlayer.lenLayers.Add(Collider.ColliderLayers.Players); xProjectile30.xRenderComponent = new AnimatedRenderComponent(xIn); xProjectile30.xRenderComponent.xTransform = xIn.xTransform; xProjectile30.xRenderComponent.xOwnerObject = xIn; xProjectile30.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xProjectile30.AddSpore(SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnBigSpore_Looping, Utility.RandomizeVector2Direction(CAS.RandomInVisual) * 0f); float fPart = 1.57079637f; for (int i = 0; i < 4; i++) { SortedAnimated.SortedAnimatedEffects en = SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnBigSpore_Looping; if (i % 2 == 0) { en = SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnSmallSpore_Looping; } xProjectile30.AddSpore(en, Utility.RadiansToVector2(fPart * (float)i) * 5f); } fPart = 0.7853982f; for (int j = 0; j < 8; j++) { SortedAnimated.SortedAnimatedEffects en2 = SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnBigSpore_Looping; if (j % 2 == 0) { en2 = SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnSmallSpore_Looping; } xProjectile30.AddSpore(en2, Utility.RadiansToVector2(fPart * (float)j) * 8f); } fPart = 0.5235988f; for (int k = 0; k < 12; k++) { SortedAnimated.SortedAnimatedEffects en3 = SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnBigSpore_Looping; if (k % 2 == 0) { en3 = SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnSmallSpore_Looping; } xProjectile30.AddSpore(en3, Utility.RadiansToVector2(fPart * (float)k) * 11f); } xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(11f, 12f), 4, 6, 22, 23, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 180f; xIn.xRenderComponent.fScale = 0f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_GasCloud_Blind) { xIn = new _EnemySpells_GasCloud(); _EnemySpells_GasCloud xGasCloud = xIn as _EnemySpells_GasCloud; xGasCloud.xRenderComponent = new AnimatedRenderComponent(xIn); xGasCloud.xRenderComponent.xTransform = xIn.xTransform; xGasCloud.xAttackPhasePlayer = new AttackPhase(xGasCloud); SphereCollider col45 = new SphereCollider(12f, new Vector2(0f, 0f), xGasCloud.xTransform, 0f, xGasCloud); col45.xAttackPhase = xGasCloud.xAttackPhasePlayer; col45.bIsLarge = false; xGasCloud.xAttackPhasePlayer.lenLayers.Add(Collider.ColliderLayers.Players); xGasCloud.xAttackPhasePlayer.lxCurrentColliders.Add(col45); xGasCloud.xAttackPhasePlayer.RegisterCurrent(); xGasCloud.xAttackPhasePlayer.xStats.bIsProjectile = true; xGasCloud.xAttackPhasePlayer.xStats.bIgnoreShield = true; xGasCloud.xAttackPhasePlayer.xStats.bNonDamaging = true; xGasCloud.enType = enType; xGasCloud.xRenderComponent.xOwnerObject = xIn; xGasCloud.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Mushroom/Smoke"), new Vector2(13f, 11f), 4, 9, 26, 23, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; } else if (enType == SpellCodex.SpellTypes._EnemySkill_GasCloud_Burn) { xIn = new _EnemySpells_GasCloud(); _EnemySpells_GasCloud xGasCloud2 = xIn as _EnemySpells_GasCloud; xGasCloud2.xRenderComponent = new AnimatedRenderComponent(xIn); xGasCloud2.xRenderComponent.xTransform = xIn.xTransform; xGasCloud2.xAttackPhasePlayer = new AttackPhase(xGasCloud2); SphereCollider col46 = new SphereCollider(5f, new Vector2(0f, 0f), xGasCloud2.xTransform, 0f, xGasCloud2); col46.xAttackPhase = xGasCloud2.xAttackPhasePlayer; col46.bIsLarge = false; xGasCloud2.xAttackPhasePlayer.lenLayers.Add(Collider.ColliderLayers.Players); xGasCloud2.xAttackPhasePlayer.lxCurrentColliders.Add(col46); xGasCloud2.xAttackPhasePlayer.RegisterCurrent(); xGasCloud2.xAttackPhasePlayer.xStats.bIgnoreShield = true; xGasCloud2.xAttackPhasePlayer.xStats.bNonDamaging = true; xGasCloud2.enType = enType; xGasCloud2.xRenderComponent.xOwnerObject = xIn; xGasCloud2.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, 0f); xIn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(22f, 38f), 4, 1, 46, 53, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0])); xIn.xRenderComponent.fVirtualHeight += 0f; } return xIn; }
public override void Setup() { base.Setup(); this.colHitbox = new BoxCollider(new Rectangle((int)this.xTransform.v2Pos.X - 30, (int)this.xTransform.v2Pos.Y - 30, 60, 60)); this.colHitbox.ibitLayers = 2147483647; }
public void LoadAttackPhase(string sCategory, ushort p_iAnimation) { if (!Program.game.xAttackPhaseCollection.xMasterList[sCategory].ContainsKey(p_iAnimation)) { return; } this.CancelPhase(); AttackPhaseLoader xLoad = Program.GetTheGame().xAttackPhaseCollection.xMasterList[sCategory][p_iAnimation]; this.llxAllColliders = xLoad.llxAllColliders; this.lenLayers = xLoad.lenLayers; this.lxCurrentColliders = new List<Collider>(); this.xStats.denxSpecialEffects.Clear(); this.xStats.CopyStats(xLoad.xAttackStats); this.lenEffectPool = xLoad.lenEffectPool; this.enEffectEvent = xLoad.enEffectEvent; for (int i = 0; i < xLoad.iNumberOfColliders; i++) { Collider.ColliderType enColType = Collider.ColliderType.Sphere; for (int j = 0; j < xLoad.llxAllColliders.Count; j++) { if (xLoad.llxAllColliders[j] != null && xLoad.llxAllColliders[j][i] != null) { enColType = xLoad.llxAllColliders[j][i].enColliderType; break; } } if (this.xRC.enType == RenderComponent.ComponentType.PlayerRenderComponent) { PlayerRenderComponent xPRC = (PlayerRenderComponent)this.xRC; Collider colToAdd; if (enColType == Collider.ColliderType.Sphere) { colToAdd = new SphereCollider(0f, Vector2.Zero, xPRC.xOwnerObject.xTransform, 0f, xPRC.xOwnerObject); } else { colToAdd = new BoxCollider(0, 0, 0f, Vector2.Zero, xPRC.xOwnerObject.xTransform, 0f, xPRC.xOwnerObject); } colToAdd.ibitLayers = ((PlayerEntity)this.xOwner).xCollisionComponent.xMovementCollider.ibitLayers; this.lxCurrentColliders.Add(colToAdd); } else if (this.xRC.enType == RenderComponent.ComponentType.AnimatedRenderComponent) { AnimatedRenderComponent xARC = (AnimatedRenderComponent)this.xRC; Collider colToAdd2; if (enColType == Collider.ColliderType.Sphere) { colToAdd2 = new SphereCollider(0f, Vector2.Zero, xARC.xOwnerObject.xTransform, 0f, xARC.xOwnerObject); } else { colToAdd2 = new BoxCollider(0, 0, 0f, Vector2.Zero, xARC.xOwnerObject.xTransform, 0f, xARC.xOwnerObject); } colToAdd2.ibitLayers = ((Enemy)this.xOwner).xCollisionComponent.xMovementCollider.ibitLayers; this.lxCurrentColliders.Add(colToAdd2); } this.lxCurrentColliders[i].bIsActive = false; } base.RegisterCurrent(); this.iCurrentFrame = 0; this.iAnimation = p_iAnimation; if (this.llxAllColliders[this.iCurrentFrame] != null) { this.FillCurrent(this.llxAllColliders[this.iCurrentFrame]); } this.bInAttackPhase = true; this.lxHitEntities.Clear(); this.bSelfKnockbackOccured = false; }
public static void LoadCollider(BinaryReader br, List<Collider> lxSC, Vector2 v2Offset) { int enType = br.ReadInt32(); Vector2 v2Pos = new Vector2(br.ReadSingle(), br.ReadSingle()) + v2Offset; int iLayer = br.ReadInt32(); bool bIsFlat = br.ReadBoolean(); Collider xCol; if (enType == 0) { int iWidth = br.ReadInt32(); int iHeight = br.ReadInt32(); float fRotation = br.ReadSingle(); xCol = new BoxCollider(new Rectangle((int)v2Pos.X - iWidth / 2, (int)v2Pos.Y - iHeight / 2, iWidth, iHeight), fRotation); } else { float fRadius = br.ReadSingle(); xCol = SphereCollider.CreateShell(v2Pos, fRadius); } Loader.AddAdvancedCollider(xCol, iLayer, bIsFlat); }
private void CreateBarricades() { this.xBarricadeCollider = new BoxCollider(new Rectangle(989, 429, 68, 26)); Program.game.xCollisionMaster.RegisterStaticCollider(this.xBarricadeCollider); }
private Vector2 ResolveMovementCollision(BoxCollider col1, BoxCollider col2) { int iRotatedCol = 0; Vector2 v2TopLeft = new Vector2(col1.Left, col1.Top); Vector2 v2TopRight = new Vector2(col1.Right, col1.Top); Vector2 v2BottomLeft = new Vector2(col1.Left, col1.Bottom); Vector2 v2BottomRight = new Vector2(col1.Right, col1.Bottom); if (col1.fRotation != 0f) { iRotatedCol = 1; v2TopLeft = new Vector2(col2.Left, col2.Top); v2TopRight = new Vector2(col2.Right, col2.Top); v2BottomLeft = new Vector2(col2.Left, col2.Bottom); v2BottomRight = new Vector2(col2.Right, col2.Bottom); v2TopLeft = Utility.RotateVector2AroundPoint(col1.WorldPosition, v2TopLeft, -col1.fRotation); v2TopRight = Utility.RotateVector2AroundPoint(col1.WorldPosition, v2TopRight, -col1.fRotation); v2BottomLeft = Utility.RotateVector2AroundPoint(col1.WorldPosition, v2BottomLeft, -col1.fRotation); v2BottomRight = Utility.RotateVector2AroundPoint(col1.WorldPosition, v2BottomRight, -col1.fRotation); } else if (col2.fRotation != 0f) { iRotatedCol = 2; v2TopLeft = Utility.RotateVector2AroundPoint(col2.WorldPosition, v2TopLeft, -col2.fRotation); v2TopRight = Utility.RotateVector2AroundPoint(col2.WorldPosition, v2TopRight, -col2.fRotation); v2BottomLeft = Utility.RotateVector2AroundPoint(col2.WorldPosition, v2BottomLeft, -col2.fRotation); v2BottomRight = Utility.RotateVector2AroundPoint(col2.WorldPosition, v2BottomRight, -col2.fRotation); } Vector2 v2ToEdge = Vector2.Zero; if (iRotatedCol == 0) { Rectangle rec = new Rectangle((int)col1.Left, (int)col1.Top, col1.iWidth, col1.iHeight); Rectangle rec2 = new Rectangle((int)col2.Left, (int)col2.Top, col2.iWidth, col2.iHeight); byte byBestDir = 0; int iDistanceUp = Math.Abs(rec.Top - rec2.Bottom); int iDistanceRight = Math.Abs(rec.Right - rec2.Left); int iDistanceDown = Math.Abs(rec.Bottom - rec2.Top); int iDistanceLeft = Math.Abs(rec.Left - rec2.Right); int iLowest = iDistanceUp; if (iLowest > iDistanceRight) { byBestDir = 1; iLowest = iDistanceRight; } if (iLowest > iDistanceDown) { byBestDir = 2; iLowest = iDistanceDown; } if (iLowest > iDistanceLeft) { byBestDir = 3; iLowest = iDistanceLeft; } v2ToEdge = -Utility.AnimationDirectionToVector2((int)byBestDir) * (float)iLowest; } else if (iRotatedCol != 1) { if (col2.IsPointInside(v2TopLeft)) { v2ToEdge = col2.GetDistanceToClosestEdge(v2TopLeft); } else if (col2.IsPointInside(v2TopRight)) { v2ToEdge = col2.GetDistanceToClosestEdge(v2TopRight); } else if (col2.IsPointInside(v2BottomLeft)) { v2ToEdge = col2.GetDistanceToClosestEdge(v2BottomLeft); } else if (col2.IsPointInside(v2BottomRight)) { v2ToEdge = col2.GetDistanceToClosestEdge(v2BottomRight); } } return v2ToEdge; }
public void SimulateSeasonSwitch() { SphereCollider colCompare = new SphereCollider(5f, Vector2.Zero, 0f, null); colCompare.ibitLayers = Utility.CreateIntMask(new int[] { 22 }); if (RenderMaster.enPlayfieldPassOne != RenderMaster.PlayfieldRenderPass.Season_Winter) { this.hv2PositionsWithBridge.Clear(); this.hv2PositionsWithColliders.Clear(); foreach (Collider col in this.lxAllBoxColliders) { this.hv2PositionsWithBridge.Add(col.WorldPosition); } List<Vector2> lv2Mos = new List<Vector2> { new Vector2(0f, 1f), new Vector2(1f, 0f), new Vector2(-1f, 0f), new Vector2(0f, -1f) }; for (int i = 0; i < this.lxWaterPuzzleBlocks.Count; i++) { this.lxWaterPuzzleBlocks[i].xCollisionComponent.ChangeColliderLayer(Utility.CreateIntMask(new int[] { 20, 21 })); } foreach (Collider col2 in this.lxAllBoxColliders) { for (int j = 0; j < 4; j++) { Vector2 v2TargetPos = lv2Mos[j] * 20f + col2.WorldPosition; colCompare.xMountTransform.v2Pos = v2TargetPos; if (!Program.game._CollisionMaster_CheckVsStatic(colCompare) && !this.hv2PositionsWithBridge.Contains(v2TargetPos) && !this.hv2PositionsWithColliders.Contains(v2TargetPos)) { this.hv2PositionsWithColliders.Add(v2TargetPos); BoxCollider colNew = new BoxCollider(24, 24, 0f, Vector2.Zero, new TransformComponent(v2TargetPos), 10000f, null); Program.game.xCollisionMaster.RegisterStaticCollider(colNew); this.lxSpawnedColliders.Add(colNew); } } } using (HashSet<Vector2>.Enumerator enumerator3 = this.hv2Shores.GetEnumerator()) { while (enumerator3.MoveNext()) { Vector2 v2Pos = enumerator3.Current; if (!this.hv2PositionsWithBridge.Contains(v2Pos) && !this.hv2PositionsWithColliders.Contains(v2Pos)) { this.hv2PositionsWithColliders.Add(v2Pos); BoxCollider colNew2 = new BoxCollider(24, 24, 0f, Vector2.Zero, new TransformComponent(v2Pos), 10000f, null); Program.game.xCollisionMaster.RegisterStaticCollider(colNew2); this.lxSpawnedColliders.Add(colNew2); } } return; } } for (int k = 0; k < this.lxSpawnedColliders.Count; k++) { Program.game.xCollisionMaster.UnregisterStaticCollider(this.lxSpawnedColliders[k]); } for (int l = 0; l < this.lxWaterPuzzleBlocks.Count; l++) { this.lxWaterPuzzleBlocks[l].xCollisionComponent.ChangeColliderLayer(Utility.CreateIntMask(new int[] { 1, 20, 21 })); } }
public override Collider Clone(TransformComponent p_xMount) { BoxCollider xLol = new BoxCollider(this.iWidth, this.iHeight, this.fRotation, this.xLocalTransform.v2Pos, p_xMount, this.fWeight, this.xOwnerObject); base.CopyDetails(xLol); return xLol; }