public static void SofiaReturnScript()
        {
            WorldEntity OurSofia = Shell.GetEntityByName("SOFIA");

            OurSofia.AnimationQueue.Clear();
            Animation  FreshTween  = new Animation("sofia_return_tween");
            SortedList TweenFrames = Animation.CreateVectorTween(new Vector2(0, 405 - OurSofia.DrawCoords.Y), 1000, 20);

            FreshTween.WriteMovement(TweenFrames);
            OurSofia.AnimationQueue.Add(FreshTween);
        }
        public static String GetExitThrowLocation(String Name, String[] ShiftCondition)
        {
            String ExitScript = "";

            switch (Name)
            {
            case "SOFIA_KING_PRIMARY_SNIFFER":
                ExitScript = "EXIT_KING_PRIMARY";
                break;

            case "SOFIA_CROOKED_PRIMARY_FINALIZE_SNIFFER":
                ExitScript = "EXIT_CROOKED_PRIMARY_FINALIZE";
                break;

            default:
                if (ShiftCondition.Contains <String>("GWS:impos_mapnavigate"))
                {
                    ExitScript = "EXIT_DEFAULT_PROPER";
                }
                else
                {
                    WorldEntity PotentialKing    = Shell.GetEntityByName("KING SOFIA");
                    WorldEntity PotentialMystic  = Shell.GetEntityByName("MYSTIC SOFIA");
                    WorldEntity PotentialCrooked = Shell.GetEntityByName("CROOKED SOFIA");
                    if (PotentialKing != null && PotentialKing.ColourValue.A >= 254f && PotentialKing.DrawCoords.X < 1280 && PotentialKing.DrawCoords.X > 0)
                    {
                        ExitScript = "EXIT_DEFAULT_KING";
                    }
                    else if (PotentialMystic != null && PotentialMystic.ColourValue.A >= 254f && PotentialMystic.DrawCoords.X < 1280 && PotentialMystic.DrawCoords.X > 0)
                    {
                        ExitScript = "EXIT_DEFAULT_MYSTIC";
                    }
                    else if (PotentialCrooked != null && PotentialCrooked.ColourValue.A >= 254f && PotentialCrooked.DrawCoords.X < 1280 && PotentialCrooked.DrawCoords.X > 0)
                    {
                        ExitScript = "EXIT_DEFAULT_CROOKED";
                    }
                    else
                    {
                        ExitScript = "EXIT_DEFAULT";
                    }
                }
                break;
            }
            return(ExitScript);
        }