Frame 1
stop();
Instance of Symbol 5 MovieClip in Frame 1
onClipEvent (enterFrame) {
p = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
_xscale = p;
if (p == 100) {
_root.play();
}
}
Frame 2
function nextlevel() {
gamelevel++;
lander._x = levels[gamelevel - 1][0];
lander._y = levels[gamelevel - 1][1];
lander.fuel = lander.fuel + ((levels[gamelevel - 1][2] * _root.grav) * 20);
lander.landed = false;
lander.invincible = 15;
levelview.gotoAndStop(gamelevel);
postlevel.gotoAndStop(1 + (2 * (gamelevel - 1)));
}
width = 800;
height = 600;
levels = new Array(new Array(100, 100, 200), new Array(100, 300, 100), new Array(250, 200, 150), new Array(50, 50, 125), new Array(75, 75, 125), new Array(360, 225, 75), new Array(30, 400, 75), new Array(130, 20, 200));
daft1 = new Sound();
daft1.attachSound("daft1");
daft2 = new Sound();
daft2.attachSound("daft2");
Frame 3
daft2.stop();
daft1.start(0, 1000);
stop();
Instance of Symbol 10 MovieClip "lbar" in Frame 3
onClipEvent (load) {
_root.grav = 0.05;
}
Instance of Symbol 11 MovieClip "mbar" in Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 12 MovieClip "hbar" in Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 12 MovieClip "offbar" in Frame 3
onClipEvent (load) {
_visible = false;
}
Frame 4
gamelevel = 0;
nextlevel();
daft1.stop();
daft2.start(0, 1000);
stop();
Instance of Symbol 34 MovieClip "lander" in Frame 4
onClipEvent (load) {
vel = 20;
xvel = 20;
grav = _root.grav;
thrust = false;
landed = false;
lives = 3;
timer = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (999 < fuel) {
fuel = 999;
}
if (landed) {
if (timer == 0) {
_root.lv = vel - 20;
}
timer++;
vel = 20;
xvel = 20;
if (20 < timer) {
_root.scoreboard._visible = true;
timer = 0;
landed = false;
}
} else if (dead) {
_alpha = (_alpha - 10);
if (0 >= _alpha) {
if (1 < lives) {
_alpha = 100;
_x = _root.levels[_root.gamelevel - 1][0];
_y = _root.levels[_root.gamelevel - 1][1];
fuel = ((_root.levels[_root.gamelevel - 1][2] * _root.grav) * 20) + 100;
lives--;
_rotation = 0;
xvel = 20;
vel = 20;
dead = false;
invincible = 15;
} else {
_root.end = true;
endtimer++;
if (100 < endtimer) {
_root.gotoAndStop("menu");
_root.end = false;
endtimer = 0;
}
}
}
} else {
if (Key.isDown(221)) {
landed = true;
_root.nextlevel();
}
if (Key.isDown(Key.SPACE) && (0 < fuel)) {
thrust = true;
} else {
thrust = false;
}
if (Key.isDown(Key.RIGHT)) {
_rotation = (_rotation + 4);
} else if (Key.isDown(Key.LEFT)) {
_rotation = (_rotation - 4);
}
if (thrust) {
fuel = fuel - 1;
vel = vel - 0.1;
vel = vel - (0.1 * Math.abs(vel - 20));
if (_rotation < 0) {
xvel = xvel + (_rotation / 900);
xvel = xvel - (0.1 * Math.abs(xvel - 20));
} else if (0 < _rotation) {
xvel = xvel + (_rotation / 900);
xvel = xvel + (0.1 * Math.abs(xvel - 20));
}
} else {
vel = vel + grav;
vel = vel + (grav * Math.abs(vel - 20));
}
_y = (_y + ((vel - 20) / 2));
_x = (_x + ((xvel - 20) / 3));
if ((800 + (_width / 2)) < _x) {
_x = ((-_width) / 2);
} else if (_x < ((-_width) / 2)) {
_x = (800 + (_width / 2));
}
invincible--;
}
}
Instance of Symbol 37 MovieClip "medpad" in Frame 4
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 200;
_root.bonus = val1;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.lander.score = _root.lander.score + ((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = (_root.fuelscore * _root.gravscore) + _root.fuelgravscore;
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 40 MovieClip "hardpad" in Frame 4
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 400;
_root.bonus = val1;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.lander.score = _root.lander.score + ((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = (_root.fuelscore * _root.gravscore) + _root.fuelgravscore;
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 43 MovieClip "easypad" in Frame 4
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 100;
_root.bonus = val1;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
_root.lander.score = _root.lander.score + (((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore) + _root.fuelgravscore);
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 54 MovieClip "levelview" in Frame 4
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if ((_root.lander.dead != true) && (_root.lander.invincible < 0)) {
i = 0;
while (i < 5) {
pt = eval ("_root.lander.ship.pt" + i);
if (this.hitTest(pt.x, pt.y, true)) {
trace("hit " + pt._name);
_root.lander.dead = true;
break;
}
i++;
}
}
}
Instance of Symbol 77 MovieClip in Frame 4
onClipEvent (enterFrame) {
fuel = _root.lander.fuel;
hval = fuel - (fuel % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (fuel - hval) - (fuel % 10);
t.gotoAndStop((tval / 10) + 1);
uval = (fuel - hval) - tval;
u.gotoAndStop(uval + 1);
}
Instance of Symbol 80 MovieClip in Frame 4
onClipEvent (enterFrame) {
score = _root.lander.score;
mval = score - (score % 1000000);
m.gotoAndStop((mval / 1000000) + 1);
hthval = (score - mval) - (score % 100000);
hth.gotoAndStop((hthval / 100000) + 1);
tthval = ((score - mval) - hthval) - (score % 10000);
tth.gotoAndStop((tthval / 10000) + 1);
thval = (((score - mval) - hthval) - tthval) - (score % 1000);
th.gotoAndStop((thval / 1000) + 1);
hval = ((((score - mval) - hthval) - tthval) - thval) - (score % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (((((score - mval) - hthval) - tthval) - thval) - hval) - (score % 10);
t.gotoAndStop((tval / 10) + 1);
uval = (((((score - mval) - hthval) - tthval) - thval) - hval) - tval;
u.gotoAndStop(uval + 1);
}
Instance of Symbol 95 MovieClip "scoreboard" in Frame 4
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 98 MovieClip in Frame 5
onClipEvent (load) {
upvel = 10;
uptime = 20;
initfallvel = 6;
c = new Color(this);
if (parent) {
trans = new Object();
trans.ra = 30 + (Math.random() * 70);
trans.ga = 30 + (Math.random() * 70);
trans.ba = 30 + (Math.random() * 70);
}
c.setTransform(trans);
}
onClipEvent (enterFrame) {
if (gen != false) {
if (Math.random() < 0.1) {
_root.level++;
duplicateMovieClip (this, "fire" + _root.level, _root.level);
f = eval ("_root.fire" + _root.level);
f._x = 100 + (Math.random() * (_root.width - 200));
f._y = 100 + (Math.random() * (_root.height - 200));
f.gen = false;
f.parent = true;
}
} else if (parent) {
_y = (_y - upvel);
timer++;
if (uptime < timer) {
i = 0;
while (i < (Math.PI*2)) {
_root.level++;
duplicateMovieClip (this, "fire" + _root.level, _root.level);
f = eval ("_root.fire" + _root.level);
f.xs = Math.sin(i) * initfallvel;
f.ys = Math.cos(i) * initfallvel;
f.trans = new Object();
f.trans.ra = trans.ra;
f.trans.ga = trans.ga;
f.trans.ba = trans.ba;
f.gen = false;
f.parent = false;
i = i + 0.314159265358979;
}
removeMovieClip(this);
}
} else {
_x = (_x + xs);
_y = (_y + ys);
_alpha = (_alpha - 5);
if (_alpha < 0) {
removeMovieClip(this);
}
}
}
Symbol 13 Button
on (release) {
gotoAndStop (4);
}
Symbol 16 Button
on (release) {
_root.lbar._visible = true;
_root.mbar._visible = false;
_root.hbar._visible = false;
_root.grav = 0.05;
}
Symbol 17 Button
on (release) {
_root.lbar._visible = false;
_root.mbar._visible = true;
_root.hbar._visible = false;
_root.grav = 0.1;
}
Symbol 18 Button
on (release) {
_root.lbar._visible = false;
_root.mbar._visible = false;
_root.hbar._visible = true;
_root.grav = 0.2;
}
Symbol 19 Button
on (release) {
getURL ("http://www.flecko.net/", "_blank");
}
Symbol 20 Button
on (release) {
getURL ("http://www.daftpunk.com/", "_blank");
}
Symbol 21 Button
on (release) {
onbar._visible = true;
offbar._visible = false;
_root.daft1.setVolume(100);
_root.daft2.setVolume(100);
}
Symbol 22 Button
on (release) {
offbar._visible = true;
onbar._visible = false;
_root.daft1.setVolume(0);
_root.daft2.setVolume(0);
}
Symbol 29 MovieClip Frame 1
if (_parent.thrust) {
gotoAndPlay (3);
}
Symbol 29 MovieClip Frame 2
if (_parent.thrust == false) {
gotoAndPlay (1);
}
Symbol 29 MovieClip Frame 3
if (_parent.thrust == false) {
gotoAndPlay (30);
}
Symbol 29 MovieClip Frame 4
if (_parent.thrust == false) {
gotoAndPlay (30);
}
Symbol 29 MovieClip Frame 5
if (_parent.thrust == false) {
gotoAndPlay (28);
}
Symbol 29 MovieClip Frame 6
if (_parent.thrust == false) {
gotoAndPlay (28);
}
Symbol 29 MovieClip Frame 7
if (_parent.thrust == false) {
gotoAndPlay (26);
}
Symbol 29 MovieClip Frame 8
if (_parent.thrust == false) {
gotoAndPlay (26);
}
Symbol 29 MovieClip Frame 9
if (_parent.thrust == false) {
gotoAndPlay (26);
}
Symbol 29 MovieClip Frame 13
if (_parent.thrust == false) {
gotoAndPlay (26);
}
Symbol 29 MovieClip Frame 17
if (_parent.thrust == false) {
gotoAndPlay (26);
}
Symbol 29 MovieClip Frame 21
if (_parent.thrust == false) {
gotoAndPlay (26);
}
Symbol 29 MovieClip Frame 25
gotoAndPlay (9);
Symbol 29 MovieClip Frame 26
if (_parent.thrust) {
gotoAndPlay (7);
}
Symbol 29 MovieClip Frame 27
if (_parent.thrust) {
gotoAndPlay (7);
}
Symbol 29 MovieClip Frame 28
if (_parent.thrust) {
gotoAndPlay (5);
}
Symbol 29 MovieClip Frame 29
if (_parent.thrust) {
gotoAndPlay (5);
}
Symbol 29 MovieClip Frame 30
if (_parent.thrust) {
gotoAndPlay (3);
}
Symbol 29 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 31 MovieClip "pt0" in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
frame++;
}
Instance of Symbol 32 MovieClip "pt2" in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 32 MovieClip "pt1" in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 32 MovieClip "pt3" in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 32 MovieClip "pt4" in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Symbol 34 MovieClip Frame 1
stop();
Instance of Symbol 29 MovieClip "fire" in Symbol 34 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.landed) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 45 MovieClip Frame 1
function test() {
if (this.hitTest(_root.lander.ship) && (_visible != false)) {
_root.lander.fuel = _root.lander.fuel + 200;
_root.lander.score = _root.lander.score + 1000;
_visible = false;
}
}
Symbol 45 MovieClip Frame 2
test();
Symbol 45 MovieClip Frame 3
test();
gotoAndPlay (2);
Instance of Symbol 55 MovieClip "easypad" in Symbol 63 MovieClip Frame 1
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 100;
_root.bonus = 0;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
_root.lander.score = _root.lander.score + (((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore) + _root.fuelgravscore);
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
trace("hit pad");
_root.lander.dead = true;
}
}
Instance of Symbol 56 MovieClip "easypad" in Symbol 63 MovieClip Frame 3
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 100;
_root.bonus = 0;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
_root.lander.score = _root.lander.score + (((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore) + _root.fuelgravscore);
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 57 MovieClip "hardpad" in Symbol 63 MovieClip Frame 3
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 400;
_root.bonus = 150;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.lander.score = _root.lander.score + ((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 58 MovieClip "medpad" in Symbol 63 MovieClip Frame 5
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 200;
_root.bonus = 50;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.lander.score = _root.lander.score + ((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 43 MovieClip "easypad" in Symbol 63 MovieClip Frame 5
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 100;
_root.bonus = val1;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
_root.lander.score = _root.lander.score + (((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore) + _root.fuelgravscore);
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 59 MovieClip "hardpad" in Symbol 63 MovieClip Frame 7
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 400;
_root.bonus = 250;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.lander.score = _root.lander.score + ((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 60 MovieClip "medpad" in Symbol 63 MovieClip Frame 9
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 200;
_root.bonus = 0;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.lander.score = _root.lander.score + ((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 60 MovieClip "medpad" in Symbol 63 MovieClip Frame 11
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 200;
_root.bonus = 0;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.lander.score = _root.lander.score + ((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 60 MovieClip "medpad" in Symbol 63 MovieClip Frame 13
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 200;
_root.bonus = 0;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.lander.score = _root.lander.score + ((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 61 MovieClip "hardpad" in Symbol 63 MovieClip Frame 13
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 400;
_root.bonus = 100;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.lander.score = _root.lander.score + ((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 62 MovieClip "medpad" in Symbol 63 MovieClip Frame 15
onClipEvent (load) {
score = true;
}
onClipEvent (enterFrame) {
hit = this.hitTest(_root.lander.ship);
if (((hit && ((_root.lander.vel - 20) >= 0)) && (2 >= (_root.lander.vel - 20))) && (8 >= Math.abs(_root.lander._rotation))) {
_root.lander.landed = true;
if (score) {
_root.padscore = 200;
_root.bonus = 1000;
_root.rotscore = Math.round((8 - Math.abs(_root.lander._rotation)) * 25, 0);
_root.velscore = Math.round((2 - (_root.lander.vel - 20)) * 100, 0);
_root.lander.score = _root.lander.score + ((((_root.lander.fuel + _root.padscore) + _root.bonus) + _root.rotscore) + _root.velscore);
_root.fuelscore = _root.lander.fuel;
_root.gravscore = Math.round(_root.grav * 20, 0);
_root.fuelgravscore = _root.fuelscore * _root.gravscore;
trace((((((("padscore=" + _root.padscore) + ", bonus=") + _root.bonus) + ", rotscore=") + _root.rotscore) + ", velscore=") + _root.velscore);
score = false;
}
} else if (hit) {
_root.lander.dead = true;
}
}
Instance of Symbol 76 MovieClip "u" in Symbol 77 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
tnum = _root.lander.fuel % 100;
num = tnum - (tnum % 10);
num = num + 1;
gotoAndStop(num);
}
Instance of Symbol 78 MovieClip "1" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lander.lives - 1) >= Number(_name)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 78 MovieClip "2" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lander.lives - 1) >= Number(_name)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 78 MovieClip "3" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lander.lives - 1) >= Number(_name)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 78 MovieClip "4" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lander.lives - 1) >= Number(_name)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 78 MovieClip "5" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lander.lives - 1) >= Number(_name)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 78 MovieClip "6" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lander.lives - 1) >= Number(_name)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 78 MovieClip "7" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lander.lives - 1) >= Number(_name)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 78 MovieClip "8" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lander.lives - 1) >= Number(_name)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 78 MovieClip "9" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lander.lives - 1) >= Number(_name)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 78 MovieClip "10" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lander.lives - 1) >= Number(_name)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 76 MovieClip "u" in Symbol 80 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
tnum = _root.lander.fuel % 100;
num = tnum - (tnum % 10);
num = num + 1;
gotoAndStop(num);
}
Instance of Symbol 76 MovieClip "u" in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
tnum = _root.lander.fuel % 100;
num = tnum - (tnum % 10);
num = num + 1;
gotoAndStop(num);
}
Instance of Symbol 76 MovieClip "u" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
tnum = _root.lander.fuel % 100;
num = tnum - (tnum % 10);
num = num + 1;
gotoAndStop(num);
}
Instance of Symbol 76 MovieClip "u" in Symbol 84 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
tnum = _root.lander.fuel % 100;
num = tnum - (tnum % 10);
num = num + 1;
gotoAndStop(num);
}
Instance of Symbol 76 MovieClip "u" in Symbol 85 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
tnum = _root.lander.fuel % 100;
num = tnum - (tnum % 10);
num = num + 1;
gotoAndStop(num);
}
Instance of Symbol 76 MovieClip "u" in Symbol 86 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
tnum = _root.lander.fuel % 100;
num = tnum - (tnum % 10);
num = num + 1;
gotoAndStop(num);
}
Instance of Symbol 87 MovieClip "h" in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "t" in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "u" in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "th" in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "h" in Symbol 89 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "t" in Symbol 89 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "u" in Symbol 89 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "th" in Symbol 89 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "h" in Symbol 91 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "t" in Symbol 91 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "u" in Symbol 91 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 87 MovieClip "th" in Symbol 91 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 94 Button
on (release) {
_visible = false;
if (_root.gamelevel == _root.levels.length) {
_root.gotoAndStop("end");
} else {
_root.nextlevel();
}
}
Instance of Symbol 82 MovieClip in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._visible) {
fuel = _root.fuelscore;
hval = fuel - (fuel % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (fuel - hval) - (fuel % 10);
t.gotoAndStop((tval / 10) + 1);
uval = (fuel - hval) - tval;
u.gotoAndStop(uval + 1);
}
}
Instance of Symbol 83 MovieClip "pad" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._visible) {
fuel = _root.padscore;
hval = fuel - (fuel % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (fuel - hval) - (fuel % 10);
t.gotoAndStop((tval / 10) + 1);
uval = (fuel - hval) - tval;
u.gotoAndStop(uval + 1);
}
}
Instance of Symbol 84 MovieClip "bonus" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._visible) {
fuel = _root.bonus;
hval = fuel - (fuel % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (fuel - hval) - (fuel % 10);
t.gotoAndStop((tval / 10) + 1);
uval = (fuel - hval) - tval;
u.gotoAndStop(uval + 1);
}
}
Instance of Symbol 85 MovieClip "vel" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._visible) {
fuel = _root.velscore;
hval = fuel - (fuel % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (fuel - hval) - (fuel % 10);
t.gotoAndStop((tval / 10) + 1);
uval = (fuel - hval) - tval;
u.gotoAndStop(uval + 1);
}
}
Instance of Symbol 86 MovieClip "rot" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._visible) {
fuel = _root.rotscore;
hval = fuel - (fuel % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (fuel - hval) - (fuel % 10);
t.gotoAndStop((tval / 10) + 1);
uval = (fuel - hval) - tval;
u.gotoAndStop(uval + 1);
}
}
Instance of Symbol 88 MovieClip "lscore" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
score = _root.padscore + _root.bonus;
thval = score - (score % 1000);
th.gotoAndStop((thval / 1000) + 1);
hval = (score - thval) - (score % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (score - hval) - (score % 10);
t.gotoAndStop((tval / 10) + 1);
uval = ((score - thval) - hval) - tval;
u.gotoAndStop(uval + 1);
}
Instance of Symbol 89 MovieClip "tscore" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
score = _root.rotscore + _root.velscore;
thval = score - (score % 1000);
th.gotoAndStop((thval / 1000) + 1);
hval = (score - thval) - (score % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (score - hval) - (score % 10);
t.gotoAndStop((tval / 10) + 1);
uval = ((score - thval) - hval) - tval;
u.gotoAndStop(uval + 1);
}
Instance of Symbol 80 MovieClip in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
score = _root.lander.score;
mval = score - (score % 1000000);
m.gotoAndStop((mval / 1000000) + 1);
hthval = (score - mval) - (score % 100000);
hth.gotoAndStop((hthval / 100000) + 1);
tthval = ((score - mval) - hthval) - (score % 10000);
tth.gotoAndStop((tthval / 10000) + 1);
thval = (((score - mval) - hthval) - tthval) - (score % 1000);
th.gotoAndStop((thval / 1000) + 1);
hval = ((((score - mval) - hthval) - tthval) - thval) - (score % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (((((score - mval) - hthval) - tthval) - thval) - hval) - (score % 10);
t.gotoAndStop((tval / 10) + 1);
uval = (((((score - mval) - hthval) - tthval) - thval) - hval) - tval;
u.gotoAndStop(uval + 1);
}
Instance of Symbol 90 MovieClip in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.gravscore + 1);
}
Instance of Symbol 91 MovieClip "fscore" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
score = _root.fuelgravscore;
thval = score - (score % 1000);
th.gotoAndStop((thval / 1000) + 1);
hval = (score - thval) - (score % 100);
h.gotoAndStop((hval / 100) + 1);
tval = (score - hval) - (score % 10);
t.gotoAndStop((tval / 10) + 1);
uval = ((score - thval) - hval) - tval;
u.gotoAndStop(uval + 1);
}
Symbol 97 Button
on (release) {
gotoAndStop (3);
}