Frame 1
function checkloading() {
ifFrameLoaded (7) {
gotoAndPlay ("end");
}
}
Frame 2
perc = Math.floor((_root.getBytesLoaded() / 459000) * 100) + " %";
checkloading();
Frame 3
gotoAndPlay (2);
Frame 6
intropop._x = -95;
intropop._y = -50;
fail = "\u201Coh-oh, better find a motel for the night\u201D";
_root.allowmovement = true;
_root.begingame = true;
_root.attachMovie("endgameonsofe", "endgameonsofe", 30000, {tex:"\u201Coh-oh, better find a motel for the night"});
stop();
Frame 7
dogs = new Sound(this);
dogs.attachSound("Dogsound");
gravels = new Sound(this);
gravels.attachSound("gravel");
grasss = new Sound(this);
grasss.attachSound("grass");
nightvs = new Sound(this);
nightvs.attachSound("nightv");
pans = new Sound(this);
pans.attachSound("pan");
taxis = new Sound(this);
taxis.attachSound("taxi");
taxis.onSoundComplete = function () {
burpps.start();
};
click1s = new Sound(this);
click1s.attachSound("click");
click2s = new Sound(this);
click2s.attachSound("click2");
shot2s = new Sound(this);
shot2s.attachSound("shot2");
shot1s = new Sound(this);
shot1s.attachSound("shot1");
burpps = new Sound(this);
burpps.attachSound("burpp");
_root.taxis.start();
trace("hehe");
messages = new Array();
messages = ["\u201COh hell, the damn security light is on better take it out, then I gotta reach the front door and get in without disturbing the damn neighbors dogs\u201D", "Night vision goggles enabled<br>Instructions [Press space for options]", "Better choose a route to the door.<br> Instructions [Press space for options]", "Tap the space bar to pick the lock<br>Instructions [Press space for options]", "\u201CExcellent, I\u2019ve done it, now let\u2019s get in\u201D <br>Instructions [Press space for options]"];
messagespage2 = new Array();
messagespage2 = ["(hit the space bar to check Black Tigers options, use mouse click to select)"];
messagenumber = 0;
_root.health = 100;
function processpath1() {
_root.attachselectedmovie();
}
function processpath2() {
var _local1 = _root;
_local1.levelphase++;
_local1.picturephase = 0;
_local1.attachselectedmovie();
}
function moveon() {
levelphase++;
picturephase = 0;
}
function moveontopath() {
_root.allowmovement = false;
levelphase++;
picturephase = 0;
}
function processcheckvalid() {
var _local1 = _root;
if (_local1.lockpickregistered) {
_local1.levelphase++;
_local1.picturephase = 0;
}
}
function endsequence() {
_root.attachMovie("fin", "fin", 96000);
}
function startover() {
getURL ("splinter.html", "_self");
}
stop();
function setcolour(feedobject, whatcolor) {
my_color = new Color(feedobject);
my_color.setRGB("0x" + whatcolor);
}
function buildmenu() {
_root.allowmovement = false;
startposy = 1;
i = 0;
while (i < _root.menuoption[levelphase].length) {
_root.mymenu.attachMovie("menubutton", "menubutton" + i, 100 + i);
myclip = eval ("mymenu.menubutton" + i);
_root.myclip.buttonumber = i;
_root.myclip.imagename = menufunction[levelphase][i].attach;
myclip.mybutton.text = _root.menuoption[levelphase][i];
myclip.__proto__ = menuproto.prototype;
myclip.init();
myclip._y = (eval ("mymenu.menubutton" + i)._height * i) + 19;
i++;
}
}
function prepmenu() {
var _local1 = _root;
_local1.createEmptyMovieClip("mymenu", 20000);
_local1.mymenu.attachMovie("menutop", "menutop", 10);
mymenu._x = _local1.menupositionx;
mymenu._y = _local1.menupositiony;
}
menuoption = new Array();
menufunction = new Array();
menuoption = [["SC-20k Assault Weapon"], ["Move to door"], ["Approach from path", "Approach from grass"], ["Pick Lock"], ["Pick Lock"], ["Open door"]];
menufunction = new Array();
menufunction = [[{attach:"sniper", process:null}], [{attach:null, process:"path1"}], [{attach:null, process:"path1"}, {attach:null, process:"path2"}], [{attach:"lockpick", process:null}], [{attach:"lockpick", process:null}], [{attach:"nextstage", process:null}]];
_root.menupositionx = 380;
_root.menupositiony = 10;
menuproto = function () {
};
menuproto.prototype = new MovieClip();
menuproto.prototype.closemenu = function () {
};
menuproto.prototype.init = function () {
var _local1 = this;
_local1.startpos = 50;
_local1.targ = _local1._x;
_local1._x = _local1._x + _local1.startpos;
_local1._alpha = 0;
_local1.targetalpha = 100;
};
removemenu = function () {
i = 0;
while (i < 10) {
removeMovieClip(eval ("mymenu.menubutton" + i));
i++;
}
};
menuproto.prototype.onEnterFrame = function () {
var _local1 = this;
if (_local1._alpha < _local1.targetalpha) {
_local1._alpha = _local1._alpha + 5;
_local1.acc = _local1.targ - _local1._x;
_local1._x = _local1._x + (_local1.acc / 4);
trace(_local1.acc);
}
};
setcolour(b, "ff9933");
prepmenu();
function applywalkproto(clip) {
eval ("_root." + clip).__proto__ = walkClass.prototype;
eval ("_root." + clip).init(walktime);
}
walkClass = function () {
};
walkClass.prototype = new MovieClip();
walkClass.prototype.init = function (walktime) {
var _local1 = this;
_local1._oxpos = _local1._x;
_local1._oypos = _local1._y;
_local1.timer = 25;
_local1.timecount = 0;
_local1.shifter = 7;
_local1.yshifter = 1;
_local1.focallength = 10;
_local1.upfoot = _local1._y - 8;
_local1.downfoot = _local1._y + 8;
_local1.whichfoot = _local1.upfoot;
_local1.nextfoot = _local1.downfoot;
_local1.xupfoot = _local1._x + 1;
_local1.xdownfoot = _local1._x - 1;
_local1.xwhichfoot = _local1.xupfoot;
_local1.xnextfoot = _local1.xdownfoot;
};
walkClass.prototype.onEnterFrame = function () {
var _local1 = this;
if (_local1.timecount < _local1.timer) {
_local1.timecount++;
if (_local1.focallength > 1) {
_local1.focallength = _local1.focallength - 0.1;
}
_local1._y = _local1._y + (_local1.yacc / 2.5);
_local1._x = _local1._x - _local1.shifter;
_local1.count++;
_local1._xscale = _local1._xscale + 3.5;
_local1._yscale = _local1._yscale + 3.5;
} else {
_local1._parent.gotoAndPlay("continue");
_root.gravels.stop();
_root.grasss.stop();
}
};
function setupmouse() {
var _local1 = _root;
_local1.attachMovie("arrowpointer", "arrowpointer", 190000);
_local1.arrowpointer.__proto__ = mouseClass.prototype;
_local1.arrowpointer.init();
}
function loadpointer(whichpointer) {
removeMovieClip(eval ("_root.arrowpointer." + _root.loadedpointer));
_root.arrowpointer.attachMovie(whichpointer, whichpointer, 10000);
_root.loadedpointer = whichpointer;
}
_root.loadedpointer = "picon";
mouseClass = function () {
};
mouseClass.prototype = new MovieClip();
mouseClass.prototype.init = function () {
this._rotation = 0;
_root.loadpointer("standardpointer");
};
mouseClass.prototype.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
};
setupmouse();
function removemovie(switcher) {
removeMovieClip("movie");
attachpicture(storyboard[levelphase].picturename[picturephase], storyboard[levelphase].stageassets[0], storyboard[levelphase].stageassets[1], storyboard[levelphase].stageassets[2]);
assetset();
_root.messagenumber++;
if (switcher != "none") {
briefingbarsetup();
}
}
function attachselectedmovie(moviesplit) {
_root.ms = _root.ms + ("h" + levelphase);
_root.attachMovie(storyboard[levelphase].moviename, "movie", 3000);
levelphase++;
picturephase = 0;
}
function attachpicture(picturename) {
removeMovieClip(_root.image.imageholder.imagejpg);
image.imageholder.attachMovie(picturename, "imagejpg", 100);
picturephase++;
}
function attachassets(assets, assetx, assety, depth) {
image.attachMovie(assets, assets, 1110 + depth);
eval ("image." + assets)._x = assetx;
eval ("image." + assets)._y = assety;
}
scene = 1;
levelphase = 0;
picturephase = 0;
storyboard = new Array();
storyboard[0] = {picturename:["scene1image1lightson", "scene1image1night"], stageassets:[{nam:"light", xp:310, yp:170}], moviename:"scene1videotransition1"};
storyboard[1] = {picturename:[null], stageassets:[], moviename:"scene1videotransition1"};
storyboard[2] = {picturename:["scenegreyscale1", "scene1image1night"], stageassets:[null, 200, 200], moviename:"scene1videotransition2", movienameb:"scene1videotransition3"};
storyboard[3] = {picturename:["scene1nightvisiondoor", "scene1image1night"], stageassets:[null], moviename:"scene1videotransition3"};
storyboard[4] = {picturename:["scene1nightvisiondoor"], stageassets:[null], moviename:"scene1videotransition3"};
_root.selectedmovie = storyboard[levelphase].moviename;
function selectmenuitem(currentmenutiemx, currentprocess, fin) {
_root.allowmovement = true;
if (currentmenutiemx != null) {
eval ("attach" + currentmenutiemx)();
}
if (currentprocess != null) {
eval ("process" + currentprocess)();
}
if (endscene != null) {
_root.image._visible = 0;
}
}
function assetset() {
j = 0;
while (j < storyboard[levelphase].stageassets.length) {
attachassets(storyboard[levelphase].stageassets[j].nam, storyboard[levelphase].stageassets[j].xp, storyboard[levelphase].stageassets[j].yp, j);
image.imagejpg._y = 100;
image.imagejpg._x = 90;
j++;
}
}
function interfacebirth() {
var _local1 = _root;
_local1.attachMovie("interface1", "menu1", 20001);
_local1.menu1._x = 420;
_local1.menu1._y = 135;
}
function briefingbarsetup() {
var _local1 = _root;
_local1.attachMovie("briefing", "briefing", 20002);
_local1.briefing._x = 10;
_local1.briefing._y = 325;
}
function briefingremove() {
removeMovieClip("briefing");
}
function setupstage() {
canvasimagex = image._x;
canvasimagey = image._y;
interfacebirth();
briefingbarsetup();
_root.dz = (((storyboard[levelphase].picturename[picturephase] + "__") + levelphase) + "__") + picturephase;
attachpicture(storyboard[levelphase].picturename[picturephase]);
assetset();
}
_root.shotsfired = 0;
_root.abort = false;
_root.setupstage();
_root.drunkblur = true;
movementClass = function () {
};
movementClass.prototype = new MovieClip();
movementClass.prototype.init = function () {
var _local1 = this;
_local1.drunkblur = true;
_local1.wave = true;
_root.mid = 250;
_root.hmid = 200;
_local1.acceleration;
allowmovement = true;
};
movementClass.prototype.killblur = function () {
this.drunkblur = false;
};
movementClass.prototype.sniperinit = function () {
var _local1 = this;
var _local2 = _root;
_local1.enlarger = _local2.scaler / _local2.currentscale;
_local1.originalx = _local1._x;
_local1.originaly = _local1._y;
_local1.enlargedwidth = _local1.enlarger * _local1._width;
_local1.widthincrease = _local1.enlargedwidth - _local1._width;
_local1.enlargedheight = _local1.enlarger * _local1._height;
_local1.heightincrease = _local1.enlargedheight - _local1._height;
_local1.scope = _local2.scope._x;
_local1.odistancex = _local2.scope._x - _local1._x;
_local1.odistancey = _local2.scope._y - _local1._y;
_local1.mdistancex = _local1.odistancex * _local1.enlarger;
_local1.mdistancey = _local1.odistancey * _local1.enlarger;
_local1.newx = _local1._x - (_local1.mdistancex - _local1.odistancex);
_local1.newy = _local1._y - (_local1.mdistancey - _local1.odistancey);
_local1.xtarg = _local1.newx;
_local1.ytarg = _local1.newy;
_local2.currentscale = _local2.scaler;
};
movementClass.prototype.ymoveeyes = function () {
var _local1 = this;
var _local2 = _root;
_local1.hpos = _local2._ymouse - _local2.hmid;
_local1._y = _local1._y - Math.round(_local1.hpos / (60 - _local2.zoomacc));
};
movementClass.prototype.xmoveeyes = function () {
var _local1 = this;
var _local2 = _root;
_local1.pos = _local2._xmouse - _local2.mid;
_local1.mo = _local2._xmouse;
_local1.mi = _local2.mid;
_local1._x = _local1._x - Math.round(_local1.pos / (50 - _local2.zoomacc));
_local1.drunk = Math.round(_local1.pos / (50 - _local2.zoomacc));
if (((_local1.drunk > 3) || (_local1.drunk < -3)) and (_local1.drunkblur == true)) {
_local2.lti = _local2.lti + "w";
_local2.image.imageholder.imagejpg.play();
}
if (_local1.wave) {
}
};
ymaxup = -10;
ymaxdown = -100;
_root.xmaxleft = -40;
_root.xmaxright = 40;
movementClass.prototype.ybounds = function () {
var _local1 = _root;
var _local2 = this;
if ((_local2._y < (_local1.ymaxup + _local1.scrollmodifier)) and (_local1._ymouse < _local1.hmid)) {
return(true);
}
if ((((_local2._y + _local2._height) + _local1.ymaxdown) > (400 - _local1.scrollmodifier)) and (_local1._ymouse > _local1.hmid)) {
return(true);
}
return(undefined);
};
movementClass.prototype.xbounds = function () {
var _local1 = _root;
var _local2 = this;
if ((_local2._x < ((0 + _local1.xmaxleft) + _local1.scrollmodifier)) and (_local1._xmouse < _local1.mid)) {
return(true);
}
if (((_local2._x + _local2._width) > ((550 + _local1.xmaxright) - _local1.scrollmodifier)) and (_local1._xmouse > _local1.mid)) {
return(true);
}
return(undefined);
};
movementClass.prototype.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local2.ff++;
_local2.za = (((_local1.zoomactive + "_") + _local1.scaletarg) + "_") + _local1._xscale;
if (_local1.zoomactive) {
_local1.scaletarg = _local2.scaler;
_local1.scaleacc = _local1.scaletarg - _local1._xscale;
if (_local1.scaletarg > _local1._xscale) {
_local1._xscale = _local1._xscale + Math.ceil(_local1.scaleacc / 4);
_local1._yscale = _local1._yscale + Math.ceil(_local1.scaleacc / 4);
}
if (_local1.scaletarg < _local1._xscale) {
_local1._xscale = _local1._xscale + Math.floor(_local1.scaleacc / 4);
_local1._yscale = _local1._yscale + Math.floor(_local1.scaleacc / 4);
}
if ((_local1.scaletarg == _local1._xscale) || (_local1.scaletarg == _local1._yscale)) {
_local1._xscale = _local1.scaletarg;
_local1._yscale = _local1.scaletarg;
_local1.zoomactive = false;
_local1.allowmovement = true;
}
_local1.xacc = _local1.xtarg - _local1._x;
_local1._x = _local1._x + (_local1.xacc / 4);
_local1.yacc = _local1.ytarg - _local1._y;
_local1._y = _local1._y + (_local1.yacc / 3.9);
}
if (_local1.ybounds() and allowmovement) {
_local1.ymoveeyes();
}
if (_local1.xbounds() and allowmovement) {
_local1.xmoveeyes();
}
};
_root.image.__proto__ = movementClass.prototype;
_root.image.init();
function soundetector() {
_root.menu1.soundlevel.__proto__ = sounder.prototype;
_root.menu1.soundlevel.init();
}
_root.soundtarget = 0;
sounder = function () {
};
sounder.prototype = new MovieClip();
sounder.prototype.init = function () {
this.marker._x = _root.soundtarget;
};
sounder.prototype.onEnterFrame = function () {
var _local1 = this;
_root.yu++;
_local1.acc = _root.soundtarget - _local1.marker._x;
_local1.marker._x = _local1.marker._x + (_local1.acc / 4);
};
soundetector();
function processaddammo() {
var _local1 = _root;
if (scene == 1) {
_local1.ammo = 8;
_local1.ammoingun = 8;
} else {
_local1.ammo = 4;
_local1.ammoingun = 4;
}
}
function setsnipervars() {
var _local1 = _root;
_local1.scrollmodifier = 0;
_local1.scaler = 100;
_local1.currentscale = 100;
_local1.zoomacc = 0;
scopedistance = 1;
meterdistance = 1.2;
}
function removesniper() {
var _local1 = _root;
if (scene == 2) {
xmaxright = 0;
}
_local1.menu1.icon.gotoAndStop(1);
_local1.prog = "ready";
_local1.setcurrentlistner(itemListener);
setsnipervars();
_local1.arrowpointer.__proto__ = mouseClass.prototype;
if ((_local1.lighthit == true) and (scene == 1)) {
_local1.allowmovement = false;
}
removeMovieClip(_local1.scope);
_local1.image._x = canvasimagex;
_local1.image._y = canvasimagey;
_local1.image._xscale = 100;
_local1.image._yscale = 100;
_local1.loadpointer("standardpointer");
if (((scene == 2) and (lightsoff > 2)) || (scene == 1)) {
if (_local1.image.drunkblur == false) {
messagenumber++;
briefingbarsetup();
_local1.image.imageholder.imagejpg.play();
moveontopath();
}
}
}
function attachsniper() {
var _local1 = _root;
if (scene == 2) {
xmaxright = -70;
}
_local1.image.imageholder.imagejpg.play();
_local1.attachMovie("scope", "scope", 5000);
_local1.setcurrentlistner(sniperListener);
_local1.scrollmodifier = _local1.scrollmodifier + 50;
scope._xscale = 49.2;
scope._yscale = 49.2;
scope._x = 233;
scope._y = 199;
loadpointer("sniperpointer");
_local1.arrowpointer.__proto__ = sniperpointerClass.prototype;
}
function animatesniper(distance, meter) {
var _local1 = _root;
if (((ammoingun == 0) and (_local1.scaler > 150)) and (scene == 2)) {
_local1.scope.xx.inst.gotoAndStop(2);
}
_local1.scope.ring.play();
_local1.scope.distance = distance;
_local1.scope.meterdistance = _local1.scope.meterdistance - meter;
}
processaddammo();
setsnipervars();
sniperpointerClass = function () {
};
sniperpointerClass.prototype = new MovieClip();
sniperpointerClass.prototype.onEnterFrame = function () {
if (_root.scope.sight.hitTest(eval (_root.currenttarget))) {
}
this._x = _root._xmouse;
this._y = _root._ymouse;
this.ax = _root.scope._y - _root._ymouse;
this.by = _root.scope._x - _root._xmouse;
this.angle = Math.atan2(this.ax, this.by);
this.degrees = this.angle / (Math.PI/180);
this._rotation = this.degrees;
};
function attachlockpick() {
var _local1 = _root;
_local1.lockpickregistered = true;
_local1.allowmovement = false;
_local1.attachMovie("lockpick", "lockpick", 5100);
lockpick._y = 130;
lockpick._x = -150;
}
function removelockpick() {
var _local1 = _root;
_local1.setcurrentlistner(itemListener);
removeMovieClip("lockpick");
_local1.levelphase++;
_local1.picturephase = 0;
_local1.messagenumber++;
briefingbarsetup();
}
function attachnextstage() {
var _local1 = _root;
_local1.allowmovement = false;
attachMovie("nextstage", "nextstage", 5100);
_local1.nextstage._x = 20;
_local1.nextstage._y = 10;
}
function checkloading() {
ifFrameLoaded (14) {
removeMovieClip("nextstage");
gotoAndStop (14);
}
}
function setcurrentlistner(listnername) {
var _local1 = listnername;
var _local2 = _root;
trace("l_called");
_local2.sll = _local1;
_local2.lastlistner = currentlistner;
Key.removeListener(lastlistner);
_local2.currentlistner = _local1;
Key.addListener(_local1);
}
_root.shotsfired = 0;
trace("start");
Mouse.hide();
kk = 0;
sniperListener = new Object();
sniperListener.onKeyDown = function () {
};
sniperListener.onKeyUp = function () {
_root.lastkey = Key.getCode();
if (lastkey == "13") {
}
if (lastkey == "17") {
if (scopedistance < 3) {
scopedistance++;
animatesniper("x" + scopedistance, meterdistance);
_root.scaler = _root.scaler + 150;
_root.zoomacc = _root.zoomacc + 15;
image.sniperinit();
image.zoomactive = true;
}
}
if (lastkey == "16") {
if (scopedistance > 1) {
scopedistance--;
animatesniper("x" + scopedistance);
_root.scaler = _root.scaler - 150;
_root.zoomacc = _root.zoomacc - 15;
image.sniperinit();
image.zoomactive = true;
}
}
if (lastkey == "32") {
trace("sniper listen");
if (scene == 1) {
}
if (_root.ammoingun > 0) {
_root.shotsfired++;
_root.soundtarget = _root.soundtarget + 10;
}
if (_root.shotsfired > 4) {
_root.attachMovie("endgameonsofe", "endgameonsofe", 30000, {tex:"\u201Coh-oh, better find a motel for the night"});
_root.abort = true;
briefingbarsetup();
}
_root.image.attachMovie("bullet", "bullett", 10005);
if (scopedistance >= 1) {
if (ammoingun > 0) {
_root.image.bullett._x = (_root.scope._x - _root.image._x) * (_root.zoomacc + 1);
_root.image.bullett._y = (_root.scope._y - _root.image._y) * (_root.zoomacc + 1);
_root.ammoingun--;
_root.scope.fire();
_root.shot = false;
_root.bulletfired = false;
if (!_root.shot) {
_root.shot = true;
}
_root.bulletfired = true;
if (_root.currenttarget != null) {
if ((_root.lightsoff == 3) || (scene == 1)) {
_root.scope.xx.inst.gotoAndStop(2);
}
_root.shot2s.start();
_root.lighthit = true;
eval ("_root.image." + _root.currenttarget).killme();
_root.image.killblur();
attachpicture(storyboard[levelphase].picturename[picturephase], storyboard[levelphase].stageassets[0]);
if (_root.scene == 2) {
}
_root.currenttarget = null;
} else {
_root.shot1s.start();
_root.dogs.start();
}
}
}
}
};
_root.itemon = true;
itemListener = new Object();
itemListener.onKeyUp = function () {
var _local1 = _root;
lastkey = Key.getCode();
if (lastkey == "32") {
trace("menu listen");
_local1.prog = _local1.prog + "initem";
_local1.buildmenu();
_local1.briefing.gotoAndPlay("end");
}
if (lastkey == "13") {
}
};
pincount = 2;
whichframe = "s" + pincount;
lockpickListener = new Object();
lockpickListener.onKeyUp = function () {
var _local1 = _root;
lastkey = Key.getCode();
if (lastkey == "32") {
_local1.click1s.start();
_local1.lp = "gogo";
_local1.lockcount = _local1.lockcount + 2;
lockpick.pick.arms.arm2.shake.play();
lockpick.pick.arms.arm1.play();
lockpick.pick.arms.pins.play();
if (_local1.lockcount > lockpick.pick.arms.locktime) {
_local1.lockcount = 0;
_local1.pincount++;
lockpick.pick.arms.arm2.play();
}
}
};
Key.removeListener(itemListener);
currentlistner = itemListener;
lastlistner = null;
setcurrentlistner(currentlistner);
Frame 8
gotoAndStop (5);
stop();
Frame 10
ifFrameLoaded (12) {
gotoAndPlay ("end");
}
Frame 11
gotoAndPlay (10);
Frame 14
function playanswermachine() {
var _local1 = _root;
burps.start();
burps.onSoundComplete = function () {
var _local1 = _root;
_local1.mesdeleted = true;
_local1.prepmenu();
_local1.briefing.brief = "'hmm thank God I deleted that message!";
};
}
_root.mesdeleted = false;
doorss = new Sound(this);
doorss.attachSound("door");
doorss.start();
burps = new Sound(this);
burps.attachSound("burp");
burps.onSoundComplete = function () {
};
buttons = new Sound(this);
buttons.attachSound("button");
grenades = new Sound(this);
grenades.attachSound("grenade");
alarms = new Sound(this);
alarms.attachSound("alarmloop");
beeps = new Sound(this);
beeps.attachSound("beep");
soundetector();
messages = new Array();
messages = ["\u201COhhh damn, she\u2019s left the alarm on, think she said she wrote the code on a note and left it in the hallway \u2013 better use the scope\u201D", "\u201Chmmm a message on the answerphone\u2026\u201D<br>instructions [click on the green button to check messages]", "\u201CNow better do something about those damn lights, think I got some ammo left\u201D", "Night vision goggles enabled<br>\u201CNow gotta get to the damn john and take a leak\u201D", "\u201CWhoa, my baby left me a cute little booby trap, better take it out or I\u2019ll wake the whole damn block\u201D", "\u201Cgreat, now I\u2019m bursting really do need to take a leak\u2026\u201D"];
messagespage2 = new Array();
messagespage2 = ["Instructions [Check the hall with your scope to find the code, then enter it on the panel, you\u2019ll have just a few seconds to enter the code.]", null, null];
messagenumber = 0;
sofaend = "Sleeping on the sofa";
function checkloading() {
ifFrameLoaded (18) {
removeMovieClip("nextstage");
gotoAndStop (20);
}
}
function attachalarm() {
attachMovie("alarmsystem", "alarmsystem", 2300);
_root.menu1._visible = 0;
_root.mymenu._visible = 0;
removeMovieClip("mymenu");
}
function removetripwire() {
removeMovieClip(_root.image.tripwire);
_root.allowmovement = false;
}
function processtimercounter() {
_root.attachMovie("timer", "timer", 4020);
timer._x = 10;
timer._y = 10;
}
function processdefuse() {
var _local1 = _root;
processnewmessege();
_local1.allowmovement = false;
_local1.image.tripwire.play();
_local1.moveon();
}
function processexplosion() {
var _local1 = _root;
_local1.levelphase = _local1.levelphase + 2;
_local1.picturephase = 0;
_local1.attachselectedmovie();
}
function processhallfunction() {
processnewmessege();
removeMovieClip("alarmsystem");
removeMovieClip("timer");
_root.menu1._visible = 1;
_root.moveon();
}
function processclimbstairs() {
_root.attachselectedmovie();
}
function processnewmessege() {
_root.messagenumber++;
_root.briefingbarsetup();
}
menuoption = new Array();
menufunction = new Array();
menuoption = [["Scope", "Enter Alarm Code"], ["Return to hall"], ["sniper"], ["Climb stairs"], ["Cut wire", "Enter bathroom"], ["Enter Bathroom"]];
menufunction = new Array();
menufunction = [[{attach:"sniper", process:null}, {attach:"alarm", process:null}], [{attach:null, process:"hallfunction"}], [{attach:"sniper", process:"addammo"}], [{attach:null, process:"climbstairs"}], [{attach:null, process:"defuse"}, {attach:null, process:"explosion"}], [{attach:"nextstagex", process:"climbstairs"}]];
scene = 2;
_root.shotsfired = 0;
levelphase = 0;
picturephase = 0;
_root.allowmovement = true;
currentlistner = itemListener;
lastlistner = null;
setcurrentlistner(itemListener);
_root.image.__proto__ = movementClass.prototype;
_root.image.init();
ymaxup = -25;
ymaxdown = -100;
xmaxleft = -32;
xmaxright = 0;
_root.ammo = 0;
_root.ammoingun = 0;
stop();
lightsoff = 0;
storyboard = new Array();
storyboard[0] = {picturename:["scene2hallway", "scene2hallfade1", "scene2hallfade2", "scene2hallfade3"], stageassets:[{nam:"light1", xp:490, yp:130}, {nam:"light2", xp:360, yp:120}, {nam:"light3", xp:595, yp:131}], moviename:null};
storyboard[1] = {picturename:[null], stageassets:[{}], moviename:null};
storyboard[2] = {picturename:["scene2hallfade1", "scene2hallfade2", "scene2hallfade3", "scene2hallfade3"], stageassets:[{}], moviename:"scene2videotransition1"};
storyboard[3] = {picturename:[null], stageassets:[{}], moviename:"scene2videotransition1"};
storyboard[4] = {picturename:["scenetopstairsnightvision"], stageassets:[{nam:"tripwire", xp:310, yp:170}], moviename:"scene2videotransition2"};
storyboard[5] = {picturename:[null], stageassets:[{nam:null}], moviename:"scene2videotransition2"};
storyboard[6] = {picturename:["scene2bathroomdoor"], stageassets:[null], moviename:"scene2explosion"};
_root.setupstage();
_root.soundetector();
Instance of Symbol 464 MovieClip in Frame 14
onClipEvent (enterFrame) {
count++;
if (count > 40) {
_root.beeps.start(0, 1);
count = 0;
}
}
Frame 16
ifFrameLoaded (18) {
gotoAndPlay ("end3");
}
Frame 17
gotoAndPlay (16);
Frame 20
levelphase = 0;
picturephase = 0;
play();
Frame 21
zips = new Sound(this);
zips.attachSound("zip");
pisserss = new Sound(this);
pisserss.attachSound("pisser");
messages = new Array();
messages = ["instructions [Go to the john]", "", "\u201Chmmm, so far so good?, gotta try and get into bed without making any more noise\u201D", "Open door"];
messagenumber = 0;
messagespage2 = new Array();
messagespage2 = [null, null, null, null, null];
_root.pissflow = 0.5;
function checkloading() {
ifFrameLoaded (28) {
removeMovieClip("nextstage");
gotoAndStop (27);
}
}
storyboard = new Array();
storyboard[0] = {picturename:["scene3bathroom"], stageassets:[]};
storyboard[1] = {picturename:[null], stageassets:[], moviename:"scene3videotransition1"};
storyboard[2] = {picturename:["scene3bathroomsink"], stageassets:[], moviename:"scene3videotransition2"};
storyboard[3] = {picturename:["scene3bathroomtoilet"], stageassets:[], moviename:null};
storyboard[4] = {picturename:[null], stageassets:[null], moviename:null};
storyboard[5] = {picturename:[null], stageassets:[null], moviename:"scene3videotransition3"};
storyboard[6] = {picturename:["scenebedroomdoor"], stageassets:[null], moviename:null};
_root.setupstage();
_root.soundetector();
function processmoviepath2() {
var _local1 = _root;
_local1.levelphase = _local1.levelphase + 2;
_local1.picturephase = 0;
_local1.attachselectedmovie();
}
function processmoviepath1() {
var _local1 = _root;
_local1.levelphase++;
_local1.picturephase = 0;
_local1.attachselectedmovie();
}
function processgamesetup() {
newmessage();
_root.arrowpointer._visible = 0;
_root.allowmovement = false;
attachMovie("toiletgame", "toiletgame", 30000);
menu1.pismeter._y = 170;
menu1.pismeter._x = 800;
}
function endgame() {
var _local1 = _root;
pisserss.stop();
_local1.messagenumber++;
menu1.soundlevel._visible = 1;
menu1.health._visible = 1;
removeMovieClip("toiletgame");
_local1.levelphase++;
_local1.picturephase = 0;
_local1.arrowpointer._visible = 1;
briefingbarsetup();
}
menuoption = new Array();
menufunction = new Array();
menuoption = [["move to toilet"], ["sniper"], ["Cut wire"], ["Use"], ["leave bathroom"], [null], ["Enter bedroom"]];
menufunction = new Array();
menufunction = [[{attach:null, process:"moviepath2"}], [{attach:"sniper", process:null}], [{attach:null, process:"defuse"}], [{attach:null, process:"gamesetup"}], [{attach:null, process:"moviepath1"}], [{attach:null, process:null}], [{attach:"nextstage", process:null}]];
scene = 3;
levelphase = 0;
picturephase = 0;
_root.allowmovement = false;
currentlistner = itemListener;
lastlistner = null;
setcurrentlistner(itemListener);
stop();
Frame 23
ifFrameLoaded (18) {
gotoAndPlay ("end3");
}
Frame 24
gotoAndPlay (23);
Frame 27
levelphase = 0;
picturephase = 0;
scene = 4;
play();
Frame 28
sexys = new Sound(this);
sexys.attachSound("sexy");
pans = new Sound(this);
pans.attachSound("pan");
messages = new Array();
messages = ["that\u2019s a point, better put the clock back to 23:00 incase she wakes up", "Use the arrow keys to change the time back to 23:00", "Mission Complete", "\u201CJeez, that was tougher than that gig in Indonesia, are you sleepy baby, told you I\u2019d be home before eleven", "\u201Coooh Tiger I didn\u2019t realise the Third Echelon made silencers that big?...\u201D ", "\u201Cthat\u2019s not a silencer\u2026\u201D", "\u201Chmmm, strange, she\u2019s not here!\u201D..............\u201Chey what the hell\u2026.\u201D"];
messagespage2 = [null, null, null, null];
messagenumber = 0;
stop();
function newphase() {
_root.levelphase++;
_root.picturephase = 0;
messagenumber++;
briefingbarsetup();
prepmenu();
interfacebirth();
}
function processmoviepathtobed() {
var _local1 = _root;
_local1.levelphase++;
_local1.picturephase = 0;
_local1.attachselectedmovie();
removeMovieClip(_local1.image.scene4clockface);
setcurrentlistner(none);
_local1.finished = true;
}
function startagain() {
gotoAndPlay (6);
removeMovieClip("fin");
}
storyboard = new Array();
if (_root.soundtarget > 70) {
storyboard[0] = {picturename:["scen4pan"], stageassets:[{nam:null}], moviename:null};
} else {
storyboard[0] = {picturename:["scene4bedroom"], stageassets:[{nam:null}], moviename:null};
}
storyboard[1] = {picturename:[null], stageassets:[{nam:"scene4clockface", xp:0, yp:0}], moviename:"scene4videotransition1"};
storyboard[2] = {picturename:["scene4alrmclock"], stageassets:[{nam:"scene4clockface", xp:0, yp:0}], moviename:null};
storyboard[3] = {picturename:[null], stageassets:[null], moviename:null};
storyboard[4] = {picturename:[null], stageassets:[null], moviename:"scene4videotransition2"};
storyboard[5] = {picturename:["scene4bed"], stageassets:[null], moviename:"scene4videotransition2"};
storyboard[6] = {picturename:["scene4pan"], stageassets:[null], moviename:"scene4videotransition2"};
_root.setupstage();
_root.soundetector();
menuoption = new Array();
menufunction = new Array();
if (_root.soundtarget > 70) {
mymenu._visible = 0;
messagenumber = 6;
}
menuoption = [["Walk to clock"], ["nuull"], ["nuull"], ["Into bed"]];
menufunction = new Array();
menufunction = [[{attach:null, process:"moviepath1"}], [{attach:null, process:null}], [{attach:null, process:null}], [{attach:null, process:"moviepathtobed"}]];
Symbol 19 MovieClip Frame 1
stop();
Instance of Symbol 24 MovieClip "health" in Symbol 26 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health < 101) {
this._yscale = _root.health;
} else {
_root.health = 100;
}
_root.health = _root.health - 0.01;
}
Symbol 36 Button
on (release) {
select = 1;
_root.selectmenuitem(_root.menufunction[_root.levelphase][this.buttonumber].attach, _root.menufunction[_root.levelphase][this.buttonumber].process, _root.menufunction[_root.levelphase][this.buttonumber].endscene);
_root.removemenu();
}
on (rollOver) {
_root.menu1.icon.gotoAndStop(imagename);
db = _root.menufunction[_root.levelphase][this.buttonumber].attach + "__";
db = (((_root.levelphase + "_") + this.buttonumber) + "_") + _root.menufunction[_root.levelphase][this.buttonumber].attach;
gotoAndStop (2);
}
on (rollOut, dragOut) {
if (select != 1) {
_root.menu1.icon.gotoAndStop(1);
}
gotoAndStop (1);
}
Symbol 39 MovieClip [menubutton] Frame 1
stop();
Symbol 51 MovieClip [standardpointer] Frame 1
this._rotation = 0;
_parent._rotation = 0;
Symbol 70 MovieClip Frame 1
stop();
Symbol 77 Button
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
on (release) {
if (_root.scopedistance < 3) {
_root.scopedistance++;
_root.animatesniper("x" + _root.scopedistance, _root.meterdistance);
_root.scaler = _root.scaler + 150;
_root.zoomacc = _root.zoomacc + 15;
_root.image.sniperinit();
_root.image.zoomactive = true;
}
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 83 Button
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
on (release) {
if (_root.scopedistance > 1) {
_root.scopedistance--;
_root.animatesniper("x" + _root.scopedistance);
_root.scaler = _root.scaler - 150;
_root.zoomacc = _root.zoomacc - 15;
_root.image.sniperinit();
_root.image.zoomactive = true;
}
}
Symbol 85 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
stop();
Symbol 92 Button
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
on (release) {
_root.removesniper();
_root.image.imageholder.imagejpg.play();
}
Symbol 93 MovieClip Frame 1
stop();
Symbol 94 MovieClip [scope] Frame 1
function fire() {
cart = _root.ammoingun;
ammocount = (cart + " / ") + _root.ammo;
}
fire();
Symbol 107 MovieClip [scene1videotransition1] Frame 1
Symbol 107 MovieClip [scene1videotransition1] Frame 8
_root.movietransition = 1;
_root.allowmovement = false;
_root.removemovie();
stop();
Symbol 117 MovieClip [scene1videotransition2] Frame 1
Symbol 117 MovieClip [scene1videotransition2] Frame 4
function go() {
this._visible = 0;
}
_root.soundtarget = _root.soundtarget + 10;
_root.applywalkproto(house);
_root.gravels.start();
stop();
Symbol 117 MovieClip [scene1videotransition2] Frame 10
_root.allowmovement = false;
_root.image._x = _root.canvasimagex;
_root.image._y = _root.canvasimagey;
_root.levelphase++;
_root.picturephase = 0;
_root.removemovie();
stop();
Symbol 129 MovieClip [scene1videotransition3] Frame 1
_root.grasss.start();
Symbol 129 MovieClip [scene1videotransition3] Frame 5
function go() {
this._visible = 0;
}
_root.applywalkproto(house);
stop();
Symbol 129 MovieClip [scene1videotransition3] Frame 12
_root.allowmovement = false;
_root.image._x = _root.canvasimagex;
_root.image._y = _root.canvasimagey;
_root.removemovie();
stop();
Symbol 133 Button
on (release) {
_root.attachselectedmovie();
removeMovieClip(this);
}
Symbol 146 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 8
_parent.play();
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 5
stop();
Symbol 155 MovieClip Frame 1
locktime = random(30);
stop();
Symbol 155 MovieClip Frame 2
locktime = random(4) + 4;
pins.p1._visible = 0;
nexter = "s3";
stop();
Symbol 155 MovieClip Frame 3
pins.p1._visible = 0;
pins.p2._visible = 0;
nexter = "s4";
locktime = random(5) + 5;
stop();
Symbol 155 MovieClip Frame 4
pins.p1._visible = 0;
pins.p2._visible = 0;
pins.p3._visible = 0;
locktime = random(6) + 6;
_parent._parent.play();
_root.click2s.start();
stop();
Symbol 155 MovieClip Frame 5
gotoAndStop ("s4");
Symbol 157 MovieClip [lockpick] Frame 2
_root.setcurrentlistner(_root.lockpickListener);
stop();
Symbol 157 MovieClip [lockpick] Frame 33
_root.removelockpick();
stop();
Symbol 167 MovieClip [light] Frame 1
function killme() {
gotoAndStop ("hit");
}
objectstate = true;
stop();
Instance of Symbol 160 MovieClip in Symbol 167 MovieClip [light] Frame 1
onClipEvent (load) {
swarm = 7;
speed = 0.08;
frequency = 100;
area = 100;
limit = new Object();
i = 0;
while (i < swarm) {
attachMovie("swarm", "swarm" + i, i);
i++;
}
}
onClipEvent (enterFrame) {
limit.xmin = -Number(area);
limit.xmax = 30 + area;
tt = limit.xmax;
limit.ymin = -Number(area);
limit.ymax = 30 + Number(area);
}
Instance of Symbol 163 MovieClip in Symbol 167 MovieClip [light] Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scope.sight)) {
_root.currenttarget = _parent._name;
}
}
Instance of Symbol 165 MovieClip in Symbol 167 MovieClip [light] Frame 2
onClipEvent (enterFrame) {
this._rotation = this._rotation + (7 + random(4));
this._y = this._y + (4 + random(5));
this._x = this._x + (-5 + random(10));
}
Instance of Symbol 165 MovieClip in Symbol 167 MovieClip [light] Frame 2
onClipEvent (enterFrame) {
this._rotation = this._rotation + (7 + random(4));
this._y = this._y + (4 + random(5));
this._x = this._x + (-5 + random(10));
}
Instance of Symbol 165 MovieClip in Symbol 167 MovieClip [light] Frame 2
onClipEvent (load) {
gen = random(40);
this._xscale = 60 + gen;
this._yscale = 60 + gen;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + (7 + random(4));
this._y = this._y + (4 + random(5));
this._x = this._x + (-5 + random(10));
}
Instance of Symbol 165 MovieClip in Symbol 167 MovieClip [light] Frame 2
onClipEvent (enterFrame) {
this._rotation = this._rotation + (7 + random(4));
this._y = this._y + (4 + random(5));
this._x = this._x + (-5 + random(10));
}
Symbol 171 MovieClip [scene1nightvision1] Frame 1
_root.nightvs.start();
Symbol 175 MovieClip [scene1image1lightson] Frame 1
stop();
Symbol 176 MovieClip [scene1image1night] Frame 1
stop();
Symbol 176 MovieClip [scene1image1night] Frame 18
stop();
Instance of Symbol 179 MovieClip in Symbol 180 MovieClip [swarm] Frame 1
onClipEvent (load) {
setDest = 1;
}
onClipEvent (enterFrame) {
if (setDest) {
rr = _parent._parent.limit.xmax;
dest_x = random(_parent._parent.limit.xmax - _parent._parent.limit.xmin) + _parent._parent.limit.xmin;
dest_y = random(_parent._parent.limit.ymax - _parent._parent.limit.ymin) + _parent._parent.limit.ymin;
setDest = 0;
init = getTimer();
}
distancex = dest_x - this._x;
distancey = dest_y - this._y;
xdif = (distancex / 2) * Number(_parent._parent.speed);
ydif = (distancey / 2) * Number(_parent._parent.speed);
this._x = this._x + xdif;
this._y = this._y + ydif;
if ((getTimer() - init) > (Number(_parent._parent.frequency) + random(_parent._parent.frequency))) {
setDest = 1;
}
}
Symbol 182 Button
on (release) {
_root.attachselectedmovie();
}
Symbol 183 Button
on (release) {
_root.levelphase++;
_root.picturephase = 0;
_root.attachselectedmovie();
}
Symbol 197 Button
on (release) {
play();
}
Symbol 201 Button
on (release) {
gotoAndStop (11);
}
Symbol 215 MovieClip [briefing] Frame 11
brief = _root.messages[_root.messagenumber];
button._visible = 0;
if (_root.messagespage2[_root.messagenumber] != null) {
button._visible = 1;
}
if (_root.abort) {
brief = _root.fail;
button._visible = 0;
}
stop();
Symbol 215 MovieClip [briefing] Frame 12
brief = _root.messagespage2[_root.messagenumber];
stop();
Symbol 215 MovieClip [briefing] Frame 17
removeMovieClip(this);
stop();
Symbol 215 MovieClip [briefing] Frame 21
_root.messagenumber++;
Symbol 215 MovieClip [briefing] Frame 43
brief = _root.messages[_root.messagenumber];
Symbol 215 MovieClip [briefing] Frame 45
Symbol 215 MovieClip [briefing] Frame 130
_root.messagenumber++;
brief = _root.messages[_root.messagenumber];
Symbol 215 MovieClip [briefing] Frame 145
_root.sexys.start();
Symbol 215 MovieClip [briefing] Frame 182
_root.endsequence();
stop();
Symbol 215 MovieClip [briefing] Frame 183
brief = "\u201CGet the hell outta my damn house\u2026!!!\u201D";
Symbol 218 MovieClip [nextstage] Frame 2
_root.checkloading();
Symbol 218 MovieClip [nextstage] Frame 3
gotoAndPlay (2);
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
stop();
Symbol 271 Button
on (release) {
removeMovieClip(_root.image);
removeMovieClip(_root.scope);
_root.endsequence();
removeMovieClip(this);
}
Symbol 276 Button
on (release) {
_root.startover();
}
Symbol 281 Button
on (release) {
play();
}
Symbol 286 Button
on (release) {
_root.play();
removeMovieClip(this);
}
Symbol 290 Button
on (release) {
gotoAndStop (36);
}
Symbol 291 MovieClip [endgameonsofe] Frame 2
_roo.allowmovement = false;
trace("end_onsofa");
_root.loadpointer("standardpointer");
if (_root.begingame == true) {
_root.begingame = false;
gotoAndStop ("pda");
}
Symbol 291 MovieClip [endgameonsofe] Frame 35
if (_root.scene > 1) {
texer = "Our Third Echelon Agent has failed in his efforts to complete this mission, he has been detected by his girlfriend. He must now spend the evening on the sofa.";
} else {
texer = "Our Third Echelon Agent has failed in his efforts to complete this mission, he has been detected by his neighbors dogs.";
}
_root.setupmouse();
_root.allowmovement = false;
removeMovieClip(_root.image);
if (_root.scope) {
removeMovieClip(_root.scope);
}
stop();
Symbol 291 MovieClip [endgameonsofe] Frame 36
intro = "Following his last most successful mission, A member of the Third Echelon has been out celebrating with his mates.<br><br>Despite a 11pm curfew imposed by his girlfriend, he has returned home very late, having forgotten his keys he must now gain entrance to his flat and get into bed without upsetting his light sleeping girlfriend.";
texer = intro;
M.gotoAndStop(2);
stop();
Symbol 291 MovieClip [endgameonsofe] Frame 37
intro = "He must again use his skills and gadgets to complete this final task of the evening, making the least possible noise and keeping the stealth meter and his health bar from reaching critical; resulting with him sleeping on the sofa \u2013 or worse\u2026";
texer = intro;
stop();
Symbol 303 Button
on (release) {
getURL ("http://www.amazon.co.uk/exec/obidos/ASIN/B0000A1P0Q/momentumpictu-21", "_blank");
}
Symbol 304 Button
on (release) {
_root.startover();
removeMovieClip(this);
}
Symbol 305 Button
on (release) {
url = "http://www.splintercell.com/uk/latehome/";
getURL ("mailto:?Subject=Don't wake your girlfriend.&Body=" + url);
}
Symbol 306 MovieClip [fin] Frame 133
subject = "";
greeting = "";
body = "";
stop();
Symbol 312 Button
on (release) {
_root.allowmovement = true;
removeMovieClip(this);
}
Symbol 313 MovieClip [intropop] Frame 1
_root.allowmovement = false;
Instance of Symbol 315 MovieClip in Symbol 316 MovieClip [bullet] Frame 1
onClipEvent (enterFrame) {
this._alpha = this._alpha - 1;
if (this._alpha < 5) {
removeMovieClip(this);
}
}
Symbol 327 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
_root.image.light1._visible = 0;
_root.image.light2._visible = 0;
_root.image.light3._visible = 0;
Symbol 335 MovieClip [scene2hallfade3] Frame 1
stop();
Symbol 335 MovieClip [scene2hallfade3] Frame 2
_root.nightvs.start();
Symbol 335 MovieClip [scene2hallfade3] Frame 10
stop();
Symbol 364 MovieClip [scene2videotransition1] Frame 1
Symbol 364 MovieClip [scene2videotransition1] Frame 5
function go() {
this._visible = 0;
}
Symbol 364 MovieClip [scene2videotransition1] Frame 13
Symbol 364 MovieClip [scene2videotransition1] Frame 14
_root.allowmovement = false;
_root.image._x = _root.canvasimagex;
_root.image._y = _root.canvasimagey;
_root.removemovie();
stop();
Symbol 371 MovieClip Frame 32
stop();
Symbol 373 MovieClip Frame 1
stop();
Instance of Symbol 163 MovieClip in Symbol 373 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.scope.sight)) {
_root.currenttarget = _parent._parent._name;
}
}
Symbol 373 MovieClip Frame 2
_root.lightsoff++;
if (_root.lightsoff == 3) {
_root.scope.xx.inst.gotoAndStop(2);
}
Instance of Symbol 165 MovieClip in Symbol 373 MovieClip Frame 2
onClipEvent (enterFrame) {
this.count = this.count + 1;
if (this.count > 200) {
removeMovieClip(this);
}
this._rotation = this._rotation + (7 + random(4));
this._y = this._y + (4 + random(5));
this._x = this._x + (-5 + random(10));
}
Instance of Symbol 165 MovieClip in Symbol 373 MovieClip Frame 2
onClipEvent (enterFrame) {
this.count = this.count + 1;
if (this.count > 200) {
removeMovieClip(this);
}
this._rotation = this._rotation + (7 + random(4));
this._y = this._y + (4 + random(5));
this._x = this._x + (-5 + random(10));
}
Instance of Symbol 165 MovieClip in Symbol 373 MovieClip Frame 2
onClipEvent (load) {
gen = random(40);
this._xscale = 60 + gen;
this._yscale = 60 + gen;
}
onClipEvent (enterFrame) {
this.count = this.count + 1;
if (this.count > 200) {
removeMovieClip(this);
}
this._rotation = this._rotation + (7 + random(4));
this._y = this._y + (4 + random(5));
this._x = this._x + (-5 + random(10));
}
Instance of Symbol 165 MovieClip in Symbol 373 MovieClip Frame 2
onClipEvent (enterFrame) {
this.count = this.count + 1;
if (this.count > 200) {
removeMovieClip(this);
}
this._rotation = this._rotation + (7 + random(4));
this._y = this._y + (4 + random(5));
this._x = this._x + (-5 + random(10));
}
Symbol 374 MovieClip [light3] Frame 1
function killme() {
light.gotoAndStop("hit");
}
this.objectstate = true;
Symbol 375 MovieClip [light1] Frame 1
function killme() {
light.gotoAndStop("hit");
}
this.objectstate = true;
Symbol 376 MovieClip [light2] Frame 1
function killme() {
light.gotoAndStop("hit");
}
this.objectstate = true;
Symbol 386 Button
on (release) {
_root.playanswermachine();
}
Symbol 390 MovieClip Frame 2
if (_root.mesdeleted == true) {
gotoAndStop (3);
_parent.stop();
} else {
stop();
}
Symbol 390 MovieClip Frame 3
stop();
Symbol 391 MovieClip Frame 2
if (_root.mesdeleted == true) {
n.gotoAndStop(3);
stop();
}
Symbol 391 MovieClip Frame 24
if (_root.mesdeleted == true) {
n.gotoAndStop(3);
stop();
}
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 2
stop();
Symbol 401 Button
on (release) {
if (this._name == "bhash") {
_parent.inputer = "";
} else {
_parent.disp(no);
}
gotoAndStop (1);
}
on (press) {
_root.buttons.start();
gotoAndStop (2);
}
on (rollOut, dragOut) {
gotoAndStop (1);
b.gotoAndStop(1);
}
on (rollOver) {
b.gotoAndStop(2);
}
Symbol 403 MovieClip Frame 1
b0 = "0";
b1 = "1";
b2 = "2";
b3 = "3";
b4 = "4";
b5 = "5";
b6 = "6";
b7 = "7";
b8 = "8";
b9 = "9";
bhash = "C";
bstar = "E";
this.no = eval (this._name);
stop();
Symbol 405 Button
on (release) {
_parent.enterid();
gotoAndStop (1);
}
on (press) {
_root.buttons.start();
gotoAndStop (2);
}
on (rollOut, dragOut) {
gotoAndStop (1);
b.gotoAndStop(1);
}
on (rollOver) {
b.gotoAndStop(2);
}
Symbol 407 MovieClip Frame 1
b0 = "0";
b1 = "1";
b2 = "2";
b3 = "3";
b4 = "4";
b5 = "5";
b6 = "6";
b7 = "7";
b8 = "8";
b9 = "9";
bhash = "#";
bstar = "E";
this.no = eval (this._name);
stop();
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 10
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 10
if (count < 10) {
}
stop();
Symbol 431 Button
on (release) {
_root.interfacebirth();
_root.prepmenu();
removeclip();
}
Symbol 432 MovieClip [alarmsystem] Frame 1
function disp(n) {
if (inputer.length < 4) {
inputer = inputer + n;
} else if (inputer != code) {
}
}
function enterid() {
var _local1 = _root;
if ((inputer == code) and (pressed == 0)) {
_local1.moveon();
pressed = 1;
_local1.timer.activex = false;
green.play();
delete _local1.beeps;
_local1.messagenumber++;
_local1.briefingbarsetup();
red.play();
}
if (inputer != code) {
inputer = "";
}
}
function removeclip() {
_root.moveon();
removeMovieClip(_root.timer);
removeMovieClip(this);
}
inputer = "";
code = 1490;
pressed = 0;
_root.processtimercounter();
Symbol 437 MovieClip [timer] Frame 1
gogo = function () {
this.activex = true;
this.timer = 200;
};
gogo();
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local1.activex) {
if (_local1.timer > 0) {
_local1.timer = _local1.timer - 1;
} else {
delete _local2.beeps;
_local2.alarms.start();
_local2.attachMovie("endgameonsofe", "endgameonsofe", 30000, {tex:_local2.sofaend});
_local1.activex = false;
}
}
};
Symbol 447 MovieClip [scene2videotransition2] Frame 1
Symbol 447 MovieClip [scene2videotransition2] Frame 8
Symbol 447 MovieClip [scene2videotransition2] Frame 9
_root.attachnextstage();
_root.allowmovement = false;
_root.image._x = _root.canvasimagex;
_root.image._y = _root.canvasimagey;
_root.removemovie();
stop();
Symbol 450 MovieClip [scene2explosion] Frame 2
_root.grenades.start();
Symbol 450 MovieClip [scene2explosion] Frame 39
_root.attachMovie("endgameonsofe", "endgameonsofe", 30000, {tex:_root.sofaend});
stop();
Symbol 454 MovieClip [tripwire] Frame 1
stop();
Symbol 454 MovieClip [tripwire] Frame 19
_root.removetripwire();
stop();
Symbol 461 MovieClip Frame 1
stop();
Instance of Symbol 468 MovieClip "bladder" in Symbol 469 MovieClip [pismeter] Frame 1
onClipEvent (enterFrame) {
if (this._yscale > 0) {
this._yscale = this._yscale - _parent.dec;
_parent.dec = 0;
} else {
_root.emptybladder = true;
}
}
Symbol 491 MovieClip [scene3bathroomtoilet] Frame 10
stop();
Symbol 492 MovieClip [scene3videotransition2] Frame 1
Symbol 492 MovieClip [scene3videotransition2] Frame 9
_root.allowmovement = false;
_root.image._x = _root.canvasimagex;
_root.image._y = _root.canvasimagey;
_root.zips.start();
_root.removemovie("none");
stop();
Symbol 506 MovieClip [scene3videotransition3] Frame 1
Symbol 506 MovieClip [scene3videotransition3] Frame 25
_root.allowmovement = false;
_root.image._x = _root.canvasimagex;
_root.image._y = _root.canvasimagey;
_root.removemovie();
stop();
Symbol 511 MovieClip Frame 1
gotoAndStop(random(5));
Symbol 516 MovieClip Frame 7
stop();
Symbol 517 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 10
removeMovieClip(_parent);
stop();
Symbol 517 MovieClip Frame 23
removeMovieClip(_parent);
stop();
Symbol 518 MovieClip [piss] Frame 1
function splash() {
var _local1 = _root;
mover = false;
if (this.hitTest(_parent.pool)) {
piss.play();
_parent.pismeter.dec = _parent.pismeter.dec + _local1.pissflow;
_local1.health = _local1.health + 0.15;
} else {
_local1.soundtarget = _local1.soundtarget + 0.2;
piss.gotoAndPlay(11);
}
}
mover = true;
Symbol 518 MovieClip [piss] Frame 2
var xNew = (Math.cos(ss) * 30);
var yNew = ((-Math.sin(ss)) * 30);
if (mover) {
this._x = this._x - (xNew / 3);
this._y = this._y - (yNew / 3);
if (this._xscale > 50) {
this._xscale = this._xscale - 1;
this._yscale = this._yscale - 1;
}
if (((this._y - 10) < ym) || ((((this._x + 1) <= xm) and (xm < _parent.ar._x)) || (((this._x + 1) >= xm) and (xm > _parent.ar._x)))) {
splash();
_parent.emptyblader();
}
}
Symbol 518 MovieClip [piss] Frame 3
gotoAndPlay (2);
Instance of Symbol 522 MovieClip "follow" in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
oner = true;
speed = 1;
i = 0;
freq = 3;
amp = 1;
yaxis = 0;
yaxisheight = 120;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.pool)) {
if (oner) {
_root.pisserss.start(0, 1000);
}
oner = false;
} else {
_root.pisserss.stop();
oner = true;
}
_parent._parent.cf = this._x;
_parent._parent.cy = this._y;
adim = adim + 0.05;
setProperty(this, _x , (0 + (Math.sin(adim) * 100)) + (Math.sin(adim) * 10));
setProperty(this, _y , -((Math.sin(adim) * 100) * Math.cos(adim)));
}
Symbol 524 MovieClip [toiletgame] Frame 1
function emptyblader() {
}
i = 0;
ar.onEnterFrame = function () {
if (!_root.emptybladder) {
i++;
this.ax = this._y - (circ._y + cy);
this.by = this._x - (circ._x + cf);
this.angle = Math.atan2(this.ax, this.by);
this.degrees = this.angle / (Math.PI/180);
this._rotation = this.degrees;
j = 0;
while (j < random(4)) {
attachMovie("piss", "piss" + i, i, {ss:-this.angle, xm:circ._x + cf, ym:circ._y + cy});
eval ("piss" + i)._x = this._x + random(10);
eval ("piss" + i)._y = this._y + random(9);
eval ("piss" + i)._yscale = 100;
eval ("piss" + i)._xscale = 100;
j++;
}
c = 0;
} else if ((_root.emptybladder == true) and (end != true)) {
_root.endgame();
end = true;
circ._visible = 0;
}
c++;
};
Instance of Symbol 523 MovieClip "circ" in Symbol 524 MovieClip [toiletgame] Frame 1
onClipEvent (enterFrame) {
this._y = _parent._ymouse;
this._x = _parent._xmouse;
}
Symbol 527 MovieClip Frame 1
stop();
Symbol 547 MovieClip [scene4videotransition1] Frame 1
Symbol 547 MovieClip [scene4videotransition1] Frame 16
_root.allowmovement = false;
_root.image._x = _root.canvasimagex;
_root.image._y = _root.canvasimagey;
_root.removemovie();
stop();
Symbol 580 MovieClip [scene4bed] Frame 126
_root.briefing.gotoAndPlay("girltalk");
stop();
Symbol 581 MovieClip [scene4videotransition2] Frame 1
Symbol 581 MovieClip [scene4videotransition2] Frame 16
_root.allowmovement = false;
_root.image._x = _root.canvasimagex;
_root.image._y = _root.canvasimagey;
_root.removemovie();
stop();
Symbol 597 MovieClip [scen4pan] Frame 89
_root.briefing.gotoAndStop("getout");
Symbol 597 MovieClip [scen4pan] Frame 93
_root.pans.start();
Symbol 597 MovieClip [scen4pan] Frame 126
_root.attachMovie("endgameonsofe", "endgameonsofe", 30000, {tex:_root.sofaend});
stop();
Symbol 602 MovieClip [scene4bedroom] Frame 23
stop();
Symbol 610 Button
on (press) {
changer = true;
}
on (release, dragOut) {
changer = false;
}
Symbol 618 MovieClip [scene4clockface] Frame 1
function ti() {
clocktime2 = clockmindisp;
}
function h() {
if (clockhours < 10) {
clockhours = "0" + hours;
}
clocktime = clockhours;
}
removeMovieClip(_root.menu1);
removeMovieClip(_root.mymenu);
clockminutes = "21";
clockmindisp = clockminutes;
ti();
hours = 3;
clockhours = "03";
h();
Instance of Symbol 611 MovieClip "b4" in Symbol 618 MovieClip [scene4clockface] Frame 1
onClipEvent (enterFrame) {
tt++;
if (changer and (_parent.finished != true)) {
_parent.clockmindisp = _parent.clockminutes;
if (_parent.clockminutes < 0) {
_parent.clockhours = _parent.hours;
if (_parent.hours < 10) {
}
if (_parent.hours < 0) {
}
_parent.clockminutes = 59;
_parent.clockmindisp = _parent.clockminutes;
}
if (_parent.clockminutes < 10) {
_parent.clockmindisp = "0" + _parent.clockminutes;
}
if (tt > 3) {
_parent.clockminutes--;
_parent.ti();
tt = 0;
}
}
}
Instance of Symbol 611 MovieClip "b2" in Symbol 618 MovieClip [scene4clockface] Frame 1
onClipEvent (enterFrame) {
tt++;
if (changer and (_parent.finished != true)) {
_parent.clockmindisp = _parent.clockminutes;
if (_parent.clockminutes < 10) {
_parent.clockmindisp = "0" + _parent.clockminutes;
}
if (_parent.clockminutes > 59) {
_parent.clockminutes = 0;
_parent.clockmindisp = "0" + _parent.clockminutes;
}
if (_parent.hours < 10) {
}
if (_parent.hours > 23) {
_parent.clockminutes = 0;
}
if (tt > 3) {
_parent.clockminutes++;
_parent.ti();
tt = 0;
}
}
}
Instance of Symbol 611 MovieClip "b1" in Symbol 618 MovieClip [scene4clockface] Frame 1
onClipEvent (enterFrame) {
if (changer and (_parent.finished != true)) {
t++;
if (_parent.hours > 23) {
_parent.hours = 0;
_parent.clockhours = 0;
}
if (t > 5) {
t = 0;
_parent.hours++;
_parent.clockhours++;
_parent.h();
}
}
}
Instance of Symbol 611 MovieClip "b3" in Symbol 618 MovieClip [scene4clockface] Frame 1
onClipEvent (enterFrame) {
if (changer and (_parent.finished != true)) {
_root.briefingremove();
t++;
if (t > 5) {
t = 0;
_parent.hours--;
_parent.clockhours--;
_parent.h();
}
if (_parent.hours == 0) {
_parent.hours = 24;
_parent.clockhours = 24;
}
}
}
Instance of Symbol 617 MovieClip in Symbol 618 MovieClip [scene4clockface] Frame 1
onClipEvent (enterFrame) {
if (((((((_parent.b1.changer != true) and (_parent.b2.changer != true)) and (_parent.b3.changer != true)) and (_parent.b4.changer != true)) and (resulter != true)) and (_parent.clocktime == 23)) and (_parent.clocktime2 == 0)) {
_parent.finished = true;
resulter = true;
_root.newphase();
}
}
Symbol 621 MovieClip Frame 2
stop();