home *** CD-ROM | disk | FTP | other *** search
- unloadMovieNum(1);
- view_scores = "";
- my_ranking = "";
- num = "1";
- max_possible_score = "50000";
- while(numplayers >= num)
- {
- if(eval("score_" add num) < max_possible_score)
- {
- numbers = numbers add num add "\r";
- names = names add eval("name_" add num) add "\r";
- scores = scores add eval("score_" add num) add "\r";
- }
- num += "1";
- }
- if(justlooking != "1")
- {
- num = "1";
- while(num < numplayers)
- {
- if(my_score == eval("score" add "_" add num) and my_name == eval("name" add "_" add num))
- {
- my_ranking = "you are ranked at position " add num add " in the top " add numplayers add "!";
- }
- num += "1";
- }
- if(my_ranking eq "")
- {
- my_ranking = "sorry, you did not rank among the top " add numplayers add " scores";
- }
- }
- else
- {
- my_ranking = "you didn\'t beat your previous best of " add eval("/:bestscore") add " ...go and try again!";
- if(eval("/:compromised") == "1")
- {
- my_ranking = "game performance compromised! it\'s not fair to submit an unfairly achieved score!";
- }
- }
- my_score = "0";
- stop();
-