Frame 1
fscommand ("allowscale", "false");
fscommand ("menu", "false");
fscommand ("showmenu", "false");
Instance of Symbol 17 MovieClip in Frame 7
onClipEvent (load) {
this.swapDepths(911);
}
onClipEvent (enterFrame) {
this._rotation = _root.groundSpeed * 9;
}
Frame 47
ifFrameLoaded (52) {
gotoAndPlay (49);
}
Frame 48
gotoAndPlay (46);
Frame 50
stop();
Frame 51
minX = 100;
minY = 0;
maxX = 450;
maxY = 330;
seagullspeed = 1;
groundSpeed = 2;
var lastGroundSpeed;
planeSpeed = 20;
windDirection = random(180) + 90;
windSpeed = random(2) + 2;
windX = 0;
windY = 0;
scoremulti = 2;
islandscore = 150;
boatscore = 1000;
life = 0;
shield = 0;
scoreX = -100;
scoreY = -100;
minor_score = 0;
power = 0;
bscore = 4000;
nextscore = 4000;
eng1 = 0;
eng2 = 0;
eng3 = 0;
eng4 = 0;
fuel = 0;
lasteng = 0;
t = 1;
crosshair.startDrag(true);
Mouse.hide();
numIslands = 3;
i = 1;
while (numIslands >= i) {
island.duplicateMovieClip("island" + i, i);
i++;
}
numClouds = 1;
j = 1;
while (numClouds >= j) {
cloud.duplicateMovieClip("cloud" + j, j + 400);
j++;
}
numseagulls = 2;
k = 1;
while (numseagulls >= k) {
seagull.duplicateMovieClip("seagull" + k, k + 600);
k++;
}
numSmall = 4;
l = 1;
while (numSmall >= l) {
small.duplicateMovieClip("small" + l, l + 20);
l++;
}
b17 = new Sound();
fall2 = new Sound();
squawk0 = new Sound();
squawk1 = new Sound();
shieldwa = new Sound();
splosh = new Sound();
rough = new Sound();
beep = new Sound();
b17.attachSound("diesel");
fall2.attachSound("fall2");
squawk0.attachSound("squawk0");
squawk1.attachSound("squawk1");
shieldwa.attachSound("shieldwa");
splosh.attachSound("splosh");
rough.attachSound("rough");
beep.attachSound("beep");
b17.setVolume(50);
b17.start(0, 999);
Instance of Symbol 154 MovieClip in Frame 51
onClipEvent (load) {
this.swapDepths(992);
}
Instance of Symbol 157 MovieClip "island" in Frame 51
onClipEvent (load) {
function islandreset() {
this.gotoAndStop(random(4) + 1);
this._y = random(_root.MaxY) * -1;
}
islandWidth = this._width;
this.gotoAndStop(random(4) + 1);
this._y = random(_root.MaxY) * 1;
if (this._name == "island1") {
this._x = 150;
}
if (this._name == "island2") {
this._x = 275;
}
if (this._name == "island3") {
this._x = 400;
}
islandSpeedY = _root.groundSpeed;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.groundSpeed;
if (((_root.maxY + 300) < this._y) and (_root.life < 8)) {
islandreset();
}
}
Instance of Symbol 158 MovieClip "small" in Frame 51
onClipEvent (load) {
function small_reset() {
this._y = random(_root.maxY) * -1;
}
this.gotoAndStop(random(3) + 1);
this._y = random(_root.maxY) * -1;
if (this._name == "small1") {
this._x = 50;
}
if (this._name == "small2") {
this._x = 212.5;
}
if (this._name == "small3") {
this._x = 337.5;
}
if (this._name == "small4") {
this._x = 500;
}
}
onClipEvent (enterFrame) {
this._y = this._y + _root.groundSpeed;
if ((_root.maxY + 50) < this._y) {
small_reset();
}
}
Instance of Symbol 159 MovieClip "cloud" in Frame 51
onClipEvent (load) {
function cloudreset() {
this._x = random(_root.maxX + 100);
this._y = random(_root.MaxY) * -1;
this._rotation = random(360);
cloudSpeedY = _root.groundSpeed * 2;
}
this._x = random(_root.maxX);
this._y = random(_root.MaxY) * -1;
this.swapDepths(400);
this._rotation = random(360);
cloudSpeedY = _root.groundSpeed * 1.6;
}
onClipEvent (enterFrame) {
this._y = this._y + (_root.groundSpeed * 1.6);
if ((_root.maxY + 100) < this._y) {
cloudreset();
}
}
Instance of Symbol 160 MovieClip "seagull" in Frame 51
onClipEvent (load) {
function seagullreset() {
this._y = random(_root.MaxY) * -1;
this._x = random(_root.maxX);
if (_root.life >= 8) {
this._x = -1000;
}
}
seagullWidth = this._width;
seagullHeight = this._height;
this._x = random(_root.maxX);
this._y = (random(_root.MaxY) + 400) * -1;
this.swapDepths(600);
seagullX = random(_root.seagullspeed) + 1;
seagullY = random(_root.seagullspeed) + _root.groundSpeed;
if (random(2) == 1) {
seagullX = seagullX * -1;
}
if (random(2) == 2) {
seagullY = seagullY * -1;
}
}
onClipEvent (enterFrame) {
if (random(40) == 1) {
seagullX = seagullX * -1;
}
_x = (_x + seagullX);
_y = (_y + _root.groundSpeed);
if ((_root.maxY + seagullHeight) < this._y) {
seagullreset();
}
if (((_root.maxX + seagullWidth) + 100) < this._x) {
seagullreset();
}
if (this._x < ((_root.minX - seagullWidth) - 100)) {
seagullreset();
}
if (this._x < ((_root.plane._x + ((seagullWidth / 4) + (_root.plane._width / 4))) - 18.6)) {
if (((_root.plane._x - ((seagullWidth / 4) + (_root.plane._width / 4))) - 18.6) < this._x) {
if (((_root.plane._y - ((seagullWidth / 4) + (_root.plane._width / 4))) - 3.95) < this._y) {
if (this._y < ((_root.plane._y + ((seagullWidth / 4) + (_root.plane._width / 4))) - 3.95)) {
if (_root.shield == 0) {
if (_root.eng1 == 0) {
_root.life = _root.life + 1;
sw = random(2);
if (sw == 0) {
_root.squawk0.start();
}
if (sw == 1) {
_root.squawk1.start();
}
seagullreset();
_root.eng1 = 1;
_root.lasteng = 1;
_root.rough.start();
_root.engLight1.gotoAndPlay(2);
}
}
}
}
}
}
if (this._x < ((_root.plane._x + ((seagullWidth / 4) + (_root.plane._width / 4))) - 9.65)) {
if (((_root.plane._x - ((seagullWidth / 4) + (_root.plane._width / 4))) - 9.65) < this._x) {
if (((_root.plane._y - ((seagullWidth / 4) + (_root.plane._width / 4))) - 5.6) < this._y) {
if (this._y < ((_root.plane._y + ((seagullWidth / 4) + (_root.plane._width / 4))) - 5.6)) {
if (_root.shield == 0) {
if (_root.eng2 == 0) {
_root.life = _root.life + 1;
sw = random(2);
if (sw == 0) {
_root.squawk0.start();
}
if (sw == 1) {
_root.squawk1.start();
}
seagullreset();
_root.eng2 = 1;
_root.lasteng = 2;
_root.rough.start();
_root.engLight2.gotoAndPlay(2);
}
}
}
}
}
}
if (this._x < ((_root.plane._x + ((seagullWidth / 4) + (_root.plane._width / 4))) + 9.55)) {
if (((_root.plane._x - ((seagullWidth / 4) + (_root.plane._width / 4))) + 9.55) < this._x) {
if (((_root.plane._y - ((seagullWidth / 4) + (_root.plane._width / 4))) - 5.4) < this._y) {
if (this._y < ((_root.plane._y + ((seagullWidth / 4) + (_root.plane._width / 4))) - 5.4)) {
if (_root.shield == 0) {
if (_root.eng3 == 0) {
_root.life = _root.life + 1;
sw = random(2);
if (sw == 0) {
_root.squawk0.start();
}
if (sw == 1) {
_root.squawk1.start();
}
seagullreset();
_root.eng3 = 1;
_root.lasteng = 3;
_root.rough.start();
_root.engLight3.gotoAndPlay(2);
}
}
}
}
}
}
if (this._x < ((_root.plane._x + ((seagullWidth / 4) + (_root.plane._width / 4))) + 18.6)) {
if (((_root.plane._x - ((seagullWidth / 4) + (_root.plane._width / 4))) + 18.6) < this._x) {
if (((_root.plane._y - ((seagullWidth / 4) + (_root.plane._width / 4))) - 3.7) < this._y) {
if (this._y < ((_root.plane._y + ((seagullWidth / 4) + (_root.plane._width / 4))) - 3.7)) {
if (_root.shield == 0) {
if (_root.eng4 == 0) {
_root.life = _root.life + 1;
sw = random(2);
if (sw == 0) {
_root.squawk0.start();
}
if (sw == 1) {
_root.squawk1.start();
}
seagullreset();
_root.eng4 = 1;
_root.lasteng = 4;
_root.rough.start();
_root.engLight4.gotoAndPlay(2);
}
}
}
}
}
}
}
Instance of Symbol 161 MovieClip "cockpit" in Frame 51
onClipEvent (load) {
this.swapDepths(910);
}
Instance of Symbol 162 MovieClip "crate" in Frame 51
onClipEvent (load) {
this._x = _root.plane._x;
this._y = _root.plane._y + 50;
}
Instance of Symbol 163 MovieClip "crosshair" in Frame 51
onClipEvent (load) {
this.swapDepths(999);
}
Instance of Symbol 164 MovieClip in Frame 51
onClipEvent (load) {
this.swapDepths(990);
}
onClipEvent (enterFrame) {
this._rotation = _root.windDirection;
}
Instance of Symbol 165 MovieClip in Frame 51
onClipEvent (load) {
this.swapDepths(991);
}
Instance of Symbol 17 MovieClip in Frame 51
onClipEvent (load) {
this.swapDepths(911);
}
onClipEvent (enterFrame) {
this._rotation = _root.groundSpeed * 9;
}
Instance of Symbol 166 MovieClip "fuelDial" in Frame 51
onClipEvent (load) {
this.swapDepths(912);
}
Instance of Symbol 168 MovieClip "bonusDial" in Frame 51
onClipEvent (load) {
this.swapDepths(917);
}
Instance of Symbol 169 MovieClip "plane" in Frame 51
onClipEvent (load) {
this.swapDepths(900);
}
Instance of Symbol 170 MovieClip "engLight4" in Frame 51
onClipEvent (load) {
this.swapDepths(916);
}
Instance of Symbol 171 MovieClip "engLight3" in Frame 51
onClipEvent (load) {
this.swapDepths(915);
}
Instance of Symbol 172 MovieClip "engLight2" in Frame 51
onClipEvent (load) {
this.swapDepths(914);
}
Instance of Symbol 173 MovieClip "engLight1" in Frame 51
onClipEvent (load) {
this.swapDepths(913);
}
Instance of Symbol 174 MovieClip in Frame 51
onClipEvent (load) {
this.swapDepths(970);
}
Instance of Symbol 175 MovieClip "min_score" in Frame 51
onClipEvent (load) {
this._x = _root.scoreX;
this._y = _root.scoreY;
this.swapDepths(1000);
}
Instance of Symbol 176 MovieClip "powerups" in Frame 51
onClipEvent (load) {
this.swapDepths(909);
}
Instance of Symbol 178 MovieClip "bonusLight" in Frame 51
onClipEvent (load) {
this.swapDepths(918);
}
Frame 64
if (_root.life == 8) {
gotoAndPlay (66);
}
if (30 < _root.fuel) {
gotoAndPlay (66);
}
if (_root.power >= _root.bscore) {
_root.powerups.gotoAndPlay(2);
_root.bscore = _root.bscore + nextscore;
}
if (_root.groundSpeed < 2) {
_root.groundSpeed = 2;
}
_root.groundSpeed = _root.groundSpeed + 0.005;
_root.fuel = _root.fuel + 0.005;
fDial = Math.round(_root.fuel / 0.333);
_root.fuelDial._rotation = -1 * fDial;
Frame 65
gotoAndPlay (64);
Frame 67
_root.plane.gotoAndPlay(3);
_root.b17.stop();
_root.rough.start();
Frame 81
_root.crosshair.stopDrag(true);
_root.crosshair.removeMovieClip();
_root.island1.removeMovieClip();
_root.island2.removeMovieClip();
_root.island3.removeMovieClip();
_root.small1.removeMovieClip();
_root.small2.removeMovieClip();
_root.small3.removeMovieClip();
_root.small4.removeMovieClip();
_root.cloud.removeMovieClip();
_root.cloud1.removeMovieClip();
_root.cloud2.removeMovieClip();
_root.cloud3.removeMovieClip();
_root.seagull.removeMovieClip();
_root.seagull1.removeMovieClip();
_root.seagull2.removeMovieClip();
Mouse.show();
Frame 125
stop();
Symbol 56 MovieClip Frame 3
gotoAndPlay (1);
Symbol 56 MovieClip Frame 31
gotoAndPlay (17);
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 3
stop();
Symbol 66 MovieClip Frame 4
stop();
Symbol 66 MovieClip Frame 5
stop();
Symbol 81 MovieClip Frame 9
Symbol 81 MovieClip Frame 15
_root.splosh.start();
Symbol 81 MovieClip Frame 24
stop();
Symbol 82 MovieClip Frame 1
loop = 0;
Symbol 82 MovieClip Frame 2
this._x = this._x + _root.windX;
this._y = this._y + ((_root.groundSpeed / 2) + 2);
this._xscale = 90;
this._yscale = 90;
Symbol 82 MovieClip Frame 3
this._x = this._x + _root.windX;
this._y = this._y + ((_root.groundSpeed / 2) + 2);
this._xscale = 10;
this._yscale = 10;
loop = loop + 1;
if (11 < loop) {
gotoAndPlay (4);
}
gotoAndPlay (2);
Symbol 82 MovieClip Frame 4
half_island1 = _root.island1._width / 2;
half_island2 = _root.island1._width / 2;
half_island3 = _root.island1._width / 2;
if (this._x < (_root.island1._x + half_island1)) {
if ((_root.island1._x - half_island1) < this._x) {
if ((_root.island1._y - half_island1) < this._y) {
if (this._y < (_root.island1._y + half_island1)) {
distX = _root.island1._x - this._x;
distY = _root.island1._y - this._y;
_root.minor_score = _root.scoremulti * Math.round(_root.islandscore - (2 * Math.sqrt((distX * distX) + (distY * distY))));
_root.scoreX = this._x;
_root.scoreY = this._y;
_root.min_score.duplicateMovieClip("min_score" + _root.t, _root.t + 1000);
_root.power = _root.power + _root.minor_score;
_root.t++;
_root.beep.start();
this.removeMovieClip();
}
}
}
}
if (this._x < (_root.island2._x + half_island2)) {
if ((_root.island2._x - half_island2) < this._x) {
if ((_root.island2._y - half_island2) < this._y) {
if (this._y < (_root.island2._y + half_island2)) {
distX = _root.island2._x - this._x;
distY = _root.island2._y - this._y;
_root.minor_score = _root.scoremulti * Math.round(_root.islandscore - (2 * Math.sqrt((distX * distX) + (distY * distY))));
_root.scoreX = this._x;
_root.scoreY = this._y;
_root.min_score.duplicateMovieClip("min_score" + _root.t, _root.t + 1000);
_root.power = _root.power + _root.minor_score;
_root.t++;
_root.beep.start();
this.removeMovieClip();
}
}
}
}
if (this._x < (_root.island3._x + half_island3)) {
if ((_root.island3._x - half_island3) < this._x) {
if ((_root.island3._y - half_island3) < this._y) {
if (this._y < (_root.island3._y + half_island3)) {
distX = _root.island3._x - this._x;
distY = _root.island3._y - this._y;
_root.minor_score = _root.scoremulti * Math.round(_root.islandscore - (2 * Math.sqrt((distX * distX) + (distY * distY))));
_root.scoreX = this._x;
_root.scoreY = this._y;
_root.min_score.duplicateMovieClip("min_score" + _root.t, _root.t + 1000);
_root.power = _root.power + _root.minor_score;
_root.t++;
_root.beep.start();
this.removeMovieClip();
}
}
}
}
_root.crate.cratemovie.gotoAndPlay(12);
stop();
Symbol 85 Button
on (press) {
gotoAndPlay (2);
}
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 2
cratenum = cratenum + 1;
if (8 < cratenum) {
cratenum = 0;
}
duplicateMovieClip ("_root.crate", "crate" + cratenum, 200 + cratenum);
_root.fall2.start();
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 15
stop();
Symbol 117 MovieClip Frame 1
numloops = 0;
Symbol 117 MovieClip Frame 2
this._y = this._y + -2;
Symbol 117 MovieClip Frame 3
if (8 >= numloops) {
gotoAndPlay (2);
numloops++;
}
Symbol 117 MovieClip Frame 4
if (this._name != "min_score") {
this.removeMovieClip();
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 7
gotoAndPlay (2);
Symbol 127 MovieClip Frame 1
crosshairX = _root.crosshair._x;
crosshairY = _root.crosshair._y;
planeX = _root.plane._x;
if (planeX < crosshairX) {
planeX = PlaneX + ((crosshairX - planeX) / _root.planeSpeed);
}
if (crosshairX < planeX) {
planeX = planeX - ((planeX - crosshairX) / _root.planeSpeed);
}
if (planeY < crosshairY) {
planeY = planeY + ((crosshairY - planeY) / _root.planeSpeed);
}
if (crosshairY < planeY) {
planeY = planeY - ((planeY - crosshairY) / _root.planeSpeed);
}
this._x = planeX;
this._y = planeY;
this._rotation = (crosshairX - planeX) / 30;
if (_root.maxX < this._x) {
this._x = _root.maxX;
}
if (this._x < _root.minX) {
this._x = _root.minX;
}
if ((_root.maxY - 30) < this._y) {
this._y = _root.maxY - 30;
}
if (this._y < _root.minY) {
this._y = _root.minY;
}
if (_root.eng1 == 1) {
tellTarget ("engine1") {
gotoAndPlay ("fire");
_root.life = _root.life + 1;
_root.eng1 = 2;
};
}
if (_root.eng2 == 1) {
tellTarget ("engine2") {
gotoAndPlay ("fire");
_root.life = _root.life + 1;
_root.eng2 = 2;
};
}
if (_root.eng3 == 1) {
tellTarget ("engine3") {
gotoAndPlay ("fire");
_root.life = _root.life + 1;
_root.eng3 = 2;
};
}
if (_root.eng4 == 1) {
tellTarget ("engine4") {
gotoAndPlay ("fire");
_root.life = _root.life + 1;
_root.eng4 = 2;
};
}
Symbol 127 MovieClip Frame 2
crosshairX = _root.crosshair._x;
crosshairY = _root.crosshair._y;
planeX = _root.plane._x;
if (planeX < crosshairX) {
planeX = PlaneX + ((crosshairX - planeX) / _root.planeSpeed);
}
if (crosshairX < planeX) {
planeX = planeX - ((planeX - crosshairX) / _root.planeSpeed);
}
if (planeY < crosshairY) {
planeY = planeY + ((crosshairY - planeY) / _root.planeSpeed);
}
if (crosshairY < planeY) {
planeY = planeY - ((planeY - crosshairY) / _root.planeSpeed);
}
this._x = planeX;
this._y = planeY;
this._rotation = (crosshairX - planeX) / 30;
gotoAndPlay (1);
Symbol 127 MovieClip Frame 20
_root.fall2.start();
Symbol 127 MovieClip Frame 35
_root.splosh.start();
Symbol 127 MovieClip Frame 38
_root.b17.stop();
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
this._y = -60;
this._x = random(_root.MaxX - 100) + 100;
Powerup = random(4);
_root.Powerups.bonus.gotoAndStop(Powerup + 1);
Symbol 128 MovieClip Frame 3
this._y = this._y + 8;
if ((_root.maxY + 70) < this._y) {
this._y = -60;
gotoAndStop (1);
}
powerupX = _x;
powerupY = _y;
planeX = _root.plane._x;
planeY = _root.plane._y;
if (powerupX < (planeX + 50)) {
if ((planeX - 50) < powerupX) {
if ((planeY - 20) < powerupY) {
if (powerupY < (planeY + 20)) {
this._y = 700;
_root.shieldwa.start(0, 4);
_root.bonusLight.gotoAndPlay(2);
gotoAndPlay (5);
}
}
}
}
Symbol 128 MovieClip Frame 4
gotoAndPlay (3);
Symbol 128 MovieClip Frame 5
if (powerup == 0) {
_root.shield = 1;
_root.plane.effects.gotoAndPlay(2);
_root.lastGroundSpeed = _root.groundSpeed;
}
if (powerup == 1) {
_root.planeSpeed = 5;
_root.plane.effects.gotoAndPlay(2);
_root.lastGroundSpeed = _root.groundSpeed;
}
if (powerup == 2) {
_root.lastGroundSpeed = _root.groundSpeed;
_root.groundSpeed = _root.groundSpeed / 2;
_root.plane.effects.gotoAndPlay(2);
}
if (powerup == 3) {
_root.scoremulti = 3;
_root.bscore = _root.bscore + 2000;
_root.plane.effects.gotoAndPlay(2);
_root.lastGroundSpeed = _root.groundSpeed;
}
Symbol 128 MovieClip Frame 10
_root.bonusDial._rotation = -6;
Symbol 128 MovieClip Frame 15
_root.bonusDial._rotation = -12;
Symbol 128 MovieClip Frame 20
_root.bonusDial._rotation = -18;
Symbol 128 MovieClip Frame 25
_root.bonusDial._rotation = -24;
Symbol 128 MovieClip Frame 30
_root.bonusDial._rotation = -30;
Symbol 128 MovieClip Frame 35
_root.bonusDial._rotation = -36;
Symbol 128 MovieClip Frame 40
_root.bonusDial._rotation = -42;
Symbol 128 MovieClip Frame 45
_root.bonusDial._rotation = -48;
Symbol 128 MovieClip Frame 50
_root.bonusDial._rotation = -54;
Symbol 128 MovieClip Frame 55
_root.bonusDial._rotation = -60;
Symbol 128 MovieClip Frame 60
_root.bonusDial._rotation = -66;
Symbol 128 MovieClip Frame 65
_root.bonusDial._rotation = -72;
Symbol 128 MovieClip Frame 70
_root.bonusDial._rotation = -78;
Symbol 128 MovieClip Frame 75
_root.bonusDial._rotation = -84;
Symbol 128 MovieClip Frame 80
_root.bonusDial._rotation = -90;
Symbol 128 MovieClip Frame 85
_root.bonusDial._rotation = -96;
Symbol 128 MovieClip Frame 90
_root.bonusDial._rotation = -102;
Symbol 128 MovieClip Frame 95
_root.bonusDial._rotation = -108;
Symbol 128 MovieClip Frame 100
_root.bonusDial._rotation = -114;
_root.shield = 0;
_root.planeSpeed = 20;
_root.groundSpeed = _root.lastGroundSpeed;
_root.scoremulti = 2;
_root.plane.effects.gotoAndStop(1);
Symbol 139 MovieClip Frame 13
stop();
Symbol 147 MovieClip Frame 1
if ((_root.windDirection >= 90) & (180 >= _root.windDirection)) {
_root.windX = _root.windSpeed * Math.sin((Math.PI/180) * (180 - _root.windDirection));
_root.windY = _root.windSpeed * Math.cos((Math.PI/180) * (180 - _root.windDirection));
}
if ((180 < _root.windDirection) & (270 >= _root.windDirection)) {
_root.windX = -1 * (_root.windSpeed * Math.sin((Math.PI/180) * (_root.windDirection - 180)));
_root.windY = 1 * (_root.windSpeed * Math.cos((Math.PI/180) * (_root.windDirection - 180)));
}
Symbol 147 MovieClip Frame 2
stop();
Symbol 153 Button
on (release) {
loadVariablesNum ("count.htm", 0);
gotoAndPlay (51);
}
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
stop();
Symbol 157 MovieClip Frame 3
stop();
Symbol 157 MovieClip Frame 4
stop();
Symbol 157 MovieClip Frame 5
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
stop();
Symbol 158 MovieClip Frame 3
stop();
Symbol 162 MovieClip Frame 1
loop = 0;
Symbol 162 MovieClip Frame 2
this._x = this._x + _root.windX;
this._y = this._y + ((_root.groundSpeed / 2) + 2);
this._xscale = 90;
this._yscale = 90;
Symbol 162 MovieClip Frame 3
this._x = this._x + _root.windX;
this._y = this._y + ((_root.groundSpeed / 2) + 2);
this._xscale = 10;
this._yscale = 10;
loop = loop + 1;
if (11 < loop) {
gotoAndPlay (4);
}
gotoAndPlay (2);
Symbol 162 MovieClip Frame 4
half_island1 = _root.island1._width / 2;
half_island2 = _root.island1._width / 2;
half_island3 = _root.island1._width / 2;
if (this._x < (_root.island1._x + half_island1)) {
if ((_root.island1._x - half_island1) < this._x) {
if ((_root.island1._y - half_island1) < this._y) {
if (this._y < (_root.island1._y + half_island1)) {
distX = _root.island1._x - this._x;
distY = _root.island1._y - this._y;
_root.minor_score = _root.scoremulti * Math.round(_root.islandscore - (2 * Math.sqrt((distX * distX) + (distY * distY))));
_root.scoreX = this._x;
_root.scoreY = this._y;
_root.min_score.duplicateMovieClip("min_score" + _root.t, _root.t + 1000);
_root.power = _root.power + _root.minor_score;
_root.t++;
_root.beep.start();
this.removeMovieClip();
}
}
}
}
if (this._x < (_root.island2._x + half_island2)) {
if ((_root.island2._x - half_island2) < this._x) {
if ((_root.island2._y - half_island2) < this._y) {
if (this._y < (_root.island2._y + half_island2)) {
distX = _root.island2._x - this._x;
distY = _root.island2._y - this._y;
_root.minor_score = _root.scoremulti * Math.round(_root.islandscore - (2 * Math.sqrt((distX * distX) + (distY * distY))));
_root.scoreX = this._x;
_root.scoreY = this._y;
_root.min_score.duplicateMovieClip("min_score" + _root.t, _root.t + 1000);
_root.power = _root.power + _root.minor_score;
_root.t++;
_root.beep.start();
this.removeMovieClip();
}
}
}
}
if (this._x < (_root.island3._x + half_island3)) {
if ((_root.island3._x - half_island3) < this._x) {
if ((_root.island3._y - half_island3) < this._y) {
if (this._y < (_root.island3._y + half_island3)) {
distX = _root.island3._x - this._x;
distY = _root.island3._y - this._y;
_root.minor_score = _root.scoremulti * Math.round(_root.islandscore - (2 * Math.sqrt((distX * distX) + (distY * distY))));
_root.scoreX = this._x;
_root.scoreY = this._y;
_root.min_score.duplicateMovieClip("min_score" + _root.t, _root.t + 1000);
_root.power = _root.power + _root.minor_score;
_root.t++;
_root.beep.start();
this.removeMovieClip();
}
}
}
}
_root.crate.cratemovie.gotoAndPlay(12);
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
cratenum = cratenum + 1;
if (8 < cratenum) {
cratenum = 0;
}
duplicateMovieClip ("_root.crate", "crate" + cratenum, 200 + cratenum);
_root.fall2.start();
Symbol 164 MovieClip Frame 1
if ((_root.windDirection >= 90) & (180 >= _root.windDirection)) {
_root.windX = _root.windSpeed * Math.sin((Math.PI/180) * (180 - _root.windDirection));
_root.windY = _root.windSpeed * Math.cos((Math.PI/180) * (180 - _root.windDirection));
}
if ((180 < _root.windDirection) & (270 >= _root.windDirection)) {
_root.windX = -1 * (_root.windSpeed * Math.sin((Math.PI/180) * (_root.windDirection - 180)));
_root.windY = 1 * (_root.windSpeed * Math.cos((Math.PI/180) * (_root.windDirection - 180)));
}
Symbol 164 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 1
crosshairX = _root.crosshair._x;
crosshairY = _root.crosshair._y;
planeX = _root.plane._x;
if (planeX < crosshairX) {
planeX = PlaneX + ((crosshairX - planeX) / _root.planeSpeed);
}
if (crosshairX < planeX) {
planeX = planeX - ((planeX - crosshairX) / _root.planeSpeed);
}
if (planeY < crosshairY) {
planeY = planeY + ((crosshairY - planeY) / _root.planeSpeed);
}
if (crosshairY < planeY) {
planeY = planeY - ((planeY - crosshairY) / _root.planeSpeed);
}
this._x = planeX;
this._y = planeY;
this._rotation = (crosshairX - planeX) / 30;
if (_root.maxX < this._x) {
this._x = _root.maxX;
}
if (this._x < _root.minX) {
this._x = _root.minX;
}
if ((_root.maxY - 30) < this._y) {
this._y = _root.maxY - 30;
}
if (this._y < _root.minY) {
this._y = _root.minY;
}
if (_root.eng1 == 1) {
tellTarget ("engine1") {
gotoAndPlay ("fire");
_root.life = _root.life + 1;
_root.eng1 = 2;
};
}
if (_root.eng2 == 1) {
tellTarget ("engine2") {
gotoAndPlay ("fire");
_root.life = _root.life + 1;
_root.eng2 = 2;
};
}
if (_root.eng3 == 1) {
tellTarget ("engine3") {
gotoAndPlay ("fire");
_root.life = _root.life + 1;
_root.eng3 = 2;
};
}
if (_root.eng4 == 1) {
tellTarget ("engine4") {
gotoAndPlay ("fire");
_root.life = _root.life + 1;
_root.eng4 = 2;
};
}
Symbol 169 MovieClip Frame 2
crosshairX = _root.crosshair._x;
crosshairY = _root.crosshair._y;
planeX = _root.plane._x;
if (planeX < crosshairX) {
planeX = PlaneX + ((crosshairX - planeX) / _root.planeSpeed);
}
if (crosshairX < planeX) {
planeX = planeX - ((planeX - crosshairX) / _root.planeSpeed);
}
if (planeY < crosshairY) {
planeY = planeY + ((crosshairY - planeY) / _root.planeSpeed);
}
if (crosshairY < planeY) {
planeY = planeY - ((planeY - crosshairY) / _root.planeSpeed);
}
this._x = planeX;
this._y = planeY;
this._rotation = (crosshairX - planeX) / 30;
gotoAndPlay (1);
Symbol 169 MovieClip Frame 20
_root.fall2.start();
Symbol 169 MovieClip Frame 35
_root.splosh.start();
Symbol 169 MovieClip Frame 38
_root.b17.stop();
stop();
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 15
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 15
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 15
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 15
stop();
Symbol 175 MovieClip Frame 1
numloops = 0;
Symbol 175 MovieClip Frame 2
this._y = this._y + -2;
Symbol 175 MovieClip Frame 3
if (8 >= numloops) {
gotoAndPlay (2);
numloops++;
}
Symbol 175 MovieClip Frame 4
if (this._name != "min_score") {
this.removeMovieClip();
}
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 2
this._y = -60;
this._x = random(_root.MaxX - 100) + 100;
Powerup = random(4);
_root.Powerups.bonus.gotoAndStop(Powerup + 1);
Symbol 176 MovieClip Frame 3
this._y = this._y + 8;
if ((_root.maxY + 70) < this._y) {
this._y = -60;
gotoAndStop (1);
}
powerupX = _x;
powerupY = _y;
planeX = _root.plane._x;
planeY = _root.plane._y;
if (powerupX < (planeX + 50)) {
if ((planeX - 50) < powerupX) {
if ((planeY - 20) < powerupY) {
if (powerupY < (planeY + 20)) {
this._y = 700;
_root.shieldwa.start(0, 4);
_root.bonusLight.gotoAndPlay(2);
gotoAndPlay (5);
}
}
}
}
Symbol 176 MovieClip Frame 4
gotoAndPlay (3);
Symbol 176 MovieClip Frame 5
if (powerup == 0) {
_root.shield = 1;
_root.plane.effects.gotoAndPlay(2);
_root.lastGroundSpeed = _root.groundSpeed;
}
if (powerup == 1) {
_root.planeSpeed = 5;
_root.plane.effects.gotoAndPlay(2);
_root.lastGroundSpeed = _root.groundSpeed;
}
if (powerup == 2) {
_root.lastGroundSpeed = _root.groundSpeed;
_root.groundSpeed = _root.groundSpeed / 2;
_root.plane.effects.gotoAndPlay(2);
}
if (powerup == 3) {
_root.scoremulti = 3;
_root.bscore = _root.bscore + 2000;
_root.plane.effects.gotoAndPlay(2);
_root.lastGroundSpeed = _root.groundSpeed;
}
Symbol 176 MovieClip Frame 10
_root.bonusDial._rotation = -6;
Symbol 176 MovieClip Frame 15
_root.bonusDial._rotation = -12;
Symbol 176 MovieClip Frame 20
_root.bonusDial._rotation = -18;
Symbol 176 MovieClip Frame 25
_root.bonusDial._rotation = -24;
Symbol 176 MovieClip Frame 30
_root.bonusDial._rotation = -30;
Symbol 176 MovieClip Frame 35
_root.bonusDial._rotation = -36;
Symbol 176 MovieClip Frame 40
_root.bonusDial._rotation = -42;
Symbol 176 MovieClip Frame 45
_root.bonusDial._rotation = -48;
Symbol 176 MovieClip Frame 50
_root.bonusDial._rotation = -54;
Symbol 176 MovieClip Frame 55
_root.bonusDial._rotation = -60;
Symbol 176 MovieClip Frame 60
_root.bonusDial._rotation = -66;
Symbol 176 MovieClip Frame 65
_root.bonusDial._rotation = -72;
Symbol 176 MovieClip Frame 70
_root.bonusDial._rotation = -78;
Symbol 176 MovieClip Frame 75
_root.bonusDial._rotation = -84;
Symbol 176 MovieClip Frame 80
_root.bonusDial._rotation = -90;
Symbol 176 MovieClip Frame 85
_root.bonusDial._rotation = -96;
Symbol 176 MovieClip Frame 90
_root.bonusDial._rotation = -102;
Symbol 176 MovieClip Frame 95
_root.bonusDial._rotation = -108;
Symbol 176 MovieClip Frame 100
_root.bonusDial._rotation = -114;
_root.shield = 0;
_root.planeSpeed = 20;
_root.groundSpeed = _root.lastGroundSpeed;
_root.scoremulti = 2;
_root.plane.effects.gotoAndStop(1);
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 100
gotoAndStop (1);
Symbol 181 Button
on (release) {
getURL ("highscore_weekly.asp", "mainframe");
}
Symbol 182 Button
on (press) {
loadVariablesNum ("count.htm", 0, "GET");
gotoAndPlay (51);
}
Symbol 183 Button
on (release) {
getURL ("enterscore.asp", "", "POST");
}
Symbol 184 Button
on (release) {
getURL ("challenge.stm", "mainframe");
}