Frame 1
Stage.showMenu = false;
Frame 2
var sound = new Sound();
sound.attachSound("menu");
var sound1 = new Sound();
sound.attachSound("ingame");
var sound2 = new Sound();
sound.attachSound("score");
vol = 100;
onEnterFrame = function () {
sound.setVolume(vol);
};
vol = 100;
onEnterFrame = function () {
sound1.setVolume(vol);
};
vol = 100;
onEnterFrame = function () {
sound2.setVolume(vol);
};
stop();
Mouse.show();
var lives = 100;
var strangers = 0;
shinyButton.onRollOver = function () {
this.glitter.play();
};
shinyButton2.onRollOver = function () {
this.glitter.play();
};
Instance of Symbol 58 MovieClip in Frame 2
onClipEvent (load) {
this._y = 254;
this._x = 85;
}
onClipEvent (enterFrame) {
this._x = this._x - 50;
if (this._x <= 100) {
this._x = 400;
}
}
Instance of Symbol 69 MovieClip "shinyButton" in Frame 2
on (press) {
stopAllSounds();
_root.gotoAndStop("level 1");
}
Instance of Symbol 71 MovieClip "shinyButton2" in Frame 2
on (press) {
stopAllSounds();
_root.gotoAndStop("instructions1");
}
Frame 3
stop();
var sscore = 0;
man.onEnterFrame = function () {
radius = 8;
if (Key.isDown(38)) {
this._y = this._y - 5;
this._rotation = 180;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
this._rotation = 0;
}
if (Key.isDown(37)) {
this._x = this._x - 5;
this._rotation = 90;
}
if (Key.isDown(39)) {
this._x = this._x + 5;
this._rotation = -90;
}
while (wall.hitTest(this._x, this._y + radius, true)) {
this._y--;
}
while (wall.hitTest(this._x, this._y - radius, true)) {
this._y++;
}
while (wall.hitTest(this._x - radius, this._y, true)) {
this._x++;
}
while (wall.hitTest(this._x + radius, this._y, true)) {
this._x--;
}
};
Instance of Symbol 89 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.gotoAndStop(5);
}
}
Instance of Symbol 92 MovieClip "man" in Frame 3
onClipEvent (enterFrame) {
if (this._y > 600) {
this._y = 600;
}
if (this._y < 0) {
this._y = 0;
}
if (this._x > 600) {
this._x = 600;
}
if (this._x < 0) {
this._x = 0;
}
}
Instance of Symbol 94 MovieClip in Frame 3
onClipEvent (load) {
this._y = 170;
this._x = 350;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.lives--;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 96 MovieClip in Frame 3
onClipEvent (load) {
this._y = 170;
this._x = 150;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.lives--;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 98 MovieClip in Frame 3
onClipEvent (load) {
this._y = 250;
this._x = 50;
}
onClipEvent (enterFrame) {
this._x = this._x + 15;
if (this._x >= 850) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.lives--;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 100 MovieClip in Frame 3
onClipEvent (load) {
this._y = 300;
this._x = 150;
}
onClipEvent (enterFrame) {
this._x = this._x + 35;
if (this._x >= 850) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.lives--;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 102 MovieClip in Frame 3
onClipEvent (load) {
this._y = 250;
this._x = 300;
}
onClipEvent (enterFrame) {
this._x = this._x + 15;
if (this._x >= 850) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.lives--;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 109 MovieClip in Frame 3
onClipEvent (load) {
this._y = 149;
this._x = 638;
}
onClipEvent (enterFrame) {
this._x = this._x - 40;
}
Frame 4
stop();
shinycontinue.onRollOver = function () {
this.glitter.play();
};
Instance of Symbol 123 MovieClip "shinycontinue" in Frame 4
on (press) {
gotoAndStop ("mainmenu");
lives = 100;
}
Frame 5
var cubso = new Sound();
sound.attachSound("cubicle");
tvSound.setVolume(150);
stop();
Instance of Symbol 129 MovieClip in Frame 5
onClipEvent (load) {
this._y = 77;
this._x = 638;
}
onClipEvent (enterFrame) {
this._x = this._x - 40;
}
Frame 6
stop();
sscore = sscore + 200;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 6
on (press) {
stopAllSounds();
_root.gotoAndStop("score1");
}
Frame 7
stop();
sscore = sscore + 500;
lives = lives + 50;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 8
stop();
sscore = sscore + 100;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 9
stop();
score = score + 0;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 10
stop();
var hbonus1 = lives;
var total1 = (sscore + hbonus1);
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 10
on (press) {
stopAllSounds();
_root.gotoAndStop("Level 2");
}
Frame 11
stop();
var sscore = 0;
man2.onEnterFrame = function () {
radius = 8;
if (Key.isDown(38)) {
this._y = this._y - 5;
this._rotation = 180;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
this._rotation = 0;
}
if (Key.isDown(37)) {
this._x = this._x - 5;
this._rotation = 90;
}
if (Key.isDown(39)) {
this._x = this._x + 5;
this._rotation = -90;
}
while (wall.hitTest(this._x, this._y + radius, true)) {
this._y--;
}
while (wall.hitTest(this._x, this._y - radius, true)) {
this._y++;
}
while (wall.hitTest(this._x - radius, this._y, true)) {
this._x++;
}
while (wall.hitTest(this._x + radius, this._y, true)) {
this._x--;
}
};
Instance of Symbol 89 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.man2)) {
_root.gotoAndStop(12);
}
}
Instance of Symbol 162 MovieClip "police" in Frame 11
onClipEvent (enterFrame) {
if (_root.man2._x > _x) {
_x = (_x + 1);
this._rotation = -180;
}
}
onClipEvent (enterFrame) {
if (_root.man2._x < _x) {
_x = (_x - 1);
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
if (_root.man2._y > _y) {
_y = (_y + 1);
this._rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.man2._y < _y) {
_y = (_y - 1);
this._rotation = 180;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.wall_bottom) == true) {
_y = (_root.wall_bottom._y - _root.police._height);
}
if (hitTest(_root.wall_top) == true) {
_y = (_root.wall_top._y + _root.police._height);
}
if (hitTest(_root.wall_left) == true) {
_x = (_root.wall_left._x + _root.police.width);
}
if (hitTest(_root.wall_right) == true) {
_x = (_root.wall_right._x - _root.police._width);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man2)) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
Instance of Symbol 92 MovieClip "man2" in Frame 11
onClipEvent (enterFrame) {
if (this._y > 600) {
this._y = 600;
}
if (this._y < 0) {
this._y = 0;
}
if (this._x > 600) {
this._x = 600;
}
if (this._x < 0) {
this._x = 0;
}
}
Instance of Symbol 102 MovieClip in Frame 11
onClipEvent (load) {
this._y = 130;
this._x = 350;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man2)) {
_root.lives = _root.lives - 2;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 100 MovieClip in Frame 11
onClipEvent (load) {
this._y = 180;
this._x = 50;
}
onClipEvent (enterFrame) {
this._x = this._x - 25;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man2)) {
_root.lives = _root.lives - 2;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 98 MovieClip in Frame 11
onClipEvent (load) {
this._y = 1860;
this._x = 350;
}
onClipEvent (enterFrame) {
this._x = this._x - 25;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man2)) {
_root.lives = _root.lives - 2;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 96 MovieClip in Frame 11
onClipEvent (load) {
this._y = 320;
this._x = 75;
}
onClipEvent (enterFrame) {
this._x = this._x - 25;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man2)) {
_root.lives = _root.lives - 2;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 164 MovieClip in Frame 11
onClipEvent (load) {
this._y = 280;
this._x = 400;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man2)) {
_root.lives = _root.lives - 2;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 166 MovieClip in Frame 11
onClipEvent (load) {
this._y = 320;
this._x = 350;
}
onClipEvent (enterFrame) {
this._x = this._x - 25;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man2)) {
_root.lives = _root.lives - 2;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 94 MovieClip in Frame 11
onClipEvent (load) {
this._y = 280;
this._x = 50;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man2)) {
_root.lives = _root.lives - 2;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 109 MovieClip in Frame 11
onClipEvent (load) {
this._y = 149;
this._x = 638;
}
onClipEvent (enterFrame) {
this._x = this._x - 40;
}
Frame 12
stop();
Instance of Symbol 129 MovieClip in Frame 12
onClipEvent (load) {
this._y = 77;
this._x = 638;
}
onClipEvent (enterFrame) {
this._x = this._x - 40;
}
Frame 13
stop();
sscore = sscore + 500;
lives = lives + 50;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 13
on (press) {
stopAllSounds();
_root.gotoAndStop("score2");
}
Frame 14
stop();
sscore = sscore + 200;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 15
stop();
sscore = sscore + 100;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 16
stop();
sscore = sscore + 0;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 17
stop();
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 17
on (press) {
stopAllSounds();
_root.gotoAndStop("overa");
}
Frame 18
stop();
var hbonus1 = lives;
var total2 = ((sscore + hbonus1) + total1);
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 18
on (press) {
stopAllSounds();
_root.gotoAndStop("level 3");
}
Frame 19
stop();
shinyreplay.onRollOver = function () {
this.glitterreplay.play();
};
Instance of Symbol 123 MovieClip "shinyreplay" in Frame 19
on (press) {
gotoAndStop ("mainmenu");
lives = 100;
}
Frame 20
stop();
Instance of Symbol 210 MovieClip in Frame 20
/* no clip actions */
Frame 21
stop();
Frame 22
stop();
Frame 23
stop();
var sscore = 0;
man3.onEnterFrame = function () {
radius = 8;
if (Key.isDown(38)) {
this._y = this._y - 5;
this._rotation = 180;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
this._rotation = 0;
}
if (Key.isDown(37)) {
this._x = this._x - 5;
this._rotation = 90;
}
if (Key.isDown(39)) {
this._x = this._x + 5;
this._rotation = -90;
}
while (wall.hitTest(this._x, this._y + radius, true)) {
this._y--;
}
while (wall.hitTest(this._x, this._y - radius, true)) {
this._y++;
}
while (wall.hitTest(this._x - radius, this._y, true)) {
this._x++;
}
while (wall.hitTest(this._x + radius, this._y, true)) {
this._x--;
}
};
Instance of Symbol 102 MovieClip "car3" in Frame 23
onClipEvent (load) {
this._y = 75;
this._x = 472;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -200) {
this._x = 650;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man3)) {
_root.lives = _root.lives - 3;
if (_root.lives < 0) {
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 100 MovieClip "car4" in Frame 23
onClipEvent (load) {
this._y = 132;
this._x = 160;
}
onClipEvent (enterFrame) {
this._x = this._x + 25;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man3)) {
_root.lives = _root.lives - 3;
if (_root.lives < 0) {
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 98 MovieClip "car6" in Frame 23
onClipEvent (load) {
this._y = 248;
this._x = 199;
}
onClipEvent (enterFrame) {
this._x = this._x + 25;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man3)) {
_root.lives = _root.lives - 3;
if (_root.lives < 0) {
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 96 MovieClip "car8" in Frame 23
onClipEvent (load) {
this._y = 322;
this._x = 433;
}
onClipEvent (enterFrame) {
this._x = this._x - 20;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man3)) {
_root.lives = _root.lives - 3;
if (_root.lives < 0) {
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 94 MovieClip "car9" in Frame 23
onClipEvent (load) {
this._y = 434;
this._x = 91;
}
onClipEvent (enterFrame) {
this._x = this._x + 15;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man3)) {
_root.lives = _root.lives - 3;
if (_root.lives < 0) {
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 98 MovieClip "car7" in Frame 23
onClipEvent (load) {
this._y = 360;
this._x = 197;
}
onClipEvent (enterFrame) {
this._x = this._x + 25;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man3)) {
_root.lives = _root.lives - 3;
if (_root.lives < 0) {
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 100 MovieClip "car5" in Frame 23
onClipEvent (load) {
this._y = 219;
this._x = 435;
}
onClipEvent (enterFrame) {
this._x = this._x - 25;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man3)) {
_root.lives = _root.lives - 3;
if (_root.lives < 0) {
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 162 MovieClip "police" in Frame 23
onClipEvent (enterFrame) {
if (_root.man3._x > _x) {
_x = (_x + 1);
this._rotation = -180;
}
}
onClipEvent (enterFrame) {
if (_root.man3._x < _x) {
_x = (_x - 1);
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
if (_root.man3._y > _y) {
_y = (_y + 1);
this._rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.man3._y < _y) {
_y = (_y - 1);
this._rotation = 180;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.wall_bottom) == true) {
_y = (_root.wall_bottom._y - _root.police._height);
}
if (hitTest(_root.wall_top) == true) {
_y = (_root.wall_top._y + _root.police._height);
}
if (hitTest(_root.wall_left) == true) {
_x = (_root.wall_left._x + _root.police.width);
}
if (hitTest(_root.wall_right) == true) {
_x = (_root.wall_right._x - _root.police._width);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man3)) {
_root.gotoAndStop("over");
}
}
Instance of Symbol 89 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.man3)) {
_root.gotoAndStop("cub3");
}
}
Instance of Symbol 92 MovieClip "man3" in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.edge_lefttop) == true) {
_y = (_root.edge_lefttop._y - _root.man3._width);
}
if (hitTest(_root.edge_righttop) == true) {
_y = (_root.edge_righttop._y - _root.man3._width);
}
if (hitTest(_root.edge_leftbot) == true) {
_y = (_root.edge_leftbot._y + _root.man3._width);
}
if (hitTest(_root.edge_rightbot) == true) {
_y = (_root.edge_rightbot._y + _root.man3._width);
}
}
onClipEvent (enterFrame) {
if (this._y > 600) {
this._y = 600;
}
if (this._y < 0) {
this._y = 0;
}
if (this._x > 600) {
this._x = 600;
}
if (this._x < 0) {
this._x = 0;
}
}
Instance of Symbol 109 MovieClip in Frame 23
onClipEvent (load) {
this._y = 149;
this._x = 638;
}
onClipEvent (enterFrame) {
this._x = this._x - 40;
}
Frame 24
stop();
Instance of Symbol 129 MovieClip in Frame 24
onClipEvent (load) {
this._y = 77;
this._x = 638;
}
onClipEvent (enterFrame) {
this._x = this._x - 40;
}
Frame 25
stop();
sscore = sscore + 500;
lives = lives + 50;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 25
on (press) {
stopAllSounds();
_root.gotoAndStop("score3");
}
Frame 26
stop();
sscore = sscore + 200;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 27
stop();
sscore = sscore + 100;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 28
stop();
sscore = sscore + 0;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 29
stop();
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 29
on (press) {
stopAllSounds();
_root.gotoAndStop("overa");
}
Frame 30
stop();
var hbonus1 = lives;
var total3 = ((sscore + hbonus1) + total2);
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 30
on (press) {
stopAllSounds();
_root.gotoAndStop("level 4");
}
Frame 31
stop();
var sscore = 0;
man4.onEnterFrame = function () {
radius = 8;
if (Key.isDown(38)) {
this._y = this._y - 5;
this._rotation = 180;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
this._rotation = 0;
}
if (Key.isDown(37)) {
this._x = this._x - 5;
this._rotation = 90;
}
if (Key.isDown(39)) {
this._x = this._x + 5;
this._rotation = -90;
}
while (wall.hitTest(this._x, this._y + radius, true)) {
this._y--;
}
while (wall.hitTest(this._x, this._y - radius, true)) {
this._y++;
}
while (wall.hitTest(this._x - radius, this._y, true)) {
this._x++;
}
while (wall.hitTest(this._x + radius, this._y, true)) {
this._x--;
}
};
Instance of Symbol 162 MovieClip "police2" in Frame 31
onClipEvent (enterFrame) {
if (_root.man4._x > _x) {
_x = (_x + 2);
this._rotation = -180;
}
}
onClipEvent (enterFrame) {
if (_root.man4._x < _x) {
_x = (_x - 2);
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y > _y) {
_y = (_y + 2);
this._rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y < _y) {
_y = (_y - 2);
this._rotation = 180;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man4)) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
Instance of Symbol 89 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.man4)) {
_root.gotoAndStop("cub4");
}
}
Instance of Symbol 92 MovieClip "man4" in Frame 31
onClipEvent (enterFrame) {
if (this._y > 600) {
this._y = 600;
}
if (this._y < 0) {
this._y = 0;
}
if (this._x > 600) {
this._x = 600;
}
if (this._x < 0) {
this._x = 0;
}
}
Instance of Symbol 162 MovieClip "police3" in Frame 31
onClipEvent (enterFrame) {
if (_root.man4._x > _x) {
_x = (_x + 2);
this._rotation = -180;
}
}
onClipEvent (enterFrame) {
if (_root.man4._x < _x) {
_x = (_x - 2);
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y > _y) {
_y = (_y + 2);
this._rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y < _y) {
_y = (_y - 2);
this._rotation = 180;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man4)) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
Instance of Symbol 162 MovieClip "police1" in Frame 31
onClipEvent (enterFrame) {
if (_root.man4._x > _x) {
_x = (_x + 2);
this._rotation = -180;
}
}
onClipEvent (enterFrame) {
if (_root.man4._x < _x) {
_x = (_x - 2);
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y > _y) {
_y = (_y + 2);
this._rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y < _y) {
_y = (_y - 2);
this._rotation = 180;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man4)) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
Instance of Symbol 162 MovieClip "police6" in Frame 31
onClipEvent (enterFrame) {
if (_root.man4._x > _x) {
_x = (_x + 2);
this._rotation = -180;
}
}
onClipEvent (enterFrame) {
if (_root.man4._x < _x) {
_x = (_x - 2);
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y > _y) {
_y = (_y + 2);
this._rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y < _y) {
_y = (_y - 2);
this._rotation = 180;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man4)) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
Instance of Symbol 162 MovieClip "police4" in Frame 31
onClipEvent (enterFrame) {
if (_root.man4._x > _x) {
_x = (_x + 2);
this._rotation = -180;
}
}
onClipEvent (enterFrame) {
if (_root.man4._x < _x) {
_x = (_x - 2);
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y > _y) {
_y = (_y + 2);
this._rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y < _y) {
_y = (_y - 2);
this._rotation = 180;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man4)) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
Instance of Symbol 162 MovieClip "police7" in Frame 31
onClipEvent (enterFrame) {
if (_root.man4._x > _x) {
_x = (_x + 2);
this._rotation = -180;
}
}
onClipEvent (enterFrame) {
if (_root.man4._x < _x) {
_x = (_x - 2);
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y > _y) {
_y = (_y + 2);
this._rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y < _y) {
_y = (_y - 2);
this._rotation = 180;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man4)) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
Instance of Symbol 162 MovieClip "police5" in Frame 31
onClipEvent (enterFrame) {
if (_root.man4._x > _x) {
_x = (_x + 2);
this._rotation = -180;
}
}
onClipEvent (enterFrame) {
if (_root.man4._x < _x) {
_x = (_x - 2);
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y > _y) {
_y = (_y + 2);
this._rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.man4._y < _y) {
_y = (_y - 2);
this._rotation = 180;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man4)) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
Instance of Symbol 109 MovieClip in Frame 31
onClipEvent (load) {
this._y = 149;
this._x = 638;
}
onClipEvent (enterFrame) {
this._x = this._x - 40;
}
Frame 32
stop();
Instance of Symbol 129 MovieClip in Frame 32
onClipEvent (load) {
this._y = 77;
this._x = 638;
}
onClipEvent (enterFrame) {
this._x = this._x - 40;
}
Frame 33
stop();
sscore = sscore + 500;
lives = lives + 50;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 33
on (press) {
stopAllSounds();
_root.gotoAndStop("score4");
}
Frame 34
stop();
sscore = sscore + 200;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 35
stop();
sscore = sscore + 100;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 36
stop();
sscore = sscore + 0;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 37
stop();
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 37
on (press) {
stopAllSounds();
_root.gotoAndStop("overa");
}
Frame 38
stop();
var hbonus1 = lives;
var total4 = ((sscore + hbonus1) + total3);
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 38
on (press) {
stopAllSounds();
_root.gotoAndStop("Level 5");
}
Frame 39
stop();
var sscore = 0;
man5.onEnterFrame = function () {
radius = 8;
if (Key.isDown(38)) {
this._y = this._y - 5;
this._rotation = 180;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
this._rotation = 0;
}
if (Key.isDown(37)) {
this._x = this._x - 5;
this._rotation = 90;
}
if (Key.isDown(39)) {
this._x = this._x + 5;
this._rotation = -90;
}
while (wall.hitTest(this._x, this._y + radius, true)) {
this._y--;
}
while (wall.hitTest(this._x, this._y - radius, true)) {
this._y++;
}
while (wall.hitTest(this._x - radius, this._y, true)) {
this._x++;
}
while (wall.hitTest(this._x + radius, this._y, true)) {
this._x--;
}
};
Instance of Symbol 102 MovieClip in Frame 39
onClipEvent (load) {
this._y = 68;
this._x = 483;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 100 MovieClip in Frame 39
onClipEvent (load) {
this._y = 126;
this._x = 79;
}
onClipEvent (enterFrame) {
this._x = this._x + 25;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 89 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.gotoAndStop("cub5");
}
}
Instance of Symbol 92 MovieClip "man5" in Frame 39
onClipEvent (enterFrame) {
if (this._y > 600) {
this._y = 600;
}
if (this._y < 0) {
this._y = 0;
}
if (this._x > 600) {
this._x = 600;
}
if (this._x < 0) {
this._x = 0;
}
}
Instance of Symbol 98 MovieClip in Frame 39
onClipEvent (load) {
this._y = 209;
this._x = 258;
}
onClipEvent (enterFrame) {
this._x = this._x - 35;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 96 MovieClip in Frame 39
onClipEvent (load) {
this._y = 272;
this._x = 196;
}
onClipEvent (enterFrame) {
this._x = this._x + 15;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 164 MovieClip in Frame 39
onClipEvent (load) {
this._y = 336;
this._x = 315;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 166 MovieClip in Frame 39
onClipEvent (load) {
this._y = 403;
this._x = 366;
}
onClipEvent (enterFrame) {
this._x = this._x + 35;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 94 MovieClip in Frame 39
onClipEvent (load) {
this._y = 477;
this._x = 487;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 100 MovieClip in Frame 39
onClipEvent (load) {
this._y = 474;
this._x = 295;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 98 MovieClip in Frame 39
onClipEvent (load) {
this._y = 403;
this._x = 214;
}
onClipEvent (enterFrame) {
this._x = this._x + 35;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 96 MovieClip in Frame 39
onClipEvent (load) {
this._y = 126;
this._x = 399;
}
onClipEvent (enterFrame) {
this._x = this._x + 25;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 164 MovieClip in Frame 39
onClipEvent (load) {
this._y = 68;
this._x = 191;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 166 MovieClip in Frame 39
onClipEvent (load) {
this._y = 209;
this._x = 424;
}
onClipEvent (enterFrame) {
this._x = this._x - 35;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 94 MovieClip in Frame 39
onClipEvent (load) {
this._y = 272;
this._x = 360;
}
onClipEvent (enterFrame) {
this._x = this._x + 15;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 100 MovieClip in Frame 39
onClipEvent (load) {
this._y = 272;
this._x = 524;
}
onClipEvent (enterFrame) {
this._x = this._x + 15;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 102 MovieClip in Frame 39
onClipEvent (load) {
this._y = 338;
this._x = 147;
}
onClipEvent (enterFrame) {
this._x = this._x - 15;
if (this._x <= -50) {
this._x = 850;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 166 MovieClip in Frame 39
onClipEvent (load) {
this._y = 126;
this._x = 237;
}
onClipEvent (enterFrame) {
this._x = this._x + 25;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 100 MovieClip in Frame 39
onClipEvent (load) {
this._y = 126;
this._x = 514;
}
onClipEvent (enterFrame) {
this._x = this._x + 25;
if (this._x >= 650) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.man5)) {
_root.lives = _root.lives - 5;
if (_root.lives < 0) {
stopAllSounds();
_root.gotoAndStop("over");
}
}
}
Instance of Symbol 109 MovieClip in Frame 39
onClipEvent (load) {
this._y = 149;
this._x = 638;
}
onClipEvent (enterFrame) {
this._x = this._x - 40;
}
Frame 40
stop();
Instance of Symbol 129 MovieClip in Frame 40
onClipEvent (load) {
this._y = 77;
this._x = 638;
}
onClipEvent (enterFrame) {
this._x = this._x - 40;
}
Frame 41
stop();
sscore = sscore + 500;
lives = lives + 50;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 41
on (press) {
stopAllSounds();
_root.gotoAndStop("score5");
}
Frame 42
stop();
sscore = sscore + 200;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 43
stop();
sscore = sscore + 100;
strangers = strangers + 1;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 44
stop();
sscore = sscore + 0;
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Frame 45
stop();
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 45
on (press) {
stopAllSounds();
_root.gotoAndStop("overa");
}
Frame 46
stop();
var hbonus1 = lives;
var total5 = ((sscore + hbonus1) + total4);
shinycontinue.onRollOver = function () {
this.glittercontinue.play();
};
Instance of Symbol 142 MovieClip "shinycontinue" in Frame 46
on (press) {
stopAllSounds();
_root.gotoAndStop("total");
}
Frame 47
stop();
var name1 = nameentry;
var strangers1 = strangers;
var totalfull = total5;
if (strangers == 0) {
var rank = "Law Abiding Citizen";
}
if (strangers == 1) {
var rank = "First Time Cottager";
}
if (strangers == 2) {
var rank = "Relaxed Cottager";
}
if (strangers == 3) {
var rank = "Relaxed Cottager";
}
if (strangers == 4) {
var rank = "Confident Cottager";
}
if (strangers == 5) {
var rank = "Confident Cottager";
}
Symbol 43 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 52 Button
on (release) {
startMovie();
}
Symbol 54 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 54 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 76 Button
on (press) {
if (_root.vol < 100) {
_root.vol = _root.vol + 10;
}
}
Symbol 78 Button
on (press) {
if (_root.vol > 0) {
_root.vol = _root.vol - 10;
}
}
Symbol 118 MovieClip Frame 25
gotoAndPlay (11);
Symbol 121 Button
on (release) {
gotoAndStop ("mainmenu");
lives = 100;
}
Symbol 126 Button
on (release) {
gotoAndStop(6 + Math.round(Math.random() * 3));
}
Symbol 138 MovieClip Frame 14
gotoAndPlay (8);
Symbol 140 Button
on (press) {
stopAllSounds();
gotoAndStop ("score1");
}
Symbol 158 Button
on (release) {
stopAllSounds();
gotoAndStop ("level 2");
}
Symbol 174 Button
on (release) {
gotoAndStop(13 + Math.round(Math.random() * 4));
}
Symbol 175 Button
on (press) {
stopAllSounds();
gotoAndStop ("score2");
}
Symbol 180 Button
on (press) {
stopAllSounds();
gotoAndStop ("overa");
}
Symbol 185 Button
on (release) {
stopAllSounds();
gotoAndStop ("level 3");
}
Symbol 195 MovieClip Frame 9
gotoAndPlay (1);
Symbol 198 Button
on (release) {
gotoAndStop ("mainmenu");
lives = 100;
}
Symbol 206 Button
on (release) {
gotoAndStop ("mainmenu");
}
Symbol 208 Button
on (release) {
gotoAndStop ("instructions2");
}
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 2
stop();
Symbol 218 Button
on (release) {
gotoAndStop ("instructions3");
}
Symbol 224 Button
on (release) {
gotoAndStop ("instructions1");
}
Symbol 232 Button
on (release) {
gotoAndStop ("instructions2");
}
Symbol 236 Button
on (release) {
gotoAndStop(25 + Math.round(Math.random() * 4));
}
Symbol 237 Button
on (release) {
stopAllSounds();
gotoAndStop ("score3");
}
Symbol 238 Button
on (release) {
stopAllSounds();
gotoAndStop ("overa");
}
Symbol 242 Button
on (release) {
stopAllSounds();
gotoAndStop ("level 4");
}
Symbol 247 Button
on (release) {
gotoAndStop(33 + Math.round(Math.random() * 4));
}
Symbol 248 Button
on (release) {
stopAllSounds();
gotoAndStop ("score4");
}
Symbol 252 Button
on (release) {
stopAllSounds();
gotoAndStop ("level 5");
}
Symbol 257 Button
on (release) {
gotoAndStop(41 + Math.round(Math.random() * 4));
}
Symbol 258 Button
on (release) {
stopAllSounds();
gotoAndStop ("score5");
}
Symbol 263 Button
on (release) {
stopAllSounds();
gotoAndStop ("total");
}
Symbol 280 Button
on (press) {
gotoAndStop (2);
}