STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229672 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5191 |
This is the info page for Flash #31341 |
WWW.SUGAR-FREE-GAMES.COM |
<p align="center"></p> |
Created by Dmitry Zheltobriukhov for Sugar-Free-Games.com. Jingle Bells remix by Snipez5 |
IT'S CHRISTMAS TIME AND SANTA IS ABOUT TO BRING PRESENTS, BUT OH GOSH! YOUR FIREPLACE IS FAKE AND IS NOT CONNECTED TO THE CHIMNEY! YOU MUST FIX IT BEFORE IT'S TOO LATE. |
PAUSED |
MUSIC |
SOUND FX |
ARE YOU SURE YOU WANT TO RESET THE LEVEL? |
ARE YOU SURE YOU WANT EXIT TO THE MAIN MENU? |
BASIC INSTRUCTIONS |
TO BUILD A BLOCK, CLICK ON A FREE SPACE IN THE GAME AREA. TO SCROLL THE GAME AREA USE THE MOUSE WHEEL OR THE UP AND DOWN ARROW KEYS. TO DESTROY A BLOCK, CLICK THE BULLDOZER ICON IN THE BOTTOM RIGHT CORNER AND THEN ON THE BLOCK YOU WANT TO DESTROY. TO CANCEL BULLDOZER, CLICK ON ITS ICON AGAIN. DON'T LET SANTA GET OUT OF THE PIPELINE. |
BUILD |
BLOCKS TO CONNECT THE CHIMNEY TO THE |
FIREPLACE |
x10 |
MENU |
ADVANCED INSTRUCTIONS |
IF SANTA HAS SEVERAL OPTIONS, HE WILL FIRST OF ALL GO STRAIGHT AND THEN WILL PROBABLY COME BACK TO EXPLORE OTHER DIRECTIONS. IF HE CAN'T GO STRAIGHT, HE WILL RATHER GO DOWN, THEN LEFT, THEN RIGHT, THEN UP, EXACTLY IN THIS ORDER OF PREFERENCE. YOU EARN SCORE WHEN: - YOU PRESS "I'M READY" BUTTON BEFORE THE TIME IS OVER. - SANTA ENTERS A SQUARE HE HASN'T VISITED BEFORE. - YOU PASS THE LEVEL. ALL BLOCKS CONNECTED TO THE CHIMNEY GIVE YOU POINTS. A BLOCK GIVES YOU MOST POINTS IF ALL ITS EXITS ARE CONNECTED TO OTHER BLOCKS. YOU LOSE SCORE WHEN: - YOU USE THE BULLDOZER. YOU LOSE MORE IF SANTA HAS ALREADY VISITED THE BLOCK YOU ARE DESTROYING. - YOU BLOCK SANTA'S WAY BACK. IF YOU TRAP SANTA IN A LOOP, YOU WILL LOSE POINTS IN EACH CYCLE. |
NAME |
STATUS |
SCORE: 0 |
SELECT A LEVEL |
<p align="center"><font face="Arial" size="16" color="#c6daf5" letterSpacing="2.000000" kerning="0"><b>SCORE</b></font></p> |
BEST TOTAL: |
x10 |
NEXT: |
x10 |
MESSAGE |
<p align="center"><font face="Arial" size="48" color="#c6daf5" letterSpacing="2.000000" kerning="0"><b>PAGE TITLE</b></font></p> |
<p align="center"><font face="Arial" size="16" color="#c6daf5" letterSpacing="4.000000" kerning="0"><b>PAGE TEXT</b></font></p> |
<p align="center"><font face="Arial" size="16" color="#c6daf5" letterSpacing="4.000000" kerning="0"><b>SCORE TEXT</b></font></p> |
YOUR SCORE IS |
<p align="center"><font face="Arial" size="16" color="#c6daf5" letterSpacing="4.000000" kerning="0"><b>RECORD TEXT</b></font></p> |
ENTER YOUR NAME |
*Note: You must be connected to the Internet and allow popups in order to save your score properly. |
YOUR SCORE IS |
0000000000 |
Name |
The following information has been sent to Sugar-Free-Games.com: |
If you could not see your name at the page opened in a new browser window, press "RETRY" button to try again. |
ActionScript [AS1/AS2]
Frame 1var MochiAd = {showPreloaderAd:function (options) { var _local29 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812}; options = MochiAd._parseOptions(options, _local29); var _local15 = options.clip; var _local25 = 11000; var _local28 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)) { return(undefined); } _local15.stop(); var mc = _local15._mochiad; mc.onUnload = function () { this._parent.play(); }; var _local16 = MochiAd._getRes(options); var _local5 = _local16[0]; var _local14 = _local16[1]; mc._x = _local5 * 0.5; mc._y = _local14 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local5 * -0.5; chk._y = _local14 * -0.5; var _local8 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local8._x = 10; _local8._y = _local14 - 20; var _local24 = options.color; delete options.color; var _local21 = options.background; delete options.background; var _local26 = options.outline; delete options.outline; var _local6 = _local8.createEmptyMovieClip("_outline", 1); _local6.beginFill(_local21); _local6.moveTo(0, 0); _local6.lineTo(_local5 - 20, 0); _local6.lineTo(_local5 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); _local6.endFill(); var _local4 = _local8.createEmptyMovieClip("_inside", 2); _local4.beginFill(_local24); _local4.moveTo(0, 0); _local4.lineTo(_local5 - 20, 0); _local4.lineTo(_local5 - 20, 10); _local4.lineTo(0, 10); _local4.lineTo(0, 0); _local4.endFill(); _local4._xscale = 0; var _local7 = _local8.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local26, 100); _local7.moveTo(0, 0); _local7.lineTo(_local5 - 20, 0); _local7.lineTo(_local5 - 20, 10); _local7.lineTo(0, 10); _local7.lineTo(0, 0); chk.ad_msec = _local25; chk.ad_timeout = _local28; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; }, showTimedAd:function (options) { var _local15 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd"}; options = MochiAd._parseOptions(options, _local15); var _local6 = options.clip; var _local12 = 11000; var _local14 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)) { return(undefined); } _local6.stop(); var mc = _local6._mochiad; mc.onUnload = function () { this._parent.play(); }; var _local7 = MochiAd._getRes(options); var _local16 = _local7[0]; var _local13 = _local7[1]; mc._x = _local16 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local12; chk.ad_timeout = _local14; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; }, _allowDomains:function (server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); }, _loadCommunicator:function (options) { var _local25 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, _local25); options.swfv = options.clip.getSWFVersion() || 6; options.mav = "1.4"; var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!MochiAd._isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; MochiAd._allowDomains(_local21); delete options.id; delete options.com_server; var _local24 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local24); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb) { cb = parseInt(cb); var _local4 = this._callbacks[cb]; if (!_local4) { return(undefined); } delete this._callbacks[cb]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); }, fetchHighScores:function (options, callbackObj, callbackMethod) { var _local1 = MochiAd._loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); }, sendHighScore:function (options, callbackObj, callbackMethod) { var _local1 = MochiAd._loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); }, load:function (options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = "1.4"; var _local7 = options.clip; if (!MochiAd._isNetworkAvailable()) { return(null); } if (_local7._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12); var _local11 = MochiAd._getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local7._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local8 in options) { _local4[_local8] = options[_local8]; } if (_local7._url.indexOf("http") != 0) { options.no_page = true; } var _local10 = _local4.server; delete _local4.server; var _local14 = MochiAd._allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local9; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local9); _local6.lc = _local5; _local4.lc = _local9; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); }, unload:function (clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); }, _isNetworkAvailable:function () { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); }, _getRes:function (options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); }, _parseOptions:function (options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } return(_local4); }, _:null}; if (((this._url.indexOf("http://www.addictinggames.com") != 0) and (this._url.indexOf("http://agstage.shockwave.com") != 0)) and (this._url.indexOf("http://farm.addictinggames.com") != 0)) { MochiAd.showPreloaderAd({id:"9c7cbd82beb4745b", res:"600x400", background:14351871, color:6536440, outline:404543, no_bg:false}); } else { stop(); this.createTextField("my_txt", 1, 0, 200, 500, 100); my_txt.multiline = true; my_txt.wordWrap = true; var my_fmt = new TextFormat(); my_fmt.color = 16777215 /* 0xFFFFFF */; my_fmt.align = "center"; my_fmt.bold = true; my_fmt.font = "Arial"; my_txt.text = "Loading"; my_txt.setTextFormat(my_fmt); this.onEnterFrame = function () { if (this.getBytesLoaded() >= this.getBytesTotal()) { my_txt.removeTextField(); delete onEnterFrame; gotoAndStop (2); } }; } _root.kongregateServices.connect();Frame 2function TimeFormat(Time) { var _local3; var _local1; var _local2; _local3 = Math.floor(Time / 60); _local1 = Time % 60; if (_local1 < 10) { _local1 = "0" + _local1; } _local2 = (_local3 + ":") + _local1; return(_local2); } stop(); LevelMaps = [undefined, [[99, 99, 99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 90, 0, 0, 0], [99, 99, 99, 0, 90, 0, 0, 0], [99, 99, 99, 0, 0, 0, 92, 91], [99, 99, 0, 0, 90, 90, 93, 93], [99, 99, 0, 0, 90, 91, 91, 91], [99, 0, 0, 0, 90, 91, 91, 91], [99, 0, 0, 0, 90, 91, 91, 91], [99, 0, 0, 0, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91], [99, 99, 0, 0, 90, 90, 90, 90], [99, 99, 99, 0, 90, 91, 91, 91], [99, 99, 99, 0, 90, 91, 91, 91], [99, 99, 99, 99, 90, 91, 91, 91], [99, 99, 99, 99, 99, 99, 99, 99]], [[99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 0, 0, 0, 0, 90, 91, 91, 91], [99, 99, 99, 0, 0, 0, 0, 0, 90, 91, 91, 91], [99, 99, 99, 0, 90, 90, 90, 90, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 0, 0, 0, 90, 91, 91, 91, 90, 90, 90, 90], [99, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 90, 90, 90, 90, 90, 91, 91, 91], [99, 99, 99, 0, 0, 0, 0, 0, 90, 91, 91, 91], [99, 99, 99, 0, 0, 0, 0, 0, 90, 90, 91, 91], [99, 99, 99, 99, 0, 0, 0, 0, 0, 0, 92, 91], [99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]], [[99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [99, 99, 99, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, 91], [99, 99, 99, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 90, 90, 93, 93], [99, 99, 0, 0, 0, 90, 90, 90, 90, 90, 0, 0, 0, 90, 91, 91, 91], [99, 99, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 90, 91, 91, 91], [99, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 90, 91, 91, 91], [99, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 90, 91, 91, 91], [99, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 91, 91, 91], [99, 99, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 90, 90, 90], [99, 99, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 99, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]], [[99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 0, 0, 92, 91], [99, 99, 99, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 90, 90, 93, 93], [99, 99, 99, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91], [99, 99, 0, 0, 90, 90, 90, 90, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91], [99, 0, 0, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91], [99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91], [99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 90, 90, 90], [99, 99, 0, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91], [99, 99, 0, 0, 90, 90, 90, 90, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91], [99, 99, 99, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91], [99, 99, 99, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91], [99, 99, 99, 99, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91], [99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]], [[99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 90, 90, 90, 90, 91, 91, 91, 90, 91, 91, 91], [99, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 90, 90, 90, 90, 90, 91, 91], [99, 0, 0, 0, 90, 90, 90, 90, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 92, 93], [99, 0, 0, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 91, 91, 91, 90, 0, 0, 0], [99, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0], [99, 99, 0, 0, 90, 90, 90, 90, 90, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0], [99, 99, 99, 0, 90, 91, 91, 91, 90, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0], [99, 99, 99, 0, 90, 91, 91, 91, 90, 0, 0, 0, 90, 90, 90, 90, 90, 0, 0, 0], [99, 99, 99, 99, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]], [[99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, 91], [99, 99, 99, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 90, 93, 93], [99, 99, 99, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 0, 90, 90, 90, 90, 90, 91, 91, 91, 90, 91, 91, 91], [99, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 0, 0, 0, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 90, 90, 90, 90, 91, 91, 91, 90, 90, 90, 90], [99, 99, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 90, 90, 90, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 0, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 99, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]], [[99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90], [99, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91], [99, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91], [99, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91], [99, 99, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91], [99, 99, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91], [99, 99, 99, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 0, 90, 90, 90, 90, 90, 0, 90, 90, 91, 91], [99, 99, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 92, 91], [99, 99, 99, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0], [99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]], [[99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91], [99, 99, 99, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91], [99, 99, 99, 0, 90, 90, 90, 90, 90, 0, 0, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90], [99, 99, 0, 0, 90, 91, 91, 91, 90, 0, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 0, 0, 0, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 90, 90, 90, 90, 90, 91, 91], [99, 99, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 92, 91], [99, 99, 99, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90], [99, 99, 99, 0, 90, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91], [99, 99, 99, 99, 90, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91], [99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]], [[99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 90, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91], [99, 99, 99, 0, 90, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91], [99, 99, 99, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90], [99, 99, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0], [99, 99, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0], [99, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0], [99, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 92, 91], [99, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 0, 90, 90, 93, 93], [99, 99, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 90, 90, 90, 90, 90, 0, 0, 90, 91, 91, 91], [99, 99, 0, 0, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91], [99, 99, 99, 0, 0, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 0, 90, 90, 90, 90, 90, 0, 0, 90, 91, 91, 91], [99, 99, 99, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 0, 90, 91, 91, 91], [99, 99, 99, 99, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 0, 90, 91, 91, 91], [99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]], [[99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 0, 90, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 90, 0, 0, 0, 90, 91, 91, 91], [99, 99, 99, 0, 0, 90, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 90, 0, 0, 0, 90, 91, 91, 91], [99, 99, 99, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 0, 90, 90, 90, 90], [99, 99, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, 91], [99, 99, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 90, 90, 90, 90, 90, 0, 90, 90, 90, 90, 90, 0, 0, 0, 90, 90, 93, 93], [99, 0, 0, 0, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 90, 90, 90, 90, 91, 91, 91], [99, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 0, 0, 0, 90, 90, 0, 0, 90, 90, 0, 0, 90, 0, 90, 91, 91, 91, 90, 0, 90, 91, 91, 91, 90, 91, 91, 91, 90, 91, 91, 91], [99, 99, 99, 0, 0, 90, 0, 0, 0, 90, 0, 0, 0, 90, 0, 90, 91, 91, 91, 90, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90], [99, 99, 99, 0, 0, 90, 0, 0, 0, 90, 0, 0, 0, 90, 0, 90, 90, 90, 90, 90, 0, 90, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91], [99, 99, 99, 99, 0, 90, 0, 0, 0, 90, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 90, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91], [99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]]]; LevelParams = [undefined, {Chimney:10, FirePlaceDirection:1, Rooms:[{Type:1, x:5, y:5}, {Type:2, x:11, y:5}]}, {Chimney:4, FirePlaceDirection:2, Rooms:[{Type:1, x:7, y:9}, {Type:3, x:4, y:5}, {Type:4, x:1, y:9}]}, {Chimney:11, FirePlaceDirection:1, Rooms:[{Type:1, x:4, y:14}, {Type:5, x:9, y:10}, {Type:2, x:5, y:6}, {Type:8, x:9, y:6}, {Type:6, x:10, y:14}]}, {Chimney:12, FirePlaceDirection:1, Rooms:[{Type:1, x:3, y:15}, {Type:4, x:9, y:15}, {Type:6, x:10, y:9}, {Type:15, x:11, y:5}, {Type:7, x:1, y:5}, {Type:8, x:1, y:9}]}, {Chimney:3, FirePlaceDirection:2, Rooms:[{Type:1, x:1, y:17}, {Type:5, x:1, y:13}, {Type:8, x:7, y:13}, {Type:6, x:1, y:9}, {Type:9, x:6, y:9}, {Type:3, x:1, y:5}, {Type:2, x:11, y:5}]}, {Chimney:3, FirePlaceDirection:1, Rooms:[{Type:1, x:3, y:19}, {Type:4, x:9, y:19}, {Type:8, x:4, y:15}, {Type:6, x:10, y:15}, {Type:9, x:6, y:11}, {Type:5, x:9, y:11}, {Type:3, x:1, y:5}, {Type:2, x:8, y:5}]}, {Chimney:9, FirePlaceDirection:2, Rooms:[{Type:7, x:1, y:5}, {Type:6, x:1, y:9}, {Type:8, x:6, y:9}, {Type:6, x:1, y:13}, {Type:2, x:8, y:15}, {Type:9, x:12, y:15}, {Type:6, x:1, y:17}, {Type:6, x:1, y:21}, {Type:1, x:6, y:21}]}, {Chimney:3, FirePlaceDirection:2, Rooms:[{Type:14, x:1, y:5}, {Type:7, x:4, y:5}, {Type:3, x:5, y:11}, {Type:8, x:4, y:17}, {Type:9, x:1, y:21}, {Type:1, x:4, y:21}, {Type:11, x:12, y:5}, {Type:12, x:12, y:9}, {Type:12, x:12, y:13}, {Type:12, x:12, y:17}, {Type:13, x:12, y:21}]}, {Chimney:4, FirePlaceDirection:1, Rooms:[{Type:11, x:1, y:5}, {Type:12, x:1, y:9}, {Type:12, x:1, y:13}, {Type:12, x:1, y:17}, {Type:12, x:1, y:21}, {Type:13, x:1, y:24}, {Type:3, x:4, y:5}, {Type:7, x:7, y:11}, {Type:9, x:12, y:11}, {Type:8, x:4, y:17}, {Type:14, x:12, y:17}, {Type:1, x:9, y:24}]}, {Chimney:2, FirePlaceDirection:1, Rooms:[{Type:11, x:1, y:6}, {Type:12, x:1, y:10}, {Type:12, x:1, y:14}, {Type:12, x:1, y:18}, {Type:13, x:1, y:22}, {Type:11, x:12, y:22}, {Type:12, x:12, y:26}, {Type:13, x:12, y:30}, {Type:15, x:4, y:6}, {Type:2, x:4, y:10}, {Type:3, x:6, y:16}, {Type:8, x:6, y:22}, {Type:7, x:7, y:26}, {Type:1, x:6, y:30}, {Type:9, x:1, y:30}]}]; ChimneyY = [88.85, 60.65, 42.45, 24.3, 6, -12.2, -30.4, -48.55]; ChimneySquareY = [3, 3, 2, 2, 1, 1, 0]; x = 1; while (x <= 7) { ChimneyY[7 + x] = ChimneyY[7 - x]; ChimneySquareY[7 + x] = ChimneySquareY[7 - x]; x++; } DelayTimes = [null, 90, 85, 80, 75, 70, 65, 60, 55, 50, 45]; BlockExits = [null, [false, true, false, true], [true, false, true, false], [true, true, true, true], [true, true, false, false], [false, true, true, false], [false, false, true, true], [true, false, false, true], [true, true, false, true], [true, true, true, false], [false, true, true, true], [true, false, true, true], [false, false, false, false]]; Dirs = [{x:0, y:-1}, {x:1, y:0}, {x:0, y:1}, {x:-1, y:0}]; MListener = new Object(); MListener.onMouseDown = function () { if ((!Paused) and (!MoveScreen)) { if (Bulldozer) { if (((Map[CurrMouse.x][CurrMouse.y] > 0) and (Map[CurrMouse.x][CurrMouse.y] < 90)) and (!OverUnusable)) { Map[CurrMouse.x][CurrMouse.y] = 0; Visited[CurrMouse.x][CurrMouse.y] = 0; Button2.onPress(); Button2._alpha = 70; Bulldozers--; Button2.Sign.Val = "x" + Bulldozers; SymbolReference[CurrMouse.x][CurrMouse.y].removeMovieClip(); SymbolReference[CurrMouse.x][CurrMouse.y] = undefined; UpdateShadows(); if (ReceivedScore[CurrMouse.x][CurrMouse.y]) { LevelScore = LevelScore - (20 * CurrLevel); } else { LevelScore = LevelScore - (10 * CurrLevel); } UpdateScore(); if (SFXOn) { DestroyBlock.start(); } } } else if ((Map[CurrMouse.x][CurrMouse.y] == 0) and (!OverUnusable)) { if ((CurrMouse.x == NextBlockX) and (CurrMouse.y == NextBlockY)) { OppDir = SelectedDir + 2; if (OppDir > 3) { OppDir = OppDir - 4; } if (!BlockExits[CurrBlock][OppDir]) { Santa._x = (Santa.x = StartBlockX); Santa._y = (Santa.y = StartBlockY); if (Phase == 8) { AlreadyThere = true; } Phase = 5; } } if (SFXOn) { BuildBlock.start(); } AddBlock(CurrMouse.x, CurrMouse.y, CurrBlock); NextBlock(); UpdateShadows(); } } }; MListener.onMouseWheel = function (delta) { if ((!Paused) and (!MoveScreen)) { ScrollScreen(delta / Math.abs(delta)); } }; Mouse.addListener(MListener); var Saved = SharedObject.getLocal("ChristmassLevelData"); if (Saved.data.Levels == undefined) { Saved.data.Levels = new Array(); i = 1; while (i <= 10) { Saved.data.Levels[i] = {Passed:false, Score:0}; i++; } Saved.data.LastSubmitted = 0; } MusicOn = true; SFXOn = true;Frame 4BuildBlock = new Sound(this); BuildBlock.attachSound("BuildBlock.wav"); DestroyBlock = new Sound(this); DestroyBlock.attachSound("DestroyBlock.wav"); DeersBell = new Sound(this); DeersBell.attachSound("DeersBell.wav"); SantaFalls = new Sound(this); SantaFalls.attachSound("SantaFalls.wav"); BonusSND = new Sound(this); BonusSND.attachSound("Bonus.wav"); Music = new Sound(this); Music.attachSound("MUSIC"); Music.start(0, 1000000000);Frame 5Menu._visible = false; Menu.Location = 1; stop(); Button1.Txt = "PLAY"; Button1.onRelease = function () { gotoAndStop ("LevelSelect"); }; Button2.Txt = "INSTRUCTIONS"; Button2.onRelease = function () { Menu._visible = true; Menu.gotoAndStop(4); gotoAndStop ("InstructionsArea"); }; Button3.Txt = "TOP SCORE"; Button3.onRelease = function () { getURL ("http://www.sugar-free-games.com/chimneytrouble.php", "_blank"); }; Button4.Txt = "DOWNLOAD"; Button4.onRelease = function () { getURL ("http://www.sugar-free-games.com/showgame.php?game=1531", "_blank"); }; Button5.Txt = "MORE GAMES"; Button3.onRelease = function () { getURL ("http://www.sugar-free-games.com/", "_blank"); };Instance of Symbol 82 MovieClip "Menu" in Frame 5onClipEvent (load) { _visible = false; }Frame 7stop(); TotalScore = 0; l = 1; while (l <= 10) { this["SS" + l].Inside.gotoAndStop(l); this["SS" + l].LevelName = "LEVEL " + l; if (Saved.data.Levels[l - 1].Passed or (l == 1)) { this["SS" + l].gotoAndStop(1); if (Saved.data.Levels[l].Passed) { this["SS" + l].LevelStatus = "PASSED"; } else { this["SS" + l].LevelStatus = "UNLOCKED"; } this["SS" + l].LevelScore = "BEST SCORE:\r" + Saved.data.Levels[l].Score; this["SS" + l].onRollOver = function () { this.gotoAndStop(2); }; this["SS" + l].onRollOut = (this["SS" + l].onReleaseOutside = function () { this.gotoAndStop(1); }); this["SS" + l].onPress = function () { this.gotoAndStop(3); }; this["SS" + l].Ind = l; this["SS" + l].onRelease = function () { CurrLevel = this.Ind; gotoAndPlay ("Init"); }; } else { this["SS" + l].gotoAndStop(4); this["SS" + l].LevelStatus = "LOCKED"; this["SS" + l].LevelScore = ""; } TotalScore = TotalScore + Saved.data.Levels[l].Score; l++; } TotalScoreText = TotalScore; Button1.Txt = "SUBMIT SCORE"; if ((TotalScore > 0) and (TotalScore > Saved.data.LastSubmitted)) { Button1.onRelease = function () { gotoAndStop ("SubmitScore"); }; } else { Button1.enabled = false; Button1._alpha = 50; } Button2.Txt = "MAIN MENU"; Button2.onRelease = function () { gotoAndStop ("MainMenu"); };Frame 9function NextBlock() { CurrBlock = NBlock; NBlock = random(12) + 1; Block.Inside.gotoAndStop(CurrBlock); NextBlockInd.gotoAndStop(NBlock); } function ScrollScreen(Squares) { if (((TopY - Squares) > -5) and ((TopY - Squares) < (MapHeight - 5))) { GA._y = GA._y + (Squares * 40); TopY = TopY - Squares; } } function AddBlock(x, y, Type) { var _local1; _local1 = 1; while (GA.Walls["B" + _local1] instanceof MovieClip) { _local1++; } GA.Walls.BlockSample.duplicateMovieClip("B" + _local1, GA.Walls.getNextHighestDepth()); GA.Walls["B" + _local1]._x = x * 40; GA.Walls["B" + _local1]._y = y * 40; GA.Walls["B" + _local1].gotoAndStop(Type); Map[x][y] = Type; SymbolReference[x][y] = GA.Walls["B" + _local1]; } function UpdateShadows() { var _local2; var _local1; var _local4; var _local3; GA.Walls.Shadows.clear(); _local2 = 0; while (_local2 <= 14) { _local1 = 0; while (_local1 < MapHeight) { if (((Map[_local2][_local1] > 0) and (Map[_local2][_local1] < 91)) or (Map[_local2][_local1] == 93)) { _local4 = _local2 * 40; _local3 = _local1 * 40; GA.Walls.Shadows.beginFill(0); GA.Walls.Shadows.moveTo(_local4, _local3); GA.Walls.Shadows.lineTo(_local4 + 40, _local3); GA.Walls.Shadows.lineTo(_local4 + 40, _local3 + 40); GA.Walls.Shadows.lineTo(_local4, _local3 + 40); GA.Walls.Shadows.endFill(); } _local1++; } _local2++; } } function HasEntrance(SquareX, SquareY, Direction, AllowSpecial) { var _local3; var _local2; var _local1; _local3 = Number(Direction) + 2; if (_local3 > 3) { _local3 = _local3 - 4; } _local2 = SquareX + Dirs[Direction].x; _local1 = SquareY + Dirs[Direction].y; if ((Map[_local2][_local1] > 0) and (Map[_local2][_local1] < 90)) { return(BlockExits[Map[_local2][_local1]][_local3]); } if (((Map[_local2][_local1] == 0) or ((Map[_local2][_local1] == 92) and (Direction == 2))) and AllowSpecial) { return(true); } return(false); } function UpdateScore() { StatusText = "LEVEL SCORE: " + LevelScore; } function Pause(On) { Paused = On; if (On) { Block._visible = false; StartDelay = new Date(); GA.Entrance.stop(); GA.Exit.stop(); } else { Now = new Date(); Delayed = Delayed + (Now - StartDelay); GA.Entrance.play(); GA.Exit.play(); } Button2.enabled = !Paused; Button1.enabled = !Paused; ReadyButton.enabled = !Paused; Menu._visible = Paused; if (Paused) { Menu.gotoAndStop(1); } if (!Paused) { Button1.gotoAndStop(1); } } TopY = -1; Phase = 0; StartTime = new Date(); Bulldozer = false; Bulldozers = 5; LevelScore = 0; Path = new Array(); GA._y = 40; GA.SantasDeers.Sleigh.Santa.gotoAndStop(1); GA.SantasDeers.Sleigh.Santa2._visible = false; GA.SantasDeers.Sleigh.Santa2.gotoAndStop(1); Map = new Array(); SymbolReference = new Array(); GA.Walls.BlockSample._visible = false; GA.Walls.OutsideBrickSample._visible = false; GA.Walls.BrickBlockSample._visible = false; MapHeight = LevelMaps[CurrLevel][0].length; CurrReach = 10; NextCo = false; Paused = false; MoveScreen = false; Delayed = 0; NextBlockX = (NextBlockY = null); AlreadyThere = false; UnusableBlocks = new Array(); UnusableBlocks[0] = {x:LevelParams[CurrLevel].Chimney, y:ChimneySquareY[LevelParams[CurrLevel].Chimney]}; BlockCol = new Color(Block); GA.Ground._y = (MapHeight * 40) - 20; Menu._visible = false; Menu.Location = 2; ReadyButton.onRelease = function () { Counter = 1; Phase = 1; this._visible = false; LevelScore = LevelScore + ((DelayTimes[CurrLevel] - Math.round(((CurrTime - StartTime) - Delayed) / 1000)) * CurrLevel); UpdateScore(); }; while (CurrReach < MapHeight) { GA.Walls.BackWall.duplicateMovieClip("BW" + CurrReach, GA.Walls.getNextHighestDepth()); GA.Walls["BW" + CurrReach]._x = 30; GA.Walls["BW" + CurrReach]._y = CurrReach * 40; CurrReach = CurrReach + 10; } GA.Chimney._x = (LevelParams[CurrLevel].Chimney * 40) - 15; GA.Chimney._y = ChimneyY[LevelParams[CurrLevel].Chimney]; for (r in LevelParams[CurrLevel].Rooms) { GA.Walls.RoomSample.duplicateMovieClip("R" + r, GA.Walls.getNextHighestDepth()); GA.Walls["R" + r].gotoAndStop(LevelParams[CurrLevel].Rooms[r].Type); GA.Walls["R" + r]._x = (LevelParams[CurrLevel].Rooms[r].x * 40) - 20; GA.Walls["R" + r]._y = (LevelParams[CurrLevel].Rooms[r].y * 40) - 20; } GA.Entrance._x = LevelParams[CurrLevel].Chimney * 40; GA.Entrance._y = (ChimneySquareY[LevelParams[CurrLevel].Chimney] * 40) + 40; GA.Walls.BShadow._height = (MapHeight - 4) * 40; GA.Walls.BShadow.swapDepths(GA.Walls.getNextHighestDepth()); GA.Walls.Shadows.swapDepths(GA.Walls.getNextHighestDepth()); Visited = new Array(); CurrVisit = 0; ReceivedScore = new Array(); x = 0; while (x <= 14) { Map[x] = new Array(); Visited[x] = new Array(); ReceivedScore[x] = new Array(); SymbolReference[x] = new Array(); y = 0; while (y < MapHeight) { Map[x][y] = LevelMaps[CurrLevel][x][y]; if (Map[x][y] == 92) { ExitPoint = {x:x, y:y}; } Visited[x][y] = 0; ReceivedScore[x][y] = false; y++; } x++; } GA.Exit._x = ExitPoint.x * 40; GA.Exit._y = (ExitPoint.y * 40) - 40; GA.Walls.FirePlace._x = ExitPoint.x * 40; GA.Walls.FirePlace._y = ExitPoint.y * 40; GA.Walls.FirePlace.swapDepths(GA.Walls.getNextHighestDepth()); GA.Walls.FirePlace.gotoAndStop(LevelParams[CurrLevel].FirePlaceDirection); x = 0; while (x <= 14) { y = 0; while (y < MapHeight) { if (Map[x][y] == 90) { GA.Walls.BrickBlockSample.duplicateMovieClip((("BB" + x) + "x") + y, GA.Walls.getNextHighestDepth()); GA.Walls[(("BB" + x) + "x") + y]._x = x * 40; GA.Walls[(("BB" + x) + "x") + y]._y = y * 40; } y++; } x++; } y = 3; while (y < MapHeight) { GA.Walls.OutsideBrickSample.duplicateMovieClip("OBL" + y, GA.Walls.getNextHighestDepth()); GA.Walls["OBL" + y]._x = 20; GA.Walls["OBL" + y]._y = y * 40; GA.Walls.OutsideBrickSample.duplicateMovieClip("OBR" + y, GA.Walls.getNextHighestDepth()); GA.Walls["OBR" + y]._x = 560; GA.Walls["OBR" + y]._y = y * 40; y++; } GA.createEmptyMovieClip("WallMask", GA.getNextHighestDepth); GA.WallMask.beginFill(16711680); GA.WallMask.moveTo(0, 153); GA.WallMask.lineTo(300, 13); GA.WallMask.lineTo(600, 153); GA.WallMask.lineTo(600, MapHeight * 40); GA.WallMask.lineTo(0, MapHeight * 40); GA.WallMask.endFill(); GA.Walls.setMask(GA.WallMask); NBlock = random(12) + 1; NextBlock(); AddBlock(LevelParams[CurrLevel].Chimney, ChimneySquareY[LevelParams[CurrLevel].Chimney], 2); UpdateShadows(); Button1.Sign.gotoAndStop(2); Button1.onPress = function () { Pause(!Paused); if (Paused) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } }; Button2.Sign.gotoAndStop(1); Button2.onPress = function () { Bulldozer = !Bulldozer; if (Bulldozer) { if (Bulldozers > 0) { this.gotoAndStop(2); this.Active = false; Block.gotoAndStop(2); BlockCol.setTransform({ra:100, rb:0, ba:100, bb:0, ga:100, gb:0}); } else { Bulldozer = false; } } else { this.gotoAndStop(1); this.Active = true; Block.gotoAndStop(1); } }; Button2.Sign.Val = "x" + Bulldozers;Instance of Symbol 79 MovieClip "Button2" in Frame 9onClipEvent (load) { _alpha = 70; gotoAndStop (1); Active = true; } on (rollOver) { _alpha = 100; } on (releaseOutside, rollOut) { if (Active) { _alpha = 70; } }Instance of Symbol 79 MovieClip "Button1" in Frame 9onClipEvent (load) { _alpha = 70; gotoAndStop (1); Active = true; } on (rollOver) { _alpha = 100; } on (releaseOutside, rollOut) { if (Active) { _alpha = 70; } }Frame 10if (!Paused) { if (!MoveScreen) { if (Key.isDown(40)) { ScrollScreen(-1); } if (Key.isDown(38)) { ScrollScreen(1); } } if (Phase > 4) { UnusableBlocks[1] = {x:Santa.SquareX, y:Santa.SquareY}; } CurrMouse = {x:Math.floor(_xmouse / 40), y:Math.floor(_ymouse / 40) + TopY}; OverUnusable = false; for (ub in UnusableBlocks) { if ((UnusableBlocks[ub].x == CurrMouse.x) and (UnusableBlocks[ub].y == CurrMouse.y)) { OverUnusable = true; break; } } if (NextCo) { Santa.SquareX = Santa.SquareX + Dirs[Santa.Direction].x; Santa.SquareY = Santa.SquareY + Dirs[Santa.Direction].y; NextCo = false; } if (!MoveScreen) { if (Bulldozer) { Block._visible = ((Map[CurrMouse.x][CurrMouse.y] > 0) and (Map[CurrMouse.x][CurrMouse.y] < 90)) and (!OverUnusable); if (Block._visible) { Block._x = CurrMouse.x * 40; Block._y = (CurrMouse.y - TopY) * 40; } } else if (Map[CurrMouse.x][CurrMouse.y] < 99) { Block._visible = true; Block._x = CurrMouse.x * 40; Block._y = (CurrMouse.y - TopY) * 40; if ((Map[CurrMouse.x][CurrMouse.y] == 0) and (!OverUnusable)) { BlockCol.setTransform({ra:100, rb:0, ba:100, bb:0, ga:100, gb:0}); } else { BlockCol.setTransform({ra:100, rb:0, ba:0, bb:0, ga:0, gb:0}); } } else { Block._visible = false; } } switch (Phase) { case 0 : CurrTime = new Date(); StatusText = "SANTA ARRIVES IN: " + TimeFormat(DelayTimes[CurrLevel] - Math.round(((CurrTime - StartTime) - Delayed) / 1000)); if ((((CurrTime - StartTime) - Delayed) / 1000) >= DelayTimes[CurrLevel]) { UpdateScore(); Counter = 1; Phase = 1; ReadyButton._visible = false; } break; case 1 : Counter++; if (((Counter % 15) == 0) and SFXOn) { DeersBell.start(); } GA.SantasDeers.gotoAndStop(Counter); GA.SantasDeers.Deer1.gotoAndStop(1 + (Counter % 8)); GA.SantasDeers.Deer2.gotoAndStop(1 + (Counter % 8)); if (Counter >= ((LevelParams[CurrLevel].Chimney * 10) + 50)) { Phase = 2; Counter = 0; RotStep = -(GA.SantasDeers.Sleigh._rotation / 8); GA.SantasDeers.Deer1.gotoAndStop(9); GA.SantasDeers.Deer2.gotoAndStop(9); } break; case 2 : Counter++; GA.SantasDeers.Sleigh.Santa._rotation = RotStep * Counter; GA.SantasDeers.Sleigh.Santa.gotoAndStop(Counter + 1); if (Counter >= 8) { Phase = 3; GA.SantasDeers.Sleigh.Santa._visible = false; GA.SantasDeers.Sleigh.Santa2._visible = true; GA.SantasDeers.Sleigh.Santa2._rotation = GA.SantasDeers.Sleigh.Santa._rotation; } break; case 3 : Counter++; GA.SantasDeers.Sleigh.Santa2.gotoAndStop(Counter); if (Counter == 26) { GA.SantasDeers.Sleigh.Santa2._visible = false; Phase = 4; Counter = 8; Santa = {Symbol:GA.Santa}; Santa.Symbol._x = (Santa.x = (LevelParams[CurrLevel].Chimney * 40) + 20); Santa.Symbol._y = (Santa.y = (ChimneySquareY[LevelParams[CurrLevel].Chimney] * 40) - 10); Santa.Symbol.gotoAndStop(1); Santa.Direction = 2; } break; case 4 : Counter++; Santa.y = Santa.y + 1.25; Santa.Symbol._y = Santa.y; SFrame = (Counter % 16) + 17; Santa.Symbol.gotoAndStop(SFrame); if (Counter >= 16) { Phase = 5; Santa.SquareX = LevelParams[CurrLevel].Chimney; Santa.SquareY = ChimneySquareY[LevelParams[CurrLevel].Chimney]; } break; case 5 : Counter = 0; Special = false; if (((Santa.SquareX == LevelParams[CurrLevel].Chimney) and (Santa.SquareY == ChimneySquareY[LevelParams[CurrLevel].Chimney])) and (Santa.Direction == 0)) { Special = true; Phase = 17; } if (Map[Santa.SquareX][Santa.SquareY] == 0) { Special = true; MustFall = Map[Santa.SquareX][Santa.SquareY + 1] == 0; if (MustFall) { CurrY = Santa.SquareY + 2; while (Map[Santa.SquareX][CurrY] == 0) { CurrY++; } FallPoint = CurrY * 40; } if (Santa.Direction == 0) { Phase = 9; } if (Santa.Direction == 2) { if (MustFall) { Speed = 10; Phase = 13; } else { Phase = 11; } } if ((Santa.Direction == 1) or (Santa.Direction == 3)) { if (MustFall) { Phase = 15; } else { Phase = 12; } } } if (Map[Santa.SquareX][Santa.SquareY] == 92) { Special = true; Phase = 16; } if (Special) { MoveScreen = true; Block._visible = false; MoveTo = Santa.SquareY; Button2.enabled = false; } if (Special) { break; } if (!ReceivedScore[Santa.SquareX][Santa.SquareY]) { LevelScore = LevelScore + (CurrLevel * 4); UpdateScore(); ReceivedScore[Santa.SquareX][Santa.SquareY] = true; } CurrVisit++; Visited[Santa.SquareX][Santa.SquareY] = CurrVisit; FreeDirs = new Array(); d = 0; while (d <= 3) { if (BlockExits[Map[Santa.SquareX][Santa.SquareY]][d] and HasEntrance(Santa.SquareX, Santa.SquareY, d, true)) { if (d == 2) { AddScore = -0.03; } if (d == 3) { AddScore = -0.02; } if (d == 1) { AddScore = -0.01; } if (d == 0) { AddScore = 0; } FreeDirs.push({Dir:d, Score:AddScore}); } d++; } if (FreeDirs.length > 0) { for (fd in FreeDirs) { FreeDirs[fd].Score = FreeDirs[fd].Score + Visited[Santa.SquareX + Dirs[FreeDirs[fd].Dir].x][Santa.SquareY + Dirs[FreeDirs[fd].Dir].y]; if (FreeDirs[fd].Dir == Santa.Direction) { FreeDirs[fd].Score = FreeDirs[fd].Score - 0.5; } } FreeDirs.sortOn("Score", 16); LastPath = Path[Path.length - 1]; BackDir = LastPath.Dir + 2; if (BackDir > 3) { BackDir = BackDir - 4; } if (!isNaN(BackDir)) { if ((!HasEntrance(Santa.SquareX, Santa.SquareY, BackDir, true)) or (!BlockExits[Map[Santa.SquareX][Santa.SquareY]][BackDir])) { Path = new Array(); } } if (Path.length == 0) { if ((Santa.SquareX != LevelParams[CurrLevel].Chimney) or (Santa.SquareY != ChimneySquareY[LevelParams[CurrLevel].Chimney])) { LevelScore = LevelScore - (20 * CurrLevel); UpdateScore(); } for (x in Visited) { for (y in Visited[x]) { Visited[x][y] = 0; } } CurrVisit = 1; Visited[Santa.SquareX][Santa.SquareY] = CurrVisit; for (fd in FreeDirs) { FreeDirs[fd].Score = Visited[Santa.SquareX + Dirs[FreeDirs[fd].Dir].x][Santa.SquareY + Dirs[FreeDirs[fd].Dir].y]; if (FreeDirs[fd].Dir == Santa.Direction) { FreeDirs[fd].Score = FreeDirs[fd].Score - 0.5; } } } if ((FreeDirs[0].Score > 0) and (Path.length > 0)) { Path.pop(); SelectedDir = BackDir; } else { SelectedDir = FreeDirs[0].Dir; Path.push({x:Santa.SquareX, y:Santa.SquareY, Dir:SelectedDir}); } } else { SelectedDir = null; } NextBlockX = Santa.SquareX + Dirs[SelectedDir].x; NextBlockY = Santa.SquareY + Dirs[SelectedDir].y; StartBlockX = Santa.x; StartBlockY = Santa.y; if (AlreadyThere) { Santa.Direction = SelectedDir; Phase = 8; if (Santa.Direction == 1) { Santa.Symbol._xscale = -100; } else { Santa.Symbol._xscale = 100; } AlreadyThere = false; } else if (SelectedDir == Santa.Direction) { Phase = 6; } else if (!isNaN(SelectedDir)) { Phase = 7; } else { if (!((Santa.SquareX == LevelParams[CurrLevel].Chimney) and (Santa.SquareY == ChimneySquareY[LevelParams[CurrLevel].Chimney]))) { break; } Santa.Direction = 0; } } switch (Phase) { case 6 : Santa.x = Santa.x + (Dirs[Santa.Direction].x * 1.25); Santa.y = Santa.y + (Dirs[Santa.Direction].y * 1.25); Santa.Symbol._x = Santa.x; Santa.Symbol._y = Santa.y; Counter++; FrameCounter = Counter % 16; switch (Santa.Direction) { case 0 : Santa.Symbol.gotoAndStop(FrameCounter + 1); break; case 1 : case 3 : Santa.Symbol.gotoAndStop(FrameCounter + 33); break; case 2 : Santa.Symbol.gotoAndStop(FrameCounter + 17); } if (Counter == 32) { Phase = 5; NextCo = true; } break; case 7 : Santa.x = Santa.x + (Dirs[Santa.Direction].x * 1.25); Santa.y = Santa.y + (Dirs[Santa.Direction].y * 1.25); Santa.Symbol._x = Santa.x; Santa.Symbol._y = Santa.y; if ((Santa.Direction == 0) or (Santa.Direction == 2)) { Santa.Symbol.gotoAndStop(49 + Counter); } if ((Santa.Direction == 1) or (Santa.Direction == 3)) { Santa.Symbol.gotoAndStop(65 + Counter); } Counter++; if (Counter == 16) { Counter = 0; StartBlockX = Santa.x; StartBlockY = Santa.y; Santa.Direction = SelectedDir; if (Santa.Direction == 1) { Santa.Symbol._xscale = -100; } else { Santa.Symbol._xscale = 100; } Phase = 8; } break; case 8 : Santa.x = Santa.x + (Dirs[Santa.Direction].x * 1.25); Santa.y = Santa.y + (Dirs[Santa.Direction].y * 1.25); Santa.Symbol._x = Santa.x; Santa.Symbol._y = Santa.y; if ((Santa.Direction == 0) or (Santa.Direction == 2)) { Santa.Symbol.gotoAndStop(64 - Counter); } if ((Santa.Direction == 1) or (Santa.Direction == 3)) { Santa.Symbol.gotoAndStop(80 - Counter); } Counter++; if (Counter == 16) { Phase = 5; NextCo = true; } break; case 9 : Santa.Symbol.gotoAndStop(81 + Counter); Counter++; if (Counter > 12) { Counter = 0; Phase = 10; } break; case 10 : Santa.Symbol.gotoAndStop(93 + Counter); Counter++; if (Counter > 12) { Message.Inside.MessageText = "SANTA'S LOST"; EndMode = 1; Phase = 18; Message.play(); Counter = 0; } break; case 11 : Santa.Symbol.gotoAndStop(106 + Counter); Counter++; if (Counter > 8) { Counter = 0; Santa.Symbol.gotoAndStop(92); Santa.Symbol._y = Santa.Symbol._y + 40; Phase = 10; } break; case 12 : Santa.Symbol.gotoAndStop(114 + Counter); Counter++; if (Counter > 16) { Counter = 0; Santa.Symbol.gotoAndStop(92); Santa.Symbol._x = Santa.Symbol._x + (20 * Dirs[Santa.Direction].x); Santa.Symbol._y = Santa.Symbol._y + 20; Phase = 10; } break; case 13 : Santa.Symbol.gotoAndStop(130 + (Counter % 4)); Counter++; Santa.y = Santa.y + Speed; MoveTo = Math.floor(Santa.y / 40); Speed = Speed * 1.2; if (Santa.y >= FallPoint) { Santa.y = FallPoint; Santa.Symbol.gotoAndStop(134); Phase = 14; Counter = 0; if (SFXOn) { SantaFalls.start(); } } Santa.Symbol._y = Santa.y; break; case 14 : Santa.Symbol.gotoAndStop(135 + Counter); Counter++; if (Counter > 1) { Message.Inside.MessageText = "SANTA HAS CRASHED"; EndMode = 2; Phase = 18; Message.play(); Counter = 0; } break; case 15 : Santa.Symbol.gotoAndStop(33 + Counter); Santa.x = Santa.x + (1.25 * Dirs[Santa.Direction].x); Santa.Symbol._x = Santa.x; Counter++; if (Counter > 16) { Speed = 10; Phase = 13; } break; case 16 : Santa.Symbol.gotoAndStop(137 + Counter); if ((Counter == 15) and (LevelParams[CurrLevel].FirePlaceDirection == 2)) { Santa.Symbol._xscale = -100; } Counter++; if (Counter > 59) { Message.Inside.MessageText = "LEVEL PASSED"; EndMode = 3; Phase = 18; Message.play(); Counter = 0; MoveTo = ChimneySquareY[LevelParams[CurrLevel].Chimney]; } break; case 17 : Santa.Symbol.gotoAndStop(1 + (Counter % 16)); Counter++; Santa.y = Santa.y - 1.25; Santa.Symbol._y = Santa.y; if (Santa.y <= (ChimneyY[LevelParams[CurrLevel].Chimney] + 10)) { Counter = 0; Phase = 9; } break; case 18 : Counter++; if (Counter > 90) { if (EndMode == 3) { Phase = 19; LastBonus = 0; GotBonus = new Array(); for (x in Map) { GotBonus[x] = new Array(); } BonusSquares = new Array(); BonusSquares.push({x:LevelParams[CurrLevel].Chimney, y:ChimneySquareY[LevelParams[CurrLevel].Chimney]}); } else { gotoAndStop ("StatusScreen"); } } break; case 19 : if (BonusSquares.length == 0) { gotoAndStop ("StatusScreen"); Phase = null; } else { if (SFXOn) { BonusSND.start(); } CurrBonus = BonusSquares.pop(); GotBonus[CurrBonus.x][CurrBonus.y] = true; MoveTo = CurrBonus.y; TotalExits = 0; ConnectedExits = 0; for (d in Dirs) { NextX = CurrBonus.x + Dirs[d].x; NextY = CurrBonus.y + Dirs[d].y; if (BlockExits[Map[CurrBonus.x][CurrBonus.y]][d]) { TotalExits++; if (HasEntrance(CurrBonus.x, CurrBonus.y, d, true)) { ConnectedExits++; if ((GotBonus[NextX][NextY] == undefined) and HasEntrance(CurrBonus.x, CurrBonus.y, d, false)) { BonusSquares.push({x:NextX, y:NextY}); } } } } if (!((CurrBonus.x != LevelParams[CurrLevel].Chimney) or (CurrBonus.y != ChimneySquareY[LevelParams[CurrLevel].Chimney]))) { break; } BonusValue = Math.round(((4 * ConnectedExits) / TotalExits) * CurrLevel); LastBonus++; GA.BonusSample.duplicateMovieClip("B" + LastBonus, GA.getNextHighestDepth()); GA["B" + LastBonus].gotoAndPlay(1); GA["B" + LastBonus].Inside.Txt = BonusValue; GA["B" + LastBonus]._x = (CurrBonus.x * 40) + 20; GA["B" + LastBonus]._y = (CurrBonus.y * 40) + 20; LevelScore = LevelScore + BonusValue; UpdateScore(); } } if (MoveScreen) { CurrCenter = (((-GA._y) / 40) + 5) * 40; RequiredCenter = MoveTo * 40; if (CurrCenter < (RequiredCenter - 5)) { GA._y = GA._y - 20; } if (CurrCenter > (RequiredCenter + 5)) { GA._y = GA._y + 20; } } }Frame 11gotoAndPlay ("GameCycle");Frame 12if (EndMode == 3) { if (LevelScore >= 0) { PageTitle = "LEVEL PASSED!"; PageText = "Congratulations!\rYou have passed level " + CurrLevel; if (CurrLevel == 10) { PageText = PageText + " and finished the game!"; PageTitle = "GAME FINISHED!!!"; } else if (Saved.data.Levels[CurrLevel].Passed) { PageText = PageText + "."; } else { PageText = PageText + ((" and unlocked level " + (CurrLevel + 1)) + "."); } Saved.data.Levels[CurrLevel].Passed = true; } else { PageTitle = "NOT GOOD ENOUGH"; PageText = "Even though Santa has reached the fireplace, your have negative score and can't pass this level.\rTry again."; } } else { PageTitle = "FAILED"; PageText = "You couldn't pass this level.\rTry again."; } ScoreText = LevelScore; if (LevelScore > Saved.data.Levels[CurrLevel].Score) { Saved.data.Levels[CurrLevel].Score = LevelScore; RecordText = "IT'S A NEW RECORD!!!"; } else { RecordText = ""; } Saved.flush(); Button1.Txt = "LEVEL SELECT"; Button1.onRelease = function () { gotoAndStop ("LevelSelect"); }; if ((EndMode == 3) and (LevelScore >= 0)) { if (CurrLevel < 10) { Button2.Txt = "NEXT LEVEL"; Button2.onRelease = function () { CurrLevel++; gotoAndPlay ("Init"); }; } else { Button2.Txt = "SUBMIT SCORE"; Button2.onRelease = function () { gotoAndStop ("SubmitScore"); }; } } else { Button2.Txt = "TRY AGAIN"; Button2.onRelease = function () { gotoAndPlay ("Init"); }; } TotalScore = 0; l = 1; while (l <= 10) { TotalScore = TotalScore + Saved.data.Levels[l].Score; l++; } trace(TotalScore); _root.kongregateStats.submit("Score", TotalScore);Frame 13if ((!TotalScore) > Saved.data.LastSubmitted) { gotoAndStop ("MainMenu"); }Symbol 12 Buttonon (press) { getURL ("http://www.sugar-free-games.com", "_SELF"); }Symbol 20 MovieClip Frame 100_parent.gotoAndPlay("Intermediate");Symbol 35 MovieClip Frame 1stop(); this.onRollOver = function () { gotoAndStop (2); }; this.onRollOut = (this.onReleaseOutside = function () { gotoAndStop (1); }); this.onPress = function () { gotoAndStop (3); };Symbol 82 MovieClip Frame 1stop(); Button1.Txt = "RESUME"; Button1.onRelease = function () { _parent.Pause(false); }; Button2.Txt = "RESET LEVEL"; Button2.onRelease = function () { gotoAndStop (2); }; Button3.Txt = "END GAME"; Button3.onRelease = function () { gotoAndStop (3); }; Button4.Txt = "INSTRUCTIONS"; Button4.onRelease = function () { gotoAndStop (4); }; Button5.Txt = "TOP SCORE"; Button5.onRelease = function () { this.gotoAndStop(1); getURL ("http://www.sugar-free-games.com/chimneytrouble.php"); }; if (_parent.MusicOn) { CB1.gotoAndStop(1); } else { CB1.gotoAndStop(2); } if (_parent.SFXOn) { CB2.gotoAndStop(1); } else { CB2.gotoAndStop(2); } CB1.onPress = function () { _parent.MusicOn = !_parent.MusicOn; if (_parent.MusicOn) { this.gotoAndStop(1); _parent.Music.start(0, 10000000000); } else { this.gotoAndStop(2); _parent.Music.stop(); } }; CB2.onPress = function () { _parent.SFXOn = !_parent.SFXOn; if (_parent.SFXOn) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } };Symbol 82 MovieClip Frame 2Button1.Txt = "YES"; Button1.onRelease = function () { _parent.gotoAndPlay("Init"); }; Button2.Txt = "NO"; Button2.onRelease = function () { gotoAndStop (1); };Symbol 82 MovieClip Frame 3Button1.Txt = "YES"; Button1.onRelease = function () { _parent.gotoAndStop("MainMenu"); }; Button2.Txt = "NO"; Button2.onRelease = function () { gotoAndStop (1); };Symbol 82 MovieClip Frame 4BullButt.gotoAndStop(1); BullButt.Sign.gotoAndStop(1); BullButt.Sign.Val = "x5"; Button1.Txt = "CLOSE"; Button1.onRelease = function () { if (Location == 2) { gotoAndStop (1); } if (Location == 1) { _visible = false; _parent.gotoAndStop("MainMenu"); } }; Button2.Txt = "ADVANCED"; Button2.onRelease = function () { gotoAndStop (5); };Symbol 82 MovieClip Frame 5Button1.Txt = "CLOSE"; Button1.onRelease = function () { if (Location == 2) { gotoAndStop (1); } if (Location == 1) { _visible = false; _parent.gotoAndStop("MainMenu"); } }; Button2.Txt = "BASIC"; Button2.onRelease = function () { gotoAndStop (4); };Symbol 189 MovieClip Frame 8stop();Symbol 451 MovieClip Frame 1stop();Symbol 460 MovieClip Frame 1stop(); Inside.gotoAndStop(_parent.CurrBlock);Symbol 467 MovieClip Frame 1stop();Symbol 479 Buttonon (press) { if (UserName.length > 0) { _parent.Saved.data.LastSubmitted = UserScore; _parent.Saved.flush(); Masks = new Array("sjdkfhguu456087hdfh84598", "8eruhvfh8945uoihtgvb\u00F1a<sdiugfFuryg98", "Duhf84987UUEgrfuyc3984IGbcu", "YfryegoYGF7GFyrf94UIYGm-ufroIueyr", "DE7y4857ytOIGFgvbvcryucgO(/&bcyrfb", "CEuy94y/hgyfgruogcvUYGCgvecvuev7YCGvcouvce4", "CDuhrfh877545t67U*IGycbocyrbcsurcygvyuvt477653"); Data = new Array(); Data[0] = random(Masks.length); Data[1] = random(Masks[Data[0]].length); Data[2] = UserName.length; ScoreSt = UserScore.toString(); Data[3] = ScoreSt.length; i = 0; while (i < Data[2]) { Data[5 + i] = ord(UserName.charAt(i)); i++; } i = 0; while (i < Data[3]) { Data[(5 + Data[2]) + i] = ord(ScoreSt.charAt(i)); i++; } CheckSum = 0; i = 5; while (i < Data.length) { CheckSum = CheckSum + Data[i]; i++; } Data[4] = CheckSum % 100; COS = Data[1]; i = 2; while (i < Data.length) { MaskCo = ord(Masks[Data[0]].charAt(COS)) % 40; if (MaskCo == 0) { MaskCo = 40; } Data[i] = Data[i] + ord(Masks[Data[0]].charAt(COS)); Data[i] = Data[i] * MaskCo; COS++; if (COS >= Masks[Data[0]].length) { COS = 0; } i++; } Output = Data.join("x"); Dt.res = Output; SendData = true; RName = UserName; RScore = UserScore; gotoAndStop (4); } else { Nm.gotoAndPlay(2); } }Symbol 482 MovieClip Frame 1stop();Symbol 483 Buttonon (press) { _parent.gotoAndStop("MainMenu"); }Symbol 492 Buttonon (press) { getURL ("http://www.sugar-free-games.com", "_blank"); }Symbol 501 Buttonon (press) { SendData = true; }Symbol 502 MovieClip Frame 1if ((!_parent.TotalScore) > _parent.data.Saved.LastSubmitted) { _parent.gotoAndStop("MainMenu"); } Ind = ScoreInd; Par = _parent.TotalScore; ScoreText = _parent.TotalScore; UserScore = _parent.TotalScore; Selection.setFocus("UserName"); _parent.TotalScore = 0; stop();Instance of Symbol 493 MovieClip "Dt" in Symbol 502 MovieClip Frame 1onClipEvent (enterFrame) { if (_parent.SendData) { getURL ("http://www.sugar-free-games.com/chimneytrouble.php", "_blank", "POST"); _parent.SendData = false; } }Symbol 502 MovieClip Frame 2gotoAndStop (1);Symbol 502 MovieClip Frame 3gotoAndStop (4);Symbol 502 MovieClip Frame 4RName = "Name: " + RName; RScore = "Score: " + RScore; stop();Symbol 502 MovieClip Frame 5gotoAndStop (4);
Library Items
Symbol 1 Graphic | Used by:19 Timeline | |
Symbol 2 Bitmap | Used by:3 | |
Symbol 3 Graphic | Uses:2 | Used by:4 |
Symbol 4 MovieClip | Uses:3 | Used by:20 |
Symbol 5 Bitmap | Used by:6 | |
Symbol 6 Graphic | Uses:5 | Used by:7 |
Symbol 7 MovieClip | Uses:6 | Used by:20 |
Symbol 8 Font | Used by:9 | |
Symbol 9 Text | Uses:8 | Used by:10 |
Symbol 10 MovieClip | Uses:9 | Used by:20 |
Symbol 11 Graphic | Used by:12 492 Timeline | |
Symbol 12 Button | Uses:11 | Used by:20 |
Symbol 13 Bitmap | Used by:14 | |
Symbol 14 Graphic | Uses:13 | Used by:15 |
Symbol 15 MovieClip | Uses:14 | Used by:20 |
Symbol 16 Bitmap | Used by:17 | |
Symbol 17 Graphic | Uses:16 | Used by:18 |
Symbol 18 MovieClip | Uses:17 | Used by:20 |
Symbol 19 MovieClip | Uses:1 | Used by:20 |
Symbol 20 MovieClip | Uses:4 7 10 12 15 18 19 | Used by:Timeline |
Symbol 21 Sound [Bonus.wav] | Used by:Timeline | |
Symbol 22 Sound [MUSIC] | Used by:Timeline | |
Symbol 23 Sound [SantaFalls.wav] | Used by:Timeline | |
Symbol 24 Sound [DestroyBlock.wav] | Used by:Timeline | |
Symbol 25 Sound [DeersBell.wav] | Used by:Timeline | |
Symbol 26 Sound [BuildBlock.wav] | Used by:Timeline | |
Symbol 27 Bitmap | Used by:28 | |
Symbol 28 Graphic | Uses:27 | Used by:Timeline |
Symbol 29 Bitmap | Used by:30 | |
Symbol 30 Graphic | Uses:29 | Used by:35 |
Symbol 31 Font | Used by:32 38 40 49 50 53 54 57 60 67 75 77 80 81 83 112 113 114 187 465 468 469 470 471 472 480 487 488 489 497 498 499 500 | |
Symbol 32 EditableText | Uses:31 | Used by:35 |
Symbol 33 Graphic | Used by:35 | |
Symbol 34 Graphic | Used by:35 | |
Symbol 35 MovieClip | Uses:30 32 33 34 | Used by:82 Timeline |
Symbol 36 Font | Used by:37 47 48 84 85 113 461 462 468 469 470 472 484 | |
Symbol 37 Text | Uses:36 | Used by:Timeline |
Symbol 38 Text | Uses:31 | Used by:Timeline |
Symbol 39 Graphic | Used by:82 | |
Symbol 40 Text | Uses:31 | Used by:82 |
Symbol 41 Bitmap | Used by:42 | |
Symbol 42 Graphic | Uses:41 | Used by:82 |
Symbol 43 Graphic | Used by:44 | |
Symbol 44 MovieClip | Uses:43 | Used by:46 |
Symbol 45 Graphic | Used by:46 | |
Symbol 46 MovieClip | Uses:44 45 | Used by:82 |
Symbol 47 Text | Uses:36 | Used by:82 |
Symbol 48 Text | Uses:36 | Used by:82 |
Symbol 49 Text | Uses:31 | Used by:82 |
Symbol 50 Text | Uses:31 | Used by:82 |
Symbol 51 Bitmap | Used by:52 | |
Symbol 52 Graphic | Uses:51 | Used by:82 Timeline |
Symbol 53 Text | Uses:31 | Used by:82 |
Symbol 54 Text | Uses:31 | Used by:82 |
Symbol 55 Bitmap | Used by:56 452 | |
Symbol 56 Graphic | Uses:55 | Used by:82 |
Symbol 57 Text | Uses:31 | Used by:82 |
Symbol 58 Bitmap | Used by:59 132 | |
Symbol 59 Graphic | Uses:58 | Used by:82 |
Symbol 60 Text | Uses:31 | Used by:82 |
Symbol 61 Bitmap | Used by:66 135 | |
Symbol 62 Bitmap | Used by:66 141 | |
Symbol 63 Bitmap | Used by:66 138 | |
Symbol 64 Bitmap | Used by:66 131 | |
Symbol 65 Bitmap | Used by:66 69 128 | |
Symbol 66 Graphic | Uses:61 62 63 64 65 | Used by:82 |
Symbol 67 Text | Uses:31 | Used by:82 |
Symbol 68 Bitmap | Used by:69 155 | |
Symbol 69 Graphic | Uses:65 68 | Used by:82 |
Symbol 70 Bitmap | Used by:71 | |
Symbol 71 Graphic | Uses:70 | Used by:72 |
Symbol 72 MovieClip | Uses:71 | Used by:79 |
Symbol 73 Bitmap | Used by:74 | |
Symbol 74 Graphic | Uses:73 | Used by:78 458 |
Symbol 75 EditableText | Uses:31 | Used by:78 |
Symbol 76 Graphic | Used by:78 | |
Symbol 77 Text | Uses:31 | Used by:78 |
Symbol 78 MovieClip | Uses:74 75 76 77 | Used by:79 |
Symbol 79 MovieClip | Uses:72 78 | Used by:82 Timeline |
Symbol 80 Text | Uses:31 | Used by:82 |
Symbol 81 Text | Uses:31 | Used by:82 |
Symbol 82 MovieClip | Uses:39 40 42 35 46 47 48 49 50 52 53 54 56 57 59 60 66 67 69 79 80 81 | Used by:Timeline |
Symbol 83 EditableText | Uses:31 | Used by:111 |
Symbol 84 EditableText | Uses:36 | Used by:111 |
Symbol 85 EditableText | Uses:36 | Used by:111 |
Symbol 86 Bitmap | Used by:87 | |
Symbol 87 Graphic | Uses:86 | Used by:111 |
Symbol 88 Bitmap | Used by:89 | |
Symbol 89 Graphic | Uses:88 | Used by:108 |
Symbol 90 Bitmap | Used by:91 | |
Symbol 91 Graphic | Uses:90 | Used by:108 |
Symbol 92 Bitmap | Used by:93 | |
Symbol 93 Graphic | Uses:92 | Used by:108 |
Symbol 94 Bitmap | Used by:95 | |
Symbol 95 Graphic | Uses:94 | Used by:108 |
Symbol 96 Bitmap | Used by:97 | |
Symbol 97 Graphic | Uses:96 | Used by:108 |
Symbol 98 Bitmap | Used by:99 | |
Symbol 99 Graphic | Uses:98 | Used by:108 |
Symbol 100 Bitmap | Used by:101 | |
Symbol 101 Graphic | Uses:100 | Used by:108 |
Symbol 102 Bitmap | Used by:103 | |
Symbol 103 Graphic | Uses:102 | Used by:108 |
Symbol 104 Bitmap | Used by:105 | |
Symbol 105 Graphic | Uses:104 | Used by:108 |
Symbol 106 Bitmap | Used by:107 | |
Symbol 107 Graphic | Uses:106 | Used by:108 |
Symbol 108 MovieClip | Uses:89 91 93 95 97 99 101 103 105 107 | Used by:111 |
Symbol 109 Bitmap | Used by:110 | |
Symbol 110 Graphic | Uses:109 | Used by:111 |
Symbol 111 MovieClip | Uses:83 84 85 87 108 110 | Used by:Timeline |
Symbol 112 Text | Uses:31 | Used by:Timeline |
Symbol 113 EditableText | Uses:31 36 | Used by:Timeline |
Symbol 114 Text | Uses:31 | Used by:Timeline |
Symbol 115 Graphic | Used by:Timeline | |
Symbol 116 Bitmap | Used by:117 | |
Symbol 117 Graphic | Uses:116 | Used by:118 |
Symbol 118 MovieClip | Uses:117 | Used by:456 |
Symbol 119 Bitmap | Used by:120 | |
Symbol 120 Graphic | Uses:119 | Used by:121 |
Symbol 121 MovieClip | Uses:120 | Used by:186 |
Symbol 122 MovieClip | Used by:186 | |
Symbol 123 Bitmap | Used by:124 | |
Symbol 124 Graphic | Uses:123 | Used by:186 |
Symbol 125 Bitmap | Used by:126 | |
Symbol 126 Graphic | Uses:125 | Used by:127 |
Symbol 127 MovieClip | Uses:126 | Used by:186 |
Symbol 128 Graphic | Uses:65 | Used by:146 |
Symbol 129 Bitmap | Used by:130 | |
Symbol 130 Graphic | Uses:129 | Used by:146 |
Symbol 131 Graphic | Uses:64 | Used by:146 |
Symbol 132 Graphic | Uses:58 | Used by:146 |
Symbol 133 Bitmap | Used by:134 | |
Symbol 134 Graphic | Uses:133 | Used by:146 |
Symbol 135 Graphic | Uses:61 | Used by:146 |
Symbol 136 Bitmap | Used by:137 | |
Symbol 137 Graphic | Uses:136 | Used by:146 |
Symbol 138 Graphic | Uses:63 | Used by:146 |
Symbol 139 Bitmap | Used by:140 | |
Symbol 140 Graphic | Uses:139 | Used by:146 |
Symbol 141 Graphic | Uses:62 | Used by:146 |
Symbol 142 Bitmap | Used by:143 | |
Symbol 143 Graphic | Uses:142 | Used by:146 |
Symbol 144 Bitmap | Used by:145 | |
Symbol 145 Graphic | Uses:144 | Used by:146 |
Symbol 146 MovieClip | Uses:128 130 131 132 134 135 137 138 140 141 143 145 | Used by:186 460 Timeline |
Symbol 147 Bitmap | Used by:148 | |
Symbol 148 Graphic | Uses:147 | Used by:149 |
Symbol 149 MovieClip | Uses:148 | Used by:186 |
Symbol 150 Bitmap | Used by:151 | |
Symbol 151 Graphic | Uses:150 | Used by:152 |
Symbol 152 MovieClip | Uses:151 | Used by:186 |
Symbol 153 Bitmap | Used by:154 | |
Symbol 154 Graphic | Uses:153 | Used by:156 |
Symbol 155 Graphic | Uses:68 | Used by:156 |
Symbol 156 MovieClip | Uses:154 155 | Used by:186 |
Symbol 157 Bitmap | Used by:158 | |
Symbol 158 Graphic | Uses:157 | Used by:185 |
Symbol 159 Bitmap | Used by:160 | |
Symbol 160 Graphic | Uses:159 | Used by:185 |
Symbol 161 Bitmap | Used by:162 | |
Symbol 162 Graphic | Uses:161 | Used by:185 |
Symbol 163 Bitmap | Used by:164 165 | |
Symbol 164 Graphic | Uses:163 | Used by:185 |
Symbol 165 Graphic | Uses:163 | Used by:185 |
Symbol 166 Bitmap | Used by:167 174 | |
Symbol 167 Graphic | Uses:166 | Used by:185 |
Symbol 168 Bitmap | Used by:169 | |
Symbol 169 Graphic | Uses:168 | Used by:185 |
Symbol 170 Bitmap | Used by:171 | |
Symbol 171 Graphic | Uses:170 | Used by:185 |
Symbol 172 Bitmap | Used by:173 | |
Symbol 173 Graphic | Uses:172 | Used by:185 |
Symbol 174 Graphic | Uses:166 | Used by:185 |
Symbol 175 Bitmap | Used by:176 | |
Symbol 176 Graphic | Uses:175 | Used by:185 |
Symbol 177 Bitmap | Used by:178 | |
Symbol 178 Graphic | Uses:177 | Used by:185 |
Symbol 179 Bitmap | Used by:180 | |
Symbol 180 Graphic | Uses:179 | Used by:185 |
Symbol 181 Bitmap | Used by:182 | |
Symbol 182 Graphic | Uses:181 | Used by:185 |
Symbol 183 Bitmap | Used by:184 | |
Symbol 184 Graphic | Uses:183 | Used by:185 |
Symbol 185 MovieClip | Uses:158 160 162 164 165 167 169 171 173 174 176 178 180 182 184 | Used by:186 |
Symbol 186 MovieClip | Uses:121 122 124 127 146 149 152 156 185 | Used by:456 |
Symbol 187 EditableText | Uses:31 | Used by:188 |
Symbol 188 MovieClip | Uses:187 | Used by:189 |
Symbol 189 MovieClip | Uses:188 | Used by:456 |
Symbol 190 Graphic | Used by:191 | |
Symbol 191 MovieClip | Uses:190 | Used by:192 |
Symbol 192 MovieClip | Uses:191 | Used by:456 |
Symbol 193 Graphic | Used by:387 | |
Symbol 194 Graphic | Used by:195 | |
Symbol 195 MovieClip | Uses:194 | Used by:387 |
Symbol 196 Graphic | Used by:387 | |
Symbol 197 Graphic | Used by:387 | |
Symbol 198 Graphic | Used by:387 | |
Symbol 199 Graphic | Used by:387 | |
Symbol 200 Graphic | Used by:387 | |
Symbol 201 Graphic | Used by:387 | |
Symbol 202 Graphic | Used by:387 | |
Symbol 203 Graphic | Used by:387 | |
Symbol 204 Graphic | Used by:387 | |
Symbol 205 Graphic | Used by:387 | |
Symbol 206 Graphic | Used by:387 | |
Symbol 207 Graphic | Used by:387 | |
Symbol 208 Graphic | Used by:387 | |
Symbol 209 Graphic | Used by:387 | |
Symbol 210 Graphic | Used by:387 | |
Symbol 211 Graphic | Used by:387 | |
Symbol 212 Graphic | Used by:387 | |
Symbol 213 Graphic | Used by:387 | |
Symbol 214 Graphic | Used by:387 | |
Symbol 215 Graphic | Used by:387 | |
Symbol 216 Graphic | Used by:387 | |
Symbol 217 Graphic | Used by:387 | |
Symbol 218 Graphic | Used by:387 | |
Symbol 219 Graphic | Used by:387 | |
Symbol 220 Graphic | Used by:387 | |
Symbol 221 Graphic | Used by:387 | |
Symbol 222 Graphic | Used by:387 | |
Symbol 223 Graphic | Used by:387 | |
Symbol 224 Graphic | Used by:387 | |
Symbol 225 Graphic | Used by:387 | |
Symbol 226 Graphic | Used by:387 | |
Symbol 227 Graphic | Used by:387 | |
Symbol 228 Graphic | Used by:387 | |
Symbol 229 Graphic | Used by:387 | |
Symbol 230 Graphic | Used by:387 | |
Symbol 231 Graphic | Used by:387 | |
Symbol 232 Graphic | Used by:387 | |
Symbol 233 Graphic | Used by:387 | |
Symbol 234 Graphic | Used by:387 | |
Symbol 235 Graphic | Used by:387 | |
Symbol 236 Graphic | Used by:387 | |
Symbol 237 Graphic | Used by:387 | |
Symbol 238 Graphic | Used by:387 | |
Symbol 239 Graphic | Used by:387 | |
Symbol 240 Graphic | Used by:387 | |
Symbol 241 Graphic | Used by:387 | |
Symbol 242 Graphic | Used by:387 | |
Symbol 243 Graphic | Used by:387 | |
Symbol 244 Graphic | Used by:387 | |
Symbol 245 Graphic | Used by:387 | |
Symbol 246 Graphic | Used by:387 | |
Symbol 247 Graphic | Used by:387 | |
Symbol 248 Graphic | Used by:387 | |
Symbol 249 Graphic | Used by:387 | |
Symbol 250 Graphic | Used by:387 | |
Symbol 251 Graphic | Used by:387 | |
Symbol 252 Graphic | Used by:387 | |
Symbol 253 Graphic | Used by:387 | |
Symbol 254 Graphic | Used by:387 | |
Symbol 255 Graphic | Used by:387 | |
Symbol 256 Graphic | Used by:387 | |
Symbol 257 Graphic | Used by:387 | |
Symbol 258 Graphic | Used by:387 | |
Symbol 259 Graphic | Used by:387 | |
Symbol 260 Graphic | Used by:387 | |
Symbol 261 Graphic | Used by:387 | |
Symbol 262 Graphic | Used by:387 | |
Symbol 263 Graphic | Used by:387 | |
Symbol 264 Graphic | Used by:387 | |
Symbol 265 Graphic | Used by:387 | |
Symbol 266 Graphic | Used by:387 | |
Symbol 267 Graphic | Used by:387 | |
Symbol 268 Graphic | Used by:387 | |
Symbol 269 Graphic | Used by:387 | |
Symbol 270 Graphic | Used by:387 | |
Symbol 271 Graphic | Used by:387 | |
Symbol 272 Graphic | Used by:387 | |
Symbol 273 Graphic | Used by:387 | |
Symbol 274 Graphic | Used by:387 | |
Symbol 275 Graphic | Used by:387 | |
Symbol 276 Graphic | Used by:387 | |
Symbol 277 Graphic | Used by:387 | |
Symbol 278 Graphic | Used by:387 | |
Symbol 279 Graphic | Used by:387 | |
Symbol 280 Graphic | Used by:387 | |
Symbol 281 Graphic | Used by:387 | |
Symbol 282 Graphic | Used by:387 | |
Symbol 283 Graphic | Used by:387 | |
Symbol 284 Graphic | Used by:387 | |
Symbol 285 Graphic | Used by:387 | |
Symbol 286 Graphic | Used by:387 | |
Symbol 287 Graphic | Used by:387 | |
Symbol 288 Graphic | Used by:387 | |
Symbol 289 Graphic | Used by:387 | |
Symbol 290 Graphic | Used by:387 | |
Symbol 291 Graphic | Used by:387 | |
Symbol 292 Graphic | Used by:387 | |
Symbol 293 Graphic | Used by:387 | |
Symbol 294 Graphic | Used by:387 | |
Symbol 295 Graphic | Used by:387 | |
Symbol 296 Graphic | Used by:387 | |
Symbol 297 Graphic | Used by:387 | |
Symbol 298 Graphic | Used by:387 | |
Symbol 299 Graphic | Used by:387 | |
Symbol 300 Graphic | Used by:387 | |
Symbol 301 Graphic | Used by:387 | |
Symbol 302 Graphic | Used by:387 | |
Symbol 303 Graphic | Used by:387 | |
Symbol 304 Graphic | Used by:387 | |
Symbol 305 Graphic | Used by:387 | |
Symbol 306 Graphic | Used by:387 | |
Symbol 307 Graphic | Used by:387 | |
Symbol 308 Graphic | Used by:387 | |
Symbol 309 Graphic | Used by:387 | |
Symbol 310 Graphic | Used by:387 | |
Symbol 311 Graphic | Used by:387 | |
Symbol 312 Graphic | Used by:387 | |
Symbol 313 Graphic | Used by:387 | |
Symbol 314 Graphic | Used by:387 | |
Symbol 315 Graphic | Used by:387 | |
Symbol 316 Graphic | Used by:387 | |
Symbol 317 Graphic | Used by:387 | |
Symbol 318 Graphic | Used by:387 | |
Symbol 319 Graphic | Used by:387 | |
Symbol 320 Graphic | Used by:387 | |
Symbol 321 Graphic | Used by:387 | |
Symbol 322 Graphic | Used by:387 | |
Symbol 323 Graphic | Used by:387 | |
Symbol 324 Graphic | Used by:387 | |
Symbol 325 Graphic | Used by:387 | |
Symbol 326 Graphic | Used by:387 | |
Symbol 327 Graphic | Used by:387 | |
Symbol 328 Graphic | Used by:387 | |
Symbol 329 Graphic | Used by:387 | |
Symbol 330 Graphic | Used by:387 | |
Symbol 331 Graphic | Used by:387 | |
Symbol 332 Graphic | Used by:387 | |
Symbol 333 Graphic | Used by:387 | |
Symbol 334 Graphic | Used by:387 | |
Symbol 335 Graphic | Used by:387 | |
Symbol 336 Graphic | Used by:387 | |
Symbol 337 Graphic | Used by:387 | |
Symbol 338 Graphic | Used by:387 | |
Symbol 339 Graphic | Used by:387 | |
Symbol 340 Graphic | Used by:387 | |
Symbol 341 Graphic | Used by:387 | |
Symbol 342 Graphic | Used by:387 | |
Symbol 343 Graphic | Used by:387 | |
Symbol 344 Graphic | Used by:387 | |
Symbol 345 Graphic | Used by:387 | |
Symbol 346 Graphic | Used by:387 | |
Symbol 347 Graphic | Used by:387 | |
Symbol 348 Graphic | Used by:387 | |
Symbol 349 Graphic | Used by:387 | |
Symbol 350 Graphic | Used by:387 | |
Symbol 351 Graphic | Used by:387 | |
Symbol 352 Graphic | Used by:387 | |
Symbol 353 Graphic | Used by:387 | |
Symbol 354 Graphic | Used by:387 | |
Symbol 355 Graphic | Used by:387 | |
Symbol 356 Graphic | Used by:387 | |
Symbol 357 Graphic | Used by:387 | |
Symbol 358 Graphic | Used by:387 | |
Symbol 359 Graphic | Used by:387 | |
Symbol 360 Graphic | Used by:387 | |
Symbol 361 Graphic | Used by:387 | |
Symbol 362 Graphic | Used by:387 | |
Symbol 363 Graphic | Used by:387 | |
Symbol 364 Graphic | Used by:387 | |
Symbol 365 Graphic | Used by:387 | |
Symbol 366 Graphic | Used by:387 | |
Symbol 367 Graphic | Used by:387 | |
Symbol 368 Graphic | Used by:387 | |
Symbol 369 Graphic | Used by:387 | |
Symbol 370 Graphic | Used by:387 | |
Symbol 371 Graphic | Used by:387 | |
Symbol 372 Graphic | Used by:387 | |
Symbol 373 Graphic | Used by:387 | |
Symbol 374 Graphic | Used by:387 | |
Symbol 375 Graphic | Used by:387 | |
Symbol 376 Graphic | Used by:387 | |
Symbol 377 Graphic | Used by:387 | |
Symbol 378 Graphic | Used by:387 | |
Symbol 379 Graphic | Used by:387 | |
Symbol 380 Graphic | Used by:387 | |
Symbol 381 Graphic | Used by:387 | |
Symbol 382 Graphic | Used by:387 | |
Symbol 383 Graphic | Used by:387 | |
Symbol 384 Graphic | Used by:387 | |
Symbol 385 Graphic | Used by:387 | |
Symbol 386 Graphic | Used by:387 | |
Symbol 387 MovieClip | Uses:193 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 | Used by:456 |
Symbol 388 Graphic | Used by:456 | |
Symbol 389 Graphic | Used by:414 | |
Symbol 390 Graphic | Used by:414 | |
Symbol 391 Graphic | Used by:414 | |
Symbol 392 Graphic | Used by:414 | |
Symbol 393 Graphic | Used by:414 | |
Symbol 394 Graphic | Used by:414 | |
Symbol 395 Graphic | Used by:414 | |
Symbol 396 Graphic | Used by:414 | |
Symbol 397 Graphic | Used by:414 | |
Symbol 398 Graphic | Used by:414 | |
Symbol 399 Graphic | Used by:414 | |
Symbol 400 Graphic | Used by:414 | |
Symbol 401 Graphic | Used by:414 | |
Symbol 402 Graphic | Used by:414 | |
Symbol 403 Graphic | Used by:414 | |
Symbol 404 Graphic | Used by:414 | |
Symbol 405 Graphic | Used by:414 | |
Symbol 406 Graphic | Used by:414 | |
Symbol 407 Graphic | Used by:414 | |
Symbol 408 Graphic | Used by:414 | |
Symbol 409 Graphic | Used by:414 | |
Symbol 410 Graphic | Used by:414 | |
Symbol 411 Graphic | Used by:414 | |
Symbol 412 Graphic | Used by:414 | |
Symbol 413 Graphic | Used by:414 | |
Symbol 414 MovieClip | Uses:389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 | Used by:416 |
Symbol 415 Graphic | Used by:416 | |
Symbol 416 MovieClip | Uses:414 415 | Used by:451 |
Symbol 417 Graphic | Used by:434 | |
Symbol 418 Graphic | Used by:434 | |
Symbol 419 Graphic | Used by:434 | |
Symbol 420 Graphic | Used by:434 | |
Symbol 421 Graphic | Used by:434 | |
Symbol 422 Graphic | Used by:434 | |
Symbol 423 Graphic | Used by:434 | |
Symbol 424 Graphic | Used by:434 | |
Symbol 425 Graphic | Used by:434 | |
Symbol 426 Graphic | Used by:434 | |
Symbol 427 Graphic | Used by:434 | |
Symbol 428 Graphic | Used by:434 | |
Symbol 429 Graphic | Used by:434 | |
Symbol 430 Graphic | Used by:434 | |
Symbol 431 Graphic | Used by:434 | |
Symbol 432 Graphic | Used by:434 | |
Symbol 433 Graphic | Used by:434 | |
Symbol 434 MovieClip | Uses:417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | Used by:451 |
Symbol 435 ShapeTweening | Used by:451 | |
Symbol 436 ShapeTweening | Used by:451 | |
Symbol 437 ShapeTweening | Used by:451 | |
Symbol 438 ShapeTweening | Used by:451 | |
Symbol 439 ShapeTweening | Used by:451 | |
Symbol 440 ShapeTweening | Used by:451 | |
Symbol 441 ShapeTweening | Used by:451 | |
Symbol 442 ShapeTweening | Used by:451 | |
Symbol 443 ShapeTweening | Used by:451 | |
Symbol 444 ShapeTweening | Used by:451 | |
Symbol 445 ShapeTweening | Used by:451 | |
Symbol 446 ShapeTweening | Used by:451 | |
Symbol 447 ShapeTweening | Used by:451 | |
Symbol 448 ShapeTweening | Used by:451 | |
Symbol 449 ShapeTweening | Used by:451 | |
Symbol 450 Graphic | Used by:451 | |
Symbol 451 MovieClip | Uses:416 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 | Used by:456 |
Symbol 452 Graphic | Uses:55 | Used by:453 |
Symbol 453 MovieClip | Uses:452 | Used by:456 |
Symbol 454 Bitmap | Used by:455 | |
Symbol 455 Graphic | Uses:454 | Used by:456 |
Symbol 456 MovieClip | Uses:118 186 189 192 387 388 451 453 455 | Used by:Timeline |
Symbol 457 Graphic | Used by:460 | |
Symbol 458 MovieClip | Uses:74 | Used by:459 |
Symbol 459 MovieClip | Uses:458 | Used by:460 |
Symbol 460 MovieClip | Uses:146 457 459 | Used by:Timeline |
Symbol 461 Text | Uses:36 | Used by:Timeline |
Symbol 462 EditableText | Uses:36 | Used by:Timeline |
Symbol 463 Graphic | Used by:464 | |
Symbol 464 MovieClip | Uses:463 | Used by:Timeline |
Symbol 465 EditableText | Uses:31 | Used by:466 |
Symbol 466 MovieClip | Uses:465 | Used by:467 |
Symbol 467 MovieClip | Uses:466 | Used by:Timeline |
Symbol 468 EditableText | Uses:31 36 | Used by:Timeline |
Symbol 469 EditableText | Uses:31 36 | Used by:Timeline |
Symbol 470 EditableText | Uses:31 36 | Used by:Timeline |
Symbol 471 Text | Uses:31 | Used by:Timeline |
Symbol 472 EditableText | Uses:31 36 | Used by:Timeline |
Symbol 473 Bitmap | Used by:476 | |
Symbol 474 Bitmap | Used by:476 | |
Symbol 475 Bitmap | Used by:476 496 | |
Symbol 476 Graphic | Uses:473 474 475 | Used by:502 |
Symbol 477 Graphic | Used by:479 483 501 | |
Symbol 478 Graphic | Used by:479 483 501 | |
Symbol 479 Button | Uses:477 478 | Used by:502 |
Symbol 480 Text | Uses:31 | Used by:481 |
Symbol 481 MovieClip | Uses:480 | Used by:482 |
Symbol 482 MovieClip | Uses:481 | Used by:502 |
Symbol 483 Button | Uses:477 478 | Used by:502 |
Symbol 484 Text | Uses:36 | Used by:502 |
Symbol 485 Bitmap | Used by:486 | |
Symbol 486 Graphic | Uses:485 | Used by:502 |
Symbol 487 EditableText | Uses:31 | Used by:502 |
Symbol 488 Text | Uses:31 | Used by:502 |
Symbol 489 EditableText | Uses:31 | Used by:502 |
Symbol 490 Bitmap | Used by:491 | |
Symbol 491 Graphic | Uses:490 | Used by:502 |
Symbol 492 Button | Uses:11 | Used by:502 |
Symbol 493 MovieClip | Used by:502 | |
Symbol 494 Bitmap | Used by:496 | |
Symbol 495 Bitmap | Used by:496 | |
Symbol 496 Graphic | Uses:494 495 475 | Used by:502 |
Symbol 497 EditableText | Uses:31 | Used by:502 |
Symbol 498 EditableText | Uses:31 | Used by:502 |
Symbol 499 Text | Uses:31 | Used by:502 |
Symbol 500 Text | Uses:31 | Used by:502 |
Symbol 501 Button | Uses:477 478 | Used by:502 |
Symbol 502 MovieClip | Uses:476 479 482 483 484 486 487 488 489 491 492 493 496 497 498 499 500 501 | Used by:Timeline |
Instance Names
"SFGad" | Frame 2 | Symbol 20 MovieClip |
"Button1" | Frame 5 | Symbol 35 MovieClip |
"Button2" | Frame 5 | Symbol 35 MovieClip |
"Button3" | Frame 5 | Symbol 35 MovieClip |
"Button4" | Frame 5 | Symbol 35 MovieClip |
"Button5" | Frame 5 | Symbol 35 MovieClip |
"Menu" | Frame 5 | Symbol 82 MovieClip |
"SS1" | Frame 7 | Symbol 111 MovieClip |
"SS2" | Frame 7 | Symbol 111 MovieClip |
"SS3" | Frame 7 | Symbol 111 MovieClip |
"SS4" | Frame 7 | Symbol 111 MovieClip |
"SS5" | Frame 7 | Symbol 111 MovieClip |
"SS6" | Frame 7 | Symbol 111 MovieClip |
"SS7" | Frame 7 | Symbol 111 MovieClip |
"SS8" | Frame 7 | Symbol 111 MovieClip |
"SS9" | Frame 7 | Symbol 111 MovieClip |
"SS10" | Frame 7 | Symbol 111 MovieClip |
"Button1" | Frame 7 | Symbol 35 MovieClip |
"Button2" | Frame 7 | Symbol 35 MovieClip |
"GA" | Frame 9 | Symbol 456 MovieClip |
"Block" | Frame 9 | Symbol 460 MovieClip |
"Button2" | Frame 9 | Symbol 79 MovieClip |
"NextBlockInd" | Frame 9 | Symbol 146 MovieClip |
"ReadyButton" | Frame 9 | Symbol 464 MovieClip |
"Message" | Frame 9 | Symbol 467 MovieClip |
"Button1" | Frame 9 | Symbol 79 MovieClip |
"Button1" | Frame 12 | Symbol 35 MovieClip |
"Button2" | Frame 12 | Symbol 35 MovieClip |
"Sign" | Symbol 79 MovieClip Frame 1 | Symbol 78 MovieClip |
"Button1" | Symbol 82 MovieClip Frame 1 | Symbol 35 MovieClip |
"Button2" | Symbol 82 MovieClip Frame 1 | Symbol 35 MovieClip |
"Button3" | Symbol 82 MovieClip Frame 1 | Symbol 35 MovieClip |
"Button4" | Symbol 82 MovieClip Frame 1 | Symbol 35 MovieClip |
"Button5" | Symbol 82 MovieClip Frame 1 | Symbol 35 MovieClip |
"CB1" | Symbol 82 MovieClip Frame 1 | Symbol 46 MovieClip |
"CB2" | Symbol 82 MovieClip Frame 1 | Symbol 46 MovieClip |
"BullButt" | Symbol 82 MovieClip Frame 4 | Symbol 79 MovieClip |
"Inside" | Symbol 111 MovieClip Frame 1 | Symbol 108 MovieClip |
"BackWall" | Symbol 186 MovieClip Frame 1 | Symbol 121 MovieClip |
"Shadows" | Symbol 186 MovieClip Frame 1 | Symbol 122 MovieClip |
"BShadow" | Symbol 186 MovieClip Frame 1 | Symbol 127 MovieClip |
"BlockSample" | Symbol 186 MovieClip Frame 1 | Symbol 146 MovieClip |
"OutsideBrickSample" | Symbol 186 MovieClip Frame 1 | Symbol 149 MovieClip |
"BrickBlockSample" | Symbol 186 MovieClip Frame 1 | Symbol 152 MovieClip |
"FirePlace" | Symbol 186 MovieClip Frame 1 | Symbol 156 MovieClip |
"RoomSample" | Symbol 186 MovieClip Frame 1 | Symbol 185 MovieClip |
"Inside" | Symbol 189 MovieClip Frame 1 | Symbol 188 MovieClip |
"Santa" | Symbol 416 MovieClip Frame 1 | Symbol 414 MovieClip |
"Santa2" | Symbol 416 MovieClip Frame 1 | Symbol 414 MovieClip |
"Sleigh" | Symbol 451 MovieClip Frame 1 | Symbol 416 MovieClip |
"Deer2" | Symbol 451 MovieClip Frame 1 | Symbol 434 MovieClip |
"Deer1" | Symbol 451 MovieClip Frame 1 | Symbol 434 MovieClip |
"Ground" | Symbol 456 MovieClip Frame 1 | Symbol 118 MovieClip |
"Walls" | Symbol 456 MovieClip Frame 1 | Symbol 186 MovieClip |
"BonusSample" | Symbol 456 MovieClip Frame 1 | Symbol 189 MovieClip |
"Entrance" | Symbol 456 MovieClip Frame 1 | Symbol 192 MovieClip |
"Exit" | Symbol 456 MovieClip Frame 1 | Symbol 192 MovieClip |
"Santa" | Symbol 456 MovieClip Frame 1 | Symbol 387 MovieClip |
"SantasDeers" | Symbol 456 MovieClip Frame 1 | Symbol 451 MovieClip |
"Chimney" | Symbol 456 MovieClip Frame 1 | Symbol 453 MovieClip |
"Inside" | Symbol 460 MovieClip Frame 1 | Symbol 146 MovieClip |
"Inside" | Symbol 467 MovieClip Frame 1 | Symbol 466 MovieClip |
"Nm" | Symbol 502 MovieClip Frame 1 | Symbol 482 MovieClip |
"Dt" | Symbol 502 MovieClip Frame 1 | Symbol 493 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access network only, Metadata not present, AS1/AS2. |
Protect (24) | Timeline Frame 1 | 0 bytes "" |
ExportAssets (56) | Timeline Frame 3 | Symbol 21 as "Bonus.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 22 as "MUSIC" |
ExportAssets (56) | Timeline Frame 3 | Symbol 23 as "SantaFalls.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 24 as "DestroyBlock.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 25 as "DeersBell.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 26 as "BuildBlock.wav" |
Labels
"Intermediate" | Frame 3 |
"MainMenu" | Frame 5 |
"InstructionsArea" | Frame 6 |
"LevelSelect" | Frame 7 |
"Init" | Frame 8 |
"GameCycle" | Frame 10 |
"StatusScreen" | Frame 12 |
"SubmitScore" | Frame 13 |
Dynamic Text Variables
Txt | Symbol 32 EditableText | "<p align="center"></p>" |
Val | Symbol 75 EditableText | "x10" |
LevelName | Symbol 83 EditableText | "NAME" |
LevelStatus | Symbol 84 EditableText | "STATUS" |
LevelScore | Symbol 85 EditableText | "SCORE: 0" |
TotalScoreText | Symbol 113 EditableText | "<p align="center"><font face="Arial" size="16" color="#c6daf5" letterSpacing="2.000000" kerning="0"><b>SCORE</b></font></p>" |
Txt | Symbol 187 EditableText | "x10" |
StatusText | Symbol 462 EditableText | "x10" |
MessageText | Symbol 465 EditableText | "MESSAGE" |
PageTitle | Symbol 468 EditableText | "<p align="center"><font face="Arial" size="48" color="#c6daf5" letterSpacing="2.000000" kerning="0"><b>PAGE TITLE</b></font></p>" |
PageText | Symbol 469 EditableText | "<p align="center"><font face="Arial" size="16" color="#c6daf5" letterSpacing="4.000000" kerning="0"><b>PAGE TEXT</b></font></p>" |
ScoreText | Symbol 470 EditableText | "<p align="center"><font face="Arial" size="16" color="#c6daf5" letterSpacing="4.000000" kerning="0"><b>SCORE TEXT</b></font></p>" |
RecordText | Symbol 472 EditableText | "<p align="center"><font face="Arial" size="16" color="#c6daf5" letterSpacing="4.000000" kerning="0"><b>RECORD TEXT</b></font></p>" |
UserName | Symbol 487 EditableText | "" |
ScoreText | Symbol 489 EditableText | "" |
RScore | Symbol 497 EditableText | "0000000000" |
RName | Symbol 498 EditableText | "Name" |
|