home *** CD-ROM | disk | FTP | other *** search
- if(many == "1")
- {
- where_x1 = where_x;
- where_y1 = where_y;
- where_x = "0";
- where_y = "0";
- gotoAndStop(49);
- }
- waiting = "0";
- if(many == "2")
- {
- if(eval("pos_" add where_x add "_" add where_y) == eval("pos_" add where_x1 add "_" add where_y1))
- {
- if(where_x != where_x1 or where_y != where_y1)
- {
- tellTarget("/Bild_" add where_x add "_" add where_y)
- {
- gotoAndStop(10);
- }
- tellTarget("/Bild_" add where_x1 add "_" add where_y1)
- {
- gotoAndStop(10);
- }
- tellTarget("/t" add where_x1 add "_" add where_y1)
- {
- gotoAndStop(2);
- }
- tellTarget("/t" add where_x add "_" add where_y)
- {
- gotoAndStop(2);
- }
- set("weg_" add where_x add "_" add where_y,"1");
- set("weg_" add where_x1 add "_" add where_y1,"1");
- countdown -= "2";
- where_x = "0";
- where_y = "0";
- many = "0";
- }
- else
- {
- many = "1";
- }
- }
- else
- {
- many = "0";
- waiting = "1";
- xxx = "1";
- yyy = "1";
- while(xxx < "5")
- {
- while(yyy < "5")
- {
- tellTarget("/t" add xxx add "_" add yyy)
- {
- gotoAndStop(2);
- }
- yyy += "1";
- }
- xxx += "1";
- yyy = "1";
- }
- gotoAndPlay(53);
- }
- }
- if(countdown == "0")
- {
- gotoAndStop(62);
- }
- else if(waiting == "0")
- {
- gotoAndStop(49);
- }
-