home *** CD-ROM | disk | FTP | other *** search
- if(_root.guy.highkick.highkick.hitTest(tosser) and hp eq 0)
- {
- this.scores.gotoAndPlay("score800");
- scores._xscale = this._xscale;
- _root.panel.score += 800;
- gotoAndPlay(215);
- }
- else if(_root.guy.highkick.highkick.hitTest(tosser))
- {
- Hita = new Sound();
- Hita.attachSound("Hita");
- Hita.start();
- hp -= 1;
- gotoAndStop(171);
- }
- else if(_root.guy.lowkick.lowkick.hitTest(tosser) and hp eq 0)
- {
- this.scores.gotoAndPlay("score800");
- scores._xscale = this._xscale;
- _root.panel.score += 800;
- gotoAndPlay(214);
- }
- else if(_root.guy.lowkick.lowkick.hitTest(tosser))
- {
- Hita = new Sound();
- Hita.attachSound("Hita");
- Hita.start();
- hp -= 1;
- gotoAndStop(173);
- }
- else if(_root.guy.punch.punch.hitTest(tosser) and hp eq 0)
- {
- this.scores.gotoAndPlay("score800");
- scores._xscale = this._xscale;
- _root.panel.score += 800;
- gotoAndPlay(212);
- }
- else if(_root.guy.punch.punch.hitTest(tosser))
- {
- Hita = new Sound();
- Hita.attachSound("Hita");
- Hita.start();
- hp -= 1;
- gotoAndStop(171);
- }
- else if(_root.guy.lowpunch.lowpunch.hitTest(tosser) and hp eq 0)
- {
- this.scores.gotoAndPlay("score800");
- scores._xscale = this._xscale;
- _root.panel.score += 800;
- gotoAndPlay(215);
- }
- else if(_root.guy.lowpunch.lowpunch.hitTest(tosser))
- {
- Hita = new Sound();
- Hita.attachSound("Hita");
- Hita.start();
- hp -= 1;
- gotoAndStop(172);
- }
- else if(_root.guy.jumpkick.jumpkick.hitTest(tosser) and hp eq 0 and _root.blood == "on")
- {
- this.scores.gotoAndPlay("score1000");
- scores._xscale = this._xscale;
- _root.panel.score += 1000;
- gotoAndPlay(213);
- }
- else if(_root.guy.jumpkick2.jumpkick.hitTest(tosser) and hp eq 0 and _root.blood == "on")
- {
- this.scores.gotoAndPlay("score1000");
- scores._xscale = this._xscale;
- _root.panel.score += 1000;
- gotoAndPlay(213);
- }
- else if(_root.guy.jumpkick.jumpkick.hitTest(tosser) and hp eq 0 and _root.blood == "off")
- {
- this.scores.gotoAndPlay("score1000");
- scores._xscale = this._xscale;
- _root.panel.score += 1000;
- Hit1 = new Sound();
- Hit1.attachSound("Hit1");
- Hit1.start();
- Aouw = new Sound();
- Aouw.attachSound("Aouw");
- Aouw.start();
- gotoAndPlay(224);
- }
- else if(_root.guy.jumpkick2.jumpkick.hitTest(tosser) and hp eq 0 and _root.blood == "off")
- {
- this.scores.gotoAndPlay("score1000");
- scores._xscale = this._xscale;
- _root.panel.score += 1000;
- Hit1 = new Sound();
- Hit1.attachSound("Hit1");
- Hit1.start();
- Aouw = new Sound();
- Aouw.attachSound("Aouw");
- Aouw.start();
- gotoAndPlay(224);
- }
- else if(_root.guy.jumpkick.jumpkick.hitTest(tosser))
- {
- Hita = new Sound();
- Hita.attachSound("Hita");
- Hita.start();
- hp -= 1;
- gotoAndStop(171);
- }
- else if(_root.guy.jumpkick2.jumpkick.hitTest(tosser))
- {
- Hita = new Sound();
- Hita.attachSound("Hita");
- Hita.start();
- hp -= 1;
- gotoAndStop(171);
- }
- else if(_root.special == "on")
- {
- f = [216,217];
- r = random(2);
- frame = f[r];
- gotoAndPlay(frame);
- }
- else if(_root.pause == "on")
- {
- f = [218,219];
- r = random(2);
- frame = f[r];
- gotoAndPlay(frame);
- }
- else if(_root.killallenemies == "on")
- {
- gotoAndStop(170);
- }
-