public void activateGirlMutant()
    {
        Debug.Log("activating girl mutant");
        Scene.SceneTracker.visibleEnemies.Add(this.rootTr.gameObject);
        girlMutantAiManager component = base.transform.GetComponent <girlMutantAiManager>();

        if (component)
        {
            component.setInitialWeightParams();
            component.girlStartPos = base.transform.position;
            component.setupHealthParams();
        }
        GameObject gameObject = new GameObject("girlSpawnGo");

        gameObject.transform.position = base.transform.position;
        this.setup.spawnGo            = gameObject;
        this.setup.homeGo             = gameObject;
        this.setup.typeSetup.inCave   = true;
        this.fsmInCaveBool            = this.setup.pmCombat.FsmVariables.GetFsmBool("inCaveBool");
        this.fsmInCaveBool.Value      = true;
        this.setup.pmCombat.SendEvent("begin");
        this.setup.ai.enabled        = true;
        this.ai.girlFullyTransformed = true;
        this.ai.animSpeed            = 1.2f;
        this.animator.speed          = 1.2f;
        this.ast = base.transform.parent.GetComponentInChildren <arrowStickToTarget>();
        if (this.ast)
        {
            this.ast.enabled = true;
        }
        if (LocalPlayer.Stats)
        {
            LocalPlayer.Stats.IsFightingBoss = true;
        }
        if (BoltNetwork.isServer)
        {
            setupEndBoss setupEndBoss = setupEndBoss.Create(GlobalTargets.Everyone);
            setupEndBoss.bossActive = 1;
            setupEndBoss.Send();
        }
    }
    public void activateGirlMutantInWorld()
    {
        Debug.Log("activate girl in world!");
        Scene.SceneTracker.visibleEnemies.Add(this.rootTr.gameObject);
        girlMutantAiManager component = base.transform.GetComponent <girlMutantAiManager>();

        if (component)
        {
            component.setInitialWeightParams();
            component.girlStartPos = base.transform.position;
            component.setupHealthParams();
        }
        this.animator.CrossFade("Base Layer.transform", 0f, 0, 0f);
        GameObject gameObject = new GameObject("girlSpawnGo");

        gameObject.transform.position = base.transform.position;
        this.setup.spawnGo            = gameObject;
        this.setup.homeGo             = gameObject;
        this.setup.typeSetup.inCave   = false;
        this.setup.pmCombat.SendEvent("begin");
        this.setup.ai.enabled            = true;
        this.ai.girlFullyTransformed     = true;
        this.ai.animSpeed                = 1.1f;
        this.animator.speed              = 1.1f;
        this.setup.health.Health         = 145;
        this.setup.health.maxHealth      = 145;
        this.setup.health.maxHealthFloat = 145f;
        base.transform.localScale        = new Vector3(1.25f, 1.25f, 1.25f);
        this.animator.SetBool("fullyTransformed", true);
        this.activeInWorld = true;
        this.setup.search.fsmInCave.Value = false;
        this.setup.pmCombat.FsmVariables.GetFsmBool("activeInWorld").Value = true;
        disableInOverworld componentInChildren = base.transform.GetComponentInChildren <disableInOverworld>();

        if (componentInChildren)
        {
            foreach (GameObject gameObject2 in componentInChildren.disableGo)
            {
                gameObject2.SetActive(false);
            }
            foreach (GameObject gameObject3 in componentInChildren.enableGo)
            {
                gameObject3.SetActive(true);
            }
        }
        mutantVis component2 = base.transform.GetComponent <mutantVis>();

        if (component2)
        {
            component2.enabled = true;
        }
        FMOD_BankLoader component3 = base.transform.GetComponent <FMOD_BankLoader>();

        if (component3)
        {
            component3.enabled = true;
        }
        this.ast = base.transform.parent.GetComponentInChildren <arrowStickToTarget>();
        if (this.ast)
        {
            this.ast.enabled = true;
        }
    }