Combined Code
movieClip 32 {
}
movieClip 34 {
}
movieClip 39 {
frame 5 {
removeMovieClip(_parent._parent);
stop();
}
}
movieClip 40 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
if (_currentframe == 1) {
if (this.hitTest(_root.DC)) {
gotoAndStop(2);
}
i = 1;
while (i < 100) {
if (!_root['enemy' + i].shoot && _root['enemy' + i].hitTest(this) && _root['enemy' + i].hp > 0) {
gotoAndStop(2);
}
++i;
}
}
}
}
}
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 41 {
frame 1 {
function onEnterFrame() {
if (this.bullet2.ex._currentframe == 5 && this.bullet.ex._currentframe == 5 && this.bullet3.ex._currentframe == 5) {
removeMovieClip(_parent);
}
if (this.bullet.ex._currentframe == 5) {
removeMovieClip(this.bullet);
}
if (this.bullet2.ex._currentframe == 5) {
removeMovieClip(this.bullet2);
}
if (this.bullet3.ex._currentframe == 5) {
removeMovieClip(this.bullet3);
}
}
}
instance bullet2 of movieClip 40 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.sq.sqq)) {
_root.sq.gotoAndStop(2);
_parent.Speed = 0;
this.gotoAndStop(2);
}
}
}
instance bullet3 of movieClip 40 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.sq.sqq)) {
_root.sq.gotoAndStop(2);
_parent.Speed = 0;
this.gotoAndStop(2);
}
}
}
instance bullet of movieClip 40 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.sq.sqq)) {
_root.sq.gotoAndStop(2);
_parent.Speed = 0;
this.gotoAndStop(2);
}
}
}
frame 26 {
stop();
}
}
movieClip 42 tripleBullets {
}
movieClip 59 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
// unknown tag 88 length 178
movieClip 63 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 84) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 1 {
_parent.shoot = false;
}
frame 78 {
_parent.shoot = true;
}
frame 79 {
_parent.shoot = false;
}
frame 84 {
gotoAndPlay(1);
}
}
movieClip 65 {
frame 1 {
function onEnterFrame() {
if (_parent.hp <= 0) {
_parent.gotoAndStop(5);
}
if (!_root.pause) {
if (_parent._currentframe < 4) {
if (_root.player._x > _parent._x + 50) {
_parent._xscale = 100;
} else {
if (_root.player._x < _parent._x - 50) {
_parent._xscale = -100;
}
}
}
if (_parent.shoot) {
_parent.gotoAndStop(3);
}
if (_root.player._x > _parent._x + 200 or _root.player._x < _parent._x - 200) {
if (_parent._currentframe == 1) {
if (_root.player._x > _parent._x + 50) {
_parent._x += 5;
_parent._xscale = 100;
_parent.gotoAndStop(1);
} else {
if (_root.player._x < _parent._x - 50) {
_parent._x -= 5;
_parent._xscale = -100;
_parent.gotoAndStop(1);
}
}
}
} else {
if (!_parent.shoot && _parent._currentframe == 1) {
_parent.gotoAndStop(2);
} else {
if (_parent.shoot) {
_parent.gotoAndStop(3);
}
}
}
}
}
_parent.hp = 100;
_visible = false;
}
}
movieClip 71 {
frame 1 {
function onEnterFrame() {
if (_parent._parent._parent._parent._xscale > 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
}
movieClip 72 {
}
movieClip 73 {
}
movieClip 75 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 79 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 30) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 1 {
_parent.shoot = false;
}
frame 8 {
_parent.shoot = true;
_root.US.start();
}
frame 9 {
_parent.shoot = false;
}
frame 30 {
_parent.gotoAndStop(1);
}
}
movieClip 89 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 7) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 7 {
_parent.gotoAndStop(1);
}
}
movieClip 108 {
}
movieClip 109 {
}
movieClip 110 {
}
movieClip 111 {
}
movieClip 112 {
}
movieClip 113 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 70) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 1 {
_root.UBK.start();
}
frame 70 {
function onEnterFrame() {
if (_parent._name == 'enemy1') {
_root.box.gotoAndStop(random(2) + 1);
_root.box._x = _parent._x;
_root.box._y = _parent._y;
_root.box.visi.gotoAndPlay(1);
} else {
_root.box2.gotoAndStop(random(2) + 1);
_root.box2._x = _parent._x;
_root.box2._y = _parent._y;
_root.box2.visi.gotoAndPlay(1);
}
_parent.gotoAndStop('restart');
}
stop();
}
}
movieClip 115 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
frame 100 {
_parent.gotoAndStop('ReSpawn');
}
}
movieClip 116 UberKid {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
++grav;
_y = _y + grav;
var v2 = 0;
while (v2 < grav) {
while (_root.ground.hitTest(_x, _y + v2, true)) {
onGround = true;
_y = _y - 1;
grav = 0;
}
++v2;
}
}
}
stop();
var grav = 0;
var yvel = 0;
}
instance timer of movieClip 63 {
onClipEvent (enterFrame) {
_visible = false;
}
}
frame 6 {
stop();
}
instance of movieClip 115 {
onClipEvent (enterFrame) {
_visible = false;
}
}
frame 7 {
if (!_root.pause) {
if (_root.boss._currentframe < 7) {
if (random(2) == 1) {
_x = 870;
speed = _root.speed_mib * -1;
destin_x = -100;
} else {
_x = -50;
speed = _root.speed_mib;
destin_x = 650;
}
trace('restart');
gotoAndStop(1);
}
}
}
}
movieClip 127 enemyBul {
}
movieClip 130 {
}
movieClip 131 {
}
movieClip 140 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 33) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 2 {
_root.GEX.start();
}
frame 2 {
_root.GEX.start();
}
frame 33 {
stop();
}
}
movieClip 141 Miner {
frame 1 {
function onEnterFrame() {
if (_root._currentframe > 4) {
_visible = false;
gotoAndStop(3);
}
if (!_root.pause) {
if (_currentframe == 1) {
if (_root.player.hitTest(this) && _root.tinter._currentframe == 2) {
_root.player.gotoAndStop(2);
gotoAndStop(2);
_root.php.lives.nextFrame();
}
}
}
}
}
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 146 {
}
movieClip 147 {
frame 9 {
stop();
}
}
movieClip 149 {
frame 1 {
_parent._visible = true;
}
frame 53 {
_parent._visible = false;
}
frame 61 {
_parent._visible = true;
}
frame 68 {
_parent._visible = false;
}
frame 73 {
_parent._visible = true;
}
frame 79 {
_parent._visible = false;
}
frame 83 {
_parent._visible = true;
}
frame 87 {
_parent._visible = false;
}
frame 90 {
_parent._visible = true;
}
frame 93 {
_parent._visible = false;
}
frame 95 {
_parent._visible = true;
}
frame 97 {
_parent._visible = false;
}
frame 98 {
_parent._visible = true;
}
frame 99 {
_parent._visible = false;
}
frame 100 {
_parent._visible = true;
}
frame 101 {
_parent._visible = false;
stop();
}
}
movieClip 152 {
}
movieClip 153 {
frame 9 {
stop();
}
}
movieClip 154 box {
}
movieClip 156 {
frame 1 {
function onEnterFrame() {
if (_currentframe == 1) {
if (this.hitTest(_root.DC)) {
gotoAndStop(2);
}
i = 1;
while (i < 100) {
if (!_root['enemy' + i].shoot && _root['enemy' + i].hitTest(this) && _root['enemy' + i].hp > 0) {
gotoAndStop(2);
}
++i;
}
}
}
}
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 157 bullet {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
if (this.hitTest(_root.sq) && _root.boss._currentframe < 7) {
trace('hit');
_root.sq.gotoAndStop(2);
this.bullet.gotoAndStop(2);
}
if (!_root.enemy1.shoot && _root.enemy1.hitTest(this) && _root.enemy1.hp > 0) {
_root.enemy1.gotoAndStop(4);
if (_root.gun == 1) {
gunPower = 3;
}
if (_root.gun == 2) {
gunPower = 9;
}
if (_root.gun == 3) {
gunPower = 7;
}
if (_root.gun == 4) {
gunPower = 21;
}
if (Speed > 0) {
_root.enemy1.hp -= gunPower;
}
}
if (!_root.enemy2.shoot && _root.enemy2.hitTest(this) && _root.enemy2.hp > 0) {
_root.enemy2.gotoAndStop(4);
if (_root.gun == 1) {
gunPower = 3;
}
if (_root.gun == 2) {
gunPower = 9;
}
if (_root.gun == 3) {
gunPower = 7;
}
if (_root.gun == 4) {
gunPower = 21;
}
if (Speed > 0) {
_root.enemy2.hp -= gunPower;
}
}
if (Speed == 0) {
this.bullet.gotoAndStop(2);
}
if (this._x < 0) {
Speed = 0;
this.bullet.gotoAndStop(2);
}
if (this._y < -20) {
Speed = 0;
this.bullet.gotoAndStop(2);
}
if (this._y > 520) {
Speed = 0;
this.bullet.gotoAndStop(2);
}
if (this._x > 820) {
Speed = 0;
this.bullet.gotoAndStop(2);
}
if (_rotation > 180) {
_y = _y + Speed * Math.cos(0.01745329 * _rotation);
_x = _x - Speed * Math.sin(0.01745329 * _rotation);
} else {
_y = _y - Speed * Math.cos(0.01745329 * _rotation);
_x = _x + Speed * Math.sin(0.01745329 * _rotation);
}
}
}
stop();
this.gotoAndStop(_root.gun);
var Speed = 18;
_alpha;
random(25) + 75;
if (_root.shootup) {
if (_root.player._xscale > 0) {
this._rotation = +(random(6) - 3);
}
if (_root.player._xscale < 0) {
this._rotation = -(+(random(6) - 3));
}
} else {
if (_root.player._xscale > 0) {
this._rotation = 90 + (random(6) - 3);
} else {
if (_root.player._xscale < 0) {
this._rotation = -(90 + (random(6) - 3));
}
}
}
}
frame 4 {
Speed = 0;
}
}
frame 1 {
function itemHandler1(obj, item) {
getURL('http://shizzlecreature.newgrounds.com', '');
}
function itemHandler1(obj, item) {
getURL('http://WackWacko.newgrounds.com', '');
}
function itemHandler1(obj, item) {
getURL('http://www.newgrounds.com/collection/picoday2010', '');
}
function itemHandler1(obj, item) {
getURL('http://newgrounds.com', '');
}
stop();
NewgroundsAPI.connectMovie(11911);
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem('Shizzle Creature', itemHandler1);
myMenu.customItems.push(item1);
myMenu.customItems.push(new ContextMenuItem('WackWacko', itemHandler1));
myMenu.customItems.push(new ContextMenuItem('Pico Day 2010!', itemHandler1));
myMenu.customItems.push(new ContextMenuItem('Visit Newgrounds', itemHandler1));
_root.menu = myMenu;
}
button 164 {
on (release) {
getURL('http://www.newgrounds.com/collection/picoday2006', '_blank');
}
}
button 167 {
on (release) {
getURL('http://www.newgrounds.com/collection/picoday2007', '_blank');
}
}
button 170 {
on (release) {
getURL('http://www.newgrounds.com/collection/picoday2008', '_blank');
}
}
button 173 {
on (release) {
getURL('http://www.newgrounds.com/collection/picoday2009', '_blank');
}
}
button 176 {
on (release) {
getURL('http://www.newgrounds.com/collection/picoday2010', '_blank');
}
}
movieClip 178 {
}
movieClip 182 {
}
movieClip 183 {
}
button 184 {
on (release) {
_root.gotoAndStop(7);
}
}
movieClip 186 {
instance of movieClip 183 {
onClipEvent (load) {
_root.stop();
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop('loaded');
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop('loaded');
}
}
}
frame 100 {
stop();
}
}
movieClip 187 {
}
movieClip 189 {
}
instance of movieClip 189 {
onClipEvent (enterFrame) {
if (!Key.isDown(81)) {
QC = 0;
}
if (Key.isDown(81) && QC == 0 && _quality == 'HIGH') {
_quality = 'MEDIUM';
_root.QS.gotoAndStop(3);
QC = 1;
}
if (Key.isDown(81) && QC == 0 && _quality == 'MEDIUM') {
_quality = 'LOW';
_root.QS.gotoAndStop(4);
QC = 1;
}
if (Key.isDown(81) && QC == 0 && _quality == 'LOW') {
_quality = 'HIGH';
_root.QS.gotoAndStop(2);
QC = 1;
}
}
}
movieClip 196 {
}
// unknown tag 88 length 103
movieClip 199 {
frame 90 {
_root.QS.gotoAndStop(1);
}
}
movieClip 201 {
frame 90 {
_root.QS.gotoAndStop(1);
}
}
movieClip 203 {
frame 90 {
_root.QS.gotoAndStop(1);
}
}
movieClip 204 {
frame 1 {
stop();
}
}
instance QS of movieClip 204 {
onClipEvent (enterFrame) {
this.swapDepths(900);
}
}
movieClip 914 __Packages.NewgroundsAPI {
#initclip
if (!_global.NewgroundsAPI) {
var v1 = function () {};
_global.NewgroundsAPI = v1;
var v2 = v1.prototype;
v1.connectMovie = function (id) {
if (!id) {
NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.connectMovie(id:Number)');
} else {
if (!NewgroundsAPI.tracker_id) {
NewgroundsAPI.SendMessage('Connecting to API gateway...');
NewgroundsAPI.tracker_id = id;
NewgroundsAPI.host = (_url.split('/'))[2].toLowerCase();
if (NewgroundsAPI.host.length < 1) {
NewgroundsAPI.host = 'localhost';
}
var v2 = new Object();
NewgroundsAPI.SendEvent(NewgroundsAPI.MOVIE_VIEWS);
}
}
};
v1.setMovieVersion = function (movie_version) {
if (!movie_version) {
NewgroundsAPI.SendError('Missing required \'version\' in NewgroundsAPI.setMovieVersion(version:String)');
} else {
NewgroundsAPI.version = movie_version;
}
};
v1.debugMode = function () {
NewgroundsAPI.debug = true;
};
v1.addCustomEvent = function (stat_id, stat_name) {
if (!stat_id) {
NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)');
} else {
if (!stat_name) {
NewgroundsAPI.SendError('Missing required \'event_name\' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)');
} else {
NewgroundsAPI.custom_events[stat_name] = NewgroundsAPI.CUSTOM_STATS + stat_id;
NewgroundsAPI.SendMessage('Created custom event: ' + stat_name);
}
}
};
v1.addCustomLink = function (stat_id, stat_name) {
if (!stat_id) {
NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)');
} else {
if (!stat_name) {
NewgroundsAPI.SendError('Missing required \'link_name\' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)');
} else {
NewgroundsAPI.custom_links[stat_name] = NewgroundsAPI.CUSTOM_STATS + stat_id;
NewgroundsAPI.SendMessage('Created custom link ' + stat_id + ': ' + stat_name);
}
}
};
v1.loadMySite = function () {
NewgroundsAPI.SendLink(NewgroundsAPI.AUTHOR_SITE);
};
v1.loadNewgrounds = function (special) {
if (special) {
var v1 = {'page': special};
}
NewgroundsAPI.SendLink(NewgroundsAPI.NEWGROUNDS, v1);
};
v1.logCustomEvent = function (event_name) {
if (!event_name) {
NewgroundsAPI.SendError('Missing required \'event_name\' parameter in NewgroundsAPI.logCustomEvent(event_name:String)');
} else {
if (!NewgroundsAPI.custom_events[event_name]) {
NewgroundsAPI.SendError('Attempted to log undefined custom event: ' + event_name);
} else {
NewgroundsAPI.SendEvent(NewgroundsAPI.custom_events[event_name]);
}
}
};
v1.loadCustomLink = function (link_name) {
if (!link_name) {
NewgroundsAPI.SendError('Missing required \'link_name\' parameter in NewgroundsAPI.loadCustomLink(link_name:String)');
} else {
if (!NewgroundsAPI.custom_links[link_name]) {
NewgroundsAPI.SendError('Attempted to open undefined custom link: ' + link_name);
} else {
NewgroundsAPI.SendLink(NewgroundsAPI.custom_links[link_name]);
}
}
};
v1.getAdURL = function () {
return NewgroundsAPI.movie_options.ad_url;
};
v1.getMovieURL = function () {
if (NewgroundsAPI.movie_options.movie_url) {
return NewgroundsAPI.movie_options.movie_url;
} else {
return 'Newgrounds.com';
}
};
v1.getNewVersionURL = function () {
return NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&host=' + escape(NewgroundsAPI.host) + '&stat=' + NewgroundsAPI.NEW_VERSION;
};
v1.SendEvent = function (id) {
NewgroundsAPI.SendStat(id, false);
};
v1.SendLink = function (id, extra) {
NewgroundsAPI.SendStat(id, true, extra);
};
v1.ReadGatewayData = function (params) {
for (var v2 in params) {
params[v2] = unescape(params[v2]);
NewgroundsAPI.movie_options[v2] = params[v2];
}
if (params.settings_loaded) {
NewgroundsAPI.SendMessage('You have successfully connected to the Newgrounds API gateway!');
NewgroundsAPI.SendMessage('Movie Identified as \'' + NewgroundsAPI.movie_options.movie_name + '\'');
if (NewgroundsAPI.movie_options.message) {
NewgroundsAPI.SendMessage(NewgroundsAPI.movie_options.message);
}
if (NewgroundsAPI.movie_options.ad_url) {
NewgroundsAPI.SendMessage('Your movie has been approved to run Flash Ads');
NewgroundsAPI.onAdsApproved(NewgroundsAPI.movie_options.ad_url);
}
if (NewgroundsAPI.movie_options.movie_version and NewgroundsAPI.movie_options.movie_version.toString() != NewgroundsAPI.version.toString()) {
NewgroundsAPI.SendMessage('WARNING: The movie version configured in your API settings does not match this movie\'s version!');
NewgroundsAPI.onNewVersionAvailable(NewgroundsAPI.movie_options.movie_version, NewgroundsAPI.getMovieURL(), NewgroundsAPI.getNewVersionURL());
}
if (NewgroundsAPI.movie_options.deny_host) {
NewgroundsAPI.SendMessage('You have blocked \'localHost\' in your API settings.');
NewgroundsAPI.SendMessage('If you wish to test your movie you will need to remove this block.');
NewgroundsAPI.onDenyHost(NewgroundsAPI.host, NewgroundsAPI.getMovieURL(), NewgroundsAPI.getNewVersionURL());
}
if (NewgroundsAPI.movie_options.request_portal_url == 1) {
var v4 = NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&portal_url=' + escape(_url);
var v3 = new XML();
v3.ignoreWhite = true;
v3.load(v4);
}
} else {
if (!NewgroundsAPI.movie_options.settings_loaded) {
NewgroundsAPI.SendError('Could not establish connection to the API gateway.');
}
}
};
v1.SendStat = function (stat_id, open_in_browser, extra) {
if (!NewgroundsAPI.tracker_id) {
NewgroundsAPI.SendError('API calls cannot be made without a valid movie id.');
NewgroundsAPI.SendError('Did you remember to add the "NewgroundsAPI.connectMovie()" code?');
} else {
var v7 = NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&host=' + escape(NewgroundsAPI.host) + '&stat=' + stat_id;
for (var v9 in extra) {
v7 += '&' + escape(v9) + '=' + escape(extra[v9]);
}
trace(v7);
if (NewgroundsAPI.debug) {
v7 += '&debug=1';
}
if (open_in_browser) {
getURL(v7, '_blank');
} else {
var v10 = new XML();
v10.ignoreWhite = true;
v10.onLoad = function (success) {
var v6 = new Object();
var v3 = 0;
while (v3 < this.firstChild.childNodes.length) {
var v4 = this.firstChild.childNodes[v3];
var v5 = v4.nodeName;
var v2 = v4.attributes.value;
if (v2 == Number(v2)) {
v2 = Number(v2);
}
v6[v5] = v2;
++v3;
}
NewgroundsAPI.ReadGatewayData(v6);
};
v10.load(v7);
}
}
};
v1.SendError = function (msg) {
trace('[NEWGROUNDS API ERROR] :: ' + msg);
};
v1.SendMessage = function (msg) {
trace('[NEWGROUNDS API] :: ' + msg);
};
v1.InitTextFormats = function () {
if (!NewgroundsAPI.error_format) {
NewgroundsAPI.error_format = new TextFormat();
NewgroundsAPI.error_format.font = 'Arial Black';
NewgroundsAPI.error_format.size = 48;
NewgroundsAPI.error_format.color = 16711680;
}
if (!NewgroundsAPI.header_format) {
NewgroundsAPI.header_format = new TextFormat();
NewgroundsAPI.header_format.font = 'Arial Black';
NewgroundsAPI.header_format.size = 24;
NewgroundsAPI.header_format.color = 16777215;
}
if (!NewgroundsAPI.normal_format) {
NewgroundsAPI.normal_format = new TextFormat();
NewgroundsAPI.normal_format.font = 'Arial';
NewgroundsAPI.normal_format.bold = true;
NewgroundsAPI.normal_format.size = 12;
NewgroundsAPI.normal_format.color = 16777215;
}
if (!NewgroundsAPI.link_format) {
NewgroundsAPI.link_format = new TextFormat();
NewgroundsAPI.link_format.color = 16776960;
NewgroundsAPI.link_format.underline = true;
}
};
v1.onNewVersionAvailable = function (version, movie_url, redirect_url) {
NewgroundsAPI.InitTextFormats();
var v2 = new Object();
v2.x = Stage.width / 2;
v2.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(v2.x - 240, v2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(v2.x + 240, v2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(v2.x + 240, v2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(v2.x - 240, v2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(v2.x - 240, v2.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(v2.x + 210, v2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 230, v2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 230, v2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 210, v2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 210, v2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 214, v2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 226, v2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 226, v2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 214, v2.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 v3 = 'Version ' + version + ' is now available at:' + '\n';
var v5 = v3.length;
v3 += movie_url;
var v4 = v3.length;
_root.NGAPI_new_version_overlay.createTextField('mouseblocker', 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField('newversion', 100, v2.x - 210, v2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = 'New Version Available!';
_root.NGAPI_new_version_overlay.newversion.setTextFormat(NewgroundsAPI.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 = v3;
_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(NewgroundsAPI.normal_format);
NewgroundsAPI.link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(v5, v4, NewgroundsAPI.link_format);
};
v1.onDenyHost = function (hostname, movie_url, redirect_url) {
NewgroundsAPI.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 v2 = 'This movie has not been approved for use on ' + hostname + '.';
v2 += '\r\rFor an aproved copy, please visit:\r';
var v4 = v2.length;
v2 += movie_url;
var v3 = v2.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(NewgroundsAPI.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 = v2;
_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(NewgroundsAPI.normal_format);
NewgroundsAPI.link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(v4, v3, NewgroundsAPI.link_format);
};
v1.isInstalled = function () {
return true;
};
v1.onAdsApproved = function (ad_url) {};
v1.movie_options = new Object();
v1.custom_events = new Object();
v1.custom_links = new Object();
v1.MOVIE_VIEWS = 1;
v1.AUTHOR_SITE = 2;
v1.NEWGROUNDS = 3;
v1.NEW_VERSION = 4;
v1.CUSTOM_STATS = 50;
v1.GATEWAY_URL = 'http://www.ngads.com/gateway.php';
ASSetPropFlags(_global.NewgroundsAPI.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
}
movieClip 206 {
frame 1 {
stop();
}
frame 2 {
stop();
stopAllSounds();
}
}
movieClip 210 {
}
button 212 {
on (release) {
_root.gotoAndStop(3);
_root.stopAllSounds();
stopAllSounds();
_root.music.gotoAndStop(3);
}
}
button 214 {
on (release) {
gotoAndPlay(2);
}
}
button 216 {
on (release) {
gotoAndPlay(38);
}
}
movieClip 232 {
}
// unknown tag 88 length 103
button 235 {
on (release) {
gotoAndPlay(20);
}
}
button 236 {
on (release) {
_root.gotoAndStop(3);
_root.stopAllSounds();
stopAllSounds();
_root.music.gotoAndStop(3);
}
}
movieClip 245 {
frame 1115 {
stopAllSounds();
_root.stopAllSounds();
}
frame 1116 {
if (_root._currentframe == 5) {
_root.gotoAndStop(2);
} else {
_parent.play();
}
}
}
button 246 {
on (release) {
gotoAndPlay(56);
}
}
button 247 {
on (release) {
_root.gotoAndStop(3);
}
}
movieClip 248 {
frame 1 {
stop();
}
frame 19 {
stop();
}
frame 37 {
gotoAndPlay(1);
}
frame 55 {
stop();
}
frame 73 {
gotoAndPlay(1);
}
}
movieClip 251 {
frame 46 {
stop();
}
}
frame 3 {
stop();
D.gotoAndStop(3);
stopAllSounds();
destroy = new Sound();
destroy.attachSound('destroy');
Fire = new Sound();
Fire.attachSound('Fire');
GameOver = new Sound();
GameOver.attachSound('GameOver');
GetReady = new Sound();
GetReady.attachSound('GetReady');
GO = new Sound();
GO.attachSound('GO');
haha = new Sound();
haha.attachSound('HAHA');
Kill = new Sound();
Kill.attachSound('Kill');
MG = new Sound();
MG.attachSound('MachineGun');
PA = new Sound();
PA.attachSound('PowerAtack');
UA = new Sound();
UA.attachSound('UberAtack');
}
movieClip 266 {
}
movieClip 267 {
}
movieClip 269 {
}
movieClip 270 {
}
movieClip 271 {
}
movieClip 272 {
}
movieClip 274 {
}
movieClip 275 {
}
movieClip 276 {
}
movieClip 278 {
frame 1 {
_visible = false;
}
}
movieClip 280 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 295 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 308 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 309 {
frame 1 {
stop();
}
}
movieClip 312 {
frame 1 {
function onEnterFrame() {
if (!_root.paused) {
if (Key.isDown(65) && _currentframe == 1) {
if (_root.SC == 0) {
if (_root.player.time <= _root.player.gunFast) {
play();
}
}
}
}
}
stop();
}
}
movieClip 313 {
}
movieClip 314 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 316 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 329 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 337 {
}
movieClip 338 {
}
movieClip 339 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 6) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 1 {
_root.shoot.start();
}
frame 6 {
_parent.gotoAndStop(1);
_root.player.p.leg.st.gotoAndPlay(1);
_root.player.p.body.st.gotoAndPlay(1);
}
}
movieClip 340 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
if (!Key.isDown(65)) {
gotoAndStop(_root.player.p.leg._currentframe);
} else {
if (_root.SC == 0) {
if (_root.player.time <= _root.player.gunFast) {
_root.player.p.leg.st.gotoAndStop(1);
gotoAndStop(4);
}
}
}
}
}
stop();
}
frame 4 {
_root.showshot = false;
}
}
movieClip 342 {
}
movieClip 343 {
frame 1 {
stop();
}
}
movieClip 346 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 347 {
}
movieClip 348 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 361 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 367 {
}
movieClip 371 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 6) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 1 {
_root.shoot.start();
}
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 372 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
if (!Key.isDown(65)) {
gotoAndStop(_root.player.p.leg._currentframe);
} else {
if (_root.SC == 0) {
if (_root.player.time <= _root.player.gunFast) {
_root.player.p.leg.st.gotoAndStop(1);
gotoAndStop(4);
}
}
}
}
}
stop();
}
}
movieClip 373 {
frame 1 {
stop();
}
}
movieClip 375 {
frame 1 {
_visible = false;
}
}
movieClip 417 {
}
movieClip 418 {
}
movieClip 419 {
}
movieClip 420 {
}
movieClip 421 {
}
movieClip 422 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 79) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 79 {
_root.tinter.gotoAndStop(1);
}
frame 80 {
_parent.gotoAndStop(1);
if (_root.tinter._currentframe == 2) {
_root.tinter.gotoAndStop(1);
trace('moveto');
}
}
}
movieClip 430 {
}
movieClip 433 {
}
movieClip 436 {
}
movieClip 438 {
}
movieClip 439 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 48) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 1 {
_root.php.lives.nextFrame();
}
frame 48 {
_parent.gotoAndStop(1);
_root.tinter.gotoAndStop(1);
}
}
movieClip 440 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
if (_currentframe == 1) {
if (_root.ebuk.hitTest(this.hitp) && _root.tinter._currentframe == 2) {
_root.php.hp.bar.gotoAndStop(1);
_root.ebuk.gotoAndStop(2);
_root.php.lives.nextFrame();
gotoAndStop(2);
}
if (_root.ebuk2.hitTest(this.hitp) && _root.tinter._currentframe == 2) {
_root.php.hp.bar.gotoAndStop(1);
_root.ebuk2.gotoAndStop(2);
_root.php.lives.nextFrame();
gotoAndStop(2);
}
if (kdown(38)) {
this.p.gotoAndStop(2);
} else {
this.p.gotoAndStop(1);
}
jf = jump._currentframe;
}
++grav;
_y = _y + grav;
var v3 = 0;
while (v3 < grav) {
while (_root.ground.hitTest(_x, _y + v3, true)) {
if (p.leg._currentframe == 3 && p.leg.jl._currentframe == 5) {
this.p.leg.gotoAndStop(1);
}
onGround = true;
_y = _y - 1;
grav = 0;
}
++v3;
}
if (_currentframe == 1) {
if (kdown(83) && onGround) {
onGround = false;
grav = -15;
this.p.leg.gotoAndStop(3);
}
if (!onGround) {
this.p.leg.gotoAndStop(3);
}
if ((kdown(left) or kdown(right)) && onGround) {
this.p.leg.gotoAndStop(2);
} else {
if (onGround) {
this.p.leg.gotoAndStop(1);
}
}
if (kdown(left) && _x > -10) {
_x = _x - speed;
_xscale = -85;
}
if (kdown(right) && _x < 800) {
_xscale = 85;
_x = _x + speed;
}
}
}
}
var grav = 0;
var yvel = 0;
var onGround = true;
var hp = 100;
var PC = 0;
stop();
var kdown = Key.isDown;
var left = 37;
var right = 39;
var up = 38;
var down = 40;
var speed = 8;
}
}
instance player of movieClip 440 {
onClipEvent (enterFrame) {
this.swapDepths(100);
_level0.hero_shoot(this, 10, 10);
}
}
movieClip 442 {
}
movieClip 455 {
frame 1 {
stop();
}
}
movieClip 458 {
}
movieClip 462 {
}
movieClip 463 {
frame 1 {
stop();
}
}
movieClip 466 {
instance lives of movieClip 455 {
onClipEvent (enterFrame) {
if (_currentframe == 12) {
_root.gotoAndStop(6);
}
}
}
}
instance php of movieClip 466 {
onClipEvent (enterFrame) {
this.swapDepths(500);
}
}
movieClip 473 {
frame 10 {
_root.GetReady.start();
}
frame 57 {
_root.GO.start();
}
frame 103 {
_root.nextFrame();
}
}
movieClip 475 {
frame 1 {
var copyrightNotice = 'Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net';
var reanimator = new flash.geom.Transform(this);
var camera = new flash.geom.Transform(this._parent);
var w = Stage.width;
var h = Stage.height;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var v2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
v2.invert();
v2.translate(w * 0.5, h * 0.5);
camera.matrix = v2;
};
}
frame 1 {
_visible = false;
}
}
frame 4 {
function hero_shoot(target, rate, speed) {
with (target) {
if (!_root.pause) {
if (_currentframe == 1) {
if (_root.gun == 1) {
gunFast = 2;
_root.php.bs.gotoAndStop(1);
}
if (_root.gun == 2) {
gunFast = 4;
_root.php.bs.gotoAndStop(2);
}
if (_root.gun == 3) {
gunFast = 5;
_root.php.bs.gotoAndStop(4);
}
--time;
if (!Key.isDown(65)) {
_root.SC = 0;
}
if (Key.isDown(65) && _root.SC == 0) {
if (_root.gun == 3) {
_root.Ammo -= 1;
_root.SC = 1;
} else {
_root.Ammo -= 1;
_root.SC = 0;
}
G = Math.random() * 360;
_root._x += 3 * Math.cos(G * 0.00745329);
_root._y += 3 * Math.sin(G * 0.00745329);
if (time <= gunFast) {
_root.SC = 0;
time = rate;
if (p._currentframe == 1) {
_root.shootup = false;
}
if (p._currentframe == 2) {
_root.shootup = true;
}
_parent.attachMovie('bullet', 'bul' + _level0.bulmax, bulmax + 999);
if (_root.shootup) {
_parent['bul' + bulmax]._x = _x + _xscale / 10;
_parent['bul' + bulmax]._y = _y - 80;
} else {
_parent['bul' + bulmax]._x = _x;
_parent['bul' + bulmax]._y = _y - 55;
}
_parent['bul' + bulmax].onEnterFrame = function () {};
_level0.bulmax += 1;
}
}
}
}
}
}
function onLoad() {
D.gotoAndStop(3);
}
function onEnterFrame() {
Pause();
if (!_root.pause && kdown(80) && PC == 0) {
_root.pause = true;
_root.PF.start();
PC = 1;
}
if (_root.pause && kdown(80) && PC == 0) {
_root.pause = false;
_root.PF.start();
PC = 1;
}
if (!kdown(80)) {
PC = 0;
}
if (!_root.pause) {
if (_root.boss.bd._currentframe == 335) {
_root.blacker._visible = true;
_root.blacker.gotoAndPlay(1);
gotoAndStop(8);
}
if (Ammo < 0) {
gun = 1;
}
if (_root.player.hitTest(_root.box) && _root.box._visible == true) {
_root.box.visi.gotoAndStop(100);
if (_root.box._currentframe == 1) {
Ammo = 100;
_root.MG.start();
}
if (_root.box._currentframe == 2) {
Ammo = 20;
_root.PA.start();
}
_root.gun = _root.box._currentframe + 1;
_root.box._visible = false;
}
if (_root.player.hitTest(_root.box2) && _root.box2._visible == true) {
_root.box2.visi.gotoAndStop(100);
if (_root.box2._currentframe == 1) {
Ammo = 100;
_root.MG.start();
}
if (_root.box2._currentframe == 2) {
Ammo = 20;
_root.PA.start();
}
_root.gun = _root.box2._currentframe + 1;
_root.box2._visible = false;
}
_root.php.Ammo = Ammo;
if (_root.gun == 1) {
gunFast = 2;
_root.php.Ammo = '00';
}
if (_root.player.deadP._currentframe == 79) {
_root.tinter.gotoAndStop(1);
}
if (_root.player.FD._currentframe == 50) {
_root.tinter.gotoAndStop(1);
}
if (_root.boss.mineM._currentframe == 71) {
++m;
attachMovie('Miner', 'Mine' + m, m + 10);
_root['Mine' + m]._x = _root.boss._x;
_root['Mine' + m]._y = 450.9;
}
if (D._currentframe == 2 && _root.enemies < 2 && _root.box._currentframe != 1) {
_root.tinter.gotoAndStop(2);
_root.tinter.tint = false;
}
if (_root.shake) {
R = Math.random() * 360;
_root._x += 1 * Math.cos(R * 0.00745329);
_root._y += 1 * Math.sin(R * 0.00745329);
}
}
}
_root.gun = 1;
_quality = 'Medium';
var bulmax = 0;
var i = 0;
blacker._visible = false;
_root.SC = 0;
Kills = 0;
var m = 0;
var Ammo = 0;
var enemies = 0;
var PC = 0;
var kdown = Key.isDown;
shoot = new Sound();
shoot.attachSound('shootlazer');
destroy = new Sound();
destroy.attachSound('destroy');
Fire = new Sound();
Fire.attachSound('Fire');
GameOver = new Sound();
GameOver.attachSound('GameOver');
GetReady = new Sound();
GetReady.attachSound('GetReady');
GO = new Sound();
GO.attachSound('GO');
haha = new Sound();
haha.attachSound('HAHA');
Kill = new Sound();
Kill.attachSound('Kill');
MG = new Sound();
MG.attachSound('MachineGun');
PA = new Sound();
PA.attachSound('PowerAtack');
UberAttack = new Sound();
UberAttack.attachSound('UberAtack');
GEX = new Sound();
GEX.attachSound('grenadeEx');
BLaser = new Sound();
BLaser.attachSound('bossLaser');
Bmc = new Sound();
Bmc.attachSound('MachineGuner');
UBK = new Sound();
UBK.attachSound('UberKidCut');
YW = new Sound();
YW.attachSound('YouWin');
US = new Sound();
US.attachSound('Ushot');
PF = new Sound();
PF.attachSound('PauseFinall');
}
movieClip 482 {
}
movieClip 485 {
}
movieClip 487 {
}
movieClip 496 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 323) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
_root.bhp._visible = false;
}
frame 237 {
_root.haha.start();
}
frame 237 {
_root.haha.start();
}
frame 323 {
_root.bhp._visible = true;
_root.bhp.gotoAndStop(1);
_root.bhp.BA.gotoAndPlay(1);
}
frame 324 {
_parent.gotoAndStop(2);
_root.D.gotoAndPlay(1);
}
}
movieClip 498 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
movieClip 501 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 185) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 185 {
if (_root.bhp.Bar._currentframe > 40) {
if (_parent._currentframe == 2) {
_parent.gotoAndStop(4);
}
}
if (_parent._currentframe == 2) {
gotoAndPlay(1);
} else {
stop();
}
}
}
movieClip 504 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 150) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 150 {
if (_root.bhp.Bar._currentframe > 75) {
if (_parent._currentframe == 2) {
_parent.gotoAndStop(5);
}
}
if (_parent._currentframe == 2) {
gotoAndPlay(1);
} else {
stop();
}
}
}
movieClip 507 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 150) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 180 {
if (_root.bhp.Bar._currentframe > 105) {
if (_parent._currentframe == 2) {
_parent.gotoAndStop(6);
}
}
if (_parent._currentframe == 2) {
gotoAndPlay(1);
} else {
stop();
}
}
}
movieClip 510 {
}
movieClip 511 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 63) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
}
movieClip 512 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 76) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 11 {
_root.Fire.start();
}
instance flame of movieClip 511 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp) && _currentframe > 15 && _currentframe < 45) {
_root.player.gotoAndStop(3);
}
}
}
frame 76 {
_parent.gotoAndStop(2);
}
}
movieClip 516 {
}
movieClip 517 {
}
movieClip 526 {
}
movieClip 528 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 144) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 35 {
_root.BLaser.start();
}
frame 144 {
_parent.gotoAndStop(2);
}
}
movieClip 529 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 144) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
instance of movieClip 528 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp)) {
_root.player.gotoAndStop(4);
}
}
}
instance of movieClip 528 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp)) {
_root.player.gotoAndStop(4);
}
}
}
}
movieClip 530 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 145) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
_root.sq._y = 153.05;
_root.destroy.start();
}
frame 1 {
_root.destroy.start();
}
frame 40 {
function onEnterFrame() {
if (_currentframe < 60 && _currentframe > 39) {
_parent._x -= 6.4;
}
}
}
frame 61 {
function onEnterFrame() {
if (_currentframe < 98 && _currentframe > 60) {
_parent._x += 6.4;
}
}
}
frame 99 {
function onEnterFrame() {
if (_currentframe < 98 && _currentframe > 120) {
_parent._x -= 6.4;
}
}
}
frame 145 {
_parent.gotoAndStop(2);
}
}
movieClip 531 {
}
movieClip 536 {
}
movieClip 538 {
}
movieClip 540 {
}
movieClip 546 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 150) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
instance of movieClip 540 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp)) {
_root.player.gotoAndStop(2);
_root.php.lives.nextFrame();
}
}
}
instance of movieClip 540 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp)) {
_root.player.gotoAndStop(2);
_root.php.lives.nextFrame();
}
}
}
instance of movieClip 540 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp)) {
_root.player.gotoAndStop(2);
_root.php.lives.nextFrame();
}
}
}
instance of movieClip 540 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp)) {
_root.player.gotoAndStop(2);
_root.php.lives.nextFrame();
}
}
}
instance of movieClip 540 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp)) {
_root.player.gotoAndStop(2);
}
}
}
instance of movieClip 540 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp)) {
_root.player.gotoAndStop(2);
_root.php.lives.nextFrame();
}
}
}
}
movieClip 547 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 151) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 1 {
_root.sq._y = 153.05;
_root.destroy.start();
}
frame 1 {
_root.destroy.start();
}
instance of movieClip 540 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp)) {
_root.player.gotoAndStop(2);
_root.php.lives.nextFrame();
}
}
}
instance of movieClip 540 {
onClipEvent (enterFrame) {
if (_root.tinter._currentframe == 2 && this.hitTest(_root.player.hitp)) {
_root.player.gotoAndStop(2);
_root.php.lives.nextFrame();
}
}
}
frame 151 {
_parent.gotoAndStop(2);
}
}
movieClip 548 {
}
movieClip 555 {
frame 110 {
_parent.gotoAndStop(2);
}
}
movieClip 559 {
}
movieClip 560 {
}
movieClip 563 {
}
movieClip 564 {
frame 355 {
_root.blacker._visible = true;
_root.blacker.gotoAndPlay(1);
}
frame 356 {
stop();
}
}
movieClip 565 {
frame 1 {
stop();
}
frame 2 {
function onEnterFrame() {
if (!_root.pause) {
if (_currentframe < 7) {
if (_currentframe == 6) {
this.minec.gotoAndStop(2);
if (this.mineM._currentframe == 109) {
this.minec.gotoAndPlay(1);
this.Gm.gotoAndPlay(1);
gotoAndStop(2);
}
}
if (_currentframe == 2) {
if (this.minec._currentframe == 180 && _root.bhp.Bar._currentframe > 105) {
gotoAndStop(6);
}
}
if (_currentframe == 5) {
if (this.gunM._currentframe == 150) {
this.Gm.gotoAndPlay(1);
this.lm.gotoAndPlay(1);
}
}
if (_currentframe == 2) {
if (this.Gm._currentframe == 150 && _root.bhp.Bar._currentframe > 75) {
gotoAndStop(5);
}
}
if (_currentframe == 4) {
if (this.lasser._currentframe == 143) {
this.lm.gotoAndPlay(1);
this.minec.gotoAndPlay(2);
}
}
if (_currentframe == 2) {
if (this.lm._currentframe == 185 && _root.bhp.Bar._currentframe > 40) {
gotoAndStop(4);
}
}
if (_currentframe != 1) {
_root.sq._x = this._x;
}
if (_currentframe < 4 && _currentframe != 1) {
_root.sq._y = 168.05;
}
if (_currentframe == 2) {
if (this.stand._currentframe >= 10 && Math.abs(_x - _root.player._x) < 8) {
_x = player._x;
gotoAndStop(3);
}
if (_root.player._x > _x) {
_x = _x + 5;
}
if (_root.player._x < _x) {
_x = _x - 5;
}
}
}
}
}
}
frame 2 {
stop();
}
instance lm of movieClip 501 {
onClipEvent (enterFrame) {
_visible = false;
}
}
instance Gm of movieClip 504 {
onClipEvent (enterFrame) {
_visible = false;
}
}
instance minec of movieClip 507 {
onClipEvent (enterFrame) {
_visible = false;
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 566 {
frame 1 {
_visible = false;
}
}
movieClip 570 {
frame 1 {
if (_root.gun == 1) {
_root.bhp.Bar.gotoAndStop(_root.bhp.Bar._currentframe + 2);
}
if (_root.gun == 2) {
_root.bhp.Bar.gotoAndStop(_root.bhp.Bar._currentframe + 5);
}
if (_root.gun == 3) {
_root.bhp.Bar.gotoAndStop(_root.bhp.Bar._currentframe + 8);
}
}
frame 20 {
_parent.gotoAndStop(1);
}
}
movieClip 571 {
frame 1 {
stop();
}
frame 2 {
_visible = true;
}
}
instance sq of movieClip 571 {
onClipEvent (enterFrame) {
this.swapDepths(600);
}
}
movieClip 574 {
frame 2 {
_root.enemies += 1;
}
frame 5 {
stop();
}
}
movieClip 578 {
frame 40 {
stop();
_parent.gotoAndStop(2);
}
}
movieClip 581 {
frame 1 {
_root.laser = false;
}
frame 1 {
stop();
}
frame 40 {
_root.laser = true;
trace('laser');
}
frame 150 {
nextFrame();
}
frame 151 {
_root.boss.gotoAndStop(7);
stop();
}
}
movieClip 582 {
frame 1 {
stop();
}
}
instance bhp of movieClip 582 {
onClipEvent (enterFrame) {
this.swapDepths(510);
if (_root._currentframe == 4) {
if (_root.boss._currentframe == 1) {
_visible = false;
} else {
_visible = true;
}
}
}
}
movieClip 583 {
frame 100 {
stop();
}
}
movieClip 584 {
frame 1 {
function onEnterFrame() {
if (!_root.pause) {
if (_rotation > 180) {
_y = _y + SSpeed * Math.cos(0.01745329 * _rotation);
_x = _x - SSpeed * Math.sin(0.01745329 * _rotation);
} else {
_y = _y - SSpeed * Math.cos(0.01745329 * _rotation);
_x = _x + SSpeed * Math.sin(0.01745329 * _rotation);
}
}
}
stop();
var SSpeed = 10;
}
frame 2 {
stop();
}
}
instance ebuk2 of movieClip 584 {
onClipEvent (enterFrame) {
if (_root.enemy2.shoot && _root.enemy2.shot._currentframe == 8) {
this.cbuk.gotoAndPlay(1);
gotoAndStop(1);
this._x = _root.enemy2._x + _root.enemy2._xscale / 2;
this._y = _root.enemy2._y - 60;
this._xscale = _root.enemy2._xscale;
this._rotation = _root.enemy2._xscale / 1.1;
}
}
}
movieClip 586 {
}
movieClip 593 {
frame 1 {
function onEnterFrame() {
if (_currentframe < 122) {
if (!_root.pause) {
play();
} else {
stop();
}
}
}
}
frame 1 {
_parent.tint = true;
}
frame 1 {
play();
}
frame 16 {
_parent.tint = false;
}
frame 32 {
_parent.tint = true;
}
frame 44 {
_parent.tint = false;
}
frame 55 {
_parent.tint = true;
}
frame 65 {
_parent.tint = false;
}
frame 76 {
_parent.tint = true;
}
frame 85 {
_parent.tint = false;
}
frame 91 {
_parent.tint = true;
}
frame 97 {
_parent.tint = false;
}
frame 102 {
_parent.tint = true;
}
frame 107 {
_parent.tint = false;
}
frame 111 {
_parent.tint = true;
}
frame 114 {
_parent.tint = false;
}
frame 117 {
_parent.tint = true;
}
frame 119 {
_parent.tint = false;
}
frame 121 {
_parent.tint = true;
}
frame 122 {
_parent.tint = false;
_parent.gotoAndStop(2);
_root.godmode = false;
}
}
movieClip 594 {
frame 1 {
function onEnterFrame() {
if (tint) {
myTint = new Color(_root.player);
myTintTransform = new Object();
myTintTransform = {'rb': 60, 'gb': 90, 'bb': 90};
myTint.setTransform(myTintTransform);
} else {
myTint = new Color(_root.player);
myTintTransform = new Object();
myTintTransform = {'rb': 0, 'gb': 0, 'bb': 0};
myTint.setTransform(myTintTransform);
}
}
stop();
_root.liveagain = false;
}
}
instance ebuk of movieClip 584 {
onClipEvent (enterFrame) {
if (_root.enemy1.shoot && _root.enemy1.shot._currentframe == 8) {
this.cbuk.gotoAndPlay(1);
gotoAndStop(1);
this._x = _root.enemy1._x + _root.enemy1._xscale / 2;
this._y = _root.enemy1._y - 60;
this._xscale = _root.enemy1._xscale;
this._rotation = _root.enemy1._xscale / 1.1;
}
}
}
movieClip 601 {
frame 1 {
_visible = false;
_root.pause = false;
}
}
instance of movieClip 601 {
onClipEvent (enterFrame) {
if (_root._currentframe == 4) {
if (_root.pause) {
_visible = true;
} else {
_visible = false;
}
}
}
onClipEvent (enterFrame) {
this.swapDepths(3100);
}
}
frame 5 {
stop();
removeMovieClip(_root.boss);
removeMovieClip(_root.sq);
removeMovieClip(_root.player);
removeMovieClip(_root.php);
removeMovieClip(_root.bhp);
removeMovieClip(_root['enemy' + i]);
removeMovieClip(_root['Mine' + m]);
}
instance CC of movieClip 245 {
onClipEvent (enterFrame) {
if (_currentframe >= 1114) {
_root.gotoAndStop(2);
}
}
}
button 603 {
on (release) {
gotoAndStop(2);
}
}
frame 6 {
stop();
removeMovieClip(_root.boss);
removeMovieClip(_root.sq);
removeMovieClip(_root.player);
removeMovieClip(_root.php);
removeMovieClip(_root.bhp);
removeMovieClip(_root['enemy' + i]);
removeMovieClip(_root['Mine' + m]);
}
movieClip 609 {
}
movieClip 610 {
frame 1 {
stopAllSounds();
}
frame 18 {
_root.GameOver.start();
}
frame 163 {
_root.gotoAndStop(5);
stopAllSounds();
}
}
frame 7 {
stop();
}
movieClip 613 {
}
movieClip 617 {
}
movieClip 619 {
}
movieClip 621 {
frame 1 {
stopAllSounds();
}
frame 234 {
_parent.gotoAndStop(2);
}
}
movieClip 843 {
}
movieClip 906 {
frame 236 {
_parent.nextFrame();
}
}
movieClip 907 {
frame 1 {
stop();
}
instance of movieClip 621 {
onClipEvent (mouseDown) {
getURL('http://shizzlecreature.newgrounds.com', blank);
}
}
frame 2 {
stop();
}
instance of movieClip 906 {
onClipEvent (mouseDown) {
getURL('http://wackwacko.newgrounds.com', blank);
}
}
frame 3 {
_root.gotoAndStop(2);
}
}
frame 8 {
stop();
removeMovieClip(_root.boss);
removeMovieClip(_root.sq);
removeMovieClip(_root.player);
removeMovieClip(_root.php);
removeMovieClip(_root.bhp);
removeMovieClip(_root['enemy' + i]);
removeMovieClip(_root['Mine' + m]);
}
movieClip 912 {
}
movieClip 913 {
frame 1 {
stopAllSounds();
}
frame 10 {
_root.YW.start();
}
frame 141 {
_root.gotoAndStop(5);
}
}