home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / robot_warrior.swf / scripts / DefineSprite_9_tama2 / frame_2 / DoAction.as
Encoding:
Text File  |  2006-09-05  |  1.6 KB  |  57 lines

  1. this._x += move;
  2. allmove += move;
  3. if(allmove >= 1500 || allmove <= -1500)
  4. {
  5.    this.removeMovieClip();
  6. }
  7. if(this.hitTest(_root.stage.enemy01.enemy))
  8. {
  9.    _root.stage.enemy01.enemy.dmg(nok,dmgpoint,nokYN,sys1,sys2);
  10.    this.gotoAndPlay(endFrame);
  11. }
  12. if(this.hitTest(_root.stage.enemy02.enemy))
  13. {
  14.    _root.stage.enemy02.enemy.dmg(nok,dmgpoint,nokYN,sys1,sys2);
  15.    this.gotoAndPlay(endFrame);
  16. }
  17. if(this.hitTest(_root.stage.enemy03.enemy))
  18. {
  19.    _root.stage.enemy03.enemy.dmg(nok,dmgpoint,nokYN,sys1,sys2);
  20.    this.gotoAndPlay(endFrame);
  21. }
  22. if(this.hitTest(_root.stage.enemy04.enemy))
  23. {
  24.    _root.stage.enemy04.enemy.dmg(nok,dmgpoint,nokYN,sys1,sys2);
  25.    this.gotoAndPlay(endFrame);
  26. }
  27. if(this.hitTest(_root.stage.enemy05.enemy))
  28. {
  29.    _root.stage.enemy05.enemy.dmg(nok,dmgpoint,nokYN,sys1,sys2);
  30.    this.gotoAndPlay(endFrame);
  31. }
  32. if(this.hitTest(_root.stage.enemy06.enemy))
  33. {
  34.    _root.stage.enemy06.enemy.dmg(nok,dmgpoint,nokYN,sys1,sys2);
  35.    this.gotoAndPlay(endFrame);
  36. }
  37. if(this.hitTest(_root.stage.enemy07.enemy))
  38. {
  39.    _root.stage.enemy07.enemy.dmg(nok,dmgpoint,nokYN,sys1,sys2);
  40.    this.gotoAndPlay(endFrame);
  41. }
  42. if(this.hitTest(_root.stage.enemy08.enemy))
  43. {
  44.    _root.stage.enemy08.enemy.dmg(nok,dmgpoint,nokYN,sys1,sys2);
  45.    this.gotoAndPlay(endFrame);
  46. }
  47. if(this.hitTest(_root.stage.enemy09.enemy))
  48. {
  49.    _root.stage.enemy09.enemy.dmg(nok,dmgpoint,nokYN,sys1,sys2);
  50.    this.gotoAndPlay(endFrame);
  51. }
  52. if(this.hitTest(_root.stage.enemy10.enemy))
  53. {
  54.    _root.stage.enemy10.enemy.dmg(nok,dmgpoint,nokYN,sys1,sys2);
  55.    this.gotoAndPlay(endFrame);
  56. }
  57.