Frame 1
1();
level1 = "lJXNXIF95W6";
lJXNXIF95W6 = "1";
level2 = "lSW73QMO3ZI";
lSW73QMO3ZI = "2";
level3 = "l7DK74M5XX1";
l7DK74M5XX1 = "3";
level4 = "lMAQWKZHHWV";
lMAQWKZHHWV = "4";
level5 = "l1XFVX3WJI7";
l1XFVX3WJI7 = "5";
level6 = "lSQS4EM1H7P";
lSQS4EM1H7P = "6";
level7 = "l4XQJEMDLC9";
l4XQJEMDLC9 = "7";
stop();
Frame 2
function add_score(amount) {
_root.int_score = _root.int_score + amount;
int_score_string = String(_root.int_score);
add_zeros = 6 - int_score_string.length;
zeros_string = "";
loop = 0;
while (loop != Number(add_zeros)) {
zeros_string = zeros_string add "0";
loop++;
}
_root.score = ((("<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>" add zeros_string) add "<FONT COLOR=\"#FFFFFF\">") add _root.int_score) add "</FONT></FONT></B>";
}
function clear_level_vars() {
loop = 1;
while (loop != 177) {
Set(String(loop), "");
loop++;
}
eof = false;
}
function name_object(instance, type) {
instance_x = int(getProperty(instance, _x));
instance_y = int(getProperty(instance, _y));
setProperty(instance, _name , (type add instance_x) add instance_y);
}
function play_sound_error() {
error = new Sound(this);
error.attachSound("error");
error.start();
}
function play_sound_start_level() {
start_level = new Sound(this);
start_level.attachSound("start_level");
start_level.start();
}
function play_sound_type_back() {
type_back = new Sound(this);
type_back.attachSound("type_back");
type_back.start();
}
function play_sound_type() {
type = new Sound(this);
type.attachSound("type");
type.start();
}
function play_sound_schuif() {
schuif = new Sound(this);
schuif.attachSound("schuif");
schuif.start();
}
function play_sound_keydrop() {
keydrop = new Sound(this);
keydrop.attachSound("keydrop");
keydrop.start();
}
function play_sound_fall() {
fall = new Sound(this);
fall.attachSound("fall");
fall.start();
}
function play_sound_walk() {
if (walksound != 1) {
walk = new Sound(this);
walk.attachSound("walk1");
walk.start();
walksound = 1;
} else {
walk = new Sound(this);
walk.attachSound("walk2");
walk.start();
walksound = 2;
}
}
function play_sound_explosion() {
explosion = new Sound(this);
explosion.attachSound("explosion");
explosion.start();
}
function play_sound_menu_browse() {
this.menu_browse = new Sound(this);
this.menu_browse.attachSound("menu_browse");
this.menu_browse.start();
}
function play_sound_menu_select() {
menu_select = new Sound(this);
menu_select.attachSound("menu_select");
menu_select.start();
}
function play_sound_menu_back() {
menu_back = new Sound(this);
menu_back.attachSound("menu_back");
menu_back.start();
}
function play_sound_time() {
time_count = new Sound(this);
time_count.attachSound("time");
time_count.start(0, 999);
}
function stop_sound_time() {
time_count.stop();
}
function move_left() {
stone = ("stone" add int(player._x - move_speed)) add int(player._y);
ground = ("ground" add int(player._x - move_speed)) add int(player._y);
wall = ("wall" add int(player._x - move_speed)) add int(player._y);
enemy = ("enemy" add int(player._x - move_speed)) add int(player._y);
check_ground = ("ground" add int(player._x - (move_speed * 2))) add int(player._y);
check_wall = ("wall" add int(player._x - (move_speed * 2))) add int(player._y);
check_enemy = ("enemy" add int(player._x - (move_speed * 2))) add int(player._y);
check_stone = ("stone" add int(player._x - (move_speed * 2))) add int(player._y);
if (Key.isDown(32)) {
if (ground_clear != true) {
tellTarget (ground) {
gotoAndPlay (2);
};
}
} else if (((((eval (wall add ".present") ne true) and (eval (check_wall add ".present") ne true)) and (eval (stone add ".present") eq true)) and (player.die ne true)) and (eval (stone add ".type") != "key")) {
if ((((((eval (check_wall add ".present") ne true) and (eval (check_stone add ".present") ne true)) and (eval (check_ground add ".present") ne true)) and (eval (check_enemy add ".present") ne true)) and (eval (int(player._x - (move_speed * 2)) add int(player._y)) ne "taken")) and (eval (stone add ".fall") ne true)) {
player.gotoAndPlay("left");
setProperty(stone, _x , getProperty(stone, _x) - move_speed);
tellTarget (stone) {
gotoAndPlay ("left");
};
play_sound_schuif();
}
} else if (((eval (wall add ".present") ne true) and ((eval (stone add ".present") ne true) or (eval (stone add ".type") == "key"))) and (player.die ne true)) {
player.gotoAndPlay("left");
if (eval (enemy add ".present") == true) {
explode(player._x, player._y);
}
play_sound_walk();
}
}
function move_right() {
stone = ("stone" add int(player._x + move_speed)) add int(player._y);
ground = ("ground" add int(player._x + move_speed)) add int(player._y);
wall = ("wall" add int(player._x + move_speed)) add int(player._y);
enemy = ("enemy" add int(player._x + move_speed)) add int(player._y);
check_ground = ("ground" add int(player._x + (move_speed * 2))) add int(player._y);
check_wall = ("wall" add int(player._x + (move_speed * 2))) add int(player._y);
check_enemy = ("enemy" add int(player._x + (move_speed * 2))) add int(player._y);
check_stone = ("stone" add int(player._x + (move_speed * 2))) add int(player._y);
if (Key.isDown(32)) {
if (ground_clear != true) {
tellTarget (ground) {
gotoAndPlay (2);
};
}
} else if (((((eval (wall add ".present") ne true) and (eval (check_wall add ".present") ne true)) and (eval (stone add ".present") eq true)) and (player.die ne true)) and (eval (stone add ".type") != "key")) {
if ((((((eval (check_wall add ".present") ne true) and (eval (check_stone add ".present") ne true)) and (eval (check_ground add ".present") ne true)) and (eval (check_enemy add ".present") ne true)) and (eval (int(player._x + (move_speed * 2)) add int(player._y)) ne "taken")) and (eval (stone add ".fall") ne true)) {
player.gotoAndPlay("right");
setProperty(stone, _x , getProperty(stone, _x) + move_speed);
tellTarget (stone) {
gotoAndPlay ("right");
};
play_sound_schuif();
}
} else if (((eval (wall add ".present") ne true) and ((eval (stone add ".present") ne true) or (eval (stone add ".type") == "key"))) and (player.die ne true)) {
player.gotoAndPlay("right");
if (eval (enemy add ".present") == true) {
explode(player._x, player._y);
}
play_sound_walk();
}
}
function move_up() {
ground = ("ground" add int(player._x)) add int(player._y - move_speed);
wall = ("wall" add int(player._x)) add int(player._y - move_speed);
stone = ("stone" add int(player._x)) add int(player._y - move_speed);
enemy = ("enemy" add int(player._x)) add int(player._y - move_speed);
if (Key.isDown(32)) {
if (ground_clear != true) {
tellTarget (ground) {
gotoAndPlay (2);
};
}
} else if (((eval (wall add ".present") ne true) and ((eval (stone add ".present") ne true) || (eval (stone add ".type") == "key"))) and (player.die ne true)) {
player.gotoAndPlay("up");
if (eval (enemy add ".present") == true) {
explode(player._x, player._y);
}
play_sound_walk();
}
}
function move_down() {
stone = ("stone" add int(player._x)) add int(player._y + move_speed);
ground = ("ground" add int(player._x)) add int(player._y + move_speed);
wall = ("wall" add int(player._x)) add int(player._y + move_speed);
enemy = ("enemy" add int(player._x)) add int(player._y + move_speed);
if (Key.isDown(32)) {
if (ground_clear != true) {
tellTarget (ground) {
gotoAndPlay (2);
};
}
} else if (((eval (wall add ".present") ne true) and ((eval (stone add ".present") ne true) || (eval (stone add ".type") == "key"))) and (player.die ne true)) {
player.gotoAndPlay("down");
if (eval (enemy add ".present") == true) {
explode(player._x, player._y);
}
play_sound_walk();
}
}
function explode(xpos, ypos) {
play_sound_explosion();
explosion1 = xpos add ypos;
explosion2 = (xpos + move_speed) add (ypos - move_speed);
explosion3 = (xpos - move_speed) add (ypos - move_speed);
explosion4 = (xpos + move_speed) add ypos;
explosion5 = (xpos - move_speed) add ypos;
explosion6 = (xpos + move_speed) add (ypos + move_speed);
explosion7 = (xpos - move_speed) add (ypos + move_speed);
explosion8 = xpos add (ypos + move_speed);
explosion9 = xpos add (ypos - move_speed);
_root.attach_level = _root.attach_level + 1;
_root.attachMovie("player_die", "player_die" add _root.attach_level, _root.attach_level);
setProperty("_root.player_die" add _root.attach_level, _y , ypos);
setProperty("_root.player_die" add _root.attach_level, _x , xpos);
loop = 1;
while (loop != 10) {
tp = eval ("explosion" add loop);
if (eval (("wall" add tp) add ".type") eq "brick") {
removeMovieClip("wall" add tp);
}
if (eval (("stone" add tp) add ".type") != "bomb") {
removeMovieClip("stone" add tp);
}
if (player.position eq tp) {
_root.player.gotoAndPlay("die");
}
Set(("stone" add tp) add ".explosion_hit", true);
Set(("stone" add tp) add ".present", false);
Set(("ground" add tp) add ".present", false);
removeMovieClip("ground" add eval ("explosion" add loop));
if (eval (("enemy" add tp) add ".present") eq true) {
Set(("enemy" add tp) add ".present", false);
Set(("enemy" add tp) add ".explosion_hit", true);
}
loop++;
}
}
1();
if (VisibleSet != true) {
_level1._visible = 100;
VisibleSet = true;
}
EditorGoBackType = "load";
_root.sound_menu_loop.gotoAndPlay(1);
if (custom_level_array != "made") {
custom_levels = new Array();
custom_level_array = "made";
}
move_speed = 30;
load_level_timeout = 600;
save_timeout = 600;
main_path = _level0.main_path;
save_level_url = _level0.save_level_url;
load_level_url = _level0.load_level_url;
load_arcade_level_url = _level0.load_arcade_level_url;
load_level_list_url = _level0.load_level_list_url;
load_key_url = _level0.load_key_url;
save_score_url = _level0.save_score_url;
load_score_url = _level0.load_score_url;
level_editor_url = _level0.level_editor_url;
enemy_kill_score = 5;
SFX_volume = 20;
stop();
Frame 13
gotoAndStop (12);
Frame 19
Selection.setFocus("levelcode");
stop();
Instance of Symbol 317 MovieClip "levelcode_status" in Frame 19
onClipEvent (keyDown) {
if (Key.isDown(8)) {
_root.play_sound_type_back();
} else if ((Key.isDown(13) ne true) and (Key.isDown(27) ne true)) {
_root.play_sound_type();
}
}
Frame 28
stop();
Instance of Symbol 317 MovieClip "levelcode_status" in Frame 30
onClipEvent (keyDown) {
if (Key.isDown(27)) {
_root.play_sound_type_back();
_root.gotoAndStop("main_menu");
}
}
Frame 40
last_level = false;
timeout = 0;
Frame 41
gotoAndStop (45);
Frame 42
gotoAndPlay (41);
Frame 44
_root.stones_collected = 0;
_root.total_stones = 0;
_root.meter_bar._xscale = 0;
Instance of Symbol 397 MovieClip "meter_bar" in Frame 44
onClipEvent (load) {
this._xscale = 0;
}
Frame 45
function build_level() {
row = 0;
count = 0;
loop = 1;
while (loop != 177) {
_root.attach_level = _root.attach_level + 1;
count = count + 1;
if (count == 17) {
count = 1;
row = row + 1;
}
if (eval ((("_root.leveldata.level" add level_nr) add ".p") add loop) == "player") {
_root.attachMovie("player", "player", _root.attach_level);
setProperty("player", _x , int(start_point._x) + (_root.move_speed * count));
setProperty("player", _y , int(start_point._y) + (_root.move_speed * row));
} else if (eval ((("_root.leveldata.level" add level_nr) add ".p") add loop) eq "key") {
_root.attach_level = _root.attach_level + 1;
_root.attachMovie(eval ((("_root.leveldata.level" add level_nr) add ".p") add loop), "key", _root.attach_level);
setProperty("key", _x , int(start_point._x) + (_root.move_speed * count));
setProperty("key", _y , int(start_point._y) + (_root.move_speed * row));
} else if (eval ((("_root.leveldata.level" add level_nr) add ".p") add loop) eq "door") {
_root.attach_level = _root.attach_level + 1;
_root.attachMovie(eval ((("_root.leveldata.level" add level_nr) add ".p") add loop), "door", _root.attach_level);
setProperty("door", _x , int(start_point._x) + (_root.move_speed * count));
setProperty("door", _y , int(start_point._y) + (_root.move_speed * row));
} else if (eval ((("_root.leveldata.level" add level_nr) add ".p") add loop) eq "energizer") {
if (eval ((("wall" add (int(start_point._x) + (_root.move_speed * count))) add (int(start_point._y) + (_root.move_speed * row))) add ".present") ne true) {
_root.attachMovie("wall", "wall", _root.attach_level);
setProperty("wall", _x , int(start_point._x) + (_root.move_speed * count));
setProperty("wall", _y , int(start_point._y) + (_root.move_speed * row));
}
_root.attach_level = _root.attach_level + 1;
_root.attachMovie(eval ((("_root.leveldata.level" add level_nr) add ".p") add loop), "energizer", _root.attach_level);
setProperty("energizer", _x , int(start_point._x) + (_root.move_speed * count));
setProperty("energizer", _y , int(start_point._y) + (_root.move_speed * row));
} else {
_root.attachMovie(eval ((("_root.leveldata.level" add level_nr) add ".p") add loop), "object" add loop, _root.attach_level);
setProperty("object" add loop, _x , int(start_point._x) + (_root.move_speed * count));
setProperty("object" add loop, _y , int(start_point._y) + (_root.move_speed * row));
}
loop++;
}
levelcode = eval ("level" add level_nr);
_root.pause = true;
_root.attach_level = _root.attach_level + 1;
int_level_string = String(_root.level_nr);
add_zeros = 3 - int_level_string.length;
zeros_string = "";
loop = 0;
while (loop != Number(add_zeros)) {
zeros_string = zeros_string add "0";
loop++;
}
_root.attachMovie("getready", "getready", _root.attach_level);
getready._x = 275;
getready._y = 200;
_root.time = eval (("_root.leveldata.level" add level_nr) add ".time");
_root.last_level = eval (("_root.leveldata.level" add level_nr) add ".last_level");
}
function unbuild_level(gotoTarget) {
row = 0;
count = 0;
_root.player.removeMovieClip();
_root.energizer.removeMovieClip();
_root.port.removeMovieClip();
_root.door.removeMovieClip();
loop = 1;
while (loop != 177) {
count = count + 1;
if (count == 17) {
count = 1;
row = row + 1;
}
x_name = int(start_point._x) + (_root.move_speed * count);
y_name = int(start_point._y) + (_root.move_speed * (row - 1));
removeMovieClip(("wall" add x_name) add y_name);
removeMovieClip(("enemy" add x_name) add y_name);
removeMovieClip(("stone" add x_name) add y_name);
removeMovieClip(("ground" add x_name) add y_name);
loop++;
}
gotoAndPlay(String(gotoTarget));
}
_root.sound_menu_loop.gotoAndPlay("fade");
_root.stones_collected = 0;
_root.total_stones = 0;
_root.got_key = false;
move_speed = 30;
_root.move_speed = 30;
unbuild_level();
build_level();
stop();
Frame 50
clear_level_vars();
_root.meter_bar._xscale = 0;
_root.stones_collected = 0;
_root.total_stones = 0;
stopAllSounds();
stop();
Frame 73
_root.clear_level_vars();
_root.meter_bar._xscale = 0;
_root.stones_collected = 0;
_root.total_stones = 0;
name = "";
Selection.setFocus("name");
stopAllSounds();
stop();
Frame 74
_root.clear_level_vars();
_root.meter_bar._xscale = 0;
_root.stones_collected = 0;
_root.total_stones = 0;
name = "";
Selection.setFocus("name");
stopAllSounds();
stop();
Symbol 38 MovieClip [level_done] Frame 1
_root.pause = true;
_root.timer.stop();
_root.player._y = 3000;
Symbol 38 MovieClip [level_done] Frame 45
if (_root.playmode != "test") {
_root.unbuild_level("count_score");
this.removeMovieClip();
} else {
_root.unbuild_test_level("save_test_level");
this.removeMovieClip();
}
Symbol 47 Button
on (rollOver) {
_root.play_sound_menu_browse();
nextFrame();
}
Symbol 48 Button
on (release) {
_root.timer.timecorrect = int(getTimer() / 1000) - (Number(_root.timer.time) - _root.timer.int_timer);
_root.play_sound_menu_select();
_root.pause = false;
_root.timer.play();
this.removeMovieClip();
}
on (keyPress "<Enter>") {
_root.timer.timecorrect = int(getTimer() / 1000) - (Number(_root.timer.time) - _root.timer.int_timer);
_root.play_sound_menu_select();
_root.pause = false;
_root.timer.play();
this.removeMovieClip();
}
on (keyPress "<Space>") {
_root.timer.timecorrect = int(getTimer() / 1000) - (Number(_root.timer.time) - _root.timer.int_timer);
_root.play_sound_menu_select();
_root.pause = false;
_root.timer.play();
this.removeMovieClip();
}
on (keyPress "<Up>") {
_root.play_sound_menu_browse();
nextFrame();
}
on (keyPress "<Down>") {
_root.play_sound_menu_browse();
nextFrame();
}
Symbol 49 Button
on (release) {
_root.play_sound_menu_select();
_root.gotoAndStop("menu");
_root.stones_collected = 0;
_root.total_stones = 0;
_root.meter_bar._xscale = 0;
_root.clear_level_vars();
stopAllSounds();
if (_root.playmode == "arcade") {
_root.unbuild_level("main_menu");
} else {
_root.unbuild_level("load_custom_level");
}
this.removeMovieClip();
}
on (keyPress "<Enter>") {
_root.play_sound_menu_select();
_root.gotoAndStop("menu");
_root.int_score = 0;
_root.score = 0;
_root.score_html = "";
_root.stones_collected = 0;
_root.total_stones = 0;
_root.meter_bar._xscale = 0;
_root.clear_level_vars();
stopAllSounds();
if (_root.playmode == "arcade") {
_root.unbuild_level("main_menu");
} else {
_root.unbuild_level("load_custom_level");
}
this.removeMovieClip();
}
on (keyPress "<Space>") {
_root.play_sound_menu_select();
_root.gotoAndStop("menu");
_root.int_score = 0;
_root.score = 0;
_root.score_html = "";
_root.stones_collected = 0;
_root.total_stones = 0;
_root.meter_bar._xscale = 0;
_root.clear_level_vars();
stopAllSounds();
if (_root.playmode == "arcade") {
_root.unbuild_level("main_menu");
} else {
_root.unbuild_level("load_custom_level");
}
this.removeMovieClip();
}
on (keyPress "<Up>") {
_root.play_sound_menu_browse();
prevFrame();
}
on (keyPress "<Down>") {
_root.play_sound_menu_browse();
prevFrame();
}
Symbol 50 Button
on (rollOver) {
_root.play_sound_menu_browse();
prevFrame();
}
Symbol 51 MovieClip [ig_menu] Frame 1
stop();
Symbol 58 MovieClip Frame 1
enemy = ("_root.enemy" add int(_parent._x)) add int(_parent._y);
_parent.position = int(_parent._x) add int(_parent._y);
if (eval (enemy add ".present") eq true) {
_root.explode(int(_parent._x), int(_parent._y));
_parent.gotoAndPlay("die");
}
Symbol 58 MovieClip Frame 2
gotoAndPlay (1);
Symbol 141 MovieClip [player] Frame 1
move = false;
_root.playerstart_x = this._x;
_root.playerstart_y = this._y;
Symbol 141 MovieClip [player] Frame 2
if (die == true) {
gotoAndPlay (63);
}
if (((Key.isDown(37) and (move eq false)) and (die ne true)) and (_root.pause ne true)) {
_root.move_left();
} else if (((Key.isDown(39) and (move eq false)) and (die ne true)) and (_root.pause ne true)) {
_root.move_right();
} else if (((Key.isDown(38) and (move eq false)) and (die ne true)) and (_root.pause ne true)) {
_root.move_up();
} else if (((Key.isDown(40) and (move eq false)) and (die ne true)) and (_root.pause ne true)) {
_root.move_down();
}
Symbol 141 MovieClip [player] Frame 3
gotoAndPlay (2);
Symbol 141 MovieClip [player] Frame 4
move = false;
moved = false;
gotoAndStop (1);
Symbol 141 MovieClip [player] Frame 5
move = true;
this._y = this._y - _root.move_speed;
removeMovieClip(("_root.ground" add int(this._x)) add int(this._y));
_root.ground_clear = false;
Symbol 141 MovieClip [player] Frame 7
move = false;
moved = false;
gotoAndPlay (2);
Symbol 141 MovieClip [player] Frame 9
move = true;
move_direction = "down";
this._y = this._y + _root.move_speed;
removeMovieClip(("_root.ground" add int(this._x)) add int(this._y));
_root.ground_clear = false;
Symbol 141 MovieClip [player] Frame 11
move = false;
moved = false;
gotoAndPlay (2);
Symbol 141 MovieClip [player] Frame 25
move = true;
this._x = this._x - _root.move_speed;
removeMovieClip(("_root.ground" add int(this._x)) add int(this._y));
_root.ground_clear = false;
Symbol 141 MovieClip [player] Frame 27
move = false;
moved = false;
gotoAndPlay (2);
Symbol 141 MovieClip [player] Frame 43
move = true;
this._x = this._x + _root.move_speed;
removeMovieClip(("_root.ground" add int(this._x)) add int(this._y));
_root.ground_clear = false;
Symbol 141 MovieClip [player] Frame 45
move = false;
moved = false;
gotoAndPlay (2);
Symbol 141 MovieClip [player] Frame 63
this._x = this._x + 1;
die = true;
_root.got_key = false;
play();
Symbol 141 MovieClip [player] Frame 100
die = false;
stopAllSounds();
if ((_root.lives_left != 0) and (_root.playmode != "test")) {
_root.timer.gotoAndStop(1);
_root.gotoAndPlay("reset_level");
_root.lives.nextFrame();
} else if ((_root.lives_left != 0) and (_root.playmode == "test")) {
_root.timer.gotoAndStop(1);
_root.gotoAndPlay("reset_test_level");
_root.lives.nextFrame();
} else if (_root.playmode == "test") {
_root.unbuild_test_level("level_editor_gameover");
} else if (_root.playmode == "arcade") {
_root.unbuild_level("gameover");
} else {
_root.unbuild_level("load_custom_level");
}
Symbol 148 Button
on (release) {
_root.EditorGoBackType = "back";
_root.play_sound_menu_select();
_root.gotoAndStop("menu");
_root.stones_collected = 0;
_root.total_stones = 0;
_root.meter_bar._xscale = 0;
_root.clear_level_vars();
_root.unbuild_test_level("level_editor");
stopAllSounds();
this.removeMovieClip();
}
on (keyPress "<Enter>") {
_root.EditorGoBackType = "back";
_root.play_sound_menu_select();
_root.gotoAndStop("menu");
_root.int_score = 0;
_root.score = 0;
_root.score_html = "";
_root.stones_collected = 0;
_root.total_stones = 0;
_root.meter_bar._xscale = 0;
_root.clear_level_vars();
_root.unbuild_test_level("level_editor");
stopAllSounds();
this.removeMovieClip();
}
on (keyPress "<Space>") {
_root.EditorGoBackType = "back";
_root.play_sound_menu_select();
_root.gotoAndStop("menu");
_root.int_score = 0;
_root.score = 0;
_root.score_html = "";
_root.stones_collected = 0;
_root.total_stones = 0;
_root.meter_bar._xscale = 0;
_root.clear_level_vars();
_root.unbuild_test_level("level_editor");
stopAllSounds();
this.removeMovieClip();
}
on (keyPress "<Up>") {
_root.play_sound_menu_browse();
prevFrame();
}
on (keyPress "<Down>") {
_root.play_sound_menu_browse();
prevFrame();
}
Symbol 149 MovieClip [ig_menu_editor] Frame 1
stop();
Symbol 152 Button
on (release) {
_root.playmode = "test";
stopAllSounds();
_root.play_sound_start_level();
_root.timer.timecorrect = int(getTimer() / 1000);
_root.timer.time = _root.time;
_root.pause = false;
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
_root.stones_collected = 0;
_root.got_key = false;
this.removeMovieClip();
}
on (release, keyPress "<Space>") {
_root.playmode = "test";
stopAllSounds();
_root.play_sound_start_level();
_root.timer.timecorrect = int(getTimer() / 1000);
_root.timer.time = _root.time;
_root.pause = false;
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
_root.stones_collected = 0;
_root.got_key = false;
this.removeMovieClip();
}
on (release, keyPress "<Enter>") {
_root.playmode = "test";
stopAllSounds();
_root.play_sound_start_level();
_root.timer.timecorrect = int(getTimer() / 1000);
_root.timer.time = _root.time;
_root.pause = false;
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
_root.stones_collected = 0;
_root.got_key = false;
this.removeMovieClip();
}
Symbol 154 MovieClip [getready_test] Frame 1
level_name = _root.custom_levels[_root.custom_level_count][1];
Symbol 157 Button
on (release) {
_root.playmode = "custom";
stopAllSounds();
_root.play_sound_start_level();
_root.timer.timecorrect = int(getTimer() / 1000);
_root.timer.time = _root.time;
_root.pause = false;
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
_root.stones_collected = 0;
_root.got_key = false;
this.removeMovieClip();
}
on (release, keyPress "<Space>") {
_root.playmode = "custom";
stopAllSounds();
_root.play_sound_start_level();
_root.timer.timecorrect = int(getTimer() / 1000);
_root.timer.time = _root.time;
_root.pause = false;
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
_root.stones_collected = 0;
_root.got_key = false;
this.removeMovieClip();
}
on (release, keyPress "<Enter>") {
_root.playmode = "custom";
stopAllSounds();
_root.play_sound_start_level();
_root.timer.timecorrect = int(getTimer() / 1000);
_root.timer.time = _root.time;
_root.pause = false;
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
_root.stones_collected = 0;
_root.got_key = false;
this.removeMovieClip();
}
Symbol 160 MovieClip [getready_custom] Frame 1
level_name = _root.custom_levels[_root.custom_level_count][1];
Symbol 169 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_back();
this.removeMovieClip();
}
on (keyPress "<Space>") {
_root.play_sound_menu_back();
this.removeMovieClip();
}
on (keyPress "<Escape>") {
_root.play_sound_menu_back();
this.removeMovieClip();
}
Symbol 179 Button
on (release) {
_root.play_sound_start_level();
_root.timer.timecorrect = int(getTimer() / 1000);
_root.timer.time = _root.time;
_root.pause = false;
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
_root.stones_collected = 0;
_root.got_key = false;
_root.sound_loop1.gotoAndPlay("fade");
this.removeMovieClip();
}
on (release, keyPress "<Space>") {
_root.play_sound_start_level();
_root.timer.timecorrect = int(getTimer() / 1000);
_root.timer.time = _root.time;
_root.pause = false;
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
_root.stones_collected = 0;
_root.got_key = false;
_root.sound_loop1.gotoAndPlay("fade");
this.removeMovieClip();
}
on (release, keyPress "<Enter>") {
_root.play_sound_start_level();
_root.timer.timecorrect = int(getTimer() / 1000);
_root.timer.time = _root.time;
_root.pause = false;
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
_root.stones_collected = 0;
_root.got_key = false;
_root.sound_loop1.gotoAndPlay("fade");
this.removeMovieClip();
}
Symbol 184 MovieClip [getready] Frame 1
level_name = "level " add _root.level_nr;
Symbol 189 MovieClip [port] Frame 2
if ((int(_root.player._x) eq int(this._x)) and (int(_root.player._y + _root.move_speed) eq int(this._y))) {
_root.attach_level = _root.attach_level + 1;
_root.attachMovie("level_done", "level_done", _root.attach_level);
_root.level_done._x = _root.player._x;
_root.level_done._y = _root.player._y;
_root.player.removeMovieClip();
}
Symbol 189 MovieClip [port] Frame 3
gotoAndPlay (2);
Symbol 196 MovieClip Frame 1
gotoAndPlay(random(24));
Symbol 196 MovieClip Frame 25
gotoAndPlay (2);
Symbol 197 MovieClip Frame 1
x = int(getProperty("../", _x));
y = int(getProperty("../", _y));
px = int(getProperty("/player", _x));
py = int(getProperty("/player", _y));
enemy = ("/:enemy" add x) add y;
if (eval (enemy add ".present") eq true) {
/:explode(x, y);
}
if (((x eq px) and (y eq py)) and (../:type != "key")) {
/:player.die = true;
/:player.gotoAndPlay("die");
/:explode(x, x);
} else if (((x eq px) and (y eq py)) and (../:type == "key")) {
Set("/:got_key", true);
_parent.removeMovieClip();
}
Symbol 197 MovieClip Frame 2
gotoAndPlay (1);
Symbol 198 MovieClip [capsule] Frame 1
_root.name_object(this, "stone");
_root.total_stones = _root.total_stones + 1;
present = true;
type = "capsule";
sound = "played";
if (_root.pause == true) {
gotoAndPlay (22);
}
Symbol 198 MovieClip [capsule] Frame 9
move = false;
fall = false;
if (disabled ne true) {
x = int(_x);
y = int(_y);
m = /:move_speed;
fall_enabled = ((eval ((("/:ground" add x) add (y + m)) add ".present") != true) and (eval ((("/:wall" add x) add int(y + m)) add ".present") != true)) and (eval ((("/:stone" add x) add int(y + m)) add ".present") != true);
playerhit = (int(getProperty("/player", _x)) eq x) and ((int(getProperty("/player", _y)) - m) eq y);
if (((fall_enabled == true) and (playerhit eq false)) and (/:pause ne true)) {
gotoAndPlay (11);
sound = "notplayed";
fall = true;
} else if (sound != "played") {
if ((eval ((("/:stone" add x) add int(y + m)) add ".present") == true) and (eval ((("/:stone" add x) add int(y + _root.move_speed)) add ".type") == "bomb")) {
/:explode(x, y);
} else if (fall_enabled != true) {
/:play_sound_fall();
sound = "played";
}
}
}
Symbol 198 MovieClip [capsule] Frame 10
gotoAndPlay (9);
Symbol 198 MovieClip [capsule] Frame 11
move = true;
_y = (y + m);
/:name_object(this, "stone");
Symbol 198 MovieClip [capsule] Frame 15
px = int(getProperty("/player", _x));
py = int(getProperty("/player", _y) - /:move_speed);
x = int(_x);
y = int(_y);
if ((((px eq x) and (py eq y)) and (/:player.die ne true)) and (/:pause != true)) {
/:explode(px, py);
tellTarget ("/player") {
gotoAndPlay ("die");
};
}
if (/:pause != true) {
gotoAndPlay (9);
} else {
gotoAndPlay (14);
}
Symbol 198 MovieClip [capsule] Frame 16
/:name_object(this, "stone");
Symbol 198 MovieClip [capsule] Frame 18
gotoAndPlay (9);
Symbol 198 MovieClip [capsule] Frame 19
/:name_object(this, "stone");
Symbol 198 MovieClip [capsule] Frame 21
gotoAndPlay (9);
Symbol 198 MovieClip [capsule] Frame 22
if (/:pause != true) {
gotoAndPlay (8);
}
Symbol 198 MovieClip [capsule] Frame 23
gotoAndPlay (22);
Symbol 198 MovieClip [capsule] Frame 24
/:name_object(this, "stone");
Symbol 201 MovieClip Frame 1
gotoAndStop(random(2) + 1);
Symbol 201 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 3
stop();
Symbol 202 MovieClip [bomb] Frame 1
function explode() {
x = int(_x);
y = int(_y);
/:explode(x, y);
}
_root.name_object(this, "stone");
present = true;
type = "bomb";
sound = "played";
if (_root.pause == true) {
gotoAndPlay (22);
}
Symbol 202 MovieClip [bomb] Frame 9
if (this.explosion_hit == true) {
gotoAndPlay (24);
}
move = false;
fall = false;
if (disabled ne true) {
x = int(_x);
y = int(_y);
fall_enabled = ((eval ((("_root.ground" add x) add (y + _root.move_speed)) add ".present") != true) and (eval ((("_root.wall" add x) add (y + _root.move_speed)) add ".present") != true)) and (eval ((("_root.stone" add x) add (y + _root.move_speed)) add ".present") != true);
playerhit = (int(getProperty("/player", _x)) eq x) and (int(getProperty("/player", _y) - /:move_speed) eq y);
if (((fall_enabled == true) and (playerhit eq false)) and (/:pause ne true)) {
gotoAndPlay (11);
sound = "notplayed";
fall = true;
} else if (sound != "played") {
if (fall_enabled != true) {
/:explode(x, y);
sound = "played";
}
}
}
Symbol 202 MovieClip [bomb] Frame 10
gotoAndPlay (9);
Symbol 202 MovieClip [bomb] Frame 11
move = true;
_y = (_y + /:move_speed);
/:name_object(this, "stone");
if (explosion_hit == true) {
gotoAndPlay (24);
}
Symbol 202 MovieClip [bomb] Frame 12
if (explosion_hit == true) {
gotoAndPlay (24);
}
Symbol 202 MovieClip [bomb] Frame 13
if (this.explosion_hit == true) {
gotoAndPlay (24);
}
Symbol 202 MovieClip [bomb] Frame 14
if (explosion_hit == true) {
gotoAndPlay (24);
}
Symbol 202 MovieClip [bomb] Frame 15
px = int(getProperty("/player", _x));
py = int(getProperty("/player", _y) - /:move_speed);
x = int(_x);
y = int(_y);
if ((((px eq x) and (py eq y)) and (/:player.die ne true)) and (/:pause != true)) {
/:explode(px, py);
tellTarget ("/player") {
gotoAndPlay ("die");
};
}
if (/:pause != true) {
gotoAndPlay (9);
} else {
gotoAndPlay (14);
}
Symbol 202 MovieClip [bomb] Frame 16
if (explosion_hit == true) {
gotoAndPlay (24);
}
/:name_object(this, "stone");
Symbol 202 MovieClip [bomb] Frame 17
if (explosion_hit == true) {
gotoAndPlay (24);
}
Symbol 202 MovieClip [bomb] Frame 18
gotoAndPlay (9);
Symbol 202 MovieClip [bomb] Frame 19
if (explosion_hit == true) {
gotoAndPlay (24);
}
/:name_object(this, "stone");
Symbol 202 MovieClip [bomb] Frame 20
if (explosion_hit == true) {
gotoAndPlay (24);
}
Symbol 202 MovieClip [bomb] Frame 21
gotoAndPlay (9);
Symbol 202 MovieClip [bomb] Frame 22
if (/:pause != true) {
gotoAndPlay (8);
}
Symbol 202 MovieClip [bomb] Frame 23
gotoAndPlay (22);
Symbol 202 MovieClip [bomb] Frame 24
explode();
present = false;
this.removeMovieClip();
stop();
Symbol 204 MovieClip Frame 1
if (((int(_parent._x) eq int(_root.player._x)) and (int(_parent._y) eq int(_root.player._y))) and (_parent.type != "key")) {
_root.player.die = true;
_root.player.gotoAndPlay("die");
_root.explode(int(_parent._x), int(_parent._y));
} else if (((int(_parent._x) eq int(_root.player._x)) and (int(_parent._y) eq int(_root.player._y))) and (_parent.type == "key")) {
_root.got_key = true;
_parent.removeMovieClip();
} else if (((int(_parent._x) eq int(_root.player._x)) and (int(_parent._y + _root.move_speed) eq int(_root.player._y))) and (_parent.type == "key")) {
_root.got_key = true;
_parent.removeMovieClip();
}
Symbol 204 MovieClip Frame 2
gotoAndPlay (1);
Symbol 205 MovieClip [key] Frame 1
_root.name_object(this, "stone");
present = true;
type = "key";
sound = "played";
if (_root.pause == true) {
gotoAndPlay (17);
}
Symbol 205 MovieClip [key] Frame 9
if ((int(this._x) == int(_root.player._x)) and (int(this._y) == int(_root.player._y))) {
_root.got_key = true;
this.removeMovieClip();
}
move = false;
fall = false;
if (disabled ne true) {
fall_enabled = (((eval ((("_root.ground" add int(this._x)) add int(this._y + _root.move_speed)) add ".present") != true) and (eval ((("_root.wall" add int(this._x)) add int(this._y + _root.move_speed)) add ".present") != true)) and (eval ((("_root.stone" add int(this._x)) add int(this._y + _root.move_speed)) add ".present") != true)) and (eval ((("_root.enemy" add int(this._x)) add int(this._y + _root.move_speed)) add ".present") != true);
playerhit = (int(_root.player._x) eq int(this._x)) and (int(_root.player._y - _root.move_speed) eq int(this._y));
if ((fall_enabled == true) and (_root.pause ne true)) {
gotoAndPlay (12);
sound = "notplayed";
fall = true;
} else if (sound != "played") {
if (fall_enabled != true) {
_root.play_sound_keydrop();
sound = "played";
}
}
}
Symbol 205 MovieClip [key] Frame 10
if ((int(this._x) == int(_root.player._x)) and (int(this._y) == int(_root.player._y))) {
_root.got_key = true;
this.removeMovieClip();
}
Symbol 205 MovieClip [key] Frame 11
gotoAndPlay (9);
Symbol 205 MovieClip [key] Frame 12
if ((int(this._x) eq int(_root.player._x)) and (int(this._y) eq int(_root.player._y))) {
_root.got_key = true;
this.removeMovieClip();
} else if ((int(this._x) eq int(_root.player._x)) and (int(this._y + _root.move_speed) eq int(_root.player._y))) {
_root.got_key = true;
this.removeMovieClip();
}
move = true;
this._y = this._y + _root.move_speed;
_root.name_object(this, "stone");
Symbol 205 MovieClip [key] Frame 16
if (_root.pause != true) {
gotoAndPlay (9);
} else {
gotoAndPlay (14);
}
Symbol 205 MovieClip [key] Frame 17
if (_root.pause != true) {
gotoAndPlay (8);
}
Symbol 205 MovieClip [key] Frame 18
gotoAndPlay (17);
Symbol 205 MovieClip [key] Frame 19
_root.name_object(this, "stone");
present = false;
this.removeMovieClip();
Symbol 209 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 209 MovieClip Frame 2
stop();
Symbol 209 MovieClip Frame 3
stop();
Symbol 209 MovieClip Frame 4
stop();
Symbol 210 MovieClip [rock] Frame 1
_root.name_object(this, "stone");
present = true;
type = "rock";
sound = "played";
if (_root.pause == true) {
gotoAndPlay (22);
}
Symbol 210 MovieClip [rock] Frame 9
move = false;
fall = false;
if (disabled ne true) {
x = int(_x);
y = int(_y);
m = /:move_speed;
fall_enabled = ((eval ((("/:ground" add x) add (y + m)) add ".present") != true) and (eval ((("/:wall" add x) add int(y + m)) add ".present") != true)) and (eval ((("/:stone" add x) add int(y + m)) add ".present") != true);
playerhit = (int(getProperty("/player", _x)) eq x) and ((int(getProperty("/player", _y)) - m) eq y);
if (((fall_enabled == true) and (playerhit eq false)) and (/:pause ne true)) {
gotoAndPlay (11);
sound = "notplayed";
fall = true;
} else if (sound != "played") {
if ((eval ((("/:stone" add x) add int(y + m)) add ".present") == true) and (eval ((("/:stone" add x) add int(y + _root.move_speed)) add ".type") == "bomb")) {
/:explode(x, y);
} else if (fall_enabled != true) {
/:play_sound_fall();
sound = "played";
}
}
}
Symbol 210 MovieClip [rock] Frame 10
gotoAndPlay (9);
Symbol 210 MovieClip [rock] Frame 11
move = true;
_y = (y + m);
/:name_object(this, "stone");
Symbol 210 MovieClip [rock] Frame 15
px = int(getProperty("/player", _x));
py = int(getProperty("/player", _y) - /:move_speed);
x = int(_x);
y = int(_y);
if ((((px eq x) and (py eq y)) and (/:player.die ne true)) and (/:pause != true)) {
/:explode(px, py);
tellTarget ("/player") {
gotoAndPlay ("die");
};
}
if (/:pause != true) {
gotoAndPlay (9);
} else {
gotoAndPlay (14);
}
Symbol 210 MovieClip [rock] Frame 16
/:name_object(this, "stone");
Symbol 210 MovieClip [rock] Frame 18
gotoAndPlay (9);
Symbol 210 MovieClip [rock] Frame 19
/:name_object(this, "stone");
Symbol 210 MovieClip [rock] Frame 21
gotoAndPlay (9);
Symbol 210 MovieClip [rock] Frame 22
if (/:pause != true) {
gotoAndPlay (8);
}
Symbol 210 MovieClip [rock] Frame 23
gotoAndPlay (22);
Symbol 210 MovieClip [rock] Frame 24
/:name_object(this, "stone");
present = false;
this.removeMovieClip();
Symbol 213 MovieClip [energizer] Frame 1
stone = ("_root.stone" add int(this._x)) add int(this._y - _root.move_speed);
stone_y = getProperty(stone, _y);
if (eval ((("_root.stone" add int(this._x)) add int(this._y - _root.move_speed)) add ".type") != "capsule") {
type = "rock";
} else {
type = "ball";
}
if (((int(this._y - _root.move_speed) eq int(stone_y)) and (type != "rock")) and (_root.pause ne true)) {
target = new Sound();
target.attachSound("target");
target.start();
Set(stone add ".present", false);
removeMovieClip(stone);
_root.stones_collected = _root.stones_collected + 1;
_root.meter_bar._xscale = (_root.stones_collected / _root.total_stones) * 100;
_root.attach_level = _root.attach_level + 1;
_root.attachMovie("capsule_in", "capsule_in", _root.attach_level);
_root.capsule_in._x = this._x;
_root.capsule_in._y = this._y;
}
if ((((_root.stones_collected eq _root.total_stones) and (port != "active")) and (_root.pause ne true)) and (_root.player.die != true)) {
_root.attach_level = _root.attach_level + 1;
_root.attachMovie("port", "port", _root.attach_level);
_root.port._x = this._x;
_root.port._y = this._y;
port = "active";
}
Symbol 213 MovieClip [energizer] Frame 2
gotoAndPlay (1);
Symbol 216 MovieClip [bee] Frame 1
function explode() {
/:add_score(_root.enemy_kill_score);
/:explode(int(_x), int(_y));
}
/:name_object(this, "enemy");
present = true;
if (/:pause == true) {
gotoAndPlay (11);
}
Symbol 216 MovieClip [bee] Frame 2
if (explosion_hit == true) {
gotoAndPlay (13);
}
x = _x;
y = _y;
m = /:move_speed;
Set(("/:" + int(x)) + int(y), "nottaken");
if ((((eval ((("/:stone" + int(x - m)) + int(y)) + ".present") != true) and (eval ((("/:wall" + int(x - m)) + int(y)) + ".present") != true)) and (eval ((("/:enemy" + int(x - m)) + int(y)) + ".present") != true)) and (eval ((("/:ground" + int(x - m)) + int(y)) + ".present") != true)) {
Lmove = true;
} else {
Lmove = false;
}
if ((((eval ((("/:stone" + int(x + m)) + int(y)) + ".present") != true) and (eval ((("/:wall" + int(x + m)) + int(y)) + ".present") != true)) and (eval ((("/:enemy" + int(x + m)) + int(y)) + ".present") != true)) and (eval ((("/:ground" + int(x + m)) + int(y)) + ".present") != true)) {
Rmove = true;
} else {
Rmove = false;
}
if ((((eval ((("/:stone" + int(x)) + int(y - m)) + ".present") != true) and (eval ((("/:ground" + int(x)) + int(y - m)) + ".present") != true)) and (eval ((("/:enemy" + int(x)) + int(y - m)) + ".present") != true)) and (eval ((("/:wall" + int(x)) + int(y - m)) + ".present") != true)) {
Umove = true;
} else {
Umove = false;
}
if ((((eval ((("/:stone" + int(x)) + int(y + m)) + ".present") != true) and (eval ((("/:ground" + int(x)) + int(y + m)) + ".present") != true)) and (eval ((("/:enemy" + int(x)) + int(y + m)) + ".present") != true)) and (eval ((("/:wall" + int(x)) + int(y + m)) + ".present") != true)) {
Dmove = true;
} else {
Dmove = false;
}
if (check != "done") {
if ((Umove == false) and (Lmove == true)) {
move = "left";
} else if ((Dmove == false) and (Rmove == true)) {
move = "right";
} else if ((Rmove == false) and (Umove == true)) {
move = "up";
} else if ((Lmove == false) and (Dmove == true)) {
move = "down";
} else if (((Dmove and Umove) and Rmove) and Lmove) {
move = "right";
}
check = "done";
}
if ((move == "left") and (Umove == true)) {
move = "up";
} else if ((move == "left") and (Lmove == true)) {
move = "left";
} else if ((move == "up") and (Rmove == true)) {
move = "right";
} else if ((move == "up") and (Umove == true)) {
move = "up";
} else if ((move == "right") and (Dmove == true)) {
move = "down";
} else if ((move == "right") and (Rmove == true)) {
move = "right";
} else if ((move == "down") and (Lmove == true)) {
move = "left";
} else if ((move == "down") and (Dmove == true)) {
move = "down";
} else {
move = "";
check = "notdone";
gotoAndPlay (3);
}
if (_root.pause ne true) {
if (move == "left") {
if (Lmove == true) {
_x = (x - m);
}
} else if (move == "right") {
if (Rmove == true) {
_x = (x + m);
}
} else if (move == "up") {
if (Umove == true) {
_y = (y - m);
}
} else if (move == "down") {
if (Dmove == true) {
_y = (y + m);
}
}
}
Set(("_root.p" add int(_x)) add int(_y), "taken");
/:name_object(this, "enemy");
Symbol 216 MovieClip [bee] Frame 3
if (explosion_hit == true) {
gotoAndPlay (13);
}
Symbol 216 MovieClip [bee] Frame 4
if (explosion_hit == true) {
gotoAndPlay (13);
}
Symbol 216 MovieClip [bee] Frame 5
if (explosion_hit == true) {
gotoAndPlay (13);
}
Symbol 216 MovieClip [bee] Frame 6
if (explosion_hit == true) {
gotoAndPlay (13);
}
Symbol 216 MovieClip [bee] Frame 7
if (explosion_hit == true) {
gotoAndPlay (13);
}
Symbol 216 MovieClip [bee] Frame 8
if (explosion_hit == true) {
gotoAndPlay (13);
}
Symbol 216 MovieClip [bee] Frame 9
if (explosion_hit == true) {
gotoAndPlay (13);
}
Symbol 216 MovieClip [bee] Frame 10
Set(("_root.p" add int(_x)) add int(_y), "not_taken");
if (explosion_hit == true) {
gotoAndPlay (13);
}
gotoAndPlay (2);
Symbol 216 MovieClip [bee] Frame 11
if (/:pause != true) {
gotoAndPlay (2);
}
Symbol 216 MovieClip [bee] Frame 12
gotoAndPlay (11);
Symbol 216 MovieClip [bee] Frame 13
explode();
Set(("_root.p" add int(_x)) add int(_y), "not_taken");
present = false;
this.removeMovieClip();
Symbol 219 MovieClip [spider] Frame 1
function explode() {
_root.add_score(_root.enemy_kill_score);
_root.explode(int(this._x), int(this._y));
}
_root.name_object(this, "enemy");
present = true;
if (_root.pause == true) {
gotoAndPlay (12);
}
Symbol 219 MovieClip [spider] Frame 2
if (explosion_hit == true) {
gotoAndPlay (11);
}
x = int(_x);
y = int(_y);
m = /:move_speed;
px = int(getProperty("/player", _x));
py = int(getProperty("/player", _y));
Set(("/:p" add int(x)) add int(y), "nottaken");
if ((((eval ((("/:stone" add int(x - m)) add int(y)) add ".present") ne true) and (eval ((("/:wall" add int(x - m)) add int(y)) add ".present") ne true)) and (eval ((("/:enemy" add int(x - m)) add int(y)) add ".present") ne true)) and (eval ((("/:ground" add int(x - m)) add int(y)) add ".present") ne true)) {
Lmove = true;
} else {
Lmove = false;
}
if ((((eval ((("/:stone" add int(x + m)) add int(y)) add ".present") ne true) and (eval ((("/:wall" add int(x + m)) add int(y)) add ".present") ne true)) and (eval ((("/:enemy" add int(x + m)) add int(y)) add ".present") ne true)) and (eval ((("/:ground" add int(x + m)) add int(y)) add ".present") ne true)) {
Rmove = true;
} else {
Rmove = false;
}
if ((((eval ((("/:stone" add int(x)) add int(y - m)) add ".present") ne true) and (eval ((("/:ground" add int(x)) add int(y - m)) add ".present") ne true)) and (eval ((("/:enemy" add int(x)) add int(y - m)) add ".present") ne true)) and (eval ((("/:wall" add int(x)) add int(y - m)) add ".present") ne true)) {
Umove = true;
} else {
Umove = false;
}
if ((((eval ((("/:stone" add int(x)) add int(y + m)) add ".present") ne true) and (eval ((("/:ground" add int(x)) add int(y + m)) add ".present") ne true)) and (eval ((("/:enemy" add int(x)) add int(y + m)) add ".present") ne true)) and (eval ((("/:wall" add int(x)) add int(y + m)) add ".present") ne true)) {
Dmove = true;
} else {
Dmove = false;
}
if (_root.pause ne true) {
if (setdir != "done") {
dir = "x";
setdir = "done";
}
if (((dir == "x") and (Rmove == false)) and (Lmove == false)) {
dir = "y";
} else if (((dir == "y") and (Umove == false)) and (Dmove == false)) {
dir = "x";
}
if (dir == "x") {
if ((px < x) and (Lmove == true)) {
_x = (x - m);
} else if ((x < px) and (Rmove == true)) {
_x = (x + m);
}
dir = "y";
} else if (dir == "y") {
if ((py < y) and (Umove == true)) {
_y = (y - m);
} else if ((y < py) and (Dmove == true)) {
_y = (y + m);
}
dir = "x";
}
}
Set(("_root.p" add x) add y, "taken");
/:name_object(this, "enemy");
Symbol 219 MovieClip [spider] Frame 3
if (explosion_hit == true) {
gotoAndPlay (11);
}
Symbol 219 MovieClip [spider] Frame 4
if (explosion_hit == true) {
gotoAndPlay (11);
}
Symbol 219 MovieClip [spider] Frame 5
if (explosion_hit == true) {
gotoAndPlay (11);
}
Symbol 219 MovieClip [spider] Frame 6
if (explosion_hit == true) {
gotoAndPlay (11);
}
Symbol 219 MovieClip [spider] Frame 7
if (explosion_hit == true) {
gotoAndPlay (11);
}
Symbol 219 MovieClip [spider] Frame 8
if (explosion_hit == true) {
gotoAndPlay (11);
}
Symbol 219 MovieClip [spider] Frame 9
if (explosion_hit == true) {
gotoAndPlay (11);
}
Symbol 219 MovieClip [spider] Frame 10
Set(("_root.p" add int(_x)) add int(_y), "not_taken");
if (explosion_hit == true) {
gotoAndPlay (11);
}
gotoAndPlay (2);
Symbol 219 MovieClip [spider] Frame 11
explode();
Set(("_root.p" add int(_x)) add int(_y), "not_taken");
present = false;
this.removeMovieClip();
Symbol 219 MovieClip [spider] Frame 12
if (/:pause != true) {
gotoAndPlay (2);
}
Symbol 219 MovieClip [spider] Frame 13
gotoAndPlay (12);
Symbol 223 MovieClip Frame 1
gotoAndPlay(random(3) + 1);
Symbol 223 MovieClip Frame 2
stop();
Symbol 223 MovieClip Frame 3
stop();
Symbol 223 MovieClip Frame 4
stop();
Symbol 224 MovieClip [brick] Frame 1
_root.name_object(this, "wall");
this.present = true;
type = "brick";
stop();
Symbol 231 MovieClip Frame 1
gotoAndStop(random(5) + 1);
Symbol 231 MovieClip Frame 2
stop();
Symbol 231 MovieClip Frame 3
stop();
Symbol 231 MovieClip Frame 4
stop();
Symbol 231 MovieClip Frame 5
stop();
Symbol 231 MovieClip Frame 6
stop();
Symbol 232 MovieClip [ground] Frame 1
_root.name_object(this, "ground");
present = true;
stop();
Symbol 232 MovieClip [ground] Frame 2
_root.ground_clear = true;
Symbol 232 MovieClip [ground] Frame 4
this._y = -3000;
_root.ground_clear = false;
present = false;
stop();
Symbol 234 MovieClip [capsule_in] Frame 13
this.removeMovieClip();
stop();
Symbol 236 Button
on (release) {
nextFrame();
}
Symbol 238 Button
on (release) {
prevFrame();
}
Symbol 239 MovieClip [b_load_level] Frame 1
stop();
Symbol 239 MovieClip [b_load_level] Frame 2
_root.selected_level = int(this._name) + 1;
stop();
Symbol 241 MovieClip [door] Frame 1
_root.name_object(this, "wall");
present = true;
Symbol 241 MovieClip [door] Frame 2
if (_root.got_key == true) {
gotoAndPlay (4);
}
Symbol 241 MovieClip [door] Frame 3
gotoAndPlay (2);
Symbol 241 MovieClip [door] Frame 12
present = false;
this.removeMovieClip();
Symbol 245 MovieClip Frame 1
gotoAndPlay(random(40) + 1);
Symbol 245 MovieClip Frame 42
gotoAndPlay (2);
Symbol 246 MovieClip Frame 1
gotoAndPlay(random(65) + 1);
Symbol 246 MovieClip Frame 68
gotoAndPlay (2);
Symbol 252 Button
on (release) {
getURL ("http://www.uselab.com/goto.php?ref=miniclip.com&about=cryptraiderdemo", "_blank");
}
Symbol 263 Button
on (release, keyPress "<Space>") {
if (skipped != true) {
skipped = true;
_root.int_score = _root.int_score + time;
int_score_string = String(_root.int_score);
add_zeros = 6 - int_score_string.length;
zeros_string = "";
loop = 0;
while (loop != Number(add_zeros)) {
zeros_string = zeros_string add "0";
loop++;
}
score_html = ((("<FONT FACE=\"Courier New\" SIZE=\"16\" COLOR=\"#FFFFFF\"><B>" add zeros_string) add "<FONT COLOR=\"#FFFFFF\">") add _root.int_score) add "</FONT></FONT></B>";
time_html = "<FONT FACE=\"Courier New\" SIZE=\"16\" COLOR=\"#FFFFFF\"><B>000<FONT COLOR=\"#FFFFFF\"></FONT></B>";
_root.score = ((("<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>" add zeros_string) add "<FONT COLOR=\"#FFFFFF\">") add _root.int_score) add "</FONT></FONT></B>";
gotoAndPlay (22);
int_time = 0;
}
}
Symbol 264 Button
on (release, keyPress "<Space>") {
if (skipped != true) {
skipped = true;
_root.int_score = _root.int_score + time;
int_score_string = String(_root.int_score);
add_zeros = 6 - int_score_string.length;
zeros_string = "";
loop = 0;
while (loop != Number(add_zeros)) {
zeros_string = zeros_string add "0";
loop++;
}
score_html = ((("<FONT FACE=\"Courier New\" SIZE=\"16\" COLOR=\"#FFFFFF\"><B>" add zeros_string) add "<FONT COLOR=\"#FFFFFF\">") add _root.int_score) add "</FONT></FONT></B>";
time_html = "<FONT FACE=\"Courier New\" SIZE=\"16\" COLOR=\"#FFFFFF\"><B>000<FONT COLOR=\"#FFFFFF\"></FONT></B>";
_root.score = ((("<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>" add zeros_string) add "<FONT COLOR=\"#FFFFFF\">") add _root.int_score) add "</FONT></FONT></B>";
gotoAndPlay (47);
int_time = 0;
}
}
Symbol 265 MovieClip [count_score] Frame 1
stopAllSounds();
time = _root.timer.int_timer;
_root.timer.gotoAndStop(1);
int_time_string = String(time);
time_add_zeros = 3 - int_time_string.length;
time_zeros_string = "";
loop = 0;
while (loop != Number(time_add_zeros)) {
time_zeros_string = time_zeros_string add "0";
loop++;
}
int_score_string = String(_root.int_score);
add_zeros = 6 - int_score_string.length;
zeros_string = "";
loop = 0;
while (loop != Number(add_zeros)) {
zeros_string = zeros_string add "0";
loop++;
}
score_html = ((("<FONT FACE=\"Courier New\" SIZE=\"16\" COLOR=\"#FFFFFF\"><B>" add zeros_string) add "<FONT COLOR=\"#FFFFFF\">") add _root.int_score) add "</FONT></FONT></B>";
if (time == 0) {
time_html = ("<FONT FACE=\"Courier New\" SIZE=\"16\" COLOR=\"#FFFFFF\"><B>" add time_zeros_string) add "<FONT COLOR=\"#666666\">0</FONT></FONT></B>";
} else {
time_html = ((("<FONT FACE=\"Courier New\" SIZE=\"16\" COLOR=\"#FFFFFF\"><B>" add time_zeros_string) add "<FONT COLOR=\"#FFFFFF\">") add time) add "</FONT></FONT></B>";
}
skipped = false;
Symbol 265 MovieClip [count_score] Frame 19
if (0 < time) {
time = int(time - 1);
int_time_string = String(time);
time_add_zeros = 3 - int_time_string.length;
time_zeros_string = "";
loop = 0;
while (loop != Number(time_add_zeros)) {
time_zeros_string = time_zeros_string add "0";
loop++;
}
_root.int_score = _root.int_score + 1;
int_score_string = String(_root.int_score);
add_zeros = 6 - int_score_string.length;
zeros_string = "";
loop = 0;
while (loop != Number(add_zeros)) {
zeros_string = zeros_string add "0";
loop++;
}
score_html = ((("<FONT FACE=\"Courier New\" SIZE=\"16\" COLOR=\"#FFFFFF\"><B>" add zeros_string) add "<FONT COLOR=\"#FFFFFF\">") add _root.int_score) add "</FONT></FONT></B>";
if (time == 0) {
time_html = ("<FONT FACE=\"Courier New\" SIZE=\"16\" COLOR=\"#FFFFFF\"><B>" add time_zeros_string) add "<FONT COLOR=\"#FFFFFF\">0</FONT></FONT></B>";
} else {
time_html = ((("<FONT FACE=\"Courier New\" SIZE=\"16\" COLOR=\"#FFFFFF\"><B>" add time_zeros_string) add "<FONT COLOR=\"#FFFFFF\">") add time) add "</FONT></FONT></B>";
}
_root.score = ((("<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>" add zeros_string) add "<FONT COLOR=\"#FFFFFF\">") add _root.int_score) add "</FONT></FONT></B>";
} else {
gotoAndPlay (21);
}
Symbol 265 MovieClip [count_score] Frame 20
gotoAndPlay (19);
Symbol 265 MovieClip [count_score] Frame 21
stop();
Symbol 265 MovieClip [count_score] Frame 48
if (_root.last_level == "true") {
_root.gotoAndStop("welldone");
}
if ((_root.playmode == "custom") and ((_root.custom_level_count + 1) != _root.custom_levels.length)) {
stopAllSounds();
_root.custom_level_count++;
_root.selected_level = _root.custom_levels[_root.custom_level_count];
_root.gotoAndPlay("load_level");
this.removeMovieClip();
} else if ((_root.playmode == "custom") and ((_root.custom_level_count + 1) == _root.custom_levels.length)) {
_root.gotoAndStop("welldone_custom");
} else if (_root.playmode != "custom") {
stopAllSounds();
_root.level_nr = _root.level_nr + 1;
_root.level = "level" add _root.level_nr;
_root.gotoAndPlay("load_level");
this.removeMovieClip();
}
Symbol 273 MovieClip Frame 1
gotoAndStop(random(7) + 1);
Symbol 273 MovieClip Frame 2
stop();
Symbol 273 MovieClip Frame 3
stop();
Symbol 273 MovieClip Frame 4
stop();
Symbol 273 MovieClip Frame 5
stop();
Symbol 273 MovieClip Frame 6
stop();
Symbol 273 MovieClip Frame 7
stop();
Symbol 273 MovieClip Frame 8
stop();
Symbol 274 MovieClip [wall] Frame 1
_root.name_object(this, "wall");
present = true;
stop();
Symbol 280 MovieClip [player_die] Frame 9
this.removeMovieClip();
stop();
Instance of Symbol 282 MovieClip "level1" in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
p1 = "none";
p2 = "none";
p3 = "none";
p4 = "none";
p5 = "brick";
p6 = "wall";
p7 = "none";
p8 = "none";
p9 = "none";
p10 = "none";
p11 = "none";
p12 = "none";
p13 = "none";
p14 = "none";
p15 = "none";
p16 = "none";
p17 = "none";
p18 = "none";
p19 = "none";
p20 = "none";
p21 = "brick";
p22 = "wall";
p23 = "none";
p24 = "ground";
p25 = "ground";
p26 = "ground";
p27 = "capsule";
p28 = "ground";
p29 = "ground";
p30 = "ground";
p31 = "ground";
p32 = "none";
p33 = "none";
p34 = "none";
p35 = "none";
p36 = "none";
p37 = "brick";
p38 = "wall";
p39 = "none";
p40 = "ground";
p41 = "ground";
p42 = "ground";
p43 = "ground";
p44 = "ground";
p45 = "ground";
p46 = "ground";
p47 = "ground";
p48 = "none";
p49 = "none";
p50 = "player";
p51 = "none";
p52 = "none";
p53 = "brick";
p54 = "wall";
p55 = "none";
p56 = "none";
p57 = "none";
p58 = "none";
p59 = "none";
p60 = "none";
p61 = "none";
p62 = "none";
p63 = "none";
p64 = "none";
p65 = "brick";
p66 = "brick";
p67 = "brick";
p68 = "none";
p69 = "brick";
p70 = "wall";
p71 = "none";
p72 = "wall";
p73 = "wall";
p74 = "wall";
p75 = "wall";
p76 = "none";
p77 = "wall";
p78 = "wall";
p79 = "wall";
p80 = "none";
p81 = "wall";
p82 = "wall";
p83 = "wall";
p84 = "none";
p85 = "wall";
p86 = "wall";
p87 = "none";
p88 = "none";
p89 = "none";
p90 = "none";
p91 = "wall";
p92 = "energizer";
p93 = "wall";
p94 = "none";
p95 = "none";
p96 = "none";
p97 = "none";
p98 = "none";
p99 = "wall";
p100 = "none";
p101 = "wall";
p102 = "none";
p103 = "none";
p104 = "none";
p105 = "none";
p106 = "none";
p107 = "wall";
p108 = "wall";
p109 = "wall";
p110 = "none";
p111 = "none";
p112 = "none";
p113 = "none";
p114 = "none";
p115 = "none";
p116 = "none";
p117 = "none";
p118 = "none";
p119 = "none";
p120 = "none";
p121 = "none";
p122 = "none";
p123 = "none";
p124 = "none";
p125 = "none";
p126 = "none";
p127 = "none";
p128 = "none";
p129 = "brick";
p130 = "brick";
p131 = "brick";
p132 = "brick";
p133 = "brick";
p134 = "brick";
p135 = "brick";
p136 = "brick";
p137 = "brick";
p138 = "brick";
p139 = "brick";
p140 = "brick";
p141 = "brick";
p142 = "brick";
p143 = "brick";
p144 = "brick";
p145 = "ground";
p146 = "ground";
p147 = "ground";
p148 = "ground";
p149 = "ground";
p150 = "ground";
p151 = "ground";
p152 = "ground";
p153 = "ground";
p154 = "ground";
p155 = "ground";
p156 = "ground";
p157 = "ground";
p158 = "ground";
p159 = "ground";
p160 = "ground";
p161 = "none";
p162 = "none";
p163 = "none";
p164 = "none";
p165 = "none";
p166 = "none";
p167 = "none";
p168 = "none";
p169 = "none";
p170 = "none";
p171 = "none";
p172 = "none";
p173 = "none";
p174 = "none";
p175 = "none";
p176 = "none";
time = 40;
}
Instance of Symbol 282 MovieClip "level2" in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
p1 = "none";
p2 = "none";
p3 = "none";
p4 = "none";
p5 = "none";
p6 = "none";
p7 = "none";
p8 = "none";
p9 = "none";
p10 = "none";
p11 = "none";
p12 = "none";
p13 = "none";
p14 = "none";
p15 = "none";
p16 = "none";
p17 = "none";
p18 = "none";
p19 = "bomb";
p20 = "none";
p21 = "none";
p22 = "none";
p23 = "none";
p24 = "none";
p25 = "none";
p26 = "none";
p27 = "none";
p28 = "none";
p29 = "player";
p30 = "none";
p31 = "none";
p32 = "none";
p33 = "none";
p34 = "none";
p35 = "wall";
p36 = "wall";
p37 = "brick";
p38 = "brick";
p39 = "brick";
p40 = "brick";
p41 = "brick";
p42 = "brick";
p43 = "brick";
p44 = "brick";
p45 = "brick";
p46 = "brick";
p47 = "brick";
p48 = "brick";
p49 = "none";
p50 = "none";
p51 = "wall";
p52 = "none";
p53 = "none";
p54 = "none";
p55 = "none";
p56 = "none";
p57 = "none";
p58 = "none";
p59 = "none";
p60 = "none";
p61 = "none";
p62 = "none";
p63 = "none";
p64 = "none";
p65 = "none";
p66 = "none";
p67 = "wall";
p68 = "wall";
p69 = "wall";
p70 = "wall";
p71 = "wall";
p72 = "wall";
p73 = "wall";
p74 = "wall";
p75 = "wall";
p76 = "wall";
p77 = "wall";
p78 = "wall";
p79 = "wall";
p80 = "wall";
p81 = "none";
p82 = "none";
p83 = "none";
p84 = "none";
p85 = "none";
p86 = "capsule";
p87 = "none";
p88 = "none";
p89 = "door";
p90 = "none";
p91 = "none";
p92 = "none";
p93 = "none";
p94 = "none";
p95 = "none";
p96 = "none";
p97 = "brick";
p98 = "brick";
p99 = "wall";
p100 = "wall";
p101 = "wall";
p102 = "wall";
p103 = "wall";
p104 = "wall";
p105 = "wall";
p106 = "wall";
p107 = "wall";
p108 = "wall";
p109 = "wall";
p110 = "wall";
p111 = "wall";
p112 = "energizer";
p113 = "none";
p114 = "none";
p115 = "ground";
p116 = "ground";
p117 = "ground";
p118 = "ground";
p119 = "ground";
p120 = "ground";
p121 = "ground";
p122 = "ground";
p123 = "ground";
p124 = "ground";
p125 = "ground";
p126 = "ground";
p127 = "ground";
p128 = "ground";
p129 = "none";
p130 = "none";
p131 = "ground";
p132 = "ground";
p133 = "ground";
p134 = "ground";
p135 = "ground";
p136 = "ground";
p137 = "ground";
p138 = "ground";
p139 = "ground";
p140 = "ground";
p141 = "ground";
p142 = "ground";
p143 = "ground";
p144 = "ground";
p145 = "none";
p146 = "none";
p147 = "ground";
p148 = "ground";
p149 = "ground";
p150 = "ground";
p151 = "ground";
p152 = "ground";
p153 = "ground";
p154 = "ground";
p155 = "ground";
p156 = "ground";
p157 = "key";
p158 = "ground";
p159 = "ground";
p160 = "ground";
p161 = "none";
p162 = "none";
p163 = "none";
p164 = "none";
p165 = "none";
p166 = "none";
p167 = "none";
p168 = "none";
p169 = "none";
p170 = "none";
p171 = "none";
p172 = "none";
p173 = "none";
p174 = "none";
p175 = "none";
p176 = "none";
time = 40;
}
Instance of Symbol 282 MovieClip "level4" in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
p1 = "none";
p2 = "none";
p3 = "none";
p4 = "none";
p5 = "none";
p6 = "none";
p7 = "none";
p8 = "none";
p9 = "none";
p10 = "none";
p11 = "none";
p12 = "none";
p13 = "none";
p14 = "none";
p15 = "none";
p16 = "none";
p17 = "none";
p18 = "none";
p19 = "none";
p20 = "none";
p21 = "none";
p22 = "none";
p23 = "none";
p24 = "none";
p25 = "capsule";
p26 = "none";
p27 = "capsule";
p28 = "none";
p29 = "none";
p30 = "none";
p31 = "none";
p32 = "none";
p33 = "door";
p34 = "wall";
p35 = "wall";
p36 = "wall";
p37 = "wall";
p38 = "wall";
p39 = "wall";
p40 = "wall";
p41 = "wall";
p42 = "wall";
p43 = "wall";
p44 = "brick";
p45 = "brick";
p46 = "brick";
p47 = "brick";
p48 = "none";
p49 = "none";
p50 = "none";
p51 = "none";
p52 = "none";
p53 = "bomb";
p54 = "ground";
p55 = "ground";
p56 = "ground";
p57 = "ground";
p58 = "ground";
p59 = "wall";
p60 = "none";
p61 = "none";
p62 = "none";
p63 = "none";
p64 = "none";
p65 = "none";
p66 = "none";
p67 = "none";
p68 = "none";
p69 = "ground";
p70 = "ground";
p71 = "ground";
p72 = "ground";
p73 = "ground";
p74 = "ground";
p75 = "wall";
p76 = "none";
p77 = "none";
p78 = "none";
p79 = "none";
p80 = "none";
p81 = "none";
p82 = "none";
p83 = "none";
p84 = "none";
p85 = "bomb";
p86 = "ground";
p87 = "ground";
p88 = "ground";
p89 = "ground";
p90 = "ground";
p91 = "wall";
p92 = "none";
p93 = "none";
p94 = "none";
p95 = "none";
p96 = "none";
p97 = "none";
p98 = "player";
p99 = "none";
p100 = "none";
p101 = "ground";
p102 = "ground";
p103 = "ground";
p104 = "ground";
p105 = "ground";
p106 = "ground";
p107 = "wall";
p108 = "none";
p109 = "none";
p110 = "none";
p111 = "none";
p112 = "none";
p113 = "none";
p114 = "none";
p115 = "none";
p116 = "none";
p117 = "bomb";
p118 = "ground";
p119 = "ground";
p120 = "ground";
p121 = "ground";
p122 = "ground";
p123 = "wall";
p124 = "bee";
p125 = "none";
p126 = "none";
p127 = "none";
p128 = "none";
p129 = "none";
p130 = "none";
p131 = "none";
p132 = "none";
p133 = "ground";
p134 = "ground";
p135 = "ground";
p136 = "ground";
p137 = "ground";
p138 = "ground";
p139 = "wall";
p140 = "wall";
p141 = "wall";
p142 = "wall";
p143 = "none";
p144 = "none";
p145 = "none";
p146 = "none";
p147 = "none";
p148 = "none";
p149 = "bomb";
p150 = "ground";
p151 = "ground";
p152 = "ground";
p153 = "ground";
p154 = "ground";
p155 = "brick";
p156 = "none";
p157 = "key";
p158 = "wall";
p159 = "none";
p160 = "none";
p161 = "none";
p162 = "none";
p163 = "none";
p164 = "none";
p165 = "none";
p166 = "none";
p167 = "none";
p168 = "none";
p169 = "none";
p170 = "none";
p171 = "none";
p172 = "none";
p173 = "none";
p174 = "none";
p175 = "none";
p176 = "energizer";
time = 50;
}
Instance of Symbol 282 MovieClip "level3" in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
p1 = "none";
p2 = "none";
p3 = "none";
p4 = "none";
p5 = "rock";
p6 = "bee";
p7 = "brick";
p8 = "none";
p9 = "none";
p10 = "none";
p11 = "none";
p12 = "none";
p13 = "none";
p14 = "none";
p15 = "none";
p16 = "none";
p17 = "none";
p18 = "none";
p19 = "none";
p20 = "none";
p21 = "wall";
p22 = "none";
p23 = "brick";
p24 = "none";
p25 = "wall";
p26 = "none";
p27 = "ground";
p28 = "ground";
p29 = "ground";
p30 = "rock";
p31 = "ground";
p32 = "ground";
p33 = "none";
p34 = "none";
p35 = "none";
p36 = "none";
p37 = "wall";
p38 = "none";
p39 = "brick";
p40 = "none";
p41 = "wall";
p42 = "none";
p43 = "ground";
p44 = "ground";
p45 = "ground";
p46 = "ground";
p47 = "ground";
p48 = "ground";
p49 = "none";
p50 = "none";
p51 = "none";
p52 = "none";
p53 = "wall";
p54 = "none";
p55 = "brick";
p56 = "none";
p57 = "wall";
p58 = "none";
p59 = "none";
p60 = "capsule";
p61 = "none";
p62 = "none";
p63 = "none";
p64 = "none";
p65 = "none";
p66 = "none";
p67 = "none";
p68 = "none";
p69 = "wall";
p70 = "none";
p71 = "brick";
p72 = "none";
p73 = "wall";
p74 = "brick";
p75 = "brick";
p76 = "brick";
p77 = "none";
p78 = "brick";
p79 = "brick";
p80 = "energizer";
p81 = "none";
p82 = "none";
p83 = "none";
p84 = "none";
p85 = "wall";
p86 = "none";
p87 = "brick";
p88 = "none";
p89 = "wall";
p90 = "brick";
p91 = "brick";
p92 = "brick";
p93 = "brick";
p94 = "brick";
p95 = "brick";
p96 = "brick";
p97 = "none";
p98 = "none";
p99 = "none";
p100 = "none";
p101 = "wall";
p102 = "none";
p103 = "brick";
p104 = "none";
p105 = "wall";
p106 = "wall";
p107 = "wall";
p108 = "wall";
p109 = "ground";
p110 = "ground";
p111 = "ground";
p112 = "ground";
p113 = "none";
p114 = "none";
p115 = "none";
p116 = "none";
p117 = "wall";
p118 = "none";
p119 = "brick";
p120 = "none";
p121 = "none";
p122 = "none";
p123 = "none";
p124 = "wall";
p125 = "ground";
p126 = "ground";
p127 = "ground";
p128 = "ground";
p129 = "none";
p130 = "none";
p131 = "none";
p132 = "none";
p133 = "wall";
p134 = "none";
p135 = "brick";
p136 = "brick";
p137 = "brick";
p138 = "brick";
p139 = "none";
p140 = "wall";
p141 = "ground";
p142 = "ground";
p143 = "ground";
p144 = "ground";
p145 = "none";
p146 = "player";
p147 = "none";
p148 = "none";
p149 = "wall";
p150 = "none";
p151 = "none";
p152 = "none";
p153 = "none";
p154 = "brick";
p155 = "none";
p156 = "wall";
p157 = "ground";
p158 = "ground";
p159 = "ground";
p160 = "ground";
p161 = "none";
p162 = "none";
p163 = "none";
p164 = "none";
p165 = "none";
p166 = "none";
p167 = "none";
p168 = "none";
p169 = "none";
p170 = "none";
p171 = "none";
p172 = "none";
p173 = "none";
p174 = "none";
p175 = "none";
p176 = "none";
time = 40;
}
Instance of Symbol 282 MovieClip "level5" in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
p1 = "player";
p2 = "ground";
p3 = "ground";
p4 = "ground";
p5 = "ground";
p6 = "ground";
p7 = "ground";
p8 = "ground";
p9 = "ground";
p10 = "ground";
p11 = "ground";
p12 = "ground";
p13 = "ground";
p14 = "ground";
p15 = "ground";
p16 = "ground";
p17 = "ground";
p18 = "ground";
p19 = "rock";
p20 = "ground";
p21 = "ground";
p22 = "ground";
p23 = "ground";
p24 = "ground";
p25 = "ground";
p26 = "rock";
p27 = "ground";
p28 = "ground";
p29 = "rock";
p30 = "ground";
p31 = "ground";
p32 = "ground";
p33 = "ground";
p34 = "ground";
p35 = "ground";
p36 = "ground";
p37 = "ground";
p38 = "ground";
p39 = "rock";
p40 = "ground";
p41 = "ground";
p42 = "ground";
p43 = "ground";
p44 = "ground";
p45 = "ground";
p46 = "ground";
p47 = "ground";
p48 = "ground";
p49 = "ground";
p50 = "ground";
p51 = "ground";
p52 = "ground";
p53 = "ground";
p54 = "ground";
p55 = "ground";
p56 = "ground";
p57 = "ground";
p58 = "ground";
p59 = "ground";
p60 = "ground";
p61 = "ground";
p62 = "ground";
p63 = "ground";
p64 = "ground";
p65 = "none";
p66 = "capsule";
p67 = "none";
p68 = "none";
p69 = "none";
p70 = "none";
p71 = "none";
p72 = "none";
p73 = "none";
p74 = "none";
p75 = "none";
p76 = "none";
p77 = "none";
p78 = "none";
p79 = "none";
p80 = "none";
p81 = "wall";
p82 = "wall";
p83 = "wall";
p84 = "wall";
p85 = "none";
p86 = "wall";
p87 = "wall";
p88 = "wall";
p89 = "wall";
p90 = "none";
p91 = "wall";
p92 = "wall";
p93 = "wall";
p94 = "none";
p95 = "wall";
p96 = "ground";
p97 = "brick";
p98 = "brick";
p99 = "brick";
p100 = "wall";
p101 = "none";
p102 = "wall";
p103 = "brick";
p104 = "brick";
p105 = "wall";
p106 = "wall";
p107 = "wall";
p108 = "brick";
p109 = "wall";
p110 = "none";
p111 = "wall";
p112 = "bee";
p113 = "brick";
p114 = "brick";
p115 = "brick";
p116 = "wall";
p117 = "none";
p118 = "wall";
p119 = "brick";
p120 = "brick";
p121 = "brick";
p122 = "brick";
p123 = "brick";
p124 = "brick";
p125 = "wall";
p126 = "none";
p127 = "wall";
p128 = "none";
p129 = "wall";
p130 = "wall";
p131 = "wall";
p132 = "wall";
p133 = "wall";
p134 = "wall";
p135 = "wall";
p136 = "wall";
p137 = "wall";
p138 = "wall";
p139 = "wall";
p140 = "wall";
p141 = "wall";
p142 = "none";
p143 = "wall";
p144 = "none";
p145 = "none";
p146 = "none";
p147 = "none";
p148 = "none";
p149 = "none";
p150 = "none";
p151 = "none";
p152 = "none";
p153 = "none";
p154 = "none";
p155 = "none";
p156 = "none";
p157 = "none";
p158 = "none";
p159 = "door";
p160 = "key";
p161 = "energizer";
p162 = "none";
p163 = "none";
p164 = "none";
p165 = "none";
p166 = "none";
p167 = "none";
p168 = "none";
p169 = "none";
p170 = "none";
p171 = "none";
p172 = "none";
p173 = "none";
p174 = "none";
p175 = "none";
p176 = "none";
time = 60;
}
Instance of Symbol 282 MovieClip "level6" in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
p1 = "none";
p2 = "none";
p3 = "none";
p4 = "none";
p5 = "none";
p6 = "none";
p7 = "rock";
p8 = "none";
p9 = "none";
p10 = "rock";
p11 = "none";
p12 = "none";
p13 = "none";
p14 = "none";
p15 = "none";
p16 = "none";
p17 = "none";
p18 = "wall";
p19 = "wall";
p20 = "wall";
p21 = "wall";
p22 = "none";
p23 = "wall";
p24 = "none";
p25 = "none";
p26 = "wall";
p27 = "none";
p28 = "wall";
p29 = "wall";
p30 = "wall";
p31 = "wall";
p32 = "none";
p33 = "none";
p34 = "wall";
p35 = "none";
p36 = "capsule";
p37 = "wall";
p38 = "none";
p39 = "none";
p40 = "player";
p41 = "none";
p42 = "none";
p43 = "none";
p44 = "wall";
p45 = "capsule";
p46 = "none";
p47 = "wall";
p48 = "none";
p49 = "none";
p50 = "wall";
p51 = "none";
p52 = "ground";
p53 = "wall";
p54 = "none";
p55 = "none";
p56 = "none";
p57 = "none";
p58 = "none";
p59 = "none";
p60 = "wall";
p61 = "ground";
p62 = "none";
p63 = "wall";
p64 = "none";
p65 = "none";
p66 = "wall";
p67 = "none";
p68 = "none";
p69 = "brick";
p70 = "none";
p71 = "none";
p72 = "ground";
p73 = "ground";
p74 = "none";
p75 = "none";
p76 = "brick";
p77 = "none";
p78 = "none";
p79 = "wall";
p80 = "none";
p81 = "none";
p82 = "wall";
p83 = "wall";
p84 = "wall";
p85 = "wall";
p86 = "bee";
p87 = "none";
p88 = "ground";
p89 = "bomb";
p90 = "none";
p91 = "bee";
p92 = "wall";
p93 = "wall";
p94 = "wall";
p95 = "wall";
p96 = "none";
p97 = "none";
p98 = "none";
p99 = "none";
p100 = "none";
p101 = "none";
p102 = "none";
p103 = "none";
p104 = "ground";
p105 = "ground";
p106 = "none";
p107 = "none";
p108 = "none";
p109 = "none";
p110 = "none";
p111 = "none";
p112 = "none";
p113 = "brick";
p114 = "brick";
p115 = "brick";
p116 = "brick";
p117 = "brick";
p118 = "brick";
p119 = "brick";
p120 = "brick";
p121 = "brick";
p122 = "brick";
p123 = "brick";
p124 = "brick";
p125 = "brick";
p126 = "brick";
p127 = "brick";
p128 = "brick";
p129 = "none";
p130 = "none";
p131 = "none";
p132 = "none";
p133 = "none";
p134 = "none";
p135 = "none";
p136 = "none";
p137 = "none";
p138 = "none";
p139 = "none";
p140 = "none";
p141 = "none";
p142 = "none";
p143 = "none";
p144 = "none";
p145 = "none";
p146 = "none";
p147 = "none";
p148 = "none";
p149 = "none";
p150 = "none";
p151 = "none";
p152 = "none";
p153 = "none";
p154 = "none";
p155 = "none";
p156 = "none";
p157 = "none";
p158 = "none";
p159 = "none";
p160 = "none";
p161 = "none";
p162 = "energizer";
p163 = "none";
p164 = "none";
p165 = "none";
p166 = "none";
p167 = "none";
p168 = "none";
p169 = "none";
p170 = "none";
p171 = "none";
p172 = "none";
p173 = "none";
p174 = "none";
p175 = "none";
p176 = "none";
time = 60;
}
Instance of Symbol 282 MovieClip "level7" in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
p1 = "ground";
p2 = "ground";
p3 = "ground";
p4 = "ground";
p5 = "ground";
p6 = "ground";
p7 = "ground";
p8 = "ground";
p9 = "wall";
p10 = "none";
p11 = "none";
p12 = "none";
p13 = "none";
p14 = "none";
p15 = "none";
p16 = "none";
p17 = "ground";
p18 = "ground";
p19 = "capsule";
p20 = "ground";
p21 = "ground";
p22 = "ground";
p23 = "capsule";
p24 = "ground";
p25 = "wall";
p26 = "none";
p27 = "none";
p28 = "none";
p29 = "none";
p30 = "none";
p31 = "none";
p32 = "none";
p33 = "ground";
p34 = "ground";
p35 = "ground";
p36 = "ground";
p37 = "ground";
p38 = "ground";
p39 = "ground";
p40 = "ground";
p41 = "wall";
p42 = "none";
p43 = "none";
p44 = "none";
p45 = "none";
p46 = "none";
p47 = "none";
p48 = "none";
p49 = "ground";
p50 = "ground";
p51 = "ground";
p52 = "ground";
p53 = "ground";
p54 = "ground";
p55 = "ground";
p56 = "ground";
p57 = "wall";
p58 = "none";
p59 = "none";
p60 = "none";
p61 = "spider";
p62 = "none";
p63 = "key";
p64 = "none";
p65 = "ground";
p66 = "ground";
p67 = "rock";
p68 = "ground";
p69 = "capsule";
p70 = "ground";
p71 = "ground";
p72 = "ground";
p73 = "wall";
p74 = "ground";
p75 = "wall";
p76 = "wall";
p77 = "wall";
p78 = "wall";
p79 = "wall";
p80 = "none";
p81 = "ground";
p82 = "ground";
p83 = "ground";
p84 = "ground";
p85 = "ground";
p86 = "ground";
p87 = "ground";
p88 = "ground";
p89 = "wall";
p90 = "ground";
p91 = "brick";
p92 = "brick";
p93 = "brick";
p94 = "brick";
p95 = "brick";
p96 = "none";
p97 = "none";
p98 = "none";
p99 = "none";
p100 = "none";
p101 = "none";
p102 = "ground";
p103 = "ground";
p104 = "ground";
p105 = "wall";
p106 = "none";
p107 = "none";
p108 = "none";
p109 = "none";
p110 = "none";
p111 = "none";
p112 = "none";
p113 = "none";
p114 = "none";
p115 = "none";
p116 = "none";
p117 = "none";
p118 = "ground";
p119 = "ground";
p120 = "ground";
p121 = "wall";
p122 = "none";
p123 = "none";
p124 = "none";
p125 = "none";
p126 = "none";
p127 = "none";
p128 = "none";
p129 = "player";
p130 = "none";
p131 = "none";
p132 = "none";
p133 = "none";
p134 = "none";
p135 = "none";
p136 = "none";
p137 = "wall";
p138 = "none";
p139 = "none";
p140 = "none";
p141 = "none";
p142 = "none";
p143 = "none";
p144 = "none";
p145 = "none";
p146 = "none";
p147 = "none";
p148 = "none";
p149 = "none";
p150 = "none";
p151 = "bomb";
p152 = "bomb";
p153 = "bomb";
p154 = "bomb";
p155 = "bomb";
p156 = "none";
p157 = "none";
p158 = "door";
p159 = "none";
p160 = "none";
p161 = "none";
p162 = "none";
p163 = "none";
p164 = "none";
p165 = "none";
p166 = "none";
p167 = "none";
p168 = "none";
p169 = "none";
p170 = "none";
p171 = "none";
p172 = "none";
p173 = "none";
p174 = "none";
p175 = "none";
p176 = "energizer";
last_level = "true";
time = 60;
}
Symbol 288 Button
on (release) {
getURL ("http://www.miniclip.com/", "_blank");
}
Symbol 299 Button
on (rollOver) {
_root.play_sound_menu_browse();
gotoAndStop (1);
}
on (release) {
_root.custom_level_count = "NA";
_root.play_sound_menu_select();
_root.eof = false;
_root.level_nr = 1;
_root.int_score = 0;
_root.score = "<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>000000</FONT></B>";
_root.playmode = "arcade";
_root.gotoAndPlay("load_level");
}
Symbol 300 Button
on (rollOver) {
_root.play_sound_menu_browse();
gotoAndStop (2);
}
on (release) {
_root.playmode = "arcade";
_root.play_sound_menu_select();
_root.int_score = 0;
_root.score = "<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>000000</FONT></B>";
_root.gotoAndPlay("levelcode");
}
Symbol 301 Button
on (rollOver) {
gotoAndStop (3);
_root.play_sound_menu_browse();
}
on (release) {
_root.play_sound_menu_select();
_root.gotoAndPlay("instructions");
}
Symbol 302 Button
on (rollOver) {
gotoAndStop (4);
_root.play_sound_menu_browse();
}
on (release) {
_root.play_sound_menu_select();
getURL ("http://www.miniclip.com/crypt/cryptraider.htm", "_blank");
}
Symbol 303 Button
on (rollOver) {
gotoAndStop (5);
_root.play_sound_menu_browse();
}
on (release) {
_root.play_sound_menu_select();
getURL ("http://www.miniclip.com/", "_blank");
}
Symbol 304 Button
on (keyPress "<Space>") {
_root.custom_level_count = "NA";
_root.play_sound_menu_select();
_root.eof = false;
_root.level_nr = 1;
_root.int_score = 0;
_root.score = "<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>000000</FONT></B>";
_root.playmode = "arcade";
_root.gotoAndPlay("load_level");
}
on (keyPress "<Enter>") {
_root.custom_level_count = "NA";
_root.play_sound_menu_select();
_root.eof = false;
_root.level_nr = 1;
_root.int_score = 0;
_root.score = "<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>000000</FONT></B>";
_root.playmode = "arcade";
_root.gotoAndPlay("load_level");
}
on (keyPress "<Up>") {
gotoAndStop (5);
_root.play_sound_menu_browse();
}
on (keyPress "<Down>") {
gotoAndStop (2);
_root.play_sound_menu_browse();
}
Symbol 305 Button
on (keyPress "<Space>") {
_root.playmode = "arcade";
_root.play_sound_menu_select();
_root.int_score = 0;
_root.score = "<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>000000</FONT></B>";
_root.gotoAndPlay("levelcode");
}
on (keyPress "<Enter>") {
_root.playmode = "arcade";
_root.play_sound_menu_select();
_root.int_score = 0;
_root.score = "<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>000000</FONT></B>";
_root.gotoAndPlay("levelcode");
}
on (keyPress "<Up>") {
gotoAndStop (1);
_root.play_sound_menu_browse();
}
on (keyPress "<Down>") {
gotoAndStop (3);
_root.play_sound_menu_browse();
}
Symbol 306 Button
on (keyPress "<Space>") {
_root.play_sound_menu_select();
_root.gotoAndPlay("instructions");
}
on (keyPress "<Enter>") {
_root.play_sound_menu_select();
_root.gotoAndPlay("instructions");
}
on (keyPress "<Up>") {
gotoAndStop (2);
_root.play_sound_menu_browse();
}
on (keyPress "<Down>") {
gotoAndStop (4);
_root.play_sound_menu_browse();
}
Symbol 307 Button
on (keyPress "<Space>") {
_root.play_sound_menu_select();
getURL ("http://www.miniclip.com/crypt/cryptraider.htm", "_blank");
}
on (keyPress "<Enter>") {
_root.play_sound_menu_select();
getURL ("http://www.miniclip.com/crypt/cryptraider.htm", "_blank");
}
on (keyPress "<Up>") {
gotoAndStop (3);
_root.play_sound_menu_browse();
}
on (keyPress "<Down>") {
gotoAndStop (5);
_root.play_sound_menu_browse();
}
Symbol 308 Button
on (keyPress "<Space>") {
_root.play_sound_menu_select();
getURL ("http://www.miniclip.com/", "_blank");
}
on (keyPress "<Enter>") {
_root.play_sound_menu_select();
getURL ("http://www.miniclip.com/", "_blank");
}
on (keyPress "<Up>") {
gotoAndStop (4);
_root.play_sound_menu_browse();
}
on (keyPress "<Down>") {
gotoAndStop (1);
_root.play_sound_menu_browse();
}
Symbol 309 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 1
if (status != "playing") {
status = "playing";
menu_loop = new Sound(this);
menu_loop.attachSound("menu_loop");
menu_loop.start(0, 999999);
}
stop();
Symbol 311 MovieClip Frame 2
gotoAndStop (1);
Symbol 311 MovieClip Frame 3
menu_loop.stop();
status = "NOTplaying";
stop();
Symbol 311 MovieClip Frame 4
gotoAndPlay (3);
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 37
stop();
Symbol 317 MovieClip Frame 38
_root.level_nr = Number(eval ("_root." add String(_root.levelcode)));
Symbol 317 MovieClip Frame 85
_root.level_name = "level" add eval ("_root." add String(_root.levelcode));
_root.level_nr = Number(eval ("_root." add String(_root.levelcode)));
_root.int_score = 0;
_root.score = "<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>000000</B></FONT>";
_root.gotoAndPlay("load_level");
stop();
Symbol 320 Button
on (release, keyPress "<Enter>") {
if (eval (String(levelcode.toUpperCase())) ne "") {
_root.play_sound_menu_select();
levelcode_status.gotoAndPlay("correct");
} else {
_root.play_sound_error();
levelcode_status.gotoAndPlay("incorrect");
}
}
Symbol 324 Button
on (release, keyPress "<Escape>") {
_root.play_sound_menu_back();
gotoAndStop (2);
}
Symbol 338 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_select();
gotoAndStop (30);
}
Symbol 341 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_back();
gotoAndStop (2);
}
on (keyPress "<Escape>") {
_root.play_sound_menu_back();
gotoAndStop (2);
}
Symbol 347 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_select();
gotoAndStop (28);
}
Symbol 348 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_select();
gotoAndStop (32);
}
Symbol 352 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_select();
gotoAndStop (30);
}
Symbol 353 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_select();
gotoAndStop (34);
}
Symbol 357 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_select();
gotoAndStop (32);
}
Symbol 358 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_select();
gotoAndStop (36);
}
Symbol 363 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_select();
gotoAndStop (34);
}
Symbol 364 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_select();
gotoAndStop (38);
}
Symbol 368 Button
on (release, keyPress "<Enter>") {
_root.play_sound_menu_select();
gotoAndStop (36);
}
Symbol 371 MovieClip Frame 1
_root.lives_left = 1;
stop();
Symbol 371 MovieClip Frame 3
_root.lives_left = 0;
Symbol 371 MovieClip Frame 4
_root.gotoAndStop(1);
stop();
Symbol 374 Button
on (release) {
gotoAndPlay (40);
}
Symbol 376 Button
on (release) {
gotoAndStop (2);
}
Symbol 389 Button
on (press) {
if ((_root.player.die != true) and (_root.pause != true)) {
_root.player.gotoAndPlay("die");
}
}
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 2
int_timer = int(((time - (getTimer() / 1000)) + timecorrect) + 1);
if (0 >= int(((time - (getTimer() / 1000)) + timecorrect) + 1)) {
timer_string = "<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>000</B></FONT>";
timer = timer_string;
if (_root.player.die ne true) {
_root.player.gotoAndPlay("die");
}
gotoAndStop (1);
} else if (int(((time - (getTimer() / 1000)) + timecorrect) + 1) < 10) {
timer_string = ("<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>00<FONT COLOR=\"#FFFFFF\">" add int(((time - (getTimer() / 1000)) + timecorrect) + 1)) add "</FONT></FONT></B>";
timer = timer_string;
} else if (int(((time - (getTimer() / 1000)) + timecorrect) + 1) < 100) {
timer_string = ("<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#000000\"><B>0<FONT COLOR=\"#FFFFFF\">" add int(((time - (getTimer() / 1000)) + timecorrect) + 1)) add "</FONT></FONT></B>";
timer = timer_string;
} else {
timer_string = ("<FONT FACE=\"Courier New\" SIZE=\"12\" COLOR=\"#FFFFFF\"><B>" add int(((time - (getTimer() / 1000)) + timecorrect) + 1)) add "</FONT></B>";
timer = timer_string;
}
if ((10 >= int(((time - (getTimer() / 1000)) + timecorrect) + 1)) and (time_set ne int(((time - (getTimer() / 1000)) + timecorrect) + 1))) {
if (int(((time - (getTimer() / 1000)) + timecorrect) + 1) != 0) {
if (soundplaying != 1) {
soundplaying = 1;
_root.play_sound_time();
}
time_set = int(((time - (getTimer() / 1000)) + timecorrect) + 1);
} else {
_root.stop_sound_time();
}
}
Symbol 391 MovieClip Frame 3
gotoAndPlay (2);
Symbol 394 Button
on (keyPress "p") {
if ((_root.pause ne true) and (_root.player.die != true)) {
time = _root.timer.time;
_root.pause = true;
_root.timer.stop();
_root.play_sound_menu_back();
_root.attach_level = _root.attach_level + 1;
_root.attachMovie("ig_menu", "ig_menu", _root.attach_level);
_root.ig_menu._x = 280;
_root.ig_menu._y = 200;
}
}
on (keyPress "<Escape>") {
if ((_root.pause ne true) and (_root.player.die != true)) {
time = _root.timer.time;
_root.pause = true;
_root.timer.stop();
_root.play_sound_menu_back();
_root.attach_level = _root.attach_level + 1;
_root.attachMovie("ig_menu", "ig_menu", _root.attach_level);
_root.ig_menu._x = 280;
_root.ig_menu._y = 200;
}
}
Symbol 398 MovieClip Frame 1
loop1 = new Sound(_root.sound_loop1);
loop1.attachSound("loop1");
loop1.setVolume(100);
loop1.start(0, 999999);
stop();
Symbol 398 MovieClip Frame 2
loop1.stop();
stop();
Symbol 398 MovieClip Frame 3
gotoAndPlay (2);
Symbol 399 MovieClip Frame 1
loop2 = new Sound(_root.sound_loop2);
loop2.attachSound("loop2");
loop2.setVolume(100);
loop2.start(0, 999999);
stop();
Symbol 399 MovieClip Frame 2
if (0 < Number(int(loop2.getVolume()))) {
loop2.setVolume(Number(int(loop2.getVolume() - 3)));
} else {
stop();
}
Symbol 399 MovieClip Frame 3
gotoAndPlay (2);
Symbol 402 Button
on (release) {
getURL ("http://www.miniclip.com/crypt/cryptraider.htm", "_blank");
stopAllSounds();
gotoAndStop (2);
}
Symbol 403 Button
on (release) {
getURL ("http://www.miniclip.com/crypt/cryptraider.htm", "_blank");
stopAllSounds();
gotoAndStop (2);
}
Symbol 406 MovieClip Frame 47
stop();
Symbol 407 Button
on (keyPress "<Space>") {
stopAllSounds();
_root.gotoAndPlay("main_menu");
}
on (keyPress "<Enter>") {
stopAllSounds();
_root.gotoAndPlay("main_menu");
}
on (release) {
stopAllSounds();
_root.gotoAndPlay("main_menu");
}