Frame 1
fscommand ("allowscale", "false");
fscommand ("fullscreen", "true");
_highquality = true;
Frame 17
stopAllSounds();
_highquality = true;
Frame 18
stop();
Frame 20
stop();
_highquality = "true";
Frame 25
Set("/:roomtop", 134);
Set("/:roombottom", 485);
Set("/:roomleft", 90);
Set("/:roomright", 573);
Set("/:roomwidth", 481);
Set("/:width_offset", 110);
Set("/:roomheight", 481);
Set("/:height_offset", 130);
Set("/:tablew", getProperty("/table", _width));
Set("/:tableh", getProperty("/table", _height));
Set("/:tablex", getProperty("/table", _x));
Set("/:tabley", getProperty("/table", _y));
Set("/:tabletop", tabley - (tableh / 2));
Set("/:tablebottom", tabley + (tableh / 2));
Set("/:tableleft", tablex - (tablew / 2));
Set("/:tableright", tablex + (tablew / 2));
Set("/:current_wad", "/o1");
Set("/:score", 0);
Set("/:scoremax", 400);
Set("/:money_in_safe", 0);
Set("/:time", 10);
Set("/:door1top", 153);
Set("/:door1bottom", 232);
Set("/:door2left", 136);
Set("/:door2right", 190);
Set("/:safeleft", 250);
Set("/:saferight", 300);
Set("/:safetop", 430);
Set("/:safeopen", 1);
Set("/:candeposit", 0);
Set("/:damage", 10);
Set("/:man_animated", 0);
Set("/:kicking_left", 0);
Set("/:kicking_right", 0);
Set("/:kicking", 0);
Set("/:grabbing", 0);
Set("/:mid_reset", 0);
Set("/:keylock", 0);
Set("/:keylockcount", 0);
Set("/:keylockmax", 5);
Set("/:dontopentwice", 0);
setProperty("_root.chair", _x , 521);
setProperty("_root.chair", _y , 299);
quality_toggleflag = 0;
testq = 0;
tellTarget ("/safe") {
gotoAndStop ("shut");
};
stopAllSounds();
fscommand ("fullscreen", "true");
fscommand ("allowscale", "false");
fscommand ("trapallkeys", "false");
gotoAndPlay (34);
Frame 28
qtest = 1;
setProperty("_root.chair", _x , 521);
setProperty("_root.chair", _y , 299);
stop();
Frame 34
Set("/:safeopen", 1);
Set("/:time", 40);
Set("/:candeposit", 0);
Set("/:scoremax", /:scoremax + 100);
Set("/:dontopentwice", 0);
tellTarget ("/safe") {
gotoAndStop ("shut");
};
stopAllSounds();
_highquality = true;
Frame 35
stop();
Frame 36
tellTarget ("/mainloop") {
gotoAndPlay (2);
};
_root.chair.time1 = getTimer();
_root.chair.set_qual = 1;
gotoAndPlay (28);
Frame 37
_highquality = true;
stop();
Frame 46
_highquality = true;
stop();
Frame 56
if (1500 >= /:money_in_safe) {
trace("a");
tellTarget ("/greedbar") {
gotoAndPlay ("25p");
};
}
if ((1500 < /:money_in_safe) and (2000 >= /:money_in_safe)) {
trace("b");
tellTarget ("/greedbar") {
gotoAndPlay ("50p");
};
}
if ((2000 < /:money_in_safe) and (2500 >= /:money_in_safe)) {
trace("c");
tellTarget ("/greedbar") {
gotoAndPlay ("75p");
};
}
if (2500 < /:money_in_safe) {
trace("d");
tellTarget ("/greedbar") {
gotoAndPlay ("100p");
};
}
_highquality = true;
stop();
Frame 59
_highquality = true;
stop();
Frame 64
_highquality = true;
stop();
Frame 66
_highquality = true;
Frame 170
fscommand ("quit");
stop();
Symbol 11 MovieClip Frame 1
stop();
Symbol 11 MovieClip Frame 5
gotoAndPlay (2);
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 2
stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
rotation = _rotation;
_rotation = (rotation + 5);
play();
Symbol 50 MovieClip Frame 3
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 50 MovieClip Frame 4
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 50 MovieClip Frame 5
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 50 MovieClip Frame 6
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 50 MovieClip Frame 7
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 50 MovieClip Frame 8
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 50 MovieClip Frame 9
rotation = _rotation;
_rotation = (rotation + 5);
gotoAndPlay (2);
Symbol 51 MovieClip Frame 1
rotation = _rotation;
_rotation = (rotation + 5);
play();
Symbol 51 MovieClip Frame 2
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 51 MovieClip Frame 3
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 51 MovieClip Frame 4
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 51 MovieClip Frame 5
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 51 MovieClip Frame 6
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 51 MovieClip Frame 7
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 51 MovieClip Frame 8
rotation = _rotation;
_rotation = (rotation + 5);
gotoAndPlay (2);
Symbol 69 MovieClip Frame 1
if (50 < Number(random(100))) {
y_dir = -1;
} else {
y_dir = 1;
}
if (50 < Number(random(100))) {
x_dir = -1;
} else {
x_dir = 1;
}
y_velocity = 8.5 * y_dir;
x_velocity = 8.5 * x_dir;
oldx = 0;
oldy = 0;
myhalfwidth = (_width / 2) - 3;
myhalfheight = (_height / 2) - 3;
active = 1;
tellTarget ("ball") {
gotoAndPlay (2);
};
Symbol 69 MovieClip Frame 2
if (active == 1) {
x_future = _x + x_velocity;
y_future = _y + y_velocity;
if ((/:roomtop >= y_future) or (y_future >= /:roombottom)) {
y_velocity = y_velocity * -1;
}
if ((/:roomleft >= x_future) or (x_future >= /:roomright)) {
x_velocity = x_velocity * -1;
}
collision_y = getProperty("/chair", _y) + 4;
collision_x = getProperty("/chair", _x);
test_x = (_x + x_velocity) - collision_x;
test_y = (_y + y_velocity) - collision_y;
tempW = (_width / 2) + 10;
tempH = (_height / 2) + 15;
if (((-tempH) < test_y) and (test_y < tempH)) {
if (((-tempW) < test_x) and (test_x < tempW)) {
tellTarget ("/boing") {
play();
};
Set("/chair:rebound", 1);
x_velocity = x_velocity * -1;
y_velocity = y_velocity * -1;
}
}
if (_x < /:tableleft) {
if ((/:tableleft < (x_future + myhalfwidth)) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
_x = oldx;
x_velocity = x_velocity * -1;
}
}
if (/:tableright < _x) {
if (((x_future - myhalfwidth) < /:tableright) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
_x = oldx;
x_velocity = x_velocity * -1;
}
}
if (_y < /:tabletop) {
if ((/:tabletop < (y_future + myhalfheight)) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
_y = oldy;
y_velocity = y_velocity * -1;
}
}
if (/:tablebottom < _y) {
if (((y_future - myhalfheight) < /:tablebottom) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
_y = oldy;
y_velocity = y_velocity * -1;
}
}
}
oldx = _x;
oldy = _y;
_y = (_y + y_velocity);
_x = (_x + x_velocity);
Symbol 69 MovieClip Frame 3
gotoAndPlay (2);
Symbol 112 MovieClip Frame 56
tellTarget ("../") {
play();
};
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 6
tellTarget ("../") {
play();
};
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 135 MovieClip Frame 3
Set("/:kicking_left", 1);
Symbol 135 MovieClip Frame 8
Set("/:kicking_left", 0);
gotoAndPlay (1);
Symbol 135 MovieClip Frame 14
Set("/:kicking_right", 1);
Symbol 135 MovieClip Frame 21
Set("/:kicking_right", 0);
gotoAndPlay (1);
Symbol 135 MovieClip Frame 22
Set("/:kicking", 1);
Symbol 135 MovieClip Frame 40
Set("/:kicking", 0);
gotoAndPlay (1);
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 3
stop();
Symbol 151 MovieClip Frame 27
stop();
tellTarget ("../../") {
gotoAndPlay ("damaged");
};
Symbol 152 MovieClip Frame 1
rot = _rotation + 90;
Set("../:active", 0);
x_acceleration = 0;
y_acceleration = 0;
x_velocity = 0;
y_velocity = 0;
velocity = 1;
velocity_damp = 2;
inertia = 0.3;
lives = 3;
active = 1;
score = 0;
wad = 0;
wraparound = 0;
rebound = 0;
reboundinc = 20;
reboundcount = 0;
reboundmax = 18;
Symbol 152 MovieClip Frame 3
gotoAndPlay (2);
Symbol 157 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
stop();
Symbol 158 MovieClip Frame 3
Set("/:kicking_left", 1);
Symbol 158 MovieClip Frame 8
Set("/:kicking_left", 0);
gotoAndPlay (1);
Symbol 158 MovieClip Frame 14
Set("/:kicking_right", 1);
Symbol 158 MovieClip Frame 21
Set("/:kicking_right", 0);
gotoAndPlay (1);
Symbol 158 MovieClip Frame 22
Set("/:kicking", 1);
Symbol 158 MovieClip Frame 40
Set("/:kicking", 0);
gotoAndPlay (1);
Symbol 170 MovieClip Frame 1
if (Key.isDown(38)) {
gotoAndPlay (3);
}
Symbol 170 MovieClip Frame 2
gotoAndPlay (1);
Symbol 170 MovieClip Frame 8
if (Key.isDown(38)) {
gotoAndPlay (12);
}
Symbol 170 MovieClip Frame 9
tellTarget ("../../torso") {
play();
};
Symbol 170 MovieClip Frame 10
if (Key.isDown(38)) {
gotoAndPlay (12);
}
Symbol 170 MovieClip Frame 11
gotoAndPlay (10);
Symbol 170 MovieClip Frame 17
if (Key.isDown(38)) {
gotoAndPlay (3);
}
Symbol 170 MovieClip Frame 18
tellTarget ("../../torso") {
play();
};
gotoAndPlay (1);
Symbol 228 MovieClip Frame 1
Set("/:grabbing", 0);
stop();
Symbol 228 MovieClip Frame 4
stop();
Symbol 228 MovieClip Frame 6
gotoAndPlay (1);
Symbol 228 MovieClip Frame 8
Set("/:mid_reset", 0);
stop();
Symbol 228 MovieClip Frame 10
Set("/:mid_reset", 0);
stop();
Symbol 228 MovieClip Frame 19
Set("/:grabbing", 0);
gotoAndPlay (1);
Symbol 228 MovieClip Frame 28
Set("/:grabbing", 0);
gotoAndPlay (1);
Symbol 228 MovieClip Frame 44
Set("/:grabbing", 0);
gotoAndPlay (1);
Symbol 228 MovieClip Frame 45
Set("../../:man_animated", 1);
Set("../../:action", "true");
Symbol 228 MovieClip Frame 66
Set("../../:active", 0);
Set("../../:man_animated", 0);
gotoAndPlay (1);
tellTarget ("/") {
gotoAndPlay ("nextlevel");
};
Symbol 228 MovieClip Frame 85
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 2
stop();
Symbol 308 MovieClip Frame 1
Set("../../:man_animated", 0);
if (Key.isDown(38) and (grab eq "false")) {
gotoAndPlay (3);
lean = "true";
}
grab = "false";
Symbol 308 MovieClip Frame 2
stop();
Symbol 308 MovieClip Frame 3
tellTarget ("../../chair/chairtop") {
gotoAndStop (2);
};
Symbol 308 MovieClip Frame 4
stop();
tellTarget ("../../chair/chairtop") {
gotoAndStop (3);
};
Symbol 308 MovieClip Frame 5
tellTarget ("../../chair/chairtop") {
gotoAndStop (2);
};
Symbol 308 MovieClip Frame 6
gotoAndPlay (1);
Symbol 308 MovieClip Frame 7
if (Key.isDown(39)) {
} else {
gotoAndPlay (1);
play();
}
Symbol 308 MovieClip Frame 8
gotoAndPlay (7);
Symbol 308 MovieClip Frame 9
if (Key.isDown(37)) {
} else {
gotoAndPlay (1);
play();
}
Symbol 308 MovieClip Frame 10
gotoAndPlay (9);
Symbol 308 MovieClip Frame 11
Set("../../:man_animated", 1);
grab = "true";
Symbol 308 MovieClip Frame 19
grab = "false";
Set("../../:man_animated", 0);
gotoAndPlay (1);
Symbol 308 MovieClip Frame 20
Set("../../:man_animated", 1);
grab = "true";
Symbol 308 MovieClip Frame 27
Set("../../:man_animated", 0);
Symbol 308 MovieClip Frame 28
grab = "false";
gotoAndPlay (1);
Symbol 308 MovieClip Frame 29
Set("../../:man_animated", 1);
grab = "true";
Symbol 308 MovieClip Frame 43
grab = "false";
Set("../../:man_animated", 0);
gotoAndPlay (1);
Symbol 308 MovieClip Frame 44
Set("../../:man_animated", 1);
Set("../../:action", "true");
Symbol 308 MovieClip Frame 65
Set("../../:active", 0);
Set("../../:man_animated", 0);
gotoAndPlay (1);
Symbol 308 MovieClip Frame 66
play();
trace("goo");
Symbol 308 MovieClip Frame 84
tellTarget ("../../") {
gotoAndPlay ("outatime");
};
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 2
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 2
play();
Symbol 316 MovieClip Frame 6
gotoAndPlay (2);
Symbol 328 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 346 Button
on (release) {
getURL ("http://www.unit9.com", "_blank");
}
Symbol 352 MovieClip Frame 1
Set("/:grabbing", 0);
stop();
Symbol 352 MovieClip Frame 4
stop();
Symbol 352 MovieClip Frame 6
gotoAndPlay (1);
Symbol 352 MovieClip Frame 8
Set("/:mid_reset", 0);
stop();
Symbol 352 MovieClip Frame 10
Set("/:mid_reset", 0);
stop();
Symbol 352 MovieClip Frame 19
Set("/:grabbing", 0);
gotoAndPlay (1);
Symbol 352 MovieClip Frame 28
Set("/:grabbing", 0);
gotoAndPlay (1);
Symbol 352 MovieClip Frame 44
Set("/:grabbing", 0);
gotoAndPlay (1);
Symbol 352 MovieClip Frame 45
Set("../../:man_animated", 1);
Set("../../:action", "true");
Symbol 352 MovieClip Frame 66
Set("../../:active", 0);
Set("../../:man_animated", 0);
gotoAndPlay (1);
tellTarget ("/") {
gotoAndPlay ("nextlevel");
};
Symbol 352 MovieClip Frame 85
stop();
Symbol 353 MovieClip Frame 1
Set("../../:man_animated", 0);
if (Key.isDown(38) and (grab eq "false")) {
gotoAndPlay (3);
lean = "true";
}
grab = "false";
Symbol 353 MovieClip Frame 2
stop();
Symbol 353 MovieClip Frame 3
tellTarget ("../../chair/chairtop") {
gotoAndStop (2);
};
Symbol 353 MovieClip Frame 4
stop();
tellTarget ("../../chair/chairtop") {
gotoAndStop (3);
};
Symbol 353 MovieClip Frame 5
tellTarget ("../../chair/chairtop") {
gotoAndStop (2);
};
Symbol 353 MovieClip Frame 6
gotoAndPlay (1);
Symbol 353 MovieClip Frame 7
if (Key.isDown(39)) {
} else {
gotoAndPlay (1);
play();
}
Symbol 353 MovieClip Frame 8
gotoAndPlay (7);
Symbol 353 MovieClip Frame 9
if (Key.isDown(37)) {
} else {
gotoAndPlay (1);
play();
}
Symbol 353 MovieClip Frame 10
gotoAndPlay (9);
Symbol 353 MovieClip Frame 11
Set("../../:man_animated", 1);
grab = "true";
Symbol 353 MovieClip Frame 19
grab = "false";
Set("../../:man_animated", 0);
gotoAndPlay (1);
Symbol 353 MovieClip Frame 20
Set("../../:man_animated", 1);
grab = "true";
Symbol 353 MovieClip Frame 27
Set("../../:man_animated", 0);
Symbol 353 MovieClip Frame 28
grab = "false";
gotoAndPlay (1);
Symbol 353 MovieClip Frame 29
Set("../../:man_animated", 1);
grab = "true";
Symbol 353 MovieClip Frame 43
grab = "false";
Set("../../:man_animated", 0);
gotoAndPlay (1);
Symbol 353 MovieClip Frame 44
Set("../../:man_animated", 1);
Set("../../:action", "true");
Symbol 353 MovieClip Frame 65
Set("../../:active", 0);
Set("../../:man_animated", 0);
gotoAndPlay (1);
Symbol 353 MovieClip Frame 66
play();
trace("goo");
Symbol 353 MovieClip Frame 84
tellTarget ("../../") {
gotoAndPlay ("outatime");
};
stop();
Symbol 355 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 2
play();
Symbol 356 MovieClip Frame 6
gotoAndPlay (2);
Symbol 357 MovieClip Frame 1
if (50 < Number(random(100))) {
y_dir = -1;
} else {
y_dir = 1;
}
if (50 < Number(random(100))) {
x_dir = -1;
} else {
x_dir = 1;
}
y_velocity = -4 * y_dir;
x_velocity = 4 * x_dir;
oldx = 0;
oldy = 0;
left_edge = 15;
right_edge = 535;
top_edge = 15;
bottom_edge = 450;
myhalfwidth = (_width / 2) - 6;
myhalfheight = (_height / 2) - 6;
if ((_name eq "o1") or (_name eq "o2")) {
active = 1;
} else {
active = 0;
}
if (active == 1) {
tellTarget (g) {
gotoAndPlay (2);
play();
};
}
Symbol 357 MovieClip Frame 2
if (active == 1) {
x_future = _x + x_velocity;
y_future = _y + y_velocity;
if ((/:roomtop >= y_future) or (y_future >= /:roombottom)) {
_y = oldy;
y_velocity = y_velocity * -1;
}
if ((/:roomleft >= x_future) or (x_future >= /:roomright)) {
_x = oldx;
x_velocity = x_velocity * -1;
}
oldx = _x;
oldy = _y;
_y = (_y + y_velocity);
_x = (_x + x_velocity);
collision_y = getProperty("../chair", _y) + 4;
collision_x = getProperty("../chair", _x);
test_x = _x - collision_x;
test_y = _y - collision_y;
tempW = _width / 2;
tempH = _height / 2;
if (/:safeopen == 1) {
if ((((-tempH) - 20) < test_y) and (test_y < (tempH + 20))) {
if ((((-tempW) - 20) < test_x) and (test_x < (tempW + 20))) {
tellTarget ("/moneysound") {
play();
};
Set("../chair:wad", 1);
_y = -999;
if ((_name eq "o1") or (_name eq "o4")) {
Set("/:score", /:score + 100);
if (/:grabbing == 0) {
Set("/:grabbing", 1);
tellTarget ("/mantop/torso") {
gotoAndPlay ("grab_stack");
};
}
}
if ((_name eq "o2") or (_name eq "o5")) {
Set("/:score", /:score + 50);
}
if ((_name eq "o3") or (_name eq "o6")) {
Set("/:score", /:score + 25);
}
test_y = _y - collision_y;
test_x = _x - collision_x;
index = 1;
while (index < 6) {
test = eval (("/o" add index) add ":active");
if (test == 0) {
break;
}
index++;
}
x = random(200) + /:width_offset;
y = random(200) + /:height_offset;
setProperty("../o" add index, _x , x);
setProperty("../o" add index, _y , y);
Set(("../o" add index) add ":active", 1);
tellTarget (("../o" add index) add "/g") {
gotoAndPlay ("b");
};
active = 0;
}
}
}
if (_x < /:tableleft) {
if ((/:tableleft < (x_future + myhalfwidth)) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
x_velocity = x_velocity * -1;
}
}
if (/:tableright < _x) {
if (((x_future - myhalfwidth) < /:tableright) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
x_velocity = x_velocity * -1;
}
}
if (_y < /:tabletop) {
if ((/:tabletop < (y_future + myhalfheight)) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
y_velocity = y_velocity * -1;
}
}
if (/:tablebottom < _y) {
if (((y_future - myhalfheight) < /:tablebottom) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
y_velocity = y_velocity * -1;
}
}
}
Symbol 357 MovieClip Frame 3
gotoAndPlay (2);
Symbol 370 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 2
rotation = _rotation;
_rotation = (rotation + 10);
play();
Symbol 370 MovieClip Frame 3
rotation = _rotation;
_rotation = (rotation + 10);
Symbol 370 MovieClip Frame 4
rotation = _rotation;
_rotation = (rotation + 10);
Symbol 370 MovieClip Frame 5
rotation = _rotation;
_rotation = (rotation + 10);
Symbol 370 MovieClip Frame 6
rotation = _rotation;
_rotation = (rotation + 10);
Symbol 370 MovieClip Frame 7
rotation = _rotation;
_rotation = (rotation + 10);
Symbol 370 MovieClip Frame 8
rotation = _rotation;
_rotation = (rotation + 10);
Symbol 370 MovieClip Frame 9
rotation = _rotation;
_rotation = (rotation + 10);
Symbol 370 MovieClip Frame 10
rotation = _rotation;
_rotation = (rotation + 10);
Symbol 370 MovieClip Frame 11
rotation = _rotation;
_rotation = (rotation + 10);
Symbol 370 MovieClip Frame 12
rotation = _rotation;
_rotation = (rotation + 10);
Symbol 370 MovieClip Frame 13
rotation = _rotation;
_rotation = (rotation + 10);
gotoAndPlay (2);
Symbol 371 MovieClip Frame 1
if (50 < Number(random(100))) {
y_dir = -1;
} else {
y_dir = 1;
}
if (50 < Number(random(100))) {
x_dir = -1;
} else {
x_dir = 1;
}
y_velocity = -4 * y_dir;
x_velocity = 4 * x_dir;
left_edge = 15;
right_edge = 535;
top_edge = 15;
bottom_edge = 450;
myhalfwidth = (_width / 2) - 6;
myhalfheight = (_height / 2) - 6;
if ((_name eq "o1") or (_name eq "o2")) {
active = 1;
} else {
active = 0;
}
if (active == 1) {
tellTarget (g) {
gotoAndPlay (2);
};
}
Symbol 371 MovieClip Frame 2
if (active == 1) {
x_future = _x + x_velocity;
y_future = _y + y_velocity;
if ((/:roomtop >= y_future) or (y_future >= /:roombottom)) {
y_velocity = y_velocity * -1;
}
if ((/:roomleft >= x_future) or (x_future >= /:roomright)) {
x_velocity = x_velocity * -1;
}
_y = (_y + y_velocity);
_x = (_x + x_velocity);
collision_y = getProperty("../chair", _y) + 4;
collision_x = getProperty("../chair", _x);
test_x = _x - collision_x;
test_y = _y - collision_y;
tempW = _width / 2;
tempH = _height / 2;
if (/:safeopen == 1) {
if ((((-tempH) - 20) < test_y) and (test_y < (tempH + 20))) {
if ((((-tempW) - 20) < test_x) and (test_x < (tempW + 20))) {
tellTarget ("/cigar") {
play();
};
Set("../chair:wad", 1);
if ((_name eq "o1") or (_name eq "o4")) {
Set("/:score", /:score + 100);
}
if ((_name eq "o2") or (_name eq "o5")) {
if (/:grabbing == 0) {
Set("/:grabbing", 1);
tellTarget ("/mantop/torso") {
gotoAndPlay ("grab_cigar");
};
}
Set("/:score", /:score + 50);
}
if ((_name eq "o3") or (_name eq "o6")) {
Set("/:score", /:score + 25);
}
_y = -999;
test_y = _y - collision_y;
test_x = _x - collision_x;
index = 1;
while (index < 6) {
test = eval (("/o" add index) add ":active");
if (test == 0) {
break;
}
index++;
}
x = random(200) + /:width_offset;
y = random(200) + /:height_offset;
setProperty("../o" add index, _x , x);
setProperty("../o" add index, _y , y);
Set(("../o" add index) add ":active", 1);
tellTarget (("../o" add index) add "/g") {
gotoAndPlay ("b");
};
active = 0;
}
}
}
if (_x < /:tableleft) {
if ((/:tableleft < (x_future + myhalfwidth)) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
x_velocity = x_velocity * -1;
}
}
if (/:tableright < _x) {
if (((x_future - myhalfwidth) < /:tableright) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
x_velocity = x_velocity * -1;
}
}
if (_y < /:tabletop) {
if ((/:tabletop < (y_future + myhalfheight)) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
y_velocity = y_velocity * -1;
}
}
if (/:tablebottom < _y) {
if (((y_future - myhalfheight) < /:tablebottom) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
y_velocity = y_velocity * -1;
}
}
}
Symbol 371 MovieClip Frame 3
gotoAndPlay (2);
Symbol 372 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 2
rotation = _rotation;
_rotation = (rotation + 5);
play();
Symbol 372 MovieClip Frame 3
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 372 MovieClip Frame 4
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 372 MovieClip Frame 5
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 372 MovieClip Frame 6
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 372 MovieClip Frame 7
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 372 MovieClip Frame 8
rotation = _rotation;
_rotation = (rotation + 5);
Symbol 372 MovieClip Frame 9
rotation = _rotation;
_rotation = (rotation + 5);
gotoAndPlay (2);
Symbol 373 MovieClip Frame 1
if (50 < Number(random(100))) {
y_dir = -1;
} else {
y_dir = 1;
}
if (50 < Number(random(100))) {
x_dir = -1;
} else {
x_dir = 1;
}
y_velocity = -4 * y_dir;
x_velocity = 4 * x_dir;
left_edge = 15;
right_edge = 535;
top_edge = 15;
bottom_edge = 450;
myhalfwidth = (_width / 2) - 6;
myhalfheight = (_height / 2) - 6;
if ((_name eq "o1") or (_name eq "o2")) {
active = 1;
} else {
active = 0;
}
if (active == 1) {
tellTarget (g) {
gotoAndPlay (2);
};
}
Symbol 373 MovieClip Frame 2
if (active == 1) {
x_future = _x + x_velocity;
y_future = _y + y_velocity;
if ((/:roomtop >= y_future) or (y_future >= /:roombottom)) {
y_velocity = y_velocity * -1;
}
if ((/:roomleft >= x_future) or (x_future >= /:roomright)) {
x_velocity = x_velocity * -1;
}
_y = (_y + y_velocity);
_x = (_x + x_velocity);
collision_y = getProperty("../chair", _y) + 4;
collision_x = getProperty("../chair", _x);
test_x = _x - collision_x;
test_y = _y - collision_y;
tempW = _width / 2;
tempH = _height / 2;
if (/:safeopen == 1) {
if ((((-tempH) - 20) < test_y) and (test_y < (tempH + 20))) {
if ((((-tempW) - 15) < test_x) and (test_x < (tempW + 15))) {
tellTarget ("/moneysound") {
play();
};
Set("../chair:wad", 1);
if ((_name eq "o1") or (_name eq "o4")) {
Set("/:score", /:score + 100);
}
if ((_name eq "o2") or (_name eq "o5")) {
Set("/:score", /:score + 50);
}
if ((_name eq "o3") or (_name eq "o6")) {
if (/:grabbing == 0) {
Set("/:grabbing", 1);
tellTarget ("/mantop/torso") {
gotoAndPlay ("grab_change");
};
}
Set("/:score", /:score + 25);
}
_y = -999;
test_y = _y - collision_y;
test_x = _x - collision_x;
index = 1;
while (index < 6) {
test = eval (("/o" add index) add ":active");
if (test == 0) {
break;
}
index++;
}
x = random(200) + /:width_offset;
y = random(200) + /:height_offset;
setProperty("../o" add index, _x , x);
setProperty("../o" add index, _y , y);
Set(("../o" add index) add ":active", 1);
tellTarget (("../o" add index) add "/g") {
gotoAndPlay ("b");
};
active = 0;
}
}
}
if (_x < /:tableleft) {
if ((/:tableleft < (x_future + myhalfwidth)) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
x_velocity = x_velocity * -1;
}
}
if (/:tableright < _x) {
if (((x_future - myhalfwidth) < /:tableright) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
x_velocity = x_velocity * -1;
}
}
if (_y < /:tabletop) {
if ((/:tabletop < (y_future + myhalfheight)) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
y_velocity = y_velocity * -1;
}
}
if (/:tablebottom < _y) {
if (((y_future - myhalfheight) < /:tablebottom) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
y_velocity = y_velocity * -1;
}
}
}
Symbol 373 MovieClip Frame 3
gotoAndPlay (2);
Symbol 379 Button
on (release) {
gotoAndPlay (20);
}
Symbol 381 Button
on (release) {
gotoAndPlay (25);
}
Symbol 383 Button
on (release) {
gotoAndPlay (64);
}
Symbol 386 Button
on (release) {
getURL ("http://www.enjoythegame.co.uk", "_blank");
}
Symbol 391 Button
on (release) {
gotoAndPlay (17);
}
Symbol 411 MovieClip Frame 1
rot = _rotation + 90;
Set("../:active", 0);
x_acceleration = 0;
y_acceleration = 0;
x_velocity = 0;
y_velocity = 0;
velocity = 1;
velocity_damp = 2;
inertia = 0.3;
lives = 3;
active = 1;
score = 0;
wad = 0;
wraparound = 0;
rebound = 0;
reboundinc = 20;
reboundcount = 0;
reboundmax = 18;
Symbol 411 MovieClip Frame 3
gotoAndPlay (2);
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 2
stop();
Symbol 418 Button
on (keyPress "<Right>") {
dummy = "dummy";
}
on (keyPress "<Left>") {
dummy = "dummy";
}
on (keyPress "<Up>") {
dummy = "dummy";
}
on (keyPress "<Down>") {
dummy = "dummy";
}
on (keyPress "<Enter>") {
dummy = "dummy";
}
on (keyPress "<Space>") {
dummy = "dummy";
}
Symbol 430 MovieClip Frame 1
tellTarget ("_root.depositmessage") {
play();
};
stop();
Symbol 430 MovieClip Frame 8
tellTarget ("/chair") {
gotoAndPlay (4);
};
tellTarget ("/chair/chairtop/legs") {
gotoAndStop ("still");
};
trace("please get here");
Symbol 430 MovieClip Frame 9
tellTarget ("/mantop/torso") {
gotoAndPlay ("outoftime");
};
Symbol 430 MovieClip Frame 33
tellTarget ("/") {
gotoAndPlay ("outatime");
};
stop();
Symbol 430 MovieClip Frame 34
stop();
Symbol 431 MovieClip Frame 1
rot = 0;
rotval = 90;
Dchange = 0;
DchangeInd = 0;
Dchangemax = 10;
x_acceleration = 0;
y_acceleration = 0;
x_velocity = 0;
y_velocity = 0;
velocity = 25;
velocitydec = 0.1;
velocity_damp = 2;
inertia = 0.5;
lives = 3;
active = 1;
score = 0;
wad = 0;
wraparound = 0;
rebound = 0;
reboundinc = 20;
reboundcount = 0;
reboundmax = 18;
old_x = 0;
old_y = 0;
_x = 521;
_y = 299;
vel = 10;
time1 = 0;
time2 = 0;
qcount = 0;
myqual = "HIGH";
set_qual = 0;
if (/:quality_toggleflag == 0) {
time1 = getTimer();
}
Symbol 431 MovieClip Frame 2
if (/:qtest == 1) {
if ((/:quality_toggleflag == 0) and (qcount == 20)) {
time2 = getTimer();
qtest = time2 - time1;
if (1500 < qtest) {
myqual = "med";
set_qual = 1;
}
if (2000 < qtest) {
myqual = "low";
set_qual = 1;
}
Set("/:quality_toggleflag", 1);
} else {
qcount = qcount + 1;
}
}
if (set_qual == 1) {
if (_root.chair.myqual eq "low") {
setProperty("_root", _quality , "LOW");
}
if (_root.chair.myqual eq "med") {
setProperty("_root", _quality , "MEDIUM");
}
set_qual = 0;
}
if (rebound == 1) {
if (reboundcount == 0) {
Set("/:damage", /:damage - 1);
tellTarget ("../damage") {
gotoAndStop(11 - ../:damage);
};
if (0 >= /:damage) {
tellTarget ("chairtop") {
gotoAndPlay ("damaged");
};
tellTarget ("legs") {
gotoAndStop (2);
};
tellTarget ("../mantop") {
gotoAndStop (2);
};
gotoAndPlay (4);
}
x_velocity = x_velocity * -1;
y_velocity = y_velocity * -1;
}
reboundcount = reboundcount + 1;
if (reboundmax < reboundcount) {
rebound = 0;
reboundcount = 0;
}
}
if (/:score >= /:scoremax) {
if (/:dontopentwice == 0) {
Set("/:candeposit", 1);
tellTarget ("/safe") {
gotoAndPlay ("open");
};
}
Set("/:dontopentwice", 1);
}
xxx = _x;
yyy = _y;
if (rebound == 0) {
if (Key.isdown(37)) {
if (/:grabbing == 0) {
if (/:kicking == 0) {
tellTarget ("/chair/chairtop/legs") {
gotoAndPlay ("kicking");
};
}
if (/:safeopen == 1) {
}
}
rot = 270;
velocity = vel;
radians = (Math.PI/180) * (rot - 90);
x_acceleration = velocity * Math.cos(radians);
y_acceleration = velocity * Math.sin(radians);
x_velocity = x_acceleration;
y_velocity = y_acceleration;
}
if (Key.isdown(39)) {
if (/:grabbing == 0) {
if (/:kicking == 0) {
tellTarget ("/chair/chairtop/legs") {
gotoAndPlay ("kicking");
};
}
if (/:safeopen == 1) {
}
}
rot = 90;
velocity = vel;
radians = (Math.PI/180) * (rot - 90);
x_acceleration = velocity * Math.cos(radians);
y_acceleration = velocity * Math.sin(radians);
x_velocity = x_acceleration;
y_velocity = y_acceleration;
}
}
if ((((!Key.isdown(37)) and (!Key.isdown(38))) and (!Key.isdown(39))) and (!Key.isdown(40))) {
Set("/:kicking", 0);
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
if (/:safeopen == 1) {
Set("/:kicking_right", 0);
Set("/:kicking_left", 0);
if ((/:grabbing == 0) and (/:mid_reset == 0)) {
Set("/:mid_reset", 1);
tellTarget ("/mantop/torso") {
gotoAndPlay (1);
};
}
}
}
if (Key.isdown(32) and (((/:safeleft < _x) and (_x < /:saferight)) and (_y >= /:safetop))) {
if (/:safeopen == 1) {
if (/:candeposit == 1) {
Set("/:safeopen", 0);
Set("/:money_in_safe", /:money_in_safe + /:score);
Set("/:score", 0);
tellTarget ("/mantop/torso") {
gotoAndPlay ("deposit");
};
}
}
}
x_future = _x + x_velocity;
y_future = _y + y_velocity;
if ((/:roomright < x_future) or (x_future < /:roomleft)) {
if ((x_velocity < 0) and (((/:door1top + 20) < _y) and (_y < /:door1bottom))) {
xxx = 170;
yyy = /:roombottom;
rot = 360;
setProperty("/chair/chairtop", _rotation , 0);
radians = (Math.PI/180) * (rot - 90);
x_acceleration = velocity * Math.cos(radians);
y_acceleration = velocity * Math.sin(radians);
x_velocity = x_acceleration;
y_velocity = y_acceleration;
} else {
xxx = old_x;
yyy = old_y;
x_velocity = x_velocity * -1;
x_velocity = x_velocity / velocity_damp;
}
}
if ((/:roombottom < y_future) or (y_future < /:roomtop)) {
if ((0 < y_velocity) and (((/:door2left + 20) < _x) and (_x < /:door2right))) {
xxx = /:roomleft;
yyy = 207;
rot = 90;
setProperty("/chair/chairtop", _rotation , 0);
radians = (Math.PI/180) * (rot - 90);
x_acceleration = velocity * Math.cos(radians);
y_acceleration = velocity * Math.sin(radians);
x_velocity = x_acceleration;
y_velocity = y_acceleration;
} else {
xxx = old_x;
yyy = old_y;
y_velocity = y_velocity * -1;
y_velocity = y_velocity / velocity_damp;
}
}
if (((x_future < (/:tableright + 20)) and (/:tableleft < x_future)) and ((y_future < /:tablebottom) and (/:tabletop < y_future))) {
x_velocity = x_velocity / velocity_damp;
y_velocity = y_velocity / velocity_damp;
x_velocity = x_velocity * -1.5;
y_velocity = y_velocity * -1.5;
xxx = old_x;
yyy = old_y;
}
if (rebound == 0) {
if (Key.isdown(38)) {
rot = 0;
velocity = vel;
if (/:kicking == 0) {
tellTarget ("/chair/chairtop/legs") {
gotoAndPlay ("kicking");
};
}
radians = (Math.PI/180) * (rot - 90);
x_acceleration = velocity * Math.cos(radians);
y_acceleration = velocity * Math.sin(radians);
x_velocity = x_acceleration;
y_velocity = y_acceleration;
}
}
if (Key.isdown(40)) {
velocity = vel;
rot = 180;
radians = (Math.PI/180) * (rot - 90);
x_acceleration = velocity * Math.cos(radians);
y_acceleration = velocity * Math.sin(radians);
x_velocity = x_acceleration;
y_velocity = y_acceleration;
if (/:kicking == 0) {
tellTarget ("/chair/chairtop/legs") {
gotoAndPlay ("kicking");
};
}
}
if (0 < velocity) {
velocity = velocity - velocitydec;
}
old_x = xxx;
old_y = yyy;
xxx = xxx + x_velocity;
yyy = yyy + y_velocity;
if (0 < x_velocity) {
x_velocity = x_velocity - inertia;
}
if (x_velocity < 0) {
x_velocity = x_velocity + inertia;
}
if (0 < y_velocity) {
y_velocity = y_velocity - inertia;
}
if (y_velocity < 0) {
y_velocity = y_velocity + inertia;
}
if (rebound == 0) {
setProperty("/chair/chairtop", _rotation , rot - 90);
setProperty("/mantop", _rotation , rot - 90);
} else {
rot = rot + reboundinc;
if (rot >= 380) {
rot = 20;
}
setProperty("/chair/chairtop", _rotation , rot - 90);
setProperty("/mantop", _rotation , rot - 90);
}
_x = xxx;
_y = yyy;
setProperty("/mantop", _x , xxx);
setProperty("/mantop", _y , yyy);
Symbol 431 MovieClip Frame 3
gotoAndPlay (2);
Symbol 431 MovieClip Frame 4
if (rebound == 1) {
if (reboundcount == 0) {
Set("/:damage", /:damage - 1);
x_velocity = x_velocity * -1;
y_velocity = y_velocity * -1;
}
reboundcount = reboundcount + 2;
if (reboundmax < reboundcount) {
rebound = 0;
reboundcount = 0;
}
}
xxx = _x;
yyy = _y;
x_future = _x + x_velocity;
y_future = _y + y_velocity;
if ((/:roomright < x_future) or (x_future < /:roomleft)) {
if ((x_velocity < 0) and (((/:door1top + 20) < _y) and (_y < /:door1bottom))) {
xxx = 170;
yyy = /:roombottom;
rot = 360;
setProperty("/chair/chairtop", _rotation , 0);
radians = (Math.PI/180) * (rot - 90);
x_acceleration = velocity * Math.cos(radians);
y_acceleration = velocity * Math.sin(radians);
x_velocity = x_acceleration * 5;
y_velocity = y_acceleration * 5;
} else {
x_velocity = x_velocity * -1;
x_velocity = x_velocity / velocity_damp;
}
}
if ((/:roombottom < y_future) or (y_future < /:roomtop)) {
if ((0 < y_velocity) and (((/:door2left + 20) < _x) and (_x < /:door2right))) {
xxx = /:roomleft;
yyy = 207;
rot = 90;
setProperty("/chair/chairtop", _rotation , 0);
radians = (Math.PI/180) * (rot - 90);
x_acceleration = velocity * Math.cos(radians);
y_acceleration = velocity * Math.sin(radians);
x_velocity = x_acceleration * 5;
y_velocity = y_acceleration * 5;
} else {
y_velocity = y_velocity * -1;
y_velocity = y_velocity / velocity_damp;
}
}
if (((x_future < (/:tableright + 20)) and (/:tableleft < x_future)) and ((y_future < /:tablebottom) and (/:tabletop < y_future))) {
x_velocity = x_velocity * -1;
x_velocity = x_velocity / velocity_damp;
y_velocity = y_velocity * -1;
y_velocity = y_velocity / velocity_damp;
}
if (rebound == 0) {
}
xxx = xxx + x_velocity;
yyy = yyy + y_velocity;
if (0 < x_velocity) {
x_velocity = x_velocity - inertia;
}
if (x_velocity < 0) {
x_velocity = x_velocity + inertia;
}
if (0 < y_velocity) {
y_velocity = y_velocity - inertia;
}
if (y_velocity < 0) {
y_velocity = y_velocity + inertia;
}
if (rebound == 0) {
setProperty("/chair/chairtop", _rotation , rot - 90);
setProperty("/mantop", _rotation , rot - 90);
} else {
rot = rot + reboundinc;
if (rot >= 380) {
rot = 20;
}
setProperty("/chair/chairtop", _rotation , rot - 90);
setProperty("/mantop", _rotation , rot - 90);
}
_x = xxx;
_y = yyy;
setProperty("/mantop", _x , xxx);
setProperty("/mantop", _y , yyy);
Symbol 431 MovieClip Frame 5
gotoAndPlay (4);
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 2
stop();
Symbol 434 MovieClip Frame 1
if (50 < Number(random(100))) {
y_dir = -1;
} else {
y_dir = 1;
}
if (50 < Number(random(100))) {
x_dir = -1;
} else {
x_dir = 1;
}
y_velocity = -4 * y_dir;
x_velocity = 4 * x_dir;
oldx = 0;
oldy = 0;
left_edge = 15;
right_edge = 535;
top_edge = 15;
bottom_edge = 450;
myhalfwidth = (_width / 2) - 6;
myhalfheight = (_height / 2) - 6;
if ((_name eq "o1") or (_name eq "o2")) {
active = 1;
} else {
active = 0;
}
if (active == 1) {
tellTarget (g) {
gotoAndPlay (2);
play();
};
}
Symbol 434 MovieClip Frame 2
if (active == 1) {
x_future = _x + x_velocity;
y_future = _y + y_velocity;
if ((/:roomtop >= y_future) or (y_future >= /:roombottom)) {
_y = oldy;
y_velocity = y_velocity * -1;
}
if ((/:roomleft >= x_future) or (x_future >= /:roomright)) {
_x = oldx;
x_velocity = x_velocity * -1;
}
oldx = _x;
oldy = _y;
_y = (_y + y_velocity);
_x = (_x + x_velocity);
collision_y = getProperty("../chair", _y) + 4;
collision_x = getProperty("../chair", _x);
test_x = _x - collision_x;
test_y = _y - collision_y;
tempW = _width / 2;
tempH = _height / 2;
if (/:safeopen == 1) {
if ((((-tempH) - 20) < test_y) and (test_y < (tempH + 20))) {
if ((((-tempW) - 20) < test_x) and (test_x < (tempW + 20))) {
tellTarget ("/moneysound") {
play();
};
Set("../chair:wad", 1);
_y = -999;
if ((_name eq "o1") or (_name eq "o4")) {
Set("/:score", /:score + 100);
if (/:grabbing == 0) {
Set("/:grabbing", 1);
tellTarget ("/mantop/torso") {
gotoAndPlay ("grab_stack");
};
}
}
if ((_name eq "o2") or (_name eq "o5")) {
Set("/:score", /:score + 50);
}
if ((_name eq "o3") or (_name eq "o6")) {
Set("/:score", /:score + 25);
}
test_y = _y - collision_y;
test_x = _x - collision_x;
index = 1;
while (index < 6) {
test = eval (("/o" add index) add ":active");
if (test == 0) {
break;
}
index++;
}
x = random(200) + /:width_offset;
y = random(200) + /:height_offset;
setProperty("../o" add index, _x , x);
setProperty("../o" add index, _y , y);
Set(("../o" add index) add ":active", 1);
tellTarget (("../o" add index) add "/g") {
gotoAndPlay ("b");
};
active = 0;
}
}
}
if (_x < /:tableleft) {
if ((/:tableleft < (x_future + myhalfwidth)) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
x_velocity = x_velocity * -1;
}
}
if (/:tableright < _x) {
if (((x_future - myhalfwidth) < /:tableright) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
x_velocity = x_velocity * -1;
}
}
if (_y < /:tabletop) {
if ((/:tabletop < (y_future + myhalfheight)) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
y_velocity = y_velocity * -1;
}
}
if (/:tablebottom < _y) {
if (((y_future - myhalfheight) < /:tablebottom) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
y_velocity = y_velocity * -1;
}
}
}
Symbol 434 MovieClip Frame 3
gotoAndPlay (2);
Symbol 435 MovieClip Frame 1
if (50 < Number(random(100))) {
y_dir = -1;
} else {
y_dir = 1;
}
if (50 < Number(random(100))) {
x_dir = -1;
} else {
x_dir = 1;
}
y_velocity = -4 * y_dir;
x_velocity = 4 * x_dir;
left_edge = 15;
right_edge = 535;
top_edge = 15;
bottom_edge = 450;
myhalfwidth = (_width / 2) - 6;
myhalfheight = (_height / 2) - 6;
if ((_name eq "o1") or (_name eq "o2")) {
active = 1;
} else {
active = 0;
}
if (active == 1) {
tellTarget (g) {
gotoAndPlay (2);
};
}
Symbol 435 MovieClip Frame 2
if (active == 1) {
x_future = _x + x_velocity;
y_future = _y + y_velocity;
if ((/:roomtop >= y_future) or (y_future >= /:roombottom)) {
y_velocity = y_velocity * -1;
}
if ((/:roomleft >= x_future) or (x_future >= /:roomright)) {
x_velocity = x_velocity * -1;
}
_y = (_y + y_velocity);
_x = (_x + x_velocity);
collision_y = getProperty("../chair", _y) + 4;
collision_x = getProperty("../chair", _x);
test_x = _x - collision_x;
test_y = _y - collision_y;
tempW = _width / 2;
tempH = _height / 2;
if (/:safeopen == 1) {
if ((((-tempH) - 20) < test_y) and (test_y < (tempH + 20))) {
if ((((-tempW) - 15) < test_x) and (test_x < (tempW + 15))) {
tellTarget ("/moneysound") {
play();
};
Set("../chair:wad", 1);
if ((_name eq "o1") or (_name eq "o4")) {
Set("/:score", /:score + 100);
}
if ((_name eq "o2") or (_name eq "o5")) {
Set("/:score", /:score + 50);
}
if ((_name eq "o3") or (_name eq "o6")) {
if (/:grabbing == 0) {
Set("/:grabbing", 1);
tellTarget ("/mantop/torso") {
gotoAndPlay ("grab_change");
};
}
Set("/:score", /:score + 25);
}
_y = -999;
test_y = _y - collision_y;
test_x = _x - collision_x;
index = 1;
while (index < 6) {
test = eval (("/o" add index) add ":active");
if (test == 0) {
break;
}
index++;
}
x = random(200) + /:width_offset;
y = random(200) + /:height_offset;
setProperty("../o" add index, _x , x);
setProperty("../o" add index, _y , y);
Set(("../o" add index) add ":active", 1);
tellTarget (("../o" add index) add "/g") {
gotoAndPlay ("b");
};
active = 0;
}
}
}
if (_x < /:tableleft) {
if ((/:tableleft < (x_future + myhalfwidth)) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
x_velocity = x_velocity * -1;
}
}
if (/:tableright < _x) {
if (((x_future - myhalfwidth) < /:tableright) and (((_y - myhalfheight) < /:tablebottom) and (/:tabletop < (_y + myhalfheight)))) {
x_velocity = x_velocity * -1;
}
}
if (_y < /:tabletop) {
if ((/:tabletop < (y_future + myhalfheight)) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
y_velocity = y_velocity * -1;
}
}
if (/:tablebottom < _y) {
if (((y_future - myhalfheight) < /:tablebottom) and (((_x - myhalfwidth) < /:tableright) and (/:tableleft < (_x + myhalfwidth)))) {
y_velocity = y_velocity * -1;
}
}
}
Symbol 435 MovieClip Frame 3
gotoAndPlay (2);
Symbol 440 MovieClip Frame 1
stop();
Symbol 440 MovieClip Frame 14
gotoAndPlay (1);
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 34
gotoAndPlay (1);
Symbol 447 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 16
gotoAndPlay (1);
Symbol 459 MovieClip Frame 1
timecount = 0;
timemax = 20;
Symbol 459 MovieClip Frame 2
timecount = timecount + 1;
if (timemax < timecount) {
Set("/:time", /:time - 1);
timecount = 0;
tellTarget ("../time") {
gotoAndStop(41 - ../:time);
};
}
if (0 >= /:time) {
tellTarget ("/safe") {
gotoAndPlay ("two");
};
trace("asdfsdf");
stop();
}
Symbol 459 MovieClip Frame 3
gotoAndPlay (2);
Symbol 464 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 51
gotoAndPlay (1);
Symbol 475 MovieClip Frame 1
stop();
Symbol 485 Button
on (release) {
Set("/:damage", 10);
Set("/:score", 0);
Set("/:money_in_safe", 0);
Set("/:scoremax", 400);
Set("/:qtest", 0);
stopAllSounds();
gotoAndPlay (25);
}
Symbol 490 Button
on (release) {
gotoAndPlay (66);
}
Symbol 495 Button
on (release) {
if (/:money_in_safe < 2600) {
gotoAndPlay (59);
} else {
gotoAndPlay (55);
}
}
Symbol 499 Button
on (release) {
gotoAndPlay (64);
}
Symbol 501 Button
on (keyPress "<Right>") {
dummy = "dummy";
}
on (keyPress "<Left>") {
dummy = "dummy";
}
on (keyPress "<Up>") {
dummy = "dummy";
}
on (keyPress "<Down>") {
dummy = "dummy";
}
on (keyPress "<Enter>") {
dummy = "dummy";
}
Symbol 509 MovieClip Frame 5
stop();
Symbol 509 MovieClip Frame 10
stop();
Symbol 509 MovieClip Frame 15
stop();
Symbol 509 MovieClip Frame 20
stop();
Symbol 520 Button
on (release) {
Set("check:str", name);
Set("check:fieldname", "name");
call("check:checktext");
if (check:status eq "ok") {
Set("check:str", email);
Set("check:fieldname", "email");
call("check:checkemail");
if (check:status eq "ok") {
Set("check:str", score);
Set("check:fieldname", "score");
call("check:checknumber");
if (check:status eq "ok") {
play();
}
}
}
status = check:message;
}
Symbol 523 MovieClip Frame 1
str = "";
stop();
Symbol 523 MovieClip Frame 10
status = "busy";
if (str eq "") {
message = ("Please enter a value for the " add fieldname) add " field.";
status = "error";
} else if (Number(length(str)) < 2) {
message = ("Please enter at least 2 characters in the " add fieldname) add " field.";
status = "error";
} else {
checkok = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ0123456789-";
checkstr = str;
status = "busy";
checkstrlength = length(str);
checkoklength = length(checkok);
j = 1;
while (Number(checkstrlength) >= Number(j)) {
ch = substring(checkstr, j, 1);
k = 1;
while (Number(checkoklength) >= Number(k)) {
chck = substring(checkok, k, 1);
if (ch eq chck) {
k = Number(checkoklength) + 1;
}
if (Number(k) == Number(checkoklength)) {
status = "error";
}
k = Number(k) + 1;
}
j = Number(j) + 1;
}
if (status eq "error") {
message = ("Please enter only letter and digit characters in the " add fieldname) add " field.";
} else {
status = "ok";
}
}
gotoAndStop (1);
Symbol 523 MovieClip Frame 20
status = "busy";
if (str eq "") {
message = ("Please enter a value for the " add fieldname) add " field.";
status = "error";
} else if (Number(length(str)) < 2) {
message = ("Please enter at least 2 characters in the " add fieldname) add " field.";
status = "error";
} else {
checkok = "0123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ \t\r\r\f";
checkstr = str;
status = "busy";
checkstrlength = length(str);
checkoklength = length(checkok);
j = 1;
while (Number(checkstrlength) >= Number(j)) {
ch = substring(checkstr, j, 1);
k = 1;
while (Number(checkoklength) >= Number(k)) {
chck = substring(checkok, k, 1);
if (ch eq chck) {
k = Number(checkoklength) + 1;
}
if (Number(k) == Number(checkoklength)) {
status = "error";
}
k = Number(k) + 1;
}
j = Number(j) + 1;
}
if (status eq "error") {
message = ("Please enter only letter and space characters in the " add fieldname) add " field.";
} else {
status = "ok";
}
}
gotoAndStop (1);
Symbol 523 MovieClip Frame 30
status = "busy";
if (str eq "") {
message = ("Please enter a value for the " add fieldname) add " field.";
status = "error";
} else if (Number(length(str)) < 2) {
message = ("Please enter at least 2 characters in the " add fieldname) add " field.";
status = "error";
} else {
checkok = "@._-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
checkstr = str;
status = "busy";
checkstrlength = length(str);
checkoklength = length(checkok);
j = 1;
while (Number(checkstrlength) >= Number(j)) {
ch = substring(checkstr, j, 1);
k = 1;
while (Number(checkoklength) >= Number(k)) {
chck = substring(checkok, k, 1);
if (ch eq chck) {
k = Number(checkoklength) + 1;
}
if (Number(k) == Number(checkoklength)) {
status = "error";
}
k = Number(k) + 1;
}
j = Number(j) + 1;
}
if (status eq "error") {
message = ("Please enter only letter, digit and @ characters in the " add fieldname) add " field.";
} else {
status = "ok";
}
}
gotoAndStop (1);
Symbol 523 MovieClip Frame 40
status = "busy";
if (str eq "") {
message = ("Please enter a value for the " add fieldname) add " field.";
status = "error";
} else if (Number(length(str)) < 2) {
message = ("Please enter at least 2 characters in the " add fieldname) add " field.";
status = "error";
} else {
checkok = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ0123456789!@#$%^&*()_-+:;?/,.\\ \t\r\r\f";
checkstr = str;
status = "busy";
checkstrlength = length(str);
checkoklength = length(checkok);
j = 1;
while (Number(checkstrlength) >= Number(j)) {
ch = substring(checkstr, j, 1);
k = 1;
while (Number(checkoklength) >= Number(k)) {
chck = substring(checkok, k, 1);
if (ch eq chck) {
k = Number(checkoklength) + 1;
}
if (Number(k) == Number(checkoklength)) {
status = "error";
}
k = Number(k) + 1;
}
j = Number(j) + 1;
}
if (status eq "error") {
message = ("Please try using more standard characters for the " add fieldname) add " field.";
} else {
status = "ok";
}
}
gotoAndStop (1);
Symbol 523 MovieClip Frame 50
status = "busy";
if (str eq "") {
message = ("Please enter a value for the " add fieldname) add " field.";
status = "error";
} else if (Number(length(str)) < 2) {
message = ("Please enter at least 2 characters in the " add fieldname) add " field.";
status = "error";
} else {
checkok = "0123456789()_-+/*. ";
checkstr = str;
status = "busy";
checkstrlength = length(str);
checkoklength = length(checkok);
j = 1;
while (Number(checkstrlength) >= Number(j)) {
ch = substring(checkstr, j, 1);
k = 1;
while (Number(checkoklength) >= Number(k)) {
chck = substring(checkok, k, 1);
if (ch eq chck) {
k = Number(checkoklength) + 1;
}
if (Number(k) == Number(checkoklength)) {
status = "error";
}
k = Number(k) + 1;
}
j = Number(j) + 1;
}
if (status eq "error") {
message = ("Please use only digits for the " add fieldname) add " field.";
} else {
status = "ok";
}
}
gotoAndStop (1);
Symbol 523 MovieClip Frame 60
status = "busy";
if (str eq "") {
message = ("Please enter a value for the " add fieldname) add " field.";
status = "error";
} else if (Number(length(str)) < 2) {
message = ("Please enter at least 1 character in the " add fieldname) add " field.";
status = "error";
} else {
checkok = "0123456789.";
checkstr = str;
status = "busy";
checkstrlength = length(str);
checkoklength = length(checkok);
j = 1;
while (Number(checkstrlength) >= Number(j)) {
ch = substring(checkstr, j, 1);
k = 1;
while (Number(checkoklength) >= Number(k)) {
chck = substring(checkok, k, 1);
if (ch eq chck) {
k = Number(checkoklength) + 1;
}
if (Number(k) == Number(checkoklength)) {
status = "error";
}
k = Number(k) + 1;
}
j = Number(j) + 1;
}
if (status eq "error") {
message = ("Please enter only digits in the " add fieldname) add " field.";
} else {
status = "ok";
}
}
gotoAndStop (1);
Symbol 531 Button
on (release) {
thename = name;
thescore = score;
encode = (((((random(100000) add "^") add thename) add "^") add thescore) add "^") add random(100000);
encodelen = length(encode);
codename = "";
codestring = "";
index = 1;
while (Number(encodelen) >= Number(index)) {
char = substring(encode, index, 1);
indexchar = 1;
while (Number(lookuplen) >= Number(indexchar)) {
if (char eq (substring(lookup, indexchar, 1))) {
charpos = indexchar;
indexchar = lookuplen;
}
indexchar = Number(indexchar) + 1;
}
charposencode = Number(charpos) + Number(index);
charposencodemod = Number(charposencode - (int(charposencode / lookuplen) * lookuplen)) + 1;
codestring = codestring add (substring(lookup, charposencodemod, 1));
index = Number(index) + 1;
}
}
Symbol 534 Button
on (release) {
key = "";
keylen = 512;
range = length(lookup);
index = 1;
while (Number(index) < Number(keylen)) {
key = (substring(lookup, random(range) + 1, 1)) add key;
index = Number(index) + 1;
}
}
Symbol 535 Button
on (release) {
decode = codestring;
decodelen = length(decode);
decodestring = "";
index = 1;
while (Number(decodelen) >= Number(index)) {
char = substring(decode, index, 1);
indexchar = 1;
while (Number(lookuplen) >= Number(indexchar)) {
if (char eq (substring(lookup, indexchar, 1))) {
charpos = indexchar;
indexchar = lookuplen;
}
indexchar = Number(indexchar) + 1;
}
charposdecode = (charpos - index) - 1;
if (Number(charposdecode) < 1) {
charposdecode = Number(charposdecode) + Number(lookuplen);
}
decodestring = decodestring add (substring(lookup, charposdecode, 1));
index = Number(index) + 1;
}
}
Symbol 536 Button
on (release) {
keychksrc = codestring;
keychksrclen = length(keychksrc);
keychknum = int(Number(keychksrclen / 4) + 0.99);
keychkwk = keychksrc add "^^^^^^^^^";
keylen = length(key);
querystring = "";
index = 0;
while (Number(index) < Number(keychknum)) {
indexfour = 1;
fourprod = 1;
while (4 >= Number(indexfour)) {
char = substring(keychkwk, Number(index * 4) + Number(indexfour), 1);
indexchar = 1;
while (Number(lookuplen) >= Number(indexchar)) {
if (char eq (substring(lookup, indexchar, 1))) {
charpos = indexchar;
indexchar = lookuplen;
}
indexchar = Number(indexchar) + 1;
}
fourprod = fourprod * charpos;
indexfour = Number(indexfour) + 1;
}
Set("fourprod" add index, fourprod);
Set("fourprodmod" add index, Number(fourprod - (int(fourprod / keylen) * keylen)) + 1);
Set("keycheckchar" add index, substring(key, eval ("fourprodmod" add index), 1));
querystring = (querystring add (substring(keychksrc, (index * 4) + 1, 4))) add eval ("keycheckchar" add index);
index = Number(index) + 1;
}
}
Symbol 537 Button
on (release) {
resulturl = "";
processurl = querystring;
while (0 < Number(length(processurl))) {
char = ord(substring(processurl, 1, 1));
processurl = substring(processurl, 2, length(processurl) - 1);
if (((Number(char) >= Number(97)) and (Number(122) >= Number(char))) or ((Number(char) >= Number(65)) and (Number(90) >= Number(char)))) {
resulturl = resulturl add chr(char);
} else if (Number(char) == Number(32)) {
resulturl = resulturl add "%20";
} else {
hexchar0 = int(char / 16);
if (Number(hexchar0) < 10) {
hexchar0 = chr(Number(hexchar0) + Number(48));
} else {
hexchar0 = chr(Number(hexchar0 - 10) + Number(65));
}
hexchar1 = int(char - (int(char / 16) * 16));
if (Number(hexchar1) < 10) {
hexchar1 = chr(Number(hexchar1) + Number(48));
} else {
hexchar1 = chr(Number(hexchar1 - 10) + Number(65));
}
resulturl = ((resulturl add "%") add hexchar0) add hexchar1;
}
}
url = "http:/ /localhost/highscore/highscore.asp?a=" add resulturl;
getURL (url, "_blank");
}
Symbol 538 Button
on (release) {
Set("../:name", name);
thescore = Number(Number(/:bonus) + Number(/:bluepoints)) + Number(/:environmentcount);
encode = (((((random(100000) add "^") add thename) add "^") add thescore) add "^") add random(100000);
encodelen = length(encode);
codename = "";
codestring = "";
index = 1;
while (Number(encodelen) >= Number(index)) {
char = substring(encode, index, 1);
indexchar = 1;
while (Number(lookuplen) >= Number(indexchar)) {
if (char eq (substring(lookup, indexchar, 1))) {
charpos = indexchar;
indexchar = lookuplen;
}
indexchar = Number(indexchar) + 1;
}
charposencode = Number(charpos) + Number(index);
charposencodemod = Number(charposencode - (int(charposencode / lookuplen) * lookuplen)) + 1;
codestring = codestring add (substring(lookup, charposencodemod, 1));
index = Number(index) + 1;
}
keychksrc = codestring;
keychksrclen = length(keychksrc);
keychknum = int(Number(keychksrclen / 4) + 0.99);
keychkwk = keychksrc add "^^^^^^^^^";
keylen = length(key);
querystring = "";
index = 0;
while (Number(index) < Number(keychknum)) {
indexfour = 1;
fourprod = 1;
while (4 >= Number(indexfour)) {
char = substring(keychkwk, Number(index * 4) + Number(indexfour), 1);
indexchar = 1;
while (Number(lookuplen) >= Number(indexchar)) {
if (char eq (substring(lookup, indexchar, 1))) {
charpos = indexchar;
indexchar = lookuplen;
}
indexchar = Number(indexchar) + 1;
}
fourprod = fourprod * charpos;
indexfour = Number(indexfour) + 1;
}
Set("fourprod" add index, fourprod);
Set("fourprodmod" add index, Number(fourprod - (int(fourprod / keylen) * keylen)) + 1);
Set("keycheckchar" add index, substring(key, eval ("fourprodmod" add index), 1));
querystring = (querystring add (substring(keychksrc, (index * 4) + 1, 4))) add eval ("keycheckchar" add index);
index = Number(index) + 1;
}
resulturl = "";
processurl = querystring;
while (0 < Number(length(processurl))) {
char = ord(substring(processurl, 1, 1));
processurl = substring(processurl, 2, length(processurl) - 1);
if (((Number(char) >= Number(97)) and (Number(122) >= Number(char))) or ((Number(char) >= Number(65)) and (Number(90) >= Number(char)))) {
resulturl = resulturl add chr(char);
} else if (Number(char) == Number(32)) {
resulturl = resulturl add "%20";
} else {
hexchar0 = int(char / 16);
if (Number(hexchar0) < 10) {
hexchar0 = chr(Number(hexchar0) + Number(48));
} else {
hexchar0 = chr(Number(hexchar0 - 10) + Number(65));
}
hexchar1 = int(char - (int(char / 16) * 16));
if (Number(hexchar1) < 10) {
hexchar1 = chr(Number(hexchar1) + Number(48));
} else {
hexchar1 = chr(Number(hexchar1 - 10) + Number(65));
}
resulturl = ((resulturl add "%") add hexchar0) add hexchar1;
}
}
url = "http:/ /localhost/highscore/highscore.asp?a=" add resulturl;
getURL (url, "_blank");
}
Symbol 539 MovieClip Frame 1
thename = ../:name;
if (thename eq "") {
thename = "anonymous";
}
theemail = ../:email;
if (thename eq "") {
theemail = "anonymous@nowhere.com";
}
thescore = 1;
thescore1 = ../:score;
thescore2 = ../:score2;
thescore3 = ../:score3;
encode = (((((((((((((random(100000) add "^") add thename) add "^") add theemail) add "^") add thescore) add "^") add thescore1) add "^") add thescore2) add "^") add thescore3) add "^") add random(100000);
call("encode");
Symbol 539 MovieClip Frame 2
url = "http://www.eatmail5000.co.uk/agentfooty/highscore.asp?a=" add resulturl;
getURL (url, "_blank");
tellTarget ("../") {
play();
};
Symbol 539 MovieClip Frame 6
stop();
Symbol 539 MovieClip Frame 9
response = -10;
lookup = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_()! ^?,+/.@";
lookuplen = length(lookup);
encodelen = length(encode);
codename = "";
codestring = "";
index = 1;
while (Number(encodelen) >= Number(index)) {
char = substring(encode, index, 1);
indexchar = 1;
while (Number(lookuplen) >= Number(indexchar)) {
if (char eq (substring(lookup, indexchar, 1))) {
charpos = indexchar;
indexchar = lookuplen;
}
indexchar = Number(indexchar) + 1;
}
charposencode = Number(charpos) + Number(index);
charposencodemod = Number(charposencode - (int(charposencode / lookuplen) * lookuplen)) + 1;
codestring = codestring add (substring(lookup, charposencodemod, 1));
index = Number(index) + 1;
}
keychksrc = codestring;
keychksrclen = length(keychksrc);
keychknum = int(Number(keychksrclen / 4) + 0.99);
keychkwk = keychksrc add "^^^^^^^^^";
keylen = length(key);
querystring = "";
index = 0;
while (Number(index) < Number(keychknum)) {
indexfour = 1;
fourprod = 1;
while (4 >= Number(indexfour)) {
char = substring(keychkwk, Number(index * 4) + Number(indexfour), 1);
indexchar = 1;
while (Number(lookuplen) >= Number(indexchar)) {
if (char eq (substring(lookup, indexchar, 1))) {
charpos = indexchar;
indexchar = lookuplen;
}
indexchar = Number(indexchar) + 1;
}
fourprod = fourprod * charpos;
indexfour = Number(indexfour) + 1;
}
Set("fourprod" add index, fourprod);
Set("fourprodmod" add index, Number(fourprod - (int(fourprod / keylen) * keylen)) + 1);
Set("keycheckchar" add index, substring(key, eval ("fourprodmod" add index), 1));
querystring = (querystring add (substring(keychksrc, (index * 4) + 1, 4))) add eval ("keycheckchar" add index);
index = Number(index) + 1;
}
resulturl = "";
processurl = querystring;
while (0 < Number(length(processurl))) {
char = ord(substring(processurl, 1, 1));
processurl = substring(processurl, 2, length(processurl) - 1);
if (((Number(char) >= Number(97)) and (Number(122) >= Number(char))) or ((Number(char) >= Number(65)) and (Number(90) >= Number(char)))) {
resulturl = resulturl add chr(char);
} else if (Number(char) == Number(32)) {
resulturl = resulturl add "%20";
} else {
hexchar0 = int(char / 16);
if (Number(hexchar0) < 10) {
hexchar0 = chr(Number(hexchar0) + Number(48));
} else {
hexchar0 = chr(Number(hexchar0 - 10) + Number(65));
}
hexchar1 = int(char - (int(char / 16) * 16));
if (Number(hexchar1) < 10) {
hexchar1 = chr(Number(hexchar1) + Number(48));
} else {
hexchar1 = chr(Number(hexchar1 - 10) + Number(65));
}
resulturl = ((resulturl add "%") add hexchar0) add hexchar1;
}
}
Symbol 541 MovieClip Frame 1
score = /:money_in_safe;
stop();
Symbol 541 MovieClip Frame 5
trace("1");
Symbol 541 MovieClip Frame 10
stop();
Symbol 541 MovieClip Frame 15
stop();
Symbol 548 Button
on (release) {
if (0 < /:money_in_safe) {
gotoAndPlay (55);
}
}
Symbol 565 Button
on (release) {
tellTarget ("/") {
gotoAndPlay ("main");
};
}
Symbol 569 Button
on (release) {
play();
}
Symbol 571 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 30
loadVariables ("http://www.eatmail5000.co.uk/agentfooty/mailfriend.asp", "_root.mailafriend", "POST");
stop();
Symbol 573 Button
on (release) {
Set("/:damage", 10);
Set("/:score", 0);
Set("/:money_in_safe", 0);
Set("/:scoremax", 400);
stopAllSounds();
gotoAndPlay (25);
}
Symbol 574 Button
on (release) {
if (/:money_in_safe < 3000) {
gotoAndPlay (59);
} else {
gotoAndPlay (55);
}
}
Symbol 577 Button
on (release) {
getURL ("http://www.cakegroup.com", "_blank");
}
Symbol 579 Button
on (keyPress "<Up>") {
dummy = "dummy";
}
on (keyPress "<Right>") {
dummy = "dummy";
}
on (keyPress "<Left>") {
dummy = "dummy";
}
on (keyPress "<Down>") {
dummy = "dummy";
}
on (keyPress "<Enter>") {
dummy = "dummy";
}
Symbol 581 Button
on (release) {
getURL ("http://www.unit9.com", "_blank");
}