home *** CD-ROM | disk | FTP | other *** search
- ys = 0.6 * r.rubspeed;
- _Y = -20;
- _X = 100 + random(400);
- onenterframe = function()
- {
- _Y = _Y + ys;
- ys += 0.6 * r.grav;
- if(hittest(n.z))
- {
- r.score += 5 * r.point;
- r.zbonus.start();
- r.energy = r.energymax;
- r.bar.barfr.play();
- this.removeMovieClip();
- }
- if(_Y > 420)
- {
- this.removeMovieClip();
- }
- };
- stop();
-