Frame 1
Stage.showMenu = false;
_root.API_Settings = {movie_id:6698, enc_key:"vo1vBLhd0lCE5lq5XO7YBeZehTmSmBj6", debug_mode:false, movie_version:""};
stop();
Frame 2
tellTarget ("/pico") {
gotoAndStop (5);
};
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
stop();
Frame 12
stop();
Frame 13
stop();
Frame 14
stop();
Frame 15
stop();
Frame 16
stop();
Frame 17
stop();
Frame 18
stop();
Frame 19
stop();
Frame 20
stop();
Frame 21
stop();
Frame 22
_root.medal_popup.unlockMedal("Save the Day");
stop();
Frame 23
stop();
Symbol 22 MovieClip Frame 1
function unlockMedal(m_name) {
clearInterval(pop_delay);
var _local1 = com.Newgrounds.NewgroundsAPI.getMedals();
var _local2 = null;
for (i in _local1) {
if (_local1[i].medal_name == m_name) {
_local2 = _local1[i];
medal_name = _local2.medal_name;
medal_value = _local2.medal_value + "pts";
com.Newgrounds.NewgroundsAPI.unlockMedal(medal_name);
pop_delay = setInterval(endDelay, 3000);
_visible = true;
gotoAndPlay (2);
break;
}
}
}
function endDelay(params) {
gotoAndPlay (10);
clearInterval(pop_delay);
}
var pop_delay;
var medal_name = "?????";
var medal_value = "???";
_visible = false;
Symbol 22 MovieClip Frame 10
var myBitmapData = flash.display.BitmapData.loadBitmap(medal_name + ".gif");
medal_icon.attachBitmap(myBitmapData, 111);
stop();
Symbol 27 Button
on (release) {
this._visible = false;
}
Symbol 33 MovieClip Frame 1
_visible = false;
var checkConnection = function (event) {
if (!event.success) {
_visible = true;
gotoAndStop (3);
}
};
if (com.Newgrounds.NewgroundsAPI.isNewgrounds() || (_root.API_Settings.debug_mode)) {
com.Newgrounds.NewgroundsAPI.addEventListener(com.Newgrounds.NewgroundsAPI.events.MOVIE_CONNECTED, checkConnection);
if ((!com.Newgrounds.NewgroundsAPI.hasUserSession()) && (!_root.API_Settings.debug_mode)) {
_visible = true;
gotoAndStop (2);
}
}
com.Newgrounds.NewgroundsAPI.setMovieVersion(_root.API_Settings.movie_version);
com.Newgrounds.NewgroundsAPI.connectMovie(_root.API_Settings.movie_id, _root.API_Settings.enc_key, _root.API_Settings.debug_mode);
com.Newgrounds.NewgroundsAPI.loadMedals();
stop();
Symbol 33 MovieClip Frame 2
this._visible = false;
Symbol 38 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 47 Button
on (release) {
_root.gotoAndStop("intro");
}
Symbol 48 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 48 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1027 MovieClip [__Packages.com.Newgrounds.BaseN] Frame 0
class com.Newgrounds.BaseN
{
var ceiling, hashIndex, bitSize, hashVal, i;
function BaseN (hash) {
ceiling = 100000000000000;
if (hash) {
hashIndex = hash;
} else {
hashIndex = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~@#$%^&*()+|;/";
}
bitSize = hashIndex.length;
hashVal = new Object();
i = 0;
while (i < bitSize) {
hashVal[hashIndex.charAt(i)] = i;
i++;
}
}
function verify(s) {
if (hashVal[s] != undefined) {
return(true);
}
return(false);
}
function encode(n, minchars) {
debug.lastencode = "";
if (typeof(i) != "string") {
n = n.toString();
}
if (n.charAt(0) == "-") {
var _local3 = "-";
n = n.substring(1);
} else {
var _local3 = "";
}
if (String(n).indexOf(".") > -1) {
var _local4 = String(n).split(".", 2);
return(((_local3 + baseNEncoder(_local4[0], minchars)) + ".") + baseNEncoder(_local4[1]));
}
debug.lastencode = debug.lastencode + "\tNo decimal\r";
return(_local3 + baseNEncoder(n, minchars));
}
function decode(s) {
var _local4 = 1;
if (s.charAt(0) == "-") {
_local4 = -1;
s = s.substring(1, s.length);
}
var _local3 = s.indexOf(".");
if (_local3 > -1) {
var _local5 = Math.pow(10, baseNDecoder(s.substring(_local3 + 1, s.length)));
return((baseNDecoder(s.substring(0, _local3)) / _local5) * _local4);
}
return(baseNDecoder(s) * _local4);
}
function baseNEncoder(n, minchars) {
if (!minchars) {
minchars = 1;
}
var _local4 = "";
while (n != 0) {
n = Math.round(n);
var _local3 = n % bitSize;
if (Math.round(_local3) != _local3) {
trace((((((((("BaseN failed on " + n) + "%") + bitSize) + " = ") + _local3) + " ") + int(n)) + " ") + int(bitSize));
}
_local4 = hashIndex.charAt(_local3) + _local4;
debug.lastencode = debug.lastencode + (((((((("\t-> n:" + n) + " % bitSize:") + bitSize) + " = ") + _local3) + ", final char=") + _local4) + newline);
n = n - _local3;
n = n / bitSize;
}
if (minchars) {
while (_local4.length < minchars) {
_local4 = hashIndex.charAt(0) + _local4;
}
}
return(_local4);
}
function baseNDecoder(s) {
var _local2 = 0;
var _local6 = 0;
i = 0;
while (i < s.length) {
var _local3 = s.charAt((s.length - i) - 1);
if (_local3 == hashIndex.charAt(0)) {
var _local5 = 0;
} else {
var _local5 = hashVal[_local3] * Math.pow(bitSize, i);
}
_local2 = _local2 + _local5;
if (_local2 >= ceiling) {
_local6 = _local6 + ((_local2 - (_local2 % ceiling)) / ceiling);
_local2 = _local2 % ceiling;
}
i++;
}
if (_local6 > 0) {
_local2 = "" + _local2;
while (_local2.length < (ceiling.toString().length - 1)) {
_local2 = "0" + _local2;
}
_local2 = ("" + _local6) + _local2;
}
return(_local2);
}
var debug = new Object();
}
Symbol 1028 MovieClip [__Packages.com.Newgrounds.NewgroundsAPIError] Frame 0
class com.Newgrounds.NewgroundsAPIError
{
var message, name, alias;
function NewgroundsAPIError (error, msg) {
if (Number(error).toString() == String(error)) {
error = Number(error);
} else if (error_codes[String(error)]) {
error = error_codes[String(error)];
} else {
error = 0;
}
code = error;
message = msg;
name = error_names[error];
alias = aliases[error];
}
static function init_codes() {
var _local2 = new Object();
var _local1 = 0;
while (_local1 < aliases.length) {
_local2[aliases[_local1]] = _local1;
_local1++;
}
return(_local2);
}
static function init_names() {
var _local5 = new Array();
var _local3 = 0;
while (_local3 < aliases.length) {
var _local2 = aliases[_local3].toLowerCase().split("_");
var _local1 = 0;
while (_local1 < _local2.length) {
_local2[_local1] = _local2[_local1].substr(0, 1).toUpperCase() + _local2[_local1].substr(1, _local2[_local1].length);
for (var _local4 in always_caps) {
if (_local2[_local1].toUpperCase() == always_caps[_local4]) {
_local2[_local1] = _local2[_local1].toUpperCase();
}
}
_local1++;
}
_local5[_local3] = _local2.join(" ");
_local3++;
}
return(_local5);
}
function isError() {
return(true);
}
static var aliases = new Array("UNKNOWN_ERROR", "INVALID_API_ID", "MISSING_PARAM", "INVALID_STAT_ID", "INVALID_COMMAND_ID", "FLASH_ADS_NOT_APPROVED", "PERMISSION_DENIED", "IDENTIFICATION_REQUIRED", "INVALID_EMAIL_ADDRESS", "BANNED_USER", "SESSION_EXPIRED", "INVALID_SCORE", "INVALID_MEDAL", "INVALID_FOLDER", "FILE_NOT_FOUND", "SITE_ID_REQUIRED", "UPLOAD_IN_PROGRESS", "USER_CANCELLED", "CONFIRM_REQUEST", "CONNECTION_FAILED");
static var always_caps = new Array("API", "URL", "ID");
static var error_codes = init_codes();
static var error_names = init_names();
var code = 0;
}
Symbol 1029 MovieClip [__Packages.com.Newgrounds.NewgroundsAPI] Frame 0
class com.Newgrounds.NewgroundsAPI
{
static var version, user_email, movie_id, debug, session_id, publisher_id, timeout, connected, tracker_id, encryption_key, user_id, user_name, host, error_format, normal_format, link_format, header_format, ad_url, ad_swf_url;
function NewgroundsAPI () {
}
static function setMovieVersion(v) {
if (v) {
version = String(v);
}
}
static function setUserEmail(e) {
user_email = e;
}
static function getOfficialVersionURL() {
var _local1 = (((((GATEWAY_URL + "?tracker_id=") + movie_id) + "&command_id=") + getCommandID("loadOfficalVersion")) + "&seed=") + Math.random();
if (debug) {
_local1 = _local1 + "&debug=1";
}
return(_local1);
}
static function hasUserSession() {
if (session_id && (publisher_id)) {
return(true);
}
if (_root.NewgroundsAPI_PublisherID && (_root.NewgroundsAPI_SessionID)) {
return(true);
}
return(false);
}
static function isNewgrounds() {
return(((publisher_id == 1) || (_root.NewgroundsAPI_PublisherID == 1)) || (getHost().toLowerCase().indexOf("ungrounded.net") > -1));
}
static function hasPublisher() {
return(publisher_id || (_root.NewgroundsAPI_PublisherID));
}
static function hasUserEmail() {
if (user_email) {
return(true);
}
return(false);
}
static function connectionTimeOut() {
clearInterval(timeout);
callListener(events.MOVIE_CONNECTED, false, new com.Newgrounds.NewgroundsAPIError("CONNECTION_FAILED", "Connection to NewgroundsAPI gateway timed out."));
}
static function connectMovie(m_id, encrypt_key, debug_mode) {
if (connected) {
return(undefined);
}
var _local2 = function () {
com.Newgrounds.NewgroundsAPI.connectionTimeOut();
};
timeout = setInterval(_local2, 8000, null);
if (!m_id) {
fatalError("NewgroundsAPI.connectMovie() - missing required movie_id parameter", "connectMovie");
}
movie_id = String(m_id);
tracker_id = Number(movie_id.substring(0, movie_id.indexOf(":")));
encryption_key = encrypt_key;
debug = debug_mode;
if (_root.NewgroundsAPI_PublisherID) {
publisher_id = _root.NewgroundsAPI_PublisherID;
if (_root.NewgroundsAPI_SessionID) {
session_id = _root.NewgroundsAPI_SessionID;
}
} else {
publisher_id = 1;
session_id = null;
user_id = 0;
user_name = "Guest";
}
if (_root.NewgroundsAPI_UserName) {
user_name = _root.NewgroundsAPI_UserName;
}
if (_root.NewgroundsAPI_UserID) {
user_id = _root.NewgroundsAPI_UserID;
}
connected = true;
sendCommand("connectMovie", {host:getHost(), movie_version:version});
}
static function getHost() {
if (!host) {
var _local1 = _url;
if ((_local1.indexOf("http://") > -1) or (_local1.indexOf("https://") > -1)) {
host = _local1.split("/")[2].toLowerCase();
} else {
host = "localhost";
}
}
return(host);
}
static function loadNewgrounds() {
sendCommand("loadNewgrounds", {host:getHost()}, true);
}
static function loadMySite() {
sendCommand("loadMySite", {host:getHost()});
}
static function loadCustomLink(link) {
sendCommand("loadCustomLink", {host:getHost(), link:link}, true);
}
static function logCustomEvent(event) {
sendCommand("logCustomEvent", {host:getHost(), event:event});
}
static function postScore(score, value, get_best) {
if ((!score) or (value == undefined)) {
sendError({command_id:getCommandID("postScore")}, new com.Newgrounds.NewgroundsAPIError("MISSING_PARAM", "missing required parameter(s)"));
return(undefined);
}
sendSecureCommand("postScore", {score:score, value:value, get_best:get_best});
}
static function getTodaysScores(score, params) {
getScores(score, "t", params, "getTodaysScores");
}
static function getYesterdaysScores(score, params) {
getScores(score, "y", params, "getYesterdaysScores");
}
static function getThisWeeksScores(score, params) {
getScores(score, "w", params, "getThisWeeksScores");
}
static function getThisMonthsScores(score, params) {
getScores(score, "m", params, "getThisMonthsScores");
}
static function getThisYearsScores(score, params) {
getScores(score, "y", params, "getThisYearsScores");
}
static function getAlltimeScores(score, params) {
getScores(score, "a", params, "getAlltimeScores");
}
static function getScores(score, period, params, command_name) {
if (!score) {
sendError({command_id:getCommandID(command_name)}, new com.Newgrounds.NewgroundsAPIError("MISSING_PARAM", "missing required score name"));
return(undefined);
}
if (!params) {
params = new Object();
}
if (!hasUserSession()) {
callListener(events.SCORES_LOADED, false, new com.Newgrounds.NewgroundsAPIError("SITE_ID_REQUIRED", ("Host '" + getHost()) + "' does not have high scores enabled"));
return(undefined);
}
params.publisher_id = publisher_id;
params.period = period;
params.score = score;
if (params.user_id) {
var _local3 = period;
} else {
var _local3 = period + "-u";
}
if (score_page_counts[_local3] == undefined) {
params.request_page_count = true;
}
sendCommand("getScores", params);
}
static function unlockMedal(medal, get_score) {
if (!medal) {
sendError({command_id:getCommandID("unlockMedal")}, new com.Newgrounds.NewgroundsAPIError("MISSING_PARAM", "missing required medal name"));
return(undefined);
}
var _local1 = new Object();
_local1.medal = medal;
if (get_score) {
_local1.get_score = get_score;
}
sendSecureCommand("unlockMedal", _local1);
}
static function loadMedals() {
if (medals) {
callListener(events.MEDALS_LOADED, true, {medals:medals});
return(undefined);
}
var _local1 = new Object();
if (hasUserSession()) {
_local1.publisher_id = publisher_id;
_local1.user_id = user_id;
}
sendCommand("getMedals", _local1);
}
static function getMedals() {
return(medals);
}
static function saveLocal(save_id, save_data, size_allocation) {
if (!sharedObjects[save_id]) {
sharedObjects[save_id] = SharedObject.getLocal((("ng_ap_secure_" + movie_id) + "_") + save_id);
}
sharedObjects[save_id].data[save_id] = encodeData(save_data);
sharedObjects[save_id].flush();
}
static function loadLocal(save_id) {
if (!sharedObjects[save_id]) {
sharedObjects[save_id] = SharedObject.getLocal((("ng_ap_secure_" + movie_id) + "_") + save_id);
}
sharedObjects[save_id].flush();
if (sharedObjects[save_id].data[save_id]) {
return(decodeData(sharedObjects[save_id].data[save_id]));
}
return(null);
}
static function encodeData(data) {
return(compressHex(com.Newgrounds.RC4.encrypt(com.Newgrounds.JSON.encode(data), encryption_key)));
}
static function decodeData(base) {
return(com.Newgrounds.JSON.decode(com.Newgrounds.RC4.decrypt(uncompressHex(base), encryption_key)));
}
static function compressHex(hex_value) {
var _local5 = hex_value.length % 6;
var _local4 = "";
var _local1 = 0;
while (_local1 < hex_value.length) {
var _local2 = Number("0x" + hex_value.substr(_local1, 6));
_local4 = _local4 + compressor.encode(_local2, 4);
_local1 = _local1 + 6;
}
return(_local5 + _local4);
}
static function uncompressHex(base_value) {
var _local8 = Number(base_value.charAt(0));
var _local7 = "";
var _local3;
var _local2 = 1;
while (_local2 < base_value.length) {
var _local6 = base_value.substr(_local2, 4);
var _local5 = compressor.decode(_local6);
var _local1 = dec2hex(_local5);
if ((_local2 + 4) < base_value.length) {
_local3 = 6;
} else {
_local3 = _local8;
}
while (_local1.length < _local3) {
_local1 = "0" + _local1;
}
_local7 = _local7 + _local1;
_local2 = _local2 + 4;
}
return(_local7);
}
static function dec2hex(dec) {
var _local4 = "0123456789ABCDEF";
var _local3 = "";
while (dec > 0) {
var _local2 = dec % 16;
_local3 = _local4.charAt(_local2) + _local3;
dec = (dec - _local2) / 16;
}
return(_local3);
}
static function saveFile(folder, filename, contents, thumbnail_source) {
if (!save_file) {
save_file = new com.Newgrounds.NewgroundsAPISaveFile(movie_id, folder, filename);
save_file.setContents(contents);
if (thumbnail_source) {
save_file.setThumbnail(thumbnail_source);
}
save_file.onError = function (msg) {
var _local1 = new com.Newgrounds.NewgroundsAPIError("PERMISSION_DENIED", msg);
com.Newgrounds.NewgroundsAPI.sendError({command_id:com.Newgrounds.NewgroundsAPI.getCommandID("saveFile")}, _local1);
com.Newgrounds.NewgroundsAPI.callListener(com.Newgrounds.NewgroundsAPI.events.FILE_SAVED, false, _local1);
};
save_file.onCancel = function (msg) {
var _local1 = new com.Newgrounds.NewgroundsAPIError("USER_CANCELLED", msg);
com.Newgrounds.NewgroundsAPI.callListener(com.Newgrounds.NewgroundsAPI.events.FILE_SAVED, false, _local1);
};
save_file.submit();
} else {
var _local1 = new com.Newgrounds.NewgroundsAPIError("UPLOAD_IN_PROGRESS", "Please wait for the previous file to finish uploading");
sendError({command_id:getCommandID("saveFile")}, _local1);
callListener(events.FILE_SAVED, false, _local1);
}
}
static function checkFilePrivs(folder, filename) {
if (user_id) {
var _local1 = user_id;
} else {
var _local1 = 0;
}
var _local2 = {folder:folder, filename:filename, user_id:_local1, publisher_id:publisher_id};
sendCommand("checkFilePrivs", _local2);
}
static function finishFileSave(folder, filename, description, share, file, thumbnail) {
var _local2;
_local2 = {folder:folder, filename:filename, description:description, share:share};
var _local1;
_local1 = {file:file, thumbnail:thumbnail};
sendSecureCommand("saveFile", _local2, null, _local1);
}
static function getFiles(folder, options) {
var _local7 = {name:1, date:2, score:3};
var _local2 = {user_only:false, sort_on:"date", page:1, results_per_page:20, sort_descending:true};
var _local6 = new Array();
for (var _local10 in _local7) {
_local6.push(("'" + _local10) + "'");
}
var _local4 = new Array();
for (var _local9 in _local2) {
_local4.push(("'" + _local9) + "'");
}
if (options.sort_descending && (!_local7[options.sort_descending])) {
var _local3 = new com.Newgrounds.NewgroundsAPIError("MISSING_PARAM", (("'" + options.sort_descending) + "' is not a valid sort_on value. Valid values are: ") + _local6.join(", "));
sendError({command_id:getCommandID("getFiles")}, _local3);
delete options.sort_descending;
}
var _local8;
if (options) {
for (var _local10 in options) {
if (_local2[_local10] == undefined) {
var _local3 = new com.Newgrounds.NewgroundsAPIError("MISSING_PARAM", (("'" + _local10) + "' is not a valid option. Valid options are: ") + _local4.join(", "));
sendError({command_id:getCommandID("getFiles")}, _local3);
delete options[_local10];
} else if (typeof(options[_local10]) != typeof(_local2[_local10])) {
var _local3 = new com.Newgrounds.NewgroundsAPIError("MISSING_PARAM", (("option '" + _local10) + "' should be the following type: ") + typeof(_local2[_local10]));
sendError({command_id:getCommandID("getFiles")}, _local3);
delete options[_local10];
}
}
_local8 = options;
} else {
_local8 = new Object();
}
if (hasUserSession()) {
_local8.publisher_id = publisher_id;
_local8.user_id = user_id;
}
_local8.folder = folder;
sendCommand("getFiles", _local8);
}
static function getConfirmation(command_name, event, msg, target, confirm, cancel) {
var _local1 = new com.Newgrounds.NewgroundsAPIError("CONFIRM_REQUEST", msg);
_local1.confirm = function () {
target[confirm]();
};
_local1.cancel = function () {
target[cancel]();
};
_local1.command = getCommandID(command_name);
callListener(event, false, _local1);
}
static function doBlockHost(event) {
_root.stop();
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 " + getHost()) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + event.data.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 = event.data.redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function onNewVersionAvailable(event) {
_root.stop();
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 " + event.data.movie_version) + " is now available at:") + newline;
var _local6 = _local3.length;
_local3 = _local3 + event.data.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 = event.data.redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local6, _local4, link_format);
}
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 doEvent(e) {
switch (getCommandName(e.command_id)) {
case "connectMovie" :
clearInterval(timeout);
sendMessage("You have successfully connected to the Newgrounds API Gateway");
sendMessage(("Movie identified as \"" + e.movie_name) + "\"");
callListener(events.MOVIE_CONNECTED, e.success, {movie_name:e.movie_name});
var _local4 = false;
if (e.ad_status === -1) {
var _local6 = "This movie was not approved to run Flash Ads.";
sendWarning(_local6);
sendWarning(("visit " + AD_TERMS_URL) + " to view our approval guidelines");
if (!e.ad_url) {
callListener(events.ADS_APPROVED, false, new com.Newgrounds.NewgroundsAPIError("FLASH_ADS_NOT_APPROVED", _local6));
} else {
_local4 = true;
}
} else if (e.ad_status === 0) {
var _local6 = "Flash Ads are currently awaiting approval.";
sendNotice(_local6);
if (!e.ad_url) {
callListener(events.ADS_APPROVED, false, new com.Newgrounds.NewgroundsAPIError("FLASH_ADS_NOT_APPROVED", _local6));
} else {
_local4 = true;
}
}
if (e.ad_url) {
ad_url = unescape(e.ad_url);
if (!_local4) {
sendMessage("This movie has been approved to run Flash Ads!");
}
callListener(events.ADS_APPROVED, true);
}
if (e.deny_host) {
var _local6 = getHost() + " does not have permission to run this movie!";
sendWarning(_local6);
sendWarning("\tUpdate your API configuration to unblock " + getHost());
callListener(events.HOST_BLOCKED, true, {movie_url:unescape(e.movie_url), redirect_url:getOfficialVersionURL()});
}
if (e.movie_version) {
sendWarning("According to your API Configuration, this version is out of date.");
if (version) {
sendWarning("\tThe this movie is version " + version);
}
sendWarning("\tThe most current version is " + e.movie_version);
callListener(events.NEW_VERSION_AVAILABLE, true, {movie_version:e.movie_version, movie_url:unescape(e.movie_url), redirect_url:getOfficialVersionURL()});
}
if (e.request_portal_url) {
sendCommand("setPortalID", {portal_url:_url});
}
break;
case "logCustomEvent" :
if (e.success) {
sendMessage(("Event '" + e.event) + "' was logged.");
}
callListener(events.EVENT_LOGGED, e.success, {event:e.event});
break;
case "postScore" :
var _local7;
if (e.success) {
var _local3 = "User";
if (user_email) {
_local3 = user_email;
} else if (user_name) {
_local3 = user_name;
}
sendMessage(((((_local3 + " posted ") + e.value) + " to '") + e.score) + "'");
_local7 = {score:e.score, value:e.value, username:_local3};
}
callListener(events.SCORE_POSTED, e.success, _local7);
break;
case "getScores" :
_local7 = new Object();
if (e.user_id) {
var _local5 = e.period;
} else {
var _local5 = e.period + "-u";
}
if (e.total_pages) {
score_page_counts[_local5] = e.total_pages;
}
_local7.user_id = e.user_id;
_local7.current_page = e.current_page;
_local7.total_pages = score_page_counts[_local5];
_local7.scores = e.scores;
_local7.period = getPeriodName(e.period);
callListener(events.SCORES_LOADED, e.success, _local7);
break;
case "unlockMedal" :
if (medals) {
var _local2 = 0;
while (_local2 < medals.length) {
if (medals[_local2].medal_name === e.medal_name) {
medals[_local2].medal_unlocked = true;
break;
}
_local2++;
}
}
_local7 = {medal_name:e.medal_name, medal_value:e.medal_value, medal_difficulty:e.medal_difficulty};
callListener(events.MEDAL_UNLOCKED, e.success, _local7);
break;
case "getMedals" :
medals = e.medals;
_local7 = {medals:e.medals};
callListener(events.MEDALS_LOADED, e.success, _local7);
break;
case "getFiles" :
break;
case "getSystemFiles" :
break;
case "saveFile" :
save_file = null;
_local7 = {file_id:e.file_id, filename:e.filename, file_url:e.file_url, thumbnail:e.thumbnail, icon:e.icon};
callListener(events.FILE_SAVED, e.success, _local7);
break;
case "checkFilePrivs" :
if (save_file) {
save_file.checkPrivs(e);
} else {
_local7 = {filename:e.filename, folder:e.folder, can_read:e.can_read, can_write:e.can_write};
callListener(events.FILE_PRIVS_LOADED, e.success, _local7);
}
}
}
static function setDefaultListeners() {
var _local1 = new Array();
_local1[events.HOST_BLOCKED] = {listener:doBlockHost};
_local1[events.NEW_VERSION_AVAILABLE] = {listener:onNewVersionAvailable};
return(_local1);
}
static function addEventListener(event, listener, params) {
listeners[event] = {listener:listener, params:params};
}
static function removeEventListener(event) {
delete listeners[event];
}
static function getEventName(event) {
for (var _local2 in events) {
if (events[_local2] == event) {
return(_local2);
}
}
return(undefined);
}
static function callListener(event, success, data, target) {
echo("Fired Event: " + getEventName(event));
if (listeners[event]) {
if (data.isError()) {
listeners[event].listener({event:event, success:success, error:data, target:target}, listeners[event].params);
} else {
listeners[event].listener({event:event, success:success, data:data, target:target}, listeners[event].params);
}
}
}
static function getCommandName(id) {
return(id);
}
static function getCommandID(name) {
return(name);
}
static function getPeriodAliases() {
var _local1 = new Object();
for (var _local2 in period_aliases) {
_local1[period_aliases[_local2].alias] = _local2;
}
return(_local1);
}
static function getPeriodName(p) {
for (var _local2 in period_aliases) {
if (_local2 == p) {
return(period_aliases[_local2].name);
}
}
return(null);
}
static function getPeriodAlias(p) {
for (var _local2 in period_aliases) {
if (_local2 == p) {
return(period_aliases[_local2].alias);
}
}
return(null);
}
static function sendError(c, e) {
trace((((((("[NewgroundsAPI ERROR] :: " + getCommandName(c.command_id)) + "() - ") + e.name) + ":") + newline) + "\t\t\t\t") + e.message);
}
static function sendWarning(m, c) {
if (c) {
m = m + ((("\r[NewgroundsAPI WARNING] :: \tSee " + COMMANDS_WIKI_URL) + c.toLowerCase()) + " for additional information.");
}
trace("[NewgroundsAPI WARNING] :: " + m);
}
static function sendNotice(m, c) {
if (c) {
m = m + ((("\r[NewgroundsAPI NOTICE] :: \tSee " + COMMANDS_WIKI_URL) + c.toLowerCase()) + " for additional information.");
}
trace("[NewgroundsAPI NOTICE] :: " + m);
}
static function fatalError(m, c) {
if (c) {
m = m + ((("\r\tSee " + COMMANDS_WIKI_URL) + c.toLowerCase()) + " for additional information.");
}
throw (((("***ERROR*** frame=" + _root._currentframe) + ", class=NewgroundsAPI") + newline) + newline) + m;
}
static function sendSecureCommand(command, secure_params, unsecure_params, files) {
if (((!debug) && (!hasUserSession())) && (!hasUserEmail())) {
sendError({command_id:getCommandID(command)}, new com.Newgrounds.NewgroundsAPIError("IDENTIFICATION_REQUIRED", ("You must be logged in or provide an e-mail address ( using NewgroundsAPI.setUserEmail(\"name@domain.com\"); ) to use " + command) + "()."));
return(undefined);
}
if (!command) {
fatalError("Missing command", "sendSecureCommand");
}
if (!secure_params) {
fatalError("Missing secure_params", "sendSecureCommand");
}
if (!unsecure_params) {
unsecure_params = new Object();
}
var _local2 = "";
var _local1 = 0;
while (_local1 < 16) {
_local2 = _local2 + compression_radix.charAt(Math.floor(Math.random() * compression_radix.length));
_local1++;
}
if (debug) {
secure_params.session_id = "";
} else {
secure_params.session_id = session_id;
}
secure_params.as_version = 2;
secure_params.user_email = user_email;
secure_params.publisher_id = publisher_id;
secure_params.seed = _local2;
secure_params.command_id = getCommandID(command);
var _local8 = com.Newgrounds.MD5.calculate(_local2);
var _local6 = com.Newgrounds.RC4.encrypt(com.Newgrounds.JSON.encode(secure_params), encryption_key);
var _local7 = _local8 + _local6;
unsecure_params.secure = compressHex(_local7);
sendCommand("securePacket", unsecure_params, false, files);
}
static function sendCommand(command, params, open_browser, files) {
if ((!connected) and (command != "connectMovie")) {
var _local11 = (("NewgroundsAPI." + command) + "() - NewgroundsAPI.connectMovie() must be called before this command can be called") + newline;
fatalError(_local11, "connectMovie");
}
if (open_browser) {
var _local1 = new Object();
} else {
var _local1 = new LoadVars();
}
_local1.command_id = getCommandID(command);
_local1.tracker_id = movie_id;
if (debug) {
_local1.debug = debug;
}
if (params) {
for (var _local8 in params) {
_local1[_local8] = params[_local8];
}
}
if (files) {
for (var _local8 in files) {
_local1[_local8] = files[_local8];
}
}
echo(("OUTPUT: \r" + com.Newgrounds.JSON.encode(_local1)) + newline);
if (open_browser) {
var _local5 = (GATEWAY_URL + "?seed=") + Math.random();
for (var _local8 in _local1) {
_local5 = _local5 + ((("&" + escape(_local8)) + "=") + escape(_local1[_local8]));
}
getURL (_local5, "_blank");
_local1.removeMovieClip();
} else {
var _local9 = new LoadVars();
_local9.onData = function (data) {
com.Newgrounds.NewgroundsAPI.echo(("INPUT: \r" + data) + newline);
if (data) {
var _local1 = com.Newgrounds.JSON.decode(data);
} else {
var _local1 = {success:false};
}
if (!_local1.success) {
var _local3 = new com.Newgrounds.NewgroundsAPIError(_local1.error_code, _local1.error_msg);
com.Newgrounds.NewgroundsAPI.sendError(_local1, _local3);
} else {
com.Newgrounds.NewgroundsAPI.doEvent(_local1);
}
};
var _local4 = new Array();
for (var _local7 in _local1) {
_local4.push((_local7 + "=") + escape(_local1[_local7]));
}
echo((("POST " + GATEWAY_URL) + "?") + _local4.join("&"));
_local1.sendAndLoad((GATEWAY_URL + "?seed=") + Math.random(), _local9, "POST");
}
}
static function renderAd(target) {
if (ad_swf_url) {
target.background = target.createEmptyMovieClip("background", 100);
target.background.beginFill(0);
target.background.moveTo(0, 0);
target.background.lineTo(300, 0);
target.background.lineTo(300, 250);
target.background.lineTo(0, 250);
target.background.lineTo(0, 0);
target.background.endFill();
target.mask = target.createEmptyMovieClip("mask", 101);
target.mask.beginFill(0);
target.mask.moveTo(0, 0);
target.mask.lineTo(300, 0);
target.mask.lineTo(300, 250);
target.mask.lineTo(0, 250);
target.mask.lineTo(0, 0);
target.mask.endFill();
target.clip = target.createEmptyMovieClip("clip", 102);
target.clip.ad = target.clip.createEmptyMovieClip("ad", 100);
target.clip.setMask(target.mask);
loadMovie (ad_swf_url, target.clip.ad);
callListener(events.AD_ATTACHED, true, null, target);
} else {
callListener(events.AD_ATTACHED, false, new com.Newgrounds.NewgroundsAPIError("FLASH_ADS_NOT_APPROVED", "Unable to render ad"));
}
}
static function attachFlashAd(target) {
System.security.allowDomain("http://server.cpmstar.com");
System.security.allowDomain("http://www.cpmstar.com");
System.security.allowDomain("https://server.cpmstar.com");
System.security.allowDomain("https://www.cpmstar.com");
System.security.allowInsecureDomain("http://server.cpmstar.com");
System.security.allowInsecureDomain("http://www.cpmstar.com");
System.security.allowInsecureDomain("https://server.cpmstar.com");
System.security.allowInsecureDomain("https://www.cpmstar.com");
sendMessage("You may get a security sandbox violation from this ad. This is nothing to worry about!");
if (resetAdTimer()) {
if (ad_url) {
var _local1 = new LoadVars();
_local1.onData = function (data) {
if (data) {
com.Newgrounds.NewgroundsAPI.ad_swf_url = data;
} else {
com.Newgrounds.NewgroundsAPI.ad_swf_url = null;
}
com.Newgrounds.NewgroundsAPI.renderAd(target);
};
if (ad_url.indexOf("?") > -1) {
_local1.load((ad_url + "&random=") + Math.random());
} else {
_local1.load((ad_url + "?random=") + Math.random());
}
}
} else {
renderAd(target);
}
}
static function resetAdTimer() {
if (!ad_url) {
return(false);
}
var _local1 = new Date();
if (_local1.getTime() >= ad_reset) {
ad_reset = _local1.getTime() + 300000;
return(true);
}
return(false);
}
static function sendMessage(m, r) {
var _local1 = "[NewgroundsAPI] :: " + m;
if (r) {
return(_local1);
}
trace(_local1);
}
static function echo(m) {
if (do_echo) {
trace(m);
}
}
static var do_echo = false;
static var GATEWAY_URL = "http://www.ngads.com/gateway_v2.php";
static var AD_TERMS_URL = "http://www.newgrounds.com/wiki/flashads/terms/";
static var COMMANDS_WIKI_URL = "http://www.newgrounds.com/wiki/flashapi/commands/";
static var ad_reset = 0;
static var save_file = null;
static var medals = null;
static var score_page_counts = new Object();
static var compression_radix = "/g8236klvBQ#&|;Zb*7CEA59%s`Oue1wziFp$rDVY@TKxUPWytSaGHJ>dmoMR^<0~4qNLhc(I+fjn)X";
static var compressor = new com.Newgrounds.BaseN(compression_radix);
static var errors = com.Newgrounds.NewgroundsAPIError.init_codes();
static var sharedObjects = new Object();
static var events = {MOVIE_CONNECTED:1, ADS_APPROVED:2, AD_ATTACHED:3, HOST_BLOCKED:4, NEW_VERSION_AVAILABLE:5, EVENT_LOGGED:6, SCORE_POSTED:7, SCORES_LOADED:8, MEDAL_UNLOCKED:9, MEDALS_LOADED:10, FILE_PRIVS_LOADED:11, FILE_SAVED:12};
static var listeners = setDefaultListeners();
static var periods = getPeriodAliases();
static var period_aliases = {t:{name:"Today", alias:"TODAY"}, p:{name:"Yesterday", alias:"YESTERDAY"}, w:{name:"This Week", alias:"THIS_WEEK"}, m:{name:"This Month", alias:"THIS_MONTH"}, y:{name:"This Year", alias:"THIS_YEAR"}, a:{name:"All-Time", alias:"ALL_TIME"}};
}
Symbol 1030 MovieClip [__Packages.com.Newgrounds.NewgroundsAPISaveFile] Frame 0
class com.Newgrounds.NewgroundsAPISaveFile
{
var tracker_id, folder, filename, contents, thumbnail, icon_url, thumbnail_url, description, scan, scanner;
function NewgroundsAPISaveFile (tracker_id, folder, filename) {
this.tracker_id = tracker_id;
this.folder = folder;
this.filename = filename;
contents = null;
thumbnail = null;
icon_url = null;
thumbnail_url = null;
}
function setDescription(description) {
this.description = description;
}
function setShared(share) {
this.share = share;
}
function setContents(contents) {
this.contents = contents;
}
function setThumbnail(thumb) {
if (thumb) {
thumbnail = thumb;
} else {
thumbnail = null;
}
}
function onError(msg) {
trace("[NewgroundsAPISaveFile ERROR] :: " + msg);
}
function onCancel(msg) {
trace("[NewgroundsAPISaveFile] :: " + msg);
}
function submit() {
scan = null;
com.Newgrounds.NewgroundsAPI.checkFilePrivs(folder, filename);
}
function checkPrivs(p) {
if (p.success) {
if (p.can_write) {
can_write = p.can_write;
if (p.exists) {
com.Newgrounds.NewgroundsAPI.getConfirmation("saveFile", com.Newgrounds.NewgroundsAPI.events.FILE_SAVED, ("File '" + filename) + "' exists, overwrite?", this, "startFile", "cancelFile");
} else {
startFile();
}
} else {
onError("This filename is owned by another user.");
}
} else {
onError("There was a problem looking up your file's details");
}
}
function cancelFile() {
onCancel("Overwrite was cancelled");
}
function startFile() {
if (can_write) {
if (thumbnail) {
scanner = new com.Newgrounds.ImageScanner(thumbnail);
scanner.setCallback(this, "writeFile");
scanner.startScan(100, 100, true);
} else {
writeFile();
}
} else {
onError(("You cannot write to filename \"" + filename) + "\"");
}
}
function writeFile(img) {
trace("FINISHED");
com.Newgrounds.NewgroundsAPI.finishFileSave(folder, filename, description, share, com.Newgrounds.JSON.encode(contents), img);
}
var can_write = false;
var share = true;
}
Symbol 1031 MovieClip [__Packages.com.Newgrounds.ImageScanner] Frame 0
class com.Newgrounds.ImageScanner
{
var image_source, source_width, source_height, sourceBitmap, callback_target, callback_function, hash, cube, basen, xpos, ypos, pixels, busy, canvas_width, canvas_height, resizedBitmap, copyBitmap, output, draw_interval, callback_interval;
function ImageScanner (the_source) {
if (the_source) {
image_source = the_source;
} else {
image_source = _root;
}
reset();
if (typeof(image_source) == "movieclip") {
if (image_source == _root) {
source_width = Stage.width;
source_height = Stage.height;
} else {
source_width = Math.floor(image_source._width);
source_height = Math.floor(image_source._height);
}
sourceBitmap = new flash.display.BitmapData(source_width, source_height, false, 4294967295);
sourceBitmap.draw(_root);
} else if (image_source.width) {
source_width = image_source.width;
source_height = image_source.height;
sourceBitmap = image_source;
} else {
error("You can only use BitMaptData and MovieClip objects to create images");
}
}
function setCallback(target, funct) {
if (target && (funct)) {
callback_target = target;
callback_function = funct;
}
}
function reset() {
callback_target = null;
callback_function = null;
debug.bad_pixels = 0;
hash = "0123456789aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ<>?:;-_=+()!&";
var _local3 = Math.pow(hash.length, 2);
trace("MAX COLORS: " + _local3);
var _local2 = Math.floor(Math.pow(_local3, 0.333333333333333)) - 1;
var _local4 = Math.pow(_local2, 3);
cube = _local2;
basen = new com.Newgrounds.BaseN(hash);
xpos = 0;
ypos = 0;
pixels = 0;
busy = false;
}
function startScan(w, h, s) {
if (w) {
image_width = w;
}
if (h) {
image_height = h;
}
if (s != undefined) {
crop = s;
}
var _local7 = _root.getNextHighestDepth();
var _local6 = _root.createEmptyMovieClip("API_image_container_" + _local7, _local7);
var _local5 = _local6.createEmptyMovieClip("canvas", 100);
_local5.attachBitmap(sourceBitmap, 100);
if (crop) {
if ((image_width / source_width) > (image_height / source_height)) {
canvas_width = image_width;
canvas_height = Math.ceil(source_height * (image_width / source_width));
} else {
canvas_height = image_height;
canvas_width = Math.ceil(source_width * (image_height / source_height));
}
} else {
canvas_width = image_width;
canvas_height = image_height;
}
_local5._x = Math.round((image_width - canvas_width) / 2);
_local5._width = canvas_width;
_local5._height = canvas_height;
resizedBitmap = new flash.display.BitmapData(image_width, image_height, false, 4294967295);
resizedBitmap.draw(_local6);
_local6.removeMovieClip();
copyBitmap = new flash.display.BitmapData(image_width, image_height, false, 4294967295);
var _local3 = "" + image_width;
while (_local3.length < 3) {
_local3 = "0" + _local3;
}
var _local4 = "" + image_height;
while (_local4.length < 3) {
_local4 = "0" + _local4;
}
output = _local3 + _local4;
draw_interval = setInterval(this, "drawChunk", 10);
busy = false;
return(resizedBitmap);
}
function getBitmapData() {
return(copyBitmap);
}
function getBytesTotal() {
return((image_width * image_height) * 2);
}
function getBytesScanned() {
return(pixels * 2);
}
function drawChunk() {
if (!busy) {
busy = true;
var _local2 = 0;
while (_local2 < 250) {
if (!nextPixel()) {
clearInterval(draw_interval);
callback_interval = setInterval(this, "doCallback", 25);
busy = true;
break;
}
_local2++;
}
busy = false;
}
}
function doCallback() {
busy = false;
clearInterval(callback_interval);
if (callback_target and callback_function) {
callback_target[callback_function](output);
} else {
onScanComplete(output);
}
}
function onScanComplete(packet) {
sendMessage(("packet size: " + output.length) + " bytes", "onScanComplete");
}
function nextPixel() {
var _local15 = xpos;
var _local14 = ypos;
var _local7 = resizedBitmap.getPixel(_local15, _local14);
var _local17 = (_local7 >> 16) & 255;
var _local20 = (_local7 >> 8) & 255;
var _local16 = (_local7 >> 0) & 255;
var _local11 = Math.round(((_local17 + 1) / 256) * cube);
var _local10 = Math.round(((_local20 + 1) / 256) * cube);
var _local13 = Math.round(((_local16 + 1) / 256) * cube);
var _local12 = (((_local11 * (cube + 1)) * (cube + 1)) + (_local10 * (cube + 1))) + _local13;
var _local6 = basen.encode(_local12, 2);
output = output + _local6;
if (_local6.length != 2) {
trace("bad pixel " + _local6);
}
var _local5 = basen.decode(_local6);
var _local18 = _local5;
var _local8 = _local5 % (cube + 1);
_local5 = (_local5 - _local8) / (cube + 1);
var _local9 = _local5 % (cube + 1);
var _local19 = (_local5 - _local9) / (cube + 1);
if (((_local13 != _local8) and (_local10 != _local9)) and (_local11 != _local10)) {
debug.bad_pixels++;
trace((((((("BAD PIXEL " + debug.bad_pixels) + ") ") + _local12) + " != ") + _local18) + " ") + _local6);
trace(basen.debug.lastencode);
}
var _local2 = Math.round((_local19 / cube) * 255).toString(16);
var _local4 = Math.round((_local9 / cube) * 255).toString(16);
var _local3 = Math.round((_local8 / cube) * 255).toString(16);
while (_local2.length < 2) {
_local2 = "0" + _local2;
}
while (_local4.length < 2) {
_local4 = "0" + _local4;
}
while (_local3.length < 2) {
_local3 = "0" + _local3;
}
copyBitmap.setPixel(_local15, _local14, Number((("0x" + _local2) + _local4) + _local3));
pixels++;
if (pixels >= (image_width * image_height)) {
return(false);
}
xpos++;
if (xpos >= image_width) {
xpos = 0;
ypos++;
}
return(true);
}
function error(e, f) {
sendMessage(e, f, "ERROR");
}
function sendMessage(msg, func, type) {
var _local1 = "ImageScanner";
if (func) {
_local1 = _local1 + (("." + func) + "()");
}
if (type) {
_local1 = (type + " in ") + _local1;
}
_local1 = _local1 + (" :: " + msg);
trace(_local1);
}
var image_width = 100;
var image_height = 100;
var crop = true;
var debug = new Object();
}
Symbol 1032 MovieClip [__Packages.com.Newgrounds.JSON] Frame 0
class com.Newgrounds.JSON
{
function JSON () {
}
static function encode(arg, noquotes) {
var _local3;
var _local2;
var _local6;
var _local1 = "";
var _local4;
if (arg.isSServerVar()) {
var _local8 = "sservervariable";
} else {
var _local8 = typeof(arg);
}
switch (_local8) {
case "sservervariable" :
return("?" + arg.getEncodedValue());
case "object" :
if (arg) {
if (arg instanceof Array) {
_local2 = 0;
while (_local2 < arg.length) {
_local4 = encode(arg[_local2]);
if (_local1) {
_local1 = _local1 + ",";
}
_local1 = _local1 + _local4;
_local2++;
}
return(("[" + _local1) + "]");
}
if (typeof(arg.toString) != "undefined") {
for (_local2 in arg) {
_local4 = arg[_local2];
if ((typeof(_local4) != "undefined") && (typeof(_local4) != "function")) {
_local4 = encode(_local4);
if (_local1) {
_local1 = _local1 + ",";
}
_local1 = _local1 + ((encode(_local2) + ":") + _local4);
}
}
return(("{" + _local1) + "}");
}
}
return("null");
case "number" :
return((isFinite(arg) ? (String(arg)) : "null"));
case "string" :
_local6 = arg.length;
if (noquotes) {
var _local7 = "";
} else {
var _local7 = "\"";
}
_local1 = _local7;
_local2 = 0;
while (_local2 < _local6) {
_local3 = arg.charAt(_local2);
if (_local3 >= " ") {
if ((_local3 == "\\") || (_local3 == "\"")) {
_local1 = _local1 + "\\";
}
_local1 = _local1 + _local3;
} else {
switch (_local3) {
case "\b" :
_local1 = _local1 + "\\b";
break;
case "\f" :
_local1 = _local1 + "\\f";
break;
case newline :
_local1 = _local1 + "\\n";
break;
case "\r" :
_local1 = _local1 + "\\r";
break;
case "\t" :
_local1 = _local1 + "\\t";
break;
default :
_local3 = _local3.charCodeAt();
_local1 = _local1 + (("\\u00" + Math.floor(_local3 / 16).toString(16)) + (_local3 % 16).toString(16));
}
}
_local2 = _local2 + 1;
}
return(_local1 + _local7);
case "boolean" :
return(String(arg));
}
return("null");
}
static function decode(text) {
var at = 0;
var ch = " ";
var _value;
var _error = function (m) {
throw {name:"JSONError", message:m, at:at - 1, text:text};
};
var _next = function () {
ch = text.charAt(at);
at = at + 1;
return(ch);
};
var _white = function () {
while (ch) {
if (ch <= " ") {
_next();
} else if (ch == "/") {
switch (_next()) {
case "/" :
while ((_next() && (ch != newline)) && (ch != "\r")) {
}
break;
case "*" :
_next();
for(;;){
if (ch) {
if (ch == "*") {
if (_next() == "/") {
_next();
// unexpected jump
}
} else {
_next();
}
} else {
_error("Unterminated comment");
}
};
break;
default :
_error("Syntax error");
}
} else {
return;
}
}
};
var _string = function () {
var _local4;
var _local1 = "";
var _local3;
var _local2;
var _local5 = false;
if (ch == "\"") {
while (_next()) {
if (ch == "\"") {
_next();
return(_local1);
}
if (ch == "\\") {
switch (_next()) {
case "b" :
_local1 = _local1 + "\b";
break;
case "f" :
_local1 = _local1 + "\f";
break;
case "n" :
_local1 = _local1 + newline;
break;
case "r" :
_local1 = _local1 + "\r";
break;
case "t" :
_local1 = _local1 + "\t";
break;
case "u" :
_local2 = 0;
_local4 = 0;
while (_local4 < 4) {
_local3 = parseInt(_next(), 16);
if (!isFinite(_local3)) {
_local5 = true;
break;
}
_local2 = (_local2 * 16) + _local3;
_local4 = _local4 + 1;
}
if (_local5) {
_local5 = false;
break;
}
_local1 = _local1 + String.fromCharCode(_local2);
break;
default :
_local1 = _local1 + ch;
}
} else {
_local1 = _local1 + ch;
}
}
}
_error("Bad string");
};
var _array = function () {
var _local1 = [];
if (ch == "[") {
_next();
_white();
if (ch == "]") {
_next();
return(_local1);
}
while (ch) {
_local1.push(_value());
_white();
if (ch == "]") {
_next();
return(_local1);
}
if (ch != ",") {
break;
}
_next();
_white();
}
}
_error("Bad array");
};
var _object = function () {
var _local2;
var _local1 = {};
if (ch == "{") {
_next();
_white();
if (ch == "}") {
_next();
return(_local1);
}
while (ch) {
_local2 = _string();
_white();
if (ch != ":") {
break;
}
_next();
_local1[_local2] = _value();
_white();
if (ch == "}") {
_next();
return(_local1);
}
if (ch != ",") {
break;
}
_next();
_white();
}
}
_error("Bad object");
};
var _number = function () {
var _local1 = "";
var _local2;
if (ch == "-") {
_local1 = "-";
_next();
}
while ((ch >= "0") && (ch <= "9")) {
_local1 = _local1 + ch;
_next();
}
if (ch == ".") {
_local1 = _local1 + ".";
while ((_next() && (ch >= "0")) && (ch <= "9")) {
_local1 = _local1 + ch;
}
}
_local2 = 1 * _local1;
if (!isFinite(_local2)) {
_error("Bad number");
} else {
return(_local2);
}
};
var _word = function () {
switch (ch) {
case "t" :
if (((_next() == "r") && (_next() == "u")) && (_next() == "e")) {
_next();
return(true);
}
break;
case "f" :
if ((((_next() == "a") && (_next() == "l")) && (_next() == "s")) && (_next() == "e")) {
_next();
return(false);
}
break;
case "n" :
if (!(((_next() == "u") && (_next() == "l")) && (_next() == "l"))) {
break;
}
_next();
return(null);
}
_error("Syntax error");
};
_value = function () {
_white();
switch (ch) {
case "{" :
return(_object());
case "[" :
return(_array());
case "\"" :
return(_string());
case "-" :
return(_number());
}
return((((ch >= "0") && (ch <= "9")) ? (_number()) : (_word())));
};
return(_value());
}
}
Symbol 1033 MovieClip [__Packages.com.Newgrounds.RC4] Frame 0
class com.Newgrounds.RC4
{
function RC4 () {
}
static function encrypt(src, key) {
var _local3 = strToChars(src);
var _local1 = strToChars(key);
var _local2 = calculate(_local3, _local1);
return(charsToHex(_local2));
}
static function encryptbin(src, key) {
var _local3 = strToChars(src);
var _local1 = strToChars(key);
var _local2 = calculate(_local3, _local1);
return(_local2);
}
static function decrypt(src, key) {
var _local3 = hexToChars(src);
var _local1 = strToChars(key);
var _local2 = calculate(_local3, _local1);
return(charsToStr(_local2));
}
static function initialize(pwd) {
var _local2 = 0;
var _local3;
var _local4 = pwd.length;
var _local1 = 0;
while (_local1 <= 255) {
mykey[_local1] = pwd[_local1 % _local4];
sbox[_local1] = _local1;
_local1++;
}
_local1 = 0;
while (_local1 <= 255) {
_local2 = ((_local2 + sbox[_local1]) + mykey[_local1]) % 256;
_local3 = sbox[_local1];
sbox[_local1] = sbox[_local2];
sbox[_local2] = _local3;
_local1++;
}
}
static function calculate(plaintxt, psw) {
initialize(psw);
var _local1 = 0;
var _local2 = 0;
var _local9 = new Array();
var _local7;
var _local5;
var _local6;
var _local3 = 0;
while (_local3 < plaintxt.length) {
_local1 = (_local1 + 1) % 256;
_local2 = (_local2 + sbox[_local1]) % 256;
_local5 = sbox[_local1];
sbox[_local1] = sbox[_local2];
sbox[_local2] = _local5;
var _local4 = (sbox[_local1] + sbox[_local2]) % 256;
_local7 = sbox[_local4];
_local6 = plaintxt[_local3] ^ _local7;
_local9.push(_local6);
_local3++;
}
return(_local9);
}
static function charsToHex(chars) {
var _local4 = new String("");
var _local3 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
var _local1 = 0;
while (_local1 < chars.length) {
_local4 = _local4 + (_local3[chars[_local1] >> 4] + _local3[chars[_local1] & 15]);
_local1++;
}
return(_local4);
}
static function hexToChars(hex) {
var _local3 = new Array();
var _local1 = ((hex.substr(0, 2) == "0x") ? 2 : 0);
while (_local1 < hex.length) {
_local3.push(parseInt(hex.substr(_local1, 2), 16));
_local1 = _local1 + 2;
}
return(_local3);
}
static function charsToStr(chars) {
var _local3 = new String("");
var _local1 = 0;
while (_local1 < chars.length) {
_local3 = _local3 + String.fromCharCode(chars[_local1]);
_local1++;
}
return(_local3);
}
static function strToChars(str) {
var _local3 = new Array();
var _local1 = 0;
while (_local1 < str.length) {
_local3.push(str.charCodeAt(_local1));
_local1++;
}
return(_local3);
}
static var sbox = new Array(255);
static var mykey = new Array(255);
}
Symbol 1034 MovieClip [__Packages.com.Newgrounds.MD5] Frame 0
class com.Newgrounds.MD5
{
function MD5 () {
}
static function calculate(src) {
return(hex_md5(src));
}
static function hex_md5(src) {
return(binl2hex(core_md5(str2binl(src), src.length * 8)));
}
static function core_md5(x, len) {
x[len >> 5] = x[len >> 5] | (128 << (len % 32));
x[(((len + 64) >>> 9) << 4) + 14] = len;
var _local4 = 1732584193 /* 0x67452301 */;
var _local3 = -271733879;
var _local2 = -1732584194;
var _local1 = 271733878 /* 0x10325476 */;
var _local5 = 0;
while (_local5 < x.length) {
var _local10 = _local4;
var _local9 = _local3;
var _local8 = _local2;
var _local7 = _local1;
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 0], 7, -680876936);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 1], 12, -389564586);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 2], 17, 606105819);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 3], 22, -1044525330);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 4], 7, -176418897);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 5], 12, 1200080426);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 6], 17, -1473231341);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 7], 22, -45705983);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 8], 7, 1770035416);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 9], 12, -1958414417);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 10], 17, -42063);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 11], 22, -1990404162);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 12], 7, 1804603682);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 13], 12, -40341101);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 14], 17, -1502002290);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 15], 22, 1236535329);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 1], 5, -165796510);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 6], 9, -1069501632);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 11], 14, 643717713);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 0], 20, -373897302);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 5], 5, -701558691);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 10], 9, 38016083);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 15], 14, -660478335);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 4], 20, -405537848);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 9], 5, 568446438);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 14], 9, -1019803690);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 3], 14, -187363961);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 8], 20, 1163531501);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 13], 5, -1444681467);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 2], 9, -51403784);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 7], 14, 1735328473);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 12], 20, -1926607734);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 5], 4, -378558);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 8], 11, -2022574463);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 11], 16, 1839030562);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 14], 23, -35309556);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 1], 4, -1530992060);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 4], 11, 1272893353);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 7], 16, -155497632);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 10], 23, -1094730640);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 13], 4, 681279174);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 0], 11, -358537222);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 3], 16, -722521979);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 6], 23, 76029189);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 9], 4, -640364487);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 12], 11, -421815835);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 15], 16, 530742520);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 2], 23, -995338651);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 0], 6, -198630844);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 7], 10, 1126891415);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 14], 15, -1416354905);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 5], 21, -57434055);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 12], 6, 1700485571);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 3], 10, -1894986606);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 10], 15, -1051523);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 1], 21, -2054922799);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 8], 6, 1873313359);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 15], 10, -30611744);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 6], 15, -1560198380);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 13], 21, 1309151649);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 4], 6, -145523070);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 11], 10, -1120210379);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 2], 15, 718787259);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 9], 21, -343485551);
_local4 = safe_add(_local4, _local10);
_local3 = safe_add(_local3, _local9);
_local2 = safe_add(_local2, _local8);
_local1 = safe_add(_local1, _local7);
_local5 = _local5 + 16;
}
return(new Array(_local4, _local3, _local2, _local1));
}
static function md5_cmn(q, a, b, x, s, t) {
return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b));
}
static function md5_ff(a, b, c, d, x, s, t) {
return(md5_cmn((b & c) | ((~b) & d), a, b, x, s, t));
}
static function md5_gg(a, b, c, d, x, s, t) {
return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
static function md5_hh(a, b, c, d, x, s, t) {
return(md5_cmn((b ^ c) ^ d, a, b, x, s, t));
}
static function md5_ii(a, b, c, d, x, s, t) {
return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t));
}
static function bit_rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
static function safe_add(x, y) {
var _local1 = (x & 65535) + (y & 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | (_local1 & 65535));
}
static function str2binl(str) {
var _local3 = new Array();
var _local4 = 255;
var _local1 = 0;
while (_local1 < (str.length * 8)) {
_local3[_local1 >> 5] = _local3[_local1 >> 5] | ((str.charCodeAt(_local1 / 8) & _local4) << (_local1 % 32));
_local1 = _local1 + 8;
}
return(_local3);
}
static function binl2hex(binarray) {
var _local4 = new String("");
var _local3 = new String("0123456789abcdef");
var _local1 = 0;
while (_local1 < (binarray.length * 4)) {
_local4 = _local4 + (_local3.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15));
_local1++;
}
return(_local4);
}
}
Symbol 52 Button
on (release) {
getURL ("http://www.newgrounds.com");
}
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 2
stop();
Symbol 56 MovieClip Frame 3
stop();
Symbol 56 MovieClip Frame 4
stop();
Symbol 56 MovieClip Frame 5
stop();
Symbol 56 MovieClip Frame 6
stop();
tellTarget ("/pico") {
gotoAndStop (35);
};
tellTarget ("/") {
gotoAndStop (13);
};
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
stop();
Symbol 62 MovieClip Frame 3
stop();
Symbol 62 MovieClip Frame 4
stop();
Symbol 62 MovieClip Frame 5
stop();
Symbol 62 MovieClip Frame 6
stop();
Symbol 62 MovieClip Frame 7
stop();
Symbol 62 MovieClip Frame 8
stop();
Symbol 62 MovieClip Frame 9
stop();
Symbol 62 MovieClip Frame 10
stop();
Symbol 62 MovieClip Frame 11
stop();
Symbol 62 MovieClip Frame 12
stop();
Symbol 62 MovieClip Frame 13
stop();
Symbol 62 MovieClip Frame 14
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 3
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
tellTarget ("/") {
gotoAndStop (2);
};
tellTarget ("/action_semi") {
gotoAndStop (1);
};
tellTarget ("/health") {
gotoAndStop (1);
};
gotoAndStop (1);
Symbol 67 MovieClip Frame 3
stop();
Symbol 67 MovieClip Frame 4
tellTarget ("/") {
gotoAndStop (5);
};
tellTarget ("/action_semi") {
gotoAndStop (1);
};
tellTarget ("/health") {
gotoAndStop (1);
};
gotoAndStop (3);
Symbol 67 MovieClip Frame 5
stop();
Symbol 67 MovieClip Frame 6
tellTarget ("/") {
gotoAndStop (9);
};
tellTarget ("/action_semi") {
gotoAndStop (1);
};
tellTarget ("/health") {
gotoAndStop (1);
};
gotoAndStop (5);
Symbol 67 MovieClip Frame 7
stop();
Symbol 67 MovieClip Frame 8
tellTarget ("/") {
gotoAndStop (18);
};
tellTarget ("/health") {
gotoAndStop (1);
};
tellTarget ("/action_semi") {
gotoAndStop (3);
};
gotoAndStop (7);
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
gotoAndStop (1);
Symbol 69 MovieClip Frame 3
stop();
Symbol 69 MovieClip Frame 4
tellTarget ("/room") {
play();
};
tellTarget ("/icon_key1") {
gotoAndStop (1);
};
gotoAndStop (3);
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
gotoAndStop (1);
Symbol 70 MovieClip Frame 3
stop();
Symbol 70 MovieClip Frame 4
tellTarget ("/room") {
gotoAndStop (16);
};
tellTarget ("/icon_key2") {
gotoAndStop (1);
};
gotoAndStop (3);
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
gotoAndStop (1);
Symbol 71 MovieClip Frame 3
stop();
Symbol 71 MovieClip Frame 4
gotoAndStop (3);
tellTarget ("/room/key") {
gotoAndStop (2);
};
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
tellTarget ("/") {
gotoAndStop (14);
};
tellTarget ("/pico") {
gotoAndStop (36);
};
gotoAndStop (1);
Symbol 72 MovieClip Frame 3
stop();
Symbol 72 MovieClip Frame 4
tellTarget ("/") {
gotoAndStop (14);
};
tellTarget ("/pico") {
gotoAndStop (36);
};
tellTarget ("/room") {
gotoAndStop (40);
};
gotoAndStop (3);
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
gotoAndStop (1);
Symbol 73 MovieClip Frame 3
stop();
Symbol 73 MovieClip Frame 4
gotoAndStop (3);
tellTarget ("/room2/key") {
gotoAndStop (2);
};
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
tellTarget ("/") {
gotoAndStop (15);
};
tellTarget ("/pico") {
gotoAndStop (21);
};
gotoAndStop (1);
Symbol 74 MovieClip Frame 3
stop();
Symbol 74 MovieClip Frame 4
tellTarget ("/") {
gotoAndStop (15);
};
tellTarget ("/pico") {
gotoAndStop (21);
};
tellTarget ("/room") {
gotoAndStop (294);
};
gotoAndStop (3);
Symbol 74 MovieClip Frame 5
stop();
Symbol 74 MovieClip Frame 6
tellTarget ("/") {
gotoAndStop (15);
};
tellTarget ("/pico") {
gotoAndStop (21);
};
tellTarget ("/room") {
gotoAndStop (295);
};
gotoAndStop (5);
Symbol 90 MovieClip Frame 60
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 31
tellTarget ("/health") {
gotoAndStop (1);
};
Symbol 91 MovieClip Frame 61
gotoAndStop (1);
tellTarget ("/icon_herb") {
gotoAndStop (1);
};
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
tellTarget ("/room/lockers") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 92 MovieClip Frame 3
stop();
Symbol 92 MovieClip Frame 4
gotoAndStop (3);
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 2
gotoAndStop (1);
Symbol 93 MovieClip Frame 3
stop();
Symbol 93 MovieClip Frame 4
tellTarget ("/room") {
play();
};
tellTarget ("/action_key2") {
play();
};
gotoAndStop (3);
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
tellTarget ("/pico") {
gotoAndStop (29);
};
gotoAndStop (1);
Symbol 94 MovieClip Frame 3
stop();
Symbol 94 MovieClip Frame 4
tellTarget ("/pico") {
gotoAndStop (15);
};
gotoAndStop (3);
Symbol 94 MovieClip Frame 5
stop();
Symbol 94 MovieClip Frame 6
tellTarget ("/pico") {
gotoAndStop (29);
};
tellTarget ("/room") {
play();
};
gotoAndStop (1);
Symbol 94 MovieClip Frame 7
stop();
Symbol 94 MovieClip Frame 8
tellTarget ("/pico") {
gotoAndStop (15);
};
tellTarget ("/room") {
gotoAndStop (4);
};
gotoAndStop (3);
Symbol 94 MovieClip Frame 9
stop();
Symbol 94 MovieClip Frame 10
tellTarget ("/pico") {
gotoAndStop (15);
};
tellTarget ("/room") {
gotoAndStop (6);
};
gotoAndStop (9);
Symbol 94 MovieClip Frame 11
stop();
Symbol 94 MovieClip Frame 12
tellTarget ("/pico") {
gotoAndStop (26);
};
tellTarget ("/room") {
gotoAndStop (10);
};
gotoAndStop (11);
Symbol 94 MovieClip Frame 13
stop();
Symbol 94 MovieClip Frame 14
tellTarget ("/pico") {
gotoAndStop (26);
};
tellTarget ("/room") {
gotoAndStop (11);
};
gotoAndStop (13);
Symbol 94 MovieClip Frame 15
stop();
Symbol 94 MovieClip Frame 16
tellTarget ("/pico") {
gotoAndStop (26);
};
gotoAndStop (15);
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
tellTarget ("/room") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 95 MovieClip Frame 3
stop();
Symbol 95 MovieClip Frame 4
tellTarget ("/room") {
gotoAndStop (15);
};
gotoAndStop (3);
Symbol 95 MovieClip Frame 5
stop();
Symbol 95 MovieClip Frame 6
tellTarget ("/room") {
gotoAndStop (16);
};
gotoAndStop (5);
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
tellTarget ("/room") {
gotoAndPlay (2);
};
gotoAndStop (1);
Symbol 96 MovieClip Frame 3
stop();
Symbol 96 MovieClip Frame 4
tellTarget ("/room") {
gotoAndStop (10);
};
tellTarget ("/room/nene") {
gotoAndStop (35);
};
gotoAndStop (3);
Symbol 96 MovieClip Frame 5
stop();
Symbol 96 MovieClip Frame 6
tellTarget ("/room") {
gotoAndStop (11);
};
tellTarget ("/room/nene") {
gotoAndStop (20);
};
gotoAndStop (6);
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
tellTarget ("/room/window") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 97 MovieClip Frame 3
stop();
Symbol 97 MovieClip Frame 4
gotoAndStop (3);
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
tellTarget ("/room") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 98 MovieClip Frame 3
stop();
Symbol 98 MovieClip Frame 4
tellTarget ("/room") {
gotoAndStop (46);
};
gotoAndStop (3);
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
tellTarget ("/room") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 99 MovieClip Frame 3
stop();
Symbol 99 MovieClip Frame 4
tellTarget ("/room") {
gotoAndStop (5);
};
gotoAndStop (3);
Symbol 99 MovieClip Frame 5
stop();
Symbol 99 MovieClip Frame 6
tellTarget ("/room") {
gotoAndStop (6);
};
gotoAndStop (6);
Symbol 99 MovieClip Frame 7
stop();
Symbol 99 MovieClip Frame 8
tellTarget ("/room") {
gotoAndStop (7);
};
gotoAndStop (7);
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
gotoAndStop (1);
Symbol 100 MovieClip Frame 3
stop();
Symbol 100 MovieClip Frame 4
tellTarget ("/room/window") {
gotoAndStop (61);
};
gotoAndStop (3);
Symbol 100 MovieClip Frame 5
stop();
Symbol 100 MovieClip Frame 6
tellTarget ("/room/window") {
gotoAndStop (1);
};
gotoAndStop (5);
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
gotoAndStop (1);
Symbol 101 MovieClip Frame 3
stop();
Symbol 101 MovieClip Frame 4
tellTarget ("/room2") {
gotoAndPlay ("action_start");
};
gotoAndStop (3);
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 2
tellTarget ("/") {
gotoAndStop (3);
};
tellTarget ("/pico") {
gotoAndStop (21);
};
gotoAndStop (1);
Symbol 102 MovieClip Frame 3
stop();
Symbol 102 MovieClip Frame 4
tellTarget ("/") {
gotoAndStop (3);
};
tellTarget ("/room2") {
gotoAndPlay ("boss_tease");
};
tellTarget ("/pico") {
gotoAndStop (21);
};
gotoAndStop (3);
Symbol 102 MovieClip Frame 5
stop();
Symbol 102 MovieClip Frame 6
tellTarget ("/") {
gotoAndStop (3);
};
tellTarget ("/room2") {
gotoAndPlay ("boss_scared");
};
tellTarget ("/pico") {
gotoAndStop (21);
};
gotoAndStop (5);
Symbol 102 MovieClip Frame 7
stop();
Symbol 102 MovieClip Frame 8
tellTarget ("/") {
gotoAndStop (3);
};
tellTarget ("/room2") {
gotoAndStop ("boss_hide");
};
tellTarget ("/pico") {
gotoAndStop (21);
};
gotoAndStop (7);
Symbol 102 MovieClip Frame 9
stop();
Symbol 102 MovieClip Frame 10
tellTarget ("/") {
gotoAndStop (3);
};
tellTarget ("/room2") {
gotoAndStop ("boss_chair1");
};
tellTarget ("/pico") {
gotoAndStop (21);
};
gotoAndStop (9);
Symbol 102 MovieClip Frame 11
stop();
Symbol 102 MovieClip Frame 12
tellTarget ("/") {
gotoAndStop (3);
};
tellTarget ("/room2") {
gotoAndStop ("boss_chair2");
};
tellTarget ("/pico") {
gotoAndStop (21);
};
gotoAndStop (11);
Symbol 102 MovieClip Frame 13
stop();
Symbol 102 MovieClip Frame 14
tellTarget ("/") {
gotoAndStop (3);
};
tellTarget ("/room2") {
gotoAndStop ("boss_chair3");
};
tellTarget ("/pico") {
gotoAndStop (21);
};
gotoAndStop (13);
Symbol 102 MovieClip Frame 15
stop();
Symbol 102 MovieClip Frame 16
tellTarget ("/") {
gotoAndStop (3);
};
tellTarget ("/room2") {
gotoAndStop ("empty_blood");
};
tellTarget ("/pico") {
gotoAndStop (21);
};
gotoAndStop (15);
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
tellTarget ("/pico") {
gotoAndStop (14);
};
gotoAndStop (1);
Symbol 103 MovieClip Frame 3
stop();
Symbol 103 MovieClip Frame 4
tellTarget ("/pico") {
gotoAndStop (16);
};
gotoAndStop (3);
Symbol 103 MovieClip Frame 5
stop();
Symbol 103 MovieClip Frame 6
tellTarget ("/pico") {
gotoAndStop (16);
};
tellTarget ("/room") {
gotoAndStop (3);
};
gotoAndStop (7);
Symbol 103 MovieClip Frame 7
stop();
Symbol 103 MovieClip Frame 8
tellTarget ("/pico") {
gotoAndStop (16);
};
tellTarget ("/room") {
gotoAndStop (4);
};
gotoAndStop (3);
Symbol 103 MovieClip Frame 9
stop();
Symbol 103 MovieClip Frame 10
tellTarget ("/pico") {
gotoAndStop (16);
};
tellTarget ("/room") {
gotoAndStop (6);
};
gotoAndStop (9);
Symbol 103 MovieClip Frame 11
stop();
Symbol 103 MovieClip Frame 12
tellTarget ("/pico") {
gotoAndStop (26);
};
tellTarget ("/room") {
gotoAndStop (10);
};
gotoAndStop (11);
Symbol 103 MovieClip Frame 13
stop();
Symbol 103 MovieClip Frame 14
tellTarget ("/pico") {
gotoAndStop (26);
};
tellTarget ("/room") {
gotoAndStop (11);
};
gotoAndStop (13);
Symbol 103 MovieClip Frame 15
stop();
Symbol 103 MovieClip Frame 16
tellTarget ("/pico") {
gotoAndStop (26);
};
gotoAndStop (15);
Symbol 103 MovieClip Frame 17
stop();
Symbol 103 MovieClip Frame 18
tellTarget ("/pico") {
gotoAndStop (37);
};
tellTarget ("/room") {
gotoAndPlay (20);
};
gotoAndStop (19);
Symbol 103 MovieClip Frame 19
stop();
Symbol 103 MovieClip Frame 20
tellTarget ("/pico") {
gotoAndStop (33);
};
gotoAndStop (19);
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
stopAllSounds();
Symbol 106 MovieClip Frame 4
stop();
Symbol 106 MovieClip Frame 5
stopAllSounds();
Symbol 106 MovieClip Frame 7
stop();
Symbol 111 Button
on (release) {
tellTarget ("/smoke") {
play();
};
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 14
stop();
Symbol 115 Button
on (release) {
tellTarget ("/action_key2use") {
play();
};
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 14
stop();
Symbol 118 Button
on (release) {
tellTarget ("/action_key1use") {
play();
};
}
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
tellTarget ("/action_semi") {
gotoAndStop (1);
};
Symbol 119 MovieClip Frame 14
tellTarget ("/action_semi") {
gotoAndStop (3);
};
stop();
Symbol 123 Button
on (release) {
tellTarget ("/nightvision") {
play();
};
tellTarget ("/action_goggles") {
play();
};
}
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 8
tellTarget ("/action_room2gun") {
gotoAndStop (3);
};
Symbol 124 MovieClip Frame 14
stop();
Symbol 128 Button
on (release) {
tellTarget ("/action_water") {
play();
};
}
Symbol 129 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 14
stop();
Symbol 135 Button
on (release) {
tellTarget ("/action_gun") {
play();
};
}
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 8
stopAllSounds();
tellTarget ("/action_room2gun") {
gotoAndStop (3);
};
Symbol 136 MovieClip Frame 14
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
tellTarget ("/room") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 140 MovieClip Frame 3
stop();
Symbol 140 MovieClip Frame 4
gotoAndStop (3);
Symbol 140 MovieClip Frame 5
stop();
Symbol 140 MovieClip Frame 6
tellTarget ("/room") {
gotoAndStop (3);
};
gotoAndStop (5);
Symbol 144 Button
on (release) {
tellTarget ("/icon_gun") {
gotoAndPlay (3);
};
gotoAndStop (4);
}
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 3
gotoAndStop (1);
Symbol 145 MovieClip Frame 4
stop();
Symbol 145 MovieClip Frame 5
gotoAndStop (4);
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 2
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 5
stop();
Symbol 156 MovieClip Frame 16
tellTarget ("/pico") {
gotoAndStop (1);
};
Symbol 157 MovieClip Frame 16
tellTarget ("/pico") {
gotoAndStop (1);
};
Symbol 158 MovieClip Frame 9
tellTarget ("/pico") {
gotoAndStop (1);
};
Symbol 159 MovieClip Frame 9
tellTarget ("/pico") {
gotoAndStop (1);
};
Symbol 160 MovieClip Frame 9
tellTarget ("/pico") {
gotoAndStop (1);
};
Symbol 165 MovieClip Frame 9
stop();
tellTarget ("/pico") {
gotoAndStop (10);
};
Symbol 171 MovieClip Frame 16
stop();
Symbol 177 Button
on (release) {
play();
}
Symbol 180 MovieClip Frame 10
stop();
Symbol 180 MovieClip Frame 11
stop();
Symbol 191 MovieClip Frame 20
tellTarget ("/pico") {
nextFrame();
};
Symbol 193 MovieClip Frame 5
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 9
stop();
Symbol 206 MovieClip Frame 10
stop();
Symbol 206 MovieClip Frame 11
stop();
Symbol 207 MovieClip Frame 7
stop();
Symbol 212 MovieClip Frame 9
stop();
Symbol 212 MovieClip Frame 10
stop();
Symbol 212 MovieClip Frame 11
stop();
Symbol 212 MovieClip Frame 12
stop();
Symbol 213 MovieClip Frame 6
stop();
Symbol 216 MovieClip Frame 2
tellTarget ("/pico") {
gotoAndStop (21);
};
Symbol 217 MovieClip Frame 4
tellTarget ("/pico") {
gotoAndStop (21);
};
Symbol 218 MovieClip Frame 9
tellTarget ("/pico") {
gotoAndStop (12);
};
Symbol 234 MovieClip Frame 21
tellTarget ("/pico") {
nextFrame();
};
Symbol 237 MovieClip Frame 6
stop();
Symbol 238 MovieClip Frame 25
tellTarget ("/pico") {
gotoAndStop (10);
};
Symbol 242 MovieClip Frame 20
tellTarget ("/pico") {
nextFrame();
};
Symbol 244 MovieClip Frame 5
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
stop();
Symbol 249 MovieClip Frame 3
stop();
Symbol 249 MovieClip Frame 4
stop();
Symbol 249 MovieClip Frame 5
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 2
stop();
Symbol 250 MovieClip Frame 3
stop();
Symbol 250 MovieClip Frame 4
stop();
Symbol 250 MovieClip Frame 5
stop();
Symbol 250 MovieClip Frame 6
stop();
Symbol 250 MovieClip Frame 7
stop();
Symbol 250 MovieClip Frame 8
stop();
Symbol 250 MovieClip Frame 9
stop();
Symbol 250 MovieClip Frame 10
stop();
Symbol 250 MovieClip Frame 11
stop();
Symbol 250 MovieClip Frame 12
stop();
Symbol 250 MovieClip Frame 13
stop();
Symbol 250 MovieClip Frame 14
stop();
Symbol 250 MovieClip Frame 15
stop();
Symbol 250 MovieClip Frame 16
stop();
Symbol 250 MovieClip Frame 17
stop();
Symbol 250 MovieClip Frame 18
stop();
Symbol 250 MovieClip Frame 19
stop();
Symbol 250 MovieClip Frame 20
stop();
Symbol 250 MovieClip Frame 21
stop();
Symbol 250 MovieClip Frame 22
stop();
Symbol 250 MovieClip Frame 23
stop();
Symbol 250 MovieClip Frame 24
stop();
Symbol 250 MovieClip Frame 25
stop();
Symbol 250 MovieClip Frame 26
stop();
Symbol 250 MovieClip Frame 27
stop();
Symbol 250 MovieClip Frame 28
stop();
Symbol 250 MovieClip Frame 29
stop();
Symbol 250 MovieClip Frame 30
stop();
Symbol 250 MovieClip Frame 31
stop();
Symbol 250 MovieClip Frame 32
stop();
Symbol 250 MovieClip Frame 33
stop();
Symbol 250 MovieClip Frame 34
stop();
Symbol 250 MovieClip Frame 35
stop();
Symbol 250 MovieClip Frame 36
stop();
Symbol 250 MovieClip Frame 37
stop();
Symbol 250 MovieClip Frame 38
stop();
Symbol 276 MovieClip Frame 60
gotoAndPlay (2);
Symbol 276 MovieClip Frame 61
stop();
Symbol 279 MovieClip Frame 10
stop();
Symbol 282 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (19);
};
}
Symbol 286 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (7);
};
tellTarget ("/action_room4") {
play();
};
tellTarget ("/") {
gotoAndStop (4);
};
}
Symbol 288 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (1);
};
tellTarget ("/action_window") {
play();
};
Symbol 288 MovieClip Frame 3
stop();
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 2
stop();
Symbol 289 MovieClip Frame 3
stop();
Symbol 289 MovieClip Frame 4
tellTarget ("/room2") {
gotoAndStop ("boss_stun");
};
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 2
stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 12
tellTarget ("/room2") {
gotoAndPlay ("chair_attack");
};
tellTarget ("/room2/punk3/punk3_actions") {
gotoAndStop (1);
};
Symbol 326 MovieClip Frame 21
tellTarget ("/room2") {
gotoAndPlay ("boss_die");
};
Symbol 330 MovieClip Frame 3
stop();
Symbol 340 Button
on (release) {
tellTarget ("/room2/punk3_health") {
nextFrame();
};
tellTarget ("/pico") {
gotoAndStop (23);
};
}
Symbol 346 MovieClip Frame 23
tellTarget ("/room2") {
gotoAndPlay ("attack_loop");
};
tellTarget ("/room2/punk3") {
play();
};
tellTarget ("/room2/punk3/punk3_actions") {
gotoAndStop (1);
};
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 2
stop();
Symbol 350 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 2
tellTarget ("/room2/stun") {
play();
};
Symbol 354 MovieClip Frame 5
tellTarget ("/room2") {
gotoAndPlay ("kid2");
};
Symbol 355 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 2
tellTarget ("/room2/stun") {
play();
};
Symbol 356 MovieClip Frame 5
tellTarget ("/room2") {
gotoAndPlay ("kid3");
};
Symbol 357 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 4
tellTarget ("/room2/stun") {
play();
};
Symbol 358 MovieClip Frame 5
tellTarget ("/room2") {
gotoAndPlay ("end_loop");
};
Symbol 361 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 4
tellTarget ("/room2") {
gotoAndPlay (100);
};
Symbol 369 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (8);
};
tellTarget ("/music") {
gotoAndPlay (2);
};
tellTarget ("/fire_onwall") {
play();
};
tellTarget ("/action_semi") {
gotoAndStop (1);
};
tellTarget ("/") {
gotoAndStop (5);
};
}
Symbol 373 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
gotoAndPlay ("skip_chairtalk");
}
Symbol 382 Button
on (release) {
play();
tellTarget ("/icon_key1") {
play();
};
tellTarget ("/action_key1") {
gotoAndStop (3);
};
}
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 2
stop();
Symbol 387 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 395 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (3);
};
tellTarget ("/action_semi") {
gotoAndStop (3);
};
tellTarget ("/pico") {
gotoAndStop (21);
};
Symbol 395 MovieClip Frame 2
stopAllSounds();
Symbol 395 MovieClip Frame 3
stop();
Symbol 395 MovieClip Frame 4
stop();
Symbol 395 MovieClip Frame 5
stop();
Symbol 395 MovieClip Frame 6
stop();
Symbol 395 MovieClip Frame 7
stop();
Symbol 395 MovieClip Frame 29
tellTarget ("/action_room2") {
gotoAndStop ("boss_tease");
};
tellTarget ("/action_window") {
gotoAndStop (3);
};
Symbol 395 MovieClip Frame 30
tellTarget ("/action_room2gun") {
play();
};
Symbol 395 MovieClip Frame 31
stopAllSounds();
tellTarget ("/action_semi") {
gotoAndStop (3);
};
Symbol 395 MovieClip Frame 73
tellTarget ("/pico") {
gotoAndStop (24);
};
tellTarget ("/health") {
play();
};
tellTarget ("/music") {
gotoAndPlay (5);
};
tellTarget ("/fire_onwall") {
play();
};
tellTarget ("/action_semi") {
gotoAndStop (1);
};
tellTarget ("/") {
gotoAndStop (5);
};
Symbol 395 MovieClip Frame 100
tellTarget ("/action_semi") {
gotoAndStop (2);
};
tellTarget ("stun") {
gotoAndStop (1);
};
Symbol 395 MovieClip Frame 129
tellTarget ("/health") {
play();
};
tellTarget ("/pico") {
gotoAndStop (23);
};
Symbol 395 MovieClip Frame 174
tellTarget ("/health") {
play();
};
tellTarget ("/pico") {
gotoAndStop (23);
};
Symbol 395 MovieClip Frame 206
tellTarget ("/health") {
play();
};
tellTarget ("/pico") {
gotoAndStop (23);
};
Symbol 395 MovieClip Frame 212
gotoAndPlay ("attack_loop");
Symbol 395 MovieClip Frame 213
tellTarget ("punk3") {
stop();
};
tellTarget ("punk3/punk3_actions") {
gotoAndStop (2);
};
Symbol 395 MovieClip Frame 217
tellTarget ("chair") {
gotoAndStop (2);
};
Symbol 395 MovieClip Frame 247
tellTarget ("/health") {
play();
};
tellTarget ("/pico") {
gotoAndStop (23);
};
Symbol 395 MovieClip Frame 252
gotoAndPlay ("attack_loop");
Symbol 395 MovieClip Frame 294
stopAllSounds();
tellTarget ("/continue") {
gotoAndStop (3);
};
Symbol 395 MovieClip Frame 297
tellTarget ("/action_room2") {
gotoAndStop ("boss_scared");
};
tellTarget ("/action_window") {
gotoAndStop (5);
};
stopAllSounds();
Symbol 395 MovieClip Frame 298
stop();
Symbol 395 MovieClip Frame 299
tellTarget ("/action_room2") {
gotoAndStop ("boss_hide");
};
Symbol 395 MovieClip Frame 308
stop();
Symbol 395 MovieClip Frame 309
stop();
Symbol 395 MovieClip Frame 310
stop();
Symbol 395 MovieClip Frame 311
stop();
Symbol 395 MovieClip Frame 312
stop();
Symbol 395 MovieClip Frame 316
stop();
Symbol 395 MovieClip Frame 320
stop();
Symbol 395 MovieClip Frame 325
stop();
tellTarget ("/action_room2") {
gotoAndStop ("boss_chair1");
};
Symbol 395 MovieClip Frame 329
stop();
Symbol 395 MovieClip Frame 333
stop();
Symbol 395 MovieClip Frame 337
stop();
tellTarget ("/action_room2") {
gotoAndStop ("boss_chair2");
};
Symbol 395 MovieClip Frame 341
stop();
Symbol 395 MovieClip Frame 346
stop();
Symbol 395 MovieClip Frame 348
stop();
Symbol 395 MovieClip Frame 353
stop();
tellTarget ("/action_room2") {
gotoAndStop ("boss_chair3");
};
Symbol 395 MovieClip Frame 354
tellTarget ("/action_room2") {
gotoAndStop ("empty_blood");
};
Symbol 395 MovieClip Frame 360
_root.medal_popup.unlockMedal("Overkill");
Symbol 395 MovieClip Frame 361
stop();
Symbol 398 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (20);
};
}
Symbol 399 Button
on (release) {
tellTarget ("/fire_onwall") {
play();
};
tellTarget ("/pico") {
gotoAndStop (3);
};
tellTarget ("/") {
gotoAndStop (5);
};
}
Symbol 402 Button
on (release) {
tellTarget ("/") {
gotoAndStop (2);
};
}
Symbol 406 Button
on (release) {
play();
}
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 4
stop();
Symbol 410 MovieClip Frame 6
gotoAndStop (1);
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 4
stop();
Symbol 414 MovieClip Frame 6
gotoAndStop (1);
Symbol 423 MovieClip Frame 1
stop();
tellTarget ("/map") {
gotoAndStop (2);
};
Symbol 424 Button
on (release) {
tellTarget ("/action_room2") {
play();
};
tellTarget ("/action_key1") {
play();
};
}
Symbol 425 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (2);
};
tellTarget ("/action_room4") {
play();
};
tellTarget ("/") {
gotoAndStop (4);
};
}
Symbol 426 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (3);
};
tellTarget ("/") {
gotoAndStop (6);
};
}
Symbol 429 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 4
stop();
Symbol 429 MovieClip Frame 6
gotoAndStop (1);
Symbol 437 Button
on (release) {
tellTarget ("/fire_onwall") {
gotoAndStop (3);
};
gotoAndStop (1);
tellTarget ("/icon_fire") {
play();
};
}
Symbol 438 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (2);
};
tellTarget ("/") {
gotoAndStop (16);
};
}
Symbol 439 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (4);
};
tellTarget ("/action_semi") {
gotoAndStop (1);
};
stop();
tellTarget ("/action_window") {
play();
};
Symbol 439 MovieClip Frame 2
stop();
Symbol 439 MovieClip Frame 3
stop();
Symbol 440 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (13);
};
tellTarget ("/") {
gotoAndStop (7);
};
}
Symbol 441 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (2);
};
tellTarget ("/fire_onwall") {
play();
};
tellTarget ("/") {
gotoAndStop (5);
};
}
Symbol 442 Button
on (release) {
tellTarget ("/action_room8") {
play();
};
tellTarget ("/pico") {
gotoAndStop (9);
};
tellTarget ("/action_gun") {
gotoAndStop (5);
};
tellTarget ("/") {
gotoAndStop (8);
};
}
Symbol 452 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (6);
};
tellTarget ("/action_gun") {
gotoAndStop (1);
};
Symbol 453 Button
on (release) {
tellTarget ("/tablegun") {
play();
};
tellTarget ("/pico") {
gotoAndStop (7);
};
tellTarget ("/") {
gotoAndStop (6);
};
}
Symbol 464 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (5);
};
tellTarget ("/tablegun") {
play();
};
Symbol 494 Button
on (release) {
gotoAndStop (35);
}
Symbol 495 Button
on (release) {
play();
}
Symbol 511 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (12);
};
tellTarget ("/music") {
gotoAndPlay (2);
};
tellTarget ("/") {
gotoAndStop (6);
};
}
Symbol 520 MovieClip Frame 1
stopAllSounds();
Symbol 520 MovieClip Frame 10
stop();
Symbol 520 MovieClip Frame 11
stop();
Symbol 520 MovieClip Frame 12
stop();
Symbol 520 MovieClip Frame 13
stop();
Symbol 520 MovieClip Frame 14
stop();
tellTarget ("/pico") {
gotoAndStop (18);
};
Symbol 520 MovieClip Frame 15
stop();
Symbol 520 MovieClip Frame 16
stop();
Symbol 520 MovieClip Frame 17
stop();
tellTarget ("/pico") {
gotoAndStop (10);
};
Symbol 520 MovieClip Frame 18
tellTarget ("/pico") {
gotoAndStop (11);
};
tellTarget ("/health") {
play();
};
Symbol 520 MovieClip Frame 32
stop();
Symbol 520 MovieClip Frame 35
stop();
tellTarget ("/pico") {
gotoAndStop (18);
};
Symbol 520 MovieClip Frame 36
stop();
Symbol 520 MovieClip Frame 37
stop();
Symbol 520 MovieClip Frame 38
stop();
Symbol 520 MovieClip Frame 39
stop();
Symbol 520 MovieClip Frame 40
stop();
tellTarget ("/pico") {
gotoAndStop (10);
};
Symbol 520 MovieClip Frame 41
tellTarget ("/pico") {
gotoAndStop (11);
};
tellTarget ("/health") {
play();
};
Symbol 520 MovieClip Frame 55
stop();
Symbol 535 Button
on (release) {
gotoAndPlay (30);
}
Symbol 540 MovieClip Frame 60
stop();
Symbol 544 MovieClip Frame 21
stop();
Symbol 544 MovieClip Frame 22
stop();
Symbol 544 MovieClip Frame 23
stop();
Symbol 544 MovieClip Frame 24
stop();
Symbol 544 MovieClip Frame 25
stop();
Symbol 544 MovieClip Frame 26
stop();
Symbol 544 MovieClip Frame 27
stop();
Symbol 544 MovieClip Frame 30
tellTarget ("/action_gun") {
gotoAndStop (3);
};
Symbol 544 MovieClip Frame 51
stop();
tellTarget ("/action_room8") {
gotoAndStop (7);
};
Symbol 544 MovieClip Frame 52
stopAllSounds();
Symbol 544 MovieClip Frame 53
stop();
tellTarget ("/nav") {
gotoAndStop (8);
};
tellTarget ("/room") {
gotoAndStop (7);
};
Symbol 551 MovieClip Frame 6
stop();
Symbol 552 MovieClip Frame 1
tellTarget ("/action_room8") {
gotoAndStop (3);
};
Symbol 552 MovieClip Frame 21
stop();
tellTarget ("/music") {
gotoAndPlay (2);
};
tellTarget ("/room") {
gotoAndStop (5);
};
Symbol 553 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (2);
};
tellTarget ("/") {
gotoAndStop (6);
};
}
Symbol 554 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (9);
};
tellTarget ("/action_room9") {
play();
};
tellTarget ("/") {
gotoAndStop (9);
};
}
Symbol 558 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 6
stop();
Symbol 572 MovieClip Frame 20
tellTarget ("/room") {
gotoAndStop (5);
};
Symbol 573 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (7);
};
stop();
Symbol 573 MovieClip Frame 2
stop();
Symbol 573 MovieClip Frame 3
stop();
tellTarget ("/action_gun") {
gotoAndStop (7);
};
Symbol 573 MovieClip Frame 4
stop();
tellTarget ("/nav") {
gotoAndStop (8);
};
Symbol 573 MovieClip Frame 5
stop();
tellTarget ("/action_gun") {
gotoAndStop (9);
};
Symbol 573 MovieClip Frame 6
_root.medal_popup.unlockMedal("Brutal");
stop();
Symbol 573 MovieClip Frame 7
stop();
Symbol 580 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 4
stop();
Symbol 580 MovieClip Frame 6
gotoAndStop (1);
Symbol 583 Button
on (release) {
play();
tellTarget ("/found_herb") {
gotoAndStop (3);
};
tellTarget ("/icon_herb") {
play();
};
}
Symbol 584 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 2
stop();
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 4
stop();
Symbol 585 MovieClip Frame 6
gotoAndStop (1);
Symbol 586 MovieClip Frame 1
stop();
Symbol 586 MovieClip Frame 2
stop();
Symbol 588 Button
on (release) {
tellTarget ("/action_key1use") {
gotoAndStop (1);
};
tellTarget ("/pico") {
gotoAndStop (28);
};
tellTarget ("/action_room8") {
play();
};
tellTarget ("/") {
gotoAndStop (8);
};
}
Symbol 592 Button
on (release) {
tellTarget ("/action_key1use") {
gotoAndStop (1);
};
tellTarget ("/action_gun") {
gotoAndStop (19);
};
tellTarget ("/action_room14") {
play();
};
}
Symbol 593 Button
on (release) {
tellTarget ("/action_key1use") {
gotoAndStop (1);
};
tellTarget ("/action_room15") {
play();
};
}
Symbol 594 Button
on (release) {
tellTarget ("/action_key1use") {
gotoAndStop (1);
};
tellTarget ("/action_room10") {
play();
};
tellTarget ("/pico") {
gotoAndStop (9);
};
tellTarget ("/action_gun") {
gotoAndStop (3);
};
tellTarget ("/") {
gotoAndStop (10);
};
}
Symbol 596 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (9);
};
tellTarget ("/action_key1use") {
gotoAndStop (3);
};
tellTarget ("/action_gun") {
gotoAndStop (3);
};
tellTarget ("/found_herb") {
play();
};
stop();
Symbol 596 MovieClip Frame 2
stop();
Symbol 596 MovieClip Frame 46
tellTarget ("/action_room9") {
gotoAndStop (3);
};
stop();
Symbol 597 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (28);
};
tellTarget ("/action_room9") {
play();
};
tellTarget ("/") {
gotoAndStop (9);
};
}
Symbol 598 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (3);
};
tellTarget ("/music") {
gotoAndPlay (5);
};
tellTarget ("/action_gun") {
gotoAndStop (1);
};
tellTarget ("/") {
gotoAndStop (11);
};
}
Symbol 632 MovieClip Frame 35
stop();
Symbol 635 MovieClip Frame 20
stop();
Symbol 636 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (10);
};
stop();
tellTarget ("/action_gun") {
gotoAndStop (11);
};
Symbol 636 MovieClip Frame 5
stop();
Symbol 636 MovieClip Frame 6
stop();
Symbol 636 MovieClip Frame 7
stop();
Symbol 636 MovieClip Frame 8
stop();
Symbol 636 MovieClip Frame 10
stop();
tellTarget ("/action_gun") {
gotoAndStop (13);
};
tellTarget ("/action_room10") {
gotoAndStop (3);
};
Symbol 636 MovieClip Frame 11
stop();
tellTarget ("/action_room10") {
gotoAndStop (5);
};
tellTarget ("/action_gun") {
gotoAndStop (15);
};
Symbol 637 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (31);
};
tellTarget ("/firewall") {
play();
};
tellTarget ("/") {
gotoAndStop (12);
};
}
Symbol 638 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (28);
};
tellTarget ("/music") {
gotoAndPlay (2);
};
tellTarget ("/action_room10") {
play();
};
tellTarget ("/") {
gotoAndStop (10);
};
}
Symbol 648 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 2
stop();
Symbol 649 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (11);
};
tellTarget ("/action_key2use") {
gotoAndStop (1);
};
tellTarget ("/action_flamewindow") {
play();
};
tellTarget ("/action_gun") {
gotoAndStop (1);
};
Symbol 653 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (8);
};
tellTarget ("/music") {
gotoAndPlay (5);
};
tellTarget ("/") {
gotoAndStop (11);
};
}
Symbol 657 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (32);
};
}
Symbol 659 Button
on (release) {
tellTarget ("/fire_hall") {
gotoAndStop (1);
};
tellTarget ("/") {
gotoAndStop (18);
};
}
Symbol 660 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (12);
};
stop();
stopAllSounds();
Symbol 660 MovieClip Frame 2
stop();
tellTarget ("/action_water") {
gotoAndStop (5);
};
tellTarget ("/pico") {
gotoAndStop (25);
};
Symbol 660 MovieClip Frame 3
tellTarget ("/firewall") {
gotoAndStop (3);
};
tellTarget ("/fire_onwall") {
gotoAndStop (5);
};
tellTarget ("/action_flamewindow") {
gotoAndStop (3);
};
Symbol 660 MovieClip Frame 14
stopAllSounds();
tellTarget ("/fire_hall") {
play();
};
Symbol 660 MovieClip Frame 15
stop();
tellTarget ("/action_key2use") {
gotoAndStop (3);
};
Symbol 660 MovieClip Frame 16
stop();
tellTarget ("/firewall") {
gotoAndStop (5);
};
Symbol 665 Button
on (release) {
tellTarget ("/continue") {
play();
};
}
Symbol 667 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 669 Button
on (release) {
getURL ("http://www.newgrounds.com/pico", "_blank");
}
Symbol 671 Button
on (release) {
tellTarget ("/") {
gotoAndStop (1);
};
}
Symbol 673 MovieClip Frame 16
stop();
Symbol 674 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (7);
};
tellTarget ("/action_gun") {
gotoAndStop (1);
};
tellTarget ("/action_room9") {
play();
};
tellTarget ("/") {
gotoAndStop (9);
};
}
Symbol 676 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 2
tellTarget ("/room") {
play();
};
tellTarget ("/action_gun") {
gotoAndStop (17);
};
Symbol 676 MovieClip Frame 5
stop();
Symbol 676 MovieClip Frame 6
tellTarget ("/action_gun") {
gotoAndStop (3);
};
tellTarget ("/room") {
gotoAndStop (2);
};
Symbol 680 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 20
stop();
Symbol 680 MovieClip Frame 44
stop();
Symbol 680 MovieClip Frame 73
stop();
Symbol 680 MovieClip Frame 98
stop();
Symbol 680 MovieClip Frame 99
stop();
Symbol 680 MovieClip Frame 100
stop();
Symbol 680 MovieClip Frame 101
stop();
Symbol 680 MovieClip Frame 102
_root.medal_popup.unlockMedal("Scat Man");
stop();
Symbol 680 MovieClip Frame 104
gotoAndStop (103);
Symbol 681 Button
on (release) {
play();
}
Symbol 683 MovieClip Frame 1
play();
stop();
tellTarget ("/room/water2") {
stop();
};
Symbol 683 MovieClip Frame 2
stop();
tellTarget ("/room/water2") {
play();
};
Symbol 685 MovieClip Frame 1
play();
stop();
tellTarget ("/room/water1") {
stop();
};
Symbol 685 MovieClip Frame 2
stop();
tellTarget ("/room/water1") {
play();
};
Symbol 689 MovieClip Frame 1
stop();
Symbol 689 MovieClip Frame 70
if (!_root.tapthat) {
_root.tapthat = true;
_root.medal_popup.unlockMedal("Tap That");
}
stop();
Symbol 689 MovieClip Frame 75
gotoAndStop (71);
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 5
stop();
Symbol 700 MovieClip Frame 1
stop();
Symbol 700 MovieClip Frame 19
stop();
Symbol 700 MovieClip Frame 39
stop();
Symbol 700 MovieClip Frame 60
stop();
Symbol 700 MovieClip Frame 61
if (!_root.marcsummers) {
_root.marcsummers = true;
_root.medal_popup.unlockMedal("Marc Summers");
}
Symbol 700 MovieClip Frame 90
gotoAndStop (60);
Symbol 710 Button
on (release) {
gotoAndStop (13);
}
Symbol 713 MovieClip Frame 1
stop();
tellTarget ("/map") {
gotoAndStop (8);
};
tellTarget ("/music") {
gotoAndPlay (3);
};
Symbol 713 MovieClip Frame 10
stop();
Symbol 713 MovieClip Frame 11
stop();
Symbol 713 MovieClip Frame 12
stop();
Symbol 713 MovieClip Frame 13
tellTarget ("turd") {
play();
};
stop();
Symbol 713 MovieClip Frame 14
stop();
Symbol 713 MovieClip Frame 15
stop();
Symbol 713 MovieClip Frame 16
stop();
Symbol 713 MovieClip Frame 20
tellTarget ("door") {
gotoAndStop (5);
};
tellTarget ("/action_gun") {
gotoAndStop (19);
};
tellTarget ("/action_room14") {
gotoAndStop (3);
};
Symbol 713 MovieClip Frame 40
stop();
Symbol 737 MovieClip Frame 1
stop();
Symbol 737 MovieClip Frame 51
tellTarget ("/room") {
gotoAndPlay (250);
};
Symbol 738 MovieClip Frame 1
stop();
Symbol 740 Button
on (press) {
tellTarget ("/room/light") {
play();
};
tellTarget ("/room/ninja_health") {
nextFrame();
};
}
Symbol 743 MovieClip Frame 7
stop();
Symbol 745 MovieClip Frame 12
stop();
Symbol 746 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (7);
};
tellTarget ("/action_room9") {
play();
};
tellTarget ("/") {
gotoAndStop (9);
};
}
Symbol 751 Button
on (release) {
play();
tellTarget ("/icon_goggles") {
play();
};
}
Symbol 752 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (14);
};
tellTarget ("/music") {
gotoAndPlay (5);
};
tellTarget ("/pico") {
gotoAndStop (21);
};
Symbol 752 MovieClip Frame 2
tellTarget ("/action_semi") {
gotoAndStop (3);
};
Symbol 752 MovieClip Frame 33
stopAllSounds();
Symbol 752 MovieClip Frame 40
stop();
Symbol 752 MovieClip Frame 41
stop();
Symbol 752 MovieClip Frame 42
stop();
Symbol 752 MovieClip Frame 43
stop();
Symbol 752 MovieClip Frame 44
stop();
Symbol 752 MovieClip Frame 45
stop();
Symbol 752 MovieClip Frame 60
stopAllSounds();
Symbol 752 MovieClip Frame 63
tellTarget ("/action_semi") {
gotoAndStop (2);
};
Symbol 752 MovieClip Frame 80
tellTarget ("/health") {
nextFrame();
};
Symbol 752 MovieClip Frame 220
gotoAndPlay (64);
Symbol 752 MovieClip Frame 253
stopAllSounds();
tellTarget ("/continue") {
gotoAndStop (5);
};
Symbol 752 MovieClip Frame 254
tellTarget ("/action_semi") {
gotoAndStop (1);
};
tellTarget ("/action_room15") {
gotoAndStop (3);
};
Symbol 752 MovieClip Frame 294
stop();
Symbol 752 MovieClip Frame 295
stop();
tellTarget ("/action_room15") {
gotoAndStop (5);
};
Symbol 753 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (20);
};
}
Symbol 754 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (3);
};
tellTarget ("/fire_onwall") {
play();
};
tellTarget ("/") {
gotoAndStop (5);
};
}
Symbol 755 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (21);
};
tellTarget ("/") {
gotoAndStop (17);
};
}
Symbol 760 MovieClip Frame 1
tellTarget ("/nightvision") {
gotoAndStop (1);
};
stopAllSounds();
tellTarget ("/map") {
gotoAndStop (2);
};
Symbol 760 MovieClip Frame 2
stop();
Symbol 761 Button
on (release) {
tellTarget ("/pico") {
gotoAndStop (19);
};
}
Symbol 762 Button
on (release) {
tellTarget ("/action_goggles") {
gotoAndStop (1);
};
tellTarget ("/pico") {
gotoAndStop (7);
};
tellTarget ("/") {
gotoAndStop (16);
};
}
Symbol 765 Button
on (release) {
play();
tellTarget ("/icon_key2") {
play();
};
tellTarget ("/action_key2") {
gotoAndStop (3);
};
tellTarget ("/action_key2use") {
gotoAndStop (1);
};
}
Symbol 767 MovieClip Frame 1
stop();
Symbol 767 MovieClip Frame 2
stop();
Symbol 768 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (1);
};
tellTarget ("/action_goggles") {
gotoAndStop (3);
};
tellTarget ("/nightvision") {
gotoAndStop (1);
};
stop();
tellTarget ("/action_window") {
play();
};
Symbol 768 MovieClip Frame 2
stop();
Symbol 769 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
tellTarget ("/room/ceiling") {
stop();
};
play();
}
Symbol 773 MovieClip Frame 1
stop();
Symbol 773 MovieClip Frame 7
tellTarget ("/room/ceiling") {
gotoAndStop (1);
};
stop();
Symbol 774 MovieClip Frame 1
stop();
Symbol 774 MovieClip Frame 22
tellTarget ("/health") {
nextFrame();
};
Symbol 774 MovieClip Frame 27
gotoAndStop (1);
Symbol 775 MovieClip Frame 1
stop();
Symbol 797 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 799 MovieClip Frame 1
stop();
Symbol 799 MovieClip Frame 2
stop();
Symbol 799 MovieClip Frame 3
stop();
Symbol 799 MovieClip Frame 4
stop();
Symbol 799 MovieClip Frame 5
stop();
Symbol 799 MovieClip Frame 6
stop();
tellTarget ("/room/bg/box") {
play();
};
Symbol 800 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 2
stop();
tellTarget ("/room/bg") {
play();
};
Symbol 804 MovieClip Frame 1
stop();
Symbol 804 MovieClip Frame 2
stop();
Symbol 804 MovieClip Frame 70
tellTarget ("/room/demon_health") {
nextFrame();
};
Symbol 804 MovieClip Frame 71
tellTarget ("/room/demon_health") {
nextFrame();
};
Symbol 804 MovieClip Frame 72
tellTarget ("/room/demon_health") {
nextFrame();
};
Symbol 804 MovieClip Frame 73
tellTarget ("/room/flash") {
play();
};
tellTarget ("/room/outside") {
gotoAndPlay (2);
};
tellTarget ("/room/demon_health") {
nextFrame();
};
Symbol 804 MovieClip Frame 74
_root.medal_popup.unlockMedal("Bruckheimer");
tellTarget ("/room/demon_health") {
nextFrame();
};
Symbol 804 MovieClip Frame 75
stop();
tellTarget ("/room/demon_health") {
nextFrame();
};
Symbol 805 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 819 MovieClip Frame 1
stop();
Symbol 819 MovieClip Frame 7
stop();
Symbol 820 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 821 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
}
Symbol 822 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 830 MovieClip Frame 1
stop();
Symbol 830 MovieClip Frame 8
stop();
Symbol 831 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 839 MovieClip Frame 1
stop();
Symbol 839 MovieClip Frame 8
stop();
Symbol 843 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
gotoAndPlay (66);
}
Symbol 857 MovieClip Frame 41
tellTarget ("/room/demon_health") {
nextFrame();
};
Symbol 857 MovieClip Frame 65
gotoAndPlay (1);
Symbol 857 MovieClip Frame 72
stop();
Symbol 858 MovieClip Frame 1
stop();
Symbol 858 MovieClip Frame 2
stop();
Symbol 858 MovieClip Frame 3
stop();
Symbol 858 MovieClip Frame 4
stop();
Symbol 858 MovieClip Frame 23
stop();
Symbol 860 MovieClip Frame 1
stop();
Symbol 860 MovieClip Frame 28
stop();
Symbol 878 MovieClip Frame 6
stop();
Symbol 882 Button
on (press) {
play();
tellTarget ("/pico") {
gotoAndStop (22);
};
tellTarget ("/room/demon_health") {
nextFrame();
};
}
Symbol 890 MovieClip Frame 1
stop();
Symbol 890 MovieClip Frame 5
stop();
Symbol 899 MovieClip Frame 150
stop();
Symbol 902 MovieClip Frame 1
stop();
Symbol 902 MovieClip Frame 50
tellTarget ("/room") {
gotoAndPlay (230);
};
Symbol 902 MovieClip Frame 104
tellTarget ("/room") {
gotoAndPlay (230);
};
Symbol 902 MovieClip Frame 160
tellTarget ("/room") {
gotoAndPlay (230);
};
Symbol 902 MovieClip Frame 208
tellTarget ("/room") {
gotoAndStop (265);
};
Symbol 904 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
play();
}
Symbol 910 MovieClip Frame 1
stop();
Symbol 910 MovieClip Frame 8
tellTarget ("/room") {
gotoAndStop (221);
};
Symbol 910 MovieClip Frame 9
stop();
Symbol 911 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
}
Symbol 912 Button
on (press) {
tellTarget ("/pico") {
gotoAndStop (22);
};
gotoAndPlay ("hit");
}
Symbol 916 MovieClip Frame 55
tellTarget ("/room/flash") {
play();
};
tellTarget ("/health") {
play();
};
Symbol 916 MovieClip Frame 56
stop();
Symbol 916 MovieClip Frame 129
gotoAndStop (1);
Symbol 919 MovieClip Frame 24
stop();
Symbol 921 MovieClip Frame 41
tellTarget ("/room") {
play();
};
stop();
Symbol 922 MovieClip Frame 1
stop();
Symbol 922 MovieClip Frame 2
stop();
Symbol 922 MovieClip Frame 3
stop();
Symbol 923 MovieClip Frame 91
tellTarget ("/room") {
gotoAndPlay ("barrel_toss");
};
Symbol 930 MovieClip Frame 1
stopAllSounds();
tellTarget ("/continue") {
gotoAndStop (7);
};
tellTarget ("/pico") {
gotoAndStop (21);
};
tellTarget ("/map") {
gotoAndStop (13);
};
tellTarget ("/action_semi") {
gotoAndStop (3);
};
Symbol 930 MovieClip Frame 3
stop();
Symbol 930 MovieClip Frame 4
stop();
Symbol 930 MovieClip Frame 5
stop();
Symbol 930 MovieClip Frame 6
stop();
Symbol 930 MovieClip Frame 7
stop();
Symbol 930 MovieClip Frame 8
stop();
Symbol 930 MovieClip Frame 9
stop();
Symbol 930 MovieClip Frame 10
stop();
Symbol 930 MovieClip Frame 11
stop();
Symbol 930 MovieClip Frame 12
stop();
Symbol 930 MovieClip Frame 13
stop();
Symbol 930 MovieClip Frame 14
stop();
Symbol 930 MovieClip Frame 19
stopAllSounds();
Symbol 930 MovieClip Frame 59
stopAllSounds();
Symbol 930 MovieClip Frame 189
tellTarget ("bg") {
gotoAndStop (2);
};
tellTarget ("/action_semi") {
gotoAndStop (2);
};
Symbol 930 MovieClip Frame 220
tellTarget ("flash") {
play();
};
tellTarget ("/health") {
play();
};
Symbol 930 MovieClip Frame 221
stop();
Symbol 930 MovieClip Frame 230
tellTarget ("demon") {
stop();
};
tellTarget ("demon/pattern") {
gotoAndStop (2);
};
Symbol 930 MovieClip Frame 253
tellTarget ("ceiling") {
play();
};
Symbol 930 MovieClip Frame 260
tellTarget ("demon/pattern") {
gotoAndStop (1);
};
tellTarget ("demon") {
play();
};
stop();
Symbol 930 MovieClip Frame 265
tellTarget ("demon") {
stop();
};
tellTarget ("demon/pattern") {
gotoAndStop (3);
};
Symbol 930 MovieClip Frame 290
stop();
tellTarget ("/action_semi") {
gotoAndStop (1);
};
tellTarget ("/") {
nextFrame();
};
Symbol 936 MovieClip Frame 1
stop();
Symbol 936 MovieClip Frame 5
gotoAndPlay (2);
Symbol 944 MovieClip Frame 50
stop();
Symbol 944 MovieClip Frame 51
stop();
Symbol 944 MovieClip Frame 52
stop();
Symbol 944 MovieClip Frame 53
stop();
Symbol 967 MovieClip Frame 1
tellTarget ("/map") {
gotoAndStop (1);
};
Symbol 967 MovieClip Frame 6
stopAllSounds();
Symbol 967 MovieClip Frame 115
tellTarget ("teacher") {
play();
};
stop();
Symbol 967 MovieClip Frame 116
stop();
Symbol 967 MovieClip Frame 117
stop();
Symbol 967 MovieClip Frame 118
stop();
Symbol 967 MovieClip Frame 119
stop();
Symbol 967 MovieClip Frame 120
stop();
Symbol 967 MovieClip Frame 121
tellTarget ("teacher") {
gotoAndStop (1);
};
stopAllSounds();
Symbol 967 MovieClip Frame 187
tellTarget ("/") {
nextFrame();
};
Symbol 967 MovieClip Frame 202
tellTarget ("/") {
nextFrame();
};
Symbol 967 MovieClip Frame 226
stopAllSounds();
Symbol 967 MovieClip Frame 227
tellTarget ("/") {
nextFrame();
};
Symbol 975 MovieClip Frame 123
stop();
Symbol 982 MovieClip Frame 1
stop();
Symbol 982 MovieClip Frame 5
gotoAndPlay (2);
Symbol 1026 MovieClip Frame 1
stopAllSounds();
Symbol 1026 MovieClip Frame 2
tellTarget ("/map") {
gotoAndStop (1);
};
Symbol 1026 MovieClip Frame 3
tellTarget ("teacher") {
play();
};
stop();
Symbol 1026 MovieClip Frame 4
stop();
Symbol 1026 MovieClip Frame 5
stop();
Symbol 1026 MovieClip Frame 6
stop();
Symbol 1026 MovieClip Frame 7
stop();
Symbol 1026 MovieClip Frame 30
stopAllSounds();
Symbol 1026 MovieClip Frame 31
tellTarget ("teacher") {
gotoAndStop (1);
};
stop();
Symbol 1026 MovieClip Frame 32
stop();
Symbol 1026 MovieClip Frame 33
stop();
Symbol 1026 MovieClip Frame 34
stop();
Symbol 1026 MovieClip Frame 35
stop();
Symbol 1026 MovieClip Frame 36
stop();
Symbol 1026 MovieClip Frame 37
stop();
Symbol 1026 MovieClip Frame 38
stop();
Symbol 1026 MovieClip Frame 170
stopAllSounds();
Symbol 1026 MovieClip Frame 171
stop();
tellTarget ("/") {
gotoAndStop (2);
};