IEnumerator Phase3() { print("PHASE 3"); float SV = 31.03f; MusicController.control.SkipToPoint(SV); Spawner3.MoveObjectToPoint(0, null, new Vector2(-2, 0), 0); Spawner4.MoveObjectToPoint(0, null, new Vector2(2, 0), 0); Spawner3.CreateShape_Circle(31.03f - SV, null, new Vector3(-2, 0), 0.38f, 9, 0.5f, 0.5f, 1, true); Spawner3.ChangeScale(34.73f - SV, null, 4, 4, 3.1f); Spawner4.CreateShape_Circle(37.74f - SV, null, new Vector3(2, 0), 0.38f, 9, 0.5f, 0.5f, 1, true); Spawner4.ChangeScale(41.35f - SV, null, 4, 4, 3.1f); Spawner1.CreateLine_ToFrom(44.36f - SV, null, new Vector2(-2, -2.5f), null, new Vector2(2, -2.5f), 0.38f, 5, 0, 0, true); Spawner1.CreateLine_ToFrom(44.36f - SV, null, new Vector2(-2, 2.5f), null, new Vector2(2, 2.5f), 0.38f, 5, 0, 0, true); Spawner1.BreakRandomly_Children(46.32f - SV, 0, 2); Spawner1.ChangeAlpha_Children(46.32f - SV, 0, 0, 4); Spawner1.Destroy_Children(50.32f - SV, 0); Spawner3.RotateDegrees(46.32f - SV, null, 360, 1.45f); Spawner4.RotateDegrees(46.32f - SV, null, -360, 1.45f); Spawner2.CreateLine_ToFrom(47.87f - SV, null, new Vector2(-2.5f, -2.5f), null, new Vector2(2.5f, -2.5f), 0.38f, 5, 0, 0, true); Spawner2.CreateLine_ToFrom(47.87f - SV, null, new Vector2(-2.5f, 2.5f), null, new Vector2(2.5f, 2.5f), 0.38f, 5, 0, 0, true); Spawner2.BreakRandomly_Children(49.56f - SV, 0, 2); Spawner2.ChangeAlpha_Children(49.56f - SV, 0, 0, 4); Spawner2.Destroy_Children(53.56f - SV, 0); Spawner3.RotateDegrees(49.73f - SV, null, -360, 1.35f); Spawner4.RotateDegrees(49.73f - SV, null, 360, 1.35f); Spawner1.CreateLine_ToFrom(51.21f - SV, null, new Vector2(-2.5f, -2.5f), null, new Vector2(2.5f, -2.5f), 0.38f, 5, 0, 0, true); Spawner1.CreateLine_ToFrom(51.21f - SV, null, new Vector2(-2.5f, 2.5f), null, new Vector2(2.5f, 2.5f), 0.38f, 5, 0, 0, true); Spawner1.BreakToTarget_Children(52.89f - SV, null, new Vector2(0, 0), 0, 4); Spawner1.Destroy_Children(56.89f - SV, 0); Spawner1.Shoot_CircleBurst(54.90f - SV, null, new Vector3(-1, 1), 15, 2, 3); Spawner2.Shoot_CircleBurst(55.75f - SV, null, new Vector3(1, 1), 15, 2, 3); Spawner1.Shoot_CircleBurst(57.25f - SV, null, new Vector3(0, 0), 15, 1.5f, 3); Spawner2.Shoot_CircleBurst(57.25f - SV, null, new Vector3(0, 0), 15, 2, 3); yield return(new WaitForSeconds(57.88f - SV)); yield return(null); }
IEnumerator Phase8() { print("PHASE 8"); float SV = 141.78f; MusicController.control.SkipToPoint(SV); Spawner3.RotateAroundPoint(141.78f - SV, null, null, new Vector2(0, 0), 3.5f, 2.5f, 0.75f, 270, true); Spawner4.RotateAroundPoint(141.78f - SV, null, null, new Vector2(0, 0), 3.5f, 2.5f, 0.75f, 90, true); Spawner3.RotateDegrees(141.78f - SV - SV, null, 0, 30); Spawner4.RotateDegrees(141.78f - SV, null, 0, 30); Spawner_Main.MoveObjectToPoint(147.3f - SV, Pikachu_Left, new Vector2(-3, -1.5f), 0.5f); Spawner_Main.MoveObjectToPoint(147.3f - SV, Pikachu_Right, new Vector2(3, -1.5f), 0.5f); Spawner_Main.MoveObjectToPoint(148.5f - SV, Pikachu_Left, Pikachu_Left_Starting, 1f); Spawner_Main.MoveObjectToPoint(148.5f - SV, Pikachu_Right, Pikachu_Right_Starting, 1f); Spawner3.Shoot_AtTarget(147.7f - SV, null, new Vector2(-4, 3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(147.7f - SV, null, new Vector2(-4, -3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(147.7f - SV, null, new Vector2(4, 3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(147.7f - SV, null, new Vector2(4, -3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(154.58f - SV, null, new Vector2(-4, 3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(154.58f - SV, null, new Vector2(-4, -3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(154.58f - SV, null, new Vector2(4, 3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(154.58f - SV, null, new Vector2(4, -3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(161.09f - SV, null, new Vector2(-4, 3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(161.09f - SV, null, new Vector2(-4, -3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(161.09f - SV, null, new Vector2(4, 3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(161.09f - SV, null, new Vector2(4, -3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 4, 0, 4); Spawner3.Shoot_AtTarget(168.01f - SV, null, new Vector2(-4, 3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 6, 0, 4); Spawner3.Shoot_AtTarget(168.01f - SV, null, new Vector2(-4, -3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 6, 0, 4); Spawner3.Shoot_AtTarget(168.01f - SV, null, new Vector2(4, 3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 6, 0, 4); Spawner3.Shoot_AtTarget(168.01f - SV, null, new Vector2(4, -3), PlayersGameObject(), new Vector2(0, 0), 0, 1, 6, 0, 4); Spawner3.Stop_RotateAround(167.05f - SV); Spawner4.Stop_RotateAround(167.05f - SV); Spawner3.Stop_ForeverRotate(167.05f - SV); Spawner4.Stop_ForeverRotate(167.05f - SV); Spawner3.BreakRandomly_Children(167.05f - SV, 0, 1); Spawner4.BreakRandomly_Children(167.05f - SV, 0, 1); Spawner3.ChangeAlpha_Children(167.05f - SV, 0.0f, 0, 1); Spawner4.ChangeAlpha_Children(167.05f - SV, 0.0f, 0, 1); Spawner3.Destroy_Children(168.05f - SV, 0); Spawner4.Destroy_Children(168.05f - SV, 0); Spawner1.Shoot_CircleBurst(169.07f - SV, null, new Vector3(-1, 1), 15, 2, 3); Spawner2.Shoot_CircleBurst(169.87f - SV, null, new Vector3(1, 1), 15, 2, 3); Spawner1.Shoot_CircleBurst(171.37f - SV, null, new Vector3(0, 0), 15, 1.5f, 3); Spawner2.Shoot_CircleBurst(171.37f - SV, null, new Vector3(0, 0), 15, 2, 3); yield return(new WaitForSeconds(172.14f - SV)); ResetObjectSpawner(Spawner3); ResetObjectSpawner(Spawner4); yield return(null); }