home *** CD-ROM | disk | FTP | other *** search
- stopDrag();
- x = getProperty("mouse", _X);
- y = getProperty("mouse", _Y);
- if("240" < x)
- {
- x = "240";
- }
- if(x < "4")
- {
- x = "4";
- }
- d = (x - shipoffx) / "4";
- setProperty("/ship", _X, x);
- shipx = int(d);
- smooth = x - shipoffx;
- if("0" < life)
- {
- life -= "10";
- if("0" < life)
- {
- setProperty("/ship", _xscale, life + "100");
- }
- else
- {
- setProperty("/ship", _xscale, "100");
- setProperty("lives" add lives, _alpha, "30");
- lives -= "1";
- }
- }
- if(xlf == "0")
- {
- if("50000" < score)
- {
- xlf = "1";
- lives += "1";
- setProperty("lives" add lives, _alpha, "100");
- }
- }
-