Frame 1
function itemHandler1(obj, item) {
getURL ("http://highwitamic.com", "_blank");
}
function itemHandler1(obj, item) {
getURL ("http://highwitamic.com");
}
function itemHandler2(obj, item) {
getURL ("http://highwitamic.com/index.php?option=com_content&view=article&id=85:insantatarium-guide&catid=31:general&Itemid=41", "_blank");
}
function itemHandler2(obj, item) {
getURL ("http://highwitamic.com/index.php?option=com_content&view=article&id=85:insantatarium-guide&catid=31:general&Itemid=41", "_blank");
}
stopAllSounds();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem("Highwitamic.com", itemHandler1);
myMenu.customItems.push(item1);
myMenu.customItems.push(new ContextMenuItem("Highwitamic.com", itemHandler1));
item2 = new ContextMenuItem("Highwitamic.com", itemHandler2);
myMenu.customItems.push(item2);
myMenu.customItems.push(new ContextMenuItem("Download Walkthrough", itemHandler2));
_root.menu = myMenu;
NewgroundsAPI.connectMovie(4828);
Frame 30
gotoAndPlay (31);
Frame 31
cbplace = new Array(1, 2, 3);
_root.cbplace = cbplace[random(3)];
onEnterFrame();
if (_root.cbplace == 1) {
_root.color1 = 2;
_root.color2 = 3;
}
if (_root.cbplace == 2) {
_root.color1 = 1;
_root.color2 = 2;
}
if (_root.cbplace == 3) {
_root.color1 = 1;
_root.color2 = 3;
}
stop();
_root.clampTimes = 5;
_root.santachar.stop();
_global.haveCig = false;
_global.litCig = false;
_global.byKey = false;
_global.byCig = false;
_global.byChair = true;
_global.laserSequence = false;
_global.smoking = false;
_global.belly = false;
_global.feet = false;
_global.mouth = false;
_global.swimFirst1 = true;
_global.byPipe = false;
_global.lightsOut = false;
Frame 32
_root.santachar.gotoAndPlay(2);
Frame 212
_root.clickglass1.tabEnabled = false;
stop();
_root.clickglass2._visible = false;
_root.clickglass3._visible = false;
_root.clickglass4._visible = false;
Frame 232
stop();
_root.clickglass2.tabEnabled = false;
_root.clickglass3.tabEnabled = false;
_root.clickglass4.tabEnabled = false;
Frame 250
stop();
_root.clickglass3.tabEnabled = false;
_root.clickglass4.tabEnabled = false;
Frame 267
stop();
_root.clickglass4.tabEnabled = false;
Frame 300
stop();
_root.clicklighter._visible = false;
_root.clickcigarette._visible = false;
_root.clickKey._visible = false;
_root.clickKey.tabEnabled = false;
_root.clicklighter.tabEnabled = false;
_root.clickcigarette.tabEnabled = false;
Frame 325
stop();
Frame 350
stop();
Frame 351
_root.floorglass._visible = true;
Frame 370
stop();
_root.clickglass1m._visible = true;
_root.clickglass2._visible = false;
_root.clickglass3._visible = false;
_root.clickglass4._visible = false;
_global.knees = false;
_global.belly = false;
_root.clickglass1.tabEnabled = false;
Frame 397
stop();
_root.clickKey.tabEnabled = false;
Frame 425
stop();
stop();
_root.clickLock1.tabEnabled = false;
Frame 450
stop();
Frame 477
onEnterFrame();
if (_root.cbplace == 1) {
_root.floorlight.gotoAndStop(2);
}
if (_root.cbplace == 2) {
_root.floorlight.gotoAndStop(4);
}
if (_root.cbplace == 3) {
_root.floorlight.gotoAndStop(3);
}
Frame 480
_root.waterfill.gotoAndPlay(2);
Frame 494
stop();
onEnterFrame();
_root.clickPuzzle1._visible = false;
_root.clickPuzzle2._visible = false;
_root.puzzle1._visible = false;
_root.puzzle2._visible = false;
_root.clickKey2._visible = false;
_root.clickLock2._visible = false;
_root.clickPowerBox._visible = false;
_root.clickPocket._visible = false;
_root.clickLock3._visible = false;
stop();
_root.clickPuzzle1.tabEnabled = false;
_root.clickPuzzle2.tabEnabled = false;
_root.clickairpipe.tabEnabled = false;
_root.clickPowerBox.tabEnabled = false;
_root.clickLock2.tabEnabled = false;
_root.clickLock3.tabEnabled = false;
_root.clickPocket.tabEnabled = false;
_root.clickKey2.tabEnabled = false;
Frame 495
stop();
Frame 558
stopAllSounds();
gotoAndPlay (559);
Frame 1307
stop();
Symbol 64 Button
on (release) {
getURL ("http://www.newgrounds.com/collection/christmas2008.html", "_blank");
}
Symbol 66 MovieClip Frame 40
stop();
Symbol 77 Button
on (release) {
startMovie();
}
Symbol 78 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 83 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 88 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 90 MovieClip Frame 1
function startAd(ngad_url) {
trace("opening " + ngad_url);
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
Symbol 99 Button
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 669 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var _local2 = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds(special) {
if (special) {
var _local1 = {page:special};
}
SendLink(NEWGROUNDS, _local1);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_events[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_events[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id, extra) {
SendStat(id, true, extra);
}
static function ReadGatewayData(params) {
for (var _local2 in params) {
params[_local2] = unescape(params[_local2]);
movie_options[_local2] = params[_local2];
}
if (params.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
if (movie_options.request_portal_url == 1) {
var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url);
var _local3 = new XML();
_local3.ignoreWhite = true;
_local3.load(_local4);
}
} else if (!movie_options.settings_loaded) {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser, extra) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id.");
SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?");
} else {
var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id;
for (var _local9 in extra) {
_local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9]));
}
trace(_local7);
if (debug) {
_local7 = _local7 + "&debug=1";
}
if (open_in_browser) {
getURL (_local7, "_blank");
} else {
var _local10 = new XML();
_local10.ignoreWhite = true;
_local10.onLoad = function (success) {
var _local6 = new Object();
var _local3 = 0;
while (_local3 < this.firstChild.childNodes.length) {
var _local4 = this.firstChild.childNodes[_local3];
var _local5 = _local4.nodeName;
var _local2 = _local4.attributes.value;
if (_local2 == Number(_local2)) {
_local2 = Number(_local2);
}
_local6[_local5] = _local2;
_local3++;
}
NewgroundsAPI.ReadGatewayData(_local6);
};
_local10.load(_local7);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var _local2 = new Object();
_local2.x = Stage.width / 2;
_local2.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var _local3 = (("Version " + version) + " is now available at:") + newline;
var _local5 = _local3.length;
_local3 = _local3 + movie_url;
var _local4 = _local3.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = _local3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
InitTextFormats();
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var _local2 = ("This movie has not been approved for use on " + hostname) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + movie_url;
var _local3 = _local2.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = _local2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function isInstalled() {
return(true);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 4
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 1
_global.laserSequence = false;
Symbol 144 MovieClip Frame 50
_global.laserSequence = true;
Symbol 144 MovieClip Frame 75
gotoAndPlay (1);
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 25
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 35
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 2
stop();
Symbol 164 MovieClip Frame 3
stop();
Symbol 164 MovieClip Frame 4
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 2
_root.clickPowerBox._visible = true;
stop();
Symbol 168 MovieClip Frame 3
_root.lightSystem.light.gotoAndStop(2);
_root.clickPowerBox._visible = false;
_global.lightsOut = true;
Symbol 379 MovieClip Frame 25
gotoAndPlay (1);
Symbol 379 MovieClip Frame 32
stop();
Symbol 379 MovieClip Frame 40
stop();
Symbol 437 MovieClip Frame 8
stop();
Symbol 466 MovieClip Frame 182
stop();
Symbol 466 MovieClip Frame 183
stop();
Symbol 466 MovieClip Frame 184
stop();
Symbol 466 MovieClip Frame 199
stop();
Symbol 466 MovieClip Frame 209
stop();
Symbol 466 MovieClip Frame 293
stop();
_root.clickcigarette._visible = true;
_root.clickKey._visible = true;
Symbol 466 MovieClip Frame 294
_root.clickKey._visible = false;
Symbol 466 MovieClip Frame 318
_root.gotoAndPlay("cigZoom");
Symbol 466 MovieClip Frame 350
_root.cigarette._visible = false;
Symbol 466 MovieClip Frame 363
_global.haveCig = true;
Symbol 466 MovieClip Frame 371
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
stop();
_root.clicklighter._visible = true;
_global.byCig = true;
_root.clickKey._visible = true;
Symbol 466 MovieClip Frame 372
_global.byCig = false;
_root.gotoAndPlay("cigZoomOut");
_root.clickKey._visible = false;
Symbol 466 MovieClip Frame 378
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 381
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 384
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 387
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 390
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 400
_root.lighter._visible = false;
Symbol 466 MovieClip Frame 408
_global.smoking = true;
Symbol 466 MovieClip Frame 435
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
stop();
_root.clickKey._visible = true;
_global.litCig = true;
Symbol 466 MovieClip Frame 436
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
_root.clicklighter._visible = false;
Symbol 466 MovieClip Frame 439
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 442
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 445
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 448
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 451
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 454
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
onEnterFrame();
if ((_global.smoking == false) && (_global.haveCig == true)) {
_root.clicklighter._visible = true;
} else {
_root.clicklighter._visible = false;
}
stop();
_global.byKey = true;
gotoAndPlay ("pickupKey");
Symbol 466 MovieClip Frame 455
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
_root.clicklighter._visible = false;
Symbol 466 MovieClip Frame 458
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 461
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 464
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 467
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 470
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 473
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 476
gotoAndPlay (439);
Symbol 466 MovieClip Frame 477
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
_root.clicklighter._visible = false;
Symbol 466 MovieClip Frame 478
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 481
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 484
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 487
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 490
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 493
gotoAndPlay (300);
Symbol 466 MovieClip Frame 494
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
_root.clicklighter._visible = false;
_root.gotoAndPlay("cigZoomOut");
Symbol 466 MovieClip Frame 500
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 503
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 506
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 509
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 512
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 515
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 518
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 521
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 524
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 527
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 530
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 533
gotoAndPlay (439);
Symbol 466 MovieClip Frame 534
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
_root.clicklighter._visible = false;
_global.byKey = false;
Symbol 466 MovieClip Frame 535
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 538
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 541
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 544
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 547
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 550
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 553
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 556
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 559
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 562
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 565
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 568
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 570
gotoAndPlay (390);
Symbol 466 MovieClip Frame 571
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
_root.clicklighter._visible = false;
onEnterFrame();
if (_global.litCig == true) {
gotoAndPlay ("pickedupKey");
}
Symbol 466 MovieClip Frame 585
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 599
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
onEnterFrame();
if (_root.clampTimes <= 0) {
_root.laserMech.razors.gotoAndPlay(2);
gotoAndPlay (1096);
} else {
_root.laserMech.razors.gotoAndPlay(2);
_root.clampTimes = _root.clampTimes - 1;
}
Symbol 466 MovieClip Frame 605
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 608
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
Symbol 466 MovieClip Frame 625
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
onEnterFrame();
if (_global.haveCig == true) {
_root.santachar.cig._visible = true;
} else {
_root.santachar.cig._visible = false;
}
onEnterFrame();
if ((_global.smoking == false) && (_global.haveCig == true)) {
_root.clicklighter._visible = true;
} else {
_root.clicklighter._visible = false;
}
stop();
_root.clickKey._visible = true;
Symbol 466 MovieClip Frame 645
_root.gotoAndPlay("zoomLaser");
Symbol 466 MovieClip Frame 653
onEnterFrame();
if (_global.smoking == true) {
_root.santachar.cigSmoke._visible = true;
} else {
_root.santachar.cigSmoke._visible = false;
}
Symbol 466 MovieClip Frame 666
_root.laserMech.gotoAndPlay(2);
Symbol 466 MovieClip Frame 687
stop();
_root.clickKey._visible = true;
Symbol 466 MovieClip Frame 690
onEnterFrame();
if (_root.clampTimes <= 0) {
_root.laserMech.razors.gotoAndPlay(2);
gotoAndPlay (1096);
} else {
_root.laserMech.razors.gotoAndPlay(2);
_root.clampTimes = _root.clampTimes - 1;
gotoAndStop (687);
}
Symbol 466 MovieClip Frame 691
_root.laserMech.gotoAndStop(1);
Symbol 466 MovieClip Frame 704
stop();
_root.wreath1.gotoAndPlay(2);
Symbol 466 MovieClip Frame 733
_root.gotoAndPlay("lockZoom");
Symbol 466 MovieClip Frame 765
_root.gotoAndPlay("lockZoomOut");
Symbol 466 MovieClip Frame 794
stop();
Symbol 466 MovieClip Frame 795
_root.clickPuzzle1._visible = false;
_root.clickPuzzle2._visible = false;
stop();
Symbol 466 MovieClip Frame 796
_root.clickPuzzle1._visible = false;
_root.clickPuzzle2._visible = false;
_root.santachar.santaSwim.gotoAndPlay(26);
_root.clickairpipe._visible = false;
_global.byPipe = false;
Symbol 466 MovieClip Frame 809
_root.santachar.santaSwim.gotoAndPlay(26);
Symbol 466 MovieClip Frame 818
_root.clickPuzzle1._visible = true;
_root.clickPuzzle2._visible = true;
_root.clickairpipe._visible = true;
Symbol 466 MovieClip Frame 819
_root.santachar.santaSwim.gotoAndPlay(1);
Symbol 466 MovieClip Frame 824
onEnterFrame();
if (_global.fromPuzzle2 == true) {
stop();
_global.byPipe = true;
_global.fromPuzzle2 = false;
}
Symbol 466 MovieClip Frame 825
_root.breathMeter.gotoAndPlay(10);
_root.clickairpipe._visible = false;
Symbol 466 MovieClip Frame 845
stop();
_root.clickairpipe._visible = true;
_global.byPipe = true;
Symbol 466 MovieClip Frame 846
_root.clickPuzzle1._visible = false;
_root.clickPuzzle2._visible = false;
_root.santachar.santaSwim.gotoAndPlay(34);
_root.clickairpipe._visible = false;
_global.byPipe = false;
Symbol 466 MovieClip Frame 858
_root.santachar.santaSwim.gotoAndPlay(34);
Symbol 466 MovieClip Frame 868
stop();
_root.clickairpipe._visible = true;
_root.clickPuzzle1._visible = true;
_root.clickPuzzle2._visible = true;
_root.santachar.santaSwim.gotoAndPlay(1);
_global.byPuzzle2 = true;
Symbol 466 MovieClip Frame 872
_root.clickPuzzle1._visible = false;
_root.clickPuzzle2._visible = false;
_root.clickairpipe._visible = false;
Symbol 466 MovieClip Frame 873
stop();
Symbol 466 MovieClip Frame 895
onEnterFrame();
_root.waterfill.key2._visible = false;
Symbol 466 MovieClip Frame 903
_root.clickLock2._visible = true;
_root.wreath2.gotoAndPlay(2);
stop();
Symbol 466 MovieClip Frame 964
stop();
_root.clickPowerBox._visible = true;
_root.clickPocket._visible = true;
Symbol 466 MovieClip Frame 979
_root.powerBox.play();
Symbol 466 MovieClip Frame 986
stop();
Symbol 466 MovieClip Frame 987
_root.clickPocket._visible = false;
Symbol 466 MovieClip Frame 1013
_root.wreath3.gotoAndPlay(2);
Symbol 466 MovieClip Frame 1021
stop();
_root.clickLock3._visible = true;
Symbol 466 MovieClip Frame 1046
onEnterFrame();
if (_global.lightsOut == false) {
gotoAndPlay (1058);
}
Symbol 466 MovieClip Frame 1057
_root.whiteFlash.gotoAndPlay(2);
stop();
Symbol 466 MovieClip Frame 1081
_root.failScreen.gotoAndPlay(2);
Symbol 466 MovieClip Frame 1095
stop();
Symbol 466 MovieClip Frame 1096
_root.gotoAndStop("deathCam");
Symbol 466 MovieClip Frame 1106
_root.failScreen.gotoAndPlay(2);
Symbol 466 MovieClip Frame 1117
gotoAndPlay (1112);
Symbol 466 MovieClip Frame 1135
_root.failScreen.gotoAndPlay(2);
Symbol 466 MovieClip Frame 1140
stop();
Symbol 466 MovieClip Frame 1166
_root.failScreen.gotoAndPlay(2);
Symbol 466 MovieClip Frame 1171
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 2
stop();
Symbol 486 MovieClip Frame 1
stop();
Symbol 486 MovieClip Frame 425
onEnterFrame();
if (_global.byPipe == true) {
_root.santachar.gotoAndPlay("drown");
} else {
_root.santachar.gotoAndPlay("drownRight");
}
Symbol 486 MovieClip Frame 435
stop();
Symbol 489 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 145
onEnterFrame();
_root.gotoAndPlay("beginGame");
Symbol 494 MovieClip Frame 146
stop();
Symbol 497 Button
on (release) {
_root.failScreen.gotoAndStop(1);
_root.gotoAndPlay(30);
}
Symbol 504 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 2
stopAllSounds();
Symbol 504 MovieClip Frame 95
stop();
Symbol 506 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 510 Button
on (release) {
_global.feet = true;
_root.floorglass._visible = false;
_root.clickglass1._visible = false;
_root.clickglass2._visible = true;
_root.clickglass3._visible = true;
_root.clickglass4._visible = true;
_root.santachar.gotoAndStop(184);
gotoAndPlay (213);
}
Symbol 511 Button
on (release) {
_root.floorglass._visible = true;
_root.clickglass1._visible = true;
_root.clickglass2._visible = false;
_root.clickglass3._visible = false;
_root.clickglass4._visible = false;
_root.santachar.gotoAndStop(182);
gotoAndPlay ("stopGlass");
}
Symbol 512 Button
on (release) {
if (_global.feet == true) {
_global.knees = true;
_root.clickglass2._visible = false;
_root.santachar.gotoAndPlay("toKnees");
gotoAndPlay (233);
} else {
_root.clickglass1._visible = true;
_root.clickglass2._visible = false;
_root.clickglass3._visible = false;
_root.clickglass4._visible = false;
_root.santachar.gotoAndPlay(182);
gotoAndPlay (351);
}
}
Symbol 513 Button
on (release) {
_root.clickglass1._visible = true;
_root.clickglass2._visible = false;
_root.clickglass3._visible = false;
_root.clickglass4._visible = false;
_root.santachar.gotoAndStop(182);
gotoAndPlay ("dropGlass");
}
Symbol 514 Button
on (release) {
if (_global.knees == true) {
_global.belly = true;
_root.clickglass3._visible = false;
_root.santachar.gotoAndPlay("toBelly");
gotoAndPlay (251);
} else {
_root.clickglass1._visible = true;
_root.clickglass2._visible = false;
_root.clickglass3._visible = false;
_root.clickglass4._visible = false;
_root.santachar.gotoAndStop(182);
}
}
Symbol 515 Button
on (release) {
if (_global.belly == true) {
_root.clickglass4._visible = false;
_root.santachar.gotoAndPlay("toMouth");
gotoAndPlay (268);
} else {
_root.clickglass1._visible = true;
_root.clickglass2._visible = false;
_root.clickglass3._visible = false;
_root.clickglass4._visible = false;
_root.santachar.gotoAndStop(182);
}
}
Symbol 516 Button
on (release) {
if (_global.byKey == true) {
_root.clickcigarette._visible = false;
_root.santachar.gotoAndPlay("walkToFarCig");
_global.byKey = false;
} else {
_global.byChair = false;
_root.clickcigarette._visible = false;
_root.santachar.gotoAndPlay("walkToCig");
}
}
Symbol 517 Button
on (release) {
if (_global.byKey == true) {
_root.clicklighter._visible = false;
_root.santachar.gotoAndPlay("walkToFarLighter");
} else {
_root.clicklighter._visible = false;
_root.santachar.gotoAndPlay("walkToLighter");
}
}
Symbol 518 Button
on (release) {
if (_global.byChair == true) {
_root.clickKey._visible = false;
_root.santachar.gotoAndPlay("walkToKey");
_global.byChair = false;
}
if (_global.smoking == true) {
_root.clickKey._visible = false;
_root.santachar.gotoAndPlay("walkToFarKey");
}
if (_global.byCig == true) {
_root.clickKey._visible = false;
_root.santachar.gotoAndPlay("walkToKeyCig");
_global.byCig = false;
}
if (_global.byKey == true) {
_root.clickKey._visible = false;
_root.santachar.gotoAndPlay("pickupKey");
}
}
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 3
_root.bg.drain.gotoAndPlay(2);
_root.bg.drain2.gotoAndPlay(2);
Symbol 591 MovieClip Frame 42
_root.santachar.gotoAndPlay("swimmingCenter");
Symbol 591 MovieClip Frame 74
_root.breathMeter.gotoAndPlay(2);
_root.puzzlePanel1.gotoAndPlay(2);
_root.puzzlePanel2.gotoAndPlay(2);
Symbol 591 MovieClip Frame 101
stop();
Symbol 591 MovieClip Frame 102
onEnterFrame();
if (_global.byPipe == true) {
_root.santachar.gotoAndPlay("swimmingToPuzzle2");
}
Symbol 591 MovieClip Frame 126
_root.santachar.gotoAndPlay(869);
Symbol 591 MovieClip Frame 181
_root.clickKey2._visible = true;
Symbol 591 MovieClip Frame 186
stop();
Symbol 592 Button
on (release) {
_global.feet = true;
_root.floorglass._visible = false;
_root.clickglass1._visible = false;
_root.clickglass2._visible = true;
_root.clickglass3._visible = true;
_root.clickglass4._visible = true;
_root.santachar.gotoAndPlay(184);
gotoAndStop (232);
}
Symbol 593 Button
on (release) {
if (_global.laserSequence == true) {
_root.santachar.gotoAndPlay(691);
gotoAndPlay (398);
} else {
trace("nope");
_root.santachar.gotoAndPlay(688);
_root.laserMech.razors.gotoAndPlay(2);
}
}
Symbol 594 Button
on (release) {
_root.clickLock1._visible = false;
_root.santachar.gotoAndPlay("walkToLock1");
}
Symbol 595 Button
on (release) {
if (_global.byPipe == true) {
_root.santachar.gotoAndPlay("airByPipe");
} else {
_global.fromPuzzle2 = false;
_root.santachar.gotoAndPlay("swimmingToPuzzle1");
}
}
Symbol 596 Button
on (release) {
if (_global.byPipe == true) {
_global.fromPuzzle2 = true;
_root.santachar.gotoAndPlay("swimmingToPuzzle2");
} else {
_root.santachar.gotoAndPlay("accessPuzzle2");
_root.puzzle2._visible = true;
}
}
Symbol 597 Button
on (release) {
if (_global.byPipe == true) {
_root.puzzle1._visible = true;
_root.clickPuzzle1._visible = false;
}
if (_global.fromPuzzle2 == true) {
_root.santachar.gotoAndPlay("swimmingToPuzzle1");
}
}
Symbol 598 Button
on (release) {
_root.clickKey2._visible = false;
_root.santachar.gotoAndPlay(874);
}
Symbol 599 Button
on (release) {
_root.santachar.gotoAndPlay("walkToLock2");
_root.clickLock2._visible = false;
}
Symbol 600 Button
on (release) {
_root.clickPowerBox._visible = false;
_root.santachar.gotoAndPlay(965);
}
Symbol 601 Button
on (release) {
_root.santachar.gotoAndPlay(987);
}
Symbol 602 Button
on (release) {
_root.santachar.gotoAndPlay(1022);
_root.clickLock3._visible = false;
}
Symbol 608 MovieClip Frame 1
stop();
Symbol 608 MovieClip Frame 2
stop();
Symbol 608 MovieClip Frame 3
stop();
Symbol 608 MovieClip Frame 4
stop();
Symbol 610 Button
on (release) {
_root.puzzleB = 2;
gotoAndStop (4);
}
Symbol 611 Button
on (release) {
_root.puzzleB = 3;
gotoAndStop (3);
}
Symbol 612 Button
on (release) {
_root.puzzleB = 1;
gotoAndStop (2);
}
Symbol 614 Button
on (release) {
_root.puzzle2._visible = false;
_root.clickPuzzle2._visible = true;
_root.clickairpipe._visible = true;
if ((_root.puzzleA == _root.color1) && (_root.puzzleB == _root.color2)) {
_root.waterfill.gotoAndPlay(102);
_root.bg.drain.gotoAndStop(1);
_root.bg.drain2.gotoAndStop(1);
_root.breathMeter.gotoAndPlay(426);
_root.clickPuzzle1._visible = false;
_root.clickPuzzle2._visible = false;
_root.clickairpipe._visible = false;
}
}
Symbol 618 MovieClip Frame 1
_root.puzzle2.puzzleLight2.gotoAndStop(1);
stop();
Symbol 618 MovieClip Frame 2
_root.puzzle2.puzzleLight2.gotoAndStop(2);
stop();
Symbol 618 MovieClip Frame 3
_root.puzzle2.puzzleLight2.gotoAndStop(3);
stop();
Symbol 618 MovieClip Frame 4
_root.puzzle2.puzzleLight2.gotoAndStop(4);
stop();
Symbol 620 Button
on (release) {
_root.puzzleA = 2;
gotoAndStop (4);
}
Symbol 621 Button
on (release) {
_root.puzzleA = 3;
gotoAndStop (3);
}
Symbol 622 Button
on (release) {
_root.puzzleA = 1;
gotoAndStop (2);
}
Symbol 623 Button
on (release) {
_root.puzzle1._visible = false;
_root.clickPuzzle1._visible = true;
_root.clickairpipe._visible = true;
if ((_root.puzzleA == _root.color1) && (_root.puzzleB == _root.color2)) {
_root.waterfill.gotoAndPlay(102);
_root.bg.drain.gotoAndStop(1);
_root.bg.drain2.gotoAndStop(1);
_root.breathMeter.gotoAndPlay(426);
_root.clickPuzzle1._visible = false;
_root.clickPuzzle2._visible = false;
_root.clickairpipe._visible = false;
}
}
Symbol 627 MovieClip Frame 1
_root.puzzle1.puzzleLight1.gotoAndStop(1);
stop();
Symbol 627 MovieClip Frame 2
_root.puzzle1.puzzleLight1.gotoAndStop(2);
stop();
Symbol 627 MovieClip Frame 3
_root.puzzle1.puzzleLight1.gotoAndStop(3);
stop();
Symbol 627 MovieClip Frame 4
_root.puzzle1.puzzleLight1.gotoAndStop(4);
stop();
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 30
_root.gotoAndPlay("enderFrame");
Symbol 660 Button
on (release) {
_root.gotoAndPlay(30);
}
Symbol 661 Button
on (release) {
gotoAndPlay (30);
}
Symbol 664 Button
on (release) {
getURL ("http://highwitamic.com");
}
Symbol 668 Button
on (release) {
getURL ("http://highwitamic.com", "_blank");
}