Frame 1
ifFrameLoaded (_totalframes) {
gotoAndStop (3);
}
Instance of Symbol 11 MovieClip "1" in Frame 1
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Instance of Symbol 11 MovieClip "2" in Frame 1
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Instance of Symbol 11 MovieClip "3" in Frame 1
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Frame 2
gotoAndPlay (1);
Frame 5
function end() {
mine1.removeMovieClip();
mine2.removeMovieClip();
alien.removeMovieClip();
hud.removeMovieClip();
Mouse.show();
}
score = 0;
dodges = 0;
hp = 10;
mines = true;
speed_mine = 3;
speed_cloud = 10;
speed_progress = 0.2;
cloud1._xscale = 100;
cloud2._xscale = 1;
cloud3._xscale = 150;
cloud4._xscale = 50;
alien.depth = 1;
mine1.depth = 2;
mine2.depth = 3;
hud.swapDepths(10);
mine1.gotoAndStop("respawn");
mine2.gotoAndStop("respawn");
Mouse.hide();
Frame 6
end();
Instance of Symbol 11 MovieClip "1" in Frame 6
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Instance of Symbol 11 MovieClip "2" in Frame 6
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Instance of Symbol 11 MovieClip "3" in Frame 6
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Frame 7
prevFrame();
Frame 8
end();
if (score == 0) {
score = dodges * _root.hp;
}
Frame 9
prevFrame();
Symbol 6 MovieClip Frame 1
percent = int(_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
bar.gotoAndStop(percent);
Symbol 6 MovieClip Frame 2
gotoAndPlay (1);
Symbol 8 Button
on (release) {
getURL ("http://www.etgames.com", "_blank");
}
Symbol 22 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 26 MovieClip Frame 169
stop();
Symbol 32 MovieClip Frame 1
if (0 < _root.hp) {
speed = (_root.speed_cloud + int((_parent._xscale / 200) * 5)) / 2;
if (250 < _parent._x) {
_parent._x = _parent._x + speed;
} else {
_parent._x = _parent._x - speed;
}
if (200 < _parent._y) {
_parent._y = _parent._y + speed;
} else {
_parent._y = _parent._y - speed;
}
_parent._xscale = _parent._xscale + _root.speed_cloud;
_parent._yscale = _parent._xscale;
if (200 < _parent._xscale) {
_parent._alpha = _parent._alpha - 25;
if ((_parent._alpha < 1) && (1 < _root.cloudcover._alpha)) {
_parent._xscale = 1;
_parent._yscale = _parent._xscale;
_parent._x = _parent.start_x + random(100);
_parent._y = _parent.start_y + random(100);
}
} else {
_parent._alpha = int((_parent._xscale / 200) * 100);
}
}
Symbol 32 MovieClip Frame 2
gotoAndPlay (1);
Symbol 33 MovieClip Frame 1
start_x = _x;
start_y = _y;
Symbol 39 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 1
_root.hud.hp_display = (_root.hp * 10) + "%";
if (_root.hp == 0) {
_parent.gotoAndStop("die");
}
if (_parent.timer_dissolve == 0) {
_root.cloudcover._alpha--;
_parent.timer_dissolve = -1;
} else if (0 < _parent.timer_dissolve) {
_parent.timer_dissolve--;
} else {
_parent.timer_dissolve = 15;
}
if (0 < _root.cloudcover._alpha) {
_root.cloudcover._xscale = _root.cloudcover._xscale + _root.speed_progress;
_root.cloudcover._yscale = _root.cloudcover._xscale;
} else {
_root.mines = false;
if (_parent.timer_end == 0) {
_parent.gotoAndStop("drop");
} else if (0 < _parent.timer_end) {
_parent.timer_end--;
} else {
_parent.timer_end = 100;
}
}
_root.ground._xscale = _root.ground._xscale + (_root.speed_progress / 5);
_root.ground._yscale = _root.ground._xscale;
_parent._x = _parent._x + ((_root._xmouse - _parent._x) / 10);
_parent._y = _parent._y + ((_root._ymouse - _parent._y) / 10);
Symbol 40 MovieClip Frame 2
gotoAndPlay (1);
Symbol 41 MovieClip Frame 30
_root.gotoAndStop("lose");
Symbol 42 MovieClip Frame 55
_root.gotoAndStop("win");
Symbol 43 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 1
if (0 < _root.hp) {
speed = _root.speed_mine;
if (250 < _parent._x) {
_parent._x = _parent._x + speed;
} else {
_parent._x = _parent._x - speed;
}
if (200 < _parent._y) {
_parent._y = _parent._y + speed;
} else {
_parent._y = _parent._y - speed;
}
_parent._xscale = _parent._xscale + (_root.speed_mine + (_parent._xscale / 10));
_parent._yscale = _parent._xscale;
if (250 < _parent._xscale) {
_root.dodges++;
_parent.swapDepths(1);
_parent.gotoAndStop("respawn");
}
width = 100;
height = 100;
if (((((((_root.alien._x < (_parent._x + width)) && ((_parent._x - width) < _root.alien._x)) && (_root.alien._y < (_parent._y + height))) && ((_parent._y - height) < _root.alien._y)) && (_root.alien._xscale < (_parent._xscale + 15))) && ((_parent._xscale - 15) < _root.alien._xscale)) && (_parent._currentFrame == 1)) {
_root.hp--;
_root.alien.alien.play();
_parent.gotoAndStop("boom");
}
} else {
_parent.mine.stop();
}
Symbol 46 MovieClip Frame 2
gotoAndPlay (1);
Symbol 56 MovieClip Frame 17
_parent.gotoAndStop("respawn");
Symbol 58 MovieClip Frame 1
if (_root.mines == true) {
if (timer == 0) {
_parent.gotoAndStop("go");
} else if (0 < timer) {
timer--;
} else {
timer = random(100);
}
}
Symbol 58 MovieClip Frame 2
gotoAndPlay (1);
Symbol 59 MovieClip Frame 1
if (random(2) == 1) {
_x = _root.alien._x;
_y = _root.alien._y;
} else {
_x = (50 + random(350));
_y = (50 + random(300));
}
stop();
Symbol 59 MovieClip Frame 3
_xscale = 0;
_yscale = 0;
Symbol 60 MovieClip Frame 1
i = 1;
while (i < 3) {
_root["mine" + i].swapDepths(_root["mine" + i].depth);
i++;
}
_root.alien.swapDepths(_root.alien.depth);
i = 1;
while (i < 3) {
if ((_root.alien._xscale < _root["mine" + i]._xscale) && (_root.alien.depth >= _root["mine" + i].depth)) {
_root["mine" + i].depth = _root["mine" + i].depth + 1;
_root.alien.depth = _root.alien.depth - 1;
} else if ((_root["mine" + i]._xscale < _root.alien._xscale) && (_root["mine" + i].depth >= _root.alien.depth)) {
_root["mine" + i].depth = _root["mine" + i].depth - 1;
_root.alien.depth = _root.alien.depth + 1;
}
i++;
}
if ((_root.mine2._xscale < _root.mine1._xscale) && (_root.mine1.depth < _root.mine2.depth)) {
_root.mine1.depth++;
_root.mine2.depth--;
} else if ((_root.mine1._xscale < _root.mine2._xscale) && (_root.mine2.depth < _root.mine1.depth)) {
_root.mine1.depth--;
_root.mine2.depth++;
}
Symbol 60 MovieClip Frame 2
gotoAndPlay (1);
Symbol 79 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 80 MovieClip Frame 100
stop();
Symbol 93 Button
on (release) {
_root.gotoAndStop("scores");
}
Symbol 94 MovieClip Frame 1
if (_root.local == 1) {
gotoAndStop (2);
} else {
stop();
}
Symbol 95 MovieClip Frame 100
stop();
Symbol 103 Button
on (release) {
if (((_root.scoredone == "done") and (_root.hiscore20 < _root.score)) and (_root.old_score != _root.score)) {
_root.old_score = _root.score;
_root.hiscore = _root.score;
if (_root.xname eq "Name Here") {
_root.xname = "etgames";
}
loadVariablesNum ((((((("/scores.php?action=sendscore&game=" + _root.game) + "&hiscore=") + _root.hiscore) + "&xname=") + _root.xname) + "&randx=") + random(100), 0, "POST");
}
_visible = 0;
}
Symbol 106 MovieClip Frame 1
if ((_root.hiscore20 < _root.score) and (_root.local == 1)) {
_visible = 1;
} else {
_visible = 0;
stop();
}
Symbol 148 MovieClip Frame 1
if (_root.local == 1) {
_visible = 1;
} else {
_visible = 0;
stop();
}
Symbol 148 MovieClip Frame 2
_root.game = "freefall";
loadVariablesNum ((("/scores.php?action=getscores&game=" + _root.game) + "&randx=") + random(100000), 0, "POST");
Symbol 148 MovieClip Frame 5
if (_root.scoredone == "done") {
nothing = nothing;
} else {
gotoAndPlay (3);
}
Symbol 148 MovieClip Frame 7
stop();