Frame 4
gotoAndPlay (5);
Frame 39
stop();
Frame 40
function Create_Enemy_01(L_Name, X_Pos, Y_Pos) {
_root.EnemyNumber = _root.EnemyNumber + 1;
if (_root.EnemyNumber >= _root.EnemyNumberMax) {
_root.EnemyNumber = 0;
}
_root.attachMovie(L_Name, "Enemy_" add _root.EnemyNumber, 600 + _Root.EnemyNumber);
setProperty("_root.Enemy_" add _root.EnemyNumber, _x , X_Pos);
setProperty("_root.Enemy_" add _root.EnemyNumber, _y , Y_Pos);
}
function Create_Enemy_02_a(L_Name, X_Pos, Y_Pos, Angle) {
_root.EnemyNumber = _root.EnemyNumber + 1;
if (_root.EnemyNumber >= _root.EnemyNumberMax) {
_root.EnemyNumber = 0;
}
_root.attachMovie(L_Name, "Enemy_" add _root.EnemyNumber, 600 + _Root.EnemyNumber);
setProperty("_root.Enemy_" add _root.EnemyNumber, _x , X_Pos);
setProperty("_root.Enemy_" add _root.EnemyNumber, _y , Y_Pos);
Set(("_root.Enemy_" add _root.EnemyNumber) add ".Angle", Angle);
}
function Create_Enemy_02_b(L_Name, X_Pos, Y_Pos, Trace1) {
_root.EnemyNumber = _root.EnemyNumber + 1;
if (_root.EnemyNumber >= _root.EnemyNumberMax) {
_root.EnemyNumber = 0;
}
_root.attachMovie(L_Name, "Enemy_" add _root.EnemyNumber, 600 + _Root.EnemyNumber);
setProperty("_root.Enemy_" add _root.EnemyNumber, _x , X_Pos);
setProperty("_root.Enemy_" add _root.EnemyNumber, _y , Y_Pos);
Set(("_root.Enemy_" add _root.EnemyNumber) add ".Trace", Trace1);
}
function Create_Enemy_03(L_Name, X_Pos, Y_Pos, Angle, StartX, StartY) {
_root.EnemyNumber = _root.EnemyNumber + 1;
if (_root.EnemyNumber >= _root.EnemyNumberMax) {
_root.EnemyNumber = 0;
}
_root.attachMovie(L_Name, "Enemy_" add _root.EnemyNumber, 600 + _Root.EnemyNumber);
setProperty("_root.Enemy_" add _root.EnemyNumber, _x , X_Pos);
setProperty("_root.Enemy_" add _root.EnemyNumber, _y , Y_Pos);
Set(("_root.Enemy_" add _root.EnemyNumber) add ".Angle", Angle);
Set(("_root.Enemy_" add _root.EnemyNumber) add ".StartX", StartX);
Set(("_root.Enemy_" add _root.EnemyNumber) add ".StartY", StartY);
}
function Create_Enemy_04(L_Name, X_Pos, Y_Pos) {
_root.EnemyNumber = _root.EnemyNumber + 1;
if (_root.EnemyNumber >= _root.EnemyNumberMax) {
_root.EnemyNumber = 0;
}
_root.attachMovie(L_Name, "Enemy_" add _root.EnemyNumber, 600 + _Root.EnemyNumber);
setProperty("_root.Enemy_" add _root.EnemyNumber, _x , X_Pos);
setProperty("_root.Enemy_" add _root.EnemyNumber, _y , Y_Pos);
}
_root.LevelLeft = 0;
_root.LevelRight = 550;
_root.LevelTop = 0;
_root.LevelBottom = 460;
_root.Lives = 3;
_root.Panel.Score = 0;
_root.RTypeWeaponSet = 0;
_root.Turns = 0;
_root.ShootFriend = 0;
_root.ShootFriendMax = 20;
_root.CrashNumber = 0;
_root.CrashNumberMax = 50;
_root.Bonus = 0;
_root.BonusMax = 8;
_root.EnemyNumber = 0;
_root.EnemyNumberMax = 30;
_root.SatelliteUpExist = 0;
_root.SatelliteDownExist = 0;
Frame 41
_root.GroundDownAktual = 0;
_root.GroundUpAktual = 0;
_root.GroundNumber = 0;
_root.GroundNumberMax = 20;
_root.GroundSpeed = -2;
_root.GroundUp = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 11, 12, 11, 14, 15, 11, 12, 0, 11, 17, 13, 11, 14, 13, 11, 12, 0, 15, 11, 18, 11, 11, 14, 13, 12, 13, 11, 14, 15, 11, 13, 12, 11, 14);
_root.GroundDown = new Array(2, 3, 1, 3, 5, 4, 3, 1, 2, 2, 3, 4, 3, 5, 1, 3, 2, 2, 1, 2, 3, 4, 2, 6, 1, 2, 1, 4, 5, 1, 3, 2, 1, 7, 3, 2, 5, 1, 2, 1, 4, 5, 1, 8, 1, 1, 4, 3, 1, 3, 1, 4, 5, 1, 2, 1, 3, 4);
_root.attachMovie("L_Ground_Down", "Ground_" add _root.GroundNumber, 250 + _root.GroundNumber);
_root["Ground_" add _root.GroundNumber].attachMovie("L_Ground_1_" add _root.GroundDown[_root.GroundDownAktual], "Plane", 50);
setProperty("_root.Ground_" add _root.GroundNumber, _x , _root.LevelLeft + (getProperty("_root.Ground_" add _root.GroundNumber, _width) / 2));
if (_root.GroundDown[_root.GroundDownAktual] == 0) {
setProperty("_root.Ground_" add _root.GroundNumber, _y , _root.LevelBottom + 100);
} else {
setProperty("_root.Ground_" add _root.GroundNumber, _y , _root.LevelBottom - (getProperty("_root.Ground_" add _root.GroundNumber, _height) / 2));
}
_root.GroundNumber = 1;
_root.attachMovie("L_Ground_Up", "Ground_" add _root.GroundNumber, 250 + _root.GroundNumber);
_root["Ground_" add _root.GroundNumber].attachMovie("L_Ground_1_" add _root.GroundUp[_root.GroundUpAktual], "Plane", 50);
setProperty("_root.Ground_" add _root.GroundNumber, _x , _root.LevelLeft + (getProperty("_root.Ground_" add _root.GroundNumber, _width) / 2));
if (_root.GroundUp[_root.GroundUpAktual] == 0) {
setProperty("_root.Ground_" add _root.GroundNumber, _y , _root.LevelTop - 100);
} else {
setProperty("_root.Ground_" add _root.GroundNumber, _y , _root.LevelTop + (getProperty("_root.Ground_" add _root.GroundNumber, _height) / 2));
}
_root.attachMovie("L_Shield", "Shield", 510);
setProperty("_root.Shield", _x , -30);
setProperty("_root.Shield", _y , _root.LevelBottom / 2);
_root.attachMovie("L_R-Type_Killed", "R-Type_Killed", 499);
setProperty("_root.R-Type_Killed", _x , -100);
setProperty("_root.R-Type_Killed", _y , _root.LevelBottom / 2);
_root.Bonus = _root.Bonus + 1;
if (_root.Bonus >= _root.BonusMax) {
_root.Bonus = 0;
}
_root.attachMovie("L_Bonus_3", "Bonus_" add _root.Bonus, 240 + _root.Bonus);
setProperty("_root.Bonus_" add _root.Bonus, _x , 400);
setProperty("_root.Bonus_" add _root.Bonus, _y , _root.LevelBottom / 2);
Frame 42
_root.Turns = _root.Turns + 1;
Frame 43
if ((_root.Turns >= 25) and (28 >= _root.Turns)) {
call(Create_Enemy_01("L_Enemy_01", _root.LevelRight + 30, 50 + (100 * Math.random())));
}
if ((_root.Turns >= 28) and (31 >= _root.Turns)) {
call(Create_Enemy_01("L_Enemy_01", _root.LevelRight + 30, 250 + (100 * Math.random())));
}
if ((_root.Turns >= 43) and (45 >= _root.Turns)) {
call(Create_Enemy_01("L_Enemy_01", _root.LevelRight + 30, 250 + (100 * Math.random())));
}
if ((_root.Turns >= 49) and (64 >= _root.Turns)) {
call(Create_Enemy_01("L_Enemy_01", _root.LevelRight + 30, 50 + (300 * Math.random())));
}
if ((_root.Turns >= 65) and (66 >= _root.Turns)) {
call(Create_Enemy_01("L_Enemy_01", _root.LevelRight + 30, 200 + (150 * Math.random())));
}
if ((_root.Turns >= 69) and (72 >= _root.Turns)) {
call(Create_Enemy_01("L_Enemy_01", _root.LevelRight + 30, 200 + (150 * Math.random())));
}
if ((_root.Turns >= 187) and (190 >= _root.Turns)) {
call(Create_Enemy_01("L_Enemy_01", _root.LevelRight + 30, 100 + (150 * Math.random())));
}
if ((_root.Turns >= 195) and (197 >= _root.Turns)) {
call(Create_Enemy_01("L_Enemy_01", _root.LevelRight + 30, 200 + (150 * Math.random())));
}
Frame 44
if ((_root.Turns >= 34) and (36 >= _root.Turns)) {
call(Create_Enemy_02_a("L_Enemy_02_a", _root.LevelRight + 30, 100, 0));
call(Create_Enemy_02_a("L_Enemy_02_a", (_root.LevelRight + 30) + 65, 100, -1.2));
}
if ((_root.Turns >= 37) and (39 >= _root.Turns)) {
call(Create_Enemy_02_a("L_Enemy_02_a", _root.LevelRight + 30, 300, 0));
call(Create_Enemy_02_a("L_Enemy_02_a", (_root.LevelRight + 30) + 65, 300, -1.2));
}
if ((_root.Turns >= 91) and (93 >= _root.Turns)) {
call(Create_Enemy_02_a("L_Enemy_02_a", _root.LevelRight + 30, 100, 0));
call(Create_Enemy_02_a("L_Enemy_02_a", (_root.LevelRight + 30) + 65, 100, -1.2));
}
if (_root.Turns == 102) {
call(Create_Enemy_02_a("L_Enemy_02_a", _root.LevelRight + 30, 200, 0));
}
if ((_root.Turns >= 155) and (157 >= _root.Turns)) {
call(Create_Enemy_02_b("L_Enemy_02_b", 400, -30, 10));
call(Create_Enemy_02_b("L_Enemy_02_b", 400, -95, 16));
}
if ((_root.Turns >= 208) and (210 >= _root.Turns)) {
call(Create_Enemy_02_b("L_Enemy_02_b", 520, -30, 10));
call(Create_Enemy_02_b("L_Enemy_02_b", 520, -95, 16));
}
Frame 45
if (_root.Turns == 154) {
_root.pomstep = 0;
_root.WheelStructure = new Array();
i = 0;
while (i < 15) {
if (i == 3) {
call(Create_Enemy_03("L_Enemy_03_Main", (_root.LevelRight + (_root.LevelRight / 2)) + (100 * Math.cos(((Math.PI*2) * i) / 21)), (_root.LevelBottom / 2) + (100 * Math.sin(((Math.PI*2) * i) / 18)), ((2 * Math.Pi) * i) / 18, _root.LevelRight + (_root.LevelRight / 2), _root.LevelBottom / 2));
_root.pomstep = -1;
} else {
call(Create_Enemy_03("L_Enemy_03", (_root.LevelRight + (_root.LevelRight / 2)) + (100 * Math.cos(((Math.PI*2) * i) / 21)), (_root.LevelBottom / 2) + (100 * Math.sin(((Math.PI*2) * i) / 18)), ((2 * Math.Pi) * i) / 18, _root.LevelRight + (_root.LevelRight / 2), _root.LevelBottom / 2));
_root.WheelStructure[i + _root.pomstep] = _root.EnemyNumber;
}
i++;
}
}
Frame 46
if (_root.Turns == 31) {
call(Create_Enemy_04("L_Enemy_04_01", _root.LevelRight + 30, 402));
}
if (_root.Turns == 64) {
call(Create_Enemy_04("L_Enemy_04_01", _root.LevelRight + 30, 402));
}
if (_root.Turns == 69) {
call(Create_Enemy_04("L_Enemy_04_01", _root.LevelRight + 30, 402));
}
if (_root.Turns == 74) {
call(Create_Enemy_04("L_Enemy_04_01", _root.LevelRight + 30, 402));
}
if (_root.Turns == 79) {
call(Create_Enemy_04("L_Enemy_04_01", _root.LevelRight + 30, 402));
}
if (_root.Turns == 84) {
call(Create_Enemy_04("L_Enemy_04_01", _root.LevelRight + 30, 402));
}
Frame 47
if (_root.Turns == 62) {
call(Create_Enemy_04("L_Enemy_05_01", _root.LevelRight + 30, 200));
}
Frame 48
if (_root.Turns == 76) {
call(Create_Enemy_04("L_Enemy_06", _root.LevelRight - 150, _root.LevelTop - 50));
}
Frame 49
if (_root.Turns == 110) {
call(Create_Enemy_04("L_Enemy_07", _root.LevelRight + 30, 200));
call(Create_Enemy_04("L_Enemy_07", _root.LevelRight + 90, 350));
}
if (_root.Turns == 115) {
call(Create_Enemy_04("L_Enemy_07", _root.LevelRight + 40, 350));
call(Create_Enemy_04("L_Enemy_07", _root.LevelRight + 90, 200));
}
if (_root.Turns == 120) {
call(Create_Enemy_04("L_Enemy_07", _root.LevelRight + 30, 200));
call(Create_Enemy_04("L_Enemy_07", _root.LevelRight + 90, 350));
}
Frame 50
if (_root.Turns == 126) {
call(Create_Enemy_04("L_Enemy_08_a", _root.LevelRight + 20, 389));
call(Create_Enemy_04("L_Enemy_08_a", _root.LevelRight + 80, 389));
call(Create_Enemy_04("L_Enemy_08_b", _root.LevelRight + 20, 71));
call(Create_Enemy_04("L_Enemy_08_b", _root.LevelRight + 80, 71));
call(Create_Enemy_04("L_Enemy_08_a", (_root.LevelRight + 20) + 128, 355));
call(Create_Enemy_04("L_Enemy_08_a", (_root.LevelRight + 80) + 128, 355));
call(Create_Enemy_04("L_Enemy_08_b", (_root.LevelRight + 20) + 128, 105));
call(Create_Enemy_04("L_Enemy_08_b", (_root.LevelRight + 80) + 128, 105));
}
if (_root.Turns == 183) {
call(Create_Enemy_04("L_Enemy_08_a", (_root.LevelRight + 20) + 40, 355));
call(Create_Enemy_04("L_Enemy_08_a", (_root.LevelRight + 80) + 40, 355));
call(Create_Enemy_04("L_Enemy_08_b", (_root.LevelRight + 20) + 40, 71));
call(Create_Enemy_04("L_Enemy_08_b", (_root.LevelRight + 80) + 40, 71));
}
if (_root.Turns == 210) {
call(Create_Enemy_04("L_Enemy_08_a", (_root.LevelRight + 20) + 32, 355));
call(Create_Enemy_04("L_Enemy_08_a", (_root.LevelRight + 80) + 32, 355));
call(Create_Enemy_04("L_Enemy_08_b", (_root.LevelRight + 20) + 32, 105));
call(Create_Enemy_04("L_Enemy_08_b", (_root.LevelRight + 80) + 32, 105));
}
if (_root.Turns == 247) {
call(Create_Enemy_04("L_Enemy_08_a", (_root.LevelRight + 20) + 40, 389));
call(Create_Enemy_04("L_Enemy_08_a", (_root.LevelRight + 80) + 40, 389));
call(Create_Enemy_04("L_Enemy_08_b", (_root.LevelRight + 20) + 40, 71));
call(Create_Enemy_04("L_Enemy_08_b", (_root.LevelRight + 80) + 40, 71));
}
Frame 51
if (_root.Turns == 295) {
_root.FinalStatus = 5;
_root.FinalEnemies = 52;
_root.YStartFinal = 100;
_root.XStartFinal = 520;
_root.attachMovie("L_Final_01", "Enemy_31", 603);
setProperty("_root.Enemy_31", _x , _root.XStartFinal + 300);
setProperty("_root.Enemy_31", _y , _root.YStartFinal);
_root.attachMovie("L_Final_02", "Enemy_32", 604);
setProperty("_root.Enemy_32", _x , _root.XStartFinal + 301);
setProperty("_root.Enemy_32", _y , (_root.YStartFinal + 21) + 36);
_root.attachMovie("L_Final_03", "Enemy_33", 605);
setProperty("_root.Enemy_33", _x , _root.XStartFinal + 365);
setProperty("_root.Enemy_33", _y , ((_root.YStartFinal + 21) + 72) + 66);
_root.attachMovie("L_Final_04", "Enemy_34", 606);
setProperty("_root.Enemy_34", _x , _root.XStartFinal + 303);
setProperty("_root.Enemy_34", _y , (((_root.YStartFinal + 21) + 72) + 132) + 27);
_root.attachMovie("L_Final_05", "Enemy_35", 602);
setProperty("_root.Enemy_35", _x , _root.XStartFinal + 248);
setProperty("_root.Enemy_35", _y , (_root.YStartFinal + 21) + 61);
_root.attachMovie("L_Final_06", "Enemy_5", 607);
setProperty("_root.Enemy_5", _x , _root.XStartFinal + 152);
setProperty("_root.Enemy_5", _y , _root.YStartFinal + 7);
_root.attachMovie("L_Final_06", "Enemy_6", 608);
setProperty("_root.Enemy_6", _x , _root.XStartFinal + 285);
setProperty("_root.Enemy_6", _y , _root.YStartFinal + 102);
_root.attachMovie("L_Final_06", "Enemy_7", 609);
setProperty("_root.Enemy_7", _x , _root.XStartFinal + 286);
setProperty("_root.Enemy_7", _y , _root.YStartFinal + 176);
_root.attachMovie("L_Final_06", "Enemy_8", 610);
setProperty("_root.Enemy_8", _x , _root.XStartFinal + 154);
setProperty("_root.Enemy_8", _y , _root.YStartFinal + 249);
_root.attachMovie("L_Final_07", "Enemy_9", 601);
setProperty("_root.Enemy_9", _x , _root.XStartFinal + 320);
setProperty("_root.Enemy_9", _y , _root.YStartFinal + 140);
z = 0;
while (z < 13) {
if (z == 12) {
_root.attachMovie("L_Final_09", "Enemy_" add (40 + z), 611 + z);
} else {
_root.attachMovie("L_Final_08", "Enemy_" add (40 + z), 611 + z);
}
setProperty("_root.Enemy_" add (40 + z), _x , _root.XStartFinal + 282);
setProperty("_root.Enemy_" add (40 + z), _y , _root.YStartFinal + 250);
setProperty("_root.Enemy_" add (40 + z), _xscale , 150);
setProperty("_root.Enemy_" add (40 + z), _yscale , 150);
_root["Enemy_" add (40 + z)].Radius = z * 17;
_root["Enemy_" add (40 + z)].Angle = 4.71238898038469 + (z / 10);
z++;
}
}
Frame 54
gotoAndPlay (42);
Frame 59
_root.Bonus = _root.Bonus + 1;
if (_root.Bonus >= _root.BonusMax) {
_root.Bonus = 0;
}
_root.attachMovie("L_Bonus_2", "Bonus_" add _root.Bonus, 240 + _root.Bonus);
setProperty("_root.Bonus_" add _root.Bonus, _x , 400);
setProperty("_root.Bonus_" add _root.Bonus, _y , (_root.LevelBottom / 2) - 100);
_root.Bonus = _root.Bonus + 1;
if (_root.Bonus >= _root.BonusMax) {
_root.Bonus = 0;
}
_root.attachMovie("L_Bonus_4", "Bonus_" add _root.Bonus, 240 + _root.Bonus);
setProperty("_root.Bonus_" add _root.Bonus, _x , 600);
setProperty("_root.Bonus_" add _root.Bonus, _y , _root.LevelBottom / 2);
_root.Bonus = _root.Bonus + 1;
if (_root.Bonus >= _root.BonusMax) {
_root.Bonus = 0;
}
_root.attachMovie("L_Bonus_5", "Bonus_" add _root.Bonus, 240 + _root.Bonus);
setProperty("_root.Bonus_" add _root.Bonus, _x , 500);
setProperty("_root.Bonus_" add _root.Bonus, _y , _root.LevelBottom / 2);
_root.attachMovie("L_Satellite_Down", "Satellite_Down", 502);
setProperty("_root.Satellite_Down", _x , 500);
setProperty("_root.Satellite_Down", _y , 100);
_root.attachMovie("L_Satellite_Up", "Satellite_Up", 503);
setProperty("_root.Satellite_Up", _x , 200);
setProperty("_root.Satellite_Up", _y , 200);
Symbol 11 MovieClip [L_06_Crash] Frame 7
this.removeMovieClip();
stop();
Symbol 16 MovieClip [L_05_Crash] Frame 5
this.removeMovieClip();
stop();
Symbol 35 MovieClip [L_04_Crash] Frame 10
this.removeMovieClip();
stop();
Symbol 48 MovieClip [L_03_Crash] Frame 9
this.removeMovieClip();
stop();
Symbol 59 MovieClip [L_02_Crash] Frame 9
this.removeMovieClip();
stop();
Symbol 60 MovieClip [L_01_Crash] Frame 9
this.removeMovieClip();
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 16
gotoAndStop (1);
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 16
gotoAndStop (1);
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
stop();
Symbol 117 MovieClip Frame 3
stop();
Symbol 117 MovieClip Frame 4
stop();
Symbol 117 MovieClip Frame 5
stop();
Symbol 118 MovieClip [L_R-Type_Killed] Frame 1
this.RTypeKilled = 0;
this.RtypeBright = 0;
this.RTypeKilledRound = 30;
RTypeSpeed = 5;
RTypePos = 0;
RTypeWidthHalf = getProperty(this, _width) / 2;
RTypeHeightHalf = getProperty(this, _height) / 2;
_root.RTypeLoadPosX = 51;
_root.RTypeLoadPosY = 10;
_root.RTypeSingle = 0;
_root.RTypeMega = 0;
_root.RTypeShield = 0;
_root.RTypeShot = 0;
_root.RTypeShieldAttached = 0;
_root.RTypeShieldDirection = 1;
tellTarget (this.Plane) {
gotoAndStop ("Position_0");
};
this.attachMovie("L_Load_01", "Load", 512);
this.attachMovie("L_Load_02", "Load_Small", 513);
Symbol 118 MovieClip [L_R-Type_Killed] Frame 2
setProperty(this, _x , getProperty(this, _x) + RTypeSpeed);
if (getProperty(this, _x) >= 100) {
gotoAndPlay (4);
}
if (this.RtypeBright) {
this.RtypeBright = 0;
setProperty(this.Plane, _alpha , 80);
} else {
setProperty(this.Plane, _alpha , 40);
this.RtypeBright = 1;
}
Symbol 118 MovieClip [L_R-Type_Killed] Frame 3
gotoAndPlay (2);
Symbol 118 MovieClip [L_R-Type_Killed] Frame 4
this.RTypeKilled = this.RTypeKilled + 1;
if (this.RtypeBright) {
this.RtypeBright = 0;
setProperty(this.Plane, _alpha , 80);
} else {
setProperty(this.Plane, _alpha , 40);
this.RtypeBright = 1;
}
if (this.RTypeKilled == this.RTypeKilledRound) {
pom2x = getProperty("_root.R-Type_Killed", _x);
pom2y = getProperty("_root.R-Type_Killed", _y);
_root.attachMovie("L_R-Type", "R-Type", 500);
setProperty("_root.R-Type", _x , pom2x);
setProperty("_root.R-Type", _y , pom2y);
this.removeMovieClip();
}
if (Key.isDown(Key.LEFT)) {
if (_root.LevelLeft < ((getProperty(this, _x) - RTypeSpeed) - RTypeWidthHalf)) {
setProperty(this, _x , getProperty(this, _x) - RTypeSpeed);
} else {
setProperty(this, _x , 0 + RTypeWidthHalf);
}
}
if (Key.isDown(Key.RIGHT)) {
if (((getProperty(this, _x) + RTypeSpeed) + RTypeWidthHalf) < _root.LevelRight) {
setProperty(this, _x , getProperty(this, _x) + RTypeSpeed);
} else {
setProperty(this, _x , _root.LevelRight - RTypeWidthHalf);
}
}
if (Key.isDown(Key.UP)) {
if (_root.LevelTop < ((getProperty(this, _y) - RTypeSpeed) - RTypeHeightHalf)) {
setProperty(this, _y , getProperty(this, _y) - (RTypeSpeed / (3 + RTypePos)));
} else {
setProperty(this, _y , _root.LevelTop + RTypeHeightHalf);
}
if (-2 < RTypePos) {
RTypePos = RTypePos - 0.5;
tellTarget (this.Plane) {
gotoAndStop("Position_" add this.RTypePos);
};
}
}
if (Key.isDown(Key.DOWN)) {
if (((getProperty(this, _y) + RTypeSpeed) + RTypeHeightHalf) < _root.LevelBottom) {
setProperty(this, _y , getProperty(this, _y) + (RTypeSpeed / (3 - RTypePos)));
} else {
setProperty(this, _y , _root.LevelBottom - RTypeHeightHalf);
}
if (RTypePos < 2) {
RTypePos = RTypePos + 0.5;
tellTarget (this.Plane) {
gotoAndStop("Position_" add this.RTypePos);
};
}
}
if ((!Key.isDown(Key.DOWN)) and (!Key.isDown(Key.UP))) {
if (0 < RTypePos) {
RTypePos = RTypePos - 0.5;
tellTarget (this.Plane) {
gotoAndStop("Position_" add this.RTypePos);
};
}
if (RTypePos < 0) {
RTypePos = RTypePos + 0.5;
tellTarget (this.Plane) {
gotoAndStop("Position_" add this.RTypePos);
};
}
}
Symbol 118 MovieClip [L_R-Type_Killed] Frame 5
gotoAndPlay (4);
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
stop();
Symbol 119 MovieClip Frame 3
stop();
Symbol 119 MovieClip Frame 4
stop();
Symbol 119 MovieClip Frame 5
stop();
Symbol 120 MovieClip [L_R-Type] Frame 1
_root.death = 0;
RTypeSpeed = 5;
RTypePos = 0;
RTypeWidthHalf = getProperty(this, _width) / 2;
RTypeHeightHalf = getProperty(this, _height) / 2;
_root.RTypeLoadPosX = 51;
_root.RTypeWeaponSeries1 = 0;
_root.RTypeWeaponSeries2 = 0;
_root.RTypeLoadPosY = 10;
_root.RTypeSingle = 0;
_root.RTypeMega = 0;
_root.RTypeShield = 0;
_root.RTypeShot = 0;
_root.RTypeShieldAttached = 0;
_root.RTypeShieldDirection = 1;
tellTarget (this.Plane) {
gotoAndStop ("Position_0");
};
_root.attachMovie("L_Load_01", "Load", 512);
_root.attachMovie("L_Load_02", "Load_Small", 513);
function Shoot_Create(xpos, ypos, speedx, speedy, rotation) {
_root.ShootFriend = _root.ShootFriend + 1;
if (_root.ShootFriend == _root.ShootFriendMax) {
_root.ShootFriend = 0;
}
_root.attachMovie("L_Shoot_01", "ShootFriend_" add _root.ShootFriend, 200 + _root.ShootFriend);
setProperty("_root.ShootFriend_" add _root.ShootFriend, _x , xpos);
setProperty("_root.ShootFriend_" add _root.ShootFriend, _y , ypos);
setProperty("_root.ShootFriend_" add _root.ShootFriend, _rotation , rotation);
Set(("_root.ShootFriend_" add _root.ShootFriend) add ".SpeedX", speedx);
Set(("_root.ShootFriend_" add _root.ShootFriend) add ".SpeedY", speedy);
Set(("_root.ShootFriend_" add _root.ShootFriend) add ".Power", 1);
}
function Bonus_Shot_1(xpos, ypos, speedx, speedy, rotation, br) {
_root.ShootFriend = _root.ShootFriend + 1;
if (_root.ShootFriend == _root.ShootFriendMax) {
_root.ShootFriend = 0;
}
_root.attachMovie("Bonus_Shot_" add br, "ShootFriend_" add _root.ShootFriend, 200 + _root.ShootFriend);
setProperty("_root.ShootFriend_" add _root.ShootFriend, _x , xpos);
setProperty("_root.ShootFriend_" add _root.ShootFriend, _y , ypos);
setProperty("_root.ShootFriend_" add _root.ShootFriend, _rotation , rotation);
Set(("_root.ShootFriend_" add _root.ShootFriend) add ".SpeedX", speedx);
Set(("_root.ShootFriend_" add _root.ShootFriend) add ".SpeedY", speedy);
Set(("_root.ShootFriend_" add _root.ShootFriend) add ".Power", 4);
}
function Bonus_Shot_2(xpos, ypos, br) {
_root.ShootFriend = _root.ShootFriend + 1;
if (_root.ShootFriend == _root.ShootFriendMax) {
_root.ShootFriend = 0;
}
_root.attachMovie("Bonus_Shot_02_" add br, "ShootFriend_" add _root.ShootFriend, 200 + _root.ShootFriend);
setProperty("_root.ShootFriend_" add _root.ShootFriend, _x , xpos);
setProperty("_root.ShootFriend_" add _root.ShootFriend, _y , ypos);
Set(("_root.ShootFriend_" add _root.ShootFriend) add ".Power", 10);
}
function Shoot_Attached() {
call(Shoot_Create(getProperty("_root.Load_Small", _x), getProperty("_root.Load_Small", _y) - 4, _0speedx, _0speedy, 0));
}
function WeaponSeries1() {
if (_root.RTypeWeaponSet == 1) {
if (_root.Shield.ShieldDirection) {
call(Bonus_Shot_1(getProperty("_root.R-Type", _x), getProperty("_root.R-Type", _y) - 22, _0speedx + 5, _0speedy, 0, 1));
call(Bonus_Shot_1(getProperty("_root.R-Type", _x), getProperty("_root.R-Type", _y) + 22, _0speedx + 5, _0speedy, 0, 2));
if (_root.SatelliteUpExist == 1) {
call(Bonus_Shot_1(getProperty("_root.Satellite_Up", _x) + 32, getProperty("_root.Satellite_Up", _y), _0speedx + 5, _0speedy, 0, 1));
}
if (_root.SatelliteDownExist == 1) {
call(Bonus_Shot_1(getProperty("_root.Satellite_Down", _x) + 32, getProperty("_root.Satellite_Down", _y), _0speedx + 5, _0speedy, 0, 2));
}
} else {
call(Bonus_Shot_1(getProperty("_root.R-Type", _x), getProperty("_root.R-Type", _y) - 22, (-_0speedx) - 5, _0speedy, 180, 1));
call(Bonus_Shot_1(getProperty("_root.R-Type", _x), getProperty("_root.R-Type", _y) + 22, (-_0speedx) - 5, _0speedy, 180, 2));
if (_root.SatelliteUpExist == 1) {
call(Bonus_Shot_1(getProperty("_root.Satellite_Up", _x) - 32, getProperty("_root.Satellite_Up", _y), (-_0speedx) - 5, _0speedy, 180, 1));
}
if (_root.SatelliteDownExist == 1) {
call(Bonus_Shot_1(getProperty("_root.Satellite_Down", _x) - 32, getProperty("_root.Satellite_Down", _y), (-_0speedx) - 5, _0speedy, 180, 2));
}
}
}
}
function WeaponSeries2() {
if ((_root.RTypeWeaponSet == 2) & (_root.RTypeWeaponSeries2 == 0)) {
_root.RTypeWeaponSeries2 = 1;
if (_root.Shield.ShieldDirection) {
call(Bonus_Shot_2(getProperty("_root.Shield", _x), getProperty("_root.Shield", _y), 1));
} else {
call(Bonus_Shot_2(getProperty("_root.Shield", _x), getProperty("_root.Shield", _y), 2));
}
}
}
function Shoot_Not_Attached() {
call(Shoot_Create(getProperty("_root.Load_Small", _x), getProperty("_root.Load_Small", _y) - 4, _0speedx, _0speedy, 0));
if (_root.Shield.ShieldLevel == 1) {
if (_root.Shield.ShieldDirection) {
call(Shoot_Create((getProperty("_root.Shield", _x) + (getProperty("_root.Shield", _width) / 2)) + _root.RTypeLoadPosY, getProperty("_root.Shield", _y), _0speedx, _0speedy, 0));
} else {
call(Shoot_Create((getProperty("_root.Shield", _x) - (getProperty("_root.Shield", _width) / 2)) - _root.RTypeLoadPosY, getProperty("_root.Shield", _y), -_0speedx, _0speedy, 180));
}
}
if (_root.Shield.ShieldLevel == 2) {
if (_root.Shield.ShieldDirection) {
call(Shoot_Create((getProperty("_root.Shield", _x) + (getProperty("_root.Shield", _width) / 2)) + 10, getProperty("_root.Shield", _y) - 5, _30speedx, -_30speedy, -30));
call(Shoot_Create((getProperty("_root.Shield", _x) + (getProperty("_root.Shield", _width) / 2)) + 10, getProperty("_root.Shield", _y) + 5, _30speedx, _30speedy, 30));
} else {
call(Shoot_Create((getProperty("_root.Shield", _x) - (getProperty("_root.Shield", _width) / 2)) - 10, getProperty("_root.Shield", _y) - 5, -_30speedx, -_30speedy, 210));
call(Shoot_Create((getProperty("_root.Shield", _x) - (getProperty("_root.Shield", _width) / 2)) - 10, getProperty("_root.Shield", _y) + 5, -_30speedx, _30speedy, 150));
}
}
if (_root.Shield.ShieldLevel == 3) {
if (_root.Shield.ShieldDirection) {
call(Shoot_Create((getProperty("_root.Shield", _x) + (getProperty("_root.Shield", _width) / 2)) + 10, getProperty("_root.Shield", _y) - 5, _30speedx, -_30speedy, -30));
call(Shoot_Create((getProperty("_root.Shield", _x) + (getProperty("_root.Shield", _width) / 2)) + 10, getProperty("_root.Shield", _y) + 5, _30speedx, _30speedy, 30));
call(Shoot_Create(getProperty("_root.Shield", _x), (getProperty("_root.Shield", _y) - getProperty("Shield", _height)) - 10, _90speedx, -_90speedy, -90));
call(Shoot_Create(getProperty("_root.Shield", _x), (getProperty("_root.Shield", _y) + getProperty("Shield", _height)) + 10, _90speedx, _90speedy, 90));
} else {
call(Shoot_Create((getProperty("_root.Shield", _x) - (getProperty("_root.Shield", _width) / 2)) - 10, getProperty("_root.Shield", _y) - 5, -_30speedx, -_30speedy, 210));
call(Shoot_Create((getProperty("_root.Shield", _x) - (getProperty("_root.Shield", _width) / 2)) - 10, getProperty("_root.Shield", _y) + 5, -_30speedx, _30speedy, 150));
call(Shoot_Create(getProperty("_root.Shield", _x), (getProperty("_root.Shield", _y) - getProperty("Shield", _height)) - 10, -_90speedx, -_90speedy, 270));
call(Shoot_Create(getProperty("_root.Shield", _x), (getProperty("_root.Shield", _y) + getProperty("Shield", _height)) + 10, -_90speedx, _90speedy, 90));
}
}
}
function Mega_Shot_Create(MegaS) {
_root.ShootFriend = _root.ShootFriend + 1;
if (_root.ShootFriend == _root.ShootFriendMax) {
_root.ShootFriend = 0;
}
_root.attachMovie("L_Mega_Shot_Movie", "ShootFriend_" add _root.ShootFriend, 200 + _root.ShootFriend);
_root["ShootFriend_" add _root.ShootFriend].attachMovie("L_MegaShot_" add MegaS, "Plane", 200 + _root.ShootFriend);
if (_root.Shield.ShieldAttached) {
setProperty("_root.ShootFriend_" add _root.ShootFriend, _x , (getProperty("_root.Shield", _x) + (getProperty("_root.Shield", _width) / 2)) + (getProperty("_root.ShootFriend_" add _root.ShootFriend, _width) / 2));
} else {
setProperty("_root.ShootFriend_" add _root.ShootFriend, _x , (getProperty(this, _x) + (getProperty(this, _width) / 2)) + (getProperty("_root.ShootFriend_" add _root.ShootFriend, _width) / 2));
}
setProperty("_root.ShootFriend_" add _root.ShootFriend, _y , getProperty(this, _y) + 5);
Set(("_root.ShootFriend_" add _root.ShootFriend) add ".SpeedX", _0speedx + 10);
Set(("_root.ShootFriend_" add _root.ShootFriend) add ".SpeedY", 0);
Set(("_root.ShootFriend_" add _root.ShootFriend) add ".Power", 1 + (3 * MegaS));
}
_0speedx = 20;
_0speedy = 0;
_30speedx = 15;
_30speedy = 12;
_90speedx = _0speedy;
_90speedy = _0speedx;
Symbol 120 MovieClip [L_R-Type] Frame 2
if (_root.death == 1) {
_root.death = 0;
_root.Lives = _root.Lives - 1;
if (_root.Lives == 0) {
} else {
_root.attachMovie("L_R-Type_Killed", "R-Type_Killed", 499);
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_02_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
setProperty("_root.R-Type_Killed", _x , -150);
setProperty("_root.R-Type_Killed", _y , _root.LevelBottom / 2);
_root.RTypeWeaponSet = 0;
if (_root.SatelliteUpExist) {
_root.Satellite_Up.removeMovieClip();
_root.SatelliteUpExist = 0;
}
if (_root.SatelliteDownExist) {
_root.Satellite_Down.removeMovieClip();
_root.SatelliteDownExist = 0;
}
if (0 < _root.Shield.ShieldLevel) {
removeMovieClip("_root.Shield.Plane");
_root.Shield.ShieldLevel = 0;
}
_root.ShieldAvailable = 0;
_root.Load.removeMovieClip();
_rootLoad_Small.removeMovieClip();
this.removeMovieClip();
}
}
if (Key.isDown(Key.LEFT)) {
if (_root.LevelLeft < ((getProperty(this, _x) - RTypeSpeed) - RTypeWidthHalf)) {
setProperty(this, _x , getProperty(this, _x) - RTypeSpeed);
} else {
setProperty(this, _x , 0 + RTypeWidthHalf);
}
}
if (Key.isDown(Key.RIGHT)) {
if (((getProperty(this, _x) + RTypeSpeed) + RTypeWidthHalf) < _root.LevelRight) {
setProperty(this, _x , getProperty(this, _x) + RTypeSpeed);
} else {
setProperty(this, _x , _root.LevelRight - RTypeWidthHalf);
}
}
if (Key.isDown(Key.UP)) {
if (_root.LevelTop < ((getProperty(this, _y) - RTypeSpeed) - RTypeHeightHalf)) {
setProperty(this, _y , getProperty(this, _y) - (RTypeSpeed / (3 + RTypePos)));
} else {
setProperty(this, _y , _root.LevelTop + RTypeHeightHalf);
}
if (-2 < RTypePos) {
RTypePos = RTypePos - 0.5;
tellTarget (this.Plane) {
gotoAndStop("Position_" add this.RTypePos);
};
}
}
if (Key.isDown(Key.DOWN)) {
if (((getProperty(this, _y) + RTypeSpeed) + RTypeHeightHalf) < _root.LevelBottom) {
setProperty(this, _y , getProperty(this, _y) + (RTypeSpeed / (3 - RTypePos)));
} else {
setProperty(this, _y , _root.LevelBottom - RTypeHeightHalf);
}
if (RTypePos < 2) {
RTypePos = RTypePos + 0.5;
tellTarget (this.Plane) {
gotoAndStop("Position_" add this.RTypePos);
};
}
}
if ((!Key.isDown(Key.DOWN)) and (!Key.isDown(Key.UP))) {
if (0 < RTypePos) {
RTypePos = RTypePos - 0.5;
tellTarget (this.Plane) {
gotoAndStop("Position_" add this.RTypePos);
};
}
if (RTypePos < 0) {
RTypePos = RTypePos + 0.5;
tellTarget (this.Plane) {
gotoAndStop("Position_" add this.RTypePos);
};
}
}
if (!Key.isDown(83)) {
if (_root.RTypeWeaponSeries1 != 0) {
_root.RTypeWeaponSeries1 = _root.RTypeWeaponSeries1 + 1;
if (15 < _root.RTypeWeaponSeries1) {
_root.RTypeWeaponSeries1 = 0;
}
}
if (_root.RTypeSingle != 0) {
_root.RTypeSingle = _root.RTypeSingle + 1;
if (3 < _root.RTypeSingle) {
_root.RTypeSingle = 0;
}
}
}
if (Key.isDown(83)) {
if (_root.Shield.ShieldAttached & _root.Shield.ShieldDirection) {
setProperty("_root.Load_Small", _x , (getProperty(this, _x) + _root.RTypeLoadPosX) + getProperty("_root.Shield", _width));
setProperty("_root.Load_Small", _y , getProperty(this, _y) + _root.RTypeLoadPosY);
} else {
setProperty("_root.Load_Small", _x , getProperty(this, _x) + _root.RTypeLoadPosX);
setProperty("_root.Load_Small", _y , getProperty(this, _y) + _root.RTypeLoadPosY);
}
if (_root.Shield.ShieldAttached) {
if (_root.RTypeWeaponSeries2 == 0) {
call(WeaponSeries2());
}
}
if (_root.RTypeWeaponSeries1 == 0) {
if (_root.Shield.ShieldAttached) {
call(WeaponSeries1());
}
_root.RTypeWeaponSeries1 = _root.RTypeWeaponSeries1 + 1;
} else if (_root.RTypeWeaponSeries1 < 15) {
_root.RTypeWeaponSeries1 = _root.RTypeWeaponSeries1 + 1;
} else {
_root.RTypeWeaponSeries1 = 0;
}
if (_root.RTypeSingle == 0) {
tellTarget ("_root.Load_Small") {
gotoAndPlay (2);
};
if (_root.Shield.ShieldAttached) {
call(Shoot_Attached());
} else {
call(Shoot_Not_Attached());
}
_root.RTypeSingle = _root.RTypeSingle + 1;
} else if (_root.RTypeSingle < 7) {
_root.RTypeSingle = _root.RTypeSingle + 1;
} else {
_root.RTypeSingle = 0;
}
}
if (!Key.isDown(65)) {
tellTarget ("_root.Panel.Power_Line") {
gotoAndStop (1);
};
if (_root.RTypeMega != 0) {
call(Mega_Shot_Create(Math.round(_root.RTypeMega / 10)));
}
_root.RTypeMega = 0;
_root.RTypeShot = 0;
tellTarget ("_root.Load") {
gotoAndStop (1);
};
}
if (Key.isDown(65)) {
_root.RTypeMega = _root.RTypeMega + 1;
if (_root.RTypeMega == 49) {
}
if (50 < _root.RTypeMega) {
_root.RTypeMega = 50;
}
tellTarget ("_root.Panel.Power_Line") {
gotoAndStop(_root.RTypeMega);
};
if (_root.Shield.ShieldAttached & _root.Shield.ShieldDirection) {
setProperty("_root.Load", _x , (getProperty(this, _x) + _root.RTypeLoadPosX) + getProperty("_root.Shield", _width));
setProperty("_root.Load", _y , getProperty(this, _y) + _root.RTypeLoadPosY);
} else {
setProperty("_root.Load", _x , getProperty(this, _x) + _root.RTypeLoadPosX);
setProperty("_root.Load", _y , getProperty(this, _y) + _root.RTypeLoadPosY);
}
if (_root.RTypeShot == 0) {
tellTarget ("_root.Load") {
gotoAndPlay (2);
};
}
_root.RTypeShot = 1;
}
Symbol 120 MovieClip [L_R-Type] Frame 3
gotoAndPlay (2);
Symbol 121 MovieClip [L_Shield] Frame 1
this.ShieldDistance = 150;
this.Power = 0.5;
this.ShieldSpeedXDiv = 20;
this.ShieldSpeedYDiv = 22;
this.ShieldFireSpeed = 20;
this.ShieldDirection = 1;
this.ShieldAttached = 0;
this.ShieldLevel = 0;
X_Shield = new Array();
Y_Shield = new Array();
X_Shield[1] = -42;
Y_Shield[1] = 5;
X_Shield[2] = -46;
Y_Shield[2] = 4;
X_Shield[3] = -48;
Y_Shield[3] = 4;
X_Shield[13] = 40;
Y_Shield[13] = 7;
X_Shield[14] = 48;
Y_Shield[14] = 7;
X_Shield[15] = 44;
Y_Shield[15] = 7;
Symbol 121 MovieClip [L_Shield] Frame 2
if (this.ShieldAttached) {
setProperty(this, _x , getProperty("_root.R-Type", _x) + X_Shield[this.ShieldLevel + (this.ShieldDirection * 12)]);
setProperty(this, _y , getProperty("_root.R-Type", _y) + Y_Shield[this.ShieldLevel + (this.ShieldDirection * 12)]);
if (Key.isDown(88)) {
this.ShieldAttached = 0;
gotoAndPlay (5);
}
} else {
if (getProperty("_root.R-Type", _x) < (_root.levelRight / 2)) {
xspeed = (_root.LevelRight - ShieldDistance) - getProperty("_root.Shield", _x);
} else {
xspeed = (_root.LevelLeft + ShieldDistance) - getProperty("_root.Shield", _x);
}
yspeed = getProperty("_root.R-Type", _y) - getProperty("_root.Shield", _y);
setProperty("_root.Shield", _x , getProperty("_root.Shield", _x) + (xspeed / ShieldSpeedXDiv));
setProperty("_root.Shield", _y , getProperty("_root.Shield", _y) + (yspeed / ShieldSpeedYDiv));
i = 0;
while (_root.GroundNumberMax >= i) {
if (this.hitTest(_root["Ground_" add i])) {
setProperty("_root.Shield", _x , (getProperty("_root.Shield", _x) - (1.2 * (xspeed / ShieldSpeedXDiv))) + _root.GroundSpeed);
}
i++;
}
if (this.hitTest("_root.R-Type")) {
this.ShieldAttached = 1;
this.ShieldDirection = Number(getProperty("_root.R-Type", _x) < getProperty(this, _x));
this.attachMovie((("L_Shield_" add this.ShieldLevel) add "_") add this.ShieldDirection, "Plane", 510);
}
}
i = 0;
while (i < _root.EnemyNumberMax) {
if (this.hitTest("_root.Enemy_" add i)) {
_root["Enemy_" add i].Defence = _root["Enemy_" add i].Defence - this.Power;
if (50 < getProperty("_root.Enemy_" add i, _alpha)) {
setProperty("_root.Enemy_" add i, _alpha , 50);
} else {
setProperty("_root.Enemy_" add i, _alpha , 100);
}
} else {
setProperty("_root.Enemy_" add i, _alpha , 100);
}
i++;
}
Symbol 121 MovieClip [L_Shield] Frame 3
gotoAndPlay (2);
Symbol 121 MovieClip [L_Shield] Frame 5
tellTarget (this.Plane.Plane) {
gotoAndPlay (2);
};
Symbol 121 MovieClip [L_Shield] Frame 6
if (this.ShieldDirection) {
i = 0;
while (_root.GroundNumberMax >= i) {
if (this.hitTest(_root["Ground_" add i])) {
setProperty("_root.Shield", _x , getProperty("_root.Shield", _x) + (3 * _root.GroundSpeed));
tellTarget (this.Plane.Plane) {
gotoAndStop (1);
};
gotoAndPlay (2);
}
i++;
}
if ((getProperty(this, _x) + (getProperty(this, _width) / 2)) < _root.LevelRight) {
setProperty(this, _x , getProperty(this, _x) + this.ShieldFireSpeed);
} else {
tellTarget (this.Plane.Plane) {
gotoAndStop (1);
};
gotoAndPlay (2);
}
} else {
i = 0;
while (_root.GroundNumberMax >= i) {
if (this.hitTest(_root["Ground_" add i])) {
setProperty("_root.Shield", _x , getProperty("_root.Shield", _x) - (3 * _root.GroundSpeed));
tellTarget (this.Plane.Plane) {
gotoAndStop (1);
};
gotoAndPlay (2);
}
i++;
}
if (_root.LevelLeft < (getProperty(this, _x) - (getProperty(this, _width) / 2))) {
setProperty(this, _x , getProperty(this, _x) - this.ShieldFireSpeed);
} else {
tellTarget (this.Plane.Plane) {
gotoAndStop (1);
};
gotoAndPlay (2);
}
}
i = 0;
while (i < _root.EnemyNumberMax) {
if (this.hitTest("_root.Enemy_" add i)) {
_root["Enemy_" add i].Defence = _root["Enemy_" add i].Defence - this.Power;
if (50 < getProperty("_root.Enemy_" add i, _alpha)) {
setProperty("_root.Enemy_" add i, _alpha , 50);
} else {
setProperty("_root.Enemy_" add i, _alpha , 100);
}
} else {
setProperty("_root.Enemy_" add i, _alpha , 100);
}
i++;
}
Symbol 121 MovieClip [L_Shield] Frame 7
gotoAndPlay (6);
Symbol 139 MovieClip [L_Satellite_Down] Frame 1
this.Power = 0.5;
if (this.hitTest("_root.R-Type")) {
_root.SatelliteDownExist = 1;
gotoAndPlay (3);
}
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (((getProperty(this, _width) / 2) + getProperty(this, _x)) < _root.LevelLeft) {
this.removeMovieClip();
}
Symbol 139 MovieClip [L_Satellite_Down] Frame 2
gotoAndPlay (1);
Symbol 139 MovieClip [L_Satellite_Down] Frame 3
xspeed = getProperty("_root.R-Type", _x) - getProperty(this, _x);
yspeed = (getProperty("_root.R-Type", _y) + 60) - getProperty(this, _y);
setProperty(this, _x , getProperty(this, _x) + (xspeed / 5));
setProperty(this, _y , getProperty(this, _y) + (yspeed / 5));
i = 0;
while (i < _root.EnemyNumberMax) {
if (this.hitTest("_root.Enemy_" add i)) {
_root["Enemy_" add i].Defence = _root["Enemy_" add i].Defence - this.Power;
}
i++;
}
Symbol 139 MovieClip [L_Satellite_Down] Frame 4
gotoAndPlay (3);
Symbol 141 MovieClip [L_Satellite_Up] Frame 1
this.Power = 0.5;
if (this.hitTest("_root.R-Type")) {
_root.SatelliteUpExist = 1;
gotoAndPlay (3);
}
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (((getProperty(this, _width) / 2) + getProperty(this, _x)) < _root.LevelLeft) {
this.removeMovieClip();
}
Symbol 141 MovieClip [L_Satellite_Up] Frame 2
gotoAndPlay (1);
Symbol 141 MovieClip [L_Satellite_Up] Frame 3
xspeed = getProperty("_root.R-Type", _x) - getProperty(this, _x);
yspeed = (getProperty("_root.R-Type", _y) - 60) - getProperty(this, _y);
setProperty(this, _x , getProperty(this, _x) + (xspeed / 5));
setProperty(this, _y , getProperty(this, _y) + (yspeed / 5));
i = 0;
while (i < _root.EnemyNumberMax) {
if (this.hitTest("_root.Enemy_" add i)) {
_root["Enemy_" add i].Defence = _root["Enemy_" add i].Defence - this.Power;
}
i++;
}
Symbol 141 MovieClip [L_Satellite_Up] Frame 4
gotoAndPlay (3);
Symbol 143 MovieClip [L_Load_02] Frame 1
stop();
Symbol 143 MovieClip [L_Load_02] Frame 4
gotoAndStop (1);
Symbol 152 MovieClip [L_Load_01] Frame 1
stop();
Symbol 152 MovieClip [L_Load_01] Frame 18
gotoAndPlay (2);
Symbol 187 MovieClip [L_Ground_Up] Frame 1
this.StatusInside = 0;
Symbol 187 MovieClip [L_Ground_Up] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if ((_root.LevelRight >= (getProperty(this, _x) + (getProperty(this, _width) / 2))) & (this.StatusInside == 0)) {
this.StatusInside = 1;
}
if (this.StatusInside == 1) {
this.StatusInside = 2;
if (_root.GroundUp.length >= _root.GroundUpAktual) {
_root.GroundUpAktual = _root.GroundUpAktual + 1;
_root.GroundNumber = _root.GroundNumber + 1;
if (_root.GroundNumber == _root.GroundNumberMax) {
_root.GroundNumber = 0;
}
_root.attachMovie("L_Ground_Up", "Ground_" add _root.GroundNumber, 250 + _root.GroundNumber);
_root["Ground_" add _root.GroundNumber].attachMovie("L_Ground_1_" add _root.GroundUp[_root.GroundUpAktual], "Plane", 50);
setProperty("_root.Ground_" add _root.GroundNumber, _x , (getProperty(this, _x) + (getProperty(this, _width) / 2)) + (getProperty("_root.Ground_" add _root.GroundNumber, _width) / 2));
if (_root.GroundUp[_root.GroundUpAktual] == 0) {
setProperty("_root.Ground_" add _root.GroundNumber, _y , _root.LevelTop - 100);
} else {
setProperty("_root.Ground_" add _root.GroundNumber, _y , _root.LevelTop + (getProperty("_root.Ground_" add _root.GroundNumber, _height) / 2));
}
} else {
_root.GroundSpeed = 0;
}
}
if (_root.LevelLeft >= (getProperty(this, _x) + (getProperty(this, _width) / 2))) {
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 187 MovieClip [L_Ground_Up] Frame 3
gotoAndPlay (2);
Symbol 188 MovieClip [L_Ground_Down] Frame 1
this.StatusInside = 0;
Symbol 188 MovieClip [L_Ground_Down] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if ((_root.LevelRight >= (getProperty(this, _x) + (getProperty(this, _width) / 2))) & (this.StatusInside == 0)) {
this.StatusInside = 1;
}
if (this.StatusInside == 1) {
this.StatusInside = 2;
if (_root.GroundDown.length >= _root.GroundDownAktual) {
_root.GroundDownAktual = _root.GroundDownAktual + 1;
_root.GroundNumber = _root.GroundNumber + 1;
if (_root.GroundNumber == _root.GroundNumberMax) {
_root.GroundNumber = 0;
}
_root.attachMovie("L_Ground_Down", "Ground_" add _root.GroundNumber, 250 + _root.GroundNumber);
_root["Ground_" add _root.GroundNumber].attachMovie("L_Ground_1_" add _root.GroundDown[_root.GroundDownAktual], "Plane", 50);
setProperty("_root.Ground_" add _root.GroundNumber, _x , (getProperty(this, _x) + (getProperty(this, _width) / 2)) + (getProperty("_root.Ground_" add _root.GroundNumber, _width) / 2));
if (_root.GroundDown[_root.GroundDownAktual] == 0) {
setProperty("_root.Ground_" add _root.GroundNumber, _y , _root.LevelBottom + 100);
} else {
setProperty("_root.Ground_" add _root.GroundNumber, _y , _root.LevelBottom - (getProperty("_root.Ground_" add _root.GroundNumber, _height) / 2));
}
} else {
_root.GroundSpeed = 0;
}
}
if (_root.LevelLeft >= (getProperty(this, _x) + (getProperty(this, _width) / 2))) {
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 188 MovieClip [L_Ground_Down] Frame 3
gotoAndPlay (2);
Symbol 191 MovieClip [L_Shoot_01] Frame 2
setProperty(this, _x , getProperty(this, _x) + this.SpeedX);
setProperty(this, _y , getProperty(this, _y) + this.SpeedY);
if (getProperty(this, _y) < _root.LevelTop) {
this.removeMovieClip();
}
if (_root.LevelBottom < getProperty(this, _y)) {
this.removeMovieClip();
}
if (getProperty(this, _x) < _root.LevelLeft) {
this.removeMovieClip();
}
if (_root.LevelRight < getProperty(this, _x)) {
this.removeMovieClip();
}
if (0 >= Power) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_05_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
this.removeMovieClip();
}
Symbol 191 MovieClip [L_Shoot_01] Frame 3
gotoAndPlay (2);
Symbol 202 MovieClip [L_Mega_Shot_Movie] Frame 2
setProperty(this, _x , getProperty(this, _x) + this.SpeedX);
setProperty(this, _y , getProperty(this, _y) + this.SpeedY);
if (getProperty(this, _y) < _root.LevelTop) {
this.removeMovieClip();
}
if (_root.LevelBottom < getProperty(this, _y)) {
this.removeMovieClip();
}
if (getProperty(this, _x) < _root.LevelLeft) {
this.removeMovieClip();
}
if (_root.LevelRight < getProperty(this, _x)) {
this.removeMovieClip();
}
if (0 >= Power) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_06_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
this.removeMovieClip();
}
Symbol 202 MovieClip [L_Mega_Shot_Movie] Frame 3
gotoAndPlay (2);
Symbol 206 MovieClip [L_Bonus_5] Frame 1
Symbol 206 MovieClip [L_Bonus_5] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (this.hitTest("_root.R-Type")) {
_root.RTypeWeaponSet = 2;
this.removeMovieClip();
}
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
Symbol 206 MovieClip [L_Bonus_5] Frame 3
gotoAndPlay (2);
Symbol 210 MovieClip [L_Bonus_4] Frame 1
Symbol 210 MovieClip [L_Bonus_4] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (this.hitTest("_root.R-Type")) {
_root.RTypeWeaponSet = 1;
this.removeMovieClip();
}
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
Symbol 210 MovieClip [L_Bonus_4] Frame 3
gotoAndPlay (2);
Symbol 214 MovieClip [L_Bonus_3] Frame 1
Symbol 214 MovieClip [L_Bonus_3] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (this.hitTest("_root.R-Type")) {
Set("_root.R-Type.RTypeSpeed", 7);
this.removeMovieClip();
}
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
Symbol 214 MovieClip [L_Bonus_3] Frame 3
gotoAndPlay (2);
Symbol 218 MovieClip [L_Bonus_2] Frame 1
Symbol 218 MovieClip [L_Bonus_2] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (this.hitTest("_root.R-Type")) {
if ((_root.Shield.ShieldLevel < 3) & (0 < _root.Shield.ShieldLevel)) {
_root.Shield.ShieldLevel = _root.Shield.ShieldLevel + 1;
_root.Shield.attachMovie((("L_Shield_" add _root.Shield.ShieldLevel) add "_") add _root.Shield.ShieldDirection, "Plane", 510);
} else {
_root.Shield.ShieldLevel = 1;
setProperty("_root.Shield", _x , -30);
setProperty("_root.Shield", _y , _root.LevelBottom / 2);
_root.Shield.attachMovie((("L_Shield_" add _root.Shield.ShieldLevel) add "_") add _root.Shield.ShieldDirection, "Plane", 510);
}
this.removeMovieClip();
}
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
Symbol 218 MovieClip [L_Bonus_2] Frame 3
gotoAndPlay (2);
Symbol 222 MovieClip [L_Bonus_1] Frame 1
Symbol 222 MovieClip [L_Bonus_1] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (this.hitTest("_root.R-Type")) {
if (_root.Shield.ShieldLevel == 0) {
_root.Shield.ShieldLevel = 1;
setProperty("_root.Shield", _x , -30);
setProperty("_root.Shield", _y , _root.LevelBottom / 2);
_root.Shield.attachMovie((("L_Shield_" add _root.Shield.ShieldLevel) add "_") add _root.Shield.ShieldDirection, "Plane", 510);
}
this.removeMovieClip();
}
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
Symbol 222 MovieClip [L_Bonus_1] Frame 3
gotoAndPlay (2);
Symbol 228 MovieClip [Bonus_Shot_2] Frame 2
if (_root.Shield.ShieldDirection) {
setProperty(this, _x , getProperty(this, _x) + this.SpeedX);
} else {
setProperty(this, _x , getProperty(this, _x) + this.SpeedX);
}
if (getProperty(this, _x) < _root.LevelLeft) {
this.removeMovieClip();
}
if (_root.LevelRight < getProperty(this, _x)) {
this.removeMovieClip();
}
if (0 >= Power) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_06_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
this.removeMovieClip();
}
Symbol 228 MovieClip [Bonus_Shot_2] Frame 3
gotoAndPlay (2);
Symbol 234 MovieClip [Bonus_Shot_1] Frame 2
if (_root.Shield.ShieldDirection) {
setProperty(this, _x , getProperty(this, _x) + this.SpeedX);
} else {
setProperty(this, _x , getProperty(this, _x) + this.SpeedX);
}
if (getProperty(this, _x) < _root.LevelLeft) {
this.removeMovieClip();
}
if (_root.LevelRight < getProperty(this, _x)) {
this.removeMovieClip();
}
if (0 >= Power) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_06_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
this.removeMovieClip();
}
Symbol 234 MovieClip [Bonus_Shot_1] Frame 3
gotoAndPlay (2);
Symbol 253 MovieClip Frame 1
finnished = 0;
Symbol 253 MovieClip Frame 21
finnished = 1;
stop();
Symbol 254 MovieClip [Bonus_Shot_02_2] Frame 1
Symbol 254 MovieClip [Bonus_Shot_02_2] Frame 2
if (this.Plane.finnished == 1) {
_root.RTypeWeaponSeries2 = 0;
this.removeMovieClip();
}
if (0 >= Power) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_06_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
this.removeMovieClip();
}
Symbol 254 MovieClip [Bonus_Shot_02_2] Frame 3
gotoAndPlay (2);
Symbol 255 MovieClip Frame 1
finnished = 0;
Symbol 255 MovieClip Frame 21
finnished = 1;
stop();
Symbol 256 MovieClip [Bonus_Shot_02_1] Frame 1
Symbol 256 MovieClip [Bonus_Shot_02_1] Frame 2
if (this.Plane.finnished == 1) {
_root.RTypeWeaponSeries2 = 0;
this.removeMovieClip();
}
if (0 >= Power) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_06_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
this.removeMovieClip();
}
Symbol 256 MovieClip [Bonus_Shot_02_1] Frame 3
gotoAndPlay (2);
Symbol 263 MovieClip [L_Enemy_02_b] Frame 1
Timer = 0;
Defence = 1;
SpeedX1 = 0;
SpeedX2 = 0;
SpeedX3 = -11;
SpeedY1 = 11;
SpeedY2 = 0;
SpeedY3 = 0;
Angle = 0;
Rotation = 10;
AngleStep = (Math.PI/2) / Rotation;
Radius = 80;
pomy = 0;
Symbol 263 MovieClip [L_Enemy_02_b] Frame 2
if ((Timer >= 0) & (Timer < Trace)) {
setProperty(this, _x , getProperty(this, _x) + SpeedX1);
setProperty(this, _y , getProperty(this, _y) + SpeedY1);
StartX = getProperty(this, _x);
StartY = getProperty(this, _y);
}
if ((Timer >= Trace) & (Timer < (Trace + Rotation))) {
Angle = Angle + AngleStep;
pomy = Radius * Math.sin(Angle);
pomy1 = Radius * Math.sin(Angle - (Math.PI/2));
setProperty(this, _x , (StartX + (Radius * Math.cos(Angle))) - Radius);
setProperty(this, _y , StartY + (Radius * Math.sin(Angle)));
setProperty(this.Plane, _rotation , pomy1 + 90);
}
if ((Timer >= (Trace + Rotation)) & (Timer < ((Trace + Rotation) + 50))) {
setProperty(this.Plane, _rotation , 90);
setProperty(this, _x , getProperty(this, _x) + SpeedX3);
setProperty(this, _y , getProperty(this, _y) + SpeedY3);
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
}
Timer = Timer + 1;
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_01_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 10;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 263 MovieClip [L_Enemy_02_b] Frame 3
gotoAndPlay (2);
Symbol 267 MovieClip [L_Enemy_03_Main] Frame 1
Defence = 30;
SpeedX = _root.GroundSpeed;
AngleStep = 0.02;
Radius = 150;
pomy = 0;
Symbol 267 MovieClip [L_Enemy_03_Main] Frame 2
Angle = Angle + AngleStep;
pomx = Radius * Math.cos(Angle);
pomy = Radius * Math.sin(Angle);
StartX = StartX + SpeedX;
setProperty(this, _x , StartX + pomx);
setProperty(this, _y , StartY + pomy);
setProperty(this, _rotation , (180 * Angle) / Math.PI);
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_03_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 50;
_root.WheelCrashNumber = 0;
_root["Enemy_" add _root.WheelStructure[_root.WheelCrashNumber]].Defence = 0;
Plane.attachMovie("L_03_CircleG", "Plane", -100);
Defence = 100;
}
Symbol 267 MovieClip [L_Enemy_03_Main] Frame 3
gotoAndPlay (2);
Symbol 280 MovieClip Frame 120
ende = 1;
stop();
Symbol 281 MovieClip [L_Enemy_05_01] Frame 1
Defence = 1;
Symbol 281 MovieClip [L_Enemy_05_01] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_01_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x) + getProperty("Plane.Plane", _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y) + getProperty("Plane.Plane", _y));
_root.Panel.Score = _root.Panel.Score + 20;
_root.Bonus = _root.Bonus + 1;
if (_root.Bonus >= _root.BonusMax) {
_root.Bonus = 0;
}
_root.attachMovie("L_Bonus_1", "Bonus_" add _root.Bonus, 240 + _root.Bonus);
setProperty("_root.Bonus_" add _root.Bonus, _x , getProperty(this, _x) + getProperty("Plane.Plane", _x));
setProperty("_root.Bonus_" add _root.Bonus, _y , getProperty(this, _y) + getProperty("Plane.Plane", _y));
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 281 MovieClip [L_Enemy_05_01] Frame 3
gotoAndPlay (2);
Symbol 289 MovieClip [L_Enemy_04_01] Frame 1
Defence = 1;
Symbol 289 MovieClip [L_Enemy_04_01] Frame 2
setProperty(this, _x , (getProperty(this, _x) + _root.GroundSpeed) - 1.5);
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_01_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 20;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 289 MovieClip [L_Enemy_04_01] Frame 3
gotoAndPlay (2);
Symbol 293 MovieClip [L_Enemy_03] Frame 1
Defence = 1000;
SpeedX = _root.GroundSpeed;
AngleStep = 0.02;
Radius = 150;
pomy = 0;
Symbol 293 MovieClip [L_Enemy_03] Frame 2
Angle = Angle + AngleStep;
pomx = Radius * Math.cos(Angle);
pomy = Radius * Math.sin(Angle);
StartX = StartX + SpeedX;
setProperty(this, _x , StartX + pomx);
setProperty(this, _y , StartY + pomy);
setProperty(this, _rotation , (180 * Angle) / Math.PI);
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_03_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 20;
_root.WheelCrashNumber = _root.WheelCrashNumber + 1;
_root["Enemy_" add _root.WheelStructure[_root.WheelCrashNumber]].Defence = 0;
Plane.attachMovie("L_03_CircleG", "Plane", -100);
Defence = 100;
}
Symbol 293 MovieClip [L_Enemy_03] Frame 3
gotoAndPlay (2);
Symbol 295 MovieClip [L_Enemy_02_a] Frame 1
Defence = 1;
SpeedX = -11;
AngleStep = 0.2;
Radius = 40;
pomy = 0;
StartY = getProperty(this, _y);
Symbol 295 MovieClip [L_Enemy_02_a] Frame 2
Angle = Angle + AngleStep;
pomy = Radius * Math.sin(Angle);
setProperty(this, _y , pomy + StartY);
setProperty(this, _x , getProperty(this, _x) + SpeedX);
pomy1 = Radius * Math.sin(Angle - (Math.PI/2));
setProperty(this.Plane, _rotation , pomy1);
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_01_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 10;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 295 MovieClip [L_Enemy_02_a] Frame 3
gotoAndPlay (2);
Symbol 299 MovieClip [L_Enemy_08_b] Frame 1
Defence = 1;
XSpeed = _root.GroundSpeed;
Symbol 299 MovieClip [L_Enemy_08_b] Frame 2
if (getProperty(this, _x) < getProperty("_root.R-Type", _x)) {
setProperty(this, _xscale , -100);
} else {
setProperty(this, _xscale , 100);
}
setProperty(this, _x , getProperty(this, _x) + XSpeed);
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_01_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 299 MovieClip [L_Enemy_08_b] Frame 3
gotoAndPlay (2);
Symbol 305 MovieClip [L_Final_05] Frame 1
Defence = 10000;
Symbol 305 MovieClip [L_Final_05] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
_root.Enemy_34.Defence = 0;
this.removeMovieClip();
}
Symbol 305 MovieClip [L_Final_05] Frame 3
gotoAndPlay (2);
Symbol 309 MovieClip [L_Final_04] Frame 1
Defence = 10000;
Symbol 309 MovieClip [L_Final_04] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x) - 100);
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x) + 100);
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
_root.Enemy_33.Defence = 0;
this.removeMovieClip();
}
Symbol 309 MovieClip [L_Final_04] Frame 3
gotoAndPlay (2);
Symbol 313 MovieClip [L_Final_03] Frame 1
Defence = 10000;
Symbol 313 MovieClip [L_Final_03] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
_root.Enemy_32.Defence = 0;
this.removeMovieClip();
}
Symbol 313 MovieClip [L_Final_03] Frame 3
gotoAndPlay (2);
Symbol 317 MovieClip [L_Final_02] Frame 1
Defence = 10000;
Symbol 317 MovieClip [L_Final_02] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x) - 100);
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x) + 100);
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
_root.Enemy_31.Defence = 0;
this.removeMovieClip();
}
Symbol 317 MovieClip [L_Final_02] Frame 3
gotoAndPlay (2);
Symbol 321 MovieClip [L_Final_01] Frame 1
Defence = 10000;
Symbol 321 MovieClip [L_Final_01] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x) - 100);
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x) + 100);
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
this.removeMovieClip();
}
Symbol 321 MovieClip [L_Final_01] Frame 3
gotoAndPlay (2);
Symbol 325 MovieClip [L_Final_09] Frame 1
Defence = 10000;
AngleStep = 0.03;
Xpoz = getProperty(this, _x);
Ypoz = getProperty(this, _y);
Symbol 325 MovieClip [L_Final_09] Frame 2
if ((Math.PI*2) < Angle) {
Angle = (Math.PI*2);
AngleStep = -AngleStep;
}
if (Angle < 5.11238898038469) {
Angle = 5.11238898038469;
AngleStep = -AngleStep;
}
Angle = Angle + AngleStep;
Xpoz = Xpoz + _root.GroundSpeed;
Ypoz = Ypoz;
pomx = (-Radius) * Math.cos(Angle);
pomy = Radius * Math.sin(Angle);
setProperty(this, _x , Xpoz + pomx);
setProperty(this, _y , Ypoz + pomy);
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_03_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
_root.FinalEnemies = _root.FinalEnemies - 1;
_root["Enemy_" add _root.FinalEnemies].Defence = 0;
_root.Enemy_35.Defence = 0;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 325 MovieClip [L_Final_09] Frame 3
gotoAndPlay (2);
Symbol 329 MovieClip [L_Final_08] Frame 1
Defence = 10000;
AngleStep = 0.03;
Xpoz = getProperty(this, _x);
Ypoz = getProperty(this, _y);
Symbol 329 MovieClip [L_Final_08] Frame 2
if ((Math.PI*2) < Angle) {
Angle = (Math.PI*2);
AngleStep = -AngleStep;
}
if (Angle < 5.11238898038469) {
Angle = 5.11238898038469;
AngleStep = -AngleStep;
}
Angle = Angle + AngleStep;
Xpoz = Xpoz + _root.GroundSpeed;
Ypoz = Ypoz;
pomx = (-Radius) * Math.cos(Angle);
pomy = Radius * Math.sin(Angle);
setProperty(this, _x , Xpoz + pomx);
setProperty(this, _y , Ypoz + pomy);
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_03_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
_root.FinalEnemies = _root.FinalEnemies - 1;
_root["Enemy_" add _root.FinalEnemies].Defence = 0;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 329 MovieClip [L_Final_08] Frame 3
gotoAndPlay (2);
Symbol 332 MovieClip Frame 1
Head = 0;
Symbol 332 MovieClip Frame 70
Head = 1;
Symbol 332 MovieClip Frame 129
gotoAndPlay (1);
Symbol 333 MovieClip [L_Final_07] Frame 1
Defence = 40;
Symbol 333 MovieClip [L_Final_07] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
if (Plane.Head == 1) {
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
if (_root.FinalStatus == 1) {
Defence = Defence - pomP;
}
}
i++;
}
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_01_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
_root["Enemy_" add _root.FinalEnemies].Defence = 0;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 333 MovieClip [L_Final_07] Frame 3
gotoAndPlay (2);
Symbol 337 MovieClip [L_Final_06] Frame 1
Defence = 30;
Symbol 337 MovieClip [L_Final_06] Frame 2
setProperty(this, _x , getProperty(this, _x) + _root.GroundSpeed);
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_01_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
_root.FinalStatus = _root.FinalStatus - 1;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 337 MovieClip [L_Final_06] Frame 3
gotoAndPlay (2);
Symbol 338 MovieClip [L_Enemy_08_a] Frame 1
Defence = 1;
XSpeed = _root.GroundSpeed;
Symbol 338 MovieClip [L_Enemy_08_a] Frame 2
if (getProperty(this, _x) < getProperty("_root.R-Type", _x)) {
setProperty(this, _xscale , -100);
} else {
setProperty(this, _xscale , 100);
}
setProperty(this, _x , getProperty(this, _x) + XSpeed);
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_01_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 338 MovieClip [L_Enemy_08_a] Frame 3
gotoAndPlay (2);
Symbol 346 MovieClip [L_Enemy_07] Frame 1
Defence = 2;
XSpeed = _root.GroundSpeed;
YSpeed = (8 * Math.random()) - 4;
Symbol 346 MovieClip [L_Enemy_07] Frame 2
if (getProperty(this, _x) < getProperty("_root.R-Type", _x)) {
setProperty(this, _xscale , -100);
} else {
setProperty(this, _xscale , 100);
}
setProperty(this, _x , getProperty(this, _x) + XSpeed);
setProperty(this, _y , getProperty(this, _y) + YSpeed);
if (getProperty(this, _y) >= (_root.LevelBottom - 100)) {
setProperty(this, _y , _root.LevelBottom - 100);
YSpeed = -YSpeed;
}
if ((_root.LevelTop + 100) >= getProperty(this, _y)) {
setProperty(this, _y , _root.LevelTop + 100);
YSpeed = -YSpeed;
}
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_03_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 346 MovieClip [L_Enemy_07] Frame 3
gotoAndPlay (2);
Symbol 350 MovieClip [L_Enemy_06] Frame 1
Defence = 40;
SpeedX = -20;
Timerr = 1;
Symbol 350 MovieClip [L_Enemy_06] Frame 2
Timerr = Timerr + 1;
yspeed = (getProperty("_root.R-Type", _y) - getProperty(this, _y)) - 15;
setProperty(this, _y , getProperty(this, _y) + (yspeed / 10));
if (300 < Timerr) {
setProperty(this, _x , getProperty(this, _x) + SpeedX);
}
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_04_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 100;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 350 MovieClip [L_Enemy_06] Frame 3
gotoAndPlay (2);
Symbol 364 MovieClip [L_Enemy_01] Frame 1
Defence = 1;
SpeedX = -9;
AngleStep = 0.2;
Angle = 10 * Math.random();
Radius = 20;
pomy = 0;
StartY = getProperty(this, _y);
Symbol 364 MovieClip [L_Enemy_01] Frame 2
Angle = Angle + AngleStep;
pomy = Radius * Math.sin(Angle);
setProperty(this, _y , pomy + StartY);
setProperty(this, _x , getProperty(this, _x) + SpeedX);
if (getProperty(this, _x) < (_root.LevelLeft - getProperty(this, _width))) {
this.removeMovieClip();
}
i = 0;
while (i < _root.ShootFriendMax) {
if (this.hitTest(_root["ShootFriend_" add i])) {
pomP = _root["ShootFriend_" add i].Power;
_root["ShootFriend_" add i].Power = _root["ShootFriend_" add i].Power - Defence;
Defence = Defence - pomP;
}
i++;
}
if (0 >= Defence) {
_root.CrashNumber = _root.CrashNumber + 1;
if (_root.CrashNumber == _root.CrashNumberMax) {
_root.CrashNumber = 0;
}
_root.attachMovie("L_03_Crash", "Crash_" add _root.CrashNumber, 700 + _root.CrashNumber);
setProperty(_root["Crash_" add _root.CrashNumber], _x , getProperty(this, _x));
setProperty(_root["Crash_" add _root.CrashNumber], _y , getProperty(this, _y));
_root.Panel.Score = _root.Panel.Score + 10;
this.removeMovieClip();
}
if (this.hitTest("_root.R-Type")) {
_root.death = 1;
}
Symbol 364 MovieClip [L_Enemy_01] Frame 3
gotoAndPlay (2);
Symbol 391 Button
on (release) {
gotoAndPlay (40);
}
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 2
stop();
Symbol 396 MovieClip Frame 3
stop();
Symbol 396 MovieClip Frame 4
stop();
Symbol 396 MovieClip Frame 5
stop();
Symbol 396 MovieClip Frame 6
stop();
Symbol 396 MovieClip Frame 7
stop();
Symbol 396 MovieClip Frame 8
stop();
Symbol 396 MovieClip Frame 9
stop();
Symbol 396 MovieClip Frame 10
stop();
Symbol 396 MovieClip Frame 11
stop();
Symbol 396 MovieClip Frame 12
stop();
Symbol 396 MovieClip Frame 13
stop();
Symbol 396 MovieClip Frame 14
stop();
Symbol 396 MovieClip Frame 15
stop();
Symbol 396 MovieClip Frame 16
stop();
Symbol 396 MovieClip Frame 17
stop();
Symbol 396 MovieClip Frame 18
stop();
Symbol 396 MovieClip Frame 19
stop();
Symbol 396 MovieClip Frame 20
stop();
Symbol 396 MovieClip Frame 21
stop();
Symbol 396 MovieClip Frame 22
stop();
Symbol 396 MovieClip Frame 23
stop();
Symbol 396 MovieClip Frame 24
stop();
Symbol 396 MovieClip Frame 25
stop();
Symbol 396 MovieClip Frame 26
stop();
Symbol 396 MovieClip Frame 27
stop();
Symbol 396 MovieClip Frame 28
stop();
Symbol 396 MovieClip Frame 29
stop();
Symbol 396 MovieClip Frame 30
stop();
Symbol 396 MovieClip Frame 31
stop();
Symbol 396 MovieClip Frame 32
stop();
Symbol 396 MovieClip Frame 33
stop();
Symbol 396 MovieClip Frame 34
stop();
Symbol 396 MovieClip Frame 35
stop();
Symbol 396 MovieClip Frame 36
stop();
Symbol 396 MovieClip Frame 37
stop();
Symbol 396 MovieClip Frame 38
stop();
Symbol 396 MovieClip Frame 39
stop();
Symbol 396 MovieClip Frame 40
stop();
Symbol 396 MovieClip Frame 41
stop();
Symbol 396 MovieClip Frame 42
stop();
Symbol 396 MovieClip Frame 43
stop();
Symbol 396 MovieClip Frame 44
stop();
Symbol 396 MovieClip Frame 45
stop();
Symbol 396 MovieClip Frame 46
stop();
Symbol 396 MovieClip Frame 47
stop();
Symbol 396 MovieClip Frame 48
stop();
Symbol 396 MovieClip Frame 49
stop();
Symbol 396 MovieClip Frame 50
stop();
Symbol 404 MovieClip Frame 1
SpeedX = -5;
pomx = 0;
SpeedX1 = -2.5;
pomx1 = 0;
Symbol 404 MovieClip Frame 2
pomx = pomx + SpeedX;
if (pomx == -545) {
pomx = -10;
}
setProperty("_root.Stars.Plane1", _x , pomx);
pomx1 = pomx1 + SpeedX1;
if (pomx1 == -545) {
pomx1 = -10;
}
setProperty("_root.Stars.Plane2", _x , pomx1);
Symbol 404 MovieClip Frame 3
gotoAndPlay (2);