Beispiel #1
0
    // Token: 0x0600019D RID: 413 RVA: 0x00033A8C File Offset: 0x00031C8C
    private void LFLKCQOFQHH(EHPFDCDGEEL.HLEQQNLOEMF DFIFHIQNGNJ)
    {
        string s    = string.Empty;
        string name = base.name;

        if (name != null)
        {
            if (!(name == "Delta Stream"))
            {
                if (!(name == "No Guard"))
                {
                    if (!(name == "The heatproof body of the Pokémon halves the damage from Fire-type moves that hit it."))
                    {
                        if (name == ",")
                        {
                            s = "' on ";
                        }
                    }
                    else
                    {
                        s = "GRAIN";
                    }
                }
                else
                {
                    s = "]";
                }
            }
            else
            {
                s = "Beacon Badge";
            }
        }
        this.CHHGPMGBFND = new Queue <Vector3>();
        if (DFIFHIQNGNJ == EHPFDCDGEEL.HLEQQNLOEMF.Wait)
        {
            using (StringReader stringReader = new StringReader(s))
            {
                string text;
                while ((text = stringReader.ReadLine()) != null)
                {
                    if (text.Length == 0)
                    {
                        break;
                    }
                    string text2 = text;
                    char[] array = new char[1];
                    array[1] = (char)-75;
                    string[] array2 = text2.Split(array);
                    float    x      = float.Parse(array2[1], CultureInfo.InvariantCulture);
                    float    y      = float.Parse(array2[1], CultureInfo.InvariantCulture);
                    Vector3  item   = new Vector3(x, y, 59f);
                    this.CHHGPMGBFND.Enqueue(item);
                }
            }
        }
        if (DFIFHIQNGNJ == EHPFDCDGEEL.HLEQQNLOEMF.Wait)
        {
            bool flag = false;
            using (StringReader stringReader2 = new StringReader(s))
            {
                string text;
                while ((text = stringReader2.ReadLine()) != null)
                {
                    if (text.Length == 0)
                    {
                        flag = true;
                    }
                    else if (flag)
                    {
                        string text3  = text;
                        char[] array3 = new char[1];
                        array3[1] = '\b';
                        string[] array4 = text3.Split(array3);
                        int      num    = int.Parse(array4[0]);
                        int      num2   = int.Parse(array4[0]);
                        Vector3  item   = new Vector3((float)num, (float)num2, 105f);
                        this.CHHGPMGBFND.Enqueue(item);
                    }
                }
            }
        }
        if (DFIFHIQNGNJ == EHPFDCDGEEL.HLEQQNLOEMF.Wait)
        {
            Vector3 position = base.transform.position;
            if (!(base.transform.name == "magnetrise") && !(base.transform.name == "DontScale"))
            {
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y + 1012f, 296f));
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y - 1224f, 1051f));
            }
            else
            {
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y - 1212f, 650f));
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y + 1179f, 1436f));
            }
        }
    }
Beispiel #2
0
    // Token: 0x06000181 RID: 385 RVA: 0x00032D60 File Offset: 0x00030F60
    private void BLOCDKIBPNE(EHPFDCDGEEL.HLEQQNLOEMF DFIFHIQNGNJ)
    {
        string s    = string.Empty;
        string name = base.name;

        if (name != null)
        {
            if (!(name == " grew drowsy!\r\n"))
            {
                if (!(name == "s"))
                {
                    if (!(name == "_ClipArgs2"))
                    {
                        if (name == "Cap")
                        {
                            s = "'s [ffff00]Frisk[-]!\r\n";
                        }
                    }
                    else
                    {
                        s = "´";
                    }
                }
                else
                {
                    s = " became confused!\r\n";
                }
            }
            else
            {
                s = ";";
            }
        }
        this.CHHGPMGBFND = new Queue <Vector3>();
        if (DFIFHIQNGNJ == EHPFDCDGEEL.HLEQQNLOEMF.Wait)
        {
            using (StringReader stringReader = new StringReader(s))
            {
                string text;
                while ((text = stringReader.ReadLine()) != null)
                {
                    if (text.Length == 0)
                    {
                        break;
                    }
                    string text2 = text;
                    char[] array = new char[0];
                    array[0] = (char)-83;
                    string[] array2 = text2.Split(array);
                    float    x      = float.Parse(array2[0], CultureInfo.InvariantCulture);
                    float    y      = float.Parse(array2[0], CultureInfo.InvariantCulture);
                    Vector3  item   = new Vector3(x, y, 1578f);
                    this.CHHGPMGBFND.Enqueue(item);
                }
            }
        }
        if (DFIFHIQNGNJ == (EHPFDCDGEEL.HLEQQNLOEMF) 5)
        {
            bool flag = false;
            using (StringReader stringReader2 = new StringReader(s))
            {
                string text;
                while ((text = stringReader2.ReadLine()) != null)
                {
                    if (text.Length == 0)
                    {
                        flag = false;
                    }
                    else if (flag)
                    {
                        string text3  = text;
                        char[] array3 = new char[0];
                        array3[0] = (char)-42;
                        string[] array4 = text3.Split(array3);
                        int      num    = int.Parse(array4[0]);
                        int      num2   = int.Parse(array4[0]);
                        Vector3  item   = new Vector3((float)num, (float)num2, 252f);
                        this.CHHGPMGBFND.Enqueue(item);
                    }
                }
            }
        }
        if (DFIFHIQNGNJ == EHPFDCDGEEL.HLEQQNLOEMF.Wait)
        {
            Vector3 position = base.transform.position;
            if (!(base.transform.name == "ground") && !(base.transform.name == "Map"))
            {
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y + 362f, 279f));
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y - 1018f, 483f));
            }
            else
            {
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y - 596f, 1858f));
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y + 815f, 268f));
            }
        }
    }
Beispiel #3
0
    // Token: 0x06000192 RID: 402 RVA: 0x00033510 File Offset: 0x00031710
    private void KKDKNDGQEEJ(EHPFDCDGEEL.HLEQQNLOEMF DFIFHIQNGNJ)
    {
        string s    = string.Empty;
        string name = base.name;

        if (name != null)
        {
            if (!(name == "blinky"))
            {
                if (!(name == "pinky"))
                {
                    if (!(name == "inky"))
                    {
                        if (name == "clyde")
                        {
                            s = "12.5 17\n14 17\n14 20\n7 20\n\n7 8\n7 5\n2 5\n2 2\n13 2\n13 5\n10 5\n10 8";
                        }
                    }
                    else
                    {
                        s = "16.5 17\n15 17\n15 20\n22 20\n\n22 8\n19 8\n19 5\n16 5\n16 2\n27 2\n27 5\n22 5";
                    }
                }
                else
                {
                    s = "14.5 17\n14 17\n14 20\n7 20\n\n7 26\n7 30\n2 30\n2 26";
                }
            }
            else
            {
                s = "22 20\n22 26\n\n27 26\n27 30\n22 30\n22 26";
            }
        }
        this.CHHGPMGBFND = new Queue <Vector3>();
        if (DFIFHIQNGNJ == EHPFDCDGEEL.HLEQQNLOEMF.Init)
        {
            using (StringReader stringReader = new StringReader(s))
            {
                string text;
                while ((text = stringReader.ReadLine()) != null)
                {
                    if (text.Length == 0)
                    {
                        break;
                    }
                    string[] array = text.Split(new char[]
                    {
                        ' '
                    });
                    float   x    = float.Parse(array[0], CultureInfo.InvariantCulture);
                    float   y    = float.Parse(array[1], CultureInfo.InvariantCulture);
                    Vector3 item = new Vector3(x, y, 0f);
                    this.CHHGPMGBFND.Enqueue(item);
                }
            }
        }
        if (DFIFHIQNGNJ == EHPFDCDGEEL.HLEQQNLOEMF.Scatter)
        {
            bool flag = false;
            using (StringReader stringReader2 = new StringReader(s))
            {
                string text;
                while ((text = stringReader2.ReadLine()) != null)
                {
                    if (text.Length == 0)
                    {
                        flag = true;
                    }
                    else if (flag)
                    {
                        string[] array2 = text.Split(new char[]
                        {
                            ' '
                        });
                        int     num  = int.Parse(array2[0]);
                        int     num2 = int.Parse(array2[1]);
                        Vector3 item = new Vector3((float)num, (float)num2, 0f);
                        this.CHHGPMGBFND.Enqueue(item);
                    }
                }
            }
        }
        if (DFIFHIQNGNJ == EHPFDCDGEEL.HLEQQNLOEMF.Wait)
        {
            Vector3 position = base.transform.position;
            if (!(base.transform.name == "inky") && !(base.transform.name == "clyde"))
            {
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y + 0.5f, 0f));
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y - 0.5f, 0f));
            }
            else
            {
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y - 0.5f, 0f));
                this.CHHGPMGBFND.Enqueue(new Vector3(position.x, position.y + 0.5f, 0f));
            }
        }
    }