Frame 1
startbutton.hide();
Stage.showMenu = false;
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar1._height = getPercent * 390;
this.loadBar2._height = getPercent * 390;
ifFrameLoaded (382) {
_global.skiptranny = false;
_global.mus = true;
_global.wealth = 500;
_global.lives = 3;
_global.hul = 155;
_global.score = 0;
_global.available = 1;
_global.invX = new Array(18);
_global.invY = new Array(18);
_global.invX[1] = 1;
_global.selected = 0;
_global.SHEILDSTRENGTH = 1;
_global.ANTIGRAV = 1;
_global.HULLSTRENGTH = 1;
_global.ENGINESTRENGTH = 1;
_global.WEAPONSTRENGTH = 1;
_global.GASTANK = 1;
_global.FUELREGEN = 1;
_global.SHIELDREGEN = 1;
_global.WEAPONREGEN = 1;
_global.wepo = new Array(3);
_global.wepo[1] = 2;
_global.wepo[2] = 0;
_global.wepo[3] = 0;
startbutton.show();
Stage.showMenu = false;
stop();
}
Frame 2
gotoAndPlay (1);
Frame 3
if (_global.skiptranny == true) {
tranny._visible = false;
tranny.stop();
}
_global.contra1 = new Sound();
_global.contra1.attachSound("contra1");
_global.contra2 = new Sound();
_global.contra2.attachSound("contra2");
_global.contra3 = new Sound();
_global.contra3.attachSound("contra3");
_global.goodping = new Sound();
_global.goodping.attachSound("goodping");
_global.phoner = new Sound();
_global.phoner.attachSound("phoner");
stopAllSounds();
if (_global.mus == false) {
dingo.gotoAndStop(2);
} else {
dingo.gotoAndStop(1);
_global.contra2.start(0, 99);
}
_quality = "HIGH";
Mouse.show();
stop();
A = _global.lives;
B = _global.wealth;
C = _global.score;
_global.score = 425720 /* 0x067EF8 */;
R = Math.round((_global.hul / 155) * 100);
_global.lastdragged._alpha = 0;
_global.lastdragged._x = -100;
_global.lastdragged._y = -100;
_global.lastdragged._visible = false;
Instance of Symbol 169 MovieClip "dingo" in Frame 3
on (press) {
if (_global.mus == true) {
this.gotoAndStop(2);
_global.mus = false;
stopAllSounds();
} else {
this.gotoAndStop(1);
_global.mus = true;
_global.contra2.start(0, 99);
}
}
Frame 4
_quality = "LOW";
_global.skiptranny = true;
if (_global.invX[1] > 2) {
A1._x = _global.invX[1];
A2._x = _global.invX[2];
A3._x = _global.invX[3];
A4._x = _global.invX[4];
A5._x = _global.invX[5];
A6._x = _global.invX[6];
A7._x = _global.invX[7];
A8._x = _global.invX[8];
A9._x = _global.invX[9];
A10._x = _global.invX[10];
A11._x = _global.invX[11];
A12._x = _global.invX[12];
A13._x = _global.invX[13];
A14._x = _global.invX[14];
A15._x = _global.invX[15];
A16._x = _global.invX[16];
A17._x = _global.invX[17];
A18._x = _global.invX[18];
A1._y = _global.invY[1];
A2._y = _global.invY[2];
A3._y = _global.invY[3];
A4._y = _global.invY[4];
A5._y = _global.invY[5];
A6._y = _global.invY[6];
A7._y = _global.invY[7];
A8._y = _global.invY[8];
A9._y = _global.invY[9];
A10._y = _global.invY[10];
A11._y = _global.invY[11];
A12._y = _global.invY[12];
A13._y = _global.invY[13];
A14._y = _global.invY[14];
A15._y = _global.invY[15];
A16._y = _global.invY[16];
A17._y = _global.invY[17];
A18._y = _global.invY[18];
}
money = _global.wealth;
_global.des = new Array(10);
count = 0;
while (count < 11) {
count = count + 1;
des[count] = new Array(3);
}
des[1].name = _root.wep1;
des[2].name = _root.wep2;
des[3].name = _root.wep3;
des[4].name = _root.eq1;
des[5].name = _root.eq2;
des[6].name = _root.eq3;
des[7].name = _root.eq4;
des[8].name = _root.eq5;
des[9].name = _root.eq6;
des[10].name = _root.sell;
des[1].taken = 0;
des[2].taken = 0;
des[3].taken = 0;
des[4].taken = 0;
des[5].taken = 0;
des[6].taken = 0;
des[7].taken = 0;
des[8].taken = 0;
des[9].taken = 0;
des[10].taken = 0;
des[1].callout = "/wep1";
des[2].callout = "/wep2";
des[3].callout = "/wep3";
des[4].callout = "/eq1";
des[5].callout = "/eq2";
des[6].callout = "/eq3";
des[7].callout = "/eq4";
des[8].callout = "/eq5";
des[9].callout = "/eq6";
des[10].callout = "/sell";
stop();
hider._visible = false;
Instance of Symbol 260 MovieClip "A10" in Frame 4
on (press) {
oriX = 120;
oriY = 24;
_root.descriptions = "A weak projectile.";
cost = 0;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((Math.abs(getProperty(des[count].name, _x) - this._x) < 10) and (Math.abs(getProperty(des[count].name, _y) - this._y) < 10)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 0;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if (((this._droptarget == des[count].callout) and (count < 4)) or ((this._droptarget == des[count].callout) and (count == 10))) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
D = 0;
while (D < 4) {
D = D + 1;
if (_global.wepo[D] == 2) {
_global.wepo[D] = 0;
}
}
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_global.wepo[count] = 2;
_root.money = _global.wealth;
}
}
Instance of Symbol 262 MovieClip "A11" in Frame 4
on (press) {
oriX = 120;
oriY = 68;
_root.descriptions = "With this you are the projectile.";
cost = 900;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 0;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if (((this._droptarget == des[count].callout) and (count < 4)) or ((this._droptarget == des[count].callout) and (count == 10))) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
D = 0;
while (D < 4) {
D = D + 1;
if (_global.wepo[D] == 9) {
_global.wepo[D] = 0;
}
}
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_global.wepo[count] = 9;
_root.money = _global.wealth;
}
}
Instance of Symbol 264 MovieClip "A12" in Frame 4
on (press) {
oriX = 120;
oriY = 112;
_root.descriptions = "Cload of pain.";
cost = 1000;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 0;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if (((this._droptarget == des[count].callout) and (count < 4)) or ((this._droptarget == des[count].callout) and (count == 10))) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
D = 0;
while (D < 4) {
D = D + 1;
if (_global.wepo[D] == 7) {
_global.wepo[D] = 0;
}
}
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_global.wepo[count] = 7;
_root.money = _global.wealth;
}
}
Instance of Symbol 266 MovieClip "A13" in Frame 4
on (press) {
oriX = 120;
oriY = 156;
_root.descriptions = "Unaffected by gravity; charge time hurts aiming.";
cost = 150;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 0;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if (((this._droptarget == des[count].callout) and (count < 4)) or ((this._droptarget == des[count].callout) and (count == 10))) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
D = 0;
while (D < 4) {
D = D + 1;
if (_global.wepo[D] == 5) {
_global.wepo[D] = 0;
}
}
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_global.wepo[count] = 5;
_root.money = _global.wealth;
}
}
Instance of Symbol 268 MovieClip "A14" in Frame 4
on (press) {
oriX = 120;
oriY = 200;
_root.descriptions = "This is a powerful rapid fire beam weapon.";
cost = 850;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 0;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if (((this._droptarget == des[count].callout) and (count < 4)) or ((this._droptarget == des[count].callout) and (count == 10))) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
D = 0;
while (D < 4) {
D = D + 1;
if (_global.wepo[D] == 6) {
_global.wepo[D] = 0;
}
}
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_global.wepo[count] = 6;
_root.money = _global.wealth;
}
}
Instance of Symbol 270 MovieClip "A15" in Frame 4
on (press) {
oriX = 120;
oriY = 244;
_root.descriptions = "This is a powerful bomb.";
cost = 700;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 0;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if (((this._droptarget == des[count].callout) and (count < 4)) or ((this._droptarget == des[count].callout) and (count == 10))) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
D = 0;
while (D < 4) {
D = D + 1;
if (_global.wepo[D] == 3) {
_global.wepo[D] = 0;
}
}
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_global.wepo[count] = 3;
_root.money = _global.wealth;
}
}
Instance of Symbol 272 MovieClip "A16" in Frame 4
on (press) {
oriX = 120;
oriY = 288;
_root.descriptions = "This is a lesser bomb.";
cost = 150;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 0;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if (((this._droptarget == des[count].callout) and (count < 4)) or ((this._droptarget == des[count].callout) and (count == 10))) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
D = 0;
while (D < 4) {
D = D + 1;
if (_global.wepo[D] == 4) {
_global.wepo[D] = 0;
}
}
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_global.wepo[count] = 4;
_root.money = _global.wealth;
}
}
Instance of Symbol 274 MovieClip "A17" in Frame 4
on (press) {
oriX = 120;
oriY = 332;
_root.descriptions = "This is a good well rounded projectile.";
cost = 300;
count = 0;
oripast = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 0;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if (((this._droptarget == des[count].callout) and (count < 4)) or ((this._droptarget == des[count].callout) and (count == 10))) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
D = 0;
while (D < 3) {
D = D + 1;
if (_global.wepo[D] == 8) {
_global.wepo[D] = 0;
}
}
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 4)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_global.wepo[count] = 8;
_root.money = _global.wealth;
}
}
Instance of Symbol 276 MovieClip "A18" in Frame 4
on (press) {
oriX = 120;
oriY = 376;
_root.descriptions = "This is a large devastating projectile.";
cost = 850;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 0;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if (((this._droptarget == des[count].callout) and (count < 4)) or ((this._droptarget == des[count].callout) and (count == 10))) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
D = 0;
while (D < 4) {
D = D + 1;
if (_global.wepo[D] == 1) {
_global.wepo[D] = 0;
}
}
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_global.wepo[count] = 1;
_root.money = _global.wealth;
}
}
Instance of Symbol 278 MovieClip "A1" in Frame 4
on (press) {
oriX = 4;
oriY = 24;
_root.descriptions = "Shields becomes more durable.";
cost = 450;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 3;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if ((this._droptarget == des[count].callout) and (count < 11)) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
_global.SHEILDSTRENGTH = 1;
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_root.money = _global.wealth;
_global.SHEILDSTRENGTH = 2;
}
}
Instance of Symbol 280 MovieClip "A2" in Frame 4
on (press) {
oriX = 4;
oriY = 68;
_root.descriptions = "You ship becomes weightless";
cost = 990;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 3;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if ((this._droptarget == des[count].callout) and (count < 11)) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
_global.ANTIGRAV = 1;
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_root.money = _global.wealth;
_global.ANTIGRAV = 0;
}
}
Instance of Symbol 282 MovieClip "A3" in Frame 4
on (press) {
oriX = 4;
oriY = 112;
_root.descriptions = "The hull will become stronger.";
cost = 550;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 3;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if ((this._droptarget == des[count].callout) and (count < 11)) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
_global.HULLSTRENGTH = 1;
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_root.money = _global.wealth;
_global.HULLSTRENGTH = 2;
}
}
Instance of Symbol 284 MovieClip "A4" in Frame 4
on (press) {
oriX = 4;
oriY = 156;
_root.descriptions = "The engines will provide more thrust.";
cost = 850;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 3;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if ((this._droptarget == des[count].callout) and (count < 11)) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_global.ENGINESTRENGTH = 1;
_root.money = _global.wealth;
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.ENGINESTRENGTH = 2;
_global.wealth = _global.wealth - cost;
_root.money = _global.wealth;
}
}
Instance of Symbol 286 MovieClip "A5" in Frame 4
on (press) {
oriX = 4;
oriY = 200;
_root.descriptions = "All weapons will inflict more damage.";
cost = 850;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 3;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if ((this._droptarget == des[count].callout) and (count < 11)) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
_global.WEAPONSTRENGTH = 1;
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_root.money = _global.wealth;
_global.WEAPONSTRENGTH = 2;
}
}
Instance of Symbol 288 MovieClip "A6" in Frame 4
on (press) {
oriX = 4;
oriY = 244;
_root.descriptions = "The ship can go further without refueling.";
cost = 850;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 3;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if ((this._droptarget == des[count].callout) and (count < 11)) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
_global.GASTANK = 1;
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_root.money = _global.wealth;
_global.GASTANK = 2;
}
}
Instance of Symbol 290 MovieClip "A7" in Frame 4
on (press) {
oriX = 4;
oriY = 288;
_root.descriptions = "Fuel will replenish faster.";
cost = 550;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 3;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if ((this._droptarget == des[count].callout) and (count < 11)) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
_global.FUELREGEN = 1;
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_root.money = _global.wealth;
_global.FUELREGEN = 2;
}
}
Instance of Symbol 292 MovieClip "A8" in Frame 4
on (press) {
oriX = 4;
oriY = 332;
_root.descriptions = "Weapon energy will charge up faster.";
cost = 850;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 3;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if ((this._droptarget == des[count].callout) and (count < 11)) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
_global.WEAPREGEN = 1;
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_root.money = _global.wealth;
_global.WEAPREGEN = 2;
}
}
Instance of Symbol 294 MovieClip "A9" in Frame 4
on (press) {
oriX = 4;
oriY = 376;
_root.descriptions = "Shields will recharge faster.";
cost = 850;
count = 0;
oripast = 0;
paid = 0;
while ((count < 11) and (oripast == 0)) {
count = count + 1;
if ((getProperty(des[count].name, _x) == this._x) and (getProperty(des[count].name, _y) == this._y)) {
des[count].name.gotoAndPlay(11);
des[count].taken = 0;
paid = 1;
oripast = count;
}
}
if (oripast == 0) {
oriX = 250;
oriY = 250;
}
if ((oripast == 11) and (_global.wealth < cost)) {
} else {
this.swapDepths(1);
startDrag (this);
_global.lastdragged = this;
}
}
on (release) {
stopDrag();
_root.descriptions = "";
count = 3;
foundit = 0;
while ((count < 11) and (foundit == 0)) {
count = count + 1;
if ((this._droptarget == des[count].callout) and (count < 11)) {
this._x = getProperty(des[count].name, _x);
this._y = getProperty(des[count].name, _y);
des[count].taken = 1;
des[count].name.gotoAndPlay(2);
foundit = 1;
}
}
if (foundit == 0) {
this._x = oriX;
this._y = oriY;
if (oripast > 0) {
des[oripast].taken = 1;
des[oripast].name.gotoAndPlay(2);
this._x = getProperty(des[oripast].name, _x);
this._y = getProperty(des[oripast].name, _y);
}
}
if ((count == 10) and (oripast != 11)) {
this._x = oriX;
this._y = oriY;
_global.wealth = _global.wealth + (cost / 2);
_root.money = _global.wealth;
_global.SHIELDREGEN = 1;
}
if ((count == 10) and (oripast == 11)) {
this._x = oriX;
this._y = oriY;
}
if (((foundit == 1) and (count < 10)) and (oripast == 11)) {
_global.wealth = _global.wealth - cost;
_root.money = _global.wealth;
_global.SHIELDREGEN = 2;
}
}
Instance of Symbol 299 MovieClip in Frame 4
on (press) {
if (_global.wealth >= 50) {
_global.wealth = _global.wealth - 50;
_root.money = _global.wealth;
_global.hul = 155;
this.gotoAndPlay(2);
}
}
Instance of Symbol 317 MovieClip in Frame 4
on (press) {
if (_global.wealth >= 550) {
_global.wealth = _global.wealth - 550;
_root.money = _global.wealth;
_global.lives = _global.lives + 1;
this.gotoAndPlay(2);
}
}
Frame 5
_global.skiptranny = true;
_global.gl = new Sound();
_global.gl.attachSound("gl");
_global.ptkn = 0;
_quality = "HIGH";
if (_global.mus == false) {
dingo.gotoAndStop(2);
} else {
dingo.gotoAndStop(1);
}
_quality = "HIGH";
stop();
A = _global.lives;
B = _global.wealth;
C = _global.score;
R = Math.round((_global.hul / 155) * 100);
_global.lastdragged._alpha = 0;
_global.lastdragged._x = -100;
_global.lastdragged._y = -100;
_global.lastdragged._visible = false;
_quality = "HIGH";
stop();
A = _global.lives;
B = _global.wealth;
C = _global.score;
R = Math.round((_global.hul / 155) * 100);
_global.lastdragged._alpha = 0;
_global.lastdragged._x = -100;
_global.lastdragged._y = -100;
_global.lastdragged._visible = false;
if (lives < 1) {
_global.wealth = 0;
_global.lives = 3;
_global.hul = 155;
_global.score = 0;
_global.available = 1;
_global.invX = new Array(18);
_global.invY = new Array(18);
_global.invX[1] = 1;
_global.selected = 2;
_global.SHEILDSTRENGTH = 1;
_global.ANTIGRAV = 1;
_global.HULLSTRENGTH = 1;
_global.ENGINESTRENGTH = 1;
_global.WEAPONSTRENGTH = 1;
_global.GASTANK = 1;
_global.FUELREGEN = 1;
_global.SHIELDREGEN = 1;
_global.WEAPONREGEN = 1;
_global.wepo = new Array(3);
}
Frame 6
_global.skiptranny = true;
stop();
if (_global.mus == false) {
dingo.gotoAndStop(2);
} else {
dingo.gotoAndStop(1);
}
A = _global.lives;
B = _global.wealth;
C = _global.score;
_global.score = 425720 /* 0x067EF8 */;
R = Math.round((_global.hul / 155) * 100);
Frame 7
Mouse.show();
stop();
Frame 8
stopAllSounds();
Frame 107
_global.skiptranny = false;
gotoAndStop (3);
Frame 148
stopAllSounds();
_quality = "medium";
lve = _global.lives;
_global.skiptranny = true;
Frame 260
_global.skiptranny = false;
gotoAndStop (3);
Frame 261
lve = _global.lives;
_global.skiptranny = true;
Frame 316
_quality = "HIGH";
stop();
A = _global.lives;
B = _global.wealth;
C = _global.score;
R = Math.round((_global.hul / 155) * 100);
_global.lastdragged._alpha = 0;
_global.lastdragged._x = -100;
_global.lastdragged._y = -100;
_global.lastdragged._visible = false;
if (_global.mus == false) {
dingo.gotoAndStop(2);
}
_quality = "HIGH";
Mouse.show();
stop();
A = _global.lives;
B = _global.wealth;
C = _global.score;
_global.score = 425720 /* 0x067EF8 */;
R = Math.round((_global.hul / 155) * 100);
_global.lastdragged._alpha = 0;
_global.lastdragged._x = -100;
_global.lastdragged._y = -100;
_global.lastdragged._visible = false;
stop();
Frame 351
gotoAndStop (3);
Frame 352
_global.skiptranny = false;
oncepressed = false;
_quality = "LOW";
stopAllSounds();
firstrun = true;
lifted = true;
Mouse.hide();
_global.hul = _global.IlikeBoobs;
bombershootingsound = new Sound();
bombershootingsound.attachSound("bombershootingsound");
enginecontinue = new Sound();
enginecontinue.attachSound("enginecontinue");
engineenter = new Sound();
engineenter.attachSound("engineenter");
warningbeep = new Sound();
warningbeep.attachSound("warningbeep");
hyperspeed = new Sound();
hyperspeed.attachSound("hyperspeed");
engineexit = new Sound();
engineexit.attachSound("engineexit");
cannondead = new Sound();
cannondead.attachSound("cannondead");
airE1 = new Sound();
airE1.attachSound("airE1");
airE2 = new Sound();
airE2.attachSound("airE2");
airE3 = new Sound();
airE3.attachSound("airE3");
airE4 = new Sound();
airE4.attachSound("airE4");
wepchangesound = new Sound();
wepchangesound.attachSound("wepchangesound");
somethingdies = new Sound();
somethingdies.attachSound("somethingdies");
cannon3shoots = new Sound();
cannon3shoots.attachSound("cannon3shoots");
unideath = new Sound();
unideath.attachSound("unideath");
walkershoots = new Sound();
walkershoots.attachSound("walkershoots");
bigCshoots = new Sound();
bigCshoots.attachSound("bigCshoots");
unishoot = new Sound();
unishoot.attachSound("unishoot");
cannon4shoots = new Sound();
cannon4shoots.attachSound("cannon4shoots");
wep2sound = new Sound();
wep2sound.attachSound("wep2sound");
noammosound = new Sound();
noammosound.attachSound("noammosound");
miasmasound = new Sound();
miasmasound.attachSound("miasmasound");
yelp1 = new Sound();
yelp1.attachSound("yelp1");
yelp2 = new Sound();
yelp2.attachSound("yelp2");
cannon2shoots = new Sound();
cannon2shoots.attachSound("cannon2shoots");
smallbombdrop = new Sound();
smallbombdrop.attachSound("smallbombdrop");
cannon1sound = new Sound();
cannon1sound.attachSound("cannon1sound");
liftoffsound = new Sound();
liftoffsound.attachSound("liftoffsound");
setdownsound = new Sound();
setdownsound.attachSound("setdownsound");
yel1 = new Sound();
yel1.attachSound("yel1");
shieldsound = new Sound();
shieldsound.attachSound("shieldsound");
yel2 = new Sound();
yel2.attachSound("yel2");
yel3 = new Sound();
yel3.attachSound("yel3");
smallGhit = new Sound();
smallGhit.attachSound("smallGhit");
bigGhit = new Sound();
bigGhit.attachSound("bigGhit");
bigbombdrop = new Sound();
bigbombdrop.attachSound("bigbombdrop");
zappersound = new Sound();
zappersound.attachSound("zappersound");
jumperdies = new Sound();
jumperdies.attachSound("jumperdies");
speedjumpsound = new Sound();
speedjumpsound.attachSound("speedjumpsound");
weaklasersound = new Sound();
weaklasersound.attachSound("weaklasersound");
wepsound6 = new Sound();
wepsound6.attachSound("wepsound6");
wepsound1 = new Sound();
wepsound1.attachSound("wepsound1");
walkerdies = new Sound();
walkerdies.attachSound("walkerdies");
wepsound8 = new Sound();
wepsound8.attachSound("wepsound8");
bigcannondies = new Sound();
bigcannondies.attachSound("bigcannondies");
can4dies = new Sound();
can4dies.attachSound("can4dies");
groundE1 = new Sound();
groundE1.attachSound("groundE1");
groundE2 = new Sound();
groundE2.attachSound("groundE2");
cannonishit = new Sound();
cannonishit.attachSound("cannonishit");
jumping = new Sound();
jumping.attachSound("jumping");
dammage = new Array(10);
RGRAV = _global.ANTIGRAV * 0.3;
ENGINESTRENGTH = _global.ENGINESTRENGTH * 0.6;
GASTANK = 0.8 / _global.GASTANK;
FUELREGEN = _global.FUELREGEN * 0.1;
WEAPONREGEN = _global.WEAPONREGEN * 0.5;
SHIELDREGEN = _global.SHIELDREGEN * 0.1;
count = 0;
while (count < 4) {
count = count + 1;
if (_global.wepo[count] > 0) {
_global.selected = _global.wepo[count];
wepict.gotoAndStop(_global.selected);
}
}
firstrun = true;
hulldisplay._width = _global.hul;
money = _global.wealth;
shield._visible = false;
shield.stop();
engineson = 1;
crosshair._visible = false;
crosshair.stop();
energy = 155;
fuel = 155;
enginejammer = 0;
angle = 0;
speed = 1;
roll = 0;
Xgo = 1;
Ygo = -10;
groundnum = 7;
mountainnum = 450;
overcount = 0;
plusangle = 0;
weapontimer = 0;
beamcharger = 0;
covertimer = 0;
coverobject = 0;
coverspeed = 0;
hp = 154;
deathcount = 0;
shieldcounter = 0;
maxheight = 0;
tooheigh = 0;
verto = 0;
enrect = new Array(13);
count = 0;
while (count < 14) {
count = count + 1;
enrect[count] = new Array(4);
}
enrect[1].left = -13;
enrect[1].top = -6;
enrect[1].right = 13;
enrect[1].bottom = 30;
enrect[2].left = -20;
enrect[2].top = -12;
enrect[2].right = 20;
enrect[2].bottom = 30;
enrect[3].left = -12;
enrect[3].top = -8;
enrect[3].right = 12;
enrect[3].bottom = 30;
enrect[4].left = -30;
enrect[4].top = -9;
enrect[4].right = 32;
enrect[4].bottom = 25;
enrect[5].left = -8;
enrect[5].top = -7;
enrect[5].right = 8;
enrect[5].bottom = 210;
enrect[6].left = -20;
enrect[6].top = -20;
enrect[6].right = 20;
enrect[6].bottom = 20;
enrect[7].left = -17;
enrect[7].top = -17;
enrect[7].right = 17;
enrect[7].bottom = 17;
enrect[8].left = -17;
enrect[8].top = -17;
enrect[8].right = 17;
enrect[8].bottom = 17;
enrect[9].left = -19;
enrect[9].top = -19;
enrect[9].right = 19;
enrect[9].bottom = 19;
enrect[10].left = -14;
enrect[10].top = -14;
enrect[10].right = 14;
enrect[10].bottom = 14;
enrect[11].left = -10;
enrect[11].top = -16;
enrect[11].right = 10;
enrect[11].bottom = 0;
enrect[12].left = -35;
enrect[12].top = -60;
enrect[12].right = 35;
enrect[12].bottom = 0;
enrect[13].left = -20;
enrect[13].top = -26;
enrect[13].right = 20;
enrect[13].bottom = 0;
sor = new Array(10);
en = new Array(20);
count = 0;
while (count < 21) {
count = count + 1;
en[count] = new Array(12);
en[count].firing = 0;
en[count].killedbycrash = 100;
en[count].holder = 0;
en[count].angle = 1;
en[count].Xgo = 0;
en[count].Ygo = 0;
en[count].inrange = 0;
en[count].act = 0;
en[count].kind = 1;
en[count].HP = 20;
en[count].deathcount = 0;
}
en[1].name = enemy1;
en[2].name = enemy2;
en[3].name = enemy3;
en[4].name = enemy4;
en[5].name = enemy5;
en[6].name = enemy6;
en[7].name = enemy7;
en[8].name = enemy8;
en[9].name = enemy9;
en[10].name = enemy10;
en[11].name = enemy11;
en[12].name = enemy12;
en[13].name = enemy13;
en[14].name = enemy14;
en[15].name = enemy15;
en[16].name = enemy16;
en[17].name = enemy17;
en[18].name = enemy18;
en[19].name = enemy19;
en[20].name = enemy20;
count = 0;
while (count < 21) {
count = count + 1;
en[count].name._visible = false;
}
wep = new Array(10);
count = 0;
while (count < 9) {
count = count + 1;
wep[count] = new Array();
}
wep[1].velocity = 25;
wep[1].explodes = "YES";
wep[1].beam = "NO";
wep[1].explosion = new Array(3);
wep[1].explosion[1] = 2;
wep[1].explosion[2] = 15;
wep[1].explosion[3] = 28;
wep[1].airexplosion = new Array(3);
wep[1].airexplosion[1] = 392;
wep[1].airexplosion[2] = 405;
wep[1].airexplosion[3] = 418;
wep[1].force = 60;
wep[1].cost = 25;
wep[1].initframe = 1;
wep[1].explosionlength = 12;
wep[1].orient = "YES";
wep[1].intermission = 9;
wep[2].velocity = 20;
wep[2].explodes = "YES";
wep[2].beam = "NO";
wep[2].explosion = new array(3);
wep[2].explosion[1] = 72;
wep[2].explosion[2] = 79;
wep[2].explosion[3] = 86;
wep[2].airexplosion = new array(3);
wep[2].airexplosion[1] = 72;
wep[2].airexplosion[2] = 79;
wep[2].airexplosion[3] = 86;
wep[2].initframe = 71;
wep[2].explosionlength = 6;
wep[2].orient = "YES";
wep[2].intermission = 5;
wep[2].force = 7;
wep[2].cost = 15;
wep[3].velocity = -2;
wep[3].explodes = "YES";
wep[3].beam = "NO";
wep[3].explosion = new Array(3);
wep[3].explosion[1] = 2;
wep[3].explosion[2] = 15;
wep[3].explosion[3] = 28;
wep[3].airexplosion = new Array(3);
wep[3].airexplosion[1] = 392;
wep[3].airexplosion[2] = 405;
wep[3].airexplosion[3] = 418;
wep[3].force = 55;
wep[3].cost = 55;
wep[3].initframe = 92;
wep[3].explosionlength = 12;
wep[3].orient = "NO";
wep[3].intermission = 8;
wep[4].velocity = 0;
wep[4].explodes = "YES";
wep[4].beam = "NO";
wep[4].explosion = new array(3);
wep[4].explosion[1] = 72;
wep[4].explosion[2] = 79;
wep[4].explosion[3] = 86;
wep[4].airexplosion = new array(3);
wep[4].airexplosion[1] = 72;
wep[4].airexplosion[2] = 79;
wep[4].airexplosion[3] = 86;
wep[4].airexplosion = new array(3);
wep[4].airexplosion[1] = 72;
wep[4].airexplosion[2] = 79;
wep[4].airexplosion[3] = 86;
wep[4].initframe = 93;
wep[4].explosionlength = 6;
wep[4].orient = "YES";
wep[4].intermission = 7;
wep[4].force = 15;
wep[4].cost = 15;
wep[5].beam = "YES";
wep[5].initframe = 40;
wep[5].explosionlength = 8;
wep[5].intermission = 8;
wep[5].force = 10;
wep[5].cost = 14;
wep[6].beam = "YES";
wep[6].initframe = new Array(4);
wep[6].initframe[1] = 50;
wep[6].initframe[2] = 94;
wep[6].initframe[3] = 108;
wep[6].initframe[4] = 121;
wep[6].explosionlength = 8;
wep[6].intermission = 8;
wep[6].force = 20;
wep[6].cost = 13;
wep[7].beam = "SEMI";
wep[7].explosionlength = "18";
wep[7].velocity = "20";
wep[7].intermission = 25;
wep[7].force = 3;
wep[7].cost = 45;
wep[8].velocity = 30;
wep[8].explodes = "YES";
wep[8].beam = "NO";
wep[8].explosion = new Array(3);
wep[8].explosion[1] = 195;
wep[8].explosion[2] = 205;
wep[8].explosion[3] = 215;
wep[8].airexplosion = new Array(3);
wep[8].airexplosion[1] = 359;
wep[8].airexplosion[2] = 370;
wep[8].airexplosion[3] = 381;
wep[8].initframe = 194;
wep[8].explosionlength = 10;
wep[8].orient = "YES";
wep[8].intermission = 7;
wep[8].force = 20;
wep[8].cost = 20;
wep[9].beam = "COVER";
wep[9].intermission = 70;
wep[10].velocity = 35;
wep[10].explodes = "YES";
wep[10].beam = "NO";
wep[10].explosion = new Array(3);
wep[10].explosion[1] = 330;
wep[10].explosion[2] = 330;
wep[10].explosion[3] = 330;
wep[10].initframe = 194;
wep[10].explosionlength = 21;
wep[10].orient = "YES";
wep[10].intermission = 15;
pro = new Array(11);
count = 0;
while (count < 11) {
pro[count] = new Array(13);
count = count + 1;
pro[count].Xloc = 0;
pro[count].Yloc = 0;
pro[count].Xgo = 0;
pro[count].Ygo = 0;
pro[count].act = 0;
pro[count].overcount = 0;
pro[count].ko = 0;
}
pro[1].name = p1;
pro[2].name = p2;
pro[3].name = p3;
pro[4].name = p4;
pro[5].name = p5;
pro[6].name = p6;
pro[7].name = p7;
pro[8].name = p8;
pro[9].name = p9;
pro[10].name = p10;
count = 0;
while (count < 11) {
count = count + 1;
pro[count].name._visible = false;
}
Xter = new Array();
Yter = new Array();
XRNL = 0;
prize = new Array(13);
prize[1] = 10;
prize[2] = 20;
prize[3] = 30;
prize[4] = 40;
prize[5] = 50;
prize[6] = 300;
prize[7] = 25;
prize[8] = 20;
prize[9] = 15;
prize[10] = 20;
prize[11] = 5;
prize[12] = 400;
pize[13] = 25;
gotoAndPlay(_global.levelselect + 1 +351);
Frame 353
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 3;
Yter[2] = 0;
Xter[3] = 8;
Yter[3] = 5;
Xter[4] = 10;
Yter[4] = 5;
Xter[5] = 12;
Yter[5] = 3;
Xter[6] = 16;
Yter[6] = 3;
Xter[7] = 26;
Yter[7] = -7;
Xter[8] = 29;
Yter[8] = -7;
Xter[9] = 31;
Yter[9] = -5;
Xter[10] = 32;
Yter[10] = -5;
Xter[11] = 38;
Yter[11] = 1;
Xter[12] = 40;
Yter[12] = 1;
Xter[13] = 45;
Yter[13] = 6;
Xter[14] = 52;
Yter[14] = 6;
Xter[15] = 56;
Yter[15] = 2;
Xter[16] = 60;
Yter[16] = 6;
Xter[17] = 65;
Yter[17] = 1;
Xter[18] = 70;
Yter[18] = 6;
Xter[19] = 73;
Yter[19] = 6;
Xter[20] = 80;
Yter[20] = -1;
Xter[21] = 86;
Yter[21] = -1;
Xter[22] = 88;
Yter[22] = 1;
maxter = 22;
Xloc = -20;
Yloc = -150;
en[1].act = 1;
en[1].X = 200;
en[1].overcount = 4;
en[1].kind = 13;
en[2].act = 1;
en[2].X = 276;
en[2].kind = 1;
en[3].act = 1;
en[3].X = 1132;
en[3].Y = -70;
en[3].kind = 10;
gotoAndPlay (378);
Frame 354
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 4;
Yter[2] = -4;
Xter[3] = 5;
Yter[3] = -4;
Xter[4] = 6;
Yter[4] = -3;
Xter[5] = 8;
Yter[5] = -3;
Xter[6] = 14;
Yter[6] = -9;
Xter[7] = 15;
Yter[7] = -9;
Xter[8] = 16;
Yter[8] = -8;
Xter[9] = 18;
Yter[9] = -8;
Xter[10] = 24;
Yter[10] = -14;
Xter[11] = 25;
Yter[11] = -14;
Xter[12] = 26;
Yter[12] = -13;
Xter[13] = 27;
Yter[13] = -13;
Xter[14] = 31;
Yter[14] = -9;
Xter[15] = 33;
Yter[15] = -9;
Xter[16] = 37;
Yter[16] = -13;
Xter[17] = 38;
Yter[17] = -13;
Xter[18] = 42;
Yter[18] = -17;
Xter[19] = 46;
Yter[19] = -13;
Xter[20] = 49;
Yter[20] = -13;
Xter[21] = 56;
Yter[21] = -6;
Xter[22] = 59;
Yter[22] = -6;
Xter[23] = 61;
Yter[23] = -4;
Xter[24] = 64;
Yter[24] = -4;
Xter[25] = 69;
Yter[25] = -9;
Xter[26] = 74;
Yter[26] = -9;
Xter[27] = 78;
Yter[27] = -13;
Xter[28] = 82;
Yter[28] = -13;
Xter[29] = 89;
Yter[29] = -6;
Xter[30] = 91;
Yter[30] = -6;
Xter[31] = 96;
Yter[31] = -1;
Xter[32] = 101;
Yter[32] = -1;
Xter[33] = 103;
Yter[33] = -3;
Xter[34] = 108;
Yter[34] = -3;
Xter[35] = 119;
Yter[35] = -14;
Xter[36] = 125;
Yter[36] = -14;
Xter[37] = 128;
Yter[37] = -11;
Xter[38] = 131;
Yter[38] = -11;
Xter[39] = 140;
Yter[39] = -20;
Xter[40] = 144;
maxter = 40;
Xloc = 100;
Yloc = -350;
en[1].act = 1;
en[1].kind = 11;
en[1].X = 63;
en[1].Y = -362;
en[2].act = 1;
en[2].kind = 11;
en[2].X = 253;
en[2].Y = -461;
en[3].act = 1;
en[3].kind = 11;
en[3].X = 471;
en[3].Y = -461;
en[4].act = 1;
en[4].kind = 11;
en[4].X = 2160;
en[4].Y = -481;
en[5].act = 1;
en[5].kind = 1;
en[5].X = 1315;
en[5].Y = -481;
en[6].act = 1;
en[6].kind = 1;
en[6].X = 1795;
en[6].Y = -481;
en[7].act = 1;
en[7].kind = 10;
en[7].Y = -500;
en[7].X = 1315;
en[7].Y = -481;
Xloc = 0;
Yloc = -400;
gotoAndPlay (378);
Frame 355
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 3;
Yter[2] = 0;
Xter[3] = 6;
Yter[3] = 3;
Xter[4] = 9;
Yter[4] = 3;
Xter[5] = 10;
Yter[5] = 2;
Xter[6] = 14;
Yter[6] = 2;
Xter[7] = 15;
Yter[7] = 3;
Xter[8] = 17;
Yter[8] = 3;
Xter[9] = 20;
Yter[9] = 0;
Xter[10] = 25;
Yter[10] = 0;
Xter[11] = 32;
Yter[11] = -7;
Xter[12] = 36;
Yter[12] = -3;
Xter[13] = 39;
Yter[13] = -3;
Xter[14] = 40;
Yter[14] = -2;
Xter[15] = 43;
Yter[15] = -2;
Xter[16] = 46;
Yter[16] = -5;
Xter[17] = 48;
Yter[17] = -5;
Xter[18] = 51;
Yter[18] = -2;
Xter[19] = 53;
Yter[19] = -2;
Xter[20] = 54;
Yter[20] = -3;
Xter[21] = 57;
Yter[21] = -3;
Xter[22] = 67;
Yter[22] = -13;
Xter[23] = 69;
Yter[23] = -11;
Xter[24] = 73;
Yter[24] = -15;
Xter[25] = 75;
Yter[25] = -15;
Xter[26] = 78;
Yter[26] = -12;
Xter[27] = 80;
Yter[27] = -12;
Xter[28] = 83;
Yter[28] = -9;
Xter[29] = 84;
Yter[29] = -9;
Xter[30] = 86;
Yter[30] = -7;
Xter[31] = 87;
Yter[31] = -7;
Xter[32] = 89;
Yter[32] = -5;
Xter[33] = 90;
Yter[33] = -5;
Xter[34] = 92;
Yter[34] = -7;
Xter[35] = 97;
Yter[35] = -2;
Xter[36] = 99;
Yter[36] = -2;
Xter[37] = 100;
Yter[37] = -1;
Xter[38] = 101;
Yter[38] = -1;
Xter[39] = 102;
Yter[39] = 0;
Xter[40] = 103;
Yter[40] = 0;
Xter[41] = 104;
Yter[41] = -1;
Xter[42] = 105;
Yter[42] = 0;
Xter[43] = 106;
Yter[43] = 0;
Xter[44] = 108;
Yter[44] = -2;
Xter[45] = 110;
Yter[45] = -2;
Xter[46] = 112;
Yter[46] = 0;
maxter = 46;
Xloc = 200;
Yloc = -400;
en[1].act = 1;
en[1].kind = 2;
en[1].X = 663;
en[2].act = 1;
en[2].kind = 1;
en[2].X = 1205;
en[3].act = 1;
en[3].kind = 8;
en[3].X = 270;
wn[3].Y = 0;
en[3].overcount = 20;
en[4].act = 1;
en[4].kind = 13;
en[4].X = 49;
en[4].Y = 0;
en[5].act = 1;
en[5].kind = 11;
en[5].X = 1452;
en[5].Y = -300;
gotoAndPlay (378);
Frame 356
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 4;
Yter[2] = -4;
Xter[3] = 5;
Yter[3] = -4;
Xter[4] = 6;
Yter[4] = -3;
Xter[5] = 10;
Yter[5] = -3;
Xter[6] = 17;
Yter[6] = -10;
Xter[7] = 18;
Yter[7] = -10;
Xter[8] = 19;
Yter[8] = -9;
Xter[9] = 21;
Yter[9] = -9;
Xter[10] = 27;
Yter[10] = -15;
Xter[11] = 29;
Yter[11] = -15;
Xter[12] = 30;
Yter[12] = -14;
Xter[13] = 34;
Yter[13] = -14;
Xter[14] = 42;
Yter[14] = -22;
Xter[15] = 43;
Yter[15] = -22;
Xter[16] = 44;
Yter[16] = -21;
Xter[17] = 45;
Yter[17] = -21;
Xter[18] = 48;
Yter[18] = -18;
Xter[19] = 50;
Yter[19] = -18;
Xter[20] = 54;
Yter[20] = -14;
Xter[21] = 55;
Yter[21] = -14;
Xter[22] = 58;
Yter[22] = -11;
Xter[23] = 60;
Yter[23] = -11;
Xter[24] = 63;
Yter[24] = -8;
Xter[25] = 65;
Yter[25] = -8;
Xter[26] = 66;
Yter[26] = -9;
Xter[27] = 68;
Yter[27] = -9;
Xter[28] = 71;
Yter[28] = -6;
Xter[29] = 73;
Yter[29] = -6;
Xter[30] = 75;
Yter[30] = -8;
Xter[31] = 77;
Yter[31] = -8;
Xter[32] = 82;
Yter[32] = -3;
Xter[33] = 84;
Yter[33] = -3;
Xter[34] = 88;
Yter[34] = 1;
Xter[35] = 94;
Yter[35] = 1;
Xter[36] = 96;
Yter[36] = 3;
Xter[37] = 100;
Yter[37] = 3;
Xter[38] = 106;
Yter[38] = -3;
Xter[39] = 108;
Yter[39] = -3;
Xter[40] = 110;
Yter[40] = -1;
Xter[41] = 112;
Yter[41] = -1;
Xter[42] = 113;
Yter[42] = 0;
Xter[43] = 115;
Yter[43] = 0;
Xter[44] = 119;
Yter[44] = 4;
Xter[45] = 121;
Yter[45] = 4;
Xter[46] = 123;
Yter[46] = 2;
maxter = 46;
Xloc = 200;
Yloc = -500;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 1;
en[5].act = 1;
en[6].act = 1;
en[7].act = 1;
en[1].kind = 2;
en[1].X = 1858;
en[2].kind = 2;
en[2].X = 1243;
en[3].kind = 11;
en[4].kind = 11;
en[5].kind = 11;
en[6].kind = 13;
en[3].X = 575;
en[4].X = 703;
en[5].X = 814;
en[6].X = 69;
en[7].X = 276;
en[7].kind = 1;
en[8].act = 1;
en[8].kind = 6;
en[11].kind = 6;
en[11].act = 1;
gotoAndPlay (378);
Frame 357
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 4;
Yter[2] = 0;
Xter[3] = 9;
Yter[3] = 5;
Xter[4] = 11;
Yter[4] = 5;
Xter[5] = 13;
Yter[5] = 3;
Xter[6] = 15;
Yter[6] = 3;
Xter[7] = 23;
Yter[7] = -5;
Xter[8] = 26;
Yter[8] = -5;
Xter[9] = 34;
Yter[9] = -13;
Xter[10] = 40;
Yter[10] = -13;
Xter[11] = 44;
Yter[11] = -9;
Xter[12] = 47;
Yter[12] = -9;
Xter[13] = 53;
Yter[13] = -3;
Xter[14] = 62;
Yter[14] = -3;
Xter[15] = 67;
Yter[15] = 2;
Xter[16] = 83;
Yter[16] = 2;
Xter[17] = 92;
Yter[17] = 11;
Xter[18] = 94;
Yter[18] = 11;
Xter[19] = 97;
Yter[19] = 8;
Xter[20] = 100;
Yter[20] = 8;
Xter[21] = 101;
Yter[21] = 9;
Xter[22] = 106;
Yter[22] = 9;
Xter[23] = 115;
Yter[23] = 0;
Xter[24] = 119;
Yter[24] = 0;
Xter[25] = 126;
Yter[25] = -7;
Xter[26] = 131;
Yter[26] = -7;
Xter[27] = 140;
Yter[27] = 2;
Xter[28] = 147;
Yter[28] = 2;
Xter[29] = 154;
Yter[29] = 9;
Xter[30] = 164;
Yter[30] = 9;
Xter[31] = 167;
Yter[31] = 12;
Xter[32] = 172;
Yter[32] = 12;
Xter[33] = 180;
Yter[33] = 4;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 1;
en[5].act = 1;
en[6].act = 1;
en[7].act = 1;
en[8].act = 1;
en[1].kind = 2;
en[2].kind = 2;
en[3].kind = 8;
en[4].kind = 11;
en[5].kind = 11;
en[6].kind = 10;
en[7].kind = 7;
en[8].kind = 2;
en[1].X = 221;
en[2].X = 430;
en[3].X = 634;
en[3].Y = -160;
en[4].x = 945;
en[5].x = 1086;
en[6].x = 1355;
en[6].y = 162;
en[7].x = 2055;
en[7].y = 201;
en[8].X = 2632;
en[9].act = 1;
en[9].kind = 6;
en[9].Y = 460;
en[9].X = 462;
maxter = 33;
Xloc = 300;
Yloc = -400;
gotoAndPlay (378);
Frame 358
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 4;
Yter[2] = 4;
Xter[3] = 5;
Yter[3] = 4;
Xter[4] = 8;
Yter[4] = 1;
Xter[5] = 10;
Yter[5] = 1;
Xter[6] = 17;
Yter[6] = 8;
Xter[7] = 18;
Yter[7] = 7;
Xter[8] = 21;
Yter[8] = 7;
Xter[9] = 23;
Yter[9] = 5;
Xter[10] = 28;
Yter[10] = 5;
Xter[11] = 30;
Yter[11] = 7;
Xter[12] = 35;
Yter[12] = 7;
Xter[13] = 42;
Yter[13] = 0;
Xter[14] = 44;
Yter[14] = 0;
Xter[15] = 46;
Yter[15] = 2;
Xter[16] = 48;
Yter[16] = 2;
Xter[17] = 58;
Yter[17] = -8;
Xter[18] = 61;
Yter[18] = -8;
Xter[19] = 63;
Yter[19] = -6;
Xter[20] = 67;
Yter[20] = -6;
Xter[21] = 70;
Yter[21] = -3;
Xter[22] = 74;
Yter[22] = -3;
Xter[23] = 92;
Yter[23] = -21;
Xter[24] = 103;
Yter[24] = -10;
Xter[25] = 108;
Yter[25] = -10;
Xter[26] = 114;
Yter[26] = -4;
Xter[27] = 116;
Yter[27] = -6;
Xter[28] = 122;
Yter[28] = 0;
Xter[29] = 127;
Yter[29] = 0;
Xter[30] = 129;
Yter[30] = 2;
Xter[31] = 136;
Yter[31] = 2;
Xter[32] = 140;
Yter[32] = -2;
Xter[33] = 143;
Yter[33] = -2;
Xter[34] = 146;
Yter[34] = 1;
Xter[35] = 150;
Yter[35] = 1;
Xter[36] = 152;
Yter[36] = 3;
Xter[37] = 155;
Yter[37] = 3;
Xter[38] = 162;
Yter[38] = -4;
maxter = 38;
en[1].kind = 2;
en[1].X = 2550;
en[2].kind = 13;
en[2].X = 2172;
en[3].kind = 11;
en[3].X = 2000;
en[4].kind = 13;
en[4].X = 1200;
en[5].kind = 2;
en[5].X = 903;
en[6].kind = 13;
en[6].X = 200;
en[9].kind = 13;
en[9].X = 660;
en[10].kind = 13;
en[10].X = 1600;
en[6].kind = 13;
en[6].X = 200;
en[7].kind = 2;
en[7].X = 213;
en[8].kind = 11;
en[8].X = 60;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 1;
en[5].act = 1;
en[6].act = 1;
en[7].act = 1;
en[8].act = 1;
en[9].act = 1;
en[10].act = 1;
Yloc = -200;
Xloc = 200;
gotoAndPlay (378);
Frame 359
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 4;
Yter[2] = 4;
Xter[3] = 8;
Yter[3] = 4;
Xter[4] = 11;
Yter[4] = 1;
Xter[5] = 14;
Yter[5] = 1;
Xter[6] = 17;
Yter[6] = 4;
Xter[7] = 21;
Yter[7] = 4;
Xter[8] = 28;
Yter[8] = 11;
Xter[9] = 31;
Yter[9] = 8;
Xter[10] = 33;
Yter[10] = 8;
Xter[11] = 35;
Yter[11] = 10;
Xter[12] = 44;
Yter[12] = 1;
Xter[13] = 47;
Yter[13] = 1;
Xter[14] = 49;
Yter[14] = 3;
Xter[15] = 51;
Yter[15] = 3;
Xter[16] = 57;
Yter[16] = -3;
Xter[17] = 58;
Yter[17] = -3;
Xter[18] = 65;
Yter[18] = 4;
Xter[19] = 66;
Yter[19] = 3;
Xter[20] = 70;
Yter[20] = 7;
Xter[21] = 72;
Yter[21] = 5;
Xter[22] = 79;
Yter[22] = 5;
Xter[23] = 84;
Yter[23] = 10;
Xter[24] = 89;
Yter[24] = 10;
Xter[25] = 100;
Yter[25] = -1;
Xter[26] = 103;
Yter[26] = -1;
Xter[27] = 107;
Yter[27] = 3;
Xter[28] = 110;
Yter[28] = 3;
Xter[29] = 112;
Yter[29] = 5;
Xter[30] = 116;
Yter[30] = 5;
Xter[31] = 118;
Yter[31] = 3;
Xter[32] = 121;
Yter[32] = 3;
Xter[33] = 131;
Yter[33] = 13;
Xter[34] = 137;
Yter[34] = 13;
Xter[35] = 140;
Yter[35] = 10;
Xter[36] = 142;
Yter[36] = 12;
Xter[37] = 151;
Yter[37] = 3;
Xter[38] = 153;
Yter[38] = 3;
Xter[39] = 154;
Yter[39] = 2;
Xter[40] = 155;
Yter[40] = 2;
Xter[41] = 156;
Yter[41] = 1;
Xter[42] = 157;
Yter[42] = 1;
Xter[43] = 159;
Yter[43] = -1;
maxter = 43;
en[1].kind = 1;
en[1].X = 640;
en[2].kind = 2;
en[2].X = 1270;
en[3].kind = 3;
en[3].X = 1740;
en[4].kind = 7;
en[4].X = 110;
en[4].Y = 120;
en[5].kind = 10;
en[5].X = 2770;
en[5].Y = 143;
en[6].kind = 13;
en[6].X = 2090;
en[7].kind = 6;
en[7].X = 660;
en[8].kind = 8;
en[8].X = 874;
en[8].Y = 255;
en[9].kind = 11;
en[9].X = 420;
en[10].kind = 11;
en[10].X = 1020;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 1;
en[5].act = 1;
en[6].act = 1;
en[7].act = 1;
en[8].act = 1;
en[9].act = 1;
en[10].act = 1;
Yloc = -200;
Xloc = 200;
gotoAndPlay (378);
Frame 360
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 4;
Yter[2] = -4;
Xter[3] = 7;
Yter[3] = -1;
Xter[4] = 11;
Yter[4] = -5;
Xter[5] = 15;
Yter[5] = -1;
Xter[6] = 20;
Yter[6] = -6;
Xter[7] = 21;
Yter[7] = -5;
Xter[8] = 23;
Yter[8] = -5;
Xter[9] = 27;
Yter[9] = -9;
Xter[10] = 29;
Yter[10] = -9;
Xter[11] = 33;
Yter[11] = -5;
Xter[12] = 34;
Yter[12] = -5;
Xter[13] = 36;
Yter[13] = -7;
Xter[14] = 40;
Yter[14] = -7;
Xter[15] = 44;
Yter[15] = -3;
Xter[16] = 47;
Yter[16] = -3;
Xter[17] = 52;
Yter[17] = 2;
Xter[18] = 54;
Yter[18] = 2;
Xter[19] = 56;
Yter[19] = 0;
Xter[20] = 58;
Yter[20] = 0;
Xter[21] = 68;
Yter[21] = 10;
Xter[22] = 69;
Yter[22] = 10;
Xter[23] = 74;
Yter[23] = 15;
Xter[24] = 76;
Yter[24] = 13;
Xter[25] = 79;
Yter[25] = 16;
Xter[26] = 81;
Yter[26] = 14;
Xter[27] = 83;
Yter[27] = 16;
Xter[28] = 84;
Yter[28] = 15;
Xter[29] = 86;
Yter[29] = 17;
Xter[30] = 89;
Yter[30] = 14;
Xter[31] = 90;
Yter[31] = 14;
Xter[32] = 95;
Yter[32] = 9;
Xter[33] = 97;
Yter[33] = 9;
Xter[34] = 102;
Yter[34] = 4;
Xter[35] = 108;
Yter[35] = 4;
Xter[36] = 116;
Yter[36] = -4;
Xter[37] = 117;
Yter[37] = -4;
Xter[38] = 121;
Yter[38] = 0;
Xter[39] = 124;
Yter[39] = 0;
Xter[40] = 125;
Yter[40] = -1;
Xter[41] = 127;
Yter[41] = 1;
Xter[42] = 131;
Yter[42] = -3;
Xter[43] = 134;
Yter[43] = -3;
Xter[44] = 137;
Yter[44] = 0;
maxter = 44;
en[1].kind = 10;
en[1].X = 2195;
en[1].Y = 202;
en[2].kind = 13;
en[2].X = 2153;
en[3].kind = 1;
en[3].X = 2051;
en[4].kind = 8;
en[4].X = 1643;
en[4].Y = 10;
en[5].kind = 11;
en[5].X = 144;
en[6].kind = 13;
en[6].X = 2090;
en[7].kind = 11;
en[7].X = 1300;
en[8].kind = 2;
en[8].X = 636;
en[9].kind = 11;
en[9].X = 420;
en[10].kind = 1;
en[10].X = 283;
en[11].kind = 7;
en[11].X = 900;
en[11].Y = 500;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 1;
en[5].act = 1;
en[6].act = 1;
en[7].act = 1;
en[8].act = 1;
en[9].act = 1;
en[10].act = 1;
en[11].act = 1;
Yloc = -350;
Xloc = 200;
gotoAndPlay (378);
Frame 361
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 3;
Yter[2] = 0;
Xter[3] = 7;
Yter[3] = -4;
Xter[4] = 9;
Yter[4] = -4;
Xter[5] = 10;
Yter[5] = -3;
Xter[6] = 13;
Yter[6] = -3;
Xter[7] = 18;
Yter[7] = -8;
Xter[8] = 19;
Yter[8] = -8;
Xter[9] = 22;
Yter[9] = -5;
Xter[10] = 25;
Yter[10] = -5;
Xter[11] = 27;
Yter[11] = -3;
Xter[12] = 29;
Yter[12] = -3;
Xter[13] = 31;
Yter[13] = -1;
Xter[14] = 33;
Yter[14] = -1;
Xter[15] = 37;
Yter[15] = 3;
Xter[16] = 39;
Yter[16] = 3;
Xter[17] = 43;
Yter[17] = 7;
Xter[18] = 46;
Yter[18] = 7;
Xter[19] = 50;
Yter[19] = 3;
Xter[20] = 51;
Yter[20] = 3;
Xter[21] = 55;
Yter[21] = -1;
Xter[22] = 57;
Yter[22] = -1;
Xter[23] = 59;
Yter[23] = 1;
Xter[24] = 61;
Yter[24] = 1;
Xter[25] = 64;
Yter[25] = -2;
Xter[26] = 68;
Yter[26] = -2;
Xter[27] = 77;
Yter[27] = -11;
Xter[28] = 78;
Yter[28] = -11;
Xter[29] = 83;
Yter[29] = -6;
Xter[30] = 85;
Yter[30] = -6;
Xter[31] = 95;
Yter[31] = 4;
Xter[32] = 97;
Yter[32] = 4;
Xter[33] = 100;
Yter[33] = 1;
maxter = 33;
gotoAndPlay (378);
en[1].kind = 12;
en[1].X = 833;
en[2].kind = 8;
en[3].kind = 8;
en[2].X = 265;
en[2].Y = 250;
en[3].X = 480;
en[3].Y = 130;
en[5].kind = 3;
en[5].X = 1070;
en[6].kind = 1;
en[6].X = 1275;
en[7].kind = 10;
en[7].X = 1396;
en[7].Y = 320;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 0;
en[5].act = 1;
en[6].act = 1;
en[7].act = 1;
Xloc = 100;
Yloc = -350;
Frame 362
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 3;
Yter[2] = 0;
Xter[3] = 4;
Yter[3] = -1;
Xter[4] = 5;
Yter[4] = 0;
Xter[5] = 10;
Yter[5] = 0;
Xter[6] = 11;
Yter[6] = -1;
Xter[7] = 12;
Yter[7] = 0;
Xter[8] = 16;
Yter[8] = 0;
Xter[9] = 17;
Yter[9] = -1;
Xter[10] = 18;
Yter[10] = 0;
Xter[11] = 24;
Yter[11] = 0;
Xter[12] = 25;
Yter[12] = -1;
Xter[13] = 26;
Yter[13] = 0;
Xter[14] = 29;
Yter[14] = 0;
Xter[15] = 31;
Yter[15] = 2;
Xter[16] = 38;
Yter[16] = -5;
Xter[17] = 39;
Yter[17] = -5;
Xter[18] = 45;
Yter[18] = 1;
Xter[19] = 46;
Yter[19] = 0;
Xter[20] = 49;
Yter[20] = 0;
Xter[21] = 53;
Yter[21] = 4;
Xter[22] = 55;
Yter[22] = 4;
Xter[23] = 62;
Yter[23] = -3;
Xter[24] = 64;
Yter[24] = -3;
Xter[25] = 73;
Yter[25] = -12;
Xter[26] = 75;
Yter[26] = -12;
Xter[27] = 83;
Yter[27] = -20;
Xter[28] = 85;
Yter[28] = -20;
Xter[29] = 88;
Yter[29] = -17;
Xter[30] = 89;
Yter[30] = -17;
Xter[31] = 93;
Yter[31] = -13;
Xter[32] = 94;
Yter[32] = -13;
Xter[33] = 97;
Yter[33] = -10;
Xter[34] = 98;
Yter[34] = -10;
Xter[35] = 101;
Yter[35] = -7;
Xter[36] = 103;
Yter[36] = -7;
Xter[37] = 111;
Yter[37] = 1;
Xter[38] = 114;
Yter[38] = -2;
Xter[39] = 115;
Yter[39] = -1;
Xter[40] = 117;
Yter[40] = -1;
Xter[41] = 127;
Yter[41] = 9;
Xter[42] = 131;
Yter[42] = 9;
Xter[43] = 143;
Yter[43] = -3;
Xter[44] = 145;
Yter[44] = -1;
Xter[45] = 146;
Yter[45] = -1;
Xter[46] = 147;
Yter[46] = 0;
Xter[47] = 150;
Yter[47] = 0;
Xter[48] = 151;
Yter[48] = 1;
Xter[49] = 155;
Yter[49] = 1;
Xter[50] = 156;
Yter[50] = 2;
Xter[51] = 161;
Yter[51] = 2;
Xter[52] = 162;
Yter[52] = 3;
en[1].kind = 2;
en[1].X = 1400;
en[1].act = 1;
en[2].kind = 3;
en[2].X = 1200;
en[2].act = 1;
en[3].kind = 11;
en[3].X = 1590;
en[3].act = 1;
en[4].kind = 8;
en[4].X = 1753;
en[4].Y = 335;
en[4].act = 1;
en[5].kind = 4;
en[5].X = 2290;
en[5].act = 1;
en[6].kind = 8;
en[6].X = 2630;
en[6].Y = 190;
en[6].act = 1;
en[7].kind = 6;
en[7].act = 1;
en[8].kind = 11;
en[8].X = 1660;
en[8].act = 1;
en[9].kind = 7;
en[9].X = 2000;
en[9].Y = 500;
en[9].act = 1;
en[10].kind = 13;
en[10].X = 153;
en[10].act = 1;
en[11].kind = 13;
en[11].X = 21;
en[11].act = 1;
maxter = 52;
Xloc = 200;
Yloc = -300;
gotoAndPlay (378);
Frame 363
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 3;
Yter[2] = 3;
Xter[3] = 7;
Yter[3] = -1;
Xter[4] = 8;
Yter[4] = -1;
Xter[5] = 10;
Yter[5] = 1;
Xter[6] = 11;
Yter[6] = 1;
Xter[7] = 17;
Yter[7] = -5;
Xter[8] = 19;
Yter[8] = -5;
Xter[9] = 21;
Yter[9] = -3;
Xter[10] = 24;
Yter[10] = -3;
Xter[11] = 25;
Yter[11] = -2;
Xter[12] = 28;
Yter[12] = -5;
Xter[13] = 31;
Yter[13] = -5;
Xter[14] = 33;
Yter[14] = -3;
Xter[15] = 36;
Yter[15] = -3;
Xter[16] = 40;
Yter[16] = -7;
Xter[17] = 45;
Yter[17] = -7;
Xter[18] = 46;
Yter[18] = -6;
Xter[19] = 52;
Yter[19] = -6;
Xter[20] = 56;
Yter[20] = -10;
Xter[21] = 58;
Yter[21] = -10;
Xter[22] = 59;
Yter[22] = -11;
Xter[23] = 60;
Yter[23] = -11;
Xter[24] = 62;
Yter[24] = -9;
Xter[25] = 64;
Yter[25] = -9;
Xter[26] = 68;
Yter[26] = -5;
Xter[27] = 71;
Yter[27] = -5;
Xter[28] = 77;
Yter[28] = 1;
Xter[29] = 78;
Yter[29] = 1;
Xter[30] = 81;
Yter[30] = 4;
Xter[31] = 83;
Yter[31] = 4;
Xter[32] = 85;
Yter[32] = 2;
Xter[33] = 89;
Yter[33] = 2;
Xter[34] = 93;
Yter[34] = 6;
Xter[35] = 95;
Yter[35] = 6;
Xter[36] = 96;
Yter[36] = 5;
Xter[37] = 98;
Yter[37] = 5;
Xter[38] = 100;
Yter[38] = 7;
Xter[39] = 101;
Yter[39] = 7;
Xter[40] = 103;
Yter[40] = 5;
maxter = 40;
Xloc = 200;
Yloc = -300;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 1;
en[5].act = 1;
en[6].act = 1;
en[7].act = 1;
en[1].kind = 4;
en[2].kind = 4;
en[3].kind = 4;
en[4].kind = 13;
en[5].kind = 12;
en[6].kind = 8;
en[7].kind = 6;
en[1].X = 563;
en[2].X = 1093;
en[3].X = 1458;
en[4].X = 863;
en[5].X = 95;
en[6].X = 907;
en[6].Y = 410;
en[7].act = 1;
en[7].kind = 6;
en[7].X = 1400;
en[7].Y = 400;
gotoAndPlay (378);
Frame 364
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 1;
Yter[2] = -1;
Xter[3] = 2;
Yter[3] = -1;
Xter[4] = 3;
Yter[4] = -2;
Xter[5] = 4;
Yter[5] = -2;
Xter[6] = 5;
Yter[6] = -3;
Xter[7] = 6;
Yter[7] = -3;
Xter[8] = 7;
Yter[8] = -4;
Xter[9] = 8;
Yter[9] = -4;
Xter[10] = 9;
Yter[10] = -5;
Xter[11] = 10;
Yter[11] = -5;
Xter[12] = 11;
Yter[12] = -6;
Xter[13] = 13;
Yter[13] = -6;
Xter[14] = 14;
Yter[14] = -7;
Xter[15] = 15;
Yter[15] = -7;
Xter[16] = 16;
Yter[16] = -8;
Xter[17] = 17;
Yter[17] = -8;
Xter[18] = 18;
Yter[18] = -9;
Xter[19] = 19;
Yter[19] = -9;
Xter[20] = 20;
Yter[20] = -10;
Xter[21] = 21;
Yter[21] = -10;
Xter[22] = 22;
Yter[22] = -11;
Xter[23] = 23;
Yter[23] = -11;
Xter[24] = 24;
Yter[24] = -12;
Xter[25] = 25;
Yter[25] = -12;
Xter[26] = 26;
Yter[26] = -13;
Xter[27] = 27;
Yter[27] = -13;
Xter[28] = 28;
Yter[28] = -14;
Xter[29] = 29;
Yter[29] = -14;
Xter[30] = 30;
Yter[30] = -15;
Xter[31] = 31;
Yter[31] = -15;
Xter[32] = 32;
Yter[32] = -16;
Xter[33] = 33;
Yter[33] = -16;
Xter[34] = 39;
Yter[34] = -10;
Xter[35] = 40;
Yter[35] = -11;
Xter[36] = 48;
Yter[36] = -3;
Xter[37] = 49;
Yter[37] = -4;
Xter[38] = 59;
Yter[38] = 6;
Xter[39] = 60;
Yter[39] = 5;
Xter[40] = 66;
Yter[40] = 11;
Xter[41] = 67;
Yter[41] = 10;
Xter[42] = 69;
Yter[42] = 12;
Xter[43] = 73;
Yter[43] = 12;
Xter[44] = 79;
Yter[44] = 6;
Xter[45] = 81;
Yter[45] = 6;
Xter[46] = 83;
Yter[46] = 8;
Xter[47] = 85;
Yter[47] = 6;
Xter[48] = 90;
Yter[48] = 11;
Xter[49] = 92;
Yter[49] = 11;
Xter[50] = 94;
Yter[50] = 9;
Xter[51] = 97;
Yter[51] = 9;
Xter[52] = 104;
Yter[52] = 2;
Xter[53] = 106;
Yter[53] = 2;
Xter[54] = 108;
Yter[54] = 4;
Xter[55] = 118;
Yter[55] = -6;
Xter[56] = 119;
Yter[56] = -5;
Xter[57] = 126;
Yter[57] = -12;
Xter[58] = 127;
Yter[58] = -11;
Xter[59] = 134;
Yter[59] = -18;
Xter[60] = 135;
Yter[60] = -17;
Xter[61] = 141;
Yter[61] = -23;
Xter[62] = 145;
Yter[62] = -19;
Xter[63] = 148;
Yter[63] = -19;
Xter[64] = 153;
Yter[64] = -14;
Xter[65] = 155;
Yter[65] = -14;
Xter[66] = 160;
Yter[66] = -9;
Xter[67] = 161;
Yter[67] = -9;
Xter[68] = 162;
Yter[68] = -8;
Xter[69] = 163;
Yter[69] = -8;
Xter[70] = 165;
Yter[70] = -6;
Xter[71] = 166;
Yter[71] = -6;
Xter[72] = 167;
Yter[72] = -5;
Xter[73] = 168;
Yter[73] = -5;
Xter[74] = 169;
Yter[74] = -4;
Xter[75] = 170;
Yter[75] = -4;
Xter[76] = 171;
Yter[76] = -3;
Xter[77] = 172;
Yter[77] = -3;
Xter[78] = 173;
Yter[78] = -2;
Xter[79] = 174;
Yter[79] = -2;
Xter[80] = 175;
Yter[80] = -1;
Xter[81] = 177;
Yter[81] = -1;
maxter = 52;
Xloc = 200;
Yloc = -500;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 1;
en[5].act = 1;
en[6].act = 1;
en[1].kind = 3;
en[2].kind = 10;
en[3].kind = 11;
en[4].kind = 13;
en[5].kind = 13;
en[6].kind = 10;
en[1].X = 1320;
en[2].X = 900;
en[2].Y = 150;
en[3].X = 620;
en[4].X = 375;
en[5].X = 300;
en[6].X = 600;
en[6].Y = 600;
gotoAndPlay (378);
Frame 365
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 3;
Yter[2] = 0;
Xter[3] = 7;
Yter[3] = 4;
Xter[4] = 9;
Yter[4] = 4;
Xter[5] = 13;
Yter[5] = 0;
Xter[6] = 15;
Yter[6] = 0;
Xter[7] = 18;
Yter[7] = -3;
Xter[8] = 20;
Yter[8] = -3;
Xter[9] = 29;
Yter[9] = -12;
Xter[10] = 31;
Yter[10] = -10;
Xter[11] = 37;
Yter[11] = -16;
Xter[12] = 38;
Yter[12] = -16;
Xter[13] = 41;
Yter[13] = -13;
Xter[14] = 42;
Yter[14] = -13;
Xter[15] = 44;
Yter[15] = -11;
Xter[16] = 48;
Yter[16] = -11;
Xter[17] = 56;
Yter[17] = -3;
Xter[18] = 57;
Yter[18] = -3;
Xter[19] = 67;
Yter[19] = 7;
Xter[20] = 68;
Yter[20] = 6;
Xter[21] = 69;
Yter[21] = 6;
Xter[22] = 71;
Yter[22] = 8;
Xter[23] = 72;
Yter[23] = 7;
Xter[24] = 73;
Yter[24] = 7;
Xter[25] = 75;
Yter[25] = 9;
Xter[26] = 76;
Yter[26] = 8;
Xter[27] = 77;
Yter[27] = 8;
Xter[28] = 80;
Yter[28] = 11;
Xter[29] = 82;
Yter[29] = 11;
Xter[30] = 83;
Yter[30] = 10;
Xter[31] = 86;
Yter[31] = 10;
Xter[32] = 91;
Yter[32] = 15;
Xter[33] = 92;
Yter[33] = 15;
Xter[34] = 93;
Yter[34] = 14;
Xter[35] = 96;
Yter[35] = 14;
Xter[36] = 100;
Yter[36] = 18;
Xter[37] = 104;
Yter[37] = 14;
Xter[38] = 105;
Yter[38] = 14;
Xter[39] = 110;
Yter[39] = 9;
Xter[40] = 111;
Yter[40] = 9;
Xter[41] = 112;
Yter[41] = 10;
Xter[42] = 119;
Yter[42] = 3;
Xter[43] = 121;
Yter[43] = 3;
Xter[44] = 125;
Yter[44] = -1;
Xter[45] = 130;
Yter[45] = -1;
Xter[46] = 132;
Yter[46] = 1;
Xter[47] = 136;
Yter[47] = 1;
Xter[48] = 142;
Yter[48] = 7;
Xter[49] = 151;
Yter[49] = 7;
Xter[50] = 153;
Yter[50] = 5;
Xter[51] = 155;
Yter[51] = 5;
Xter[52] = 158;
Yter[52] = 8;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 1;
en[5].act = 1;
en[6].act = 1;
en[7].act = 1;
en[8].act = 1;
en[9].act = 1;
en[10].act = 1;
en[1].X = 465;
en[2].X = 629;
en[3].X = 2265;
en[4].X = 2665;
en[5].X = 1933;
en[6].X = 1417;
en[7].X = 1089;
en[8].X = 700;
en[9].X = 800;
en[10].X = 350;
en[5].Y = 10;
en[6].Y = 150;
en[7].Y = 70;
en[1].kind = 13;
en[2].kind = 4;
en[3].kind = 4;
en[4].kind = 12;
en[5].kind = 10;
en[6].kind = 7;
en[7].kind = 8;
en[8].kind = 11;
en[9].kind = 11;
en[10].kind = 11;
Maxter = 52;
Xloc = 200;
Yloc = -400;
gotoAndPlay (378);
Frame 366
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 4;
Yter[2] = 0;
Xter[3] = 11;
Yter[3] = -7;
Xter[4] = 12;
Yter[4] = -7;
Xter[5] = 19;
Yter[5] = -14;
Xter[6] = 20;
Yter[6] = -13;
Xter[7] = 27;
Yter[7] = -20;
Xter[8] = 30;
Yter[8] = -20;
Xter[9] = 36;
Yter[9] = -14;
Xter[10] = 37;
Yter[10] = -15;
Xter[11] = 44;
Yter[11] = -8;
Xter[12] = 45;
Yter[12] = -8;
Xter[13] = 51;
Yter[13] = -2;
Xter[14] = 52;
Yter[14] = -2;
Xter[15] = 61;
Yter[15] = 7;
Xter[16] = 62;
Yter[16] = 6;
Xter[17] = 64;
Yter[17] = 8;
Xter[18] = 67;
Yter[18] = 5;
Xter[19] = 68;
Yter[19] = 6;
Xter[20] = 74;
Yter[20] = 0;
Xter[21] = 75;
Yter[21] = 0;
Xter[22] = 81;
Yter[22] = -6;
Xter[23] = 82;
Yter[23] = -5;
Xter[24] = 92;
Yter[24] = -15;
Xter[25] = 93;
Yter[25] = -15;
Xter[26] = 94;
Yter[26] = -14;
Xter[27] = 95;
Yter[27] = -14;
Xter[28] = 100;
Yter[28] = -19;
Xter[29] = 104;
Yter[29] = -19;
Xter[30] = 109;
Yter[30] = -14;
Xter[31] = 110;
Yter[31] = -14;
maxter = 31;
Xloc = 1000;
Yloc = -80;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 1;
en[5].act = 1;
en[6].act = 1;
en[7].act = 1;
en[8].act = 1;
en[1].kind = 13;
en[2].kind = 11;
en[3].kind = 5;
en[4].kind = 10;
en[5].kind = 8;
en[6].kind = 13;
en[7].kind = 2;
en[8].kind = 5;
en[1].X = 760;
en[2].X = 600;
en[3].X = 280;
en[4].X = 750;
en[4].Y = 700;
en[5].X = 1080;
en[5].Y = 80;
en[6].X = 6;
en[7].X = 1610;
en[8].X = 1765;
gotoAndPlay (378);
Frame 367
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 5;
Yter[2] = 0;
Xter[3] = 9;
Yter[3] = 4;
Xter[4] = 11;
Yter[4] = 4;
Xter[5] = 16;
Yter[5] = 9;
Xter[6] = 18;
Yter[6] = 9;
Xter[7] = 21;
Yter[7] = 12;
Xter[8] = 25;
Yter[8] = 12;
Xter[9] = 26;
Yter[9] = 11;
Xter[10] = 29;
Yter[10] = 11;
Xter[11] = 33;
Yter[11] = 7;
Xter[12] = 39;
Yter[12] = 7;
Xter[13] = 43;
Yter[13] = 11;
Xter[14] = 46;
Yter[14] = 11;
Xter[15] = 47;
Yter[15] = 12;
Xter[16] = 50;
Yter[16] = 12;
Xter[17] = 53;
Yter[17] = 9;
Xter[18] = 55;
Yter[18] = 9;
Xter[19] = 64;
Yter[19] = 18;
Xter[20] = 67;
Yter[20] = 18;
Xter[21] = 70;
Yter[21] = 15;
Xter[22] = 78;
Yter[22] = 15;
Xter[23] = 79;
Yter[23] = 16;
Xter[24] = 81;
Yter[24] = 16;
Xter[25] = 83;
Yter[25] = 18;
Xter[26] = 87;
Yter[26] = 18;
Xter[27] = 96;
Yter[27] = 9;
Xter[28] = 98;
Yter[28] = 9;
Xter[29] = 101;
Yter[29] = 6;
maxter = 29;
Yloc = -200;
Xloc = 100;
en[1].kind = 5;
en[1].act = 1;
en[1].X = 432;
en[2].kind = 2;
en[2].X = 800;
en[2].act = 1;
en[3].act = 1;
en[3].kind = 4;
en[3].X = 1214;
en[4].act = 1;
en[4].kind = 6;
gotoAndPlay (378);
Frame 368
en[11].kind = 6;
en[11].act = 1;
Xter[1] = 0;
Yter[1] = 0;
Xter[2] = 12;
Yter[2] = -12;
Xter[3] = 14;
Yter[3] = -12;
Xter[4] = 27;
Yter[4] = 1;
Xter[5] = 40;
Yter[5] = -12;
Xter[6] = 42;
Yter[6] = -12;
Xter[7] = 54;
Yter[7] = 0;
Xter[8] = 56;
Yter[8] = -2;
Xter[9] = 58;
Yter[9] = 0;
Xter[10] = 60;
Yter[10] = -2;
Xter[11] = 62;
Yter[11] = 0;
Xter[12] = 76;
Yter[12] = -14;
Xter[13] = 77;
Yter[13] = -13;
Xter[14] = 84;
Yter[14] = -20;
Xter[15] = 89;
Yter[15] = -20;
Xter[16] = 101;
Yter[16] = -8;
Xter[17] = 103;
Yter[17] = -10;
Xter[18] = 109;
Yter[18] = -4;
Xter[19] = 110;
Yter[19] = -5;
Xter[20] = 117;
Yter[20] = 2;
Xter[21] = 118;
Yter[21] = 1;
Xter[22] = 126;
Yter[22] = 9;
Xter[23] = 127;
Yter[23] = 8;
Xter[24] = 134;
Yter[24] = 15;
Xter[25] = 136;
Yter[25] = 15;
Xter[26] = 137;
Yter[26] = 14;
Xter[27] = 143;
Yter[27] = 14;
Xter[28] = 144;
Yter[28] = 15;
maxter = 28;
en[1].act = 1;
en[2].act = 1;
en[3].act = 1;
en[4].act = 1;
en[5].act = 1;
en[6].act = 1;
en[7].act = 1;
en[8].act = 1;
en[9].act = 1;
en[10].act = 1;
en[1].X = -23;
en[1].kind = 1;
en[2].kind = 1;
en[2].X = 545;
en[3].kind = 9;
en[4].kind = 9;
en[3].X = -23;
en[4].X = 545;
en[3].Y = -50;
en[4].Y = -50;
en[5].X = 1437.7;
en[5].kind = 2;
en[6].kind = 7;
en[7].kind = 7;
en[6].X = 260;
en[6].Y = 300;
en[7].X = 940;
en[7].Y = 400;
en[8].kind = 10;
en[8].X = 850;
en[8].Y = 600;
en[9].kind = 11;
en[10].kind = 11;
en[9].X = 1260;
en[10].Y = 1899;
Xloc = 100;
Yloc = -400;
gotoAndPlay (378);
Frame 378
Xter[1] = Xter[2] - 100;
Yter[1] = Yter[2];
Xter[maxter] = Xter[maxter - 1] + 100;
Yter[maxter] = Yter[maxter - 1];
count = 0;
while (count < 12) {
count = count + 1;
if (en[count].act == 1) {
if (en[count].kind == 1) {
en[count].hp = 60;
}
if (en[count].kind == 2) {
en[count].hp = 70;
}
if (en[count].kind == 3) {
en[count].hp = 120;
}
if (en[count].kind == 4) {
en[count].hp = 140;
}
if (en[count].kind == 5) {
en[count].hp = 500;
}
if (en[count].kind == 6) {
en[count].hp = 320;
}
if (en[count].kind == 7) {
en[count].hp = 85;
}
if (en[count].kind == 8) {
en[count].hp = 10;
}
if (en[count].kind == 9) {
en[count].hp = 1;
}
if (en[count].kind == 10) {
en[count].hp = 25;
}
if (en[count].kind == 11) {
en[count].hp = 10;
}
if (en[count].kind == 12) {
en[count].hp = 250;
}
if (en[count].kind == 13) {
en[count].hp = 40;
}
}
}
with (_root.foreground) {
if (_global.levelselect == 1) {
beginFill(13107, 100);
} else if (_global.levelselect == 2) {
beginFill(51, 100);
} else if (_global.levelselect == 3) {
beginFill(1184274, 100);
} else if (_global.levelselect == 4) {
beginFill(13107, 100);
} else if (_global.levelselect == 5) {
beginFill(1184274, 100);
} else if (_global.levelselect == 6) {
beginFill(51, 100);
} else if (_global.levelselect == 7) {
beginFill(13107, 100);
} else if (_global.levelselect == 8) {
beginFill(13107, 100);
} else if (_global.levelselect == 9) {
beginFill(51, 100);
} else if (_global.levelselect == 10) {
beginFill(13107, 100);
} else if (_global.levelselect == 11) {
beginFill(51, 100);
} else if (_global.levelselect == 12) {
beginFill(13107, 100);
} else if (_global.levelselect == 13) {
beginFill(13107, 100);
} else if (_global.levelselect == 14) {
beginFill(51, 100);
} else if (_global.levelselect == 15) {
beginFill(13107, 100);
} else if (_global.levelselect == 16) {
beginFill(0, 100);
}
lineStyle(0.3, 0, 100);
count = 1;
moveto(Xter[1], Yter[1] + 0.3);
while (count < maxter) {
count = count + 1;
lineto(Xter[count], Yter[count]);
}
lineto(Xter[count], Yter[count] + 100);
lineto(Xter[1], Yter[1] + 100);
endFill();
}
count = 0;
while (count < maxter) {
count = count + 1;
Xter[count] = (Xter[count] * 20) - 278;
Yter[count] = (Yter[count] * 20) - 185;
if (Yter[count] < maxheight) {
maxheight = Yter[count];
}
}
maxheight = maxheight - 200;
count = 0;
while (count < 11) {
count = count + 1;
en[count].overcount = 1;
en[count].name._visible = true;
if (en[count].X > 1) {
en[count].hp = en[count].hp * 1.7;
while (en[count].X > Xter[en[count].overcount]) {
en[count].overcount = en[count].overcount + 1;
}
}
}
Frame 379
function sqr(D) {
return(D * D);
}
function loseHP(D) {
if (covertimer < 1) {
uthp = HP - D;
HP = HP - (D / _global.SHEILDSTRENGTH);
if (HP < 0) {
_global.hul = _global.hul + (uthp / _global.HULLSTRENGTH);
HP = 0;
if (random(2) == 1) {
yelp1.start();
} else {
yelp2.start();
}
hulldisplay._width = _global.hul;
} else {
shield.gotoAndPlay(1);
shieldcounter = 2;
shield._visible = true;
}
}
}
function groundlevel(H) {
count = 0;
while (H >= Xter[count + 1]) {
count = count + 1;
}
if (Yter[count] > Yter[count + 1]) {
terslope = -1;
} else if (Yter[count] < Yter[count + 1]) {
terslope = 1;
} else {
terslope = 0;
}
return((-Yter[count]) - ((H - Xter[count]) * terslope));
}
function jumper(I) {
if (en[i].inrange == 0) {
en[i].name.gotoAndStop(257);
en[i].inrange = 2;
}
if ((Math.abs(en[i].X - Xloc) < 320) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
if (((random(40) == 2) and (Math.abs(en[i].X - Xloc) < 320)) and ((en[i].Y + Yloc) > -270)) {
count = 0;
enangle = Math.atan(((-en[i].Y) - Yloc) / (en[i].X - Xloc));
if ((en[i].X - Xloc) >= 0) {
enangle = enangle + 3.14;
}
while (count < 11) {
count = count + 1;
if (pro[count].act < 1) {
unishoot.start();
sor[count] = 2;
pro[count].Xloc = en[i].X;
pro[count].Yloc = (-en[i].Y) - 4;
pro[count].Ygo = -10;
pro[count].Xgo = Math.cos(enangle) * 20;
pro[count].Ygo = Math.sin(enangle) * 20;
if (Math.abs(pro[count].Ygo) < 0) {
pro[count].Ygo = -20;
}
pro[count].grav = "YES";
pro[count].overcount = overcount;
pro[count].act = 1;
pro[count].name._visible = true;
pro[count].name.gotoAndStop(328);
pro[count].name._rotation = (enangle * 57.3) + 90;
pro[count].name._x = -100;
pro[count].name._y = -100;
pro[count].style = 4;
pro[count].explodes = "YES";
pro[count].name.gotoAndStop(328);
dammage[count] = 15;
count = 12;
}
}
}
if (en[i].X > Xter[en[i].overcount + 1]) {
en[i].overcount = en[i].overcount + 1;
} else if (en[i].X < Xter[en[i].overcount]) {
en[i].overcount = en[i].overcount - 1;
} else if (((random(50) == 1) and (en[i].holder < 1)) or ((Math.abs(en[i].X - Xloc) < 30) and (en[i].holder < 1))) {
en[i].Xgo = 2 + random(6);
en[i].Ygo = -7 - random(6);
jumping.start();
if (en[i].X > Xloc) {
en[i].Xgo = -en[i].Xgo;
}
en[i].holder = 1;
en[i].name._rotation = 0;
}
if (Yter[en[i].overcount] > Yter[en[i].overcount + 1]) {
terslope = -1;
} else if (Yter[en[i].overcount] < Yter[en[i].overcount + 1]) {
terslope = 1;
} else {
terslope = 0;
}
if (en[i].holder < 1) {
if (en[i].X < Xloc) {
en[i].Xgo = 1;
} else {
en[i].Xgo = -1;
}
en[i].firing = en[i].firing + en[i].Xgo;
if (en[i].firing > 20) {
en[i].firing = 0;
}
if (en[i].firing < 0) {
en[i].firing = 20;
}
if (terslope == 0) {
en[i].X = en[i].X + (2.8 * en[i].Xgo);
} else {
en[i].X = en[i].X + (1.7 * en[i].Xgo);
}
en[i].name._rotation = 45 * terslope;
en[i].name.gotoAndStop(288 + en[i].firing);
en[i].Y = (-Yter[en[i].overcount]) - ((en[i].X - Xter[en[i].overcount]) * terslope);
} else {
en[i].Ygo = en[i].Ygo + 0.5;
en[i].X = en[i].X + en[i].Xgo;
en[i].Y = en[i].Y - en[i].Ygo;
if (en[i].Y < ((-Yter[en[i].overcount]) - ((en[i].X - Xter[en[i].overcount]) * terslope))) {
en[i].holder = 0;
}
}
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 187;
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
en[i].name.gotoAndPlay(497);
_global.wealth = _global.wealth + 30;
money = _global.wealth;
jumperdies.start();
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 10) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function cannon5(I) {
if (en[i].inrange == 0) {
en[i].name.gotoAndStop(257);
en[i].inrange = 2;
en[i].Y = groundlevel(en[i].X) + 54;
}
if (((Math.abs(en[i].X - Xloc) < 320) and ((en[i].Y + Yloc) > -270)) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
dx = en[i].X - Xloc;
dy = en[i].Y + Yloc;
enangle = Math.atan((-dy) / dx);
if ((en[i].X - Xloc) >= 0) {
enangle = enangle + 3.14;
}
en[i].name.gun._rotation = 57.3 * enangle;
en[i].name.gun._rotation = 57.3 * enangle;
if (random(10) == 3) {
count = 0;
while (count < 11) {
if (count < 11) {
count = count + 1;
if (pro[count].act < 1) {
dammage[count] = 50;
sor[count] = 2;
pro[count].Xloc = en[i].X;
pro[count].Yloc = -en[i].Y;
bigCshoots.start();
pro[count].Xgo = Math.cos(enangle) * 15;
t = dx / pro[count].Xgo;
pro[count].Ygo = (0.5 * t) - (dy / t);
pro[count].overcount = overcount;
pro[count].act = 1;
pro[count].ko = 0;
pro[count].name._visible = true;
pro[count].name.gotoAndStop(351);
pro[count].name._x = -100;
pro[count].name._y = -100;
pro[count].style = 3;
count = 30;
}
}
}
}
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
_global.wealth = _global.wealth + 75;
money = _global.wealth;
en[i].name.gotoAndPlay(375);
bigcannondies.start();
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 10) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function cannon4(I) {
if (en[i].inrange == 0) {
en[i].name.gotoAndStop(256);
en[i].inrange = 2;
en[i].Y = groundlevel(en[i].X) + 22;
}
if (((Math.abs(en[i].X - Xloc) < 320) and ((en[i].Y + Yloc) > -270)) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
en[i].holder = en[i].holder - 1;
dx = en[i].X - Xloc;
dy = en[i].Y + Yloc;
enangle = Math.atan((-dy) / dx);
if ((en[i].X - Xloc) >= 0) {
enangle = enangle + 3.14;
}
en[i].name.gun._rotation = 57.3 * enangle;
if (en[i].holder < 0) {
en[i].holder = 15 + random(10);
count = 0;
while (count < 11) {
if (count < 11) {
count = count + 1;
if (pro[count].act < 1) {
dammage[count] = 40;
cannon4shoots.start();
sor[count] = 2;
pro[count].Xloc = en[i].X + (Math.cos(enangle) * 30);
pro[count].Yloc = (-en[i].Y) + (Math.sin(enangle) * 30);
pro[count].Xgo = Math.cos(enangle) * 37;
t = dx / pro[count].Xgo;
pro[count].Ygo = (0.5 * t) - (dy / t);
pro[count].overcount = overcount;
pro[count].act = 1;
pro[count].ko = 0;
pro[count].name._visible = true;
pro[count].name.gotoAndStop(326);
pro[count].name._x = -100;
pro[count].name._y = -100;
pro[count].style = 8;
count = 30;
}
}
}
}
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
en[i].name.gotoAndPlay(360);
_global.wealth = _global.wealth + 35;
money = _global.wealth;
can4dies.start();
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 10) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function cannon3(I) {
if (en[i].inrange == 0) {
en[i].name.gotoAndStop(254);
en[i].inrange = 2;
en[i].Y = groundlevel(en[i].X) + 32;
}
if (((Math.abs(en[i].X - Xloc) < 320) and ((en[i].Y + Yloc) > -270)) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
enangle = Math.atan(((-en[i].Y) - Yloc) / (en[i].X - Xloc));
if ((en[i].X - Xloc) >= 0) {
enangle = enangle + 3.14;
}
dx = Xloc - en[i].X;
dy = Yloc + en[i].Y;
en[i].name.gun._rotation = 57.3 * enangle;
en[i].holder = en[i].holder - 1;
if (en[i].holder < 1) {
en[i].holder = 70;
count = 0;
while (count < 11) {
if (count < 11) {
count = count + 1;
if (pro[count].act < 1) {
pro[count].Xgo = Math.cos(enangle) * 15;
t = dx / pro[count].Xgo;
pro[count].Ygo = -((0.5 * t) - (dy / t));
pro[count].Xloc = (en[i].X - pro[count].Xgo) + (Math.cos(enangle) * 50);
pro[count].Yloc = ((-en[i].Y) - pro[count].Ygo) + (Math.sin(enangle) * 50);
pro[count].overcount = overcount;
pro[count].act = 1;
pro[count].ko = 0;
dammage[count] = 80;
cannon3shoots.start();
pro[count].name._visible = true;
pro[count].name.gotoAndStop(329);
pro[count].name._x = -100;
pro[count].name._y = -100;
pro[count].style = 1;
pro[count].grav = "YES";
pro[count].name._rotation = 57.3 * enangle;
sor[count] = 2;
count = 30;
}
}
}
}
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
en[i].name.gotoAndPlay(345);
_global.wealth = _global.wealth + 40;
money = _global.wealth;
unideath.start();
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 12) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function cannon2(I) {
if (en[i].inrange == 0) {
en[i].name.gotoAndStop(253);
en[i].inrange = 2;
en[i].Y = groundlevel(en[i].X) + 28;
}
if (((Math.abs(en[i].X - Xloc) < 320) and ((en[i].Y + Yloc) > -270)) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
enangle = Math.atan(((-en[i].Y) - Yloc) / (en[i].X - Xloc));
if ((en[i].X - Xloc) >= 0) {
enangle = enangle + 3.14;
}
dx = Xloc - en[i].X;
dy = Yloc + en[i].Y;
en[i].name.gun._rotation = 57.3 * enangle;
en[i].holder = en[i].holder - 1;
if (en[i].holder < 0) {
en[i].holder = 30;
count = 0;
while (count < 11) {
if (count < 11) {
count = count + 1;
if (pro[count].act < 1) {
cannon1sound.start();
pro[count].Xgo = Math.cos(enangle) * 20;
t = dx / pro[count].Xgo;
pro[count].Ygo = ((-((0.5 * t) - (dy / t))) + Math.random(5)) - Math.random(5);
pro[count].Xloc = (en[i].X - pro[count].Xgo) + (Math.cos(enangle) * 35);
pro[count].Yloc = ((-en[i].Y) - pro[count].Ygo) + (Math.sin(enangle) * 35);
pro[count].overcount = overcount;
pro[count].act = 1;
pro[count].ko = 0;
dammage[count] = 15;
pro[count].name._visible = true;
pro[count].name.gotoAndStop(328);
sor[count] = 2;
pro[count].name._x = -100;
pro[count].name._y = -100;
pro[count].style = 2;
count = 30;
}
}
}
}
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
en[i].name.gotoAndPlay(330);
unideath.start();
_global.wealth = _global.wealth + 30;
money = _global.wealth;
bigGhit.start();
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 10) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function flyer1(I) {
if (en[i].inrange == 0) {
en[i].inrange = 2;
}
if (((Math.abs(en[i].X - Xloc) < 320) and ((en[i].Y + Yloc) > -270)) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
en[i].name._x = (en[i].X - Xloc) + 274;
en[i].name._y = ((-en[i].Y) - Yloc) + 190;
enangle = Math.atan(((-en[i].Y) - Yloc) / (en[i].X - Xloc));
if ((en[i].X - Xloc) >= 0) {
enangle = enangle + 3.14;
}
if (random(14) == 2) {
count = 0;
while (count < 11) {
count = count + 1;
if (pro[count].act < 1) {
unishoot.start();
pro[count].Xloc = en[i].X;
pro[count].Yloc = -en[i].Y;
pro[count].Xgo = (Math.cos(enangle) * 20) + en[i].Xgo;
pro[count].Ygo = (Math.sin(enangle) * 20) + en[i].Ygo;
pro[count].grav = "NO";
pro[count].overcount = overcount;
pro[count].act = 1;
pro[count].name._visible = true;
pro[count].name.gotoAndStop(327);
pro[count].name._rotation = enangle * 57.3;
pro[count].name._x = -100;
pro[count].name._y = -100;
pro[count].style = 4;
dammage[count] = 18;
pro[count].explodes = "NO";
sor[count] = 2;
count = 12;
}
}
}
if ((Math.abs(en[i].X - Xloc) > 40) and (Math.abs(en[i].Y + Yloc) > 40)) {
if (Math.abs(en[i].holder < 0.2)) {
if (Xgo < 0) {
en[i].holder = en[i].holder + 0.1;
} else {
en[i].holder = en[i].holder - 0.1;
}
}
enangle = enangle + en[i].holder;
en[i].Xgo = (en[i].Xgo * 0.9) + (Math.cos(enangle) * 2);
en[i].Ygo = (en[i].Ygo * 0.9) + (Math.sin(enangle) * 2);
offer = 198;
} else {
offer = 166;
if (en[i].holder > 0) {
en[i].holder = en[i].holder - 0.1;
} else if (en[i].holder < 0) {
en[i].holder = en[i].holder + 0.1;
}
}
en[i].X = en[i].X + en[i].Xgo;
en[i].Y = en[i].Y - en[i].Ygo;
en[i].Xgo = en[i].Xgo * 0.9;
en[i].Ygo = en[i].Ygo * 0.9;
en[i].Ygo = en[i].Ygo + 0.3;
en[i].name.gotoAndStop(offer + Math.round((enangle + 1.57) * 4.77));
if (en[i].X > Xter[en[i].overcount + 1]) {
en[i].overcount = en[i].overcount + 1;
} else if (en[i].X < Xter[en[i].overcount]) {
en[i].overcount = en[i].overcount - 1;
}
if (en[i].Y > min(Yter[en[i].overcount], Yter[en[i].overcount + 1])) {
if (Yter[en[i].overcount] > Yter[en[i].overcount + 1]) {
terslope = -1;
} else if (Yter[en[i].overcount] < Yter[en[i].overcount + 1]) {
terslope = 1;
} else {
terslope = 0;
}
if ((en[i].Y - 60) < ((-Yter[en[i].overcount]) - (((en[i].X - Xter[en[i].overcount]) - 30) * terslope))) {
en[i].Y = en[i].Y + 4;
if (en[i].Ygo < 0) {
en[i].Ygo = en[i].Ygo - 1;
} else {
en[i].Ygo = 0;
}
en[i].Xgo = 0;
}
}
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
rotocount = en[i].name._rotation;
en[i].deathcount = 2;
} else if (en[i].deathcount == 2) {
rotocount = rotocount - 1;
en[i].name._rotation = rotocount;
if (rotocount < 10) {
en[i].deathcount = 3;
en[i].name.gotoAndPlay(525);
_global.wealth = _global.wealth + 35;
somethingdies.start();
money = _global.wealth;
}
}
if (en[i].deathcount > 1) {
if (en[i].deathcount > 2) {
en[i].deathcount = en[i].deathcount + 1;
}
en[i].Y = en[I].Y + 3;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
}
if (en[i].deathcount > 13) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function gravityball(I) {
if (en[i].inrange == 0) {
en[i].inrange = 2;
}
if ((Math.abs(en[i].X - Xloc) < 320) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
en[i].name._x = (en[i].X - Xloc) + 274;
en[i].name._y = ((-en[i].Y) - Yloc) + 190;
enangle = Math.atan(((-en[i].Y) - Yloc) / (en[i].X - Xloc));
if ((en[i].X - Xloc) >= 0) {
enangle = enangle + 3.14;
}
en[i].Xgo = (en[i].Xgo * 0.99) + (Math.cos(enangle) * 1);
en[i].Ygo = (en[i].Ygo * 0.99) + (Math.sin(enangle) * 1);
en[i].X = en[i].X + en[i].Xgo;
en[i].Y = en[i].Y - en[i].Ygo;
enangle = Math.atan(en[i].Ygo / en[i].Xgo) + 1.57;
if (en[i].Xgo < 0) {
enangle = enangle + 3.14;
}
en[i].name.gotoAndStop(135 + Math.round(enangle * 4.77));
if (en[i].X > Xter[en[i].overcount + 1]) {
en[i].overcount = en[i].overcount + 1;
} else if (en[i].X < Xter[en[i].overcount]) {
en[i].overcount = en[i].overcount - 1;
}
if (Yter[en[i].overcount] > Yter[en[i].overcount + 1]) {
terslope = -1;
} else if (Yter[en[i].overcount] < Yter[en[i].overcount + 1]) {
terslope = 1;
} else {
terslope = 0;
}
if ((en[i].Y - 20) < ((-Yter[en[i].overcount]) - ((en[i].X - Xter[en[i].overcount]) * terslope))) {
en[i].Y = en[i].Y + 4;
en[i].Ygo = 0;
en[i].Xgo = 0;
}
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
en[i].name.gotoAndPlay(480);
_global.wealth = _global.wealth + 30;
money = _global.wealth;
cannondead.start();
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 10) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function dumbhomer(I) {
if (en[i].inrange == 0) {
en[i].inrange = 2;
}
if ((Math.abs(en[i].X - Xloc) < 320) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
en[i].name._x = (en[i].X - Xloc) + 274;
en[i].name._y = ((-en[i].Y) - Yloc) + 190;
if (en[i].firing < 12) {
en[i].firing = en[i].firing + 0.3;
}
enangle = Math.atan(((-en[i].Y) - Yloc) / (en[i].X - Xloc));
if ((en[i].X - Xloc) >= 0) {
enangle = enangle + 3.14;
}
en[i].name.gotoAndStop(102 + Math.round((enangle + 1.57) * 4.77));
en[i].X = en[i].X + (Math.cos(enangle) * en[i].firing);
en[i].Y = en[i].Y - (Math.sin(enangle) * en[i].firing);
if (en[i].X > Xter[en[i].overcount + 1]) {
en[i].overcount = en[i].overcount + 1;
} else if (en[i].X < Xter[en[i].overcount]) {
en[i].overcount = en[i].overcount - 1;
}
if (Yter[en[i].overcount] > Yter[en[i].overcount + 1]) {
terslope = -1;
} else if (Yter[en[i].overcount] < Yter[en[i].overcount + 1]) {
terslope = 1;
} else {
terslope = 0;
}
if ((en[i].Y - 20) < ((-Yter[en[i].overcount]) - ((en[i].X - Xter[en[i].overcount]) * terslope))) {
en[i].Y = en[i].Y + 4;
en[i].Ygo = 0;
en[i].Xgo = 0;
}
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
en[i].name.gotoAndPlay(405);
_global.wealth = _global.wealth + 15;
money = _global.wealth;
cannondead.start();
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 20) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function homer(I) {
if (en[i].inrange == 0) {
en[i].inrange = 2;
}
if ((Math.abs(en[i].X - Xloc) < 320) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
en[i].name._x = (en[i].X - Xloc) + 274;
en[i].name._y = ((-en[i].Y) - Yloc) + 190;
if (en[i].firing > 0) {
enangle = Math.atan(((-en[i].Y) - Yloc) / (en[i].X - Xloc));
if ((en[i].X - Xloc) >= 0) {
enangle = enangle + 3.14;
}
en[i].name.gotoAndStop(68 + Math.round((enangle + 1.57) * 4.77));
en[i].X = en[i].X + (Math.cos(enangle) * 5);
en[i].Y = en[i].Y - (Math.sin(enangle) * 5);
if (en[i].X > Xter[en[i].overcount + 1]) {
en[i].overcount = en[i].overcount + 1;
} else if (en[i].X < Xter[en[i].overcount]) {
en[i].overcount = en[i].overcount - 1;
}
if (Yter[en[i].overcount] > Yter[en[i].overcount + 1]) {
terslope = -1;
} else if (Yter[en[i].overcount] < Yter[en[i].overcount + 1]) {
terslope = 1;
} else {
terslope = 0;
}
if ((en[i].Y - 30) < ((-Yter[en[i].overcount]) - (((en[i].X - Xter[en[i].overcount]) - 30) * terslope))) {
en[i].Y = en[i].Y + 4;
}
if ((Math.abs(en[i].X - Xloc) > 300) or ((en[i].Y + Yloc) < -210)) {
en[i].firing = 0;
en[i].Y = ((-Yter[en[i].overcount]) + (((en[i].X - Xter[en[i].overcount]) - 5) * (-terslope))) + 2;
}
} else {
en[i].name.gotoAndStop(101);
if (Math.abs(en[i].X - Xloc) < 100) {
en[i].firing = 1;
}
}
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
en[i].name.gotoAndPlay(430 + (random(2) * 15));
_global.wealth = _global.wealth + 25;
money = _global.wealth;
cannondead.start();
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 12) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function walker(I) {
if (en[i].inrange == 0) {
en[i].inrange = 2;
}
if ((Math.abs(en[i].X - Xloc) < 320) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
if ((en[9].act == 0) and (random(40) == 1)) {
en[9].act = 1;
en[9].kind = 9;
en[9].X = en[i].X;
en[9].Y = en[i].Y + 35;
en[9].hp = 1;
en[9].inrange = 0;
en[9].deathcount = 0;
en[9].firing = 0;
en[9].ko = 0;
en[9].name._visible = true;
walkershoots.start();
}
if (en[i].X > Xloc) {
en[i].Xgo = 1;
} else {
en[i].Xgo = -1;
}
en[i].firing = en[i].firing + en[i].Xgo;
if (en[i].firing > 19) {
en[i].firing = 1;
}
if (en[i].firing < 1) {
en[i].firing = 20;
}
if (en[i].X > Xter[en[i].overcount + 1]) {
en[i].overcount = en[i].overcount + 1;
} else if (en[i].X < Xter[en[i].overcount]) {
en[i].overcount = en[i].overcount - 1;
}
if (Yter[en[i].overcount] > Yter[en[i].overcount + 1]) {
terslope = -1;
en[i].X = en[i].X + (1 * en[i].Xgo);
} else if (Yter[en[i].overcount] < Yter[en[i].overcount + 1]) {
terslope = 1;
en[i].X = en[i].X + (1 * en[i].Xgo);
} else {
terslope = 0;
en[i].X = en[i].X + (1.2 * en[i].Xgo);
}
en[i].name.gotoAndStop((25 + en[i].firing) + (21 * terslope));
en[i].Y = (-Yter[en[i].overcount]) - ((en[i].X - Xter[en[i].overcount]) * terslope);
en[i].name._x = (en[i].X - Xloc) + 274;
en[i].name._y = ((-en[i].Y) - Yloc) + 190;
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount == 0) {
en[i].name.gotoAndPlay(540);
_global.wealth = _global.wealth + 135;
money = _global.wealth;
walkerdies.start();
}
if (en[i].deathcount < 1) {
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 10) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function bomber(I) {
if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
en[i].name.gotoAndPlay(394);
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 30) {
en[i].act = 0;
_global.wealth = _global.wealth + 75;
somethingdies.start();
money = _global.wealth;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
if (en[i].Xgo == 0) {
en[i].name.gotoAndPlay(230);
}
en[i].angle = en[i].angle - 1;
if ((en[i].angle < 0) and (en[i].firing > 1)) {
if (((en[i].Xgo > 0) and (en[i].X < Xloc)) or ((en[i].Xgo < 0) and (en[i].X > Xloc))) {
count = 0;
en[i].angle = 40;
while (count < 11) {
if (count < 11) {
count = count + 1;
if (pro[count].act < 1) {
bombershootingsound.start();
sor[count] = 2;
pro[count].Xgo = en[i].Xgo;
pro[count].Ygo = 0;
pro[count].Xloc = en[i].X;
pro[count].Yloc = (-en[i].Y) + 30;
pro[count].overcount = overcount;
pro[count].act = 1;
pro[count].ko = 0;
pro[count].name._visible = true;
pro[count].name.gotoAndStop(328);
pro[count].name._x = -100;
pro[count].name._y = -100;
pro[count].style = 2;
dammage[count] = 15;
count = 30;
}
}
}
}
}
if (((((en[i].firing < 1) and (Math.abs(Ygo) < 2)) and (Math.abs(Xgo) < 2)) and (random(20) == 1)) and (en[i].holder > 70)) {
en[i].firing = 1;
en[i].Y = (-Yloc) + 230;
dx = 50 + random(50);
if (random(2) == 1) {
dx = -dx;
}
dy = 180;
en[i].inrange = 2;
en[i].X = Xloc + dx;
en[i].Ygo = -7;
en[i].Xgo = (Math.abs(dx) / (en[i].Ygo / 0.3)) + Xgo;
if (dx < 0) {
en[i].Xgo = -en[i].Xgo;
}
} else {
en[i].holder = en[i].holder + 1;
}
if (en[i].firing > 0) {
en[i].X = en[i].X + en[i].Xgo;
en[i].Y = en[i].Y + en[i].Ygo;
en[i].Ygo = en[i].Ygo + 0.3;
en[i].name._x = (en[i].X - Xloc) + 280;
en[i].name._y = ((-en[i].Y) - Yloc) + 200;
if (((((-en[i].Y) - Yloc) + 182) > 0) and (en[i].firing == 1)) {
en[i].firing = 2;
}
en[i].name._visible = true;
if ((((((-en[i].Y) - Yloc) + 182) < -60) and (en[i].firing == 2)) or ((((-en[i].Y) - Yloc) + 182) < -150)) {
en[i].firing = 0;
en[i].holder = 0;
en[i].inrange = 1;
}
}
}
function zapper(i) {
if (en[i].inrange == 0) {
en[i].name.gotoAndStop(2);
en[i].inrange = 2;
en[i].Y = groundlevel(en[i].X) + 0;
}
if (((Math.abs(en[i].X - Xloc) < 300) and ((en[i].Y + Yloc) > -220)) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
en[i].name._x = (en[i].X - Xloc) + 274;
en[i].name._y = ((-en[i].Y) - Yloc) + 190;
en[i].name._visible = true;
en[i].name._rotation = 0;
if (((en[i].firing == 0) and (Math.abs((Xloc - en[i].X) + (Xgo * 11)) < 6)) and (enginejammer < 1)) {
en[i].firing = 1;
count = 0;
while (count < 11) {
count = count + 1;
if (pro[count].act < 1) {
pro[count].act = 100;
en[i].holder = count;
pro[count].beam = "MINE";
pro[count].name.gotoAndPlay(50);
pro[count].name._visible = true;
pro[en[i].holder].name._rotation = 0;
count = 12;
}
}
}
if (en[i].firing > 0) {
pro[en[i].holder].name._y = en[i].name._y - 6;
pro[en[i].holder].name._x = en[i].name._x;
en[i].firing = en[i].firing + 1;
if (en[i].firing == 11) {
zappersound.start();
}
if ((en[i].firing == 13) and (Math.abs(Xloc - en[i].X) < 30)) {
enginejammer = 100;
}
if (en[i].firing > 13) {
pro[en[i].holder].name._visible = false;
pro[en[i].holder].name.stop();
pro[en[i].holder].act = 0;
en[i].firing = 0;
}
}
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
if (en[i].firing > 0) {
pro[en[i].holder].name._visible = false;
pro[en[i].holder].name.stop();
pro[en[i].holder].act = 0;
}
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
en[i].name.gotoAndPlay(509);
if (en[i].firing > 0) {
pro[en[i].holder].name._visible = false;
pro[en[i].holder].name.stop();
pro[en[i].holder].act = 0;
en[i].firing = 0;
}
_global.wealth = _global.wealth + 20;
money = _global.wealth;
smallGhit.start();
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 10) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
if (en[i].firing > 0) {
pro[en[i].holder].name._visible = false;
pro[en[i].holder].name.stop();
pro[en[i].holder].act = 0;
}
}
}
}
function cannon1(I) {
if (en[i].inrange == 0) {
en[i].name.gotoAndStop(1);
en[i].inrange = 2;
en[i].Y = groundlevel(en[i].X) + 31;
}
if (((Math.abs(en[i].X - Xloc) < 320) and ((en[i].Y + Yloc) > -270)) and (en[i].hp > 0)) {
if (en[i].inrange == 1) {
en[i].name._visible = true;
en[i].inrange = 2;
}
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
enangle = Math.atan(((-en[i].Y) - Yloc) / (en[i].X - Xloc));
if ((en[i].X - Xloc) >= 0) {
enangle = enangle + 3.14;
}
dx = Xloc - en[i].X;
dy = Yloc + en[i].Y;
en[i].name.gun._rotation = 57.3 * enangle;
if (((random(30) == 3) and (Math.abs(Xloc - en[i].X) < 280)) and (Math.abs(dy) < 200)) {
count = 0;
while (count < 11) {
if (count < 11) {
count = count + 1;
if (pro[count].act < 1) {
cannon2shoots.start();
sor[count] = 2;
dammage[count] = 25;
pro[count].Xloc = en[i].X + (Math.cos(enangle) * 40);
pro[count].Yloc = (-en[i].Y) + (Math.sin(enangle) * 40);
pro[count].Xgo = Math.cos(enangle) * 25;
t = dx / pro[count].Xgo;
pro[count].Ygo = -((0.5 * t) - (dy / t));
pro[count].overcount = overcount;
pro[count].act = 1;
pro[count].ko = 0;
pro[count].name._visible = true;
pro[count].name.gotoAndStop(326);
pro[count].name._x = -100;
pro[count].name._y = -100;
pro[count].style = 8;
count = 30;
sor[count] = 2;
}
}
}
}
} else if ((en[i].inrange == 2) and (en[i].hp > 0)) {
en[i].name._visible = false;
en[i].inrange = 1;
} else if (en[i].hp < 1) {
if (en[i].deathcount < 1) {
en[i].name.gotoAndPlay(315);
_global.wealth = _global.wealth + 30;
money = _global.wealth;
unideath.start();
}
en[i].deathcount = en[i].deathcount + 1;
en[i].name._x = (en[i].X - Xloc) + 278;
en[i].name._y = ((-en[i].Y) - Yloc) + 185;
if (en[i].deathcount > 10) {
en[i].act = 0;
en[i].inrange = 0;
en[i].name._visible = false;
}
}
}
function bulletstuff() {
count = 0;
while (count < 11) {
count = count + 1;
if (pro[count].act == 1) {
if (pro[count].style == 7) {
J = 0;
while (J < 11) {
J = J + 1;
if (en[j].inrange == 2) {
H = (en[J].X - pro[count].Xloc) + 278;
V = (pro[count].Yloc + en[J].Y) - 185;
if ((((V > (enrect[en[J].kind].top - 60)) and (V < (enrect[en[J].kind].bottom + 60))) and (H < (enrect[en[J].kind].right + 60))) and (H > (enrect[en[J].kind].left - 60))) {
en[J].HP = en[J].HP - 5;
if (en[J].HP < 1) {
en[J].killedbycrash = 0;
}
}
}
}
pro[count].ko = pro[count].ko + 1;
pro[count].Xloc = pro[count].Xloc + pro[count].Xgo;
pro[count].Yloc = pro[count].Yloc + pro[count].Ygo;
pro[count].Xgo = pro[count].Xgo * 0.95;
pro[count].Ygo = pro[count].Ygo * 0.95;
pro[count].name._x = pro[count].Xloc - Xloc;
pro[count].name._y = pro[count].Yloc - Yloc;
if (pro[count].ko > wep[pro[count].style].explosionlength) {
pro[count].name._rotation = 0;
pro[count].name._visible = false;
pro[count].act = 0;
pro[count].name.stop();
}
} else if (wep[pro[count].style].beam == "NO") {
if (pro[count].ko == 0) {
if (((((pro[count].Xloc - Xloc) < -285) or ((pro[count].Xloc - Xloc) > 285)) or ((Yloc - pro[count].Yloc) < -230)) or (((Yloc - pro[count].Yloc) > 230) and (pro[count].grav == "NO"))) {
pro[count].act = 0;
pro[count].name._visible = false;
pro[count].ko = 0;
} else if (sor[count] == 2) {
if ((Math.abs(pro[count].Yloc - Yloc) < 20) and (Math.abs(pro[count].Xloc - Xloc) < 20)) {
pro[count].ko = 1;
loseHP(dammage[count]);
pro[count].name.gotoAndPlay(wep[pro[count].style].airexplosion[1 + random(wep[pro[count].style].explosion.length - 1)]);
if (dammage[count] > 40) {
airE1.start();
} else if (dammage[count] > 30) {
airE2.start();
} else if (dammage[count] > 20) {
airE3.start();
} else {
airE4.start();
}
cannonishit.start();
pro[count].name._rotation = 0;
if ((XRNL == 0) and (HP < 1)) {
Xgo = Xgo + (pro[count].Xgo / 4);
Ygo = Ygo + (pro[count].Ygo / 4);
}
}
} else if (sor[count] == 1) {
J = 0;
while (J < 11) {
J = J + 1;
if (en[j].inrange == 2) {
H = (en[J].X - pro[count].Xloc) - pro[count].Xgo;
V = (pro[count].Yloc + en[J].Y) + pro[count].Ygo;
if ((((V > (enrect[en[J].kind].top - 10)) and (V < (enrect[en[J].kind].bottom + 10))) and (H < (enrect[en[J].kind].right + 10))) and (H > (enrect[en[J].kind].left - 10))) {
pro[count].name.gotoAndPlay(wep[pro[count].style].airexplosion[1 + random(wep[pro[count].style].explosion.length - 1)]);
if (dammage[count] > 40) {
airE1.start();
} else if (dammage[count] > 30) {
airE2.start();
} else if (dammage[count] > 20) {
airE3.start();
} else {
airE4.start();
}
pro[count].ko = 1;
pro[count].name._rotation = 0;
en[J].HP = en[J].HP - dammage[count];
if (en[J].HP < 0) {
en[J].HP = 0;
}
if (en[J].HP < 1) {
en[J].killedbycrash = 0;
} else {
en[J].Xgo = en[J].Xgo + ((pro[count].Xgo / 130) * dammage[count]);
if ((J != 6) and (J != 13)) {
en[J].Ygo = en[J].Ygo - ((pro[count].Ygo / 130) * dammage[count]);
} else if (J != 7) {
en[J].Ygo = en[J].Ygo + ((pro[count].Ygo / 130) * dammage[count]);
}
}
}
}
}
}
pro[count].Xloc = pro[count].Xloc + pro[count].Xgo;
pro[count].Yloc = pro[count].Yloc + pro[count].Ygo;
if (pro[count].grav != "NO") {
pro[count].Ygo = pro[count].Ygo + 1;
}
if (damage[count] == 80) {
pro[count].Ygo = pro[count].Ygo + 0.5;
}
pro[count].name._x = (pro[count].Xloc - Xloc) + 278;
pro[count].name._y = (pro[count].Yloc - Yloc) + 185;
if ((wep[pro[count].style].orient == "YES") and (pro[count].ko == 0)) {
bangle = Math.atan(pro[count].Ygo / pro[count].Xgo) + 1.57;
if (pro[count].Xgo < 0) {
bangle = bangle + 3.14;
}
pro[count].name._rotation = bangle * 57.3;
}
if (pro[count].Xloc > Xter[pro[count].overcount + 1]) {
pro[count].overcount = pro[count].overcount + 1;
} else if (pro[count].Xloc < Xter[pro[count].overcount]) {
pro[count].overcount = pro[count].overcount - 1;
}
if (wep[pro[count].style].explodes == "YES") {
if (pro[count].Yloc > Math.min(Yter[pro[count].overcount], Yter[pro[count].overcount + 1])) {
if (Yter[pro[count].overcount] > Yter[pro[count].overcount + 1]) {
terslope = -1;
} else {
terslope = 1;
}
if ((Yter[pro[count].overcount] == Yter[pro[count].overcount + 1]) or (((pro[count].Yloc - Yter[pro[count].overcount]) / (pro[count].Xloc - Xter[pro[count].overcount])) > terslope)) {
pro[count].name.gotoAndPlay(wep[pro[count].style].explosion[1 + random(wep[pro[count].style].explosion.length - 1)]);
if (random(2) == 1) {
groundE1.start();
} else {
groundE2.start();
}
pro[count].ko = 1;
pro[count].name._rotation = 0;
if (Yter[pro[count].overcount] == Yter[pro[count].overcount + 1]) {
pro[count].Yloc = Yter[pro[count].overcount];
} else {
pro[count].Yloc = Yter[pro[count].overcount] + ((pro[count].Xloc - Xter[pro[count].overcount]) * terslope);
}
}
}
} else if (pro[count].Yloc > Math.max(Yter[pro[count].overcount], Yter[pro[count].overcount + 1])) {
pro[count].act = 0;
pro[count].name._visible = false;
pro[count].ko = 0;
pro[count].grav = "YES";
}
} else if (wep[pro[count].style].explodes == "YES") {
pro[count].name._x = (pro[count].Xloc - Xloc) + 278;
pro[count].name._y = (pro[count].Yloc - Yloc) + 185;
pro[count].ko = pro[count].ko + 1;
if ((pro[count].ko > wep[pro[count].style].explosionlength) and (pro[count].grav != "SPECIAL")) {
pro[count].act = 0;
pro[count].name._visible = false;
pro[count].ko = 0;
pro[count].grav = "YES";
}
}
} else if (wep[pro[count].style].beam == "YES") {
if (pro[count].ko < 11) {
pro[count].ko = pro[count].ko + 1;
pro[count].name._x = 278 + (Math.cos(angle - 1.57) * 20);
pro[count].name._y = (185 + (Math.sin(angle - 1.57) * 20)) - verto;
pro[count].name._visible = true;
if (pro[count].ko == wep[pro[count].style].explosionlength) {
pro[count].name._rotation = angle * 57.3;
J = 0;
while (J < 11) {
J = J + 1;
if ((Math.abs(en[j].X - Xloc) < 260) and (Math.abs(en[j].Y + Yloc) > -200)) {
enangle = Math.atan((185 - en[j].name._y) / (278 - en[j].name._x));
if (en[j].name._x >= 278) {
enangle = enangle + 1.57;
}
if (en[j].name._x < 278) {
enangle = enangle + 3.14;
}
while ((enangle > 6.28) or (enangle < 0)) {
if (enangle > 6.28) {
enangle = enangle - 6.28;
}
if (enangle < 0) {
enangle = enangle + 6.28;
}
}
if (en[j].name._x <= 278) {
enangle = enangle + 1.57;
}
if (Math.abs(angle - enangle) < 0.25) {
en[J].HP = en[J].hp - dammage[count];
if (en[J].HP < 0) {
en[J].HP = 0;
}
if (en[J].HP < 1) {
en[J].killedbycrash = 0;
} else if (en[J].kind != 6) {
en[J].Xgo = en[J].Xgo + (Math.cos(enangle + 1.57) * 5);
en[J].Ygo = en[J].Ygo - (Math.sin(enangle + 1.57) * 5);
} else {
en[J].Xgo = en[J].Xgo - (Math.cos(enangle + 1.57) * 5);
en[J].Ygo = en[J].Ygo + (Math.sin(enangle + 1.57) * 5);
}
enangle = Math.atan((185 - en[j].name._y) / (278 - en[j].name._x));
shieldsound.start();
if (en[j].name._x < 278) {
enangle = enangle + 3.14;
}
pro[count].name._rotation = (enangle + 1.57) * 57.3;
if (pro[count].kind == 5) {
weaklasersound.start();
}
}
}
}
}
} else if (pro[count].ko > 9) {
pro[count].name._rotation = 0;
pro[count].name._visible = false;
pro[count].act = 0;
pro[count].name.stop();
}
}
}
}
}
function groundpop() {
with (_root.foreground) {
pop._x = (Xloc + 278) / 20;
pop._y = ((Yloc + 185) + 18) / 20;
pop.gotoAndPlay(1);
}
}
if (covertimer > 0) {
covertimer = covertimer + 1;
pro[coverobject].name._rotation = (pro[count].name._rotation = angle * 57.3);
if (covertimer == 30) {
Xgo = Math.cos(angle - 1.57) * 20;
Ygo = Math.sin(angle - 1.57) * 20;
hyperspeed.start();
}
if ((covertimer > 60) and (covertimer < 80)) {
Xgo = Xgo * 0.91;
Ygo = Ygo * 0.91;
}
if (covertimer == 98) {
covertimer = -10;
pro[coverobject].name._rotation = 0;
pro[coverobject].name._visible = 0;
pro[coverobject].act = 0;
plusangle = Math.random(0.05) - Math.random(0.05);
}
}
if ((Key.isDown(39) and (covertimer < 12)) and (_global.hul > 0)) {
angle = angle + 0.25;
}
if ((Key.isDown(37) and (covertimer < 12)) and (_global.hul > 0)) {
angle = angle - 0.25;
}
bulletstuff();
weapontimer = weapontimer - 1;
if (key.isDown(32) and (weapontimer < 0)) {
if (energy >= wep[_global.selected].cost) {
if (_global.selected == 2) {
wep2sound.start();
} else if (_global.selected == 3) {
bigbombdrop.start();
} else if (_global.selected == 4) {
smallbombdrop.start();
} else if (_global.selected == 8) {
wepsound8.start();
} else if (_global.selected == 6) {
wepsound6.start();
} else if (_global.selected == 1) {
wepsound1.start();
} else if (_global.selected == 7) {
miasmasound.start();
}
weapontimer = wep[_global.selected].intermission;
energy = energy - wep[_global.selected].cost;
count = 0;
while (count < 11) {
count = count + 1;
if (pro[count].act < 1) {
pro[count].style = _global.selected;
if (_global.hul > 0) {
sor[count] = 1;
} else {
sor[count] = 2;
}
dammage[count] = wep[_global.selected].force * _global.WEAPONSTRENGTH;
energy = energy - wep[_global.selected].cost;
if (wep[_global.selected].beam == "SEMI") {
pro[count].Ygo = (Math.sin(angle - 1.57) * 10) + Ygo;
pro[count].Xgo = (Math.cos(angle - 1.57) * 10) + Xgo;
offX = 278 + (Math.cos(angle - 1.57) * 20);
offY = 185 + (Math.sin(angle - 1.57) * 20);
pro[count].name._x = offX;
pro[count].name._y = offY;
pro[count].Xloc = Xloc + offX;
pro[count].Yloc = (Yloc + offY) - verto;
pro[count].name._visible = true;
pro[count].name._rotation = 0;
R = random(2) + 1;
if (R == 1) {
pro[count].name.gotoAndPlay(134);
} else if (R == 2) {
pro[count].name.gotoAndPlay(154);
} else if (R == 3) {
pro[count].name.gotoAndPlay(174);
}
pro[count].act = 1;
pro[count].ko = 0;
} else if (wep[_global.selected].beam == "COVER") {
pro[count].name._x = 278;
pro[count].name._y = 185 - verto;
pro[count].name._rotation = angle * 57.3;
pro[count].name.gotoAndPlay(225);
pro[count].name._visible = true;
pro[count].act = 1;
energy = 0;
coverobject = count;
covertimer = 1;
} else if (wep[_global.selected].BEAM == "NO") {
pro[count].Xloc = Xloc;
pro[count].Yloc = Yloc - verto;
pro[count].Ygo = (Math.sin(angle - 1.57) * wep[_global.selected].velocity) + Ygo;
pro[count].Xgo = (Math.cos(angle - 1.57) * wep[_global.selected].velocity) + Xgo;
pro[count].overcount = overcount;
pro[count].act = 1;
pro[count].ko = 0;
pro[count].name._visible = true;
pro[count].name.gotoAndStop(wep[_global.selected].initframe);
pro[count].name._x = -20;
pro[count].name._y = -20 - verto;
pro[count].grav = "YES";
} else if (wep[_global.selected].BEAM == "YES") {
pro[count].name._x = 278 + (Math.cos(angle - 1.57) * 20);
pro[count].name._y = (185 + (Math.sin(angle - 1.57) * 20)) - verto;
pro[count].ko = 1;
pro[count].act = 1;
pro[count].name._visible = true;
if (_global.selected == 5) {
pro[count].name.gotoAndPlay(41);
} else {
RN = random(3);
if (RN == 1) {
pro[count].name.gotoAndPlay(54);
} else if (RN == 2) {
pro[count].name.gotoAndPlay(98);
} else if (RN == 3) {
pro[count].name.gotoAndPlay(112);
} else {
pro[count].name.gotoAndPlay(125);
}
}
}
pro[count].name._rotation = 0;
count = 12;
}
}
} else {
noammosound.start;
}
}
if (XRNL == 0) {
if ((Math.abs(plusangle) > 0.05) and (covertimer < 5)) {
plusangle = plusangle * 0.95;
angle = angle + plusangle;
}
speed = Math.sqrt((Xgo * Xgo) + (Ygo * Ygo)) / 8;
if (covertimer < 10) {
Ygo = Ygo + (Rgrav * 0.9);
}
if (Xgo > 15) {
Xgo = Xgo - 0.1;
}
if (Xgo < -15) {
Xgo = Xgo + 0.1;
}
if (Xgo > 0) {
Xgo = Xgo - 0.05;
}
if (Xgo < 0) {
Xgo = Xgo + 0.05;
}
if (angle > 6.2831) {
angle = angle - 6.2831;
}
if (angle < 0) {
angle = angle + 6.2831;
}
roll = roll + speed;
if (roll > 9) {
roll = 0;
}
ship.gotoAndStop(Math.round(angle * 4.77) + (Math.round(roll) * 30));
while ((Xloc > Xter[overcount + 1]) or (Xloc < Xter[overcount])) {
if (Xloc > Xter[overcount + 1]) {
overcount = overcount + 1;
}
if (Xloc < Xter[overcount]) {
overcount = overcount - 1;
}
}
if (min(Yter[overcount + 1], Yter[overcount]) < (Math.abs(Yloc) + 18)) {
if ((Yter[overcount] == Yter[overcount + 1]) and ((Yloc + 18) > Yter[overcount])) {
if (covertimer > 0) {
covertimer = 96;
}
if (Ygo > 0) {
if (((Ygo > 3) or (Math.abs(Xgo) > 0.5)) or ((angle > 0.2) and (angle < 6.08))) {
Yloc = Yloc - 3;
Ygo = (-Ygo) * 0.5;
losehp(speed * 20);
groundE1.start();
} else {
XRNL = 1;
setdownsound.start();
enginejammer = 10;
flames._visible = false;
flames.stop();
Xgo = 0;
Ygo = 0;
landingprogress = 320;
}
}
} else {
if (Yter[overcount] > Yter[overcount + 1]) {
terslope = -1;
} else {
terslope = 1;
}
if ((((Yloc + 18) - Yter[overcount]) / (Xloc - Xter[overcount])) > terSlope) {
groundangle = Math.atan((Yter[overcount] - Yter[overcount + 1]) / (Xter[overcount] - Xter[overcount + 1])) + 1.57;
if (((Yter[overcount] < Yter[overcount + 1]) and (Xgo > 0)) or ((Yter[overcount] > Yter[overcount + 1]) and (Xgo < 0))) {
groundangle = groundangle + 1.57;
}
shipangle = Math.atan(Ygo / Xgo);
outangle = groundangle - (Shipangle - Groundangle);
if (covertimer > 0) {
covertimer = 96;
}
if (Yter[overcount] > Yter[overcount + 1]) {
outangle = outangle + 3.14;
}
if (random(2) == 1) {
plusangle = plusangle + ((0.4 * speed) / 2);
} else {
plusangle = plusangle - ((0.4 * speed) / 2);
}
groundE1.start();
Xloc = Xloc - Xgo;
Yloc = Yloc - Ygo;
losehp(speed * 10);
Ygo = (Math.sin(outangle) * speed) * 7;
Xgo = (Math.cos(outangle) * speed) * 7;
}
}
}
if (((Key.isDown(38) and (_global.hul > 0)) and (enginejammer < 1)) and (fuel > 0)) {
Ygo = Ygo + ((Math.sin(angle - 1.57) * ENGINESTRENGTH) * 0.8);
Xgo = Xgo + ((Math.cos(angle - 1.57) * ENGINESTRENGTH) * 0.8);
if (engineson == 0) {
flames._visible = true;
engineson = 1;
if (hurtme != 2) {
hurtme = 1;
}
if (_global.mus == false) {
engineenter.start();
}
}
fuel = fuel - (GASTANK * 0.8);
if (Math.round(fuel) == 30) {
warningbeep.start();
}
flames.gotoAndStop(Math.round(angle * 4.77) + (Math.round(roll) * 30));
if ((engineenter.duration <= engineenter.position) and (hurtme == 1)) {
engineenter.stop();
enginecontinue.start(0, 99);
hurtme = 2;
}
} else if (engineson > 0) {
flames._visible = false;
engineson = 0;
if (_global.mus == false) {
enginecontinue.stop();
engineexit.start();
hurtme = 0;
}
engineson = 0;
}
Xloc = Xloc + Xgo;
Yloc = Yloc + Ygo;
foreground._y = -Yloc;
foreground._x = -Xloc;
groundnum = groundnum + (Xgo / 10);
mountainnum = mountainnum + (Xgo / 10);
if (groundnum < 0) {
groundnum = groundnum + 15;
}
if (groundnum > 14) {
groundnum = groundnum - 15;
}
if (mountainnum < 0) {
mountainnum = mountainnum + 838;
}
if (mountainnum > 838) {
mountainnum = mountainnum - 839;
}
ground.gotoAndStop(Math.round(groundnum));
ground._y = 450 - (Yloc / 10);
mountain.gotoAndStop(Math.round(mountainnum));
mountain._y = 200 - (Yloc / 13);
} else if (landingprogress < 337) {
ship.gotoAndStop(landingprogress);
landingprogress = landingprogress + 1;
angle = 0;
verto = 14;
} else {
if (fuel < 155) {
fuel = fuel + 1;
}
if (Key.isDown(39)) {
angle = angle + 0.03;
} else if (Key.isDown(37)) {
angle = angle - 0.03;
}
if (angle > 1.57) {
angle = 1.57;
} else if (angle < -1.57) {
angle = -1.57;
}
ship.gun._rotation = 57.3 * angle;
if (hp < 155) {
hp = hp + 0.4;
} else if (hp > 155) {
hp = 155;
}
if (energy < 155) {
energy = energy + 1;
}
if (Key.isDown(38) or (_global.hul <= 0)) {
Ygo = -7;
Xgo = 0;
XRNL = 0;
angle = 0;
enginejammer = 0;
verto = 0;
liftoffsound.start();
if (Key.isDown(39)) {
Xgo = 7;
} else if (Key.isDown(37)) {
Xgo = -7;
}
}
}
count = 0;
while (count < 11) {
count = count + 1;
if (en[count].act == 1) {
if (en[count].inrange == 2) {
if ((((-Xloc) + en[count].X) > (enrect[en[count].kind].left - 20)) and (((-Xloc) + en[count].X) < (enrect[en[count].kind].right + 20))) {
if (((Yloc + en[count].Y) > (enrect[en[count].kind].top - 20)) and ((Yloc + en[count].Y) < (enrect[en[count].kind].bottom + 20))) {
if (en[count].kind == 9) {
losehp(3);
}
if (en[count].kind == 6) {
losehp(1);
} else {
losehp(en[count].hp);
en[count].hp = 0;
}
if (en[count].killedbycrash > 0) {
S = 0;
while (S < 11) {
S = S + 1;
if (pro[S].act < 1) {
sor[S] = 2;
dammage[S] = 10;
pro[S].Xloc = Xloc;
pro[S].Yloc = Yloc;
pro[S].Xgo = 1;
pro[S].Ygo = 1;
pro[S].overcount = overcount;
pro[S].act = 1;
pro[S].ko = 0;
pro[S].name._visible = true;
pro[S].name.gotoAndStop(550);
pro[S].style = 3;
S = 30;
}
}
}
}
}
}
if (en[count].kind == 1) {
cannon2(count);
} else if (en[count].kind == 2) {
cannon1(count);
} else if (en[count].kind == 3) {
cannon3(count);
} else if (en[count].kind == 4) {
cannon4(count);
} else if (en[count].kind == 5) {
cannon5(count);
} else if (en[count].kind == 6) {
bomber(count);
} else if (en[count].kind == 7) {
flyer1(count);
} else if (en[count].kind == 8) {
homer(count);
} else if (en[count].kind == 9) {
dumbhomer(count);
} else if (en[count].kind == 10) {
gravityball(count);
} else if (en[count].kind == 11) {
zapper(count);
} else if (en[count].kind == 12) {
walker(count);
} else if (en[count].kind == 13) {
jumper(count);
}
}
}
if (_global.hul < 1) {
hulldisplay._width = 0;
deathcount = (deathcount + 1) + random(2);
angle = angle + 0.3;
R = random(36);
if (deathcount == 6) {
yel1.start();
} else if (deathcount == 35) {
yel2.start();
} else if (deathcount == 70) {
yel3.start();
}
} else {
deathcount = 0;
}
if (shieldcount > 0) {
shieldcounter = shieldcounter + 1;
if (shieldcounter > 9) {
shield._visible = false;
}
}
if (((Yloc < maxheight) or (Xloc < Xter[3])) or (Xloc > Xter[maxter - 2])) {
if (toohigh < 1) {
crosshair._visible = true;
if (Yloc < maxheight) {
crosshair.gotoAndPlay(1);
} else if (Xloc > Xter[maxter - 2]) {
crosshair.gotoAndPlay(210);
} else {
crosshair.gotoAndPlay(420);
}
}
toohigh = toohigh + 1;
if (toohigh > 120) {
farrange = 1;
deathcount = 200;
}
} else if (toohigh > 0) {
crosshair._visible = false;
toohigh = 0;
crosshair.stop();
}
if (enginejammer > 0) {
enginejammer = enginejammer - 2;
}
if (hp < 155) {
hp = hp + SHIELDREGEN;
}
shielddisplay._width = hp;
if (fuel < 155) {
fuel = fuel + FUELREGEN;
fueldisplay._width = fuel;
}
if (energy < 155) {
energy = energy + (WEAPONREGEN * 2);
}
weapondisplay._width = energy;
if ((((((((((((en[1].kind <= 5) and (en[1].act == 1)) or ((en[2].kind <= 5) and (en[2].act == 1))) or ((en[3].kind <= 5) and (en[3].act == 1))) or ((en[4].kind <= 5) and (en[4].act == 1))) or ((en[5].kind <= 5) and (en[5].act == 1))) or ((en[6].kind <= 5) and (en[6].act == 1))) or ((en[7].kind <= 5) and (en[7].act == 1))) or ((en[8].kind <= 5) and (en[8].act == 1))) or ((en[9].kind <= 5) and (en[9].act == 1))) or ((en[10].kind <= 5) and (en[10].act == 1))) or ((en[11].kind <= 5) and (en[11].act == 1))) {
} else {
deathcount = 100;
}
if ((Key.isDown(49) and (_global.wepo[1] > 0)) and (_global.selected != _global.wepo[1])) {
_global.selected = _global.wepo[1];
weapontimer = 0;
wepchangesound.start();
wepict.gotoAndStop(_global.selected);
} else if ((Key.isDown(50) and (_global.wepo[2] > 0)) and (_global.selected != _global.wepo[2])) {
_global.selected = _global.wepo[2];
wepchangesound.start();
weapontimer = 0;
wepict.gotoAndStop(_global.selected);
} else if ((Key.isDown(51) and (_global.wepo[3] > 0)) and (_global.selected != _global.wepo[3])) {
_global.selected = _global.wepo[3];
wepchangesound.start();
weapontimer = 0;
wepict.gotoAndStop(_global.selected);
}
if (oncepressed and (Key.isDown(16) == false)) {
oncepressed = false;
}
if (Key.isDown(16) and (oncepressed == false)) {
oncepressed = true;
oldtimer = _global.selected;
_global.selected = _global.selected + 1;
while (((_global.selected != wepo[1]) and (_global.selected != wepo[2])) and (_global.selected != wepo[3])) {
_global.selected = _global.selected + 1;
if (_global.selected > 9) {
_global.selected = 1;
}
}
if (oldtimer != _global.selected) {
wepchangesound.start();
weapontimer = 0;
wepict.gotoAndStop(_global.selected);
}
}
if ((_global.mus == true) and (firstrun == true)) {
firstrun = false;
if ((((((((_global.levelselect == 1) or (_global.levelselect == 3)) or (_global.levelselect == 5)) or (_global.levelselect == 7)) or (_global.levelselect == 9)) or (_global.levelselect == 11)) or (_global.levelselect == 13)) or (_global.levelselect == 15)) {
_global.contra1.start(0, 99);
} else {
_global.contra3.start(0, 99);
}
}
if ((((Xloc + Xgo) > Xter[maxter]) and (Xgo > 0)) or (((Xloc + Xgo) < Xter[1]) and (Xgo < 0))) {
Xgo = -Xgo;
}
Frame 380
if (deathcount < 100) {
gotoAndPlay (379);
}
Frame 381
if ((_global.hul > 1) and (farrange != 1)) {
_global.goodping.start();
}
Frame 392
if (farrange > 0) {
_global.hul = 155;
farrange = 0;
_global.lives = _global.lives - 1;
if (_global.lives == 0) {
gotoAndStop (7);
} else {
gotoAndPlay (8);
}
} else if (_global.hul < 1) {
_global.hul = 155;
farrange = 0;
_global.lives = _global.lives - 1;
if (_global.lives == 0) {
gotoAndStop (7);
} else {
gotoAndPlay (148);
}
} else {
farrange = 0;
if (_global.levelselect == _global.available) {
_global.available = _global.available + 1;
}
gotoAndPlay (3);
}
Symbol 75 MovieClip [dif] Frame 17
stop();
Symbol 91 MovieClip [exo] Frame 17
stop();
Symbol 102 MovieClip [swirl1] Frame 11
stop();
Symbol 113 MovieClip [swirl2] Frame 11
stop();
Symbol 124 MovieClip [swirl3] Frame 11
stop();
stop();
Symbol 129 Button
on (release) {
Stage.showMenu = false;
gotoAndStop (3);
}
Symbol 163 MovieClip Frame 7
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
stop();
Symbol 170 Button
on (release) {
gotoAndStop (6);
}
Symbol 186 MovieClip Frame 15
stop();
Symbol 187 MovieClip Frame 15
stop();
Symbol 192 Button
on (rollOver) {
_global.phoner.start();
}
on (release) {
gotoAndStop (316);
}
Symbol 195 MovieClip Frame 25
gotoAndPlay (16);
Symbol 199 Button
on (rollOver) {
_global.phoner.start();
}
on (release) {
gotoAndStop (5);
}
Symbol 209 Button
on (rollOver) {
_global.phoner.start();
}
on (release) {
gotoAndStop (4);
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 60
gotoAndStop (1);
Symbol 255 Button
on (press) {
_global.invX[1] = getProperty(_root.A1, _x);
_global.invX[2] = getProperty(_root.A2, _x);
_global.invX[3] = getProperty(_root.A3, _x);
_global.invX[4] = getProperty(_root.A4, _x);
_global.invX[5] = getProperty(_root.A5, _x);
_global.invX[6] = getProperty(_root.A6, _x);
_global.invX[7] = getProperty(_root.A7, _x);
_global.invX[8] = getProperty(_root.A8, _x);
_global.invX[9] = getProperty(_root.A9, _x);
_global.invX[10] = getProperty(_root.A10, _x);
_global.invX[11] = getProperty(_root.A11, _x);
_global.invX[12] = getProperty(_root.A12, _x);
_global.invX[13] = getProperty(_root.A13, _x);
_global.invX[14] = getProperty(_root.A14, _x);
_global.invX[15] = getProperty(_root.A15, _x);
_global.invX[16] = getProperty(_root.A16, _x);
_global.invX[17] = getProperty(_root.A17, _x);
_global.invX[18] = getProperty(_root.A18, _x);
_global.invY[1] = getProperty(_root.A1, _y);
_global.invY[2] = getProperty(_root.A2, _y);
_global.invY[3] = getProperty(_root.A3, _y);
_global.invY[4] = getProperty(_root.A4, _y);
_global.invY[5] = getProperty(_root.A5, _y);
_global.invY[6] = getProperty(_root.A6, _y);
_global.invY[7] = getProperty(_root.A7, _y);
_global.invY[8] = getProperty(_root.A8, _y);
_global.invY[9] = getProperty(_root.A9, _y);
_global.invY[10] = getProperty(_root.A10, _y);
_global.invY[11] = getProperty(_root.A11, _y);
_global.invY[12] = getProperty(_root.A12, _y);
_global.invY[13] = getProperty(_root.A13, _y);
_global.invY[14] = getProperty(_root.A14, _y);
_global.invY[15] = getProperty(_root.A15, _y);
_global.invY[16] = getProperty(_root.A16, _y);
_global.invY[17] = getProperty(_root.A17, _y);
_global.invY[18] = getProperty(_root.A18, _y);
if (((_global.wepo[1] > 0) or (_global.wepo[2] > 0)) or (_global.wepo[3] > 0)) {
gotoAndStop (3);
} else {
_root.error.play();
}
}
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 15
gotoAndStop (1);
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 17
gotoAndStop (1);
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 10
stop();
Symbol 322 MovieClip Frame 15
gotoAndStop (1);
Symbol 328 Button
on (release) {
gotoAndStop (3);
}
Symbol 338 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 16) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 363;
_root[_global.ptkn]._y = 353.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 16) {
_global.levelselect = 16;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 342 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 15) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 295;
_root[_global.ptkn]._y = 353.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 15) {
_global.levelselect = 15;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 346 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 14) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 228.6;
_root[_global.ptkn]._y = 354.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 14) {
_global.levelselect = 14;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 350 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 13) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 162;
_root[_global.ptkn]._y = 354.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 13) {
_global.levelselect = 13;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 354 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 12) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 361;
_root[_global.ptkn]._y = 301.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 12) {
_global.levelselect = 12;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 356 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 11) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 295;
_root[_global.ptkn]._y = 300.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 11) {
_global.levelselect = 11;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 360 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 10) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 230;
_root[_global.ptkn]._y = 301.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 10) {
_global.levelselect = 10;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 364 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 9) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 166;
_root[_global.ptkn]._y = 302.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 9) {
_global.levelselect = 9;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 368 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 8) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 362;
_root[_global.ptkn]._y = 253.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 8) {
_global.levelselect = 8;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 372 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 7) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 295;
_root[_global.ptkn]._y = 253.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 7) {
_global.levelselect = 7;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 374 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 6) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 231;
_root[_global.ptkn]._y = 253.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 6) {
_global.levelselect = 6;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 376 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 5) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 165;
_root[_global.ptkn]._y = 253.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 5) {
_global.levelselect = 5;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 378 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 4) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 361;
_root[_global.ptkn]._y = 203.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 4) {
_global.levelselect = 4;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 380 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 3) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 296;
_root[_global.ptkn]._y = 204.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 3) {
_global.levelselect = 3;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 382 Button
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 2) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 230;
_root[_global.ptkn]._y = 203.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
on (release) {
if (_global.available >= 2) {
_global.levelselect = 2;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
Symbol 384 Button
on (release) {
if (_global.available >= 1) {
_global.levelselect = 1;
_global.IlikeBoobs = _global.hul;
count = 0;
while (count < 11) {
count = count + 1;
_root[count].removeMovieClip();
}
gotoAndPlay (352);
} else {
warn.gotoAndPlay(2);
}
}
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
if (_global.available >= 1) {
_root.attachMovie("dif", _global.ptkn, _global.ptkn);
_global.gl.start();
} else {
_root.attachMovie("exo", _global.ptkn, _global.ptkn);
_global.phoner.start();
}
_root[_global.ptkn]._x = 160;
_root[_global.ptkn]._y = 203.5;
_root[_global.ptkn]._width = 5 + random(20);
_root[_global.ptkn]._height = 5 + random(10);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
Symbol 386 Button
on (release) {
gotoAndStop (316);
}
Symbol 387 Button
on (release) {
gotoAndStop (5);
}
Symbol 388 Button
on (release) {
gotoAndStop (4);
}
Symbol 396 Button
on (release) {
getURL ("https://www.paypal.com/row/prq/id=ELTk-5rstfC5pwyXQRfH7HHkh-t2z11cRJl1Fg", "_blank");
gotoAndStop (3);
}
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
_root.attachMovie("swirl1", _global.ptkn, _global.ptkn);
_root[_global.ptkn]._x = 403;
_root[_global.ptkn]._y = 210;
_root[_global.ptkn]._width = 20 + random(40);
_root[_global.ptkn]._height = 20 + random(40);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
Symbol 399 Button
on (release) {
getURL ("https://www.paypal.com/row/prq/id=COlx3GBu8TVknyBwctLHsSBoWaw5Z22iHQ2DZQ", "_blank");
gotoAndStop (3);
}
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
_root.attachMovie("swirl1", _global.ptkn, _global.ptkn);
_root[_global.ptkn]._x = 268;
_root[_global.ptkn]._y = 210;
_root[_global.ptkn]._width = 20 + random(40);
_root[_global.ptkn]._height = 20 + random(40);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
Symbol 402 Button
on (release) {
getURL ("https://www.paypal.com/row/prq/id=41BvOeP536TX8D2nA.gGHkmdICd2LMubhp1ZWQ", "_blank");
gotoAndStop (3);
}
on (rollOver) {
orgy = this._y;
orgx = this._x;
i = 1;
_global.ptkn = _global.ptkn + 1;
if (_global.ptkn > 10) {
_global.ptkn = 1;
}
_root.attachMovie("swirl1", _global.ptkn, _global.ptkn);
_root[_global.ptkn]._x = 143;
_root[_global.ptkn]._y = 210;
_root[_global.ptkn]._width = 20 + random(40);
_root[_global.ptkn]._height = 20 + random(40);
_root[_global.ptkn]._rotation = random(360);
_root[_global.ptkn].gotoAndPlay(1);
}
Symbol 411 Button
on (release) {
gotoAndStop (1);
}
Symbol 418 MovieClip Frame 50
stop();
Symbol 438 MovieClip Frame 17
stop();
Symbol 449 Button
on (release) {
_global.skiptranny = true;
gotoAndStop (3);
}
Symbol 452 Button
on (release) {
play();
}
Symbol 468 MovieClip Frame 3
stop();
Symbol 468 MovieClip Frame 7
stop();
Symbol 468 MovieClip Frame 11
stop();
Symbol 468 MovieClip Frame 15
stop();
Symbol 468 MovieClip Frame 19
stop();
Symbol 468 MovieClip Frame 23
stop();
Symbol 468 MovieClip Frame 27
stop();
Symbol 500 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 8
stop();
Symbol 817 MovieClip Frame 1
stop();
Symbol 1228 MovieClip Frame 1
stop();
Symbol 1228 MovieClip Frame 250
gotoAndPlay (230);
Symbol 1228 MovieClip Frame 255
stop();
Symbol 1228 MovieClip Frame 325
stop();
Symbol 1228 MovieClip Frame 340
stop();
Symbol 1228 MovieClip Frame 354
stop();
Symbol 1228 MovieClip Frame 370
stop();
Symbol 1228 MovieClip Frame 385
stop();
Symbol 1228 MovieClip Frame 425
stop();
Symbol 1228 MovieClip Frame 442
stop();
Symbol 1228 MovieClip Frame 457
stop();
Symbol 1228 MovieClip Frame 472
stop();
Symbol 1228 MovieClip Frame 492
stop();
Symbol 1228 MovieClip Frame 507
stop();
Symbol 1228 MovieClip Frame 520
stop();
Symbol 1228 MovieClip Frame 550
stop();
Symbol 1588 MovieClip Frame 1
stop();
Symbol 1588 MovieClip Frame 14
stop();
Symbol 1588 MovieClip Frame 27
stop();
Symbol 1588 MovieClip Frame 40
stop();
Symbol 1588 MovieClip Frame 49
stop();
Symbol 1588 MovieClip Frame 62
stop();
Symbol 1588 MovieClip Frame 71
stop();
Symbol 1588 MovieClip Frame 78
stop();
Symbol 1588 MovieClip Frame 85
stop();
Symbol 1588 MovieClip Frame 94
stop();
Symbol 1588 MovieClip Frame 107
stop();
Symbol 1588 MovieClip Frame 120
stop();
Symbol 1588 MovieClip Frame 133
stop();
Symbol 1588 MovieClip Frame 213
stop();
Symbol 1588 MovieClip Frame 324
stop();
Symbol 1588 MovieClip Frame 350
stop();
Symbol 1588 MovieClip Frame 369
stop();
Symbol 1588 MovieClip Frame 380
stop();
Symbol 1588 MovieClip Frame 391
stop();
Symbol 1588 MovieClip Frame 404
stop();
Symbol 1588 MovieClip Frame 417
stop();
Symbol 1588 MovieClip Frame 430
stop();
Symbol 1592 MovieClip Frame 1
stop();
Symbol 1610 MovieClip Frame 1
stop();