⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 f.java

📁 J2ME拳王游戏
💻 JAVA
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 

package kof;


// Referenced classes of package kof:
//            Z, C, Kof

class F extends Z
{

    F(C c)
    {
        super(c);
        X = 2;
        i = 15;
        z = 14;
        Y = 16;
        W = (new int[][] {
            new int[] {
                -5, -50, 4, 12, 22, 37, -1, -1, -1, -1
            }, new int[] {
                -3, -50, 3, 13, 25, 36, 36, 12, 11, 27
            }, new int[] {
                0, -50, 8, 20, 30, 29, -1, -1, -1, -1
            }, new int[] {
                0, -50, 8, 8, 20, 26, -1, -1, -1, -1
            }, new int[] {
                -9, -50, 17, 1, 15, 47, -1, -1, -1, -1
            }, new int[] {
                -9, -50, 17, 1, 15, 47, -1, -1, -1, -1
            }, new int[] {
                -9, -50, 17, 1, 15, 46, -1, -1, -1
            }, new int[] {
                -9, -50, 10, 10, 15, 39, 28, 35, 21, 7
            }, new int[] {
                -8, -50, 7, 10, 10, 18, -1, -1, -1, -1
            }, new int[] {
                0, -50, 9, 6, 14, 25, -1, -1, -1, -1
            }, new int[] {
                0, -50, 9, 12, 15, 19, -1, -1, -1, -1
            }, new int[] {
                0, -50, 4, 4, 18, 27, -1, -1, -1, -1
            }, new int[] {
                0, -50, 0, 19, 24, 12, -1, -1, -1, -1
            }, new int[] {
                -5, -50, 16, 8, 22, 27, 32, 27, 15, 15
            }, new int[] {
                -5, -50, 5, 13, 30, 22, 23, 22, 22, 20
            }, new int[] {
                -5, -50, 12, 13, 22, 36, 21, 20, 27, 12
            }, new int[] {
                -5, -50, 5, 7, 15, 24, -1, -1, -1, -1
            }
        });
    }

    final void I(int i)
    {
        if(G == i)
            return;
        H = i;
        G = i;
        S = 0;
        A = 0;
        P = false;
        super.B = 0;
        super.D = 0;
        switch(G)
        {
        case 0: // '\0'
            K = true;
            O = 0;
            R = false;
            break;

        case 1: // '\001'
            P = true;
            break;

        case 4: // '\004'
            super.D = -15;
            V = super.I.C() + 500L;
            break;

        case 6: // '\006'
            super.B = -5;
            super.D = -15;
            break;

        case 5: // '\005'
            super.B = 5;
            super.D = -15;
            break;

        case 13: // '\r'
            P = true;
            break;

        case 7: // '\007'
            P = true;
            break;

        case 16: // '\020'
            Kof _tmp = super.I.I;
            Kof.I("kof.mid.powerup", 0);
            break;

        case 14: // '\016'
            P = true;
            break;
        }
    }

    final void I()
    {
        switch(E)
        {
        default:
            break;

        case 5: // '\005'
        case 12: // '\f'
            if(G == 0)
            {
                if(N == 1)
                {
                    if(U > 0 && super.I.D() && super.I.I(0) == 0)
                    {
                        super.I.K = System.currentTimeMillis() + 1000L;
                        U--;
                        I(16);
                        E = 0;
                        R = true;
                        return;
                    }
                    if(super.I.B() && super.I.I(0) == 0)
                    {
                        I(15);
                        E = 0;
                        return;
                    }
                    break;
                }
                if(U > 0 && super.I.F() && super.I.I(0) == 0)
                {
                    super.I.K = System.currentTimeMillis() + 1000L;
                    U--;
                    I(16);
                    E = 0;
                    R = true;
                    return;
                }
                if(super.I.J() && super.I.I(0) == 0)
                {
                    I(15);
                    E = 0;
                    return;
                }
                break;
            }
            if(G != 4 && G != 5 && G != 6)
                break;
            if(N == 1)
            {
                if(super.I.L[1] == 15 || super.I.L[1] == 2)
                {
                    I(14);
                    E = 0;
                    return;
                }
                break;
            }
            if(super.I.L[1] == 15 || super.I.L[1] == 2)
            {
                I(14);
                E = 0;
                return;
            }
            break;
        }
        super.I();
    }

    final boolean Z()
    {
        if(G == 14)
            return true;
        else
            return super.Z();
    }

    final void D()
    {
        if(Q)
        {
            C _tmp = super.I;
            if(C.C == 7)
                L();
        }
        if(G == 14 && S == 1)
        {
            super.D++;
            if(y + super.D > super.I.i)
            {
                y = super.I.i;
                if(G != 12)
                    I(0);
                super.D = 0;
            }
        } else
        if(G == 16 && super.I.K < System.currentTimeMillis() + 100L)
        {
            super.I.K = 0L;
            I(15);
            super.I.X = true;
        }
        super.D();
    }

    final boolean B()
    {
        return G == 16;
    }

    final void C()
    {
        if(G == 15)
        {
            if(++A > 1)
            {
                if(++S >= 3)
                    I(0);
                if(S == 2)
                {
                    super.I.I(R, Q, 1, N, x + S() + E() / 2, y + A() + 3);
                    if(R)
                    {
                        super.I.I(R, Q, 1, N, (x + S() + E() / 2) - 5, y + A() + 5);
                        super.I.I(R, Q, 1, N, (x + S() + E() / 2) - 5, (y + A()) - 2);
                        super.I.I(R, Q, 1, N, (x + S() + E() / 2) - 3, y + A());
                        R = false;
                    }
                }
                A = 0;
            }
        } else
        if(G == 14)
        {
            if(++A > 1)
            {
                if(++S >= 2)
                {
                    super.B = 10 * N;
                    S = 1;
                }
                A = 0;
            }
        } else
        if(G == 16)
        {
            if(++S >= 2)
                S = 0;
            A = 0;
        } else
        {
            super.C();
        }
    }

    final int F()
    {
        int i = super.F();
        if(i == 0)
        {
            if(G == 15)
                if(N == 1)
                    return 17 + S;
                else
                    return 17 + S + 0;
            if(G == 14)
                if(N == 1)
                    return 15 + S;
                else
                    return 15 + S + 0;
            if(G == 16)
            {
                if(N == 1)
                    return 12 + S;
                else
                    return 12 + S + 0;
            } else
            {
                return 0;
            }
        } else
        {
            return i;
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -