home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / ZanyAttack.swf / scripts / DefineSprite_155 / frame_155 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  332 b   |  20 lines

  1. set("/:score",eval("/:score") + "2400");
  2. call("UpdateScoreString");
  3. if(eval("/:enemyRows") < "5")
  4. {
  5.    set("/:enemyRows",eval("/:enemyRows") + "1");
  6.    tellTarget("/")
  7.    {
  8.       gotoAndStop("PlayerWin");
  9.       play();
  10.    }
  11. }
  12. else
  13. {
  14.    tellTarget("/")
  15.    {
  16.       gotoAndStop("PlayerFinish");
  17.       play();
  18.    }
  19. }
  20.