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

📄 z.java

📁 J2ME拳王游戏
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
            if(lastElement % 150 == 0)
            {
                I.K = System.currentTimeMillis() + 1000L;
                U--;
                I(Y);
                E = 0;
                R = true;
            }
            return;
        }
        if(G == 0)
        {
            if(j < 5 && E == 0)
                E = 9;
            else
            if(j < 10 && E == 0)
                E = 4;
            else
            if(j < 20 && E == 0)
                E = 3;
            else
            if(j < 30 && E == 0)
                E = 12;
            else
            if(j < 40 && E == 0)
                E = 8;
            else
            if(j < 50 && E == 0)
                E = 10;
            else
            if(j < 60 && E == 0)
                I(z);
            else
            if(j < 70 && E == 0)
            {
                I(7);
            } else
            {
                Kof _tmp2 = I.I;
                if(j < 80 + Kof.E * 2 && E == 0 && I.I(1) == 0)
                {
                    I(i);
                } else
                {
                    Kof _tmp3 = I.I;
                    if(j < 85 + Kof.E * 2 && E == 0 && U > 0 && !setElementAt().B())
                    {
                        I.K = System.currentTimeMillis() + 1000L;
                        U--;
                        I(Y);
                        E = 0;
                        R = true;
                    } else
                    {
                        I(0);
                        E = 0;
                    }
                }
            }
        } else
        if(G == 8)
        {
            C _tmp4 = I;
            if(C.H.nextInt() % 10 == 0)
            {
                E = 0;
                I(0);
            }
        } else
        if((G == 4 || G == 6 || G == 5) && j < 5)
            E = 5;
    }

    void D()
    {
        Z z1;
label0:
        {
label1:
            {
                if(I.K != 0L && I.K > System.currentTimeMillis())
                {
                    if(B())
                        C();
                    return;
                }
                z1 = setElementAt();
                if(currentTimeMillis == 0)
                    break label0;
                int j = x + currentTimeMillis;
                if(j >= 0)
                {
                    C _tmp = I;
                    if(j <= C.Z)
                        break label1;
                }
                currentTimeMillis = 0;
                B = 0;
                return;
            }
            if(currentTimeMillis < 0)
            {
                B -= 2;
                currentTimeMillis += 2;
            } else
            {
                B += 2;
                currentTimeMillis -= 2;
            }
            if(currentTimeMillis == 0)
                B = 0;
        }
label2:
        {
label3:
            {
label4:
                {
                    I();
                    boolean flag = false;
                    if(!K)
                        break label2;
                    if(P && z1.G != 3 && z1.G != 11)
                    {
                        if(z1.Q)
                        {
                            C _tmp1 = I;
                            int k = Math.abs(C.H.nextInt() % 3);
                            if(z1.G == 0 && k == 1)
                                if(Z())
                                {
                                    z1.O = 1;
                                    z1.I(9);
                                } else
                                if(G == 7)
                                {
                                    z1.O = 2;
                                    z1.I(10);
                                }
                        }
                        if(z1.O == 1)
                        {
                            if(Math.abs(x - z1.x) < 60)
                                z1.I(9);
                        } else
                        if(z1.O == 2 && Math.abs(x - z1.x) < 60)
                            z1.I(10);
                    }
                    boolean flag1 = false;
                    if(!K())
                        break label3;
                    if(Z())
                    {
                        Kof _tmp2 = I.I;
                        Kof.I("kof.mid.attack", 0);
                        Kof _tmp3 = I.I;
                        C _tmp4 = I;
                        Kof.I(C.g, 1);
                        K = false;
                        if(!z1.H())
                        {
                            abs(C.A);
                            if(R)
                                z1.toString(C.S * 3);
                            else
                                z1.toString(C.D);
                            if(z1.y < I.i)
                                z1.I(11);
                            else
                                z1.I(3);
                        }
                        flag1 = true;
                    } else
                    if(G == 7)
                    {
                        Kof _tmp5 = I.I;
                        Kof.I("kof.mid.attack", 0);
                        Kof _tmp6 = I.I;
                        C _tmp7 = I;
                        Kof.I(C.g, 1);
                        if(!z1.G())
                        {
                            abs(C.A);
                            z1.toString(C.F);
                            K = false;
                            if(y < I.i)
                                z1.I(11);
                            else
                                z1.I(12);
                        }
                        flag1 = true;
                    }
                    if(!flag1)
                        break label3;
                    byte byte0 = 10;
                    int i1 = z1.x + z1.N * 10 * -1;
                    if(i1 >= 0)
                    {
                        C _tmp8 = I;
                        if(i1 + 50 <= C.Z)
                            break label4;
                    }
                    currentTimeMillis = z1.N * 10;
                    break label3;
                }
                z1.currentTimeMillis = z1.N * 10 * -1;
            }
            byte byte1 = 0;
            if(Q)
                byte1 = 0;
            else
                byte1 = 5;
            for(int j1 = byte1; j1 < byte1 + 5; j1++)
            {
label5:
                {
                    if(I.c[j1] == null)
                        continue;
                    long l1 = ((Long)I.c[j1].lastElement()).longValue();
                    int ai[] = (int[])I.c[j1].firstElement();
                    if(l1 != 0L || !I(ai[0] + -5 * ai[4], ai[1] + 2, 50, 50))
                        continue;
                    Kof _tmp9 = I.I;
                    Kof.I("kof.mid.attack", 0);
                    Kof _tmp10 = I.I;
                    C _tmp11 = I;
                    Kof.I(C.g, 1);
                    if(Q)
                    {
                        C _tmp12 = I;
                        int l = Math.abs(C.H.nextInt() % 3);
                        if(G == 0 && l == 1)
                        {
                            O = 1;
                            I(9);
                        }
                    }
                    byte byte2 = 10;
                    if(O == 0)
                    {
                        if(y < I.i)
                        {
                            I(11);
                            l1 = System.currentTimeMillis() + 200L;
                        } else
                        {
                            I(3);
                            l1 = System.currentTimeMillis() + 200L;
                        }
                        if(ai[6] == 1)
                        {
                            toString(C.S);
                        } else
                        {
                            toString(C.J);
                            z1.abs(C.E);
                        }
                        K = true;
                    } else
                    {
                        if(O == 1)
                            I(9);
                        else
                        if(O == 2)
                            I(10);
                        byte byte3 = 5;
                        l1 = System.currentTimeMillis() + 100L;
                    }
                    I.c[j1].setElementAt(new Long(l1), 1);
                    I.c[j1].setElementAt(ai, 0);
                    ai = null;
                    int k1 = z1.x + z1.N * 10 * -1;
                    if(k1 >= 0)
                    {
                        C _tmp13 = I;
                        if(k1 + 50 <= C.Z)
                            break label5;
                    }
                    z1.currentTimeMillis = z1.N * 10 * -1;
                    continue;
                }
                currentTimeMillis = z1.N * 10;
            }

        }
        if(G == 4 || G == 5 || G == 6 || G == 12 || G == 13)
        {
            D += M;
            if((y - 50) + D <= C.y)
            {
                y = C.y + 50;
                D = 0;
            }
            if(y + D > I.i)
            {
                y = I.i;
                if(G != 12)
                    I(0);
                D = 0;
            }
        }
        if(currentTimeMillis == 0 && I(z1.x + z1.B + z1.S(), z1.y + z1.D + z1.A() / 2, 50, 50) && G != 12 && G != 3 && G != 11 && G != 4 && G != 5 && G != 6)
            if(N == 1 && B > 0)
                B = 0;
            else
            if(N == -1 && B < 0)
                B = 0;
        Z = x;
        C = y;
        x += B;
        y += D;
        if(x + S() < 0)
            x = -S();
        else
        if(x + S() + 50 > C.Z)
            x = C.Z - S() - 50;
        C();
    }

    boolean Z()
    {
        return G == 1 || G == 13;
    }

    void C()
    {
        if(G == 0 || G == 8)
        {
            if(++A > 2)
            {
                if(S == 0)
                    S = 1;
                else
                    S = 0;
                A = 0;
            }
        } else
        if(G == 1 || G == 7)
        {
            if(++A > 2)
            {
                if(S == 0)
                    I(0);
                A = 0;
            }
        } else
        if(G == 13)
        {
            if(++A > 2)
            {
                if(S == 0)
                {
                    int j = B;
                    int k = D;
                    I(H);
                    B = j;
                    D = k;
                }
                A = 0;
            }
        } else
        if(G != 2)
            if(G == 3)
            {
                if(++A > 4)
                {
                    if(L <= 0)
                        I(12);
                    else
                        I(0);
                    A = 0;
                }
            } else
            if(G == 12)
            {
                if(S == 0)
                {
                    if(++A > 2)
                    {
                        if(L > 0)
                            S = 1;
                        else
                            S = 0;
                        A = 0;
                    }
                } else
                if(y + D <= I.i && ++A > 5 && L > 0)
                {
                    I(0);
                    A = 0;
                }
            } else
            if(G == 11)
            {
                if(++A > 2)
                {
                    if(L <= 0)
                        I(12);
                    else
                    if(N == 1)
                        I(6);
                    else
                        I(5);
                    A = 0;
                }
            } else
            if(G == 9)
            {
                if(++A > 5)
                    I(0);
            } else
            if(G == 10 && ++A > 2)
                I(0);
    }

    final void I(Graphics g)
    {
        synchronized(g)
        {
            byte byte0 = 7;
            int j = N != 1 ? 1 : 0;
            j = 0;
            char c = '\0';
            if(N == -1)
                c = '\u2000';
            int k = F();
            if(N == -1)
            {
                C _tmp = I;
                if(C.N[X][j] == null)
                {
                    C.AI = "Player image null";
                    C.a = "c: " + X + "F:" + j;
                    C _tmp1 = I;
                    C.EI = "charImage" + C.N.length;
                }
                C _tmp2 = I;
                C.I(g, C.N[X][j], 50, 50, (6 - k % byte0) * 50, (k / byte0) * 50, x + S(), y + A(), c);
            } else
            {
                C _tmp3 = I;
                if(C.N[X][j] == null)
                    C.AI = "Player2 image null";
                C _tmp4 = I;
                C.I(g, C.N[X][j], 50, 50, (k % byte0) * 50, (k / byte0) * 50, x + S(), y + A(), c);
            }
        }
    }
}

⌨️ 快捷键说明

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