Frame 1
function menuStuff() {
getURL ("http://goat-man.newgrounds.com", _blank);
}
function menuStuff2() {
getURL ("http://night-mare.newgrounds.com", _blank);
}
function menuStuff3() {
getURL ("http://maxGames.com", _blank);
}
NewgroundsAPI.connectMovie(3073);
mochi.MochiServices.connect("431bedff307bd37c");
menu = new ContextMenu();
menu.hideBuiltInItems();
Functioned1 = new ContextMenuItem("Artwork: Goat-Man", menuStuff);
Functioned2 = new ContextMenuItem("Coding: Lochie.", menuStuff2);
Functioned3 = new ContextMenuItem("More Games at MaxGames.com", menuStuff3);
menu.customItems.push(Functioned1);
menu.customItems.push(Functioned2);
menu.customItems.push(Functioned3);
_root.menu = menu;
Frame 4
stop();
removeMovieClip(pauseMenu);
removeMovieClip(endMenu);
removeMovieClip(hero);
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
function reset() {
removeMovieClip(devil1);
removeMovieClip(devil2);
removeMovieClip(devil3);
removeMovieClip(rock1);
scope = false;
speedDouble = false;
arrowsLeft = 7;
distance = 0;
look = 0;
timage = 0;
i = 1;
iD = 1;
iR = 1;
_root.hero._x = _root.hero.startX;
_root.hero._y = _root.hero.startY;
_root.hero.dead = false;
_root.hero.hurt = false;
_root.devil.reload = true;
_root.rock.reload = true;
_root.heart.reload = true;
_root.powerUp.reload = true;
life.gotoAndStop(1);
}
scope = false;
pauseGame = false;
endGame = false;
endAll = false;
speedDouble = false;
arrowsLeft = 7;
best = 0;
distance = 0;
look = 0;
timage = 0;
i = 1;
iD = 1;
iR = 1;
onEnterFrame = function () {
if (endAll == true) {
gamePlaySound.setVolume(25);
} else {
gamePlaySound.setVolume(100);
}
arrowsLeftMC.arrowsLeft = arrowsLeft;
if (endAll == false) {
if (speedDouble == true) {
spark.duplicateMovieClip(["spark" + i], _root.getNextHighestDepth());
i = i + 1;
}
distance = distance + 1;
distanceText = "Distance: " + distance;
bestText = "Best: " + best;
if (distance > best) {
best = distance;
}
timage++;
if (timage == 100) {
look = random(7);
timage = 0;
}
if (look == 1) {
if (iR < 2) {
_root.rock.duplicateMovieClip(["rock" + iR], ["rock" + iR].swapDepths(_root.hero));
iR = iR + 1;
}
look = 0;
} else if (look == 2) {
if (iD < 4) {
_root.devil.duplicateMovieClip(["devil" + iD], ["devil" + iD].swapDepths(_root.hero));
iD = iD + 1;
}
look = 0;
}
}
advertBut.getNextHighestDepth();
};
gamePlaySound = new Sound(this);
gamePlaySound.attachSound("gamePlaySound");
gamePlaySound.start(0, 99);
gamePlaySound.setVolume(100);
Instance of Symbol 209 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.endAll == false) {
this.play();
} else {
this.stop();
}
}
Instance of Symbol 211 MovieClip in Frame 11
onClipEvent (load) {
reload = true;
startX = _x;
speed = random(10);
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (speed < 3) {
speed = 4;
}
if (reload == true) {
_y = random(400);
speed = random(10);
reload = false;
}
_x = (_x - speed);
if (this._x < -100) {
reload = true;
_x = startX;
}
}
}
Instance of Symbol 213 MovieClip in Frame 11
onClipEvent (load) {
reload = true;
startX = _x;
speed = random(10);
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (speed < 3) {
speed = 4;
}
if (reload == true) {
_y = random(400);
speed = random(10);
reload = false;
}
_x = (_x - speed);
if (this._x < -100) {
reload = true;
_x = startX;
}
}
}
Instance of Symbol 215 MovieClip in Frame 11
onClipEvent (load) {
reload = true;
startX = _x;
speed = random(10);
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (speed < 3) {
speed = 4;
}
if (reload == true) {
_y = random(400);
speed = random(10);
reload = false;
}
_x = (_x - speed);
if (this._x < -100) {
reload = true;
_x = startX;
}
}
}
Instance of Symbol 217 MovieClip "Arrow2" in Frame 11
onClipEvent (load) {
xt = 0;
yt = 0;
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (this.hitTest(((((_root.rock.circle or _root.rock1.circle) or _root.devil.body) or _root.devil1.body) or _root.devil2.body) or _root.devil3.body)) {
this.gotoAndStop(2);
}
_x = (_x + (xt / 10));
_y = (_y + (yt / 10));
}
}
Instance of Symbol 217 MovieClip "Arrow1" in Frame 11
onClipEvent (load) {
xt = 0;
yt = 0;
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (this.hitTest(((((_root.rock.circle or _root.rock1.circle) or _root.devil.body) or _root.devil1.body) or _root.devil2.body) or _root.devil3.body)) {
this.gotoAndStop(2);
}
_x = (_x + (xt / 10));
_y = (_y + (yt / 10));
}
}
Instance of Symbol 217 MovieClip "Arrow3" in Frame 11
onClipEvent (load) {
xt = 0;
yt = 0;
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (this.hitTest(((((_root.rock.circle or _root.rock1.circle) or _root.devil.body) or _root.devil1.body) or _root.devil2.body) or _root.devil3.body)) {
this.gotoAndStop(2);
}
_x = (_x + (xt / 10));
_y = (_y + (yt / 10));
}
}
Instance of Symbol 217 MovieClip "Arrow4" in Frame 11
onClipEvent (load) {
xt = 0;
yt = 0;
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (this.hitTest(((((_root.rock.circle or _root.rock1.circle) or _root.devil.body) or _root.devil1.body) or _root.devil2.body) or _root.devil3.body)) {
this.gotoAndStop(2);
}
_x = (_x + (xt / 10));
_y = (_y + (yt / 10));
}
}
Instance of Symbol 217 MovieClip "Arrow5" in Frame 11
onClipEvent (load) {
xt = 0;
yt = 0;
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (this.hitTest(((((_root.rock.circle or _root.rock1.circle) or _root.devil.body) or _root.devil1.body) or _root.devil2.body) or _root.devil3.body)) {
this.gotoAndStop(2);
}
_x = (_x + (xt / 10));
_y = (_y + (yt / 10));
}
}
Instance of Symbol 219 MovieClip "spark" in Frame 11
onClipEvent (load) {
this.swapDepths(_root.hero);
if (_root.speedDouble == true) {
_visible = true;
} else {
_visible = false;
}
_x = _root.hero._x;
_y = (_root.hero._y + 40);
_x = (_x + random(10));
_x = (_x - random(10));
_y = (_y + random(10));
_y = (_y - random(10));
remove = false;
}
onClipEvent (enterFrame) {
if (remove == true) {
this.removeMovieClip();
}
if (_root.endAll == false) {
this.play();
} else {
this.stop();
}
}
Instance of Symbol 231 MovieClip "powerUp" in Frame 11
onClipEvent (load) {
function reload() {
_y = random(400);
_x = 715;
this.gotoAndStop(random(6));
this.obj.gotoAndStop(1);
}
_y = random(400);
_x = 715;
this.gotoAndStop(random(6));
_x = 715;
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (_x < -250) {
reload();
}
_x = (_x - 5);
}
}
Instance of Symbol 249 MovieClip "devil" in Frame 11
onClipEvent (load) {
reload = true;
startX = 670;
speed = random(10);
}
onClipEvent (enterFrame) {
if (speed == 0) {
speed = speed + 1;
}
if (_root.endAll == false) {
_x = (_x - speed);
if (rotation == true) {
hand._rotation = ang + 50;
yd = _root.hero._y - _y;
xd = _root.hero._x - _x;
ang = (Math.atan2(yd, xd) * 180) / Math.PI;
}
if (speed < 3) {
speed = 4;
}
if (reload == true) {
this.body.dead = false;
this.hand.dead = false;
this.powerUp.released = false;
_y = random(400);
_x = startX;
speed = random(10);
reload = false;
}
if (this._x < -100) {
reload = true;
}
}
}
Instance of Symbol 262 MovieClip "rock" in Frame 11
onClipEvent (load) {
reload = true;
startY = -50;
speed = random(10);
}
onClipEvent (enterFrame) {
if (speed == 0) {
speed = speed + 1;
}
if (_root.endAll == false) {
if (this.circle.hitTest(_root.hero)) {
this.gotoAndStop(2);
_root.hero.hurt = true;
}
if (speed < 3) {
speed = 4;
}
if (reload == true) {
_x = random(620);
speed = random(10);
this.gotoAndStop(1);
_y = startY;
reload = false;
}
_y = (_y + speed);
_x = (_x - speed);
if (this._y > 700) {
reload = true;
}
}
}
Instance of Symbol 263 MovieClip "heart" in Frame 11
onClipEvent (load) {
function reload() {
speed = random(5);
_x = random(600);
_y = startY;
this.gotoAndStop(1);
}
startY = _y;
_x = random(600);
speed = random(5);
}
onClipEvent (enterFrame) {
if (speed == 0) {
speed = 1;
}
if (_root.endAll == false) {
if (_y > 500) {
reload();
}
_y = (_y + speed);
}
}
Instance of Symbol 270 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.infinateArrows == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 143 MovieClip "bow" in Frame 11
onClipEvent (load) {
i = 1;
Bullet = _root.Arrow1;
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
_rotation = ang;
yd = _root._ymouse - this._y;
xd = _root._xmouse - this._x;
ang = (Math.atan2(yd, xd) * 180) / Math.PI;
_x = (_root.hero._x + 30);
_y = (_root.hero._y + 10);
}
}
onClipEvent (mouseDown) {
if (_root.endAll == false) {
Bullet = _root["Arrow" + i];
i = i + 1;
if (i == 6) {
i = 1;
}
if (_root.arrowsLeft != 0) {
this.play();
Bullet.gotoAndStop(1);
Bullet._rotation = _rotation;
Bullet._x = _x;
Bullet._y = _y;
Bullet.yt = _root.aimingCircle._y - this._y;
Bullet.xt = _root.aimingCircle._x - this._x;
_root.arrowsLeft = _root.arrowsLeft - 1;
}
}
}
Instance of Symbol 293 MovieClip "hero" in Frame 11
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
maxSpeed = 5;
hurt = false;
dead = false;
startX = _x;
startY = _y;
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (dead == true) {
this.gotoAndStop(5);
_x = (_x - 3);
_y = (_y + 6);
if (_y > 700) {
_root.endGame = true;
_root.endAll = true;
}
} else {
if (hurt == false) {
if (_root.speedDouble == true) {
maxSpeed = 20;
speed = speed * 2;
} else {
maxSpeed = 5;
}
if (xspeed > maxSpeed) {
xspeed = maxSpeed;
}
if (yspeed > maxSpeed) {
yspeed = maxSpeed;
}
if (xspeed < (-maxSpeed)) {
xspeed = -maxSpeed;
}
if (yspeed < (-maxSpeed)) {
yspeed = -maxSpeed;
}
xspeed = xspeed + (((Key.isDown(39) - Key.isDown(37)) + Key.isDown(68)) - Key.isDown(65));
if (xspeed > 2) {
this.gotoAndStop(3);
} else if (xspeed < -2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
yspeed = yspeed + (((Key.isDown(40) - Key.isDown(38)) + Key.isDown(83)) - Key.isDown(87));
} else {
this.gotoAndStop(4);
}
_x = (_x + ((xspeed = xspeed * 0.9)));
_y = (_y + ((yspeed = yspeed * 0.9)));
if (_x > 550) {
_x = (_x-1);
xspeed = 0;
}
if (_x < 50) {
_x = (_x+1);
xspeed = 0;
}
if (_y > 350) {
_y = (_y-1);
yspeed = 0;
}
if (_y < 50) {
_y = (_y+1);
yspeed = 0;
}
}
}
}
Instance of Symbol 297 MovieClip "aimingCircle" in Frame 11
onClipEvent (load) {
var hypotenuse = 100;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
_root.bow.xDist = this._x - _root.bow._x;
_root.bow.yDist = this._y - _root.bow._y;
_root.bow.angle = Math.atan2(_root.bow.yDist, _root.bow.xDist);
this._x = _root.bow._x + (Math.cos(_root.bow.angle) * hypotenuse);
this._y = _root.bow._y + (Math.sin(_root.bow.angle) * hypotenuse);
}
Instance of Symbol 342 MovieClip "timer" in Frame 11
onClipEvent (enterFrame) {
if (_root.endAll == false) {
_x = _root.hero._x;
_y = (_root.hero._y - 80);
if (((_root.speedDouble == true) or (_root.infinateArrows == true)) or (_root.scope == true)) {
this.play();
}
} else {
this.stop();
}
}
Instance of Symbol 364 MovieClip "pauseMenu" in Frame 11
onClipEvent (enterFrame) {
if (_root.endGame == false) {
if (_root.pauseGame == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 369 MovieClip "endMenu" in Frame 11
onClipEvent (enterFrame) {
if (_root.endGame == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 14 Button
on (release) {
getURL ("http://arcadevoid.com/?hmessenger", "_blank");
}
Symbol 31 MovieClip Frame 40
stop();
Symbol 45 Button
on (press) {
tellTarget (_root) {
nextFrame();
};
}
Symbol 46 Button
on (press) {
gotoAndStop ("end");
_root.nextFrame();
}
Instance of Symbol 21 MovieClip in Symbol 47 MovieClip Frame 1
onClipEvent (load) {
_root.stop();
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop("lastframe");
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay("loaded");
}
}
Symbol 47 MovieClip Frame 101
play();
Symbol 47 MovieClip Frame 165
stop();
Symbol 53 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 58 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 60 MovieClip Frame 1
function startAd(ngad_url) {
trace("opening " + ngad_url);
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
Symbol 372 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var _local2 = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds(special) {
if (special) {
var _local1 = {page:special};
}
SendLink(NEWGROUNDS, _local1);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_events[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_events[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id, extra) {
SendStat(id, true, extra);
}
static function ReadGatewayData(params) {
for (var _local2 in params) {
params[_local2] = unescape(params[_local2]);
movie_options[_local2] = params[_local2];
}
if (params.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
if (movie_options.request_portal_url == 1) {
var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url);
var _local3 = new XML();
_local3.ignoreWhite = true;
_local3.load(_local4);
}
} else if (!movie_options.settings_loaded) {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser, extra) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id.");
SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?");
} else {
var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id;
for (var _local9 in extra) {
_local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9]));
}
trace(_local7);
if (debug) {
_local7 = _local7 + "&debug=1";
}
if (open_in_browser) {
getURL (_local7, "_blank");
} else {
var _local10 = new XML();
_local10.ignoreWhite = true;
_local10.onLoad = function (success) {
var _local6 = new Object();
var _local3 = 0;
while (_local3 < this.firstChild.childNodes.length) {
var _local4 = this.firstChild.childNodes[_local3];
var _local5 = _local4.nodeName;
var _local2 = _local4.attributes.value;
if (_local2 == Number(_local2)) {
_local2 = Number(_local2);
}
_local6[_local5] = _local2;
_local3++;
}
NewgroundsAPI.ReadGatewayData(_local6);
};
_local10.load(_local7);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var _local2 = new Object();
_local2.x = Stage.width / 2;
_local2.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var _local3 = (("Version " + version) + " is now available at:") + newline;
var _local5 = _local3.length;
_local3 = _local3 + movie_url;
var _local4 = _local3.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = _local3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
InitTextFormats();
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var _local2 = ("This movie has not been approved for use on " + hostname) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + movie_url;
var _local3 = _local2.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = _local2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function isInstalled() {
return(true);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 373 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices
{
static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("1.34");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
_rcvChannelName = val;
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.MochiServices.onError = onError;
} else if (mochi.MochiServices.onError == undefined) {
mochi.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
_rcvChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local2 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
allowDomains(_gatewayURL);
_clip = clip.createEmptyMovieClip(_local2, 10336, false);
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip(_gatewayURL, _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
_rcvChannel = new LocalConnection();
_rcvChannel.allowDomain = function (d) {
return(true);
};
_rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain;
_rcvChannel._nextcallbackID = 0;
_rcvChannel._callbacks = {};
listen();
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_rcvChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_rcvChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_rcvChannel.onError = function () {
mochi.MochiServices.onError.apply(null, ["IOError"]);
};
_rcvChannel.connect(_rcvChannelName);
trace("connected!");
_connecting = false;
_connected = true;
_listenChannel.close();
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _rcvChannel._callbacks[_local1.callbackID];
}
delete _rcvChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
}
_rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_rcvChannel._nextcallbackID++;
}
static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__mochiservices";
static var _connecting = false;
static var _connected = false;
}
Symbol 374 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.MochiScores.boardID = boardID;
mochi.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if (options.clip != null) {
if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.__get__childClip()._target == undefined)) {
mochi.MochiServices.disconnect();
mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip);
}
delete options.clip;
}
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (typeof(options.score) == "object") {
if (options.score.text != undefined) {
options.score = options.score.text;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 63 Button
on (release) {
getURL ("http://arcadevoid.com/?hmessenger", "_blank");
}
Symbol 90 MovieClip Frame 2
var i = 1;
while (i < 10) {
fireball0.duplicateMovieClip("fireball" + i, 100 * i);
i++;
}
var i = 0;
while (i < 10) {
var fireball = this["fireball" + i];
fireball._rotation = random(360);
fireball.scale = 50 + random(50);
fireball.mc._xscale = fireball.scale;
fireball.mc._yscale = fireball.scale;
fireball.xSpeed = 10 + random(10);
fireball.onEnterFrame = function () {
this.mc._x = this.mc._x + this.xSpeed;
this.mc._xscale = this.mc._xscale + 10;
this.mc._alpha = this.mc._alpha - 5;
if (this.mc._alpha <= 0) {
this.removeMovieClip();
}
};
i++;
}
var i = 1;
while (i < 30) {
part0.duplicateMovieClip("part" + i, 200 * i);
i++;
}
var i = 0;
while (i < 30) {
var part = this["part" + i];
part.gotoAndStop(1 + random(part._totalframes));
part.rotation = random(45);
part.xSpeed = -10 + random(20);
part.ySpeed = -10 + random(20);
part.scaleMultiper = random(300);
part.scale = part.scaleMultiper / 40;
part.onEnterFrame = function () {
this._x = this._x + this.xSpeed;
this._xscale = this.scaleMultiper;
this._yscale = this.scaleMultiper;
if (this.scaleMultiper > 0) {
this.scaleMultiper = this.scaleMultiper - this.scale;
}
this._y = this._y + this.ySpeed;
this.ySpeed = this.ySpeed + 0.5;
this._rotation = this._rotation + this.rotation;
if (this.scaleMultiper <= 0) {
this.removeMovieClip();
}
};
i++;
}
Symbol 90 MovieClip Frame 10
stop();
Symbol 98 MovieClip Frame 1
function shake(power, intervalTime, shakeTotal) {
clearInterval(shakeInterval);
shakeCounter = 0;
shakeInterval = setInterval(function () {
if (!pause) {
(random(2) ? (_x = (x - (1 * power))x - (1 * power)) : (_x = (x + (1 * power))x + (1 * power)));
(random(2) ? (_y = (y - (1 * power))y - (1 * power)) : (_y = (y + (1 * power))y + (1 * power)));
if ((++shakeCounter) >= shakeTotal) {
clearInterval(shakeInterval);
_x = x;
_y = y;
}
}
}, intervalTime, this);
}
var x = this._x;
var y = this._y;
Symbol 98 MovieClip Frame 36
shake(3, 6, 12);
Symbol 98 MovieClip Frame 147
_parent.play();
stop();
Symbol 101 MovieClip Frame 47
stop();
Symbol 101 MovieClip Frame 48
_root.nextFrame();
Symbol 101 MovieClip Frame 77
_root.nextFrame();
Symbol 105 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 112 Button
on (release) {
gotoAndStop (11);
}
Symbol 116 Button
on (release) {
gotoAndPlay (5);
}
Symbol 119 Button
on (release) {
getURL ("http://arcadevoid.com/?hmessenger", "_blank");
}
Symbol 122 Button
on (release) {
getURL ("http://goat-man.newgrounds.com", _blank);
}
Symbol 123 Button
on (release) {
getURL ("http://night-mare.newgrounds.com", _blank);
}
Symbol 135 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.scope == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 143 MovieClip Frame 9
stop();
Symbol 146 MovieClip Frame 1
stop();
Instance of Symbol 146 MovieClip in Symbol 147 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.speedDouble == true) {
this.gotoAndStop(2);
_root.check = false;
} else {
this.gotoAndStop(1);
_root.check = false;
}
}
Symbol 154 Button
on (release) {
nextFrame();
}
Symbol 159 Button
on (release) {
_root.gotoAndStop("Menu");
}
Symbol 166 Button
on (release) {
prevFrame();
}
Symbol 167 Button
on (release) {
nextFrame();
}
Symbol 205 Button
on (release) {
gotoAndStop (11);
}
Symbol 206 Button
on (release) {
_root.gotoAndStop("Menu");
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 26
remove = true;
stop();
Symbol 221 MovieClip Frame 1
stop();
Instance of Symbol 217 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.arrowsLeft = _root.arrowsLeft + 5;
_parent.nextFrame();
}
}
Symbol 225 MovieClip Frame 1
stop();
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.arrowsLeft = 1E21;
_root.arrowsLeftMC._visible = false;
_root.infinateArrows = true;
_root.timer.gotoAndPlay(2);
_parent.nextFrame();
}
}
Symbol 226 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip in Symbol 226 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.speedDouble = true;
_root.timer.gotoAndPlay(2);
_parent.nextFrame();
}
}
Symbol 230 MovieClip Frame 1
stop();
Instance of Symbol 229 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.scope = true;
_root.timer.gotoAndPlay(2);
_parent.nextFrame();
}
}
Symbol 231 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 2
_parent.powerUp.released = true;
_root.distance = _root.distance + 100;
Symbol 242 MovieClip Frame 24
stop();
Symbol 242 MovieClip Frame 25
prevFrame();
Symbol 248 MovieClip Frame 1
stop();
_parent.rotation = true;
Instance of Symbol 246 MovieClip in Symbol 248 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.hero.hurt = true;
}
}
Symbol 248 MovieClip Frame 16
_parent.rotation = false;
Symbol 248 MovieClip Frame 57
gotoAndStop (1);
Instance of Symbol 231 MovieClip "powerUp" in Symbol 249 MovieClip Frame 1
onClipEvent (load) {
released = false;
frame = 0;
}
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if (released == true) {
this.gotoAndStop(frame);
_y = (_y + 3);
} else {
this.gotoAndStop(1);
_y = 0;
frame = random(6);
if (frame == 0) {
frame = 2;
}
}
}
}
Instance of Symbol 242 MovieClip "body" in Symbol 249 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.endAll == false) {
if ((((_root.Arrow1.hitTest(this) or _root.Arrow2.hitTest(this)) or _root.Arrow3.hitTest(this)) or _root.Arrow4.hitTest(this)) or _root.Arrow5.hitTest(this)) {
dead = true;
}
if (dead == false) {
if (_root.hero.hitTest(this)) {
_root.hero.hurt = true;
}
this.gotoAndStop(1);
_parent.powerUp.released = false;
} else {
_parent.hand.dead = true;
this.play();
}
}
}
onClipEvent (load) {
dead = false;
}
Instance of Symbol 248 MovieClip "hand" in Symbol 249 MovieClip Frame 1
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (dead == false) {
if (_root.endAll == false) {
this.play();
} else {
this.stop();
}
} else {
this.gotoAndStop("nothing");
}
}
Symbol 260 MovieClip Frame 10
stop();
Symbol 262 MovieClip Frame 1
stop();
Instance of Symbol 197 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.endAll == false) {
this.play();
} else {
this.stop();
}
}
Symbol 263 MovieClip Frame 1
stop();
Instance of Symbol 175 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
frame = _root.life._currentframe - 2;
if (this.hitTest(_root.hero)) {
_root.life.gotoAndStop(frame);
_parent.nextFrame();
}
}
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 11
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 12
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 13
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 14
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 15
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 16
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 17
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 18
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 19
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 20
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 21
_root.hero.dead = true;
stop();
Symbol 267 MovieClip Frame 22
_root.hero.dead = true;
stop();
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 2
stop();
Symbol 271 MovieClip Frame 6
stop();
Symbol 272 MovieClip Frame 6
stop();
Symbol 281 MovieClip Frame 20
_parent.hurt = false;
Symbol 291 MovieClip Frame 9
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 4
frame = _root.life._currentframe + 3;
_root.life.gotoAndStop(frame);
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 193
_root.speedDouble = false;
if (_root.infinateArrows == true) {
_root.arrowsLeft = 7;
_root.arrowsLeftMC._visible = true;
}
_root.infinateArrows = false;
_root.scope = false;
Symbol 346 Button
on (release, keyPress "<Space>") {
_root.arrowsLeft = _root.arrowsLeft + 1;
_root.pauseGame = true;
_root.endAll = true;
}
Symbol 352 Button
on (release, keyPress "<Space>") {
_root.pauseGame = false;
_root.endAll = false;
}
Symbol 357 Button
on (release) {
_root.reset();
_root.endAll = false;
_root.endGame = false;
_root.pauseGame = false;
stopAllSounds();
_root.gotoAndStop("Menu");
}
Symbol 361 Button
on (release) {
function lol() {
clip.stop();
}
mochi.MochiScores.showLeaderboard({boardID:"5a01bb3e29f05f68", onClose:lol});
}
Symbol 364 MovieClip Frame 1
stop();
Symbol 365 Button
on (release) {
_root.reset();
_root.endAll = false;
_root.endGame = false;
}
Symbol 366 Button
on (release) {
_root.reset();
_root.endAll = false;
_root.endGame = false;
stopAllSounds();
_root.gotoAndPlay("Menu");
}
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 2
function lol() {
clip.stop();
}
mochi.MochiScores.showLeaderboard({boardID:"5a01bb3e29f05f68", score:_root.distance, onClose:lol});