home *** CD-ROM | disk | FTP | other *** search
- if(Number(carsize) < 60)
- {
- carsize = Number(carsize) + 5;
- carY = Number(carY) + 3.75;
- }
- else if(Number(carsize) < 150)
- {
- carsize = Number(carsize) + Number(4 + Number(4 * eval("/:carSpeed")));
- carY = Number(carY) + Number(7 + Number(7 * eval("/:carSpeed")));
- }
- else
- {
- setProperty("/bonus", _visible, false);
- gotoAndStop(1);
- }
- setProperty("bonus_graphic", _xscale, carsize);
- setProperty("bonus_graphic", _yscale, carsize);
- setProperty("bonus_graphic", _Y, carY);
- gotoAndPlay(4);
-