home *** CD-ROM | disk | FTP | other *** search
- stop();
- i = "1";
- while(i < "7")
- {
- set("Type" add i,eval("Type" add i) - eval("/:onTray" add i));
- if(eval("Type" add i) < "1")
- {
- set("Type" add i,"0");
- tellTarget("line" add i)
- {
- gotoAndStop(2);
- }
- }
- i += "1";
- }
- i = "1";
- while(i < "7")
- {
- set("/:onTray" add i,"0");
- i += "1";
- }
- if(alt == "1")
- {
- tellTarget("line6")
- {
- gotoAndStop(1);
- }
- }
- else
- {
- tellTarget("line5")
- {
- gotoAndStop(1);
- }
- }
- if(type1 + type2 + type3 + type4 + type5 + type6 == "0")
- {
- set("/:won","1");
- }
- else
- {
- set("/:won","0");
- }
-