home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / OvCata.swf / scripts / DefineSprite_361 / frame_47 / DoAction.as
Encoding:
Text File  |  2005-08-04  |  455 b   |  31 lines

  1. x = random(4);
  2. if(x < 1)
  3. {
  4.    this._x = _root.sheep._x + 700;
  5. }
  6. if(x > 0)
  7. {
  8.    if(x < 2)
  9.    {
  10.       this._x = _root.sheep._x + 700;
  11.    }
  12. }
  13. if(x > 1)
  14. {
  15.    if(x < 3)
  16.    {
  17.       this._x = _root.sheep._x + 700;
  18.    }
  19. }
  20. if(x > 2)
  21. {
  22.    this._x = _root.sheep._x + 700;
  23. }
  24. _root.bot6life = 1;
  25. _root.notarget6 = true;
  26. _root.hitarea6 = false;
  27. _root.fishjump = true;
  28. _root.sheeplevel.nextFrame();
  29. _root.score.score1 += 1;
  30. gotoAndPlay(1);
  31.