Frame 1
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
percentbytes = int(loadedbytes / (totalbytes / 11));
_root.loader.bar.gotoAndStop(percentbytes);
var cmVisit = new ContextMenu();
cmVisit.hideBuiltInItems();
var cm_website = new ContextMenuItem();
cm_website.caption = "Visit Pixel Populace for more games!";
cm_website.onSelect = function () {
getURL ("http://www.pixelpopulace.com", "_blank");
};
cmVisit.customItems.push(cm_website);
this.menu = cmVisit;
Frame 2
if (loadedbytes == totalbytes) {
gotoAndStop (2);
_root.loader.gotoAndStop(2);
} else {
gotoAndPlay (1);
}
playing = false;
music_on = true;
Instance of Symbol 43 MovieClip in Frame 2
/* no clip actions */
Frame 3
stop();
Frame 5
_root.menu_music = new Sound(this);
_root.menu_music.attachSound("music01");
_root.game_music = new Sound(this);
_root.game_music.attachSound("music02");
_root.game_over = new Sound(this);
_root.game_over.attachSound("music03");
A1 = new Array("x", "110", "9", "55", "5", "50", "u", "89", "a", "103", "e", "10", "8", "53", "/", "74", "g", "82", "0", "67", "5", "39", "x", "102", "j", "52", "7", "79", ":", "4", "m", "21", "x", "36", "4", "44", "s", "42", "2", "41", "_", "82", "2", "60", "a", "38", "s", "53", "i", "7", "l", "8", "4", "46", "g", "75", "6", "65", "2", "47", "7", "77", "s", "66", "5", "29", "s", "54", "o", "52", "a", "37", "c", "17", "w", "42", "a", "43", "h", "76", "u", "11", "6", "67", "7", "73", "F", "61", "2", "64", "k", "34", "w", "54", "x", "7", "6", "30", "p", "7", "x", "46", "l", "9", "8", "57", "/", "5", "r", "24", "f", "55", "p", "7", "p", "63", "o", "11", "d", "39", "/", "25", "9", "55", "_", "23", "h", "0", "j", "24", "e", "8", "k", "37", "6", "19", "W", "42", "a", "43", "a", "6", "h", "26", "o", "10", "n", "10", "d", "33", "j", "31", "k", "19", "4", "15", "5", "25", ".", "7", "4", "35", "3", "20", "e", "10", "c", "8", "5", "23", "p", "2", "o", "4", "t", "6", "/", "5", "t", "8", "h", "24", "3", "24", "n", "5", "s", "13", "_", "6", "c", "4", "/", "2", "0", "6", "t", "3", "p", "2", "8", "8", "5", "3", "s", "2", "6", "13", "g", "13", "t", "1", "4", "3", "8", "6", "t", "0", "n", "3", "/", "1", "h", "9", "6", "4", "p", "7", "9", "2", "s", "0", "a", "0", "_", "2", "7", "0", "/", "0", ".", "0");
A2 = new Array("a", "98", "/", "78", "m", "23", "h", "0", "6", "39", "8", "85", "x", "8", "4", "45", "2", "102", "2", "42", "e", "8", "/", "85", "e", "16", "k", "45", "w", "51", "2", "53", "2", "92", "l", "8", "4", "55", "a", "56", "t", "22", "5", "40", "t", "0", "_", "30", "_", "76", "p", "9", "5", "37", "h", "47", "p", "1", "o", "17", "s", "40", "d", "61", "r", "25", "a", "29", "s", "43", "j", "37", "u", "60", "p", "6", "s", "30", "2", "43", "/", "14", "o", "41", ".", "11", "0", "39", "c", "11", "i", "5", "_", "16", "5", "17", "s", "21", "a", "55", "3", "61", "6", "49", "5", "39", "u", "6", "8", "33", "g", "42", "o", "5", "e", "11", "t", "12", "p", "56", "7", "39", ".", "52", "5", "16", "c", "7", "a", "25", "4", "11", "k", "31", "d", "27", "j", "29", "c", "43", "4", "22", "w", "29", ":", "1", "k", "14", "x", "25", "7", "28", "9", "17", "p", "3", "t", "10", "n", "7", "h", "35", "/", "15", "9", "20", "_", "24", "a", "11", "n", "7", "/", "1", "F", "19", "x", "7", "3", "23", "s", "12", "n", "14", "l", "2", "6", "13", "a", "2", "2", "17", "p", "19", "s", "12", "s", "15", "3", "9", "t", "0", "o", "1", "6", "2", "j", "3", "c", "1", "8", "3", "s", "4", "4", "5", "x", "6", "0", "2", "/", "0", "x", "4", "W", "2", "f", "2", "/", "0", "5", "0");
gtr = new Array();
ku = "";
while (A1.length > 0) {
f = A1.length;
gtr.splice(A1[f - 1], 0, A1.slice(f - 2, f - 1));
A1.splice(f - 2, 2);
}
i = 0;
while (i < gtr.length) {
ku = ku + gtr[i];
i++;
}
gtr2 = new Array();
kk = "";
while (A2.length > 0) {
g = A2.length;
gtr2.splice(A2[g - 1], 0, A2.slice(g - 2, g - 1));
A2.splice(g - 2, 2);
}
j = 0;
while (j < gtr2.length) {
kk = kk + gtr2[j];
j++;
}
Frame 6
function getScores() {
highscores.onData = function () {
sc = 1;
while (sc < 11) {
this.showScores["name" + sc].text = this["username" + sc];
this.showScores["score" + sc].text = this["score" + sc];
sc++;
}
this.showScores._visible = true;
};
loadVariables (_root.ku, "highscores");
}
function reset() {
_root.bottom_bar._visible = false;
_root.buffer_bar_mc.gotoAndStop(1);
_root.pp_collect_mc.gotoAndStop(1);
_root.buffer_bar_mc.use_light.gotoAndStop(1);
}
stop();
if (music_on == true) {
if (playing == false) {
_root.menu_music.start(0, 999);
playing = true;
}
}
myListener = new Object();
myListener.onKeyDown = function () {
if (Key.getCode() == 81) {
if ((i++) >= 2) {
i = 0;
}
_quality = ["HIGH", "MEDIUM", "LOW"][i];
}
};
Key.addListener(myListener);
Frame 7
stop();
Frame 8
gotoAndStop ("main");
Frame 9
stop();
_root.pre_game_1.gotoAndPlay(22);
gotoAndPlay ("menu");
Frame 10
stop();
Frame 11
function craft_move() {
var _local2 = _root;
if (Key.isDown(37)) {
_local2.craft_mc._x = _local2.craft_mc._x - _local2.craft_mcspeed;
} else if (Key.isDown(39)) {
_local2.craft_mc._x = _local2.craft_mc._x + _local2.craft_mcspeed;
}
if (_local2.craft_mc._x > (StageWidth - (_local2.craft_mc._width / 2))) {
_local2.craft_mc._x = StageWidth - (_local2.craft_mc._width / 2);
}
if (_local2.craft_mc._x < (_local2.craft_mc._width / 2)) {
_local2.craft_mc._x = _local2.craft_mc._width / 2;
}
}
function makeFloors() {
if (_root["floor" + _root.count] == null) {
_root.createEmptyMovieClip("floor" + _root.count, -16382);
with (_root["floor" + _root.count]) {
beginFill(0, 50);
lineStyle(10, 7385326, 100);
moveTo(-200, 0);
lineTo(720, 0);
endFill();
}
_root.createEmptyMovieClip(("drop" + _root.count) + _root.count2, -16381);
with (_root[("drop" + _root.count) + _root.count2]) {
beginFill(16777215, 50);
lineStyle(70, 16700456, 100);
moveTo(0, 1);
lineTo(0, 0);
endFill();
}
}
_root.ball_Ygoto = 0;
if (_root["floor" + _root.count]._y <= -20) {
_root["floor" + _root.count]._y = 430;
_root[("drop_x" + _root.count) + _root.count2] = Math.abs((Math.round(Math.random() * 12) * 30) + 18);
_root[("drop" + _root.count) + _root.count2]._x = _root[("drop_x" + _root.count) + _root.count2];
_root[("drop" + _root.count) + _root.count2]._y = -430;
}
_root["floor" + _root.count]._y = _root["floor" + _root.count]._y - _root.floorspeed;
_root[("drop" + _root.count) + _root.count2]._y = _root["floor" + _root.count]._y;
_root.ball_Ytemp = -_root.floorspeed;
if (_root.craft_mc._y >= 380) {
_root.ball_Ytemp = 0;
}
if (((_root["floor" + _root.count]._y <= (_root.craft_mc._y + (_root.floorspeed * 7))) && (_root["floor" + _root.count]._y >= (_root.craft_mc._y - _root.floorspeed))) && ((_root.craft_mc._x < (_root[("drop" + _root.count) + _root.count2]._x - 35)) ^ (_root.craft_mc._x > (_root[("drop" + _root.count) + _root.count2]._x + 35)))) {
_root.ball_Ygoto = _root["floor" + _root.count]._y - 20;
}
if (_root.ball_Ygoto == 0) {
_root.craft_mc._y = _root.craft_mc._y - _root.ball_Ytemp;
} else {
_root.craft_mc._y = _root.ball_Ygoto;
}
if (_root.levelup >= 200) {
_root.floorspeed = _root.floorspeed + 1;
_root.startspeed = _root.startspeed + 1;
_root.levelup = 1;
_root.keepscore = _root.keepscore + 1;
if (this.buffer <= 95) {
_root.buffer = _root.buffer + 5;
} else if (this.buffer > 95) {
_root.buffer = _root.buffer + (max_buffer - _root.buffer);
}
}
_root.levelup = _root.levelup + 1;
_root.scorekeep = _root.scorekeep + 1;
_root.spawn_score = _root.spawn_score + 1;
_root.score = (_root.scorekeep * _root.startspeed) + _root.letter_score;
_root.data_bonus = _root.binary_collect * _root.keepscore;
_root.total_score = _root.score + _root.data_bonus;
if (_root.craft_mc._y <= 3) {
_root.onEnterFrame = null;
unloadMovie (_root["floor" + _root.count]);
unloadMovie (_root[("drop" + _root.count) + _root.count2]);
_root.craft_mc.removeMovieClip();
_root.bottom_bar.removeMovieClip();
_root.buffer_bar_mc.removeMovieClip();
_root.score_level.removeMovieClip();
_root.letter_collect_mc.removeMovieClip();
_root.firewall_mc.removeMovieClip();
unloadMovie (_root.binary_layer_zero);
unloadMovie (_root.binary_layer_one);
_root.post_game.gotoAndPlay(2);
}
}
function slow_motion() {
if (Key.isDown(32)) {
if (this.buffer != 0) {
this.floorspeed = 2;
this.buffer = this.buffer - 1;
_root.buffer_bar_mc.usage_light.gotoAndStop(2);
} else {
this.floorspeed = _root.startspeed;
_root.buffer_bar_mc.use_light.gotoAndStop(1);
}
} else {
this.floorspeed = _root.startspeed;
_root.buffer_bar_mc.use_light.gotoAndPlay(1);
}
percent_bar = this.buffer;
buffer_bar_mc.gotoAndStop(percent_bar);
}
function letters_collect() {
if (_root.spawn_score == base_spawn_score) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_p", "mc_letter_p", depth, {_x:letter_spawn_x_1, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_p)) {
_root.letter_collect_mc.p_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_p);
} else if (_root.letter_layer.mc_letter_p._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_p);
}
if (_root.spawn_score == (base_spawn_score * 2)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_i", "mc_letter_i", depth, {_x:letter_spawn_x_2, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_i)) {
_root.letter_collect_mc.i_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_i);
} else if (_root.letter_layer.mc_letter_i._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_i);
}
if (_root.spawn_score == (base_spawn_score * 3)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_x", "mc_letter_x", depth, {_x:letter_spawn_x_3, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_x)) {
_root.letter_collect_mc.x_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_x);
} else if (_root.letter_layer.mc_letter_x._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_x);
}
if (_root.spawn_score == (base_spawn_score * 4)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_e", "mc_letter_e", depth, {_x:letter_spawn_x_4, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_e)) {
_root.letter_collect_mc.e_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_e);
} else if (_root.letter_layer.mc_letter_e._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_e);
}
if (_root.spawn_score == (base_spawn_score * 5)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_l", "mc_letter_l", depth, {_x:letter_spawn_x_5, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_l)) {
_root.letter_collect_mc.l_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_l);
} else if (_root.letter_layer.mc_letter_l._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_l);
}
if (_root.spawn_score == (base_spawn_score * 6)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_p", "mc_letter_p2", depth, {_x:letter_spawn_x_6, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_p2)) {
_root.letter_collect_mc.p2_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_p2);
} else if (_root.letter_layer.mc_letter_p2._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_p2);
}
if (_root.spawn_score == (base_spawn_score * 7)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_o", "mc_letter_o", depth, {_x:letter_spawn_x_7, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_o)) {
_root.letter_collect_mc.o_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_o);
} else if (_root.letter_layer.mc_letter_o._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_o);
}
if (_root.spawn_score == (base_spawn_score * 8)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_p", "mc_letter_p3", depth, {_x:letter_spawn_x_8, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_p3)) {
_root.letter_collect_mc.p3_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_p3);
} else if (_root.letter_layer.mc_letter_p3._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_p3);
}
if (_root.spawn_score == (base_spawn_score * 9)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_u", "mc_letter_u", depth, {_x:letter_spawn_x_9, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_u)) {
_root.letter_collect_mc.u_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_u);
} else if (_root.letter_layer.mc_letter_u._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_u);
}
if (_root.spawn_score == (base_spawn_score * 10)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_l", "mc_letter_l2", depth, {_x:letter_spawn_x_10, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_l2)) {
_root.letter_collect_mc.l2_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_l2);
} else if (_root.letter_layer.mc_letter_l2._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_l2);
}
if (_root.spawn_score == (base_spawn_score * 11)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_a", "mc_letter_a", depth, {_x:letter_spawn_x_11, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_a)) {
_root.letter_collect_mc.a_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_a);
} else if (_root.letter_layer.mc_letter_a._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_a);
}
if (_root.spawn_score == (base_spawn_score * 12)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_c", "mc_letter_c", depth, {_x:letter_spawn_x_12, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_c)) {
_root.letter_collect_mc.c_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_c);
} else if (_root.letter_layer.mc_letter_c._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_c);
}
if (_root.spawn_score == (base_spawn_score * 13)) {
_root.bonus_mp = _root.bonus_mp + 1;
var _local3 = letter_layer.attachMovie("letter_e", "mc_letter_e2", depth, {_x:letter_spawn_x_13, _y:letter_spawn_y});
_local3.onEnterFrame = function () {
this._y = this._y - letter_speed;
};
}
if (craft_mc.hitTest(_root.letter_layer.mc_letter_e2)) {
_root.letter_collect_mc.e2_mc.gotoAndStop(2);
letter_score = letter_score + (base_bonus * bonus_mp);
_root.letter_collect = _root.letter_collect + 1;
_root.sound_fx.gotoAndPlay(5);
removeMovieClip(_root.letter_layer.mc_letter_e2);
} else if (_root.letter_layer.mc_letter_e2._y < letter_remove) {
removeMovieClip(_root.letter_layer.mc_letter_e2);
}
}
function binary_zero() {
j = 2;
while (j <= num_binary) {
var _local2 = "binary_zero_mc" + j;
_root.binary_layer_zero.zero_mc.duplicateMovieClip(_local2, j);
j++;
}
}
function binary_one() {
k = 2;
while (k <= num_binary) {
var _local2 = "binary_one_mc" + k;
_root.binary_layer_one.one_mc.duplicateMovieClip(_local2, k);
k++;
}
}
function getScores2() {
post_game.onData = function () {
sc = 1;
while (sc < 11) {
this.showScores["name" + sc].text = this["username" + sc];
this.showScores["score" + sc].text = this["score" + sc];
sc++;
}
this.showScores._visible = true;
};
loadVariables (_root.ku, "post_game");
}
i = 0;
while (i < gtr.length) {
core1 = core1 + gtr[i];
i++;
}
_root.num_binary = 8;
binary_zero();
binary_one();
if (music_on == true) {
_root.game_music.start(0, 999);
}
stop();
_root.craft_mc._y = 5;
_root.craft_mc._x = 245;
levelup = 1;
keepscore = 1;
scorekeep = 1;
floorspeed = 4;
startspeed = 4;
buffer = 100;
max_buffer = 100;
letter_speed = 2;
letter_spawn_y = 460;
letter_remove = -50;
letter_score = 0;
base_bonus = 100;
bonus_mp = 1;
spawn_score = 0;
base_spawn_score = 275;
letter_collect = 0;
letter_spawn_x_1 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_2 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_3 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_4 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_5 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_6 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_7 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_8 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_9 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_10 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_11 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_12 = Math.floor(Math.random() * 420) + 50;
letter_spawn_x_13 = Math.floor(Math.random() * 420) + 50;
_root.binary_collect = 0;
StageWidth = 520;
_root.craft_mc.swapDepths(1);
_root.craft_mc.swapDepths(_root.craft_mc);
_root.craft_mcspeed = 20;
_root.onEnterFrame = function () {
slow_motion();
craft_move();
makeFloors();
letters_collect();
};
Instance of Symbol 213 MovieClip "bottom_bar" in Frame 11
onClipEvent (load) {
this.swapDepths(2);
}
Instance of Symbol 256 MovieClip "letter_collect_mc" in Frame 11
onClipEvent (load) {
this.swapDepths(5);
}
Instance of Symbol 260 MovieClip "score_level" in Frame 11
onClipEvent (load) {
this.swapDepths(3);
}
Instance of Symbol 266 MovieClip "buffer_bar_mc" in Frame 11
onClipEvent (load) {
this.swapDepths(4);
}
Instance of Symbol 142 MovieClip "firewall_mc" in Frame 11
onClipEvent (load) {
this.swapDepths(6);
}
Instance of Symbol 306 MovieClip "post_game" in Frame 11
onClipEvent (load) {
this.swapDepths(1000);
}
Frame 12
stop();
Symbol 32 MovieClip Frame 1
stop();
Symbol 35 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
Symbol 39 Button
on (release) {
gotoAndPlay (3);
}
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 2
stop();
Symbol 40 MovieClip Frame 75
stop();
_root.intro.visible = true;
_root.gotoAndStop("intro");
_root.intro.play;
Symbol 44 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
Symbol 54 MovieClip Frame 315
stop();
_root.gotoAndPlay("menu_trans");
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 21
_root.gotoAndStop("main");
gotoAndStop (1);
Symbol 61 MovieClip Frame 43
gotoAndStop (1);
Symbol 64 MovieClip Frame 1
play();
Symbol 64 MovieClip Frame 20
gotoAndPlay (1);
Symbol 67 MovieClip Frame 224
gotoAndPlay (14);
Symbol 74 MovieClip Frame 60
gotoAndPlay (1);
Symbol 77 Button
on (release) {
if (music_on == true) {
if (playing == true) {
_root.menu_music.stop();
playing = false;
}
}
gotoAndStop ("menu_2");
_root.pre_game_1.gotoAndPlay(2);
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 80 Button
on (release) {
gotoAndStop ("menu_2");
_root.menu_instructions.gotoAndPlay(2);
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 83 Button
on (release) {
gotoAndStop ("menu_2");
_root.menu_options.gotoAndPlay(2);
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 86 Button
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
on (release) {
gotoAndStop ("menu_2");
_root.highscores.gotoAndPlay(2);
}
Symbol 89 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 92 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 95 Button
on (release) {
gotoAndStop ("menu_2");
_root.credits.gotoAndPlay(2);
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 104 Button
on (release) {
_quality = "LOW";
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndStop(4);
}
Symbol 107 Button
on (release) {
_quality = "MEDIUM";
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndStop(4);
}
Symbol 110 Button
on (release) {
_quality = "HIGH";
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndStop(4);
}
Symbol 113 Button
on (release) {
gotoAndPlay (42);
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 116 Button
on (release) {
_root.music_on = true;
if (_root.music_on == true) {
if (_root.playing == false) {
_root.menu_music.start(0, 999);
_root.playing = true;
}
}
trace(_root.music_on);
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndStop(4);
}
Symbol 119 Button
on (release) {
_root.music_on = false;
_root.menu_music.stop();
_root.playing = false;
trace(_root.music_on);
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndStop(4);
}
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 41
stop();
Symbol 126 MovieClip Frame 81
_root.gotoAndStop("menu_1");
Symbol 129 Button
on (release) {
gotoAndPlay (42);
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 14
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 14
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 41
stop();
Symbol 151 MovieClip Frame 81
_root.gotoAndStop("menu_1");
Symbol 153 Button
on (release) {
gotoAndPlay (42);
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 156 Button
on (release) {
getURL ("http://www.pixelpopulace.com/highscores/firewall_scores.php", "_blank");
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 21
_root.getScores();
Symbol 189 MovieClip Frame 41
stop();
Symbol 189 MovieClip Frame 81
_root.gotoAndStop("menu_1");
Symbol 191 Button
on (release) {
gotoAndPlay (42);
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 196 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
Symbol 199 Button
on (release) {
getURL ("http://myspace.com/dunkerfool", "_blank");
}
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 41
stop();
Symbol 200 MovieClip Frame 81
_root.gotoAndStop("menu_1");
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
gotoAndStop (1);
Symbol 209 MovieClip Frame 3
gotoAndPlay (1);
Symbol 211 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
Symbol 235 MovieClip Frame 90
_root.gotoAndPlay("game_start");
gotoAndStop (1);
Symbol 237 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip "zero_mc" in Symbol 261 MovieClip Frame 1
onClipEvent (load) {
function reset() {
this._x = Math.floor(Math.random() * 490) + 10;
this._y = 460;
binary_speed_zero = (Math.random() * 7) + 3;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y - binary_speed_zero;
if (this._y < -15) {
reset();
}
if (this.hitTest(_root.craft_mc)) {
_root.binary_collect = _root.binary_collect + 1;
reset();
}
if (this._y < 25) {
this.play();
}
}
Instance of Symbol 145 MovieClip "one_mc" in Symbol 261 MovieClip Frame 1
onClipEvent (load) {
function reset() {
this._x = Math.floor(Math.random() * 490) + 10;
this._y = 460;
binary_speed_zero = (Math.random() * 7) + 3;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y - binary_speed_zero;
if (this._y < -15) {
reset();
}
if (this.hitTest(_root.craft_mc)) {
_root.binary_collect = _root.binary_collect + 1;
reset();
}
if (this._y < 25) {
this.play();
}
}
Symbol 266 MovieClip Frame 1
stop();
Symbol 279 Button
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
on (release) {
action = "insert";
userName = this._parent.post_game.player_name.text;
myScore = _root.total_score;
loadVariablesNum ("addScore.php", 1, "POST");
}
Symbol 287 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
Symbol 298 Button
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
on (release) {
action = "insert";
userName = this._parent.post_game.player_name.text;
myScore = _root.total_score;
loadVariablesNum (_root.kk, 1, "POST");
gotoAndPlay (64);
}
Symbol 299 Button
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
on (release) {
if (_root.music_on == true) {
if (_root.playing == true) {
_root.menu_music.stop();
_root.playing = false;
}
}
_root.post_game_trans.gotoAndPlay(22);
_root.reset();
}
Symbol 300 Button
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
on (release) {
_root.post_game_trans.gotoAndPlay(2);
_root.reset();
}
Symbol 305 Button
on (rollOver) {
_root.sound_fx.gotoAndPlay(2);
}
on (press) {
_root.sound_fx.gotoAndPlay(3);
}
on (release) {
if (_root.music_on == true) {
if (_root.playing == true) {
_root.menu_music.stop();
_root.playing = false;
}
}
_root.post_game_trans.gotoAndPlay(22);
_root.reset();
}
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
_root.game_music.stop();
if (_root.music_on == true) {
_root.game_over.start(0, 0);
}
Symbol 306 MovieClip Frame 63
stop();
if (_root.music_on == true) {
if (_root.playing == false) {
_root.menu_music.start(0, 999);
_root.playing = true;
}
}
Symbol 306 MovieClip Frame 83
_root.getScores2();
Symbol 306 MovieClip Frame 104
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 21
_root.post_game.gotoAndStop(1);
_root.gotoAndPlay("menu_trans");
gotoAndStop (1);
Symbol 308 MovieClip Frame 41
_root.post_game.gotoAndStop(1);
_root.gotoAndPlay("clear");
gotoAndStop (1);
Symbol 313 Button
on (release) {
getURL ("http://www.pixelpopulace.com/free_games.html", "_blank");
}