Frame 1
function onEnterFrame() {
while (getTimer() < (prevTime + frmTm)) {
}
prevTime = getTimer();
}
var prevTime = getTimer();
var tgtFps = 30;
var frmTm = 33.3333333333333;
function timeout() {
if (!lv_lv.loaded) {
vc_lv.onLoad = null;
delete vc_lv;
trace("loadvars cancelled");
play();
}
clearInterval(tOIntId);
delete tOIntId;
}
stop();
noBlendModes = true;
_global.startTime = getTimer();
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
_global.root = this;
_global.master_domain = "http://swarm.killerviral.com/";
_global.highscoresUrl = "http://highscores.killerviral.com/tooncrisis2/";
_global.assets_path = _global.master_domain + "tooncrisis2/";
_global.isJavascriptEnabled = _root.jsEnabled != undefined;
_global.isMaster = _root._url.indexOf(_global.master_domain) >= 0;
_global.domain = ((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0]));
_global.playerVersion = Number(getVersion().substr(getVersion().indexOf(" ") + 1).split(",")[0]);
_global.movieVersion = (_root.getSWFVersion ? (_root.getSWFVersion()) : 8);
_global.ori_dom = (_root.ori_dom ? (_root.ori_dom) : (domain));
System.security.allowDomain(_global.assets_path, _global.master_domain);
var game_version = 3;
if (movieVersion >= 8) {
if (playerVersion < 7) {
trace("player version too old - load error swf");
loadMovie (_global.assets_path + "error.swf", _root);
} else if (playerVersion == 7) {
trace("flash player 7 - load flash 7 version");
loadMovie ((_global.assets_path + "game7.swf") + (isMaster ? ((isJavascriptEnabled ? "?jsEnabled=true" : "")) : ("?ori_dom=" + ori_dom)), _root);
} else if (isMaster) {
trace("is master - skip version checking");
play();
} else {
trace("check version...");
var vc_lv = new LoadVars();
vc_lv.onLoad = function (success) {
clearInterval(tOIntId);
delete tOIntId;
if (success) {
if (Number(vc_lv.v) > game_version) {
trace("version checking succeeded - not the latest version");
loadMovie ((_global.assets_path + "game.swf?ori_dom=") + ori_dom, _root);
} else {
trace("version checking succeeded - latest version");
play();
}
} else {
trace("version checking failed");
play();
}
delete vc_lv;
};
tOIntId = setInterval(timeout, 2000);
vc_lv.load(_global.assets_path + "v.php");
}
} else {
trace("movie version 7");
play();
}
Frame 2
_global.slowConnection = 60000;
stop();
preloader.width = preloader.bar._width;
loading_text_mc.stop();
preloader.onEnterFrame = function () {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local4 == 1) {
_global.kvBandWidth = _root.getBytesTotal() / ((getTimer() - _global.startTime) / 1000);
play();
} else {
this.bar._width = this.width * _local4;
this._parent.loading_text_mc.gotoAndStop(Math.ceil(_local4 * this._parent.loading_text_mc._totalframes));
}
};
Frame 3
var i = -1;
while (getInstanceAtDepth(i)) {
i--;
}
createEmptyMovieClip("kv_mc", i);
kv_mc.kv_v = {c:112, td:"kempt.112.memecounter.com"};
System.security.allowDomain(kv_mc.kv_v.td);
kv_mc.kv_v.c_so = SharedObject.getLocal(kv_mc.kv_v.c, "/");
kv_mc.kv_v.d = (_root.ori_dom ? (_root.ori_dom) : (((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0]))));
kv_mc.kv_v.fpv = getVersion().split(" ")[1].split(",")[0];
kv_mc.kv_v.lurl = ((((((((((("http://" + kv_mc.kv_v.td) + "/tracker.php") + "?c=") + kv_mc.kv_v.c) + "&r=") + Math.floor(Math.random() * 10000000000)) + "&d=") + kv_mc.kv_v.d) + "&u=") + (kv_mc.kv_v.c_so.data.u ? "1" : "")) + "&p=") + kv_mc.kv_v.fpv;
kv_mc.kv_v.c_so.data.u = true;
kv_v.c_so.flush();
kv_mc.kv_v.t_mc = kv_mc.createEmptyMovieClip("kv_tracker", 0);
kv_mc.kv_v.l_mcl = new MovieClipLoader();
if (kv_mc.kv_v.l_mcl.loadClip) {
kv_mc.kv_v.l_mcl.loadClip(kv_mc.kv_v.lurl, kv_mc.kv_v.t_mc);
} else {
loadMovie (kv_mc.kv_v.lurl, kv_mc.kv_v.t_mc);
}
Frame 4
lvl = 1;
walkmanEvent_mc.onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.kvClick(264);
}
};
kvEvent_mc.onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.kvClick(254);
}
};
stop();
Frame 5
function startGame() {
if (_global.root.isLoading) {
delete _global.root.isLoading;
} else {
delete score;
delete lvl;
}
gotoAndStop ("game");
}
function playerDied() {
Mouse.show();
trace("player died");
gotoAndStop ("died");
new Sound().setVolume(100);
}
function completedGame() {
Mouse.show();
trace("game completed");
gotoAndStop ("completed");
_root.kvEvent(104);
new Sound().setVolume(100);
}
_global.t = function () {
trace(arguments);
};
_global.list = function (obj) {
var _local2 = "";
for (var _local3 in obj) {
_local2 = _local2 + (((_local3 + ": ") + obj[_local3]) + newline);
}
return(_local2);
};
Frame 7
stop();
Frame 8
stop();
crosshair.onMouseMove = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
updateAfterEvent();
};
Symbol 1313 MovieClip [__Packages.GameItem] Frame 0
class GameItem extends MovieClip
{
var game, spriteAnim, oldSpriteAnim, sprite, _name, _parent, setMask, stop, removeMovieClip;
function GameItem () {
super();
game = _global.world;
}
function setSpriteAnim(f) {
if (!dead) {
spriteAnim = f;
if (f != "hit") {
oldSpriteAnim = spriteAnim;
}
sprite.gotoAndPlay(f);
sprite.anim.gotoAndPlay(1);
}
}
function chooseMask(f) {
var _local2 = (_parent[_name + "Mask"] ? (_parent[_name + "Mask"]) : (_parent.attachMovie("mask", _name + "Mask", _parent.getNextHighestDepth())));
setMask(_local2);
if (f == "off") {
_local2._visible = false;
} else {
_local2._visible = true;
}
_local2.gotoAndStop(f);
}
function hurt(d) {
d = (isNaN(d) ? 1 : (d));
if (!game.isGameOver) {
if (!invulnerable) {
health = health - d;
if (health <= 0) {
setSpriteAnim("die");
dead = true;
} else if (!unblockable) {
setSpriteAnim("hit");
}
}
}
}
function die() {
game.currentItems.removeListener(this);
(stop());// not popped
game.level[_name + "Mask"]._visible = false;
game.level[_name + "Mask"].removeMovieClip();
removeMovieClip();
}
var health = 1;
var maxHealth = GameItem.prototype.health;
var unblockable = false;
var invulnerable = false;
var dead = false;
var depthOffset = 0;
var noMask = false;
}
Symbol 1314 MovieClip [__Packages.Game] Frame 0
class Game extends MovieClip
{
var crosshair, _parent, connection, video_path, createEmptyMovieClip, getNextHighestDepth, bmp_mcl, snd_mcl, sounds, currentEnemies, currentItems, currentShots, player, error_txt, preloader, error_shad_txt, bmp_loading, snd_loading, track_order, stream, video_cont_mc, perfCont, scoreShad8_txt, scoreShad7_txt, scoreShad6_txt, scoreShad5_txt, scoreShad4_txt, scoreShad3_txt, scoreShad2_txt, scoreShad1_txt, scoreShad_txt, score_txt, ammo_mc, weapon, hands, level, flashContainer_mc, makeHandShoot, attachMovie, isGameStarting, skip_mc, isImageSwf, stop, isGameOver, sound_control_mc, onEnterFrame, stage_cleared_mc, nextFrame, play, gotoAndStop, score_mc, video, snd_list, currentSound, oldSound, nowPlaying_mc, nowPlayingShad_mc, bars, walkmanHand;
function Game () {
super();
crosshair = _parent.crosshair;
connection = new NetConnection();
connection.connect(null);
video_path = ((_global.assets_path + "video/") + ((_root.getSWFVersion() >= 8) ? "vp6" : "spark")) + "/";
createEmptyMovieClip("video_cont_mc", getNextHighestDepth());
bmp_mcl = new MovieClipLoader();
snd_mcl = new MovieClipLoader();
bmp_mcl.addListener(this);
snd_mcl.addListener(this);
skipVideos = _global.root.skipVideos;
sounds = {};
currentEnemies = {};
AsBroadcaster.initialize(currentEnemies);
currentItems = {};
AsBroadcaster.initialize(currentItems);
currentShots = {};
AsBroadcaster.initialize(currentShots);
player = new Player(this);
error_txt = preloader.error_txt;
error_shad_txt = preloader.error_shad_txt;
player.setWeapon();
Mouse.addListener(this);
onUnload = Mouse.show;
}
function onMouseDown() {
isMouseDown = true;
}
function onMouseUp() {
isMouseDown = false;
}
function onMouseMove() {
if (_root._ymouse < 390) {
Mouse.hide();
} else {
Mouse.show();
}
}
function onLoadInit(t_mc) {
switch (t_mc) {
case bmp_loading :
t_mc._visible = false;
t_mc.gotoAndStop(2);
isBitmapCached = true;
delete bmp_mcl.path;
break;
case snd_loading :
isSoundCached = true;
}
}
function onLoadStart(t_mc) {
switch (t_mc) {
case bmp_loading :
isBitmapLoadStarted = true;
break;
case snd_loading :
isSoundLoadStarted = true;
}
}
function onLoadError(t_mc) {
var _local2;
switch (t_mc) {
case bmp_loading :
_local2 = "Bitmap loading error: ";
if (bitmapLoadAttempt < loadRetrys) {
_local2 = _local2 + (("retrying (attempt " + (++bitmapLoadAttempt)) + ")");
cacheBitmap(lvl);
} else {
_local2 = _local2 + "failed. Please check your internet connection";
}
break;
case snd_loading :
_local2 = "Sound loading error: ";
if (soundLoadAttempt < loadRetrys) {
_local2 = _local2 + (("retrying (attempt " + (++soundLoadAttempt)) + ")");
cacheSound(track_order[lvl % track_order.length]);
} else {
_local2 = _local2 + "failed. Please check your internet connection";
}
}
if (_local2) {
error_txt.text = (error_shad_txt.text = (_local2 + newline) + error_txt.text);
}
}
function videoLoadErrorMonitor(info) {
if (info.code == "NetStream.Play.StreamNotFound") {
var _local2 = "Video loading error: ";
if (videoLoadAttempt < loadRetrys) {
_local2 = _local2 + (("retrying (attempt " + (++videoLoadAttempt)) + ")");
stream.play(((video_path + stream.n) + ".flv") + (isCacheDisabled ? ("?var=" + Math.random()) : ""));
} else {
_local2 = _local2 + "failed. Please check your internet connection";
}
error_txt.text = (error_shad_txt.text = (_local2 + newline) + error_txt.text);
}
}
function monitorLoading() {
var _local3 = stream.bytesLoaded / stream.bytesTotal;
if (_local3 == 1) {
stream.seek(0);
if (_root.getSWFVersion() > 7) {
stream.onStatus = Delegate.create(this, onSeekComplete);
} else {
videoCached();
}
video_cont_mc.onEnterFrame = null;
}
}
function onSeekComplete(info) {
if (info.code == "NetStream.Seek.Notify") {
videoCached();
}
}
function videoCached() {
stream.onStatus = null;
stream.pause(true);
isVideoCached = true;
isVideoCaching = false;
}
function gameLoop() {
f++;
if ((f % perfCont.chkInt) == 0) {
perfCont.update();
}
orderDepths();
score_txt.text = (scoreShad_txt.text = (scoreShad1_txt.text = (scoreShad2_txt.text = (scoreShad3_txt.text = (scoreShad4_txt.text = (scoreShad5_txt.text = (scoreShad6_txt.text = (scoreShad7_txt.text = (scoreShad8_txt.text = playerPoints + "")))))))));
ammo_mc.mask_mc.updateMask(weapon.__get__ammo());
if (crosshair.inner.rot < 15) {
crosshair.inner.rot = crosshair.inner.rot + 0.75;
}
crosshair.inner._rotation = crosshair.inner._rotation + crosshair.inner.rot;
weapon.fire(isMouseDown && (isGunEnabled), f);
hands.update();
}
function orderDepths() {
var _local3;
var _local2;
var _local4 = 0;
while (_local4 < currentItems._listeners.length) {
_local2 = currentItems._listeners[_local4];
_local3 = (_local2._xscale + _local2.depthOffset) * (_local2.sprite ? (_local2.sprite._xscale) : 100);
if (!isNaN(_local3)) {
_local3 = sortDepth(level, _local3);
if (level.getInstanceAtDepth(_local3)) {
trace(((("at depth: " + level.getInstanceAtDepth(_local3)) + "(") + _local3) + ")");
}
_local2.swapDepths(_local3);
} else {
trace((("no depth!! " + _local2) + ", ") + _local4);
currentItems.removeListener(_local2);
}
_local4++;
}
}
function sortDepth(mc, tgtDepth) {
if (!isNaN(tgtDepth)) {
var _local1 = 0;
tgtDepth = Math.round(tgtDepth);
while (mc.getInstanceAtDepth(tgtDepth + _local1) != undefined) {
_local1 = _local1 * -1;
if (_local1 >= 0) {
_local1++;
}
}
return(tgtDepth + _local1);
}
trace("depth undefined");
return(1);
}
function spawnPlayerShot(x, y, w) {
var _local2 = flashContainer_mc.getNextHighestDepth();
var _local3 = flashContainer_mc.attachMovie("bang_mc", "bang" + _local2, _local2, {_x:x, _y:y});
makeHandShoot(_local3);
checkHit(orderEnemies(), x, y, w);
}
function newEnemy(t) {
currentItems.addListener(t);
currentEnemies.addListener(t);
}
function newItem(t) {
currentItems.addListener(t);
}
function spawnEnemyShot(x, y, xscale, yscale, shotType) {
var _local3 = sortDepth(level, xscale * 100);
var _local2 = level.attachMovie(shotType, "shot" + (attachIndex++), _local3, {_x:x, _y:y, _xscale:xscale, _yscale:yscale});
currentItems.addListener(_local2);
currentShots.addListener(_local2);
}
function spawnEnemy(t) {
var _local4 = t._name;
var _local6 = {_x:t._x, _y:t._y, _xscale:t._xscale, _yscale:t._yscale, attached:true};
var _local3 = t.duplicateMovieClip("temp", t._parent.getNextHighestDepth(), {attached:true});
t.swapDepths(t._parent.getNextHighestDepth());
t.removeMovieClip();
var _local5 = _local3.duplicateMovieClip(_local4, _local3._parent.getNextHighestDepth(), _local6);
_local3.removeMovieClip();
_local5.setMask(this[_local4 + "Mask"]);
}
function spawnCrate(t) {
var _local4 = t._name;
var _local6 = {_x:t._x, _y:t._y, _xscale:t._xscale, _yscale:t._yscale, attached:true};
var _local3 = t.duplicateMovieClip("temp", t._parent.getNextHighestDepth(), {attached:true});
t.swapDepths(t._parent.getNextHighestDepth());
t.removeMovieClip();
var _local5 = _local3.duplicateMovieClip(_local4, _local3._parent.getNextHighestDepth(), _local6);
_local3.removeMovieClip();
_local5.setMask(this[_local4 + "Mask"]);
}
function spawnPickup(t) {
var _local3 = level.getNextHighestDepth();
var _local5 = {_x:t._x, _y:t._y, _xscale:t._xscale, _yscale:t._xscale, qty:t.qty};
var _local4 = level.attachMovie(t.type + "_bonus", "pickup" + (attachIndex++), _local3, _local5);
newItem(_local4);
}
function orderEnemies() {
var _local3 = [].concat(currentItems._listeners);
var _local4;
var _local6 = _local3.length;
var _local5;
_local4 = _local6;
while (_local4 > 0) {
var _local2 = 1;
while (_local2 <= _local4) {
if (_local3[_local2 - 1].getDepth() < _local3[_local2].getDepth()) {
_local5 = _local3[_local2 - 1];
_local3[_local2 - 1] = _local3[_local2];
_local3[_local2] = _local5;
}
_local2++;
}
_local4--;
}
return(_local3);
}
function checkHit(e, x, y, w) {
var _local1 = 0;
while (_local1 < e.length) {
if (!e[_local1].hit) {
} else if (e[_local1].hit.hitTest(x, y)) {
e[_local1].hurt(w.pow);
break;
}
_local1++;
}
}
function spawnPoints(t, v) {
var _local3 = t.getBounds(this);
var _local5 = {_x:Math.round(_local3.xMin + ((_local3.xMax - _local3.xMin) / 2)), _y:Math.round(_local3.yMin + ((_local3.yMax - _local3.yMin) / 2))};
var _local4 = sortDepth(_global.world, 200000);
attachMovie("point" + v, ("point" + v) + _local4, _local4, _local5);
}
function beginGame(l, s) {
l = (isNaN(l) ? 1 : (l));
lvl = l;
playerPoints = (isNaN(s) ? 0 : (s));
score_txt.text = playerPoints + "";
isGameStarting = true;
skip_mc.onRelease = skipVideo;
skip_mc._visible = false;
cacheVideo(l - 1);
cacheSound(track_order[(l - 1) % track_order.length]);
cacheBitmap(l - 1, isImageSwf[l - 1]);
preloader.gotoAndStop("init");
_parent.crosshair._visible = false;
_global.world = this;
}
function gameComplete() {
crosshair.onMouseUp();
crosshair._visible = false;
_global.root.fadeToBlack_mc.gotoAndPlay("fadeOut");
_root._quality = "HIGH";
_global.root.gameOverScore = playerPoints;
_global.root.lvl = 20;
_global.root.score = playerPoints;
}
function gameOver() {
(stop());// not popped
isGameOver = true;
isGunEnabled = false;
crosshair.onMouseUp();
_parent.fadeToRed_mc.gotoAndPlay("fadeOut");
sound_control_mc.tgtVol = 0;
crosshair._visible = false;
_root._quality = "HIGH";
_global.root.gameOverScore = playerPoints;
}
function levelStart() {
error_txt.text = (error_shad_txt.text = "");
_parent.crosshair._visible = level.isCrosshairVisisble;
f = 0;
perfCont = new PerformanceController(30, 60, 25, 29, 3, 3);
onEnterFrame = gameLoop;
(stop());// not popped
}
function levelEnd() {
delete onEnterFrame;
crosshair._visible = false;
playMusic(track_order[lvl % track_order.length]);
var _local2;
_local2 = 0;
while (_local2 < currentItems._listeners.length) {
currentItems.removeListener(currentItems._listeners[_local2]);
_local2++;
}
_local2 = 0;
while (_local2 < currentEnemies._listeners.length) {
currentEnemies.removeListener(currentEnemies._listeners[_local2]);
_local2++;
}
_local2 = 0;
while (_local2 < currentShots._listeners.length) {
currentShots.removeListener(currentShots._listeners[_local2]);
_local2++;
}
checkIsCached();
}
function checkpoint(lvl, score) {
if (_global.root.lvl != lvl) {
stage_cleared_mc.play();
_global.root.lvl = lvl;
_global.root.score = score;
}
}
function checkIsCached() {
if ((isBitmapCached && (isSoundCached)) && (isVideoCached)) {
(((isGameStarting) ? (new Sound().setVolume(0)stopAllSounds()play()) : (nextFrame())));// not popped
} else {
preloader._visible = true;
preloader.bar._width = 0;
preloader.onEnterFrame = preloader.waitForLoading;
}
}
function firstRun() {
isGameStarting = false;
(gotoAndStop("start"));// not popped
playMusic(track_order[lvl % track_order.length]);
score_txt = score_mc.score_mc.score_txt;
scoreShad_txt = score_mc.scoreShad_mc.score_txt;
scoreShad1_txt = score_mc.scoreShad1_mc.score_txt;
scoreShad2_txt = score_mc.scoreShad2_mc.score_txt;
scoreShad3_txt = score_mc.scoreShad3_mc.score_txt;
scoreShad4_txt = score_mc.scoreShad4_mc.score_txt;
scoreShad5_txt = score_mc.scoreShad5_mc.score_txt;
scoreShad6_txt = score_mc.scoreShad6_mc.score_txt;
scoreShad7_txt = score_mc.scoreShad7_mc.score_txt;
scoreShad8_txt = score_mc.scoreShad8_mc.score_txt;
}
function cacheVideo(n) {
video._visible = false;
stream.close();
stream = new NetStream(connection);
stream.n = n;
if (skipVideos) {
isVideoCached = true;
} else {
isVideoCaching = true;
isVideoCached = false;
video_cont_mc.onEnterFrame = Delegate.create(this, monitorLoading);
video.attachVideo(stream);
stream.onStatus = Delegate.create(this, videoLoadErrorMonitor);
stream.play(((video_path + n) + ".flv") + (isCacheDisabled ? ("?var=" + Math.random()) : ""));
}
}
function cacheBitmap(n) {
var _local3 = (bmp_loading = this["bmp" + n]);
isBitmapLoadStarted = false;
_local3._visible = false;
isBitmapCached = false;
bmp_mcl.path = (((_global.assets_path + "jpg/") + n) + ".jpg") + (isCacheDisabled ? ("?var=" + Math.random()) : "");
bmp_mcl.loadClip(bmp_mcl.path, _local3);
}
function cacheSound(n) {
if (!sounds[n]) {
isSoundCached = false;
isSoundLoadStarted = false;
sounds[n] = createEmptyMovieClip(n + "_snd_mc", getNextHighestDepth());
snd_mcl.loadClip((((_global.assets_path + "music/") + n) + ".swf") + (isCacheDisabled ? ("?var=" + Math.random()) : ""), sounds[n]);
} else {
isSoundCached = true;
}
snd_list.n = n;
snd_loading = sounds[n];
}
function playMusic(n) {
if (sounds[n] != currentSound) {
oldSound = currentSound;
currentSound = sounds[n];
currentSound.gotoAndStop("play");
currentSound._snd.setVolume(0);
nowPlaying_mc.gotoAndStop(n);
nowPlayingShad_mc.gotoAndStop(n);
}
}
function playVideo(n) {
bmp_mcl.unloadClip(this["bmp" + (n - 1)]);
playMusic(track_order[(lvl - 1) % track_order.length]);
if (skipVideos) {
videoEnded(stream.n);
} else {
isVideoPlaying = false;
video._visible = true;
preloader._visible = false;
stream.pause(false);
stream.onStatus = Delegate.create(this, onVideoComplete);
skip_mc._visible = true;
}
}
function onVideoComplete(info) {
if (info.code == "NetStream.Play.Stop") {
videoEnded(stream.n);
}
}
function videoEnded(n) {
isVideoPlaying = true;
this["bmp" + n]._visible = true;
this["bmp" + n].gotoAndStop(2);
bars.gotoAndPlay("open");
skip_mc._visible = false;
(nextFrame());// not popped
}
function skipVideo() {
delete video_cont_mc.ffstart;
delete video_cont_mc.ffstop;
walkmanHand.gotoAndStop("idle");
preloader.onEnterFrame = (video_cont_mc.onEnterFrame = (stream.onStatus = null));
videoEnded(stream.n);
stream.stop();
stream.close();
}
function onUnload() {
Mouse.removeListener(this);
}
var playerPoints = 0;
var f = 0;
var totalKills = 0;
var lvl = 1;
var attachIndex = 0;
var isMouseDown = false;
var skipVideos = false;
var isCacheDisabled = false;
var isBitmapCached = false;
var isVideoCached = false;
var isVideoCaching = false;
var isVideoPlaying = false;
var isSoundCached = false;
var isBitmapLoadStarted = false;
var isSoundLoadStarted = false;
var videoLoadAttempt = 0;
var bitmapLoadAttempt = 0;
var soundLoadAttempt = 0;
var loadRetrys = 3;
var initLevel = 1;
var isGunEnabled = false;
}
Symbol 1315 MovieClip [__Packages.Player] Frame 0
class Player
{
var game, health, stdWeap, akimboWeap, shotWeap, akimboShotWeap;
function Player (g) {
game = g;
health = initHealth;
stdWeap = new Weapon(g, "pistol", 0, 1, 7, 0, 1, true, false, false);
akimboWeap = new Weapon(g, "pistol", 100, 1, 4, 5, 1, true, false, true);
shotWeap = new Weapon(g, "shotgun", 50, 1, 10, 50, 8, true, false, false);
akimboShotWeap = new Weapon(g, "shotgun", 500, 1, 4, 50, 8, true, false, true);
}
function start() {
game.isGunEnabled = true;
playerShieldStart = 0;
var _local2 = 1;
while (_local2 <= maxHealth) {
game["h" + _local2].gotoAndStop(((_local2 <= health) ? "new" : "off"));
_local2++;
}
}
function stop() {
game.isGunEnabled = false;
var _local2 = 1;
while (_local2 <= maxHealth) {
game["h" + _local2].gotoAndStop("off");
_local2++;
}
}
function handsUp() {
game.hands.transitionHand("right", true);
if (game.weapon.isDouble || (game.weapon.isAkimbo)) {
game.hands.transitionHand("left", true);
}
}
function setWeapon(type, ammo) {
var _local2;
game.ammo_mc.gotoAndStop(type);
game.ammo_mc.originalAmmo = ammo;
switch (type) {
case "akimbo" :
_local2 = akimboWeap;
break;
case "shotgun" :
_local2 = shotWeap;
break;
case "akimbo_shotgun" :
_local2 = akimboShotWeap;
break;
default :
_local2 = stdWeap;
game.ammo_mc.gotoAndStop(1);
}
_local2.ammo = _local2.ammo + ammo;
game.weapon.stop();
game.weapon = _local2;
game.weapon.start();
game.hands.rightHand.gotoAndStop(_local2.hand + (game.hands.isDuck ? "Duck" : ""));
game.hands.leftHand.gotoAndStop(_local2.hand + (game.hands.isDuck ? "Duck" : ""));
if ((!_local2.isDouble) && (!_local2.isAkimbo)) {
game.hands.transitionHand("left", false);
} else {
game.hands.transitionHand("left", true);
}
}
function hurt(d) {
if (dead) {
return(undefined);
}
d = (isNaN(d) ? 1 : (d));
if (game.f > (playerShieldStart + playerShieldDuration)) {
playerShieldStart = game.f;
var _local2 = health;
while ((_local2 > (health - d)) && (_local2 > 0)) {
game["h" + _local2].gotoAndStop("hit");
_local2--;
}
game.playerHit.play();
health = health - d;
}
if (health <= 0) {
dead = true;
game.gameOver();
}
}
function heal(d) {
if (dead) {
return(undefined);
}
d = (isNaN(d) ? 1 : (d));
var _local3 = health + d;
_local3 = ((_local3 > maxHealth) ? (maxHealth) : (_local3));
var _local2 = _local3;
while (_local2 > health) {
game["h" + _local2].gotoAndStop("new");
_local2--;
}
health = _local3;
}
static var initHealth = 4;
var maxHealth = 5;
var dead = false;
var playerShieldDuration = 12;
var playerShieldStart = 0;
var beenHit = 0;
}
Symbol 1316 MovieClip [__Packages.Weapon] Frame 0
class Weapon
{
var game;
function Weapon (g, h, ammunition, power, rateOfFire, acc, numberOfShots, semi, double, akimbo) {
game = g;
hand = h;
maxAmmo = ammunition;
pow = power;
fps = rateOfFire;
accuracy = acc;
nShot = numberOfShots;
isSemiAutomatic = semi;
isDouble = double;
isAkimbo = akimbo;
}
function start() {
Mouse.addListener(this);
}
function stop() {
Mouse.removeListener(this);
}
function onMouseUp() {
mouseRaised = true;
}
function fire(pressed, gf) {
if (pressed) {
if (((gf - f) >= fps) || (isSemiAutomatic && (mouseRaised))) {
if (ammo) {
shoot(gf, (isDouble ? "both" : ((isAkimbo ? (((lastHand == "right") ? "left" : "right")) : "right"))));
} else {
game.player.setWeapon();
game.weapon.fire(true, game.f);
}
}
mouseRaised = false;
lf = gf;
}
}
function shoot(gf, hand) {
f = gf;
ammo = ((ammo-1));
var _local4 = 0;
var _local6 = 0;
var _local5 = 0;
var _local7 = 0;
var _local8 = new Array();
var _local3 = 0;
while (_local3 < nShot) {
if (accuracy) {
_local4 = Rand.random(-3.14159265358979, Math.PI);
_local6 = Rand.minBias(0, accuracy);
_local5 = _local6 * Math.cos(_local4);
_local7 = _local6 * Math.sin(_local4);
}
_local8.push(_root._xmouse + _local5);
_local8.push(_root._ymouse + _local7);
game.spawnPlayerShot(_root._xmouse + _local5, _root._ymouse + _local7, this);
_local3++;
}
if (hand == "right") {
game.hands.fire(_local8, "right");
}
if (hand == "left") {
game.hands.fire(_local8, "left");
}
if (isAkimbo) {
lastHand = hand;
}
}
function get ammo() {
if (maxAmmo) {
return(a);
}
return(1);
}
function set ammo(n) {
a = ((n > maxAmmo) ? (maxAmmo) : (((n <= 0) ? 0 : (n))));
//return(ammo);
}
var lf = 0;
var f = 0;
var ang = 0;
var pow = 1;
var maxAmmo = 0;
var a = 0;
var fps = 10;
var accuracy = 0;
var nShot = 1;
var sSpr = 0;
var sShot = 0;
var sCur = 0;
var isSemiAutomatic = true;
var isAkimbo = false;
var isDouble = false;
var mouseRaised = false;
var lastHand = "right";
var hand = "pistol";
}
Symbol 1317 MovieClip [__Packages.Rand] Frame 0
class Rand
{
function Rand () {
}
static function midBias(min, max, i, p) {
min = (isNaN(min) ? 0 : (min));
max = (isNaN(max) ? 1 : (max));
i = (isNaN(i) ? 2 : (i + 1));
var _local3 = 0;
var _local1 = 0;
while (_local1 < i) {
_local3 = _local3 + ((v() * (max - min)) + min);
_local1++;
}
_local3 = _local3 / i;
if (p != undefined) {
p = 1 / Math.pow(10, p);
var _local7 = _local3 % p;
if (_local7 <= (p / 2)) {
_local3 = _local3 - _local7;
} else {
_local3 = _local3 + (p - _local7);
}
}
return(_local3);
}
static function minBias(min, max, i, p) {
min = (isNaN(min) ? 0 : (min));
max = (isNaN(max) ? 1 : (max));
i = (isNaN(i) ? 1 : (i));
var _local1 = ((1 - Math.pow(v(), 1 / (i + 1))) * (max - min)) + min;
if (p != undefined) {
p = 1 / Math.pow(10, p);
var _local3 = _local1 % p;
if (_local3 <= (p / 2)) {
_local1 = _local1 - _local3;
} else {
_local1 = _local1 + (p - _local3);
}
}
return(_local1);
}
static function maxBias(min, max, i, p) {
min = (isNaN(min) ? 0 : (min));
max = (isNaN(max) ? 1 : (max));
i = (isNaN(i) ? 1 : (i));
var _local1 = (Math.pow(v(), 1 / (i + 1)) * (max - min)) + min;
if (p != undefined) {
p = 1 / Math.pow(10, p);
var _local3 = _local1 % p;
if (_local3 <= (p / 2)) {
_local1 = _local1 - _local3;
} else {
_local1 = _local1 + (p - _local3);
}
}
return(_local1);
}
static function value() {
if (arguments.length > 0) {
var _local2 = v() * arguments.length;
_local2 = _local2 - (_local2 % 1);
return(arguments[_local2]);
}
}
static function get number() {
return(v());
}
static function random(min, max, p) {
min = (isNaN(min) ? 0 : (min));
max = (isNaN(max) ? 1 : (max));
if (!isNaN(p)) {
p = 1 / Math.pow(10, p);
max = max + p;
} else {
}
var _local3 = (v() * (max - min)) + min;
if (p) {
_local3 = _local3 - (_local3 % p);
}
return(_local3);
}
static var v = Math.random;
}
Symbol 1318 MovieClip [__Packages.Level] Frame 0
class Level extends MovieClip
{
var game, _parent, onEnterFrame, stop, play, loweringHands;
function Level () {
super();
game = _parent;
game.cacheVideo(game.lvl);
game.playMusic(game.track_order[(game.lvl - 1) % game.track_order.length]);
game.stop();
game.levelStart();
}
function waitForWave(n) {
if (!n) {
nextWaveAt = 0;
} else {
nextWaveAt = n;
}
onEnterFrame = waitingForWave;
(stop());// not popped
}
function waitingForWave() {
if (game.currentEnemies._listeners.length <= nextWaveAt) {
delete onEnterFrame;
(play());// not popped
}
}
function end() {
(stop());// not popped
if (isCrosshairVisisble) {
onEnterFrame = waitForEnd;
} else {
game.levelEnd();
}
}
function waitForEnd() {
if (!loweringHands) {
if ((game.currentEnemies._listeners.length + game.currentShots._listeners.length) == 0) {
game.hands.transitionHand("right", false);
game.hands.transitionHand("left", false);
loweringHands = game.hands.handSpeed;
}
} else if (!(--loweringHands)) {
game.levelEnd();
}
}
var nextWaveAt = 0;
var isCrosshairVisisble = true;
}
Symbol 1319 MovieClip [__Packages.PerformanceController] Frame 0
class PerformanceController
{
var tgtFps, chkInt, minThresh, maxThresh, d, md, lastTime;
function PerformanceController (fps, ci, minT, maxT, id, maxD) {
tgtFps = fps;
chkInt = ci;
minThresh = minT;
maxThresh = maxT;
d = id;
md = maxD;
lastTime = getTimer();
}
function update() {
var _local2 = getTimer();
var _local3 = 1000 / ((_local2 - lastTime) / chkInt);
if ((_local3 < minThresh) && (d > 1)) {
changeDetail(d - 1);
} else if ((_local3 > maxThresh) && (d < md)) {
changeDetail(d + 1);
}
lastTime = _local2;
}
function changeDetail(nd) {
switch (nd) {
case 3 :
_root._quality = "HIGH";
break;
case 2 :
_root._quality = "MEDIUM";
break;
case 1 :
_root._quality = "LOW";
}
trace((("change detail: " + nd) + ", ") + _root._quality);
d = nd;
}
}
Symbol 1320 MovieClip [__Packages.Hands] Frame 0
class Hands extends MovieClip
{
var game, _parent, initY, rightHand, hiddenY, leftHand, curHand;
function Hands () {
super();
game = _parent;
initY = rightHand._y;
hiddenY = leftHand._y;
curHand = rightHand;
Key.addListener(this);
showHand("none");
}
function onKeyDown() {
if ((Key.getCode() == 32) && (!isDuck)) {
isDuck = true;
rightHand.gotoAndStop(game.weapon.hand + (isDuck ? "Duck" : ""));
leftHand.gotoAndStop(game.weapon.hand + (isDuck ? "Duck" : ""));
}
}
function onKeyUp() {
if ((Key.getCode() == 32) && (isDuck)) {
isDuck = false;
}
}
function update() {
shake = shake * 0.75;
var _local3 = shake * 0.4;
var _local6 = (_root._xmouse * 0.5) + _local3;
if (isRightHandVisible) {
var _local5 = {x:0, y:0};
rightHand.localToGlobal(_local5);
rightHand._rotation = ((Math.atan2(_root._ymouse - _local5.y, _root._xmouse - _local5.x) * 57.2957795130823) + 136) + ((_local3 * _local3) * 0.01);
}
rightHand._x = rightHand._x + (((_local6 - 100) - rightHand._x) / 3);
if (isRightHandTransitioning) {
if (isHidingRightHand) {
rightHand._y = Quad.easeOut(rf++, initY, hiddenY - initY, handSpeed);
} else {
rightHand._y = Quad.easeIn(rf++, hiddenY, initY - hiddenY, handSpeed);
}
if (rf == handSpeed) {
isRightHandTransitioning = false;
isRightHandVisible = !isHidingRightHand;
if (!isHidingRightHand) {
game.player.start();
}
rightHand._y = (isRightHandVisible ? (initY) : (hiddenY));
rf = 0;
}
}
if (isLeftHandVisible) {
var _local4 = {x:0, y:0};
leftHand.localToGlobal(_local4);
leftHand._rotation = (((Math.atan2(_root._ymouse - _local4.y, _root._xmouse - _local4.x) * 57.2957795130823) + 136) + 90) + ((_local3 * _local3) * 0.01);
}
leftHand._x = leftHand._x + (((_local6 - 835) - leftHand._x) / 3);
if (isLeftHandTransitioning) {
if (isHidingLeftHand) {
leftHand._y = Quad.easeOut(lf++, initY, hiddenY - initY, handSpeed);
} else {
leftHand._y = Quad.easeIn(lf++, hiddenY, initY - hiddenY, handSpeed);
}
if (lf == handSpeed) {
isLeftHandTransitioning = false;
isLeftHandVisible = !isHidingLeftHand;
leftHand._y = (isLeftHandVisible ? (initY) : (hiddenY));
lf = 0;
}
}
}
function transitionHand(hand, raise) {
if (hand == "right") {
if (isRightHandTransitioning && (isHidingRightHand == raise)) {
rf = handSpeed - rf;
} else if (isRightHandTransitioning && (isHidingRightHand != raise)) {
return(undefined);
}
if (raise && (!isRightHandVisible)) {
isRightHandTransitioning = true;
isHidingRightHand = false;
} else if ((!raise) && (rightHand._y != hiddenY)) {
isRightHandTransitioning = true;
isHidingRightHand = true;
game.player.stop();
}
} else {
if (isLeftHandTransitioning && (isHidingLeftHand == raise)) {
lf = handSpeed - lf;
} else if (isLeftHandTransitioning && (isHidingLeftHand != raise)) {
return(undefined);
}
if (raise && (!isLeftHandVisible)) {
isLeftHandTransitioning = true;
isHidingLeftHand = false;
} else if ((!raise) && (leftHand._y != hiddenY)) {
isLeftHandTransitioning = true;
isHidingLeftHand = true;
}
}
}
function showHand(which) {
switch (which) {
case "both" :
isRightHandVisible = (isLeftHandVisible = true);
rightHand._y = (leftHand._y = initY);
break;
case "left" :
isRightHandVisible = false;
isLeftHandVisible = true;
rightHand._y = hiddenY;
leftHand._y = initY;
break;
case "right" :
isRightHandVisible = true;
isLeftHandVisible = false;
rightHand._y = initY;
leftHand._y = hiddenY;
break;
case "none" :
isRightHandVisible = (isLeftHandVisible = false);
rightHand._y = (leftHand._y = hiddenY);
}
}
function fire(shots, whichHand) {
whichHand = (whichHand ? (whichHand) : "right");
curHand = ((whichHand == "right") ? (rightHand) : (leftHand));
curHand = ((curHand == rightHand) ? ((isLeftHandVisible ? (leftHand) : (rightHand))) : ((isRightHandVisible ? (rightHand) : (leftHand))));
curHand.gotoAndPlay(game.weapon.hand + (isDuck ? "Duck" : ""));
shake = 1;
game.crosshair.gotoAndPlay("bang");
var _local2 = 0;
while (_local2 < shots.length) {
handIndex++;
if (handIndex == 5) {
handIndex = 1;
}
var _local6 = curHand["bang" + handIndex];
_local6.gotoAndPlay("shoot");
var _local3 = {x:0, y:0};
_local6.localToGlobal(_local3);
var _local9 = Math.atan2(shots[_local2 + 1] - _local3.y, shots[_local2] - _local3.x) * 57.2957795130823;
var _local7 = Math.sqrt(Math.pow(shots[_local2 + 1] - _local3.y, 2) + Math.pow(shots[_local2] - _local3.x, 2));
var _local5 = game.flashContainer_mc.getNextHighestDepth();
var _local8 = game.flashContainer_mc.attachMovie("shotLine", "shotLine" + _local5, _local5, {_x:shots[_local2], _y:shots[_local2 + 1], _rotation:_local9});
_local8.line._width = _local7;
_local2 = _local2 + 2;
}
}
var shake = 0;
var handSpeed = 25;
var handIndex = 1;
var isLeftHandVisible = false;
var isRightHandVisible = true;
var isLeftHandTransitioning = false;
var isRightHandTransitioning = false;
var isHidingLeftHand = false;
var isHidingRightHand = false;
var isDuck = false;
var lf = 0;
var rf = 0;
}
Symbol 1321 MovieClip [__Packages.Quad] Frame 0
class Quad
{
function Quad () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
}
Symbol 1322 MovieClip [__Packages.Delegate] Frame 0
class Delegate
{
function Delegate () {
}
static function create(target, handler) {
var _local3 = arguments.slice(2);
var _local2 = function () {
return(arguments.callee.handler.apply(arguments.callee.target, arguments.concat(arguments.callee.extraArgs)));
};
_local2.extraArgs = _local3;
_local2.handler = handler;
_local2.target = target;
return(_local2);
}
}
Symbol 1323 MovieClip [__Packages.Enemy] Frame 0
class Enemy extends GameItem
{
var _name, game, setSpriteAnim, hit, sprite, noMask, chooseMask, _xscale, _yscale, points, _parent;
function Enemy () {
super();
if (attached) {
if (_name != "temp") {
game.newEnemy(this);
setSpriteAnim("run");
}
} else {
game.spawnEnemy(this);
}
hit = sprite.hitBtn;
}
function onLoad() {
if ((attached && (_name != "temp")) && (!noMask)) {
chooseMask(initMask);
}
}
function shoot() {
var _local2 = {x:0, y:0};
sprite.shotPoint.localToGlobal(_local2);
game.spawnEnemyShot(_local2.x, _local2.y, (_xscale * 0.01) * sprite._xscale, (_yscale * 0.01) * sprite._yscale, shotLinkage);
}
function die() {
game.currentEnemies.removeListener(this);
game.playerPoints = game.playerPoints + points;
var _local3 = _parent[_name + "Mask"];
_local3.swapDepths(_local3._parent.getNextHighestDepth());
_local3.removeMovieClip();
super.die();
}
var dead = false;
static var shotLinkage = "wormShot";
var attached = false;
var initSpriteAnim = "";
var initMask = "";
}
Symbol 1324 MovieClip [__Packages.Crate] Frame 0
class Crate extends GameItem
{
var _name, game, targY, _y, _height, _visible, onEnterFrame, gotoAndPlay;
function Crate () {
super();
if (attached) {
if (_name != "temp") {
game.newItem(this);
targY = _y;
_y = (-_height) + 5;
_visible = true;
onEnterFrame = fall;
}
} else {
game.spawnCrate(this);
}
}
function fall() {
if ((_y + yVel) > targY) {
_y = targY;
(gotoAndPlay("hitFloor"));// not popped
delete onEnterFrame;
} else {
_y = _y + yVel;
yVel = yVel + grav;
}
}
function hurt() {
if (!game.isGameOver) {
(gotoAndPlay("die"));// not popped
}
}
var attached = false;
var grav = 5;
var yVel = 1;
var onFloor = false;
var qty = 1;
}
Symbol 1325 MovieClip [__Packages.Shot] Frame 0
class Shot extends GameItem
{
var _rotation, _xscale, _yscale, speed, xVel, damp, yVel, _x, _y, dead, game, oldSpriteAnim, spriteAnim, gotoAndStop, sprite;
function Shot () {
super();
}
function onEnterFrame() {
_rotation = _rotation + 50;
_xscale = (_yscale = _yscale * speed);
xVel = xVel * damp;
yVel = yVel * damp;
_x = _x + xVel;
_y = _y + yVel;
if (_x < 10) {
_x = 10;
} else if (_x > 630) {
_x = 630;
}
if (_y < 10) {
_y = 10;
} else if (_y > 350) {
_y = 350;
}
if (_xscale > 650) {
if (!dead) {
game.player.hurt();
setSpriteAnim("die");
dead = true;
}
}
}
function setSpriteAnim(f) {
if (!dead) {
oldSpriteAnim = spriteAnim;
spriteAnim = f;
(gotoAndStop(f));// not popped
sprite.gotoAndPlay(1);
}
}
function die() {
game.currentShots.removeListener(this);
super.die();
}
}
Symbol 1326 MovieClip [__Packages.BirdShot] Frame 0
class BirdShot extends Shot
{
var xVel, yVel, _xscale, _yscale, _x, _y, game, setSpriteAnim, dead;
function BirdShot () {
super();
if (!_global.root.noBlendModes) {
}
xVel = (Math.random() * dir) - (dir / 2);
yVel = Math.random() * dir;
_xscale = (_yscale = (_yscale = _yscale + Rand.random(10, -50)));
}
function onEnterFrame() {
_xscale = (_yscale = _yscale * speed);
xVel = xVel * damp;
yVel = yVel * damp;
_x = _x + xVel;
_y = _y + yVel;
if (_x < 10) {
_x = 10;
} else if (_x > 630) {
_x = 630;
}
if (_y < 10) {
_y = 10;
} else if (_y > 350) {
_y = 350;
}
if (_xscale > 650) {
game.player.hurt();
setSpriteAnim("die");
dead = true;
}
}
var speed = 1.008;
var damp = 0.95;
var dir = 10;
}
Symbol 1327 MovieClip [__Packages.BeetleShot] Frame 0
class BeetleShot extends Shot
{
var xVel, yVel;
function BeetleShot () {
super();
if (!_global.root.noBlendModes) {
}
xVel = (Math.random() * dir) - (dir / 2);
yVel = (Math.random() * dir) * -1;
}
var speed = 1.018;
var damp = 0.95;
var dir = 10;
var angle = 0;
}
Symbol 1328 MovieClip [__Packages.Pickup] Frame 0
class Pickup extends GameItem
{
var game, gotoAndPlay, bonus;
function Pickup () {
super();
}
function hurt() {
if (!game.isGameOver) {
(gotoAndPlay("die"));// not popped
bonus();
}
}
}
Symbol 1329 MovieClip [__Packages.AkimboPickup] Frame 0
class AkimboPickup extends Pickup
{
var game, qty;
function AkimboPickup () {
super();
}
function bonus() {
game.player.setWeapon("akimbo", qty);
}
}
Symbol 1330 MovieClip [__Packages.AkimboShotgunPickup] Frame 0
class AkimboShotgunPickup extends Pickup
{
var game, qty;
function AkimboShotgunPickup () {
super();
}
function bonus() {
game.player.setWeapon("akimbo_shotgun", qty);
}
}
Symbol 1331 MovieClip [__Packages.HealthPickup] Frame 0
class HealthPickup extends Pickup
{
var game, qty;
function HealthPickup () {
super();
}
function bonus() {
game.player.heal(qty);
}
}
Symbol 1332 MovieClip [__Packages.ShotgunPickup] Frame 0
class ShotgunPickup extends Pickup
{
var game, qty;
function ShotgunPickup () {
super();
}
function bonus() {
game.player.setWeapon("shotgun", qty);
}
}
Symbol 1333 MovieClip [__Packages.DoomSpring] Frame 0
class DoomSpring extends Enemy
{
var sprite, _y, _xscale, yVel, _x, xVel, _yscale, scaleSpeed, targetScale, setSpriteAnim;
function DoomSpring () {
super();
}
function onEnterFrame() {
if (sprite.anim.advance) {
_y = _y + (yVel * (_xscale * 0.01));
_x = _x + (xVel * (_xscale * 0.01));
_yscale = (_xscale = _xscale + (scaleSpeed * (_xscale * 0.01)));
if (_xscale >= targetScale) {
setSpriteAnim("boom");
}
}
}
var health = 3;
var points = 100;
var noMask = true;
}
Symbol 1334 MovieClip [__Packages.LeafShot] Frame 0
class LeafShot extends Shot
{
var xVel, yVel, game, sprite, hit, _rotation, _xscale, _yscale, _x, _y, dead, setSpriteAnim;
function LeafShot () {
super();
if (!_global.root.noBlendModes) {
}
xVel = (Math.random() * dir) - (dir / 2);
yVel = (Math.random() * dir) * game.level.boss.leafDir;
xSquash = (Math.random() * rotOffset) - (rotOffset * 0.5);
ySquash = (Math.random() * rotOffset) - (rotOffset * 0.5);
sprite._rotation = 360 * Math.random();
hit._x = (sprite._x = sprite._x + xSquash);
hit._y = (sprite._y = sprite._y + ySquash);
sprite.gotoAndStop(Math.floor(Math.random() * sprite._totalframes));
game.level.boss.leafs++;
}
function onEnterFrame() {
_rotation = _rotation + 25;
_xscale = (_yscale = _yscale * speed);
xVel = xVel * damp;
yVel = yVel * damp;
_x = _x + xVel;
_y = _y + yVel;
if (_x < 10) {
_x = 10;
} else if (_x > 630) {
_x = 630;
}
if (_y < 10) {
_y = 10;
} else if (_y > 350) {
_y = 350;
}
if (_xscale > 650) {
if (!dead) {
game.player.hurt();
setSpriteAnim("die");
dead = true;
}
}
}
function die() {
game.level.boss.leafs--;
super.die();
}
var speed = 1.018;
var damp = 0.95;
var dir = 15;
var ySquash = 0;
var xSquash = 0;
var rotOffset = 40;
}
Symbol 1335 MovieClip [__Packages.PunchaShot] Frame 0
class PunchaShot extends Shot
{
var _xscale, _yscale, _x, _y, dead, setSpriteAnim, game;
function PunchaShot () {
super();
xVel = (Math.random() * dir) - (dir / 2);
}
function onEnterFrame() {
_xscale = (_yscale = _yscale * speed);
xVel = xVel * damp;
yVel = yVel + 0.9;
_x = _x + xVel;
_y = _y + yVel;
if (_x < 10) {
_x = 10;
} else if (_x > 630) {
_x = 630;
}
if (_y < 10) {
_y = 10;
} else if (_y > 350) {
_y = 350;
}
if (!dead) {
if (_xscale > 650) {
setSpriteAnim("die");
dead = true;
game.player.hurt();
}
}
}
var speed = 1.08;
var damp = 0.95;
var angleVariance = 3;
var xVel = 0;
var yVel = -20;
var dir = 10;
}
Symbol 1336 MovieClip [__Packages.DoomSpringSilver] Frame 0
class DoomSpringSilver extends Enemy
{
var sprite, _y, _xscale, yVel, _x, xVel, _yscale, scaleSpeed, targetScale, setSpriteAnim;
function DoomSpringSilver () {
super();
}
function onEnterFrame() {
if (sprite.anim.advance) {
_y = _y + (yVel * (_xscale * 0.01));
_x = _x + (xVel * (_xscale * 0.01));
_yscale = (_xscale = _xscale + (scaleSpeed * (_xscale * 0.01)));
if (_xscale >= targetScale) {
setSpriteAnim("boom");
}
}
}
var health = 4;
var points = 100;
var noMask = true;
}
Symbol 1337 MovieClip [__Packages.SparraTrooper] Frame 0
class SparraTrooper extends Shot
{
var xVel, yVel, _xscale, _yscale, _x, _y, game, setSpriteAnim, dead, invulnerable, unblockable;
function SparraTrooper () {
super();
xVel = (Math.random() * dir) - (dir / 2);
yVel = Math.random() * dir;
_xscale = (_yscale = _yscale);
}
function onEnterFrame() {
_xscale = (_yscale = _yscale * (speed + (health * speedMod)));
xVel = xVel * damp;
yVel = yVel * damp;
_x = _x + xVel;
_y = _y + yVel;
if (_x < 10) {
_x = 10;
} else if (_x > 630) {
_x = 630;
}
if (_y < 10) {
_y = 10;
} else if (_y > 350) {
_y = 350;
}
if (_xscale > 650) {
game.player.hurt();
setSpriteAnim("die");
dead = true;
}
}
function hurt(d) {
d = (isNaN(d) ? 1 : (d));
if (!game.isGameOver) {
if (!invulnerable) {
health = health - d;
if (health <= 0) {
game.level.boss.hurt(game.level.boss.birdDamage, true);
setSpriteAnim("die");
dead = true;
} else if (!unblockable) {
setSpriteAnim("hit" + health);
}
}
}
}
var speed = 1.001;
var speedMod = 0.0055;
var damp = 0.95;
var dir = 10;
var health = 3;
}
Symbol 1338 MovieClip [__Packages.WormShot] Frame 0
class WormShot extends Shot
{
var xVel, yVel;
function WormShot () {
super();
xVel = (Math.random() * dir) - (dir / 2);
yVel = (Math.random() * dir) - (dir / 2);
}
var speed = 1.018;
var damp = 0.95;
var dir = 10;
}
Symbol 1339 MovieClip [__Packages.DevilKid] Frame 0
class DevilKid extends Enemy
{
var gotoAndPlay, _currentframe, setSpriteAnim, stop, oldSpriteAnim, play;
function DevilKid () {
super();
}
function startJump() {
if (kidStop) {
(gotoAndPlay(_currentframe - 1));// not popped
} else {
setSpriteAnim("attack");
}
}
function hitSpecial() {
if (!jumping) {
(stop());// not popped
} else {
kidStop = true;
}
}
function recover() {
setSpriteAnim(oldSpriteAnim);
if (!jumping) {
kidStop = false;
(play());// not popped
} else {
kidStop = false;
}
}
var health = 2;
var points = 200;
var jumping = false;
var kidStop = false;
}
Symbol 1340 MovieClip [__Packages.Worm] Frame 0
class Worm extends Enemy
{
var setSpriteAnim, sprite;
function Worm () {
super();
}
function attack() {
if (Math.random() < wormShootRate) {
setSpriteAnim("attack");
} else {
sprite.anim.gotoAndPlay(1);
}
}
var health = 1;
var points = 100;
static var wormShotYOffset = 30;
static var shotLinkage = "wormShot";
static var wormShootRate = 0.25;
}
Symbol 1341 MovieClip [__Packages.Spawner] Frame 0
class Spawner extends MovieClip
{
var game, target, initDepth, _xscale, io, _y, _x, _yscale, onEnterFrame, type, _name, mask, swapDepths, _parent, removeMovieClip;
function Spawner () {
super();
}
function init() {
game = _global.world;
target._visible = false;
game.currentEnemies.addListener(this);
initDepth = _xscale * 100;
io = {attached:true, _x:_x, _y:_y, _xscale:_xscale, _yscale:_yscale, xVel:(target._x - _x) / speed, yVel:(target._y - _y) / speed, scaleSpeed:(target._xscale - _xscale) / speed, targetScale:target._xscale};
onEnterFrame = loop;
}
function loop() {
if (game.f > (ls + rate)) {
var _local2 = game.level.attachMovie(type, ((type + _name) + "_") + spawned, game.sortDepth(game.level, initDepth), io);
if (mask) {
var _local3 = game.level.attachMovie("mask", _local2._name + "_Mask", game.level.getNextHighestDepth());
_local3.gotoAndStop(mask);
_local2.setMask(_local3);
}
if (variance) {
_local2.xVel = _local2.xVel + (Rand.random(-variance, variance) / speed);
}
ls = game.f;
if ((++spawned) == num) {
end();
}
}
}
function end() {
game.currentEnemies.removeListener(this);
swapDepths(_parent.getNextHighestDepth());
removeMovieClip();
}
var num = 2;
var spawned = 0;
var rate = 25;
var speed = 100;
var variance = 0;
var ls = 0;
}
Symbol 1342 MovieClip [__Packages.BushBoss] Frame 0
class BushBoss extends Enemy
{
var whip1, game, whip2, setSpriteAnim, gotoAndPlay, sprite, _xscale, _yscale;
function BushBoss () {
super();
whip1 = game.level.whip1;
whip2 = game.level.whip2;
}
function die() {
super.die();
}
function killTentacles() {
whip1.die();
whip2.die();
}
function hurt(d) {
d = (isNaN(d) ? 1 : (d));
super.hurt(d);
setSpriteAnim("hurt");
game.level.bossBar.bar.gotoAndStop(Math.round((health / maxHealth) * 100) + 1);
}
function chooseAttack() {
if (Math.random() > ((health / maxHealth) + 0.3)) {
(gotoAndPlay("attack2"));// not popped
} else {
(gotoAndPlay("attack1"));// not popped
}
}
function attack1() {
if (Math.floor(Math.random() + 0.5)) {
if (whip1.readyToAttack) {
setSpriteAnim("attack");
whip1.setSpriteAnim("attack");
}
}
if (Math.floor(Math.random() + 0.5)) {
if (whip2.readyToAttack) {
setSpriteAnim("attack");
whip2.setSpriteAnim("attack");
}
}
}
function attack2() {
setSpriteAnim("attack2");
}
function shoot() {
var _local3 = {x:0, y:0};
var _local2 = 1;
while (_local2 <= numberOfBirds) {
var _local4 = sprite["shotPoint" + _local2];
_local4.localToGlobal(_local3);
game.spawnEnemyShot(_local3.x, _local3.y, (_xscale * 0.01) * sprite._xscale, (_yscale * 0.01) * sprite._yscale, "birdShot");
_local2++;
}
}
var health = 30;
var maxHealth = BushBoss.prototype.health;
var points = 1000;
var numberOfBirds = 2;
}
Symbol 1343 MovieClip [__Packages.Tentacle] Frame 0
class Tentacle extends Enemy
{
var setSpriteAnim, game;
function Tentacle () {
super();
}
function hurt(d) {
setSpriteAnim("hurt");
game.level.boss.hurt(2);
}
var health = 30;
var maxHealth = Tentacle.prototype.health;
var points = 100;
var waitCount = 6;
}
Symbol 1344 MovieClip [__Packages.Puncha] Frame 0
class Puncha extends Enemy
{
var sprite, game, _xscale, _yscale, invulnerable, beenShotSpecial, setSpriteAnim, dead, unblockable;
function Puncha () {
super();
}
function shoot() {
var _local2 = {x:0, y:0};
sprite.shotPoint.localToGlobal(_local2);
game.spawnEnemyShot(_local2.x, _local2.y, (_xscale * 0.01) * sprite._xscale, (_yscale * 0.01) * sprite._yscale, "punchaShot");
}
function hurt(d) {
d = (isNaN(d) ? 1 : (d));
if (!game.isGameOver) {
if (!invulnerable) {
health = health - d;
beenShotSpecial();
if (health <= 0) {
setSpriteAnim("die");
dead = true;
} else if (!unblockable) {
sprite.anim.head.gotoAndPlay("ouch");
}
}
}
}
var health = 15;
var points = 400;
static var shotLinkage = "punchaShot";
}
Symbol 1345 MovieClip [__Packages.Beetle] Frame 0
class Beetle extends Enemy
{
var invulnerable, setSpriteAnim, game, sprite, _xscale, _yscale;
function Beetle () {
super();
}
function startAttack() {
invulnerable = true;
}
function idleCount() {
attackCount++;
if (attackCount > attackCountMax) {
attackCount = 0;
setSpriteAnim("attack");
}
}
function attackDone() {
attackCount = 0;
invulnerable = false;
setSpriteAnim("idle");
}
function hurt(d) {
super.hurt(d);
game.level.bossBar.bar.gotoAndStop(Math.round(((health + (maxHealth * (game.level.beetlesLeft - 1))) / (maxHealth * 4)) * 100) + 1);
}
function shoot() {
var _local3 = {x:0, y:0};
var _local4 = sprite.shotPoint;
_local4.localToGlobal(_local3);
var _local2 = 1;
while (_local2 <= game.level.beetleShots) {
game.spawnEnemyShot(_local3.x, _local3.y, (_xscale * 0.01) * sprite._xscale, (_yscale * 0.01) * sprite._yscale, "musicShot");
_local2++;
}
}
function die() {
game.level.beetleShots++;
game.level.beetlesLeft--;
super.die();
}
var health = 3;
var maxHealth = Beetle.prototype.health;
var points = 250;
var attackCount = 0;
var attackCountMax = 80;
var shotLinkage = "musicShot";
var healthUp = 2;
var shotCount = 1;
}
Symbol 1346 MovieClip [__Packages.WormTough] Frame 0
class WormTough extends Enemy
{
var setSpriteAnim, sprite;
function WormTough () {
super();
}
function attack() {
if (Math.random() < wormShootRate) {
setSpriteAnim("attack");
} else {
sprite.anim.gotoAndPlay(1);
}
}
var health = 3;
var points = 200;
static var wormShotYOffset = 30;
static var shotLinkage = "wormShot";
static var wormShootRate = 0.25;
}
Symbol 1347 MovieClip [__Packages.SwingBoss] Frame 0
class SwingBoss extends Enemy
{
var shoot, dead, oldSpriteAnim, spriteAnim, sprite, gotoAndPlay, game, invulnerable, beenShotSpecial;
function SwingBoss () {
super();
}
function attack(n, m) {
if (shootCount < numberOfShots) {
shoot();
}
shootCount++;
if (shootCount >= shootRate) {
shootCount = 0;
}
}
function setSpriteAnim(f) {
if (!dead) {
oldSpriteAnim = spriteAnim;
spriteAnim = f;
sprite.gotoAndStop(f);
sprite.anim.gotoAndPlay(1);
}
if (f != "attack") {
shootCount = 0;
}
}
function startAttack2(f) {
if (health < ((maxHealth / 3) * 2)) {
numberOfShots = 1;
shootRate = 5;
(gotoAndPlay("startAttackLeft"));// not popped
}
}
function hurt(d) {
if (spriteAnim == "vulnerable") {
changeDirection();
d = 3;
}
d = (isNaN(d) ? 1 : (d));
if (!game.isGameOver) {
if (!invulnerable) {
health = health - d;
beenShotSpecial();
if (health <= 0) {
setSpriteAnim("die");
dead = true;
} else if (!unblockable) {
setSpriteAnim("hit");
}
}
}
game.level.bossBar.bar.gotoAndStop(Math.round((health / maxHealth) * 100) + 1);
}
function changeDirection() {
if (dir == "ccw") {
dir = "cw";
(gotoAndPlay("cwRight"));// not popped
} else {
dir = "ccw";
(gotoAndPlay("ccwLeft"));// not popped
}
}
var health = 20;
var maxHealth = SwingBoss.prototype.health;
var points = 1000;
var count = 0;
var vulnerable = false;
var dir = "ccw";
var hitStopping = false;
var shootCount = 0;
var shootRate = 16;
var numberOfShots = 2;
var unblockable = false;
}
Symbol 1348 MovieClip [__Packages.EndBoss1] Frame 0
class EndBoss1 extends Enemy
{
var onEnterFrame, spriteAnim, setSpriteAnim, game;
function EndBoss1 () {
super();
}
function startAttack1() {
onEnterFrame = attack1;
}
function attack1() {
if (spriteAnim == "fly") {
if (Math.random() <= attackProb) {
setSpriteAnim("flyLaugh");
}
}
}
function hurt(d) {
super.hurt(d);
var _local3 = Math.round((health / maxHealth) * 99) + 2;
game.level.bossBar.bar.gotoAndStop(_local3);
}
var health = 15;
var maxHealth = EndBoss1.prototype.health;
var attackProb = 0.05;
var points = 1000;
}
Symbol 1349 MovieClip [__Packages.EndBoss2] Frame 0
class EndBoss2 extends Enemy
{
var unblockable, setSpriteAnim, gotoAndPlay, invulnerable, sprite, game, _xscale, _yscale, onEnterFrame, spriteAnim;
function EndBoss2 () {
super();
}
function attack() {
salvoCount++;
if (salvoCount <= totalSalvos) {
shoot();
unblockable = true;
} else if (leafs <= 0) {
setSpriteAnim("stand");
salvoCount = 0;
(gotoAndPlay("startAirAttack"));// not popped
invulnerable = false;
}
if (salvoCount > totalSalvos) {
unblockable = false;
}
}
function attack2() {
salvoCount++;
leafDir = 0.1;
if (salvoCount <= totalSalvos) {
shoot();
unblockable = true;
} else if (leafs <= 0) {
salvoCount = 0;
}
if (salvoCount > totalSalvos) {
unblockable = false;
}
}
function shoot() {
var _local3 = {x:0, y:0};
var _local4 = sprite.shotPoint;
_local4.localToGlobal(_local3);
var _local2 = 1;
while (_local2 <= shotCount) {
game.spawnEnemyShot(_local3.x, _local3.y, (_xscale * 0.01) * sprite._xscale, (_yscale * 0.01) * sprite._yscale, "leafShot");
_local2++;
}
}
function startAttack1() {
onEnterFrame = attack1;
}
function attack1() {
if (spriteAnim == "fly") {
if (Math.random() <= attackProb) {
setSpriteAnim("flyLaugh");
}
}
}
function hurt(d) {
super.hurt(d);
var _local3 = Math.round((health / maxHealth) * 99) + 2;
game.level.bossBar.bar.gotoAndStop(_local3);
}
var health = 20;
var maxHealth = EndBoss2.prototype.health;
var points = 1000;
var attackProb = 0.05;
var shotCount = 1;
var totalSalvos = 8;
var salvoCount = 0;
var depthOffset = -100;
var endAttack = 80;
var leafs = 0;
var leafDir = -1;
}
Symbol 1350 MovieClip [__Packages.EndBoss3] Frame 0
class EndBoss3 extends Enemy
{
var sprite, game, _xscale, _yscale, setSpriteAnim, invulnerable, beenShotSpecial, dead, unblockable;
function EndBoss3 () {
super();
}
function shoot() {
shotsToFire = maxShotsToFire - Math.floor((health / maxHealth) * (maxShotsToFire - minShotsToFire));
var _local2 = {x:0, y:0};
var _local3 = sprite["shotPoint" + Math.floor(Math.random() * numberOfSpawns)];
_local3.localToGlobal(_local2);
game.spawnEnemyShot(_local2.x, _local2.y, (_xscale * 0.01) * sprite._xscale, (_yscale * 0.01) * sprite._yscale, "sparraTrooper");
shotsFired++;
if (shotsFired >= shotsToFire) {
shotsFired = 0;
setSpriteAnim("laugh");
}
}
function hurt(d, byBird) {
d = (isNaN(d) ? 1 : (d));
if (shielded) {
d = d * shield;
}
if (!game.isGameOver) {
if (!invulnerable) {
health = health - d;
beenShotSpecial();
if (health <= 0) {
setSpriteAnim("die");
dead = true;
} else if (!unblockable) {
if (!byBird) {
invulnerable = true;
setSpriteAnim("hit");
}
}
}
}
game.level.bossBar.bar.gotoAndStop(Math.round((health / maxHealth) * 100) + 1);
}
var health = 30;
var maxHealth = EndBoss3.prototype.health;
var points = 2000;
var attackProb = 0.05;
var shotCount = 1;
var totalSalvos = 8;
var salvoCount = 0;
var depthOffset = -100;
var endAttack = 80;
var numberOfSpawns = 6;
var leafs = 0;
var shotsFired = 0;
var minShotsToFire = 2;
var shotsToFire = 0;
var maxShotsToFire = 5;
var laughDelay = 7;
var chargeTime = 15;
var shield = 0.2;
var shielded = false;
var birdDamage = 0.2;
}
Symbol 1351 MovieClip [__Packages.LastLevel] Frame 0
class LastLevel extends Level
{
function LastLevel () {
super();
}
var isCrosshairVisisble = false;
}
Symbol 24 MovieClip Frame 171
_parent.play();
Symbol 29 MovieClip [point20] Frame 24
this.removeMovieClip();
Symbol 32 MovieClip [point100] Frame 23
this.removeMovieClip();
Symbol 35 MovieClip [point200] Frame 24
this.removeMovieClip();
Symbol 38 MovieClip [point500] Frame 24
this.removeMovieClip();
Symbol 41 MovieClip [point1000] Frame 38
this.removeMovieClip();
Symbol 45 MovieClip [bang_mc] Frame 4
this.removeMovieClip();
Instance of Symbol 48 MovieClip "line" in Symbol 49 MovieClip [shotLine] Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 49 MovieClip [shotLine] Frame 3
this.removeMovieClip();
Symbol 58 MovieClip Frame 2
this._visible = false;
stop();
Instance of Symbol 61 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 66 MovieClip Frame 4
stop();
_parent.die();
Symbol 68 MovieClip [wormShot] Frame 1
#initclip 51
Object.registerClass("wormShot", WormShot);
#endinitclip
stop();
Instance of Symbol 52 MovieClip in Symbol 68 MovieClip [wormShot] Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
xVel = (Math.random() * _parent._parent.wormShotDir) - (_parent._parent.wormShotDir / 2);
yVel = (Math.random() * _parent._parent.wormShotDir) - (_parent._parent.wormShotDir / 2);
speed = _parent._parent.wormShotSpeed;
damp = _parent._parent.wormShotDamp;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 50);
_parent._xscale = (_parent._yscale = _parent._yscale * speed);
xVel = xVel * damp;
yVel = yVel * damp;
_parent._x = _parent._x + xVel;
_parent._y = _parent._y + yVel;
if (_parent._x < 10) {
_parent._x = 10;
} else if (_parent._x > 630) {
_parent._x = 630;
}
if (_parent._y < 10) {
_parent._y = 10;
} else if (_parent._y > 350) {
_parent._y = 350;
}
if (_parent._xscale > 650) {
_global.world.hurtPlayer(this);
_parent.gotoAndPlay("die");
}
}
Symbol 68 MovieClip [wormShot] Frame 8
stop();
Symbol 75 MovieClip Frame 26
_parent.gotoAndStop(" attack ");
Symbol 76 MovieClip Frame 13
gotoAndPlay (1);
Symbol 84 MovieClip Frame 8
stop();
_parent.die();
Symbol 85 MovieClip [birdShot] Frame 1
#initclip 40
Object.registerClass("birdShot", BirdShot);
#endinitclip
Symbol 85 MovieClip [birdShot] Frame 35
stop();
Symbol 85 MovieClip [birdShot] Frame 41
stop();
Symbol 94 MovieClip Frame 12
_parent.gotoAndPlay("attack");
Symbol 99 MovieClip Frame 23
_parent._parent.attack();
Instance of Symbol 105 MovieClip in Symbol 106 MovieClip Frame 6
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 61 MovieClip in Symbol 106 MovieClip Frame 21
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 106 MovieClip Frame 29
_parent._parent.shoot();
_parent._parent.setSpriteAnim("idle");
Symbol 108 MovieClip Frame 1
this._visible = false;
Symbol 117 MovieClip Frame 10
_parent._parent.die();
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 9
stop();
Symbol 119 MovieClip Frame 17
stop();
Symbol 119 MovieClip Frame 26
stop();
Symbol 119 MovieClip Frame 35
_global.world.spawnPoints(_parent, 100);
stop();
Symbol 126 MovieClip [musicShot] Frame 1
#initclip 41
Object.registerClass("musicShot", BeetleShot);
#endinitclip
stop();
Symbol 126 MovieClip [musicShot] Frame 8
stop();
Symbol 127 MovieClip Frame 2
this._visible = false;
stop();
Symbol 136 MovieClip [akimbo_bonus] Frame 1
#initclip 42
Object.registerClass("akimbo_bonus", AkimboPickup);
#endinitclip
hit._visible = false;
Symbol 136 MovieClip [akimbo_bonus] Frame 19
hit._visible = true;
stop();
Symbol 136 MovieClip [akimbo_bonus] Frame 38
die();
Symbol 137 MovieClip [akimbo_shotgun_bonus] Frame 1
#initclip 43
Object.registerClass("akimbo_shotgun_bonus", AkimboShotgunPickup);
#endinitclip
Symbol 137 MovieClip [akimbo_shotgun_bonus] Frame 21
stop();
Symbol 137 MovieClip [akimbo_shotgun_bonus] Frame 28
die();
Symbol 141 MovieClip [autoShot_bonus] Frame 20
stop();
Symbol 141 MovieClip [autoShot_bonus] Frame 48
die();
Symbol 150 MovieClip [health_bonus] Frame 1
#initclip 44
Object.registerClass("health_bonus", HealthPickup);
#endinitclip
hit._visible = false;
Instance of Symbol 149 MovieClip in Symbol 150 MovieClip [health_bonus] Frame 25
onClipEvent (enterFrame) {
if (_parent._parent.playerHealth < _parent.worth) {
_parent.gotoAndStop("hit");
} else {
_parent.gotoAndStop("on");
}
}
Symbol 150 MovieClip [health_bonus] Frame 28
stop();
hit._visible = true;
Symbol 150 MovieClip [health_bonus] Frame 37
die();
Symbol 151 MovieClip [shotgun_bonus] Frame 1
#initclip 45
Object.registerClass("shotgun_bonus", ShotgunPickup);
#endinitclip
Symbol 151 MovieClip [shotgun_bonus] Frame 21
stop();
Symbol 151 MovieClip [shotgun_bonus] Frame 28
die();
Symbol 156 MovieClip Frame 3
advance = true;
Symbol 156 MovieClip Frame 9
advance = false;
Symbol 168 MovieClip Frame 1
_parent._parent.stop();
Symbol 168 MovieClip Frame 12
_parent._parent.die();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 6
_global.world.hurtPlayer(this);
stop();
Instance of Symbol 168 MovieClip "hitBtn" in Symbol 171 MovieClip Frame 6
onClipEvent (load) {
_y = _parent.myY;
notKilled = true;
}
Symbol 171 MovieClip Frame 12
stop();
Symbol 172 MovieClip [doomSpring] Frame 1
#initclip 46
Object.registerClass("doomSpring", DoomSpring);
#endinitclip
Symbol 172 MovieClip [doomSpring] Frame 4
stop();
Symbol 172 MovieClip [doomSpring] Frame 8
removeMovieClip(this);
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 2
stop();
Symbol 177 MovieClip Frame 3
stop();
Symbol 177 MovieClip Frame 4
stop();
Symbol 178 MovieClip Frame 2
this._visible = false;
stop();
Symbol 184 MovieClip Frame 6
_parent.die();
Symbol 185 MovieClip [leafShot] Frame 1
#initclip 47
Object.registerClass("leafShot", LeafShot);
#endinitclip
Symbol 185 MovieClip [leafShot] Frame 7
stop();
Symbol 185 MovieClip [leafShot] Frame 9
stop();
Symbol 188 MovieClip Frame 1
rot = 25;
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _parent.rot);
}
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _parent.rot);
}
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _parent.rot);
}
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _parent.rot);
}
Symbol 189 MovieClip Frame 2
this._visible = false;
stop();
Symbol 195 MovieClip Frame 12
_parent.die();
stop();
Symbol 196 MovieClip [punchaShot] Frame 1
#initclip 48
Object.registerClass("punchaShot", PunchaShot);
#endinitclip
stop();
Symbol 196 MovieClip [punchaShot] Frame 9
stop();
Symbol 199 MovieClip Frame 3
advance = true;
Symbol 199 MovieClip Frame 15
advance = false;
Symbol 201 MovieClip Frame 9
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 5
stop();
Symbol 202 MovieClip Frame 6
_global.world.hurtPlayer(this);
stop();
Instance of Symbol 168 MovieClip "hitBtn" in Symbol 202 MovieClip Frame 6
onClipEvent (load) {
_y = _parent.myY;
notKilled = true;
}
Symbol 202 MovieClip Frame 12
stop();
Symbol 203 MovieClip [doomSpringSilver] Frame 1
#initclip 49
Object.registerClass("doomSpringSilver", DoomSpringSilver);
#endinitclip
unblockable = true;
Symbol 203 MovieClip [doomSpringSilver] Frame 4
stop();
Symbol 203 MovieClip [doomSpringSilver] Frame 8
removeMovieClip(this);
Symbol 210 MovieClip Frame 26
_parent.gotoAndStop(" attack ");
Symbol 211 MovieClip Frame 2
this._visible = false;
stop();
Symbol 212 MovieClip Frame 13
gotoAndPlay (1);
Symbol 221 MovieClip Frame 13
gotoAndPlay (1);
Symbol 224 MovieClip Frame 13
gotoAndPlay (1);
Symbol 230 MovieClip Frame 8
stop();
_parent.die();
Symbol 231 MovieClip [sparraTrooper] Frame 1
#initclip 50
Object.registerClass("sparraTrooper", SparraTrooper);
#endinitclip
Symbol 231 MovieClip [sparraTrooper] Frame 31
stop();
Symbol 231 MovieClip [sparraTrooper] Frame 34
stop();
Symbol 231 MovieClip [sparraTrooper] Frame 37
stop();
Symbol 231 MovieClip [sparraTrooper] Frame 41
stop();
Symbol 231 MovieClip [sparraTrooper] Frame 45
stop();
Symbol 231 MovieClip [sparraTrooper] Frame 51
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 43
_global.root.playerDied();
Symbol 234 MovieClip Frame 52
gotoAndStop ("off");
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 22
_global.root.completedGame();
Symbol 235 MovieClip Frame 36
gotoAndStop ("off");
Symbol 251 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip "eye" in Symbol 252 MovieClip Frame 1
onClipEvent (enterFrame) {
eyeRad = 6;
damp = 10;
xPos = ((Math.abs(_parent._xmouse) < eyeRad) ? (Math.abs(_parent._xmouse)) : (eyeRad));
yPos = ((Math.abs(_parent._ymouse) < eyeRad) ? (Math.abs(_parent._ymouse)) : (eyeRad));
ang = Math.atan2(_parent._ymouse, _parent._xmouse);
tgtX = Math.cos(ang) * xPos;
tgtY = Math.sin(ang) * yPos;
xDist = tgtX - this._x;
yDist = tgtY - this._y;
this._x = ((Math.abs(xDist) > 0.2) ? (this._x + (xDist / damp)) : (tgtX));
this._y = ((Math.abs(yDist) > 0.2) ? (this._y + (yDist / damp)) : (tgtY));
cXDist = Math.pow(_parent._xmouse - this._x, 2);
cYDist = Math.pow(_parent._ymouse - this._y, 2);
cDist = Math.sqrt(cXDist + cYDist);
maxCDist = 200;
pctDist = (((cDist / maxCDist) < 1) ? (cDist / maxCDist) : 1);
this._xscale = 100 + (100 * pctDist);
this._yscale = 100 + (100 * pctDist);
if (_parent._parent.blink == 1) {
this.play();
}
}
Instance of Symbol 253 MovieClip in Symbol 259 MovieClip Frame 1
onClipEvent (enterFrame) {
this.blink = (((100 * Math.random()) > 98) ? 1 : 0);
}
Symbol 260 Button
on (release) {
getURL ("http://www.sony.co.uk/view/ShowProductCategory.action?site=odw_en_GB&category=Audio", "_blank");
_root.kvClick(264);
}
Symbol 263 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=159");
}
Symbol 264 Button
on (release) {
getURL ("http://www.sony.co.uk", "_blank");
_root.kvClick(253);
}
Symbol 289 Button
on (release) {
getURL ("http://highscores.killerviral.com/enter/tooncrisis2/", "_blank");
_root.kvClick(256);
}
Symbol 298 Button
on (release) {
getURL ("http://www.sony.co.uk/view/ShowArticle.action?section=en_GB_Products&articlesection=1&article=1154694512907&productcategory=%2FAudio%2FNetwork+Walkman&productmodel=%2FAudio%2FNetwork+Walkman%2FNW-S205F&productsku=NWS205FSC.CEW&site=odw_en_GB", "_blank");
_root.kvClick(252);
}
Symbol 304 Button
on (release) {
getURL ("http://www.sony.ie/view/ShowArticle.action?section=en_IE_Products&articlesection=1&article=1154694512907&productcategory=%2FAudio%2FNetwork+Walkman&productmodel=%2FAudio%2FNetwork+Walkman%2FNW-S202F&productsku=NWS202FPC.CEW&site=odw_en_IE", "_blank");
_root.kvClick(260);
}
Symbol 305 Button
on (release) {
getURL ("http://dealerlocator.sony.co.uk/", "_blank");
_root.kvClick(258);
}
Symbol 306 Button
on (release) {
getURL ("http://dealerlocator.sony.ie/", "_blank");
_root.kvClick(259);
}
Symbol 313 Button
on (release) {
_parent.gotoAndPlay("close");
}
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 2
stop();
Symbol 331 MovieClip Frame 3
stop();
Symbol 331 MovieClip Frame 4
stop();
Symbol 335 MovieClip Frame 1
function onload(success) {
if (success) {
if (this.status == "ok") {
trace((("game loaded: " + this.level) + ", ") + this.score);
_global.root.lvl = Number(this.level);
_global.root.score = Number(this.score);
_global.root.isLoading = true;
_global.root.start_page_mc.play();
_root.kvEvent(103);
my_so.data.email = loadingEmail;
my_so.flush();
} else {
feedback_mc.gotoAndStop("notfound");
}
} else {
feedback_mc.gotoAndStop("network");
}
}
email_txt.onSetFocus = function () {
if (this.text == "your email address here") {
this.text = "";
}
Key.addListener(this);
};
email_txt.onKillFocus = function () {
Key.removeListener(this);
};
email_txt.onKeyDown = function () {
if (Key.getCode() == 13) {
load_btn.onRelease();
}
};
var my_so = SharedObject.getLocal("game");
var saved_email = my_so.data.email;
if (saved_email) {
email_txt.text = saved_email;
}
load_btn.onRelease = function () {
var _local2 = new LoadVars();
var _local3 = new LoadVars();
loadingEmail = (_local2.email = email_txt.text);
_local3.onLoad = onload;
feedback_mc.gotoAndStop("loading");
_local2.sendAndLoad((_global.highscoresUrl + "load.php?var=") + Math.random(), _local3);
};
Symbol 335 MovieClip Frame 2
stop();
Symbol 336 MovieClip Frame 1
if (nextPage) {
delete nextPage;
} else {
stop();
}
Symbol 336 MovieClip Frame 6
if (!nextPage) {
stop();
open = true;
}
Symbol 336 MovieClip Frame 7
open = false;
Symbol 336 MovieClip Frame 11
delete curPage;
if (nextPage) {
panel_options.gotoAndStop(nextPage);
gotoAndPlay ("open");
curPage = nextPage;
}
Symbol 341 Button
on (release) {
goToPage("load");
}
Symbol 344 Button
on (release) {
goToPage("controls");
}
Symbol 347 Button
on (release) {
getURL ("http://www.sundaybest.net/site/news/index.php?articleId=432", "_blank");
_root.kvClick(263);
}
Symbol 350 Button
on (release) {
getURL ("http://highscores.killerviral.com/tooncrisis2/highscores.php", "_blank");
_root.kvClick(257);
}
Symbol 353 Button
on (release) {
getURL ("http://highscores.killerviral.com/tooncrisis2/challenge.php", "_blank");
_root.kvClick(262);
}
Symbol 356 Button
on (release) {
getURL ("http://www.tooncrisis.com/", "_blank");
_root.kvClick(255);
}
Symbol 362 Button
on (release) {
_parent.gotoAndPlay("close");
}
Symbol 363 MovieClip Frame 1
stop();
function goToPage(page) {
if (!panel.curPage) {
panel.gotoAndPlay("open");
panel.curPage = page;
panel.panel_options.gotoAndStop(page);
} else if ((panel.curPage != page) && (panel.nextPage != page)) {
panel.nextPage = page;
if (panel.open) {
panel.play();
}
}
}
Symbol 374 Button
on (release) {
gotoAndPlay ("useVideo");
_global.root.skipVideos = false;
}
Symbol 378 Button
on (release) {
gotoAndPlay ("skipVideo");
_global.root.skipVideos = true;
}
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 7
stop();
Symbol 381 MovieClip Frame 150
gotoAndStop ("off");
Symbol 381 MovieClip Frame 219
gotoAndStop ("off");
Symbol 381 MovieClip Frame 220
_parent.play();
Symbol 381 MovieClip Frame 223
stop();
Symbol 382 MovieClip Frame 73
_root._quality = "HIGH";
Symbol 382 MovieClip Frame 149
stop();
Symbol 382 MovieClip Frame 205
if (_global.kvBandWidth <= _global.slowConnection) {
info.gotoAndStop("disable");
stop();
}
Symbol 382 MovieClip Frame 207
_global.root.startGame();
Symbol 404 MovieClip Frame 1
onEnterFrame = function () {
if (this.ready) {
gotoAndPlay ("fadeout");
delete this.ready;
this.onEnterFrame = null;
}
};
Symbol 404 MovieClip Frame 9
stop();
Symbol 404 MovieClip Frame 10
_parent.world.wlogo.play();
play();
Symbol 404 MovieClip Frame 41
_global.world.firstRun();
stop();
Symbol 404 MovieClip Frame 73
_global.world.firstRun();
stop();
Symbol 411 MovieClip Frame 13
_parent.gotoAndStop("off");
Symbol 412 MovieClip Frame 14
_parent.gotoAndStop("on");
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 2
stop();
Symbol 413 MovieClip Frame 8
stop();
Symbol 413 MovieClip Frame 11
stop();
Symbol 413 MovieClip Frame 15
stop();
Symbol 416 MovieClip Frame 1
function onKeyDown() {
var _local1 = Key.getCode();
if ((_local1 == MUSIC) && (!isMusicKeyDown)) {
isMusicKeyDown = true;
muteMusic();
} else if ((_local1 == SOUND) && (!isSoundKeyDown)) {
isSoundKeyDown = true;
muteSound();
}
}
function onKeyUp() {
var _local1 = Key.getCode();
if (_local1 == MUSIC) {
delete isMusicKeyDown;
} else if (_local1 == SOUND) {
delete isSoundKeyDown;
}
}
function onEnterFrame() {
if (!_global.world.isGameStarting) {
var _local2 = _snd.getVolume();
if (_local2 != tgtVol) {
if (_local2 < tgtVol) {
if ((_local2 + deltaVol) > tgtVol) {
_snd.setVolume(tgtVol);
} else {
_snd.setVolume(_local2 + deltaVol);
}
} else if ((_local2 - deltaVol) < tgtVol) {
_snd.setVolume(tgtVol);
} else {
_snd.setVolume(_local2 - deltaVol);
}
}
_local2 = _global.world.currentSound._snd.getVolume();
if (_local2 != tgtVolMusic) {
if (_local2 < tgtVolMusic) {
if ((_local2 + deltaVol) > tgtVolMusic) {
_global.world.currentSound._snd.setVolume(tgtVolMusic);
} else {
_global.world.currentSound._snd.setVolume(_local2 + deltaVol);
}
} else if ((_local2 - deltaVol) < tgtVolMusic) {
_global.world.currentSound._snd.setVolume(tgtVolMusic);
} else {
_global.world.currentSound._snd.setVolume(_local2 - deltaVol);
}
}
if (_global.world.oldSound) {
_local2 = _global.world.oldSound._snd.getVolume();
if (_local2 != 0) {
if ((_local2 - deltaVol) <= 0) {
_global.world.oldSound._snd.setVolume(0);
_global.world.oldSound.gotoAndStop("stop");
delete _global.world.oldSound;
} else {
_global.world.oldSound._snd.setVolume(_local2 - deltaVol);
}
}
}
}
}
function muteSound(t) {
t = ((t == undefined) ? (!isSoundMuted) : (t));
if (t) {
tgtVol = 0;
} else {
tgtVol = 100;
}
broadcastMessage("toggleSounds", t);
isSoundMuted = t;
}
function muteMusic(t) {
t = ((t == undefined) ? (!isMusicMuted) : (t));
if (t) {
tgtVolMusic = 0;
} else {
tgtVolMusic = musicMaxVol;
}
broadcastMessage("toggleMusic", t);
isMusicMuted = t;
}
stop();
_global.snd_control = this;
var _snd = new Sound();
var isSoundMuted = false;
var isMusicMuted = false;
var musicMaxVol = 70;
var tgtVol = 100;
var tgtVolMusic = musicMaxVol;
var deltaVol = 8;
var MUSIC = 77;
var SOUND = 65;
Key.addListener(this);
AsBroadcaster.initialize(this);
addListener(_global.world.options_menu_mc);
Symbol 421 MovieClip Frame 1
stop();
function waitForLoading() {
if ((_parent.isBitmapCached && (_parent.isSoundCached)) && (_parent.isVideoCached)) {
this._visible = false;
delete this.onEnterFrame;
if (_parent.isGameStarting) {
delete this.prevVol;
new Sound().setVolume(0);
stopAllSounds();
_global.root.init_animation_mc.ready = true;
} else {
_parent.nextFrame();
}
} else {
var _local9 = _parent.stream.bytesTotal;
var _local5 = _parent.bmp_mcl.getProgress(_parent.bmp_loading).bytesTotal;
var _local6 = _parent.snd_mcl.getProgress(_parent.snd_loading).bytesTotal;
var _local10 = _parent.stream.bytesLoaded;
var _local8 = (_parent.isBitmapLoadStarted ? (_parent.bmp_mcl.getProgress(_parent.bmp_loading).bytesLoaded) : 0);
var _local7 = (_parent.isSoundLoadStarted ? (_parent.snd_mcl.getProgress(_parent.snd_loading).bytesLoaded) : 0);
var _local11;
var _local14;
var _local13;
if (!_parent.skipVideos) {
_local11 = (((_local9 > 0) && (_local10 > 0)) ? (_local10 / _local9) : 0) / 3;
_local14 = (((_local5 > 0) && (_local8 > 0)) ? (_local8 / _local5) : 0) / 3;
_local13 = (((_local6 > 0) && (_local7 > 0)) ? (_local7 / _local6) : 0) / 3;
} else {
_local11 = 0;
_local14 = ((_local5 > 0) ? (_local8 / _local5) : 0) / 2;
_local13 = ((_local6 > 0) ? (_local7 / _local6) : 0) / 2;
}
var _local12 = (_local11 + _local14) + _local13;
if (_parent.isGameStarting) {
var _local4 = (1 - _local12) * 100;
_local4 = (((_local4 < this.prevVol) || (this.prevVol == undefined)) ? (_local4) : (this.prevVol));
new Sound().setVolume(_local4);
this.prevVol = _local4;
}
this.bar._width = this.bar.width * _local12;
}
}
Instance of Symbol 5 MovieClip "bar" in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
this.width = this._width;
this._width = 0;
}
Symbol 421 MovieClip Frame 2
onEnterFrame = waitForLoading;
gotoAndStop (1);
Symbol 457 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 2
stop();
Symbol 457 MovieClip Frame 3
gotoAndPlay("shoot" + _global.world.weapon.hand);
Symbol 457 MovieClip Frame 4
play();
Symbol 457 MovieClip Frame 8
gotoAndStop (1);
Symbol 457 MovieClip Frame 10
play();
Symbol 457 MovieClip Frame 14
gotoAndStop (1);
Symbol 457 MovieClip Frame 15
play();
Symbol 457 MovieClip Frame 19
gotoAndStop (1);
Symbol 457 MovieClip Frame 20
play();
Symbol 457 MovieClip Frame 24
gotoAndStop (1);
Symbol 462 MovieClip Frame 1
stop();
Instance of Symbol 457 MovieClip "bang4" in Symbol 462 MovieClip Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 457 MovieClip "bang3" in Symbol 462 MovieClip Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 457 MovieClip "bang2" in Symbol 462 MovieClip Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 457 MovieClip "bang1" in Symbol 462 MovieClip Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 462 MovieClip Frame 5
gotoAndStop ("pistol");
Symbol 462 MovieClip Frame 6
stop();
Instance of Symbol 457 MovieClip "bang3" in Symbol 462 MovieClip Frame 6
onClipEvent (load) {
this.blendMode = "add";
}
Instance of Symbol 457 MovieClip "bang2" in Symbol 462 MovieClip Frame 6
onClipEvent (load) {
}
Instance of Symbol 457 MovieClip "bang1" in Symbol 462 MovieClip Frame 6
onClipEvent (load) {
}
Symbol 462 MovieClip Frame 10
gotoAndStop ("shotgun");
Symbol 462 MovieClip Frame 11
stop();
Instance of Symbol 457 MovieClip "bang4" in Symbol 462 MovieClip Frame 11
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 457 MovieClip "bang3" in Symbol 462 MovieClip Frame 11
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 457 MovieClip "bang2" in Symbol 462 MovieClip Frame 11
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 457 MovieClip "bang1" in Symbol 462 MovieClip Frame 11
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 462 MovieClip Frame 15
gotoAndStop ("pistolDuck");
Symbol 462 MovieClip Frame 16
stop();
Instance of Symbol 457 MovieClip "bang3" in Symbol 462 MovieClip Frame 16
onClipEvent (load) {
this.blendMode = "add";
}
Instance of Symbol 457 MovieClip "bang2" in Symbol 462 MovieClip Frame 16
onClipEvent (load) {
}
Instance of Symbol 457 MovieClip "bang1" in Symbol 462 MovieClip Frame 16
onClipEvent (load) {
}
Symbol 462 MovieClip Frame 20
gotoAndStop ("shotgunDuck");
Symbol 463 MovieClip [player.hand] Frame 1
#initclip 115
Object.registerClass("player.hand", Hands);
#endinitclip
stop();
Symbol 463 MovieClip [player.hand] Frame 8
hand.gotoAndStop(_parent.weapon.hand);
_parent.changeWeapon();
gotoAndStop ("ready");
Symbol 463 MovieClip [player.hand] Frame 18
hand.gotoAndStop(_parent.weapon.hand);
_parent.changeWeapon();
gotoAndStop ("ready");
Symbol 474 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 2
stop();
Symbol 478 MovieClip Frame 1
stop();
Symbol 478 MovieClip Frame 2
stop();
Symbol 482 MovieClip Frame 1
stop();
Symbol 482 MovieClip Frame 2
stop();
Symbol 484 MovieClip Frame 1
function toggleMusic(t) {
music_mc.gotoAndStop((t ? "off" : "on"));
}
function toggleSounds(t) {
sounds_mc.gotoAndStop((t ? "off" : "on"));
}
function onKeyDown() {
var _local2 = ((!_global.world.isBitmapCached) || (!_global.world.isSoundCached)) || (!_global.world.isVideoCached);
if (((Key.getCode() == 67) && (!isKeyDown)) && (!_local2)) {
isKeyDown = true;
_global.world.skipVideos = !_global.world.skipVideos;
cutscenes_mc.gotoAndStop((_global.world.skipVideos ? "off" : "on"));
if (!_global.world.isVideoPlaying) {
_global.world.skipVideo();
} else if (!_global.world.skipVideos) {
_global.world.cacheVideo(_global.world.lvl);
}
}
}
function onKeyUp() {
if (Key.getCode() == 67) {
delete isKeyDown;
}
}
_global.options = this;
if (_global.root.skipVideos) {
cutscenes_mc.gotoAndStop("off");
}
Key.addListener(this);
Symbol 496 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 12
Symbol 496 MovieClip Frame 26
this.removeMovieClip();
Symbol 509 MovieClip Frame 2
stop();
Symbol 509 MovieClip Frame 6
stop();
Symbol 509 MovieClip Frame 11
stop();
Symbol 512 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 1
function updateMask(cur) {
if (cur == lastAmmo) {
return(undefined);
}
lastAmmo = cur;
var _local6 = (Math.PI*2);
var _local3 = 0.628318530717959;
var _local4 = cur / originalAmmo;
_local4 = _local4 * _local6;
this.clear();
this.beginFill(16711680, 100);
this.moveTo(this.rad, this.rad);
this.lineTo(this.rad, -this.rad);
var _local2 = 0;
while ((_local2 - _local3) < _local4) {
this.lineTo(this.rad + ((this.rad * 2) * Math.cos(_local2 - (Math.PI/2))), this.rad + ((this.rad * 2) * Math.sin(_local2 - (Math.PI/2))));
_local2 = _local2 + _local3;
}
this.lineTo(this.rad + ((this.rad * 2) * Math.cos(_local4 - (Math.PI/2))), this.rad + ((this.rad * 2) * Math.sin(_local4 - (Math.PI/2))));
this.lineTo(this.rad, this.rad);
this.endFill();
}
stop();
mask_mc.removeMovieClip();
Symbol 521 MovieClip Frame 6
stop();
if (!mask_mc) {
this.createEmptyMovieClip("mask_mc", 103);
mask_mc._x = orb_mc._x;
mask_mc._y = orb_mc._y;
mask_mc.rad = orb_mc._width / 2;
mask_mc.updateMask = updateMask;
}
orb_mc.setMask(mask_mc);
mask_mc.clear();
with (mask_mc) {
beginFill(16711680, 100);
moveTo(-rad, -rad);
lineTo(rad * 2, -rad);
lineTo(rad * 2, rad * 2);
lineTo(-rad, rad * 2);
lineTo(-rad, -rad);
endFill();
}
Symbol 521 MovieClip Frame 11
stop();
if (!mask_mc) {
this.createEmptyMovieClip("mask_mc", 103);
mask_mc._x = orb_mc._x;
mask_mc._y = orb_mc._y;
mask_mc.rad = orb_mc._width / 2;
mask_mc.updateMask = updateMask;
}
orb_mc.setMask(mask_mc);
mask_mc.clear();
with (mask_mc) {
beginFill(16711680, 100);
moveTo(-rad, -rad);
lineTo(rad * 2, -rad);
lineTo(rad * 2, rad * 2);
lineTo(-rad, rad * 2);
lineTo(-rad, -rad);
endFill();
}
Symbol 521 MovieClip Frame 18
stop();
if (!mask_mc) {
this.createEmptyMovieClip("mask_mc", 103);
mask_mc._x = orb_mc._x;
mask_mc._y = orb_mc._y;
mask_mc.rad = orb_mc._width / 2;
mask_mc.updateMask = updateMask;
}
orb_mc.setMask(mask_mc);
mask_mc.clear();
with (mask_mc) {
beginFill(16711680, 100);
moveTo(-rad, -rad);
lineTo(rad * 2, -rad);
lineTo(rad * 2, rad * 2);
lineTo(-rad, rad * 2);
lineTo(-rad, -rad);
endFill();
}
Symbol 523 MovieClip Frame 9
gotoAndPlay (1);
Symbol 528 MovieClip Frame 15
gotoAndPlay (1);
Symbol 529 MovieClip Frame 1
gotoAndPlay (1);
Symbol 534 MovieClip Frame 10
_global.world.player.hurt();
Symbol 534 MovieClip Frame 14
_global.world.hurtPlayer(this);
Symbol 534 MovieClip Frame 17
stop();
Symbol 541 MovieClip Frame 37
_parent._parent.play();
Symbol 546 MovieClip Frame 1
_parent._parent.hitSpecial();
Symbol 546 MovieClip Frame 19
_parent._parent.recover();
Symbol 564 MovieClip Frame 1
_parent._parent.hitSpecial();
Symbol 564 MovieClip Frame 23
stop();
_parent._parent.die();
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 10
stop();
Symbol 566 MovieClip Frame 17
stop();
Symbol 566 MovieClip Frame 24
stop();
Symbol 566 MovieClip Frame 28
stop();
Symbol 566 MovieClip Frame 35
stop();
Symbol 566 MovieClip Frame 40
_global.world.spawnPoints(_parent, 200);
stop();
Symbol 567 MovieClip [tc2_attack_dk1] Frame 1
#initclip 52
Object.registerClass("tc2_attack_dk1", DevilKid);
#endinitclip
setSpriteAnim("satOnHippo");
Symbol 567 MovieClip [tc2_attack_dk1] Frame 2
stop();
Symbol 567 MovieClip [tc2_attack_dk1] Frame 3
jumping = true;
Symbol 567 MovieClip [tc2_attack_dk1] Frame 17
jumping = false;
setSpriteAnim("run");
Symbol 567 MovieClip [tc2_attack_dk1] Frame 75
jumping = true;
Symbol 567 MovieClip [tc2_attack_dk1] Frame 92
startJump();
Symbol 567 MovieClip [tc2_attack_dk1] Frame 116
gotoAndPlay ("loop");
Symbol 567 MovieClip [tc2_attack_dk1] Frame 117
die();
Symbol 571 MovieClip [attack_worm] Frame 1
#initclip 53
Object.registerClass("attack_worm", Worm);
#endinitclip
Symbol 571 MovieClip [attack_worm] Frame 4
stop();
Symbol 572 MovieClip [attack_devilKid.distance] Frame 1
#initclip 54
Object.registerClass("attack_devilKid.distance", DevilKid);
#endinitclip
Symbol 572 MovieClip [attack_devilKid.distance] Frame 76
jumping = true;
setSpriteAnim("attack");
Symbol 572 MovieClip [attack_devilKid.distance] Frame 96
startJump();
Symbol 572 MovieClip [attack_devilKid.distance] Frame 113
gotoAndPlay ("loop");
Symbol 573 MovieClip [attack_devilKid.distance2] Frame 1
#initclip 55
Object.registerClass("attack_devilKid.distance2", DevilKid);
#endinitclip
Symbol 573 MovieClip [attack_devilKid.distance2] Frame 126
jumping = true;
setSpriteAnim("attack");
Symbol 573 MovieClip [attack_devilKid.distance2] Frame 146
startJump();
Symbol 573 MovieClip [attack_devilKid.distance2] Frame 163
gotoAndPlay ("loop");
Symbol 574 MovieClip [level1] Frame 1
#initclip 56
Object.registerClass("level1", Level);
#endinitclip
Symbol 574 MovieClip [level1] Frame 21
game.player.handsUp();
Symbol 574 MovieClip [level1] Frame 27
waitForWave();
Symbol 574 MovieClip [level1] Frame 50
waitForWave();
Symbol 574 MovieClip [level1] Frame 76
waitForWave();
Symbol 574 MovieClip [level1] Frame 90
waitForWave(1);
Symbol 574 MovieClip [level1] Frame 102
waitForWave(1);
Symbol 574 MovieClip [level1] Frame 116
waitForWave(1);
Symbol 574 MovieClip [level1] Frame 132
waitForWave(1);
Symbol 574 MovieClip [level1] Frame 141
waitForWave(1);
Symbol 574 MovieClip [level1] Frame 160
waitForWave();
Symbol 574 MovieClip [level1] Frame 179
end();
Symbol 576 MovieClip [attack_devilKid.stage2NearBush2] Frame 1
#initclip 57
Object.registerClass("attack_devilKid.stage2NearBush2", DevilKid);
#endinitclip
chooseMask("e2NearBush");
setSpriteAnim("still");
Symbol 576 MovieClip [attack_devilKid.stage2NearBush2] Frame 32
setSpriteAnim("run");
Symbol 576 MovieClip [attack_devilKid.stage2NearBush2] Frame 82
jumping = true;
Symbol 576 MovieClip [attack_devilKid.stage2NearBush2] Frame 102
startJump();
Symbol 576 MovieClip [attack_devilKid.stage2NearBush2] Frame 127
gotoAndPlay ("loop");
Symbol 576 MovieClip [attack_devilKid.stage2NearBush2] Frame 147
die();
Symbol 597 MovieClip [mask] Frame 1
_visible = false;
stop();
Symbol 598 MovieClip [attack_devilKid.stage2MidBush4] Frame 1
#initclip 58
Object.registerClass("attack_devilKid.stage2MidBush4", DevilKid);
#endinitclip
chooseMask("e2MidBush");
setSpriteAnim("still");
Symbol 598 MovieClip [attack_devilKid.stage2MidBush4] Frame 40
setSpriteAnim("run");
Symbol 598 MovieClip [attack_devilKid.stage2MidBush4] Frame 75
chooseMask("off");
Symbol 598 MovieClip [attack_devilKid.stage2MidBush4] Frame 97
jumping = true;
Symbol 598 MovieClip [attack_devilKid.stage2MidBush4] Frame 117
startJump();
setSpriteAnim("attack");
Symbol 598 MovieClip [attack_devilKid.stage2MidBush4] Frame 142
gotoAndPlay ("loop");
Symbol 598 MovieClip [attack_devilKid.stage2MidBush4] Frame 162
die();
Symbol 599 MovieClip [attack_devilKid.stage2MidBush3] Frame 1
#initclip 59
Object.registerClass("attack_devilKid.stage2MidBush3", DevilKid);
#endinitclip
chooseMask("e2MidBush");
setSpriteAnim("still");
Symbol 599 MovieClip [attack_devilKid.stage2MidBush3] Frame 33
setSpriteAnim("run");
Symbol 599 MovieClip [attack_devilKid.stage2MidBush3] Frame 57
chooseMask("off");
Symbol 599 MovieClip [attack_devilKid.stage2MidBush3] Frame 88
jumping = true;
Symbol 599 MovieClip [attack_devilKid.stage2MidBush3] Frame 108
startJump();
setSpriteAnim("attack");
Symbol 599 MovieClip [attack_devilKid.stage2MidBush3] Frame 133
gotoAndPlay ("loop");
Symbol 599 MovieClip [attack_devilKid.stage2MidBush3] Frame 153
die();
Symbol 601 MovieClip [attack_devilKid.stage2NearBush4 copy] Frame 1
#initclip 60
Object.registerClass("attack_devilKid.stage2NearBush4 copy", DevilKid);
#endinitclip
chooseMask("e2NearBush");
setSpriteAnim("still");
Symbol 601 MovieClip [attack_devilKid.stage2NearBush4 copy] Frame 33
setSpriteAnim("run");
Symbol 601 MovieClip [attack_devilKid.stage2NearBush4 copy] Frame 62
chooseMask("off");
Symbol 601 MovieClip [attack_devilKid.stage2NearBush4 copy] Frame 83
jumping = true;
Symbol 601 MovieClip [attack_devilKid.stage2NearBush4 copy] Frame 103
startJump();
Symbol 601 MovieClip [attack_devilKid.stage2NearBush4 copy] Frame 128
gotoAndPlay ("loop");
Symbol 601 MovieClip [attack_devilKid.stage2NearBush4 copy] Frame 148
die();
Symbol 613 MovieClip [crate] Frame 1
#initclip 61
Object.registerClass("crate", Crate);
#endinitclip
stop();
Symbol 613 MovieClip [crate] Frame 6
stop();
Symbol 613 MovieClip [crate] Frame 13
game.spawnPickup(this);
Symbol 613 MovieClip [crate] Frame 44
die();
Symbol 615 MovieClip [attack_Spawner] Frame 1
#initclip 62
Object.registerClass("attack_Spawner", Spawner);
#endinitclip
_visible = false;
stop();
Symbol 618 MovieClip [level2] Frame 1
#initclip 63
Object.registerClass("level2", Level);
#endinitclip
game.player.handsUp();
Symbol 618 MovieClip [level2] Frame 8
waitForWave();
Symbol 618 MovieClip [level2] Frame 19
waitForWave(1);
Symbol 618 MovieClip [level2] Frame 24
waitForWave();
Symbol 618 MovieClip [level2] Frame 58
waitForWave(2);
Instance of Symbol 613 MovieClip [crate] in Symbol 618 MovieClip [level2] Frame 88
onClipEvent (load) {
type = "shotgun";
qty = 20;
}
Instance of Symbol 615 MovieClip [attack_Spawner] "s1" in Symbol 618 MovieClip [level2] Frame 88
onClipEvent (load) {
type = "doomSpring";
num = 10;
rate = 15;
speed = 200;
target = _parent.spawnTarget;
variance = 0.1;
mask = "e4FarRightBush";
init();
}
Symbol 618 MovieClip [level2] Frame 113
waitForWave(7);
Symbol 618 MovieClip [level2] Frame 162
waitForWave();
Symbol 618 MovieClip [level2] Frame 169
end();
Symbol 626 MovieClip Frame 100
stop();
Instance of Symbol 626 MovieClip "bar" in Symbol 628 MovieClip Frame 1
/* no clip actions */
Symbol 638 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 9
gotoAndStop (1);
Symbol 648 MovieClip Frame 1
_parent._parent.unblockable = true;
_parent._parent.shoot();
Symbol 648 MovieClip Frame 33
_parent._parent.unblockable = false;
Symbol 648 MovieClip Frame 34
_parent._parent.setSpriteAnim("idle");
Symbol 656 MovieClip Frame 5
_parent._parent.setSpriteAnim("idle");
Symbol 661 MovieClip Frame 4
gotoAndPlay ("loop");
Symbol 662 MovieClip Frame 1
_parent._parent.killTentacles();
Symbol 662 MovieClip Frame 70
_parent._parent.die();
Symbol 663 MovieClip Frame 2
stop();
Symbol 663 MovieClip Frame 12
stop();
Symbol 663 MovieClip Frame 17
stop();
Symbol 663 MovieClip Frame 22
stop();
Symbol 663 MovieClip Frame 29
stop();
Symbol 664 MovieClip [attack_bushBoss] Frame 1
#initclip 64
Object.registerClass("attack_bushBoss", BushBoss);
#endinitclip
invulnerable = true;
Symbol 664 MovieClip [attack_bushBoss] Frame 58
invulnerable = false;
Symbol 664 MovieClip [attack_bushBoss] Frame 59
chooseAttack();
Symbol 664 MovieClip [attack_bushBoss] Frame 66
attack1();
Symbol 664 MovieClip [attack_bushBoss] Frame 82
_global.world.setSpriteAnim(this, "idle");
gotoAndPlay ("nextAttack");
Symbol 664 MovieClip [attack_bushBoss] Frame 89
attack2();
Symbol 664 MovieClip [attack_bushBoss] Frame 125
gotoAndPlay ("nextAttack");
Symbol 673 MovieClip Frame 11
_parent._parent.setSpriteAnim(_parent._parent._name + "ready");
Symbol 676 MovieClip Frame 7
count++;
if (count >= _parent._parent.waitCount) {
count = 0;
_parent._parent.setSpriteAnim("hitPlayer");
}
Symbol 690 MovieClip Frame 6
_global.world.player.hurt();
Symbol 690 MovieClip Frame 9
_parent._parent.setSpriteAnim("done");
Symbol 696 MovieClip Frame 17
_parent._parent.setSpriteAnim("idle");
Symbol 704 MovieClip Frame 7
_parent._parent.setSpriteAnim("done");
Symbol 705 MovieClip Frame 1
_parent.readyToAttack = true;
Symbol 705 MovieClip Frame 2
stop();
Symbol 705 MovieClip Frame 6
_parent.readyToAttack = false;
Symbol 705 MovieClip Frame 7
stop();
Instance of Symbol 676 MovieClip "anim" in Symbol 705 MovieClip Frame 15
onClipEvent (load) {
count = 0;
}
Symbol 705 MovieClip Frame 17
stop();
Symbol 705 MovieClip Frame 22
stop();
Symbol 705 MovieClip Frame 34
stop();
Symbol 705 MovieClip Frame 39
stop();
Instance of Symbol 704 MovieClip "anim" in Symbol 705 MovieClip Frame 43
onClipEvent (load) {
count = 0;
}
Symbol 705 MovieClip Frame 44
stop();
Symbol 712 MovieClip [bushBoss.tentacle1] Frame 1
#initclip 65
Object.registerClass("bushBoss.tentacle1", Tentacle);
#endinitclip
Symbol 712 MovieClip [bushBoss.tentacle1] Frame 2
stop();
Symbol 712 MovieClip [bushBoss.tentacle1] Frame 22
readyToAttack = true;
stop();
Symbol 712 MovieClip [bushBoss.tentacle1] Frame 23
readyToAttack = false;
Symbol 712 MovieClip [bushBoss.tentacle1] Frame 32
count = 0;
Symbol 712 MovieClip [bushBoss.tentacle1] Frame 33
count++;
Symbol 712 MovieClip [bushBoss.tentacle1] Frame 39
if (count <= 4) {
gotoAndPlay ("loop");
} else {
count = 0;
}
Symbol 712 MovieClip [bushBoss.tentacle1] Frame 53
gotoAndStop ("wait");
Symbol 713 MovieClip [level3] Frame 1
#initclip 66
Object.registerClass("level3", Level);
#endinitclip
game.player.handsUp();
Symbol 713 MovieClip [level3] Frame 23
if (boss.health > (boss.maxHealth / 4)) {
gotoAndPlay(_currentframe - 1);
}
Instance of Symbol 613 MovieClip [crate] in Symbol 713 MovieClip [level3] Frame 24
onClipEvent (load) {
type = "health";
qty = 1;
}
Symbol 713 MovieClip [level3] Frame 28
waitForWave();
Symbol 713 MovieClip [level3] Frame 65
end();
Symbol 715 MovieClip [attack_devilKid.stage4frontPop2] Frame 1
#initclip 67
Object.registerClass("attack_devilKid.stage4frontPop2", DevilKid);
#endinitclip
setSpriteAnim("still");
chooseMask("e4NearLeftBush");
Symbol 715 MovieClip [attack_devilKid.stage4frontPop2] Frame 58
setSpriteAnim("run");
Symbol 715 MovieClip [attack_devilKid.stage4frontPop2] Frame 96
chooseMask("off");
Symbol 715 MovieClip [attack_devilKid.stage4frontPop2] Frame 102
setSpriteAnim("attack");
Symbol 715 MovieClip [attack_devilKid.stage4frontPop2] Frame 105
jumping = true;
Symbol 715 MovieClip [attack_devilKid.stage4frontPop2] Frame 125
startJump();
Symbol 715 MovieClip [attack_devilKid.stage4frontPop2] Frame 150
gotoAndPlay ("loop");
Symbol 715 MovieClip [attack_devilKid.stage4frontPop2] Frame 170
die();
Symbol 716 MovieClip [attack_devilKid.stage4frontPop1] Frame 1
#initclip 68
Object.registerClass("attack_devilKid.stage4frontPop1", DevilKid);
#endinitclip
setSpriteAnim("still");
chooseMask("e4NearLeftBush");
Symbol 716 MovieClip [attack_devilKid.stage4frontPop1] Frame 44
setSpriteAnim("run");
Symbol 716 MovieClip [attack_devilKid.stage4frontPop1] Frame 80
chooseMask("off");
setSpriteAnim("");
Symbol 716 MovieClip [attack_devilKid.stage4frontPop1] Frame 91
jumping = true;
Symbol 716 MovieClip [attack_devilKid.stage4frontPop1] Frame 111
startJump();
Symbol 716 MovieClip [attack_devilKid.stage4frontPop1] Frame 136
gotoAndPlay ("loop");
Symbol 716 MovieClip [attack_devilKid.stage4frontPop1] Frame 156
die();
Symbol 740 MovieClip Frame 28
gotoAndPlay (1);
Symbol 741 MovieClip Frame 1
count = 0;
Symbol 741 MovieClip Frame 12
if (_parent._parent.dontShoot) {
gotoAndPlay (2);
} else {
count++;
if (count < (2 + Math.floor(Math.random() * 4))) {
gotoAndPlay (2);
} else {
_parent._parent.setSpriteAnim("attack");
}
}
Symbol 749 MovieClip Frame 1
if (!_parent._parent.jumping) {
_parent._parent.stop();
}
Symbol 749 MovieClip Frame 9
Symbol 749 MovieClip Frame 11
_parent._parent.shoot();
Symbol 749 MovieClip Frame 22
_parent._parent.play();
_parent._parent.setSpriteAnim("idle");
Symbol 752 MovieClip Frame 1
_parent._parent.stop();
Symbol 752 MovieClip Frame 24
_parent._parent.die();
Symbol 754 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 4
stop();
Instance of Symbol 751 MovieClip "shotPoint" in Symbol 754 MovieClip Frame 4
onClipEvent (load) {
_visible = false;
}
Symbol 754 MovieClip Frame 8
_global.world.spawnPoints(_parent, 500);
stop();
Symbol 755 MovieClip [attack_orangePuncha] Frame 1
#initclip 69
Object.registerClass("attack_orangePuncha", Puncha);
#endinitclip
chooseMask("e4FarLeftBush");
Symbol 755 MovieClip [attack_orangePuncha] Frame 21
chooseMask("off");
Symbol 755 MovieClip [attack_orangePuncha] Frame 28
setSpriteAnim("attack");
Symbol 755 MovieClip [attack_orangePuncha] Frame 120
gotoAndPlay ("walkLoop");
Symbol 755 MovieClip [attack_orangePuncha] Frame 181
gotoAndPlay ("walkLoop");
Symbol 755 MovieClip [attack_orangePuncha] Frame 185
stop();
Symbol 756 MovieClip [attack_devilKid.stage4LeftMidBush1] Frame 1
#initclip 70
Object.registerClass("attack_devilKid.stage4LeftMidBush1", DevilKid);
#endinitclip
chooseMask("e4LeftMidBush");
Symbol 756 MovieClip [attack_devilKid.stage4LeftMidBush1] Frame 32
chooseMask("off");
Symbol 756 MovieClip [attack_devilKid.stage4LeftMidBush1] Frame 61
setSpriteAnim("");
Symbol 756 MovieClip [attack_devilKid.stage4LeftMidBush1] Frame 72
jumping = true;
Symbol 756 MovieClip [attack_devilKid.stage4LeftMidBush1] Frame 92
startJump();
Symbol 756 MovieClip [attack_devilKid.stage4LeftMidBush1] Frame 117
gotoAndPlay ("loop");
Symbol 756 MovieClip [attack_devilKid.stage4LeftMidBush1] Frame 137
die();
Symbol 757 MovieClip [attack_devilKid.stage4Far1] Frame 1
#initclip 71
Object.registerClass("attack_devilKid.stage4Far1", DevilKid);
#endinitclip
chooseMask("e4FarLeftBush");
Symbol 757 MovieClip [attack_devilKid.stage4Far1] Frame 57
chooseMask("off");
Symbol 757 MovieClip [attack_devilKid.stage4Far1] Frame 86
setSpriteAnim("");
Symbol 757 MovieClip [attack_devilKid.stage4Far1] Frame 97
jumping = true;
Symbol 757 MovieClip [attack_devilKid.stage4Far1] Frame 117
startJump();
Symbol 757 MovieClip [attack_devilKid.stage4Far1] Frame 142
gotoAndPlay ("loop");
Symbol 757 MovieClip [attack_devilKid.stage4Far1] Frame 162
die();
Symbol 758 MovieClip [level4] Frame 1
#initclip 72
Object.registerClass("level4", Level);
#endinitclip
game.player.handsUp();
Symbol 758 MovieClip [level4] Frame 36
waitForWave(1);
Symbol 758 MovieClip [level4] Frame 42
waitForWave();
Instance of Symbol 615 MovieClip [attack_Spawner] "s1" in Symbol 758 MovieClip [level4] Frame 43
onClipEvent (load) {
type = "doomSpring";
num = 5;
rate = 15;
speed = 250;
target = _parent.spawnTarget;
variance = 0.1;
mask = "e4FarRightBush";
init();
}
Symbol 758 MovieClip [level4] Frame 66
waitForWave(2);
Symbol 758 MovieClip [level4] Frame 119
end();
Symbol 764 MovieClip Frame 1
_parent._parent.idleCount();
Symbol 764 MovieClip Frame 2
_parent._parent.idleCount();
Symbol 764 MovieClip Frame 3
_parent._parent.idleCount();
Symbol 764 MovieClip Frame 4
_parent._parent.idleCount();
Symbol 786 MovieClip Frame 19
stop();
Symbol 788 MovieClip Frame 1
_parent._parent.startAttack();
Symbol 788 MovieClip Frame 40
_parent._parent.shoot();
Symbol 788 MovieClip Frame 58
_parent._parent.attackDone();
Symbol 797 MovieClip Frame 1
_parent._parent.invulnerable = true;
Symbol 797 MovieClip Frame 16
_parent._parent.invulnerable = false;
_parent._parent.setSpriteAnim("attack");
Symbol 805 MovieClip Frame 1
_parent._parent.stop();
Symbol 805 MovieClip Frame 28
_parent._parent.die();
Symbol 806 MovieClip Frame 2
stop();
Symbol 806 MovieClip Frame 7
stop();
Symbol 806 MovieClip Frame 13
stop();
Symbol 806 MovieClip Frame 17
stop();
Symbol 811 MovieClip Frame 1
_parent._parent.idleCount();
Symbol 811 MovieClip Frame 2
_parent._parent.idleCount();
Symbol 811 MovieClip Frame 3
_parent._parent.idleCount();
Symbol 811 MovieClip Frame 4
_parent._parent.idleCount();
Symbol 816 MovieClip Frame 1
_parent._parent.idleCount();
Symbol 816 MovieClip Frame 2
_parent._parent.idleCount();
Symbol 816 MovieClip Frame 3
_parent._parent.idleCount();
Symbol 816 MovieClip Frame 4
_parent._parent.idleCount();
Symbol 821 MovieClip Frame 1
_parent._parent.idleCount();
Symbol 821 MovieClip Frame 2
_parent._parent.idleCount();
Symbol 821 MovieClip Frame 3
_parent._parent.idleCount();
Symbol 821 MovieClip Frame 4
_parent._parent.idleCount();
Symbol 822 MovieClip [attack_beetlePaul] Frame 1
#initclip 73
Object.registerClass("attack_beetlePaul", Beetle);
#endinitclip
chooseMask("bandstand");
Symbol 822 MovieClip [attack_beetlePaul] Frame 33
invulnerable = false;
Symbol 822 MovieClip [attack_beetlePaul] Frame 41
chooseMask("off");
Symbol 822 MovieClip [attack_beetlePaul] Frame 67
chooseMask("bandstand");
Symbol 822 MovieClip [attack_beetlePaul] Frame 88
gotoAndPlay ("loop");
Symbol 824 MovieClip Frame 1
_parent._parent.startAttack();
Symbol 824 MovieClip Frame 43
_parent._parent.shoot();
Symbol 824 MovieClip Frame 58
_parent._parent.attackDone();
Symbol 825 MovieClip Frame 1
_parent._parent.invulnerable = true;
Symbol 825 MovieClip Frame 16
_parent._parent.invulnerable = false;
_parent._parent.setSpriteAnim("attACK");
Symbol 826 MovieClip Frame 2
stop();
Symbol 826 MovieClip Frame 9
stop();
Symbol 826 MovieClip Frame 15
stop();
Symbol 826 MovieClip Frame 18
stop();
Symbol 827 MovieClip [attack_beetleRingo] Frame 1
#initclip 74
Object.registerClass("attack_beetleRingo", Beetle);
#endinitclip
Symbol 827 MovieClip [attack_beetleRingo] Frame 93
gotoAndPlay ("loop");
Symbol 829 MovieClip Frame 1
_parent._parent.startAttack();
Symbol 829 MovieClip Frame 40
_parent._parent.shoot();
Symbol 829 MovieClip Frame 58
_parent._parent.attackDone();
Symbol 830 MovieClip Frame 1
_parent._parent.invulnerable = true;
Symbol 830 MovieClip Frame 16
_parent._parent.invulnerable = false;
_parent._parent.setSpriteAnim("attack");
Symbol 831 MovieClip Frame 2
stop();
Symbol 831 MovieClip Frame 13
stop();
Symbol 831 MovieClip Frame 18
stop();
Symbol 831 MovieClip Frame 25
stop();
Symbol 832 MovieClip [attack_beetleJohn] Frame 1
#initclip 75
Object.registerClass("attack_beetleJohn", Beetle);
#endinitclip
animCount = 0;
Symbol 832 MovieClip [attack_beetleJohn] Frame 10
animCount++;
Symbol 832 MovieClip [attack_beetleJohn] Frame 26
if (animCount >= 3) {
gotoAndPlay ("loop");
}
Symbol 832 MovieClip [attack_beetleJohn] Frame 40
chooseMask("off");
Symbol 832 MovieClip [attack_beetleJohn] Frame 71
chooseMask("bandstand");
Symbol 832 MovieClip [attack_beetleJohn] Frame 81
gotoAndPlay ("loop");
Symbol 838 MovieClip Frame 12
_parent._parent.setSpriteAnim("attack");
Symbol 843 MovieClip Frame 31
_parent._parent.attack();
Instance of Symbol 105 MovieClip in Symbol 844 MovieClip Frame 6
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 61 MovieClip in Symbol 844 MovieClip Frame 21
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 844 MovieClip Frame 29
_parent._parent.shoot();
_parent._parent.setSpriteAnim("idle");
Instance of Symbol 61 MovieClip in Symbol 844 MovieClip Frame 29
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 846 MovieClip Frame 1
stop();
Symbol 846 MovieClip Frame 9
stop();
Symbol 846 MovieClip Frame 17
stop();
Symbol 846 MovieClip Frame 26
stop();
Symbol 846 MovieClip Frame 35
_global.world.spawnPoints(_parent, 200);
stop();
Symbol 847 MovieClip [attack_wormTough] Frame 1
#initclip 76
Object.registerClass("attack_wormTough", WormTough);
#endinitclip
Symbol 847 MovieClip [attack_wormTough] Frame 4
stop();
Symbol 848 MovieClip Frame 1
_parent._parent.startAttack();
Symbol 848 MovieClip Frame 40
_parent._parent.shoot();
Symbol 848 MovieClip Frame 57
_parent._parent.attackDone();
Symbol 849 MovieClip Frame 2
stop();
Symbol 849 MovieClip Frame 9
stop();
Symbol 849 MovieClip Frame 17
stop();
Symbol 849 MovieClip Frame 21
stop();
Symbol 850 MovieClip [attack_beetleGeorge] Frame 1
#initclip 77
Object.registerClass("attack_beetleGeorge", Beetle);
#endinitclip
setSpriteAnim("idle");
Symbol 850 MovieClip [attack_beetleGeorge] Frame 63
gotoAndPlay ("loop");
Symbol 851 MovieClip [level5] Frame 1
#initclip 78
Object.registerClass("level5", Level);
#endinitclip
game.player.handsUp();
beetleShots = 1;
beetlesLeft = 4;
Symbol 851 MovieClip [level5] Frame 12
waitForWave(3);
Symbol 851 MovieClip [level5] Frame 16
waitForWave(4);
Symbol 851 MovieClip [level5] Frame 25
waitForWave();
Instance of Symbol 613 MovieClip [crate] in Symbol 851 MovieClip [level5] Frame 52
onClipEvent (load) {
type = "akimbo";
qty = 50;
}
Symbol 851 MovieClip [level5] Frame 56
waitForWave();
Symbol 851 MovieClip [level5] Frame 76
waitForWave();
Symbol 851 MovieClip [level5] Frame 112
waitForWave(3);
Symbol 851 MovieClip [level5] Frame 147
waitForWave(1);
Symbol 851 MovieClip [level5] Frame 183
waitForWave(1);
Symbol 851 MovieClip [level5] Frame 191
waitForWave(2);
Symbol 851 MovieClip [level5] Frame 197
waitForWave();
Symbol 851 MovieClip [level5] Frame 206
end();
Symbol 885 MovieClip Frame 1
_parent._parent.attack();
Symbol 885 MovieClip Frame 2
_parent._parent.attack();
Symbol 885 MovieClip Frame 3
_parent._parent.attack();
Symbol 885 MovieClip Frame 4
_parent._parent.attack();
Symbol 894 MovieClip Frame 1
_parent._parent.dead = true;
_parent._parent.stop();
Symbol 894 MovieClip Frame 30
_parent._parent.die();
Symbol 895 MovieClip Frame 1
_parent.vulnerable = false;
_parent.invulnerable = false;
Symbol 895 MovieClip Frame 2
_parent.vulnerable = false;
stop();
Symbol 895 MovieClip Frame 7
_parent.vulnerable = false;
_parent.invulnerable = false;
Symbol 895 MovieClip Frame 8
_parent.vulnerable = false;
stop();
Symbol 895 MovieClip Frame 25
_parent.vulnerable = false;
_parent.invulnerable = true;
Symbol 895 MovieClip Frame 26
_parent.vulnerable = false;
stop();
Symbol 895 MovieClip Frame 34
_parent.invulnerable = false;
Symbol 895 MovieClip Frame 35
stop();
Symbol 895 MovieClip Frame 43
_parent.vulnerable = false;
_parent.invulnerable = false;
stop();
Symbol 895 MovieClip Frame 50
_parent.vulnerable = false;
_parent.invulnerable = true;
Symbol 895 MovieClip Frame 51
stop();
Symbol 895 MovieClip Frame 59
_parent.stop();
Symbol 895 MovieClip Frame 60
stop();
Symbol 1019 MovieClip [attack_swingboss] Frame 1
#initclip 79
Object.registerClass("attack_swingboss", SwingBoss);
#endinitclip
Symbol 1019 MovieClip [attack_swingboss] Frame 2
Symbol 1019 MovieClip [attack_swingboss] Frame 21
setSpriteAnim("swing");
Symbol 1019 MovieClip [attack_swingboss] Frame 34
setSpriteAnim("attack");
Symbol 1019 MovieClip [attack_swingboss] Frame 52
setSpriteAnim("shield");
Symbol 1019 MovieClip [attack_swingboss] Frame 65
setSpriteAnim("shield");
Symbol 1019 MovieClip [attack_swingboss] Frame 67
startAttack2("right");
Symbol 1019 MovieClip [attack_swingboss] Frame 71
setSpriteAnim("shield");
Symbol 1019 MovieClip [attack_swingboss] Frame 86
setSpriteAnim("vulnerable");
Symbol 1019 MovieClip [attack_swingboss] Frame 94
setSpriteAnim("attack");
Symbol 1019 MovieClip [attack_swingboss] Frame 99
gotoAndPlay ("loop1");
Symbol 1019 MovieClip [attack_swingboss] Frame 100
setSpriteAnim("attack");
Symbol 1019 MovieClip [attack_swingboss] Frame 109
setSpriteAnim("shield");
Symbol 1019 MovieClip [attack_swingboss] Frame 131
setSpriteAnim("shield");
startAttack2("left");
Symbol 1019 MovieClip [attack_swingboss] Frame 137
setSpriteAnim("shield");
Symbol 1019 MovieClip [attack_swingboss] Frame 141
setSpriteAnim("vulnerable");
Symbol 1019 MovieClip [attack_swingboss] Frame 151
setSpriteAnim("attack");
Symbol 1019 MovieClip [attack_swingboss] Frame 165
gotoAndPlay ("loop2");
Symbol 1019 MovieClip [attack_swingboss] Frame 167
setSpriteAnim("idle");
Symbol 1019 MovieClip [attack_swingboss] Frame 249
gotoAndPlay ("backAttackLeft");
Symbol 1019 MovieClip [attack_swingboss] Frame 270
setSpriteAnim("swing");
Symbol 1019 MovieClip [attack_swingboss] Frame 285
gotoAndPlay ("midAttackRight");
Symbol 1019 MovieClip [attack_swingboss] Frame 286
setSpriteAnim("idle");
Symbol 1019 MovieClip [attack_swingboss] Frame 333
unblockable = true;
setSpriteAnim("attack");
Symbol 1019 MovieClip [attack_swingboss] Frame 352
gotoAndPlay ("midAttackRight");
Symbol 1019 MovieClip [attack_swingboss] Frame 353
setSpriteAnim("idle");
Symbol 1019 MovieClip [attack_swingboss] Frame 387
gotoAndPlay ("backAttackRight");
Symbol 1019 MovieClip [attack_swingboss] Frame 403
Symbol 1019 MovieClip [attack_swingboss] Frame 410
setSpriteAnim("swing");
Symbol 1019 MovieClip [attack_swingboss] Frame 424
unblockable = true;
setSpriteAnim("attack");
Symbol 1019 MovieClip [attack_swingboss] Frame 443
gotoAndPlay ("midAttackRight");
Symbol 1019 MovieClip [attack_swingboss] Frame 444
stop();
Symbol 1020 MovieClip [attack_orangePunchaLeftAttack] Frame 1
#initclip 80
Object.registerClass("attack_orangePunchaLeftAttack", Puncha);
#endinitclip
Symbol 1020 MovieClip [attack_orangePunchaLeftAttack] Frame 84
gotoAndPlay ("walkLoop");
Symbol 1020 MovieClip [attack_orangePunchaLeftAttack] Frame 197
gotoAndPlay ("walkLoop");
Symbol 1020 MovieClip [attack_orangePunchaLeftAttack] Frame 201
stop();
Symbol 1021 MovieClip [attack_orangePunchaRightAttack] Frame 1
#initclip 81
Object.registerClass("attack_orangePunchaRightAttack", Puncha);
#endinitclip
Symbol 1021 MovieClip [attack_orangePunchaRightAttack] Frame 84
gotoAndPlay ("walkLoop");
Symbol 1021 MovieClip [attack_orangePunchaRightAttack] Frame 197
gotoAndPlay ("walkLoop");
Symbol 1021 MovieClip [attack_orangePunchaRightAttack] Frame 201
stop();
Symbol 1022 MovieClip [level6] Frame 1
#initclip 82
Object.registerClass("level6", Level);
#endinitclip
game.player.handsUp();
Symbol 1022 MovieClip [level6] Frame 16
waitForWave();
Symbol 1022 MovieClip [level6] Frame 57
waitForWave();
Symbol 1022 MovieClip [level6] Frame 115
end();
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 1
#initclip 83
Object.registerClass("attack_devilKid.e7jump1", DevilKid);
#endinitclip
chooseMask("e7TopShelf");
setSpriteAnim("fly");
jumping = true;
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 7
chooseMask("e7MidShelf");
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 13
jumping = false;
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 14
jumping = true;
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 23
chooseMask("e7BottomShelf");
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 36
jumping = false;
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 37
jumping = true;
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 48
chooseMask("off");
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 56
jumping = true;
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 58
setSpriteAnim("attack");
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 62
startJump();
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 74
setSpriteAnim("attack");
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 87
gotoAndPlay ("loop");
Symbol 1024 MovieClip [attack_devilKid.e7jump1] Frame 107
die();
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 1
#initclip 84
Object.registerClass("attack_devilKid.e7jump2", DevilKid);
#endinitclip
chooseMask("e7TopShelf");
setSpriteAnim("fly");
jumping = true;
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 7
chooseMask("e7MidShelf");
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 13
jumping = false;
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 14
jumping = true;
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 23
chooseMask("e7BottomShelf");
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 36
jumping = false;
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 37
jumping = true;
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 48
chooseMask("off");
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 61
jumping = true;
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 63
setSpriteAnim("attack");
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 67
startJump();
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 79
setSpriteAnim("attack");
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 92
gotoAndPlay ("loop");
Symbol 1025 MovieClip [attack_devilKid.e7jump2] Frame 112
die();
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 1
#initclip 85
Object.registerClass("attack_devilKid.e7jump3", DevilKid);
#endinitclip
chooseMask("e7TopShelf");
setSpriteAnim("fly");
jumping = true;
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 7
chooseMask("e7MidShelf");
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 13
jumping = false;
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 14
jumping = true;
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 23
chooseMask("e7BottomShelf");
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 36
jumping = false;
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 37
jumping = true;
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 48
chooseMask("off");
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 56
jumping = true;
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 58
setSpriteAnim("attack");
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 62
startJump();
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 74
setSpriteAnim("attack");
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 87
gotoAndPlay ("loop");
Symbol 1026 MovieClip [attack_devilKid.e7jump3] Frame 107
die();
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 1
#initclip 86
Object.registerClass("attack_devilKid.e7jump4", DevilKid);
#endinitclip
chooseMask("e7TopShelf");
setSpriteAnim("fly");
jumping = true;
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 7
chooseMask("e7MidShelf");
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 13
jumping = false;
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 14
jumping = true;
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 23
chooseMask("e7BottomShelf");
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 36
jumping = false;
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 37
jumping = true;
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 48
chooseMask("off");
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 56
jumping = true;
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 58
setSpriteAnim("attack");
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 59
startJump();
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 71
setSpriteAnim("attack");
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 84
gotoAndPlay ("loop");
Symbol 1027 MovieClip [attack_devilKid.e7jump4] Frame 104
die();
Symbol 1028 MovieClip [attack_devilKid.e7Bush] Frame 1
#initclip 87
Object.registerClass("attack_devilKid.e7Bush", DevilKid);
#endinitclip
chooseMask("e7Bush");
Symbol 1028 MovieClip [attack_devilKid.e7Bush] Frame 58
jumping = true;
Symbol 1028 MovieClip [attack_devilKid.e7Bush] Frame 60
setSpriteAnim("attack");
Symbol 1028 MovieClip [attack_devilKid.e7Bush] Frame 61
startJump();
Symbol 1028 MovieClip [attack_devilKid.e7Bush] Frame 73
setSpriteAnim("attack");
Symbol 1028 MovieClip [attack_devilKid.e7Bush] Frame 86
gotoAndPlay ("loop");
Symbol 1028 MovieClip [attack_devilKid.e7Bush] Frame 106
die();
Symbol 1029 MovieClip [level7] Frame 1
#initclip 88
Object.registerClass("level7", Level);
#endinitclip
game.player.handsUp();
Symbol 1029 MovieClip [level7] Frame 258
waitForWave();
Symbol 1029 MovieClip [level7] Frame 260
end();
Symbol 1039 MovieClip Frame 3
gotoAndPlay (1);
Symbol 1050 MovieClip Frame 58
_parent._parent.setSpriteAnim("flyAttack");
Symbol 1056 MovieClip Frame 4
_global.world.player.hurt();
Symbol 1056 MovieClip Frame 30
_parent._parent.setSpriteAnim("fly");
Symbol 1062 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1071 MovieClip Frame 1
count = 0;
Symbol 1071 MovieClip Frame 11
count++;
if (count <= 2) {
gotoAndPlay (2);
}
Symbol 1071 MovieClip Frame 12
if (_parent._parent.dead) {
_parent._parent.setSpriteAnim("die");
} else {
_parent._parent.setSpriteAnim("fly");
}
Symbol 1079 MovieClip Frame 3
gotoAndPlay (1);
Symbol 1080 MovieClip Frame 2
stop();
Instance of Symbol 1050 MovieClip "anim" in Symbol 1080 MovieClip Frame 4
onClipEvent (load) {
startWidth = _width;
}
onClipEvent (enterFrame) {
_parent.hitScale = (_width / startWidth) * 100;
}
Symbol 1080 MovieClip Frame 80
stop();
Symbol 1080 MovieClip Frame 91
stop();
Symbol 1080 MovieClip Frame 96
stop();
Symbol 1080 MovieClip Frame 105
stop();
Instance of Symbol 1071 MovieClip "anim" in Symbol 1080 MovieClip Frame 109
onClipEvent (load) {
_yscale = _parent.hitScale;
_xscale = _parent.hitScale;
}
onClipEvent (enterFrame) {
_xscale = (((_xscale * 5) + 100) / 6);
_yscale = (((_xscale * 5) + 100) / 6);
}
Symbol 1080 MovieClip Frame 110
stop();
Instance of Symbol 1079 MovieClip "anim" in Symbol 1080 MovieClip Frame 112
onClipEvent (load) {
_parent._parent.stop();
rotSpeed = 0;
xSpeed = 0;
ySpeed = 0;
}
onClipEvent (enterFrame) {
xSpeed = xSpeed + 0.5;
ySpeed = ySpeed + 0.1;
_x = (_x - xSpeed);
_y = (_y - ySpeed);
_xscale = (_xscale * 0.99);
_yscale = (_xscale * 0.99);
rotation = rotation - rotSpeed;
rotSpeed = rotSpeed + 0.2;
if (_x <= _parent.dieTarget._x) {
_parent._parent.die();
}
}
Symbol 1080 MovieClip Frame 113
stop();
Symbol 1081 MovieClip [endBossAttack1] Frame 1
#initclip 89
Object.registerClass("endBossAttack1", EndBoss1);
#endinitclip
setSpriteAnim("fly");
depthOffset = 200;
Symbol 1081 MovieClip [endBossAttack1] Frame 25
startAttack1();
Symbol 1081 MovieClip [endBossAttack1] Frame 175
gotoAndPlay ("attack1Loop");
Symbol 1082 MovieClip [attack_devilKid.endFence1] Frame 1
#initclip 90
Object.registerClass("attack_devilKid.endFence1", DevilKid);
#endinitclip
chooseMask("e8Fence1");
Symbol 1082 MovieClip [attack_devilKid.endFence1] Frame 28
chooseMask("off");
Symbol 1082 MovieClip [attack_devilKid.endFence1] Frame 46
chooseMask("off");
Symbol 1082 MovieClip [attack_devilKid.endFence1] Frame 61
jumping = true;
setSpriteAnim("attack");
Symbol 1082 MovieClip [attack_devilKid.endFence1] Frame 86
startJump();
Symbol 1082 MovieClip [attack_devilKid.endFence1] Frame 98
setSpriteAnim("attack");
Symbol 1082 MovieClip [attack_devilKid.endFence1] Frame 111
gotoAndPlay ("loop");
Symbol 1082 MovieClip [attack_devilKid.endFence1] Frame 131
die();
Symbol 1083 MovieClip [attack_devilKid.endFence2] Frame 1
#initclip 91
Object.registerClass("attack_devilKid.endFence2", DevilKid);
#endinitclip
chooseMask("e8Fence1");
Symbol 1083 MovieClip [attack_devilKid.endFence2] Frame 28
chooseMask("off");
Symbol 1083 MovieClip [attack_devilKid.endFence2] Frame 46
chooseMask("off");
Symbol 1083 MovieClip [attack_devilKid.endFence2] Frame 66
jumping = true;
setSpriteAnim("attack");
Symbol 1083 MovieClip [attack_devilKid.endFence2] Frame 90
startJump();
Symbol 1083 MovieClip [attack_devilKid.endFence2] Frame 102
setSpriteAnim("attack");
Symbol 1083 MovieClip [attack_devilKid.endFence2] Frame 115
gotoAndPlay ("loop");
Symbol 1083 MovieClip [attack_devilKid.endFence2] Frame 135
die();
Symbol 1084 MovieClip [attack_devilKid.endFence3] Frame 1
#initclip 92
Object.registerClass("attack_devilKid.endFence3", DevilKid);
#endinitclip
chooseMask("e8Fence1");
setSpriteAnim("fly");
jumping = true;
Symbol 1084 MovieClip [attack_devilKid.endFence3] Frame 13
chooseMask("off");
setSpriteAnim("run");
jumping = false;
Symbol 1084 MovieClip [attack_devilKid.endFence3] Frame 49
jumping = true;
Symbol 1084 MovieClip [attack_devilKid.endFence3] Frame 64
setSpriteAnim("attack");
Symbol 1084 MovieClip [attack_devilKid.endFence3] Frame 73
startJump();
Symbol 1084 MovieClip [attack_devilKid.endFence3] Frame 85
setSpriteAnim("attack");
Symbol 1084 MovieClip [attack_devilKid.endFence3] Frame 98
gotoAndPlay ("loop");
Symbol 1084 MovieClip [attack_devilKid.endFence3] Frame 118
die();
Symbol 1085 MovieClip [attack_devilKid.endFenceDist1] Frame 1
#initclip 93
Object.registerClass("attack_devilKid.endFenceDist1", DevilKid);
#endinitclip
chooseMask("e8Fence2");
setSpriteAnim("fly");
jumping = true;
Symbol 1085 MovieClip [attack_devilKid.endFenceDist1] Frame 13
chooseMask("off");
setSpriteAnim("run");
Symbol 1085 MovieClip [attack_devilKid.endFenceDist1] Frame 28
jumping = false;
Symbol 1085 MovieClip [attack_devilKid.endFenceDist1] Frame 56
jumping = true;
Symbol 1085 MovieClip [attack_devilKid.endFenceDist1] Frame 57
setSpriteAnim("attack");
Symbol 1085 MovieClip [attack_devilKid.endFenceDist1] Frame 69
startJump();
Symbol 1085 MovieClip [attack_devilKid.endFenceDist1] Frame 81
setSpriteAnim("attack");
Symbol 1085 MovieClip [attack_devilKid.endFenceDist1] Frame 94
gotoAndPlay ("loop");
Symbol 1085 MovieClip [attack_devilKid.endFenceDist1] Frame 114
die();
Symbol 1086 MovieClip [attack_devilKid.endFenceDist2] Frame 1
#initclip 94
Object.registerClass("attack_devilKid.endFenceDist2", DevilKid);
#endinitclip
chooseMask("e8Fence2");
setSpriteAnim("fly");
jumping = true;
Symbol 1086 MovieClip [attack_devilKid.endFenceDist2] Frame 13
chooseMask("off");
setSpriteAnim("run");
Symbol 1086 MovieClip [attack_devilKid.endFenceDist2] Frame 28
jumping = false;
Symbol 1086 MovieClip [attack_devilKid.endFenceDist2] Frame 56
jumping = true;
Symbol 1086 MovieClip [attack_devilKid.endFenceDist2] Frame 57
setSpriteAnim("attack");
Symbol 1086 MovieClip [attack_devilKid.endFenceDist2] Frame 69
startJump();
Symbol 1086 MovieClip [attack_devilKid.endFenceDist2] Frame 81
setSpriteAnim("attack");
Symbol 1086 MovieClip [attack_devilKid.endFenceDist2] Frame 94
gotoAndPlay ("loop");
Symbol 1086 MovieClip [attack_devilKid.endFenceDist2] Frame 114
die();
Symbol 1087 MovieClip [level8] Frame 1
#initclip 95
Object.registerClass("level8", Level);
#endinitclip
game.player.handsUp();
Symbol 1087 MovieClip [level8] Frame 23
if (boss.dead) {
gotoAndPlay ("end");
} else {
waitForWave(1);
}
Symbol 1087 MovieClip [level8] Frame 53
if (boss.dead) {
gotoAndPlay ("end");
} else {
waitForWave(1);
}
Symbol 1087 MovieClip [level8] Frame 79
waitForWave(1);
Symbol 1087 MovieClip [level8] Frame 80
if (boss.dead || (!boss)) {
gotoAndPlay ("end");
} else {
gotoAndPlay ("loop");
}
Symbol 1087 MovieClip [level8] Frame 100
waitForWave();
Instance of Symbol 613 MovieClip [crate] in Symbol 1087 MovieClip [level8] Frame 113
onClipEvent (load) {
type = "health";
qty = 1;
}
Instance of Symbol 613 MovieClip [crate] in Symbol 1087 MovieClip [level8] Frame 127
onClipEvent (load) {
type = "health";
qty = 1;
}
Symbol 1087 MovieClip [level8] Frame 221
waitForWave();
Symbol 1087 MovieClip [level8] Frame 225
end();
Symbol 1089 MovieClip [attack_orangePunchaL9] Frame 1
#initclip 96
Object.registerClass("attack_orangePunchaL9", Puncha);
#endinitclip
chooseMask("L9Distance");
dontShoot = true;
Symbol 1089 MovieClip [attack_orangePunchaL9] Frame 39
dontShoot = false;
chooseMask("off");
Symbol 1089 MovieClip [attack_orangePunchaL9] Frame 89
gotoAndPlay ("walkLoop");
Symbol 1089 MovieClip [attack_orangePunchaL9] Frame 150
gotoAndPlay ("walkLoop");
Symbol 1089 MovieClip [attack_orangePunchaL9] Frame 154
stop();
Symbol 1090 MovieClip [attack_devilKid.level9] Frame 1
#initclip 97
Object.registerClass("attack_devilKid.level9", DevilKid);
#endinitclip
chooseMask("off");
setSpriteAnim("run");
jumping = false;
Symbol 1090 MovieClip [attack_devilKid.level9] Frame 56
jumping = true;
Symbol 1090 MovieClip [attack_devilKid.level9] Frame 69
setSpriteAnim("attack");
Symbol 1090 MovieClip [attack_devilKid.level9] Frame 78
startJump();
Symbol 1090 MovieClip [attack_devilKid.level9] Frame 90
setSpriteAnim("attack");
Symbol 1090 MovieClip [attack_devilKid.level9] Frame 103
gotoAndPlay ("loop");
Symbol 1090 MovieClip [attack_devilKid.level9] Frame 123
die();
Symbol 1091 MovieClip [attack_devilKid.level9c] Frame 1
#initclip 98
Object.registerClass("attack_devilKid.level9c", DevilKid);
#endinitclip
chooseMask("L9Distance");
setSpriteAnim("run");
jumping = false;
Symbol 1091 MovieClip [attack_devilKid.level9c] Frame 23
chooseMask("off");
Symbol 1091 MovieClip [attack_devilKid.level9c] Frame 79
jumping = true;
Symbol 1091 MovieClip [attack_devilKid.level9c] Frame 92
setSpriteAnim("attack");
Symbol 1091 MovieClip [attack_devilKid.level9c] Frame 101
startJump();
Symbol 1091 MovieClip [attack_devilKid.level9c] Frame 113
setSpriteAnim("attack");
Symbol 1091 MovieClip [attack_devilKid.level9c] Frame 126
gotoAndPlay ("loop");
Symbol 1091 MovieClip [attack_devilKid.level9c] Frame 146
die();
Symbol 1092 MovieClip [attack_devilKid.level9b] Frame 1
#initclip 99
Object.registerClass("attack_devilKid.level9b", DevilKid);
#endinitclip
chooseMask("off");
setSpriteAnim("run");
jumping = false;
Symbol 1092 MovieClip [attack_devilKid.level9b] Frame 56
jumping = true;
Symbol 1092 MovieClip [attack_devilKid.level9b] Frame 69
setSpriteAnim("attack");
Symbol 1092 MovieClip [attack_devilKid.level9b] Frame 78
startJump();
Symbol 1092 MovieClip [attack_devilKid.level9b] Frame 90
setSpriteAnim("attack");
Symbol 1092 MovieClip [attack_devilKid.level9b] Frame 103
gotoAndPlay ("loop");
Symbol 1092 MovieClip [attack_devilKid.level9b] Frame 123
die();
Symbol 1093 MovieClip [attack_orangePunchaL9b] Frame 1
#initclip 100
Object.registerClass("attack_orangePunchaL9b", Puncha);
#endinitclip
chooseMask("L9Distance");
dontShoot = true;
Symbol 1093 MovieClip [attack_orangePunchaL9b] Frame 39
dontShoot = false;
chooseMask("off");
Symbol 1093 MovieClip [attack_orangePunchaL9b] Frame 89
gotoAndPlay ("walkLoop");
Symbol 1093 MovieClip [attack_orangePunchaL9b] Frame 150
gotoAndPlay ("walkLoop");
Symbol 1093 MovieClip [attack_orangePunchaL9b] Frame 154
stop();
Symbol 1094 MovieClip [level9] Frame 1
#initclip 101
Object.registerClass("level9", Level);
#endinitclip
game.player.handsUp();
Symbol 1094 MovieClip [level9] Frame 13
waitForWave();
Instance of Symbol 615 MovieClip [attack_Spawner] "s1" in Symbol 1094 MovieClip [level9] Frame 18
onClipEvent (load) {
type = "doomSpringSilver";
num = 3;
rate = 25;
speed = 200;
target = _parent.spawnTarget;
variance = 0.3;
mask = "e4FarRightBush";
init();
}
Symbol 1094 MovieClip [level9] Frame 22
waitForWave();
Instance of Symbol 615 MovieClip [attack_Spawner] "s2" in Symbol 1094 MovieClip [level9] Frame 23
onClipEvent (load) {
type = "doomSpringSilver";
num = 3;
rate = 25;
speed = 250;
target = _parent.spawnTarget2;
variance = 0.1;
mask = "e4FarRightBush";
init();
}
Instance of Symbol 615 MovieClip [attack_Spawner] "s1" in Symbol 1094 MovieClip [level9] Frame 26
onClipEvent (load) {
type = "doomSpringSilver";
num = 5;
rate = 25;
speed = 300;
target = _parent.spawnTarget;
variance = 0.3;
mask = "e4FarRightBush";
init();
}
Symbol 1094 MovieClip [level9] Frame 30
waitForWave(1);
Symbol 1094 MovieClip [level9] Frame 126
waitForWave();
Symbol 1094 MovieClip [level9] Frame 162
waitForWave();
Symbol 1094 MovieClip [level9] Frame 223
end();
Symbol 1096 MovieClip [attack_orangePunchaL10] Frame 1
#initclip 102
Object.registerClass("attack_orangePunchaL10", Puncha);
#endinitclip
chooseMask("l10Right");
dontShoot = true;
Symbol 1096 MovieClip [attack_orangePunchaL10] Frame 17
chooseMask("l10Left");
Symbol 1096 MovieClip [attack_orangePunchaL10] Frame 39
dontShoot = false;
Symbol 1096 MovieClip [attack_orangePunchaL10] Frame 89
gotoAndPlay ("walkLoop");
Symbol 1096 MovieClip [attack_orangePunchaL10] Frame 150
gotoAndPlay ("walkLoop");
Symbol 1096 MovieClip [attack_orangePunchaL10] Frame 154
stop();
Symbol 1097 MovieClip [attack_devilKid.level10] Frame 1
#initclip 103
Object.registerClass("attack_devilKid.level10", DevilKid);
#endinitclip
chooseMask("l10Left");
setSpriteAnim("run");
jumping = false;
Symbol 1097 MovieClip [attack_devilKid.level10] Frame 25
chooseMask("off");
Symbol 1097 MovieClip [attack_devilKid.level10] Frame 54
jumping = true;
Symbol 1097 MovieClip [attack_devilKid.level10] Frame 64
setSpriteAnim("attack");
Symbol 1097 MovieClip [attack_devilKid.level10] Frame 73
startJump();
Symbol 1097 MovieClip [attack_devilKid.level10] Frame 85
setSpriteAnim("attack");
Symbol 1097 MovieClip [attack_devilKid.level10] Frame 98
gotoAndPlay ("loop");
Symbol 1097 MovieClip [attack_devilKid.level10] Frame 118
die();
Symbol 1098 MovieClip [attack_devilKid.level10b] Frame 1
#initclip 104
Object.registerClass("attack_devilKid.level10b", DevilKid);
#endinitclip
chooseMask("l10Left");
setSpriteAnim("run");
jumping = false;
Symbol 1098 MovieClip [attack_devilKid.level10b] Frame 25
chooseMask("off");
Symbol 1098 MovieClip [attack_devilKid.level10b] Frame 54
jumping = true;
Symbol 1098 MovieClip [attack_devilKid.level10b] Frame 64
setSpriteAnim("attack");
Symbol 1098 MovieClip [attack_devilKid.level10b] Frame 73
startJump();
Symbol 1098 MovieClip [attack_devilKid.level10b] Frame 85
setSpriteAnim("attack");
Symbol 1098 MovieClip [attack_devilKid.level10b] Frame 98
gotoAndPlay ("loop");
Symbol 1098 MovieClip [attack_devilKid.level10b] Frame 118
die();
Symbol 1099 MovieClip [attack_devilKid.level10d] Frame 1
#initclip 105
Object.registerClass("attack_devilKid.level10d", DevilKid);
#endinitclip
chooseMask("l10Left");
setSpriteAnim("run");
jumping = false;
Symbol 1099 MovieClip [attack_devilKid.level10d] Frame 74
chooseMask("off");
jumping = true;
Symbol 1099 MovieClip [attack_devilKid.level10d] Frame 84
setSpriteAnim("attack");
Symbol 1099 MovieClip [attack_devilKid.level10d] Frame 93
startJump();
Symbol 1099 MovieClip [attack_devilKid.level10d] Frame 105
setSpriteAnim("attack");
Symbol 1099 MovieClip [attack_devilKid.level10d] Frame 118
gotoAndPlay ("loop");
Symbol 1099 MovieClip [attack_devilKid.level10d] Frame 138
die();
Symbol 1100 MovieClip [attack_devilKid.level10e] Frame 1
#initclip 106
Object.registerClass("attack_devilKid.level10e", DevilKid);
#endinitclip
chooseMask("l10Left");
setSpriteAnim("run");
jumping = false;
Symbol 1100 MovieClip [attack_devilKid.level10e] Frame 51
chooseMask("off");
Symbol 1100 MovieClip [attack_devilKid.level10e] Frame 74
jumping = true;
Symbol 1100 MovieClip [attack_devilKid.level10e] Frame 84
setSpriteAnim("attack");
Symbol 1100 MovieClip [attack_devilKid.level10e] Frame 93
startJump();
Symbol 1100 MovieClip [attack_devilKid.level10e] Frame 105
setSpriteAnim("attack");
Symbol 1100 MovieClip [attack_devilKid.level10e] Frame 118
gotoAndPlay ("loop");
Symbol 1100 MovieClip [attack_devilKid.level10e] Frame 138
die();
Symbol 1101 MovieClip [attack_devilKid.level10c] Frame 1
#initclip 107
Object.registerClass("attack_devilKid.level10c", DevilKid);
#endinitclip
chooseMask("l10Left");
setSpriteAnim("still");
unblockable = true;
jumping = false;
Symbol 1101 MovieClip [attack_devilKid.level10c] Frame 55
chooseMask("off");
setSpriteAnim("run");
unblockable = false;
Symbol 1101 MovieClip [attack_devilKid.level10c] Frame 82
jumping = true;
Symbol 1101 MovieClip [attack_devilKid.level10c] Frame 92
setSpriteAnim("attack");
Symbol 1101 MovieClip [attack_devilKid.level10c] Frame 101
startJump();
Symbol 1101 MovieClip [attack_devilKid.level10c] Frame 113
setSpriteAnim("attack");
Symbol 1101 MovieClip [attack_devilKid.level10c] Frame 126
gotoAndPlay ("loop");
Symbol 1101 MovieClip [attack_devilKid.level10c] Frame 146
die();
Symbol 1102 MovieClip [level10] Frame 1
#initclip 108
Object.registerClass("level10", Level);
#endinitclip
game.player.handsUp();
Symbol 1102 MovieClip [level10] Frame 30
waitForWave();
Symbol 1102 MovieClip [level10] Frame 52
waitForWave();
Symbol 1102 MovieClip [level10] Frame 144
waitForWave();
Symbol 1102 MovieClip [level10] Frame 336
end();
Symbol 1107 MovieClip Frame 3
gotoAndPlay (1);
Symbol 1119 MovieClip Frame 1
_parent._parent.attack2();
Symbol 1119 MovieClip Frame 2
_parent._parent.attack2();
Symbol 1119 MovieClip Frame 3
_parent._parent.attack2();
Symbol 1119 MovieClip Frame 4
_parent._parent.attack2();
Symbol 1119 MovieClip Frame 5
gotoAndPlay (1);
Symbol 1124 MovieClip Frame 3
gotoAndPlay (1);
Symbol 1126 MovieClip Frame 25
_parent._parent.setSpriteAnim("attack");
Symbol 1133 MovieClip Frame 1
_parent._parent.invulnerable = true;
Symbol 1133 MovieClip Frame 7
_parent._parent.attack();
Symbol 1133 MovieClip Frame 8
_parent._parent.attack();
Symbol 1133 MovieClip Frame 9
_parent._parent.attack();
Symbol 1133 MovieClip Frame 10
_parent._parent.attack();
Symbol 1133 MovieClip Frame 11
gotoAndPlay ("loop");
Symbol 1133 MovieClip Frame 24
_parent._parent.invulnerable = false;
Symbol 1133 MovieClip Frame 25
gotoAndPlay (1);
Symbol 1139 MovieClip Frame 12
if (_parent._parent.dead) {
_parent._parent.setSpriteAnim("die");
} else {
_parent._parent.setSpriteAnim(_parent._parent.oldSpriteAnim);
}
Symbol 1145 MovieClip Frame 1
_parent._parent.invulnerable = true;
Symbol 1145 MovieClip Frame 12
if (_parent._parent.dead) {
_parent._parent.setSpriteAnim("die");
} else {
invulnerable = false;
_parent._parent.setSpriteAnim(oldSpriteAnim);
}
Symbol 1148 MovieClip Frame 3
gotoAndPlay (1);
Symbol 1149 MovieClip Frame 2
stop();
Symbol 1149 MovieClip Frame 5
stop();
Symbol 1149 MovieClip Frame 11
stop();
Symbol 1149 MovieClip Frame 12
stop();
Symbol 1149 MovieClip Frame 17
stop();
Symbol 1149 MovieClip Frame 21
stop();
Symbol 1149 MovieClip Frame 26
stop();
Symbol 1149 MovieClip Frame 30
if (_parent._parent.oldSpriteAnim == "fly") {
gotoAndStop ("hitStand");
}
if (_parent._parent.oldSpriteAnim == "flyAttack") {
gotoAndStop ("hitStand");
}
Instance of Symbol 1139 MovieClip "anim" in Symbol 1149 MovieClip Frame 30
onClipEvent (load) {
_yscale = _parent.hitScale;
_xscale = _parent.hitScale;
}
onClipEvent (enterFrame) {
_xscale = (((_xscale * 5) + 100) / 6);
_yscale = (((_xscale * 5) + 100) / 6);
}
Symbol 1149 MovieClip Frame 31
stop();
Symbol 1149 MovieClip Frame 34
stop();
Instance of Symbol 1148 MovieClip "anim" in Symbol 1149 MovieClip Frame 40
onClipEvent (load) {
_parent._parent.stop();
rotSpeed = 0;
xSpeed = 0;
ySpeed = 0;
}
onClipEvent (enterFrame) {
xSpeed = xSpeed + 0.3;
ySpeed = ySpeed + 0.1;
_x = (_x - xSpeed);
_y = (_y - ySpeed);
_xscale = (_xscale * 0.99);
_yscale = (_xscale * 0.99);
_parent._rotation = _parent._rotation * 0.9;
if (_x <= _parent.dieTarget._x) {
_parent._parent.die();
}
}
Symbol 1149 MovieClip Frame 41
stop();
Symbol 1150 MovieClip [endBossAttack2] Frame 1
#initclip 109
Object.registerClass("endBossAttack2", EndBoss2);
#endinitclip
invulnerable = true;
setSpriteAnim("fly");
Symbol 1150 MovieClip [endBossAttack2] Frame 25
startAttack1();
Symbol 1150 MovieClip [endBossAttack2] Frame 49
setSpriteAnim("skid");
Symbol 1150 MovieClip [endBossAttack2] Frame 57
setSpriteAnim("stand");
invulnerable = true;
Symbol 1150 MovieClip [endBossAttack2] Frame 73
setSpriteAnim("laugh");
Symbol 1150 MovieClip [endBossAttack2] Frame 100
invulnerable = false;
stop();
Symbol 1150 MovieClip [endBossAttack2] Frame 101
setSpriteAnim("fly");
Symbol 1150 MovieClip [endBossAttack2] Frame 124
setSpriteAnim("flyAttack");
Symbol 1150 MovieClip [endBossAttack2] Frame 196
gotoAndPlay ("airAttack");
Symbol 1150 MovieClip [endBossAttack2] Frame 197
stop();
Symbol 1151 MovieClip [level11] Frame 1
#initclip 110
Object.registerClass("level11", Level);
#endinitclip
game.player.handsUp();
Symbol 1151 MovieClip [level11] Frame 9
if (crate) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1151 MovieClip [level11] Frame 35
waitForWave();
Symbol 1151 MovieClip [level11] Frame 69
waitForWave(2);
Symbol 1151 MovieClip [level11] Frame 95
waitForWave();
Symbol 1151 MovieClip [level11] Frame 117
waitForWave();
Symbol 1151 MovieClip [level11] Frame 118
end();
Symbol 1156 MovieClip Frame 1
_parent._parent.unblockable = true;
_parent._parent.invulnerable = true;
Symbol 1156 MovieClip Frame 3
gotoAndPlay (1);
Symbol 1157 MovieClip Frame 1
_parent._parent.unblockable = true;
_parent._parent.shielded = true;
count = 0;
Symbol 1157 MovieClip Frame 6
if (count >= _parent._parent.chargeTime) {
_parent._parent.shielded = false;
_parent._parent.setSpriteAnim("attack");
}
count++;
gotoAndPlay (2);
Symbol 1160 MovieClip Frame 1
_parent._parent.unblockable = false;
_parent._parent.invulnerable = false;
Symbol 1160 MovieClip Frame 25
_parent._parent.setSpriteAnim("stand");
Symbol 1165 MovieClip Frame 1
_parent._parent.shoot();
_parent._parent.invulnerable = true;
_parent._parent.unblockable = true;
Symbol 1165 MovieClip Frame 7
gotoAndPlay (1);
Symbol 1169 MovieClip Frame 1
_parent._parent.unblockable = true;
_parent._parent.invulnerable = true;
Symbol 1169 MovieClip Frame 12
_parent._parent.invulnerable = false;
_parent._parent.unblockable = false;
if (_parent._parent.dead) {
_parent._parent.setSpriteAnim("die");
} else {
_parent._parent.setSpriteAnim("stand");
}
Symbol 1173 MovieClip Frame 1
_parent._parent.stop();
Symbol 1173 MovieClip Frame 105
_parent._parent.die();
Symbol 1174 MovieClip Frame 2
stop();
Symbol 1174 MovieClip Frame 5
stop();
Symbol 1174 MovieClip Frame 11
stop();
Symbol 1174 MovieClip Frame 12
stop();
Symbol 1174 MovieClip Frame 17
stop();
Symbol 1174 MovieClip Frame 21
stop();
Symbol 1174 MovieClip Frame 26
stop();
Instance of Symbol 1169 MovieClip "anim" in Symbol 1174 MovieClip Frame 30
onClipEvent (load) {
_yscale = _parent.hitScale;
_xscale = _parent.hitScale;
}
onClipEvent (enterFrame) {
_xscale = (((_xscale * 5) + 100) / 6);
_yscale = (((_xscale * 5) + 100) / 6);
}
Symbol 1174 MovieClip Frame 31
stop();
Instance of Symbol 1173 MovieClip "anim" in Symbol 1174 MovieClip Frame 33
onClipEvent (load) {
_parent._parent.stop();
rotSpeed = 0;
xSpeed = 0;
ySpeed = 0;
}
onClipEvent (enterFrame) {
xSpeed = xSpeed + 0;
ySpeed = ySpeed + 0.1;
_x = (_x - xSpeed);
_y = (_y - ySpeed);
_xscale = (_xscale * 0.99);
_yscale = (_xscale * 0.99);
_parent._rotation = _parent._rotation * 0.9;
rotSpeed = rotSpeed + 0.4;
_rotation = (_rotation + rotSpeed);
}
Symbol 1174 MovieClip Frame 34
stop();
Symbol 1183 MovieClip [endBossAttack3] Frame 1
#initclip 111
Object.registerClass("endBossAttack3", EndBoss3);
#endinitclip
chooseMask("e12Fence");
Symbol 1183 MovieClip [endBossAttack3] Frame 13
setSpriteAnim("stand");
Symbol 1183 MovieClip [endBossAttack3] Frame 26
setSpriteAnim("attack");
Symbol 1183 MovieClip [endBossAttack3] Frame 33
stop();
Symbol 1184 MovieClip [level12] Frame 1
#initclip 112
Object.registerClass("level12", Level);
#endinitclip
game.player.handsUp();
Symbol 1184 MovieClip [level12] Frame 18
if (boss.health > ((boss.maxHealth / 5) * 4)) {
gotoAndPlay(_currentframe - 1);
}
Instance of Symbol 613 MovieClip [crate] in Symbol 1184 MovieClip [level12] Frame 22
onClipEvent (load) {
type = "akimbo";
qty = 50;
}
Symbol 1184 MovieClip [level12] Frame 27
if (boss.health > ((boss.maxHealth / 5) * 3)) {
gotoAndPlay(_currentframe - 1);
}
Instance of Symbol 613 MovieClip [crate] in Symbol 1184 MovieClip [level12] Frame 29
onClipEvent (load) {
type = "shotgun";
qty = 25;
}
Symbol 1184 MovieClip [level12] Frame 33
if (boss.health > ((boss.maxHealth / 5) * 2)) {
gotoAndPlay(_currentframe - 1);
}
Instance of Symbol 613 MovieClip [crate] in Symbol 1184 MovieClip [level12] Frame 35
onClipEvent (load) {
type = "akimbo_shotgun";
qty = 100;
}
Symbol 1184 MovieClip [level12] Frame 43
waitForWave();
Symbol 1184 MovieClip [level12] Frame 52
end();
Instance of Symbol 105 MovieClip in Symbol 1200 MovieClip Frame 21
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 1200 MovieClip Frame 35
gotoAndPlay ("loop");
Symbol 1201 MovieClip Frame 4
stop();
Symbol 1203 MovieClip [level13] Frame 1
#initclip 113
Object.registerClass("level13", LastLevel);
#endinitclip
Symbol 1203 MovieClip [level13] Frame 155
end();
Symbol 1204 MovieClip [game] Frame 1
#initclip 114
Object.registerClass("game", Game);
#endinitclip
track_order = ["gangsters", "gangsters", "mean", "mean", "fashion", "fashion"];
beginGame(_global.root.lvl, _global.root.score);
stop();
Instance of Symbol 416 MovieClip "sound_control_mc" in Symbol 1204 MovieClip [game] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 1204 MovieClip [game] Frame 2
gotoAndStop("level" + lvl);
Symbol 1204 MovieClip [game] Frame 3
lvl = 1;
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 5
lvl = 2;
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 7
lvl = 3;
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 9
lvl = 4;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 11
lvl = 5;
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 13
lvl = 6;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 15
lvl = 7;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 17
lvl = 8;
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 19
lvl = 9;
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 21
lvl = 10;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 23
lvl = 11;
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 25
lvl = 12;
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
cacheBitmap(lvl);
stop();
Symbol 1204 MovieClip [game] Frame 27
lvl = 13;
checkpoint(lvl, playerPoints);
if (!skipVideos) {
playVideo(lvl - 1);
cacheSound(track_order[lvl % track_order.length]);
} else {
gameComplete();
}
stop();
Symbol 1204 MovieClip [game] Frame 29
lvl = 13;
bmp12._visible = false;
playVideo(lvl - 1);
Symbol 1204 MovieClip [game] Frame 30
trace("game over!");
gameComplete();
Symbol 1207 MovieClip Frame 1
stop();
Instance of Symbol 1206 MovieClip "inner" in Symbol 1207 MovieClip Frame 1
onClipEvent (load) {
rot = 0;
}
Symbol 1207 MovieClip Frame 2
play();
Instance of Symbol 1206 MovieClip in Symbol 1207 MovieClip Frame 6
onClipEvent (load) {
rot = 0;
}
onClipEvent (enterFrame) {
if (rot < 15) {
rot++;
}
_rotation = (_rotation + rot);
}
Symbol 1207 MovieClip Frame 7
gotoAndStop (1);
Symbol 1207 MovieClip Frame 12
stop();
Symbol 1219 Button
on (release) {
_parent._parent.cont = true;
_parent._parent.gotoAndPlay("close");
}
Symbol 1226 Button
on (release) {
getURL ("http://highscores.killerviral.com/enter/tooncrisis2/", "_blank");
_root.kvClick(256);
}
Symbol 1230 Button
on (release) {
getURL ("http://highscores.killerviral.com/tooncrisis2/highscores.php", "_blank");
_root.kvClick(257);
}
Symbol 1234 Button
on (release) {
_parent.whichgal = "save";
_parent.play();
}
Symbol 1237 Button
on (release) {
getURL ("http://www.connect-europe.com/GB/en/", "_blank");
_root.kvClick(265);
}
Symbol 1243 MovieClip Frame 1
displayScore = _global.root.gameOverScore + "!";
stop();
Symbol 1249 Button
on (release) {
_parent.gotoAndPlay("close");
}
Symbol 1262 MovieClip Frame 1
function onRelease() {
_value = !_value;
gotoAndStop(_value + "");
}
stop();
Symbol 1262 MovieClip Frame 2
stop();
Symbol 1270 MovieClip Frame 1
function onhttpstatus(httpStatus) {
var _local1;
if (httpStatus < 100) {
_local1 = "flashError";
} else if (httpStatus < 200) {
_local1 = "informational";
} else if (httpStatus < 300) {
_local1 = "successful";
} else if (httpStatus < 400) {
_local1 = "redirection";
} else if (httpStatus < 500) {
_local1 = "clientError";
} else if (httpStatus < 600) {
_local1 = "serverError";
}
trace((("HTTP stauts code: " + httpStatus) + ", type: ") + _local1);
}
function onload(success) {
if (success) {
if (this.status == "saved") {
_parent._parent.whichgal = "saved";
_parent._parent.play();
my_so.data.email = emailSaved;
my_so.data.username = usernameSaved;
my_so.flush();
} else {
feedback_txt.text = this.feedback;
}
} else {
trace("save game failed");
feedback_txt.text = "unable to save game - please check your internet connection";
}
}
var my_so = SharedObject.getLocal("game");
if (my_so.data.email) {
email_txt.text = my_so.data.email;
}
if (my_so.data.username) {
username_txt.text = my_so.data.username;
}
email_txt.onSetFocus = (username_txt.onSetFocus = function () {
Key.addListener(this);
});
email_txt.onSetFocus = (username_txt.onKillFocus = function () {
Key.removeListener(this);
});
email_txt.onKeyDown = (username_txt.onKeyDown = function () {
if (Key.getCode() == 13) {
save_btn.onRelease();
}
});
save_btn.onRelease = function () {
var _local3 = new LoadVars();
var _local4 = new LoadVars();
_local3.score = (isNaN(_global.root.score) ? 0 : (_global.root.score));
_local3.level = (isNaN(_global.root.lvl) ? 1 : (_global.root.lvl));
_local3.email = email_txt.text;
_local3.username = username_txt.text;
_local3.optIn1st = (optIn1st_mc._value ? true : false);
_local3.optInKV = (optInKV_mc._value ? true : false);
_local4.onLoad = onload;
_local4.onHTTPStatus = onhttpstatus;
_root.kvEvent(102);
emailSaved = email_txt.text;
usernameSaved = username_txt.text;
_local3.sendAndLoad((_global.highscoresUrl + "save.php?var=") + Math.random(), _local4);
};
Symbol 1280 Button
on (release) {
_parent.play();
}
Symbol 1286 Button
on (release) {
getURL ("http://highscores.killerviral.com/tooncrisis2/challenge.php", "_blank");
_root.kvClick(262);
}
Symbol 1294 Button
on (release) {
getURL ("http://highscores.killerviral.com/tooncrisis2/downloads.php", "_blank");
_root.kvClick(261);
}
Symbol 1297 MovieClip Frame 1
displayScore = _global.root.gameOverScore + "!";
stop();
Symbol 1307 MovieClip Frame 1
function onhttpstatus(httpStatus) {
var _local1;
if (httpStatus < 100) {
_local1 = "flashError";
} else if (httpStatus < 200) {
_local1 = "informational";
} else if (httpStatus < 300) {
_local1 = "successful";
} else if (httpStatus < 400) {
_local1 = "redirection";
} else if (httpStatus < 500) {
_local1 = "clientError";
} else if (httpStatus < 600) {
_local1 = "serverError";
}
trace((("HTTP stauts code: " + httpStatus) + ", type: ") + _local1);
}
function onload(success) {
if (success) {
if (this.status == "saved") {
_parent._parent.whichgal = "saved";
_parent._parent.play();
my_so.data.email = emailSaved;
my_so.data.username = usernameSaved;
my_so.flush();
} else {
feedback_txt.text = this.feedback;
}
} else {
trace("save game failed");
feedback_txt.text = "unable to submit score - please check your internet connection";
}
}
var my_so = SharedObject.getLocal("game");
if (my_so.data.email) {
email_txt.text = my_so.data.email;
}
if (my_so.data.username) {
username_txt.text = my_so.data.username;
}
email_txt.onSetFocus = (username_txt.onSetFocus = function () {
Key.addListener(this);
});
email_txt.onSetFocus = (username_txt.onKillFocus = function () {
Key.removeListener(this);
});
email_txt.onKeyDown = (username_txt.onKeyDown = function () {
if (Key.getCode() == 13) {
save_btn.onRelease();
}
});
save_btn.onRelease = function () {
var _local3 = new LoadVars();
var _local4 = new LoadVars();
_local3.score = (isNaN(_global.root.score) ? 0 : (_global.root.score));
_local3.level = (isNaN(_global.root.lvl) ? 1 : (_global.root.lvl));
_local3.email = email_txt.text;
_local3.username = username_txt.text;
_local3.optIn1st = (optIn1st_mc._value ? true : false);
_local3.optInKV = (optInKV_mc._value ? true : false);
_local4.onLoad = onload;
_local4.onHTTPStatus = onhttpstatus;
_root.kvEvent(102);
emailSaved = email_txt.text;
usernameSaved = username_txt.text;
_local3.sendAndLoad((_global.highscoresUrl + "save.php?var=") + Math.random(), _local4);
};
Symbol 1309 MovieClip Frame 10
stop();
Symbol 1309 MovieClip Frame 30
stop();
Symbol 1309 MovieClip Frame 50
stop();
Symbol 1309 MovieClip Frame 60
gotoAndPlay (1);
Symbol 1309 MovieClip Frame 71
stop();
Symbol 1309 MovieClip Frame 93
stop();
Symbol 1309 MovieClip Frame 103
gotoAndPlay ("completed");
Symbol 1310 MovieClip Frame 83
stop();
Symbol 1310 MovieClip Frame 95
if (cont) {
delete cont;
_parent.gotoAndStop("game");
} else {
_parent.gotoAndPlay("startpage");
}
Symbol 1312 MovieClip Frame 83
stop();
Instance of Symbol 1309 MovieClip in Symbol 1312 MovieClip Frame 83
onClipEvent (load) {
gotoAndPlay ("completed");
}
Symbol 1312 MovieClip Frame 95
if (cont) {
delete cont;
_parent.gotoAndStop("game");
} else {
_parent.gotoAndPlay("startpage");
}