Frame 1
function timeout() {
if (!lv_lv.loaded) {
vc_lv.onLoad = null;
delete vc_lv;
trace("loadvars cancelled");
play();
}
clearInterval(tOIntId);
delete tOIntId;
}
function openWindow(url, popup, options) {
if (popup) {
if (ExternalInterface.call("eval", "true")) {
ExternalInterface.call("open", url, "popup", options);
} else if (_global.root.isMaster && (_global.root.isJavascriptEnabled)) {
getURL (((("javascript:void window.open( \"" + url) + "\", \"\" , \"") + options) + "\");");
} else {
getURL (url, "_blank");
}
} else {
getURL (url, "_blank");
}
}
stop();
_global.masterurl = "http://www.tubecrisis.com";
_global.assetsurl = "http://swarm.killerviral.com/tubecrsisi";
System.security.allowDomain(_global.assetsurl, _global.masterurl);
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
var domain = ((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0]));
var isMaster = (_global.assetsurl.indexOf(domain) >= 0);
var playerVersion = Number(getVersion().substr(getVersion().indexOf(" ") + 1).split(",")[0]);
var movieVersion = (_root.getSWFVersion ? (_root.getSWFVersion()) : 6);
var ori_dom = (_root.ori_dom ? (_root.ori_dom) : (domain));
var origin = (_root.origin ? (_root.origin) : "");
var game_version = 3;
if (isMaster) {
trace("is master - skip version checking");
play();
} else {
trace("check version...");
var vc_lv = new LoadVars();
vc_lv.onLoad = function (success) {
clearInterval(tOIntId);
delete tOIntId;
if (success) {
if (Number(vc_lv.v) > game_version) {
trace("version checking succeeded - not the latest version");
loadMovie (((_global.assetsurl + "game.swf?ori_dom=") + ori_dom) + ((origin != "") ? ("&origin=" + origin) : ""), _root);
} else {
trace("version checking succeeded - latest version");
play();
}
} else {
trace("version checking failed");
play();
}
delete vc_lv;
};
tOIntId = setInterval(timeout, 2000);
vc_lv.load(_global.masterurl + "/vars/v.php");
}
_global.root = this;
Frame 2
var i = -1;
while (getInstanceAtDepth(i)) {
i--;
}
createEmptyMovieClip("kv_mc", i);
kv_mc.kv_v = {c:90, td:"kempt.90.memecounter.com"};
System.security.allowDomain(kv_mc.kv_v.td);
kv_mc.kv_v.c_so = SharedObject.getLocal(kv_mc.kv_v.c, "/");
kv_mc.kv_v.d = (_root.ori_dom ? (_root.ori_dom) : (((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0]))));
kv_mc.kv_v.fpv = getVersion().split(" ")[1].split(",")[0];
kv_mc.kv_v.lurl = ((((((((((("http://" + kv_mc.kv_v.td) + "/tracker.php") + "?c=") + kv_mc.kv_v.c) + "&r=") + Math.floor(Math.random() * 10000000000)) + "&d=") + kv_mc.kv_v.d) + "&u=") + (kv_mc.kv_v.c_so.data.u ? "1" : "")) + "&p=") + kv_mc.kv_v.fpv;
kv_mc.kv_v.c_so.data.u = true;
kv_v.c_so.flush();
kv_mc.kv_v.t_mc = kv_mc.createEmptyMovieClip("kv_tracker", 0);
kv_mc.kv_v.l_mcl = new MovieClipLoader();
if (kv_mc.kv_v.l_mcl.loadClip) {
kv_mc.kv_v.l_mcl.loadClip(kv_mc.kv_v.lurl, kv_mc.kv_v.t_mc);
} else {
loadMovie (kv_mc.kv_v.lurl, kv_mc.kv_v.t_mc);
}
tabIndex = 1;
stop();
loading_text_mc.stop();
preloader.onEnterFrame = function () {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local3 == 1) {
play();
} else {
preloader.onProgress(_root.getBytesLoaded(), _root.getBytesTotal());
this._parent.loading_text_mc.gotoAndStop(Math.ceil(_local3 * this._parent.loading_text_mc._totalframes));
}
};
onMouseMove = function () {
if (_xmouse > 550) {
Mouse.show();
}
};
walkmanEvent_mc.onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.kvEvent(81);
}
};
kvEvent_mc.onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.kvEvent(80);
}
};
Frame 3
stop();
Frame 4
function playOtherMusicLoop(s, f) {
if (s) {
soundPlayerMusic.sndLoop.setVolume = 100;
soundPlayerOtherMusic.sndLoop = new Sound();
soundPlayerOtherMusic.sndLoop.attachSound("title");
soundPlayerOtherMusic.sndLoop.start(0, 99999);
} else {
musicOtherLoopOn = false;
soundPlayerOtherMusic.sndLoop.stop();
}
}
_global.playOtherMusicLoop = playOtherMusicLoop;
stop();
Frame 5
stop();
Symbol 1037 MovieClip [__Packages.PerformanceController] Frame 0
class PerformanceController extends MovieClip
{
var aFrmTms, _visible;
function PerformanceController () {
super();
aFrmTms = new Array();
nLFT = getTimer();
setDetailLvl(cdl);
_global.perf_cont_mc = this;
_visible = false;
}
function mean(arr) {
var _local3 = 0;
var _local1 = 0;
while (_local1 < arr.length) {
_local3 = _local3 + arr[_local1];
_local1++;
}
return(_local3 / arr.length);
}
function monitorPerformance() {
var _local2 = getTimer();
aFrmTms.push(_local2 - nLFT);
if (aFrmTms.length > nFA) {
var _local3 = 1 / (mean(aFrmTms) / 1000);
if (_local3 > uf) {
if (cdl < mdl) {
setDetailLvl(cdl + 1);
}
} else if (_local3 < lf) {
if (cdl > 1) {
setDetailLvl(cdl - 1);
}
}
aFrmTms = new Array();
}
nLFT = _local2;
}
function setDetailLvl(l) {
switch (l) {
case 1 :
_root._quality = "MEDIUM";
break;
case 2 :
_root._quality = "HIGH";
_global.game.stopShaking = true;
break;
case 3 :
_root._quality = "MEDIUM";
_global.game.stopShaking = false;
break;
case 4 :
_root._quality = "HIGH";
}
cdl = l;
}
static var nFA = 5;
var nLFT = 0;
var cdl = 4;
static var lf = 16;
static var uf = 28;
static var mdl = 4;
}
Symbol 9 MovieClip Frame 1
function onProgress(c, t) {
bar._width = (c / t) * width;
}
width = bar._width;
Symbol 27 MovieClip Frame 171
_parent.play();
Symbol 31 MovieClip Frame 1
stop();
Symbol 44 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=244", "_blank");
}
Symbol 49 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=238", "_blank");
}
Symbol 64 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 1
specialInit(this);
stop();
Symbol 68 MovieClip Frame 7
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
Symbol 89 MovieClip Frame 3
stop();
Symbol 89 MovieClip Frame 4
stop();
Symbol 89 MovieClip Frame 5
stop();
Symbol 89 MovieClip Frame 6
stop();
Symbol 89 MovieClip Frame 11
stop();
Instance of Symbol 89 MovieClip "sprite" in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent.pushCount);
trace(_parent.pushCount);
}
Instance of Symbol 89 MovieClip "sprite" in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent.pushCount);
trace(_parent.pushCount);
}
Symbol 124 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=238", "_blank");
}
Symbol 130 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=239", "_blank");
}
Symbol 133 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=240", "_blank");
}
Symbol 136 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=241", "_blank");
}
Symbol 141 Button
on (release) {
_root.gotoAndPlay("game");
}
Symbol 146 Button
on (release) {
gotoAndPlay ("close");
}
Symbol 151 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=243", "_blank");
}
Symbol 154 Button
on (rollOver) {
gotoAndPlay ("infoOn");
}
Symbol 167 Button
on (rollOut) {
gotoAndPlay ("infoOff");
}
on (dragOut) {
gotoAndPlay ("infoOff");
}
Symbol 170 MovieClip Frame 2
stop();
Symbol 170 MovieClip Frame 10
stop();
Symbol 170 MovieClip Frame 22
stop();
Symbol 170 MovieClip Frame 29
gotoAndStop ("off");
Symbol 171 Button
on (release) {
_global.root.openWindow("http://90.kempt.memecounter.com/redir.php?urlId=247", true, "width=500,height=500,scrollbars=yes");
}
Symbol 174 MovieClip Frame 1
_root._quality = "HIGH";
Symbol 174 MovieClip Frame 15
playOtherMusicLoop(true, "title");
Symbol 174 MovieClip Frame 65
stop();
Symbol 174 MovieClip Frame 94
playOtherMusicLoop(false);
Symbol 174 MovieClip Frame 95
_root.gotoAndPlay("game");
Symbol 178 MovieClip Frame 1
function onEnterFrame() {
var _local1 = getTimer();
times.push(_local1 - lastTime);
lastTime = _local1;
if (times.length > numTimes) {
times.shift();
}
if (((f++) % updateFrequency) == 0) {
var _local2 = avg(times);
output_txt.text = Math.round(1000 / _local2) + " fps";
}
}
function avg(a) {
var _local3 = 0;
var _local1 = 0;
while (_local1 < a.length) {
_local3 = _local3 + a[_local1];
_local1++;
}
return(_local3 / a.length);
}
var numTimes = 10;
var updateFrequency = 25;
var times = [];
var lastTime = getTimer();
var f = 0;
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 3
stop();
Symbol 191 MovieClip Frame 4
stop();
Symbol 191 MovieClip Frame 5
playSFX("wind");
stop();
Symbol 191 MovieClip Frame 7
stop();
Symbol 198 MovieClip Frame 1
stop();
Instance of Symbol 191 MovieClip "outsideClip" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent.outside);
}
Symbol 198 MovieClip Frame 2
playSFX("doors");
_parent.trainMoving = false;
game.doorR.moving.stop();
game.doorL.moving.stop();
Symbol 198 MovieClip Frame 11
stop();
Symbol 198 MovieClip Frame 12
playSFX("doors");
Symbol 198 MovieClip Frame 20
_parent.trainMoving = true;
game.doorR.moving.play();
game.doorL.moving.play();
playTrainLoop(true);
Symbol 198 MovieClip Frame 38
stop();
Symbol 198 MovieClip Frame 39
playTrainLoop(false);
gotoAndPlay (2);
Instance of Symbol 191 MovieClip "outsideClip" in Symbol 198 MovieClip Frame 39
onClipEvent (load) {
gotoAndStop(_parent.outside);
}
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 2
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 3
_parent.play();
playTrainLoop(false);
playOtherMusicLoop(true, "end");
_parent.gameOver = true;
Symbol 217 MovieClip Frame 61
game.playAgain.gotoAndPlay("on");
stop();
Symbol 244 MovieClip Frame 2
stop();
Symbol 244 MovieClip Frame 3
initMe(this);
Symbol 244 MovieClip Frame 4
trace("LUNCHBOX SAYS; WAIT2!!");
Instance of Symbol 64 MovieClip "actionClip" in Symbol 244 MovieClip Frame 4
onClipEvent (load) {
function clickAction() {
startAction("pointAtBox6");
}
}
Symbol 244 MovieClip Frame 6
playedAnimation(this, "stop");
Symbol 244 MovieClip Frame 31
keepAlive();
Symbol 244 MovieClip Frame 76
keepAlive();
Symbol 244 MovieClip Frame 111
playSFX("munch");
Symbol 244 MovieClip Frame 122
playSFX("munch");
Symbol 244 MovieClip Frame 136
keepAlive();
Symbol 244 MovieClip Frame 164
playSFX("somersault");
Symbol 244 MovieClip Frame 176
playSFX("somersault");
Symbol 244 MovieClip Frame 183
playSFX("crash");
Symbol 244 MovieClip Frame 210
keepAlive();
Symbol 244 MovieClip Frame 216
doReact("girl", "end7");
Symbol 244 MovieClip Frame 217
playedAnimation(this, "stop");
Symbol 281 MovieClip Frame 1
specialInit(this);
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 23
initMe(this);
Symbol 296 MovieClip Frame 27
stop();
Symbol 296 MovieClip Frame 28
stage = 2;
iCanIrritate(this);
Symbol 296 MovieClip Frame 32
stop();
Symbol 296 MovieClip Frame 53
playedAnimation(this);
Symbol 296 MovieClip Frame 82
playSFX("sneeze");
Symbol 296 MovieClip Frame 88
doReact("p11", "action2");
Symbol 296 MovieClip Frame 103
playedAnimation(this);
Symbol 296 MovieClip Frame 114
iCannotIdle(this);
iCannotIrritate(this);
stage = 3;
Symbol 296 MovieClip Frame 134
playedAnimation(this, "stop");
Symbol 296 MovieClip Frame 137
stage = 4;
Symbol 296 MovieClip Frame 143
playedAnimation(this, "stop");
Symbol 296 MovieClip Frame 146
stage = 5;
Symbol 296 MovieClip Frame 186
playSFX("sneeze");
Symbol 296 MovieClip Frame 207
doReact("p14", "stage5");
Instance of Symbol 64 MovieClip "actionClip" in Symbol 296 MovieClip Frame 208
onClipEvent (load) {
function specialAction() {
startAction("action5");
}
}
Symbol 296 MovieClip Frame 209
playedAnimation(this, "stop");
Symbol 296 MovieClip Frame 213
playSFX("oh");
Symbol 296 MovieClip Frame 240
doReact("p14", "stage6");
Symbol 296 MovieClip Frame 272
Symbol 296 MovieClip Frame 293
doReact("p14", "hug6");
Symbol 296 MovieClip Frame 295
playedAnimation(this, "stop");
Symbol 334 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 15
stop();
Symbol 334 MovieClip Frame 16
initMe(this);
iCanIdle(this);
Symbol 334 MovieClip Frame 20
stop();
Symbol 334 MovieClip Frame 27
playedAnimation(this);
Symbol 334 MovieClip Frame 28
stage = 2;
Symbol 334 MovieClip Frame 29
playedAction(this);
playedAnimation(this);
Instance of Symbol 64 MovieClip "actionClip" in Symbol 334 MovieClip Frame 30
onClipEvent (load) {
function specialAction() {
startAction("hitCrisp1");
}
}
Symbol 334 MovieClip Frame 33
playedAnimation(this);
stop();
Symbol 334 MovieClip Frame 38
playedAnimation(this);
Symbol 334 MovieClip Frame 45
playSFX("chomp");
Symbol 334 MovieClip Frame 54
playSFX("chomp");
Symbol 334 MovieClip Frame 61
gotoAndPlay ("idle2b");
Symbol 334 MovieClip Frame 63
game.p8.gotoAndStop("off");
Symbol 334 MovieClip Frame 75
cueDoor("right", "tubeStation");
Symbol 334 MovieClip Frame 92
playSFX("pant");
Symbol 334 MovieClip Frame 100
playSFX("pant");
Symbol 334 MovieClip Frame 109
iCannotIdle(this);
iCannotIrritate(this);
increaseScore();
cueDoor("right");
iAmDone(this);
playedAction(this);
stage = 0;
playedAnimation(this);
Symbol 334 MovieClip Frame 110
stop();
Symbol 334 MovieClip Frame 112
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
initMe(this);
Symbol 336 MovieClip Frame 4
stop();
Symbol 336 MovieClip Frame 7
stage = 2;
Instance of Symbol 64 MovieClip "actionClip" in Symbol 336 MovieClip Frame 41
onClipEvent (load) {
function clickAction() {
startAction("blowFeather");
}
}
Symbol 336 MovieClip Frame 42
stop();
Symbol 336 MovieClip Frame 49
doReact("p10", "action");
Symbol 336 MovieClip Frame 83
stage = 3;
Symbol 336 MovieClip Frame 86
playedAnimation(this, "stop");
Symbol 340 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 1
tintTarget = 80;
specialInit(this);
stop();
Symbol 369 MovieClip Frame 1
function randomStart(t) {
gotoAndPlay(Math.ceil(Math.random * this._totalframes));
}
Instance of Symbol 365 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
randomStart(this);
}
Instance of Symbol 365 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
randomStart(this);
}
Instance of Symbol 365 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
randomStart(this);
}
Instance of Symbol 365 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
randomStart(this);
}
Instance of Symbol 365 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
randomStart(this);
}
Instance of Symbol 365 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
randomStart(this);
}
Instance of Symbol 365 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
randomStart(this);
}
Instance of Symbol 365 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
randomStart(this);
}
Symbol 371 MovieClip Frame 1
stop();
gumLeft = 2;
Symbol 371 MovieClip Frame 6
_parent.girl.gotoAndStop("p3_reaction2");
Symbol 371 MovieClip Frame 7
initMe(this);
pushCount = 0;
stage = 1;
iCanIrritate(this);
Instance of Symbol 64 MovieClip "actionClip" in Symbol 371 MovieClip Frame 8
onClipEvent (load) {
function clickAction() {
startAction("pokeBackpack");
}
function dropAction(o) {
if (o == "crisp") {
}
}
}
Symbol 371 MovieClip Frame 12
stop();
Symbol 371 MovieClip Frame 20
doAction("hitByBag");
playedAnimation(this);
Symbol 371 MovieClip Frame 33
playedAction(this);
playedAnimation(this);
Symbol 371 MovieClip Frame 36
pushCount++;
Symbol 371 MovieClip Frame 37
game.girl.fullBody._visible = true;
Symbol 371 MovieClip Frame 43
game.girl.fullBody._visible = false;
Instance of Symbol 89 MovieClip "sprite" in Symbol 371 MovieClip Frame 47
onClipEvent (load) {
gotoAndStop(_parent.pushCount);
trace(_parent.pushCount);
}
Symbol 371 MovieClip Frame 64
gotoAndPlay ("stage2");
Symbol 371 MovieClip Frame 66
pushCount++;
Instance of Symbol 89 MovieClip "sprite" in Symbol 371 MovieClip Frame 78
onClipEvent (load) {
gotoAndStop(_parent.pushCount);
trace(_parent.pushCount);
}
Symbol 371 MovieClip Frame 93
if (sprite._currentframe >= 3) {
gotoAndPlay ("stage2");
} else {
playedAction(this);
playedAnimation(this);
}
Symbol 371 MovieClip Frame 94
stage = 2;
Symbol 371 MovieClip Frame 97
game.girl.fullBody._visible = true;
Symbol 371 MovieClip Frame 98
playSFX("thud");
doReact("p3", "stage2");
Instance of Symbol 89 MovieClip "sprite" in Symbol 371 MovieClip Frame 116
onClipEvent (load) {
gotoAndStop (11);
}
Instance of Symbol 346 MovieClip "specialClip" in Symbol 371 MovieClip Frame 116
onClipEvent (load) {
gotoAndStop("stick" + _parent.gumLeft);
}
Instance of Symbol 64 MovieClip "actionClip" in Symbol 371 MovieClip Frame 116
onClipEvent (load) {
function specialAction() {
if (game.p1.stage < 6) {
startAction("getGum");
_parent.gumLeft--;
_parent.specialClip.gotoAndStop("stick" + _parent.gumLeft);
} else {
delete specialAction;
}
}
}
Symbol 371 MovieClip Frame 120
playedAnimation(this, "stop");
Symbol 371 MovieClip Frame 123
stage = 3;
Symbol 371 MovieClip Frame 126
playedAnimation(this, "stop");
Symbol 371 MovieClip Frame 128
cueDoor("left", "outside");
Symbol 371 MovieClip Frame 136
playSFX("flap");
Symbol 371 MovieClip Frame 149
doReact("p12", "stage2");
Symbol 371 MovieClip Frame 160
keepAlive();
Symbol 371 MovieClip Frame 192
doReact("p16", "fall0");
doReact("p9", "stage3");
Symbol 371 MovieClip Frame 208
playSFX("thud");
Symbol 371 MovieClip Frame 210
playSFX("flap");
Symbol 371 MovieClip Frame 249
iCannotIdle(this);
iCannotIrritate(this);
cueDoor("left");
doReact("p17", "action");
playedAnimation(this, "stop");
Symbol 399 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 1
specialInit(this);
stop();
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 18
_parent.initMe(this);
Symbol 423 MovieClip Frame 23
stop();
Symbol 423 MovieClip Frame 25
stage = 2;
Instance of Symbol 64 MovieClip "actionClip" in Symbol 423 MovieClip Frame 26
onClipEvent (load) {
function clickAction() {
startAction("action2", this);
}
}
Symbol 423 MovieClip Frame 29
playedAnimation(this, "stop");
stop();
Symbol 423 MovieClip Frame 56
doReact("p15", "leave");
playedAnimation(this, "stop");
Symbol 423 MovieClip Frame 138
stage = 3;
doReact("p17", "bite");
playedAnimation(this);
Symbol 423 MovieClip Frame 144
playedAnimation(this, "stop");
Symbol 423 MovieClip Frame 145
stage = 4;
Symbol 423 MovieClip Frame 162
playedAnimation(this);
Instance of Symbol 64 MovieClip "actionClip" in Symbol 423 MovieClip Frame 163
onClipEvent (load) {
function specialAction() {
_parent.stage = 5;
startAction("stage5", this);
}
}
Instance of Symbol 64 MovieClip in Symbol 423 MovieClip Frame 163
onClipEvent (load) {
function clickAction() {
doReact(this, "action");
}
}
Symbol 423 MovieClip Frame 166
playedAnimation(this, "stop");
Symbol 423 MovieClip Frame 167
stage = 5;
Instance of Symbol 64 MovieClip "actionClip" in Symbol 423 MovieClip Frame 167
onClipEvent (load) {
function specialAction() {
_parent.stage = 5;
startAction("wait5", this);
doReact("p3", "action2");
}
}
Symbol 423 MovieClip Frame 182
doReact("p3", "action2");
Symbol 423 MovieClip Frame 187
playedAnimation(this);
Symbol 423 MovieClip Frame 188
rockingOut = true;
Symbol 423 MovieClip Frame 192
playedAnimation(this, "stop");
Symbol 423 MovieClip Frame 221
playSFX("munch");
Symbol 423 MovieClip Frame 228
playSFX("munch");
Symbol 423 MovieClip Frame 238
keepAlive();
Symbol 423 MovieClip Frame 287
keepAlive();
Symbol 423 MovieClip Frame 316
keepAlive();
Symbol 423 MovieClip Frame 346
stage = 6;
doReact("p3", "stage4");
playedAction(this);
Symbol 423 MovieClip Frame 357
playedAnimation(this);
Symbol 423 MovieClip Frame 374
stage = 7;
Symbol 423 MovieClip Frame 376
doReact("p10", "stage5");
playedAnimation(this, "stop");
Symbol 435 MovieClip Frame 1
playSFX("pant");
Symbol 439 MovieClip Frame 1
playSFX("pant");
Symbol 440 MovieClip Frame 1
stop();
Symbol 440 MovieClip Frame 3
stop();
Symbol 440 MovieClip Frame 16
cueDoor("right");
doReact("p7", "stage2");
Symbol 440 MovieClip Frame 17
initMe(this);
Instance of Symbol 64 MovieClip "actionClip" in Symbol 440 MovieClip Frame 17
onClipEvent (load) {
}
Symbol 440 MovieClip Frame 19
stop();
Symbol 440 MovieClip Frame 34
playSFX("chomp");
Symbol 440 MovieClip Frame 42
stage = 2;
playedAction(this);
Symbol 440 MovieClip Frame 48
playedAnimation(this, "stop");
Symbol 440 MovieClip Frame 49
stage = 3;
Symbol 440 MovieClip Frame 61
playSFX("chomp");
Symbol 440 MovieClip Frame 68
playSFX("chomp");
Symbol 440 MovieClip Frame 75
playedAction(this);
Symbol 440 MovieClip Frame 79
playedAnimation(this, "stop");
Symbol 440 MovieClip Frame 82
doReact("p7", "exit");
Symbol 440 MovieClip Frame 87
playedAnimation(this, "stop");
Symbol 440 MovieClip Frame 125
playedAction(this);
playedAnimation(this);
Symbol 440 MovieClip Frame 127
stop();
Symbol 457 MovieClip Frame 1
stop();
Instance of Symbol 64 MovieClip "actionClip" in Symbol 457 MovieClip Frame 2
onClipEvent (load) {
function clickAction() {
startAction("p2_action1");
}
}
Symbol 457 MovieClip Frame 29
_parent.girl.gotoAndStop("on");
stop();
Symbol 457 MovieClip Frame 30
initMe(this);
stage = 1;
Instance of Symbol 64 MovieClip "actionClip" in Symbol 457 MovieClip Frame 30
onClipEvent (load) {
function clickAction() {
startAction("p2_action1");
}
}
Symbol 457 MovieClip Frame 32
stop();
Symbol 457 MovieClip Frame 39
playedAnimation(this);
Symbol 457 MovieClip Frame 44
_parent.p2irritator._visible = true;
doAction("p2_reaction");
Symbol 457 MovieClip Frame 56
_parent.p2irritator._visible = false;
playedAnimation(this);
Symbol 457 MovieClip Frame 61
playedAnimation(this);
Symbol 457 MovieClip Frame 62
stage = 2;
Symbol 457 MovieClip Frame 69
playedAnimation(this, "stop");
Symbol 457 MovieClip Frame 73
playSFX("scream");
_parent.p2irritator._visible = false;
_parent.p2irritator.gotoAndStop("off");
count = 0;
Symbol 457 MovieClip Frame 77
count++;
if (count < 10) {
gotoAndPlay ("loop1");
}
Symbol 457 MovieClip Frame 83
increaseScore();
stage = 0;
Symbol 457 MovieClip Frame 86
playedAction(this);
Symbol 457 MovieClip Frame 98
playedAnimation(this, "stop");
Symbol 464 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 19
playSFX("flap");
Symbol 464 MovieClip Frame 29
initMe(this);
iCanIdle(this);
Symbol 464 MovieClip Frame 33
stop();
Symbol 464 MovieClip Frame 40
playedAnimation(this);
Symbol 464 MovieClip Frame 41
stage = 2;
playSFX("flap");
Symbol 464 MovieClip Frame 60
playSFX("flap");
Symbol 464 MovieClip Frame 65
keepAlive();
Symbol 464 MovieClip Frame 77
playSFX("flap");
Symbol 464 MovieClip Frame 98
playSFX("flap");
Symbol 464 MovieClip Frame 105
keepAlive();
Symbol 464 MovieClip Frame 117
playSFX("flap");
Symbol 464 MovieClip Frame 127
playedAction(this);
Instance of Symbol 64 MovieClip "actionClip" in Symbol 464 MovieClip Frame 128
onClipEvent (load) {
function dropAction(o) {
startAction(o, this);
}
}
Symbol 464 MovieClip Frame 131
stop();
Symbol 464 MovieClip Frame 132
playSFX("flap");
Symbol 464 MovieClip Frame 143
game.p14.twig1.gotoAndStop("off");
Symbol 464 MovieClip Frame 147
playSFX("flap");
Symbol 464 MovieClip Frame 155
doReact("p16", "stage");
playedAnimation(this);
Symbol 464 MovieClip Frame 157
playSFX("flap");
Symbol 464 MovieClip Frame 169
game.p14.twig2.gotoAndStop("off");
Symbol 464 MovieClip Frame 173
playSFX("flap");
Symbol 464 MovieClip Frame 180
doReact("p16", "stage");
playedAnimation(this);
Symbol 464 MovieClip Frame 182
playSFX("flap");
Symbol 464 MovieClip Frame 194
game.p14.twig3.gotoAndStop("off");
Symbol 464 MovieClip Frame 195
playSFX("flap");
Symbol 464 MovieClip Frame 205
doReact("p16", "stage");
playedAnimation(this);
Symbol 464 MovieClip Frame 206
playSFX("flap");
Symbol 464 MovieClip Frame 218
playSFX("flap");
game.p14.twig4.gotoAndStop("off");
Symbol 464 MovieClip Frame 229
doReact("p16", "stage");
playedAnimation(this);
Symbol 464 MovieClip Frame 230
stage = 3;
playSFX("flap");
Symbol 464 MovieClip Frame 231
playedAnimation(this, "stop");
Symbol 464 MovieClip Frame 255
playSFX("flap");
Symbol 464 MovieClip Frame 273
playSFX("flap");
Symbol 464 MovieClip Frame 278
playedAnimation(this, "stop");
Symbol 464 MovieClip Frame 280
stage = 4;
Symbol 464 MovieClip Frame 283
playedAnimation(this, "stop");
Symbol 464 MovieClip Frame 284
stage = 5;
Symbol 464 MovieClip Frame 287
playedAnimation(this, "stop");
Symbol 493 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 76
gotoAndStop ("off");
Symbol 493 MovieClip Frame 99
gotoAndStop ("off");
Symbol 493 MovieClip Frame 122
gotoAndStop ("off");
Symbol 537 MovieClip Frame 1
_parent.cueDoor();
Symbol 537 MovieClip Frame 50
_parent.dustIntro.play();
Instance of Symbol 482 MovieClip "fullBody" in Symbol 537 MovieClip Frame 73
onClipEvent (load) {
_visible = false;
}
Symbol 537 MovieClip Frame 78
initMe(this);
stage = 1;
Instance of Symbol 482 MovieClip "fullBody" in Symbol 537 MovieClip Frame 78
onClipEvent (load) {
_visible = false;
}
Symbol 537 MovieClip Frame 87
playedAnimation(this, "stop");
Symbol 537 MovieClip Frame 99
playedAction(this);
playedAnimation(this);
Symbol 537 MovieClip Frame 114
playedAnimation(this, "stop");
Symbol 537 MovieClip Frame 123
playedAnimation(this, "stop");
Symbol 537 MovieClip Frame 128
doReact("p4", "pushed1");
Symbol 537 MovieClip Frame 136
playedAnimation(this);
Symbol 537 MovieClip Frame 138
doReact("p1", "action");
Symbol 537 MovieClip Frame 143
playedAction(this);
playedAnimation(this, "stop");
Symbol 537 MovieClip Frame 155
playedAnimation(this);
Symbol 537 MovieClip Frame 161
doReact("p5", "action");
Symbol 537 MovieClip Frame 164
playedAnimation(this);
Symbol 537 MovieClip Frame 166
doReact("p6", "action");
Symbol 537 MovieClip Frame 168
playedAnimation(this);
Symbol 537 MovieClip Frame 176
playSFX("scrunch");
Symbol 537 MovieClip Frame 181
doReact("p8", "action");
playedAnimation(this);
Symbol 537 MovieClip Frame 190
doReact("p1", "stage");
Symbol 537 MovieClip Frame 206
playedAnimation(this);
Symbol 537 MovieClip Frame 207
stage = 2;
Symbol 537 MovieClip Frame 210
doReact("p7", "stage2");
Symbol 537 MovieClip Frame 212
playedAction(this, "stop");
stop();
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 12
stop();
Symbol 585 MovieClip Frame 13
initMe(this);
stage = 1;
iCanIrritate(this);
iCanIdle(this);
Symbol 585 MovieClip Frame 15
stop();
Symbol 585 MovieClip Frame 31
playedAnimation(this);
Symbol 585 MovieClip Frame 33
playSFX("partyBlower", 70);
doAction("p3_reaction");
Symbol 585 MovieClip Frame 44
playedAnimation(this);
Symbol 585 MovieClip Frame 46
stage = 2;
iCanNotIrritate(this);
Symbol 585 MovieClip Frame 48
count = 0;
iCanNotIrritate(this);
Symbol 585 MovieClip Frame 58
playSFX("partyBlower", 70);
Symbol 585 MovieClip Frame 64
count++;
if (count < 2) {
gotoAndPlay ("loop1");
}
Symbol 585 MovieClip Frame 68
playSFX("partyBlower", 70);
Symbol 585 MovieClip Frame 74
doReact("p9", "stage2");
Symbol 585 MovieClip Frame 85
doReact("p10", "stage2");
increaseScore();
cueDoor("left", "tubeStation");
Symbol 585 MovieClip Frame 118
stage = 2;
cueDoor();
iCannotIdle(this);
iCannotIrritate(this);
Symbol 585 MovieClip Frame 121
playedAnimation(this, "stop");
Symbol 585 MovieClip Frame 139
stage = 3;
playMusicLoop(true);
playedAction(this);
Symbol 585 MovieClip Frame 145
playedAnimation(this);
Symbol 585 MovieClip Frame 146
stage = 4;
Instance of Symbol 64 MovieClip "actionClip" in Symbol 585 MovieClip Frame 147
onClipEvent (load) {
function clickAction() {
startAction("hitBoombox3");
}
}
Symbol 585 MovieClip Frame 152
playedAnimation(this);
Symbol 585 MovieClip Frame 153
stage = 5;
Symbol 585 MovieClip Frame 154
playedAnimation(this, "stop");
Symbol 585 MovieClip Frame 165
playedAnimation(this, "stop");
Symbol 634 MovieClip Frame 21
gotoAndPlay (1);
Symbol 635 MovieClip Frame 1
stop();
Symbol 635 MovieClip Frame 19
initMe(this);
stage = 1;
iCanIrritate(this);
iCanIdle(this);
Instance of Symbol 64 MovieClip "actionClip" in Symbol 635 MovieClip Frame 20
onClipEvent (load) {
}
Symbol 635 MovieClip Frame 21
stop();
Symbol 635 MovieClip Frame 54
playedAnimation(this);
Symbol 635 MovieClip Frame 59
count = 0;
doAction("p1_reaction");
Symbol 635 MovieClip Frame 72
count++;
if (count <= 1) {
gotoAndPlay ("loop1");
}
Symbol 635 MovieClip Frame 79
playedAnimation(this);
Symbol 635 MovieClip Frame 81
stage = 1;
playedAnimation(this);
Symbol 635 MovieClip Frame 85
stage = 2;
playedAnimation(this);
Symbol 635 MovieClip Frame 97
stop();
Symbol 635 MovieClip Frame 112
playedAnimation(this);
Symbol 635 MovieClip Frame 117
count = 0;
doAction("p1_reaction");
Symbol 635 MovieClip Frame 130
count++;
if (count <= 1) {
gotoAndPlay ("loop2");
}
Symbol 635 MovieClip Frame 137
playedAnimation(this);
Symbol 635 MovieClip Frame 138
stage = 3;
gotoAndPlay("stage" + stage);
Symbol 635 MovieClip Frame 140
stage = 4;
gotoAndPlay ("eat");
Symbol 635 MovieClip Frame 141
stage = 5;
gotoAndPlay ("eat");
Symbol 635 MovieClip Frame 142
stage = 5;
gotoAndPlay ("eat");
Symbol 635 MovieClip Frame 155
gotoAndPlay("blow" + stage);
Instance of Symbol 64 MovieClip "actionClip" in Symbol 635 MovieClip Frame 155
onClipEvent (load) {
function dropAction(o) {
if (o == "gum") {
startAction("stage4", this);
}
}
}
Symbol 635 MovieClip Frame 160
gotoAndPlay ("wait3");
Symbol 635 MovieClip Frame 161
playSFX("stretch");
Symbol 635 MovieClip Frame 171
playSFX("pop");
Symbol 635 MovieClip Frame 172
playedAnimation(this);
Symbol 635 MovieClip Frame 176
playSFX("stretch");
Symbol 635 MovieClip Frame 185
playSFX("pop");
Symbol 635 MovieClip Frame 189
playedAction(this);
playedAnimation(this);
Instance of Symbol 64 MovieClip "actionClip" in Symbol 635 MovieClip Frame 190
onClipEvent (load) {
function dropAction(o) {
if (o == "gum") {
startAction("stage5", this);
}
}
}
Symbol 635 MovieClip Frame 194
gotoAndPlay ("wait4");
Symbol 635 MovieClip Frame 196
playSFX("stretch");
Symbol 635 MovieClip Frame 214
playSFX("pop");
Symbol 635 MovieClip Frame 216
playedAnimation(this);
Symbol 635 MovieClip Frame 218
playSFX("stretch");
Symbol 635 MovieClip Frame 236
playSFX("pop");
Symbol 635 MovieClip Frame 239
playedAction(this);
playedAnimation(this);
Symbol 635 MovieClip Frame 241
stage = 6;
Symbol 635 MovieClip Frame 245
Symbol 635 MovieClip Frame 246
playSFX("stretch");
Symbol 635 MovieClip Frame 279
keepAlive();
Symbol 635 MovieClip Frame 302
cueDoor("right", "outside");
Symbol 635 MovieClip Frame 310
girlLook("kidFlyAway");
Symbol 635 MovieClip Frame 330
keepAlive();
Symbol 635 MovieClip Frame 349
removeSpecial(game.p4.specialClip);
doReact("p8", "stage1");
doReact("p4", "stage3");
Symbol 635 MovieClip Frame 364
increaseScore();
iCannotIrritate();
iCannotIdle();
iAmDone(this);
playedAnimation(this);
Symbol 635 MovieClip Frame 365
stop();
Symbol 640 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 3
tintTarget = 80;
initMe(this);
Symbol 640 MovieClip Frame 7
stop();
Symbol 640 MovieClip Frame 8
stage = 2;
Instance of Symbol 64 MovieClip "actionClip" in Symbol 640 MovieClip Frame 35
onClipEvent (load) {
function clickAction() {
startAction("hitSpid");
}
}
Symbol 640 MovieClip Frame 36
stop();
Symbol 640 MovieClip Frame 84
stage = 3;
doReact("p2", "action1");
playedAction(this);
playedAnimation(this);
Symbol 640 MovieClip Frame 87
stop();
Symbol 640 MovieClip Frame 92
stage = 4;
doReact("p2", "balloonReaction");
game.p6.stage = 2;
Symbol 640 MovieClip Frame 96
stop();
Symbol 644 MovieClip Frame 18
stop();
Symbol 644 MovieClip Frame 19
initMe(this);
stage = 1;
Instance of Symbol 64 MovieClip "actionClip" in Symbol 644 MovieClip Frame 20
onClipEvent (load) {
function clickAction() {
startAction("hitBalloon");
}
}
Symbol 644 MovieClip Frame 50
gotoAndPlay ("wait1");
Symbol 644 MovieClip Frame 56
if (game.p5.stage != 3) {
doReact("p2", "balloonReaction");
} else {
doReact("p5", "action");
}
Symbol 644 MovieClip Frame 76
if (_global.game.p5.stage <= 2) {
playedAction(this);
}
playedAnimation(this);
Symbol 644 MovieClip Frame 80
doReact("p8", "action1");
Symbol 644 MovieClip Frame 92
playedAnimation(this);
Symbol 644 MovieClip Frame 118
playedAction(this);
playedAnimation(this);
Symbol 644 MovieClip Frame 138
playedAnimation(this, "stop");
gotoAndPlay ("windLoop");
Symbol 644 MovieClip Frame 151
stage = 4;
Symbol 644 MovieClip Frame 152
playedAnimation(this);
playedAction(this);
Symbol 644 MovieClip Frame 154
playedAnimation(this, "stop");
Symbol 644 MovieClip Frame 156
stage = 5;
Symbol 644 MovieClip Frame 169
playedAnimation(this, "stop");
Symbol 653 MovieClip Frame 1
stop();
Symbol 653 MovieClip Frame 8
playSFX("introFight");
Symbol 653 MovieClip Frame 10
playSFX("introFight");
Symbol 653 MovieClip Frame 14
playSFX("introFight");
Symbol 653 MovieClip Frame 17
playSFX("introFight");
Symbol 653 MovieClip Frame 19
_parent.play();
Symbol 653 MovieClip Frame 22
playSFX("introFight");
Symbol 653 MovieClip Frame 24
playSFX("introFight");
Symbol 653 MovieClip Frame 41
cueDoor();
stop();
Symbol 658 MovieClip Frame 1
stop();
Symbol 658 MovieClip Frame 2
lightFlicker(1);
Symbol 658 MovieClip Frame 3
lightFlicker(8);
Symbol 658 MovieClip Frame 4
lightFlicker(1);
Symbol 658 MovieClip Frame 5
lightFlicker(5);
Symbol 658 MovieClip Frame 6
lightFlicker(1);
Symbol 658 MovieClip Frame 7
lightFlicker(0);
gotoAndStop ("off");
Symbol 661 MovieClip Frame 1
_parent.animCursor.gotoAndStop("off");
_parent.animCursor._visible = false;
stopDrag();
stop();
Mouse.show();
Symbol 661 MovieClip Frame 2
btn.useHandCursor = false;
if (!game._parent.menuOpen) {
Mouse.hide();
_parent.animCursor._x = _parent._xmouse;
_parent.animCursor._y = _parent._ymouse;
_parent.animCursor.gotoAndStop("on");
_parent.animCursor._visible = true;
startDrag (_parent.animCursor);
}
stop();
Symbol 686 MovieClip Frame 3
stop();
Symbol 686 MovieClip Frame 10
stop();
Symbol 686 MovieClip Frame 15
stop();
Symbol 686 MovieClip Frame 20
stop();
Symbol 686 MovieClip Frame 23
stop();
Symbol 686 MovieClip Frame 27
stop();
Symbol 686 MovieClip Frame 31
stop();
Symbol 686 MovieClip Frame 36
stop();
Symbol 686 MovieClip Frame 42
stop();
Symbol 686 MovieClip Frame 46
stop();
Symbol 686 MovieClip Frame 50
stop();
Symbol 686 MovieClip Frame 55
stop();
Symbol 686 MovieClip Frame 60
stop();
Symbol 686 MovieClip Frame 66
stop();
Symbol 686 MovieClip Frame 71
stop();
Symbol 686 MovieClip Frame 78
stop();
Symbol 686 MovieClip Frame 84
stop();
Symbol 686 MovieClip Frame 88
stop();
Symbol 686 MovieClip Frame 92
stop();
Symbol 686 MovieClip Frame 97
stop();
Symbol 686 MovieClip Frame 104
stop();
Symbol 686 MovieClip Frame 108
stop();
Symbol 686 MovieClip Frame 111
stop();
Symbol 686 MovieClip Frame 116
stop();
Symbol 686 MovieClip Frame 120
stop();
Symbol 687 MovieClip Frame 7
stop();
Symbol 696 Button
on (release) {
playOtherMusicLoop(false);
_root.gotoAndPlay("start");
}
Symbol 697 MovieClip Frame 1
function endEvent() {
_root.kvEvent(95);
}
stop();
Instance of Symbol 64 MovieClip in Symbol 697 MovieClip Frame 12
onClipEvent (load) {
_parent.endEvent();
}
Symbol 697 MovieClip Frame 17
stop();
Symbol 720 MovieClip Frame 1
initMe(this);
Symbol 720 MovieClip Frame 2
stop();
Symbol 720 MovieClip Frame 3
playSFX("flap");
Symbol 720 MovieClip Frame 13
playSFX("flap");
Symbol 720 MovieClip Frame 23
playSFX("flap");
Symbol 720 MovieClip Frame 33
playSFX("flap");
Symbol 720 MovieClip Frame 45
stop();
Symbol 720 MovieClip Frame 51
cueDarkness();
Symbol 720 MovieClip Frame 55
cueDarkness();
Symbol 720 MovieClip Frame 59
cueDarkness();
Symbol 720 MovieClip Frame 62
cueDarkness();
Symbol 720 MovieClip Frame 66
cueDarkness();
Symbol 720 MovieClip Frame 67
playSFX("monster");
Symbol 720 MovieClip Frame 69
cueDarkness();
Symbol 720 MovieClip Frame 71
cueDarkness();
Symbol 720 MovieClip Frame 73
cueDarkness();
Symbol 720 MovieClip Frame 75
cueDarkness();
Symbol 720 MovieClip Frame 77
cueDarkness();
Symbol 720 MovieClip Frame 85
doReact("p11", "stage2");
cueDarkness();
Symbol 720 MovieClip Frame 92
stage = 2;
doReact("p15", "action");
Symbol 720 MovieClip Frame 94
playedAnimation(this, "stop");
Symbol 720 MovieClip Frame 98
stage = 3;
doReact("girl", "stage2");
Symbol 720 MovieClip Frame 100
cueDarkness();
Symbol 720 MovieClip Frame 101
playSFX("monster");
Symbol 720 MovieClip Frame 104
cueDarkness();
Symbol 720 MovieClip Frame 107
cueDarkness();
Symbol 720 MovieClip Frame 110
cueDarkness();
doReact("p10", "stage3");
Symbol 720 MovieClip Frame 112
cueDarkness();
Symbol 720 MovieClip Frame 114
cueDarkness();
Symbol 720 MovieClip Frame 118
cueDarkness();
Symbol 720 MovieClip Frame 120
cueDarkness();
Symbol 720 MovieClip Frame 122
cueDarkness();
Symbol 720 MovieClip Frame 126
cueDarkness();
Symbol 720 MovieClip Frame 128
cueDarkness();
Symbol 720 MovieClip Frame 130
cueDarkness();
Symbol 720 MovieClip Frame 131
doReact("p11", "stage4");
Symbol 720 MovieClip Frame 132
cueDarkness();
Symbol 720 MovieClip Frame 135
cueDarkness();
Symbol 720 MovieClip Frame 137
cueDarkness();
Symbol 720 MovieClip Frame 142
cueDarkness();
Symbol 720 MovieClip Frame 144
cueDarkness();
Symbol 720 MovieClip Frame 146
cueDarkness();
Symbol 720 MovieClip Frame 148
cueDarkness();
Symbol 720 MovieClip Frame 152
playedAction(this);
Symbol 720 MovieClip Frame 155
Symbol 720 MovieClip Frame 157
Symbol 720 MovieClip Frame 158
doReact("p14", "stage2");
Symbol 720 MovieClip Frame 161
cueDarkness();
Symbol 720 MovieClip Frame 163
cueDarkness();
Symbol 720 MovieClip Frame 165
cueDarkness();
Symbol 720 MovieClip Frame 167
cueDarkness();
Symbol 720 MovieClip Frame 173
trace("vampcanIdle");
iCanIdle(this);
Symbol 720 MovieClip Frame 174
game.lightFlicker(3);
game.vampireOn = true;
Symbol 720 MovieClip Frame 181
playedAnimation(this);
Symbol 720 MovieClip Frame 187
playSFX("flap");
hitBat = false;
Instance of Symbol 64 MovieClip "actionClip" in Symbol 720 MovieClip Frame 188
onClipEvent (load) {
function clickAction() {
if (game.girl.stage == 3) {
_parent.hitBat = true;
doReact("girl", "waitToHitBat");
}
}
}
onClipEvent (enterFrame) {
if (_parent.hitBat) {
startAction("whacked3", "p17");
}
}
Symbol 720 MovieClip Frame 198
playSFX("flap");
Symbol 720 MovieClip Frame 207
playSFX("flap");
Symbol 720 MovieClip Frame 219
playSFX("flap");
Symbol 720 MovieClip Frame 233
playSFX("flap");
Symbol 720 MovieClip Frame 243
playSFX("flap");
Symbol 720 MovieClip Frame 258
playSFX("flap");
Symbol 720 MovieClip Frame 270
playSFX("flap");
Symbol 720 MovieClip Frame 280
playSFX("flap");
Symbol 720 MovieClip Frame 291
playSFX("flap");
Symbol 720 MovieClip Frame 301
playSFX("monster");
Symbol 720 MovieClip Frame 307
playedAnimation(this);
Symbol 720 MovieClip Frame 308
playSFX("whack");
game.girl._visible = false;
Symbol 720 MovieClip Frame 312
if (game.p11.rockingOut) {
gotoAndPlay ("whackedAndEaten");
}
Symbol 720 MovieClip Frame 316
game.girl._visible = true;
playedAnimation(game.girl);
Symbol 720 MovieClip Frame 337
playedAction(this);
playedAnimation(this);
Symbol 720 MovieClip Frame 342
playSFX("whack");
game.girl._visible = false;
playedAnimation(game.p11);
game.p11._visible = false;
iCannotIdle(this);
if (game.p11.rockingOut) {
gotoAndPlay ("whackedAndEaten");
}
Symbol 720 MovieClip Frame 346
game.girl._visible = true;
playedAnimation(game.girl);
Symbol 720 MovieClip Frame 451
game.vampireOn = false;
cueDarkness();
Symbol 720 MovieClip Frame 452
doReact("p14", "stage4");
doReact("p10", "stage4");
doReact("p11", "stage6");
game.p11._visible = true;
playedAnimation(this, "stop");
Symbol 748 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 11
gotoAndStop ("off");
Symbol 748 MovieClip Frame 34
gotoAndStop ("off");
Symbol 748 MovieClip Frame 57
gotoAndStop ("off");
Symbol 822 MovieClip Frame 1
initMe(this);
Symbol 822 MovieClip Frame 23
cueDoor("right", "windy");
doReact("p6", "windy");
Symbol 822 MovieClip Frame 32
doReact("p17", "flyIn");
Symbol 822 MovieClip Frame 43
doReact("p15", "enter1");
Symbol 822 MovieClip Frame 62
doReact("p14", "enter1");
stop();
Symbol 822 MovieClip Frame 72
doReact("p6", "notWindy");
Symbol 822 MovieClip Frame 78
stop();
Symbol 822 MovieClip Frame 86
playSFX("blow");
Symbol 822 MovieClip Frame 94
doReact("p12", "action2");
Symbol 822 MovieClip Frame 112
playedAnimation(this);
Symbol 822 MovieClip Frame 113
stage = 2;
Symbol 822 MovieClip Frame 118
playedAnimation(this, "stop");
Symbol 822 MovieClip Frame 186
stage = 3;
Symbol 822 MovieClip Frame 191
playedAction(this);
Symbol 822 MovieClip Frame 192
count = 0;
playedAnimation(this, "stop");
Symbol 822 MovieClip Frame 208
playedAnimation(this);
Symbol 822 MovieClip Frame 209
count++;
if (count >= 18) {
playedAnimation(this);
}
Symbol 822 MovieClip Frame 214
gotoAndPlay ("waitToHitBat3");
Symbol 822 MovieClip Frame 225
game.p17.hittable = false;
playedAnimation(this);
Symbol 822 MovieClip Frame 238
doReact("p6", "stage5");
Symbol 822 MovieClip Frame 241
cueDoor("left", "tubeStation");
playMusicLoop(false);
playSFX("scratch");
Symbol 822 MovieClip Frame 242
doReact("p3", "stage5");
Symbol 822 MovieClip Frame 261
doReact("p11", "walkoff6");
Symbol 822 MovieClip Frame 262
doReact("p11", "walkoff6");
Symbol 822 MovieClip Frame 297
cueDoor("left");
Symbol 822 MovieClip Frame 302
playedAnimation(this, "stop");
Symbol 822 MovieClip Frame 307
playedAction(this);
Symbol 822 MovieClip Frame 312
playedAnimation(this, "stop");
Symbol 822 MovieClip Frame 338
doReact("p10", "stage6");
Symbol 822 MovieClip Frame 345
stage = 6;
playedAnimation(this, "stop");
Symbol 822 MovieClip Frame 351
playedAnimation(this, "stop");
Symbol 822 MovieClip Frame 370
doReact("bruce", "stage4");
doReact("lunchBox", "stage2");
playedAnimation(this);
Symbol 822 MovieClip Frame 374
playedAnimation(this, "stop");
Symbol 822 MovieClip Frame 390
_parent.stopShaking = true;
_parent.vampireOn = true;
game.endAnim.play();
Symbol 822 MovieClip Frame 413
playedAnimation(this, "stop");
playedAction(this);
Symbol 841 MovieClip Frame 1
initMe(this);
stop();
Symbol 841 MovieClip Frame 25
playedAnimation(this, "stop");
Symbol 841 MovieClip Frame 26
stage = 2;
Symbol 841 MovieClip Frame 41
playedAction(this);
Symbol 841 MovieClip Frame 42
playSFX("nun1");
Symbol 841 MovieClip Frame 65
playSFX("nun2");
Symbol 841 MovieClip Frame 90
playedAnimation(this);
Symbol 841 MovieClip Frame 91
playSFX("nunEek");
stage = 3;
Symbol 841 MovieClip Frame 110
cueDoor("right", "station");
Symbol 841 MovieClip Frame 133
cueDoor("right");
doReact("p11", "stage3");
iCannotIdle(this);
playedAnimation(this, "stop");
Symbol 841 MovieClip Frame 136
stop();
Symbol 851 MovieClip Frame 1
specialInit(this, undefined, "twig1");
stop();
Symbol 851 MovieClip Frame 2
stop();
Symbol 851 MovieClip Frame 6
stop();
Symbol 852 MovieClip Frame 1
specialInit(this, undefined, "twig2");
stop();
Symbol 852 MovieClip Frame 2
stop();
Symbol 852 MovieClip Frame 6
stop();
Symbol 853 MovieClip Frame 1
specialInit(this, undefined, "twig3");
stop();
Symbol 853 MovieClip Frame 2
stop();
Symbol 853 MovieClip Frame 6
stop();
Symbol 854 MovieClip Frame 1
specialInit(this, undefined, "twig4");
stop();
Symbol 854 MovieClip Frame 2
stop();
Symbol 854 MovieClip Frame 7
stop();
Symbol 860 MovieClip Frame 1
specialInit(this);
stop();
Symbol 860 MovieClip Frame 2
stop();
Symbol 860 MovieClip Frame 6
stop();
Symbol 891 MovieClip Frame 1
initMe(this);
stop();
Symbol 891 MovieClip Frame 18
cueDoor("right");
game.girl.play();
Instance of Symbol 64 MovieClip "actionClip" in Symbol 891 MovieClip Frame 19
onClipEvent (load) {
function specialAction(o) {
trace("SPECIALACTION IN BATMAN " + o);
if (o == "twig1") {
startAction("twig1", "p9");
}
if (o == "twig2") {
startAction("twig2", "p9");
}
if (o == "twig3") {
startAction("twig3", "p9");
}
if (o == "twig4") {
startAction("twig4", "p9");
}
}
}
Symbol 891 MovieClip Frame 29
playedAnimation(this, "stop");
Symbol 891 MovieClip Frame 32
stage = 2;
Symbol 891 MovieClip Frame 49
Instance of Symbol 859 MovieClip "sprite" in Symbol 891 MovieClip Frame 49
onClipEvent (load) {
gotoAndStop (4);
}
Instance of Symbol 64 MovieClip "actionClip" in Symbol 891 MovieClip Frame 50
onClipEvent (load) {
function specialAction() {
stage = 3;
_parent.specialClip.gotoAndStop("off");
gotoAndStop ("wait3");
startAction("stage3");
}
}
Symbol 891 MovieClip Frame 51
playedAnimation(this, "stop");
stop();
Symbol 891 MovieClip Frame 53
playedAnimation(this, "stop");
stop();
Symbol 891 MovieClip Frame 57
stage = 4;
Symbol 891 MovieClip Frame 69
playedAnimation(this, "stop");
Symbol 891 MovieClip Frame 92
stage = 5;
Symbol 891 MovieClip Frame 174
playSFX("creepy");
Symbol 891 MovieClip Frame 178
iCanIdle(this);
this.useHandCursor = false;
doReact("girl", "stage5");
Symbol 891 MovieClip Frame 179
testForButtonness(this);
Symbol 891 MovieClip Frame 186
playedAnimation(this, "stop");
Symbol 891 MovieClip Frame 197
playedAnimation(this);
Symbol 891 MovieClip Frame 198
stage = 6;
Symbol 891 MovieClip Frame 240
playedAnimation(this, "stop");
Symbol 891 MovieClip Frame 265
cueDoor("right", "sunset");
Symbol 891 MovieClip Frame 340
cueDoor("right");
Symbol 891 MovieClip Frame 341
stage = 7;
playedAnimation(this, "stop");
_parent.play();
Symbol 891 MovieClip Frame 343
playedAnimation(this, "stop");
Symbol 911 MovieClip Frame 1
initMe(this);
Symbol 911 MovieClip Frame 2
stop();
Symbol 911 MovieClip Frame 3
stage++;
Symbol 911 MovieClip Frame 4
playedAction(this);
playedAnimation(this);
Symbol 911 MovieClip Frame 5
stop();
Symbol 911 MovieClip Frame 6
stage++;
Symbol 911 MovieClip Frame 7
playedAction(this);
playedAnimation(this);
Symbol 911 MovieClip Frame 8
stop();
Symbol 911 MovieClip Frame 9
stage++;
Symbol 911 MovieClip Frame 10
playedAction(this);
playedAnimation(this);
Symbol 911 MovieClip Frame 11
stop();
Symbol 911 MovieClip Frame 12
stage++;
Symbol 911 MovieClip Frame 13
doReact("p4", "fall");
playedAnimation(this);
Symbol 911 MovieClip Frame 14
stop();
Symbol 911 MovieClip Frame 15
stage++;
Symbol 911 MovieClip Frame 16
playedAction(this);
playedAnimation(this);
Symbol 911 MovieClip Frame 17
stop();
Symbol 911 MovieClip Frame 18
stage++;
Symbol 911 MovieClip Frame 19
actionPlayed(this);
animationPlayed(this);
Symbol 911 MovieClip Frame 20
stop();
Symbol 911 MovieClip Frame 38
animationPlayed(this, "stop");
stop();
Symbol 921 MovieClip Frame 1
initMe(this);
Symbol 921 MovieClip Frame 10
playSFX("crash");
Symbol 921 MovieClip Frame 11
playSFX("somersault");
Symbol 921 MovieClip Frame 48
_parent.lunchBox.gotoAndPlay("on");
Symbol 921 MovieClip Frame 49
playSFX("somersault");
Symbol 921 MovieClip Frame 67
playedAction(this);
Instance of Symbol 919 MovieClip in Symbol 921 MovieClip Frame 68
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count >= 60) {
startAction("stage2", this);
}
}
Symbol 921 MovieClip Frame 71
playedAnimation(this, "stop");
Symbol 921 MovieClip Frame 72
playSFX("somersault");
stage = 2;
Symbol 921 MovieClip Frame 92
playedAction(this);
Instance of Symbol 919 MovieClip in Symbol 921 MovieClip Frame 92
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count >= 125) {
startAction("stage3", this);
}
}
Symbol 921 MovieClip Frame 96
playedAnimation(this, "stop");
Symbol 921 MovieClip Frame 97
playSFX("somersault");
Symbol 921 MovieClip Frame 118
playedAction(this);
Instance of Symbol 919 MovieClip in Symbol 921 MovieClip Frame 119
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count >= 125) {
startAction("stage1", this);
}
}
Symbol 921 MovieClip Frame 123
playedAnimation(this, "stop");
Symbol 921 MovieClip Frame 144
playedAnimation(this, "stop");
Symbol 926 MovieClip Frame 8
gotoAndPlay (1);
Symbol 932 MovieClip Frame 1
function follow() {
this._x = _parent._xmouse;
this._y = _parent._ymouse;
}
Symbol 932 MovieClip Frame 2
follow();
Symbol 932 MovieClip Frame 3
follow();
Symbol 932 MovieClip Frame 4
follow();
Symbol 932 MovieClip Frame 5
follow();
Symbol 932 MovieClip Frame 6
stop();
Symbol 964 MovieClip Frame 1
stop();
Symbol 964 MovieClip Frame 14
initMe(this);
Symbol 964 MovieClip Frame 18
stop();
Symbol 964 MovieClip Frame 19
stage = 2;
Symbol 964 MovieClip Frame 28
stop();
Symbol 971 MovieClip Frame 1
function initSounds() {
soundPlayerBG.sndBGLoop = new Sound();
soundPlayerBG.sndBGLoop.attachSound("sndBGLoop");
soundPlayerMusic.sndLoop = new Sound();
soundPlayerMusic.sndLoop.attachSound("theme");
}
stop();
initSounds();
function playTrainLoop(s) {
if (s) {
soundPlayerBG.sndBGLoop.setVolume = 100;
if (!trainLoopOn) {
soundPlayerBG.sndBGLoop.start(0, 99999);
trainLoopOn = true;
}
} else {
trainLoopOn = false;
soundPlayerBG.sndBGLoop.stop();
}
}
function playMusicLoop(s) {
if (s) {
soundPlayerMusic.sndLoop.setVolume = 100;
if (!musicLoopOn) {
soundPlayerMusic.sndLoop.start(0, 99999);
musicLoopOn = true;
}
} else {
musicLoopOn = false;
soundPlayerMusic.sndLoop.stop();
}
}
function playSFX(sfx, vol) {
trace("PLAYING SOUND=" + sfx);
soundTimeline.gotoAndPlay(sfx);
if (vol) {
soundTimeline.setVolume(vol);
} else {
soundTimeline.setVolume(100);
}
}
_global.playTrainLoop = playTrainLoop;
_global.playMusicLoop = playMusicLoop;
soundIndex = 0;
_global.playSFX = playSFX;
function init() {
if (!initOnce) {
girl.play();
initOnce = true;
this.col = new Color(this);
bg.col = new Color(bg);
score = 0;
gameOver = false;
_global.keepAlive = keepAlive;
_global.girlLook = girlLook;
_global.cueDarkness = cueDarkness;
_global.increaseScore = increaseScore;
_global.removeSpecial = removeSpecial;
_global.specialInit = specialInit;
_global.initDrag = initDrag;
_global.playPeople = playPeople;
_global.cueDoor = cueDoor;
_global.playedAnimation = playedAnimation;
_global.initMe = initMe;
_global.iAmDone = iAmDone;
_global.doAction = doAction;
_global.doReact = doReact;
_global.startAction = startAction;
_global.playedAction = playedAction;
_global.iCanIrritate = iCanIrritate;
_global.iCanNotIrritate = iCanNotIrritate;
_global.iCanIdle = iCanIdle;
_global.iCanNotIdle = iCanNotIdle;
lightFlickerProbability = 0.01;
_global.lightFlicker = lightFlicker;
onEnterFrame = mainLoop;
game.startY = game._y;
fatalTimeOut = 100;
buttonCover.gotoAndStop("on");
personArray = [];
idleArray = [];
irritateArray = [];
piIndex = 0;
animPlaying = 0;
totalPeople = 10;
irritateProb = 5;
irritateIndex = 0;
queuedIrritants = 2;
idleProb = 25;
idlePerson = 0;
tintSpeed = 6;
jigCount = 0;
startY = this._y;
bg.startY = bg._y;
playersTurn = false;
doorR.gotoAndStop("shut");
}
}
function doDragOver() {
dragCursor.onMouseMove = function () {
var oldDt = dt;
dt = eval (this._droptarget);
if (oldDt != dt) {
if (oldDt.actionClip.dropAction) {
fadeMeNot(oldDt);
}
trace(((" oldTarget" + oldDt) + " newTarget=") + dt);
if (dt.actionClip.dropAction) {
trace("DODRAGOVER=" + dt.onEnterFrame);
dt.onEnterFrame = fadeMeUp;
}
}
};
}
function undoDragOver(t) {
if (t.actionClip.dropAction) {
fadeMeNot(t);
delete dragCursor.onMouseMove;
}
}
function initDrag(t, f) {
t.dropObject = f;
initRollover(t);
t.onPress = function () {
doDragOver();
t.startX = t._x;
t.startY = t._y;
if (playersTurn) {
t._visible = false;
vmc = _global.game.dragCursor;
vmc.gotoAndStop(f);
vmc._x = _xmouse;
vmc._y = _ymouse;
vmc.sprite.gotoAndStop("drag");
vmc._xscale = (vmc._yscale = 200);
vmc._alpha = 75;
startDrag (vmc);
t.dragged = true;
}
};
t.onMouseUp = function () {
if (t.dragged) {
t.dragged = false;
vmc.stopDrag();
var dT = eval (vmc._droptarget);
undoDragOver(dT);
var targetMC = dT._name;
trace((("DROPPED ON=" + dT) + " targetMC=") + targetMC);
vmc.gotoAndStop("off");
if (game[targetMC].actionClip.dropAction) {
game[targetMC].actionClip.dropAction(t.dropObject);
girlLook("drop");
} else {
girlLook("dropMissed");
}
t._visible = true;
}
};
}
function initMe(t) {
addToPersonArray(t);
iAmAPerson = true;
t.stage = 1;
t.startY = t._y;
t.currentAnim = "wait";
trace(" -init=" + t);
t.onRelease = function () {
if (playersTurn) {
fadeMeNot(t);
if (t.special) {
t._parent.actionClip.specialAction(t.clickType);
} else {
t.actionClip.clickAction();
}
}
};
initRollover(t);
t.onUnload = function () {
removeFromPersonArray(t);
iCannotIdle(t);
iCannotIrritate(t);
};
}
function initRollover(t) {
t.col = new Color(t);
t.tint = 0;
if (!t.tintTarget) {
t.tintTarget = 40;
}
t.onRollOver = function () {
if (this._name == "sprite") {
if ((this._parent.actionClip.clickAction && (playersTurn)) && (!game._parent.menuOpen)) {
t.onEnterFrame = fadeMeUp;
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
} else if (((this.actionClip.clickAction || (this.special)) && (playersTurn)) && (!game._parent.menuOpen)) {
t.onEnterFrame = fadeMeUp;
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
t.onRollOut = (t.onDragOut = function () {
t.onEnterFrame = fadeMeDown;
});
}
function testForButtonness(t) {
}
function specialInit(t, dragType, clickType) {
if (!game[t.dragType + "Done"]) {
if (t._parent._name.substr(0, 1) == "p") {
trace("=================SI " + t);
trace(t._parent);
t.clickType = clickType;
t.special = true;
t.tintTarget = 80;
t.parentRollover = t._parent.onRollOver;
t.parentRelease = t._parent.onRelease;
t.parentRollOut = t._parent.onRollOut;
delete t._parent.onRollOver;
delete t._parent.onRelease;
delete t._parent.onRollOut;
delete t._parent.onDragOut;
t._parent.sprite.onRelease = t.parentRelease;
initRollover(t._parent.sprite);
if (!dragType) {
initMe(t);
} else {
initDrag(t, dragType);
}
t.onUnload = function () {
t.special = false;
t._parent.onRollOver = t.parentRollover;
t._parent.onRelease = t.parentRelease;
t._parent.onRollOut = t.parentRollOut;
delete t._parent.sprite.onRollOver;
delete t._parent.sprite.onRelease;
delete t._parent.sprite.onRollOut;
delete t._parent.sprite.onDragOut;
};
return((("specialInit=" + t) + " ") + dragType);
}
}
}
function playPeople() {
i = 1;
while (i < 20) {
this["p" + i].play();
i++;
}
}
function removeSpecial(t) {
}
function initPeople() {
i = 1;
while (i < 20) {
this["p" + i].gotoAndPlay("on");
i++;
}
}
function traceStatus() {
trace("========================================");
i = 1;
while (i <= totalPeople) {
trace((("p" + i) + " stage=") + this["p" + i].stage);
i++;
}
trace("idleArray=" + idleArray);
trace("irritateArray=" + irritateArray);
trace("========================================");
}
_global.game = this;
_global.testForButtonness = testForButtonness;
function fadeMeUp() {
if (this.tint >= this.tintTarget) {
this.onEnterFrame = null;
} else {
this.tint = this.tint + (this.tintTarget / 5);
this.col.setTransform({ra:100, rb:this.tint, ga:100, gb:this.tint, ba:100, bb:this.tint, aa:100, ab:0});
}
}
function fadeMeDown() {
if (this.tint) {
this.tint = this.tint - 5;
}
if (this.tint <= 0) {
tint = 0;
delete this.onEnterFrame;
this.col.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
}
this.col.setTransform({ra:100, rb:this.tint, ga:100, gb:this.tint, ba:100, bb:this.tint, aa:100, ab:0});
}
function fadeMeNot(t) {
delete t.onEnterFrame;
t.tint = 0;
t.col.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
}
function increaseScore(n) {
if ((n == 0) || (n == undefined)) {
n = 1;
}
score = score + n;
trace("increaseScore+" + n);
}
function checkScore() {
if (score >= scoreQualify) {
trace((("checkScore>next level : score=" + score) + " scoreQual=") + scoreQualify);
game.play();
}
}
function iCanIdle(t) {
idleArray.push(t);
t.idleIndex = idleArray.length;
trace("idleARRAY=" + idleArray);
}
function iCanNotIdle(t) {
if (t.idleIndex) {
idleArray[t.idleIndex] = idleArray[idleArray.length];
idleArray.pop();
delete t.idleIndex;
}
}
function addToPersonArray(t) {
personArray.push(t);
t.personIndex = personArray.length;
}
function removeFromPersonArray(t) {
trace("-pA[]=" + t);
personArray[t.personIndex] = personArray[personArray.length];
personArray.pop();
}
function playIdle() {
if (Math.floor(Math.random() * idleProb) == 0) {
idlePerson++;
chosenPerson = idleArray[idlePerson % idleArray.length];
trace("IDLEPERSON=" + idleArray[idlePerson % idleArray.length]);
if (chosenPerson.currentAnim == "wait") {
trace("idle=" + chosenPerson);
chosenPerson.currentAnim = "idle";
chosenPerson.gotoAndPlay("idle" + chosenPerson.stage);
}
}
}
function startAction(f, t) {
if (!t._x) {
t = _global.game[t].actionClip;
}
if (!t) {
playGirl = f;
trace("vvvvvvvvvvvvvvvvvvvvvv startAction() girl");
trace("startAction=" + playGirl);
} else {
playThing = [t._parent, f];
trace("vvvvvvvvvvvvvvvvvvvvvv startAction() thing =" + playThing);
}
game.buttonCover.gotoAndStop("on");
}
function girlLook(f) {
girl.girlLook.gotoAndPlay(f);
}
function doAction(f) {
if (playGirl) {
playGirl = false;
actionPlaying = true;
if (isNaN(f.substr(-1, 1))) {
trace("doAction:noNumberOnTargetFrame:pg=" + playGirl);
f = f + girl.stage;
}
var _local2 = girl._currentframe;
trace("doAction=" + f);
girl.gotoAndPlay(f);
if (girl._currentframe != _local2) {
girlPlaying = true;
}
} else if (playThing) {
actionPlaying = true;
if (isNaN(playThing[1].substr(-1, 1))) {
playThing[1] = playThing[1] + playThing[0].stage;
}
playThing[0].gotoAndPlay(playThing[1]);
trace((("doAction=" + playThing[0]) + " ") + playThing[1]);
delete playThing;
}
}
function doReact(t, f) {
keepAlive();
t = game[t];
if (isNaN(f.substr(-1, 1))) {
f = f + t.stage;
}
trace((("react=" + t) + " doing ") + f);
lastAnim = (t._name + " doing ") + f;
t.gotoAndPlay(f);
}
function playedAnimation(t, s) {
fatalCount = 0;
if (t._name.substr(0, 1) == "p") {
if (t.currentAnim != "idle") {
animPlaying--;
}
if (animPlaying < 0) {
animPlaying = 0;
}
} else {
girlPlaying = false;
}
if (s == "stop") {
t.stop();
} else {
t.currentAnim = "wait";
t.gotoAndPlay("wait" + t.stage);
}
}
function playedAction(t) {
trace(("^^^^^^^^^^^^^^^^^^^^^^ playedAction(" + t) + ")");
game.buttonCover.gotoAndStop("on");
fatalCount = 0;
actionPlaying = false;
queuedIrritants++;
}
function iCanIrritate(t) {
irritateArray.push(t);
t.irritateIndex = irritateArray.length;
trace("irritateArray=" + irritateArray);
}
function iCanNotIrritate(t) {
if (t.irritateIndex) {
irritateArray[t.irritateIndex] = irritateArray[irritateArray.length];
irritateArray.pop();
delete t.irritateIndex;
}
}
function iAmDone(t) {
iCanNotIrritate(t);
iCanNotIdle(t);
t.done = true;
}
function playIrritate() {
chosenPerson = irritateArray[Math.floor(Math.random() * irritateArray.length)];
if ((chosenPerson.currentAnim == "wait") && (chosenPerson.stage > 0)) {
trace("irritate=" + chosenPerson);
chosenPerson.currentAnim = "irritate";
var _local1 = chosenPerson._currentframe;
chosenPerson.gotoAndPlay("irritate" + chosenPerson.stage);
if (chosenPerson._currentframe != _local1) {
animPlaying++;
lastIrritant = chosenPerson;
}
}
}
function animationControl() {
if (readyForAnim()) {
checkScore();
if (queuedIrritants) {
queuedIrritants--;
playIrritate();
if (!queuedIrritants) {
playerBegun = false;
}
} else {
itsPlayersTurn();
if (playGirl) {
doAction(playGirl);
playGirl = false;
} else if (playThing) {
doAction();
}
}
} else {
checkForFatalError();
}
}
function checkForFatalError() {
if (!fatalCount) {
fatalCount = 0;
}
fatalCount++;
if (fatalCount >= fatalTimeOut) {
playedAction("FATALERROR");
playedAnimation("FATALERROR");
trace("#######################");
trace("##### FATAL ERROR #####");
trace("# Check playedAction()#");
trace("# + playedAnimation() #");
trace("#######################");
fatalCount = 0;
}
}
function keepAlive() {
fatalCount = 0;
}
function readyForAnim() {
if ((!actionPlaying) && (!animPlaying)) {
return(true);
}
return(false);
}
function itsPlayersTurn() {
if (!playerBegun) {
playersTurn = true;
buttonCover.gotoAndStop("off");
playerBegun = true;
}
randomIdle();
}
function cueDoor(d, s) {
trace("cueDoor=" + d);
if (s) {
doorL.outside = s;
doorR.outside = s;
doorL.outsideClip.gotoAndStop(s);
doorR.outsideClip.gotoAndStop(s);
}
if (d == "right") {
doorR.play();
} else {
doorL.play();
}
}
function randomIdle() {
if (Math.floor(Math.random() * idleProb)) {
if (Math.random() < lightFlickerProbability) {
if (trainMoving) {
cueDarkness();
}
}
playIdle();
}
}
function mainLoop() {
animationControl();
_global.perf_cont_mc.monitorPerformance();
if ((!stopShaking) && (!gameOver)) {
allTubeJiggin();
}
}
function startRolloverSprite() {
rolloverSprite._x = _xmouse;
rolloverSprite._y = _ymouse;
rolloverSprite.gotoAndPlay(1);
}
function lightFlicker(m) {
if (m == 0) {
bg.col.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
game.col.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
bg.lights.gotoAndStop("on");
} else {
var _local1 = -5;
_local1 = _local1 * m;
bg.lights.gotoAndStop("off");
bg.lights._alpha = -_local1;
bg.col.setTransform({ra:100, rb:_local1, ga:100, gb:_local1, ba:100, bb:_local1 * 0.8, aa:100, ab:0});
game.col.setTransform({ra:100, rb:_local1, ga:100, gb:_local1, ba:100, bb:_local1 * 0.8, aa:100, ab:0});
}
}
function cueDarkness() {
if (!vampireOn) {
dark.gotoAndPlay("on");
}
}
function allTubeJiggin() {
if (trainMoving) {
if (!jigCount) {
jigCount = 0;
jigOften = 4;
}
jigCount++;
if ((jigCount % jigOften) == 0) {
var _local1 = Math.random() * 4;
bg._y = bg.startY + _local1;
doorL._y = doorL.startY + _local1;
doorR._y = doorR.startY + _local1;
}
}
}
function tubeJiggin() {
lastClip._y = lastClip.startY + (jig * 0.5);
lastClip2._y = lastClip2.startY + (jig * 0.25);
if (jigCount == 0) {
jig = (Math.random() * 4) - 2;
girl._y = girl.startY + jig;
lastClip2 = lastClip;
lastClip = girl;
} else {
game["p" + jigCount]._y = game["p" + jigCount].startY + jig;
lastClip2 = lastClip;
lastClip = game["p" + jigCount];
}
if (jigCount > totalPeople) {
game.bg._y = game.bg.startY + jig;
lastClip2 = lastClip;
lastClip = game.bg;
jigCount = -1;
}
jigCount++;
}
Instance of Symbol 198 MovieClip "doorL" in Symbol 971 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
}
Instance of Symbol 198 MovieClip "doorR" in Symbol 971 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("shut");
moving.stop();
startY = _y;
}
Instance of Symbol 203 MovieClip "bg" in Symbol 971 MovieClip Frame 1
onClipEvent (load) {
function __f_load(eventObj) {
startY = _y;
}
this.addEventListener("load", __f_load);
}
Instance of Symbol 371 MovieClip "p4" in Symbol 971 MovieClip Frame 1
/* no clip actions */
Symbol 971 MovieClip Frame 2
initPeople();
init();
scoreQualify = 3;
stop();
Symbol 971 MovieClip Frame 3
scoreQualify = scoreQualify + 1;
doReact("p5", "stage2");
p4.stage = 3;
p4.gotoAndStop("wait3");
stop();
Symbol 971 MovieClip Frame 4
scoreQualify = scoreQualify + 3;
startAction("windy");
stop();
Symbol 971 MovieClip Frame 5
stop();
Symbol 971 MovieClip Frame 6
stop();
Symbol 971 MovieClip Frame 7
stop();
Instance of Symbol 64 MovieClip "actionClip" in Symbol 971 MovieClip Frame 7
onClipEvent (load) {
function specialAction() {
startAction("hitCrisp1");
}
}
Instance of Symbol 64 MovieClip "actionClip" in Symbol 971 MovieClip Frame 7
onClipEvent (load) {
}
Instance of Symbol 482 MovieClip "fullBody" in Symbol 971 MovieClip Frame 7
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 926 MovieClip "p2irritator" in Symbol 971 MovieClip Frame 7
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 64 MovieClip "actionClip" in Symbol 971 MovieClip Frame 8
onClipEvent (load) {
function dropAction(o) {
startAction(o, this);
}
}
Instance of Symbol 64 MovieClip "actionClip" in Symbol 971 MovieClip Frame 8
onClipEvent (load) {
function specialAction(o) {
trace("SPECIALACTION IN BATMAN " + o);
if (o == "twig1") {
startAction("twig1", "p9");
}
if (o == "twig2") {
startAction("twig2", "p9");
}
if (o == "twig3") {
startAction("twig3", "p9");
}
if (o == "twig4") {
startAction("twig4", "p9");
}
}
}
Instance of Symbol 64 MovieClip "actionClip" in Symbol 971 MovieClip Frame 12
onClipEvent (load) {
function clickAction() {
if (game.girl.stage == 3) {
_parent.hitBat = true;
doReact("girl", "waitToHitBat");
}
}
}
onClipEvent (enterFrame) {
if (_parent.hitBat) {
startAction("whacked3", "p17");
}
}
Instance of Symbol 64 MovieClip "actionClip" in Symbol 971 MovieClip Frame 15
onClipEvent (load) {
function specialAction() {
startAction("hitCrisp1");
}
}
Instance of Symbol 64 MovieClip "actionClip" in Symbol 971 MovieClip Frame 15
onClipEvent (load) {
}
Instance of Symbol 482 MovieClip "fullBody" in Symbol 971 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 64 MovieClip "actionClip" in Symbol 971 MovieClip Frame 15
onClipEvent (load) {
}
Instance of Symbol 926 MovieClip "p2irritator" in Symbol 971 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 371 MovieClip "p4" in Symbol 971 MovieClip Frame 18
/* no clip actions */
Instance of Symbol 89 MovieClip "sprite" in Symbol 971 MovieClip Frame 20
onClipEvent (load) {
gotoAndStop(_parent.pushCount);
trace(_parent.pushCount);
}
Instance of Symbol 482 MovieClip "fullBody" in Symbol 971 MovieClip Frame 20
onClipEvent (load) {
_visible = false;
}
Symbol 971 MovieClip Frame 21
stop();
Symbol 975 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=244", "_blank");
}
Symbol 978 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=238", "_blank");
}
Symbol 992 Button
on (release) {
gotoAndPlay ("start");
}
Symbol 1001 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=243", "_blank");
}
Symbol 1006 Button
on (release) {
getURL ("http://90.kempt.memecounter.com/redir.php?urlId=242", "_blank");
}
Symbol 1011 Button
on (release) {
gotoAndPlay ("howTo");
}
Symbol 1016 Button
on (release) {
_parent.gotoAndPlay("close");
}
Symbol 1021 Button
on (release) {
_global.root.openWindow("http://90.kempt.memecounter.com/redir.php?urlId=247", true, "width=500,height=500,scrollbars=yes");
}
Symbol 1025 Button
on (release) {
_parent.play();
}
Symbol 1029 MovieClip Frame 1
stop();
Symbol 1029 MovieClip Frame 6
stop();
Symbol 1032 Button
on (release) {
gotoAndPlay ("close");
}
Symbol 1033 MovieClip Frame 1
menuContent.gotoAndStop("start");
_parent._parent.menuOpen = false;
stop();
Symbol 1033 MovieClip Frame 2
_parent._parent.menuOpen = true;
buttonMask.useHandCursor = false;
_parent._parent.animCursor.gotoAndStop("off");
Symbol 1033 MovieClip Frame 6
stop();
Symbol 1036 MovieClip [performanceController] Frame 1
#initclip 2
Object.registerClass("performanceController", PerformanceController);
#endinitclip
stop();