Frame 1
_root.sound.swapDepths(50005);
_root.characters_new = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
_root.easy_levels = new Array(2, 1, 1, 1, 1, 1, 1, 1, 1);
_root.medium_levels = new Array(2, 1, 1, 1, 1, 1, 1, 1, 1);
_root.hard_levels = new Array(2, 1, 1, 1, 1, 1, 1, 1, 1);
_root.last_skin_used = 1;
_root.total_stats = 0;
var savefile = SharedObject.getLocal("sdf");
_root.first_time_playing = savefile.data.save_first_time_playing;
if (_root.first_time_playing != false) {
_root.won_ten = false;
_root.won_twenty = false;
_root.won_thirty = false;
_root.won_fourty = false;
_root.won_fifty = false;
_root.played_the_game = false;
_root.total_stats = 0;
_root.first_time_playing = false;
_root.characters_new = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
_root.instructions;
_root.high_score = 0;
_root.newstattrue;
_root.newskintrue;
_root.newspecialtrue;
_root.specialone_selected = false;
_root.specialtwo_selected = false;
_root.specialthree_selected = false;
_root.specialfour_selected = false;
_root.first_time_playing = false;
_root.easy_levels = new Array(2, 1, 1, 1, 1, 1, 1, 1, 1);
_root.medium_levels = new Array(2, 1, 1, 1, 1, 1, 1, 1, 1);
_root.hard_levels = new Array(2, 1, 1, 1, 1, 1, 1, 1, 1);
_root.skins_unlocked = 1;
_root.last_skin_used = 1;
_root.unused_stats = 0;
_root.speed_stat = 1;
_root.size_stat = 1;
_root.special_stat = 1;
_root.specialone = true;
_root.specialtwo = false;
_root.specialthree = false;
_root.specialfour = false;
_root.high_score = 0;
} else {
_root.high_score = savefile.data.save_high_score;
_root.one_percent = savefile.data.save_one_percent;
_root.two_percent = savefile.data.save_two_percent;
_root.three_percent = savefile.data.save_three_percent;
_root.specialtwo = savefile.data.save_specialtwo;
_root.specialthree = savefile.data.save_specialthree;
_root.specialfour = savefile.data.save_specialfour;
_root.skins_unlocked = savefile.data.save_skins_unlocked;
_root.total_stats = savefile.data.save_total_stats;
_root.easy_levels[0] = savefile.data.save_easy_0;
_root.easy_levels[1] = savefile.data.save_easy_1;
_root.easy_levels[2] = savefile.data.save_easy_2;
_root.easy_levels[3] = savefile.data.save_easy_3;
_root.easy_levels[4] = savefile.data.save_easy_4;
_root.easy_levels[5] = savefile.data.save_easy_5;
_root.easy_levels[6] = savefile.data.save_easy_6;
_root.easy_levels[7] = savefile.data.save_easy_7;
_root.easy_levels[8] = savefile.data.save_easy_8;
_root.easy_levels[9] = savefile.data.save_easy_9;
_root.medium_levels[0] = savefile.data.save_medium_0;
_root.medium_levels[1] = savefile.data.save_medium_1;
_root.medium_levels[2] = savefile.data.save_medium_2;
_root.medium_levels[3] = savefile.data.save_medium_3;
_root.medium_levels[4] = savefile.data.save_medium_4;
_root.medium_levels[5] = savefile.data.save_medium_5;
_root.medium_levels[6] = savefile.data.save_medium_6;
_root.medium_levels[7] = savefile.data.save_medium_7;
_root.medium_levels[8] = savefile.data.save_medium_8;
_root.medium_levels[9] = savefile.data.save_medium_9;
_root.hard_levels[0] = savefile.data.save_hard_0;
_root.hard_levels[1] = savefile.data.save_hard_1;
_root.hard_levels[2] = savefile.data.save_hard_2;
_root.hard_levels[3] = savefile.data.save_hard_3;
_root.hard_levels[4] = savefile.data.save_hard_4;
_root.hard_levels[5] = savefile.data.save_hard_5;
_root.hard_levels[6] = savefile.data.save_hard_6;
_root.hard_levels[7] = savefile.data.save_hard_7;
_root.hard_levels[8] = savefile.data.save_hard_8;
_root.hard_levels[9] = savefile.data.save_hard_9;
_root.characters_new[1] = savefile.data.save_characters_new_1;
_root.characters_new[2] = savefile.data.save_characters_new_2;
_root.characters_new[3] = savefile.data.save_characters_new_3;
_root.characters_new[4] = savefile.data.save_characters_new_4;
_root.characters_new[5] = savefile.data.save_characters_new_5;
_root.characters_new[6] = savefile.data.save_characters_new_6;
_root.characters_new[7] = savefile.data.save_characters_new_7;
_root.characters_new[8] = savefile.data.save_characters_new_8;
_root.characters_new[9] = savefile.data.save_characters_new_9;
_root.characters_new[10] = savefile.data.save_characters_new_10;
_root.characters_new[11] = savefile.data.save_characters_new_11;
_root.characters_new[12] = savefile.data.save_characters_new_12;
_root.characters_new[13] = savefile.data.save_characters_new_13;
_root.characters_new[14] = savefile.data.save_characters_new_14;
_root.characters_new[15] = savefile.data.save_characters_new_15;
_root.characters_new[16] = savefile.data.save_characters_new_16;
_root.characters_new[17] = savefile.data.save_characters_new_17;
_root.won_ten = savefile.data.save_won_ten;
_root.won_twenty = savefile.data.save_won_twenty;
_root.won_thirty = savefile.data.save_won_thirty;
_root.won_fourty = savefile.data.save_won_fourty;
_root.won_fifty = savefile.data.save_won_fifty;
_root.played_the_game = savefile.data.save_played_the_game;
}
_root.speed_stat = 1;
_root.size_stat = 1;
_root.special_stat = 1;
_root.unused_stats = _root.total_stats;
Frame 2
stop();
Frame 3
stop();
if (_root.played_the_game) {
_root.cont.gotoAndStop(2);
}
Frame 4
stop();
if (_root.ingame) {
_root.characters_new[_root.last_skin_used] = 2;
}
if (_root.high_score <= 0) {
_root.high_score = 0;
}
_root.played_the_game = true;
if (_root.display_character_win) {
_root.display_character_win = false;
_root.display_mc.gotoAndStop(2);
}
_root.difficulty_easy;
_root.difficulty_medium;
_root.difficulty_hard;
p = 0;
z = 0;
while (z <= 9) {
if (_root.easy_levels[z] == 3) {
p++;
}
z++;
}
if (_root.easy_levels[0] != 3) {
_root.one_percent = "0%";
} else {
_root.one_percent = Math.floor((p / 9) * 100);
_root.mountain.gotoAndStop(_root.one_percent);
_root.one_percent = _root.one_percent + "%";
}
p = 0;
z = 0;
while (z <= 9) {
if (_root.medium_levels[z] == 3) {
p++;
}
z++;
}
if (_root.medium_levels[0] != 3) {
_root.two_percent = "0%";
} else {
_root.two_percent = Math.floor((p / 9) * 100);
_root.space.gotoAndStop(_root.two_percent);
_root.two_percent = _root.two_percent + "%";
}
p = 0;
z = 0;
while (z <= 9) {
if (_root.hard_levels[z] == 3) {
p++;
}
z++;
}
if (_root.hard_levels[0] != 3) {
_root.three_percent = "0%";
} else {
_root.three_percent = Math.floor((p / 9) * 100);
_root.volcano.gotoAndStop(_root.three_percent);
_root.three_percent = _root.three_percent + "%";
}
savefile.data.save_high_score = _root.high_score;
savefile.data.save_one_percent = _root.one_percent;
savefile.data.save_two_percent = _root.two_percent;
savefile.data.save_three_percent = _root.three_percent;
savefile.data.save_first_time_playing = _root.first_time_playing;
savefile.data.save_specialtwo = _root.specialtwo;
savefile.data.save_specialthree = _root.specialthree;
savefile.data.save_specialfour = _root.specialfour;
savefile.data.save_skins_unlocked = _root.skins_unlocked;
savefile.data.save_total_stats = _root.total_stats;
savefile.data.save_easy_0 = _root.easy_levels[0];
savefile.data.save_easy_1 = _root.easy_levels[1];
savefile.data.save_easy_2 = _root.easy_levels[2];
savefile.data.save_easy_3 = _root.easy_levels[3];
savefile.data.save_easy_4 = _root.easy_levels[4];
savefile.data.save_easy_5 = _root.easy_levels[5];
savefile.data.save_easy_6 = _root.easy_levels[6];
savefile.data.save_easy_7 = _root.easy_levels[7];
savefile.data.save_easy_8 = _root.easy_levels[8];
savefile.data.save_easy_9 = _root.easy_levels[9];
savefile.data.save_medium_0 = _root.medium_levels[0];
savefile.data.save_medium_1 = _root.medium_levels[1];
savefile.data.save_medium_2 = _root.medium_levels[2];
savefile.data.save_medium_3 = _root.medium_levels[3];
savefile.data.save_medium_4 = _root.medium_levels[4];
savefile.data.save_medium_5 = _root.medium_levels[5];
savefile.data.save_medium_6 = _root.medium_levels[6];
savefile.data.save_medium_7 = _root.medium_levels[7];
savefile.data.save_medium_8 = _root.medium_levels[8];
savefile.data.save_medium_9 = _root.medium_levels[9];
savefile.data.save_hard_0 = _root.hard_levels[0];
savefile.data.save_hard_1 = _root.hard_levels[1];
savefile.data.save_hard_2 = _root.hard_levels[2];
savefile.data.save_hard_3 = _root.hard_levels[3];
savefile.data.save_hard_4 = _root.hard_levels[4];
savefile.data.save_hard_5 = _root.hard_levels[5];
savefile.data.save_hard_6 = _root.hard_levels[6];
savefile.data.save_hard_7 = _root.hard_levels[7];
savefile.data.save_hard_8 = _root.hard_levels[8];
savefile.data.save_hard_9 = _root.hard_levels[9];
savefile.data.save_characters_new_1 = _root.characters_new[1];
savefile.data.save_characters_new_2 = _root.characters_new[2];
savefile.data.save_characters_new_3 = _root.characters_new[3];
savefile.data.save_characters_new_4 = _root.characters_new[4];
savefile.data.save_characters_new_5 = _root.characters_new[5];
savefile.data.save_characters_new_6 = _root.characters_new[6];
savefile.data.save_characters_new_7 = _root.characters_new[7];
savefile.data.save_characters_new_8 = _root.characters_new[8];
savefile.data.save_characters_new_9 = _root.characters_new[9];
savefile.data.save_characters_new_10 = _root.characters_new[10];
savefile.data.save_characters_new_11 = _root.characters_new[11];
savefile.data.save_characters_new_12 = _root.characters_new[12];
savefile.data.save_characters_new_13 = _root.characters_new[13];
savefile.data.save_characters_new_14 = _root.characters_new[14];
savefile.data.save_characters_new_15 = _root.characters_new[15];
savefile.data.save_characters_new_16 = _root.characters_new[16];
savefile.data.save_characters_new_17 = _root.characters_new[17];
savefile.data.save_won_ten = _root.won_ten;
savefile.data.save_won_twenty = _root.won_twenty;
savefile.data.save_won_thirty = _root.won_thirty;
savefile.data.save_won_fourty = _root.won_fourty;
savefile.data.save_won_fifty = _root.won_fifty;
savefile.data.save_played_the_game = _root.played_the_game;
file.flush();
Instance of Symbol 74 MovieClip "a1" in Frame 4
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 74 MovieClip "a2" in Frame 4
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 74 MovieClip "a3" in Frame 4
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 74 MovieClip "a4" in Frame 4
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 5
stop();
_root.back = 5;
Instance of Symbol 74 MovieClip "background" in Frame 5
onClipEvent (load) {
if (_root.difficulty_easy) {
this.gotoAndStop(1);
} else if (_root.difficulty_medium) {
this.gotoAndStop(2);
} else if (_root.difficulty_hard) {
this.gotoAndStop(3);
}
if (_root.score_attack) {
this.gotoAndStop(4);
}
}
Instance of Symbol 134 MovieClip in Frame 5
onClipEvent (load) {
level = 0;
if (_root.difficulty_easy) {
this.win_icon.gotoAndStop(1);
this.gotoAndStop(_root.easy_levels[level]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[level]);
this.win_icon.gotoAndStop(2);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[level]);
this.win_icon.gotoAndStop(3);
}
}
Instance of Symbol 134 MovieClip in Frame 5
onClipEvent (load) {
level = 1;
if (_root.difficulty_easy) {
this.win_icon.gotoAndStop(4);
this.gotoAndStop(_root.easy_levels[level]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[level]);
this.win_icon.gotoAndStop(5);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[level]);
this.win_icon.gotoAndStop(6);
}
}
Instance of Symbol 134 MovieClip in Frame 5
onClipEvent (load) {
level = 2;
if (_root.difficulty_easy) {
this.win_icon.gotoAndStop(7);
this.gotoAndStop(_root.easy_levels[level]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[level]);
this.win_icon.gotoAndStop(8);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[level]);
this.win_icon.gotoAndStop(9);
}
}
Instance of Symbol 134 MovieClip in Frame 5
onClipEvent (load) {
level = 3;
if (_root.difficulty_easy) {
this.win_icon.gotoAndStop(10);
this.gotoAndStop(_root.easy_levels[level]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[level]);
this.win_icon.gotoAndStop(11);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[level]);
this.win_icon.gotoAndStop(12);
}
}
Instance of Symbol 134 MovieClip in Frame 5
onClipEvent (load) {
level = 4;
if (_root.difficulty_easy) {
this.win_icon.gotoAndStop(13);
this.gotoAndStop(_root.easy_levels[level]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[level]);
this.win_icon.gotoAndStop(14);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[level]);
this.win_icon.gotoAndStop(15);
}
}
Instance of Symbol 134 MovieClip in Frame 5
onClipEvent (load) {
level = 5;
if (_root.difficulty_easy) {
this.win_icon.gotoAndStop(16);
this.gotoAndStop(_root.easy_levels[level]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[level]);
this.win_icon.gotoAndStop(17);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[level]);
this.win_icon.gotoAndStop(18);
}
}
Instance of Symbol 134 MovieClip in Frame 5
onClipEvent (load) {
level = 6;
if (_root.difficulty_easy) {
this.win_icon.gotoAndStop(19);
this.gotoAndStop(_root.easy_levels[level]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[level]);
this.win_icon.gotoAndStop(20);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[level]);
this.win_icon.gotoAndStop(21);
}
}
Instance of Symbol 134 MovieClip in Frame 5
onClipEvent (load) {
level = 7;
if (_root.difficulty_easy) {
this.win_icon.gotoAndStop(22);
this.gotoAndStop(_root.easy_levels[level]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[level]);
this.win_icon.gotoAndStop(23);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[level]);
this.win_icon.gotoAndStop(24);
}
}
Instance of Symbol 134 MovieClip in Frame 5
onClipEvent (load) {
level = 8;
if (_root.difficulty_easy) {
this.win_icon.gotoAndStop(25);
this.gotoAndStop(_root.easy_levels[level]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[level]);
this.win_icon.gotoAndStop(26);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[level]);
this.win_icon.gotoAndStop(27);
}
}
Frame 6
stop();
_root.win_icon.win_icon.gotoAndStop(_root.icon_to_display);
_root.ingame;
_root.unused_stats;
_root.total_stats;
_root.what_you_win_amount;
_root.skins_unlocked;
_root.newskintruetwo;
_root.skins_txt = (_root.last_skin_used + " / ") + _root.skins_unlocked;
if (_root.specialone_selected) {
_root.specials_select.gotoAndStop(1);
} else if (_root.specialtwo_selected) {
_root.specials_select.gotoAndStop(2);
} else if (_root.specialthree_selected) {
_root.specials_select.gotoAndStop(3);
} else if (_root.specialfour_selected) {
_root.specials_select.gotoAndStop(4);
}
if (_root.difficulty_easy) {
if (_root.icon_to_display == 1) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 3;
} else if (_root.icon_to_display == 4) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 6;
} else if (_root.icon_to_display == 7) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 9;
_root.button_lock.gotoAndStop(2);
} else if (_root.icon_to_display == 10) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 12;
} else if (_root.icon_to_display == 13) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 15;
} else if (_root.icon_to_display == 16) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 18;
} else if (_root.icon_to_display == 19) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 21;
} else if (_root.icon_to_display == 22) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 24;
} else if (_root.icon_to_display == 25) {
_root.unlock_what_txt = "NEW SPECIAL";
_root.instructions = 27;
}
}
if (_root.difficulty_medium) {
if (_root.icon_to_display == 2) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 5;
} else if (_root.icon_to_display == 5) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 10;
} else if (_root.icon_to_display == 8) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 15;
} else if (_root.icon_to_display == 11) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 20;
_root.button_lock.gotoAndStop(2);
} else if (_root.icon_to_display == 14) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 25;
} else if (_root.icon_to_display == 17) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 30;
} else if (_root.icon_to_display == 20) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 35;
} else if (_root.icon_to_display == 23) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 40;
} else if (_root.icon_to_display == 26) {
_root.unlock_what_txt = "NEW SPECIAL";
_root.instructions = 45;
}
}
if (_root.difficulty_hard) {
if (_root.icon_to_display == 3) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 5;
} else if (_root.icon_to_display == 6) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 10;
} else if (_root.icon_to_display == 9) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 15;
_root.button_lock.gotoAndStop(2);
} else if (_root.icon_to_display == 12) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 20;
} else if (_root.icon_to_display == 15) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 25;
_root.button_lock.gotoAndStop(2);
} else if (_root.icon_to_display == 18) {
_root.unlock_what_txt = "NEW SKIN";
_root.instructions = 30;
} else if (_root.icon_to_display == 21) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 35;
} else if (_root.icon_to_display == 24) {
_root.unlock_what_txt = "STAT POINT";
_root.instructions = 40;
} else if (_root.icon_to_display == 27) {
_root.unlock_what_txt = "NEW SPECIAL";
_root.instructions = 45;
}
}
if (_root.score_attack) {
_root.instructions = _root.high_score;
_root.score_attack_mc.gotoAndStop(2);
_root.info = "HIGHSCORE";
} else {
_root.info = "POINTS TO WIN";
_root.score_attack_mc.gotoAndStop(1);
}
if (_root.unlock_what_txt == "STAT POINT") {
_root.completion_mc.gotoAndStop(3);
} else if (_root.unlock_what_txt == "NEW SPECIAL") {
_root.completion_mc.gotoAndStop(2);
} else if (_root.unlock_what_txt == "NEW SKIN") {
_root.completion_mc.gotoAndStop(4);
}
if (_root.difficulty_easy) {
if (_root.easy_levels[_root.easy_selected] == 3) {
_root.completion_mc.gotoAndStop(1);
}
} else if (_root.difficulty_medium) {
if (_root.medium_levels[_root.medium_selected] == 3) {
_root.completion_mc.gotoAndStop(1);
}
} else if (_root.difficulty_hard) {
if (_root.hard_levels[_root.hard_selected] == 3) {
_root.completion_mc.gotoAndStop(1);
}
}
if (_root.score_attack) {
_root.completion_mc.gotoAndStop(2);
}
Instance of Symbol 134 MovieClip "win_icon" in Frame 6
onClipEvent (load) {
if (_root.difficulty_easy) {
this.gotoAndStop(_root.easy_levels[_root.easy_selected]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[_root.medium_selected]);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[_root.hard_selected]);
}
if (_root.easy_levels[_root.easy_selected] == 3) {
_root.unlock_what_txt = "COMPLETED";
}
if (_root.medium_levels[_root.medium_selected] == 3) {
_root.unlock_what_txt = "COMPLETED";
}
if (_root.hard_levels[_root.hard_selected] == 3) {
_root.unlock_what_txt = "COMPLETED";
}
}
Instance of Symbol 167 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mouse._x, _root.mouse._y)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 168 MovieClip "mouse" in Frame 6
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Instance of Symbol 167 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mouse._x, _root.mouse._y)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 167 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mouse._x, _root.mouse._y)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 209 MovieClip "hero_inside" in Frame 6
onClipEvent (load) {
if (_root.size_stat == 1) {
this._xscale = 50;
this._yscale = 50;
}
if (_root.size_stat == 2) {
this._xscale = 70;
this._yscale = 70;
}
if (_root.size_stat == 3) {
this._xscale = 90;
this._yscale = 90;
}
if (_root.size_stat == 4) {
this._xscale = 110;
this._yscale = 110;
}
if (_root.size_stat == 5) {
this._xscale = 130;
this._yscale = 130;
}
this.gotoAndStop(_root.last_skin_used);
}
onClipEvent (enterFrame) {
if (_root.size_stat == 1) {
this._xscale = 50;
this._yscale = 50;
}
if (_root.size_stat == 2) {
this._xscale = 70;
this._yscale = 70;
}
if (_root.size_stat == 3) {
this._xscale = 90;
this._yscale = 90;
}
if (_root.size_stat == 4) {
this._xscale = 110;
this._yscale = 110;
}
if (_root.size_stat == 5) {
this._xscale = 130;
this._yscale = 130;
}
}
Instance of Symbol 237 MovieClip in Frame 6
onClipEvent (load) {
this.stat = "size_stat";
this.gotoAndStop(_root.size_stat);
}
Instance of Symbol 237 MovieClip in Frame 6
onClipEvent (load) {
this.stat = "special_stat";
this.gotoAndStop(_root.special_stat);
}
Instance of Symbol 261 MovieClip "specials_select" in Frame 6
onClipEvent (load) {
if (_root.specialone_selected) {
this.gotoAndStop(1);
} else if (_root.specialtwo_selected) {
this.gotoAndStop(2);
} else if (_root.specialthree_selected) {
this.gotoAndStop(3);
} else if (_root.specialfour_selected) {
this.gotoAndStop(4);
}
}
Instance of Symbol 264 MovieClip in Frame 6
onClipEvent (load) {
if (_root.newspecialtrue == true) {
_root.newspecialtrue = false;
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 237 MovieClip in Frame 6
onClipEvent (load) {
this.stat = "speed_stat";
this.gotoAndStop(_root.speed_stat);
if (_root.unused_stats <= 0) {
_root.unused = 0;
} else {
_root.unused = _root.unused_stats;
}
}
onClipEvent (enterFrame) {
if (_root.unused_stats <= 0) {
_root.unused = 0;
} else {
_root.unused = _root.unused_stats;
}
}
Instance of Symbol 264 MovieClip in Frame 6
onClipEvent (load) {
if (_root.newskintruetwo == true) {
_root.newskintruetwo = false;
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 264 MovieClip in Frame 6
onClipEvent (load) {
if (_root.newstattrue == true) {
_root.newstattrue = false;
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 296 MovieClip "onesa" in Frame 6
onClipEvent (load) {
function d() {
_root.score_hundreds = Math.floor(_root.instructions / 100);
_root.score_tens = Math.floor((_root.instructions - (_root.score_hundreds * 100)) / 10);
_root.score_ones = Math.floor((_root.instructions - (_root.score_tens * 10)) - (_root.score_hundreds * 100));
_root.onesa.gotoAndStop(_root.score_ones + 1);
_root.tensa.gotoAndStop(_root.score_tens + 1);
_root.hundredsa.gotoAndStop(_root.score_hundreds + 1);
}
d();
}
onClipEvent (enterFrame) {
d();
}
Frame 7
stop();
_root.wallspeed = 100;
_root.gonow = false;
_root.times_up = false;
_root.dot_race = false;
_root.dot_race_time;
_root.specialone_go = false;
_root.specialthree_go = false;
_root.specialfour_go = false;
_root.explosion_number = 1;
_root.flame_hitnumber = 1;
_root.finished_level = false;
_root.nextsparkleDepth = 20;
_root.nextHighestDepth = 2000;
_root.baddiedeathDepth = 101;
_root.baddie_amount = 2;
_root.invincible = false;
_root.point = false;
_root.alldead = false;
_root.blue_dot.swapDepths(49999);
_root.end_window.swapDepths(50000);
_root.hundreds_race.swapDepths(49998);
_root.tens_race.swapDepths(49997);
_root.ones_race.swapDepths(49996);
_root.bar.swapDepths(49995);
_root.ones.swapDepths(49994);
_root.tens.swapDepths(49993);
_root.hundreds.swapDepths(49992);
_root.topbar.swapDepths(49991);
if (_root.size_stat == 1) {
_root.hero._xscale = 50;
_root.hero._yscale = 50;
xleft = 15;
xright = 485;
ytop = 75;
ybottom = 385;
}
if (_root.size_stat == 2) {
_root.hero._xscale = 70;
_root.hero._yscale = 70;
xleft = 20;
xright = 480;
ytop = 80;
ybottom = 380;
}
if (_root.size_stat == 3) {
_root.hero._xscale = 90;
_root.hero._yscale = 90;
xleft = 26;
xright = 474;
ytop = 86;
ybottom = 374;
}
if (_root.size_stat == 4) {
_root.hero._xscale = 110;
_root.hero._yscale = 110;
xleft = 32;
xright = 468;
ytop = 92;
ybottom = 368;
}
if (_root.size_stat == 5) {
_root.hero._xscale = 130;
_root.hero._yscale = 130;
xleft = 37;
xright = 463;
ytop = 98;
ybottom = 363;
}
if (_root.speed_stat == 1) {
_root.hero.speedfollow = 4;
} else if (_root.speed_stat == 2) {
_root.hero.speedfollow = 6;
} else if (_root.speed_stat == 3) {
_root.hero.speedfollow = 8;
} else if (_root.speed_stat == 4) {
_root.hero.speedfollow = 10;
} else if (_root.speed_stat == 5) {
_root.hero.speedfollow = 12;
}
if (_root.special_stat == 1) {
_root.bar.dark_bar.special_time = 7;
} else if (_root.special_stat == 2) {
_root.bar.dark_bar.special_time = 6;
} else if (_root.special_stat == 3) {
_root.bar.dark_bar.special_time = 5;
} else if (_root.special_stat == 4) {
_root.bar.dark_bar.special_time = 4;
} else if (_root.special_stat == 5) {
_root.bar.dark_bar.special_time = 3;
}
if (_root.difficulty_easy) {
if (_root.icon_to_display == 1) {
_root.score = 3;
} else if (_root.icon_to_display == 4) {
_root.score = 6;
} else if (_root.icon_to_display == 7) {
_root.dot_race = true;
_root.dot_race_time = 2;
_root.score = 9;
_root.bar.gotoAndStop(2);
} else if (_root.icon_to_display == 10) {
_root.score = 12;
} else if (_root.icon_to_display == 13) {
_root.score = 15;
} else if (_root.icon_to_display == 16) {
_root.score = 18;
} else if (_root.icon_to_display == 19) {
_root.score = 21;
} else if (_root.icon_to_display == 22) {
_root.score = 24;
} else if (_root.icon_to_display == 25) {
_root.score = 27;
}
}
if (_root.difficulty_medium) {
if (_root.icon_to_display == 2) {
_root.score = 5;
} else if (_root.icon_to_display == 5) {
_root.score = 10;
} else if (_root.icon_to_display == 8) {
_root.score = 15;
} else if (_root.icon_to_display == 11) {
_root.dot_race = true;
_root.dot_race_time = 2;
_root.score = 20;
_root.bar.gotoAndStop(2);
} else if (_root.icon_to_display == 14) {
_root.score = 25;
} else if (_root.icon_to_display == 17) {
_root.score = 30;
} else if (_root.icon_to_display == 20) {
_root.score = 35;
} else if (_root.icon_to_display == 23) {
_root.score = 40;
} else if (_root.icon_to_display == 26) {
_root.score = 45;
}
}
if (_root.difficulty_hard) {
if (_root.icon_to_display == 3) {
_root.score = 5;
} else if (_root.icon_to_display == 6) {
_root.score = 10;
} else if (_root.icon_to_display == 9) {
_root.dot_race = true;
_root.dot_race_time = 2;
_root.score = 15;
_root.bar.gotoAndStop(2);
} else if (_root.icon_to_display == 12) {
_root.score = 20;
} else if (_root.icon_to_display == 15) {
_root.dot_race = true;
_root.dot_race_time = 2;
_root.score = 25;
_root.bar.gotoAndStop(2);
} else if (_root.icon_to_display == 18) {
_root.score = 30;
} else if (_root.icon_to_display == 21) {
_root.score = 35;
} else if (_root.icon_to_display == 24) {
_root.score = 40;
} else if (_root.icon_to_display == 27) {
_root.score = 45;
}
}
if (_root.score_attack) {
_root.score = 0;
}
_root.score_hundreds = Math.floor(_root.score / 100);
_root.score_tens = Math.floor((_root.score - (_root.score_hundreds * 100)) / 10);
_root.score_ones = Math.floor((_root.score - (_root.score_tens * 10)) - (_root.score_hundreds * 100));
if ((((_root.specialone == false) && (_root.specialfour == false)) && (_root.specialtwo == false)) && (_root.specialthree == false)) {
_root.bar.gotoAndStop(2);
}
if (_root.dot_race) {
_root.hero.hero_inside.gotoAndStop(38);
_root.invincible = false;
} else {
_root.hero.hero_inside.gotoAndStop(_root.last_skin_used);
}
Instance of Symbol 300 MovieClip "hero" in Frame 7
onClipEvent (load) {
var speed = 7;
var speedfollow;
var dead = false;
var shake = 5;
var r = 15;
var dead_once = true;
this.swapDepths(10);
racer = 24;
_root.ones.gotoAndStop(_root.score_ones + 1);
_root.tens.gotoAndStop(_root.score_tens + 1);
_root.hundreds.gotoAndStop(_root.score_hundreds + 1);
}
onClipEvent (enterFrame) {
if (dead) {
if (p != true) {
p = true;
if ((_root.score > 0) || (_root.score_attack)) {
stopAllSounds();
_root.sound5.play();
}
}
}
this._x = this._x + ((_root.follow._x - this._x) / speed);
this._y = this._y + ((_root.follow._y - this._y) / speed);
if (dead != true) {
if (_x < _root.xleft) {
_x = _root.xleft;
}
if (_x > _root.xright) {
_x = _root.xright;
}
if (_y < _root.ytop) {
_y = _root.ytop;
}
if (_y > _root.ybottom) {
_y = _root.ybottom;
}
if (_root.score > 0) {
if (_root.dot_race) {
if (_root.times_up) {
dead = true;
}
}
}
if (this.hero_hit_blue.hitTest(_root.blue_dot)) {
_root.gonow = true;
_root.sound2.play();
_root.sound3.gotoAndStop(1);
_root.point = true;
if (_root.dot_race) {
_root.hero.hero_inside.timer.full_time._alpha = 100;
_root.hero.hero_inside.timer.full_time._rotation = 0;
_root.hero.hero_inside.timer.half_time._rotation = 0;
_root.hero.hero_inside.timer.half_time.half_time = false;
_root.hero.hero_inside.timer.full_time.gotoAndPlay(1);
_root.hero.hero_inside.timer.half_time.gotoAndPlay(1);
}
if ((_root.score > 0) || (_root.score_attack)) {
if (dead != true) {
(_root.score_attack ? (_root.score++) : (_root.score--));
_root.score_hundreds = Math.floor(_root.score / 100);
_root.score_tens = Math.floor((_root.score - (_root.score_hundreds * 100)) / 10);
_root.score_ones = Math.floor((_root.score - (_root.score_tens * 10)) - (_root.score_hundreds * 100));
}
}
this.gotoAndPlay(2);
_root.blue_dot.gotoAndPlay(1);
sparkle_number = 1;
while (sparkle_number <= 20) {
sparkle_number++;
_root.nextsparkleDepth++;
duplicateMovieClip (_root.sparkle, "sparkle" + _root.nextsparkleDepth, _root.nextsparkleDepth);
_root["sparkle" + _root.nextsparkleDepth]._x = _root.blue_dot._x;
_root["sparkle" + _root.nextsparkleDepth]._y = _root.blue_dot._y;
_root["sparkle" + _root.nextsparkleDepth].go = true;
}
do {
_root.blue_dot._x = random(460) + 20;
_root.blue_dot._y = random(300) + 70;
} while (_root.blue_dot.hitTest(_root.follow));
duplicateMovieClip (_root.baddie_1, "baddie_" + (_root.baddie_amount++), _root.nextHighestDepth++);
do {
_root["baddie_" + _root.baddie_amount]._x = random(460) + 20;
_root["baddie_" + _root.baddie_amount]._y = random(300) + 70;
} while (_root["baddie_" + _root.baddie_amount].hitTest(_root.follow));
}
}
if ((_root.score > 0) || (_root.score_attack)) {
if (dead) {
if (dead_once) {
dead_once = false;
dead_partical = 1;
while (dead_partical <= 20) {
_root.nextHighestDepth++;
duplicateMovieClip (_root.dead_partical, "dead_partical" + _root.nextHighestDepth, _root.nextHighestDepth);
_root["dead_partical" + _root.nextHighestDepth]._x = this._x;
_root["dead_partical" + _root.nextHighestDepth]._y = this._y;
_root["dead_partical" + _root.nextHighestDepth].go = true;
dead_partical++;
}
this._alpha = 0;
}
if (r <= 0) {
_root._x = 0;
_root.end_window.gotoAndStop(3);
this.removeMovieClip();
} else {
r--;
_root._x = _root._x + shake;
shake = shake * -1;
}
}
}
if ((_root.score <= 0) && (_root.score_attack == false)) {
if (this._alpha >= 0) {
_root.bar.dark_bar.clipper.gotoAndStop(1);
_root.finished_level = true;
this._alpha = this._alpha - 5;
}
}
_root.ones.gotoAndStop(_root.score_ones + 1);
_root.tens.gotoAndStop(_root.score_tens + 1);
_root.hundreds.gotoAndStop(_root.score_hundreds + 1);
if ((_root.score <= 0) && (_root.score_attack == false)) {
_root.end_window.gotoAndStop(2);
}
if ((_root.score > 0) || (_root.score_attack)) {
if (dead != true) {
if (Key.isDown(39)) {
_root.follow._x = _root.follow._x + speedfollow;
}
if (Key.isDown(37)) {
_root.follow._x = _root.follow._x - speedfollow;
}
if (Key.isDown(38)) {
_root.follow._y = _root.follow._y - speedfollow;
}
if (Key.isDown(40)) {
_root.follow._y = _root.follow._y + speedfollow;
}
}
}
if (_root.follow._x < _root.xleft) {
if (Key.isDown(38)) {
if (!Key.isDown(37)) {
_root.follow._x = _root.xleft;
}
}
if (Key.isDown(39)) {
if (!Key.isDown(37)) {
_root.follow._x = _root.xleft;
}
}
if (Key.isDown(40)) {
if (!Key.isDown(37)) {
_root.follow._x = _root.xleft;
}
}
}
if (_root.follow._x > _root.xright) {
if (Key.isDown(38)) {
if (!Key.isDown(39)) {
_root.follow._x = _root.xright;
}
}
if (Key.isDown(37)) {
if (!Key.isDown(39)) {
_root.follow._x = _root.xright;
}
}
if (Key.isDown(40)) {
if (!Key.isDown(39)) {
_root.follow._x = _root.xright;
}
}
}
if (_root.follow._y < _root.ytop) {
if (Key.isDown(37)) {
if (!Key.isDown(38)) {
_root.follow._y = _root.ytop;
}
}
if (Key.isDown(39)) {
if (!Key.isDown(38)) {
_root.follow._y = _root.ytop;
}
}
if (Key.isDown(40)) {
if (!Key.isDown(38)) {
_root.follow._y = _root.ytop;
}
}
}
if (_root.follow._y > _root.ybottom) {
if (Key.isDown(38)) {
if (!Key.isDown(40)) {
_root.follow._y = _root.ybottom;
}
}
if (Key.isDown(39)) {
if (!Key.isDown(40)) {
_root.follow._y = _root.ybottom;
}
}
if (Key.isDown(37)) {
if (!Key.isDown(40)) {
_root.follow._y = _root.ybottom;
}
}
}
if (_root.nextsparkleDepth >= 80) {
_root.nextsparkleDepth = 20;
}
if (_root.nextHighestDepth >= 4000) {
_root.nextHighestDepth = 2000;
}
if (_root.baddiedeathDepth >= 1000) {
_root.baddiedeathDepth = 101;
}
if (newxy) {
r--;
}
if (_root.invincible) {
if (_root.specialthree_selected) {
if (doonce_invincible == false) {
_root.square.removeMovieClip();
doonce_invincible = true;
if (newxy != true) {
r = 10;
newxy = true;
xxx = this._x;
yyy = this._y;
}
}
if (doonce_invincible) {
doonce_invincible = false;
_root.createEmptyMovieClip("square", _root.nextHighestDepth++);
if (asd != true) {
asd = true;
_root.square.removeMovieClip();
}
if (r == 5) {
ppp = this._x;
www = this._y;
}
if (r <= 0) {
r = 10;
xxx = ppp;
yyy = www;
}
_root.square.moveTo(this._x, this._y);
_root.square.lineStyle(40, 0, 0);
_root.square.lineTo(xxx, yyy);
}
}
} else {
doonce_invincible = true;
_root.square.removeMovieClip();
asd = false;
newxy = false;
}
if (_root.score_attack) {
if (_root.score > _root.high_score) {
_root.high_score = _root.score;
}
}
}
Instance of Symbol 312 MovieClip "baddie_1" in Frame 7
onClipEvent (load) {
harmless = false;
speedergo = false;
speeder = 5;
this._rotation = random(360);
var diff;
if (_root.difficulty_easy) {
this.gotoAndStop(1);
_root.topbar.gotoAndStop(1);
diff = 1;
} else if (_root.difficulty_medium) {
this.gotoAndStop(2);
_root.topbar.gotoAndStop(2);
diff = 2;
} else if (_root.difficulty_hard) {
this.gotoAndStop(3);
_root.topbar.gotoAndStop(3);
diff = 3;
}
if (_root.score_attack) {
this.gotoAndStop(4);
_root.topbar.gotoAndStop(4);
diff = 1;
}
var dead;
var done_dead = false;
this._alpha = 100;
var random_alpha = (random(3) + 2);
if (dead != true) {
var speed = 1;
if (diff != 1) {
speed = random(3) + 1;
}
var spd_hold = speed;
do {
this._x = random(460) + 20;
this._y = random(300) + 70;
} while (this.hitTest(_root.follow));
var x = false;
var y = false;
((random(2) == 0) ? ((x = true)) : ((y = true)));
if (random(2) == 0) {
speed = speed * -1;
}
this.swapDepths(_root.nextHighestDepth++);
} else {
speedt = 20;
((random(2) == 0) ? ((xtwo = this._x + random(100))) : ((xtwo = this._x - random(100))));
((random(2) == 0) ? ((ytwo = this._y + random(100))) : ((ytwo = this._y - random(100))));
}
var harmless = false;
var doonceice = false;
var explodeonce = true;
var doonceexplode = true;
var dead_go = false;
if (_root.score_attack) {
speed = 1;
if (_root.score >= 50) {
speed = random(3) + 1;
diff = 2;
this.score_mc_attack.gotoAndStop(2);
}
if (_root.score >= 100) {
speed = random(3) + 1;
diff = 3;
this.score_mc_attack.gotoAndStop(3);
}
if (_root.score >= 200) {
speed = random(3) + 2;
}
if (_root.score >= 300) {
speed = random(3) + 3;
}
if (_root.score >= 400) {
speed = random(3) + 4;
}
}
}
onClipEvent (enterFrame) {
if (_root.alldead) {
this.removeMovieClip();
}
if (harmless) {
this.ice._alpha = this.ice._alpha - 1E-10;
if (this.ice._alpha <= 0) {
harmless = false;
doonceice = false;
speed = spd_hold;
}
} else {
explodeonce = true;
}
if (dead != true) {
if (diff != 3) {
if (x) {
this._x = this._x + speed;
if (this._x <= 15) {
this._x = 15;
speed = speed * -1;
}
if (this._x >= 485) {
this._x = 485;
speed = speed * -1;
}
}
if (y) {
this._y = this._y + speed;
if (this._y < 70) {
this._y = 70;
speed = speed * -1;
}
if (this._y > 385) {
this._y = 385;
speed = speed * -1;
}
}
} else {
if (x) {
this._x = this._x + speed;
if (this._x < -10) {
this._x = 510;
}
if (this._x > 510) {
this._x = -10;
}
}
if (y) {
this._y = this._y + speed;
if (this._y < 50) {
this._y = 410;
}
if (this._y > 410) {
this._y = 50;
}
}
}
if (_root.specialthree_selected) {
if (_root.square.hitTest(this._x, this._y, true)) {
done_dead = true;
}
}
if (_root.specialfour_go) {
zz = 1;
while (zz <= _root.explosion_number) {
zz++;
if (this.hitTest(_root["explosion" + zz])) {
dead_go = true;
}
}
}
if ((this.hitTest(_root.hero.hero_hit) || (done_dead)) || (dead_go)) {
if (_root.invincible == false) {
if (_root.finished_level == false) {
if (harmless == false) {
_root.hero.dead = true;
}
}
}
if (_root.dot_race) {
_root.hero.dead = true;
}
if (_root.specialfour_selected) {
if (_root.specialfour_go) {
if (doonceexplode) {
if (dead_go == false) {
doonceexplode = false;
_root.explosion_number++;
duplicateMovieClip (_root.explosion, "explosion" + _root.explosion_number, _root.nextHighestDepth++);
_root["explosion" + _root.explosion_number]._x = this._x;
_root["explosion" + _root.explosion_number]._y = this._y;
}
}
}
}
if (_root.invincible) {
if (rrr != true) {
rrr = true;
_root.sound.play();
}
if (_root.specialone_selected) {
if (doonceice == false) {
this.ice._alpha = 100;
doonceice = true;
spd_hold = speed;
speed = 0;
this.ice.gotoAndStop(2);
harmless = true;
}
}
if (harmless == false) {
dead = true;
}
if (explodeonce) {
explodeonce = false;
j = 1;
while (j <= 3) {
j++;
_root.baddiedeathDepth++;
duplicateMovieClip (this, "baddie_dead" + _root.baddiedeathDepth, _root.baddiedeathDepth);
_root["baddie_dead" + _root.baddiedeathDepth].dead = true;
_root["baddie_dead" + _root.baddiedeathDepth]._x = this._x;
_root["baddie_dead" + _root.baddiedeathDepth]._y = this._y;
_root["baddie_dead" + _root.baddiedeathDepth]._xscale = 60;
_root["baddie_dead" + _root.baddiedeathDepth]._yscale = 60;
_root.baddiedeathDepth++;
duplicateMovieClip (_root.debri, "debri" + _root.baddiedeathDepth, _root.baddiedeathDepth);
_root["debri" + _root.baddiedeathDepth]._x = this._x;
_root["debri" + _root.baddiedeathDepth]._y = this._y;
_root["debri" + _root.baddiedeathDepth].go = true;
}
if (harmless == false) {
if (this._name != "baddie_1") {
(this.removeMovieClip());// not popped
} else {
(this.gotoAndStop(5));// not popped
}
}
}
}
}
}
if (dead) {
this._x = this._x + ((xtwo - this._x) / speedt);
this._y = this._y + ((ytwo - this._y) / speedt);
if (this._name != "baddie_1") {
((this._alpha <= 0) ? (this.removeMovieClip()) : ((this._alpha = this._alpha - random_alpha)));
}
}
if (_root.follow2.hitTest(_x, _y, true)) {
if (speedergo == false) {
speedergo = true;
_root.hero2.gonowok = false;
if (_root.hero2._x >= this._x) {
moveright = true;
moveleft = false;
moveup = false;
movedown = false;
}
if (_root.hero2._x < this._x) {
moveleft = true;
moveup = false;
moveright = false;
movedown = false;
}
if (_root.hero2._y <= this._y) {
moveup = true;
moveleft = false;
moveright = false;
movedown = false;
}
if (_root.hero2._y > this._y) {
movedown = true;
moveleft = false;
moveup = false;
moveright = false;
}
}
}
if (speedergo) {
if (speeder <= 0) {
speedergo = false;
speeder = 10;
_root.hero2.gonowok = true;
}
if (movedown) {
speeder--;
_root.follow2.moveleft = false;
_root.follow2.moveright = false;
_root.follow2.moveup = true;
_root.follow2.movedown = false;
} else if (moveup) {
speeder--;
_root.follow2.moveleft = false;
_root.follow2.moveright = false;
_root.follow2.moveup = false;
_root.follow2.movedown = true;
} else if (moveleft) {
speeder--;
_root.follow2.moveleft = true;
_root.follow2.moveright = false;
_root.follow2.moveup = false;
_root.follow2.movedown = false;
} else if (moveright) {
speeder--;
_root.follow2.moveleft = true;
_root.follow2.moveright = false;
_root.follow2.moveup = false;
_root.follow2.movedown = false;
}
}
}
Instance of Symbol 317 MovieClip "sparkle" in Frame 7
onClipEvent (load) {
gotoAndStop(random(2) + 1);
var speed = 20;
var a = random(100);
var p = (random(20) + 3);
this._alpha = 100;
((random(2) == 0) ? ((x = this._x + random(100))) : ((x = this._x - random(100))));
((random(2) == 0) ? ((y = this._y + random(100))) : ((y = this._y - random(100))));
}
onClipEvent (enterFrame) {
if (_root.alldead) {
this.removeMovieClip();
}
if (go) {
this._x = this._x + ((x - this._x) / speed);
this._y = this._y + ((y - this._y) / speed);
((a <= 0) ? (this.removeMovieClip()) : ((a = a - 5)));
this._alpha = this._alpha - p;
if (this._alpha < 0) {
this._alpha = 100;
}
}
}
Instance of Symbol 319 MovieClip "debri" in Frame 7
onClipEvent (load) {
var random_alpha = (random(10) + 3);
var speed = 20;
var a = 100;
this._alpha = 100;
((random(2) == 0) ? ((x = this._x + random(100))) : ((x = this._x - random(100))));
((random(2) == 0) ? ((y = this._y + random(100))) : ((y = this._y - random(100))));
}
onClipEvent (enterFrame) {
if (_root.alldead) {
this.removeMovieClip();
}
if (go) {
this._x = this._x + ((x - this._x) / speed);
this._y = this._y + ((y - this._y) / speed);
((this._alpha <= 0) ? (this.removeMovieClip()) : ((this._alpha = this._alpha - random_alpha)));
}
if (_root.specialone_go) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 322 MovieClip "dead_partical" in Frame 7
onClipEvent (load) {
var q = (random(30) + 1);
gotoAndStop(q);
var speed = 20;
var a = random(200);
var p = (random(40) + 3);
this._alpha = 100;
((random(2) == 0) ? ((x = this._x + random(300))) : ((x = this._x - random(300))));
((random(2) == 0) ? ((y = this._y + random(300))) : ((y = this._y - random(300))));
}
onClipEvent (enterFrame) {
if (_root.alldead) {
this.removeMovieClip();
}
if (go) {
this.gotoAndStop(q++);
this._x = this._x + ((x - this._x) / speed);
this._y = this._y + ((y - this._y) / speed);
((this._alpha <= 0) ? (this.removeMovieClip()) : ((this._alpha = this._alpha - random_alpha)));
}
}
Instance of Symbol 326 MovieClip "fire" in Frame 7
onClipEvent (load) {
this.gotoAndStop(random(10));
var p = 3;
var firename = 1;
var s = 30;
var go = false;
var ff = 0;
var ashname = 1;
if (this._name == "fire") {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.specialthree_selected) {
if (_root.specialthree_go) {
p--;
if (p <= 0) {
p = 2;
if (this._name == "fire") {
do {
ff++;
_root.nextHighestDepth++;
firename++;
duplicateMovieClip (this, "fire" + firename, _root.nextHighestDepth);
_root["fire" + firename]._x = _root.hero._x;
_root["fire" + firename]._y = _root.hero._y;
_root["fire" + firename]._x = _root["fire" + firename]._x + (random(30) - 15);
_root["fire" + firename]._y = _root["fire" + firename]._y + (random(30) - 15);
} while (ff <= 5);
ff = 0;
go = true;
}
}
}
}
if (this._name != "fire") {
s--;
if (s <= 0) {
this.removeMovieClip();
}
}
}
Instance of Symbol 329 MovieClip "explosion" in Frame 7
onClipEvent (load) {
if (this._name == "explosion") {
this.stop();
}
}
Frame 8
_root.black.swapDepths(49999);
stopAllSounds();
Instance of Symbol 406 MovieClip "black" in Frame 8
onClipEvent (load) {
p = 2;
}
onClipEvent (enterFrame) {
p--;
if (p <= 0) {
_root.gotoAndStop(4);
this.removeMovieClip();
}
}
Symbol 15 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay (5);
}
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 15 MovieClip Frame 40
_root.play();
Symbol 20 Button
on (press) {
gotoAndStop (2);
}
Symbol 25 Button
on (press) {
gotoAndStop (1);
}
Symbol 26 MovieClip Frame 1
stop();
myLoop = new Sound(myLoopMc);
myLoop.attachSound("myLoop01");
myLoopVolume = 100;
myLoop.setVolume(myLoopVolume);
Symbol 26 MovieClip Frame 2
myLoop = new Sound(myLoopMc);
myLoop.attachSound("myLoop01");
myLoopVolume = 0;
myLoop.setVolume(myLoopVolume);
Symbol 32 Button
on (release) {
getURL ("http://www.dabontv.com/", "_blank");
}
Symbol 33 MovieClip Frame 57
_root.gotoAndStop(3);
Symbol 41 MovieClip Frame 1
stop();
Symbol 43 Button
on (press) {
if (_root.played_the_game) {
gotoAndStop (4);
}
}
Symbol 44 Button
on (press) {
if (_root.played_the_game) {
_root.sure.gotoAndStop(2);
} else {
_root.gotoAndStop(4);
}
}
Symbol 46 Button
on (press) {
gotoAndStop (2);
}
Symbol 52 Button
on (press) {
gotoAndStop (1);
}
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
Symbol 63 Button
on (press) {
_root.played_the_game = false;
_root.total_stats = 0;
_root.characters_new = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
_root.instructions;
_root.high_score = 0;
_root.newstattrue;
_root.newskintrue;
_root.newspecialtrue;
_root.specialone_selected = false;
_root.specialtwo_selected = false;
_root.specialthree_selected = false;
_root.specialfour_selected = false;
_root.first_time_playing = false;
_root.easy_levels = new Array(2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
_root.medium_levels = new Array(2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
_root.hard_levels = new Array(2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
_root.skins_unlocked = 1;
_root.last_skin_used = 1;
_root.unused_stats = 0;
_root.speed_stat = 1;
_root.size_stat = 1;
_root.special_stat = 1;
_root.specialone = true;
_root.specialtwo = false;
_root.specialthree = false;
_root.specialfour = false;
_root.high_score = 0;
_root.gotoAndStop(4);
}
Symbol 66 Button
on (press) {
gotoAndStop (1);
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 96 Button
on (press) {
gotoAndStop (5);
_root.difficulty_easy = true;
_root.difficulty_medium = false;
_root.difficulty_hard = false;
_root.score_attack = false;
}
Symbol 97 Button
on (press) {
gotoAndStop (5);
_root.difficulty_easy = false;
_root.difficulty_medium = true;
_root.difficulty_hard = false;
_root.score_attack = false;
}
Symbol 98 Button
on (press) {
gotoAndStop (5);
_root.difficulty_easy = false;
_root.difficulty_medium = false;
_root.difficulty_hard = true;
_root.score_attack = false;
}
Symbol 99 Button
on (press) {
_root.back = 4;
_root.difficulty_easy = false;
_root.difficulty_medium = false;
_root.difficulty_hard = false;
_root.score_attack = true;
gotoAndStop (6);
}
Symbol 100 Button
on (press) {
gotoAndStop (3);
}
Symbol 107 Button
on (press) {
gotoAndStop (1);
}
Symbol 109 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 137 Button
on (press) {
_root.gotoAndStop(4);
}
Symbol 139 Button
on (press) {
level = 0;
if (_root.difficulty_easy) {
if (_root.easy_levels[level] >= 2) {
_root.easy_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 1;
} else {
_root.locked.play();
}
}
if (_root.difficulty_medium) {
if (_root.medium_levels[level] >= 2) {
_root.medium_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 2;
} else {
_root.locked.play();
}
}
if (_root.difficulty_hard) {
if (_root.hard_levels[level] >= 2) {
_root.hard_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 3;
} else {
_root.locked.play();
}
}
}
Symbol 140 Button
on (press) {
level = 1;
if (_root.difficulty_easy) {
if (_root.easy_levels[level] >= 2) {
_root.easy_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 4;
} else {
_root.locked.play();
}
}
if (_root.difficulty_medium) {
if (_root.medium_levels[level] >= 2) {
_root.medium_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 5;
} else {
_root.locked.play();
}
}
if (_root.difficulty_hard) {
if (_root.hard_levels[level] >= 2) {
_root.hard_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 6;
} else {
_root.locked.play();
}
}
}
Symbol 141 Button
on (press) {
level = 2;
if (_root.difficulty_easy) {
if (_root.easy_levels[level] >= 2) {
_root.easy_selected = level;
_root.challange.gotoAndStop(2);
_root.icon_to_display = 7;
} else {
_root.locked.play();
}
}
if (_root.difficulty_medium) {
if (_root.medium_levels[level] >= 2) {
_root.medium_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 8;
} else {
_root.locked.play();
}
}
if (_root.difficulty_hard) {
if (_root.hard_levels[level] >= 2) {
_root.hard_selected = level;
_root.icon_to_display = 9;
_root.challange.gotoAndStop(2);
} else {
_root.locked.play();
}
}
}
Symbol 142 Button
on (press) {
level = 3;
if (_root.difficulty_easy) {
if (_root.easy_levels[level] >= 2) {
_root.easy_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 10;
} else {
_root.locked.play();
}
}
if (_root.difficulty_medium) {
if (_root.medium_levels[level] >= 2) {
_root.medium_selected = level;
_root.challange.gotoAndStop(2);
_root.icon_to_display = 11;
} else {
_root.locked.play();
}
}
if (_root.difficulty_hard) {
if (_root.hard_levels[level] >= 2) {
_root.hard_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 12;
} else {
_root.locked.play();
}
}
}
Symbol 143 Button
on (press) {
level = 4;
if (_root.difficulty_easy) {
if (_root.easy_levels[level] >= 2) {
_root.easy_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 13;
} else {
_root.locked.play();
}
}
if (_root.difficulty_medium) {
if (_root.medium_levels[level] >= 2) {
_root.medium_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 14;
} else {
_root.locked.play();
}
}
if (_root.difficulty_hard) {
if (_root.hard_levels[level] >= 2) {
_root.hard_selected = level;
_root.challange.gotoAndStop(2);
_root.icon_to_display = 15;
} else {
_root.locked.play();
}
}
}
Symbol 144 Button
on (press) {
level = 5;
if (_root.difficulty_easy) {
if (_root.easy_levels[level] >= 2) {
_root.easy_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 16;
} else {
_root.locked.play();
}
}
if (_root.difficulty_medium) {
if (_root.medium_levels[level] >= 2) {
_root.medium_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 17;
} else {
_root.locked.play();
}
}
if (_root.difficulty_hard) {
if (_root.hard_levels[level] >= 2) {
_root.hard_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 18;
} else {
_root.locked.play();
}
}
}
Symbol 145 Button
on (press) {
level = 6;
if (_root.difficulty_easy) {
if (_root.easy_levels[level] >= 2) {
_root.easy_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 19;
} else {
_root.locked.play();
}
}
if (_root.difficulty_medium) {
if (_root.medium_levels[level] >= 2) {
_root.medium_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 20;
} else {
_root.locked.play();
}
}
if (_root.difficulty_hard) {
if (_root.hard_levels[level] >= 2) {
_root.hard_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 21;
} else {
_root.locked.play();
}
}
}
Symbol 146 Button
on (press) {
level = 7;
if (_root.difficulty_easy) {
if (_root.easy_levels[level] >= 2) {
_root.easy_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 22;
} else {
_root.locked.play();
}
}
if (_root.difficulty_medium) {
if (_root.medium_levels[level] >= 2) {
_root.medium_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 23;
} else {
_root.locked.play();
}
}
if (_root.difficulty_hard) {
if (_root.hard_levels[level] >= 2) {
_root.hard_selected = level;
_root.icon_to_display = 24;
_root.gotoAndStop(6);
} else {
_root.locked.play();
}
}
}
Symbol 147 Button
on (press) {
level = 8;
if (_root.difficulty_easy) {
if (_root.easy_levels[level] >= 2) {
_root.easy_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 25;
} else {
_root.locked.play();
}
}
if (_root.difficulty_medium) {
if (_root.medium_levels[level] >= 2) {
_root.medium_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 26;
} else {
_root.locked.play();
}
}
if (_root.difficulty_hard) {
if (_root.hard_levels[level] >= 2) {
_root.hard_selected = level;
_root.gotoAndStop(6);
_root.icon_to_display = 27;
} else {
_root.locked.play();
}
}
}
Symbol 148 Button
on (press) {
gotoAndStop (1);
}
Symbol 149 MovieClip Frame 1
stop();
Symbol 154 Button
on (press) {
_root.button_lock.gotoAndStop(2);
_root.gotoAndStop(6);
}
Symbol 155 Button
on (press) {
gotoAndStop (1);
}
Symbol 156 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 11
stop();
Symbol 206 MovieClip Frame 20
stop();
Symbol 207 MovieClip Frame 1
stop();
speed = _root.speed;
Instance of Symbol 206 MovieClip "half_time" in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
speed = _root.dot_race_time;
half_time = false;
}
onClipEvent (enterFrame) {
if (_root.score > 0) {
if ((this._rotation + speed) <= 180) {
if (half_time) {
this._rotation = this._rotation + speed;
}
} else {
this._alpha = 0;
_root.times_up = true;
}
}
}
Instance of Symbol 206 MovieClip "full_time" in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
speed = _root.dot_race_time;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.score > 0) {
if ((this._rotation + speed) <= 180) {
this._rotation = this._rotation + speed;
} else {
_parent.half_time.half_time = true;
this._alpha = 0;
_root.sound3.play();
}
}
}
Symbol 209 MovieClip Frame 1
stop();
if (_root.last_skin_used == 1) {
_root.new_character.gotoAndStop(2);
}
Symbol 209 MovieClip Frame 34
stop();
Symbol 213 Button
on (press) {
if (_root.unused_stats >= 1) {
_root[stat] = 2;
_root.unused_stats--;
gotoAndStop (2);
}
}
Symbol 214 Button
on (press) {
if (_root.unused_stats >= 2) {
_root[stat] = 3;
_root.unused_stats = _root.unused_stats - 2;
gotoAndStop (3);
} else if (_root.unused_stats >= 1) {
_root[stat] = 2;
_root.unused_stats--;
gotoAndStop (2);
}
}
Symbol 215 Button
on (press) {
if (_root.unused_stats >= 3) {
_root[stat] = 4;
_root.unused_stats = _root.unused_stats - 3;
gotoAndStop (4);
} else if (_root.unused_stats >= 2) {
_root[stat] = 3;
_root.unused_stats = _root.unused_stats - 2;
gotoAndStop (3);
} else if (_root.unused_stats >= 1) {
_root[stat] = 2;
_root.unused_stats--;
gotoAndStop (2);
}
}
Symbol 216 Button
on (press) {
if (_root.unused_stats >= 4) {
_root[stat] = 5;
_root.unused_stats = _root.unused_stats - 4;
gotoAndStop (5);
} else if (_root.unused_stats >= 3) {
_root[stat] = 4;
_root.unused_stats = _root.unused_stats - 3;
gotoAndStop (4);
} else if (_root.unused_stats >= 2) {
_root[stat] = 3;
_root.unused_stats = _root.unused_stats - 2;
gotoAndStop (3);
} else if (_root.unused_stats >= 1) {
_root[stat] = 2;
_root.unused_stats--;
gotoAndStop (2);
}
}
Symbol 221 Button
on (press) {
_root.unused_stats++;
_root[stat] = 1;
gotoAndStop (1);
}
Symbol 222 Button
on (press) {
if (_root.unused_stats >= 1) {
_root[stat] = 3;
_root.unused_stats--;
gotoAndStop (3);
}
}
Symbol 223 Button
on (press) {
if (_root.unused_stats >= 2) {
_root[stat] = 4;
_root.unused_stats = _root.unused_stats - 2;
gotoAndStop (4);
} else if (_root.unused_stats >= 1) {
_root[stat] = 3;
_root.unused_stats--;
gotoAndStop (3);
}
}
Symbol 224 Button
on (press) {
if (_root.unused_stats >= 3) {
_root[stat] = 5;
_root.unused_stats = _root.unused_stats - 3;
gotoAndStop (5);
} else if (_root.unused_stats >= 2) {
_root[stat] = 4;
_root.unused_stats = _root.unused_stats - 2;
gotoAndStop (4);
} else if (_root.unused_stats >= 1) {
_root[stat] = 3;
_root.unused_stats--;
gotoAndStop (3);
}
}
Symbol 225 Button
on (press) {
_root.unused_stats = _root.unused_stats + 2;
_root[stat] = 1;
gotoAndStop (1);
}
Symbol 226 Button
on (press) {
_root.unused_stats++;
_root[stat] = 2;
gotoAndStop (2);
}
Symbol 227 Button
on (press) {
if (_root.unused_stats >= 1) {
_root[stat] = 4;
_root.unused_stats--;
gotoAndStop (4);
}
}
Symbol 228 Button
on (press) {
if (_root.unused_stats >= 2) {
_root[stat] = 5;
_root.unused_stats = _root.unused_stats - 2;
gotoAndStop (5);
} else if (_root.unused_stats >= 1) {
_root[stat] = 4;
_root.unused_stats--;
gotoAndStop (4);
}
}
Symbol 229 Button
on (press) {
_root.unused_stats = _root.unused_stats + 3;
_root[stat] = 1;
gotoAndStop (1);
}
Symbol 230 Button
on (press) {
_root.unused_stats = _root.unused_stats + 2;
_root[stat] = 2;
gotoAndStop (2);
}
Symbol 231 Button
on (press) {
if (_root.unused_stats >= 1) {
_root[stat] = 5;
_root.unused_stats = _root.unused_stats - 1;
gotoAndStop (5);
}
}
Symbol 232 Button
on (press) {
_root.unused_stats = _root.unused_stats + 1;
_root[stat] = 3;
gotoAndStop (3);
}
Symbol 233 Button
on (press) {
_root.unused_stats = _root.unused_stats + 4;
_root[stat] = 1;
gotoAndStop (1);
}
Symbol 234 Button
on (press) {
_root.unused_stats = _root.unused_stats + 3;
_root[stat] = 2;
gotoAndStop (2);
}
Symbol 235 Button
on (press) {
_root.unused_stats = _root.unused_stats + 2;
_root[stat] = 3;
gotoAndStop (3);
}
Symbol 236 Button
on (press) {
_root.unused_stats = _root.unused_stats + 1;
_root[stat] = 4;
gotoAndStop (4);
}
Symbol 237 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 1
stop();
if (_root.specialtwo == false) {
gotoAndStop (2);
}
Symbol 244 MovieClip Frame 1
stop();
if (_root.specialthree == false) {
gotoAndStop (2);
}
Symbol 247 MovieClip Frame 1
stop();
if (_root.specialfour == false) {
gotoAndStop (2);
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 252 Button
on (press) {
gotoAndStop (1);
}
Symbol 253 Button
on (press) {
if (_root.specialtwo) {
gotoAndStop (2);
}
}
Symbol 254 Button
on (press) {
if (_root.specialthree) {
gotoAndStop (3);
}
}
Symbol 255 Button
on (press) {
if (_root.specialfour) {
gotoAndStop (4);
}
}
Symbol 261 MovieClip Frame 1
stop();
white.gotoAndPlay(1);
_root.specialone_selected = true;
_root.specialtwo_selected = false;
_root.specialthree_selected = false;
_root.specialfour_selected = false;
if (_root.specialone == false) {
blue.gotoAndStop(2);
}
if (_root.specialtwo == false) {
black.gotoAndStop(2);
}
if (_root.specialthree == false) {
yellow.gotoAndStop(2);
}
if (_root.specialfour == false) {
red.gotoAndStop(2);
}
Symbol 261 MovieClip Frame 2
_root.specialone_selected = false;
_root.specialtwo_selected = true;
_root.specialthree_selected = false;
_root.specialfour_selected = false;
if (_root.specialone == false) {
blue.gotoAndStop(2);
}
if (_root.specialtwo == false) {
black.gotoAndStop(2);
}
if (_root.specialthree == false) {
yellow.gotoAndStop(2);
}
if (_root.specialfour == false) {
red.gotoAndStop(2);
}
white.gotoAndPlay(1);
Symbol 261 MovieClip Frame 3
_root.specialone_selected = false;
_root.specialtwo_selected = false;
_root.specialthree_selected = true;
_root.specialfour_selected = false;
if (_root.specialone == false) {
blue.gotoAndStop(2);
}
if (_root.specialtwo == false) {
black.gotoAndStop(2);
}
if (_root.specialthree == false) {
yellow.gotoAndStop(2);
}
if (_root.specialfour == false) {
red.gotoAndStop(2);
}
white.gotoAndPlay(1);
Symbol 261 MovieClip Frame 4
_root.specialone_selected = false;
_root.specialtwo_selected = false;
_root.specialthree_selected = false;
_root.specialfour_selected = true;
if (_root.specialone == false) {
blue.gotoAndStop(2);
}
if (_root.specialtwo == false) {
black.gotoAndStop(2);
}
if (_root.specialthree == false) {
yellow.gotoAndStop(2);
}
if (_root.specialfour == false) {
red.gotoAndStop(2);
}
white.gotoAndPlay(1);
Symbol 264 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 8
stop();
Symbol 271 Button
on (press) {
if (_root.last_skin_used < _root.skins_unlocked) {
_root.last_skin_used++;
} else {
_root.last_skin_used = 1;
}
_root.skins_txt = (_root.last_skin_used + " / ") + _root.skins_unlocked;
_root.hero_inside.gotoAndStop(_root.last_skin_used);
_root.wttt.gotoAndPlay(1);
}
Symbol 276 MovieClip Frame 1
stop();
Symbol 278 Button
on (press) {
_root.ingame = false;
gotoAndStop(_root.back);
}
Symbol 282 Button
on (press) {
_root.ingame = true;
gotoAndStop (7);
}
Symbol 285 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 9
gotoAndStop (1);
Symbol 305 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 13
stop();
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 2
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 22
stop();
this.removeMovieClip();
Symbol 326 MovieClip Frame 1
stop();
gotoAndStop(random(10) + 1);
Symbol 328 MovieClip Frame 1
stop();
gotoAndStop(random(10) + 1);
Symbol 329 MovieClip Frame 20
stop();
this.removeMovieClip();
Symbol 331 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 2
stop();
Symbol 345 MovieClip Frame 1
stop();
Instance of Symbol 134 MovieClip in Symbol 345 MovieClip Frame 1
onClipEvent (load) {
if (_root.difficulty_easy) {
this.gotoAndStop(_root.easy_levels[_root.easy_selected]);
} else if (_root.difficulty_medium) {
this.gotoAndStop(_root.medium_levels[_root.medium_selected]);
} else if (_root.difficulty_hard) {
this.gotoAndStop(_root.hard_levels[_root.hard_selected]);
}
this.win_icon.gotoAndStop(_root.icon_to_display);
}
Symbol 357 MovieClip Frame 8
stop();
Symbol 357 MovieClip Frame 9
if (_root.finished_level == false) {
_root.sound9.gotoAndPlay(1);
}
stop();
Symbol 358 MovieClip Frame 1
stop();
Symbol 361 MovieClip Frame 1
stop();
Instance of Symbol 358 MovieClip "dark_bar" in Symbol 361 MovieClip Frame 1
onClipEvent (load) {
this._x = -209;
fire_go = false;
abc = 10;
_parent.light_bar._x = -209;
move = 40;
readyinv = false;
hitted_guy = false;
}
onClipEvent (enterFrame) {
if (this._x >= -3) {
if (readyinv == false) {
readyinv = true;
this.clipper.play();
_root.hero.hero_inside.shield.gotoAndPlay(2);
}
this._x = -3;
if (Key.isDown(32)) {
hitted_guy = false;
_root.hero.hero_inside.shield.gotoAndStop(1);
if ((_root.hero.dead == false) && (_root.score > 0)) {
_root.invincible = true;
_root.hero.gotoAndPlay(2);
doonce = false;
if (_root.specialone_selected) {
_root.specialone_go = true;
_root.hero.hero_inside.gotoAndStop(34);
} else if (_root.specialtwo_selected) {
_root.hero.hero_inside.gotoAndStop(35);
} else if (_root.specialthree_selected) {
_root.specialthree_go = true;
_root.hero.hero_inside.gotoAndStop(36);
} else if (_root.specialfour_selected) {
_root.specialfour_go = true;
_root.hero.hero_inside.gotoAndStop(37);
}
}
}
this.gotoAndStop(2);
}
if (this._x < -3) {
readyinv = false;
}
if (this._x <= -209) {
_root.hero.hero_inside.shield.gotoAndStop(1);
this.clipper.gotoAndStop(1);
this.gotoAndStop(1);
this._x = -209;
_root.invincible = false;
_root.specialone_go = false;
if (doonce != true) {
doonce = true;
fire_go = true;
_root.explosion_number = 1;
_root.specialfour_go = false;
_root.specialthree_go = false;
if (_root.dot_race == false) {
_root.hero.hero_inside.gotoAndStop(_root.last_skin_used);
_root.hero.gotoAndPlay(2);
}
}
}
if (_parent.light_bar._x > this._x) {
this._x = this._x + 5;
if (this._x > _parent.light_bar._x) {
this._x = _parent.light_bar._x;
}
}
if (fire_go) {
abc--;
if (abc <= 0) {
_root.fire.firename = 1;
abc = 10;
fire_go = false;
}
}
if (_root.invincible) {
_parent.light_bar._x = -209;
this.clipper.gotoAndStop(9);
this._x = this._x - special_time;
}
if ((_parent.light_bar._x <= -209) || (_parent.light_bar.invincible)) {
_parent.light_bar._x = -209;
}
if (_root.invincible == false) {
if (_root.point) {
_root.point = false;
_parent.light_bar._x = _parent.light_bar._x + ((move = move - 1));
}
if (move <= 16) {
move = 16;
}
}
}
Symbol 372 Button
on (press) {
_root.alldead = true;
_root.hero.removeMovieClip();
_root.follow.removeMovieClip();
_root.bar.removeMovieClip();
_root.topbar.removeMovieClip();
_root.tens.removeMovieClip();
_root.ones.removeMovieClip();
_root.hundreds.removeMovieClip();
_root.blue_dot.removeMovieClip();
_root.ones_race.removeMovieClip();
_root.hundreds_race.removeMovieClip();
_root.tens_race.removeMovieClip();
_root.gotoAndStop(8);
_root.end_window.removeMovieClip();
}
Symbol 374 MovieClip Frame 5
stop();
Instance of Symbol 130 MovieClip "win_icon" in Symbol 374 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(3);
if (_root.difficulty_easy) {
if (_root.easy_levels[_root.easy_selected] == 3) {
_parent.unlocked_mc.gotoAndStop(1);
_parent.message_txt = "You've Already Unlocked this";
_parent.winner_txt = " ";
} else {
if (_root.icon_to_display == 1) {
_parent.unlocked_mc.gotoAndStop(2);
_root.newstattrue = true;
_root.unused_stats++;
_root.total_stats++;
_root.newstattrue = true;
} else if (_root.icon_to_display == 4) {
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
_root.newskintruetwo = true;
_root.skins_unlocked++;
} else if (_root.icon_to_display == 7) {
_root.unused_stats++;
_parent.unlocked_mc.gotoAndStop(2);
_root.newstattrue = true;
_root.total_stats++;
} else if (_root.icon_to_display == 10) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 13) {
_root.unused_stats++;
_parent.unlocked_mc.gotoAndStop(2);
_root.total_stats++;
_root.newstattrue = true;
} else if (_root.icon_to_display == 16) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 19) {
_parent.unlocked_mc.gotoAndStop(2);
_root.total_stats++;
_root.newstattrue = true;
_root.unused_stats++;
} else if (_root.icon_to_display == 22) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 25) {
_root.specialtwo = true;
_parent.unlocked_mc.gotoAndStop(3);
_root.newspecialtrue = true;
}
_parent.message_txt = "You've Unlocked A New Item!";
_parent.winner_txt = "CONGRATULATIONS";
this.gotoAndStop(_root.icon_to_display);
_root.easy_levels[_root.easy_selected] = 3;
_root.easy_levels[_root.easy_selected + 1] = 2;
}
} else if (_root.difficulty_medium) {
if (_root.medium_levels[_root.medium_selected] == 3) {
_parent.unlocked_mc.gotoAndStop(1);
_parent.message_txt = "You've Already Unlocked this";
_parent.winner_txt = " ";
} else {
if (_root.icon_to_display == 2) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 5) {
_root.unused_stats++;
_parent.unlocked_mc.gotoAndStop(2);
_root.total_stats++;
_root.newstattrue = true;
} else if (_root.icon_to_display == 8) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 11) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 14) {
_root.unused_stats++;
_parent.unlocked_mc.gotoAndStop(2);
_root.total_stats++;
_root.newstattrue = true;
} else if (_root.icon_to_display == 17) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 20) {
_root.unused_stats++;
_parent.unlocked_mc.gotoAndStop(2);
_root.total_stats++;
_root.newstattrue = true;
} else if (_root.icon_to_display == 23) {
_root.unused_stats++;
_parent.unlocked_mc.gotoAndStop(2);
_root.total_stats++;
_root.newstattrue = true;
} else if (_root.icon_to_display == 26) {
_root.specialthree = true;
_parent.unlocked_mc.gotoAndStop(3);
_root.newspecialtrue = true;
}
_parent.message_txt = "You've Unlocked A New Item!";
_parent.winner_txt = "CONGRATULATIONS";
this.gotoAndStop(_root.icon_to_display);
_root.medium_levels[_root.medium_selected] = 3;
_root.medium_levels[_root.medium_selected + 1] = 2;
}
} else if (_root.difficulty_hard) {
if (_root.hard_levels[_root.hard_selected] == 3) {
_parent.unlocked_mc.gotoAndStop(1);
_parent.message_txt = "You've Already Unlocked this";
_parent.winner_txt = " ";
} else {
if (_root.icon_to_display == 3) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 6) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 9) {
_root.unused_stats++;
_parent.unlocked_mc.gotoAndStop(2);
_root.total_stats++;
_root.newstattrue = true;
} else if (_root.icon_to_display == 12) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 15) {
_root.unused_stats++;
_parent.unlocked_mc.gotoAndStop(2);
_root.total_stats++;
_root.newstattrue = true;
} else if (_root.icon_to_display == 18) {
_root.skins_unlocked++;
_root.newskintruetwo = true;
_parent.unlocked_mc.gotoAndStop(4);
_root.newskintrue = true;
} else if (_root.icon_to_display == 21) {
_root.unused_stats++;
_parent.unlocked_mc.gotoAndStop(2);
_root.total_stats++;
_root.newstattrue = true;
} else if (_root.icon_to_display == 24) {
_root.unused_stats++;
_parent.unlocked_mc.gotoAndStop(2);
_root.total_stats++;
_root.newstattrue = true;
} else if (_root.icon_to_display == 27) {
_root.specialfour = true;
_parent.unlocked_mc.gotoAndStop(3);
_root.newspecialtrue = true;
}
_parent.message_txt = "You've Unlocked A New Item!";
_parent.winner_txt = "CONGRATULATIONS";
this.gotoAndStop(_root.icon_to_display);
_root.hard_levels[_root.hard_selected] = 3;
_root.hard_levels[_root.hard_selected + 1] = 2;
}
}
}
Symbol 376 Button
on (press) {
_root.alldead = true;
_root.hero.removeMovieClip();
_root.follow.removeMovieClip();
_root.bar.removeMovieClip();
_root.topbar.removeMovieClip();
_root.tens.removeMovieClip();
_root.ones.removeMovieClip();
_root.hundreds.removeMovieClip();
_root.blue_dot.removeMovieClip();
_root.ones_race.removeMovieClip();
_root.hundreds_race.removeMovieClip();
_root.tens_race.removeMovieClip();
_root.gotoAndStop(8);
_root.end_window.removeMovieClip();
}
Symbol 386 Button
on (press) {
gotoAndStop (3);
}
Symbol 396 Button
on (press) {
getURL ("http://rankz.armorbot.com/dots2table/", "_blank");
}
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 3
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = name;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score;
__rankz_send__("MjM4MmolZSVhJW4lcw==", "aWhHUnJlcEc=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
Symbol 403 MovieClip Frame 26
if (_root.score_attack) {
gotoAndStop (29);
}
Symbol 403 MovieClip Frame 28
stop();
Symbol 403 MovieClip Frame 29
stop();
score_sub = _root.score;
if (_root.score_attack) {
if (_root.score >= 15) {
if (_root.won_ten == false) {
_root.display_character_win = true;
_root.won_ten = true;
_root.newskintrue = true;
_root.newskintruetwo = true;
_root.skins_unlocked++;
}
}
if (_root.score >= 30) {
if (_root.won_twenty == false) {
_root.display_character_win = true;
_root.won_twenty = true;
_root.newskintrue = true;
_root.newskintruetwo = true;
_root.skins_unlocked++;
}
}
if (_root.score >= 45) {
if (_root.won_thirty == false) {
_root.display_character_win = true;
_root.won_thirty = true;
_root.newskintrue = true;
_root.newskintruetwo = true;
_root.skins_unlocked++;
}
}
if (_root.score >= 60) {
if (_root.won_fourty == false) {
_root.display_character_win = true;
_root.won_fourty = true;
_root.newskintrue = true;
_root.newskintruetwo = true;
_root.skins_unlocked++;
}
}
if (_root.score >= 75) {
if (_root.won_fifty == false) {
_root.display_character_win = true;
_root.won_fifty = true;
_root.newskintrue = true;
_root.newskintruetwo = true;
_root.skins_unlocked++;
}
}
}
Instance of Symbol 399 MovieClip "highscore_mc" in Symbol 403 MovieClip Frame 29
onClipEvent (load) {
if (_root.score_attack) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 404 MovieClip Frame 1
stop();