Frame 1
stop();
intro.play();
hiScore = true;
language = "eng";
lang = new Array();
lang[1] = "Empty";
lang[2] = "Silver Ankh";
lang[3] = "Violet Ankh";
lang[4] = "Red Ankh";
lang[5] = "Blue Ankh";
lang[6] = "Axe";
lang[7] = "Purple Ankh";
lang[8] = "Gold Ankh";
lang[9] = "Wooden Boards";
lang[10] = "Healing Potion";
lang[11] = "Start playing";
lang[12] = "Return to the game";
lang[13] = "Quit the current game and start over";
lang[14] = "Change video and audio settings";
lang[15] = "Instructions and controls used in the game";
lang[16] = "Check the hi-scores table!";
lang[17] = "Drag this slider to adjust the volume of the sound effects";
lang[18] = "See who made this game";
lang[19] = "Goals and objectives";
lang[20] = "The keys used to play and to change settings while playing";
lang[21] = "Back to the main menu";
lang[22] = "Set the walking direction when using arrow keys";
lang[23] = "Choose the graphics rendering quality";
lang[24] = "Set the music volume";
lang[25] = "Monsters are not very harmful and healing potions have high healing power";
lang[26] = "Monsters are moderately harmful and healing potions have regular healing power";
lang[27] = "Monsters are very harmful and healing potions have reduced healing power";
lang[28] = "High Quality suitable for fast machines";
lang[29] = "Medium Quality recommended for most machines";
lang[30] = "Low Quality recommended if GoldYard runs slow on your machine";
lang[31] = "Back to 'how to play' menu";
lang[32] = "Back to the Setting Menu";
lang[33] = "Turn off the music";
lang[34] = "Turn on the music";
lang[35] = "Drag this slider to adjust the music volume";
lang[36] = "Click to choose this Arrow Keys configuration";
lang[37] = "PLAY";
lang[38] = "SETTINGS";
lang[39] = "HOW TO PLAY";
lang[40] = "SFX Volume";
lang[41] = "CREDITS";
lang[42] = "RESUME GAME";
lang[43] = "NEW GAME";
lang[44] = "Controls";
lang[45] = "Graphics Quality";
lang[46] = "Audio";
lang[47] = "Back";
lang[48] = "Instructions";
lang[49] = "Controls";
lang[50] = "High";
lang[51] = "Medium";
lang[52] = "Low";
lang[53] = "Music : On";
lang[54] = "Music : Off";
lang[55] = "Music Volume";
lang[56] = "SCORES";
lang[57] = "Easy";
lang[58] = "Normal";
lang[59] = "Hard";
lang[60] = "Difficulty";
lang[61] = "Choose which Arrow Keys configuration to use to walk around";
lang[62] = "Collect as much gold as you can";
lang[63] = "Avoid monsters and traps";
lang[64] = "Drink healing potions to cure your wounds";
lang[65] = "...and get out of the Tomb as fast as you can,\nbut more importantly... alive!";
lang[66] = "Click to set how Arrow Keys will work";
lang[67] = "Are you sure you want to quit the current game?";
lang[68] = "YES";
lang[69] = "NO";
lang[70] = "Loading";
lang[71] = "or";
lang[72] = "to move";
lang[73] = "inventory up/down";
lang[74] = "to use selected item";
lang[75] = "to show/hide map";
lang[76] = "to change graphics quality";
lang[77] = "toggles music on/off";
lang[78] = "to go back to the main menu and to pause the game";
lang[80] = "INVENTORY";
lang[81] = "HEALTH";
lang[82] = "GOLD";
lang[83] = "Open MAP";
lang[84] = "Close MAP";
lang[85] = "Click on the map to see\na non transparent scroll";
lang[86] = "Click on the map to see\na transparent scroll";
lang[87] = "Map of the Tomb";
lang[88] = "LEVEL 2 - The Keeper's mansion";
lang[100] = "Green Ankh";
lang[101] = "Horus Eye";
lang[110] = "Checking for Hiscores\nPlease Wait";
lang[111] = "Sorry, your score is not\namong the top 50";
lang[112] = "SEE HI-SCORES";
lang[113] = "RESTART";
lang[114] = "You set a new record!";
lang[115] = "Name";
lang[116] = "OK";
lang[120] = "You picked up the ";
lang[121] = "You drank a healing vial";
lang[122] = "Music : OFF";
lang[123] = "Music : ON";
lang[124] = "Graphic : ";
lang[125] = " Quality";
lang[126] = "This doesn't seem to work here!";
lang[130] = "Congratulations!";
lang[131] = "You managed to get out of\nthe Pharaoh's Tomb alive!";
lang[132] = "Game Over";
lang[140] = "Click here to go to the Main Menu";
lang[141] = "Press 'ENTER' to continue";
lang[142] = "PLAY HIGHSCORE VERSION";
lang[143] = "play again";
lang[144] = "Animations Off";
lang[145] = "Animations On";
lang[150] = "Turn OFF some items animation (torches, healing vials etc.)";
lang[151] = "Turn ON some items animation (torches, healing vials etc.)";
Instance of Symbol 44 MovieClip in Frame 3
onClipEvent (load) {
_root.stop();
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root._framesloaded);
if (_root._framesloaded >= 15) {
_quality = "HIGH";
_root.play();
}
}
Frame 4
energy_color = new Color(_root.energy);
maps_color = new Color(_root.mapengine.maps);
var i = 1;
while (i < 20) {
Set(("droid" + i) + "_color", new Color("_root.droid" + i));
i++;
}
energy_transform = new Object();
energy_transform = {ra:"100", rb:"74", ga:"70", gb:"-33", ba:"60", bb:"-33", aa:"100", ab:"0"};
map_transform = new Object();
map_transform = {ra:"40", rb:"0", ga:"36", gb:"0", ba:"47", bb:"0", aa:"100", ab:"0"};
color_reset = new Object();
color_reset = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
i = 1;
while (i <= 18) {
_root["fx" + i] = new Sound();
_root["fx" + i].attachSound("fx" + i);
i++;
}
soundtrack = new Sound(_root.soundtrack_movie);
_root.soundtrack.setVolume(60);
_root.soundtrack_movie.music = 1;
firsttime = 0;
score = 0;
gameover = 1;
map_switch = 0;
arrow_up = 38;
arrow_down = 40;
arrow_right = 39;
arrow_left = 37;
flagAnimations = true;
Frame 5
function infomessage(text) {
setProperty(_root.infobox, _alpha , 100);
_root.infobox.infomessage = text;
_root.infobox.gotoAndPlay("play");
}
function musicoff() {
_root.fx9.start();
_root.soundtrack_movie.music = 0;
_root.soundtrack_movie.gotoAndStop("off");
_root.infomessage(lang[122]);
_root.mainmenu.musicswitch.gotoAndStop("off");
_root.musicswitch.gotoAndStop("off");
}
function musicon() {
_root.fx9.start();
_root.soundtrack_movie.music = 1;
_root.soundtrack.stop();
_root.soundtrack_movie.gotoAndStop("on");
_root.infomessage(lang[123]);
_root.mainmenu.musicswitch.gotoAndStop("on");
_root.musicswitch.gotoAndStop("on");
}
function graphic_quality(quality) {
_root.slotfx.gotoAndPlay("on");
_quality = quality;
_root.infomessage((lang[124] + quality) + lang[125]);
_root.resolution.gotoAndStop(quality);
}
function difficulty_level_function(level) {
_root.menuover = "";
_root.difficulty_level = level;
_root.firsttime = 1;
_root.library.gotoAndStop("game_ini");
_root.gotoAndStop("room1");
}
function restore_health() {
_root.menu_over = "";
_root.energy.energy = 100;
_root.energy.gotoAndStop(1);
}
function restart() {
var i = 0;
while (i < 20) {
_root["droid" + i].gotoAndStop("left");
i++;
}
_root.library.direction = "left";
_root.firsttime = 0;
_root.hi_score.gotoAndStop("off");
_root.mainmenu.gotoAndStop("main");
_root.restore_health();
_root.gotoAndStop("startgame");
}
function backToMainMenu() {
if (_root.soundtrack_movie.music == 0) {
_root.musicoff();
} else if (_root.soundtrack_movie.music == 1) {
_root.musicon();
}
_root.restart();
}
function back(frame_label) {
_root.menuover = "";
_root.mainmenu.gotoAndStop(frame_label);
}
firsttime = 0;
stop();
Instance of Symbol 528 MovieClip "library" in Frame 6
onClipEvent (enterFrame) {
if (_root.flagHarmfulCell) {
_root.library.drain(_root.library.damage_cell);
}
if (Key.isDown(27) && (_root.gameover == 0)) {
if (_root.map_switch == 1) {
_root.map_switch = 0;
_root.mapengine.gotoAndPlay("mapclose");
}
_root.gotoAndStop("mainmenu");
}
if (Key.isDown(17)) {
if (Key.isDown(16)) {
if (Key.isDown(18)) {
if (Key.isDown(70)) {
_root.infomessage("game created by Francesco Maisto");
}
}
}
}
if (_root.gameover == 0) {
if (Key.isDown(_root.arrow_down) || (Key.isDown(88))) {
direction = "down";
antennaX1 = -antennaW;
antennaY1 = antennaL;
antennaX2 = antennaW;
antennaY2 = antennaL;
down();
call("limits");
} else if (Key.isDown(_root.arrow_up) || (Key.isDown(83))) {
direction = "up";
antennaX1 = -antennaW;
antennaY1 = -antennaL;
antennaX2 = antennaW;
antennaY2 = -antennaL;
up();
call("limits");
} else if (Key.isDown(_root.arrow_left) || (Key.isDown(78))) {
direction = "left";
antennaX1 = -antennaL;
antennaY1 = antennaW;
antennaX2 = -antennaL;
antennaY2 = -antennaW;
left();
call("limits");
} else if (Key.isDown(_root.arrow_right) || (Key.isDown(74))) {
direction = "right";
antennaX1 = antennaL;
antennaY1 = antennaW;
antennaX2 = antennaL;
antennaY2 = -antennaW;
right();
call("limits");
}
}
}
Instance of Symbol 531 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
if (_root.gameover == 0) {
if (_root.map_switch == 0) {
_root.map_switch = 1;
_root.mapengine.gotoAndPlay("mapopen");
} else if (_root.map_switch == 1) {
_root.map_switch = 0;
_root.mapengine.gotoAndPlay("mapclose");
}
}
}
}
Instance of Symbol 605 MovieClip in Frame 10
//component parameters
onClipEvent (initialize) {
distance = 4;
}
Instance of Symbol 605 MovieClip in Frame 10
//component parameters
onClipEvent (initialize) {
distance = 5;
}
Instance of Symbol 621 MovieClip in Frame 11
//component parameters
onClipEvent (initialize) {
start = "two";
}
Instance of Symbol 621 MovieClip in Frame 11
//component parameters
onClipEvent (initialize) {
start = "four";
}
Instance of Symbol 627 MovieClip in Frame 11
//component parameters
onClipEvent (initialize) {
cells = 4;
}
Instance of Symbol 627 MovieClip in Frame 12
//component parameters
onClipEvent (initialize) {
cells = 5;
}
Instance of Symbol 621 MovieClip in Frame 12
//component parameters
onClipEvent (initialize) {
start = "three";
}
Instance of Symbol 621 MovieClip in Frame 12
//component parameters
onClipEvent (initialize) {
start = "four";
}
Instance of Symbol 621 MovieClip in Frame 12
//component parameters
onClipEvent (initialize) {
start = "two";
}
Instance of Symbol 627 MovieClip in Frame 13
//component parameters
onClipEvent (initialize) {
cells = 3;
}
Instance of Symbol 621 MovieClip in Frame 13
//component parameters
onClipEvent (initialize) {
start = "two";
}
Instance of Symbol 621 MovieClip in Frame 14
//component parameters
onClipEvent (initialize) {
start = "two";
}
Instance of Symbol 627 MovieClip in Frame 14
//component parameters
onClipEvent (initialize) {
cells = 5;
}
Instance of Symbol 621 MovieClip in Frame 14
//component parameters
onClipEvent (initialize) {
start = "four";
}
Instance of Symbol 605 MovieClip in Frame 15
//component parameters
onClipEvent (initialize) {
distance = 10;
}
Instance of Symbol 605 MovieClip in Frame 15
//component parameters
onClipEvent (initialize) {
distance = 5;
}
Instance of Symbol 669 MovieClip "gate1" in Frame 16
//component parameters
onClipEvent (initialize) {
firstframe = 10;
}
Instance of Symbol 669 MovieClip "gate2" in Frame 16
//component parameters
onClipEvent (initialize) {
firstframe = 2;
}
Instance of Symbol 669 MovieClip "gate3" in Frame 16
//component parameters
onClipEvent (initialize) {
firstframe = 6;
}
Instance of Symbol 683 MovieClip in Frame 17
//component parameters
onClipEvent (initialize) {
cells = 4;
start = 1;
}
Instance of Symbol 683 MovieClip in Frame 17
//component parameters
onClipEvent (initialize) {
cells = 3;
start = 12;
}
Instance of Symbol 621 MovieClip in Frame 17
//component parameters
onClipEvent (initialize) {
start = "three";
}
Instance of Symbol 621 MovieClip in Frame 17
//component parameters
onClipEvent (initialize) {
start = "two";
}
Instance of Symbol 621 MovieClip in Frame 17
//component parameters
onClipEvent (initialize) {
start = "four";
}
Instance of Symbol 621 MovieClip in Frame 18
//component parameters
onClipEvent (initialize) {
start = "one";
}
Instance of Symbol 621 MovieClip in Frame 18
//component parameters
onClipEvent (initialize) {
start = "two";
}
Instance of Symbol 621 MovieClip in Frame 18
//component parameters
onClipEvent (initialize) {
start = "four";
}
Instance of Symbol 705 MovieClip in Frame 19
//component parameters
onClipEvent (initialize) {
cells = 4;
start = 1;
}
Instance of Symbol 621 MovieClip in Frame 19
//component parameters
onClipEvent (initialize) {
start = "two";
}
Instance of Symbol 605 MovieClip in Frame 19
//component parameters
onClipEvent (initialize) {
distance = 10;
}
Instance of Symbol 621 MovieClip in Frame 19
//component parameters
onClipEvent (initialize) {
start = "four";
}
Instance of Symbol 627 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
cells = 4;
}
Instance of Symbol 683 MovieClip in Frame 21
//component parameters
onClipEvent (initialize) {
cells = 3;
start = 1;
}
Instance of Symbol 605 MovieClip in Frame 21
//component parameters
onClipEvent (initialize) {
distance = 10;
}
Instance of Symbol 621 MovieClip in Frame 22
//component parameters
onClipEvent (initialize) {
start = "two";
}
Instance of Symbol 669 MovieClip "gate1" in Frame 22
//component parameters
onClipEvent (initialize) {
firstframe = 10;
}
Instance of Symbol 621 MovieClip in Frame 22
//component parameters
onClipEvent (initialize) {
start = "one";
}
Instance of Symbol 669 MovieClip "gate3" in Frame 22
//component parameters
onClipEvent (initialize) {
firstframe = 6;
}
Instance of Symbol 627 MovieClip in Frame 23
//component parameters
onClipEvent (initialize) {
cells = 3;
}
Instance of Symbol 605 MovieClip in Frame 23
//component parameters
onClipEvent (initialize) {
distance = 4;
}
Instance of Symbol 605 MovieClip in Frame 23
//component parameters
onClipEvent (initialize) {
distance = 9;
}
Instance of Symbol 683 MovieClip in Frame 23
//component parameters
onClipEvent (initialize) {
cells = 3;
start = 1;
}
Instance of Symbol 627 MovieClip in Frame 24
//component parameters
onClipEvent (initialize) {
cells = 3;
}
Instance of Symbol 621 MovieClip in Frame 24
//component parameters
onClipEvent (initialize) {
start = "two";
}
Instance of Symbol 621 MovieClip in Frame 24
//component parameters
onClipEvent (initialize) {
start = "three";
}
Instance of Symbol 750 MovieClip in Frame 24
onClipEvent (load) {
var name = "spider1";
direction = 1;
orientation = "bottomright_topleft";
var spiderX = 255;
var spiderY = 225;
var step = 3;
}
Instance of Symbol 705 MovieClip in Frame 25
//component parameters
onClipEvent (initialize) {
cells = 3;
start = 1;
}
Instance of Symbol 605 MovieClip in Frame 25
//component parameters
onClipEvent (initialize) {
distance = 10;
}
Instance of Symbol 683 MovieClip in Frame 26
//component parameters
onClipEvent (initialize) {
cells = 3;
start = 12;
}
Instance of Symbol 621 MovieClip in Frame 26
//component parameters
onClipEvent (initialize) {
start = "four";
}
Instance of Symbol 621 MovieClip in Frame 26
//component parameters
onClipEvent (initialize) {
start = "two";
}
Instance of Symbol 627 MovieClip in Frame 27
//component parameters
onClipEvent (initialize) {
cells = 5;
}
Instance of Symbol 627 MovieClip in Frame 28
//component parameters
onClipEvent (initialize) {
cells = 4;
}
Instance of Symbol 621 MovieClip in Frame 28
//component parameters
onClipEvent (initialize) {
start = "four";
}
Instance of Symbol 605 MovieClip in Frame 28
//component parameters
onClipEvent (initialize) {
distance = 10;
}
Instance of Symbol 627 MovieClip in Frame 29
//component parameters
onClipEvent (initialize) {
cells = 3;
}
Instance of Symbol 621 MovieClip in Frame 29
//component parameters
onClipEvent (initialize) {
start = "one";
}
Instance of Symbol 750 MovieClip in Frame 29
onClipEvent (load) {
var name = "spider1";
direction = 1;
orientation = "bottomright_topleft";
var spiderX = 135;
var spiderY = 255;
var step = 4;
}
Instance of Symbol 683 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
cells = 3;
start = 1;
}
Instance of Symbol 750 MovieClip in Frame 30
onClipEvent (load) {
var name = "spider1";
direction = 1;
orientation = "bottomright_topleft";
var spiderX = 255;
var spiderY = 255;
var step = 4;
}
Instance of Symbol 705 MovieClip in Frame 31
//component parameters
onClipEvent (initialize) {
cells = 5;
start = 1;
}
Instance of Symbol 783 MovieClip in Frame 32
onClipEvent (load) {
Epointerx = 195;
Epointery = 195;
}
Instance of Symbol 627 MovieClip in Frame 33
//component parameters
onClipEvent (initialize) {
cells = 3;
}
Instance of Symbol 605 MovieClip in Frame 33
//component parameters
onClipEvent (initialize) {
distance = 6;
}
Instance of Symbol 705 MovieClip in Frame 33
//component parameters
onClipEvent (initialize) {
cells = 3;
start = 1;
}
Instance of Symbol 621 MovieClip in Frame 34
//component parameters
onClipEvent (initialize) {
start = "one";
}
Instance of Symbol 621 MovieClip in Frame 34
//component parameters
onClipEvent (initialize) {
start = "three";
}
Instance of Symbol 750 MovieClip in Frame 34
onClipEvent (load) {
var name = "spider1";
direction = 1;
orientation = "bottomright_topleft";
var spiderX = 225;
var spiderY = 195;
var step = 4;
}
Instance of Symbol 621 MovieClip in Frame 35
//component parameters
onClipEvent (initialize) {
start = "three";
}
Instance of Symbol 605 MovieClip in Frame 35
//component parameters
onClipEvent (initialize) {
distance = 6;
}
Instance of Symbol 605 MovieClip in Frame 35
//component parameters
onClipEvent (initialize) {
distance = 6;
}
Instance of Symbol 621 MovieClip in Frame 36
//component parameters
onClipEvent (initialize) {
start = "one";
}
Instance of Symbol 669 MovieClip "gate1" in Frame 36
//component parameters
onClipEvent (initialize) {
firstframe = 10;
}
Instance of Symbol 669 MovieClip "gate2" in Frame 36
//component parameters
onClipEvent (initialize) {
firstframe = 2;
}
Instance of Symbol 669 MovieClip "gate3" in Frame 36
//component parameters
onClipEvent (initialize) {
firstframe = 6;
}
Instance of Symbol 621 MovieClip in Frame 36
//component parameters
onClipEvent (initialize) {
start = "three";
}
Instance of Symbol 783 MovieClip in Frame 37
onClipEvent (load) {
Epointerx = 195;
Epointery = 195;
}
Instance of Symbol 621 MovieClip in Frame 38
//component parameters
onClipEvent (initialize) {
start = "three";
}
Instance of Symbol 621 MovieClip in Frame 38
//component parameters
onClipEvent (initialize) {
start = "one";
}
Instance of Symbol 705 MovieClip in Frame 38
//component parameters
onClipEvent (initialize) {
cells = 3;
start = 1;
}
Instance of Symbol 783 MovieClip in Frame 39
onClipEvent (load) {
Epointerx = 195;
Epointery = 195;
}
Instance of Symbol 705 MovieClip in Frame 40
//component parameters
onClipEvent (initialize) {
cells = 4;
start = 1;
}
Instance of Symbol 605 MovieClip in Frame 40
//component parameters
onClipEvent (initialize) {
distance = 6;
}
Instance of Symbol 705 MovieClip in Frame 41
//component parameters
onClipEvent (initialize) {
cells = 3;
start = 1;
}
Instance of Symbol 621 MovieClip in Frame 41
//component parameters
onClipEvent (initialize) {
start = "one";
}
Instance of Symbol 605 MovieClip in Frame 41
//component parameters
onClipEvent (initialize) {
distance = 9;
}
Instance of Symbol 621 MovieClip in Frame 41
//component parameters
onClipEvent (initialize) {
start = "three";
}
Instance of Symbol 705 MovieClip in Frame 42
//component parameters
onClipEvent (initialize) {
cells = 3;
start = 1;
}
Instance of Symbol 843 MovieClip in Frame 43
//component parameters
onClipEvent (initialize) {
start = 30;
frequency = 10;
}
Instance of Symbol 843 MovieClip in Frame 43
//component parameters
onClipEvent (initialize) {
start = 10;
frequency = 22;
}
Instance of Symbol 843 MovieClip in Frame 44
//component parameters
onClipEvent (initialize) {
start = 2;
frequency = 10;
}
Instance of Symbol 843 MovieClip in Frame 44
//component parameters
onClipEvent (initialize) {
start = 30;
frequency = 5;
}
Instance of Symbol 843 MovieClip in Frame 45
//component parameters
onClipEvent (initialize) {
start = 12;
frequency = 2;
}
Instance of Symbol 843 MovieClip in Frame 45
//component parameters
onClipEvent (initialize) {
start = 2;
frequency = 32;
}
Instance of Symbol 843 MovieClip in Frame 45
//component parameters
onClipEvent (initialize) {
start = 20;
frequency = 10;
}
Instance of Symbol 843 MovieClip in Frame 46
//component parameters
onClipEvent (initialize) {
start = 2;
frequency = 2;
}
Instance of Symbol 843 MovieClip in Frame 46
//component parameters
onClipEvent (initialize) {
start = 2;
frequency = 32;
}
Instance of Symbol 843 MovieClip in Frame 46
//component parameters
onClipEvent (initialize) {
start = 14;
frequency = 14;
}
Instance of Symbol 621 MovieClip in Frame 47
//component parameters
onClipEvent (initialize) {
start = "one";
}
Instance of Symbol 750 MovieClip in Frame 48
onClipEvent (load) {
var name = "spider1";
direction = 1;
orientation = "bottomright_topleft";
var spiderX = 195;
var spiderY = 225;
var step = 4;
}
Instance of Symbol 621 MovieClip in Frame 49
//component parameters
onClipEvent (initialize) {
start = "four";
}
Instance of Symbol 669 MovieClip "gate2" in Frame 49
//component parameters
onClipEvent (initialize) {
firstframe = 2;
}
Instance of Symbol 669 MovieClip "gate3" in Frame 49
//component parameters
onClipEvent (initialize) {
firstframe = 6;
}
Instance of Symbol 621 MovieClip in Frame 49
//component parameters
onClipEvent (initialize) {
start = "two";
}
Symbol 33 MovieClip Frame 99
_root.gotoAndPlay(2);
stop();
Symbol 44 MovieClip Frame 1
text1 = _root.lang[70];
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 2
stop();
Symbol 59 MovieClip Frame 3
stop();
Symbol 59 MovieClip Frame 4
stop();
Symbol 59 MovieClip Frame 5
stop();
Symbol 59 MovieClip Frame 6
stop();
Symbol 59 MovieClip Frame 7
stop();
Symbol 59 MovieClip Frame 8
gotoAndStop (1);
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
stop();
Symbol 72 MovieClip Frame 3
stop();
Symbol 72 MovieClip Frame 4
stop();
Symbol 72 MovieClip Frame 5
stop();
Symbol 72 MovieClip Frame 6
stop();
Symbol 72 MovieClip Frame 7
stop();
Symbol 72 MovieClip Frame 8
gotoAndStop (1);
Symbol 75 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
setProperty("this", _visible , "1");
Symbol 78 MovieClip Frame 15
gotoAndStop (1);
Symbol 127 Button
on (release) {
_root.fx16.start();
_root.mapengine.blackbox._alpha = 100;
_root.maps_color.setTransform(_root.map_transform);
gotoAndStop (2);
}
on (rollOver) {
_root.fx9.start();
text1 = _root.lang[85];
}
Symbol 129 Button
on (release) {
_root.fx16.start();
_root.mapengine.blackbox._alpha = 0;
_root.maps_color.setTransform(_root.color_reset);
gotoAndStop (1);
}
on (rollOver) {
_root.fx9.start();
text1 = _root.lang[86];
}
Symbol 130 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 1
text1 = _root.lang[87];
stop();
Symbol 133 MovieClip Frame 2
text1 = _root.lang[88];
Symbol 134 MovieClip Frame 1
var l = 1;
while (l < 5) {
setProperty("_root.mapengine.maps.map" add l, _visible , 0);
l++;
}
stop();
Symbol 134 MovieClip Frame 2
_root.fx16.start();
Symbol 134 MovieClip Frame 3
var l = 1;
while (l < 5) {
setProperty("_root.mapengine.maps.map" add l, _visible , 0);
l++;
}
_root.mapengine.level_name.gotoAndStop(level);
setProperty("_root.mapengine.maps.map" add level, _visible , 1);
var r = 1;
while (r < 50) {
setProperty((("_root.mapengine.maps.map" add level) add ".room") add r, _visible , eval ("_root.library.room" add r));
setProperty((("_root.mapengine.maps.map" add level) add ".room") add r, _alpha , 50);
r++;
}
setProperty((("_root.mapengine.maps.map" add level) add ".room") add _root.library.room, _alpha , 100);
Symbol 134 MovieClip Frame 4
setProperty((("_root.mapengine.maps.map" add level) add ".room") add _root.library.room, _alpha , 100);
Symbol 134 MovieClip Frame 7
setProperty((("_root.mapengine.maps.map" add level) add ".room") add _root.library.room, _alpha , 85);
Symbol 134 MovieClip Frame 10
setProperty((("_root.mapengine.maps.map" add level) add ".room") add _root.library.room, _alpha , 70);
Symbol 134 MovieClip Frame 13
setProperty((("_root.mapengine.maps.map" add level) add ".room") add _root.library.room, _alpha , 55);
Symbol 134 MovieClip Frame 15
gotoAndPlay (4);
Symbol 134 MovieClip Frame 16
_root.fx16.start();
Symbol 134 MovieClip Frame 17
gotoAndStop (1);
Symbol 145 MovieClip Frame 1
stop();
energy = 100;
Symbol 145 MovieClip Frame 100
stop();
Symbol 149 MovieClip Frame 1
if ((_root.soundtrack_movie.music = 1)) {
gotoAndStop (2);
} else {
stop();
}
Symbol 149 MovieClip Frame 2
stop();
Symbol 149 MovieClip Frame 3
_root.soundtrack.stop();
stop();
Symbol 149 MovieClip Frame 4
stop();
Symbol 149 MovieClip Frame 5
stop();
Symbol 150 MovieClip Frame 1
stop();
counter3 = 0;
Symbol 150 MovieClip Frame 2
if (counter3 != 0) {
gotoAndPlay (4);
}
counter3++;
if (counter3 > 6) {
counter3 = 0;
}
Symbol 150 MovieClip Frame 3
_root.fx10.start();
Symbol 150 MovieClip Frame 4
stop();
Symbol 151 MovieClip Frame 1
stop();
counter3 = 0;
Symbol 151 MovieClip Frame 2
if (counter3 != 0) {
gotoAndPlay (4);
}
counter3++;
if (counter3 > 2) {
counter3 = 0;
}
Symbol 151 MovieClip Frame 3
_root.fx11.start();
Symbol 151 MovieClip Frame 4
stop();
Symbol 152 MovieClip Frame 1
pain_switch = false;
stop();
Symbol 152 MovieClip Frame 2
if (_root.gameover == 0) {
if (!pain_switch) {
pain_switch = true;
gotoAndPlay (3);
} else {
gotoAndPlay (4);
}
}
Symbol 152 MovieClip Frame 3
_root.fx4.start();
Symbol 152 MovieClip Frame 4
_root.energy_color.setTransform(_root.energy_transform);
_root[("droid" + _root.library.depth) + "_color"].setTransform(_root.energy_transform);
Symbol 152 MovieClip Frame 7
_root.energy_color.setTransform(_root.color_reset);
var i = 1;
while (i < 20) {
_root[("droid" + i) + "_color"].setTransform(_root.color_reset);
i++;
}
gotoAndStop (1);
Symbol 164 MovieClip Frame 1
text = _root.lang[38];
Symbol 165 Button
on (release) {
_root.menuover = "";
gotoAndStop (9);
}
on (rollOver) {
_root.menuover = _root.lang[14];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 167 MovieClip Frame 1
text = _root.lang[39];
Symbol 168 Button
on (release) {
_root.menuover = "";
gotoAndStop (5);
}
on (rollOver) {
_root.menuover = _root.lang[15];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 170 MovieClip Frame 1
text = _root.lang[41];
Symbol 171 Button
on (release) {
_root.menuover = "";
gotoAndStop (7);
}
on (rollOver) {
_root.menuover = _root.lang[18];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 173 MovieClip Frame 1
text = _root.lang[37];
Symbol 174 Button
on (release) {
if (_root.contest == 1) {
_root.difficulty_level_function(4);
} else {
_root.restore_health();
_root.mainmenu.gotoAndStop("difficulty");
}
}
on (rollOver) {
_root.menuover = _root.lang[11];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 176 MovieClip Frame 1
text = _root.lang[43];
Symbol 177 Button
on (release, keyPress "n") {
_root.menuover = "";
_root.mainmenu.gotoAndStop("quit");
}
on (keyPress "N") {
_root.menuover = "";
_root.mainmenu.gotoAndStop("quit");
}
on (rollOver) {
_root.menuover = _root.lang[13];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 179 MovieClip Frame 1
text = _root.lang[42];
Symbol 180 Button
on (release) {
_root.menuover = "";
_root.library.gotoAndStop("room" + _root.library.room);
_root.gotoAndStop("room" + _root.library.room);
}
on (rollOver) {
_root.menuover = _root.lang[12];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 181 MovieClip Frame 1
if (_root.firsttime == 0) {
gotoAndStop (2);
} else if (_root.firsttime == 1) {
gotoAndStop (4);
}
Symbol 183 MovieClip Frame 1
text = _root.lang[56];
Symbol 184 Button
on (release) {
_root.menuover = "";
_root.hi_score.gotoAndStop("display");
_parent.gotoAndStop("hi_score");
}
on (rollOver) {
_root.menuover = _root.lang[16];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 186 Button
on (release) {
_root.menuover = "";
getURL ("http://www.miniclip.com/signup2.htm", "_blank");
}
on (rollOver) {
_root.menuover = "Get free games straight to your eMail box!";
}
on (rollOut) {
_root.menuover = "";
}
Symbol 188 Button
on (release) {
_root.menuover = "";
getURL ("http://www.miniclip.com/Homepage.htm", "_blank");
}
on (rollOver) {
_root.menuover = "Play more games on MINICLIP.COM";
}
on (rollOut) {
_root.menuover = "";
}
Symbol 190 Button
on (release) {
_root.menuover = "";
getURL ("http://www.miniclip.com", "_blank");
}
on (rollOver) {
_root.menuover = "Visit the MINICLIP.COM website";
}
on (rollOut) {
_root.menuover = "";
}
Symbol 195 Button
on (release) {
_root.menuover = "";
_root.restore_health();
_root.restart();
_root.gotoAndStop("startgame");
_root.mainmenu.gotoAndStop("difficulty");
}
Symbol 196 Button
on (release) {
_root.menuover = "";
gotoAndStop (1);
}
Symbol 202 MovieClip Frame 1
text = _root.lang[47];
Symbol 203 Button
on (release, keyPress "t") {
_root.back("main");
}
on (keyPress "T") {
_root.back("main");
}
on (rollOver) {
_root.menuover = _root.lang[21];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 206 MovieClip Frame 1
text = _root.lang[48];
Symbol 207 Button
on (release, keyPress "i") {
_root.menuover = "";
gotoAndStop (13);
}
on (keyPress "I") {
_root.menuover = "";
gotoAndStop (13);
}
on (rollOver) {
_root.menuover = _root.lang[19];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 209 MovieClip Frame 1
text = _root.lang[44];
Symbol 210 Button
on (release, keyPress "k") {
_root.menuover = "";
gotoAndStop (15);
}
on (keyPress "K") {
_root.menuover = "";
gotoAndStop (15);
}
on (rollOver) {
_root.menuover = _root.lang[20];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 220 Button
on (release) {
_root.menuover = "";
getURL ("http://www.maistogames.com", "_blank");
}
on (rollOver) {
_root.menuover = "Visit MaistoGames website";
}
on (rollOut) {
_root.menuover = "";
}
Symbol 221 Button
on (release, keyPress "k") {
gotoAndStop (23);
}
on (keyPress "K") {
gotoAndStop (23);
}
on (rollOver) {
_root.menuover = _root.lang[22];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 223 MovieClip Frame 1
text = _root.lang[45];
Symbol 224 Button
on (release) {
gotoAndStop (19);
}
on (rollOver) {
_root.menuover = _root.lang[23];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 226 MovieClip Frame 1
text = _root.lang[46];
Symbol 227 Button
on (release, keyPress "l") {
gotoAndStop (21);
}
on (keyPress "L") {
gotoAndStop (21);
}
on (rollOver) {
_root.menuover = _root.lang[24];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 229 MovieClip Frame 1
text = _root.lang[57];
Symbol 230 Button
on (release, keyPress "l") {
_root.difficulty_level_function(1);
}
on (keyPress "L") {
_root.difficulty_level_function(1);
}
on (rollOver) {
_root.menuover = _root.lang[25];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 232 MovieClip Frame 1
text = _root.lang[58];
Symbol 233 Button
on (release, keyPress "n") {
_root.difficulty_level_function(2);
}
on (keyPress "N") {
_root.difficulty_level_function(2);
}
on (rollOver) {
_root.menuover = _root.lang[26];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 235 MovieClip Frame 1
text = _root.lang[59];
Symbol 236 Button
on (release, keyPress "h") {
_root.difficulty_level_function(4);
}
on (keyPress "H") {
_root.difficulty_level_function(4);
}
on (rollOver) {
_root.menuover = _root.lang[27];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 238 MovieClip Frame 1
text = _root.lang[60];
Symbol 239 Button
on (release, keyPress "t") {
_root.back("howtoplay");
}
on (keyPress "T") {
_root.back("howtoplay");
}
on (rollOver) {
_root.menuover = _root.lang[31];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 246 MovieClip Frame 1
if (!_root.flagAnimations) {
stop();
}
Symbol 253 MovieClip Frame 1
text1 = _root.lang[62];
text2 = _root.lang[63];
text3 = _root.lang[64];
text4 = _root.lang[65];
Symbol 262 Button
on (release) {
gotoAndStop (23);
}
on (rollOver) {
_root.menuover = _root.lang[66];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 278 MovieClip Frame 1
text = _root.lang[140];
Symbol 279 Button
on (release) {
if ((_root.gameover == 0) || ((_root.gameover == 1) && (_root.firsttime == 0))) {
_root.hi_score.gotoAndStop("off");
_root.back("main");
} else if ((_root.gameover == 1) && (_root.firsttime == 1)) {
_root.backToMainMenu();
}
}
Symbol 280 Button
on (release, keyPress "t") {
_root.back("settings");
}
on (keyPress "T") {
_root.back("settings");
}
on (rollOver) {
_root.menuover = _root.lang[32];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 283 MovieClip Frame 1
text = _root.lang[52];
Symbol 284 Button
on (release, keyPress "l") {
_root.menuover = "";
_quality = "LOW";
gotoAndStop (4);
}
on (keyPress "L") {
_root.menuover = "";
_quality = "LOW";
gotoAndStop (4);
}
on (rollOver) {
_root.menuover = _root.lang[30];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 286 MovieClip Frame 1
text = _root.lang[51];
Symbol 288 MovieClip Frame 1
text = _root.lang[50];
Symbol 289 Button
on (release, keyPress "h") {
_root.menuover = "";
_quality = "HIGH";
gotoAndStop (3);
}
on (keyPress "H") {
_root.menuover = "";
_quality = "HIGH";
gotoAndStop (3);
}
on (rollOver) {
_root.menuover = _root.lang[28];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 290 Button
on (release, keyPress "m") {
_root.menuover = "";
_quality = "MEDIUM";
gotoAndStop (2);
}
on (keyPress "M") {
_root.menuover = "";
_quality = "MEDIUM";
gotoAndStop (2);
}
on (rollOver) {
_root.menuover = _root.lang[29];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 291 MovieClip Frame 1
var graphicquality = getProperty(_root, _quality);
if (graphicquality == "LOW") {
gotoAndStop (4);
} else if (graphicquality == "MEDIUM") {
gotoAndStop (2);
} else if (graphicquality == "HIGH") {
gotoAndStop (3);
}
stop();
Symbol 291 MovieClip Frame 2
stop();
Symbol 293 MovieClip Frame 1
text = _root.lang[145];
Symbol 294 Button
on (release) {
_root.menuover = "";
_root.flagAnimations = false;
gotoAndStop (3);
}
on (rollOver) {
_root.menuover = _root.lang[150];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 296 MovieClip Frame 1
text = _root.lang[144];
Symbol 297 Button
on (release) {
_root.menuover = "";
_root.flagAnimations = true;
gotoAndStop (2);
}
on (rollOver) {
_root.menuover = _root.lang[151];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 298 MovieClip Frame 1
if (_root.flagAnimations) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
stop();
Symbol 300 MovieClip Frame 1
text = _root.lang[53];
Symbol 301 Button
on (release) {
_root.menuover = "";
_root.musicoff();
}
on (rollOver) {
_root.menuover = _root.lang[33];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 303 MovieClip Frame 1
text = _root.lang[54];
Symbol 304 Button
on (release) {
_root.menuover = "";
_root.musicon();
}
on (rollOver) {
_root.menuover = _root.lang[34];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 305 MovieClip Frame 1
if (_root.soundtrack_movie.music == 0) {
gotoAndStop (3);
} else if (_root.soundtrack_movie.music == 1) {
gotoAndStop (2);
}
stop();
Symbol 309 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
on (rollOver) {
_root.menuover = _root.lang[35];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 312 MovieClip Frame 1
text = _root.lang[55];
Symbol 313 Button
on (release) {
_root.arrow_up = 37;
_root.arrow_down = 39;
_root.arrow_right = 38;
_root.arrow_left = 40;
_root.menuover = "";
gotoAndStop (2);
}
on (rollOver) {
_root.menuover = _root.lang[36];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 314 Button
on (release) {
_root.arrow_up = 38;
_root.arrow_down = 40;
_root.arrow_right = 39;
_root.arrow_left = 37;
_root.menuover = "";
gotoAndStop (1);
}
on (rollOver) {
_root.menuover = _root.lang[36];
}
on (rollOut) {
_root.menuover = "";
}
Symbol 315 MovieClip Frame 1
stop();
if (_root.arrow_up == 37) {
gotoAndStop (2);
}
Symbol 317 MovieClip Frame 1
text = _root.lang[61];
Symbol 318 MovieClip Frame 1
text1 = _root.lang[67];
text2 = _root.lang[68];
text3 = _root.lang[69];
text11 = _root.lang[71];
text12 = _root.lang[72];
text13 = _root.lang[73];
text14 = _root.lang[74];
text15 = _root.lang[75];
text16 = _root.lang[76];
text17 = _root.lang[77];
text18 = _root.lang[78];
if (!_root.hiScore) {
hiScore_button._visible = 0;
}
stop();
Instance of Symbol 204 MovieClip in Symbol 318 MovieClip Frame 5
onClipEvent (load) {
var i = 0;
while (i < 4000) {
i++;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.back("main");
}
}
Instance of Symbol 240 MovieClip in Symbol 318 MovieClip Frame 13
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.back("howtoplay");
}
}
Instance of Symbol 281 MovieClip in Symbol 318 MovieClip Frame 19
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.back("settings");
}
}
Instance of Symbol 310 MovieClip in Symbol 318 MovieClip Frame 21
onClipEvent (load) {
current_volume = _root.soundtrack.getVolume();
_x = (current_volume + 84);
top = (bottom = _y);
left = _x - current_volume;
right = _x + (100 - current_volume);
}
onClipEvent (enterFrame) {
if (dragging) {
_root.soundtrack.setVolume(_x - 84);
}
}
Symbol 328 MovieClip Frame 2
stop();
Symbol 342 Button
on (release) {
sendHighScore();
}
Symbol 358 MovieClip Frame 18
txtUsername = _parent.mcHighScoreData.notSentUsername;
myDate = new Date();
stop();
Symbol 364 Button
on (release) {
gotoAndPlay (48);
}
Symbol 367 Button
on (release) {
gotoAndPlay (68);
}
Symbol 402 MovieClip Frame 11
stop();
Instance of Symbol 402 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 402 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 402 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 402 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 402 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 402 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 402 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 402 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 402 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 403 MovieClip Frame 10
stop();
Symbol 409 Button
on (release) {
gotoAndStop (41);
}
Symbol 473 MovieClip Frame 1
function convertScoreToTime(scoreToBeConverted) {
if (scoreIsTime) {
if (!scoreReversed) {
var convertScore = (1000000 - scoreToBeConverted);
} else {
var convertScore = scoreToBeConverted;
}
var strScore = new String(convertScore);
if (convertScore > 99999) {
var tmpTime = ((((strScore.substring(0, 2) + ":") + strScore.substring(2, 4)) + ":") + strScore.substring(4, 6));
} else if (convertScore > 9999) {
var tmpTime = ((((("0" + strScore.substring(0, 1)) + ":") + strScore.substring(1, 3)) + ":") + strScore.substring(3, 5));
} else if (convertScore > 999) {
var tmpTime = ((("00:" + strScore.substring(0, 2)) + ":") + strScore.substring(2, 5));
} else if (convertScore > 99) {
var tmpTime = ((("00:0" + strScore.substring(0, 1)) + ":") + strScore.substring(1, 3));
} else if (convertScore > 9) {
var tmpTime = ("00:00:" + strScore.substring(0, 2));
} else {
var tmpTime = ("00:00:0" + strScore.substring(0, 1));
}
convertScore = tmpTime;
if ((convertScore != "10:00:00") && (convertScore != "00:00:0")) {
return(convertScore);
}
} else {
var convertScore = (1000000000 - scoreToBeConverted);
if (convertScore != 1000000000) {
return(convertScore);
}
}
}
function getHighScores(period, target) {
target.records = 0;
if (saveScore) {
target.score = localScore;
target.username = txtUsername;
target.notSentScore = localScore;
target.notSentUsername = txtUsername;
}
target.gamename = gamename;
target.low = 0;
target.high = 10;
target.formaction = "gethighscores";
target.dwm = period;
var preventCaching = (getTimer() + random(100));
target.loadVariables("http://www.miniclip.com/Flash/proxy.php?preventCashing=" + preventCaching, "GET");
play();
}
function sendHighScore() {
if ((txtUsername != "") && (txtUsername != undefined)) {
getHighScores(2, mcHighScoreData);
}
}
this.username = "";
this.score = 0;
gameName = gamename;
position_d = 0;
position_w = 0;
position_m = 0;
mcHighScoreData.records = 0;
dailyLoaded = false;
weeklyLoaded = false;
monthlyLoaded = false;
dailyTabClicked = false;
weeklyTabClicked = false;
monthlyTabClicked = false;
timeOutVal = 15000;
completed = "false";
localScore = int(eval (scoreLocation));
if (localScore > 0) {
if (scoreIsTime) {
if (!scoreReversed) {
localScore = 1000000 - localScore;
}
} else if (scoreReversed) {
localScore = 1000000000 - localScore;
}
} else {
localScore = 0;
}
this._x = int(this._x);
this._y = int(this._y);
if (gameName == undefined) {
}
if ((eval (scoreLocation) == undefined) && (saveScore)) {
localScore = 0;
}
if (saveScore && (eval (scoreLocation) > 0)) {
gotoAndPlay (2);
} else {
getHighScores(2, mcHighScoreData);
gotoAndPlay (15);
}
Symbol 473 MovieClip Frame 9
Selection.setFocus("txtUsername");
stop();
Instance of Symbol 338 MovieClip in Symbol 473 MovieClip Frame 9
onClipEvent (keyDown) {
if (Key.isDown(13)) {
_parent.sendHighScore();
}
}
Symbol 473 MovieClip Frame 15
mcHighScoreData.username = "";
everyNSeconds = getTimer() + 2000;
timeOut = getTimer() + timeOutVal;
Symbol 473 MovieClip Frame 17
if (getTimer() > timeOut) {
timeOut = getTimer() + timeOutVal;
completed = false;
gotoAndPlay (20);
} else if (mcHighScoreData.records > 0) {
mcHighScoreData.positionDaily = mcHighScoreData.position;
if (scoreIsTime) {
mcHighScoreData.notSentScore = convertScoreToTime(localScore);
}
var i = 0;
while (i < mcHighScoreData.high) {
mcHighScoreData["userNameDaily" + i] = mcHighScoreData["user_name" + i];
mcHighScoreData["scoreDaily" + i] = mcHighScoreData["score" + i];
mcHighScoreData["dateDaily" + i] = mcHighScoreData["date" + i];
i++;
}
gotoAndPlay (34);
} else {
if (getTimer() > everyNSeconds) {
getHighScores(2, mcHighScoreData);
everyNSeconds = getTimer() + 2000;
}
gotoAndPlay(_currentframe - 1);
}
Symbol 473 MovieClip Frame 28
stop();
Instance of Symbol 358 MovieClip "mcYourScore" in Symbol 473 MovieClip Frame 34
onClipEvent (load) {
if ((_parent.localScore <= 0) or (!_parent.saveScore)) {
this._visible = false;
}
}
Symbol 473 MovieClip Frame 41
saveScore = false;
if (!dailyTabClicked) {
mcYourScore.position = position;
dailyTabClicked = true;
var i = 0;
while (i < mcHighScoreData.high) {
if (scoreIsTime or scoreReversed) {
mcHighScoreData["scoreDaily" + i] = convertScoreToTime(mcHighScoreData["scoreDaily" + i]);
}
i++;
}
}
var i = 0;
while (i < mcHighScoreData.high) {
this["txtUserName" + i] = mcHighScoreData["userNameDaily" + i];
this["txtScore" + i] = mcHighScoreData["scoreDaily" + i];
this["txtDate" + i] = mcHighScoreData["dateDaily" + i];
i++;
}
mcYourScore.position = mcHighScoreData.positionDaily;
stop();
Symbol 473 MovieClip Frame 48
if ((!weeklyTabClicked) or (!weeklyLoaded)) {
getHighScores(1, mcHighScoreData);
weeklyTabClicked = true;
} else if (weeklyLoaded) {
gotoAndPlay (56);
}
Symbol 473 MovieClip Frame 55
if (mcHighScoreData.records > 0) {
mcHighScoreData.positionWeekly = mcHighScoreData.position;
weeklyLoaded = true;
var i = 0;
while (i < mcHighScoreData.high) {
mcHighScoreData["userNameWeekly" + i] = mcHighScoreData["user_name" + i];
mcHighScoreData["scoreWeekly" + i] = mcHighScoreData["score" + i];
mcHighScoreData["dateWeekly" + i] = mcHighScoreData["date" + i];
if (scoreIsTime or scoreReversed) {
mcHighScoreData["scoreWeekly" + i] = convertScoreToTime(mcHighScoreData["scoreWeekly" + i]);
}
i++;
}
gotoAndPlay (56);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 473 MovieClip Frame 56
var i = 0;
while (i < mcHighScoreData.high) {
this["txtUserName" + i] = mcHighScoreData["userNameWeekly" + i];
this["txtScore" + i] = mcHighScoreData["scoreWeekly" + i];
this["txtDate" + i] = mcHighScoreData["dateWeekly" + i];
i++;
}
mcYourScore.position = mcHighScoreData.positionWeekly;
stop();
Symbol 473 MovieClip Frame 68
if ((!monthlyTabClicked) or (!monthlyLoaded)) {
getHighscores(0, mcHighScoreData);
monthlyTabClicked = true;
} else if (monthlyLoaded) {
gotoAndPlay (76);
}
Symbol 473 MovieClip Frame 75
if (mcHighScoreData.records > 0) {
mcHighScoreData.positionMonthly = mcHighScoreData.position;
monthlyLoaded = true;
var i = 0;
while (i < mcHighScoreData.high) {
mcHighScoreData["userNameMonthly" + i] = mcHighScoreData["user_name" + i];
mcHighScoreData["scoreMonthly" + i] = mcHighScoreData["score" + i];
mcHighScoreData["dateMonthly" + i] = mcHighScoreData["date" + i];
if (scoreIsTime or scoreReversed) {
mcHighScoreData["scoreMonthly" + i] = convertScoreToTime(mcHighScoreData["scoreMonthly" + i]);
}
i++;
}
gotoAndPlay (76);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 473 MovieClip Frame 76
var i = 0;
while (i < mcHighScoreData.high) {
this["txtUserName" + i] = mcHighScoreData["userNameMonthly" + i];
this["txtScore" + i] = mcHighScoreData["scoreMonthly" + i];
this["txtDate" + i] = mcHighScoreData["dateMonthly" + i];
i++;
}
mcYourScore.position = mcHighScoreData.positionMonthly;
stop();
Symbol 474 MovieClip Frame 1
stop();
Instance of Symbol 473 MovieClip in Symbol 474 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
scoreLocation = "_root.score";
gamename = "tomb";
saveScore = true;
scoreIsTime = false;
scoreReversed = false;
}
Instance of Symbol 473 MovieClip in Symbol 474 MovieClip Frame 3
//component parameters
onClipEvent (initialize) {
scoreLocation = "_root.score";
gamename = "tomb";
saveScore = false;
scoreIsTime = false;
scoreReversed = false;
}
Symbol 486 MovieClip Frame 1
text1 = _root.lang[80];
Symbol 488 MovieClip Frame 1
stop();
Symbol 488 MovieClip Frame 41
counter90 = 90;
Symbol 488 MovieClip Frame 42
setProperty(_root.infobox, _alpha , counter90);
Symbol 488 MovieClip Frame 44
if (counter90 > 0) {
counter90 = counter90 - 10;
gotoAndPlay (42);
} else {
infomessage = "";
gotoAndStop (1);
}
Symbol 495 Button
on (keyPress "<Space>") {
if (activeslot >= 125) {
call("clearslot");
_root.library.heal(healing_potion);
} else if ((activeslot > 0) && (activeslot < 125)) {
celltype = substring(cellcontent, 1, 1);
targetid = int(substring(cellcontent, 3, 3));
if (((celltype == 5) && (activeslot == targetid)) && (eval ("targetstatus" + targetid) == 1)) {
Set("targetstatus" + targetid, 0);
call("clearslot");
_root["target" + targetid].gotoAndPlay("on");
} else if (((celltype == 5) && (activeslot != targetid)) && (eval ("targetstatus" + targetid) == 1)) {
_root.fx8.start();
_root.infomessage(_root.lang[126]);
}
}
}
Symbol 496 Button
on (keyPress "z") {
slot = Number(slot) + 1;
if (Number(slot) > 4) {
slot = 1;
}
call("activeslot");
}
on (keyPress "Z") {
slot = Number(slot) + 1;
if (Number(slot) > 4) {
slot = 1;
}
call("activeslot");
}
Symbol 497 Button
on (keyPress "a") {
slot--;
if (slot < 1) {
slot = 4;
}
call("activeslot");
}
on (keyPress "A") {
slot--;
if (slot < 1) {
slot = 4;
}
call("activeslot");
}
Symbol 499 MovieClip Frame 1
if (_root.hiScore) {
text = _root.lang[141];
} else {
text = _root.lang[143];
}
Symbol 500 Button
on (release, keyPress "<Enter>") {
if (_root.hiScore) {
gotoAndStop (111);
_root.gotoAndStop("mainmenu");
_root.mainmenu.gotoAndStop("hi_score");
_root.hi_score.gotoAndStop("on");
} else {
_root.backToMainMenu();
}
}
Symbol 506 MovieClip Frame 1
text = _root.lang[142];
Symbol 507 Button
on (release) {
getURL ("http://www.miniclip.com/pharaohtomb.htm", "_blank");
}
Symbol 528 MovieClip Frame 1
function drain(damage) {
if (_root.gameover != 1) {
_root.painfx.gotoAndStop("on");
_root.energy.energy = _root.energy.energy - damage;
_root.energy.gotoAndStop(_root.energy._currentframe + damage);
if (_root.energy.energy < 1) {
_root.energy.energy = 0;
gotoAndStop (105);
}
}
}
function heal(power) {
_root.fx7.start();
if (_root.energy.energy < 100) {
var h = 0;
while (h < power) {
_root.energy.energy = _root.energy.energy + 1;
_root.energy.prevFrame();
h++;
}
}
}
function fdepthx(x, y) {
depthx = (Number(y) + Number(x)) - 60;
}
function fdepthy(x, y) {
depthy = Number(y - x) + 300;
}
function fnewdepth(x, y) {
newdepth = Number(int((y - 15) / 30) - int((Number(x) + 14) / 30)) + 10;
}
function down() {
Xmove = Xincr;
Ymove = Yincr;
XPmove = 0;
YPmove = Pincr;
}
function up() {
Xmove = -Xincr;
Ymove = -Yincr;
XPmove = 0;
YPmove = -Pincr;
}
function left() {
Xmove = -Xincr;
Ymove = Yincr;
XPmove = -Pincr;
YPmove = 0;
}
function right() {
Xmove = Xincr;
Ymove = -Yincr;
XPmove = Pincr;
YPmove = 0;
}
function fdirection() {
_root["droid" + newdepth].gotoAndStop(direction);
}
function animation() {
_root["droid" + depth].head.nextFrame();
pointerx = _root.pointer._x + XPmove;
pointery = _root.pointer._y + YPmove;
}
Pincr = 5;
Xincr = 4.5;
Yincr = 2.25;
antennaL = 15;
antennaW = 16;
pointerx = 195;
pointery = 195;
planex = getProperty("/roomplane", _x) - (getProperty("/roomplane", _width) / 2);
planey = getProperty("/roomplane", _y) - (getProperty("/roomplane", _height) / 2);
planecelly = getProperty("/roomplane", _height) / 20;
planecellx = getProperty("/roomplane", _width) / 20;
var i = 1;
while (i < 150) {
Set("room" + i, 0);
Set("gotitem" + i, 1);
Set("targetstatus" + i, 1);
i++;
}
score = 0;
_root.mapengine.level = 1;
music = 1;
_root.gameover = 0;
damage_skull = _root.difficulty_level;
damage_minighost = 2 * _root.difficulty_level;
damage_spider = 3 * _root.difficulty_level;
damage_spikes = 2 * _root.difficulty_level;
damage_thrower = 4 * _root.difficulty_level;
damage_gate = 10 * _root.difficulty_level;
damage_ghost = _root.difficulty_level;
damage_fish = 4 * _root.difficulty_level;
damage_venom = 2 * _root.difficulty_level;
damage_mummy = 4 * _root.difficulty_level;
healing_potion = int(50 / _root.difficulty_level);
healing_vial = int(10 / _root.difficulty_level);
slot = 1;
counter4 = 1;
while (counter4 < 5) {
Set("slotcontent" + counter4, 0);
counter4++;
}
activeslot = slotcontent1;
call("activeslot");
item_name = new Array();
item_name[0] = _root.lang[1];
item_name[101] = _root.lang[2];
item_name[102] = _root.lang[3];
item_name[103] = _root.lang[4];
item_name[104] = _root.lang[5];
item_name[105] = _root.lang[100];
item_name[106] = _root.lang[6];
item_name[107] = _root.lang[7];
item_name[108] = _root.lang[8];
item_name[109] = _root.lang[9];
item_name[110] = _root.lang[101];
item_name[125] = _root.lang[10];
item_name[126] = _root.lang[10];
item_name[127] = _root.lang[10];
item_description = item_name[0];
gotoAndPlay (3);
timeStart = getTimer();
room = 1;
Symbol 528 MovieClip Frame 3
depth = 1;
while (depth < 20) {
setProperty("_root.droid" + depth, _visible , 0);
depth++;
}
Set("room" + room, 1);
letter = 96;
numero = 0;
while (numero < 12) {
while (letter < 108) {
letter++;
Set(chr(letter) + numero, 0);
}
numero++;
letter = 96;
}
_root.pointer._x = pointerx;
_root.pointer._y = pointery;
fnewdepth(pointerx, pointery);
fdepthx(pointerx, pointery);
fdepthy(pointerx, pointery);
_root["droid" + newdepth]._x = (depthx * (planecellx / 30)) + planex;
_root["droid" + newdepth]._y = (depthy * (planecelly / 30)) + planey;
fdirection();
_root["droid" + newdepth]._visible = 1;
depth = newdepth;
_root.gotoAndStop("room" + room);
gotoAndPlay("room" + room);
Symbol 528 MovieClip Frame 5
f1 = "3.02165315";
k6 = "3.42315195";
b2 = "4.200050";
b6 = "4.201050";
b10 = "4.202050";
f10 = "4.203050";
j10 = "4.220050";
j6 = "5.110";
gotoAndStop (89);
Symbol 528 MovieClip Frame 7
f11 = "3.01165075";
i5 = "3.03075195";
f0 = "3.08285165";
d6 = "4.600";
f1 = "5.101";
gotoAndStop (89);
Symbol 528 MovieClip Frame 9
l6 = "3.04105195";
b6 = "3.02225165";
f10 = "3.05195105";
k9 = "4.204050";
k1 = "4.205100";
c1 = "4.206100";
f5 = (g6 = (e7 = "2.01"));
gotoAndStop (89);
Symbol 528 MovieClip Frame 11
c6 = "3.03315195";
f10 = "3.06195105";
i9 = "4.207050";
i1 = "4.208050";
d1 = "4.209100";
h4 = (f6 = (e8 = "2.01"));
gotoAndStop (89);
Symbol 528 MovieClip Frame 13
g2 = "3.03165285";
i8 = "4.210050";
d3 = "4.211100";
d5 = "4.219100";
d8 = "4.217500";
f8 = "4.601";
gotoAndStop (89);
Symbol 528 MovieClip Frame 15
g2 = "3.04165285";
f9 = "3.07225135";
i8 = "4.212100";
d8 = "4.213200";
d3 = "4.214050";
d5 = "4.603";
i3 = "4.604";
f6 = "2.01";
gotoAndStop (89);
Symbol 528 MovieClip Frame 17
h3 = "3.06165255";
k8 = "4.215100";
h8 = "4.216050";
b8 = "4.101";
d8 = "4.605";
k4 = "4.606";
b4 = "4.218200";
g5 = (c8 = (c4 = (j5 = (h7 = "2.01"))));
gotoAndStop (89);
Symbol 528 MovieClip Frame 19
j6 = "3.02165045";
a5 = "3.09315105";
c6 = "4.607";
gotoAndStop (89);
Symbol 528 MovieClip Frame 21
l3 = "3.08045165";
l6 = "3.10165075";
f0 = "3.11135315";
c1 = "4.242100";
c3 = "4.243100";
g9 = "4.125";
d2 = (d3 = (f4 = (f5 = (f6 = (h3 = (h4 = (h7 = (h8 = (f8 = (g8 = (c6 = (d6 = "2.02"))))))))))));
gotoAndStop (89);
Symbol 528 MovieClip Frame 23
e2 = "3.09315195";
h2 = "3.13135105";
f11 = "3.12315165";
g5 = "4.608";
g7 = "4.609";
g2 = "5.106";
gotoAndStop (89);
Symbol 528 MovieClip Frame 25
e11 = "3.09165045";
a5 = "3.17225075";
d0 = "3.19165255";
l5 = "3.23075195";
j1 = "4.244500";
k10 = "4.245100";
k8 = "4.246100";
d8 = "4.610";
g3 = "4.611";
c2 = (c3 = (c4 = (c7 = (c8 = (c9 = (h1 = (h2 = (h3 = (h8 = (h9 = (h10 = (e4 = (f4 = (g4 = (e7 = (f7 = (g7 = "2.02")))))))))))))))));
j2 = (j9 = (e8 = (f3 = "2.01")));
k5 = "5.103";
gotoAndStop (89);
Symbol 528 MovieClip Frame 27
k4 = "3.10165315";
e1 = "3.14285165";
b8 = "4.254100";
d8 = "4.278500";
e4 = "5.102";
c6 = (c7 = (c8 = (e6 = (e7 = (e8 = (h4 = (h5 = (h6 = (h7 = (g7 = (i7 = "2.02")))))))))));
gotoAndStop (89);
Symbol 528 MovieClip Frame 29
d3 = "3.10195075";
h1 = "4.219100";
h10 = "4.104";
h3 = "4.612";
e10 = "4.221100";
gotoAndStop (89);
Symbol 528 MovieClip Frame 31
j6 = "3.12135075";
a5 = "3.15255225";
f3 = "3.32165255";
c6 = "4.613";
f4 = "5.105";
gotoAndStop (89);
Symbol 528 MovieClip Frame 33
j7 = "3.14045165";
e0 = "3.16105225";
i4 = "4.247200";
f5 = "4.614";
g11 = "4.634";
i11 = "4.248100";
c10 = "4.249050";
d11 = "4.250050";
g4 = (g5 = (g6 = (e6 = (f6 = "2.02"))));
d7 = (f11 = (e4 = "2.01"));
gotoAndStop (89);
Symbol 528 MovieClip Frame 35
d8 = "3.15135045";
l5 = "3.17135255";
b4 = "4.222200";
f4 = "4.223100";
i4 = "4.615";
gotoAndStop (89);
Symbol 528 MovieClip Frame 37
d8 = "3.16315165";
i2 = "3.11045165";
d2 = "3.18285165";
e5 = "4.251050";
h0 = "4.616";
h6 = "4.103";
gotoAndStop (89);
Symbol 528 MovieClip Frame 39
k5 = "3.17135075";
e2 = "3.21165285";
b8 = "4.224200";
b5 = "4.225100";
f3 = (f4 = (f6 = (f7 = (f8 = "2.02"))));
gotoAndStop (89);
Symbol 528 MovieClip Frame 41
c6 = "3.20225195";
f9 = "3.11105045";
j5 = "3.22105195";
i3 = "4.226100";
d3 = "4.227100";
e7 = "2.01";
gotoAndStop (89);
Symbol 528 MovieClip Frame 43
d4 = "3.21315105";
i6 = "3.19105195";
e1 = "4.228100";
h1 = "4.229200";
h3 = "4.230100";
h10 = "4.231100";
e10 = "4.232050";
f6 = (g7 = "2.01");
gotoAndStop (89);
Symbol 528 MovieClip Frame 45
f10 = "3.18135105";
l3 = "3.20135135";
c9 = "4.102";
gotoAndStop (89);
Symbol 528 MovieClip Frame 47
c6 = "3.19255165";
g3 = "4.241500";
f3 = (f4 = (f5 = (f6 = (g6 = (h6 = "2.02")))));
gotoAndStop (89);
Symbol 528 MovieClip Frame 49
b6 = "3.11315165";
l5 = "3.24105195";
f3 = "4.274100";
j3 = "4.275100";
j8 = "4.276100";
c8 = "4.629";
f4 = (j4 = (d7 = "2.01"));
gotoAndStop (89);
Symbol 528 MovieClip Frame 51
c6 = "3.23315165";
g2 = "3.25105315";
f9 = "3.26195105";
g5 = "4.277500";
h3 = "4.630";
f5 = (g6 = (e7 = "2.01"));
gotoAndStop (89);
Symbol 528 MovieClip Frame 53
e0 = "3.33255225";
l7 = "3.28165075";
d11 = "3.24195105";
b3 = "4.252050";
i10 = "4.105";
e1 = "5.108";
i7 = "2.01";
gotoAndStop (89);
Symbol 528 MovieClip Frame 55
g2 = "3.24165255";
j5 = "3.29105195";
c6 = "3.27315165";
d8 = "4.126";
i5 = "5.104";
d7 = (e7 = (f7 = "2.02"));
gotoAndStop (89);
Symbol 528 MovieClip Frame 57
l5 = "3.26105195";
c7 = "4.106";
f3 = "4.253100";
e7 = "4.255100";
d3 = "4.617";
gotoAndStop (89);
Symbol 528 MovieClip Frame 59
e2 = "3.25315225";
f11 = "3.29225075";
f3 = "4.618";
gotoAndStop (89);
Symbol 528 MovieClip Frame 61
c6 = "3.26255165";
h1 = "3.28165315";
k5 = "3.30135255";
e2 = "4.257200";
i8 = "4.258200";
i6 = "4.259050";
e8 = "4.619";
j5 = "5.107";
f2 = (f3 = (f4 = (f6 = (f7 = (f8 = (h4 = (h5 = (h6 = (h7 = (i7 = (j7 = "2.02")))))))))));
gotoAndStop (89);
Symbol 528 MovieClip Frame 63
d8 = "3.29285165";
g0 = "3.31195255";
i4 = "4.260100";
i8 = "4.261100";
h1 = "4.632";
f9 = "4.624";
f3 = (g4 = (e5 = "2.01"));
gotoAndStop (89);
Symbol 528 MovieClip Frame 65
g9 = "3.30195045";
d4 = "4.262500";
h3 = "4.263200";
i4 = "4.108";
d6 = "4.620";
e7 = "2.01";
h4 = (h5 = (h6 = (e5 = (f5 = (d5 = "2.02")))));
gotoAndStop (89);
Symbol 528 MovieClip Frame 67
f9 = "3.14165135";
h3 = "4.264500";
d3 = "4.265200";
f3 = "4.107";
gotoAndStop (89);
Symbol 528 MovieClip Frame 69
i8 = "3.25135045";
b5 = "3.34285105";
j3 = "4.266100";
f7 = "4.256100";
h3 = "4.621";
c7 = "4.622";
e7 = "2.01";
gotoAndStop (89);
Symbol 528 MovieClip Frame 71
k3 = "3.33075165";
j8 = "3.41165075";
e7 = "3.35285225";
h1 = "4.267200";
h8 = "4.623";
g1 = (g5 = (h7 = "2.03"));
gotoAndStop (89);
Symbol 528 MovieClip Frame 73
k7 = "3.34165225";
c6 = "3.36285195";
c3 = "3.36285105";
e1 = "3.38135255";
g1 = "3.38195255";
i1 = "3.38255255";
g5 = "4.633";
g7 = "4.110";
g6 = "2.03";
gotoAndStop (89);
Symbol 528 MovieClip Frame 75
e1 = "3.37135255";
g1 = "3.37195255";
k3 = "3.35105105";
k6 = "3.35105195";
e7 = "4.268100";
h4 = "4.625";
h6 = "5.109";
e6 = "2.03";
gotoAndStop (89);
Symbol 528 MovieClip Frame 77
k3 = "3.38105105";
k5 = "3.38105165";
k7 = "3.38105225";
e9 = "3.36135075";
g9 = "3.36195075";
g5 = "4.269100";
g6 = "2.03";
gotoAndStop (89);
Symbol 528 MovieClip Frame 79
c3 = "3.37285105";
c5 = "3.37285165";
c7 = "3.37285225";
e9 = "3.35135075";
g9 = "3.35195075";
i9 = "3.35255075";
k3 = "3.39135135";
k5 = "3.39135195";
g7 = "4.270200";
e7 = "4.626";
gotoAndStop (89);
Symbol 528 MovieClip Frame 81
d4 = "3.38285105";
d6 = "3.38285165";
j4 = "3.40135135";
j5 = "3.40135165";
h5 = "4.271050";
f6 = "4.627";
h4 = "2.03";
gotoAndStop (89);
Symbol 528 MovieClip Frame 83
d4 = "3.39255135";
d5 = "3.39255165";
j2 = "4.272100";
j7 = "4.628";
i6 = "4.109";
i2 = (f6 = (h7 = "2.03"));
gotoAndStop (89);
Symbol 528 MovieClip Frame 85
e2 = "3.34255255";
g10 = "4.273200";
e10 = "4.127";
gotoAndStop (89);
Symbol 528 MovieClip Frame 87
gotoAndPlay (108);
Symbol 528 MovieClip Frame 89
if (_root.map_switch == 1) {
_root.mapengine.gotoAndPlay("refresh");
}
letter = 96;
numero = 0;
while (numero < 12) {
while (letter < 108) {
letter++;
cellcontent = eval (chr(letter) + numero);
if (Number(int(cellcontent)) == 4) {
itemid = int(substring(cellcontent, 3, 3));
if (eval ("gotitem" + itemid) == 0) {
_root["item" + itemid]._visible = 0;
Set(chr(letter) + numero, 0);
}
} else if (Number(int(cellcontent)) == 5) {
targetid = int(substring(cellcontent, 3, 3));
if (eval ("targetstatus" + targetid) == 0) {
Set(chr(letter) + numero, 0);
_root["target" + targetid].gotoAndStop("off");
}
}
}
numero++;
letter = 96;
}
stop();
Symbol 528 MovieClip Frame 91
_root["droid" + depth].gotoAndStop(direction);
animation();
x1Box = pointerx - 13;
x2Box = pointerx + 14;
y1Box = pointery - 14;
y2Box = pointery + 13;
if (direction == "up") {
collision1 = _root.wall.hittest(x1Box, y1Box, true);
collision2 = _root.wall.hittest(x2Box, y1Box, true);
} else if (direction == "down") {
collision1 = _root.wall.hittest(x1Box, y2Box, true);
collision2 = _root.wall.hittest(x2Box, y2Box, true);
} else if (direction == "left") {
collision1 = _root.wall.hittest(x1Box, y1Box, true);
collision2 = _root.wall.hittest(x1Box, y2Box, true);
} else if (direction == "right") {
collision1 = _root.wall.hittest(x2Box, y1Box, true);
collision2 = _root.wall.hittest(x2Box, y2Box, true);
}
if ((!collision1) && (!collision2)) {
call("movement");
letter0 = chr(int(pointerx / 30) + 97);
number0 = int(pointery / 30);
cellcontent = eval (letter0 + number0);
if (Number(cellcontent) > 0) {
call("cells");
stop();
} else {
_root.flagHarmfulCell = false;
}
} else {
x1 = pointerx + antennaX1;
y1 = pointery + antennaY1;
x2 = pointerx + antennaX2;
y2 = pointery + antennaY2;
collisionA1 = _root.wall.hittest(x1, y1, true);
collisionA2 = _root.wall.hittest(x2, y2, true);
if (!collisionA1) {
if ((direction == "left") || (direction == "right")) {
down();
} else if ((direction == "up") || (direction == "down")) {
left();
}
animation();
call("movement");
stop();
} else if (!collisionA2) {
if ((direction == "left") || (direction == "right")) {
up();
} else if ((direction == "up") or (direction == "down")) {
right();
}
animation();
call("movement");
stop();
}
stop();
}
stop();
Symbol 528 MovieClip Frame 93
fnewdepth(pointerx, pointery);
if (newdepth != depth) {
if (newdepth < 1) {
newdepth = "1";
}
_root["droid" + depth]._visible = 0;
_root["droid" + newdepth]._x = _root["droid" + depth]._x;
_root["droid" + newdepth]._y = _root["droid" + depth]._y;
fdirection();
_root["droid" + newdepth].head.gotoAndStop(_root["droid" + depth].head._currentframe);
_root["droid" + newdepth]._visible = 1;
depth = newdepth;
}
_root["droid" + depth]._x = _root["droid" + depth]._x + Xmove;
_root["droid" + depth]._y = _root["droid" + depth]._y + Ymove;
_root.pointer._x = pointerx;
_root.pointer._y = pointery;
Symbol 528 MovieClip Frame 96
ct = Number(substring(cellcontent, 1, 1));
if (ct == 3) {
room = Number(substring(cellcontent, 3, 2));
pointerx = substring(cellcontent, 5, 3);
pointery = substring(cellcontent, 8, 3);
if (pointerx.charAt(0) == "0") {
pointerx = pointerx.slice(1);
}
if (pointery.charAt(0) == "0") {
pointery = pointery.slice(1);
}
gotoAndPlay (3);
} else if (ct == 2) {
damage_cell = int(substring(cellcontent, 3, 2)) * _root.difficulty_level;
_root.flagHarmfulCell = true;
} else if (ct == 4) {
itemid = substring(cellcontent, 3, 3);
Set("gotitem" + itemid, 0);
_root["item" + itemid]._visible = 0;
Set(letter0 + number0, 0);
if (itemid < 199) {
_root.fx5.start();
_root.infomessage(_root.lang[120] + item_name[itemid]);
counter = 1;
while (counter < 5) {
if (eval ("slotcontent" + counter) == 0) {
Set("slotcontent" + counter, itemid);
_root.inventory["item" + itemid]._x = _root.inventory["slot" + counter]._x;
_root.inventory["item" + itemid]._y = _root.inventory["slot" + counter]._y;
counter = 6;
} else {
counter++;
}
}
call("activeslot");
} else if ((itemid > 199) && (itemid < 599)) {
_root.fx6.start();
points = substring(cellcontent, 6, 3);
if (points.charAt(0) == "0") {
points = points.slice(1);
}
points = points * (_root.difficulty_level / 2);
with (_root.points) {
_x = _root["item" + itemid]._x;
_y = _root["item" + itemid]._y - 40;
gotoAndPlay("on");
}
score = score + points;
} else if (itemid > 599) {
_root.infomessage(_root.lang[121]);
heal(healing_vial);
}
stop();
}
Symbol 528 MovieClip Frame 100
activeslot = eval ("slotcontent" + slot);
item_description = item_name[activeslot];
counter5 = 1;
while (counter5 < 5) {
_root.inventory["slot" + counter5]._alpha = 25;
counter5++;
}
_root.inventory["slot" + slot]._alpha = 100;
_root.fx9.start();
Symbol 528 MovieClip Frame 103
_root.inventory["item" + activeslot]._visible = 0;
Set("slotcontent" + slot, 0);
activeslot = 0;
item_description = item_name[activeslot];
Symbol 528 MovieClip Frame 105
_root.gameover = 1;
hero_status = "dead";
total_minutes = 0;
total_seconds = 0;
text3 = _root.lang[132];
_root.flagHarmfulCell = false;
_root["droid" + depth]._x = _root["droid" + depth]._x + 100;
_root["droid" + depth].gotoAndStop("dead");
if (_root.soundtrack_movie.music == 1) {
_root.soundtrack.stop();
_root.soundtrack_movie.gotoAndStop("gameOver");
}
_root.score = score;
stop();
Instance of Symbol 508 MovieClip in Symbol 528 MovieClip Frame 105
onClipEvent (load) {
this._visible = !_root.hiScore;
}
Symbol 528 MovieClip Frame 108
_root.gameover = 1;
text1 = _root.lang[130];
text2 = _root.lang[131];
_root.flagHarmfulCell = false;
timeEnd = getTimer();
timeElapsed = Math.floor((timeEnd - timeStart) / 1000);
if (_root.soundtrack_movie.music == 1) {
_root.soundtrack.stop();
_root.soundtrack_movie.gotoAndStop("congrats");
}
healthBonus = _root.energy.energy * 10;
timeBonus = 3600 - timeElapsed;
if (timeBonus < 0) {
timeBonus = 0;
}
goldCollected = score;
_root.score = (healthBonus + timeBonus) + goldCollected;
stop();
Symbol 530 Button
on (release) {
if (_root.gameover == 0) {
if (_root.map_switch == 0) {
_root.map_switch = 1;
_root.mapengine.gotoAndPlay("mapopen");
_root.gui_infobox = _root.lang[84];
} else if (_root.map_switch == 1) {
_root.map_switch = 0;
_root.mapengine.gotoAndPlay("mapclose");
_root.gui_infobox = _root.lang[83];
}
}
}
on (keyPress "<Tab>") {
if (_root.gameover == 0) {
if (_root.map_switch == 0) {
_root.map_switch = 1;
_root.mapengine.gotoAndPlay("mapopen");
} else if (_root.map_switch == 1) {
_root.map_switch = 0;
_root.mapengine.gotoAndPlay("mapclose");
}
}
}
on (rollOver) {
if (_root.map_switch == 0) {
_root.gui_infobox = _root.lang[83];
} else if (_root.map_switch == 1) {
_root.gui_infobox = _root.lang[84];
}
}
on (rollOut) {
_root.gui_infobox = "";
}
Symbol 532 Button
on (keyPress "g") {
_root.graphic_quality("Medium");
}
on (keyPress "G") {
_root.graphic_quality("Medium");
}
Symbol 533 Button
on (keyPress "g") {
_root.graphic_quality("High");
}
on (keyPress "G") {
_root.graphic_quality("High");
}
Symbol 534 Button
on (keyPress "g") {
_root.graphic_quality("Low");
}
on (keyPress "G") {
_root.graphic_quality("Low");
}
Symbol 535 MovieClip Frame 1
var graphicquality = getProperty(_root, _quality);
if (graphicquality == "LOW") {
gotoAndStop (2);
} else if (graphicquality == "MEDIUM") {
gotoAndStop (3);
} else if (graphicquality == "HIGH") {
gotoAndStop (4);
}
stop();
Symbol 538 Button
on (keyPress "m") {
if (_root.gameover == 0) {
_root.musicoff();
}
}
on (keyPress "M") {
if (_root.gameover == 0) {
_root.musicoff();
}
}
Symbol 539 Button
on (keyPress "m") {
if (_root.gameover == 0) {
_root.musicon();
}
}
on (keyPress "M") {
if (_root.gameover == 0) {
_root.musicon();
}
}
Symbol 540 MovieClip Frame 1
if (_root.soundtrack_movie.music == 0) {
gotoAndStop (3);
} else if (_root.soundtrack_movie.music == 1) {
gotoAndStop (2);
}
Symbol 541 Button
on (rollOver) {
gui_infobox = _root.lang[82];
}
on (rollOut) {
gui_infobox = "";
}
Symbol 542 Button
on (rollOver) {
gui_infobox = _root.lang[81];
}
on (rollOut) {
gui_infobox = "";
}
Symbol 543 Button
on (keyPress "q") {
_root.flagAnimations = !_root.flagAnimations;
}
on (keyPress "Q") {
_root.flagAnimations = !_root.flagAnimations;
}
Symbol 557 MovieClip Frame 1
stop();
Symbol 557 MovieClip Frame 3
_root.fx1.start();
Symbol 557 MovieClip Frame 45
setProperty("_root.wall.door", _x , "400");
Symbol 557 MovieClip Frame 55
setProperty("_root.wall.door", _x , "400");
stop();
Symbol 597 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 2
_root.fx1.start();
Symbol 597 MovieClip Frame 40
setProperty("_root.wall.door", _x , "400");
Symbol 597 MovieClip Frame 55
setProperty("_root.wall.door", _x , "400");
stop();
Symbol 604 MovieClip Frame 1
stop();
Symbol 604 MovieClip Frame 4
gotoAndStop (1);
Instance of Symbol 600 MovieClip in Symbol 605 MovieClip Frame 1
onClipEvent (enterFrame) {
var z = _root.library:depth;
var throwerhit = this.hitTest(eval (("_root.droid" add z) add "._x"), eval (("_root.droid" add z) add "._y"), true);
if (throwerhit == true) {
_root.library.drain(_root.library.damage_thrower);
_parent.gotoAndPlay(1);
}
if (_parent.distance == (getProperty(_parent, _currentframe) / 4)) {
setProperty("_parent.smash", _x , getProperty(_parent.spike, _x));
setProperty("_parent.smash", _y , getProperty(_parent.spike, _y));
_parent.smash.gotoAndPlay("on");
_parent.gotoAndPlay(1);
}
}
Symbol 605 MovieClip Frame 2
_root.fx3.start();
Symbol 605 MovieClip Frame 40
gotoAndPlay (1);
Symbol 613 MovieClip Frame 1
if (!_root.flagAnimations) {
stop();
}
Symbol 621 MovieClip Frame 1
gotoAndPlay(start);
Instance of Symbol 600 MovieClip in Symbol 621 MovieClip Frame 8
onClipEvent (enterFrame) {
var z = _root.library:depth;
var drainhit = this.hitTest(eval (("_root.droid" add z) add "._x"), eval (("_root.droid" add z) add "._y"), true);
if (drainhit == true) {
_root.library.drain(_root.library.damage_spikes);
}
}
Symbol 621 MovieClip Frame 94
gotoAndPlay (2);
Instance of Symbol 623 MovieClip "hitbox" in Symbol 626 MovieClip Frame 1
onClipEvent (enterFrame) {
var z = _root.library:depth;
var hit = this.hitTest(eval (("_root.droid" add z) add "._x"), eval (("_root.droid" add z) add "._y"), true);
if (hit == true) {
_root.library.drain(_root.library.damage_minighost);
}
}
Symbol 627 MovieClip Frame 1
minighost.gotoAndPlay(miniframe);
Symbol 627 MovieClip Frame 5
if (_root.gameover == 0) {
_root.fx2.start();
}
Symbol 627 MovieClip Frame 26
if (cells == 2) {
gotoAndPlay (234);
}
Symbol 627 MovieClip Frame 52
if (cells == 3) {
gotoAndPlay (208);
}
Symbol 627 MovieClip Frame 78
if (cells == 4) {
gotoAndPlay (182);
}
Symbol 627 MovieClip Frame 104
if (cells == 5) {
gotoAndPlay (156);
}
Symbol 627 MovieClip Frame 260
miniframe = minighost._currentframe;
Symbol 636 MovieClip Frame 1
if (!_root.flagAnimations) {
stop();
}
Symbol 669 MovieClip Frame 1
var gatename = this._name;
var gateX = eval (("_root.wall." add gatename) add "._x");
gotoAndPlay(firstframe);
Symbol 669 MovieClip Frame 19
setProperty("_root.wall." add gatename, _x , "500");
Instance of Symbol 668 MovieClip "gatehit" in Symbol 669 MovieClip Frame 30
onClipEvent (enterFrame) {
var z = _root.library:depth;
gatehit = this.hitTest(eval (("_root.droid" add z) add "._x"), eval (("_root.droid" add z) add "._y"), true);
if (gatehit == true) {
_root.library.drain(_root.library.damage_gate);
_parent.gotoAndPlay("gateup");
}
}
Symbol 669 MovieClip Frame 36
setProperty("_root.wall." add gatename, _x , gateX);
Symbol 669 MovieClip Frame 43
_root.fx12.start();
Symbol 669 MovieClip Frame 58
gotoAndPlay (2);
Instance of Symbol 623 MovieClip "hitbox" in Symbol 681 MovieClip Frame 1
onClipEvent (enterFrame) {
var z = _root.library:depth;
var hit = this.hitTest(eval (("_root.droid" add z) add "._x"), eval (("_root.droid" add z) add "._y"), true);
if (hit == true) {
_root.library.drain(_root.library.damage_skull);
}
}
Symbol 681 MovieClip Frame 18
_root.fx14.start();
Symbol 682 MovieClip Frame 19
gotoAndPlay (1);
Symbol 682 MovieClip Frame 38
gotoAndPlay (20);
Symbol 683 MovieClip Frame 1
path = 2;
direction = "forth";
skullfb.skull.gotoAndPlay(start);
skullfb.gotoAndPlay(start);
gotoAndPlay(start + 1);
Symbol 683 MovieClip Frame 20
if (path == cells) {
path = 1;
first = 1;
if (direction == "forth") {
direction = "back";
} else if (direction == "back") {
direction = "forth";
}
}
if (direction == "forth") {
skullfb.gotoAndPlay("forth");
if (first != 1) {
setProperty("skullfb", _x , getProperty(skullfb, _x) + (_root.library.planecellx * 2));
}
} else if (direction == "back") {
skullfb.gotoAndPlay("back");
if (first != 1) {
setProperty("skullfb", _x , getProperty(skullfb, _x) - (_root.library.planecellx * 2));
}
}
first = 0;
path = path + 1;
gotoAndPlay (2);
Symbol 692 MovieClip Frame 1
_root.doorFront._visible = 0;
stop();
Symbol 692 MovieClip Frame 2
_root.fx15.start();
gotoAndPlay (3);
Symbol 692 MovieClip Frame 3
_root.doorFront._visible = 1;
_root.wall.door._x = 400;
stop();
Instance of Symbol 623 MovieClip "hitbox" in Symbol 703 MovieClip Frame 1
onClipEvent (enterFrame) {
var z = _root.library:depth;
var hit = this.hitTest(eval (("_root.droid" + z) + "._x"), eval (("_root.droid" + z) + "._y"), true);
if (hit) {
_root.library.drain(_root.library.damage_mummy);
}
}
Symbol 703 MovieClip Frame 17
gotoAndPlay (1);
Symbol 704 MovieClip Frame 19
gotoAndPlay (1);
Symbol 704 MovieClip Frame 38
gotoAndPlay (20);
Symbol 705 MovieClip Frame 1
path = 2;
direction = "forth";
skullfb.skull.gotoAndPlay(start);
skullfb.gotoAndPlay(start);
gotoAndPlay(start + 1);
Symbol 705 MovieClip Frame 20
if (path == cells) {
path = 1;
first = 1;
_root.fx17.start();
if (direction == "forth") {
direction = "back";
} else if (direction == "back") {
direction = "forth";
}
}
if (direction == "forth") {
skullfb.gotoAndPlay("forth");
if (first != 1) {
setProperty("skullfb", _x , getProperty(skullfb, _x) + (_root.library.planecellx * 2));
}
} else if (direction == "back") {
skullfb.gotoAndPlay("back");
if (first != 1) {
setProperty("skullfb", _x , getProperty(skullfb, _x) - (_root.library.planecellx * 2));
}
}
first = 0;
path = path + 1;
gotoAndPlay (2);
Symbol 712 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 3
_root.fx1.start();
Symbol 712 MovieClip Frame 25
setProperty("_root.wall.door", _x , "400");
Symbol 712 MovieClip Frame 49
setProperty("_root.wall.door", _x , "400");
stop();
Symbol 718 MovieClip Frame 1
_root.fx18.start();
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 5
onClipEvent (enterFrame) {
var z = _root.library:depth;
var drainhit = this.hitTest(eval (("_root.droid" add z) add "._x"), eval (("_root.droid" add z) add "._y"), true);
if (drainhit == true) {
_root.library.drain(_root.library.damage_venom);
}
}
Symbol 718 MovieClip Frame 8
_root.fx18.start();
Symbol 718 MovieClip Frame 16
_root.fx18.start();
Symbol 718 MovieClip Frame 24
_root.fx18.start();
Symbol 718 MovieClip Frame 32
_root.fx18.start();
Symbol 718 MovieClip Frame 40
_root.fx18.start();
Symbol 718 MovieClip Frame 48
_root.fx18.start();
Symbol 718 MovieClip Frame 56
_root.fx18.start();
Symbol 718 MovieClip Frame 64
_root.fx18.start();
Symbol 718 MovieClip Frame 72
_root.fx18.start();
Symbol 736 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 2
stop();
Symbol 749 MovieClip Frame 15
gotoAndPlay (1);
Symbol 750 MovieClip Frame 1
_x = spiderX;
_y = spiderY;
if (orientation == "bottomleft_topright") {
orientation = "_X";
} else if (orientation == "bottomright_topleft") {
orientation = "_y";
}
i = 0;
while (i < 20) {
setProperty((("_root." add name) add "_") add i, _visible , 0);
i++;
}
setProperty((("_root." add name) add "_") add newdepth, _visible , 1);
depth = newdepth;
call("direction");
Symbol 750 MovieClip Frame 2
if (direction == 1) {
_y = (_y-1);
setProperty("this", _y , _y);
if (_y < (spiderY - ((step - 1) * 30))) {
direction = 0;
}
} else if (direction == 0) {
_y = (_y+1);
setProperty("this", _y , _y);
if (_y > spiderY) {
direction = 1;
}
}
depthx = (_y + _x) - 60;
depthy = (_y - _x) + 300;
call("position");
if (newdepth != depth) {
setProperty((("_root." add name) add "_") add newdepth, _visible , 1);
setProperty((("_root." add name) add "_") add depth, _visible , 0);
call("direction");
}
depth = newdepth;
deltax = _x - getProperty("_root.pointer", _x);
deltay = _y - getProperty("_root.pointer", _y);
if ((Number(math.abs(deltax)) < 25) and (Number(math.abs(deltay)) < 25)) {
_root.library.drain(_root.library.damage_spider);
}
Symbol 750 MovieClip Frame 3
gotoAndPlay (2);
Symbol 750 MovieClip Frame 4
if (direction == 1) {
tellTarget (((("/" add name) add "_") add newdepth) add "/body") {
gotoAndStop ("back");
};
} else if (direction == 0) {
tellTarget (((("/" add name) add "_") add newdepth) add "/body") {
gotoAndStop ("front");
};
}
_root.spiderfx.gotoAndPlay("on");
Symbol 750 MovieClip Frame 6
newdepth = Number(int((_y - 15) / 30) - int((Number(_x) + 14) / 30)) + 10;
setProperty((("_root." add name) add "_") add newdepth, _x , Number(depthx * (_root.library.planecellx / 30)) + Number(_root.library.planex));
setProperty((("_root." add name) add "_") add newdepth, _y , Number(depthy * (_root.library.planecelly / 30)) + Number(_root.library.planey));
Symbol 783 MovieClip Frame 1
Xincr = 1.125;
Yincr = 0.5625;
var i = 0;
while (i < 20) {
setProperty("_root.enemy" add i, _visible , 0);
i++;
}
depth = Number(int((Epointery - 15) / 30) - int((Number(Epointerx) + 14) / 30)) + 10;
depthx = (Number(Epointery) + Number(Epointerx)) - 60;
depthy = Number(Epointery - Epointerx) + 300;
setProperty("_root.enemy" add depth, _x , Number(depthx * (/library:planecellx / 30)) + Number(/library:planex));
setProperty("_root.enemy" add depth, _y , Number(depthy * (/library:planecelly / 30)) + Number(/library:planey));
setProperty("/enemy" add depth, _visible , 1);
gotoAndPlay (4);
Symbol 783 MovieClip Frame 4
var Xmonster = Number(int(getProperty("_root.enemy" add depth, _x)));
var Ymonster = Number(int(getProperty("_root.enemy" add depth, _y)));
var Xdroid = Number(int(getProperty("_root.droid" add _root.library.depth, _x)));
var Ydroid = Number(int(getProperty("_root.droid" add _root.library.depth, _y)));
if (Xmonster > Xdroid) {
EXmove = -Xincr;
} else if (Xmonster < Xdroid) {
EXmove = Xincr;
} else if (Xmonster == Xdroid) {
EXmove = 0;
}
if (Ymonster > Ydroid) {
EYmove = -Yincr;
} else if (Ymonster < Ydroid) {
EYmove = Yincr;
} else if (Ymonster == Ydroid) {
EYmove = 0;
}
setProperty("_root.enemy" add depth, _x , getProperty("_root.enemy" add depth, _x) + EXmove);
setProperty("_root.enemy" add depth, _y , getProperty("_root.enemy" add depth, _y) + EYmove);
newdepth = Number(int((getProperty("_root.enemy" add depth, _y) - _root.library.planey) / _root.library.planecelly));
if (Number(newdepth) != Number(depth)) {
if (Number(newdepth) < 1) {
newdepth = 1;
}
setProperty("_root.enemy" add depth, _visible , 0);
setProperty("_root.enemy" add newdepth, _x , getProperty("_root.enemy" add depth, _x));
setProperty("_root.enemy" add newdepth, _y , getProperty("_root.enemy" add depth, _y));
setProperty("/enemy" add newdepth, _visible , 1);
depth = newdepth;
_root.bigghostfx.gotoAndPlay("on");
}
deltax = Number(getProperty("_root.enemy" add depth, _x)) - Number(getProperty("_root.droid" add _root.library.depth, _x));
deltay = Number(getProperty("_root.enemy" add depth, _y)) - Number(getProperty("_root.droid" add _root.library.depth, _y));
if ((Number(math.abs(deltax)) < 15) and (Number(math.abs(deltay)) < 15)) {
_root.library.drain(_root.library.damage_ghost);
}
Symbol 783 MovieClip Frame 5
gotoAndPlay (4);
Symbol 843 MovieClip Frame 1
gotoAndPlay(start);
Symbol 843 MovieClip Frame 33
_root.fx13.start();
Instance of Symbol 600 MovieClip in Symbol 843 MovieClip Frame 45
onClipEvent (enterFrame) {
z = _root.library:depth;
drainhit = this.hitTest(eval (("_root.droid" add z) add "._x"), eval (("_root.droid" add z) add "._y"), true);
if (drainhit) {
_root.library.drain(_root.library.damage_fish);
}
}
Symbol 843 MovieClip Frame 59
_root.fx13.start();
Symbol 843 MovieClip Frame 64
gotoAndPlay(frequency);
Symbol 846 MovieClip Frame 1
stop();
Symbol 846 MovieClip Frame 2
_root.fx15.start();
gotoAndStop (3);
Symbol 846 MovieClip Frame 3
setProperty("_root.wall.door", _x , "400");
stop();
Instance of Symbol 600 MovieClip in Symbol 859 MovieClip Frame 1
onClipEvent (enterFrame) {
z = _root.library:depth;
drainhit = this.hitTest(eval (("_root.droid" add z) add "._x"), eval (("_root.droid" add z) add "._y"), true);
if (drainhit) {
_root.library.drain(_root.library.damage_mushroom);
}
}