home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / pandawars.swf / scripts / DefineSprite_56 / frame_3 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  258 b   |  19 lines

  1. idoflg = 1;
  2. if(this.hitTest(_root.pandam))
  3. {
  4.    kaihi = Math.floor(Math.random() * 3 + 1);
  5.    if(kaihi <= 2)
  6.    {
  7.       gotoAndStop("flgE");
  8.    }
  9.    else
  10.    {
  11.       gotoAndStop("flgF");
  12.       play();
  13.    }
  14. }
  15. else
  16. {
  17.    main.body.heitype();
  18. }
  19.