Exemplo n.º 1
0
 private void Update()
 {
     Collider2D[] colliders = Physics2D.OverlapCircleAll(transform.position, radius);
     foreach (var VARIABLE in colliders)
     {
         if (VARIABLE.CompareTag("Tower") || VARIABLE.CompareTag("Wall") || VARIABLE.CompareTag("Ally"))
         {
             Repair(VARIABLE.gameObject);
         }
     }
 }
Exemplo n.º 2
0
    private bool FoundPlayer()
    {
        Collider[] temp = Physics.OverlapSphere(transform.position, sightRadius);
        foreach (var VARIABLE in temp)
        {
            if (VARIABLE.CompareTag("Player"))
            {
                attackTarget = VARIABLE.gameObject;
                return(true);
            }
        }

        attackTarget = null;
        return(false);
    }
        void Start()
        {
            textBox1 = FindObjectsOfType <Text>().FirstOrDefault(x => x.CompareTag("Text1"));
            textBox2 = FindObjectsOfType <Text>().FirstOrDefault(x => x.CompareTag("Text2"));

            foreach (var VARIABLE in Resources.FindObjectsOfTypeAll <Image>())
            {
                if (VARIABLE.CompareTag("BackgroundLeft"))
                {
                    backgroundLeft = VARIABLE;
                }
                else if (VARIABLE.CompareTag("BackgroundRight"))
                {
                    backgroundRight = VARIABLE;
                }
                else if (VARIABLE.CompareTag("TextbackgroundLeft"))
                {
                    textBackgroundLeft = VARIABLE;
                }
                else if (VARIABLE.CompareTag("TextbackgroundRight"))
                {
                    textBackgroundRight = VARIABLE;
                }

                else if (VARIABLE.CompareTag("LeftScreen"))
                {
                    spriteLeft = VARIABLE;
                }

                else if (VARIABLE.CompareTag("RightScreen"))
                {
                    spriteRight = VARIABLE;
                }

                else if (VARIABLE.CompareTag("BtnAlex"))
                {
                    alexSprite = VARIABLE;
                }
                else if (VARIABLE.CompareTag("BtnJesse"))
                {
                    jesseSprite = VARIABLE;
                }
            }
            var pNum = PhotonNetwork.LocalPlayer.ActorNumber;

            player1 = Scene1Script.player1;
            player2 = Scene1Script.player2;

            mainStory1         = new Story(MainInkFile1.text);
            mainStory2         = new Story(MainInkFile2.text);
            char1story         = new Story(FirstCharInkFile.text);
            char2story         = new Story(SecondCharInkFile.text);
            UserReplyReceived += OnUserReplyReceived;

            setProunouns();

            if (Scene1Script.recovery)
            {
                Scene1Script.recovery = false;
                mainStory1.state.LoadJson(
                    System.IO.File.ReadAllText(@"D:\tese\RecoveryFiles\G" + Scene1Script.TestGroup + "PT2Main1.txt"));
                mainStory2.state.LoadJson(
                    System.IO.File.ReadAllText(@"D:\tese\RecoveryFiles\G" + Scene1Script.TestGroup + "PT2Main2.txt"));

                char1story.state.LoadJson(
                    System.IO.File.ReadAllText(@"D:\tese\RecoveryFiles\G" + Scene1Script.TestGroup + "PT2c1.txt"));

                char2story.state.LoadJson(
                    System.IO.File.ReadAllText(@"D:\tese\RecoveryFiles\G" + Scene1Script.TestGroup + "PT2c2.txt"));

                tBox1 = System.IO.File.ReadAllLines(@"D:\tese\RecoveryFiles\G" + Scene1Script.TestGroup + "PT2screenText1.txt")
                        .ToList();


                tBox2 = System.IO.File.ReadAllLines(@"D:\tese\RecoveryFiles\G" + Scene1Script.TestGroup + "PT2screenText2.txt")
                        .ToList();
                foreach (var l in tBox1)
                {
                    textBox1.text += l + "\n";
                }

                foreach (var l in tBox2)
                {
                    textBox2.text += l + "\n";
                }

                if (char1story.variablesState["Background"].Equals("Store1"))
                {
                    backgroundLeft.sprite = Store1;
                }

                if (char1story.variablesState["Background"].Equals("Store2"))
                {
                    backgroundLeft.sprite = Store2;
                }

                if (char2story.variablesState["Background"].Equals("Store1"))
                {
                    backgroundRight.sprite = Store1;
                }

                if (char2story.variablesState["Background"].Equals("Store2"))
                {
                    backgroundRight.sprite = Store2;
                }

                if (char1story.variablesState["Sprite"].Equals("Employee"))
                {
                    spriteLeft.sprite = Employee;
                    spriteLeft.gameObject.SetActive(true);
                }

                if (char2story.variablesState["Sprite"].Equals("Cashier"))
                {
                    spriteRight.sprite = Cashier;
                    spriteRight.gameObject.SetActive(true);
                }

                if (Scene1Script.playerProun1 == 1)
                {
                    if (mainStory1.variablesState["AlexSprite"].Equals("Doubtful"))
                    {
                        alexSprite.sprite = alexMasDoubtful;
                    }
                    else if (mainStory1.variablesState["AlexSprite"].Equals("Happy"))
                    {
                        alexSprite.sprite = alexMasHappy;
                    }
                    else if (mainStory1.variablesState["AlexSprite"].Equals("Sidelook"))
                    {
                        alexSprite.sprite = alexMasSidelook;
                    }
                    else if (mainStory1.variablesState["AlexSprite"].Equals("Smile"))
                    {
                        alexSprite.sprite = alexMasSmile;
                    }
                    else if (mainStory1.variablesState["AlexSprite"].Equals("Smug"))
                    {
                        alexSprite.sprite = alexMasSmug;
                    }
                }
                else
                {
                    if (mainStory1.variablesState["AlexSprite"].Equals("Doubtful"))
                    {
                        alexSprite.sprite = alexFemDoubtful;
                    }
                    else if (mainStory1.variablesState["AlexSprite"].Equals("Happy"))
                    {
                        alexSprite.sprite = alexFemHappy;
                    }
                    else if (mainStory1.variablesState["AlexSprite"].Equals("Sidelook"))
                    {
                        alexSprite.sprite = alexFemSidelook;
                    }
                    else if (mainStory1.variablesState["AlexSprite"].Equals("Smile"))
                    {
                        alexSprite.sprite = alexFemSmile;
                    }
                    else if (mainStory1.variablesState["AlexSprite"].Equals("Smug"))
                    {
                        alexSprite.sprite = alexFemSmug;
                    }
                }

                if (Scene1Script.playerProun2 == 1)
                {
                    if (mainStory2.variablesState["JesseSprite"].Equals("Doubtful"))
                    {
                        jesseSprite.sprite = jesseMasDoubtful;
                    }
                    else if (mainStory2.variablesState["JesseSprite"].Equals("Happy"))
                    {
                        jesseSprite.sprite = jesseMasHappy;
                    }
                    else if (mainStory2.variablesState["JesseSprite"].Equals("Sidelook"))
                    {
                        jesseSprite.sprite = jesseMasSidelook;
                    }
                    else if (mainStory2.variablesState["JesseSprite"].Equals("Smile"))
                    {
                        jesseSprite.sprite = jesseMasSmile;
                    }
                    else if (mainStory2.variablesState["JesseSprite"].Equals("Smug"))
                    {
                        jesseSprite.sprite = jesseMasSmug;
                    }
                }
                else
                {
                    if (mainStory2.variablesState["JesseSprite"].Equals("Doubtful"))
                    {
                        jesseSprite.sprite = jesseFemDoubtful;
                    }
                    else if (mainStory2.variablesState["JesseSprite"].Equals("Happy"))
                    {
                        jesseSprite.sprite = jesseFemHappy;
                    }
                    else if (mainStory2.variablesState["JesseSprite"].Equals("Sidelook"))
                    {
                        jesseSprite.sprite = jesseFemSidelook;
                    }
                    else if (mainStory2.variablesState["JesseSprite"].Equals("Smile"))
                    {
                        jesseSprite.sprite = jesseFemSmile;
                    }
                    else if (mainStory2.variablesState["JesseSprite"].Equals("Smug"))
                    {
                        jesseSprite.sprite = jesseFemSmug;
                    }
                }

                GiftsChosen.AlexCakeChoc = ((string)char1story.variablesState["Flavor"]).ToLowerInvariant()
                                           .Equals("chocolate");
                GiftsChosen.JesseCakeChoc = ((string)char2story.variablesState["Flavor"]).ToLowerInvariant()
                                            .Equals("chocolate");

                if (((string)char1story.variablesState["cake"]).ToLowerInvariant().Equals("true"))
                {
                    GiftsChosen.numCakes++;
                }
                if (((string)char2story.variablesState["cake"]).ToLowerInvariant().Equals("true"))
                {
                    GiftsChosen.numCakes++;
                }

                GiftsChosen.giftAlex  = (int)char1story.variablesState["chosen"];
                GiftsChosen.giftJesse = (int)char2story.variablesState["chosen"];
            }

            char1story.ObserveVariable("Background", (variableName, value) =>
            {
                if (value.Equals("Store1"))
                {
                    backgroundLeft.sprite = Store1;
                }
                else if (value.Equals("Store2"))
                {
                    backgroundLeft.sprite = Store2;
                }
                else if (value.Equals(""))
                {
                    backgroundLeft.sprite = null;
                }
            });

            char1story.ObserveVariable("Sprite", (variableName, value) =>
            {
                if (value.Equals("Cashier"))
                {
                    spriteLeft.sprite = Cashier;
                    spriteLeft.gameObject.SetActive(true);
                }
                else if (value.Equals("Employee"))
                {
                    spriteLeft.sprite = Employee;

                    spriteLeft.gameObject.SetActive(true);
                }
                else if (value.Equals(""))
                {
                    spriteLeft.sprite = null;

                    spriteLeft.gameObject.SetActive(false);
                }
            });

            char1story.ObserveVariable("chosen", (variableName, value) =>
            {
                GiftsChosen.giftAlex = (int)value;
            });

            char2story.ObserveVariable("chosen", (variableName, value) =>
            {
                GiftsChosen.giftJesse = (int)value;
            });


            char1story.ObserveVariable("cake", (variableName, value) =>
            {
                if (((string)value).ToLowerInvariant().Equals("true"))
                {
                    GiftsChosen.numCakes++;
                }
            });

            char2story.ObserveVariable("cake", (variableName, value) =>
            {
                if (((string)value).ToLowerInvariant().Equals("true"))
                {
                    GiftsChosen.numCakes++;
                }
            });


            char1story.ObserveVariable("Flavor", (variableName, value) =>
            {
                if (((string)value).ToLowerInvariant().Equals("chocolate"))
                {
                    GiftsChosen.AlexCakeChoc = true;
                }
            });
            char2story.ObserveVariable("Flavor", (variableName, value) =>
            {
                if (((string)value).ToLowerInvariant().Equals("chocolate"))
                {
                    GiftsChosen.JesseCakeChoc = true;
                }
            });
            char2story.ObserveVariable("Background", (variableName, value) =>
            {
                var images = Resources.FindObjectsOfTypeAll <Image>();
                if (value.Equals("Store1"))
                {
                    backgroundRight.sprite = Store1;
                }
                else if (value.Equals("Store2"))
                {
                    backgroundRight.sprite = Store2;
                }
                else if (value.Equals(""))
                {
                    backgroundRight.sprite = null;
                }
            });

            char2story.ObserveVariable("Sprite", (variableName, value) =>
            {
                if (value.Equals("Cashier"))
                {
                    spriteRight.sprite = Cashier;
                    spriteRight.gameObject.SetActive(true);
                }
                else if (value.Equals("Employee"))
                {
                    spriteRight.sprite = Employee;

                    spriteRight.gameObject.SetActive(true);
                }
                else if (value.Equals(""))
                {
                    spriteRight.sprite = null;

                    spriteRight.gameObject.SetActive(false);
                }
            });

            mainStory1.ObserveVariable("AlexSprite", (variableName, value) =>
            {
                if (Scene1Script.playerProun1 == 1)
                {
                    if (value.Equals("Doubtful"))
                    {
                        alexSprite.sprite = alexMasDoubtful;
                    }
                    else if (value.Equals("Happy"))
                    {
                        alexSprite.sprite = alexMasHappy;
                    }
                    else if (value.Equals("Sidelook"))
                    {
                        alexSprite.sprite = alexMasSidelook;
                    }
                    else if (value.Equals("Smile"))
                    {
                        alexSprite.sprite = alexMasSmile;
                    }
                    else if (value.Equals("Smug"))
                    {
                        alexSprite.sprite = alexMasSmug;
                    }
                }
                else
                {
                    if (value.Equals("Doubtful"))
                    {
                        alexSprite.sprite = alexFemDoubtful;
                    }
                    else if (value.Equals("Happy"))
                    {
                        alexSprite.sprite = alexFemHappy;
                    }
                    else if (value.Equals("Sidelook"))
                    {
                        alexSprite.sprite = alexFemSidelook;
                    }
                    else if (value.Equals("Smile"))
                    {
                        alexSprite.sprite = alexFemSmile;
                    }
                    else if (value.Equals("Smug"))
                    {
                        alexSprite.sprite = alexFemSmug;
                    }
                }
            });

            mainStory2.ObserveVariable("JesseSprite", (variableName, value) =>
            {
                if (Scene1Script.playerProun2 == 1)
                {
                    if (value.Equals("Doubtful"))
                    {
                        jesseSprite.sprite = jesseMasDoubtful;
                    }
                    else if (value.Equals("Happy"))
                    {
                        jesseSprite.sprite = jesseMasHappy;
                    }
                    else if (value.Equals("Sidelook"))
                    {
                        jesseSprite.sprite = jesseMasSidelook;
                    }
                    else if (value.Equals("Smile"))
                    {
                        jesseSprite.sprite = jesseMasSmile;
                    }
                    else if (value.Equals("Smug"))
                    {
                        jesseSprite.sprite = jesseMasSmug;
                    }
                }
                else
                {
                    if (value.Equals("Doubtful"))
                    {
                        jesseSprite.sprite = jesseFemDoubtful;
                    }
                    else if (value.Equals("Happy"))
                    {
                        jesseSprite.sprite = jesseFemHappy;
                    }
                    else if (value.Equals("Sidelook"))
                    {
                        jesseSprite.sprite = jesseFemSidelook;
                    }
                    else if (value.Equals("Smile"))
                    {
                        jesseSprite.sprite = jesseFemSmile;
                    }
                    else if (value.Equals("Smug"))
                    {
                        jesseSprite.sprite = jesseFemSmug;
                    }
                }
            });

            ContinueStory(new UserReplyEventArgs(player1, -1));
            ContinueStory(new UserReplyEventArgs(player2, -1));
        }
Exemplo n.º 4
0
    // Start is called before the first frame update
    void Start()
    {
        var imageList = Resources.FindObjectsOfTypeAll <Image>();
        var dots      = FindObjectsOfType <Text>().Where(x => x.CompareTag("dots"));

        AlexThought  = GameObject.FindGameObjectWithTag("TBAlex");
        JesseThought = GameObject.FindGameObjectWithTag("TBJesse");
        dots1        = dots.ElementAt(0);
        dots2        = dots.ElementAt(1);

        JesseThought.SetActive(false); AlexThought.SetActive(false);
        foreach (var VARIABLE in imageList)
        {
            if (VARIABLE.CompareTag("Background"))
            {
                background = VARIABLE;
            }
            else if (VARIABLE.CompareTag("Textbc"))
            {
                textBackground = VARIABLE;
            }
            else if (VARIABLE.CompareTag("Sprite"))
            {
                claireSprite = VARIABLE;
            }
            else if (VARIABLE.CompareTag("BtnAlex"))
            {
                alexSprite = VARIABLE;
            }
            else if (VARIABLE.CompareTag("BtnJesse"))
            {
                jesseSprite = VARIABLE;
            }
        }

        textBox = FindObjectsOfType <Text>().FirstOrDefault(x => x.CompareTag("StoryCanvas"));

        var pNum = PhotonNetwork.LocalPlayer.ActorNumber;

        player1 = Scene1Script.player1;
        player2 = Scene1Script.player2;

        replies.Add(player1, -2);
        replies.Add(player2, -2);

        mainStory  = new Story(MainInkFile.text);
        char1story = new Story(FirstCharInkFile.text);
        char2story = new Story(SecondCharInkFile.text);

        mainStory  = new Story(MainInkFile.text);
        char1story = new Story(FirstCharInkFile.text);
        char2story = new Story(SecondCharInkFile.text);

        setPronouns();

        if (Scene1Script.recovery)
        {
            Scene1Script.recovery = false;
            mainStory.state.LoadJson(
                System.IO.File.ReadAllText(@"D:\tese\RecoveryFiles\G" + Scene1Script.TestGroup + "PT3Main.txt"));

            char1story.state.LoadJson(
                System.IO.File.ReadAllText(@"D:\tese\RecoveryFiles\G" + Scene1Script.TestGroup + "PT3c1.txt"));

            char2story.state.LoadJson(
                System.IO.File.ReadAllText(@"D:\tese\RecoveryFiles\G" + Scene1Script.TestGroup + "PT3c2.txt"));

            tBox = System.IO.File.ReadAllLines(@"D:\tese\RecoveryFiles\G" + Scene1Script.TestGroup + "PT3screenText.txt").ToList();
            foreach (var l in tBox)
            {
                textBox.text += l + "\n";
            }

            if (mainStory.variablesState["Sprite"].Equals("ClaireN"))
            {
                claireSprite.sprite = ClaireNeutral;
                claireSprite.gameObject.SetActive(true);
            }
            else if (mainStory.variablesState["Sprite"].Equals("ClaireH"))
            {
                claireSprite.sprite = ClaireHappy;
                claireSprite.gameObject.SetActive(true);
            }
            else if (mainStory.variablesState["Sprite"].Equals("ClaireV"))
            {
                claireSprite.sprite = ClaireVeryHappy;
                claireSprite.gameObject.SetActive(true);
            }

            if (char1story.variablesState["Other"].Equals("True"))
            {
                other1 = true;
            }
            else
            {
                other1 = false;
            }

            if (char2story.variablesState["Other"].Equals("True"))
            {
                other2 = true;
            }
            else
            {
                other2 = false;
            }
            if (Scene1Script.playerProun1 == 1)
            {
                if (mainStory.variablesState["AlexSprite"].Equals("Doubtful"))
                {
                    alexSprite.sprite = alexMasDoubtful;
                }
                else if (mainStory.variablesState["AlexSprite"].Equals("Happy"))
                {
                    alexSprite.sprite = alexMasHappy;
                }
                else if (mainStory.variablesState["AlexSprite"].Equals("Sidelook"))
                {
                    alexSprite.sprite = alexMasSidelook;
                }
                else if (mainStory.variablesState["AlexSprite"].Equals("Smile"))
                {
                    alexSprite.sprite = alexMasSmile;
                }
                else if (mainStory.variablesState["AlexSprite"].Equals("Smug"))
                {
                    alexSprite.sprite = alexMasSmug;
                }
            }
            else
            {
                if (mainStory.variablesState["AlexSprite"].Equals("Doubtful"))
                {
                    alexSprite.sprite = alexFemDoubtful;
                }
                else if (mainStory.variablesState["AlexSprite"].Equals("Happy"))
                {
                    alexSprite.sprite = alexFemHappy;
                }
                else if (mainStory.variablesState["AlexSprite"].Equals("Sidelook"))
                {
                    alexSprite.sprite = alexFemSidelook;
                }
                else if (mainStory.variablesState["AlexSprite"].Equals("Smile"))
                {
                    alexSprite.sprite = alexFemSmile;
                }
                else if (mainStory.variablesState["AlexSprite"].Equals("Smug"))
                {
                    alexSprite.sprite = alexFemSmug;
                }
            }

            if (Scene1Script.playerProun2 == 1)
            {
                if (mainStory.variablesState["JesseSprite"].Equals("Doubtful"))
                {
                    jesseSprite.sprite = jesseMasDoubtful;
                }
                else if (mainStory.variablesState["JesseSprite"].Equals("Happy"))
                {
                    jesseSprite.sprite = jesseMasHappy;
                }
                else if (mainStory.variablesState["JesseSprite"].Equals("Sidelook"))
                {
                    jesseSprite.sprite = jesseMasSidelook;
                }
                else if (mainStory.variablesState["JesseSprite"].Equals("Smile"))
                {
                    jesseSprite.sprite = jesseMasSmile;
                }
                else if (mainStory.variablesState["JesseSprite"].Equals("Smug"))
                {
                    jesseSprite.sprite = jesseMasSmug;
                }
            }
            else
            {
                if (mainStory.variablesState["JesseSprite"].Equals("Doubtful"))
                {
                    jesseSprite.sprite = jesseFemDoubtful;
                }
                else if (mainStory.variablesState["JesseSprite"].Equals("Happy"))
                {
                    jesseSprite.sprite = jesseFemHappy;
                }
                else if (mainStory.variablesState["JesseSprite"].Equals("Sidelook"))
                {
                    jesseSprite.sprite = jesseFemSidelook;
                }
                else if (mainStory.variablesState["JesseSprite"].Equals("Smile"))
                {
                    jesseSprite.sprite = jesseFemSmile;
                }
                else if (mainStory.variablesState["JesseSprite"].Equals("Smug"))
                {
                    jesseSprite.sprite = jesseFemSmug;
                }
            }
        }

        else
        {
            char1story.variablesState["giftJesse"] = GiftsChosen.giftJesse;
            char2story.variablesState["giftJesse"] = GiftsChosen.giftJesse;
            mainStory.variablesState["giftJesse"]  = GiftsChosen.giftJesse;

            char1story.variablesState["giftAlex"] = GiftsChosen.giftAlex;
            char2story.variablesState["giftAlex"] = GiftsChosen.giftAlex;
            mainStory.variablesState["giftAlex"]  = GiftsChosen.giftAlex;

            char1story.variablesState["numCakes"] = GiftsChosen.numCakes;
            char2story.variablesState["numCakes"] = GiftsChosen.numCakes;
            mainStory.variablesState["numCakes"]  = GiftsChosen.numCakes;

            char1story.variablesState["AlexChocolate"] = GiftsChosen.AlexCakeChoc;
            char2story.variablesState["AlexChocolate"] = GiftsChosen.AlexCakeChoc;
            mainStory.variablesState["AlexChocolate"]  = GiftsChosen.AlexCakeChoc;

            char1story.variablesState["JesseChocolate"] = GiftsChosen.JesseCakeChoc;
            char2story.variablesState["JesseChocolate"] = GiftsChosen.JesseCakeChoc;
            mainStory.variablesState["JesseChocolate"]  = GiftsChosen.JesseCakeChoc;
        }

        char1story.ObserveVariable("Other", (variableName, value) => { other1 = ((string)value).Equals("true"); });
        char2story.ObserveVariable("Other", (variableName, value) => { other2 = ((string)value).Equals("true"); });

        UserReplyReceived += OnUserReplyReceived;
        mainStory.ObserveVariable("Background", (variableName, value) =>
        {
            if (value.Equals("Kitchen"))
            {
                background.sprite = Kitchen;
            }
            else if (value.Equals(""))
            {
                background.sprite = null;
            }
        });

        mainStory.ObserveVariable("Sprite", (variableName, value) =>
        {
            if (value.Equals("ClaireN"))
            {
                claireSprite.sprite = ClaireNeutral;
                claireSprite.gameObject.SetActive(true);
            }
            else if (value.Equals("ClaireH"))
            {
                claireSprite.sprite = ClaireHappy;
                claireSprite.gameObject.SetActive(true);
            }
            else if (value.Equals("ClaireV"))
            {
                claireSprite.sprite = ClaireVeryHappy;
                claireSprite.gameObject.SetActive(true);
            }
            else if (value.Equals(""))
            {
                claireSprite.sprite = null;
                claireSprite.gameObject.SetActive(false);
            }
        });

        mainStory.ObserveVariable("AlexSprite", (variableName, value) =>
        {
            if (Scene1Script.playerProun1 == 1)
            {
                if (value.Equals("Doubtful"))
                {
                    alexSprite.sprite = alexMasDoubtful;
                }
                else if (value.Equals("Happy"))
                {
                    alexSprite.sprite = alexMasHappy;
                }
                else if (value.Equals("Sidelook"))
                {
                    alexSprite.sprite = alexMasSidelook;
                }
                else if (value.Equals("Smile"))
                {
                    alexSprite.sprite = alexMasSmile;
                }
                else if (value.Equals("Smug"))
                {
                    alexSprite.sprite = alexMasSmug;
                }
            }
            else
            {
                if (value.Equals("Doubtful"))
                {
                    alexSprite.sprite = alexFemDoubtful;
                }
                else if (value.Equals("Happy"))
                {
                    alexSprite.sprite = alexFemHappy;
                }
                else if (value.Equals("Sidelook"))
                {
                    alexSprite.sprite = alexFemSidelook;
                }
                else if (value.Equals("Smile"))
                {
                    alexSprite.sprite = alexFemSmile;
                }
                else if (value.Equals("Smug"))
                {
                    alexSprite.sprite = alexFemSmug;
                }
            }
        });

        mainStory.ObserveVariable("JesseSprite", (variableName, value) =>
        {
            if (Scene1Script.playerProun2 == 1)
            {
                if (value.Equals("Doubtful"))
                {
                    jesseSprite.sprite = jesseMasDoubtful;
                }
                else if (value.Equals("Happy"))
                {
                    jesseSprite.sprite = jesseMasHappy;
                }
                else if (value.Equals("Sidelook"))
                {
                    jesseSprite.sprite = jesseMasSidelook;
                }
                else if (value.Equals("Smile"))
                {
                    jesseSprite.sprite = jesseMasSmile;
                }
                else if (value.Equals("Smug"))
                {
                    jesseSprite.sprite = jesseMasSmug;
                }
            }
            else
            {
                if (value.Equals("Doubtful"))
                {
                    jesseSprite.sprite = jesseFemDoubtful;
                }
                else if (value.Equals("Happy"))
                {
                    jesseSprite.sprite = jesseFemHappy;
                }
                else if (value.Equals("Sidelook"))
                {
                    jesseSprite.sprite = jesseFemSidelook;
                }
                else if (value.Equals("Smile"))
                {
                    jesseSprite.sprite = jesseFemSmile;
                }
                else if (value.Equals("Smug"))
                {
                    jesseSprite.sprite = jesseFemSmug;
                }
            }
        });

        ContinueStory();
    }