home *** CD-ROM | disk | FTP | other *** search
- if(she == "200")
- {
- duplicateMovieClip("/shieldcov","shieldcov" add shieldlay,shieldlay + 16384);
- setProperty("shieldcov" add shieldlay, _X, x * "4" + "4");
- setProperty("shieldcov" add shieldlay, _Y, y * "4" + "4");
- set(x add "dm" add y,shieldlay);
- setProperty("shieldcov" add shieldlay, _alpha, shieldred);
- set(x add "alp" add y,shieldred);
- set(x add "am" add y,"0");
- set("wepy" add count,"0");
- removeMovieClip("wep" add count);
- duplicateMovieClip("/wepexp","wep" add count,"153" + count + 16384);
- setProperty("wep" add count, _X, x * "4" + wepoffx);
- setProperty("wep" add count, _Y, y * "4" + wepoffy);
- setProperty("wep" add count, _alpha, "100");
- alienfire -= "1";
- shieldlay += "1";
- }
- else
- {
- alp = eval(x add "alp" add y) + shieldred;
- if(alp < "75")
- {
- setProperty("shieldcov" add she, _alpha, alp);
- set(x add "alp" add y,alp);
- set(x add "am" add y,"0");
- set("wepy" add count,"0");
- removeMovieClip("wep" add count);
- duplicateMovieClip("/wepexp","wep" add count,"153" + count + 16384);
- setProperty("wep" add count, _X, x * "4" + wepoffx);
- setProperty("wep" add count, _Y, y * "4" + wepoffy);
- setProperty("wep" add count, _alpha, "100");
- alienfire -= "1";
- }
- else
- {
- setProperty("shieldcov" add she, _alpha, "100");
- set(x add "dm" add y,"0");
- set(x add "am" add y,"0");
- set("wepy" add count,"0");
- removeMovieClip("wep" add count);
- duplicateMovieClip("/wepexp","wep" add count,"153" + count + 16384);
- setProperty("wep" add count, _X, x * "4" + wepoffx);
- setProperty("wep" add count, _Y, y * "4" + wepoffy);
- setProperty("wep" add count, _alpha, "100");
- alienfire -= "1";
- }
- }
-