STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229455
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2574 · P5148

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/86273344?noj=FRM86273344-5DC" width="1" height="1"></div>

BoneTown adult game.swf

This is the info page for
Flash #139298

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
// unknown tag 88 length 11 frame 1 { stop(); } movieClip 28 { } instance of movieClip 28 { onClipEvent (rollOver) { if (_root.loadComplete && _root.splashComplete) { _root.satanBut.gotoAndStop(2); _root.satanTXT.gotoAndStop(2); } } onClipEvent (rollOut) { if (_root.loadComplete && _root.splashComplete) { _root.satanBut.gotoAndStop(1); _root.satanTXT.gotoAndStop(1); } } onClipEvent (release) { if (_root.loadComplete && _root.splashComplete) { _root.jesusIsHero = false; _root.gotoAndStop(2); } } } movieClip 30 { } instance of movieClip 30 { onClipEvent (rollOver) { if (_root.loadComplete && _root.splashComplete) { _root.jesusBut.gotoAndStop(2); _root.jesusTXT.gotoAndStop(2); } } onClipEvent (rollOut) { if (_root.loadComplete && _root.splashComplete) { _root.jesusBut.gotoAndStop(1); _root.jesusTXT.gotoAndStop(1); } } onClipEvent (release) { if (_root.loadComplete && _root.splashComplete) { _root.jesusIsHero = true; _root.gotoAndStop(2); } } } movieClip 34 { } movieClip 35 { } movieClip 36 { } movieClip 37 { } movieClip 39 { } movieClip 40 { } movieClip 41 { } movieClip 42 { } movieClip 44 { } movieClip 45 { } movieClip 51 { } movieClip 52 { frame 1 { stop(); } } movieClip 55 { } movieClip 56 { frame 1 { stop(); } } movieClip 59 { } movieClip 60 { frame 1 { stop(); } } movieClip 63 { } movieClip 64 { frame 1 { stop(); } } movieClip 67 { } movieClip 68 { } movieClip 71 { } instance of movieClip 71 { onClipEvent (enterFrame) { if (_root.loadComplete) { this._alpha = 100; } else { this._alpha = 0; } } } movieClip 76 { } instance of movieClip 76 { onClipEvent (release) { if (_root.clickTAG.substr(0, 5) == 'http:') { getURL(_root.clickTAG, '_blank'); } } } movieClip 80 { } movieClip 83 { } movieClip 84 { } movieClip 85 { } movieClip 86 { frame 1 { stop(); } frame 161 { _root.splashComplete = true; stop(); } } instance ddubpresents of movieClip 86 { onClipEvent (enterFrame) { if (_root.loadComplete && !_root.splashStarted && !_root.splashComplete) { _root.splashStarted = true; this.gotoAndPlay(2); } if (_root.splashComplete) { this._alpha = 0; } } } movieClip 89 { } instance loadingProgress of movieClip 89 { onClipEvent (enterFrame) { var loadedBytes = _root.getBytesLoaded(); var totalBytes = _root.getBytesTotal(); if (loadedBytes < totalBytes) { var percentBytes = int((loadedBytes / totalBytes) * 100); _root.loadingBar._xscale = percentBytes; } else { _root.loadComplete = true; this._alpha = 0; _root.loadingBar._alpha = 0; } } } movieClip 91 { } movieClip 478 __Packages.mx.transitions.OnEnterFrameBeacon { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.OnEnterFrameBeacon) { var v1 = function () {}; mx.transitions.OnEnterFrameBeacon = v1; var v2 = v1.prototype; v1.init = function () { var v4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(v4); var v3 = _root.createEmptyMovieClip('__OnEnterFrameBeacon', 9876); v3.onEnterFrame = function () { _global.MovieClip.broadcastMessage('onEnterFrame'); }; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.OnEnterFrameBeacon.prototype, null, 1); } #endinitclip } movieClip 479 __Packages.mx.transitions.BroadcasterMX { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.BroadcasterMX) { var v1 = function () {}; mx.transitions.BroadcasterMX = v1; var v2 = v1.prototype; v1.initialize = function (o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } }; v2.addListener = function (o) { this.removeListener(o); if (this.broadcastMessage == undefined) { this.broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return this._listeners.push(o); }; v2.removeListener = function (o) { var v2 = this._listeners; var v3 = v2.length; while (v3--) { if (v2[v3] == o) { v2.splice(v3, 1); if (!v2.length) { this.broadcastMessage = undefined; } return true; } } return false; }; v2.broadcastMessage = function () { var v5 = String(arguments.shift()); var v4 = this._listeners.concat(); var v6 = v4.length; var v3 = 0; while (v3 < v6) { v4[v3][v5].apply(v4[v3], arguments); ++v3; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.BroadcasterMX.prototype, null, 1); } #endinitclip } movieClip 480 __Packages.mx.transitions.Tween { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.Tween) { var v1 = function (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return undefined; } this.obj = obj; this.prop = prop; this.begin = begin; this.__set__position(begin); this.__set__duration(duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.__set__finish(finish); this._listeners = []; this.addListener(this); this.start(); }; mx.transitions.Tween = v1; var v2 = v1.prototype; v2.__set__time = function (t) { this.prevTime = this._time; if (t > this.__get__duration()) { if (this.looping) { this.rewind(t - this._duration); this.update(); this.broadcastMessage('onMotionLooped', this); } else { if (this.useSeconds) { this._time = this._duration; this.update(); } this.stop(); this.broadcastMessage('onMotionFinished', this); } } else { if (t < 0) { this.rewind(); this.update(); } else { this._time = t; this.update(); } } return this.__get__time(); }; v2.__get__time = function () { return this._time; }; v2.__set__duration = function (d) { this._duration = (d == null || d <= 0) ? _global.Infinity : d; return this.__get__duration(); }; v2.__get__duration = function () { return this._duration; }; v2.__set__FPS = function (fps) { var v2 = this.isPlaying; this.stopEnterFrame(); this._fps = fps; if (v2) { this.startEnterFrame(); } return this.__get__FPS(); }; v2.__get__FPS = function () { return this._fps; }; v2.__set__position = function (p) { this.setPosition(p); return this.__get__position(); }; v2.setPosition = function (p) { this.prevPos = this._pos; this._pos = p; this.obj[this.prop] = this._pos; this.broadcastMessage('onMotionChanged', this, this._pos); updateAfterEvent(); }; v2.__get__position = function () { return this.getPosition(); }; v2.getPosition = function (t) { if (t == undefined) { t = this._time; } return this.func(t, this.begin, this.change, this._duration); }; v2.__set__finish = function (f) { this.change = f - this.begin; return this.__get__finish(); }; v2.__get__finish = function () { return this.begin + this.change; }; v2.continueTo = function (finish, duration) { this.begin = this.position; this.__set__finish(finish); if (duration != undefined) { this.__set__duration(duration); } this.start(); }; v2.yoyo = function () { this.continueTo(this.begin, this.__get__time()); }; v2.startEnterFrame = function () { if (this._fps == undefined) { _global.MovieClip.addListener(this); } else { this._intervalID = setInterval(this, 'onEnterFrame', 1000 / this._fps); } this.isPlaying = true; }; v2.stopEnterFrame = function () { if (this._fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(this._intervalID); } this.isPlaying = false; }; v2.start = function () { this.rewind(); this.startEnterFrame(); this.broadcastMessage('onMotionStarted', this); }; v2.stop = function () { this.stopEnterFrame(); this.broadcastMessage('onMotionStopped', this); }; v2.resume = function () { this.fixTime(); this.startEnterFrame(); this.broadcastMessage('onMotionResumed', this); }; v2.rewind = function (t) { this._time = (t == undefined) ? 0 : t; this.fixTime(); this.update(); }; v2.fforward = function () { this.__set__time(this._duration); this.fixTime(); }; v2.nextFrame = function () { if (this.useSeconds) { this.__set__time((getTimer() - this._startTime) / 1000); } else { this.__set__time(this._time + 1); } }; v2.onEnterFrame = function () { this.nextFrame(); }; v2.prevFrame = function () { if (!this.useSeconds) { this.__set__time(this._time - 1); } }; v2.toString = function () { return '[Tween]'; }; v2.fixTime = function () { if (this.useSeconds) { this._startTime = getTimer() - this._time * 1000; } }; v2.update = function () { this.__set__position(this.getPosition(this._time)); }; v1.version = '1.1.0.52'; v1.__initBeacon = mx.transitions.OnEnterFrameBeacon.init(); v1.__initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); v2.func = function (t, b, c, d) { return c * t / d + b; }; v2.addProperty('FPS', v2.__get__FPS, v2.__set__FPS); v2.addProperty('duration', v2.__get__duration, v2.__set__duration); v2.addProperty('finish', v2.__get__finish, v2.__set__finish); v2.addProperty('position', v2.__get__position, v2.__set__position); v2.addProperty('time', v2.__get__time, v2.__set__time); ASSetPropFlags(mx.transitions.Tween.prototype, null, 1); } #endinitclip } frame 2 { comboTXT.autoSize = TextFieldAutoSize.LEFT; } movieClip 96 { } instance iconTrack of movieClip 96 { onClipEvent (load) { function resetTrack() { framecount = 0; comboCount = 0; oldComboCount = 0; combo = 0; highestCombo = 0; hitRate = 0; missed = 0; missedInARow = 0; oldMissed = 0; macLevel = 0; chickLeft = true; chickState = 0; oldChickState = 0; hitMid = 490; animReset = 0; scheduleTime = 0; keystrokeCount = 0; oldKeystrokeCount = 0; iconCount = 0; sendBonus = false; pauseTrack = false; trackReset = false; endLevel = false; guyMacFinished = false; chickMacFinished = false; playCountChime = false; countChimeSound.stop('countChime'); level = int(gameLevel / 10); if (level == 0) { level = 1; } if (level > 99) { level = 99; } ++satanMacCount; if (satanMacCount > 10) { satanMacCount = 1; } ++jesusMacCount; if (jesusMacCount > 10) { jesusMacCount = 1; } ++chickMacCount; if (chickMacCount > 13) { chickMacCount = 1; } new mx.transitions.Tween(_root.iconTrack, '_alpha', none, 100, 100, 1, false); new mx.transitions.Tween(_root.missedTXT, '_xscale', none, 100, 100, 1, false); new mx.transitions.Tween(_root.missedTXT, '_yscale', none, 100, 100, 1, false); new mx.transitions.Tween(_root.missedTXT, '_x', none, 68, 68, 1, false); new mx.transitions.Tween(_root.missedTXT, '_y', none, 469, 469, 1, false); new mx.transitions.Tween(_root.jesusCin, '_alpha', none, 0, 0, 1, false); new mx.transitions.Tween(_root.satanCin, '_alpha', none, 0, 0, 1, false); new mx.transitions.Tween(_root.chickCin, '_alpha', none, 0, 0, 1, false); _root.gotoAndStop(2); } function tweenTrackA(movieInstance) { tTime = iconTime[level]; movieInstance.tweenArray = new Array(); movieInstance.tweenArray[1] = new mx.transitions.Tween(movieInstance, '_alpha', none, 0, 100, 0.1, true); movieInstance.tweenArray[2] = new mx.transitions.Tween(movieInstance, '_xscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[3] = new mx.transitions.Tween(movieInstance, '_yscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[4] = new mx.transitions.Tween(movieInstance, '_x', none, 235, 90, tTime, true); movieInstance.tweenArray[5] = new mx.transitions.Tween(movieInstance, '_y', none, 330, 550, tTime, true); movieInstance.killtime = framecount + tTime * 30; movieInstance.onEnterFrame = function () { if (movieInstance._y > hitMid - hitRange && movieInstance._y < hitMid + hitRange && _root.leftButt.leftButtDown && !movieInstance.hit) { i = 1; while (i < tweenArray.length) { movieInstance.tweenArray[i].stop(); ++i; } new mx.transitions.Tween(movieInstance, '_x', none, movieInstance._x, 40, 0.2, true); new mx.transitions.Tween(movieInstance, '_y', none, movieInstance._y, 375, 0.2, true); new mx.transitions.Tween(movieInstance, '_alpha', none, 100, 0, 0.2, true); ++comboCount; macLevel += heroIcon; movieInstance.hit = true; movieInstance.killtime += 20; } if (movieInstance.killtime > 0 && movieInstance.killtime < _root.iconTrack.framecount) { if (!movieInstance.hit) { ++missed; ICNnegativeSound.start(0, 1); } this.removeMovieClip(); } }; } function tweenTrackB(movieInstance) { tTime = iconTime[level]; movieInstance.tweenArray = new Array(); movieInstance.tweenArray[1] = new mx.transitions.Tween(movieInstance, '_alpha', none, 0, 100, 0.1, true); movieInstance.tweenArray[2] = new mx.transitions.Tween(movieInstance, '_xscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[3] = new mx.transitions.Tween(movieInstance, '_yscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[4] = new mx.transitions.Tween(movieInstance, '_x', none, 260, 230, tTime, true); movieInstance.tweenArray[5] = new mx.transitions.Tween(movieInstance, '_y', none, 330, 550, tTime, true); movieInstance.killtime = framecount + tTime * 30; movieInstance.onEnterFrame = function () { if (movieInstance._y > hitMid - hitRange && movieInstance._y < hitMid + hitRange && _root.downButt.downButtDown && !movieInstance.hit) { i = 1; while (i < tweenArray.length) { movieInstance.tweenArray[i].stop(); ++i; } new mx.transitions.Tween(movieInstance, '_x', none, movieInstance._x, 40, 0.2, true); new mx.transitions.Tween(movieInstance, '_y', none, movieInstance._y, 375, 0.2, true); new mx.transitions.Tween(movieInstance, '_alpha', none, 100, 0, 0.2, true); ++comboCount; macLevel += heroIcon; movieInstance.hit = true; movieInstance.killtime += 20; } if (movieInstance.killtime > 0 && movieInstance.killtime < _root.iconTrack.framecount) { if (!movieInstance.hit) { ++missed; ICNnegativeSound.start(0, 1); } this.removeMovieClip(); } }; } function tweenTrackC(movieInstance) { tTime = iconTime[level]; movieInstance.tweenArray = new Array(); movieInstance.tweenArray[1] = new mx.transitions.Tween(movieInstance, '_alpha', none, 0, 100, 0.1, true); movieInstance.tweenArray[2] = new mx.transitions.Tween(movieInstance, '_xscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[3] = new mx.transitions.Tween(movieInstance, '_yscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[4] = new mx.transitions.Tween(movieInstance, '_x', none, 285, 385, tTime, true); movieInstance.tweenArray[5] = new mx.transitions.Tween(movieInstance, '_y', none, 330, 550, tTime, true); movieInstance.killtime = framecount + tTime * 30; movieInstance.onEnterFrame = function () { if (movieInstance._y > hitMid - hitRange && movieInstance._y < hitMid + hitRange && _root.rightButt.rightButtDown && !movieInstance.hit) { i = 1; while (i < tweenArray.length) { movieInstance.tweenArray[i].stop(); ++i; } new mx.transitions.Tween(movieInstance, '_x', none, movieInstance._x, 40, 0.2, true); new mx.transitions.Tween(movieInstance, '_y', none, movieInstance._y, 375, 0.2, true); new mx.transitions.Tween(movieInstance, '_alpha', none, 100, 0, 0.2, true); ++comboCount; macLevel += heroIcon; movieInstance.hit = true; movieInstance.killtime += 20; } if (movieInstance.killtime > 0 && movieInstance.killtime < _root.iconTrack.framecount) { if (!movieInstance.hit) { ++missed; ICNnegativeSound.start(0, 1); } this.removeMovieClip(); } }; } function tweenBonusTrackA(movieInstance) { tTime = iconTime[level]; movieInstance.tweenArray = new Array(); movieInstance.tweenArray[1] = new mx.transitions.Tween(movieInstance, '_alpha', none, 0, 100, 0.1, true); movieInstance.tweenArray[2] = new mx.transitions.Tween(movieInstance, '_xscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[3] = new mx.transitions.Tween(movieInstance, '_yscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[4] = new mx.transitions.Tween(movieInstance, '_x', none, 235, 90, tTime, true); movieInstance.tweenArray[5] = new mx.transitions.Tween(movieInstance, '_y', none, 330, 550, tTime, true); movieInstance.killtime = framecount + tTime * 30; movieInstance.onEnterFrame = function () { if (movieInstance._y > hitMid - hitRange && movieInstance._y < hitMid + hitRange && _root.leftButt.leftButtDown && !movieInstance.hit) { i = 1; while (i < tweenArray.length) { movieInstance.tweenArray[i].stop(); ++i; } new mx.transitions.Tween(movieInstance, '_x', none, movieInstance._x, 40, 0.2, true); new mx.transitions.Tween(movieInstance, '_y', none, movieInstance._y, 375, 0.2, true); new mx.transitions.Tween(movieInstance, '_alpha', none, 100, 0, 0.2, true); ++comboCount; macLevel += heroBonus; villanMacLevel -= villanBonusPenalty; movieInstance.hit = true; movieInstance.killtime += 20; playGoodAnim(); } if (movieInstance.killtime > 0 && movieInstance.killtime < _root.iconTrack.framecount) { if (!movieInstance.hit) { ++missed; ICNnegativeSound.start(0, 1); } this.removeMovieClip(); } }; } function tweenBonusTrackB(movieInstance) { tTime = iconTime[level]; movieInstance.tweenArray = new Array(); movieInstance.tweenArray[1] = new mx.transitions.Tween(movieInstance, '_alpha', none, 0, 100, 0.1, true); movieInstance.tweenArray[2] = new mx.transitions.Tween(movieInstance, '_xscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[3] = new mx.transitions.Tween(movieInstance, '_yscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[4] = new mx.transitions.Tween(movieInstance, '_x', none, 260, 230, tTime, true); movieInstance.tweenArray[5] = new mx.transitions.Tween(movieInstance, '_y', none, 330, 550, tTime, true); movieInstance.killtime = framecount + tTime * 30; movieInstance.onEnterFrame = function () { if (movieInstance._y > hitMid - hitRange && movieInstance._y < hitMid + hitRange && _root.downButt.downButtDown && !movieInstance.hit) { i = 1; while (i < tweenArray.length) { movieInstance.tweenArray[i].stop(); ++i; } new mx.transitions.Tween(movieInstance, '_x', none, movieInstance._x, 40, 0.2, true); new mx.transitions.Tween(movieInstance, '_y', none, movieInstance._y, 375, 0.2, true); new mx.transitions.Tween(movieInstance, '_alpha', none, 100, 0, 0.2, true); ++comboCount; macLevel += heroBonus; villanMacLevel -= villanBonusPenalty; movieInstance.hit = true; movieInstance.killtime += 20; playGoodAnim(); } if (movieInstance.killtime > 0 && movieInstance.killtime < _root.iconTrack.framecount) { if (!movieInstance.hit) { ++missed; ICNnegativeSound.start(0, 1); } this.removeMovieClip(); } }; } function tweenBonusTrackC(movieInstance) { tTime = iconTime[level]; movieInstance.tweenArray = new Array(); movieInstance.tweenArray[1] = new mx.transitions.Tween(movieInstance, '_alpha', none, 0, 100, 0.1, true); movieInstance.tweenArray[2] = new mx.transitions.Tween(movieInstance, '_xscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[3] = new mx.transitions.Tween(movieInstance, '_yscale', none, 50, 100, tTime * 0.66, true); movieInstance.tweenArray[4] = new mx.transitions.Tween(movieInstance, '_x', none, 285, 385, tTime, true); movieInstance.tweenArray[5] = new mx.transitions.Tween(movieInstance, '_y', none, 330, 550, tTime, true); movieInstance.killtime = framecount + tTime * 30; movieInstance.onEnterFrame = function () { if (movieInstance._y > hitMid - hitRange && movieInstance._y < hitMid + hitRange && _root.rightButt.rightButtDown && !movieInstance.hit) { i = 1; while (i < tweenArray.length) { movieInstance.tweenArray[i].stop(); ++i; } new mx.transitions.Tween(movieInstance, '_x', none, movieInstance._x, 40, 0.2, true); new mx.transitions.Tween(movieInstance, '_y', none, movieInstance._y, 375, 0.2, true); new mx.transitions.Tween(movieInstance, '_alpha', none, 100, 0, 0.2, true); ++comboCount; macLevel += heroBonus; villanMacLevel -= villanBonusPenalty; movieInstance.hit = true; movieInstance.killtime += 20; playGoodAnim(); } if (movieInstance.killtime > 0 && movieInstance.killtime < _root.iconTrack.framecount) { if (!movieInstance.hit) { ++missed; ICNnegativeSound.start(0, 1); } this.removeMovieClip(); } }; } function sendIcon() { if (musicCount == 1) { if (_root.jesusIsHero) { tKeyArray = clubTracklistA; } else { tKeyArray = securityTracklistA; } if (trackcount > tKeyArray.length) { songend = true; songendframe = MP3Sound.position; trackcount = 1; } if (songend && MP3Sound.position < songendframe) { musicCount = 2; songend = false; } tKeyString = tKeyArray[trackcount]; } if (musicCount == 2) { if (_root.jesusIsHero) { tKeyArray = clubTracklistB; } else { tKeyArray = securityTracklistB; } if (trackcount > tKeyArray.length) { songend = true; songendframe = MP3Sound.position; trackcount = 1; } if (songend && MP3Sound.position < songendframe) { musicCount = 3; songend = false; } tKeyString = tKeyArray[trackcount]; } if (musicCount == 3) { if (_root.jesusIsHero) { tKeyArray = clubTracklistC; } else { tKeyArray = securityTracklistC; } if (trackcount > tKeyArray.length) { songend = true; songendframe = MP3Sound.position; trackcount = 1; } if (songend && MP3Sound.position < songendframe) { musicCount = 4; songend = false; } tKeyString = tKeyArray[trackcount]; } if (musicCount == 4) { if (_root.jesusIsHero) { tKeyArray = clubTracklistD; } else { tKeyArray = securityTracklistD; } if (trackcount > tKeyArray.length) { songend = true; songendframe = MP3Sound.position; trackcount = 1; } if (songend && MP3Sound.position < songendframe) { musicCount = 5; songend = false; } tKeyString = tKeyArray[trackcount]; } if (musicCount == 5) { if (_root.jesusIsHero) { tKeyArray = clubTracklistE; } else { tKeyArray = securityTracklistE; } if (trackcount > tKeyArray.length) { songend = true; songendframe = MP3Sound.position; trackcount = 1; } if (songend && MP3Sound.position < songendframe) { musicCount = 6; songend = false; } tKeyString = tKeyArray[trackcount]; } if (musicCount == 6) { if (_root.jesusIsHero) { tKeyArray = clubTracklistF; } else { tKeyArray = securityTracklistF; } if (trackcount > tKeyArray.length) { songend = true; songendframe = MP3Sound.position; trackcount = 1; } if (songend && MP3Sound.position < songendframe) { musicCount = 7; songend = false; } tKeyString = tKeyArray[trackcount]; } if (musicCount == 7) { if (_root.jesusIsHero) { tKeyArray = clubTracklistG; } else { tKeyArray = securityTracklistG; } if (trackcount > tKeyArray.length) { songend = true; songendframe = MP3Sound.position; trackcount = 1; } if (songend && MP3Sound.position < songendframe) { musicCount = 3; songend = false; } tKeyString = tKeyArray[trackcount]; } tTrack = tKeyString.substr(0, 1); tFrame = int(tKeyString.substr(1, tKeyString.length - 1)); if (MP3Sound.position + iconTime[level] * 550 >= tFrame && !songend) { if (!pauseTrack && !gocountdown) { if (!sendBonus) { if (_root.jesusIsHero) { tIcon = _root.ICN_cross; } else { tIcon = _root.ICN_flames; } if (tTrack == 'A') { tIcon.duplicateMovieClip('trackIcon' + trackcount, trackcount); tweenTrackA(_root['trackIcon' + trackcount]); } if (tTrack == 'B') { tIcon.duplicateMovieClip('trackIcon' + trackcount, trackcount); tweenTrackB(_root['trackIcon' + trackcount]); } if (tTrack == 'C') { tIcon.duplicateMovieClip('trackIcon' + trackcount, trackcount); tweenTrackC(_root['trackIcon' + trackcount]); } } else { sendBonus = false; if (_root.jesusIsHero) { tIcon = _root.ICN_bible; } else { tIcon = _root.ICN_boom; } if (tTrack == 'A') { tIcon.duplicateMovieClip('trackIcon' + trackcount, trackcount); tweenBonusTrackA(_root['trackIcon' + trackcount]); } if (tTrack == 'B') { tIcon.duplicateMovieClip('trackIcon' + trackcount, trackcount); tweenBonusTrackB(_root['trackIcon' + trackcount]); } if (tTrack == 'C') { tIcon.duplicateMovieClip('trackIcon' + trackcount, trackcount); tweenBonusTrackC(_root['trackIcon' + trackcount]); } } } ++trackcount; ++iconCount; } } function playGoodAnim() { if (animReset > framecount) { return undefined; } animReset = framecount + 50; if (_root.jesusIsHero) { hero.gotoAndPlay(91); villan.gotoAndPlay(126); } else { hero.gotoAndPlay(71); villan.gotoAndPlay(141); } _root.chick.gotoAndPlay(31); tSound = random(7) + 1; goodSound[tSound].start(0, 1); chickLeft = true; } function playBadAnim() { if (animReset > framecount) { return undefined; } animReset = framecount + 100; if (_root.jesusIsHero) { hero.gotoAndPlay(141); villan.gotoAndPlay(71); tSound = random(7) + 1; jbadSound[tSound].start(0, 1); } else { hero.gotoAndPlay(126); villan.gotoAndPlay(91); tSound = random(5) + 1; sbadSound[tSound].start(0, 1); } if (chickLeft) { _root.chick.gotoAndPlay(110); chickLeft = false; } } var recordKeys = false; securityTracklistA = new Array('A400', 'A800', 'A1200', 'A1600', 'A2000', 'A2400', 'A2800', 'B3200', 'B3600', 'B4000', 'B4400', 'B4800', 'B5200', 'B5600', 'B6000', 'C6400', 'C6800', 'C7200', 'C7600', 'C8000', 'C8400', 'C8800', 'C9200', 'B9600', 'C11200', 'B12800', 'A14400', 'A16000', 'A17600', 'B17600', 'A19200', 'B19200', 'B20800', 'C22400', 'B24000', 'A25600', 'A26400', 'B27200', 'A28000', 'B28800', 'A29600', 'B30400', 'B31200', 'B32000', 'C32000', 'B33600', 'C33600', 'B35200', 'C35200', 'B36800', 'C36800', 'B37600', 'A38400', 'B38400', 'A40000', 'B40000', 'A41600', 'B41600', 'A43200', 'B43200', 'A44000'); securityTracklistB = new Array('A800', 'A1600', 'B2000', 'B2400', 'B2800', 'B3200', 'A4000', 'A4800', 'B5200', 'B5600', 'B6000', 'B6400', 'B7200', 'B8000', 'A8400', 'B8800', 'A9200', 'A9600', 'B9600', 'B10400', 'B11200', 'A11600', 'B12000', 'A12400', 'A12800', 'B12800', 'A13200', 'A13600', 'A14000', 'A14400', 'B14400', 'B14800', 'B15200', 'B15600', 'B16000', 'C16000', 'C16400', 'B16800', 'A17200', 'A17600', 'B17600', 'A18000', 'B18000', 'A18400', 'B18400', 'B18800', 'C18800', 'B19200', 'C19200', 'A19600', 'A20000', 'A20400', 'A20800', 'B21200', 'B21600', 'B22000', 'A22400', 'B22400', 'C22800', 'C23200', 'C23600', 'C24000', 'A24400', 'A24800', 'A25200', 'A25600', 'C25600', 'A26000', 'A26400', 'A26800', 'A27200', 'C27200', 'A27600', 'A28000', 'A28400', 'A28800', 'C28800', 'C29200', 'C29600', 'C30000', 'A30400', 'C30400', 'C30800', 'C31200', 'C31600', 'A32000', 'C32000', 'A33600', 'B33600', 'A35200', 'B35200', 'A36800', 'B36800', 'A37200', 'B37600', 'A38000', 'A38400', 'B38400', 'A40000', 'B40000', 'B41600', 'C41600', 'B43200', 'C43200', 'A43600', 'A44000', 'A44400'); securityTracklistC = new Array('A400', 'A800', 'A1200', 'A1600', 'A2000', 'A2400', 'A2800', 'B3200', 'B3600', 'B4000', 'B4400', 'B4800', 'B5200', 'B5600', 'B6000', 'C6400', 'C6800', 'C7200', 'C7600', 'C8000', 'C8400', 'C8800', 'C9200', 'B9600', 'C10000', 'C10400', 'C10800', 'C11200', 'C11600', 'C12000', 'C12400', 'B12800', 'B13200', 'B13600', 'B14000', 'A14400', 'B14800', 'B15200', 'B15600', 'A16000', 'B16400', 'B16800', 'B17200', 'A17600', 'B17600', 'B18000', 'A18400', 'B18800', 'A19200', 'B19200', 'A19600', 'A20000', 'A20400', 'B20800', 'B21200', 'B21600', 'B22000', 'C22400', 'C22800', 'C23200', 'C23600', 'B24000', 'B24400', 'B24800', 'B25200', 'A25600', 'A26000', 'A26400', 'A26800', 'B27200', 'A27600', 'A28000', 'A28400', 'B28800', 'A29200', 'A29600', 'A30000', 'B30400', 'B30800', 'B31200', 'B31600', 'B32000', 'C32000', 'B33600', 'C33600', 'B35200', 'C35200', 'B36800', 'C36800', 'B37200', 'B37600', 'B38000', 'A38400', 'B38400', 'A40000', 'B40000', 'A41600', 'B41600', 'A43200', 'B43200', 'A43600', 'A44000', 'A44400'); securityTracklistD = new Array('A400', 'A800', 'A1200', 'A1600', 'B2000', 'B2400', 'B2800', 'B3200', 'A3600', 'A4000', 'A4400', 'A4800', 'B5200', 'B5600', 'B6000', 'B6400', 'A6800', 'B7200', 'A7600', 'B8000', 'A8400', 'B8800', 'A9200', 'A9600', 'B9600', 'A10000', 'B10400', 'A10800', 'B11200', 'A11600', 'B12000', 'A12400', 'A12800', 'B12800', 'A13200', 'A13600', 'A14000', 'A14400', 'B14400', 'B14800', 'B15200', 'B15600', 'B16000', 'C16000', 'C16400', 'B16800', 'A17200', 'A17600', 'B17600', 'A18000', 'B18000', 'A18400', 'B18400', 'B18800', 'C18800', 'B19200', 'C19200', 'A19600', 'A20000', 'A20400', 'A20800', 'B21200', 'B21600', 'B22000', 'A22400', 'B22400', 'C22800', 'C23200', 'C23600', 'C24000', 'A24400', 'A24800', 'A25200', 'A25600', 'C25600', 'A26000', 'A26400', 'A26800', 'A27200', 'C27200', 'A27600', 'A28000', 'A28400', 'A28800', 'C28800', 'C29200', 'C29600', 'C30000', 'A30400', 'C30400', 'C30800', 'C31200', 'C31600', 'A32000', 'C32000', 'A33600', 'B33600', 'A35200', 'B35200', 'A36800', 'B36800', 'A37200', 'B37600', 'A38000', 'A38400', 'B38400', 'A40000', 'B40000', 'B41600', 'C41600', 'B43200', 'C43200', 'A43600', 'A44000', 'A44400'); securityTracklistE = new Array('A400', 'A800', 'A1200', 'A1600', 'A2000', 'A2400', 'A2800', 'A3200', 'B3200', 'A3600', 'A4000', 'A4400', 'A4800', 'A5200', 'A5600', 'A6000', 'A6400', 'B6400', 'B6800', 'B7200', 'B7600', 'B8000', 'B8400', 'B8800', 'B9200', 'A9600', 'B9600', 'B10000', 'B10400', 'B10800', 'B11200', 'B11600', 'B12000', 'B12400', 'B12800', 'C12800', 'C13200', 'C13600', 'C14000', 'B14400', 'C14400', 'C14800', 'C15200', 'C15600', 'B16000', 'C16000', 'C16400', 'C16800', 'C17200', 'B17600', 'C17600', 'B18000', 'C18000', 'B18400', 'C18400', 'B18800', 'C18800', 'B19200', 'C19200', 'A19600', 'B20000', 'A20400', 'B20800', 'A21200', 'B21600', 'A22000', 'A22400', 'B22400', 'B22800', 'A23200', 'B23600', 'A24000', 'B24400', 'A24800', 'B25200', 'A25600', 'C25600', 'C26000', 'B26400', 'C26800', 'A27200', 'C27200', 'C27600', 'B28000', 'C28400', 'A28800', 'C28800', 'B29200', 'C29600', 'B30000', 'A30400', 'B30400', 'B30800', 'C30800', 'A31200', 'B31200', 'B31600', 'C31600', 'A32000', 'C32000', 'A33600', 'C33600', 'A35200', 'C35200', 'A36800', 'C36800', 'B37200', 'A37600', 'B38000', 'A38400', 'B38400', 'A40000', 'B40000', 'A41600', 'B41600', 'A43200', 'B43200', 'A43600', 'A44000', 'A44400'); securityTracklistF = new Array('A400', 'B800', 'A1200', 'B1600', 'A2000', 'B2400', 'A2800', 'A3200', 'B3200', 'B3600', 'B4000', 'A4400', 'A4800', 'B5200', 'B5600', 'B6000', 'A6400', 'B6400', 'B6800', 'C7200', 'B7600', 'C8000', 'B8400', 'C8800', 'B9200', 'B9600', 'C9600', 'C10000', 'B10400', 'C10800', 'B11200', 'C11600', 'B12000', 'C12400', 'B12800', 'C12800', 'C13200', 'B13600', 'A14000', 'A14400', 'B14400', 'C14800', 'C15200', 'C15600', 'B16000', 'C16000', 'A16400', 'B16800', 'C17200', 'A17600', 'B17600', 'C17600', 'A18000', 'B18000', 'A18400', 'B18400', 'A18800', 'B18800', 'A19200', 'B19200', 'C19200', 'A19600', 'A20000', 'B20400', 'B20800', 'A21200', 'A21600', 'A22000', 'A22400', 'B22400', 'C22800', 'B23200', 'C23600', 'C24000', 'B24400', 'B24800', 'B25200', 'B25600', 'C25600', 'A26000', 'A26400', 'A26800', 'A27200', 'B27200', 'B27600', 'B28000', 'B28400', 'B28800', 'C28800', 'C29200', 'C29600', 'C30000', 'A30400', 'B30400', 'C30400', 'A30800', 'B30800', 'B31200', 'C31200', 'A31600', 'B31600', 'A32000', 'B32000', 'C32000', 'A33600', 'B33600', 'B35200', 'C35200', 'A36800', 'B36800', 'A37200', 'B37600', 'C38000', 'A38400', 'B38400', 'C38400', 'A40000', 'B40000', 'C40000', 'A41600', 'B41600', 'C41600', 'A43200', 'B43200', 'C43200', 'C43600', 'B44000', 'A44400'); securityTracklistG = new Array('A400', 'A800', 'A1200', 'A1600', 'A2000', 'A2400', 'A2800', 'A3200', 'B3200', 'A3600', 'A4000', 'A4400', 'A4800', 'A5200', 'A5600', 'A6000', 'A6400', 'B6400', 'B6800', 'B7200', 'B7600', 'B8000', 'B8400', 'B8800', 'B9200', 'A9600', 'B9600', 'B10000', 'B10400', 'B10800', 'B11200', 'B11600', 'B12000', 'B12400', 'B12800', 'C12800', 'C13200', 'C13600', 'C14000', 'B14400', 'C14400', 'C14800', 'C15200', 'C15600', 'B16000', 'C16000', 'C16400', 'C16800', 'C17200', 'B17600', 'C17600', 'B18000', 'C18000', 'B18400', 'C18400', 'B18800', 'C18800', 'B19200', 'C19200', 'A19600', 'B20000', 'A20400', 'B20800', 'A21200', 'B21600', 'A22000', 'A22400', 'B22400', 'B22800', 'A23200', 'B23600', 'A24000', 'B24400', 'A24800', 'B25200', 'A25600', 'C25600', 'C26000', 'B26400', 'C26800', 'A27200', 'C27200', 'C27600', 'B28000', 'C28400', 'A28800', 'C28800', 'B29200', 'C29600', 'B30000', 'A30400', 'B30400', 'B30800', 'C30800', 'A31200', 'B31200', 'B31600', 'C31600', 'A32000', 'C32000', 'A33600', 'C33600', 'A35200', 'C35200', 'A36800', 'C36800', 'B37200', 'A37600', 'B38000', 'A38400', 'B38400', 'A40000', 'B40000', 'A41600', 'B41600', 'A43200', 'B43200', 'A43600', 'A44000', 'A44400'); clubTracklistA = new Array('B450', 'A900', 'B1350', 'A1800', 'B2250', 'A2700', 'B3150', 'A3600', 'B4050', 'A4500', 'B4950', 'A5400', 'A5850', 'A6300', 'A6750', 'A7200', 'A7650', 'A8100', 'AB8550', 'B9000', 'B10800', 'C12600', 'B14400', 'B16200', 'B18000', 'A19800', 'B19800', 'A21600', 'A22500', 'B23400', 'B24300', 'C25200', 'C26100', 'B27000', 'B28800', 'B29700', 'A30600', 'B31500', 'A32400', 'A33300', 'B34200', 'A35100', 'B36000'); clubTracklistB = new Array('A900', 'B1800', 'B2700', 'C3600', 'C4500', 'B5400', 'B6300', 'A7200', 'A9000', 'A9900', 'A10800', 'A11700', 'A12600', 'A13500', 'A14400', 'A15300', 'A16200', 'A17100', 'A18000', 'B18900', 'A19800', 'B19800', 'A21600', 'B22050', 'A22500', 'B22950', 'C23400', 'C24300', 'A25200', 'B25650', 'A26100', 'B26550', 'C27000', 'C27900', 'C28800', 'B29700', 'C29700', 'A30600', 'B30600', 'A31500', 'B31500', 'A32400', 'C32400', 'A33300', 'C33300', 'A34200', 'C34200', 'B34650', 'B35100', 'B35550', 'B36000'); clubTracklistC = new Array('B450', 'A900', 'B1350', 'A1800', 'B2250', 'A2700', 'B3150', 'A3600', 'B4050', 'A4500', 'B4950', 'A5400', 'A5850', 'A6300', 'A6750', 'A7200', 'A7650', 'A8100', 'AB8550', 'B9000', 'B9450', 'B9900', 'B10350', 'B10800', 'B11250', 'B11700', 'B12150', 'C12600', 'C13050', 'C13500', 'C13950', 'B14400', 'A14850', 'B15300', 'A15750', 'B16200', 'A16650', 'B17100', 'A17550', 'B18000', 'A18450', 'B18900', 'A19350', 'A19800', 'B19800', 'A21600', 'A22050', 'A22500', 'A22950', 'B23400', 'B23850', 'B24300', 'B24750', 'C25200', 'C25650', 'C26100', 'C26550', 'B27000', 'C27450', 'C27900', 'C28350', 'B28800', 'B29250', 'B29700', 'B30150', 'A30600', 'B31050', 'B31500', 'B31950', 'A32400', 'A32850', 'A33300', 'A33750', 'B34200', 'A34650', 'A35100', 'A35550', 'B36000'); clubTracklistD = new Array('A450', 'A900', 'A1350', 'B1800', 'B2250', 'B2700', 'B3150', 'C3600', 'C4050', 'C4500', 'C4950', 'B5400', 'B5850', 'B6300', 'B6750', 'A7200', 'B7650', 'A8100', 'B8550', 'A9000', 'B9450', 'A9900', 'B10350', 'A10800', 'B11250', 'A11700', 'B12150', 'A12600', 'B13050', 'A13500', 'B13950', 'A14400', 'C14850', 'A15300', 'C15750', 'A16200', 'C16650', 'A17100', 'C17550', 'A18000', 'C18450', 'B18900', 'A19350', 'A19800', 'B19800', 'A21600', 'B22050', 'A22500', 'B22950', 'C23400', 'B23850', 'C24300', 'B24750', 'A25200', 'B25650', 'A26100', 'B26550', 'C27000', 'B27450', 'C27900', 'B28350', 'C28800', 'B29250', 'C29250', 'B29700', 'C29700', 'B30150', 'C30150', 'A30600', 'B30600', 'A31050', 'B31050', 'A31500', 'B31500', 'A31950', 'B31950', 'A32400', 'C32400', 'B32850', 'A33300', 'C33300', 'B33750', 'A34200', 'C34200', 'B34650', 'B35100', 'B35550', 'B36000'); clubTracklistE = new Array('A450', 'A900', 'A1350', 'B1800', 'B2250', 'B2700', 'B3150', 'A3600', 'B3600', 'A4050', 'A4500', 'A4950', 'B5400', 'B5850', 'B6300', 'B6750', 'A7200', 'B7200', 'C7650', 'C8100', 'C8550', 'C9000', 'C9450', 'C9900', 'C10350', 'B10800', 'C10800', 'B11250', 'B11700', 'B12150', 'B12600', 'B13050', 'B13500', 'B13950', 'B14400', 'C14400', 'A14850', 'B15300', 'A15750', 'B16200', 'A16650', 'B17100', 'A17550', 'A18000', 'B18000', 'A18450', 'B18450', 'A18900', 'B18900', 'A19350', 'B19350', 'A19800', 'B19800', 'C19800', 'A21600', 'A22050', 'A22500', 'A22950', 'B23400', 'B23850', 'B24300', 'B24750', 'C25200', 'C25650', 'C26100', 'C26550', 'A27000', 'B27000', 'C27000', 'A27450', 'A27900', 'A28350', 'A28800', 'B29250', 'C29700', 'C30150', 'B30600', 'A31050', 'A31500', 'B31950', 'C32400', 'C32850', 'B33300', 'A33750', 'A34200', 'B34650', 'C35100', 'C35550', 'B36000'); clubTracklistF = new Array('A450', 'B900', 'A1350', 'B1800', 'A2250', 'B2700', 'A3150', 'B3600', 'A4050', 'B4500', 'A4950', 'B4950', 'B5400', 'A5850', 'B6300', 'A6750', 'C7200', 'C7650', 'C8100', 'C8550', 'A9000', 'A9450', 'A9900', 'A10350', 'A10800', 'C10800', 'A11250', 'C11250', 'A11700', 'C11700', 'A12150', 'C12150', 'B12600', 'B13050', 'B13500', 'B13950', 'B14400', 'C14850', 'A15300', 'C15750', 'A16200', 'C16650', 'A17100', 'C17550', 'A18000', 'C18450', 'A18900', 'C19350', 'A19800', 'B19800', 'C19800', 'A21600', 'B22050', 'C22500', 'B22950', 'A23400', 'B23850', 'C24300', 'B24750', 'A25200', 'B25650', 'C26100', 'B26550', 'A27000', 'C27450', 'C27900', 'C28350', 'C28800', 'B29250', 'C29250', 'A29700', 'B29700', 'B30150', 'C30150', 'A30600', 'B30600', 'B31050', 'C31050', 'A31500', 'B31500', 'B31950', 'C31950', 'A32400', 'B32400', 'A32850', 'C32850', 'A33300', 'C33750', 'A34200', 'C34200', 'A34650', 'C35100', 'A35550', 'C35550', 'B36000'); clubTracklistG = new Array('A450', 'B900', 'C1350', 'B1800', 'A2250', 'B2700', 'C3150', 'B3600', 'A4050', 'B4500', 'C4950', 'B5400', 'A5850', 'B6300', 'C6750', 'B7200', 'C7200', 'A7650', 'B8100', 'C8100', 'A8550', 'B9000', 'C9000', 'A9450', 'B9900', 'C9900', 'C10350', 'A10800', 'C10800', 'C11250', 'A11700', 'B11700', 'C12150', 'A12600', 'B12600', 'C13050', 'A13500', 'B13500', 'C13950', 'A14400', 'B14400', 'A14850', 'C14850', 'A15300', 'B15300', 'B15750', 'C15750', 'A16200', 'C16200', 'A16650', 'B16650', 'B17100', 'C17100', 'A17550', 'C17550', 'A18000', 'B18000', 'B18450', 'C18450', 'B18900', 'C18900', 'B19350', 'C19350', 'A19800', 'B19800', 'C19800', 'B21600', 'A22050', 'C22050', 'B22500', 'A22950', 'C22950', 'B23400', 'A23850', 'C23850', 'B24300', 'A24750', 'C24750', 'B25200', 'A25650', 'C25650', 'B26100', 'B26550', 'B27000', 'A27450', 'B27450', 'C27450', 'B27900', 'A28350', 'B28350', 'C28350', 'B28800', 'A29250', 'B29250', 'B29700', 'C29700', 'A30150', 'B30150', 'B30600', 'C30600', 'A31050', 'B31050', 'B31500', 'C31500', 'A31950', 'B31950', 'B32400', 'C32400', 'A32850', 'B32850', 'C32850', 'A33300', 'B33750', 'C34200', 'B34650', 'A35100', 'A35550', 'B35550', 'C35550', 'A36000'); var hitRange = 30; var heroMissedPenalty = 5; var villanMissedBonus = 3; var missedInARowScale = 0.3; var heroKeystrokePenalty = 1; var heroIcon = 1; var heroBonus = 3; var bonusIconMax = 10; var villanBonusPenalty = 0; iconTime = new Array(); i = 1; while (i < 100) { iconTime[i] = 1.61 - i * 0.013; ++i; } var framecount = 0; var trackcount = 0; var comboCount = 0; var oldComboCount = 0; var combo = 0; var highestCombo = 0; var hitRate = 0; var missed = 0; var missedInARow = 0; var oldMissed = 0; var macLevel = 0; var villanMacLevel = 0; var chickLeft = true; var chickState = 0; var oldChickState = 0; var hitMid = 490; var animReset = 0; var scheduleTime = 0; var keystrokeCount = 0; var oldKeystrokeCount = 0; var iconCount = 0; var sendBonus = false; var pauseTrack = false; var trackReset = false; var endLevel = false; var guyMacFinished = false; var chickMacFinished = false; var playCountChime = false; var showInstructions = true; var firstTime = true; var leftButtReset = true; var downButtReset = true; var rightButtReset = true; var leftButtDown = false; var downButtDown = false; var rightButtDown = false; var keyString = ''; var gocountdown = true; var songend = false; var gameover = false; var songendframe = 0; var score = 0; var keyCount = 0; var gameLevel = 0; var level = 1; var musicCount = 1; i = 0; while (i < 36100) { trace(i + ','); i += 450; } var countChimeSound = new Sound(); countChimeSound.attachSound('countChime'); countChimeSound.stop('countChime'); var countChime2Sound = new Sound(); countChime2Sound.attachSound('countChime2'); countChime2Sound.stop('countChime2'); var ICNpositiveSound = new Sound(); ICNpositiveSound.attachSound('ICNpositive'); ICNpositiveSound.stop('ICNpositive'); var ICNnegativeSound = new Sound(); ICNnegativeSound.attachSound('ICNnegative'); ICNnegativeSound.stop('ICNnegative'); goodSound = new Array(); goodSound[1] = new Sound(); goodSound[1].attachSound('good1'); goodSound[1].stop('good1'); goodSound[2] = new Sound(); goodSound[2].attachSound('good2'); goodSound[2].stop('good2'); goodSound[3] = new Sound(); goodSound[3].attachSound('good3'); goodSound[3].stop('good3'); goodSound[4] = new Sound(); goodSound[4].attachSound('good4'); goodSound[4].stop('good4'); goodSound[5] = new Sound(); goodSound[5].attachSound('good5'); goodSound[5].stop('good5'); goodSound[6] = new Sound(); goodSound[6].attachSound('good6'); goodSound[6].stop('good6'); goodSound[7] = new Sound(); goodSound[7].attachSound('good7'); goodSound[7].stop('good7'); jbadSound = new Array(); jbadSound[1] = new Sound(); jbadSound[1].attachSound('jbad1'); jbadSound[1].stop('jbad1'); jbadSound[2] = new Sound(); jbadSound[2].attachSound('jbad2'); jbadSound[2].stop('jbad2'); jbadSound[3] = new Sound(); jbadSound[3].attachSound('jbad3'); jbadSound[3].stop('jbad3'); jbadSound[4] = new Sound(); jbadSound[4].attachSound('jbad4'); jbadSound[4].stop('jbad4'); jbadSound[5] = new Sound(); jbadSound[5].attachSound('jbad5'); jbadSound[5].stop('jbad5'); jbadSound[6] = new Sound(); jbadSound[6].attachSound('jbad6'); jbadSound[6].stop('jbad6'); jbadSound[7] = new Sound(); jbadSound[7].attachSound('jbad7'); jbadSound[7].stop('jbad7'); sbadSound = new Array(); sbadSound[1] = new Sound(); sbadSound[1].attachSound('sbad1'); sbadSound[1].stop('sbad1'); sbadSound[2] = new Sound(); sbadSound[2].attachSound('sbad2'); sbadSound[2].stop('sbad2'); sbadSound[3] = new Sound(); sbadSound[3].attachSound('sbad3'); sbadSound[3].stop('sbad3'); sbadSound[4] = new Sound(); sbadSound[4].attachSound('sbad4'); sbadSound[4].stop('sbad4'); sbadSound[5] = new Sound(); sbadSound[5].attachSound('sbad5'); sbadSound[5].stop('sbad5'); satanMacFrames = new Array(); satanMacFrames[1] = 103; satanMacFrames[2] = 175; satanMacFrames[3] = 244; satanMacFrames[4] = 308; satanMacFrames[5] = 389; satanMacFrames[6] = 460; satanMacFrames[7] = 554; satanMacFrames[8] = 622; satanMacFrames[9] = 683; satanMacFrames[10] = 763; var satanMacCount = 1; jesusMacFrames = new Array(); jesusMacFrames[1] = 20; jesusMacFrames[2] = 80; jesusMacFrames[3] = 176; jesusMacFrames[4] = 250; jesusMacFrames[5] = 337; jesusMacFrames[6] = 429; jesusMacFrames[7] = 518; jesusMacFrames[8] = 594; jesusMacFrames[9] = 647; jesusMacFrames[10] = 709; var jesusMacCount = 1; chickBadMacFrames = new Array(); chickBadMacFrames[1] = 15; chickBadMacFrames[2] = 115; chickBadMacFrames[3] = 194; chickBadMacFrames[4] = 298; chickBadMacFrames[5] = 391; chickBadMacFrames[6] = 448; chickBadMacFrames[7] = 505; chickBadMacFrames[8] = 581; chickBadMacFrames[9] = 694; chickBadMacFrames[10] = 782; chickBadMacFrames[11] = 858; chickBadMacFrames[12] = 920; chickBadMacFrames[13] = 986; var chickMacCount = 1; chickGoodMacFrames = new Array(); chickGoodMacFrames[1] = 1084; chickGoodMacFrames[2] = 1132; chickGoodMacFrames[3] = 1204; chickGoodMacFrames[4] = 1274; chickGoodMacFrames[5] = 1330; chickGoodMacFrames[6] = 1384; chickGoodMacFrames[7] = 1459; chickGoodMacFrames[8] = 1496; chickGoodMacFrames[9] = 1558; chickGoodMacFrames[10] = 1625; chickGoodMacFrames[11] = 1693; chickGoodMacFrames[12] = 1784; chickGoodMacFrames[13] = 1855; var chickMacCount = 1; MP3Sound = new Sound(); if (_root.jesusIsHero) { MP3Sound.attachSound('btclub'); MP3Sound.stop('btclub'); } else { MP3Sound.attachSound('security'); MP3Sound.stop('security'); } tracklist = new Array(); } onClipEvent (enterFrame) { if (firstTime) { firstTime = false; new mx.transitions.Tween(_root.jesusCin, '_alpha', none, 0, 0, 1, false); new mx.transitions.Tween(_root.satanCin, '_alpha', none, 0, 0, 1, false); new mx.transitions.Tween(_root.chickCin, '_alpha', none, 0, 0, 1, false); if (_root.jesusIsHero) { hero = _root.jesus; villan = _root.satan; hero._xscale = -100; hero._x = 270; villan._xscale = -100; villan._x = 550; _root.chick._x = 120; } else { hero = _root.satan; villan = _root.jesus; } if (!recordKeys) { MP3Sound.start(0, 9999); } } if (showInstructions && !recordKeys) { return undefined; } ++framecount; if (framecount == 1) { new mx.transitions.Tween(_root.jesusCin, '_alpha', none, 0, 0, 1, false); new mx.transitions.Tween(_root.satanCin, '_alpha', none, 0, 0, 1, false); new mx.transitions.Tween(_root.chickCin, '_alpha', none, 0, 0, 1, false); _root.goTXT.gotoAndPlay(2); if (_root.jesusIsHero) { hero = _root.jesus; villan = _root.satan; hero._xscale = -100; hero._x = 270; villan._xscale = -100; villan._x = 550; _root.chick._x = 120; } else { hero = _root.satan; villan = _root.jesus; } } if (recordKeys) { if (framecount < 90) { keystrokeCount = 0; return undefined; } if (framecount == 90) { MP3Sound.start(0, 1); } if (MP3Sound.position == MP3Sound.duration) { trace(tracklist); _root.unloadMovie(); } if (!Key.isDown(37)) { leftButtReset = true; } if (!Key.isDown(40)) { downButtReset = true; } if (!Key.isDown(39)) { rightButtReset = true; } if (Key.isDown(39) && rightButtReset) { tKeyString = 'C' + MP3Sound.position; tracklist[keyCount] = tKeyString; ++keyCount; rightButtReset = false; } if (Key.isDown(40) && downButtReset) { tKeyString = 'B' + MP3Sound.position; tracklist[keyCount] = tKeyString; ++keyCount; downButtReset = false; } if (Key.isDown(37) && leftButtReset) { tKeyString = 'A' + MP3Sound.position; tracklist[keyCount] = tKeyString; ++keyCount; leftButtReset = false; } keyString = tKeyString; return undefined; } sendIcon(); sendIcon(); sendIcon(); if (!trackReset) { var tMissed = false; if (missed > oldMissed && macLevel < 100) { combo = 0; oldMissed = missed; macLevel -= heroMissedPenalty + int(missedInARowScale * missedInARow); ++missedInARow; villanMacLevel += villanMissedBonus + int(missedInARowScale * missedInARow); playBadAnim(); tMissed = true; } if (keystrokeCount > oldKeystrokeCount && keystrokeCount > iconCount && macLevel < 100) { trace('NO ICON'); combo = 0; keystrokeCount = iconCount; oldKeystrokeCount = keystrokeCount; macLevel -= heroKeystrokePenalty; } if (comboCount > oldComboCount) { combo += comboCount - oldComboCount; missedInARow = 0; oldComboCount = comboCount; } if (combo > highestCombo) { highestCombo = combo; } if (combo % bonusIconMax == 0 && combo != 0) { if (!tMissed) { var sendBonus = true; } } if (comboCount > 0) { hitRate = int((comboCount / (comboCount + missed)) * 100); } if (macLevel < 0) { macLevel = 0; } if (villanMacLevel < 0) { villanMacLevel = 0; } if (macLevel >= 100) { macLevel = 100; pauseTrack = true; } if (villanMacLevel >= 100) { villanMacLevel = 100; pauseTrack = true; } } if (pauseTrack) { if (!endLevel) { endLevel = true; scheduleTime = framecount + iconTime[level] + 30; } if (!trackReset && scheduleTime < framecount) { scheduleTime = framecount + 10; trackReset = true; new mx.transitions.Tween(_root.iconTrack, '_alpha', none, 100, 0, 10, false); if (macLevel > 99) { new mx.transitions.Tween(_root.highTXT, '_xscale', none, _root.highTXT._xscale, 250, 10, false); new mx.transitions.Tween(_root.highTXT, '_yscale', none, _root.highTXT._yscale, 250, 10, false); new mx.transitions.Tween(_root.highTXT, '_x', none, _root.highTXT._x, 240, 10, false); new mx.transitions.Tween(_root.highTXT, '_y', none, _root.highTXT._y, 410, 10, false); new mx.transitions.Tween(_root.timesX, '_alpha', none, 0, 100, 10, false); } } if (macLevel > 99 && scheduleTime < framecount) { if (!playCountChime) { playCountChime = true; countChimeSound.start(0, 4); } if (highestCombo > 0) { scheduleTime = framecount; --highestCombo; gameLevel += hitRate * 0.01; score += int(hitRate * 0.1); } else { macLevel = 0; countChimeSound.stop('countChime'); countChime2Sound.start(0, 1); new mx.transitions.Tween(_root.chickCin, '_alpha', none, 100, 100, 1, false); _root.chickCin.gotoAndPlay(2); if (_root.jesusIsHero) { new mx.transitions.Tween(_root.jesusCin, '_alpha', none, 100, 100, 1, false); _root.jesusCin.gotoAndPlay(2); } else { new mx.transitions.Tween(_root.satanCin, '_alpha', none, 100, 100, 1, false); _root.satanCin.gotoAndPlay(2); } _root.gotoAndStop(3); } } else { if (villanMacLevel > 99 && scheduleTime < framecount) { villanMacLevel = 0; gameover = true; new mx.transitions.Tween(_root.chickCin, '_alpha', none, 100, 100, 1, false); _root.chickCin.gotoAndPlay(2); if (_root.jesusIsHero) { new mx.transitions.Tween(_root.jesusCin, '_alpha', none, 100, 100, 1, false); _root.jesusCin.gotoAndPlay(2); } else { new mx.transitions.Tween(_root.satanCin, '_alpha', none, 100, 100, 1, false); _root.satanCin.gotoAndPlay(2); } _root.gotoAndStop(3); } } if (guyMacFinished) { guyMacFinished = false; var tMacNumber = random(13) + 1; if (!gameover) { if (hitRate >= 95) { _root.chickCin.gotoAndPlay(chickGoodMacFrames[tMacNumber]); } else { _root.chickCin.gotoAndPlay(chickBadMacFrames[tMacNumber]); } } else { if (score >= 3000) { _root.chickCin.gotoAndPlay(chickGoodMacFrames[tMacNumber]); } else { _root.chickCin.gotoAndPlay(chickBadMacFrames[tMacNumber]); } } } if (girlMacFinished) { girlMacFinished = false; if (!gameover) { resetTrack(); } } } } } movieClip 99 { } movieClip 102 { } movieClip 105 { } movieClip 108 { } movieClip 195 { frame 30 { gotoAndPlay(1); } frame 109 { gotoAndPlay(1); } frame 157 { gotoAndPlay(125); } } movieClip 238 { frame 90 { gotoAndPlay(1); } frame 140 { gotoAndPlay(1); } frame 196 { gotoAndPlay(1); } } movieClip 269 { frame 70 { gotoAndPlay(1); } frame 125 { gotoAndPlay(1); } frame 165 { gotoAndPlay(1); } } movieClip 272 { } movieClip 301 { frame 1 { stop(); } frame 19 { var tMacNumber = random(10) + 1; gotoAndPlay(_root.iconTrack.satanMacFrames[tMacNumber]); } frame 97 { _root.iconTrack.guyMacFinished = true; stop(); } frame 169 { _root.iconTrack.guyMacFinished = true; stop(); } frame 238 { _root.iconTrack.guyMacFinished = true; stop(); } frame 302 { _root.iconTrack.guyMacFinished = true; stop(); } frame 383 { _root.iconTrack.guyMacFinished = true; stop(); } frame 454 { _root.iconTrack.guyMacFinished = true; stop(); } frame 548 { _root.iconTrack.guyMacFinished = true; stop(); } frame 616 { _root.iconTrack.guyMacFinished = true; stop(); } frame 677 { _root.iconTrack.guyMacFinished = true; stop(); } frame 757 { _root.iconTrack.guyMacFinished = true; stop(); } frame 800 { _root.iconTrack.guyMacFinished = true; stop(); } } movieClip 304 { } movieClip 333 { frame 1 { stop(); } frame 19 { var tMacNumber = random(10) + 1; gotoAndPlay(_root.iconTrack.jesusMacFrames[tMacNumber]); } frame 74 { _root.iconTrack.guyMacFinished = true; stop(); } frame 170 { _root.iconTrack.guyMacFinished = true; stop(); } frame 244 { _root.iconTrack.guyMacFinished = true; stop(); } frame 331 { _root.iconTrack.guyMacFinished = true; stop(); } frame 423 { _root.iconTrack.guyMacFinished = true; stop(); } frame 512 { _root.iconTrack.guyMacFinished = true; stop(); } frame 588 { _root.iconTrack.guyMacFinished = true; stop(); } frame 641 { _root.iconTrack.guyMacFinished = true; stop(); } frame 703 { _root.iconTrack.guyMacFinished = true; stop(); } frame 805 { _root.iconTrack.guyMacFinished = true; stop(); } } movieClip 336 { } button 364 { on (release) { getURL('http://www.bonetown.com/', '_blank'); } } button 368 { on (release) { if (_root.jesusIsHero) { _root.iconTrack.MP3Sound.stop('btclub'); } else { _root.iconTrack.MP3Sound.stop('security'); } _root.gotoAndPlay(1); } } button 371 { on (release) { getURL('http://www.bonetown.com/', '_blank'); } } movieClip 374 { } movieClip 377 { frame 14 { stop(); } frame 109 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 188 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 292 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 385 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 442 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 499 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 575 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 688 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 776 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 852 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 914 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 980 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1078 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1127 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1198 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1268 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1324 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1378 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1453 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1490 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1552 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1619 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1687 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1778 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1849 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } frame 1912 { stop(); if (_root.iconTrack.gameover) { _root.gotoAndPlay(4); } else { _root.iconTrack.girlMacFinished = true; } } } movieClip 379 { } instance of movieClip 379 { onClipEvent (enterFrame) { if (_root.iconTrack.villanMacLevel > 100) { _root.iconTrack.villanMacLevel = 100; } this._xscale = _root.iconTrack.villanMacLevel * -1; } } movieClip 382 { } instance leftLittleBar of movieClip 382 { onClipEvent (enterFrame) { if (_root.iconTrack.macLevel > 100) { _root.iconTrack.macLevel = 100; } this._xscale = _root.iconTrack.macLevel; } } movieClip 389 { } movieClip 391 { } movieClip 394 { } movieClip 400 { } movieClip 401 { frame 1 { _root.iconTrack.gocountdown = true; stop(); } frame 2 { _root.iconTrack.gocountdown = true; } frame 90 { _root.iconTrack.gocountdown = false; } frame 106 { stop(); } } movieClip 405 { } movieClip 406 { frame 1 { if (!_root.iconTrack.showInstructions) { stop(); } this.removeMovieClip(); } frame 200 { _root.iconTrack.showInstructions = false; stop(); this.removeMovieClip(); } } movieClip 409 { frame 2 { rightButtDown = true; cooldown = true; ++_root.iconTrack.keystrokeCount; } frame 3 { rightButtDown = false; } frame 5 { cooldown = false; gotoAndStop(1); } } instance rightButt of movieClip 409 { onClipEvent (load) { var rightButtDown = true; var rightButtReset = false; } onClipEvent (enterFrame) { if ((Key.isDown(39) || Key.isDown(68) || Key.isDown(76)) && rightButtReset) { rightButtReset = false; gotoAndPlay(2); } if (!Key.isDown(39) && !Key.isDown(68) && !Key.isDown(76) && !rightButtDown && !cooldown) { gotoAndStop(1); rightButtReset = true; } } } movieClip 412 { frame 2 { downButtDown = true; cooldown = true; ++_root.iconTrack.keystrokeCount; } frame 3 { downButtDown = false; } frame 5 { cooldown = false; gotoAndStop(1); } } instance downButt of movieClip 412 { onClipEvent (load) { var downButtDown = true; var downButtReset = false; } onClipEvent (enterFrame) { if ((Key.isDown(40) || Key.isDown(83) || Key.isDown(75)) && downButtReset) { downButtReset = false; gotoAndPlay(2); } if (!Key.isDown(40) && !Key.isDown(83) && !Key.isDown(75) && !downButtDown && !cooldown) { gotoAndStop(1); downButtReset = true; } } } movieClip 415 { } movieClip 417 { frame 2 { leftButtDown = true; cooldown = true; ++_root.iconTrack.keystrokeCount; } frame 3 { leftButtDown = false; } frame 5 { cooldown = false; gotoAndStop(1); } } instance leftButt of movieClip 417 { onClipEvent (load) { var leftButtDown = true; var leftButtReset = false; } onClipEvent (enterFrame) { if ((Key.isDown(37) || Key.isDown(65) || Key.isDown(74)) && leftButtReset) { leftButtReset = false; gotoAndPlay(2); } if (!Key.isDown(37) && !Key.isDown(65) && !Key.isDown(74) && !leftButtDown && !cooldown) { gotoAndStop(1); leftButtReset = true; } } } movieClip 418 { } movieClip 419 { frame 11 { stop(); } } frame 3 { stop(); } movieClip 420 { } movieClip 421 { frame 10 { stop(); } } frame 4 { stop(); } button 424 { on (release) { if (_root.clickTAG.substr(0, 5) == 'http:') { getURL(_root.clickTAG, '_blank'); } } } button 425 { on (release) { if (_root.clickTAG.substr(0, 5) == 'http:') { getURL(_root.clickTAG, '_blank'); } } } movieClip 449 { } movieClip 452 { } movieClip 477 { frame 1 { stop(); if (_root.iconTrack.score < 3000) { gotoAndPlay(2); } else { if (_root.jesusIsHero) { gotoAndPlay(61); } else { gotoAndPlay(436); } } } frame 55 { stop(); } frame 426 { stop(); } frame 802 { stop(); } }




http://swfchan.com/28/139298/info.shtml
Created: 28/10 -2018 03:45:49 Last modified: 28/10 -2018 03:45:49 Server time: 05/11 -2024 06:43:33