// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

import sign.signlink;

public abstract class Class31_Sub3_Sub3_Sub4 extends Class31_Sub3_Sub3
{

    public void method494(byte byte0)
    {
        anInt1657 = 0;
        if(byte0 == 7)
            byte0 = 0;
        else
            return;
        anInt1638 = 0;
    }

    public void method495(int i, boolean flag, boolean flag1)
    {
        int j = anIntArray1633[0];
        int k = anIntArray1634[0];
        if(i == 0)
        {
            j--;
            k++;
        }
        if(i == 1)
            k++;
        if(i == 2)
        {
            j++;
            k++;
        }
        if(i == 3)
            j--;
        if(i == 4)
            j++;
        if(i == 5)
        {
            j--;
            k--;
        }
        if(i == 6)
            k--;
        if(i == 7)
        {
            j++;
            k--;
        }
        if(anInt1674 != -1 && Class8.aClass8Array140[anInt1674].anInt153 == 1)
            anInt1674 = -1;
        if(anInt1657 < 9)
            anInt1657++;
        for(int l = anInt1657; l > 0; l--)
        {
            anIntArray1633[l] = anIntArray1633[l - 1];
            anIntArray1634[l] = anIntArray1634[l - 1];
            aBooleanArray1646[l] = aBooleanArray1646[l - 1];
        }

        anIntArray1633[0] = j;
        anIntArray1634[0] = k;
        if(!flag1)
        {
            for(int i1 = 1; i1 > 0; i1++);
        }
        aBooleanArray1646[0] = flag;
    }

    public boolean method496(int i)
    {
        if(i != 21781)
        {
            for(int j = 1; j > 0; j++);
        }
        return false;
    }

    public void method497(int i, int j, byte byte0, boolean flag)
    {
        if(anInt1674 != -1 && Class8.aClass8Array140[anInt1674].anInt153 == 1)
            anInt1674 = -1;
        if(!flag)
        {
            int k = i - anIntArray1633[0];
            int i1 = j - anIntArray1634[0];
            if(k >= -8 && k <= 8 && i1 >= -8 && i1 <= 8)
            {
                if(anInt1657 < 9)
                    anInt1657++;
                for(int j1 = anInt1657; j1 > 0; j1--)
                {
                    anIntArray1633[j1] = anIntArray1633[j1 - 1];
                    anIntArray1634[j1] = anIntArray1634[j1 - 1];
                    aBooleanArray1646[j1] = aBooleanArray1646[j1 - 1];
                }

                anIntArray1633[0] = i;
                anIntArray1634[0] = j;
                aBooleanArray1646[0] = false;
                return;
            }
        }
        anInt1657 = 0;
        anInt1638 = 0;
        anInt1659 = 0;
        if(byte0 != 0)
        {
            for(int l = 1; l > 0; l++);
        }
        anIntArray1633[0] = i;
        anIntArray1634[0] = j;
        anInt1635 = anIntArray1633[0] * 128 + anInt1650 * 64;
        anInt1636 = anIntArray1634[0] * 128 + anInt1650 * 64;
    }

    public void method498(int i, int j, boolean flag, int k)
    {
        if(!flag)
            aBoolean1655 = !aBoolean1655;
        for(int l = 0; l < 4; l++)
            if(anIntArray1645[l] <= j)
            {
                anIntArray1643[l] = i;
                anIntArray1644[l] = k;
                anIntArray1645[l] = j + 70;
                return;
            }

    }

    public Class31_Sub3_Sub3_Sub4()
    {
        anInt1627 = -1;
        anIntArray1633 = new int[10];
        anIntArray1634 = new int[10];
        anInt1639 = -1;
        anInt1640 = -1;
        anInt1641 = -1;
        anInt1642 = -1;
        anIntArray1643 = new int[4];
        anIntArray1644 = new int[4];
        anIntArray1645 = new int[4];
        aBooleanArray1646 = new boolean[10];
        anInt1647 = -1;
        anInt1648 = -1;
        anInt1650 = 1;
        anInt1651 = 100;
        anInt1652 = 200;
        aBoolean1655 = true;
        anInt1658 = -1;
        anInt1660 = 32;
        anInt1661 = -1;
        aBoolean1664 = false;
        anInt1666 = -1;
        anInt1674 = -1;
        anInt1679 = -1000;
    }

    public int anInt1626;
    public int anInt1627;
    public int anInt1628;
    public int anInt1629;
    public int anInt1630;
    public int anInt1631;
    public int anInt1632;
    public int anIntArray1633[];
    public int anIntArray1634[];
    public int anInt1635;
    public int anInt1636;
    public int anInt1637;
    public int anInt1638;
    public int anInt1639;
    public int anInt1640;
    public int anInt1641;
    public int anInt1642;
    public int anIntArray1643[];
    public int anIntArray1644[];
    public int anIntArray1645[];
    public boolean aBooleanArray1646[];
    public int anInt1647;
    public int anInt1648;
    public int anInt1649;
    public int anInt1650;
    public int anInt1651;
    public int anInt1652;
    public int anInt1653;
    public int anInt1654;
    public boolean aBoolean1655;
    public int anInt1656;
    public int anInt1657;
    public int anInt1658;
    public int anInt1659;
    public int anInt1660;
    public int anInt1661;
    public int anInt1662;
    public int anInt1663;
    public boolean aBoolean1664;
    public String aString1665;
    public int anInt1666;
    public int anInt1667;
    public int anInt1668;
    public int anInt1669;
    public int anInt1670;
    public int anInt1671;
    public int anInt1672;
    public int anInt1673;
    public int anInt1674;
    public int anInt1675;
    public int anInt1676;
    public int anInt1677;
    public int anInt1678;
    public int anInt1679;
    public int anInt1680;
    public int anInt1681;
}
