Frame 1
_root._quality = "BEST";
stop();
Instance of Symbol 3 MovieClip [preloader] "preloader" in Frame 1
onClipEvent (enterFrame) {
_width = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 150);
_parent.lblLoading = ((("LOADING [ " + Math.floor(_root.getBytesLoaded() / 1024)) + "kb / ") + Math.floor(_root.getBytesTotal() / 1024)) + "kb ]";
if (_width > 149) {
_root.nextFrame();
}
}
Frame 2
fscommand ("showmenu", false);
bribes = 2;
score = 0;
level = 1;
time = 0;
nextbribe = 15000;
_root._quality = "BEST";
for (a in _root) {
if ((typeof(_root[a]) == "movieclip") && (_root[a]._name != "z")) {
removeMovieClip(_root[a]);
}
}
stop();
Instance of Symbol 20 MovieClip "z" in Frame 2
onClipEvent (load) {
if (_root._currentframe == 2) {
this.gotoAndPlay(2);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
play();
}
Instance of Symbol 23 MovieClip in Frame 2
onClipEvent (load) {
var tmr = _root.btime;
if (tmr > 0) {
var mins = int(tmr / 60000);
tmr = tmr - (mins * 60000);
var sec = int(tmr / 1000);
tmr = tmr - (sec * 1000);
var ms = int(tmr / 10);
time = "best time: ";
if (mins.toString().length == 1) {
time = time + (("0" + mins) + ":");
} else {
time = time + (mins + ":");
}
if (sec.toString().length == 1) {
time = time + (("0" + sec) + ":");
} else {
time = time + (sec + ":");
}
if (ms.toString().length == 1) {
time = time + ("0" + ms);
} else if (ms.toString().length == 0) {
time = time + "00";
} else {
time = time + ms;
}
} else {
time = "";
}
}
Instance of Symbol 23 MovieClip in Frame 2
onClipEvent (load) {
var tmr = _root.btime;
if (tmr > 0) {
var mins = int(tmr / 60000);
tmr = tmr - (mins * 60000);
var sec = int(tmr / 1000);
tmr = tmr - (sec * 1000);
var ms = int(tmr / 10);
time = "best time: ";
if (mins.toString().length == 1) {
time = time + (("0" + mins) + ":");
} else {
time = time + (mins + ":");
}
if (sec.toString().length == 1) {
time = time + (("0" + sec) + ":");
} else {
time = time + (sec + ":");
}
if (ms.toString().length == 1) {
time = time + ("0" + ms);
} else if (ms.toString().length == 0) {
time = time + "00";
} else {
time = time + ms;
}
} else {
time = "";
}
}
Frame 3
_root._quality = "MEDIUM";
obs = 0;
lowobs = 0;
this.krayzie.swapDepths(50000);
this.bonus.swapDepths(49999);
stop();
Instance of Symbol 67 MovieClip "house1" in Frame 3
onClipEvent (load) {
hasFence = false;
roadCount = int(random(2) + 5);
}
onClipEvent (enterFrame) {
if ((_x + (_width / 2)) < -100) {
_x = (_x + 1500);
roadCount--;
if (roadCount == 0) {
roadCount = int(random(3) + 3);
hasFence = false;
this.gotoAndStop(3);
if (_root.pr.pig._x > _root.pr.pi._x) {
cops.gotoAndStop(1);
}
} else {
var oc = random(100 - ((4 - _root.level) * 10));
if (oc < 35) {
nObstacles = 0;
} else if (oc < 64) {
nObstacles = 1;
} else if (oc < 88) {
nObstacles = 2;
} else {
nObstacles = 3;
}
rnd = random(10);
if (rnd < 2) {
_root.obs++;
duplicateMovieClip (_root.dog, "obs" + _root.obs, _root.obs);
_root["obs" + _root.obs]._x = _x - 40;
}
var rnd = random(10);
if (rnd < 7) {
hasFence = true;
_root.obs++;
duplicateMovieClip (_root.metal_fence, "obs" + _root.obs, _root.obs);
_root["obs" + _root.obs]._x = _x + 495;
t = new Array();
var i = 1;
while (i <= nObstacles) {
tryAgain = false;
_root.obs++;
rnd = int(random(6));
if (rnd == 0) {
duplicateMovieClip (_root.lawn_chair, "obs" + _root.obs, _root.obs);
} else if (rnd == 1) {
duplicateMovieClip (_root.garbage_can, "obs" + _root.obs, _root.obs);
} else if (rnd == 2) {
duplicateMovieClip (_root.dog_house, "obs" + _root.obs, _root.obs);
} else if (rnd == 3) {
duplicateMovieClip (_root.fire_hydrant, "obs" + _root.obs, _root.obs);
} else if (rnd == 4) {
duplicateMovieClip (_root.blue_box, "obs" + _root.obs, _root.obs);
} else if (rnd == 5) {
duplicateMovieClip (_root.bush, "obs" + _root.obs, _root.obs);
}
t[i] = rnd;
j = 1;
while (j <= (i - 1)) {
if (t[i] == t[j]) {
_root.obs--;
i--;
tryAgain = true;
}
j++;
}
if (tryAgain != true) {
minX = _x - 70;
maxX = _x + 420;
var loopCount = 0;
do {
tooClose = false;
_root["obs" + _root.obs]._x = random(maxX - minX) + minX;
if ((_root["obs" + _root.obs]._x > (_x + 100)) && (_root["obs" + _root.obs]._x < (_x + 290))) {
tooClose = true;
}
var j = 1;
while (j <= (i - 1)) {
if (Math.abs(_root["obs" + _root.obs]._x - _root["obs" + (_root.obs - j)]._x) < 110) {
tooClose = true;
break;
}
j++;
}
loopCount++;
if (loopCount > 50) {
_root.sk.kill("obs" + _root.obs);
loopCount = 0;
_root.obs--;
}
} while (tooClose == true);
}
i++;
}
if (this.hasFence == true) {
if (_root.house2.hasFence == false) {
_root.obs++;
duplicateMovieClip (_root.metal_fence, "obs" + _root.obs, _root.obs);
_root["obs" + _root.obs]._x = _x - 214.7;
}
}
} else {
hasFence = false;
}
play();
}
}
}
Instance of Symbol 67 MovieClip "house2" in Frame 3
onClipEvent (load) {
hasFence = false;
}
onClipEvent (enterFrame) {
if ((_x + (_width / 2)) < -100) {
_x = (_x + 1500);
var oc = random(100 - ((4 - _root.level) * 10));
if (oc < 35) {
nObstacles = 0;
} else if (oc < 64) {
nObstacles = 1;
} else if (oc < 88) {
nObstacles = 2;
} else {
nObstacles = 3;
}
rnd = random(10);
if (rnd < 2) {
_root.obs++;
duplicateMovieClip (_root.dog, "obs" + _root.obs, _root.obs);
_root["obs" + _root.obs]._x = _x - 40;
}
var rnd = random(10);
if (rnd < 7) {
hasFence = true;
_root.obs++;
duplicateMovieClip (_root.metal_fence, "obs" + _root.obs, _root.obs);
_root["obs" + _root.obs]._x = _x + 495;
t = new Array();
var i = 1;
while (i <= nObstacles) {
tryAgain = false;
_root.obs++;
rnd = int(random(6));
if (rnd == 0) {
duplicateMovieClip (_root.lawn_chair, "obs" + _root.obs, _root.obs);
} else if (rnd == 1) {
duplicateMovieClip (_root.garbage_can, "obs" + _root.obs, _root.obs);
} else if (rnd == 2) {
duplicateMovieClip (_root.dog_house, "obs" + _root.obs, _root.obs);
} else if (rnd == 3) {
duplicateMovieClip (_root.fire_hydrant, "obs" + _root.obs, _root.obs);
} else if (rnd == 4) {
duplicateMovieClip (_root.blue_box, "obs" + _root.obs, _root.obs);
} else if (rnd == 5) {
duplicateMovieClip (_root.bush, "obs" + _root.obs, _root.obs);
}
t[i] = rnd;
j = 1;
while (j <= (i - 1)) {
if (t[i] == t[j]) {
_root.obs--;
i--;
tryAgain = true;
}
j++;
}
if (tryAgain != true) {
minX = _x - 70;
maxX = _x + 420;
var loopCount = 0;
do {
tooClose = false;
_root["obs" + _root.obs]._x = random(maxX - minX) + minX;
if ((_root["obs" + _root.obs]._x > (_x + 100)) && (_root["obs" + _root.obs]._x < (_x + 290))) {
tooClose = true;
}
var j = 1;
while (j <= (i - 1)) {
if (Math.abs(_root["obs" + _root.obs]._x - _root["obs" + (_root.obs - j)]._x) < 110) {
tooClose = true;
break;
}
j++;
}
loopCount++;
if (loopCount > 50) {
_root.sk.kill("obs" + _root.obs);
loopCount = 0;
_root.obs--;
}
} while (tooClose == true);
}
i++;
}
if (this.hasFence == true) {
if (_root.house2.hasFence == false) {
_root.obs++;
duplicateMovieClip (_root.metal_fence, "obs" + _root.obs, _root.obs);
_root["obs" + _root.obs]._x = _x - 214.7;
}
}
} else {
hasFence = false;
}
play();
}
}
Instance of Symbol 70 MovieClip "dog_house" in Frame 3
onClipEvent (load) {
gotoAndStop (8);
}
onClipEvent (enterFrame) {
if (_name != "dog_house") {
if ((_x + (_width / 2)) < -50) {
_root.sk.kill(_name);
}
if ((_x < 610) && (_x > 580)) {
gotoAndStop (1);
}
if ((_currentframe == 1) && (_parent.krayzie.invincible == 0)) {
kx = _root.krayzie._x;
ky = _root.krayzie._y;
if ((kx > (_x - 90)) && (kx < (_x + 90))) {
if (this.hitTest(kx + _root.krayzie.h1._x, ky + _root.krayzie.h1._y, false) || (this.hitTest(kx + _root.krayzie.h2._x, ky + _root.krayzie.h2._y, false))) {
if (_parent.krayzie._currentframe < 14) {
_parent.krayzie.gotoAndPlay("cfs");
} else if (_parent.krayzie._currentframe < 30) {
_parent.krayzie.gotoAndPlay("fall");
}
play();
}
}
}
}
}
Instance of Symbol 85 MovieClip "fire_hydrant" in Frame 3
onClipEvent (load) {
gotoAndStop (6);
}
onClipEvent (enterFrame) {
if (_name != "fire_hydrant") {
if ((_x + (_width / 2)) < -50) {
_root.sk.kill(_name);
}
if ((_x < 610) && (_x > 580)) {
gotoAndStop (1);
}
if ((_currentframe == 1) && (_parent.krayzie.invincible == 0)) {
kx = _root.krayzie._x;
ky = _root.krayzie._y;
if ((kx > (_x - 60)) && (kx < (_x + 60))) {
if (this.hitTest(kx + _root.krayzie.h1._x, ky + _root.krayzie.h1._y, false) || (this.hitTest(kx + _root.krayzie.h2._x, ky + _root.krayzie.h2._y, false))) {
if (_parent.krayzie._currentframe < 14) {
_parent.krayzie.gotoAndPlay("cfs");
} else if (_parent.krayzie._currentframe < 30) {
_parent.krayzie.gotoAndPlay("fall");
}
play();
}
}
}
}
}
Instance of Symbol 93 MovieClip "dog" in Frame 3
onClipEvent (load) {
this.gotoAndStop(11);
moveAmt = 390;
clr = new Color(this);
ctr = new Object();
col = int(random(6));
if (col == 0) {
ctr = {ra:"100", rb:"-25", ga:"100", gb:"-70", ba:"100", bb:"-100", aa:"100", ab:"0"};
} else if (col == 1) {
ctr = {ra:"100", rb:"0", ga:"100", gb:"-22", ba:"100", bb:"-35", aa:"100", ab:"0"};
} else if (col == 2) {
ctr = {ra:"100", rb:"27", ga:"100", gb:"37", ba:"100", bb:"-42", aa:"100", ab:"0"};
} else if (col == 3) {
ctr = {ra:"100", rb:"-100", ga:"100", gb:"-100", ba:"-100", bb:"-100", aa:"100", ab:"0"};
}
clr.setTransform(ctr);
}
onClipEvent (enterFrame) {
if (_name != "dog") {
if ((_x + (_width / 2)) < -50) {
_root.sk.kill(_name);
}
if (_currentframe > 9) {
if (moveAmt == 390) {
if (Math.abs(_x - _parent.krayzie._x) < 7) {
gotoAndPlay (1);
moveAmt = 390;
}
}
} else {
_x = (_x + Math.max(5, _parent.krayzie.speed - 3));
moveAmt = moveAmt - Math.max(5, _parent.krayzie.speed - 3);
if (moveAmt <= 0) {
this.gotoAndPlay(10);
}
}
}
}
Instance of Symbol 99 MovieClip "garbage_can" in Frame 3
onClipEvent (load) {
gotoAndStop (5);
}
onClipEvent (enterFrame) {
if (_name != "garbage_can") {
if ((_x + (_width / 2)) < -60) {
_root.sk.kill(_name);
}
if ((_x < 610) && (_x > 580)) {
gotoAndStop (1);
}
if ((_currentframe == 1) && (_parent.krayzie.invincible == 0)) {
kx = _root.krayzie._x;
ky = _root.krayzie._y;
if ((kx > (_x - 40)) && (kx < (_x + 100))) {
if (this.hitTest(kx + _root.krayzie.h1._x, ky + _root.krayzie.h1._y, false) || (this.hitTest(kx + _root.krayzie.h2._x, ky + _root.krayzie.h2._y, false))) {
if (_parent.krayzie._currentframe < 14) {
_parent.krayzie.gotoAndPlay("cfs");
} else if (_parent.krayzie._currentframe < 30) {
_parent.krayzie.gotoAndPlay("fall");
}
play();
}
}
}
}
}
Instance of Symbol 104 MovieClip "metal_fence" in Frame 3
onClipEvent (enterFrame) {
if (_name != "metal_fence") {
if ((_x + (_width / 2)) < -50) {
_root.sk.kill(_name);
}
if ((_currentframe == 1) && (_parent.krayzie.invincible == 0)) {
kx = _root.krayzie._x;
ky = _root.krayzie._y;
if ((kx > (_x + 50)) && (kx < (_x + 170))) {
if (this.hit.hitTest(kx + _root.krayzie.h1._x, ky + _root.krayzie.h1._y, false) || (this.hit.hitTest(kx + _root.krayzie.h2._x, ky + _root.krayzie.h2._y, false))) {
if (_parent.krayzie._currentframe < 14) {
_parent.krayzie.gotoAndPlay("cfs");
} else if (_parent.krayzie._currentframe < 30) {
_parent.krayzie.gotoAndPlay("fall");
}
play();
}
}
}
}
}
Instance of Symbol 150 MovieClip "krayzie" in Frame 3
onClipEvent (load) {
function moveEverything(amount) {
_root.pr.pi._x = _root.pr.pi._x + (amount / 100);
var i = _root.lowobs;
while (i <= _root.obs) {
_parent["obs" + i]._x = _parent["obs" + i]._x - amount;
i++;
}
_parent.house1._x = _parent.house1._x - amount;
_parent.house2._x = _parent.house2._x - amount;
_parent.bonus._x = _parent.bonus._x - amount;
}
rgt = 39;
lft = 37;
speed = 15;
invincible = 0;
}
onClipEvent (enterFrame) {
_root.time = _root.time + 45.4545454545455;
if (invincible > 0) {
invincible--;
if (invincible == 0) {
_alpha = 100;
} else {
_alpha = ((40 + (20 * (invincible % 2))) + (20 * (invincible % 4)));
}
}
if (speed < 20) {
if (Key.isDown(rgt)) {
speed = speed + 0.5;
}
}
if ((speed > 10) && (_currentframe < 31)) {
if (Key.isDown(lft)) {
speed = speed - 0.5;
}
}
if (!((_currentframe >= 31) && (_currentframe <= 52))) {
var xdif = (_x - (88.5 + ((speed - 10) * 6)));
_x = (_x - (xdif / 3));
movePlus = xdif / 6;
} else {
movePlus = 0;
}
moveEverything(speed + movePlus);
if ((Key.isDown(32) || (Key.isDown(38))) && (_currentframe < 14)) {
gotoAndPlay (15);
}
}
Instance of Symbol 153 MovieClip "lawn_chair" in Frame 3
onClipEvent (load) {
gotoAndStop (7);
}
onClipEvent (enterFrame) {
if (_name != "lawn_chair") {
if ((_x + (_width / 2)) < -50) {
_root.sk.kill(_name);
}
if ((_x < 610) && (_x > 580)) {
gotoAndStop (1);
}
if ((_currentframe == 1) && (_parent.krayzie.invincible == 0)) {
kx = _root.krayzie._x;
ky = _root.krayzie._y;
if ((kx > (_x - 90)) && (kx < (_x + 90))) {
if (this.hitTest(kx + _root.krayzie.h1._x, ky + _root.krayzie.h1._y, false) || (this.hitTest(kx + _root.krayzie.h2._x, ky + _root.krayzie.h2._y, false))) {
if (_parent.krayzie._currentframe < 14) {
_parent.krayzie.gotoAndPlay("cfs");
} else if (_parent.krayzie._currentframe < 30) {
_parent.krayzie.gotoAndPlay("fall");
}
play();
}
}
}
}
}
Instance of Symbol 163 MovieClip "bonus" in Frame 3
onClipEvent (load) {
startY = _y;
}
onClipEvent (enterFrame) {
if ((_x + (_width / 2)) < -50) {
_x = (_x + (random(1000) + 1000));
_y = (startY - random(20));
gotoAndStop(int(random(3) + 1));
}
if (_x < 600) {
_y = (_y - 1.5);
if (this.bonus._currentframe == 1) {
if (this.hitTest(_root.krayzie)) {
this.bonus.play();
_root.pr.pig._x--;
if (_currentframe == 1) {
_root.score = _root.score + 500;
_root.time = _root.time - 1000;
} else if (_currentframe == 2) {
_root.score = _root.score + 250;
_root.time = _root.time - 1000;
} else {
_root.score = _root.score + 100;
_root.time = _root.time - 1000;
}
_root.sk.setScore();
}
}
}
}
Instance of Symbol 171 MovieClip "blue_box" in Frame 3
onClipEvent (load) {
gotoAndStop (7);
}
onClipEvent (enterFrame) {
if (_name != "blue_box") {
if ((_x + (_width / 2)) < -60) {
_root.sk.kill(_name);
}
if ((_x < 610) && (_x > 580)) {
gotoAndStop (1);
}
if ((_currentframe == 1) && (_parent.krayzie.invincible == 0)) {
kx = _root.krayzie._x;
ky = _root.krayzie._y;
if ((kx > (_x - 40)) && (kx < (_x + 100))) {
if (this.hitTest(kx + _root.krayzie.h1._x, ky + _root.krayzie.h1._y, false) || (this.hitTest(kx + _root.krayzie.h2._x, ky + _root.krayzie.h2._y, false))) {
if (_parent.krayzie._currentframe < 14) {
_parent.krayzie.gotoAndPlay("cfs");
} else if (_parent.krayzie._currentframe < 30) {
_parent.krayzie.gotoAndPlay("fall");
}
play();
}
}
}
}
}
Instance of Symbol 176 MovieClip "bush" in Frame 3
onClipEvent (load) {
gotoAndStop (26);
}
onClipEvent (enterFrame) {
if (_name != "bush") {
if ((_x + (_width / 2)) < -50) {
_root.sk.kill(_name);
}
if ((_x < 610) && (_x > 580)) {
gotoAndStop (1);
}
if ((_currentframe == 1) && (_parent.krayzie.invincible == 0)) {
kx = _root.krayzie._x;
ky = _root.krayzie._y;
if ((kx > (_x - 90)) && (kx < (_x + 90))) {
if (this.hitTest(kx + _root.krayzie.h1._x, ky + _root.krayzie.h1._y, false) || (this.hitTest(kx + _root.krayzie.h2._x, ky + _root.krayzie.h2._y, false))) {
if (_parent.krayzie._currentframe < 14) {
_parent.krayzie.gotoAndPlay("cfs");
} else if (_parent.krayzie._currentframe < 30) {
_parent.krayzie.gotoAndPlay("fall");
}
play();
}
}
}
}
}
Instance of Symbol 179 MovieClip "sk" in Frame 3
onClipEvent (load) {
function setScore() {
if (_root.score >= _root.nextbribe) {
_root.bribes++;
_root.score = _root.score - 15000;
_root.bl.bribes = "x" + _root.bribes;
}
this.score1 = "SCORE: ";
var tZeros = (5 - _root.score.toString().length);
switch (tZeros) {
case 1 :
this.score1 = this.score1 + "0";
break;
case 2 :
this.score1 = this.score1 + "00";
break;
case 3 :
this.score1 = this.score1 + "000";
break;
case 4 :
this.score1 = this.score1 + "0000";
}
this.score1 = this.score1 + _root.score;
}
function kill(targ) {
removeMovieClip(_root[targ]);
if (targ == ("obs" + _root.lowobs)) {
lowobs++;
}
}
this.swapDepths(60000);
setScore();
}
Instance of Symbol 184 MovieClip "bl" in Frame 3
onClipEvent (load) {
this.swapDepths(60001);
this.bribes = "x" + _root.bribes;
}
Instance of Symbol 188 MovieClip "sw" in Frame 3
onClipEvent (load) {
this.swapDepths(60002);
}
onClipEvent (enterFrame) {
var tmr = _root.time;
var mins = int(tmr / 60000);
tmr = tmr - (mins * 60000);
var sec = int(tmr / 1000);
tmr = tmr - (sec * 1000);
var ms = int(tmr / 10);
if (mins.toString().length == 1) {
time = ("0" + mins) + ":";
} else {
time = mins + ":";
}
if (sec.toString().length == 1) {
time = time + (("0" + sec) + ":");
} else {
time = time + (sec + ":");
}
if (ms.toString().length == 1) {
time = time + ("0" + ms);
} else if (ms.toString().length == 0) {
time = time + "00";
} else {
time = time + ms;
}
}
Instance of Symbol 195 MovieClip "pr" in Frame 3
onClipEvent (load) {
this.swapDepths(60004);
}
Frame 4
for (a in _root) {
if ((typeof(_root[a]) == "movieclip") && (_root[a]._name != "z")) {
removeMovieClip(_root[a]);
}
}
_root._quality = "BEST";
bribes--;
if (bribes == -1) {
stopAllSounds();
gotoAndStop (2);
}
bribesLeft = "bribes left: " + bribes;
stop();
Frame 5
lvl = "LEVEL: " + _root.level;
for (a in _root) {
if ((typeof(_root[a]) == "movieclip") && ((_root[a]._name != "c") || (_root[a]._name != "z"))) {
removeMovieClip(_root[a]);
}
}
Frame 6
gotoAndStop (2);
Frame 7
for (a in _root) {
if ((typeof(_root[a]) == "movieclip") && (((_root[a]._name != "c") || (_root[a]._name != "z")) || (_root[a]._name != "x"))) {
removeMovieClip(_root[a]);
}
}
Instance of Symbol 23 MovieClip "x" in Frame 7
onClipEvent (load) {
var tmr = _root.btime;
if (tmr > 0) {
var mins = int(tmr / 60000);
tmr = tmr - (mins * 60000);
var sec = int(tmr / 1000);
tmr = tmr - (sec * 1000);
var ms = int(tmr / 10);
time = "best time: ";
if (mins.toString().length == 1) {
time = time + (("0" + mins) + ":");
} else {
time = time + (mins + ":");
}
if (sec.toString().length == 1) {
time = time + (("0" + sec) + ":");
} else {
time = time + (sec + ":");
}
if (ms.toString().length == 1) {
time = time + ("0" + ms);
} else if (ms.toString().length == 0) {
time = time + "00";
} else {
time = time + ms;
}
} else {
time = "";
}
}
Symbol 15 Button
on (release) {
getURL ("http://killingtime.h3nt.com/contact.html", "_blank");
}
Symbol 19 Button
on (release) {
getURL ("http://killingtime.h3nt.com/contact.html", "_blank");
}
Symbol 20 MovieClip Frame 1
stop();
Symbol 30 Button
on (release) {
if (_root.seen_intro == true) {
gotoAndStop (3);
} else {
gotoAndStop (5);
}
}
Instance of Symbol 39 MovieClip in Symbol 43 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(int(random(2) + 1));
}
Symbol 66 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 1
stop();
Instance of Symbol 36 MovieClip in Symbol 67 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(int(random(4) + 1));
}
Instance of Symbol 43 MovieClip in Symbol 67 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(int(random(4) + 1));
}
Instance of Symbol 48 MovieClip in Symbol 67 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(int(random(4) + 1));
}
Instance of Symbol 53 MovieClip in Symbol 67 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(int(random(4) + 1));
}
Instance of Symbol 58 MovieClip in Symbol 67 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(int(random(4) + 1));
}
Symbol 67 MovieClip Frame 2
gotoAndStop (1);
Instance of Symbol 66 MovieClip "cops" in Symbol 67 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_currentframe == 1) {
if (_parent._x < (_root.krayzie._x + 50)) {
_root.pr.pig.sirens.stop();
_root.gotoAndStop(4);
}
}
}
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 7
stop();
Symbol 70 MovieClip Frame 8
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 5
stop();
stop();
Symbol 85 MovieClip Frame 6
stop();
Symbol 93 MovieClip Frame 9
gotoAndPlay (1);
Symbol 93 MovieClip Frame 11
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 4
stop();
Symbol 99 MovieClip Frame 5
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 8
stop();
Symbol 108 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 14
gotoAndPlay (1);
Symbol 150 MovieClip Frame 30
gotoAndPlay (4);
Symbol 150 MovieClip Frame 31
speed = Math.max(8, speed - 7);
Symbol 150 MovieClip Frame 35
speed = speed - 3;
Symbol 150 MovieClip Frame 38
speed = 1;
Symbol 150 MovieClip Frame 46
speed = 4;
Symbol 150 MovieClip Frame 47
speed = 7;
Symbol 150 MovieClip Frame 49
speed = 11;
invincible = 10;
gotoAndPlay (11);
Symbol 150 MovieClip Frame 54
gotoAndPlay (31);
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 6
stop();
Symbol 153 MovieClip Frame 7
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 6
stop();
Symbol 171 MovieClip Frame 7
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 25
stop();
Symbol 176 MovieClip Frame 26
stop();
Instance of Symbol 191 MovieClip "pi" in Symbol 195 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x > 193) {
_parent.pig.sirens.stop();
if (_root.level == 5) {
if ((_root.time < _root.btime) || ((!_root.btime) > 0)) {
_root.btime = _root.time;
_root.gotoAndStop(7);
}
} else {
_root.level++;
_root.gotoAndStop(5);
}
}
}
Instance of Symbol 193 MovieClip "pig" in Symbol 195 MovieClip Frame 1
onClipEvent (load) {
spe = (17.3 + (_root.level / 10)) / 100;
}
onClipEvent (enterFrame) {
_x = (_x + spe);
if (_x > 193) {
sirens.stop();
_root.gotoAndStop(4);
}
}
onClipEvent (load) {
function sirenVol() {
if (_parent.pig._x > _parent.pi._x) {
sirens.setVolume(40);
} else {
sirens.setVolume(Math.max(0, 40 - ((_parent.pi._x - _parent.pig._x) * 1.5)));
}
}
sirens = new Sound(this);
sirens.attachSound("siren");
sirens.start(0, 9999999);
sirens.setVolume(10);
setInterval(sirenVol, 1500);
}
Symbol 203 Button
on (release) {
gotoAndStop (3);
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 3
play();
Symbol 217 MovieClip Frame 16
this.gotoAndStop(1);
Symbol 228 MovieClip Frame 19
b.gotoAndStop(2);
Symbol 228 MovieClip Frame 20
b.gotoAndStop(2);
Symbol 228 MovieClip Frame 21
b.gotoAndStop(2);
Symbol 228 MovieClip Frame 23
b.gotoAndStop(2);
Symbol 228 MovieClip Frame 29
b.gotoAndStop(2);
Symbol 228 MovieClip Frame 39
b.gotoAndStop(2);
Symbol 228 MovieClip Frame 50
b.gotoAndStop(3);
Symbol 228 MovieClip Frame 71
this.b.gotoAndStop(17);
this.b.gotoAndStop(17);
Symbol 228 MovieClip Frame 77
this.b.gotoAndStop(17);
Symbol 228 MovieClip Frame 95
b.gotoAndPlay(18);
Symbol 228 MovieClip Frame 116
_root.gotoAndStop(3);
Symbol 232 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 239 Button
on (release) {
gotoAndStop (2);
}