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

📄 dragoncanvas.java

📁 COM2US的超精典DragonFire2(龙火2),不用多说了,玩手游的都知道.
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
                if(ad)
                {
                    vh();
                    vk();
                    playSound(0);
                    bb = 1;
                    cq = false;
                    ca = 2;
                    ec = false;
                    bl = false;
                    ad = false;
                }
                cz.uw = 300;
                if(cw)
                {
                    repaint();
                    sleep(80);
                    continue;
                }
                // fall through

            case 3: // '\003'
                if(!cq)
                {
                    if(aa)
                    {
                        vh();
                        if(fy[2] == 0)
                            yi(bn + 1);
                        else
                            yi(bn + 4);
                        bh = bn - 1;
                        vk();
                        cz.uw = 172;
                        cf = true;
                        aa = false;
                        playSound(1);
                    }
                    if(as)
                    {
                        yu();
                        vh();
                        vk();
                        cq = false;
                        cz.uw = 172;
                        bl = true;
                        cd = 0;
                        as = false;
                        playSound(3);
                    }
                    if(af)
                    {
                        af = false;
                        if(cy && !cz.uy)
                        {
                            cu = true;
                            ci = 0;
                            eb = 0;
                        }
                        cy = false;
                    }
                    if(bh == 1 && ca == 0 && ag != 2)
                    {
                        if(ak != null && !cf)
                        {
                            bl = true;
                            cd = 0;
                        }
                        ca++;
                        cf = false;
                    }
                    if(bh == 1 && ca == 1629 || bh == 2 && ca == 1630 || bh == 3 && ca == 1915)
                    {
                        gr = 0;
                        bl = true;
                        cd = 1;
                        bc = 0;
                        ca++;
                    }
                    if(!bl)
                    {
                        if(bj % 48 == 0 && bj != 0)
                        {
                            ax = 0;
                            xo(bh + 15 + (bj / 48) * 3);
                        }
                        if(bh == 1 && ca == 1530 || bh == 2 && ca == 1485 || bh == 3 && ca == 1776)
                            if(!cz.ue)
                            {
                                cq = true;
                                bb = 1;
                            } else
                            {
                                switch(bh)
                                {
                                case 1: // '\001'
                                    ak = vl(fntNormal, "Beware for it is Mearcur. Though the first spatial door to the future will occur when we kill him, we must evade his attack or be destroyed ourselves.&How can we destroy him?&&Though he is quick to rejuvenate from any attacks, damages to his chest are harder for him to recover from.&&Then we should concentrate on attacking his chest when it is exposed.&&Feanon, King of Dragons?! You think yourself a worthy opponent of me, the Perpetrator of Darkness?!!&Mearcur...  Prepare to pay for all the evil you have caused.&You dare judge me! Only I, the absolute sovereign can be the judge of all!&&As light swallows darkness, no absolute sovereign of evil can last. The light of good will always prevail.&You pretentious fool. Though I entertained the thought of killing you mercifully, your arrogant words have helped me change my mind. Prepare for a painful death!&Uh-Oh... We better get ready...&&What\u2019s this?!! A Human? Feanon... have you sunk so low as to be a pet for a human?&&Human or dragon, neither matters. Above all, we are friends.&&Friends with a human? Surely you jest. No matter. Human, thank your friend for the pain and suffering you are about to receive.&&We'll see who does the suffering!&Mearcur! Prepare to be sealed in the darkness from whence you came!&", 162);
                                    break;

                                case 2: // '\002'
                                    ak = vl(fntNormal, "Wow...  What a humungous ship!&&That such a huge ship can move so freely means there is a tremendous motor power in it.&Are you for or against us?&&Neither. A quest has brought us here.&Feanon, I can see now that the deck is vulnerable. The ship is also loaded with missiles. We\u2019d better get ourselves out of here quickly.&&Lady Amond, I\u2019ll try to persuade them, but nonetheless, you mustn\u2019t lower your guard. You never know when they\u2019ll start attacking.&&I doubt he\u2019ll accept to comply with us...&Compromise is not in my rules. That\u2019s for cowards. If you don\u2019t obey, then I\u2019ll have to regard you as a threat and treat you accordingly.&&How can that be? Is that why you\u2019re attacking all the empires that disagree with you?&That\u2019s correct. State where you stand.&We don\u2019t want to be your enemy. We only need to go through the spatial door...&&Enough of this gibberish. You stand with the enemy. Attack!!!&", 162);
                                    break;

                                case 3: // '\003'
                                    ak = vl(fntNormal, "Look, they\u2019ve constructed an awesome fortress. Must be their outpost...  All the enemy army must\u2019ve been sent out from here.&&I agree with you, my lady. If we don\u2019t destroy it now, it\u2019ll result in more damage later.&&I\u2019m the captain of the great Cora Empire. I congratulate you for your courage to have made it this far. Luck must have saved your lives but your destiny ends here.&You\u2019re all the same. You only destroy and want to dominate others. If you continue, you\u2019ll only hasten your own destruction.&&Oh, really? I wouldn\u2019t be so sure about that if I were you.&", 162);
                                    break;
                                }
                                bz = true;
                                cy = false;
                                eb = 0;
                                playSound(2);
                            }
                        if(bz)
                        {
                            bo = false;
                            cr = 0;
                            wo(88, 172);
                        } else
                        if(bx)
                        {
                            bo = true;
                            cr = 0;
                            cz.uw -= 10;
                        } else
                        {
                            ze();
                            zt();
                        }
                        zu();
                        zi();
                        if(!cm)
                            for(; aq[bh - 1][t] == ca; t++)
                            {
                                ep++;
                                wt();
                            }

                        yt();
                        zl();
                        if(cu)
                            zo();
                        if(bs)
                        {
                            za();
                            ba++;
                            if(ba > 50)
                            {
                                el = cz.uq;
                                ez = cz.uw;
                                bs = false;
                                ex = true;
                                ba = 0;
                                am = -4;
                            }
                        }
                        if(ex)
                        {
                            zs();
                            ba++;
                            if(ba > 24)
                            {
                                ex = false;
                                ba = 0;
                            }
                        }
                        if(bf)
                            zd();
                        zg();
                        em = false;
                        zw();
                        zx();
                        zf();
                        zv();
                        ca++;
                        if(bo)
                            al++;
                        am++;
                        kl++;
                        lk++;
                    } else
                    if(cd == 1)
                    {
                        bc++;
                        if((av != 16 || bc > 30) && bc > 3)
                        {
                            gr++;
                            bc = 0;
                        }
                        if(bh == 1 && gr >= 30 || bh == 2 && gr >= 21 || bh == 3 && gr >= 12 || av == -6 || av == 42)
                        {
                            ak = null;
                            bz = false;
                            bl = false;
                        }
                    } else
                    if(cd == 0)
                    {
                        bv++;
                        cz.uw = 172;
                        if(bv > 828 || av == -6 || av == 42)
                        {
                            bl = false;
                            ak = null;
                            playSound(1);
                        }
                    } else
                    if(cd == 2)
                    {
                        bv++;
                        if(bv > 240 || av == -6 || av == 42)
                        {
                            bl = false;
                            ec = false;
                            ag = 2;
                            ak = null;
                            vh();
                            vk();
                            bb = 1;
                            cq = false;
                            ca = 2;
                            playSound(0);
                        }
                    }
                    if(cl && av == -7)
                    {
                        bb = 1;
                        cq = true;
                    }
                    repaint();
                    sleep(80);
                } else
                {
                    repaint();
                    sleep(100);
                }
                break;

            case 4: // '\004'
                if(ca == 0)
                {
                    es = (ea * 100) / ep;
                    ed = es * 100 * bh;
                    ef = (cz.uo + 1) * 200 * bh;
                    eg = cz.uf;
                    cz.uf = eg + ed + ef;
                    gq = -1;
                    playSound(5);
                    if(cz.uf > 0x98967f)
                        cz.uf = 0x98967f;
                    an = 7;
                    if(bh != 3)
                    {
                        vk();
                        if(fy[2] == 0)
                            yo(bh + 1);
                        else
                            yo(bh + 4);
                    } else
                    {
                        ak = vl(fntNormal, "Prepare to battle against these types of new and powerful enemies, and... &these types of enemy bosses in Com2uS Dragon Fire 2, Episode 2.", 156);
                        bh++;
                        en = true;
                        yp();
                        yo(1);
                    }
                }
                if(cq)
                {
                    repaint();
                    sleep(100);
                } else
                {
                    if(av == -6 && fu > 10)
                    {
                        if(en)
                        {
                            av = 100;
                            ag = 3;
                            bl = true;
                            cd = 2;
                            playSound(4);
                        } else
                        {
                            ag = 3;
                            ca = -1;
                            playSound(1);
                        }
                    } else
                    if(av == -6)
                    {
                        fu = 11;
                        av = 100;
                    }
                    if(ab && an > 2 || an > 7)
                    {
                        fu++;
                        ab = false;
                        an = 0;
                    }
                    an++;
                    ca++;
                    repaint();
                    sleep(100);
                }
                break;

            case 6: // '\006'
            case 7: // '\007'
            case 8: // '\b'
                repaint();
                sleep(100);
                break;

            case 9: // '\t'
                sleep(150);
                break;

            case 5: // '\005'
            default:
                sleep(100);
                repaint();
                break;
            }
        while(true);
    }

    public void sleep(int i1)
    {
        try
        {
            Thread.sleep(i1);
        }
        catch(InterruptedException interruptedexception) { }
    }

    public void setCommands(String s, String s1)
    {
        leftCommand = s;
        rightCommand = s1;
    }

    private void zw()
    {
        if(eh)
        {
            if(bh == 1 && bg)
            {
                zp();
                eu++;
                if(eu > 40)
                {
                    bg = false;
                    eu = 0;
                }
            }
            if(ca > aw[bh - 1])
            {
                ca = ae[bh - 1];
                t = ar[bh - 1];
            }
        } else
        if(ej)
        {
            if(ca > at[bh - 1])
            {
                ca = ay[bh - 1];
                t = au[bh - 1];
            }
        } else
        if(!cm)
        {
            bj++;
            ax++;
            em = true;
        } else
        {
            bk++;
            if(bk > 150)
                bx = true;
            if(bk > 175)
            {
                bx = false;
                ca = -1;
                fu = 0;
                ag = 4;
            }
        }
    }

    private void ze()
    {
        if(cz.ue && !cz.uy)
        {

⌨️ 快捷键说明

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