home *** CD-ROM | disk | FTP | other *** search
- x = this._x;
- y = this._y;
- fall = eval("/:fall");
- if(Number(x) < 0)
- {
- fall = 0;
- }
- y += fall;
- if(this.hitTest(_root.ring1))
- {
- go = random(2) + 1;
- if(Number(go) == 1)
- {
- x += 15;
- }
- if(Number(go) == 2)
- {
- x -= 15;
- }
- _root.ring1.play();
- }
- if(this.hitTest(_root.ring2))
- {
- go = random(2) + 1;
- if(Number(go) == 1)
- {
- x += 15;
- }
- if(Number(go) == 2)
- {
- x -= 15;
- }
- _root.ring2.play();
- }
- if(this.hitTest(_root.ring3))
- {
- go = random(2) + 1;
- if(Number(go) == 1)
- {
- x += 15;
- }
- if(Number(go) == 2)
- {
- x -= 15;
- }
- _root.ring3.play();
- }
- if(this.hitTest(_root.ring4))
- {
- go = random(2) + 1;
- if(Number(go) == 1)
- {
- x += 15;
- }
- if(Number(go) == 2)
- {
- x -= 15;
- }
- _root.ring4.play();
- }
- if(this.hitTest(_root.ring5))
- {
- go = random(2) + 1;
- if(Number(go) == 1)
- {
- x += 15;
- }
- if(Number(go) == 2)
- {
- x -= 15;
- }
- _root.ring5.play();
- }
- if(this.hitTest(_root.ring6))
- {
- go = random(2) + 1;
- if(Number(go) == 1)
- {
- x += 15;
- }
- if(Number(go) == 2)
- {
- x -= 15;
- }
- _root.ring6.play();
- }
- if(this.hitTest(_root.ring7))
- {
- go = random(2) + 1;
- if(Number(go) == 1)
- {
- x += 15;
- }
- if(Number(go) == 2)
- {
- x -= 15;
- }
- _root.ring7.play();
- }
- if(this.hitTest(_root.ring8))
- {
- go = random(2) + 1;
- if(Number(go) == 1)
- {
- x += 15;
- }
- if(Number(go) == 2)
- {
- x -= 15;
- }
- _root.ring8.play();
- }
- if(this.hitTest(_root.ring9))
- {
- go = random(2) + 1;
- if(Number(go) == 1)
- {
- x += 15;
- }
- if(Number(go) == 2)
- {
- x -= 15;
- }
- _root.ring9.play();
- }
- if(this.hitTest(_root.ring10))
- {
- go = random(2) + 1;
- if(Number(go) == 1)
- {
- x += 15;
- }
- if(Number(go) == 2)
- {
- x -= 15;
- }
- _root.ring10.play();
- }
- this._x = x;
- this._y = y;
- if(Number(y) > 370)
- {
- tellTarget("/life")
- {
- play();
- }
- §/:life§++;
- gotoAndPlay(3);
- }
- if(this.act1.hitTest(_root.cup.act))
- {
- gotoAndPlay(10);
- }
-