Frame 1
stop();
stop();
_root.attachMovie("curse", "curse", 78888999000);
doIt = function () {
getURL ("http://www.bomtoons.com", _blank);
};
doIt2 = function () {
};
MENU = new ContextMenu();
MENU.hideBuiltInItems();
mysite = new ContextMenuItem("Book of Mormon Cartoons", doIt, true);
MENU.customItems.push(mysite);
MENU.builtInItems.quality = true;
_root.menu = MENU;
Mouse.hide();
_root.onEnterFrame = function () {
_root.curse._x = _xmouse;
_root.curse._y = _ymouse;
if (Key.isDown(2)) {
Mouse.hide();
}
};
Instance of Symbol 810 MovieClip in Frame 1
onClipEvent (enterFrame) {
var bt = _root.getBytesTotal();
var bl = _root.getBytesLoaded();
var perc = ((bl / bt) * 100);
this._xscale = perc;
if (perc < 100) {
this._parent.gobut._visible = false;
} else {
this._parent.gobut._visible = true;
this._parent.moveon._visible = true;
this._parent.gath._visible = false;
}
}
Frame 2
stop();
Frame 3
_root.mapSound = new Sound(this);
_root.mapSound.attachSound("maploop");
_root.enterSound = new Sound(this);
_root.enterSound.attachSound("enter");
_root.errorSound = new Sound(this);
_root.errorSound.attachSound("error");
_root.armedSound = new Sound(this);
_root.armedSound.attachSound("arm");
_root.swishSound = new Sound(this);
_root.swishSound.attachSound("swish");
_root.senineSound = new Sound(this);
_root.senineSound.attachSound("senine");
_root.splodeSound = new Sound(this);
_root.splodeSound.attachSound("explosion");
_root.tinkSound = new Sound(this);
_root.tinkSound.attachSound("tink");
_root.healSound = new Sound(this);
_root.healSound.attachSound("heal");
_root.applySound = new Sound(this);
_root.applySound.attachSound("apply");
_root.hurtSound = new Sound(this);
_root.hurtSound.attachSound("hurt");
_root.savedstuff = SharedObject.getLocal("moroni");
if (_root.savedstuff.data.slot0nextarray == undefined) {
_root.savedstuff.data.slot0dudearray = new Array(0, 0, 0);
_root.savedstuff.data.slot0dalevel = 0;
_root.savedstuff.data.slot0blingbling = 0;
_root.savedstuff.data.slot0timesplayed = 0;
_root.savedstuff.data.slot0cloudxpos = undefined;
_root.savedstuff.data.slot0cloudypos = undefined;
_root.savedstuff.data.slot0nextarray = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100);
_root.savedstuff.data.slot0hparray = new Array(5, 5, 5, 5, 5, 5, 5, 5, 5);
}
if (_root.savedstuff.data.slot1nextarray == undefined) {
_root.savedstuff.data.slot1dudearray = new Array(0, 0, 0);
_root.savedstuff.data.slot1dalevel = 0;
_root.savedstuff.data.slot1blingbling = 0;
_root.savedstuff.data.slot1timesplayed = 0;
_root.savedstuff.data.slot1cloudxpos = undefined;
_root.savedstuff.data.slot1cloudypos = undefined;
_root.savedstuff.data.slot1nextarray = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100);
_root.savedstuff.data.slot1hparray = new Array(5, 5, 5, 5, 5, 5, 5, 5, 5);
}
if (_root.savedstuff.data.slot2nextarray == undefined) {
_root.savedstuff.data.slot2dudearray = new Array(0, 0, 0);
_root.savedstuff.data.slot2dalevel = 0;
_root.savedstuff.data.slot2blingbling = 0;
_root.savedstuff.data.slot2timesplayed = 0;
_root.savedstuff.data.slot2cloudxpos = undefined;
_root.savedstuff.data.slot2cloudypos = undefined;
_root.savedstuff.data.slot2nextarray = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100);
_root.savedstuff.data.slot2hparray = new Array(5, 5, 5, 5, 5, 5, 5, 5, 5);
}
if (_root.savedstuff.data.slot0cheat == true) {
this.slot0.flagger._visible = true;
this.slot0.moroni._visible = false;
_root.savedstuff.data.slot0dalevel = 11;
_root.savedstuff.data.slot0blingbling = 99999 /* 0x01869F */;
} else {
this.slot0.flagger._visible = false;
}
this.slot0.timesplayed = "Times Played: " + _root.savedstuff.data.slot0timesplayed;
this.slot0.lvl = "Level: " + (_root.savedstuff.data.slot0dalevel + 1);
this.slot0.troops = "Troops: " + _root.savedstuff.data.slot0dudearray.length;
this.slot0.senines = "Senines: " + _root.savedstuff.data.slot0blingbling;
if (_root.savedstuff.data.slot1cheat == true) {
this.slot1.flagger._visible = true;
this.slot1.moroni._visible = false;
_root.savedstuff.data.slot1dalevel = 11;
_root.savedstuff.data.slot1blingbling = 99999 /* 0x01869F */;
} else {
this.slot1.flagger._visible = false;
}
this.slot1.timesplayed = "Times Played: " + _root.savedstuff.data.slot1timesplayed;
this.slot1.lvl = "Level: " + (_root.savedstuff.data.slot1dalevel + 1);
this.slot1.troops = "Troops: " + _root.savedstuff.data.slot1dudearray.length;
this.slot1.senines = "Senines: " + _root.savedstuff.data.slot1blingbling;
if (_root.savedstuff.data.slot2cheat == true) {
this.slot2.flagger._visible = true;
this.slot2.moroni._visible = false;
_root.savedstuff.data.slot2dalevel = 11;
_root.savedstuff.data.slot2blingbling = 99999 /* 0x01869F */;
} else {
this.slot2.flagger._visible = false;
}
this.slot2.timesplayed = "Times Played: " + _root.savedstuff.data.slot2timesplayed;
this.slot2.lvl = "Level: " + (_root.savedstuff.data.slot2dalevel + 1);
this.slot2.troops = "Troops: " + _root.savedstuff.data.slot2dudearray.length;
this.slot2.senines = "Senines: " + _root.savedstuff.data.slot2blingbling;
this.slot0.clearit.onPress = function () {
_root.savedstuff.data.slot0dudearray = new Array(0, 0, 0);
_root.savedstuff.data.slot0dalevel = 0;
_root.savedstuff.data.slot0blingbling = 0;
_root.savedstuff.data.slot0timesplayed = 0;
_root.savedstuff.data.slot0cheat = false;
_root.savedstuff.data.slot0cloudxpos = undefined;
_root.savedstuff.data.slot0cloudypos = undefined;
_root.savedstuff.data.slot0nextarray = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100);
_root.savedstuff.data.slot0hparray = new Array(5, 5, 5, 5, 5, 5, 5, 5, 5);
this._parent.flagger._visible = false;
this._parent.moroni._visible = true;
this._parent.timesplayed = "Times Played: " + _root.savedstuff.data.slot0timesplayed;
this._parent.lvl = "Level: " + (_root.savedstuff.data.slot0dalevel + 1);
this._parent.troops = "Troops: " + _root.savedstuff.data.slot0dudearray.length;
this._parent.senines = "Senines: " + _root.savedstuff.data.slot0blingbling;
_root.savedstuff.flush;
};
this.slot1.clearit.onPress = function () {
_root.savedstuff.data.slot1dudearray = new Array(0, 0, 0);
_root.savedstuff.data.slot1dalevel = 0;
_root.savedstuff.data.slot1blingbling = 0;
_root.savedstuff.data.slot1timesplayed = 0;
_root.savedstuff.data.slot1cheat = false;
_root.savedstuff.data.slot1cloudxpos = undefined;
_root.savedstuff.data.slot1cloudypos = undefined;
_root.savedstuff.data.slot1nextarray = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100);
_root.savedstuff.data.slot1hparray = new Array(5, 5, 5, 5, 5, 5, 5, 5, 5);
this._parent.flagger._visible = false;
this._parent.moroni._visible = true;
this._parent.timesplayed = "Times Played: " + _root.savedstuff.data.slot1timesplayed;
this._parent.lvl = "Level: " + (_root.savedstuff.data.slot1dalevel + 1);
this._parent.troops = "Troops: " + _root.savedstuff.data.slot1dudearray.length;
this._parent.senines = "Senines: " + _root.savedstuff.data.slot1blingbling;
_root.savedstuff.flush;
};
this.slot2.clearit.onPress = function () {
_root.savedstuff.data.slot2dudearray = new Array(0, 0, 0);
_root.savedstuff.data.slot2dalevel = 0;
_root.savedstuff.data.slot2blingbling = 0;
_root.savedstuff.data.slot2timesplayed = 0;
_root.savedstuff.data.slot2cheat = false;
_root.savedstuff.data.slot2cloudxpos = undefined;
_root.savedstuff.data.slot2cloudypos = undefined;
_root.savedstuff.data.slot2nextarray = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100);
_root.savedstuff.data.slot2hparray = new Array(5, 5, 5, 5, 5, 5, 5, 5, 5);
this._parent.flagger._visible = false;
this._parent.moroni._visible = true;
this._parent.timesplayed = "Times Played: " + _root.savedstuff.data.slot2timesplayed;
this._parent.lvl = "Level: " + (_root.savedstuff.data.slot2dalevel + 1);
this._parent.troops = "Troops: " + _root.savedstuff.data.slot2dudearray.length;
this._parent.senines = "Senines: " + _root.savedstuff.data.slot2blingbling;
_root.savedstuff.flush;
};
this.slot0.player.onPress = function () {
_root.gamedata = new Array();
_root.gamedata.blingbling = _root.savedstuff.data.slot0blingbling;
_root.gamedata.dudearray = _root.savedstuff.data.slot0dudearray;
_root.gamedata.dalevel = _root.savedstuff.data.slot0dalevel;
_root.gamedata.cloudxpos = _root.savedstuff.data.slot0cloudxpos;
_root.gamedata.cloudypos = _root.savedstuff.data.slot0cloudypos;
_root.gamedata.nextarray = _root.savedstuff.data.slot0nextarray;
_root.gamedata.hparray = _root.savedstuff.data.slot0hparray;
_root.savedstuff.data.slot0timesplayed = _root.savedstuff.data.slot0timesplayed + 1;
this._parent.timesplayed = "Times Played: " + _root.savedstuff.data.slot0timesplayed;
_root.mapup = true;
stopAllSounds();
_root.mapSound.start(0, 9999);
_root.gotoAndStop("game");
_root.myslot = 0;
_root.savedstuff.flush;
};
this.slot1.player.onPress = function () {
_root.gamedata = new Array();
_root.gamedata.dudearray = _root.savedstuff.data.slot1dudearray;
_root.gamedata.dalevel = _root.savedstuff.data.slot1dalevel;
_root.gamedata.blingbling = _root.savedstuff.data.slot1blingbling;
_root.gamedata.cloudxpos = _root.savedstuff.data.slot1cloudxpos;
_root.gamedata.cloudypos = _root.savedstuff.data.slot1cloudypos;
_root.gamedata.nextarray = _root.savedstuff.data.slot1nextarray;
_root.gamedata.hparray = _root.savedstuff.data.slot1hparray;
_root.savedstuff.data.slot1timesplayed = _root.savedstuff.data.slot1timesplayed + 1;
this._parent.timesplayed = "Times Played: " + _root.savedstuff.data.slot1timesplayed;
_root.mapup = true;
stopAllSounds();
_root.mapSound.start(0, 9999);
_root.gotoAndStop("game");
_root.myslot = 1;
_root.savedstuff.flush;
};
this.slot2.player.onPress = function () {
_root.gamedata = new Array();
_root.gamedata.dudearray = _root.savedstuff.data.slot2dudearray;
_root.gamedata.dalevel = _root.savedstuff.data.slot2dalevel;
_root.gamedata.blingbling = _root.savedstuff.data.slot2blingbling;
_root.gamedata.cloudxpos = _root.savedstuff.data.slot2cloudxpos;
_root.gamedata.cloudypos = _root.savedstuff.data.slot2cloudypos;
_root.gamedata.nextarray = _root.savedstuff.data.slot2nextarray;
_root.gamedata.hparray = _root.savedstuff.data.slot2hparray;
_root.savedstuff.data.slot2timesplayed = _root.savedstuff.data.slot2timesplayed + 1;
this._parent.timesplayed = "Times Played: " + _root.savedstuff.data.slot2timesplayed;
_root.mapup = true;
stopAllSounds();
_root.mapSound.start(0, 9999);
_root.gotoAndStop("game");
_root.myslot = 2;
_root.savedstuff.flush;
};
stopAllSounds();
Instance of Symbol 904 MovieClip "slot2" in Frame 3
onClipEvent (load) {
this.daslot = 2;
}
Instance of Symbol 904 MovieClip "slot1" in Frame 3
onClipEvent (load) {
this.daslot = 1;
}
Instance of Symbol 904 MovieClip "slot0" in Frame 3
onClipEvent (load) {
this.daslot = 0;
}
Frame 44
stop();
Frame 45
stop();
function getInk(x, y) {
if (_root.gems > 0) {
if (_root.inkarray1[0] != null) {
var _local5 = parseInt(_root.inkarray1[0]);
var _local3 = parseInt(_root.inkarray1[1]);
_root.inkarray2.splice(0, 1, x);
_root.inkarray2.splice(1, 1, y);
var _local4 = parseInt(_root.inkarray2[0]);
var _local2 = parseInt(_root.inkarray2[1]);
if (_local4 > _local5) {
var _local7 = _local4 - _local5;
} else {
var _local7 = _local5 - _local4;
}
if (_local2 > _local3) {
var _local6 = _local2 - _local3;
} else {
var _local6 = _local3 - _local2;
}
var _local8 = Math.sqrt((_local7 * _local7) + (_local6 * _local6));
if (_root.adding == true) {
_root.gems = _root.gems - _local8;
}
if (_root.subtracting == true) {
_root.gems = _root.gems - (_local8 * 3);
}
}
} else {
_root.gems = 0;
}
_root.inkarray1.splice(0, 1, x);
_root.inkarray1.splice(1, 1, y);
}
function stickMouse() {
who = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
who._x = _xmouse - _root.masker._x;
who._y = _ymouse - _root.masker._y;
who._xscale = 400;
who._yscale = who._xscale;
_root.circcount = _root.circcount + 1;
}
delete _root.onEnterFrame;
_root.levelness = 0;
_root.muzak = new Array("over", "over", "phatloop", "dungeonloop", "phatloop", "over", "arabian", "scary", "dungeonloop", "bossy", "over", "scary");
_root.movealem = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 550, 0);
_root.xarray = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.yarray = new Array(250, 250, 100, 380, 1600, 400, 1150, 250, 0, 495, 330, 1100);
_root.warray = new Array(700, 500, 0, 1350, 0, 900, 1880, 240, 1940, 900, 630, 1750);
_root.htarray = new Array(130, 400, 1200, 120, 1400, 100, 1100, 650, 1100, 300, 1600, 900);
_root.ywindow = new Array(0, 0, 0, 0, -1400, 0, -800, -200, -150, -200, -250, -750);
_root.timearray = new Array(1800, 2800, 2800, 4300, 5000, 2500, 3500, 4000, 2900, 2500, 2500, 3000);
_root.bonescount = 2578;
_root.flagcount = 0;
_root.orignexts = new Array(100, 300, 750, "MAXED OUT", 300, 750, "MAXED OUT", 300, 750, "MAXED OUT");
_root.orighps = new Array(5, 10, 25, 5, 15, 20, 5, 8, 12);
_root.shortarray1 = new Array(2, 4, 4, 4, 7, 7, 7, 10, 10, 10);
_root.shortarray2 = new Array(1, 5, 5, 5, 8, 8, 8, 11, 11, 11);
_root.shortarray3 = new Array(3, 6, 6, 6, 9, 9, 9, 12, 12, 12);
_root.shortcost1 = new Array(20, 100, 100, 100, 0, 0, 0, 0, 0, 0);
_root.shortcost2 = new Array(50, 200, 200, 200, 200, 200, 200, 0, 0, 0);
_root.shortcost3 = new Array(100, 300, 300, 300, 0, 0, 0, 0, 0, 0);
_root.startgems = _root.gamedata.blingbling;
_root.gems = _root.gamedata.blingbling;
_root.gems2 = _root.gamedata.blingbling;
g = 0;
while (g < _root.gamedata.dalevel) {
var hoobie = eval ("_root.map.dot" + g);
var pathy = eval ("_root.map.path" + g);
pathy.gotoAndPlay("end");
t = _root.map.flagholder.attachMovie("flagwave", "flag", _root.flagcount);
t._xscale = 150;
t._yscale = t._xscale;
t._x = hoobie._x;
t._y = hoobie._y;
_root.flagcount = _root.flagcount + 1;
hoobie.beenbeat = true;
hoobie.gotoAndStop("beaten");
g++;
}
var mything = eval ("_root.map.dot" + _root.gamedata.dalevel);
mything.gotoAndStop("nexty");
_root.map.dude._x = mything._x;
_root.map.dude._y = mything._y;
_root.map.dude.curdot = _root.gamedata.dalevel;
var mapydist = (_root.map.dot0._y - mything._y);
_root.map._y = _root.map._y + mapydist;
_root.map.inst._y = _root.map.inst._y - mapydist;
_root.map.clouds._x = _root.gamedata.cloudxpos;
_root.map.clouds._y = _root.gamedata.cloudypos;
_root.classarray = _root.gamedata.dudearray;
_root.starttroops = _root.classarray.length;
_root.nextarray = _root.gamedata.nextarray;
_root.hparray = _root.gamedata.hparray;
_root.initSound = function () {
_root.lvlmuzak = new Sound(this);
_root.lvlmuzak.attachSound(_root.muzak[_root.whichlevel]);
_root.lvlmuzak.start(0, 9999);
};
_root.noMusic = function () {
_root.lvlmuzak.stop();
};
_root.initlvl = function (lvl, st, oa, clearit, sm) {
_root.antiwalk.createEmptyMovieClip("insider", 0);
_root.deatharray = new Array();
_root.lems.createEmptyMovieClip("cannonballs", 403);
_root.cballcounter = 0;
_root.thebank = 0;
_root.lems.baddie.removeMovieClip();
_root.stoptime = false;
_root.timey = _root.timearray[lvl];
_root.pausy = false;
_root.totalgone = 0;
_root.gems = sm;
_root.gems2 = sm;
_root.classarray = oa;
_root.origarray = new Array();
x = 0;
while (x < _root.classarray.length) {
_root.origarray[x] = _root.classarray[x];
x++;
}
_root.starttroops = st;
_root.whichlevel = lvl;
_root.bg0.attachMovie("lvlbg" + lvl, "lvlbg" + lvl, 0);
_root.bg1.attachMovie("lvlbg" + lvl, "lvlbg" + lvl, 0);
_root.antiwalk.insider.attachMovie("lvlfg" + lvl, "lvlfg" + lvl, 999999999);
_root.lvlx = _root.xarray[lvl];
_root.lvly = _root.yarray[lvl];
_root.lvlwidth = _root.warray[lvl];
_root.lvlheight = _root.htarray[lvl];
_root.lvlcomplete = false;
_root.lemssaved = 0;
_root.numkilled = 0;
_root.antiwalk._x = _root.xarray[lvl];
_root.antiwalk._y = _root.ywindow[lvl];
_root.magiciwalk._x = _root.xarray[lvl];
_root.magicwalk._y = _root.ywindow[lvl];
_root.prowalk._x = _root.xarray[lvl];
_root.prowalk._y = _root.ywindow[lvl];
_root.lems._x = _root.xarray[lvl];
_root.lems._y = _root.ywindow[lvl];
_root.bg0._x = _root.xarray[lvl];
_root.bg0._y = _root.ywindow[lvl];
_root.bg1._x = _root.xarray[lvl];
_root.bg1._y = _root.ywindow[lvl];
_root.masker._x = _root.xarray[lvl];
_root.masker._y = _root.ywindow[lvl];
_root.bg._x = _root.xarray[lvl];
_root.bg._y = _root.ywindow[lvl];
_root.magicwalk.createEmptyMovieClip("insider", 0);
_root.masker.createEmptyMovieClip("insider", 0);
_root.prowalk.createEmptyMovieClip("insider", 0);
fg = 80000 /* 0x013880 */;
while (fg < _root.ropecount) {
var thingamajig = eval ("_root.lems.insider.ropeholder" + fg);
thingamajig.unloadMovie();
thingamajig.removeMovieClip();
fg++;
}
_root.ropecount = 80000 /* 0x013880 */;
if (clearit == true) {
_root.lems.insider.unloadMovie();
_root.lems.insider.removeMovieClip();
_root.lems.createEmptyMovieClip("insider", 8765482000);
}
_root.timer = 0;
_root.numlems = 0;
_root.ropetest = new Array();
_root.speed = 1;
_root.gravity = 4;
_root.goahead = true;
_root.gocount = 0;
_root.arrowcount = 1000;
_root.ropecount = 80000 /* 0x013880 */;
_root.splodecount = 30000000 /* 0x1C9C380 */;
};
_root.physics = function (who, vel, grav) {
if (who._y > (_root.lvlheight + _root.antiwalk._height)) {
_root.numkilled = _root.numkilled + 1;
if (_root.numkilled >= _root.origarray.length) {
_root.attachMovie("retry", "retry", 4343434343);
}
_root.totalgone = _root.numkilled + _root.lemssaved;
if ((_root.origarray.length == _root.totalgone) and (_root.flagup == true)) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
}
_root.deatharray.push(who.id);
who.unloadMovie();
who.removeMovieClip();
}
if (who.beeninit != true) {
who.Xvel = vel;
who.gravity = grav;
who.beeninit = true;
}
if (_root.goahead == true) {
if ((who.safe != true) and (who.splat != true)) {
who.guts.gotoAndStop("action" + _root.skillarray[who.id]);
} else {
if ((who.safe == true) and (who.dead != true)) {
who.guts.gotoAndStop("safe");
}
if (who.splat == true) {
who.guts.gotoAndStop("splat");
}
}
if (_root.ropetest[0] != undefined) {
h = 0;
while (h < _root.ropetest.length) {
var thingamajig = eval ("_root.lems.insider.ropeholder" + _root.ropetest[h]);
if (thingamajig.segholder.hitTest(who.virtualx, who.virtualy, true)) {
if (who.virtualy > thingamajig.exit.virtualy) {
who.onrope = true;
who.Xvel = who.Xvel - who.Xvel;
who.Yvel = _root.speed + (_root.speed / 3);
if (thingamajig.exit._yscale < 0) {
who._xscale = 100;
} else {
who._xscale = -100;
}
}
if (who.virtualy <= thingamajig.exit.virtualy) {
if (thingamajig.exit._yscale < 0) {
who.Xvel = _root.speed * 4;
who._xscale = 100;
if (who.Xvel < 4) {
who.Xvel = 4;
}
} else {
who.Xvel = (_root.speed * 4) * -1;
who._xscale = -100;
if (who.Xvel > 4) {
who.Xvel = -4;
}
}
who.Yvel = 10 - (_root.speed * 2);
who.onrope = false;
}
}
h++;
}
}
who.onRollOver = function () {
who.pointer._visible = true;
_root.selclass = who.classy;
_root.selskill = who.skill;
_root.selnext = who.nextclass;
_root.selhp = who.hp;
_root.tip = "LOOK IN THE YELLOW BOX BELOW FOR THIS TROOP'S STATS.";
_root.dash.mug.holder.attachMovie("mug" + who.mug, "mug", 0);
};
who.onRelease = function () {
who.pointer._visible = false;
_root.selclass = "[NONE SELECTED]";
_root.selskill = "[NONE SELECTED]";
_root.selnext = "NA";
_root.selhp = "NA";
_root.tip = "";
_root.dash.mug.holder.mug.unloadMovie();
_root.dash.mug.holder.mug.removeMovieClip();
};
who.onReleaseOutside = function () {
who.pointer._visible = false;
_root.selclass = "[NONE SELECTED]";
_root.selskill = "[NONE SELECTED]";
_root.selnext = "NA";
_root.selhp = "NA";
_root.tip = "";
_root.dash.mug.holder.mug.unloadMovie();
_root.dash.mug.holder.mug.removeMovieClip();
};
who.onRollOut = function () {
who.pointer._visible = false;
_root.selclass = "[NONE SELECTED]";
_root.selskill = "[NONE SELECTED]";
_root.selnext = "NA";
_root.selhp = "NA";
_root.tip = "";
_root.dash.mug.holder.mug.unloadMovie();
_root.dash.mug.holder.mug.removeMovieClip();
};
who.onPress = function () {
if (who.dead != true) {
if (_root.tool3 == true) {
_root.loadedup = false;
_root.skillarray[who.id] = 100;
_root.createattribs(who, who.id);
who.dead = true;
}
if (_root.healing == true) {
_root.hparray[who.id] = _root.hparray[who.id] + 5;
_root.createattribs(who, who.id);
_root.loadedup = false;
_root.healing = false;
_root.healSound.start();
u = _root.lems.insider.attachMovie("showhp", "showhp", 53628);
u._x = who._x;
u.Xvel = who.Xvel;
u._y = who._y - 30;
u.what = "HP:" + _root.hparray[who.id];
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = who._x;
q._y = who._y;
}
if (_root.shortcut == true) {
if (_root.shorty == 0) {
_root.skillarray[who.id] = 0;
_root.createattribs(who, who.id);
}
if (_root.shorty == 1) {
var checkcosty = _root.shortcost1[_root.classarray[who.id]];
if (_root.gems >= checkcosty) {
if (((_root.classarray[who.id] == 4) || (_root.classarray[who.id] == 5)) || (_root.classarray[who.id] == 6)) {
who.aiming = true;
}
who.datarget = undefined;
who.targetreached = undefined;
_root.skillarray[who.id] = _root.shortarray1[_root.classarray[who.id]];
_root.createattribs(who, who.id);
_root.gems = _root.gems - checkcosty;
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
if (_root.shorty == 2) {
var checkcosty = _root.shortcost2[_root.classarray[who.id]];
if (_root.gems >= checkcosty) {
if ((_root.classarray[who.id] == 5) || (_root.classarray[who.id] == 6)) {
who.aiming = true;
}
if ((_root.classarray[who.id] == 8) || (_root.classarray[who.id] == 9)) {
_root.drawing = true;
_root.adding = true;
}
_root.skillarray[who.id] = _root.shortarray2[_root.classarray[who.id]];
_root.createattribs(who, who.id);
_root.gems = _root.gems - checkcosty;
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
if (_root.shorty == 3) {
var checkcosty = _root.shortcost3[_root.origarray[who.id]];
if (_root.gems >= checkcosty) {
if (_root.origarray[who.id] == 9) {
_root.drawing = true;
_root.subtracting = true;
}
_root.skillarray[who.id] = _root.shortarray3[_root.origarray[who.id]];
_root.createattribs(who, who.id);
_root.gems = _root.gems - checkcosty;
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
if (_root.tip != "NOT ENOUGH SENINES!") {
_root.applySound.start();
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = who._x;
q._y = who._y;
}
_root.shortcut = false;
}
if (_root.loadedup == true) {
if ((((((((((_root.classarray[who.id] == _root.loadarray[4]) || (_root.classarray[who.id] == _root.loadarray[5])) || (_root.classarray[who.id] == _root.loadarray[6])) || (_root.classarray[who.id] == _root.loadarray[7])) || (_root.classarray[who.id] == _root.loadarray[8])) || (_root.classarray[who.id] == _root.loadarray[9])) || (_root.classarray[who.id] == _root.loadarray[10])) || (_root.classarray[who.id] == _root.loadarray[11])) || (_root.classarray[who.id] == _root.loadarray[12])) || (_root.classarray[who.id] == _root.loadarray[13])) {
if (who.blockplaced == true) {
var noob = eval ("_root.magicwalk.insider.block" + who.id);
who._xscale = 100;
delete who.guts.onEnterFrame;
r = noob.removeMovieClip();
noob = undefined;
who.blockplaced = false;
_root.applySound.start();
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = who._x;
q._y = who._y;
}
if (_root.loadarray[0] != null) {
_root.classarray[who.id] = _root.loadarray[0];
_root.applySound.start();
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = who._x;
q._y = who._y;
}
_root.skillarray[who.id] = _root.loadarray[1];
_root.thebank = 0;
if (((_root.loadarray[1] == 7) || (_root.loadarray[1] == 8)) || (_root.loadarray[1] == 9)) {
who.aiming = true;
_root.applySound.start();
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = who._x;
q._y = who._y;
}
if (_root.loadarray[1] == 11) {
_root.adding = true;
_root.applySound.start();
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = who._x;
q._y = who._y;
}
if (_root.loadarray[1] == 12) {
_root.subtracting = true;
_root.applySound.start();
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = who._x;
q._y = who._y;
}
if (_root.loadarray[2] != null) {
_root.nextarray[who.id] = _root.loadarray[2];
_root.applySound.start();
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = who._x;
q._y = who._y;
}
if (_root.loadarray[3] != null) {
_root.hparray[who.id] = _root.loadarray[3];
_root.applySound.start();
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = who._x;
q._y = who._y;
}
_root.createattribs(who, who.id);
if (_root.tool2 != true) {
_root.loadedup = false;
} else if (_root.gems >= 10) {
_root.gems = _root.gems - 10;
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
} else {
_root.errorSound.start();
_root.tip = ("SORRY, TROOP MUST BE AT LEAST A " + _root.classtrans[loadarray[4]]) + " TO RECEIVE THIS SKILL/CLASS.";
}
}
}
};
who._x = who._x + who.Xvel;
who._y = who._y - who.Yvel;
if (who.Xvel > 0) {
if (who.Xvel > 0.1) {
who.Xvel = who.Xvel - 0.1;
}
who._xscale = 100;
}
if (who.Xvel < 0) {
if (who.Xvel < -0.1) {
who.Xvel = who.Xvel + 0.1;
}
who._xscale = -100;
}
if ((who.Xvel > -0.1) and (who.Xvel < 0.1)) {
who.Xvel = _root.speed * (who._xscale / 100);
}
if (who.onrope != true) {
who._y = who._y + who.gravity;
who.fallcount = who.fallcount + who.gravity;
if (who.gravity < 10) {
who.gravity = who.gravity + (who.gravity / 30);
}
}
who.virtualx = who._x + _root.antiwalk._x;
who.virtualy = who._y + _root.antiwalk._y;
if ((_root.antiwalk.insider.hitTest(who.virtualx, who.virtualy, true) and (!_root.prowalk.insider.hitTest(who.virtualx, who.virtualy, true))) || (_root.magicwalk.insider.hitTest(who.virtualx, who.virtualy, true))) {
if (who.fallcount > 300) {
who.splat = true;
who.dead = true;
} else {
who.fallcount = 0;
}
if (who.Xvel >= 0) {
who.Xvel = _root.speed;
}
if (who.Xvel < 0) {
who.Xvel = _root.speed * -1;
}
who.gravity = _root.gravity;
who.virtualy = who.virtualy - who.gravity;
_root.lookahead(who, who.virtualx, who.virtualy);
if (((who.nexty < (who.virtualy - 7)) || (who._x <= 0)) || (who._x > _root.antiwalk.w)) {
who.Xvel = who.Xvel * -2;
who._y = who._y - _root.speed;
who._xscale = who._xscale * -1;
if (who.nexty < (who.virtualy - 7)) {
who._y = (who._y - who.gravity) + 3;
}
if (who._x <= 0) {
who._x = _root.speed;
who._y = who._y - who.gravity;
}
if (who._x > _root.antiwalk.w) {
who._x = who._x - _root.speed;
who._y = who._y - who.gravity;
}
} else {
who._y = who.nexty - _root.antiwalk._y;
}
}
}
if ((who.safe == true) || (who.splat == true)) {
who.Xvel = who.Xvel - who.Xvel;
}
if (who.Yvel > 0) {
if (who.onrope != true) {
if (who.dead != true) {
who.guts.gotoAndStop("hit");
}
if (who.Yvel > 0.5) {
who.fallcount = 0;
who.Yvel = who.Yvel - (_root.speed / 1.5);
}
if ((((who.Yvel <= 2) and _root.antiwalk.insider.hitTest(who.virtualx, who.virtualy, true)) and (!_root.prowalk.insider.hitTest(who.virtualx, who.virtualy, true))) || (_root.magicwalk.insider.hitTest(who.virtualx, who.virtualy, true))) {
who.Yvel = 0;
if (who.Xvel > 0) {
who._xscale = 100;
} else {
who._xscale = -100;
}
who.beenhit = false;
}
}
}
if ((who.hp <= 0) and (who.dead != true)) {
_root.skillarray[who.id] = 100;
_root.createattribs(who, who.id);
who.dead = true;
}
};
_root.badphysics = function (who, vel, grav) {
if (_root.goahead == true) {
d = 0;
while (d < _root.origarray.length) {
var whogit = eval ("_root.lems.insider.lem" + d);
if ((who.hitTest(whogit.virtualx, whogit.virtualy - 15, true) and (whogit.beenhit != true)) and (whogit.dead != true)) {
if (whogit.shielded != true) {
whogit.Yvel = _root.speed * 12;
whogit.Xvel = (who.Xvel * 3) + (whogit.Xvel * -1);
whogit.hp = whogit.hp - 1;
whogit.beenhit = true;
_root.hurtSound.start();
u = _root.lems.insider.attachMovie("showhp", "showhp", 53628);
u._y = whogit._y - 30;
if (whogit.dead != true) {
u.what = whogit.hp;
u.Xvel = whogit.Xvel / 2;
u._x = whogit._x + (whogit.Xvel * 2.5);
} else {
u.what = 0;
u.Xvel = 0;
u._x = whogit._x;
}
} else {
who.Yvel = 10;
who.Xvel = whogit.Xvel * 3;
who._xscale = whogit._xscale;
_root.tinkSound.start();
}
}
d++;
}
}
if (who._y > (_root.lvlheight + _root.antiwalk._height)) {
_root.baddiearray.splice(who.id, 1);
if (_root.whichlevel == 5) {
p = 0;
while (p < _root.classarray.length) {
var whotosave = eval ("_root.lems.insider.lem" + p);
whotosave.safe = true;
whotosave.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
_root.flagup = true;
p++;
}
}
who.unloadMovie();
who.removeMovieClip();
}
if (who.beeninit != true) {
who.Xvel = vel;
who.gravity = grav;
who.beeninit = true;
}
if (_root.goahead == true) {
who._x = who._x + who.Xvel;
who._y = who._y - who.Yvel;
if (who.Yvel > 0) {
who.Yvel = who.Yvel - (_root.speed / 1.5);
if (who.Yvel < 0) {
who.Yvel = 0;
}
}
who._y = who._y + who.gravity;
who.fallcount = who.fallcount + who.gravity;
if (who.gravity < 10) {
who.gravity = who.gravity + (who.gravity / 30);
}
who.virtualx = who._x + _root.antiwalk._x;
who.virtualy = who._y + _root.antiwalk._y;
if ((_root.antiwalk.insider.hitTest(who.virtualx, who.virtualy, true) and (!_root.prowalk.insider.hitTest(who.virtualx, who.virtualy, true))) || (_root.magicwalk.insider.hitTest(who.virtualx, who.virtualy, true))) {
if (who.fallcount > 300) {
who.splat = true;
who.dead = true;
} else {
who.fallcount = 0;
}
who.gravity = _root.gravity;
who.virtualy = who.virtualy - who.gravity;
_root.lookahead(who, who.virtualx, who.virtualy);
if (((who.nexty < (who.virtualy - 7)) || (who._x <= 0)) || (who._x > (_root.lvlwidth + _root.antiwalk._width))) {
who.Xvel = who.Xvel * -1;
who._y = who._y - who.Xvel;
who._xscale = who._xscale * -1;
if (who.nexty < (who.virtualy - 7)) {
who._y = (who._y - who.gravity) + 3;
}
if (who._x <= 0) {
who._x = _root.speed;
who._y = who._y - who.gravity;
}
if (who._x > _root.antiwalk.w) {
who._x = who._x - _root.speed;
who._y = who._y - who.gravity;
}
} else {
who._y = who.nexty - _root.antiwalk._y;
}
}
}
};
_root.lookahead = function (who, curx, cury) {
var _local3 = curx + who.Xvel;
x = -10;
while (x < 10) {
var _local2 = cury - x;
if ((_root.antiwalk.insider.hitTest(_local3, _local2, true) and (!_root.prowalk.insider.hitTest(_local3, _local2, true))) || (_root.magicwalk.insider.hitTest(_local3, _local2, true))) {
who.nexty = _local2;
}
x++;
}
};
_root.inkarray1 = new Array(null, null);
_root.inkarray2 = new Array(null, null);
_root.circcount = 0;
_root.checkPos = function () {
if (_root.lems._x > 0) {
_root.lems._x = 0;
}
if (_root.lems._y > 0) {
_root.lems._y = 0;
}
if (_root.lems._x < (_root.lvlwidth * -1)) {
_root.lems._x = _root.lvlwidth * -1;
}
if (_root.lems._y < (_root.lvlheight * -1)) {
_root.lems._y = _root.lvlheight * -1;
}
_root.magicwalk._x = _root.lems._x;
_root.antiwalk._x = _root.lems._x;
_root.prowalk._x = _root.lems._x;
_root.masker._x = _root.lems._x;
_root.magicwalk._y = _root.lems._y;
_root.antiwalk._y = _root.lems._y;
_root.prowalk._y = _root.lems._y;
_root.masker._y = _root.lems._y;
_root.bg0._y = _root.lems._y;
_root.bg1._y = _root.lems._y;
b = 0;
while (b < _root.numlems) {
var makeit = eval ("_root.lems.insider.lem" + b);
makeit.virtualy = makeit._y + _root.lems._y;
h = 0;
while (h < _root.ropetest.length) {
var jigger = eval ("_root.lems.insider.ropeholder" + _root.ropetest[h]);
jigger.exit.virtualy = (jigger.exit._y + jigger._y) + _root.antiwalk._y;
if (!jigger.segholder.hitTest(makeit.virtualx, makeit.virtualy, true)) {
makeit.onrope = false;
}
h++;
}
b++;
}
};
_root.getDist = function (xm, ym) {
_root.daxx = xm - _root.lems._x;
_root.dayy = ym - _root.lems._y;
};
_root.mouseListener = new Object();
_root.mouseListener.onMouseDown = function () {
if (_root.tool1 == true) {
_root.curse.cur0._visible = false;
_root.curse.cur1._visible = true;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
_root.curse.cur1.gotoAndStop("closed");
_root.pausy = true;
_root.getDist(_xmouse, _ymouse);
_root.checkPos();
}
if (_root.adding == true) {
_root.tool1 = false;
if (_root.gems > 0) {
_root.magicwalk.insider.lineStyle(30, 8674308, 100);
_root.magicwalk.insider.moveTo(_xmouse - _root.magicwalk._x, _ymouse - _root.magicwalk._y);
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
if (_root.subtracting == true) {
_root.tool1 = false;
if (_root.gems > 0) {
_root.prowalk.insider.lineStyle(40, 0, 100);
_root.prowalk.insider.moveTo(_xmouse - _root.magicwalk._x, _ymouse - _root.magicwalk._y);
stickMouse();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
_root.getInk(_xmouse - _root.magicwalk._x, _ymouse - _root.magicwalk._y);
_root.isDrawing = true;
};
_root.mouseListener.onMouseMove = function () {
_root.curse._x = _xmouse;
_root.curse._y = _ymouse;
if (_root.isDrawing) {
if (_root.adding == true) {
if (_root.gems > 0) {
_root.magicwalk.insider.lineTo(_xmouse - _root.magicwalk._x, _ymouse - _root.magicwalk._y);
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
if (_root.subtracting == true) {
if (_root.gems > 0) {
_root.prowalk.insider.lineTo(_xmouse - _root.antiwalk._x, _ymouse - _root.antiwalk._y);
stickMouse();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
_root.getInk(_xmouse - _root.antiwalk._x, _ymouse - _root.antiwalk._y);
}
if ((_root.tool1 == true) and (_root.pausy == true)) {
_root.lems._x = _xmouse - _root.daxx;
_root.lems._y = _ymouse - _root.dayy;
_root.checkPos();
}
updateAfterEvent();
};
mouseListener.onMouseUp = function () {
_root.isDrawing = false;
_root.inkarray1 = new Array(null, null);
_root.inkarray2 = new Array(null, null);
if (_root.pausy == true) {
_root.checkPos();
_root.curse.cur1.gotoAndStop("open");
if ((_root.dash.skills.isup != true) and (_root.masterpause != true)) {
_root.pausy = false;
}
}
};
Mouse.addListener(_root.mouseListener);
_root.createattribs = function (who, series) {
who.classy = _root.classtrans[_root.classarray[series]];
if (_root.skilltrans[_root.skillarray[series]] != undefined) {
who.skill = _root.skilltrans[_root.skillarray[series]];
} else {
who.skill = "PUSHIN DAISIES";
}
who.reboundcount = 0;
who.nextclass = _root.nextarray[series];
who.hp = _root.hparray[series];
who.mug = _root.classarray[series];
who.id = series;
who.targetreached = false;
if (who.guts == undefined) {
t = who.attachMovie("lemguts" + _root.origarray[series], "guts", 0);
} else {
t = who.attachMovie("lemguts" + _root.classarray[series], "guts", 0);
}
t._y = -18;
t._xscale = 65;
t._yscale = t._xscale;
who.beeninit = false;
if (who._xscale == -100) {
t.onEnterFrame = function () {
_root.physics(who, -1, 4);
};
} else {
t.onEnterFrame = function () {
_root.physics(who, 1, 4);
};
}
};
_root.skillarray = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.classtrans = new Array("PEASANT", "I MELEE", "II MELEE", "III MELEE", "I LONG-RANGE", "II LONG-RANGE", "III LONG-RANGE", "I SPIRITUAL", "II SPIRITUAL", "III SPIRITUAL");
_root.skilltrans = new Array("[NONE]", "DIG", "STOP", "BUILD", "ATTACK-SIDE", "DEFEND", "ATTACK-UP", "ARROW", "ROPE ARROW", "BOMB ARROW", "HEAL", "CREATE LAND", "DESTROY LAND");
_root.onEnterFrame = function () {
if (_root.mapup != true) {
if (Key.isDown(39)) {
_root.lems._x = _root.lems._x - 8;
_root.checkPos();
_root.pausy = true;
_root.keymove = true;
}
if (Key.isDown(37)) {
_root.lems._x = _root.lems._x + 8;
_root.checkPos();
_root.pausy = true;
_root.keymove = true;
}
if (Key.isDown(40)) {
_root.lems._y = _root.lems._y - 8;
_root.checkPos();
_root.pausy = true;
_root.keymove = true;
}
if (Key.isDown(38)) {
_root.lems._y = _root.lems._y + 8;
_root.checkPos();
_root.pausy = true;
_root.keymove = true;
}
if (((((!Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) and (!Key.isDown(39))) and (_root.keymove == true)) {
_root.keymove = false;
_root.pausy = false;
_root.checkPos();
}
}
if (Key.isDown(32)) {
if (_root.mapup != true) {
if (_root.adding == true) {
_root.adding = false;
_root.isDrawing = false;
_root.inkarray1 = new Array(null, null);
_root.inkarray2 = new Array(null, null);
_root.prowalk.insider.lineStyle();
_root.antiwalk.insider.lineStyle();
}
if (_root.subtracting == true) {
_root.subtracting = false;
_root.isDrawing = false;
_root.inkarray1 = new Array(null, null);
_root.inkarray2 = new Array(null, null);
_root.prowalk.insider.lineStyle();
_root.antiwalk.insider.lineStyle();
}
} else if (_root.map.dude.inmotion != true) {
_root.initlvl(_root.map.dude.curdot, _root.starttroops, _root.classarray, true, _root.startgems);
_root.mapup = false;
_root.mapSound.stop();
_root.enterSound.start();
_root.initSound();
_root.map._visible = false;
}
}
if (_root.goahead == true) {
_root.timer = _root.timer + speed;
}
if ((_root.timer >= 80) and (_root.numlems < _root.origarray.length)) {
r = _root.lems.insider.attachMovie("lem", "lem" + _root.numlems, _root.numlems);
_root.skillarray[_root.numlems] = 0;
r.dead = false;
_root.createattribs(r, _root.numlems);
r._x = _root.movealem[_root.whichlevel];
r._y = _root.lvly;
_root.numlems = _root.numlems + 1;
_root.timer = 0;
}
if (_root.pausy == true) {
_root.goahead = false;
}
if (((_root.pausy == false) and (_root.goahead == false)) and (_root.masterpause != true)) {
_root.gocount = _root.gocount + 1;
if (_root.gocount >= 15) {
_root.goahead = true;
_root.gocount = 0;
}
}
_root.speedadj = Math.round(_root.speed * 4);
if (_root.loadedup == true) {
_root.tobeapplied = _root.skilltrans[_root.loadarray[1]];
if (_root.classtrans[_root.loadarray[0]] != undefined) {
_root.classtobeapplied = _root.classtrans[_root.loadarray[0]];
} else {
_root.classtobeapplied = "[NONE]";
}
} else {
_root.tobeapplied = "[NONE]";
_root.classtobeapplied = "[NONE]";
}
_root.gems2 = Math.round(_root.gems);
_root.savedstuff.data.blingbling = _root.gems2;
if ((((_root.stoptime != true) and (_root.timey > 0)) and (_root.pausy != true)) and (_root.masterpause != true)) {
_root.timey = _root.timey - 1;
}
if (Key.isDown(2)) {
Mouse.hide();
}
};
Frame 50
stop();
Frame 51
stop();
Frame 52
stop();
Instance of Symbol 19 MovieClip "pointer" in Symbol 20 MovieClip [lem] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 37 MovieClip Frame 1
_root.healing = true;
this.onEnterFrame = function () {
if (_root.healing == true) {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
} else {
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
delete this.onEnterFrame;
}
};
Symbol 37 MovieClip Frame 22
stop();
Instance of Symbol 36 MovieClip in Symbol 37 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this._parent._parent._parent._xscale == -100) {
this._xscale = -100;
} else {
this._xscale = 100;
}
}
Symbol 46 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.adding == true) {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
} else {
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
delete this.onEnterFrame;
}
};
Symbol 46 MovieClip Frame 22
stop();
Instance of Symbol 45 MovieClip in Symbol 46 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this._parent._parent._parent._xscale == -100) {
this._xscale = -100;
} else {
this._xscale = 100;
}
}
Symbol 53 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.subtracting == true) {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
} else {
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
delete this.onEnterFrame;
}
};
Symbol 53 MovieClip Frame 22
stop();
Instance of Symbol 45 MovieClip in Symbol 53 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this._parent._parent._parent._xscale == -100) {
this._xscale = -100;
} else {
this._xscale = 100;
}
}
Symbol 94 MovieClip Frame 120
_root.lemssaved = _root.lemssaved + 1;
_root.totalgone = _root.numkilled + _root.lemssaved;
trace("total gone: " + _root.totalgone);
trace("orig array length:" + _root.origarray.length);
if ((_root.whichlevel == 11) and (_root.totalgone == _root.numlems)) {
_root.gotoAndPlay("finale");
if (_root.myslot == 0) {
_root.savedstuff.data.slot0cheat = true;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1cheat = true;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2cheat = true;
}
} else if (_root.totalgone == _root.numlems) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
}
Symbol 94 MovieClip Frame 129
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip();
Symbol 118 MovieClip Frame 24
stop();
Symbol 132 MovieClip Frame 1
this.onEnterFrame = function () {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvell;
};
Symbol 132 MovieClip Frame 67
_root.deatharray.push(this._parent._parent.id);
trace(_root.deatharray);
_root.numkilled = _root.numkilled + 1;
if (_root.numkilled == _root.origarray.length) {
_root.attachMovie("retry", "retry", 4343434343);
} else {
_root.totalgone = _root.numkilled + _root.lemssaved;
if (_root.origarray.length == _root.totalgone) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
}
}
trace("total gone: " + _root.totalgone);
trace("After frying, the class array is: " + _root.classarray);
r = _root.lems.insider.attachMovie("bones", "bones", _root.bonescount);
r._x = this._parent._parent._x;
r._y = this._parent._parent._y;
_root.bonescount = _root.bonescount + 1;
delete this.onEnterFrame;
this._parent.unloadMovie();
this._parent.removeMovieClip();
Symbol 143 MovieClip Frame 21
stop();
Symbol 144 MovieClip Frame 9
_root.deatharray.push(this._parent._parent.id);
trace(_root.deatharray);
_root.numkilled = _root.numkilled + 1;
if (_root.numkilled == _root.origarray.length) {
_root.attachMovie("retry", "retry", 4343434343);
} else {
_root.totalgone = _root.numkilled + _root.lemssaved;
if (_root.origarray.length == _root.totalgone) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
}
}
trace("total gone: " + _root.totalgone);
trace("After SPLATTING, the class array is: " + _root.classarray);
Symbol 144 MovieClip Frame 27
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip();
Symbol 146 MovieClip [lemguts9] Frame 1
stop();
Symbol 146 MovieClip [lemguts9] Frame 2
stop();
Symbol 146 MovieClip [lemguts9] Frame 3
stop();
Symbol 146 MovieClip [lemguts9] Frame 4
stop();
Symbol 146 MovieClip [lemguts9] Frame 30
stop();
Symbol 146 MovieClip [lemguts9] Frame 40
stop();
Symbol 146 MovieClip [lemguts9] Frame 50
stop();
Symbol 146 MovieClip [lemguts9] Frame 55
stop();
Symbol 158 MovieClip Frame 1
_root.healing = true;
this.onEnterFrame = function () {
if (_root.healing == true) {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
} else {
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
delete this.onEnterFrame;
}
};
Symbol 158 MovieClip Frame 22
stop();
Instance of Symbol 36 MovieClip in Symbol 158 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this._parent._parent._parent._xscale == -100) {
this._xscale = -100;
} else {
this._xscale = 100;
}
}
Symbol 165 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.adding == true) {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
} else {
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
delete this.onEnterFrame;
}
};
Symbol 165 MovieClip Frame 22
stop();
Instance of Symbol 45 MovieClip in Symbol 165 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this._parent._parent._parent._xscale == -100) {
this._xscale = -100;
} else {
this._xscale = 100;
}
}
Symbol 185 MovieClip Frame 19
stop();
Symbol 186 MovieClip Frame 80
_root.lemssaved = _root.lemssaved + 1;
_root.totalgone = _root.numkilled + _root.lemssaved;
trace("total gone: " + _root.totalgone);
trace("orig array length:" + _root.origarray.length);
if ((_root.whichlevel == 11) and (_root.totalgone == _root.numlems)) {
_root.gotoAndPlay("finale");
if (_root.myslot == 0) {
_root.savedstuff.data.slot0cheat = true;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1cheat = true;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2cheat = true;
}
} else if (_root.totalgone == _root.numlems) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
}
Symbol 186 MovieClip Frame 89
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip();
Symbol 188 MovieClip [lemguts8] Frame 1
stop();
Symbol 188 MovieClip [lemguts8] Frame 2
stop();
Symbol 188 MovieClip [lemguts8] Frame 3
stop();
this.onEnterFrame = function () {
this._parent.Xvel = 0;
};
Symbol 188 MovieClip [lemguts8] Frame 30
stop();
Symbol 188 MovieClip [lemguts8] Frame 40
stop();
Symbol 188 MovieClip [lemguts8] Frame 50
stop();
Symbol 188 MovieClip [lemguts8] Frame 55
stop();
Symbol 200 MovieClip Frame 1
_root.healing = true;
this.onEnterFrame = function () {
if (_root.healing == true) {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
} else {
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
delete this.onEnterFrame;
}
};
Symbol 200 MovieClip Frame 21
stop();
Instance of Symbol 36 MovieClip in Symbol 200 MovieClip Frame 21
onClipEvent (enterFrame) {
if (this._parent._parent._parent._xscale == -100) {
this._xscale = -100;
} else {
this._xscale = 100;
}
}
Symbol 213 MovieClip Frame 44
_root.lemssaved = _root.lemssaved + 1;
_root.totalgone = _root.numkilled + _root.lemssaved;
if ((_root.whichlevel == 11) and (_root.totalgone == _root.numlems)) {
_root.gotoAndPlay("finale");
if (_root.myslot == 0) {
_root.savedstuff.data.slot0cheat = true;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1cheat = true;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2cheat = true;
}
} else if (_root.totalgone == _root.numlems) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
}
Symbol 213 MovieClip Frame 53
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip();
Symbol 215 MovieClip [lemguts7] Frame 1
stop();
Symbol 215 MovieClip [lemguts7] Frame 2
stop();
Symbol 215 MovieClip [lemguts7] Frame 30
stop();
Symbol 215 MovieClip [lemguts7] Frame 40
stop();
Symbol 215 MovieClip [lemguts7] Frame 50
stop();
Symbol 215 MovieClip [lemguts7] Frame 55
stop();
Symbol 224 MovieClip [splode] Frame 4
_root.splodeSound.start();
w = 0;
while (w < _root.origarray.length) {
var thing = eval ("_root.lems.insider.lem" + w);
if (this.hitTest(thing) and (thing.safe != true)) {
thing.Yvel = this._xscale / 7;
if (thing._x <= this._x) {
thing.Xvel = (_root.speed * (this._xscale / 25)) * -1;
thing._xscale = -100;
thing.hp = thing.hp - Math.floor(this._xscale / 35);
} else {
thing.Xvel = _root.speed * (this._xscale / 25);
thing._xscale = 100;
thing.hp = thing.hp - Math.floor(this._xscale / 35);
}
u = _root.lems.insider.attachMovie("showhp", "showhp", 53628);
u._y = thing._y - 30;
if (thing.dead != true) {
u.what = thing.hp;
u.Xvel = thing.Xvel / 2;
u._x = thing._x + (thing.Xvel * 2.5);
} else {
u.what = 0;
u.Xvel = 0;
u._x = thing._x;
}
}
w++;
}
h = 0;
while (h < 3) {
var badthing = eval ("_root.lems.baddie.boss" + h);
if (this.hitTest(badthing)) {
badthing.Yvel = this._xscale / 7;
if (badthing._x < this._x) {
badthing.Xvel = (_root.speed * (this._xscale / 25)) * -1;
badthing._xscale = badthing.origscale * -1;
badthing.hp = badthing.hp - 5;
} else if (badthing._x > this._x) {
badthing.Xvel = _root.speed * (this._xscale / 25);
badthing._xscale = badthing.origscale;
badthing.hp = badthing.hp - 5;
}
}
h++;
}
Symbol 224 MovieClip [splode] Frame 14
this.unloadMovie();
stop();
Instance of Symbol 242 MovieClip "powerthing" in Symbol 243 MovieClip Frame 1
onClipEvent (load) {
this._parent.power = 0;
this.pow0._visible = false;
this.pow1._visible = false;
this.pow2._visible = false;
this.pow3._visible = false;
this.pow4._visible = false;
}
onClipEvent (enterFrame) {
if (this._parent.power > 20) {
this.pow0._visible = true;
} else {
this.pow0._visible = false;
}
if (this._parent.power > 40) {
this.pow1._visible = true;
} else {
this.pow1._visible = false;
}
if (this._parent.power > 60) {
this.pow2._visible = true;
} else {
this.pow2._visible = false;
}
if (this._parent.power > 80) {
this.pow3._visible = true;
} else {
this.pow3._visible = false;
}
if (this._parent.power > 100) {
this.pow4._visible = true;
} else {
this.pow4._visible = false;
}
}
Symbol 246 MovieClip Frame 1
this.onEnterFrame = function () {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
if (this._parent._parent.aiming == true) {
this.dax = this._xmouse;
this.day = this._ymouse;
this.dahyp = Math.sqrt((this.dax * this.dax) + (this.day * this.day));
this.angle = Math.atan2(this.day, this.dax);
this.finale = (this.angle * 180) / Math.PI;
if (this.finale < -89) {
this.finale = -89;
}
this.bod._rotation = this.finale;
if (_root.lems._xmouse < this._parent._parent._x) {
this._parent._parent._xscale = -100;
this.texty._xscale = -100;
} else {
this._parent._parent._xscale = 100;
this.texty._xscale = 100;
}
onMouseDown = function () {
this.powering = true;
this.powerrate = 12;
};
}
if (this.powering == true) {
this.bod.power = this.bod.power + this.powerrate;
if (powerrate > 0) {
powerrate = powerrate - 0.6;
}
if (powerrate < 0) {
powerrate = 0;
}
}
onMouseUp = function () {
if (this.powering == true) {
this.powering = false;
if (_root.gems >= 1) {
_root.gems = _root.gems - 1;
a = _root.lems.attachMovie("arrowbolt", "arrow" + _root.arrowcount, _root.arrowcount);
_root.arrowcount = _root.arrowcount + 1;
a.dacolor = 16711680 /* 0xFF0000 */;
} else {
_root.aiming = false;
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
if (this._parent._parent._xscale == 100) {
a.guts._rotation = this.finale;
this.newangle = this.finale * (Math.PI/180);
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = Math.sin(this.newangle) * (this.bod.power / 10);
a.Xvel = Math.cos(this.newangle) * (this.bod.power / 10);
a._x = this._parent._parent._x + (Math.cos(this.newangle) * 55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * 55)) - 18;
} else {
a.guts._rotation = this.finale * -1;
this.newangle = (this.finale * (Math.PI/180)) * -1;
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = (Math.sin(this.newangle) * (this.bod.power / 10)) * -1;
a.Xvel = (Math.cos(this.newangle) * (this.bod.power / 10)) * -1;
a._x = this._parent._parent._x + (Math.cos(this.newangle) * -55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * -55)) - 18;
}
this.bod.power = 0;
}
};
};
Instance of Symbol 245 MovieClip "texty" in Symbol 246 MovieClip Frame 1
on (keyPress "<Space>") {
delete this._parent.onEnterFrame;
trace("hi");
_root.skillarray[this._parent._parent._parent.id] = 0;
_root.createattribs(this._parent._parent._parent, this._parent._parent._parent.id);
}
Symbol 248 MovieClip Frame 1
this.onEnterFrame = function () {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
if (this._parent._parent.aiming == true) {
this.dax = this._xmouse;
this.day = this._ymouse;
this.dahyp = Math.sqrt((this.dax * this.dax) + (this.day * this.day));
this.angle = Math.atan2(this.day, this.dax);
this.finale = (this.angle * 180) / Math.PI;
if (this.finale < -89) {
this.finale = -89;
}
this.bod._rotation = this.finale;
if (_root.lems._xmouse < this._parent._parent._x) {
this._parent._parent._xscale = -100;
this.texty._xscale = -100;
} else {
this._parent._parent._xscale = 100;
this.texty._xscale = 100;
}
onMouseDown = function () {
this.powering = true;
this.powerrate = 12;
};
}
if (this.powering == true) {
this.bod.power = this.bod.power + this.powerrate;
if (powerrate > 0) {
powerrate = powerrate - 0.6;
}
if (powerrate < 0) {
powerrate = 0;
}
}
onMouseUp = function () {
if (this.powering == true) {
this.powering = false;
a = _root.lems.attachMovie("arrowbolt", "arrow" + _root.arrowcount, _root.arrowcount);
_root.arrowcount = _root.arrowcount + 1;
a.isarope = true;
if (this._parent._parent._xscale == 100) {
a.guts._rotation = this.finale;
this.newangle = this.finale * (Math.PI/180);
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = Math.sin(this.newangle) * (this.bod.power / 10);
a.Xvel = Math.cos(this.newangle) * (this.bod.power / 10);
a._x = this._parent._parent._x + (Math.cos(this.newangle) * 55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * 55)) - 18;
} else {
a.guts._rotation = this.finale * -1;
this.newangle = (this.finale * (Math.PI/180)) * -1;
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = (Math.sin(this.newangle) * (this.bod.power / 10)) * -1;
a.Xvel = (Math.cos(this.newangle) * (this.bod.power / 10)) * -1;
a._x = this._parent._parent._x + (Math.cos(this.newangle) * -55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * -55)) - 18;
}
this.bod.power = 0;
this.aiming = false;
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
}
};
};
Symbol 250 MovieClip Frame 1
this.onEnterFrame = function () {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
if (this._parent._parent.aiming == true) {
this.dax = this._xmouse;
this.day = this._ymouse;
this.dahyp = Math.sqrt((this.dax * this.dax) + (this.day * this.day));
this.angle = Math.atan2(this.day, this.dax);
this.finale = (this.angle * 180) / Math.PI;
if (this.finale < -89) {
this.finale = -89;
}
this.bod._rotation = this.finale;
if (_root.lems._xmouse < this._parent._parent._x) {
this._parent._parent._xscale = -100;
this.texty._xscale = -100;
} else {
this._parent._parent._xscale = 100;
this.texty._xscale = 100;
}
onMouseDown = function () {
this.powering = true;
this.powerrate = 12;
};
}
if (this.powering == true) {
this.bod.power = this.bod.power + this.powerrate;
if (powerrate > 0) {
powerrate = powerrate - 0.6;
}
if (powerrate < 0) {
powerrate = 0;
}
}
onMouseUp = function () {
if (this.powering == true) {
this.powering = false;
if (_root.gems >= 50) {
a = _root.lems.attachMovie("arrowbolt", "arrow" + _root.arrowcount, _root.arrowcount);
_root.arrowcount = _root.arrowcount + 1;
a.dacolor = 16711680 /* 0xFF0000 */;
_root.gems = _root.gems - 50;
} else {
_root.aiming = false;
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
a.isabomb = true;
if (this._parent._parent._xscale == 100) {
a.guts._rotation = this.finale;
this.newangle = this.finale * (Math.PI/180);
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = Math.sin(this.newangle) * (this.bod.power / 10);
a.Xvel = Math.cos(this.newangle) * (this.bod.power / 10);
a._x = this._parent._parent._x + (Math.cos(this.newangle) * 55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * 55)) - 18;
} else {
a.guts._rotation = this.finale * -1;
this.newangle = (this.finale * (Math.PI/180)) * -1;
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = (Math.sin(this.newangle) * (this.bod.power / 10)) * -1;
a.Xvel = (Math.cos(this.newangle) * (this.bod.power / 10)) * -1;
a._x = this._parent._parent._x + (Math.cos(this.newangle) * -55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * -55)) - 18;
}
this.bod.power = 0;
}
};
};
Instance of Symbol 245 MovieClip "texty" in Symbol 250 MovieClip Frame 1
on (keyPress "<Space>") {
delete this._parent.onEnterFrame;
trace("hi");
_root.skillarray[this._parent._parent._parent.id] = 0;
_root.createattribs(this._parent._parent._parent, this._parent._parent._parent.id);
}
Symbol 260 MovieClip Frame 72
_root.lemssaved = _root.lemssaved + 1;
_root.totalgone = _root.numkilled + _root.lemssaved;
if ((_root.whichlevel == 11) and (_root.totalgone == _root.numlems)) {
_root.gotoAndPlay("finale");
if (_root.myslot == 0) {
_root.savedstuff.data.slot0cheat = true;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1cheat = true;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2cheat = true;
}
} else if (_root.totalgone == _root.numlems) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
}
Symbol 260 MovieClip Frame 81
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip();
Symbol 262 MovieClip [lemguts6] Frame 1
stop();
Symbol 262 MovieClip [lemguts6] Frame 2
stop();
Symbol 262 MovieClip [lemguts6] Frame 3
stop();
Symbol 262 MovieClip [lemguts6] Frame 30
stop();
Symbol 262 MovieClip [lemguts6] Frame 40
stop();
Symbol 262 MovieClip [lemguts6] Frame 50
stop();
Symbol 262 MovieClip [lemguts6] Frame 55
stop();
Instance of Symbol 242 MovieClip "powerthing" in Symbol 270 MovieClip Frame 1
onClipEvent (load) {
this._parent.power = 0;
this.pow0._visible = false;
this.pow1._visible = false;
this.pow2._visible = false;
this.pow3._visible = false;
this.pow4._visible = false;
}
onClipEvent (enterFrame) {
if (this._parent.power > 20) {
this.pow0._visible = true;
} else {
this.pow0._visible = false;
}
if (this._parent.power > 40) {
this.pow1._visible = true;
} else {
this.pow1._visible = false;
}
if (this._parent.power > 60) {
this.pow2._visible = true;
} else {
this.pow2._visible = false;
}
if (this._parent.power > 80) {
this.pow3._visible = true;
} else {
this.pow3._visible = false;
}
if (this._parent.power > 100) {
this.pow4._visible = true;
} else {
this.pow4._visible = false;
}
}
Symbol 271 MovieClip Frame 1
this.onEnterFrame = function () {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
if (this._parent._parent.aiming == true) {
this.dax = this._xmouse;
this.day = this._ymouse;
this.dahyp = Math.sqrt((this.dax * this.dax) + (this.day * this.day));
this.angle = Math.atan2(this.day, this.dax);
this.finale = (this.angle * 180) / Math.PI;
if (this.finale < -89) {
this.finale = -89;
}
this.bod._rotation = this.finale;
if (_root.lems._xmouse < this._parent._parent._x) {
this._parent._parent._xscale = -100;
this.texty._xscale = -100;
} else {
this._parent._parent._xscale = 100;
this.texty._xscale = 100;
}
onMouseDown = function () {
this.powering = true;
this.powerrate = 12;
};
}
if (this.powering == true) {
this.bod.power = this.bod.power + this.powerrate;
if (powerrate > 0) {
powerrate = powerrate - 0.6;
}
if (powerrate < 0) {
powerrate = 0;
}
}
onMouseUp = function () {
if (this.powering == true) {
this.powering = false;
if (_root.gems >= 1) {
_root.gems = _root.gems - 1;
a = _root.lems.attachMovie("arrowbolt", "arrow" + _root.arrowcount, _root.arrowcount);
_root.arrowcount = _root.arrowcount + 1;
a.dacolor = 15335194 /* 0xE9FF1A */;
} else {
_root.aiming = false;
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
if (this._parent._parent._xscale == 100) {
a.guts._rotation = this.finale;
this.newangle = this.finale * (Math.PI/180);
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = Math.sin(this.newangle) * (this.bod.power / 10);
a.Xvel = Math.cos(this.newangle) * (this.bod.power / 10);
a._x = this._parent._parent._x + (Math.cos(this.newangle) * 55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * 55)) - 18;
} else {
a.guts._rotation = this.finale * -1;
this.newangle = (this.finale * (Math.PI/180)) * -1;
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = (Math.sin(this.newangle) * (this.bod.power / 10)) * -1;
a.Xvel = (Math.cos(this.newangle) * (this.bod.power / 10)) * -1;
a._x = this._parent._parent._x + (Math.cos(this.newangle) * -55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * -55)) - 18;
}
this.bod.power = 0;
}
};
};
Instance of Symbol 245 MovieClip "texty" in Symbol 271 MovieClip Frame 1
on (keyPress "<Space>") {
delete this._parent.onEnterFrame;
trace("hi");
_root.skillarray[this._parent._parent._parent.id] = 0;
_root.createattribs(this._parent._parent._parent, this._parent._parent._parent.id);
}
Symbol 273 MovieClip Frame 1
this.onEnterFrame = function () {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
if (this._parent._parent.aiming == true) {
this.dax = this._xmouse;
this.day = this._ymouse;
this.dahyp = Math.sqrt((this.dax * this.dax) + (this.day * this.day));
this.angle = Math.atan2(this.day, this.dax);
this.finale = (this.angle * 180) / Math.PI;
if (this.finale < -89) {
this.finale = -89;
}
this.bod._rotation = this.finale;
if (_root.lems._xmouse < this._parent._parent._x) {
this._parent._parent._xscale = -100;
} else {
this._parent._parent._xscale = 100;
}
onMouseDown = function () {
this.powering = true;
this.powerrate = 12;
};
}
if (this.powering == true) {
this.bod.power = this.bod.power + this.powerrate;
if (powerrate > 0) {
powerrate = powerrate - 0.6;
}
if (powerrate < 0) {
powerrate = 0;
}
}
onMouseUp = function () {
if (this.powering == true) {
this.powering = false;
a = _root.lems.insider.attachMovie("arrowbolt", "arrow" + _root.arrowcount, _root.arrowcount);
_root.arrowcount = _root.arrowcount + 1;
a.isarope = true;
if (this._parent._parent._xscale == 100) {
a.guts._rotation = this.finale;
this.newangle = this.finale * (Math.PI/180);
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = Math.sin(this.newangle) * (this.bod.power / 10);
a.Xvel = Math.cos(this.newangle) * (this.bod.power / 10);
a._x = this._parent._parent._x + (Math.cos(this.newangle) * 55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * 55)) - 18;
} else {
a.guts._rotation = this.finale * -1;
this.newangle = (this.finale * (Math.PI/180)) * -1;
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = (Math.sin(this.newangle) * (this.bod.power / 10)) * -1;
a.Xvel = (Math.cos(this.newangle) * (this.bod.power / 10)) * -1;
a._x = this._parent._parent._x + (Math.cos(this.newangle) * -55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * -55)) - 18;
}
this.bod.power = 0;
this.aiming = false;
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
}
};
};
Symbol 294 MovieClip Frame 74
_root.lemssaved = _root.lemssaved + 1;
_root.totalgone = _root.numkilled + _root.lemssaved;
trace("total gone: " + _root.totalgone);
trace("orig array length:" + _root.origarray.length);
if ((_root.whichlevel == 11) and (_root.totalgone == _root.numlems)) {
_root.gotoAndPlay("finale");
if (_root.myslot == 0) {
_root.savedstuff.data.slot0cheat = true;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1cheat = true;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2cheat = true;
}
} else if (_root.totalgone == _root.numlems) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
}
Symbol 294 MovieClip Frame 83
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip();
Symbol 296 MovieClip [lemguts5] Frame 1
stop();
Symbol 296 MovieClip [lemguts5] Frame 2
stop();
Symbol 296 MovieClip [lemguts5] Frame 3
stop();
Symbol 296 MovieClip [lemguts5] Frame 30
stop();
Symbol 296 MovieClip [lemguts5] Frame 40
stop();
Symbol 296 MovieClip [lemguts5] Frame 50
stop();
Symbol 296 MovieClip [lemguts5] Frame 55
stop();
Instance of Symbol 242 MovieClip "powerthing" in Symbol 304 MovieClip Frame 1
onClipEvent (load) {
this._parent.power = 0;
this.pow0._visible = false;
this.pow1._visible = false;
this.pow2._visible = false;
this.pow3._visible = false;
this.pow4._visible = false;
}
onClipEvent (enterFrame) {
if (this._parent.power > 20) {
this.pow0._visible = true;
} else {
this.pow0._visible = false;
}
if (this._parent.power > 40) {
this.pow1._visible = true;
} else {
this.pow1._visible = false;
}
if (this._parent.power > 60) {
this.pow2._visible = true;
} else {
this.pow2._visible = false;
}
if (this._parent.power > 80) {
this.pow3._visible = true;
} else {
this.pow3._visible = false;
}
if (this._parent.power > 100) {
this.pow4._visible = true;
} else {
this.pow4._visible = false;
}
}
Symbol 305 MovieClip Frame 1
this.onEnterFrame = function () {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
if (this._parent._parent.aiming == true) {
this.dax = this._xmouse;
this.day = this._ymouse;
this.dahyp = Math.sqrt((this.dax * this.dax) + (this.day * this.day));
this.angle = Math.atan2(this.day, this.dax);
this.finale = (this.angle * 180) / Math.PI;
if (this.finale < -89) {
this.finale = -89;
}
this.bod._rotation = this.finale;
if (_root.lems._xmouse < this._parent._parent._x) {
this._parent._parent._xscale = -100;
this.texty._xscale = -100;
} else {
this._parent._parent._xscale = 100;
this.texty._xscale = 100;
}
onMouseDown = function () {
this.powering = true;
this.powerrate = 12;
};
}
if (this.powering == true) {
this.bod.power = this.bod.power + this.powerrate;
if (powerrate > 0) {
powerrate = powerrate - 0.6;
}
if (powerrate < 0) {
powerrate = 0;
}
}
onMouseUp = function () {
if (this.powering == true) {
this.powering = false;
if (_root.gems >= 1) {
_root.gems = _root.gems - 1;
a = _root.lems.attachMovie("arrowbolt", "arrow" + _root.arrowcount, _root.arrowcount);
_root.arrowcount = _root.arrowcount + 1;
a.dacolor = 65280;
} else {
_root.aiming = false;
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
if (this._parent._parent._xscale == 100) {
a.guts._rotation = this.finale;
this.newangle = this.finale * (Math.PI/180);
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = Math.sin(this.newangle) * (this.bod.power / 10);
a.Xvel = Math.cos(this.newangle) * (this.bod.power / 10);
a._x = this._parent._parent._x + (Math.cos(this.newangle) * 55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * 55)) - 18;
} else {
a.guts._rotation = this.finale * -1;
this.newangle = (this.finale * (Math.PI/180)) * -1;
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = (Math.sin(this.newangle) * (this.bod.power / 10)) * -1;
a.Xvel = (Math.cos(this.newangle) * (this.bod.power / 10)) * -1;
a._x = this._parent._parent._x + (Math.cos(this.newangle) * -55);
a._y = (this._parent._parent._y + (Math.sin(this.newangle) * -55)) - 18;
}
this.bod.power = 0;
}
};
};
Instance of Symbol 245 MovieClip "texty" in Symbol 305 MovieClip Frame 1
on (keyPress "<Space>") {
delete this._parent.onEnterFrame;
trace("hi");
_root.skillarray[this._parent._parent._parent.id] = 0;
_root.createattribs(this._parent._parent._parent, this._parent._parent._parent.id);
}
Symbol 309 MovieClip Frame 36
_root.lemssaved = _root.lemssaved + 1;
_root.totalgone = _root.numkilled + _root.lemssaved;
trace("total gone: " + _root.totalgone);
trace("orig array length:" + _root.origarray.length);
if ((_root.whichlevel == 11) and (_root.totalgone == _root.numlems)) {
_root.gotoAndPlay("finale");
if (_root.myslot == 0) {
_root.savedstuff.data.slot0cheat = true;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1cheat = true;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2cheat = true;
}
} else if (_root.totalgone == _root.numlems) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
}
Symbol 309 MovieClip Frame 45
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip();
Symbol 311 MovieClip [lemguts4] Frame 1
stop();
Symbol 311 MovieClip [lemguts4] Frame 2
stop();
Symbol 311 MovieClip [lemguts4] Frame 30
stop();
Symbol 311 MovieClip [lemguts4] Frame 40
stop();
Symbol 311 MovieClip [lemguts4] Frame 50
stop();
Symbol 311 MovieClip [lemguts4] Frame 55
stop();
Symbol 331 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.pausy == true) || (_root.goahead != true)) {
if (_root.skillarray[this._parent._parent._parent.id] == 4) {
gotoAndPlay (14);
}
}
};
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 331 MovieClip Frame 7
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 331 MovieClip Frame 8
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 331 MovieClip Frame 9
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 331 MovieClip Frame 10
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 331 MovieClip Frame 11
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 331 MovieClip Frame 12
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 331 MovieClip Frame 13
if (this.hitter.hitTest(_root.lems.baddie)) {
_root.lems.baddie.boss0.hp = _root.lems.baddie.boss0.hp - 15;
}
if (_root.goahead == true) {
_root.swishSound.start();
}
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 331 MovieClip Frame 14
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 331 MovieClip Frame 15
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 331 MovieClip Frame 16
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 331 MovieClip Frame 17
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 331 MovieClip Frame 18
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 331 MovieClip Frame 19
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 331 MovieClip Frame 20
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 331 MovieClip Frame 21
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 720;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 331 MovieClip Frame 22
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 331 MovieClip Frame 28
this._parent.beenthrough = this._parent.beenthrough + 1;
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 332 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this._parent._parent.datarget == undefined) and (this._parent._parent.targetreached != true)) {
this.beenthrough = 0;
this._parent._parent.targetreached = false;
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
this.gotoAndStop(1);
onMouseDown = function () {
this._parent._parent.datarget = _root.lems._xmouse;
};
} else {
delete onMouseDown;
if (this._parent._parent.targetreached != true) {
if (this._parent._parent._x < this._parent._parent.datarget) {
this._parent._parent._xscale = 100;
this._parent._parent.Xvel = _root.speed;
if (this._parent._parent._x > (this._parent._parent.datarget - 5)) {
this._parent._parent._x = this._parent._parent.datarget;
this._parent._parent.targetreached = true;
}
var _local4 = ((this._parent._parent._x + _root.antiwalk._x) + (_root.speed * 64)) + 8;
var _local3 = (this._parent._parent._y + _root.antiwalk._y) - 17;
if (_root.antiwalk.hitTest(_local4, _local3, true) and (!_root.prowalk.hitTest(_local4, _local3, true))) {
this.gotoAndStop(2);
this.beenthrough = 0;
} else if (this.beenthrough > 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this._parent._parent.Xvel = _root.speed * -1;
this._parent._parent._xscale = -100;
if (this._parent._parent._x < (this._parent._parent.datarget + 5)) {
this._parent._parent._x = this._parent._parent.datarget;
this._parent._parent.targetreached = true;
}
this.beenthrough = 0;
var _local4 = ((this._parent._parent._x + _root.antiwalk._x) - (_root.speed * 80)) - 8;
var _local3 = (this._parent._parent._y + _root.antiwalk._y) - 17;
if (_root.antiwalk.hitTest(_local4, _local3, true) and (!_root.prowalk.hitTest(_local4, _local3, true))) {
this.gotoAndStop(2);
this.beenthrough = 0;
} else if (this.beenthrough > 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
} else {
this._parent._parent.datarget = undefined;
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
this.gotoAndStop(2);
}
}
};
Instance of Symbol 319 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._parent._parent._parent._xscale = -100)) {
this._xscale = -100;
} else {
this._xscale = 100;
}
}
Symbol 332 MovieClip Frame 2
stop();
Symbol 332 MovieClip Frame 3
stop();
Symbol 337 MovieClip Frame 1
if (this.timey == undefined) {
this.timey = 0;
}
this._parent._parent.shielded = true;
Symbol 337 MovieClip Frame 28
if (this.timey >= 9) {
this._parent._parent.shielded = false;
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
_root.applySound.start();
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = this._parent._parent._x;
q._y = this._parent._parent._y;
this.timey = 0;
} else {
if (_root.pausy != true) {
this.timey = this.timey + 1;
}
trace("timey: " + this.timey);
}
Symbol 341 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.pausy == true) || (_root.goahead != true)) {
if (_root.skillarray[this._parent._parent._parent.id] == 6) {
gotoAndPlay (9);
}
}
};
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 341 MovieClip Frame 4
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 341 MovieClip Frame 5
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 341 MovieClip Frame 6
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 341 MovieClip Frame 7
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 341 MovieClip Frame 8
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 341 MovieClip Frame 9
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 341 MovieClip Frame 10
if (this.hitter.hitTest(_root.lems.baddie)) {
_root.lems.baddie.boss0.hp = _root.lems.baddie.boss0.hp - 5;
}
if (_root.goahead == true) {
_root.swishSound.start();
}
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 341 MovieClip Frame 11
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 341 MovieClip Frame 12
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 341 MovieClip Frame 13
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 341 MovieClip Frame 14
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 341 MovieClip Frame 15
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 27);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 740;
a._yscale = a._xscale - 50;
c._xscale = a._xscale;
c._yscale = a._xscale - 50;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 341 MovieClip Frame 19
this._parent.beenthrough = this._parent.beenthrough + 1;
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 342 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this._parent._parent.datarget == undefined) and (this._parent._parent.targetreached != true)) {
this.beenthrough = 0;
this._parent._parent.targetreached = false;
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
this.gotoAndStop(1);
onMouseDown = function () {
this._parent._parent.datarget = _root.lems._xmouse;
};
} else {
delete onMouseDown;
if (this._parent._parent.targetreached != true) {
if (this._parent._parent._x < this._parent._parent.datarget) {
this._parent._parent._xscale = 100;
this._parent._parent.Xvel = _root.speed;
if (this._parent._parent._x > (this._parent._parent.datarget - 5)) {
this._parent._parent._x = this._parent._parent.datarget;
this._parent._parent.targetreached = true;
}
var _local4 = ((this._parent._parent._x + _root.antiwalk._x) + (_root.speed * 64)) + 8;
var _local3 = (this._parent._parent._y + _root.antiwalk._y) - 17;
if (_root.antiwalk.hitTest(_local4, _local3, true) and (!_root.prowalk.hitTest(_local4, _local3, true))) {
this.gotoAndStop(2);
this.beenthrough = 0;
} else if (this.beenthrough > 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this._parent._parent.Xvel = _root.speed * -1;
this._parent._parent._xscale = -100;
if (this._parent._parent._x < (this._parent._parent.datarget + 5)) {
this._parent._parent._x = this._parent._parent.datarget;
this._parent._parent.targetreached = true;
}
this.beenthrough = 0;
var _local4 = ((this._parent._parent._x + _root.antiwalk._x) - (_root.speed * 80)) - 8;
var _local3 = (this._parent._parent._y + _root.antiwalk._y) - 17;
if (_root.antiwalk.hitTest(_local4, _local3, true) and (!_root.prowalk.hitTest(_local4, _local3, true))) {
this.gotoAndStop(2);
this.beenthrough = 0;
} else if (this.beenthrough > 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
} else {
this._parent._parent.datarget = undefined;
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
this.gotoAndStop(2);
}
}
};
Instance of Symbol 319 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._parent._parent._parent._xscale = -100)) {
this._xscale = -100;
} else {
this._xscale = 100;
}
}
Symbol 342 MovieClip Frame 2
stop();
Symbol 342 MovieClip Frame 3
stop();
Symbol 364 MovieClip Frame 51
_root.lemssaved = _root.lemssaved + 1;
_root.totalgone = _root.numkilled + _root.lemssaved;
trace("total gone: " + _root.totalgone);
trace("orig array length:" + _root.origarray.length);
if ((_root.whichlevel == 11) and (_root.totalgone == _root.numlems)) {
_root.gotoAndPlay("finale");
if (_root.myslot == 0) {
_root.savedstuff.data.slot0cheat = true;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1cheat = true;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2cheat = true;
}
} else if (_root.totalgone == _root.numlems) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
}
Symbol 364 MovieClip Frame 60
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip();
Symbol 366 MovieClip [lemguts3] Frame 1
stop();
Symbol 366 MovieClip [lemguts3] Frame 2
stop();
Symbol 366 MovieClip [lemguts3] Frame 3
stop();
Symbol 366 MovieClip [lemguts3] Frame 4
stop();
Symbol 366 MovieClip [lemguts3] Frame 30
stop();
Symbol 366 MovieClip [lemguts3] Frame 40
stop();
Symbol 366 MovieClip [lemguts3] Frame 50
stop();
Symbol 366 MovieClip [lemguts3] Frame 55
stop();
Symbol 384 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.pausy == true) || (_root.goahead != true)) {
if (_root.skillarray[this._parent._parent._parent.id] == 4) {
gotoAndPlay (10);
trace("skipping ahead!!!!");
}
}
};
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 384 MovieClip Frame 2
if (this.hitter.hitTest(_root.lems.baddie)) {
_root.lems.baddie.boss0.hp = _root.lems.baddie.boss0.hp - 5;
}
if (_root.goahead == true) {
_root.swishSound.start();
}
Symbol 384 MovieClip Frame 5
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 384 MovieClip Frame 6
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 384 MovieClip Frame 7
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 384 MovieClip Frame 8
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 384 MovieClip Frame 9
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 384 MovieClip Frame 10
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 384 MovieClip Frame 11
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 384 MovieClip Frame 12
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 384 MovieClip Frame 13
if (this.hitter.hitTest(_root.lems.baddie)) {
_root.lems.baddie.boss0.hp = _root.lems.baddie.boss0.hp - 5;
}
if (_root.goahead == true) {
_root.swishSound.start();
}
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 384 MovieClip Frame 14
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 384 MovieClip Frame 15
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 384 MovieClip Frame 16
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 19);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 620;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 384 MovieClip Frame 21
this._parent.beenthrough = this._parent.beenthrough + 1;
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 385 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this._parent._parent.datarget == undefined) and (this._parent._parent.targetreached != true)) {
this.beenthrough = 0;
this._parent._parent.targetreached = false;
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
this.gotoAndStop(1);
onMouseDown = function () {
this._parent._parent.datarget = _root.lems._xmouse;
};
} else {
delete onMouseDown;
if (this._parent._parent.targetreached != true) {
if (this._parent._parent._x < this._parent._parent.datarget) {
this._parent._parent._xscale = 100;
this._parent._parent.Xvel = _root.speed;
if (this._parent._parent._x > (this._parent._parent.datarget - 5)) {
this._parent._parent._x = this._parent._parent.datarget;
this._parent._parent.targetreached = true;
}
var _local4 = ((this._parent._parent._x + _root.antiwalk._x) + (_root.speed * 64)) + 8;
var _local3 = (this._parent._parent._y + _root.antiwalk._y) - 17;
if (_root.antiwalk.hitTest(_local4, _local3, true) and (!_root.prowalk.hitTest(_local4, _local3, true))) {
this.gotoAndStop(2);
this.beenthrough = 0;
} else if (this.beenthrough > 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this._parent._parent.Xvel = _root.speed * -1;
this._parent._parent._xscale = -100;
if (this._parent._parent._x < (this._parent._parent.datarget + 5)) {
this._parent._parent._x = this._parent._parent.datarget;
this._parent._parent.targetreached = true;
}
this.beenthrough = 0;
var _local4 = ((this._parent._parent._x + _root.antiwalk._x) - (_root.speed * 80)) - 8;
var _local3 = (this._parent._parent._y + _root.antiwalk._y) - 17;
if (_root.antiwalk.hitTest(_local4, _local3, true) and (!_root.prowalk.hitTest(_local4, _local3, true))) {
this.gotoAndStop(2);
this.beenthrough = 0;
} else if (this.beenthrough > 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
} else {
this._parent._parent.datarget = undefined;
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
this.gotoAndStop(2);
}
}
};
Instance of Symbol 319 MovieClip in Symbol 385 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._parent._parent._parent._xscale = -100)) {
this._xscale = -100;
} else {
this._xscale = 100;
}
}
Symbol 385 MovieClip Frame 2
stop();
Symbol 385 MovieClip Frame 3
stop();
Symbol 390 MovieClip Frame 1
if (this.timey == undefined) {
this.timey = 0;
}
this._parent._parent.shielded = true;
Symbol 390 MovieClip Frame 20
if (this.timey >= 7) {
this._parent._parent.shielded = false;
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
_root.applySound.start();
q = _root.lems.insider.attachMovie("bling", "bling", 738291);
q._x = this._parent._parent._x;
q._y = this._parent._parent._y;
this.timey = 0;
} else {
if (_root.pausy != true) {
this.timey = this.timey + 1;
}
trace("timey: " + this.timey);
}
Symbol 401 MovieClip Frame 47
_root.lemssaved = _root.lemssaved + 1;
_root.totalgone = _root.numkilled + _root.lemssaved;
trace("total gone: " + _root.totalgone);
trace("orig array length:" + _root.origarray.length);
if ((_root.whichlevel == 11) and (_root.totalgone == _root.numlems)) {
_root.gotoAndPlay("finale");
if (_root.myslot == 0) {
_root.savedstuff.data.slot0cheat = true;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1cheat = true;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2cheat = true;
}
} else if (_root.totalgone == _root.numlems) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
}
Symbol 401 MovieClip Frame 58
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip();
Symbol 403 MovieClip [lemguts2] Frame 1
stop();
Symbol 403 MovieClip [lemguts2] Frame 2
stop();
Symbol 403 MovieClip [lemguts2] Frame 3
stop();
Symbol 403 MovieClip [lemguts2] Frame 30
stop();
Symbol 403 MovieClip [lemguts2] Frame 40
stop();
Symbol 403 MovieClip [lemguts2] Frame 50
stop();
Symbol 403 MovieClip [lemguts2] Frame 55
stop();
Symbol 422 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_root.pausy == true) || (_root.goahead != true)) {
if (_root.skillarray[this._parent._parent._parent.id] == 4) {
gotoAndPlay (10);
}
}
};
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 422 MovieClip Frame 4
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 422 MovieClip Frame 5
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 422 MovieClip Frame 6
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 422 MovieClip Frame 7
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 422 MovieClip Frame 8
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 422 MovieClip Frame 9
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 422 MovieClip Frame 10
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 422 MovieClip Frame 11
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
Symbol 422 MovieClip Frame 12
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 422 MovieClip Frame 13
if (this.hitter.hitTest(_root.lems.baddie)) {
_root.lems.baddie.boss0.hp = _root.lems.baddie.boss0.hp - 5;
}
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
if (_root.goahead == true) {
_root.swishSound.start();
}
Symbol 422 MovieClip Frame 14
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 422 MovieClip Frame 15
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 422 MovieClip Frame 16
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 422 MovieClip Frame 17
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 422 MovieClip Frame 18
if (_root.speed <= 1) {
if (this._parent._parent._parent._xscale == 100) {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) + ((_root.speed * 14) - (_root.speed * 2))) + 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.insider.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) - (_root.speed * 5);
c._y = day - _root.antiwalk._y;
_root.circcount = _root.circcount + 1;
}
} else {
var dax = (((this._parent._parent._parent._x + _root.antiwalk._x) - ((_root.speed * 20) + (_root.speed * 2))) - 8);
var day = ((this._parent._parent._parent._y + _root.antiwalk._y) - 17);
if (_root.antiwalk.hitTest(dax, day, true) and (!_root.prowalk.hitTest(dax, day, true))) {
c = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
a._xscale = 590;
a._yscale = a._xscale;
c._xscale = a._xscale;
c._yscale = a._xscale;
a._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
a._y = day - _root.antiwalk._y;
c._x = (dax - _root.antiwalk._x) + (_root.speed * 13);
c._y = day - _root.antiwalk._y;
this.beenthrough = false;
_root.circcount = _root.circcount + 1;
}
}
}
Symbol 422 MovieClip Frame 22
this._parent.beenthrough = this._parent.beenthrough + 1;
if (_root.speed > 1) {
gotoAndPlay (10);
}
Symbol 423 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this._parent._parent.datarget == undefined) and (this._parent._parent.targetreached != true)) {
this.beenthrough = 0;
this._parent._parent.targetreached = false;
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
this.gotoAndStop(1);
onMouseDown = function () {
this._parent._parent.datarget = _root.lems._xmouse;
};
} else {
delete onMouseDown;
if (this._parent._parent.targetreached != true) {
if (this._parent._parent._x < this._parent._parent.datarget) {
this._parent._parent._xscale = 100;
this._parent._parent.Xvel = _root.speed;
if (this._parent._parent._x > (this._parent._parent.datarget - 5)) {
this._parent._parent._x = this._parent._parent.datarget;
this._parent._parent.targetreached = true;
}
var _local4 = ((this._parent._parent._x + _root.antiwalk._x) + (_root.speed * 64)) + 8;
var _local3 = (this._parent._parent._y + _root.antiwalk._y) - 17;
if (_root.antiwalk.hitTest(_local4, _local3, true) and (!_root.prowalk.hitTest(_local4, _local3, true))) {
this.gotoAndStop(2);
this.beenthrough = 0;
} else if (this.beenthrough > 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this._parent._parent.Xvel = _root.speed * -1;
this._parent._parent._xscale = -100;
if (this._parent._parent._x < (this._parent._parent.datarget + 5)) {
this._parent._parent._x = this._parent._parent.datarget;
this._parent._parent.targetreached = true;
}
this.beenthrough = 0;
var _local4 = ((this._parent._parent._x + _root.antiwalk._x) - (_root.speed * 80)) - 8;
var _local3 = (this._parent._parent._y + _root.antiwalk._y) - 17;
if (_root.antiwalk.hitTest(_local4, _local3, true) and (!_root.prowalk.hitTest(_local4, _local3, true))) {
this.gotoAndStop(2);
this.beenthrough = 0;
} else if (this.beenthrough > 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
} else {
this._parent._parent.datarget = undefined;
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
this.gotoAndStop(2);
}
}
};
Instance of Symbol 319 MovieClip in Symbol 423 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._parent._parent._parent._xscale = -100)) {
this._xscale = -100;
} else {
this._xscale = 100;
}
}
Symbol 423 MovieClip Frame 2
stop();
Symbol 423 MovieClip Frame 3
stop();
Symbol 436 MovieClip Frame 40
_root.lemssaved = _root.lemssaved + 1;
_root.totalgone = _root.numkilled + _root.lemssaved;
trace("total gone: " + _root.totalgone);
if ((_root.whichlevel == 11) and (_root.totalgone == _root.numlems)) {
_root.gotoAndPlay("finale");
if (_root.myslot == 0) {
_root.savedstuff.data.slot0cheat = true;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1cheat = true;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2cheat = true;
}
} else if (_root.totalgone == _root.numlems) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
}
Symbol 436 MovieClip Frame 52
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip();
Symbol 438 MovieClip [lemguts1] Frame 1
stop();
Symbol 438 MovieClip [lemguts1] Frame 2
stop();
Symbol 438 MovieClip [lemguts1] Frame 30
stop();
Symbol 438 MovieClip [lemguts1] Frame 40
stop();
Symbol 438 MovieClip [lemguts1] Frame 50
stop();
Symbol 438 MovieClip [lemguts1] Frame 55
stop();
Symbol 446 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.goahead == true) {
this._parent._parent._x = this._parent._parent._x - this._parent._parent.Xvel;
}
};
Symbol 446 MovieClip Frame 10
if (_root.goahead == true) {
var yorby = eval ("_root.lems.insider.lem" + this._parent._parent.id);
var virty = (yorby._y + _root.lems._y);
var virtx = (yorby._x + _root.lems._x);
if (_root.antiwalk.hitTest(virtx, virty + 4, true)) {
f = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
f._x = this._parent._parent._x;
f._y = this._parent._parent._y;
f._xscale = 610;
f._yscale = f._xscale;
r = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
r._x = this._parent._parent._x;
r._y = this._parent._parent._y;
r._xscale = 610;
r._yscale = r._xscale;
_root.circcount = _root.circcount + 1;
} else {
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
}
}
Symbol 453 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.goahead == true) {
this._parent._parent.Xvel = this._parent._parent.Xvel - this._parent._parent.Xvel;
}
if ((_root.pausy == true) || (_root.goahead != true)) {
gotoAndPlay (1);
}
};
Symbol 453 MovieClip Frame 10
if (_root.goahead == true) {
var yorbish = this._parent._parent;
var virtx = (yorbish._x + _root.lems._x);
var virty = (yorbish._y + _root.lems._y);
if (this._parent._parent._xscale > 0) {
if (!_root.antiwalk.insider.hitTest(virtx + 5, virty - 3, true)) {
t = _root.magicwalk.insider.attachMovie("brick", "block", _root.circcount);
t._x = this._parent._parent._x + 5;
t._y = this._parent._parent._y - 3;
x = 0;
while (x < _root.numlems) {
var whodatt = eval ("_root.lems.insider.lem" + x);
if (t.hitTest(whodatt) and (whodatt != this._parent._parent)) {
if (this._parent._parent._xscale == 100) {
whodatt._x = whodatt._x + (t._width + 1);
whodatt._y = whodatt._y - 15;
} else {
whodatt._x = whodatt._x - (t._width + 1);
whodatt._y = whodatt._y - 15;
}
}
x++;
}
_root.circcount = _root.circcount + 1;
this._parent.beenhereonce = false;
} else {
if (this._parent.beenhereonce == true) {
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
this._parent._parent._xscale = 100;
}
this._parent.beenhereonce = true;
}
}
if (this._parent._parent._xscale < 0) {
if (!_root.antiwalk.insider.hitTest(virtx - 8, virty - 3, true)) {
t = _root.magicwalk.insider.attachMovie("brick", "block", _root.circcount);
t._x = this._parent._parent._x - 22;
t._y = this._parent._parent._y - 3;
x = 0;
while (x < _root.classarray.length) {
var whodatt = eval ("_root.lems.insider.lem" + x);
if (t.hitTest(whodatt) and (whodatt != this._parent._parent)) {
if (this._parent._parent._xscale == 100) {
whodatt._x = whodatt._x + (t._width + 1);
whodatt._y = whodatt._y - 15;
} else {
whodatt._x = whodatt._x - (t._width + 1);
whodatt._y = whodatt._y - 15;
}
}
x++;
}
_root.circcount = _root.circcount + 1;
this._parent.beenhereonce = false;
} else {
if (this._parent.beenhereonce == true) {
_root.skillarray[this._parent._parent.id] = 0;
_root.createattribs(this._parent._parent, this._parent._parent.id);
this._parent._parent._xscale = 100;
}
this._parent.beenhereonce = true;
}
}
}
Symbol 453 MovieClip Frame 16
this.onEnterFrame = function () {
if (_root.goahead == true) {
if (this._parent._parent._xscale == 100) {
this._parent._parent.Xvel = 0.5;
} else {
this._parent._parent.Xvel = -0.5;
}
}
};
Symbol 474 MovieClip Frame 47
_root.lemssaved = _root.lemssaved + 1;
_root.totalgone = _root.numkilled + _root.lemssaved;
trace("total gone: " + _root.totalgone);
trace("orig array length:" + _root.origarray.length);
if ((_root.whichlevel == 11) and (_root.totalgone == _root.numlems)) {
_root.gotoAndPlay("finale");
if (_root.myslot == 0) {
_root.savedstuff.data.slot0cheat = true;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1cheat = true;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2cheat = true;
}
} else if (_root.totalgone == _root.numlems) {
_root.attachMovie("lvldone", "lvldone", 4343434343);
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
}
Symbol 474 MovieClip Frame 59
this._parent._parent.unloadMovie();
this._parent._parent.removeMovieClip;
Symbol 476 MovieClip [lemguts0] Frame 1
stop();
Symbol 476 MovieClip [lemguts0] Frame 2
stop();
Symbol 476 MovieClip [lemguts0] Frame 3
stop();
this.onEnterFrame = function () {
this._parent.Xvel = this._parent.Xvel - this._parent.Xvel;
if (this._parent.blockplaced != true) {
trace(this._parent.id);
t = _root.magicwalk.insider.attachMovie("circ", "block" + this._parent.id, _root.circcount);
t._x = this._parent._x;
t._y = this._parent._y - 7;
t._width = this._parent._width;
t._height = this._parent._height + 25;
t._alpha = 0;
x = 0;
while (x < _root.classarray.length) {
var whobish = eval ("_root.lems.insider.lem" + x);
if (whobish != this._parent) {
if (t.hitTest(whobish)) {
if (whobish._x <= t._x) {
whobish._x = whobish._x - 25;
whobish._y = whobish._y + 5;
} else {
whobish._x = whobish._x + 25;
whobish._y = whobish._y + 5;
}
}
}
x++;
}
_root.circcount = _root.circcount + 1;
this._parent.blockplaced = true;
trace("blockplaced: " + this._parent.blockplaced);
trace("block is called: " + t);
}
};
Symbol 476 MovieClip [lemguts0] Frame 18
stop();
Symbol 476 MovieClip [lemguts0] Frame 30
stop();
Symbol 476 MovieClip [lemguts0] Frame 40
stop();
Instance of Symbol 132 MovieClip in Symbol 476 MovieClip [lemguts0] Frame 40
/* no clip actions */
Symbol 476 MovieClip [lemguts0] Frame 50
stop();
Symbol 476 MovieClip [lemguts0] Frame 55
stop();
Instance of Symbol 506 MovieClip [ropereel] "ropereel" in Symbol 512 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 511 MovieClip "kingbomb" in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 513 MovieClip [arrowbolt] Frame 1
this.onEnterFrame = function () {
if (this.colorset != true) {
if (this.isakingbomb != true) {
this.mycol = new Color(this.guts.feather);
this.mycol.setRGB(this.dacolor);
} else {
this.guts.kingbomb._visible = true;
this.guts.arrowinside._visible = false;
this.guts.feather._visible = false;
}
this.colorset = true;
if (this.isarope != true) {
this.guts.ropereel._visible = false;
}
}
if (((_root.antiwalk.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true) and (!_root.prowalk.insider.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) || (_root.lems.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) || (_root.magicwalk.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) {
if ((_root.antiwalk.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true) and (!_root.prowalk.insider.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) || (_root.magicwalk.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) {
this.hitsumpin = true;
}
if ((_root.lems.baddie.boss0.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true) || (_root.lems.baddie.boss1.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) || (_root.lems.baddie.boss2.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) {
this.hitboss = true;
this.hitsumpin = true;
}
if (_root.lems.insider.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true) and (this.hitsumpin != true)) {
h = 0;
while (h < _root.origarray.length) {
var whichlem = eval ("_root.lems.insider.lem" + h);
if (whichlem.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true) and (!whichlem.guts.dadude.texty.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) {
if ((this.isakingbomb != true) and (this.hitboss != true)) {
m = _root.lems.attachMovie("splode", "splode" + _root.splodecount, _root.splodecount);
m._x = this._x;
m._y = this._y;
m._xscale = 45;
m._yscale = m._xscale;
_root.splodecount = _root.splodecount + 1;
if (whichlem.shielded != true) {
whichlem.hp = whichlem.hp - 2;
}
this.unloadMovie();
this.removeMovieClip();
}
if (this.isakingbomb == true) {
if (this.hitboss != true) {
m = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
n = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
_root.circcount = _root.circcount + 1;
}
g = _root.lems.attachMovie("splode", "splode" + _root.splodecount, _root.splodecount);
g._x = this._x;
g._y = this._y;
g._xscale = 130;
g._yscale = g._xscale;
_root.splodecount = _root.splodecount + 1;
m._xscale = 1350;
m._yscale = m._xscale;
n._xscale = m._xscale;
n._yscale = m._yscale;
m._x = this._x;
m._y = this._y;
n._x = this._x;
n._y = this._y;
if (whichlem.shielded != true) {
whichlem.hp = whichlem.hp - 10;
}
this.unloadMovie();
this.removeMovieClip();
}
}
h++;
}
}
}
if (this.hitsumpin == true) {
this.Xvel = 0;
this.Yvel = this.Yvel - (this._Yvel / 2);
if (this.Xvel <= 0.5) {
if (this.isakingbomb == true) {
if (this.hitboss != true) {
m = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
n = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
_root.circcount = _root.circcount + 1;
}
g = _root.lems.attachMovie("splode", "splode" + _root.splodecount, _root.splodecount);
g._x = this._x;
g._y = this._y;
g._xscale = 130;
g._yscale = g._xscale;
_root.splodecount = _root.splodecount + 1;
m._xscale = 1350;
m._yscale = m._xscale;
n._xscale = m._xscale;
n._yscale = m._yscale;
m._x = this._x;
m._y = this._y;
n._x = this._x;
n._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
if (this.isabomb == true) {
if (this.hitboss != true) {
m = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
n = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
_root.circcount = _root.circcount + 1;
}
g = _root.lems.attachMovie("splode", "splode" + _root.splodecount, _root.splodecount);
g._x = this._x;
g._y = this._y;
g._xscale = 70;
g._yscale = g._xscale;
_root.splodecount = _root.splodecount + 1;
m._xscale = 650;
m._yscale = m._xscale;
n._xscale = m._xscale;
n._yscale = m._yscale;
m._x = this._x;
m._y = this._y;
n._x = this._x;
n._y = this._y;
if ((this.hitboss == true) and (_root.goahead == true)) {
_root.lems.baddie.boss.hp = _root.lems.baddie.boss.hp - 5;
}
this.removeMovieClip();
this.unloadMovie();
}
if (this.isarope == true) {
r = _root.lems.insider.createEmptyMovieClip("ropeholder" + _root.ropecount, _root.ropecount);
_root.ropetest.push(_root.ropecount);
e = r.attachMovie("ropesegment", "seg0", 0);
var c = 23;
r._x = this._x;
r._y = this._y;
e._x = (Math.cos(this.angle) * c) * -1;
e._y = (Math.sin(this.angle) * c) * -1;
e._xscale = 65;
e._yscale = e._xscale;
_root.ropecount = _root.ropecount + 1;
v = r.createEmptyMovieClip("segholder", 777777);
t = 1;
while (t < 150) {
p = v.attachMovie("ropesegment", "seg" + t, t);
p._xscale = 65;
p._yscale = p._xscale;
p._x = e._x;
p._y = e._y + (5 * t);
var virtx = ((p._x + _root.lems._x) + r._x);
var virty = ((p._y + _root.lems._y) + r._y);
if (_root.antiwalk.hitTest(virtx, virty, true) and (!_root.prowalk.hitTest(virtx, virty, true))) {
p.unloadMovie();
t = 151;
this.bottomlimit = p._y;
}
t++;
}
w = r.attachMovie("ropereel", "ropereel", 9999);
w._x = (Math.cos(this.angle) * c) * -1;
w._y = (Math.sin(this.angle) * c) * -1;
w._xscale = 65;
w._yscale = w._xscale;
w._rotation = this.finale;
q = r.attachMovie("arrow", "exit", 899765);
q._xscale = 75;
q._yscale = q._xscale * -1;
q._rotation = 90;
q._x = w._x + 10;
q._y = this.bottomlimit / 2;
q.bot = this.bottomlimit - 5;
r.onEnterFrame = function () {
q.virtualy = (q._y + r._y) + _root.antiwalk._y;
};
q.onPress = function () {
this.onMouseMove = function () {
this._y = r._ymouse;
if (r._xmouse < 0) {
this._yscale = 75;
this._x = w._x - 10;
} else {
this._yscale = -75;
this._x = w._x + 10;
}
if (this._y > this.bot) {
this._y = this.bot - 1;
}
if (this._y < 55) {
this._y = 56;
}
this.virtualy = (this._y + r._y) + _root.antiwalk._y;
};
};
q.onRelease = function () {
delete this.onMouseMove;
};
q.onReleaseOutside = function () {
delete this.onMouseMove;
};
}
if (this.isarope != true) {
if ((this.hitboss == true) and (_root.goahead == true)) {
this._x = this._x + _root.lems.baddie.boss.Xvel;
if (this.beenhurted != true) {
if (this.isabomb != true) {
if (_root.lems.baddie.boss0.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true)) {
_root.lems.baddie.boss0.hp = _root.lems.baddie.boss0.hp - 1;
}
if (_root.lems.baddie.boss1.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true)) {
_root.lems.baddie.boss1.hp = _root.lems.baddie.boss1.hp - 1;
}
if (_root.lems.baddie.boss2.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true)) {
_root.lems.baddie.boss2.hp = _root.lems.baddie.boss2.hp - 1;
}
}
this.beenhurted = true;
}
}
this._alpha = this._alpha - 3;
if (this._alpha <= 0) {
this.unloadMovie();
this.removeMovieClip();
}
} else {
delete this.onEnterFrame;
}
}
}
this.dax = this.Xvel;
this.day = this.Yvel;
this.angle = Math.atan2(this.day, this.dax);
this.finale = (this.angle * 180) / Math.PI;
this.guts._rotation = this.finale;
if (_root.goahead == true) {
this._x = this._x + this.Xvel;
this._y = this._y + this.Yvel;
}
if ((this.hitsumpin != true) and (_root.goahead == true)) {
if (this.Xvel > 0) {
this.Xvel = this.Xvel - 0.1;
}
if (this.Xvel < 0) {
this.Xvel = this.Xvel + 0.1;
}
this.Yvel = this.Yvel + 0.3;
}
if (this._y > (_root.lvlheight + Stage.height)) {
this.unloadMovie();
this.removeMovieClip();
}
};
Symbol 517 MovieClip [lvlbg0] Frame 1
this.cacheAsBitmap = true;
Symbol 534 MovieClip Frame 1
this.onEnterFrame = function () {
x = 0;
while (x < _root.origarray.length) {
var thing = eval ("_root.lems.insider.lem" + x);
if (this.pole.hitTest(thing) and (thing.dead != true)) {
thing.safe = true;
if (_root.flagup != true) {
this.gotoAndPlay("gotten");
_root.flagup = true;
}
}
x++;
}
};
stop();
Symbol 534 MovieClip Frame 35
gotoAndPlay (14);
Symbol 537 MovieClip Frame 1
_root.blingcount = 8764560 /* 0x85BC90 */;
this.onEnterFrame = function () {
x = 0;
while (x < _root.classarray.length) {
var whob = eval ("_root.lems.insider.lem" + x);
if (this.hitTest(whob)) {
_root.gems = _root.gems + 20;
delete this.onEnterFrame;
t = _root.lems.attachMovie("bling", "bling" + _root.blingcount, _root.blingcount);
t._x = this._x;
t._y = this._y;
t.pts = "+20";
_root.blingcount = _root.blingcount + 1;
_root.senineSound.start();
this.unloadMovie();
}
x++;
}
};
Symbol 540 MovieClip Frame 1
_root.blingcount = 8764560 /* 0x85BC90 */;
this.onEnterFrame = function () {
x = 0;
while (x < _root.classarray.length) {
var whob = eval ("_root.lems.insider.lem" + x);
if (this.hitTest(whob)) {
_root.gems = _root.gems + 75;
delete this.onEnterFrame;
t = _root.lems.attachMovie("bling", "bling" + _root.blingcount, _root.blingcount);
t._x = this._x;
t._y = this._y;
t.pts = "+75";
_root.blingcount = _root.blingcount + 1;
_root.senineSound.start();
this.unloadMovie();
}
x++;
}
};
Symbol 543 MovieClip Frame 1
_root.blingcount = 8764560 /* 0x85BC90 */;
this.onEnterFrame = function () {
x = 0;
while (x < _root.classarray.length) {
var whob = eval ("_root.lems.insider.lem" + x);
if (this.hitTest(whob)) {
_root.gems = _root.gems + 35;
delete this.onEnterFrame;
t = _root.lems.attachMovie("bling", "bling" + _root.blingcount, _root.blingcount);
t._x = this._x;
t._y = this._y;
t.pts = "+35";
_root.blingcount = _root.blingcount + 1;
_root.senineSound.start();
this.unloadMovie();
}
x++;
}
};
Symbol 544 MovieClip [lvlfg0] Frame 1
this.cacheAsBitmap = true;
this._parent._parent.w = 1425;
Symbol 546 MovieClip [lvlbg1] Frame 1
this.cacheAsBitmap = true;
Symbol 548 MovieClip [lvlfg1] Frame 1
this._parent._parent.w = 1300;
this.cacheAsBitmap = true;
Symbol 550 MovieClip [lvlbg2] Frame 1
this.cacheAsBitmap = true;
Symbol 552 MovieClip [lvlfg2] Frame 1
this._parent._parent.w = 700;
this.cacheAsBitmap = true;
Symbol 557 MovieClip [lvlbg5] Frame 1
this.cacheAsBitmap = true;
Symbol 559 MovieClip [lvlbg11] Frame 1
this.cacheAsBitmap = true;
Symbol 561 MovieClip [lvlbg10] Frame 1
this.cacheAsBitmap = true;
Symbol 563 MovieClip [lvlbg9] Frame 1
this.cacheAsBitmap = true;
Symbol 567 MovieClip [lvlbg8] Frame 1
this.cacheAsBitmap = true;
Symbol 570 MovieClip [lvlbg6] Frame 1
this.cacheAsBitmap = true;
Symbol 572 MovieClip [lvlbg7] Frame 1
this.cacheAsBitmap = true;
Symbol 574 MovieClip [lvlbg4] Frame 1
this.cacheAsBitmap = true;
Symbol 576 MovieClip [lvlbg3] Frame 1
this.cacheAsBitmap = true;
Symbol 578 MovieClip [lvlfg11] Frame 1
this._parent._parent.w = 2450;
this.cacheAsBitmap = true;
r = _root.lems.createEmptyMovieClip("baddie", -362810);
t = r.attachMovie("kingcannon", "boss0", 0);
t.hp = 75;
t._visible = true;
t._xscale = 70;
t._yscale = t._xscale;
t._x = 1890;
t._y = 150;
t.origscale = 70;
Symbol 580 MovieClip [lvlfg10] Frame 1
this._parent._parent.w = 1330;
this.cacheAsBitmap = true;
Symbol 582 MovieClip [lvlfg9] Frame 1
this._parent._parent.w = 2600;
r = _root.lems.createEmptyMovieClip("baddie", -362810);
t = r.attachMovie("kingarcher", "boss0", 0);
t.hp = 35;
t._visible = true;
t._xscale = 70;
t._yscale = t._xscale;
t._x = 280;
t._y = 150;
t.origscale = 70;
this.cacheAsBitmap = true;
Symbol 584 MovieClip [lvlfg8] Frame 1
this._parent._parent.w = 2600;
this.cacheAsBitmap = true;
Symbol 586 MovieClip [lvlfg6] Frame 1
this._parent._parent.w = 2600;
this.cacheAsBitmap = true;
Symbol 588 MovieClip [lvlfg7] Frame 1
this._parent._parent.w = 950;
r = _root.lems.createEmptyMovieClip("baddie", -362810);
e = r.attachMovie("kingbomber", "boss0", 1);
e.hp = 35;
e._visible = true;
e._xscale = 70;
e._yscale = e._xscale;
e._x = 470;
e._y = 200;
e.origscale = e._xscale;
this.cacheAsBitmap = true;
Symbol 590 MovieClip [lvlfg5] Frame 1
this._parent._parent.w = 1675;
r = _root.lems.createEmptyMovieClip("baddie", -362810);
t = r.attachMovie("ram", "boss0", 0);
t.hp = 35;
t.origscale = t._xscale;
t._x = 800;
t._y = 400;
this.cacheAsBitmap = true;
Symbol 593 MovieClip [lvlfg4] Frame 1
this._parent._parent.w = 700;
this.cacheAsBitmap = true;
Symbol 597 MovieClip Frame 1
this.onEnterFrame = function () {
x = 0;
while (x < _root.origarray.length) {
var thing = eval ("_root.lems.insider.lem" + x);
if (this.hitTest(thing) and (thing.dead != true)) {
_root.skillarray[thing.id] = 100;
_root.createattribs(thing, thing.id);
thing.dead = true;
}
x++;
}
};
Symbol 601 MovieClip Frame 8
stop();
Symbol 603 MovieClip [lvlfg3] Frame 1
this._parent._parent.w = 2050;
this.cacheAsBitmap = true;
Symbol 608 Button
on (release) {
trace("the orig array at the end is: " + _root.origarray);
_root.classarray = _root.origarray;
_root.initlvl(_root.whichlevel, _root.starttroops, _root.origarray, false, _root.startgems);
x = 0;
while (x < _root.origarray.length) {
_root.skillarray[x] = 0;
x++;
}
if (_root.myslot == 0) {
_root.savedstuff.data.slot0dudearray = _root.origarray;
_root.savedstuff.data.slot0blingbling = _root.startgems;
f = 0;
while (f < _root.origarray.length) {
_root.nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.hparray[f] = _root.orighps[_root.origarray[f]];
_root.savedstuff.data.slot0nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.savedstuff.data.slot0hparray[f] = _root.orighps[_root.origarray[f]];
f++;
}
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1dudearray = _root.origarray;
_root.savedstuff.data.slot1blingbling = _root.startgems;
f = 0;
while (f < _root.origarray.length) {
_root.nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.hparray[f] = _root.orighps[_root.origarray[f]];
_root.savedstuff.data.slot1nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.savedstuff.data.slot1hparray[f] = _root.orighps[_root.origarray[f]];
f++;
}
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2dudearray = _root.origarray;
_root.savedstuff.data.slot2blingbling = _root.startgems;
f = 0;
while (f < _root.origarray.length) {
_root.nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.hparray[f] = _root.orighps[_root.origarray[f]];
_root.savedstuff.data.slot2nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.savedstuff.data.slot2hparray[f] = _root.orighps[_root.origarray[f]];
f++;
}
}
_root.flagup = false;
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
this._parent.gotoAndPlay("collapse");
_root.drawing = false;
_root.adding = false;
_root.subtracting = false;
_root.aiming = false;
_root.map.inst.listbar.buildList();
_root.initSound();
}
Symbol 612 Button
on (release) {
_root.map._visible = true;
_root.mapup = true;
_root.pausy = true;
_root.classarray = _root.origarray;
x = 0;
while (x < _root.classarray.length) {
_root.skillarray[x] = 0;
x++;
}
_root.masky.insider.unloadMovie();
_root.prowalk.insider.unloadMovie();
_root.antiwalk.insider.unloadMovie();
_root.lems.insider.unloadMovie();
_root.flagup = false;
if (_root.myslot == 0) {
_root.savedstuff.data.slot0dudearray = _root.origarray;
_root.savedstuff.data.slot0blingbling = _root.startgems;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1dudearray = _root.origarray;
_root.savedstuff.data.slot1blingbling = _root.startgems;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2dudearray = _root.origarray;
_root.savedstuff.data.slot2blingbling = _root.startgems;
}
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
this._parent.gotoAndPlay("collapse");
_root.drawing = false;
_root.adding = false;
_root.subtracting = false;
_root.aiming = false;
_root.map.inst.listbar.buildList();
_root.mapSound.start(0, 9999);
}
Symbol 616 Button
on (release) {
if (_root.myslot == 0) {
_root.savedstuff.data.slot0dudearray = _root.origarray;
_root.savedstuff.data.slot0blingbling = _root.startgems;
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1dudearray = _root.origarray;
_root.savedstuff.data.slot1blingbling = _root.startgems;
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2dudearray = _root.origarray;
_root.savedstuff.data.slot2blingbling = _root.startgems;
}
_root.drawing = false;
_root.adding = false;
_root.subtracting = false;
_root.aiming = false;
_root.map.inst.listbar.buildList();
_root.gotoAndStop("goforit");
this._parent.gotoAndPlay("collapse");
}
Symbol 617 MovieClip Frame 1
_root.gems = _root.gems + _root.thebank;
_root.thebank = 0;
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
_root.dash.sel0.gotoAndStop("sel");
_root.dash.sel1.gotoAndStop("norm");
_root.dash.sel2.gotoAndStop("norm");
_root.dash.sel3.gotoAndStop("norm");
Symbol 619 MovieClip [retry] Frame 1
_root.stoptime = true;
_root.noMusic();
Symbol 619 MovieClip [retry] Frame 15
stop();
Symbol 619 MovieClip [retry] Frame 28
this.unloadMovie();
Symbol 621 Button
on (release) {
_root.deatharray.sort(Array.DESCENDING);
trace("the death array is: " + _root.deatharray);
trace("the array before the operation was: " + _root.classarray);
w = 0;
while (w < _root.deatharray.length) {
_root.classarray.splice(_root.deatharray[w], 1);
w++;
}
trace("the array after the operation is: " + _root.classarray);
if (this.numrecs != 0) {
x = 0;
while (x < this.numrecs) {
_root.classarray.push(0);
_root.skillarray.push(0);
_root.nextarray.push(100);
_root.hparray.push(5);
x++;
}
}
if (this.numrecs != 0) {
x = 0;
while (x < this.numrecs) {
_root.classarray.push(0);
_root.skillarray.push(0);
_root.nextarray.push(100);
_root.hparray.push(5);
x++;
}
}
_root.startroops = _root.classarray.length;
x = 0;
while (x < _root.classarray.length) {
_root.skillarray[x] = 0;
x++;
}
var hoobie = eval ("_root.map.dot" + _root.whichlevel);
var pathy = eval ("_root.map.path" + _root.whichlevel);
if (hoobie.beenbeat != true) {
t = _root.map.flagholder.attachMovie("flagwave", "flag", _root.flagcount);
t._xscale = 150;
t._yscale = t._xscale;
t._x = hoobie._x;
t._y = hoobie._y;
_root.flagcount = _root.flagcount + 1;
hoobie.beenbeat = true;
hoobie.gotoAndStop("beaten");
pathy.gotoAndPlay("go");
_root.map.dude._visible = false;
}
var gorny = (_root.whichlevel + 1);
var danext = eval ("_root.map.dot" + gorny);
if (_root.myslot == 0) {
if (danext.beenbeat != true) {
_root.savedstuff.data.slot0dalevel = _root.whichlevel + 1;
}
_root.savedstuff.data.slot0dudearray = _root.classarray;
_root.savedstuff.data.slot0blingbling = _root.gems2;
_root.savedstuff.data.slot0nextarray = _root.nextarray;
_root.savedstuff.data.slot0hparray = _root.hparray;
_root.savedstuff.flush;
}
if (_root.myslot == 1) {
if (danext.beenbeat != true) {
_root.savedstuff.data.slot1dalevel = _root.whichlevel + 1;
}
_root.savedstuff.data.slot1dudearray = _root.classarray;
_root.savedstuff.data.slot1blingbling = _root.gems2;
_root.savedstuff.data.slot1nextarray = _root.nextarray;
_root.savedstuff.data.slot1hparray = _root.hparray;
_root.savedstuff.flush;
}
if (_root.myslot == 2) {
if (danext.beenbeat != true) {
_root.savedstuff.data.slot2dalevel = _root.whichlevel + 1;
}
_root.savedstuff.data.slot2dudearray = _root.classarray;
_root.savedstuff.data.slot2blingbling = _root.gems2;
_root.savedstuff.data.slot2nextarray = _root.nextarray;
_root.savedstuff.data.slot2hparray = _root.hparray;
_root.savedstuff.flush;
}
_root.masky.insider.unloadMovie();
_root.prowalk.insider.unloadMovie();
_root.antiwalk.insider.unloadMovie();
_root.lems.insider.unloadMovie();
_root.flagup = false;
_root.startgems = _root.gems2;
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
_root.drawing = false;
_root.adding = false;
_root.subtracting = false;
_root.aiming = false;
_root.map.inst.listbar.buildList();
this._parent.gotoAndPlay("collapse");
_root.gotoAndPlay("goforit");
}
Symbol 622 Button
on (release) {
_root.deatharray.sort(Array.DESCENDING);
trace("the death array is: " + _root.deatharray);
trace("the array before the operation was: " + _root.classarray);
w = 0;
while (w < _root.deatharray.length) {
_root.classarray.splice(_root.deatharray[w], 1);
w++;
}
trace("the array after the operation is: " + _root.classarray);
if (this.numrecs != 0) {
x = 0;
while (x < this.numrecs) {
_root.classarray.push(0);
_root.skillarray.push(0);
_root.nextarray.push(100);
_root.hparray.push(5);
x++;
}
}
_root.map._visible = true;
_root.mapup = true;
_root.pausy = true;
_root.startroops = _root.classarray.length;
x = 0;
while (x < _root.classarray.length) {
_root.skillarray[x] = 0;
x++;
}
var hoobie = eval ("_root.map.dot" + _root.whichlevel);
var pathy = eval ("_root.map.path" + _root.whichlevel);
if (hoobie.beenbeat != true) {
t = _root.map.flagholder.attachMovie("flagwave", "flag", _root.flagcount);
t._xscale = 150;
t._yscale = t._xscale;
t._x = hoobie._x;
t._y = hoobie._y;
_root.flagcount = _root.flagcount + 1;
hoobie.beenbeat = true;
hoobie.gotoAndStop("beaten");
pathy.gotoAndPlay("go");
_root.map.dude._visible = false;
}
var gorny = (_root.whichlevel + 1);
var danext = eval ("_root.map.dot" + gorny);
if (_root.myslot == 0) {
if (danext.beenbeat != true) {
_root.savedstuff.data.slot0dalevel = _root.whichlevel + 1;
}
_root.savedstuff.data.slot0dudearray = _root.classarray;
_root.savedstuff.data.slot0blingbling = _root.gems2;
_root.savedstuff.data.slot0nextarray = _root.nextarray;
_root.savedstuff.data.slot0hparray = _root.hparray;
_root.savedstuff.flush;
}
if (_root.myslot == 1) {
if (danext.beenbeat != true) {
_root.savedstuff.data.slot1dalevel = _root.whichlevel + 1;
}
_root.savedstuff.data.slot1dudearray = _root.classarray;
_root.savedstuff.data.slot1blingbling = _root.gems2;
_root.savedstuff.data.slot1nextarray = _root.nextarray;
_root.savedstuff.data.slot1hparray = _root.hparray;
_root.savedstuff.flush;
}
if (_root.myslot == 2) {
if (danext.beenbeat != true) {
_root.savedstuff.data.slot2dalevel = _root.whichlevel + 1;
}
_root.savedstuff.data.slot2dudearray = _root.classarray;
_root.savedstuff.data.slot2blingbling = _root.gems2;
_root.savedstuff.data.slot2nextarray = _root.nextarray;
_root.savedstuff.data.slot2hparray = _root.hparray;
_root.savedstuff.flush;
}
_root.masky.insider.unloadMovie();
_root.prowalk.insider.unloadMovie();
_root.antiwalk.insider.unloadMovie();
_root.lems.insider.unloadMovie();
_root.flagup = false;
_root.startgems = _root.gems2;
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
this._parent.gotoAndPlay("collapse");
_root.drawing = false;
_root.adding = false;
_root.subtracting = false;
_root.aiming = false;
_root.map.inst.listbar.buildList();
_root.mapSound.start(0, 9999);
}
Symbol 633 Button
on (release) {
trace("the orig array at the end is: " + _root.origarray);
_root.initlvl(_root.whichlevel, _root.starttroops, _root.origarray, false, _root.startgems);
x = 0;
while (x < _root.origarray.length) {
_root.skillarray[x] = 0;
x++;
}
_root.flagup = false;
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
if (_root.myslot == 0) {
_root.savedstuff.data.slot0dudearray = _root.origarray;
_root.savedstuff.data.slot0blingbling = _root.startgems;
f = 0;
while (f < _root.origarray.length) {
_root.nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.hparray[f] = _root.orighps[_root.origarray[f]];
_root.savedstuff.data.slot0nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.savedstuff.data.slot0hparray[f] = _root.orighps[_root.origarray[f]];
f++;
}
}
if (_root.myslot == 1) {
_root.savedstuff.data.slot1dudearray = _root.origarray;
_root.savedstuff.data.slot1blingbling = _root.startgems;
f = 0;
while (f < _root.origarray.length) {
_root.nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.hparray[f] = _root.orighps[_root.origarray[f]];
_root.savedstuff.data.slot1nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.savedstuff.data.slot1hparray[f] = _root.orighps[_root.origarray[f]];
f++;
}
}
if (_root.myslot == 2) {
_root.savedstuff.data.slot2dudearray = _root.origarray;
_root.savedstuff.data.slot2blingbling = _root.startgems;
f = 0;
while (f < _root.origarray.length) {
_root.nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.hparray[f] = _root.orighps[_root.origarray[f]];
_root.savedstuff.data.slot2nextarray[f] = _root.orignexts[_root.origarray[f]];
_root.savedstuff.data.slot2hparray[f] = _root.orighps[_root.origarray[f]];
f++;
}
}
_root.drawing = false;
_root.adding = false;
_root.subtracting = false;
_root.aiming = false;
_root.map.inst.listbar.buildList();
this._parent.gotoAndPlay("collapse");
_root.initSound();
}
Symbol 650 MovieClip Frame 1
_root.starttroops = _root.origarray.length;
_root.gems = _root.gems + _root.thebank;
_root.thebank = 0;
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
_root.dash.sel0.gotoAndStop("sel");
_root.dash.sel1.gotoAndStop("norm");
_root.dash.sel2.gotoAndStop("norm");
_root.dash.sel3.gotoAndStop("norm");
this.numrecs = 0;
this.numtries = _root.starttroops - _root.numkilled;
x = 0;
while (x < this.numtries) {
var rollem = random(10);
if (_root.classarray.length < 5) {
if (rollem >= 9) {
this.numrecs = this.numrecs + 1;
}
}
x++;
}
this.curtroops = this.numtries + this.numrecs;
this.boy = 0;
this.bonus = 0;
this.interim = _root.timey;
this.onEnterFrame = function () {
if (this.interim > 0) {
this.interim = this.interim - 7;
this.boy = this.boy + 1;
if (this.boy == 8) {
_root.gems = _root.gems + 20;
this.bonus = this.bonus + 20;
this.boy = 0;
_root.senineSound.start();
_root.senineSound.setVolume(50);
}
if (this.interim <= 0) {
this.interim = 0;
delete this.onEnterFrame;
}
}
};
Symbol 652 MovieClip [lvldone] Frame 1
stopAllSounds();
_root.stoptime = true;
_root.noMusic();
Symbol 652 MovieClip [lvldone] Frame 15
stop();
Symbol 652 MovieClip [lvldone] Frame 28
this.unloadMovie();
Symbol 678 MovieClip Frame 83
p = 0;
while (p < _root.classarray.length) {
var whotosave = eval ("_root.lems.insider.lem" + p);
whotosave.safe = true;
whotosave.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.drawing = false;
_root.flagup = true;
p++;
}
stop();
Symbol 682 MovieClip Frame 7
if (_root.antiwalk.insider.hitTest(this._parent._parent.virtualx, this._parent._parent.virtualy, true)) {
this._parent._parent.Yvel = _root.speed * 12;
}
Symbol 683 MovieClip Frame 1
stop();
Symbol 683 MovieClip Frame 2
stop();
Symbol 683 MovieClip Frame 3
stop();
Symbol 683 MovieClip Frame 4
stop();
Instance of Symbol 685 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
var thecap = this._parent._parent.hp;
var origscale = this._parent._xscale;
}
onClipEvent (enterFrame) {
if (this._parent._parent.hp > 0) {
this._xscale = (this._parent._parent.hp / thecap) * 100;
if (this._parent._parent._xscale == -100) {
this._parent._xscale = origscale * -1;
} else {
this._parent._xscale = origscale;
}
} else {
this._xscale = 0;
this._parent._parent.guts.gotoAndStop("death");
this._parent._parent.Xvel = 0;
if ((_root.antiwalk.insider.hitTest(this._parent._parent.virtualx, this._parent._parent.virtualy, true) and (!_root.prowalk.insider.hitTest(this._parent._parent.virtualx, this._parent._parent.virtualy, true))) || (_root.magicwalk.insider.hitTest(this._parent._parent.virtualx, this._parent._parent.virtualy, true))) {
this._parent._parent.dead = true;
this._parent._parent._alpha = this._parent._parent._alpha - 1;
if (this._parent._parent._alpha <= 0) {
delete this.onEnterFrame;
delete this._parent.onEnterFrame;
delete this._parent._parent.onEnterFrame;
}
}
}
}
Symbol 688 MovieClip [ram] Frame 1
checkAction = function () {
var _local3 = random(3);
var _local4 = random(2);
if (_local4 == 1) {
this._xscale = this._xscale * -1;
}
if (_local3 == 0) {
this.guts.gotoAndStop("stand");
this.Xvel = 0;
}
if (_local3 == 1) {
this.guts.gotoAndStop("walk");
if (this._xscale > 0) {
this.Xvel = _root.speed;
} else {
this.Xvel = _root.speed * -1;
}
}
if (_local3 == 2) {
this.guts.gotoAndStop("charge");
if (this._xscale > 0) {
this.Xvel = _root.speed * 4.5;
} else {
this.Xvel = _root.speed * -4.5;
}
}
this.timer = 0;
};
this.onEnterFrame = function () {
_root.badphysics(this, 1, 4);
if (this.timeset != true) {
this.timer = 0;
this.timeset = true;
}
if (_root.goahead == true) {
this.timer = this.timer + 1;
}
if (this.timer >= 50) {
checkAction();
}
};
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 2
stop();
Symbol 698 MovieClip [curse] Frame 1
this.cur1._visible = false;
this.cur2._visible = false;
this.cur3._visible = false;
Symbol 704 MovieClip Frame 61
this._parent._parent.removeMovieClip();
Symbol 705 MovieClip Frame 1
stop();
a = _root.lems.attachMovie("arrowbolt", "arrow" + _root.arrowcount, _root.arrowcount);
_root.arrowcount = _root.arrowcount + 1;
a.dacolor = 4869020 /* 0x4A4B9C */;
this.power = random(100) + 25;
this.finale = 45;
a.guts._rotation = -135;
this.newangle = this.finale * (Math.PI/180);
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = (Math.sin(this.newangle) * (this.power / 10)) * -1;
a.Xvel = (Math.cos(this.newangle) * (this.power / 10)) * -1;
a._x = (this._parent._x + (Math.cos(this.newangle) * 55)) - 70;
a._y = (this._parent._y + (Math.sin(this.newangle) * 55)) - 82;
Symbol 705 MovieClip Frame 2
stop();
a = _root.lems.attachMovie("arrowbolt", "arrow" + _root.arrowcount, _root.arrowcount);
_root.arrowcount = _root.arrowcount + 1;
a.dacolor = 4869020 /* 0x4A4B9C */;
this.power = random(100) + 1;
this.finale = -25;
a.guts._rotation = 135;
this.newangle = this.finale * (Math.PI/180);
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = (Math.sin(this.newangle) * (this.power / 10)) * -1;
a.Xvel = (Math.cos(this.newangle) * (this.power / 10)) * -1;
a._x = (this._parent._x + (Math.cos(this.newangle) * 55)) - 90;
a._y = (this._parent._y + (Math.sin(this.newangle) * 55)) + 29;
Symbol 705 MovieClip Frame 3
stop();
Symbol 705 MovieClip Frame 4
stop();
Symbol 706 MovieClip [kingarcher] Frame 1
checkAction = function () {
var _local2 = random(3);
if (this.dead == true) {
_local2 = 100;
}
if (_local2 == 0) {
this.guts.gotoAndStop("angle0");
}
if (_local2 == 1) {
this.guts.gotoAndStop("angle1");
}
if (_local2 == 2) {
this.guts.gotoAndStop("pause");
}
this.timer = 0;
};
this.onEnterFrame = function () {
_root.badphysics(this, 0, 4);
this._xscale = 70;
if (this.Xvel > 0) {
this.Xvel = this.Xvel - 0.1;
}
if (this.Xvel < 0) {
this.Xvel = this.Xvel + 0.1;
}
if ((this.Xvel > -0.1) and (this.Xvel < 0.1)) {
this.Xvel = 0;
}
if (this.timeset != true) {
this.timer = 0;
this.timeset = true;
}
if (_root.goahead == true) {
this.timer = this.timer + 1;
}
if (this.timer >= 25) {
checkAction();
}
};
Symbol 724 MovieClip Frame 1
stop();
Symbol 724 MovieClip Frame 2
stop();
a = _root.lems.attachMovie("arrowbolt", "arrow" + _root.arrowcount, _root.arrowcount);
_root.arrowcount = _root.arrowcount + 1;
a.dacolor = 4869020 /* 0x4A4B9C */;
this.power = random(40) + 75;
this.finale = 45;
a.guts._rotation = -135;
this.newangle = this.finale * (Math.PI/180);
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = (Math.sin(this.newangle) * (this.power / 10)) * -1;
a.Xvel = (Math.cos(this.newangle) * (this.power / 10)) * -1;
a._x = (this._parent._x + (Math.cos(this.newangle) * 55)) - 38;
a._y = (this._parent._y + (Math.sin(this.newangle) * 55)) - 100;
a.isakingbomb = true;
Symbol 724 MovieClip Frame 3
stop();
a = _root.lems.attachMovie("arrowbolt", "arrow" + _root.arrowcount, _root.arrowcount);
_root.arrowcount = _root.arrowcount + 1;
a.dacolor = 4869020 /* 0x4A4B9C */;
this.power = random(40) + 75;
this.finale = -45;
a.guts._rotation = 135;
this.newangle = this.finale * (Math.PI/180);
a._xscale = 60;
a._yscale = a._xscale;
a.Yvel = Math.sin(this.newangle) * (this.power / 10);
a.Xvel = Math.cos(this.newangle) * (this.power / 10);
a._x = (this._parent._x + (Math.cos(this.newangle) * 55)) - 40;
a._y = (this._parent._y + (Math.sin(this.newangle) * 55)) - 25;
a.isakingbomb = true;
Symbol 724 MovieClip Frame 4
stop();
Symbol 725 MovieClip [kingbomber] Frame 1
checkAction = function () {
var _local2 = random(3);
if (this.dead == true) {
_local2 = 100;
}
if (_local2 == 0) {
this.guts.gotoAndStop("throwleft");
}
if (_local2 == 1) {
this.guts.gotoAndStop("throwright");
}
if (_local2 == 2) {
this.guts.gotoAndStop("pause");
}
this.timer = 0;
};
this.onEnterFrame = function () {
if (this.Xvel > 0) {
this.Xvel = this.Xvel - 0.1;
}
if (this.Xvel < 0) {
this.Xvel = this.Xvel + 0.1;
}
if ((this.Xvel > -0.1) and (this.Xvel < 0.1)) {
this.Xvel = 0;
}
_root.badphysics(this, 0, 4);
if (this.timeset != true) {
this.timer = 0;
this.timeset = true;
}
if (_root.goahead == true) {
this.timer = this.timer + 1;
}
if (this.timer >= 25) {
if (this.dead != true) {
checkAction();
}
}
};
Symbol 745 MovieClip Frame 21
stop();
Symbol 756 MovieClip Frame 15
t = _root.lems.cannonballs.attachMovie("cannonball", "cball" + _root.cballcounter, _root.cballcounter);
_root.cballcounter = _root.cballcounter + 1;
t._x = this._parent._parent._x - 50;
t._y = this._parent._parent._y - 10;
t.Yvel = random(25) + 15;
t.Xvel = t.Yvel;
Symbol 756 MovieClip Frame 65
this._parent._parent.ready = true;
this._parent.gotoAndStop("rest");
Symbol 771 MovieClip Frame 41
stop();
this.dead = true;
Symbol 772 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 2
stop();
Symbol 772 MovieClip Frame 3
stop();
Symbol 773 MovieClip [kingcannon] Frame 1
this.ready = true;
checkAction = function () {
var _local2 = random(3);
if (this.dead == true) {
_local2 = 100;
}
if (_local2 == 0) {
this.guts.gotoAndStop("rest");
}
if (_local2 == 1) {
this.guts.gotoAndStop("fire");
this.ready = false;
}
if (_local2 == 2) {
this.guts.gotoAndStop("rest");
}
this.timer = 0;
};
this.onEnterFrame = function () {
if (this.Xvel > 0) {
this.Xvel = this.Xvel - 0.1;
}
if (this.Xvel < 0) {
this.Xvel = this.Xvel + 0.1;
}
if ((this.Xvel > -0.1) and (this.Xvel < 0.1)) {
this.Xvel = 0;
}
_root.badphysics(this, 0, 4);
if (this.timeset != true) {
this.timer = 0;
this.timeset = true;
}
if (_root.goahead == true) {
if (this.ready == true) {
this.timer = this.timer + 1;
} else {
this.timer = 0;
}
}
if (this.timer >= 60) {
if (this.dead != true) {
checkAction();
}
}
};
Symbol 785 MovieClip [cannonball] Frame 1
this.bounce = this.Yvel;
this.mytimer = 0;
p = 1;
while (p < 6) {
var foing = eval ("this.num" + p);
foing._visible = false;
p++;
}
this.onEnterFrame = function () {
if (_root.goahead == true) {
if (this._y > (_root.htarray[_root.whichlevel] + Stage.height)) {
this.unloadMovie();
this.removeMovieClip();
}
this._x = this._x - this.Xvel;
this.Xvel = this.Xvel / 1.01;
this._y = this._y - this.Yvel;
this.Yvel = this.Yvel - 1;
this.leftedge = (this._x - (this._width / 2)) + _root.lems._x;
this.midvert = (this._y - (this._height / 2)) + _root.lems._y;
this.rightedge = (this._x + (this._width / 2)) + _root.lems._x;
this.topvert = (this._y - this._height) + _root.lems._y;
if ((((((_root.antiwalk.hitTest(this.leftedge, this.midvert, true) and (!_root.prowalk.hitTest(this.leftedge, this.midvert, true))) || (_root.magicwalk.insider.hitTest(this.leftedge, this.midvert, true))) || (_root.antiwalk.hitTest(this.rightedge, this.midvert, true) and (!_root.prowalk.hitTest(this.rightedge, this.midvert, true)))) || (_root.magicwalk.insider.hitTest(this.rightedge, this.midvert, true))) || (this.leftedge <= (0 + _root.lems._x))) || (this.rightedge >= (_root.warray[_root.whichlevel] + Stage.width))) {
if ((_root.antiwalk.hitTest(this.leftedge, this.midvert, true) and (!_root.prowalk.hitTest(this.leftedge, this.midvert, true))) || (_root.magicwalk.insider.hitTest(this.leftedge, this.midvert, true))) {
if (this.Xvel < 0) {
this.Xvel = this.Xvel * -0.8;
}
}
if ((_root.antiwalk.hitTest(this.rightedge, this.midvert, true) and (!_root.prowalk.hitTest(this.rightedge, this.midvert, true))) || (_root.magicwalk.insider.hitTest(this.rightedge, this.midvert, true))) {
if (this.Xvel > 0) {
this.Xvel = this.Xvel * -0.8;
}
}
this.daterm = Math.abs(this.Xvel);
if (this.daterm > 0.5) {
_root.tinkSound.start();
}
this.Xvel = this.Xvel * -0.8;
this._x = this._x - this.Xvel;
}
if ((_root.antiwalk.hitTest(this._x + _root.lems._x, this.topvert, true) and (!_root.prowalk.insider.hitTest(this._x + _root.lems._x, this.topvert, true))) || (_root.magicwalk.insider.hitTest(this._x + _root.lems._x, this.topvert, true))) {
this.termy = Math.abs(this.bounce);
if (this.termy > 2) {
_root.tinkSound.start();
}
this.Yvel = this.bounce * -1;
this.bounce = this.bounce / 1.2;
this._y = this._y - this.Yvel;
}
if ((_root.antiwalk.insider.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true) and (!_root.prowalk.insider.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) || (_root.magicwalk.insider.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) {
this.termy = Math.abs(this.bounce);
if (this.termy > 2) {
_root.tinkSound.start();
}
this.Yvel = this.bounce;
this.bounce = this.bounce / 1.2;
this._y = this._y - this.Yvel;
}
if (((((this.Xvel < 1) and (this.Yvel < 1)) and _root.antiwalk.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true)) and (!_root.prowalk.insider.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) || (((this.Xvel < 1) and (this.Yvel < 1)) and _root.magicwalk.insider.hitTest(this._x + _root.lems._x, this._y + _root.lems._y, true))) {
this.mytimer = this.mytimer + 1;
this.mytime = Math.floor(this.mytimer / 15);
this.turnoff = mytime - 1;
var showit = eval ("this.num" + this.mytime);
var turngo = eval ("this.num" + this.turnoff);
showit._visible = true;
turngo._visible = false;
if (mytime > 5) {
m = _root.prowalk.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
n = _root.masker.insider.attachMovie("circ", "circ" + _root.circcount, _root.circcount);
_root.circcount = _root.circcount + 1;
g = _root.lems.attachMovie("splode", "splode" + _root.splodecount, _root.splodecount);
g._x = this._x;
g._y = this._y;
g._xscale = 430;
g._yscale = g._xscale;
_root.splodecount = _root.splodecount + 1;
m._xscale = 3750;
m._yscale = m._xscale;
n._xscale = m._xscale;
n._yscale = m._yscale;
m._x = this._x;
m._y = this._y;
n._x = this._x;
n._y = this._y;
this.unloadMovie();
this.removeMovieClip();
}
}
}
};
Symbol 789 MovieClip [showhp] Frame 1
this.onEnterFrame = function () {
this._x = this._x + this.Xvel;
};
Symbol 789 MovieClip [showhp] Frame 28
this.unloadMovie();
Symbol 794 MovieClip [pauser] Frame 15
stop();
Symbol 794 MovieClip [pauser] Frame 28
this.unloadMovie();
this.removeMovieClip();
Symbol 803 MovieClip [bling] Frame 27
this.unloadMovie();
Symbol 821 MovieClip Frame 25
stop();
Symbol 824 Button
on (release) {
_root.gotoAndPlay("goforit");
}
Symbol 826 Button
on (keyPress "q") {
_root.qset = false;
if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
_root.qset = true;
}
if ((_root._quality == "LOW") and (_root.qset != true)) {
_root._quality = "HIGH";
_root.qset = true;
}
if ((_root._quality == "HIGH") and (_root.qset != true)) {
_root._quality = "MEDIUM";
_root.qset = true;
}
}
Symbol 837 Button
on (release) {
_root.gotoAndStop("finale");
}
Symbol 846 Button
on (release) {
getURL ("http://www.bomtoons.com", _blank);
}
Symbol 852 Button
on (release) {
_root.gotoAndPlay("slots");
_root.stopAllSounds();
}
Symbol 856 Button
on (release) {
_root.stopAllSounds();
_root.gotoAndPlay("instructions");
}
Symbol 860 Button
on (release) {
_root.gotoAndPlay("story");
_root.stopAllSounds();
}
Symbol 864 Button
on (release) {
getURL ("http://www.bomtoons.com/bookofmormoncartoons.html", _blank);
}
Symbol 866 MovieClip Frame 24
stop();
Symbol 868 MovieClip Frame 1
stopAllSounds();
Symbol 868 MovieClip Frame 452
stop();
Symbol 897 MovieClip Frame 34
gotoAndPlay (13);
Symbol 904 MovieClip Frame 1
x = 0;
while (x < 3) {
var thing = eval ("this.tit" + x);
thing._visible = false;
x++;
}
var whoshow = eval ("this.tit" + this.daslot);
whoshow._visible = true;
Instance of Symbol 897 MovieClip "flagger" in Symbol 904 MovieClip Frame 1
/* no clip actions */
Symbol 910 Button
on (release) {
_root.gotoAndStop("goforit");
}
Symbol 912 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 965 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "DIG STRAIGHT DOWN THROUGH TERRAIN";
}
}
on (release) {
if (_root.gems >= 50) {
_root.thebank = 50;
_root.gems = _root.gems - 50;
_root.loadedup = true;
_root.loadarray = new Array(0, 1, 200, 5, 0, 0, 0);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 968 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "TROOPS THAT HIT YOU WILL TURN AROUND";
}
}
on (release) {
if (_root.gems >= 20) {
_root.thebank = 20;
_root.gems = _root.gems - 20;
_root.loadedup = true;
_root.loadarray = new Array(0, 2, 200, 5, 0, 0, 0);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 971 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "BUILD BLOCKS AT AN UPWARD ANGLE";
}
}
on (release) {
if (_root.gems >= 100) {
_root.thebank = 100;
_root.gems = _root.gems - 100;
_root.loadedup = true;
_root.loadarray = new Array(0, 3, 200, 5, 0, 0, 0);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 974 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "UPGRADE PEASANT TO I MELEE";
}
}
on (release) {
if (_root.gems >= 100) {
_root.thebank = 100;
_root.gems = _root.gems - 100;
_root.loadedup = true;
_root.loadarray = new Array(1, 0, 300, 10, 0, 0, 1);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 977 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "UPGRADE I MELEE TO II MELEE";
}
}
on (release) {
if (_root.gems >= 300) {
_root.thebank = 300;
_root.gems = _root.gems - 300;
_root.loadedup = true;
_root.loadarray = new Array(2, 0, 750, 25, 1, 1, 2);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 980 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "UPGRADE II MELEE TO III MELEE";
}
}
on (release) {
if (_root.gems >= 750) {
_root.thebank = 750;
_root.gems = _root.gems - 750;
_root.loadedup = true;
_root.loadarray = new Array(3, 0, "MAXED OUT", 40, 2, 2, 3);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 981 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "UPGRADE PEASANT TO I LONG-RANGE";
}
}
on (release) {
if (_root.gems >= 100) {
_root.thebank = 100;
_root.gems = _root.gems - 100;
_root.loadedup = true;
_root.loadarray = new Array(4, 0, 300, 5, 0, 0, 4);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 982 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "UPGRADE I LONG-RANGE TO II LONG-RANGE";
}
}
on (release) {
if (_root.gems >= 300) {
_root.thebank = 300;
_root.gems = _root.gems - 300;
_root.loadedup = true;
_root.loadarray = new Array(5, 0, 750, 15, 4, 4, 5);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 983 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "UPGRADE II LONG-RANGE TO III LONG RANGE";
}
}
on (release) {
if (_root.gems >= 750) {
_root.thebank = 750;
_root.gems = _root.gems - 750;
_root.loadedup = true;
_root.loadarray = new Array(6, 0, "MAXED OUT", 20, 5, 5, 6);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 984 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "UPGRADE PEASANT TO I SPIRITUAL";
}
}
on (release) {
if (_root.gems >= 100) {
_root.thebank = 100;
_root.gems = _root.gems - 100;
_root.loadedup = true;
_root.loadarray = new Array(7, 0, 300, 5, 0, 0, 7);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 985 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "UPGRADE I SPIRITUAL TO II SPIRITUAL";
}
}
on (release) {
if (_root.gems >= 300) {
_root.thebank = 300;
_root.gems = _root.gems - 300;
_root.loadedup = true;
_root.loadarray = new Array(8, 0, 750, 8, 7, 7, 8);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 986 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "UPGRADE II SPIRITUAL TO III SPIRITUAL";
}
}
on (release) {
if (_root.gems >= 750) {
_root.thebank = 750;
_root.gems = _root.gems - 750;
_root.loadedup = true;
_root.loadarray = new Array(9, 0, "MAXED OUT", 12, 8, 8, 9);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 989 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "CHOOSE A TARGET TO ATTACK (WILL CHOP THROUGH TERRAIN)";
}
}
on (release) {
if (_root.gems >= 100) {
_root.thebank = 100;
_root.gems = _root.gems - 100;
_root.loadedup = true;
_root.loadarray = new Array(null, 4, null, null, 1, 2, 3);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 992 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "FIRE ARROWS UNTIL YOU PRESS SPACE TO STOP";
}
}
on (release) {
if (_root.gems >= 1) {
_root.loadedup = true;
_root.loadarray = new Array(null, 7, null, null, 4, 5, 6);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 995 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "FIRE 1 ROPE ARROW (TROOPS WILL CLIMB IT AUTOMATICALLY)";
}
}
on (release) {
if (_root.gems >= 200) {
_root.gems = _root.gems - 200;
_root.loadedup = true;
_root.loadarray = new Array(null, 8, null, null, 5, 5, 6);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 998 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "ATTACK UP AND DIG UPWARDS THROUGH TERRAIN";
}
}
on (release) {
if (_root.gems >= 300) {
_root.thebank = 300;
_root.gems = _root.gems - 300;
_root.loadedup = true;
_root.loadarray = new Array(null, 6, null, null, 3, 3, 3);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 1001 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "BECOME INVULNERABLE FOR A SHORT TIME";
}
}
on (release) {
if (_root.gems >= 200) {
_root.thebank = 200;
_root.gems = _root.gems - 200;
_root.loadedup = true;
_root.loadarray = new Array(null, 5, null, null, 2, 2, 3);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 1004 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "FIRE EXPLODING TERRAIN DESTROYING ARROWS UNTIL YOU PRESS SPACE";
}
}
on (release) {
if (_root.gems >= 50) {
_root.loadedup = true;
_root.loadarray = new Array(null, 9, null, null, 6, 6, 6);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 1007 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "GIVE 5 EXTRA HIT POINTS TO A TROOP";
}
}
on (release) {
if (_root.gems >= 100) {
_root.loadedup = true;
_root.loadarray = new Array(null, 10, null, null, 7, 8, 9);
this.godown();
_root.armedSound.start();
} else {
_root.errorSound.start();
_root.tip = "NOT ENOUGH SENINES!";
}
}
Symbol 1010 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "DRAW LAND WITH MOUSE UNTIL YOU PRESS SPACE";
}
}
on (release) {
_root.loadedup = true;
_root.loadarray = new Array(null, 11, null, null, 8, 8, 9);
this.godown();
_root.armedSound.start();
}
Symbol 1013 Button
on (rollOver) {
if (this.movin != true) {
_root.tip = "USE MOUSE TO DESTROY TERRAIN UNTIL YOU PRESS SPACE";
}
}
on (release) {
_root.loadedup = true;
_root.loadarray = new Array(null, 12, null, null, 9, 9, 9);
this.godown();
_root.armedSound.start();
}
Symbol 1017 MovieClip Frame 1
this.cacheAsBitmap = true;
this.goup = function () {
var goal = -310;
this.onEnterFrame = function () {
if (this._y > goal) {
var _local3 = this._y - goal;
this._y = this._y - (_local3 / 6);
this.movin = true;
this.arr._rotation = 0;
_root.pausy = true;
}
if (this._y <= (goal + 5)) {
this.movin = false;
this.isup = true;
delete this.onEnterFrame;
}
};
};
this.godown = function () {
this.onEnterFrame = function () {
var _local3 = 5;
if (this._y < _local3) {
this.arr._rotation = 180;
var _local4 = _local3 - this._y;
this.movin = true;
this._y = this._y + (_local4 / 6);
}
if (this._y > (_local3 - 5)) {
this._y = _local3;
this.movin = false;
this.isup = false;
if (_root.masterpause != true) {
_root.pausy = false;
}
delete this.onEnterFrame;
}
};
};
this.hitter.onPress = function () {
_root.gems = _root.gems + _root.thebank;
_root.thebank = 0;
if (this._parent.movin != true) {
_root.swishSound.start();
if (this._parent.isup != true) {
this._parent.goup();
} else {
this._parent.godown();
}
}
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
_root.aiming = false;
_root.drawing = false;
_root.adding = false;
_root.subtracting = false;
this._parent._parent.sel0.gotoAndStop("sel");
this._parent._parent.sel1.gotoAndStop("norm");
this._parent._parent.sel2.gotoAndStop("norm");
this._parent._parent.sel3.gotoAndStop("norm");
};
Symbol 1041 MovieClip Frame 1
stop();
Symbol 1041 MovieClip Frame 2
stop();
Symbol 1041 MovieClip Frame 3
stop();
Symbol 1044 Button
on (release) {
if (_root.speed < 2) {
_root.speed = _root.speed + 0.25;
_root.gravity = _root.gravity + 1;
}
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
_root.dash.sel0.gotoAndStop("sel");
_root.dash.sel1.gotoAndStop("norm");
_root.dash.sel2.gotoAndStop("norm");
_root.dash.sel3.gotoAndStop("norm");
}
Symbol 1045 Button
on (release) {
if (_root.speed > 0) {
_root.speed = _root.speed - 0.25;
_root.gravity = _root.gravity - 1;
}
if (_root.speed == 0) {
_root.speed = 0.25;
_root.gravity = 1;
}
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
_root.dash.sel0.gotoAndStop("sel");
_root.dash.sel1.gotoAndStop("norm");
_root.dash.sel2.gotoAndStop("norm");
_root.dash.sel3.gotoAndStop("norm");
}
Symbol 1059 Button
on (release) {
if (this.nosound._visible == true) {
_root.initSound();
this.nosound._visible = false;
} else if (this.nosound._visible == false) {
_root.noMusic();
this.nosound._visible = true;
}
}
Symbol 1062 MovieClip Frame 1
this.toolsel = function (whosel) {
x = 0;
while (x < 4) {
var des = eval ("this.sel" + x);
des.gotoAndStop("norm");
des.seld = false;
x++;
}
whosel.seld = true;
whosel.gotoAndStop("sel");
_root.tip = whosel.desc;
if (whosel == this.sel0) {
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
}
if (whosel == this.sel1) {
_root.tool1 = true;
_root.tool0 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.curse.cur0._visible = false;
_root.curse.cur1._visible = true;
_root.curse.cur1.gotoAndStop("open");
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
}
if (whosel == this.sel2) {
_root.tool2 = true;
_root.tool1 = false;
_root.tool0 = false;
_root.tool3 = false;
_root.curse.cur0._visible = false;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = true;
_root.curse.cur3._visible = false;
}
if (whosel == this.sel3) {
_root.tool3 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool0 = false;
_root.curse.cur0._visible = false;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = true;
}
_root.gems = _root.gems + _root.thebank;
_root.thebank = 0;
};
q = 0;
while (q < 4) {
var thing = eval ("this.sel" + q);
thing.onPress = function () {
this._parent.toolsel(this);
};
thing.onRollOver = function () {
_root.tip = this.hint;
if (this.seld != true) {
this.gotoAndStop("over");
}
};
thing.onRollOut = function () {
if (this.seld != true) {
this.gotoAndStop("norm");
}
};
q++;
}
Instance of Symbol 1041 MovieClip "sel0" in Symbol 1062 MovieClip Frame 1
onClipEvent (load) {
this.hint = "SELECTION TOOL.";
this.desc = "'SELECT' TOOL SELECTED";
}
Instance of Symbol 1041 MovieClip "sel1" in Symbol 1062 MovieClip Frame 1
onClipEvent (load) {
this.hint = "PAN TOOL.";
this.desc = "'PAN' TOOL SELECTED: CLICK & DRAG THE SCREEN TO MOVE IT.";
}
Instance of Symbol 1041 MovieClip "sel2" in Symbol 1062 MovieClip Frame 1
onClipEvent (load) {
this.hint = "DEMOTE TO PEASANT CLASS.";
this.desc = "'DEMOTE TO PEASANT' SELECTED: CLICK ON ANY MEMBER TO DEMOTE TO PEASANT CLASS (-10 SENINES).";
}
on (release) {
_root.loadedup = true;
_root.loadarray = new Array(0, 0, 100, 5, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
}
Instance of Symbol 1041 MovieClip "sel3" in Symbol 1062 MovieClip Frame 1
onClipEvent (load) {
this.hint = "KILL TOOL.";
this.desc = "'KILL' TOOL SELECTED: CLICK ON ANY TEAM MEMBER TO FRY HIM.";
}
Instance of Symbol 1061 MovieClip "nosound" in Symbol 1062 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 1067 MovieClip Frame 1
stop();
this._parent.xdotarray[this.id] = this._x;
this._parent.ydotarray[this.id] = this._y;
this.onPress = function () {
if ((this._parent.dude.inmotion != true) and (_root.mapup == true)) {
if (this._parent.dude._y > this._y) {
this._parent.dude.moveit("up");
} else if (this._parent.dude._x != this._x) {
this._parent.dude.moveit("down");
}
}
};
Symbol 1067 MovieClip Frame 2
stop();
Symbol 1067 MovieClip Frame 3
stop();
Symbol 1071 MovieClip Frame 1
stop();
this._parent.xdotarray[this.id] = this._x;
this._parent.ydotarray[this.id] = this._y;
this.onPress = function () {
if ((this._parent.dude.inmotion != true) and (_root.mapup == true)) {
if (this._parent.dude._y > this._y) {
this._parent.dude.moveit("up");
} else if (this._parent.dude._x != this._x) {
this._parent.dude.moveit("down");
}
}
};
Symbol 1076 MovieClip Frame 1
stop();
Symbol 1076 MovieClip Frame 40
this._parent.dot6.gotoAndStop("nexty");
Symbol 1076 MovieClip Frame 55
stop();
_root.map.dude._visible = true;
Symbol 1080 MovieClip Frame 1
stop();
this._parent.idcount = this._parent.idcount + 1;
this._parent.xdotarray[this.id] = this._x;
this._parent.ydotarray[this.id] = this._y;
this.onPress = function () {
if ((this._parent.dude.inmotion != true) and (_root.mapup == true)) {
if (this._parent.dude._y > this._y) {
this._parent.dude.moveit("up");
} else if (this._parent.dude._x != this._x) {
this._parent.dude.moveit("down");
}
}
};
Symbol 1083 MovieClip Frame 1
stop();
Symbol 1083 MovieClip Frame 40
this._parent.dot5.gotoAndStop("nexty");
Symbol 1083 MovieClip Frame 55
stop();
_root.map.dude._visible = true;
Symbol 1087 MovieClip Frame 1
stop();
Symbol 1087 MovieClip Frame 40
this._parent.dot7.gotoAndStop("nexty");
Symbol 1087 MovieClip Frame 55
stop();
_root.map.dude._visible = true;
Symbol 1091 MovieClip Frame 1
stop();
Symbol 1091 MovieClip Frame 53
this._parent.dot8.gotoAndStop("nexty");
Symbol 1091 MovieClip Frame 67
stop();
_root.map.dude._visible = true;
Symbol 1093 MovieClip Frame 1
stop();
this._parent.xdotarray[this.id] = this._x;
this._parent.ydotarray[this.id] = this._y;
this.onPress = function () {
if ((this._parent.dude.inmotion != true) and (_root.mapup == true)) {
if (this._parent.dude._y > this._y) {
this._parent.dude.moveit("up");
} else if (this._parent.dude._x != this._x) {
this._parent.dude.moveit("down");
}
}
};
Symbol 1096 MovieClip Frame 1
stop();
Symbol 1096 MovieClip Frame 40
this._parent.dot9.gotoAndStop("nexty");
Symbol 1096 MovieClip Frame 55
stop();
_root.map.dude._visible = true;
Symbol 1099 MovieClip Frame 1
stop();
Symbol 1099 MovieClip Frame 40
this._parent.dot10.gotoAndStop("nexty");
Symbol 1099 MovieClip Frame 55
stop();
_root.map.dude._visible = true;
Symbol 1104 MovieClip Frame 1
stop();
this._parent.xdotarray[this.id] = this._x;
this._parent.ydotarray[this.id] = this._y;
this.onPress = function () {
if ((this._parent.dude.inmotion != true) and (_root.mapup == true)) {
if (this._parent.dude._y > this._y) {
this._parent.dude.moveit("up");
} else if (this._parent.dude._x != this._x) {
this._parent.dude.moveit("down");
}
}
};
Symbol 1104 MovieClip Frame 2
stop();
Symbol 1104 MovieClip Frame 3
stop();
Symbol 1107 MovieClip Frame 1
stop();
Symbol 1107 MovieClip Frame 40
this._parent.dot11.gotoAndStop("nexty");
Symbol 1107 MovieClip Frame 55
stop();
_root.map.dude._visible = true;
Symbol 1114 MovieClip Frame 1
stop();
Symbol 1114 MovieClip Frame 55
this._parent.dot1.gotoAndStop("nexty");
Symbol 1114 MovieClip Frame 70
stop();
_root.map.dude._visible = true;
Symbol 1117 MovieClip Frame 1
stop();
Symbol 1117 MovieClip Frame 40
this._parent.dot2.gotoAndStop("nexty");
Symbol 1117 MovieClip Frame 55
stop();
_root.map.dude._visible = true;
Symbol 1120 MovieClip Frame 1
stop();
Symbol 1120 MovieClip Frame 40
this._parent.dot3.gotoAndStop("nexty");
Symbol 1120 MovieClip Frame 55
stop();
_root.map.dude._visible = true;
Symbol 1123 MovieClip Frame 1
stop();
Symbol 1123 MovieClip Frame 40
this._parent.dot4.gotoAndStop("nexty");
Symbol 1123 MovieClip Frame 53
stop();
_root.map.dude._visible = true;
Symbol 1129 MovieClip Frame 1
this.moveit = function (a) {
var fone = eval ("this._parent.dot" + this.curdot);
var raw = (this.curdot - 1);
var fone2 = eval ("this._parent.dot" + raw);
if (_root.mapup == true) {
if (a == "up") {
if (fone.beenbeat == true) {
this.nextdot = this.curdot + 1;
} else {
this.nextdot = this.curdot;
}
} else if (fone2.beenbeat == true) {
this.nextdot = this.curdot - 1;
} else {
this.nextdot = this.curdot;
}
var nextthing = eval ("this._parent.dot" + this.nextdot);
if (this.nextdot != this.curdot) {
this.onEnterFrame = function () {
this.inmotion = true;
var _local3 = nextthing._x - this._x;
var _local4 = nextthing._y - this._y;
this._x = this._x + (_local3 / 7);
this._y = this._y + (_local4 / 7);
_root.map.inst._y = _root.map.inst._y + (_local4 / 7);
_root.map._y = _root.map._y - (_local4 / 7);
_root.map.clouds._y = _root.map.clouds._y - (_local4 / 25);
_root.map.clouds._x = _root.map.clouds._x - (_local3 / 25);
if (((_local3 < 1) and (this.nextdot > this.curdot)) and (nextthing._x > this._x)) {
this.curdot = this.nextdot;
this._x = nextthing._x;
this._y = nextthing._y;
this.inmotion = false;
delete this.onEnterFrame;
if (_root.myslot == 0) {
_root.savedstuff.slot0cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot0cloudypos = _root.map.clouds._y;
}
if (_root.myslot == 1) {
_root.savedstuff.slot1cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot1cloudypos = _root.map.clouds._y;
}
if (_root.myslot == 2) {
_root.savedstuff.slot2cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot2cloudypos = _root.map.clouds._y;
}
}
if ((this.nextdot > this.curdot) and (nextthing._x < this._x)) {
if (_local3 > -1) {
this.curdot = this.nextdot;
this._x = nextthing._x;
this._y = nextthing._y;
this.inmotion = false;
delete this.onEnterFrame;
if (_root.myslot == 0) {
_root.savedstuff.slot0cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot0cloudypos = _root.map.clouds._y;
}
if (_root.myslot == 1) {
_root.savedstuff.slot1cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot1cloudypos = _root.map.clouds._y;
}
if (_root.myslot == 2) {
_root.savedstuff.slot2cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot2cloudypos = _root.map.clouds._y;
}
}
}
if (((_local3 > -1) and (this.nextdot < this.curdot)) and (nextthing._x < this._x)) {
this.curdot = this.nextdot;
this._x = nextthing._x;
this._y = nextthing._y;
this.inmotion = false;
delete this.onEnterFrame;
if (_root.myslot == 0) {
_root.savedstuff.slot0cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot0cloudypos = _root.map.clouds._y;
}
if (_root.myslot == 1) {
_root.savedstuff.slot1cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot1cloudypos = _root.map.clouds._y;
}
if (_root.myslot == 2) {
_root.savedstuff.slot2cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot2cloudypos = _root.map.clouds._y;
}
}
if ((this.nextdot < this.curdot) and (nextthing._x > this._x)) {
if (_local3 < 1) {
this.curdot = this.nextdot;
this._x = nextthing._x;
this._y = nextthing._y;
this.inmotion = false;
delete this.onEnterFrame;
if (_root.myslot == 0) {
_root.savedstuff.slot0cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot0cloudypos = _root.map.clouds._y;
}
if (_root.myslot == 1) {
_root.savedstuff.slot1cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot1cloudypos = _root.map.clouds._y;
}
if (_root.myslot == 2) {
_root.savedstuff.slot2cloudxpos = _root.map.clouds._x;
_root.savedstuff.slot2cloudypos = _root.map.clouds._y;
}
}
}
};
}
}
};
Symbol 1129 MovieClip Frame 30
gotoAndPlay (2);
Symbol 1135 MovieClip Frame 1
this.buildList = function () {
t = 0;
while (t < 10) {
var gor = eval ("this.mug" + t);
gor.unloadMovie();
gor.removeMovieClip();
t++;
}
w = 0;
while (w < _root.classarray.length) {
var thing = ("mug" + _root.classarray[w]);
r = this.attachMovie(thing, thing, w);
r._xscale = 80;
r._yscale = r._xscale;
r._y = 8;
r._x = (50 * w) + (6 * w);
w++;
}
};
this.buildList();
Symbol 1137 MovieClip Frame 1
this.xdotarray = new Array();
this.ydotarray = new Array();
Instance of Symbol 1067 MovieClip "dot0" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 0;
}
on (keyPress "<Up>") {
if ((_root.map._visible == true) and (_root.map.dude.inmotion != true)) {
this._parent.dude.moveit("up");
}
}
on (keyPress "<Down>") {
if ((_root.map._visible == true) and (_root.map.dude.inmotion != true)) {
this._parent.dude.moveit("down");
}
}
Instance of Symbol 1071 MovieClip "dot2" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 2;
}
Instance of Symbol 1067 MovieClip "dot1" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 1;
}
Instance of Symbol 1067 MovieClip "dot3" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 3;
}
Instance of Symbol 1071 MovieClip "dot4" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 4;
}
Instance of Symbol 1067 MovieClip "dot6" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 6;
}
Instance of Symbol 1080 MovieClip "dot5" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 5;
}
Instance of Symbol 1067 MovieClip "dot7" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 7;
}
Instance of Symbol 1067 MovieClip "dot8" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 8;
}
Instance of Symbol 1093 MovieClip "dot9" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 9;
}
Instance of Symbol 1067 MovieClip "dot10" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 10;
}
Instance of Symbol 1104 MovieClip "dot11" in Symbol 1137 MovieClip Frame 1
onClipEvent (load) {
this.id = 11;
}
Symbol 1138 Button
on (keyPress "q") {
_root.qset = false;
if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
_root.qset = true;
}
if ((_root._quality == "LOW") and (_root.qset != true)) {
_root._quality = "HIGH";
_root.qset = true;
}
if ((_root._quality == "HIGH") and (_root.qset != true)) {
_root._quality = "MEDIUM";
_root.qset = true;
}
}
on (keyPress "p") {
if (_root.map._visible != true) {
if (_root.masterpause != true) {
_root.pausy = true;
_root.masterpause = true;
_root.drawing = false;
_root.adding = false;
_root.subtracting = false;
_root.aiming = false;
r = _root.attachMovie("pauser", "pauser", 923851);
r._x = 230;
r._y = 200;
} else {
_root.pausy = false;
_root.masterpause = false;
_root.pauser.gotoAndPlay("collapse");
}
}
}
on (keyPress "0") {
if (_root.mapup != true) {
_root.shorty = 0;
_root.shortcut = true;
_root.tip = "SHORTCUT: STOP CURRENT ACTION";
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.dash.sel0.gotoAndStop("sel");
_root.dash.sel1.gotoAndStop("norm");
_root.dash.sel2.gotoAndStop("norm");
_root.dash.sel3.gotoAndStop("norm");
_root.drawing = false;
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.armedSound.start();
}
}
on (keyPress "1") {
if (_root.mapup != true) {
_root.shorty = 1;
_root.shortcut = true;
_root.tip = "SHORTCUT: CHANGE ACTION TO SKILL 1";
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.dash.sel0.gotoAndStop("sel");
_root.dash.sel1.gotoAndStop("norm");
_root.dash.sel2.gotoAndStop("norm");
_root.dash.sel3.gotoAndStop("norm");
_root.drawing = false;
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.armedSound.start();
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
}
}
on (keyPress "2") {
if (_root.mapup != true) {
_root.shorty = 2;
_root.shortcut = true;
_root.tip = "SHORTCUT: CHANGE ACTION TO SKILL 2";
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.dash.sel0.gotoAndStop("sel");
_root.dash.sel1.gotoAndStop("norm");
_root.dash.sel2.gotoAndStop("norm");
_root.dash.sel3.gotoAndStop("norm");
_root.drawing = false;
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.armedSound.start();
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
}
}
on (keyPress "3") {
if (_root.mapup != true) {
_root.shorty = 3;
_root.shortcut = true;
_root.tip = "SHORTCUT: CHANGE ACTION TO SKILL 3";
_root.tool0 = true;
_root.tool1 = false;
_root.tool2 = false;
_root.tool3 = false;
_root.dash.sel0.gotoAndStop("sel");
_root.dash.sel1.gotoAndStop("norm");
_root.dash.sel2.gotoAndStop("norm");
_root.dash.sel3.gotoAndStop("norm");
_root.drawing = false;
_root.aiming = false;
_root.adding = false;
_root.subtracting = false;
_root.armedSound.start();
_root.curse.cur0._visible = true;
_root.curse.cur1._visible = false;
_root.curse.cur2._visible = false;
_root.curse.cur3._visible = false;
}
}
Symbol 1318 MovieClip Frame 67
stop();
Symbol 1328 MovieClip Frame 52
stop();
Symbol 1343 Button
on (release) {
_root.gotoAndStop("goforit");
}
Symbol 1344 MovieClip Frame 1
stopAllSounds();
Symbol 1344 MovieClip Frame 2856
this.testpole.gotoAndPlay("gotten");
Symbol 1344 MovieClip Frame 2952
stop();
Symbol 1397 MovieClip Frame 187
stop();
Symbol 1415 MovieClip Frame 1
stopAllSounds();
Symbol 1415 MovieClip Frame 2866
_root.gotoAndPlay("goforit");
Symbol 1457 MovieClip Frame 124
stop();
Symbol 1460 MovieClip Frame 1
stopAllSounds();
Symbol 1460 MovieClip Frame 519
stop();