Frame 1
stop();
i = 0;
while (i < sh_ar.length) {
removeMovieClip(sh_ar[i]);
i++;
}
i = 0;
while (i < s_ar.length) {
removeMovieClip(s_ar[i]);
i++;
}
i = 0;
while (i < money_ar.length) {
removeMovieClip(money_ar[i]);
i++;
}
i = 0;
while (i < exp_ar.length) {
removeMovieClip(exp_ar[i]);
i++;
}
i = 0;
while (i < bomb_ar.length) {
removeMovieClip(bomb_ar[i]);
i++;
}
removeMovieClip(mask2);
removeMovieClip(hand);
removeMovieClip(manof2);
removeMovieClip(pwr);
clearInterval(time_in);
ContextMenu.prototype.showBuiltIn = function (show) {
with (this.builtInItems) {
save = show;
zoom = show;
play = show;
loop = show;
rewind = show;
forward_back = show;
print = show;
}
};
mainHandler = function (obj) {
_root.output.text = _root.output.text + (newline + obj);
};
itemHandler = function (obj, item) {
_root.output.text = _root.output.text + (newline + item.caption);
};
contextMenus = ["mainMenu", "clipMenu1", "clipMenu2", "btnMenu"];
i = 0;
while (i < contextMenus.length) {
this[contextMenus[i]] = new ContextMenu(mainHandler);
this[contextMenus[i]].showBuiltIn(false);
var tmpItem = (contextMenus[i] + " NET-GAMES.biz");
tmpItem = new ContextMenuItem(tmpItem, itemHandler);
this[contextMenus[i]].customItems.push(tmpItem);
i++;
}
this.menu = mainMenu;
myClip1.menu = clipMenu1;
myClip2.menu = clipMenu2;
myBtn.menu = btnMenu;
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("097b9401", this, 10301, true);
Frame 2
stop();
i = 0;
while (i < sh_ar.length) {
removeMovieClip(sh_ar[i]);
i++;
}
i = 0;
while (i < s_ar.length) {
removeMovieClip(s_ar[i]);
i++;
}
i = 0;
while (i < money_ar.length) {
removeMovieClip(money_ar[i]);
i++;
}
i = 0;
while (i < exp_ar.length) {
removeMovieClip(exp_ar[i]);
i++;
}
i = 0;
while (i < bomb_ar.length) {
removeMovieClip(bomb_ar[i]);
i++;
}
removeMovieClip(mask2);
removeMovieClip(hand);
removeMovieClip(manof2);
removeMovieClip(pwr);
clearInterval(time_in);
Frame 3
i = 0;
while (i < sh_ar.length) {
removeMovieClip(sh_ar[i]);
i++;
}
i = 0;
while (i < s_ar.length) {
removeMovieClip(s_ar[i]);
i++;
}
i = 0;
while (i < money_ar.length) {
removeMovieClip(money_ar[i]);
i++;
}
i = 0;
while (i < exp_ar.length) {
removeMovieClip(exp_ar[i]);
i++;
}
i = 0;
while (i < bomb_ar.length) {
removeMovieClip(bomb_ar[i]);
i++;
}
removeMovieClip(mask2);
removeMovieClip(hand);
removeMovieClip(manof2);
removeMovieClip(pwr);
clearInterval(time_in);
score_num = 0;
level = 1;
var enemy_mp3 = new Sound();
enemy_mp3.attachSound("heli.wav");
enemy_mp3.stop();
ropex = 0;
xxx = 0;
tnt = 3;
luck = 1;
p_d = 0;
keys_prise = 3000;
sec_add = 0;
anim_p = 1;
rifle = "no";
spray = "no";
rock_p = 1;
stop();
function stopmusic() {
var _local1 = new Sound();
_local1.attachSound("flash");
_local1.setVolume(0);
}
function playmusic() {
var _local1 = new Sound();
_local1.attachSound("flash");
_local1.setVolume(100);
}
if (_root.soundon == 1) {
_root.stopmusic();
}
if (_root.soundon != 1) {
_root.playmusic();
}
Instance of Symbol 280 MovieClip in Frame 3
on (release) {
getURL ("http://games84.com", "new");
}
Frame 4
stop();
if (level == 1) {
goal_num = random(500) + 1;
}
if (level == 2) {
goal_num = random(600) + 500;
}
if (level == 3) {
goal_num = random(650) + 1100;
}
if (level == 4) {
goal_num = random(700) + 1750;
}
if (level == 5) {
goal_num = random(1000) + 2500;
}
if (level == 6) {
goal_num = random(1100) + 3500;
}
if (level == 7) {
goal_num = random(1300) + 4700;
}
if (level == 8) {
goal_num = random(1500) + 6000;
}
if (level == 9) {
goal_num = random(1500) + 7500;
}
if (level == 10) {
goal_num = random(1000) + 9100;
}
if (level == 11) {
goal_num = random(1500) + 10600;
}
if (level == 12) {
goal_num = random(1400) + 12100;
}
if (level == 13) {
goal_num = random(1500) + 13500;
}
if (level == 14) {
goal_num = random(1800) + 15000;
}
if (level == 15) {
goal_num = random(2000) + 16900;
}
if (level == 16) {
goal_num = random(2500) + 19500;
}
if (level == 17) {
goal_num = random(2500) + 22000;
}
if (level == 18) {
goal_num = random(3000) + 25000;
}
if (level == 19) {
goal_num = random(3000) + 28000;
}
if (level == 20) {
goal_num = 35000;
}
if (level == 21) {
goal_num = 39000;
}
if (level == 22) {
goal_num = 43000;
}
if (level == 23) {
goal_num = 47000;
}
if (level == 24) {
goal_num = 52000;
}
if (level == 25) {
goal_num = 57000;
}
if (level == 26) {
goal_num = 62000;
}
if (level == 27) {
goal_num = 67000 /* 0x0105B8 */;
}
if (level == 28) {
goal_num = 72000 /* 0x011940 */;
}
if (level == 29) {
goal_num = 79000 /* 0x013498 */;
}
if (level == 30) {
goal_num = 85000 /* 0x014C08 */;
}
if (level == 31) {
goal_num = 92000 /* 0x016760 */;
}
if (level == 32) {
goal_num = 100000 /* 0x0186A0 */;
}
if (level == 33) {
goal_num = 110000 /* 0x01ADB0 */;
}
if (level == 34) {
goal_num = 125000 /* 0x01E848 */;
}
if (level >= 35) {
gotoAndPlay ("gameover");
}
goal_txt1.text = "$ " + goal_num;
trace(score_num);
level_s = 2;
function clicki() {
i = 0;
while (i < tree_ar2.length) {
tree_ar2[i].onRollOver = function () {
this._xscale = 120;
this._yscale = 120;
};
tree_ar2[i].onRollOut = function () {
this._xscale = 100;
this._yscale = 100;
};
i++;
}
}
tree_ar2 = new Array(tree1, tree2, tree3, tree4, tree5, tree6, tree7, tree8, tree9, tree10, tree11, tree12, tree13, tree14, tree15, tree16, tree17, tree18, tree19, tree20);
tree11.level = 0;
tree11.levelx = 3;
tree8.level = 0;
tree8.levelx = 3;
tree6.level = 0;
tree6.levelx = 3;
tree19.level = 3;
tree19.levelx = 6;
tree14.level = 3;
tree14.levelx = 6;
tree3.level = 3;
tree3.levelx = 6;
tree4.level = 6;
tree4.levelx = 9;
tree9.level = 6;
tree9.levelx = 9;
tree1.level = 6;
tree1.levelx = 9;
tree7.level = 9;
tree7.levelx = 12;
tree18.level = 9;
tree18.levelx = 12;
tree15.level = 9;
tree15.levelx = 12;
tree16.level = 12;
tree16.levelx = 15;
tree2.level = 12;
tree2.levelx = 15;
tree13.level = 12;
tree13.levelx = 15;
tree10.level = 15;
tree10.levelx = 18;
tree12.level = 15;
tree12.levelx = 18;
tree17.level = 15;
tree17.levelx = 18;
tree5.level = 18;
tree18.levelx = 19;
tree20.level = 19;
txt.text = level;
i = 0;
while (i < tree_ar2.length) {
if (tree_ar2[i].level > (level - 1)) {
tree_ar2[i]._alpha = 20;
tree_ar2[i]._x = 1000;
}
if (tree_ar2[i].levelx < level) {
tree_ar2[i]._alpha = 20;
tree_ar2[i]._x = 1000;
}
i++;
}
level_tt.text = "next level " + level;
Instance of Symbol 351 MovieClip "tree3" in Frame 4
on (release) {
if (_root.level > 3) {
_root.level_s = 5;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 353 MovieClip "tree13" in Frame 4
on (release) {
if (_root.level > 12) {
_root.level_s = 12;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 355 MovieClip "tree10" in Frame 4
on (release) {
if (_root.level > 15) {
_root.level_s = 14;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 355 MovieClip "tree17" in Frame 4
on (release) {
if (_root.level > 15) {
_root.level_s = 17;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 355 MovieClip "tree1" in Frame 4
on (release) {
if (_root.level > 6) {
_root.level_s = 6;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 357 MovieClip "tree8" in Frame 4
on (release) {
if (_root.level > 0) {
_root.level_s = 3;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 357 MovieClip "tree6" in Frame 4
on (release) {
if (_root.level > 0) {
_root.level_s = 11;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 359 MovieClip "tree19" in Frame 4
on (release) {
if (_root.level > 3) {
_root.level_s = 1;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 359 MovieClip "tree18" in Frame 4
on (release) {
if (_root.level > 9) {
_root.level_s = 18;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 361 MovieClip "tree14" in Frame 4
on (release) {
if (_root.level > 3) {
_root.level_s = 7;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 361 MovieClip "tree2" in Frame 4
on (release) {
if (_root.level > 12) {
_root.level_s = 15;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 363 MovieClip "tree12" in Frame 4
on (release) {
if (_root.level > 15) {
_root.level_s = 13;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 363 MovieClip "tree5" in Frame 4
on (release) {
if (_root.level > 18) {
_root.level_s = 17;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 365 MovieClip "tree7" in Frame 4
on (release) {
if (_root.level > 9) {
_root.level_s = 10;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 365 MovieClip "tree4" in Frame 4
on (release) {
if (_root.level > 6) {
_root.level_s = 2;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 359 MovieClip "tree15" in Frame 4
on (release) {
if (_root.level > 9) {
_root.level_s = 9;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 367 MovieClip "tree9" in Frame 4
on (release) {
if (_root.level > 6) {
_root.level_s = 8;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 367 MovieClip "tree16" in Frame 4
on (release) {
if (_root.level > 12) {
_root.level_s = 16;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 353 MovieClip "tree11" in Frame 4
on (release) {
if (_root.level > 0) {
_root.level_s = 4;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 365 MovieClip "tree20" in Frame 4
on (release) {
if (_root.level > 19) {
_root.level_s = 21;
_root.gotoAndPlay("action");
}
}
Instance of Symbol 374 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.clicki();
}
Frame 5
stop();
score_txt.text = "$ " + score_num;
ropex = 0;
xxx = 0;
sec_add = 0;
keys = "no";
luck = 1;
anim_p = 1;
rifle = "no";
spray = "no";
rock_p = 1;
p_d = 0;
buy1.gotoAndPlay(random(14));
if ((((level == 4) || (level == 8)) || (level == 12)) || (level == 16)) {
buy1.gotoAndPlay(13);
}
buy2.gotoAndPlay(random(14));
if (buy2._currentframe == buy1._currentframe) {
buy2.gotoAndStop(buy2._currentframe - 1);
}
buy3.gotoAndPlay(random(14));
if (buy3._currentframe == buy1._currentframe) {
buy3.gotoAndStop(buy3._currentframe - 2);
}
if (buy3._currentframe == buy2._currentframe) {
buy3.gotoAndStop(buy3._currentframe - 1);
}
buy4.gotoAndPlay(random(14));
if (buy4._currentframe == buy1._currentframe) {
buy4.gotoAndStop(buy4._currentframe - 3);
}
if (buy4._currentframe == buy2._currentframe) {
buy4.gotoAndStop(buy4._currentframe - 2);
}
if (buy4._currentframe == buy3._currentframe) {
buy4.gotoAndStop(buy4._currentframe - 1);
}
buy1.onPress = function () {
score_num = score_num - buy1.price;
score_txt.text = "$ " + score_num;
buy1._y = 1000;
buy1._x = 1000;
buy1.gg();
if (gold_a._currentframe == 1) {
gold_a.gotoAndPlay("one");
} else if ((gold_a._currentframe > 2) && (gold_a._currentframe < 29)) {
gold_a.gotoAndPlay("two");
} else if ((gold_a._currentframe > 29) && (gold_a._currentframe < 59)) {
gold_a.gotoAndPlay("three");
} else if (gold_a._currentframe >= 59) {
gold_a.gotoAndPlay("four");
}
};
buy2.onPress = function () {
score_num = score_num - buy2.price;
score_txt.text = "$ " + score_num;
buy2._y = 1000;
buy2._x = 1000;
buy2.gg();
if (gold_a._currentframe == 1) {
gold_a.gotoAndPlay("one");
} else if ((gold_a._currentframe > 2) && (gold_a._currentframe < 29)) {
gold_a.gotoAndPlay("two");
} else if ((gold_a._currentframe > 29) && (gold_a._currentframe < 59)) {
gold_a.gotoAndPlay("three");
} else if (gold_a._currentframe >= 59) {
gold_a.gotoAndPlay("four");
}
};
buy3.onPress = function () {
score_num = score_num - buy3.price;
score_txt.text = "$ " + score_num;
buy3._y = 1000;
buy3._x = 1000;
buy3.gg();
if (gold_a._currentframe == 1) {
gold_a.gotoAndPlay("one");
} else if ((gold_a._currentframe > 2) && (gold_a._currentframe < 29)) {
gold_a.gotoAndPlay("two");
} else if ((gold_a._currentframe > 29) && (gold_a._currentframe < 59)) {
gold_a.gotoAndPlay("three");
} else if (gold_a._currentframe >= 59) {
gold_a.gotoAndPlay("four");
}
};
buy4.onPress = function () {
score_num = score_num - buy4.price;
score_txt.text = "$ " + score_num;
buy4._y = 1000;
buy4._x = 1000;
buy4.gg();
if (gold_a._currentframe == 1) {
gold_a.gotoAndPlay("one");
} else if ((gold_a._currentframe > 2) && (gold_a._currentframe < 29)) {
gold_a.gotoAndPlay("two");
} else if ((gold_a._currentframe > 29) && (gold_a._currentframe < 59)) {
gold_a.gotoAndPlay("three");
} else if (gold_a._currentframe >= 59) {
gold_a.gotoAndPlay("four");
}
};
buy1.onRollOver = function () {
buy1.show1();
buy1._alpha = 70;
};
buy2.onRollOver = function () {
buy2.show1();
buy2._alpha = 70;
};
buy3.onRollOver = function () {
buy3.show1();
buy3._alpha = 70;
};
buy4.onRollOver = function () {
buy4.show1();
buy4._alpha = 70;
};
buy1.onRollOut = function () {
buy1._alpha = 100;
};
buy2.onRollOut = function () {
buy2._alpha = 100;
};
buy3.onRollOut = function () {
buy3._alpha = 100;
};
buy4.onRollOut = function () {
buy4._alpha = 100;
};
Instance of Symbol 473 MovieClip "buy1" in Frame 5
/* no clip actions */
Frame 6
function agla_move() {
if ((ply.ison == "yes") && (pause1 != 1)) {
if (ply._x < xx) {
ply._x = ply._x + 5;
if (ply.cir._currentframe == 1) {
ply.cir.gotoAndPlay(2);
}
}
if (ply._x > xx) {
ply._x = ply._x - 5;
if (ply.cir._currentframe == 1) {
ply.cir.gotoAndPlay(25);
}
}
if (((ply._x - 5) < xx) && ((ply._x + 5) > xx)) {
trace("ff");
ply._x = xx;
ply.ison = "no";
xx = 0;
}
i = 0;
while (i < s_ar.length) {
if (((s_ar[i]._y < 100) && (ply._x < (s_ar[i]._x + 120))) && (ply._x > (s_ar[i]._x - 50))) {
ply.ison = "no";
if (xx < ply._x) {
ply._x = s_ar[i]._x + 125;
}
if (xx > ply._x) {
ply._x = s_ar[i]._x - 55;
}
xx = 0;
}
i++;
}
}
if ((hand.pos != "down") && (hand.pos != "up")) {
hand._x = ply._x + 5;
rope._x = ply._x;
ply_hand._x = ply._x - 60;
}
pwr._x = hand._x;
pwr._y = hand._y;
pwr._rotation = hand._rotation;
manof2._x = hand._x;
manof2._y = hand._y;
manof2._rotation = hand._rotation;
manof2.gotoAndPlay(hand._currentframe);
if (hand.state1 == "reg") {
pwr.gotoAndPlay(1);
} else if (hand.state1 == "laser") {
pwr.gotoAndPlay("laser");
if ((hand.pos != "right") && (hand.pos != "left")) {
pwr.gotoAndPlay(1);
}
} else if (hand.state1 == "magav") {
pwr.gotoAndPlay("magav");
} else if (hand.state1 == "crane") {
pwr.gotoAndPlay("crane");
} else if (hand.state1 == "knife") {
pwr.gotoAndPlay("knife");
} else if (hand.state1 == "rifle") {
trace("rfle");
pwr.gotoAndPlay("rifle");
}
}
function change_state(to) {
hand.state1 = to;
}
var enemy_mp3 = new Sound();
enemy_mp3.attachSound("heli.wav");
enemy_mp3.stop();
_root.abc1 = 0;
BB = 5;
stop();
Mouse.removeListener(mouse);
hand.keycount = 0;
var mouse = new Object();
mouse.onMouseDown = function () {
if ((((((((hand.pos != "up") && (_ymouse > 156)) && (xx == 0)) && (hand.pos != "hold")) && (hand.state1 != "rifle")) && (go33 == 1)) && (pause1 != 1)) && (_ymouse < 440)) {
if (ply.say._currentframe != 1) {
ply.say.gotoAndStop(1);
}
hand.pos = "down";
}
if ((((((((hand.pos != "up") && (_ymouse > 156)) && (xx == 0)) && (hand.pos != "hold")) && (hand.state1 == "rifle")) && (go33 == 1)) && (pause1 != 1)) && (_ymouse < 440)) {
shoot_rifle();
go33 = 0;
}
if ((((_ymouse < 156) && (hand.pos != "up")) && (hand.pos != "down")) && (pause1 != 1)) {
ply.ison = "yes";
xx = _xmouse;
}
};
mouse.onMouseUp = function () {
};
var nextnum;
mouse.onMouseWheel = function () {
};
Mouse.addListener(mouse);
xx = 0;
function manof_r() {
if (hand.pos == "right") {
hand._rotation = hand._rotation - 5;
if (hand._rotation < -75) {
hand.pos = "left";
}
}
if (hand.pos == "left") {
hand._rotation = hand._rotation + 5;
if (hand._rotation > 75) {
hand.pos = "right";
}
}
rope._rotation = hand._rotation;
if ((hand.pos == "down") && (pause1 != 1)) {
if (hand._currentframe == 1) {
hand.gotoAndPlay(2);
ply_hand.gotoAndPlay(2);
}
rope._visible = 1;
hand.rotat = rope._rotation;
hand.dx = Math.sin((Math.PI/180) * hand.rotat);
hand.dy = Math.cos((Math.PI/180) * hand.rotat);
hand._x = hand._x - (hand.dx * 7);
hand._y = hand._y + (hand.dy * 7);
}
if ((hand.pos == "up") && (pause1 != 1)) {
if (hand.problem > 0) {
hand.problem--;
if (hand.problem == 1) {
i = 0;
while (i < s_ar.length) {
if (s_ar[i].pick == "yes") {
s_ar[i]._visible = 1;
sh_ar[i]._visible = 1;
s_ar[i].pick = "no";
sh_ar[i]._y = (s_ar[i]._y + (s_ar[i]._height / 2)) - (s_ar[i]._height / 4);
}
i++;
}
hand.pos = "up";
hand.gotoAndPlay(2);
hand.gold = 0;
hand.speed = 7;
}
}
hand.rotat = rope._rotation;
hand.dx = Math.sin((Math.PI/180) * hand.rotat);
hand.dy = Math.cos((Math.PI/180) * hand.rotat);
hand._x = hand._x + (hand.dx * hand.speed);
hand._y = hand._y - (hand.dy * hand.speed);
if (hand._y < 85) {
if (hand.gold > 0) {
boxmusic.gotoAndPlay("takemoney");
}
hand.pos = "hold";
hand.swapDepths(20);
if (hand.state1 == "magav") {
hand.state1 = "reg";
}
}
if (hand.state1 == "magav") {
i = 0;
while (i < s_ar.length) {
if (s_ar[i].id > 0) {
if (pwr.hitTest(s_ar[i]._x, s_ar[i]._y, true) && (s_ar[i]._y > 200)) {
trace("ofer");
s_ar[i]._x = s_ar[i]._x + (hand.dx * (hand.speed + 15));
s_ar[i]._y = s_ar[i]._y - (hand.dy * (hand.speed + 15));
sh_ar[i]._x = sh_ar[i]._x + (hand.dx * (hand.speed + 15));
sh_ar[i]._y = sh_ar[i]._y - (hand.dy * (hand.speed + 15));
}
}
i++;
}
}
}
if (((hand.count > 0) && (hand.pos == "hold")) && (pause1 != 1)) {
if ((hand.count > 14) && (hand.gold != "no")) {
add_score(hand.gold);
}
if ((hand.count > 14) && (hand.gold == "no")) {
add_pwr_txt(hand.pwr_up);
}
hand.count--;
}
if ((hand.count == 0) && (hand.pos == "hold")) {
if (hand.key == "yes") {
hand.keycount = hand.keycount + 1;
keys_sign.gotoAndPlay(hand.keycount);
if (hand.keycount == 5) {
add_score(keys_prise);
add_pwr_txt("bonus1");
}
}
hand.pos = "left";
hand._y = 85;
hand.gotoAndPlay(1);
rope._visible = 0;
ply_hand.gotoAndPlay(1);
ply.man.head.gotoAndPlay(1);
hand.gold = 0;
hand.speed = hand.speed1 + 1;
hand.pwr_up = 0;
hand.key = 0;
if (hand.problem > 0) {
hand.problem = 1;
}
}
if (((hand._y > 520) || (hand._x < -30)) || (hand._x > 630)) {
hand.pos = "up";
ply_hand.gotoAndPlay(7);
ply.man.head.gotoAndPlay(2);
}
i = 0;
while (i < s_ar.length) {
if ((s_ar[i].pick == "yes") && (s_ar[i]._y >= 140)) {
s_ar[i]._x = hand._x;
s_ar[i]._y = hand._y + (s_ar[i]._height / 2);
sh_ar[i]._x = hand._x;
sh_ar[i]._y = (s_ar[i]._y + (s_ar[i]._height / 2)) - (s_ar[i]._height / 6);
}
if ((((hand._x < (s_ar[i]._x + (s_ar[i]._width / 2))) && (hand._x < (s_ar[i]._x + (s_ar[i]._width / 2)))) && (hand._y < (s_ar[i]._y + (s_ar[i]._height / 2)))) && (hand._y < (s_ar[i]._y + (s_ar[i]._height / 2)))) {
if ((s_ar[i].hitTest(hand._x, hand._y, true) && (hand.pos != "up")) && (s_ar[i]._y > 142)) {
if ((hand.state1 != "magav") && (s_ar[i].kexp != "level")) {
if ((hand.state1 == "knife") && (s_ar[i].kexp == "exp_rock")) {
create_exp(s_ar[i], s_ar[i].kexp);
removeMovieClip(s_ar[i]);
removeMovieClip(sh_ar[i]);
} else if (s_ar[i].kexp == "exp_barrel") {
create_exp(s_ar[i], "exp_barrel");
removeMovieClip(s_ar[i]);
removeMovieClip(sh_ar[i]);
hand.pos = "up";
hand.gotoAndPlay(15);
hand.gold = 2;
hand.count = 15;
hand.swapDepths(50000);
} else {
trace("gold " + s_ar[i].gold);
hand.swapDepths(50000);
hand.pos = "up";
ply_hand.gotoAndPlay(7);
ply.man.head.gotoAndPlay(2);
hand.gotoAndPlay(s_ar[i].fr);
s_ar[i].pick = "yes";
hand.count = 15;
hand.key = s_ar[i].key;
hand.gold = s_ar[i].gold;
hand.pwr_up = s_ar[i].pwr_up;
hand.speed = s_ar[i].speed + hand.xxx;
if (hand.speed == 0.1) {
hand.speed = 0;
hand.problem = 70;
ply.say.gotoAndPlay(2);
}
if (hand.speed == -2) {
hand.speed = 0;
hand.problem = 70;
ply.say.gotoAndPlay(3);
}
if (hand.state1 == "crane") {
hand.speed = 8;
}
hand.gof = s_ar[i].gof;
}
}
}
}
i++;
}
i = 0;
while (i < s_ar.length) {
if (s_ar[i].pick == "yes") {
s_ar[i]._visible = 0;
sh_ar[i]._visible = 0;
if ((hand.pos == "left") || (hand.pos == "right")) {
removeMovieClip(s_ar[i]);
removeMovieClip(sh_ar[i]);
}
}
i++;
}
rope._x = hand._x;
rope._y = hand._y;
}
function check1() {
score_txt.text = "$ " + score_num;
if (score_count > 0) {
if (score_need == 0) {
score_need = score_count + score_num;
boxmusic.gotoAndPlay("enter");
trace(score_need);
}
if (score_need > (score_num + 399)) {
score_count = score_count - 30;
score_num = score_num + 30;
}
score_count = score_count - 10;
score_num = score_num + 10;
}
if ((score_count <= 0) && (score_need > 0)) {
score_num = score_need;
if (goal_num <= score_num) {
score_txt.textColor = 16763904 /* 0xFFCC00 */;
trace("green");
}
score_need = 0;
score_mmmo = 0;
score_count = 0;
}
}
function shoot_bomb() {
tnt--;
ply.txt.text = tnt;
bomb_num++;
var _local2 = this.attachMovie("bomb", "bmb" + bomb_num, 29000 + bomb_num);
bomb_ar[bomb_num] = _local2;
_local2._x = ply._x + 5;
_local2._y = 85;
_local2._rotation = hand._rotation;
_local2.onEnterFrame = function () {
bomb_move(this);
};
}
function bomb_move(obj5) {
obj5.dx = Math.sin((Math.PI/180) * obj5._rotation);
obj5.dy = Math.cos((Math.PI/180) * obj5._rotation);
obj5._x = obj5._x - (obj5.dx * 12);
obj5._y = obj5._y + (obj5.dy * 12);
if (((obj5._y > 500) || (obj5._x < -40)) || (obj5._x > 650)) {
go33 = 1;
removeMovieClip(obj5);
}
if (hand.hitTest(obj5._x, obj5._y, true)) {
i = 0;
while (i < s_ar.length) {
if (s_ar[i].pick == "yes") {
s_ar[i]._visible = 0;
sh_ar[i]._visible = 0;
s_ar[i].pick = "no";
create_exp(s_ar[i], "expl2");
}
i++;
}
go33 = 1;
removeMovieClip(obj5);
hand.gotoAndPlay(2);
hand.speed = hand.speed1 + 1;
hand.gold = 0;
hand.count = 0;
}
}
function shoot_rifle() {
pwr.m4.gotoAndPlay(2);
rifle_n--;
if (rifle_n < 1) {
rifle_n = 0;
hand.state1 = "reg";
hand.pos = "left";
}
if (rifle_n >= 1) {
hand.pos = "shoot";
}
ply.txt.text = tnt;
bomb_num++;
var _local2 = this.attachMovie("ball2", "bmb4" + bomb_num, 29000 + bomb_num);
bomb_ar[bomb_num] = _local2;
pwr.aim.xx = {x:1, y:1};
pwr.aim.localToGlobal(pwr.aim.xx);
_local2._x = pwr.aim.xx.x;
_local2._y = pwr.aim.xx.y;
_local2._rotation = hand._rotation;
_local2.onEnterFrame = function () {
shoot_move(this);
};
}
function shoot_move(obj5) {
obj5.dx = Math.sin((Math.PI/180) * obj5._rotation);
obj5.dy = Math.cos((Math.PI/180) * obj5._rotation);
obj5._x = obj5._x - (obj5.dx * 12);
obj5._y = obj5._y + (obj5.dy * 12);
if (((obj5._y > 500) || (obj5._x < -40)) || (obj5._x > 650)) {
go33 = 1;
removeMovieClip(obj5);
hand.pos = "left";
}
i = 0;
while (i < s_ar.length) {
if ((s_ar[i].id > 0) && (obj5._visible != 0)) {
if (s_ar[i].hitTest(obj5._x, obj5._y, true) && (s_ar[i].walk > 0)) {
create_exp(s_ar[i], s_ar[i].kexp);
removeMovieClip(s_ar[i]);
removeMovieClip(sh_ar[i]);
obj5._visible = 0;
}
}
i++;
}
}
function create_exp(obj, type) {
kkkk = type;
if (type == null) {
type = "expl";
}
exp_num++;
var _local2 = this.attachMovie(type, "ggg_e" + exp_num, 28000 + exp_num);
exp_ar[exp_num] = _local2;
_local2._x = obj._x;
_local2._y = obj._y;
_local2._width = obj._width;
_local2._height = obj._height;
_local2.kind1 = kkkk;
_local2.onEnterFrame = function () {
exp_time(this);
};
}
function exp_time(obj) {
i = 0;
while (i < s_ar.length) {
if (((s_ar[i].id > 0) && ((obj.kind1 == "expl2") || (obj.kind1 == "exp_barrel"))) && (obj._currentframe < 8)) {
if (obj.hitTest(s_ar[i]._x, s_ar[i]._y, true) && (s_ar[i].kexp != "no")) {
create_exp(s_ar[i], s_ar[i].kexp);
removeMovieClip(s_ar[i]);
removeMovieClip(sh_ar[i]);
}
}
i++;
}
}
score_need = 0;
this.attachMovie("manof4", "hand", 20);
hand.pos = "right";
hand.speed1 = 7;
hand.speed = hand.speed1;
hand.state1 = "reg";
hand.pwr_up = 0;
hand.keys = keys;
hand.xxx = xxx;
hand.ropex = ropex;
if (rifle == "yes") {
rifle_n = 3;
hand.state1 = "rifle";
}
if (hand.ropex == 1) {
rope.gotoAndPlay(2);
}
this.attachMovie("manof_up", "manof2", 100300);
this.attachMovie("manof_pwr", "pwr", 100400);
hand.count = 0;
hand._x = 303;
hand._y = 85;
rope._x = 303;
rope._y = 85;
rope._visible = 0;
this.attachMovie("mask1", "mask2", 50);
mask2._x = 300;
mask2._y = 272;
rope.setMask(mask2);
score_need = 0;
ply.but.onRelease = function () {
if (((go33 == 1) && (hand.pos == "up")) && (tnt > 0)) {
shoot_bomb();
go33 = 0;
ply.man.gotoAndPlay(2);
}
};
ply.txt.text = tnt;
go33 = 1;
bomb_num = 0;
bomb_ar = new Array();
exp_num = 0;
var exp_ar = new Array();
function add_obs(obj, xx, yy, fr1) {
s_num++;
var _local2 = this.attachMovie(obj, "sstone" + s_num, (3000 + s_num) + (yy * 10));
_local2._x = xx;
_local2._y = yy;
_local2.id = s_num;
s_ar[s_num] = _local2;
if (obj != "bug2") {
var aaa = this.attachMovie("shadow1", "shddo" + s_num, (2200 + s_num) + (yy * 10));
sh_ar[s_num] = aaa;
aaa._y = (_local2._y + (_local2._height / 2)) - (_local2._height / 6);
aaa._x = xx;
aaa._width = _local2._width - (_local2._width / 6);
}
_local2.rotat = _local2._rotation;
if (obj == "gold_l") {
aaa._width = _local2._width - 40;
}
if (obj == "bag") {
aaa._width = _local2._width;
_local2.rndn = random(4 + luck);
_local2.rndo = random(5);
if (fr1 == null) {
if (_local2.rndo == 0) {
fr1 = "crane";
}
if (_local2.rndo == 1) {
fr1 = "laser";
}
if (_local2.rndo == 2) {
fr1 = "magav";
}
if (_local2.rndo == 3) {
fr1 = "knife";
}
if (_local2.rndo == 4) {
fr1 = "time";
}
trace("kind" + fr1);
}
if (_local2.rndn < 2) {
_local2.gold = random(350 * luck) + 100;
} else if (_local2.rndn >= 2) {
_local2.pwr_up = fr1;
_local2.gold = "no";
}
}
if (obj == "nuke") {
(_local2.gold = "no");
(_local2.pwr_up = "nuke11");
}
if (obj == "bear") {
if (xx < 300) {
_local2.pos = "right";
_local2._xscale = -100;
}
if (xx >= 300) {
_local2.pos = "left";
obj._xscale = 100;
}
_local2.onEnterFrame = function () {
anim(this, aaa);
};
}
if (obj == "bear2") {
if (xx < 300) {
_local2.pos = "right";
_local2._xscale = -100;
}
if (xx >= 300) {
_local2.pos = "left";
obj._xscale = 100;
}
_local2.onEnterFrame = function () {
anim(this, aaa);
};
}
if (obj == "digger") {
if (xx < 300) {
_local2.pos = "right";
_local2._xscale = -100;
}
if (xx >= 300) {
_local2.pos = "left";
obj._xscale = 100;
}
_local2.dig = "yes";
_local2.onEnterFrame = function () {
predator(this, aaa);
};
}
if (obj == "wolf") {
if (xx < 300) {
_local2.pos = "right";
_local2._xscale = -100;
}
if (xx >= 300) {
_local2.pos = "left";
obj._xscale = 100;
}
_local2.dig = "no";
_local2.onEnterFrame = function () {
predator(this, aaa);
};
}
if (obj == "bug2") {
if (spray == "yes") {
_local2._x = random(400) + 100;
_local2.walk = 0.2;
}
_local2.poxy = "up";
_local2._rotation = 90;
if (xx < 300) {
_local2.pos = "right";
}
if (xx >= 300) {
_local2.pos = "left";
_local2._rotation = -90;
}
_local2.onEnterFrame = function () {
bugs(this, yy, fr1);
};
_local2.swapDepths(2660 + s_num);
}
if ((((obj == "KEY") || (obj == "KEY3")) || (obj == "KEY4")) || (obj == "KEY5")) {
_local2.swapDepths(46400 + s_num);
}
}
function anim(obj, sh) {
if ((obj.pos == "right") && (pause1 != 1)) {
obj._x = obj._x + obj.walk;
sh._x = obj._x;
if (obj._x > 670) {
obj.pos = "left";
obj._xscale = 100;
}
}
if ((obj.pos == "left") && (pause1 != 1)) {
obj._xscale;
obj._x = obj._x - obj.walk;
sh._x = obj._x;
if (obj._x < -70) {
obj.pos = "right";
obj._xscale = -100;
}
}
}
function predator(obj, sh) {
if (obj.take <= 0) {
i = 0;
while (i < s_ar.length) {
if ((s_ar[i].walk <= 0) && (s_ar[i].speed > obj.maxt)) {
if ((((((((obj._x - (obj._width / 2)) < (s_ar[i]._x + (s_ar[i]._width / 2))) && ((obj._x + (obj._width / 2)) > (s_ar[i]._x - (s_ar[i]._width / 2)))) && ((obj._y - (obj._height / 2)) < s_ar[i]._y)) && ((obj._y + (obj._height / 2)) > s_ar[i]._y)) && (obj._x > -10)) && (obj._x < 600)) && (s_ar[i].id > 0)) {
if (obj.dig != "yes") {
obj.take = i;
trace(s_ar[i]);
s_ar[i]._x = s_ar[i]._x - 40;
sh_ar[i]._x = sh_ar[i]._x - 40;
s_ar[i].swapDepths((s_ar[i].id + obj._y) + 6000);
obj.walk = obj.takespeed;
}
if ((((((obj.dig == "yes") && (obj.pick != "yes")) && (s_ar[i].pick != "yes")) && (s_ar[i].kexp != "no")) && ((obj._x - 35) < (s_ar[i]._x + (s_ar[i]._width / 2)))) && ((obj._x + 35) > (s_ar[i]._x - (s_ar[i]._width / 2)))) {
trace("digdig");
create_exp(s_ar[i], s_ar[i].kexp);
removeMovieClip(s_ar[i]);
removeMovieClip(sh_ar[i]);
}
}
}
i++;
}
}
if ((obj.pos == "right") && (pause1 != 1)) {
obj._x = obj._x + obj.walk;
sh._x = obj._x;
if (obj._x > 670) {
obj.walk = obj.regspeed;
obj.pos = "left";
sh_ar[obj.id]._y = sh_ar[obj.id]._y - 5;
obj._y = obj._y - 5;
obj.swapDepths((3000 + obj.id) + (obj._y * 10));
obj._xscale = 100;
obj.take = -1;
}
}
if ((obj.pos == "left") && (pause1 != 1)) {
obj._xscale;
obj._x = obj._x - obj.walk;
sh._x = obj._x;
if (obj._x < -70) {
obj.walk = obj.regspeed;
obj.pos = "right";
sh_ar[obj.id]._y = sh_ar[obj.id]._y - 5;
obj._y = obj._y - 5;
obj.swapDepths((3000 + obj.id) + (obj._y * 10));
obj._xscale = -100;
obj.take = -1;
}
}
if ((obj.take > 0) && (obj._visible != 0)) {
obj.aim.xx = {x:1, y:1};
obj.aim.localToGlobal(obj.aim.xx);
vvv._x = obj.aim.xx.x;
s_ar[obj.take]._y = obj.aim.xx.y;
s_ar[obj.take]._x = obj.aim.xx.x - (((sh_ar[obj.take]._width / 2) * obj._xscale) / 100);
sh_ar[obj.take]._x = obj.aim.xx.x - (((sh_ar[obj.take]._width / 2) * obj._xscale) / 100);
sh_ar[obj.take]._y = (s_ar[obj.take]._y + (s_ar[obj.take]._height / 2)) - (s_ar[obj.take]._height / 6);
sh_ar[obj.take]._visible = 0;
}
if ((obj.take > 0) && (obj._visible == 0)) {
sh_ar[obj.take]._visible = 1;
s_ar[obj.take]._visible = 1;
}
}
function bugs(obj, yyy, gf) {
obj.ggf1 = gf;
obj.dx = Math.sin((Math.PI/180) * obj._rotation);
obj.dy = Math.cos((Math.PI/180) * obj._rotation);
if (spray == "yes") {
obj.walk = 0.2;
}
obj._x = obj._x + (obj.dx * obj.walk);
obj._y = obj._y - (obj.dy * obj.walk);
if ((obj.pos == "right") && (pause1 != 1)) {
if (obj.poxy == "up") {
if (obj._rotation < 135) {
obj._rotation = obj._rotation + 2;
}
if (obj._y > (yyy + 40)) {
obj.poxy = "down";
}
}
if (obj.poxy == "down") {
if (obj._rotation > 45) {
obj._rotation = obj._rotation - 2;
}
if (obj._y < (yyy - 40)) {
obj.poxy = "up";
}
}
if (obj._x > 650) {
obj.pos = "left";
obj._rotation = -90;
}
}
if ((obj.pos == "left") && (pause1 != 1)) {
if (obj.poxy == "up") {
if (obj._rotation < -45) {
obj._rotation = obj._rotation + 2;
}
if (obj._y < (yyy - 40)) {
obj.poxy = "down";
}
}
if (obj.poxy == "down") {
if (obj._rotation > -135) {
obj._rotation = obj._rotation - 2;
}
if (obj._y > (yyy + 40)) {
obj.poxy = "up";
}
}
if (obj._x < -60) {
obj.pos = "right";
obj._rotation = 90;
}
}
}
s_num = 0;
s_ar = new Array();
sh_ar = new Array();
level_rnd = random(3);
if ((level == 1) && (level_rnd == 0)) {
add_obs("gold_s", 356, 274);
add_obs("gold_s", 108, 244);
add_obs("gold_s", 477, 258);
add_obs("gold_s", 129, 336);
add_obs("gold_m", 537, 398);
add_obs("gold_m", 160, 421);
add_obs("rock_s", 537, 205);
add_obs("rock_s", 324, 219);
add_obs("rock_s", 146, 190);
add_obs("rock_m", 196, 273);
add_obs("gold_s", 51, 300);
add_obs("bag", 287, 301, "magav");
add_obs("bag", 66, 387);
add_obs("gold_s", 257, 372);
add_obs("rock_s", 511, 320);
add_obs("rock_s", 163, 372);
add_obs("rock_s", 440, 192);
add_obs("rock_m", 405, 332);
}
if ((level == 1) && (level_rnd == 1)) {
add_obs("gold_s", 385, 202);
add_obs("gold_s", 204, 196);
add_obs("gold_s", 477, 258);
add_obs("gold_s", 129, 336);
add_obs("gold_l", 507, 407);
add_obs("rock_m", 195, 398);
add_obs("rock_s", 333, 237);
add_obs("rock_s", 248, 230);
add_obs("rock_s", 152, 244);
add_obs("rock_m", 202, 296);
add_obs("gold_s", 109, 279);
add_obs("bag", 545, 237, "magav");
add_obs("bag", 72, 417);
add_obs("gold_s", 295, 265);
add_obs("rock_s", 422, 236);
add_obs("rock_s", 248, 357);
add_obs("rock_s", 454, 366);
add_obs("rock_m", 525, 305);
add_obs("gold_s", 393, 313);
add_obs("gold_s", 313, 338);
}
if ((level == 1) && (level_rnd == 2)) {
add_obs("gold_s", 385, 202);
add_obs("gold_s", 167, 193);
add_obs("gold_s", 509, 244);
add_obs("gold_s", 120, 387);
add_obs("gold_m", 541, 380);
add_obs("gold_m", 51, 343);
add_obs("rock_s", 323, 226);
add_obs("rock_s", 224, 227);
add_obs("rock_s", 90, 222);
add_obs("rock_m", 441, 304);
add_obs("gold_s", 30, 273);
add_obs("bag", 223, 304, "magav");
add_obs("bag", 335, 383);
add_obs("gold_s", 352, 326);
add_obs("rock_s", 453, 220);
add_obs("rock_s", 87, 282);
add_obs("rock_s", 524, 313);
add_obs("rock_m", 264, 398);
add_obs("gold_s", 441, 383);
add_obs("gold_s", 156, 318);
}
if ((level == 2) && (level_rnd == 0)) {
add_obs("rock_l", 477, 268);
add_obs("gold_m", 95, 353);
add_obs("gold_s", 352, 282);
add_obs("gold_s", 216, 323);
add_obs("gold_s", 73, 214);
add_obs("gold_s", 512, 419);
add_obs("tres", 314, 366);
add_obs("gold_m", 406, 394);
add_obs("rock_m", 146, 253);
add_obs("rock_s", 266, 257);
add_obs("rock_s", 362, 208);
add_obs("bag", 159, 408);
add_obs("bag", 569, 281, "knife");
add_obs("gold_s", 507, 350);
add_obs("gold_s", 249, 414);
add_obs("rock_s", 49, 278);
add_obs("rock_s", 394, 332);
}
if ((level == 2) && (level_rnd == 1)) {
add_obs("rock_l", 161, 256);
add_obs("gold_m", 52, 409);
add_obs("gold_s", 350, 199);
add_obs("gold_s", 439, 249);
add_obs("gold_s", 73, 214);
add_obs("gold_s", 406, 394);
add_obs("tres", 172, 428);
add_obs("rock_m", 479, 335);
add_obs("rock_s", 518, 236);
add_obs("rock_s", 270, 344);
add_obs("bag", 79, 343);
add_obs("bag", 267, 263, "knife");
add_obs("gold_s", 378, 300);
add_obs("gold_s", 297, 412);
add_obs("rock_s", 49, 278);
add_obs("rock_s", 558, 343);
add_obs("gold_l", 532, 418);
}
if ((level == 2) && (level_rnd == 2)) {
add_obs("rock_l", 149, 282);
add_obs("gold_m", 122, 374);
add_obs("gold_s", 350, 199);
add_obs("gold_s", 449, 250);
add_obs("gold_s", 55, 202);
add_obs("gold_s", 568, 256);
add_obs("rock_m", 482, 337);
add_obs("rock_s", 332, 258);
add_obs("rock_s", 270, 344);
add_obs("bag", 62, 276, "knife");
add_obs("bag", 566, 333);
add_obs("gold_s", 562, 414);
add_obs("gold_s", 203, 352);
add_obs("rock_s", 36, 371);
add_obs("rock_s", 385, 254);
add_obs("gold_l", 371, 353);
add_obs("gem", 483, 412);
}
if ((level == 3) && (level_rnd == 0)) {
add_obs("rock_s", 117, 307);
add_obs("rock_s", 519, 255);
add_obs("rock_s", 427, 281);
add_obs("rock_s", 187, 255);
add_obs("rock_m", 316, 271);
add_obs("gold_m", 524, 372);
add_obs("gold_m", 68, 398);
add_obs("bag", 159, 378);
add_obs("bear", 0, 298);
add_obs("bear", 587, 331);
add_obs("bear", 431, 345);
add_obs("gem", 260, 392);
add_obs("gold_l", 379, 408);
add_obs("gold_s", 249, 249);
add_obs("gold_s", 478, 266);
}
if ((level == 3) && (level_rnd == 1)) {
add_obs("rock_s", 121, 192);
add_obs("rock_s", 539, 282);
add_obs("rock_s", 458, 338);
add_obs("rock_s", 216, 276);
add_obs("rock_m", 336, 238);
add_obs("gold_m", 445, 415);
add_obs("gold_m", 194, 412);
add_obs("bag", 371, 353);
add_obs("bear", 554, 220);
add_obs("bear", 27, 235);
add_obs("gem", 56, 361);
add_obs("gold_l", 55, 300);
add_obs("gold_s", 264, 333);
add_obs("gold_s", 529, 346);
}
if ((level == 3) && (level_rnd == 2)) {
add_obs("rock_s", 23, 288);
add_obs("rock_s", 494, 294);
add_obs("rock_s", 361, 281);
add_obs("rock_s", 216, 276);
add_obs("rock_m", 94, 288);
add_obs("gold_m", 342, 379);
add_obs("gold_m", 301, 384);
add_obs("bag", 165, 279);
add_obs("bear", 579, 250);
add_obs("bear", 5, 212);
add_obs("gem", 319, 430);
add_obs("gold_l", 69, 395);
add_obs("gold_s", 284, 280);
add_obs("gold_s", 427, 291);
}
if ((level == 4) && (level_rnd == 0)) {
add_obs("gold_l", 467, 385);
add_obs("gold_m", 103, 366);
add_obs("rock_s", 483, 251);
add_obs("rock_s", 373, 270);
add_obs("rock_l", 240, 265);
add_obs("gold_s", 99, 234);
add_obs("gold_s", 320, 268);
add_obs("gold_s", 434, 260);
add_obs("bag", 560, 365);
add_obs("bag", 187, 393);
add_obs("bear", 562, 308);
add_obs("tres", 336, 396);
add_obs("rock_m", 129, 280);
add_obs("rock_m", 300, 338);
}
if ((level == 4) && (level_rnd == 1)) {
add_obs("gold_l", 206, 400);
add_obs("gold_m", 456, 356);
add_obs("rock_s", 483, 251);
add_obs("rock_s", 114, 282);
add_obs("rock_l", 373, 281);
add_obs("gold_s", 164, 262);
add_obs("gold_s", 326, 208);
add_obs("gold_s", 443, 210);
add_obs("bag", 299, 351);
add_obs("bag", 548, 246);
add_obs("bear", 558, 316);
add_obs("tres", 43, 419);
add_obs("rock_m", 238, 263);
add_obs("rock_m", 44, 339);
}
if ((level == 4) && (level_rnd == 2)) {
add_obs("gold_m", 176, 295);
add_obs("gold_m", 176, 295);
add_obs("rock_s", 511, 247);
add_obs("rock_s", 119, 254);
add_obs("rock_l", 411, 350);
add_obs("gold_s", 293, 226);
add_obs("gold_s", 345, 230);
add_obs("gold_s", 443, 210);
add_obs("bag", 122, 306);
add_obs("bag", 318, 296);
add_obs("bear", 569, 368);
add_obs("tres", 423, 419);
add_obs("rock_m", 238, 263);
add_obs("rock_m", 63, 304);
add_obs("gold_m", 81, 411);
add_obs("gold_m", 133, 412);
}
if ((level == 5) && (level_rnd == 0)) {
add_obs("block", 169, 97);
add_obs("gold_m", 83, 348);
add_obs("gold_m", 349, 416);
add_obs("gold_s", 164, 319);
add_obs("bug2", 595, 371, 2);
add_obs("gold_s", 396, 258);
add_obs("gold_s", 226, 246);
add_obs("abc_u", 516, 272);
add_obs("gold_s", 479, 346);
add_obs("wolf", 0, 356);
add_obs("rock_s", 155, 242);
add_obs("rock_m", 471, 224);
add_obs("rock_s", 314, 212);
add_obs("nuke", 342, 303);
add_obs("bear", 589, 341);
add_obs("gold_l", 110, 414);
add_obs("rock_s", 206, 345);
add_obs("bag", 408, 330);
add_obs("bag", 57, 266);
add_obs("rock_s", 65, 200);
}
if ((level == 5) && (level_rnd == 1)) {
add_obs("block", 372, 98);
add_obs("gold_m", 503, 205);
add_obs("gold_m", 101, 393);
add_obs("gold_s", 137, 318);
add_obs("bug2", 4, 407, 2);
add_obs("abc_u", 396, 258);
add_obs("gold_s", 226, 246);
add_obs("gold_s", 516, 272);
add_obs("gold_s", 479, 346);
add_obs("wolf", 567, 445);
add_obs("nuke", 43, 311);
add_obs("rock_m", 282, 283);
add_obs("rock_s", 430, 309);
add_obs("gold_s", 342, 303);
add_obs("bear", 19, 284);
add_obs("gold_l", 466, 417);
add_obs("rock_s", 206, 345);
add_obs("bag", 260, 421);
add_obs("bag", 177, 273);
add_obs("rock_s", 123, 242);
}
if ((level == 5) && (level_rnd == 2)) {
add_obs("block", 367, 98);
add_obs("gold_m", 249, 252);
add_obs("nuke", 337, 200);
add_obs("gold_s", 137, 318);
add_obs("bug2", 582, 262, 2);
add_obs("gold_s", 396, 258);
add_obs("gold_s", 176, 265);
add_obs("gold_s", 512, 270);
add_obs("gold_s", 479, 346);
add_obs("wolf", 573, 212);
add_obs("abc_u", 163, 421);
add_obs("rock_m", 329, 324);
add_obs("rock_s", 314, 381);
add_obs("gold_s", 313, 436);
add_obs("bear", 0, 380);
add_obs("gold_l", 387, 401);
add_obs("rock_s", 251, 335);
add_obs("bag", 92, 399);
add_obs("bag", 124, 231);
add_obs("rock_s", 64, 324);
}
if ((level == 6) && (level_rnd == 0)) {
add_obs("rock_x", 303, 239);
add_obs("gold_s", 357, 337);
add_obs("gold_m", 251, 345);
add_obs("gold_m", 317, 389);
add_obs("tres", 505, 380);
add_obs("rock_s", 445, 213);
add_obs("barrel", 462, 321);
add_obs("rock_s", 401, 340);
add_obs("bag", 73, 256);
add_obs("gold_s", 145, 255);
add_obs("gold_s", 108, 197);
add_obs("gold_s", 35, 187);
add_obs("gold_m", 84, 396);
add_obs("rock_s", 154, 349);
add_obs("rock_s", 74, 310);
add_obs("wolf", 3, 397);
}
if ((level == 6) && (level_rnd == 1)) {
add_obs("rock_x", 372, 321);
add_obs("gold_s", 104, 313);
add_obs("gold_m", 325, 424);
add_obs("gold_m", 396, 428);
add_obs("rock_s", 445, 213);
add_obs("barrel", 518, 384);
add_obs("rock_s", 90, 199);
add_obs("bag", 476, 287);
add_obs("gold_s", 267, 288);
add_obs("gold_s", 94, 402);
add_obs("gold_s", 35, 187);
add_obs("gold_m", 198, 345);
add_obs("rock_s", 182, 233);
add_obs("rock_s", 45, 310);
add_obs("wolf", 553, 245);
add_obs("gem", 529, 424);
}
if ((level == 6) && (level_rnd == 2)) {
add_obs("rock_x", 409, 341);
add_obs("gold_s", 104, 313);
add_obs("gold_m", 387, 430);
add_obs("rock_s", 533, 370);
add_obs("barrel", 128, 358);
add_obs("rock_s", 71, 255);
add_obs("bag", 236, 367);
add_obs("gold_s", 267, 288);
add_obs("gold_s", 324, 216);
add_obs("gold_s", 40, 342);
add_obs("rock_s", 182, 233);
add_obs("rock_s", 90, 431);
add_obs("wolf", 553, 245);
add_obs("gem", 160, 398);
add_obs("gem", 309, 397);
add_obs("bag", 456, 239);
add_obs("gold_s", 563, 430);
}
if ((level == 7) && (level_rnd == 0)) {
add_obs("gem", 542, 392);
add_obs("gem", 98, 429);
add_obs("gold_s", 505, 236);
add_obs("rock_m", 471, 291);
add_obs("rock_m", 349, 237);
add_obs("gold_s", 420, 237);
add_obs("gold_s", 227, 272);
add_obs("gold_s", 67, 232);
add_obs("gold_s", 146, 269);
add_obs("bug2", 589, 403, 2);
add_obs("bug2", 0, 394, 2);
add_obs("bear", 599, 317);
add_obs("bear", 3, 351);
add_obs("wolf", 602, 392);
add_obs("rock_s", 365, 360);
add_obs("rock_s", 158, 360);
add_obs("rock_l", 273, 363);
add_obs("barrel", 213, 385);
add_obs("gem", 244, 425);
add_obs("bag", 442, 368);
add_obs("bag", 95, 310);
}
if ((level == 7) && (level_rnd == 1)) {
add_obs("gem", 364, 394);
add_obs("gold_s", 155, 426);
add_obs("rock_m", 141, 209);
add_obs("rock_m", 531, 245);
add_obs("gold_s", 391, 221);
add_obs("gold_s", 475, 216);
add_obs("gold_s", 67, 232);
add_obs("gold_s", 146, 269);
add_obs("bug2", 589, 403, 2);
add_obs("bug2", 1, 298, 2);
add_obs("bear", 598, 283);
add_obs("wolf", 602, 392);
add_obs("rock_s", 302, 260);
add_obs("rock_s", 158, 360);
add_obs("rock_l", 409, 337);
add_obs("barrel", 479, 385);
add_obs("gem", 517, 419);
add_obs("bag", 71, 284);
add_obs("bag", 535, 303);
add_obs("gold_m", 76, 361);
add_obs("rock_s", 238, 321);
add_obs("rock_s", 296, 378);
}
if ((level == 7) && (level_rnd == 2)) {
add_obs("gem", 373, 418);
add_obs("gold_s", 61, 416);
add_obs("rock_m", 36, 206);
add_obs("rock_m", 400, 221);
add_obs("gold_s", 503, 199);
add_obs("gold_s", 556, 212);
add_obs("gold_s", 112, 213);
add_obs("gold_s", 146, 269);
add_obs("bug2", 598, 336, 2);
add_obs("bug2", 7, 354, 2);
add_obs("bear", 582, 373);
add_obs("wolf", 601, 307);
add_obs("rock_s", 222, 207);
add_obs("rock_s", 158, 360);
add_obs("rock_l", 369, 335);
add_obs("barrel", 120, 334);
add_obs("gem", 115, 377);
add_obs("bag", 71, 284);
add_obs("bag", 472, 351);
add_obs("gold_m", 549, 315);
add_obs("rock_s", 329, 408);
add_obs("rock_s", 266, 273);
}
if ((level == 8) && (level_rnd == 0)) {
add_obs("block", 164, 99);
add_obs("rock_s", 564, 306);
add_obs("rock_s", 503, 306);
add_obs("rock_s", 402, 304);
add_obs("rock_s", 347, 304);
add_obs("rock_s", 250, 304);
add_obs("rock_s", 198, 303);
add_obs("rock_s", 107, 302);
add_obs("rock_s", 59, 300);
add_obs("gold_s", 153, 299);
add_obs("gold_s", 305, 301);
add_obs("gold_s", 453, 302);
add_obs("rock_m", 526, 359);
add_obs("rock_m", 440, 359);
add_obs("rock_m", 357, 359);
add_obs("rock_m", 271, 352);
add_obs("rock_m", 183, 354);
add_obs("rock_m", 109, 354);
add_obs("rock_m", 21, 352);
add_obs("gem", 526, 426);
add_obs("gem", 443, 418);
add_obs("gem", 348, 413);
add_obs("gem", 151, 417);
add_obs("gem", 58, 415);
add_obs("barrel", 231, 417);
add_obs("wolf", 610, 421);
add_obs("bug2", 0, 417, 3);
add_obs("bag", 481, 267);
add_obs("bag", 87, 263, "magav");
add_obs("gold_s", 486, 357);
add_obs("gold_s", 66, 351);
}
if ((level == 8) && (level_rnd == 1)) {
add_obs("block", 164, 99);
add_obs("rock_s", 564, 306);
add_obs("rock_s", 503, 306);
add_obs("rock_s", 402, 304);
add_obs("rock_s", 347, 304);
add_obs("rock_s", 296, 305);
add_obs("rock_s", 198, 303);
add_obs("rock_s", 107, 302);
add_obs("rock_s", 59, 300);
add_obs("gold_s", 153, 299);
add_obs("gold_s", 250, 300);
add_obs("gold_s", 453, 302);
add_obs("rock_m", 526, 359);
add_obs("rock_m", 271, 352);
add_obs("rock_m", 183, 354);
add_obs("rock_m", 109, 354);
add_obs("rock_m", 21, 352);
add_obs("gem", 526, 426);
add_obs("gem", 224, 416);
add_obs("gem", 442, 423);
add_obs("gem", 151, 417);
add_obs("gem", 65, 416);
add_obs("barrel", 279, 416);
add_obs("wolf", 0, 422);
add_obs("bug2", 585, 426, 3);
add_obs("bag", 234, 253);
add_obs("bag", 361, 253, "magav");
add_obs("gold_s", 476, 359);
add_obs("gold_s", 66, 351);
add_obs("rock_l", 400, 377);
}
if ((level == 8) && (level_rnd == 2)) {
add_obs("block", 164, 99);
add_obs("rock_s", 402, 304);
add_obs("rock_s", 347, 304);
add_obs("rock_s", 296, 305);
add_obs("rock_s", 198, 303);
add_obs("rock_s", 107, 302);
add_obs("rock_s", 558, 284);
add_obs("gold_s", 153, 299);
add_obs("gold_s", 250, 300);
add_obs("gold_s", 453, 302);
add_obs("rock_m", 277, 364);
add_obs("rock_m", 190, 358);
add_obs("rock_m", 109, 354);
add_obs("rock_m", 21, 352);
add_obs("gem", 533, 417);
add_obs("gem", 168, 408);
add_obs("gem", 442, 423);
add_obs("gem", 274, 411);
add_obs("gem", 97, 410);
add_obs("barrel", 532, 377);
add_obs("wolf", 0, 422);
add_obs("bug2", 589, 424, 3);
add_obs("bag", 104, 248, "magav");
add_obs("bag", 361, 253);
add_obs("gold_s", 476, 359);
add_obs("gold_s", 66, 351);
add_obs("rock_l", 400, 377);
add_obs("rock_s", 40, 299);
}
if ((level == 9) && (level_rnd == 0)) {
add_obs("block", 170, 96);
add_obs("block", 373, 98);
add_obs("rock_m", 487, 239);
add_obs("rock_s", 424, 270);
add_obs("rock_s", 415, 317);
add_obs("gem", 486, 301);
add_obs("gold_m", 537, 333);
add_obs("gold_l", 208, 401);
add_obs("rock_s", 142, 355);
add_obs("rock_m", 95, 303);
add_obs("barrel", 473, 363);
add_obs("tres", 70, 397);
add_obs("rock_s", 167, 295);
add_obs("gold_s", 184, 200);
add_obs("gold_s", 261, 259);
add_obs("gold_s", 429, 187);
add_obs("gold_s", 377, 247);
add_obs("gem", 130, 405);
}
if ((level == 9) && (level_rnd == 1)) {
add_obs("block", 170, 96);
add_obs("block", 373, 98);
add_obs("rock_m", 489, 228);
add_obs("rock_s", 485, 309);
add_obs("rock_s", 303, 298);
add_obs("gem", 466, 370);
add_obs("gold_m", 537, 333);
add_obs("gold_l", 208, 401);
add_obs("rock_s", 152, 339);
add_obs("rock_m", 95, 303);
add_obs("barrel", 425, 418);
add_obs("tres", 94, 379);
add_obs("rock_s", 206, 285);
add_obs("gold_s", 262, 243);
add_obs("gold_s", 159, 257);
add_obs("gold_s", 430, 227);
add_obs("gold_s", 378, 302);
add_obs("gem", 130, 405);
add_obs("bag", 345, 351);
add_obs("rock_m", 431, 310);
}
if ((level == 9) && (level_rnd == 2)) {
add_obs("block", 170, 96);
add_obs("block", 373, 98);
add_obs("rock_m", 489, 228);
add_obs("rock_s", 518, 284);
add_obs("rock_s", 362, 337);
add_obs("gem", 194, 372);
add_obs("gold_m", 303, 260);
add_obs("gold_l", 514, 384);
add_obs("rock_s", 116, 313);
add_obs("rock_m", 430, 304);
add_obs("barrel", 235, 419);
add_obs("tres", 438, 375);
add_obs("rock_s", 234, 278);
add_obs("gold_s", 214, 323);
add_obs("gold_s", 144, 257);
add_obs("gold_s", 430, 237);
add_obs("gold_s", 378, 280);
add_obs("gem", 87, 359);
add_obs("bag", 168, 317);
add_obs("rock_m", 279, 327);
}
if ((level == 10) && (level_rnd == 0)) {
add_obs("gold_x", 104, 336);
add_obs("bag", 176, 216, "crane");
add_obs("bag", 436, 219);
add_obs("gold_x", 518, 316);
add_obs("rock_s", 98, 252);
add_obs("gold_l", 101, 431);
add_obs("gold_l", 495, 422);
add_obs("rock_x", 241, 316);
add_obs("rock_x", 410, 315);
add_obs("barrel", 323, 339);
add_obs("rock_s", 322, 239);
add_obs("gold_s", 218, 407);
add_obs("abc_u", 418, 412);
add_obs("bug2", 603, 379, 3);
add_obs("wolf", 636, 447);
add_obs("bear", 586, 233);
add_obs("bear", 11, 201);
add_obs("nuke", 382, 241);
add_obs("gem", 348, 379);
}
if ((level == 10) && (level_rnd == 1)) {
add_obs("gold_x", 104, 336);
add_obs("bag", 71, 229, "crane");
add_obs("bag", 582, 276);
add_obs("gold_x", 518, 316);
add_obs("rock_s", 40, 269);
add_obs("gold_l", 153, 424);
add_obs("gold_l", 368, 427);
add_obs("rock_x", 241, 316);
add_obs("rock_x", 410, 315);
add_obs("barrel", 323, 339);
add_obs("rock_s", 270, 394);
add_obs("abc_u", 218, 407);
add_obs("gold_s", 277, 433);
add_obs("bug2", 0, 396, 3);
add_obs("wolf", 636, 447);
add_obs("bear", 586, 233);
add_obs("bear", 11, 201);
add_obs("nuke", 382, 241);
add_obs("gem", 301, 379);
}
if ((level == 10) && (level_rnd == 2)) {
add_obs("gold_x", 80, 353);
add_obs("bag", 71, 229, "crane");
add_obs("bag", 572, 309);
add_obs("gold_x", 528, 372);
add_obs("rock_s", 40, 269);
add_obs("gold_l", 153, 424);
add_obs("gold_l", 457, 431);
add_obs("rock_x", 241, 316);
add_obs("rock_x", 410, 315);
add_obs("barrel", 323, 339);
add_obs("rock_s", 270, 394);
add_obs("nuke", 218, 407);
add_obs("gold_s", 277, 433);
add_obs("bug2", 157, 349, 4);
add_obs("wolf", 636, 447);
add_obs("abc_u", 500, 248);
add_obs("bear", 23, 192);
add_obs("bear", 310, 215);
add_obs("gem", 301, 379);
}
if ((level == 11) && (level_rnd == 0)) {
add_obs("block", 180, 98);
add_obs("gold_x", 480, 366);
add_obs("gold_l", 106, 333);
add_obs("bear2", 8, 406);
add_obs("bear2", 587, 281);
add_obs("rock_l", 128, 233);
add_obs("rock_m", 464, 217);
add_obs("rock_s", 360, 241);
add_obs("gem", 379, 438);
add_obs("gem", 55, 286);
add_obs("rock_m", 264, 263);
add_obs("gold_l", 364, 339);
add_obs("gold_s", 430, 273);
add_obs("gold_s", 201, 277);
add_obs("gold_s", 558, 189);
add_obs("bear", 600, 230);
add_obs("bug2", 597, 351, 4);
add_obs("bag", 192, 383);
add_obs("bag", 567, 408);
add_obs("bag", 309, 211);
}
if ((level == 11) && (level_rnd == 1)) {
add_obs("block", 180, 98);
add_obs("gold_x", 173, 348);
add_obs("gold_l", 339, 378);
add_obs("bear2", 591, 420);
add_obs("bear2", 587, 281);
add_obs("rock_l", 468, 219);
add_obs("rock_m", 173, 208);
add_obs("rock_s", 360, 241);
add_obs("gem", 577, 332);
add_obs("gem", 55, 286);
add_obs("rock_m", 85, 212);
add_obs("gold_l", 506, 323);
add_obs("gold_s", 430, 273);
add_obs("gold_s", 201, 277);
add_obs("gold_s", 558, 189);
add_obs("bear", 600, 230);
add_obs("bug2", 16, 341, 4);
add_obs("bag", 387, 277);
add_obs("bag", 309, 268);
}
if ((level == 11) && (level_rnd == 2)) {
add_obs("block", 180, 98);
add_obs("gold_x", 118, 361);
add_obs("gold_l", 350, 387);
add_obs("bear2", 591, 420);
add_obs("bear2", 587, 281);
add_obs("rock_l", 444, 215);
add_obs("rock_m", 173, 208);
add_obs("rock_s", 306, 214);
add_obs("gem", 577, 332);
add_obs("gem", 55, 286);
add_obs("rock_m", 85, 212);
add_obs("gold_l", 506, 401);
add_obs("gold_s", 434, 318);
add_obs("gold_s", 201, 277);
add_obs("gold_s", 558, 189);
add_obs("bear", 3, 228);
add_obs("bag", 515, 270);
add_obs("bag", 267, 332);
add_obs("bug2", 9, 340, 4);
}
if ((level == 12) && (level_rnd == 0)) {
add_obs("bug2", 579, 377, 5);
add_obs("bug2", 8, 395, 5);
add_obs("gold_s", 447, 326);
add_obs("gold_s", 390, 349);
add_obs("gold_s", 338, 322);
add_obs("gold_s", 277, 352);
add_obs("gold_s", 232, 320);
add_obs("gold_s", 186, 351);
add_obs("tres", 101, 398);
add_obs("tres", 510, 402);
add_obs("gold_l", 401, 416);
add_obs("gold_m", 216, 415);
add_obs("rock_s", 73, 260);
add_obs("rock_s", 544, 240);
add_obs("rock_m", 442, 214);
add_obs("rock_m", 115, 200);
add_obs("wolf", 610, 403);
add_obs("bag", 496, 284);
add_obs("bag", 159, 258);
add_obs("rock_s", 334, 222);
add_obs("rock_s", 237, 222);
add_obs("gem", 306, 324);
}
if ((level == 12) && (level_rnd == 1)) {
add_obs("bug2", 441, 364, 5);
add_obs("bug2", 580, 418, 5);
add_obs("gold_s", 447, 326);
add_obs("gold_s", 390, 349);
add_obs("gold_s", 338, 322);
add_obs("gold_s", 277, 352);
add_obs("gold_s", 232, 320);
add_obs("gold_s", 186, 351);
add_obs("tres", 277, 417);
add_obs("tres", 429, 430);
add_obs("gold_l", 119, 398);
add_obs("gold_m", 552, 440);
add_obs("rock_s", 55, 270);
add_obs("rock_s", 534, 213);
add_obs("rock_m", 418, 265);
add_obs("rock_m", 115, 200);
add_obs("wolf", 3, 424);
add_obs("bag", 482, 240);
add_obs("bag", 155, 282);
add_obs("rock_s", 334, 222);
add_obs("rock_s", 237, 222);
add_obs("gem", 258, 310);
}
if ((level == 12) && (level_rnd == 2)) {
add_obs("bug2", 10, 335, 5);
add_obs("bug2", 108, 330, 5);
add_obs("gold_s", 447, 326);
add_obs("gold_s", 390, 349);
add_obs("gold_s", 338, 322);
add_obs("gold_s", 277, 352);
add_obs("gold_s", 232, 320);
add_obs("gold_s", 186, 351);
add_obs("tres", 358, 436);
add_obs("tres", 428, 405);
add_obs("gold_l", 218, 428);
add_obs("gold_m", 60, 410);
add_obs("rock_s", 183, 211);
add_obs("rock_s", 496, 255);
add_obs("rock_m", 298, 255);
add_obs("rock_m", 66, 249);
add_obs("wolf", 574, 399);
add_obs("bag", 575, 219);
add_obs("bag", 131, 274);
add_obs("rock_s", 407, 252);
add_obs("rock_s", 237, 222);
add_obs("gem", 376, 308);
}
if ((level == 13) && (level_rnd == 0)) {
add_obs("silver_s", 438, 305);
add_obs("silver_s", 140, 278);
add_obs("rock_s", 135, 226);
add_obs("rock_m", 434, 247);
add_obs("silver_m", 530, 376);
add_obs("gold_l", 96, 366);
add_obs("gold_m", 232, 335);
add_obs("gold_m", 440, 370);
add_obs("gold_m", 335, 278);
add_obs("bag", 506, 290);
add_obs("bag", 61, 280);
add_obs("rock_s", 544, 215);
add_obs("barrel", 170, 362);
add_obs("rock_m", 204, 393);
add_obs("gem", 148, 447);
add_obs("gold_m", 342, 386);
add_obs("tres", 408, 427);
add_obs("gem", 100, 294);
add_obs("block", 172, 98);
add_obs("block", 366, 97);
}
if ((level == 13) && (level_rnd == 1)) {
add_obs("silver_s", 438, 305);
add_obs("silver_s", 140, 278);
add_obs("rock_s", 135, 226);
add_obs("rock_m", 434, 247);
add_obs("silver_m", 538, 332);
add_obs("gold_l", 157, 337);
add_obs("gold_m", 257, 255);
add_obs("gold_m", 440, 370);
add_obs("gold_m", 335, 278);
add_obs("bag", 495, 251);
add_obs("bag", 61, 280);
add_obs("rock_s", 544, 215);
add_obs("barrel", 277, 335);
add_obs("rock_m", 271, 388);
add_obs("gem", 273, 437);
add_obs("gold_m", 342, 386);
add_obs("tres", 84, 437);
add_obs("gem", 100, 294);
add_obs("block", 172, 98);
add_obs("block", 366, 97);
add_obs("bear", 577, 269);
add_obs("bear", 9, 370);
}
if ((level == 13) && (level_rnd == 2)) {
add_obs("silver_s", 438, 305);
add_obs("silver_s", 140, 278);
add_obs("rock_s", 135, 226);
add_obs("rock_m", 434, 247);
add_obs("silver_m", 538, 332);
add_obs("gold_l", 157, 337);
add_obs("gold_m", 257, 255);
add_obs("gold_m", 440, 370);
add_obs("gold_m", 335, 278);
add_obs("bag", 495, 251);
add_obs("bag", 61, 280);
add_obs("rock_s", 544, 215);
add_obs("barrel", 277, 335);
add_obs("rock_m", 271, 388);
add_obs("gem", 273, 437);
add_obs("gold_m", 342, 386);
add_obs("tres", 84, 437);
add_obs("gem", 100, 294);
add_obs("block", 172, 98);
add_obs("block", 366, 97);
add_obs("bear", 577, 269);
add_obs("bear", 9, 370);
}
if ((level == 14) && (level_rnd == 0)) {
add_obs("silver_m", 491, 324);
add_obs("wolf", 570, 342);
add_obs("silver_m", 85, 314);
add_obs("rock_s", 152, 226);
add_obs("gold_x", 379, 398);
add_obs("wolf", 5, 314);
add_obs("bear2", 585, 433);
add_obs("bug2", 22, 398, 4);
add_obs("block", 165, 93);
add_obs("bag", 215, 362, "crane");
add_obs("bag", 529, 216);
add_obs("gold_m", 466, 212);
add_obs("gold_m", 324, 241);
add_obs("gold_m", 198, 285);
add_obs("rock_s", 251, 255);
add_obs("rock_m", 384, 222);
add_obs("barrel", 269, 340);
add_obs("gem", 75, 212);
add_obs("gold_s", 113, 186);
add_obs("gold_s", 97, 249);
add_obs("gold_s", 64, 166);
add_obs("rock_s", 38, 255);
add_obs("tres", 271, 445);
add_obs("gold_s", 123, 420);
}
if ((level == 14) && (level_rnd == 1)) {
add_obs("silver_m", 491, 324);
add_obs("wolf", 570, 342);
add_obs("silver_m", 85, 314);
add_obs("rock_s", 564, 184);
add_obs("gold_x", 262, 243);
add_obs("wolf", 5, 314);
add_obs("bear2", 585, 433);
add_obs("bug2", 491, 401, 4);
add_obs("block", 165, 93);
add_obs("bag", 170, 220, "crane");
add_obs("bag", 376, 207);
add_obs("gold_m", 426, 317);
add_obs("gold_m", 119, 369);
add_obs("gold_m", 168, 327);
add_obs("rock_s", 206, 331);
add_obs("rock_m", 370, 285);
add_obs("barrel", 175, 404);
add_obs("gem", 525, 220);
add_obs("gold_s", 494, 173);
add_obs("gold_s", 556, 259);
add_obs("gold_s", 499, 254);
add_obs("rock_s", 467, 211);
add_obs("tres", 386, 435);
add_obs("gold_s", 123, 420);
add_obs("barrel", 301, 324);
}
if ((level == 14) && (level_rnd == 2)) {
add_obs("silver_m", 491, 324);
add_obs("wolf", 570, 342);
add_obs("silver_m", 85, 314);
add_obs("rock_s", 564, 184);
add_obs("gold_x", 453, 241);
add_obs("wolf", 5, 314);
add_obs("bear2", 19, 438);
add_obs("block", 165, 93);
add_obs("bag", 134, 270);
add_obs("bag", 282, 324, "crane");
add_obs("gold_m", 57, 229);
add_obs("gold_m", 119, 369);
add_obs("gold_m", 168, 327);
add_obs("rock_s", 206, 331);
add_obs("rock_m", 391, 386);
add_obs("barrel", 175, 404);
add_obs("gem", 525, 220);
add_obs("gold_s", 494, 173);
add_obs("gold_s", 556, 259);
add_obs("gold_s", 499, 254);
add_obs("rock_s", 297, 257);
add_obs("tres", 229, 253);
add_obs("gold_s", 123, 420);
add_obs("barrel", 386, 318);
add_obs("bug2", 581, 418, 5);
}
if ((level == 15) && (level_rnd == 0)) {
add_obs("bear2", 591, 362);
add_obs("bear2", 8, 400);
add_obs("bear2", 596, 466);
add_obs("bag", 502, 228);
add_obs("bag", 141, 189);
add_obs("rock_s", 412, 225);
add_obs("rock_s", 334, 260);
add_obs("rock_s", 220, 235);
add_obs("rock_s", 39, 196);
add_obs("bear", 589, 306);
add_obs("barrel", 156, 298);
add_obs("bear", 1, 324);
add_obs("tres", 391, 374);
add_obs("bag", 279, 263);
add_obs("gold_l", 243, 364);
add_obs("gem", 133, 357);
add_obs("nuke", 116, 419);
add_obs("bear2", 511, 383);
add_obs("abc_u", 561, 350);
}
if ((level == 15) && (level_rnd == 1)) {
add_obs("bear2", 586, 388);
add_obs("bear2", 8, 400);
add_obs("bear2", 492, 428);
add_obs("bag", 415, 237);
add_obs("bag", 195, 218);
add_obs("rock_s", 479, 203);
add_obs("rock_s", 334, 260);
add_obs("rock_s", 128, 204);
add_obs("rock_s", 39, 196);
add_obs("bear", 589, 306);
add_obs("barrel", 473, 308);
add_obs("bear", 1, 324);
add_obs("tres", 526, 328);
add_obs("bag", 276, 254);
add_obs("gold_l", 172, 307);
add_obs("gem", 96, 372);
add_obs("bear2", 116, 419);
add_obs("abc_u", 333, 447);
add_obs("nuke", 535, 224);
add_obs("gold_m", 315, 326);
}
if ((level == 15) && (level_rnd == 2)) {
add_obs("abc_u", 286, 400);
add_obs("bear2", 8, 400);
add_obs("bag", 366, 197);
add_obs("bag", 195, 218);
add_obs("rock_s", 479, 203);
add_obs("rock_s", 279, 199);
add_obs("rock_s", 128, 204);
add_obs("rock_s", 39, 196);
add_obs("bear", 601, 337);
add_obs("barrel", 473, 308);
add_obs("bear", 31, 272);
add_obs("tres", 526, 328);
add_obs("bag", 414, 238);
add_obs("gold_l", 271, 311);
add_obs("gem", 96, 372);
add_obs("bear2", 116, 419);
add_obs("bear2", 333, 447);
add_obs("nuke", 535, 224);
add_obs("gold_m", 152, 303);
add_obs("bug2", 538, 417, 4);
}
if ((level == 16) && (level_rnd == 0)) {
add_obs("rock_m", 432, 240);
add_obs("rock_m", 168, 240);
add_obs("silver_l", 538, 323);
add_obs("silver_l", 78, 324);
add_obs("gold_m", 167, 316);
add_obs("gold_m", 438, 323);
add_obs("gold_m", 233, 393);
add_obs("gold_m", 375, 395);
add_obs("gem", 305, 393);
add_obs("digger", 597, 400);
add_obs("tres", 63, 426);
add_obs("gem", 118, 410);
add_obs("bear2", 586, 265);
add_obs("wolf", 3, 225);
add_obs("bag", 102, 228);
add_obs("bag", 567, 217);
add_obs("bag", 311, 231);
add_obs("barrel", 306, 325);
add_obs("silver_s", 355, 310);
add_obs("silver_s", 257, 309);
}
if ((level == 16) && (level_rnd == 1)) {
add_obs("rock_m", 432, 240);
add_obs("rock_m", 168, 240);
add_obs("silver_l", 538, 323);
add_obs("silver_l", 71, 304);
add_obs("gold_m", 167, 316);
add_obs("gold_m", 438, 323);
add_obs("gold_m", 233, 393);
add_obs("gold_m", 375, 395);
add_obs("gem", 305, 393);
add_obs("digger", 2, 416);
add_obs("tres", 527, 421);
add_obs("gem", 556, 413);
add_obs("bear2", 586, 265);
add_obs("wolf", 3, 225);
add_obs("bag", 102, 228);
add_obs("bag", 567, 217);
add_obs("bag", 311, 231);
add_obs("barrel", 306, 325);
add_obs("silver_s", 355, 310);
add_obs("silver_s", 257, 309);
}
if ((level == 16) && (level_rnd == 2)) {
add_obs("rock_m", 432, 240);
add_obs("rock_m", 168, 240);
add_obs("silver_l", 538, 323);
add_obs("silver_l", 71, 304);
add_obs("gold_m", 167, 316);
add_obs("gold_m", 438, 323);
add_obs("gold_m", 233, 393);
add_obs("gold_m", 375, 395);
add_obs("gem", 305, 393);
add_obs("digger", 2, 416);
add_obs("tres", 469, 415);
add_obs("gem", 556, 413);
add_obs("bear2", 3, 267);
add_obs("wolf", 624, 231);
add_obs("bag", 102, 228);
add_obs("bag", 567, 217);
add_obs("bag", 311, 231);
add_obs("barrel", 306, 325);
add_obs("silver_s", 355, 310);
add_obs("silver_s", 257, 309);
}
if ((level == 17) && (level_rnd == 0)) {
add_obs("gem", 56, 394);
add_obs("gem", 152, 392);
add_obs("gem", 220, 390);
add_obs("gem", 300, 391);
add_obs("gem", 370, 386);
add_obs("gem", 443, 382);
add_obs("gem", 519, 384);
add_obs("rock_s", 111, 392);
add_obs("gold_s", 187, 384);
add_obs("rock_s", 260, 389);
add_obs("rock_s", 406, 381);
add_obs("gold_s", 337, 382);
add_obs("bag", 428, 286);
add_obs("rock_s", 477, 380);
add_obs("tres", 48, 348);
add_obs("silver_l", 75, 259);
add_obs("silver_m", 357, 263);
add_obs("silver_m", 553, 286);
add_obs("bag", 239, 277);
add_obs("barrel", 171, 347);
add_obs("barrel", 491, 333);
add_obs("digger", 588, 360);
add_obs("bear2", 601, 237);
add_obs("bear", 35, 296);
}
if ((level == 17) && (level_rnd == 1)) {
add_obs("gem", 56, 394);
add_obs("gem", 152, 392);
add_obs("gem", 220, 390);
add_obs("gem", 300, 391);
add_obs("gem", 370, 386);
add_obs("gem", 443, 382);
add_obs("gem", 519, 384);
add_obs("rock_s", 111, 392);
add_obs("gold_s", 187, 384);
add_obs("rock_s", 260, 389);
add_obs("rock_s", 406, 381);
add_obs("gold_s", 337, 382);
add_obs("bag", 428, 286);
add_obs("rock_s", 477, 380);
add_obs("tres", 347, 464);
add_obs("silver_l", 75, 259);
add_obs("silver_m", 293, 204);
add_obs("silver_m", 537, 310);
add_obs("bag", 239, 277);
add_obs("barrel", 367, 342);
add_obs("barrel", 135, 345);
add_obs("digger", 588, 360);
add_obs("bear", 35, 296);
add_obs("bug2", 2, 383, 4);
}
if ((level == 17) && (level_rnd == 2)) {
add_obs("gem", 56, 394);
add_obs("gem", 152, 392);
add_obs("gem", 220, 390);
add_obs("gem", 300, 391);
add_obs("gem", 370, 386);
add_obs("gem", 443, 382);
add_obs("gem", 519, 384);
add_obs("rock_s", 111, 392);
add_obs("gold_s", 187, 384);
add_obs("rock_s", 260, 389);
add_obs("rock_s", 406, 381);
add_obs("gold_s", 337, 382);
add_obs("bag", 428, 286);
add_obs("rock_s", 477, 380);
add_obs("tres", 347, 464);
add_obs("silver_l", 75, 259);
add_obs("silver_m", 293, 204);
add_obs("silver_m", 537, 310);
add_obs("bag", 239, 277);
add_obs("barrel", 135, 345);
add_obs("digger", 588, 360);
add_obs("bear", 35, 296);
add_obs("bug2", 2, 383, 4);
add_obs("rock_l", 345, 336);
}
if ((level == 18) && (level_rnd == 0)) {
add_obs("bug2", 601, 356, 5);
add_obs("bug2", 0, 386, 5);
add_obs("bear2", 605, 399);
add_obs("bear2", 512, 406);
add_obs("silver_l", 92, 256);
add_obs("silver_l", 520, 302);
add_obs("silver_l", 220, 375);
add_obs("rock_m", 193, 212);
add_obs("rock_m", 390, 241);
add_obs("rock_m", 542, 201);
add_obs("bag", 106, 378);
add_obs("bag", 396, 392);
add_obs("gem", 299, 306);
add_obs("gem", 421, 311);
add_obs("gem", 201, 285);
add_obs("tres", 321, 440);
add_obs("block", 174, 96);
}
if ((level == 18) && (level_rnd == 1)) {
add_obs("bug2", 601, 356, 5);
add_obs("bug2", 0, 386, 5);
add_obs("bear2", 605, 399);
add_obs("bear2", 2, 442);
add_obs("silver_l", 168, 268);
add_obs("silver_l", 522, 359);
add_obs("silver_l", 220, 375);
add_obs("rock_m", 37, 297);
add_obs("rock_m", 390, 241);
add_obs("rock_m", 542, 201);
add_obs("bag", 439, 375);
add_obs("bag", 324, 334);
add_obs("gem", 424, 319);
add_obs("gem", 532, 284);
add_obs("gem", 282, 256);
add_obs("tres", 104, 379);
add_obs("block", 174, 96);
}
if ((level == 18) && (level_rnd == 2)) {
add_obs("bug2", 601, 356, 5);
add_obs("bug2", 0, 386, 5);
add_obs("bear2", 3, 309);
add_obs("bear2", 2, 442);
add_obs("silver_l", 174, 266);
add_obs("silver_l", 454, 421);
add_obs("silver_l", 107, 400);
add_obs("rock_m", 53, 231);
add_obs("rock_m", 527, 225);
add_obs("rock_m", 423, 248);
add_obs("bag", 542, 345, "time");
add_obs("bag", 396, 337);
add_obs("gem", 339, 413);
add_obs("gem", 532, 284);
add_obs("gem", 451, 325);
add_obs("tres", 303, 344);
add_obs("block", 174, 96);
}
if (level == 19) {
add_obs("gem", 560, 436);
add_obs("gem", 506, 437);
add_obs("bag", 451, 240);
add_obs("bag", 267, 415, "time");
add_obs("gem", 113, 442);
add_obs("gem", 76, 436);
add_obs("silver_l", 307, 324);
add_obs("digger", 614, 294);
add_obs("gem", 143, 450);
add_obs("gem", 196, 248);
add_obs("gem", 64, 196);
add_obs("gem", 504, 251);
add_obs("gem", 474, 419);
add_obs("rock_s", 250, 220);
add_obs("rock_s", 127, 188);
add_obs("rock_x", 123, 356);
add_obs("barrel", 126, 341);
add_obs("rock_x", 529, 357);
add_obs("barrel", 531, 341);
add_obs("bag", 101, 265, "time");
add_obs("gem", 165, 430);
add_obs("gem", 440, 442);
}
if (level == 20) {
add_obs("gem", 129, 220);
add_obs("gem", 129, 244);
add_obs("gem", 131, 270);
add_obs("gem", 130, 296);
add_obs("gem", 148, 207);
add_obs("gem", 151, 297);
add_obs("gem", 154, 255);
add_obs("gem", 234, 292);
add_obs("gem", 232, 321);
add_obs("gem", 234, 346);
add_obs("gem", 234, 375);
add_obs("gem", 261, 323);
add_obs("gem", 280, 350);
add_obs("gem", 301, 373);
add_obs("gem", 304, 332);
add_obs("gem", 306, 293);
add_obs("gem", 414, 401);
add_obs("gem", 416, 365);
add_obs("gem", 417, 324);
add_obs("gem", 458, 323);
add_obs("gem", 479, 360);
add_obs("gem", 449, 399);
add_obs("block", 168, 94);
add_obs("block", 373, 99);
add_obs("wolf", 559, 414);
add_obs("wolf", 5, 273);
add_obs("bug2", 550, 339, 5);
add_obs("bug2", 54, 423, 5);
add_obs("tres", 366, 280);
add_obs("tres", 208, 249);
add_obs("bag", 267, 155, "time");
add_obs("bag", 227, 155, "time");
add_obs("bag", 127, 155, "time");
}
if (level >= 21) {
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(650), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", 306, 293);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", 416, 365);
add_obs("gem", 417, 324);
add_obs("gem", random(600), random(300) + 160);
add_obs("gem", 479, 360);
add_obs("gem", random(600), random(300) + 160);
add_obs("block", 168, 94);
add_obs("block", 373, 99);
add_obs("wolf", 559, 414);
add_obs("wolf", 5, 273);
add_obs("bug2", 550, 339, 5);
add_obs("bug2", 54, 423, 5);
add_obs("tres", 366, 280);
add_obs("tres", 208, 249);
add_obs("bag", 267, 155, "time");
add_obs("bag", 227, 155, "time");
add_obs("bag", 127, 155, "time");
}
function add_score(mon) {
money_num++;
score_mmmo = mon;
var _local2 = this.attachMovie("money_txt", "mon" + moeny_num, 170000 + money_num);
money_ar[money_num] = _local2;
_local2._x = hand._x;
_local2._y = hand._y;
_local2.txt.text = "$ " + mon;
_local2.gold = mon;
_local2.rad = Math.atan2(51 - _local2._y, 520 - _local2._x);
_local2.mydeg = ((_local2.rad * 180) / Math.PI) + 90;
_local2.dx = Math.sin((Math.PI/180) * _local2.mydeg);
_local2.dy = Math.cos((Math.PI/180) * _local2.mydeg);
_local2.onEnterFrame = function () {
score_move(this);
};
}
function score_move(obj) {
obj._x = obj._x + (obj.dx * 8);
obj._y = obj._y - (obj.dy * 8);
if (((obj._x > 520) && (obj._y < 51)) || (obj._y < 40)) {
score_count = obj.gold;
removeMovieClip(obj);
}
}
function add_pwr_txt(obj) {
trace("pwr_up");
trace(obj);
money_num++;
var _local2 = this.attachMovie(obj, "obj" + moeny_num, 170000 + money_num);
money_ar[money_num] = _local2;
_local2._x = hand._x;
_local2._y = hand._y;
_local2.txt.text = "$ " + mon;
_local2.gold = mon;
_local2.rad = Math.atan2(51 - _local2._y, 520 - _local2._x);
_local2.mydeg = ((_local2.rad * 180) / Math.PI) + 90;
_local2.dx = Math.sin((Math.PI/180) * _local2.mydeg);
_local2.dy = Math.cos((Math.PI/180) * _local2.mydeg);
if (obj == "laser") {
trace("laer");
hand.state1 = "laser";
}
if (obj == "magav") {
trace("laer");
hand.state1 = "magav";
}
if (obj == "crane") {
trace("crane");
hand.state1 = "crane";
}
if (obj == "knife") {
trace("crane");
hand.state1 = "knife";
}
if (obj == "time") {
trace("crane");
aaat2 = random(5) + 10;
sec1 = sec1 + aaat2;
_local2.txt.text = ("You got more " + aaat2) + " sec'";
}
if (obj == "tnt") {
trace("tnt");
aaat2 = random(5) + 10;
tnt = tnt + 1;
_local2.txt.text = "You got TNT'";
}
if (obj == "nuke11") {
trace("tnt");
abc1 = 4;
ply.man.uni.gotoAndPlay(2);
}
_local2.onEnterFrame = function () {
pwr_txt_move(this);
};
}
function pwr_txt_move(obj) {
obj._y = obj._y - 2;
obj._alpha = obj._alpha - 2.5;
if (obj._alpha < 10) {
removeMovieClip(obj);
}
}
function timeof() {
if (pause1 != 1) {
sec1--;
}
min_txt.text = sec1;
if ((sec1 > 0) && (sec1 < 6)) {
boxmusic.gotoAndPlay("clock");
}
if (sec1 <= 0) {
min_txt.text = 0;
trace(score_count + " sc");
trace(score_mmmo + " mmo");
}
if (((sec1 <= 0) && (score_count <= 0)) && (score_mmmo <= 0)) {
gotoAndPlay ("nextl");
}
if ((sec1 <= -3) && (score_count <= 0)) {
gotoAndPlay ("nextl");
}
}
trace(score_num);
goal_txt.text = "$ " + goal_num;
score_count = 0;
money_num = 0;
money_ar = new Array();
sec1 = 50 + sec_add;
min_txt.text = sec1;
var time_in;
time_in = setInterval(timeof, 1000);
if (hand.keys == "yes") {
add_obs("KEY", random(550) + 20, random(150) + 280);
add_obs("KEY3", random(550) + 20, random(150) + 280);
add_obs("KEY4", random(550) + 20, random(150) + 280);
add_obs("KEY5", random(550) + 20, random(150) + 280);
keys_sign._x = 205;
keys_sign._y = 74;
hand.keycount = 1;
}
if (goal_num > score_num) {
score_txt.textColor = 16711680 /* 0xFF0000 */;
trace("reddd");
}
Instance of Symbol 123 MovieClip [empty] "controller" in Frame 6
onClipEvent (enterFrame) {
_root.manof_r();
_root.check1();
_root.agla_move();
}
Instance of Symbol 506 MovieClip "boxmusic" in Frame 6
/* no clip actions */
Frame 7
i = 0;
while (i < sh_ar.length) {
removeMovieClip(sh_ar[i]);
i++;
}
i = 0;
while (i < s_ar.length) {
removeMovieClip(s_ar[i]);
i++;
}
i = 0;
while (i < money_ar.length) {
removeMovieClip(money_ar[i]);
i++;
}
i = 0;
while (i < exp_ar.length) {
removeMovieClip(exp_ar[i]);
i++;
}
i = 0;
while (i < bomb_ar.length) {
removeMovieClip(bomb_ar[i]);
i++;
}
ropex = 0;
_root.abc1 = 0;
removeMovieClip(mask2);
removeMovieClip(hand);
removeMovieClip(manof2);
removeMovieClip(pwr);
clearInterval(time_in);
stop();
score_txt.text = "$ " + score_num;
if (score_num >= goal_num) {
level++;
}
if (((score_num < goal_num) || (score_num == null)) || (score_num == "Nan")) {
level = 1;
gotoAndPlay ("gameover");
}
Frame 8
i = 0;
while (i < sh_ar.length) {
removeMovieClip(sh_ar[i]);
i++;
}
i = 0;
while (i < s_ar.length) {
removeMovieClip(s_ar[i]);
i++;
}
i = 0;
while (i < money_ar.length) {
removeMovieClip(money_ar[i]);
i++;
}
i = 0;
while (i < exp_ar.length) {
removeMovieClip(exp_ar[i]);
i++;
}
i = 0;
while (i < bomb_ar.length) {
removeMovieClip(bomb_ar[i]);
i++;
}
level_get = level;
ropex = 0;
_root.abc1 = 0;
removeMovieClip(mask2);
removeMovieClip(hand);
removeMovieClip(manof2);
removeMovieClip(pwr);
clearInterval(time_in);
stop();
score_txt.text = "$ " + score_num;
butxx.onPress = function () {
if (name1.text != "") {
myVars = new LoadVars();
myVars.name1 = name1.text;
myVars.score = score_num;
myVars.mail9 = mail1.text;
myVars.con = (score_num + 4) * BB;
myVars.sendAndLoad("http://www.net-games.biz/superminer/hind2.php", myVars, "POST");
score_num = 0;
this._y = -500;
myVars.onLoad = function (su) {
if (su) {
trace("ok");
_root.gotoAndPlay("rank");
}
};
}
};
Frame 9
stop();
Frame 10
function rank_check() {
myVars = new LoadVars();
myVars.name11 = "work";
myVars.score1 = "20999";
myVars.sendAndLoad("http://www.net-games.biz/superminer/hind3.php", myVars, "POST");
myVars.sendAndLoad("http://www.net-games.biz/superminer/hind2.php", myVars, "POST");
myVars.onLoad = function (su) {
if (su && (if_check != "yes")) {
loadd._x = 1000;
loadd._y = 1000;
trace("ggggg");
if_check = "yes";
var _local3 = new Array(this.nome1, this.nome2, this.nome3);
var _local2 = new Array(this.score1, this.score2, this.score3, this.score4, this.score5, this.score6, this.score7, this.score8, this.score9, this.score10, this.score11, this.score12, this.score13, this.score14, this.score15, this.score16, this.score17, this.score18, this.score19, this.score20, this.score21, this.score22, this.score23, this.score24, this.score25, this.score26, this.score27, this.score28, this.score29, this.score30, this.score31, this.score32, this.score33, this.score34, this.score35, this.score36, this.score37, this.score38, this.score39, this.score40, this.score41, this.score42, this.score43, this.score44, this.score45, this.score46, this.score47, this.score48, this.score49, this.score50);
_local3 = new Array(this.nome1, this.nome2, this.nome3, this.nome4, this.nome5, this.nome6, this.nome7, this.nome8, this.nome9, this.nome10, this.nome11, this.nome12, this.nome13, this.nome14, this.nome15, this.nome16, this.nome17, this.nome18, this.nome19, this.nome20, this.nome21, this.nome22, this.nome23, this.nome24, this.nome25, this.nome26, this.nome27, this.nome28, this.nome29, this.nome30, this.nome31, this.nome32, this.nome33, this.nome34, this.nome35, this.nome36, this.nome37, this.nome38, this.nome39, this.nome40, this.nome41, this.nome42, this.nome43, this.nome44, this.nome45, this.nome46, this.nome47, this.nome48, this.nome49, this.nome50);
num_page = 0;
num_pageB = 10;
nome_txt.text = "";
pos_txt.text = "";
score_txt.text = "";
i = num_page;
while (i < 50) {
if (_local3[i] != null) {
nome_txt.text = nome_txt.text + (_local3[i] + newline);
}
i++;
}
i = num_page;
while (i < 50) {
if (_local2[i] != null) {
score_txt.text = score_txt.text + (_local2[i] + newline);
}
i++;
}
i = num_page;
while (i < 50) {
if (_local2[i] != null) {
pos_txt.text = pos_txt.text + ((((-i) - 1) * -1) + newline);
}
i++;
}
}
};
}
stop();
if_check = "no";
rank_check();
Instance of Symbol 149 MovieClip [gold_s] in Frame 10
onClipEvent (enterFrame) {
}
Instance of Symbol 670 MovieClip "down1_but" in Frame 10
on (press) {
_root.pos_txt.scroll = _root.pos_txt.scroll + 10;
_root.nome_txt.scroll = _root.nome_txt.scroll + 10;
_root.score_txt.scroll = _root.score_txt.scroll + 10;
}
Instance of Symbol 670 MovieClip "up_but1" in Frame 10
on (press) {
_root.pos_txt.scroll = _root.pos_txt.scroll - 10;
_root.nome_txt.scroll = _root.nome_txt.scroll - 10;
_root.score_txt.scroll = _root.score_txt.scroll - 10;
}
Instance of Symbol 280 MovieClip in Frame 10
on (release) {
getURL ("http://games84.com", "new");
}
Symbol 11 MovieClip [gem] Frame 1
if (aa != 2) {
fr = 14;
gold = 600 + _root.p_d;
speed = 6;
gotoAndPlay(random(220));
aa = 2;
}
Symbol 17 MovieClip [tres] Frame 1
if (aa != 2) {
fr = 28;
gold = 100;
speed = 2;
gotoAndPlay(random(220));
aa = 2;
}
Symbol 17 MovieClip [tres] Frame 10
if (aa != 3) {
fr = 29;
gold = 600 + _root.p_d;
speed = 6;
aa = 3;
}
Symbol 17 MovieClip [tres] Frame 64
if (aa != 2) {
fr = 28;
gold = 100;
speed = 2;
aa = 2;
}
Symbol 34 MovieClip [expl2] Frame 42
stop();
removeMovieClip(this);
Symbol 65 MovieClip [bear] Frame 1
if (aa != 2) {
walk = 3;
fr = 11;
gold = 25 * _root.anim_p;
speed = 5;
kexp = "e_blood";
gotoAndPlay(random(235));
aa = 2;
}
Symbol 65 MovieClip [bear] Frame 34
Symbol 67 MovieClip [rock_s] Frame 1
fr = 9;
gold = 10 * _root.rock_p;
speed = 4;
kexp = "exp_rock";
Symbol 71 MovieClip [rock_m] Frame 1
fr = 7;
gold = 20 * _root.rock_p;
speed = 2.2;
kexp = "exp_rock";
Symbol 73 MovieClip [expl] Frame 42
stop();
removeMovieClip(this);
Symbol 75 MovieClip [rock_l] Frame 1
fr = 8;
gold = 35 * _root.rock_p;
speed = 1.5;
kexp = "exp_rock";
Symbol 76 MovieClip [exp_rock] Frame 30
stop();
onEnterFrame = function () {
a._alpha = a._alpha - 5;
b._alpha = b._alpha - 5;
c._alpha = c._alpha - 5;
d._alpha = d._alpha - 5;
if (a._alpha < 10) {
removeMovieClip(this);
}
};
Symbol 81 MovieClip [exp_barrel] Frame 30
stop();
onEnterFrame = function () {
a._alpha = a._alpha - 5;
b._alpha = b._alpha - 5;
c._alpha = c._alpha - 5;
d._alpha = d._alpha - 5;
if (a._alpha < 10) {
removeMovieClip(this);
}
};
Symbol 87 MovieClip [e_blood] Frame 30
stop();
onEnterFrame = function () {
a._alpha = a._alpha - 5;
b._alpha = b._alpha - 5;
c._alpha = c._alpha - 5;
d._alpha = d._alpha - 5;
if (a._alpha < 10) {
removeMovieClip(this);
}
};
Symbol 89 MovieClip Frame 1
fr = 4;
gold = 250;
speed = 2;
if (aa != 2) {
gotoAndPlay(random(230));
aa = 2;
}
Symbol 90 MovieClip [exp_silver] Frame 30
stop();
onEnterFrame = function () {
a._alpha = a._alpha - 5;
b._alpha = b._alpha - 5;
c._alpha = c._alpha - 5;
d._alpha = d._alpha - 5;
if (a._alpha < 10) {
removeMovieClip(this);
}
};
Symbol 91 MovieClip [exp_gold] Frame 30
stop();
onEnterFrame = function () {
a._alpha = a._alpha - 5;
b._alpha = b._alpha - 5;
c._alpha = c._alpha - 5;
d._alpha = d._alpha - 5;
if (a._alpha < 10) {
removeMovieClip(this);
}
};
Symbol 93 MovieClip [barrel] Frame 1
fr = 15;
gold = 2;
speed = 7;
kexp = "exp_barrel";
Symbol 95 MovieClip [obs_level] Frame 1
gotoAndPlay(_root.level + 1);
Symbol 95 MovieClip [obs_level] Frame 2
stop();
fr = 27;
gold = 20;
speed = 5;
kexp = "expl2";
Symbol 95 MovieClip [obs_level] Frame 3
stop();
fr = 27;
gold = 20;
speed = 5;
kexp = "expl2";
Symbol 95 MovieClip [obs_level] Frame 4
stop();
fr = 27;
gold = 20;
speed = 5;
kexp = "expl2";
Symbol 110 MovieClip Frame 40
gotoAndPlay (1);
Symbol 120 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 4
Symbol 121 MovieClip [manof_pwr] Frame 1
aim._visible = 0;
stop();
Symbol 121 MovieClip [manof_pwr] Frame 2
stop();
Symbol 121 MovieClip [manof_pwr] Frame 3
stop();
Symbol 121 MovieClip [manof_pwr] Frame 4
stop();
Symbol 121 MovieClip [manof_pwr] Frame 5
stop();
Symbol 121 MovieClip [manof_pwr] Frame 6
stop();
Symbol 127 MovieClip [manof_up] Frame 1
aim._visible = 0;
stop();
Symbol 127 MovieClip [manof_up] Frame 2
stop();
Symbol 127 MovieClip [manof_up] Frame 3
stop();
Symbol 128 MovieClip Frame 1
fr = 4;
gold = 250;
speed = 2;
if (aa != 2) {
gotoAndPlay(random(230));
aa = 2;
}
Symbol 129 MovieClip [nuke] Frame 1
speed = -2 + _root.abc1;
if (aa != 2) {
gotoAndPlay(random(30));
fr = 31;
gold = 2000;
kexp = "exp_rock";
aa = 2;
}
Symbol 133 MovieClip [abc_u] Frame 1
stop();
if (aa != 2) {
fr = 30;
speed = random(5) + 2;
gold = "no";
pwr_up = "nuke11";
aa = 2;
}
Symbol 141 MovieClip [digger] Frame 1
if (aa != 2) {
walk = 0.8;
fr = 26;
gold = 50;
speed = 4;
takespeed = 1.5;
regspeed = 3;
kexp = "no";
maxt = 1;
gotoAndPlay(random(235));
aa = 2;
}
Symbol 144 MovieClip [KEY5] Frame 1
fr = 25;
gold = 100;
speed = 6;
kexp = "no";
key = "yes";
Symbol 145 MovieClip [KEY4] Frame 1
fr = 24;
gold = 100;
speed = 6;
kexp = "no";
key = "yes";
Symbol 146 MovieClip [KEY3] Frame 1
fr = 23;
gold = 100;
speed = 6;
kexp = "no";
key = "yes";
Symbol 147 MovieClip [KEY] Frame 1
fr = 22;
gold = 100;
speed = 6;
kexp = "no";
key = "yes";
Symbol 149 MovieClip [gold_s] Frame 1
fr = 5;
gold = 50;
speed = 6;
kexp = "exp_gold";
Symbol 150 MovieClip [rock_x] Frame 1
fr = 21;
gold = 100 * _root.rock_p;
speed = 0.1 + _root.hand.ropex;
kexp = "exp_rock";
Symbol 151 MovieClip [silver_l] Frame 1
fr = 19;
gold = 800;
speed = 1.5;
kexp = "exp_silver";
Symbol 152 MovieClip [silver_s] Frame 1
fr = 18;
gold = 80;
speed = 6;
kexp = "exp_silver";
Symbol 153 MovieClip [silver_m] Frame 1
fr = 17;
gold = 400;
speed = 2.4;
kexp = "exp_silver";
Symbol 162 MovieClip [bear2] Frame 1
if (aa != 2) {
walk = random(3) + 3;
kexp = "e_blood";
fr = 16;
gold = (600 + (25 * _root.anim_p)) + _root.p_d;
speed = 5;
gotoAndPlay(random(30));
aa = 2;
}
Symbol 169 MovieClip [wolf] Frame 1
aim._visible = 0;
if (aa != 2) {
walk = 3;
fr = 13;
gold = 35 * _root.anim_p;
speed = 4;
takespeed = 1.5;
regspeed = 3;
kexp = "e_blood";
maxt = 1;
gotoAndPlay(random(235));
aa = 2;
}
Symbol 169 MovieClip [wolf] Frame 9
aim._visible = 0;
Symbol 169 MovieClip [wolf] Frame 17
aim._visible = 0;
Symbol 169 MovieClip [wolf] Frame 25
aim._visible = 0;
Symbol 169 MovieClip [wolf] Frame 34
aim._visible = 0;
Symbol 183 MovieClip Frame 1
function gg() {
if (_parent.ggf1 > 0) {
gotoAndPlay(_parent.ggf1);
} else {
gotoAndPlay(_parent._parent.gof);
}
clearInterval(aaa);
}
var aaa;
if (_parent._parent.gold > 0) {
gotoAndPlay(_parent._parent.gof);
} else {
aaa = setInterval(gg, 160);
}
Symbol 183 MovieClip Frame 2
stop();
_parent.gof = 2;
_parent.gold = 500;
Symbol 183 MovieClip Frame 3
stop();
_parent.gof = 3;
_parent.gold = 600;
Symbol 183 MovieClip Frame 4
stop();
_parent.gof = 4;
_parent.gold = 700;
_parent.walk = 4;
Symbol 183 MovieClip Frame 5
stop();
_parent.gof = 5;
_parent.gold = 900;
_parent.walk = 5;
Symbol 183 MovieClip Frame 6
stop();
_parent.gof = 6;
_parent.gold = 900;
_parent.walk = 6;
Symbol 184 MovieClip [bug2] Frame 1
if (aa != 2) {
walk = 3;
fr = 12;
gold = 500;
speed = 5;
aa = 2;
}
Symbol 185 MovieClip [gold_l] Frame 1
fr = 6;
gold = 500;
speed = 1.5;
if (aa != 2) {
gotoAndPlay(random(270));
kexp = "exp_gold";
aa = 2;
}
Symbol 200 MovieClip [bag] Frame 1
if (aa != 2) {
fr = 10;
speed = random(5) + 2;
gotoAndPlay(random(100));
aa = 2;
}
Symbol 217 MovieClip [gold_m] Frame 1
fr = 4;
gold = 250;
speed = 2.5;
if (aa != 2) {
kexp = "exp_gold";
gotoAndPlay(random(235));
aa = 2;
}
Symbol 218 MovieClip [gold_X] Frame 1
fr = 20;
gold = 1000;
speed = 0.1 + _root.hand.ropex;
kexp = "exp_gold";
Symbol 226 MovieClip Frame 1
gotoAndPlay(_root.level + 1);
Symbol 226 MovieClip Frame 2
stop();
fr = 27;
gold = 20;
speed = 5;
kexp = "expl2";
Symbol 226 MovieClip Frame 3
stop();
fr = 27;
gold = 20;
speed = 5;
kexp = "expl2";
Symbol 231 MovieClip [manof4] Frame 1
aim._visible = 0;
stop();
Symbol 231 MovieClip [manof4] Frame 2
stop();
Symbol 231 MovieClip [manof4] Frame 3
stop();
Symbol 231 MovieClip [manof4] Frame 4
stop();
Symbol 231 MovieClip [manof4] Frame 5
stop();
Symbol 231 MovieClip [manof4] Frame 6
stop();
Symbol 231 MovieClip [manof4] Frame 7
stop();
Symbol 231 MovieClip [manof4] Frame 8
stop();
Symbol 231 MovieClip [manof4] Frame 9
stop();
Symbol 231 MovieClip [manof4] Frame 10
stop();
Symbol 231 MovieClip [manof4] Frame 11
stop();
Symbol 231 MovieClip [manof4] Frame 12
stop();
Symbol 231 MovieClip [manof4] Frame 13
stop();
Symbol 231 MovieClip [manof4] Frame 14
stop();
Symbol 231 MovieClip [manof4] Frame 15
stop();
Symbol 231 MovieClip [manof4] Frame 16
stop();
Symbol 231 MovieClip [manof4] Frame 17
stop();
Symbol 231 MovieClip [manof4] Frame 18
stop();
Symbol 231 MovieClip [manof4] Frame 19
stop();
Symbol 231 MovieClip [manof4] Frame 20
stop();
Symbol 231 MovieClip [manof4] Frame 21
stop();
Symbol 231 MovieClip [manof4] Frame 22
stop();
Symbol 231 MovieClip [manof4] Frame 23
stop();
Symbol 231 MovieClip [manof4] Frame 24
stop();
Symbol 231 MovieClip [manof4] Frame 25
stop();
Symbol 231 MovieClip [manof4] Frame 26
stop();
Symbol 231 MovieClip [manof4] Frame 27
stop();
Symbol 231 MovieClip [manof4] Frame 28
stop();
Symbol 231 MovieClip [manof4] Frame 29
stop();
Symbol 231 MovieClip [manof4] Frame 30
stop();
Symbol 231 MovieClip [manof4] Frame 31
stop();
Symbol 271 MovieClip Frame 85
_root.gotoAndPlay(2);
Symbol 273 Button
on (release) {
getURL ("http://net-games.biz", "new");
}
Symbol 289 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 50
stop();
_root.gonext4 = 4;
Symbol 297 Button
on (release) {
getURL ("http://www.games84.com", "_blank");
}
Symbol 298 MovieClip Frame 28
function chek() {
bloaded = _root.getBytesLoaded() / 2;
ttt = Math.floor(bloaded / cacu);
load_kb.text = ttt * 2;
loadit.gotoAndStop(ttt);
}
stop();
tbytes = _root.getBytesTotal();
bloaded = _root.getBytesLoaded();
cacu = _root.getBytesTotal() / 100;
var load_aa;
var load_in;
_root.load_the_movie = setInterval(chek, 10);
Symbol 299 MovieClip Frame 1
stop();
Symbol 324 Button
on (release) {
_root.gotoAndPlay("help");
}
Symbol 325 Button
on (release) {
getURL ("http://www.net-games.biz", "new");
}
Symbol 334 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 2
stop();
Symbol 334 MovieClip Frame 3
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 24
gotoAndStop (1);
Symbol 338 MovieClip Frame 25
Symbol 338 MovieClip Frame 49
gotoAndStop (1);
Symbol 342 Button
on (release) {
_root.gotoAndPlay("rank");
}
Symbol 345 Button
on (release) {
if (_root.soundon == 1) {
_root.soundon = 2;
_root.playmusic();
s_txt.text = "SOUND:ON";
} else if (_root.soundon != 1) {
_root.soundon = 1;
_root.stopmusic();
s_txt.text = "SOUND:OFF";
}
}
Symbol 347 Button
on (release) {
getURL ("http://games.fs1.co.il", "new");
}
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 4
Symbol 457 MovieClip Frame 1
fr = 4;
gold = 250;
speed = 2;
if (aa != 2) {
gotoAndPlay(random(230));
aa = 2;
}
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 2
function gg() {
_root.rock_p = random(2) + 2;
}
function show1() {
trace("aa");
_root.show_txt.text = "This hammer will help you to earn more money from rocks that you collect";
}
stop();
price = random(150) + 10;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 3
function gg() {
_root.ropex = 1;
}
function show1() {
_root.show_txt.text = "Steel rope will help you to collect huge rocks and gold stones";
}
stop();
price = random(200) + 20;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 4
function gg() {
_root.spray = "yes";
}
function show1() {
_root.show_txt.text = "This spray will damage the health of the bugs and it will be more easy to catch them";
}
stop();
price = random(300) + 100;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 5
function gg() {
_root.rifle = "yes";
}
function show1() {
_root.show_txt.text = "At the start of the mining shoot on the animals and the digger of USA army to stop them from doing more damage to the mine, you have 3 bullets";
}
stop();
price = random(250) + 50;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 6
function gg() {
_root.luck = random(2) + 2;
}
function show1() {
_root.show_txt.text = "this horseshoe will give you more chance of luck to get better thing from the random bags";
}
stop();
price = random(200) + 30;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 7
function gg() {
_root.p_d = 300;
}
function show1() {
_root.show_txt.text = "This cleaner will make you reach , every diamond will be equal more ";
}
stop();
price = random(400) + 200;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 8
function gg() {
_root.xxx = 0.7;
}
function show1() {
_root.show_txt.text = "This snacks will make you strongest and let you to collect rocks and gold faster";
}
stop();
price = random(280) + 60;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 9
function gg() {
_root.tnt = _root.tnt + 1;
}
function show1() {
_root.show_txt.text = "Use this bombs to explode rocks that take time to collect";
}
stop();
price = random(200) + 10;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 10
function gg() {
_root.keys = "yes";
_root.keys_prise = price * 5;
}
function show1() {
_root.show_txt.text = ("Sign on the contract, if you collect the all 4 objects you will get $ " + (price * 5)) + " so think if you can handle with it, if you dont collect you will lose the money of buying the contract";
}
stop();
price = random(800) + 500;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 11
function gg() {
_root.anim_p = random(2) + 2;
}
function show1() {
_root.show_txt.text = "This book will teach you how to earn more money from animals";
}
stop();
price = random(50) + 30;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 12
function gg() {
_root.sec_add = 15;
}
function show1() {
_root.show_txt.text = "This timer will give you more 15 secs of mining, as you know time equal money";
}
stop();
price = random(500) + 100;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 13
function gg() {
_root.roll._x = 300;
_root.roll._y = 260;
_root.buy1._x = _root.buy1._x + 1000;
_root.buy2._x = _root.buy2._x + 1000;
_root.buy3._x = _root.buy3._x + 1000;
_root.buy4._x = _root.buy4._x + 1000;
}
function show1() {
_root.show_txt.text = "Play at the casino and earn more money or lose it";
}
stop();
price = random(10) + 2;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 14
function gg() {
getURL ("http://games.fs1.co.il/games/pac/index.html", "new");
}
function show1() {
_root.show_txt.text = "Play another great game for free of Games 84 : Pacman war, the game will open in new window";
}
stop();
price = 0;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 15
function gg() {
getURL ("http://games.fs1.co.il/games/commando/", "new");
}
function show1() {
_root.show_txt.text = "Play another great action game for free of Games84.com : Commando strike, the game will open in new window";
}
stop();
price = 0;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 16
function gg() {
getURL ("http://games.fs1.co.il/games/time_mission/", "new");
}
function show1() {
_root.show_txt.text = "Play another great action game for free of Games84.com : Time mission, the game will open in new window";
}
stop();
price = 0;
txt.text = "$ " + price;
Symbol 473 MovieClip Frame 17
function gg() {
getURL ("http://games.fs1.co.il/games/hind/", "new");
}
function show1() {
_root.show_txt.text = "Play another great action game for free of Games84.com : Crazy chopper, the game will open in new window";
}
stop();
price = 0;
txt.text = "$ " + price;
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 27
stop();
Symbol 475 MovieClip Frame 58
stop();
Symbol 475 MovieClip Frame 86
stop();
Symbol 475 MovieClip Frame 107
stop();
Symbol 479 Button
on (release) {
_root.gotoAndPlay("goal");
}
Symbol 484 Button
on (release) {
_root.roll._x = 1000;
_root.roll._y = 1000;
_root.buy1._x = _root.buy1._x - 1000;
_root.buy2._x = _root.buy2._x - 1000;
_root.buy3._x = _root.buy3._x - 1000;
_root.buy4._x = _root.buy4._x - 1000;
}
Symbol 493 Button
on (release) {
_root.roll.bet = 250;
_root.score_num = _root.score_num - 250;
_root.score_txt.text = "$ " + _root.score_num;
_root.roll.m_txt.text = bet;
_root.roll.playit();
_root.roll.boxmusic.gotoAndPlay(13);
gotoAndPlay (2);
}
Symbol 495 Button
on (release) {
_root.roll.bet = 100;
_root.score_num = _root.score_num - 100;
_root.score_txt.text = "$ " + _root.score_num;
_root.roll.m_txt.text = bet;
_root.roll.playit();
_root.roll.boxmusic.gotoAndPlay(13);
gotoAndPlay (2);
}
Symbol 497 Button
on (release) {
_root.roll.bet = 500;
_root.score_num = _root.score_num - 500;
_root.score_txt.text = "$ " + _root.score_num;
_root.roll.m_txt.text = bet;
_root.roll.playit();
_root.roll.boxmusic.gotoAndPlay(13);
gotoAndPlay (2);
}
Symbol 499 Button
on (release) {
_root.roll.bet = 1000;
_root.score_num = _root.score_num - 1000;
_root.score_txt.text = "$ " + _root.score_num;
_root.roll.m_txt.text = bet;
_root.roll.playit();
_root.roll.boxmusic.gotoAndPlay(13);
gotoAndPlay (2);
}
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 3
stop();
Symbol 506 MovieClip Frame 5
stop();
Symbol 506 MovieClip Frame 6
stop();
Symbol 506 MovieClip Frame 7
stop();
Symbol 506 MovieClip Frame 8
stop();
Symbol 506 MovieClip Frame 10
stop();
Symbol 506 MovieClip Frame 12
stop();
Symbol 506 MovieClip Frame 14
stop();
Symbol 506 MovieClip Frame 16
stop();
Symbol 506 MovieClip Frame 18
stop();
Symbol 506 MovieClip Frame 20
stop();
Symbol 515 MovieClip Frame 1
bet = 0;
stop();
function playit() {
num = setInterval(casino, 30);
trace("play");
}
function casino() {
num_rnd--;
if (num_rnd == 0) {
gotoAndStop(_root.roll._currentframe);
m_txt.text = double * bet;
if ((double * bet) > 0) {
_root.roll.boxmusic.gotoAndPlay("winn");
}
_root.score_num = _root.score_num + (double * bet);
_root.score_txt.text = "$ " + _root.score_num;
if ((double * bet) == 0) {
_root.roll.boxmusic.gotoAndPlay("losee");
}
clearInterval(num);
}
}
var num;
num_rnd = random(230) + 70;
Instance of Symbol 506 MovieClip "boxmusic" in Symbol 515 MovieClip Frame 1
/* no clip actions */
Symbol 515 MovieClip Frame 2
double = 0;
Symbol 515 MovieClip Frame 17
double = 4;
Symbol 515 MovieClip Frame 24
double = 3;
Symbol 515 MovieClip Frame 36
double = 2;
Symbol 515 MovieClip Frame 47
gotoAndPlay (2);
Symbol 546 MovieClip Frame 1
gotoAndPlay(_root.level_s + 1);
stop();
Symbol 546 MovieClip Frame 2
stop();
Symbol 546 MovieClip Frame 3
stop();
Symbol 546 MovieClip Frame 4
stop();
Symbol 546 MovieClip Frame 5
stop();
Symbol 546 MovieClip Frame 6
stop();
Symbol 546 MovieClip Frame 7
stop();
Symbol 546 MovieClip Frame 8
stop();
Symbol 546 MovieClip Frame 9
stop();
Symbol 546 MovieClip Frame 10
stop();
Symbol 546 MovieClip Frame 11
stop();
Symbol 546 MovieClip Frame 12
stop();
Symbol 546 MovieClip Frame 13
stop();
Symbol 546 MovieClip Frame 14
stop();
Symbol 546 MovieClip Frame 15
stop();
Symbol 546 MovieClip Frame 16
stop();
Symbol 546 MovieClip Frame 17
stop();
Symbol 546 MovieClip Frame 18
stop();
Symbol 546 MovieClip Frame 19
stop();
Symbol 546 MovieClip Frame 20
stop();
Symbol 546 MovieClip Frame 21
stop();
Symbol 561 MovieClip Frame 1
stop();
Symbol 561 MovieClip Frame 2
stop();
Symbol 561 MovieClip Frame 3
stop();
Symbol 561 MovieClip Frame 4
stop();
Symbol 561 MovieClip Frame 5
stop();
Symbol 571 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 2
stop();
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
stop();
Symbol 581 MovieClip Frame 1
stop();
Symbol 581 MovieClip Frame 2
Symbol 581 MovieClip Frame 6
Symbol 603 MovieClip Frame 1
stop();
Symbol 603 MovieClip Frame 2
Symbol 603 MovieClip Frame 6
gotoAndStop (1);
Symbol 603 MovieClip Frame 7
Symbol 603 MovieClip Frame 14
gotoAndPlay (7);
Symbol 605 MovieClip Frame 1
stop();
Symbol 605 MovieClip Frame 2
stop();
Symbol 607 Button
on (release) {
getURL ("http://net-games.biz", "new");
}
Symbol 608 Button
on (release) {
if (_root.pause1 == 1) {
_root.pause1 = 2;
_root.pausemc._x = 1000;
_root.pausemc._y = 1040;
} else if (_root.soundon != 1) {
_root.pause1 = 1;
_root.pausemc._x = ply._x - 90;
_root.pausemc._y = ply._y - 70;
}
}
Symbol 616 Button
on (release) {
_root.gotoAndPlay("shop");
}
Symbol 620 Button
on (release) {
getURL ("http://games.fs1.co.il", "new");
}
Symbol 625 Button
on (release) {
_root.gotoAndPlay("start1");
}
Symbol 646 Button
on (release) {
gotoAndPlay (2);
}
Symbol 652 Button
on (release) {
_root.gotoAndPlay("goal");
}
Symbol 654 Button
on (release) {
gotoAndPlay (3);
}
Symbol 661 Button
on (release) {
_root.gotoAndPlay("goal");
}
Symbol 664 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 2
stop();
Symbol 664 MovieClip Frame 3
stop();
Symbol 664 MovieClip Frame 4
Symbol 664 MovieClip Frame 5
Symbol 664 MovieClip Frame 40
stop();
Symbol 679 MovieClip Frame 41
stop();