home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / cheezy_chums.swf / scripts / DefineSprite_97 / frame_1 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  1.0 KB  |  61 lines

  1. if(eval("/:score") == "3")
  2. {
  3.    tellTarget("/lev" add eval("/:difficulty"))
  4.    {
  5.       stop();
  6.    }
  7.    tellTarget("_level0/ballmc10")
  8.    {
  9.       gotoAndStop(1);
  10.    }
  11.    tellTarget("_level0/ballmc9")
  12.    {
  13.       gotoAndStop(1);
  14.    }
  15.    tellTarget("_level0/ballmc8")
  16.    {
  17.       gotoAndStop(1);
  18.    }
  19.    tellTarget("_level0/ballmc7")
  20.    {
  21.       gotoAndStop(1);
  22.    }
  23.    tellTarget("_level0/ballmc6")
  24.    {
  25.       gotoAndStop(1);
  26.    }
  27.    tellTarget("_level0/ballmc5")
  28.    {
  29.       gotoAndStop(1);
  30.    }
  31.    tellTarget("_level0/ballmc4")
  32.    {
  33.       gotoAndStop(1);
  34.    }
  35.    tellTarget("_level0/ballmc3")
  36.    {
  37.       gotoAndStop(1);
  38.    }
  39.    tellTarget("_level0/ballmc2")
  40.    {
  41.       gotoAndStop(1);
  42.    }
  43.    tellTarget("_level0/ballmc1")
  44.    {
  45.       gotoAndStop(1);
  46.    }
  47.    tellTarget("_level0")
  48.    {
  49.       gotoAndStop("victory");
  50.       play();
  51.    }
  52. }
  53. if(eval("/:ballmc10_locx") >= "462")
  54. {
  55.    set("/:score",eval("/:score") + "1");
  56. }
  57. if(eval("/:ballmc5_locx") >= "463")
  58. {
  59.    set("/:score",eval("/:score") + "1");
  60. }
  61.