home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / LetLoveEnergy.swf / scripts / DefineSprite_302 / frame_5 / DoAction.as
Encoding:
Text File  |  2005-08-05  |  341 b   |  22 lines

  1. i = 1;
  2. playercounter = numscores + 1;
  3. while(numscores >= i)
  4. {
  5.    currentscore = int(eval("score" + i));
  6.    if(scorebox >= currentscore && 0 < scorebox)
  7.    {
  8.       playercounter -= 1;
  9.       HighScore = true;
  10.       NewPlayerScore = scorebox;
  11.    }
  12.    i++;
  13. }
  14. if(HighScore)
  15. {
  16.    gotoAndPlay(8);
  17. }
  18. else
  19. {
  20.    gotoAndPlay(7);
  21. }
  22.