Frame 1
_root._quality = "Medium";
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
_root.menu = new ContextMenu();
_root.menu.hideBuiltInItems();
Frame 2
if (_root.percentLoaded == 100) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
Instance of Symbol 134 MovieClip "agmove" in Frame 3
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Frame 4
stop();
Instance of Symbol 150 MovieClip in Frame 4
on (release) {
getURL ("http://coolio-niato.newgrounds.com/", _blank);
}
Frame 10
stop();
Instance of Symbol 153 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.play();
}
_root._x = 0;
_root._y = 0;
Mouse.show();
}
Instance of Symbol 232 MovieClip "games" in Frame 22
onClipEvent (load) {
speed = 0;
maxspd = 7;
rate = 0.5;
startpos = this._y;
Mouse.show();
}
onClipEvent (enterFrame) {
Mouse.show();
if (Key.isDown(32)) {
_y = startpos;
if (_root.game == 1) {
_root.gotoAndStop("pico");
} else if (_root.game == 2) {
_root.gotoAndStop("candles");
} else if (_root.game == 3) {
_root.gotoAndStop("game2st1k");
} else if (_root.game == 4) {
_root.gotoAndStop("NDmenu");
} else if (_root.game == 5) {
_root.gotoAndStop("jindogame");
} else if (_root.game == 6) {
_root.gotoAndStop("st1ksmenu");
} else if (_root.game == 7) {
_root.gotoAndStop("candybounce");
} else if (_root.game == 8) {
_root.gotoAndStop("souled_start");
} else if (_root.game == 9) {
_root.gotoAndStop("stkgame");
} else if (_root.game == 10) {
_root.gotoAndStop("wurmygame");
}
}
if ((this._y + speed) > ((startpos - _height) + 38)) {
if ((this._y + speed) < startpos) {
this._y = this._y + speed;
} else {
this._y = startpos;
speed = 0;
}
} else {
this._y = (startpos - _height) + 38;
speed = 0;
}
if (Key.isDown(39) or Key.isDown(40)) {
_root.a1.gotoAndStop(1);
_root.a2.gotoAndStop(2);
if (speed > (-maxspd)) {
speed = speed - rate;
}
} else if (Key.isDown(37) or Key.isDown(38)) {
_root.a1.gotoAndStop(2);
_root.a2.gotoAndStop(1);
if (speed < maxspd) {
speed = speed + rate;
}
} else {
_root.a1.gotoAndStop(1);
_root.a2.gotoAndStop(1);
if ((speed > ((-rate) / 2)) and (speed < (rate / 2))) {
speed = 0;
} else if (speed > 0) {
speed = speed - (rate / 2);
} else if (speed < 0) {
speed = speed + (rate / 2);
}
}
}
Frame 27
game = 1;
stop();
game = 1;
Frame 28
function senddascores() {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
if (!sentScore) {
trace((username + " ") + score);
bXlnYW1lX25hbWVfdmFyaWFibGU = username;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = score;
__rankz_send__("MTgwNmolZSVhJW4lcw==", "TkxUY0xCQ0o=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL ("http://rankz.armorbot.com/picogame/", _blank);
}
_root.menuthing._alpha = 100;
_root.submitthing._alpha = 0;
}
sentScore = false;
username = "Anonymous";
function loseLife(a) {
if (_root.bar.redflash._currentframe == 1) {
_root.bar.redflash.play();
_root.bar.life._xscale = _root.bar.life._xscale - (10 * a);
if (_root.bar.life._xscale < 0) {
_root.bar.life._xscale = 0;
}
}
}
score = 0;
function explode(a, b) {
x = 1;
while (x < 6) {
i = Math.round(Math.random() * 10000);
duplicateMovieClip (_root.circle, "c" + i, _root.getNextHighestDepth());
_root["c" + i]._xscale = 50 + (Math.random() * 100);
_root["c" + i]._yscale = _root["c" + i]._xscale;
_root["c" + i]._x = a;
_root["c" + i]._y = b - 20;
_root["c" + i]._rotation = Math.random() * 360;
x++;
}
_root.actions.explode = true;
}
maxscale = 80;
_root.score = 0;
bulletsnum = new Array();
Instance of Symbol 370 MovieClip "actions" in Frame 28
onClipEvent (load) {
_root.submitthing._alpha = 0;
_root._quality = "Medium";
_root.maxscale = 80;
_root.world.char._yscale = _root.maxscale;
_alpha = 0;
_root.world.platforms._alpha = 0;
jumpspeed = -21;
yspd = 0;
xspd = 8;
grav = 1.6;
maxj = 30;
jump = false;
charWidth = _root.world.char._width;
leftkey = false;
upkey = false;
rightkey = false;
downkey = false;
direction = 1;
explode = false;
wait = 0;
i = 0;
enum = 0;
off1 = 0;
off2 = 0;
click = 0;
clickwait = 1;
spawn = 0;
spawning = 80;
side = 0;
times = 0;
enemies = 1;
enemy = 0;
_root.score = 0;
_root.bar.life._xscale = 100;
timemax = 0;
}
onClipEvent (mouseDown) {
if (!_root.pause) {
click = 1;
}
}
onClipEvent (mouseUp) {
if (!_root.pause) {
click = 0;
clickwait = 1;
}
}
onClipEvent (enterFrame) {
if (_root.submitthing._alpha == 100) {
if (_root.song2._currentframe == 1) {
_root.song2.play();
}
_root.song1.gotoAndStop(1);
} else if (_root.menuthing._alpha == 100) {
if (_root.song2._currentframe == 1) {
_root.song2.play();
}
_root.song1.gotoAndStop(1);
} else {
if (_root.song1._currentframe == 1) {
_root.song1.play();
}
_root.song2.gotoAndStop(1);
}
if (_root.bar.life._xscale <= 0) {
_root.submitthing._alpha = 100;
_root.bar.life._xscale = 100;
_root.submitthing._y = 0;
}
if (_root.menuthing._alpha == 100) {
_root.submitthing._y = -100000;
Mouse.show();
}
if ((_root.menuthing._alpha < 100) and (_root.menuthing._alpha > 0)) {
_root.menuthing._alpha = 0;
}
if (_root.menuthing._alpha == 0) {
_root.menuthing._y = -100000;
if (_root.submitthing._alpha == 0) {
_root.submitthing._y = -100000;
Mouse.hide();
_root.bar.score = _root.score;
if (enemies == 1) {
enemy = 1;
} else if (enemies == 2) {
enemy = Math.round(Math.random() + 1);
} else if (enemies == 3) {
enemy = Math.round((Math.random() * 2) + 1);
} else if (enemies == 4) {
enemy = Math.round((Math.random() * 3) + 1);
}
spawn++;
if (spawn > spawning) {
times++;
if (enemies == 1) {
timemax = 3;
} else if (enemies == 2) {
timemax = 4;
} else if (enemies == 3) {
timemax = 4;
} else if (enemies == 4) {
timemax = 5;
}
if (times > timemax) {
if (spawning > 51) {
spawning = spawning - 10;
} else {
if (enemies < 4) {
enemies++;
}
spawning = 80;
}
times = 0;
}
side = Math.round(Math.random() + 1);
i++;
if (enemy == 1) {
duplicateMovieClip (_root.world.zombie, "z" + i, _root.world.getNextHighestDepth());
} else if (enemy == 2) {
duplicateMovieClip (_root.world.bat, "z" + i, _root.world.getNextHighestDepth());
} else if (enemy == 3) {
duplicateMovieClip (_root.world.zombie, "z" + i, _root.world.getNextHighestDepth());
_root.world["z" + i].head.gotoAndStop(2);
} else if (enemy == 4) {
duplicateMovieClip (_root.world.ghost, "z" + i, _root.world.getNextHighestDepth());
}
_root.world["z" + i]._x = _root.world["spawn" + side]._x;
_root.world["z" + i]._y = _root.world["spawn" + side]._y;
spawn = 0;
}
if (_root.bar.bar._xscale < 100) {
_root.bar.bar._xscale = _root.bar.bar._xscale + 5;
}
if (_root.bar.bar._xscale > 100) {
_root.bar.bar._xscale = 100;
}
if (click != 0) {
if (_root.bar.bar._xscale == 100) {
_root.world.char.gun.play();
_root.bar.bar._xscale = 0;
i++;
duplicateMovieClip (_root.bullets.bullet, "b" + i, _root.bullets.getNextHighestDepth());
if (direction == 1) {
_root.bullets["b" + i]._x = ((_root.world._x + _root.world.char._x) + _root.world.char.gun._x) - _root.bullets._x;
_root.bullets["b" + i]._y = ((_root.world._y + _root.world.char._y) + _root.world.char.gun._y) - _root.bullets._y;
_root.bullets["b" + i]._rotation = _root.world.char.gun._rotation - 5;
} else {
_root.bullets["b" + i]._x = ((_root.world._x + _root.world.char._x) + _root.world.char.gun._x) - _root.bullets._x;
_root.bullets["b" + i]._y = ((_root.world._y + _root.world.char._y) + _root.world.char.gun._y) - _root.bullets._y;
_root.bullets["b" + i]._rotation = (180 - _root.world.char.gun._rotation) + 5;
}
_root.bullets["b" + i].num = i;
_root.bulletsnum.push(i);
clickwait++;
}
}
if (wait > 20) {
explode = true;
}
if (explode == true) {
enum = 1;
explode = false;
wait = 0;
}
if (enum > 0) {
enum++;
if (enum == 1) {
off1 = Math.round((Math.random() * 20) - 10);
off2 = Math.round((Math.random() * 20) - 10);
} else if (enum == 2) {
off1 = Math.round((Math.random() * 20) - 10);
off2 = Math.round((Math.random() * 20) - 10);
} else if (enum == 3) {
off1 = Math.round((Math.random() * 12) - 6);
off2 = Math.round((Math.random() * 12) - 6);
} else if (enum == 5) {
off1 = Math.round((Math.random() * 8) - 4);
off2 = Math.round((Math.random() * 8) - 4);
} else if (enum == 6) {
off1 = 0;
off2 = 0;
enum = 0;
}
}
if (direction == 1) {
_root.world.char._xscale = _root.maxscale;
if ((_root.world.char.gun._rotation > 0) and (_root.world.char.gun._rotation < 180)) {
direction = 2;
_root.world.char.gun._rotation = _root.world.char.gun._rotation * -1;
}
} else if (direction == 2) {
_root.world.char._xscale = -_root.maxscale;
if ((_root.world.char.gun._rotation < 0) and (_root.world.char.gun._rotation > -180)) {
direction = 1;
_root.world.char.gun._rotation = _root.world.char.gun._rotation * -1;
}
}
_root.world._alpha = 100;
if (Key.isDown(65) and (!Key.isDown(68))) {
if (jump == false) {
if (!_root.world.platforms.hitTest((_root.world.char._x - (charWidth / 4)) + _root.world._x, (_root.world.char._y - ((_root.world.char._height / 4) * 1)) + _root.world._y, true)) {
_root.world.char._x = _root.world.char._x - xspd;
}
if (direction == 1) {
if ((_root.world.char._currentframe < 31) or (_root.world.char._currentframe > 63)) {
_root.world.char.gotoAndPlay(31);
}
} else if (_root.world.char._currentframe < 64) {
_root.world.char.gotoAndPlay(64);
}
} else if (!_root.world.platforms.hitTest((_root.world.char._x - (charWidth / 4)) + _root.world._x, _root.world.char._y + _root.world._y, true)) {
_root.world.char._x = _root.world.char._x - xspd;
}
} else if ((!Key.isDown(65)) and Key.isDown(68)) {
if (jump == false) {
if (!_root.world.platforms.hitTest((_root.world.char._x + (charWidth / 4)) + _root.world._x, (_root.world.char._y - ((_root.world.char._height / 4) * 1)) + _root.world._y, true)) {
_root.world.char._x = _root.world.char._x + xspd;
}
if (direction == 2) {
if ((_root.world.char._currentframe < 31) or (_root.world.char._currentframe > 63)) {
_root.world.char.gotoAndPlay(31);
}
} else if (_root.world.char._currentframe < 64) {
_root.world.char.gotoAndPlay(64);
}
} else if (!_root.world.platforms.hitTest((_root.world.char._x + (charWidth / 4)) + _root.world._x, _root.world.char._y + _root.world._y, true)) {
_root.world.char._x = _root.world.char._x + xspd;
}
} else if (_root.world.char._currentframe > 30) {
if (jump == false) {
_root.world.char.gotoAndPlay(1);
}
}
if (jump) {
if (yspd < maxj) {
yspd = yspd + grav;
} else {
yspd = maxj - 1;
}
if (yspd >= 0) {
if (!_root.world.platforms.hitTest(_root.world.char._x + _root.world._x, (_root.world.char._y + _root.world._y) + yspd, true)) {
_root.world.char._y = _root.world.char._y + yspd;
} else {
j = 1;
while (j < maxj) {
if (_root.world.platforms.hitTest(_root.world.char._x + _root.world._x, (_root.world.char._y + _root.world._y) + j, true) and (!_root.world.platforms.hitTest(_root.world.char._x + _root.world._x, ((_root.world.char._y + _root.world._y) + j) - 1, true))) {
_root.world.char._y = _root.world.char._y + j;
}
j++;
}
yspd = 0;
jump = false;
}
} else {
_root.world.char._y = _root.world.char._y + yspd;
}
if ((yspd > 0) and (yspd < 5)) {
if (_root.world.char._currentframe == 106) {
_root.world.char.play();
}
}
} else {
if (_root.world.char._currentframe > 100) {
_root.world.char.gotoAndPlay(1);
}
if (Key.isDown(87)) {
if (upkey == false) {
upkey = true;
yspd = jumpspeed;
jump = true;
_root.world.char.gotoAndPlay(100);
}
} else {
upkey = false;
}
if (!_root.world.platforms.hitTest(_root.world.char._x + _root.world._x, _root.world.char._y + _root.world._y, true)) {
j = 1;
while (j < maxj) {
if (_root.world.platforms.hitTest(_root.world.char._x + _root.world._x, (_root.world.char._y + _root.world._y) + j, true) and (!_root.world.platforms.hitTest(_root.world.char._x + _root.world._x, ((_root.world.char._y + _root.world._y) + j) - 1, true))) {
_root.world.char._y = _root.world.char._y + j;
}
if (j == (maxj - 1)) {
jump = true;
yspd = 6;
}
j++;
}
} else if (_root.world.platforms.hitTest(_root.world.char._x + _root.world._x, _root.world.char._y + _root.world._y, true) and _root.world.platforms.hitTest(_root.world.char._x + _root.world._x, (_root.world.char._y + _root.world._y) - 1, true)) {
j = 1;
while (j < maxj) {
if (_root.world.platforms.hitTest(_root.world.char._x + _root.world._x, (_root.world.char._y + _root.world._y) - j, true) and (!_root.world.platforms.hitTest(_root.world.char._x + _root.world._x, ((_root.world.char._y + _root.world._y) - j) - 1, true))) {
_root.world.char._y = _root.world.char._y - j;
}
if (j == (maxj - 1)) {
jump = true;
yspd = 6;
}
j++;
}
}
}
_root._x = _root._x - Math.round(((_root.world.char._x + _root.world._x) - (Stage.width / 2)) + _root._x);
_root._y = _root._y - Math.round(((_root.world.char._y + _root.world._y) - ((Stage.height / 5) * 4)) + _root._y);
_root.crosshair._x = _root._xmouse;
_root.crosshair._y = _root._ymouse;
_root.bar._x = (_root._x * -1) - off1;
_root.bar._y = (_root._y * -1) - off2;
_root.moon._x = (_root._x * -1) - off1;
_root.moon._y = (_root._y * -1) - off2;
_root._x = _root._x + off1;
_root._y = _root._y + off2;
} else {
_root.menuthing._y = -100000;
_root._x = 0;
_root._y = 0;
_root.submitthing.score = _root.score;
Mouse.show();
_root.bar.life._xscale = 100;
}
} else {
_root.menuthing._y = 0;
_root._x = 0;
_root._y = 0;
_root._quality = "Medium";
_root.maxscale = 80;
_root.world.char._yscale = _root.maxscale;
_alpha = 0;
_root.world.platforms._alpha = 0;
jumpspeed = -21;
yspd = 0;
xspd = 8;
grav = 1.6;
maxj = 30;
jump = false;
charWidth = _root.world.char._width;
leftkey = false;
upkey = false;
rightkey = false;
downkey = false;
direction = 1;
explode = false;
wait = 0;
i = 0;
enum = 0;
off1 = 0;
off2 = 0;
click = 0;
clickwait = 1;
spawn = 0;
spawning = 80;
side = 0;
times = 0;
enemies = 1;
enemy = 0;
_root.score = 0;
_root.life._xscale = 100;
timemax = 0;
_root.world.char._x = _root.world.startchar._x;
_root.world.char._y = _root.world.startchar._y;
}
}
Frame 29
function senddascoresCL() {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
if (!sentScore) {
trace((username + " ") + score);
bXlnYW1lX25hbWVfdmFyaWFibGU = username;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = score;
__rankz_send__("MTc5OWolZSVhJW4lcw==", "WHhyd1JIRVA=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL ("http://rankz.armorbot.com/candles/", _blank);
}
sentScore = true;
}
gameStarted = false;
highscores = false;
sentScore = false;
username = "Anonymous";
score = 0;
function nextLevel() {
_root._quality = "LOW";
for (i in candleArray) {
candleArray[i].canLeaveYet = true;
}
candleArray = new Array();
level++;
if (level > 20) {
gameStarted = false;
highscores = true;
score = Math.floor(_root.countTime / 3) / 10;
countTime = -1;
sentScore = false;
mainMenu.highscores.gotoAndStop(2);
}
rand = (-random(100)) - 16000;
i = 0;
while (i < candleLevels[level].length) {
c = candleLevels[level][i];
candle = _root.attachMovie("Candle", "candle" + random(999999), _root.getNextHighestDepth());
candle._x = c.x;
candle._y = c.y;
i++;
}
levelName.swapDepths(_root.getNextHighestDepth());
levelName.nameText.text = levelNames[level];
striker.swapDepths(_root.getNextHighestDepth());
hand.swapDepths(_root.getNextHighestDepth());
}
_root._quality = "BEST";
countTime = -1;
level = 0;
candleLevels = new Array();
i = 0;
while (i < 20) {
candleLevels[i + 1] = new Array();
i++;
}
candleLevels[1].push({x:39.15, y:301.1});
candleLevels[1].push({x:106.5, y:301.1});
candleLevels[1].push({x:241.2, y:301.1});
candleLevels[1].push({x:308.55, y:301.1});
candleLevels[1].push({x:375.9, y:301.1});
candleLevels[1].push({x:443.25, y:301.1});
candleLevels[1].push({x:510.6, y:301.1});
candleLevels[1].push({x:173.85, y:301.1});
candleLevels[2].push({x:500, y:50});
candleLevels[2].push({x:462.5, y:75});
candleLevels[2].push({x:425, y:100});
candleLevels[2].push({x:387.5, y:125});
candleLevels[2].push({x:350, y:150});
candleLevels[2].push({x:312.5, y:175});
candleLevels[2].push({x:275, y:200});
candleLevels[2].push({x:237.5, y:225});
candleLevels[2].push({x:200, y:250});
candleLevels[2].push({x:162.5, y:275});
candleLevels[2].push({x:125, y:300});
candleLevels[2].push({x:87.5, y:325});
candleLevels[2].push({x:50, y:350});
candleLevels[3].push({x:337.5, y:173});
candleLevels[3].push({x:340, y:227});
candleLevels[3].push({x:253, y:130});
candleLevels[3].push({x:297, y:130});
candleLevels[3].push({x:245.5, y:270});
candleLevels[3].push({x:304.5, y:270});
candleLevels[3].push({x:202.5, y:173});
candleLevels[3].push({x:200, y:227});
candleLevels[4].push({x:500, y:349.95});
candleLevels[4].push({x:50, y:350});
candleLevels[4].push({x:500, y:50});
candleLevels[4].push({x:50, y:50});
candleLevels[4].push({x:275, y:150});
candleLevels[4].push({x:275, y:250});
candleLevels[4].push({x:225, y:200});
candleLevels[4].push({x:325, y:200});
candleLevels[5].push({x:275, y:279.5});
candleLevels[5].push({x:387.5, y:279.5});
candleLevels[5].push({x:162.5, y:279.5});
candleLevels[5].push({x:50, y:279.5});
candleLevels[5].push({x:500, y:279.5});
candleLevels[5].push({x:275, y:200});
candleLevels[5].push({x:377.5, y:200});
candleLevels[5].push({x:172.5, y:200});
candleLevels[5].push({x:70, y:200});
candleLevels[5].push({x:480, y:200});
candleLevels[5].push({x:275, y:120.5});
candleLevels[5].push({x:362.5, y:120.5});
candleLevels[5].push({x:187.5, y:120.5});
candleLevels[5].push({x:100, y:120.5});
candleLevels[5].push({x:450, y:120.5});
candleLevels[6].push({x:275, y:176});
candleLevels[6].push({x:300, y:182.5});
candleLevels[6].push({x:250, y:180.5});
candleLevels[6].push({x:225, y:190.5});
candleLevels[6].push({x:325, y:192});
candleLevels[6].push({x:50, y:203.05});
candleLevels[6].push({x:200, y:203.05});
candleLevels[6].push({x:350, y:203.05});
candleLevels[6].push({x:500, y:203.05});
candleLevels[6].push({x:75, y:215.05});
candleLevels[6].push({x:100, y:222.3});
candleLevels[6].push({x:175, y:211.8});
candleLevels[6].push({x:150, y:222.8});
candleLevels[6].push({x:125, y:223.8});
candleLevels[6].push({x:375, y:215.25});
candleLevels[6].push({x:400, y:222.5});
candleLevels[6].push({x:475, y:212});
candleLevels[6].push({x:450, y:223});
candleLevels[6].push({x:425, y:224});
candleLevels[7].push({x:251, y:102.5});
candleLevels[7].push({x:310, y:100.5});
candleLevels[7].push({x:227.05, y:120.5});
candleLevels[7].push({x:331, y:115.5});
candleLevels[7].push({x:340, y:148.5});
candleLevels[7].push({x:218.05, y:147.5});
candleLevels[7].push({x:240, y:176.5});
candleLevels[7].push({x:276.95, y:172.5});
candleLevels[7].push({x:318.05, y:171.5});
candleLevels[7].push({x:318.05, y:200.5});
candleLevels[7].push({x:276.95, y:200.5});
candleLevels[7].push({x:240, y:200.5});
candleLevels[7].push({x:280, y:99.5});
candleLevels[7].push({x:236.5, y:252.5});
candleLevels[7].push({x:347.5, y:237.5});
candleLevels[7].push({x:317.5, y:252.5});
candleLevels[7].push({x:278.5, y:264.5});
candleLevels[7].push({x:239.5, y:278.5});
candleLevels[7].push({x:314.8, y:278.5});
candleLevels[7].push({x:347.5, y:295.5});
candleLevels[7].push({x:202.55, y:237.5});
candleLevels[7].push({x:204.55, y:296.5});
candleLevels[8].push({x:95, y:130});
candleLevels[8].push({x:55, y:90});
candleLevels[8].push({x:135, y:90});
candleLevels[8].push({x:455, y:130});
candleLevels[8].push({x:415, y:90});
candleLevels[8].push({x:495, y:90});
candleLevels[8].push({x:217, y:120});
candleLevels[8].push({x:253, y:120});
candleLevels[8].push({x:293, y:120});
candleLevels[8].push({x:333, y:120});
candleLevels[8].push({x:217, y:150});
candleLevels[8].push({x:253, y:150});
candleLevels[8].push({x:293, y:150});
candleLevels[8].push({x:333, y:150});
candleLevels[8].push({x:217, y:180});
candleLevels[8].push({x:253, y:180});
candleLevels[8].push({x:293, y:180});
candleLevels[8].push({x:333, y:180});
candleLevels[8].push({x:217, y:210});
candleLevels[8].push({x:253, y:210});
candleLevels[8].push({x:293, y:210});
candleLevels[8].push({x:333, y:210});
candleLevels[8].push({x:275, y:310});
candleLevels[8].push({x:235, y:270});
candleLevels[8].push({x:315, y:270});
candleLevels[9].push({x:50, y:50});
candleLevels[9].push({x:500, y:50});
candleLevels[9].push({x:275, y:50});
candleLevels[9].push({x:50, y:200});
candleLevels[9].push({x:500, y:200});
candleLevels[9].push({x:50, y:350});
candleLevels[9].push({x:275, y:350});
candleLevels[9].push({x:500, y:350});
candleLevels[9].push({x:274.5, y:130.5});
candleLevels[9].push({x:244.5, y:154.5});
candleLevels[9].push({x:304.5, y:154.5});
candleLevels[9].push({x:244.5, y:189.5});
candleLevels[9].push({x:275.5, y:204.5});
candleLevels[9].push({x:245.5, y:234.5});
candleLevels[9].push({x:305.5, y:234.5});
candleLevels[9].push({x:275.5, y:269.5});
candleLevels[10].push({x:203.55, y:111.4});
candleLevels[10].push({x:244.3, y:115.4});
candleLevels[10].push({x:277.8, y:135.65});
candleLevels[10].push({x:169.3, y:119.4});
candleLevels[10].push({x:139.05, y:133.9});
candleLevels[10].push({x:116.3, y:165.4});
candleLevels[10].push({x:198.8, y:133.9});
candleLevels[10].push({x:221.3, y:142.15});
candleLevels[10].push({x:226.3, y:155.15});
candleLevels[10].push({x:173.65, y:139.9});
candleLevels[10].push({x:160.4, y:156.9});
candleLevels[10].push({x:166.4, y:177.15});
candleLevels[10].push({x:282.05, y:153.4});
candleLevels[10].push({x:269.3, y:171.65});
candleLevels[10].push({x:253.8, y:186.15});
candleLevels[10].push({x:233.65, y:190.65});
candleLevels[10].push({x:179.15, y:186.15});
candleLevels[10].push({x:206.65, y:190.65});
candleLevels[10].push({x:113.6, y:193.65});
candleLevels[10].push({x:121.3, y:224.4});
candleLevels[10].push({x:148.3, y:253.4});
candleLevels[10].push({x:189.05, y:277.15});
candleLevels[10].push({x:233.2, y:288.5});
candleLevels[10].push({x:286.45, y:288.6});
candleLevels[10].push({x:425.45, y:156.9});
candleLevels[10].push({x:436.45, y:198.4});
candleLevels[10].push({x:417.95, y:239.9});
candleLevels[10].push({x:388.45, y:265.4});
candleLevels[10].push({x:340.95, y:286.4});
candleLevels[11].push({x:275, y:100});
candleLevels[11].push({x:275, y:150});
candleLevels[11].push({x:275, y:200});
candleLevels[11].push({x:275, y:300});
candleLevels[11].push({x:160, y:250});
candleLevels[11].push({x:390, y:250});
candleLevels[11].push({x:220, y:250});
candleLevels[11].push({x:330, y:250});
candleLevels[11].push({x:376, y:50});
candleLevels[11].push({x:407, y:79.25});
candleLevels[11].push({x:438, y:108.5});
candleLevels[11].push({x:469, y:137.75});
candleLevels[11].push({x:500, y:167});
candleLevels[11].push({x:174, y:50});
candleLevels[11].push({x:143, y:79.25});
candleLevels[11].push({x:112, y:108.5});
candleLevels[11].push({x:81, y:137.75});
candleLevels[11].push({x:50, y:167});
candleLevels[11].push({x:500, y:200});
candleLevels[11].push({x:500, y:237.75});
candleLevels[11].push({x:500, y:267});
candleLevels[11].push({x:500, y:300});
candleLevels[11].push({x:500, y:337.75});
candleLevels[11].push({x:50, y:200});
candleLevels[11].push({x:50, y:237.75});
candleLevels[11].push({x:50, y:267});
candleLevels[11].push({x:50, y:300});
candleLevels[11].push({x:50, y:337.75});
candleLevels[12].push({x:277.65, y:109.65});
candleLevels[12].push({x:297.65, y:113.65});
candleLevels[12].push({x:316.65, y:125.65});
candleLevels[12].push({x:256.65, y:113.65});
candleLevels[12].push({x:236.65, y:118.3});
candleLevels[12].push({x:231.65, y:130.3});
candleLevels[12].push({x:228.65, y:149.3});
candleLevels[12].push({x:226.65, y:170.4});
candleLevels[12].push({x:219.35, y:193.4});
candleLevels[12].push({x:252.35, y:170.4});
candleLevels[12].push({x:213.65, y:214.3});
candleLevels[12].push({x:277.65, y:170.4});
candleLevels[12].push({x:303.65, y:178.4});
candleLevels[12].push({x:326.65, y:193.4});
candleLevels[12].push({x:336.65, y:213.65});
candleLevels[12].push({x:346.65, y:234.65});
candleLevels[12].push({x:352.35, y:255.65});
candleLevels[12].push({x:207.35, y:234.65});
candleLevels[12].push({x:197.65, y:255.65});
candleLevels[12].push({x:219.35, y:263.65});
candleLevels[12].push({x:326.65, y:265.65});
candleLevels[12].push({x:246.65, y:278.4});
candleLevels[12].push({x:303.65, y:278.4});
candleLevels[12].push({x:274.15, y:290.4});
candleLevels[13].push({x:224.75, y:98.5});
candleLevels[13].push({x:198.25, y:106.5});
candleLevels[13].push({x:173.5, y:117.5});
candleLevels[13].push({x:220.2, y:117.5});
candleLevels[13].push({x:211.2, y:137.5});
candleLevels[13].push({x:201.25, y:161.5});
candleLevels[13].push({x:192.05, y:185.15});
candleLevels[13].push({x:183.05, y:206.5});
candleLevels[13].push({x:175.5, y:237.5});
candleLevels[13].push({x:163.5, y:267.5});
candleLevels[13].push({x:152.5, y:292.5});
candleLevels[13].push({x:320.2, y:93.5});
candleLevels[13].push({x:298.25, y:106.5});
candleLevels[13].push({x:275.5, y:117.5});
candleLevels[13].push({x:337.5, y:98.5});
candleLevels[13].push({x:365.5, y:112.5});
candleLevels[13].push({x:368.5, y:130.5});
candleLevels[13].push({x:370.5, y:143.5});
candleLevels[13].push({x:350.5, y:148.5});
candleLevels[13].push({x:324.75, y:155.5});
candleLevels[13].push({x:350.5, y:162.5});
candleLevels[13].push({x:375.5, y:167.5});
candleLevels[13].push({x:398.25, y:185.15});
candleLevels[13].push({x:410.25, y:206.5});
candleLevels[13].push({x:424.75, y:230.5});
candleLevels[13].push({x:437.5, y:255.5});
candleLevels[13].push({x:301.25, y:261.5});
candleLevels[13].push({x:329.25, y:277.5});
candleLevels[13].push({x:358.25, y:292.5});
candleLevels[13].push({x:424.75, y:277.5});
candleLevels[13].push({x:410.25, y:292.5});
candleLevels[13].push({x:385.25, y:306.5});
candleLevels[14].push({x:212.5, y:56.5});
candleLevels[14].push({x:256.5, y:57.5});
candleLevels[14].push({x:306.5, y:69.5});
candleLevels[14].push({x:247.5, y:86.5});
candleLevels[14].push({x:236.5, y:135.5});
candleLevels[14].push({x:331.5, y:95.5});
candleLevels[14].push({x:347.5, y:135.5});
candleLevels[14].push({x:231.5, y:178.5});
candleLevels[14].push({x:198.55, y:213.5});
candleLevels[14].push({x:356.5, y:178.5});
candleLevels[14].push({x:364.5, y:219.5});
candleLevels[14].push({x:406.5, y:235.5});
candleLevels[14].push({x:406.5, y:259.5});
candleLevels[14].push({x:464.5, y:268.5});
candleLevels[14].push({x:519.5, y:285.5});
candleLevels[14].push({x:180.55, y:227.5});
candleLevels[14].push({x:172.55, y:250.5});
candleLevels[14].push({x:112.5, y:255.5});
candleLevels[14].push({x:58.5, y:264.5});
candleLevels[14].push({x:30.5, y:285.5});
candleLevels[14].push({x:74.9, y:313.5});
candleLevels[14].push({x:131.5, y:335.5});
candleLevels[14].push({x:206.5, y:343.5});
candleLevels[14].push({x:506.5, y:323.5});
candleLevels[14].push({x:447.5, y:332.75});
candleLevels[14].push({x:388.5, y:335.5});
candleLevels[14].push({x:331.5, y:335.5});
candleLevels[14].push({x:272.55, y:339.5});
candleLevels[15].push({x:275.4, y:23.5});
candleLevels[15].push({x:244.4, y:28.5});
candleLevels[15].push({x:210.4, y:45.95});
candleLevels[15].push({x:311.35, y:28.5});
candleLevels[15].push({x:344.4, y:45.95});
candleLevels[15].push({x:368.4, y:75.95});
candleLevels[15].push({x:375.4, y:105.95});
candleLevels[15].push({x:386.05, y:138.25});
candleLevels[15].push({x:394.05, y:180.55});
candleLevels[15].push({x:411.35, y:220.55});
candleLevels[15].push({x:420.35, y:267.55});
candleLevels[15].push({x:191.4, y:75.95});
candleLevels[15].push({x:181.05, y:114.4});
candleLevels[15].push({x:166.05, y:152.4});
candleLevels[15].push({x:156.05, y:193.4});
candleLevels[15].push({x:144.4, y:240.55});
candleLevels[15].push({x:130.4, y:278.55});
candleLevels[15].push({x:244.4, y:90.55});
candleLevels[15].push({x:237.4, y:114.4});
candleLevels[15].push({x:229.4, y:138.25});
candleLevels[15].push({x:313.4, y:90.55});
candleLevels[15].push({x:317.4, y:113.45});
candleLevels[15].push({x:321.4, y:132.95});
candleLevels[15].push({x:191.4, y:278.55});
candleLevels[15].push({x:256.05, y:278.55});
candleLevels[15].push({x:315.4, y:278.55});
candleLevels[15].push({x:368.4, y:278.55});
candleLevels[15].push({x:436, y:309.95});
candleLevels[15].push({x:399, y:294.95});
candleLevels[15].push({x:344.4, y:301.95});
candleLevels[15].push({x:281.05, y:303.95});
candleLevels[15].push({x:222.4, y:301.95});
candleLevels[15].push({x:156.05, y:294.95});
candleLevels[15].push({x:114.05, y:306.95});
candleLevels[16].push({x:260.3, y:15.3});
candleLevels[16].push({x:288.5, y:18.8});
candleLevels[16].push({x:308.35, y:30.55});
candleLevels[16].push({x:300.55, y:47.5});
candleLevels[16].push({x:252.5, y:33.55});
candleLevels[16].push({x:248.6, y:54.45});
candleLevels[16].push({x:323.35, y:55.55});
candleLevels[16].push({x:355.45, y:55.55});
candleLevels[16].push({x:382.5, y:72.7});
candleLevels[16].push({x:408.35, y:88.95});
candleLevels[16].push({x:426.15, y:101.55});
candleLevels[16].push({x:225.95, y:60.4});
candleLevels[16].push({x:190.25, y:69.35});
candleLevels[16].push({x:157.45, y:80.45});
candleLevels[16].push({x:127.9, y:97.95});
candleLevels[16].push({x:100.7, y:122.2});
candleLevels[16].push({x:80.75, y:147.5});
candleLevels[16].push({x:57.45, y:172.65});
candleLevels[16].push({x:57.45, y:201.55});
candleLevels[16].push({x:57.45, y:230.8});
candleLevels[16].push({x:439.25, y:116.8});
candleLevels[16].push({x:456.15, y:142.85});
candleLevels[16].push({x:470.9, y:163.95});
candleLevels[16].push({x:486.85, y:192.2});
candleLevels[16].push({x:492.8, y:224.25});
candleLevels[16].push({x:205.05, y:111.05});
candleLevels[16].push({x:225.95, y:118.25});
candleLevels[16].push({x:242.9, y:133.55});
candleLevels[16].push({x:263.9, y:140.85});
candleLevels[16].push({x:349.9, y:104.05});
candleLevels[16].push({x:338.85, y:120.2});
candleLevels[16].push({x:324.75, y:133.55});
candleLevels[16].push({x:378.75, y:134.85});
candleLevels[16].push({x:388.75, y:152.85});
candleLevels[16].push({x:378.75, y:172.7});
candleLevels[16].push({x:346, y:178.55});
candleLevels[16].push({x:192.05, y:147.5});
candleLevels[16].push({x:193.95, y:173.4});
candleLevels[16].push({x:207.95, y:187.55});
candleLevels[16].push({x:251.8, y:173.85});
candleLevels[16].push({x:234.9, y:186.05});
candleLevels[16].push({x:299.85, y:196.05});
candleLevels[16].push({x:282.6, y:209.65});
candleLevels[16].push({x:312.45, y:209.65});
candleLevels[16].push({x:237.45, y:290.65});
candleLevels[16].push({x:396.6, y:253.3});
candleLevels[16].push({x:421.35, y:205.25});
candleLevels[16].push({x:424.75, y:228.25});
candleLevels[16].push({x:141.65, y:203.1});
candleLevels[16].push({x:178.75, y:221});
candleLevels[16].push({x:178.75, y:254});
candleLevels[16].push({x:212.45, y:277.1});
candleLevels[16].push({x:487, y:248.45});
candleLevels[16].push({x:470.25, y:273.4});
candleLevels[16].push({x:447.3, y:292.2});
candleLevels[16].push({x:429.3, y:309.65});
candleLevels[16].push({x:409.3, y:322.75});
candleLevels[16].push({x:381.2, y:329.95});
candleLevels[16].push({x:354.2, y:341});
candleLevels[16].push({x:323.1, y:348.45});
candleLevels[16].push({x:68, y:258.6});
candleLevels[16].push({x:86, y:277.85});
candleLevels[16].push({x:105.05, y:294.55});
candleLevels[16].push({x:127.95, y:311.9});
candleLevels[16].push({x:153.9, y:325.85});
candleLevels[16].push({x:174.65, y:333.15});
candleLevels[16].push({x:204.5, y:342.7});
candleLevels[16].push({x:233.45, y:347.95});
candleLevels[16].push({x:268.6, y:350.6});
candleLevels[16].push({x:294.75, y:350.6});
candleLevels[16].push({x:307.9, y:274.85});
candleLevels[16].push({x:363.15, y:254});
candleLevels[16].push({x:334.15, y:254});
candleLevels[16].push({x:276.25, y:274.1});
candleLevels[17].push({x:202, y:45});
candleLevels[17].push({x:183, y:64});
candleLevels[17].push({x:212, y:64});
candleLevels[17].push({x:195, y:82});
candleLevels[17].push({x:195, y:101});
candleLevels[17].push({x:195, y:123});
candleLevels[17].push({x:195, y:145});
candleLevels[17].push({x:208, y:164});
candleLevels[17].push({x:231, y:176});
candleLevels[17].push({x:289, y:37});
candleLevels[17].push({x:270, y:50});
candleLevels[17].push({x:301, y:51});
candleLevels[17].push({x:370, y:39});
candleLevels[17].push({x:354, y:52});
candleLevels[17].push({x:380, y:52});
candleLevels[17].push({x:282, y:63});
candleLevels[17].push({x:282, y:88});
candleLevels[17].push({x:282, y:112});
candleLevels[17].push({x:282, y:137});
candleLevels[17].push({x:282, y:163});
candleLevels[17].push({x:282, y:188});
candleLevels[17].push({x:365, y:67});
candleLevels[17].push({x:366, y:91});
candleLevels[17].push({x:365, y:117});
candleLevels[17].push({x:365, y:137});
candleLevels[17].push({x:365, y:159});
candleLevels[17].push({x:354, y:168});
candleLevels[17].push({x:328, y:175});
candleLevels[17].push({x:307, y:188});
candleLevels[17].push({x:257, y:188});
candleLevels[17].push({x:282, y:207});
candleLevels[17].push({x:282, y:231});
candleLevels[17].push({x:282, y:254});
candleLevels[17].push({x:282, y:275});
candleLevels[17].push({x:282, y:297});
candleLevels[17].push({x:282, y:317});
candleLevels[17].push({x:282, y:331});
candleLevels[17].push({x:282, y:349});
candleLevels[18].push({x:372.8, y:92.75});
candleLevels[18].push({x:334.8, y:88.75});
candleLevels[18].push({x:299.8, y:88.75});
candleLevels[18].push({x:261.8, y:88.75});
candleLevels[18].push({x:227.8, y:88.75});
candleLevels[18].push({x:183.85, y:88.75});
candleLevels[18].push({x:391.8, y:109.75});
candleLevels[18].push({x:170.85, y:110.75});
candleLevels[18].push({x:161.8, y:139.75});
candleLevels[18].push({x:149.8, y:163.25});
candleLevels[18].push({x:191.8, y:163.25});
candleLevels[18].push({x:227.8, y:163.25});
candleLevels[18].push({x:261.8, y:163.25});
candleLevels[18].push({x:299.8, y:163.25});
candleLevels[18].push({x:334.8, y:163.25});
candleLevels[18].push({x:368.8, y:163.25});
candleLevels[18].push({x:406.8, y:172.25});
candleLevels[18].push({x:414.25, y:205.25});
candleLevels[18].push({x:422.25, y:230.25});
candleLevels[18].push({x:429.25, y:259.25});
candleLevels[18].push({x:145.25, y:192.75});
candleLevels[18].push({x:135.25, y:216.75});
candleLevels[18].push({x:127.8, y:239.75});
candleLevels[18].push({x:120.8, y:272.25});
candleLevels[18].push({x:135.25, y:305.25});
candleLevels[18].push({x:414.25, y:305.25});
candleLevels[18].push({x:361.8, y:311.25});
candleLevels[18].push({x:314.25, y:310.25});
candleLevels[18].push({x:268.8, y:311.25});
candleLevels[18].push({x:227.8, y:311.25});
candleLevels[18].push({x:179.85, y:310.25});
candleLevels[18].push({x:526, y:20.5});
candleLevels[18].push({x:493, y:20});
candleLevels[18].push({x:455, y:21});
candleLevels[18].push({x:456, y:47});
candleLevels[18].push({x:456, y:83});
candleLevels[18].push({x:456, y:117});
candleLevels[18].push({x:456, y:147});
candleLevels[18].push({x:494, y:78});
candleLevels[18].push({x:528, y:78});
candleLevels[18].push({x:528, y:110});
candleLevels[18].push({x:530, y:145});
candleLevels[18].push({x:494, y:145});
candleLevels[18].push({x:91, y:20.5});
candleLevels[18].push({x:58, y:20});
candleLevels[18].push({x:20, y:21});
candleLevels[18].push({x:21, y:47});
candleLevels[18].push({x:21, y:83});
candleLevels[18].push({x:21, y:117});
candleLevels[18].push({x:21, y:147});
candleLevels[18].push({x:59, y:78});
candleLevels[18].push({x:93, y:78});
candleLevels[18].push({x:93, y:110});
candleLevels[18].push({x:95, y:145});
candleLevels[18].push({x:59, y:145});
candleLevels[19].push({x:302.5, y:96.5});
candleLevels[19].push({x:279.5, y:114.5});
candleLevels[19].push({x:314.5, y:110.5});
candleLevels[19].push({x:279.5, y:137.5});
candleLevels[19].push({x:314.5, y:137.5});
candleLevels[19].push({x:284.5, y:155.5});
candleLevels[19].push({x:302.5, y:167.5});
candleLevels[19].push({x:270.5, y:185.5});
candleLevels[19].push({x:294.5, y:181.5});
candleLevels[19].push({x:323.5, y:178.5});
candleLevels[19].push({x:350.5, y:185.5});
candleLevels[19].push({x:240.5, y:185.5});
candleLevels[19].push({x:235.5, y:210.5});
candleLevels[19].push({x:235.5, y:233.5});
candleLevels[19].push({x:240.5, y:255.5});
candleLevels[19].push({x:227.5, y:281.5});
candleLevels[19].push({x:209.55, y:299.5});
candleLevels[19].push({x:357.45, y:203.5});
candleLevels[19].push({x:370.5, y:220.5});
candleLevels[19].push({x:363.5, y:233.5});
candleLevels[19].push({x:350.5, y:241.5});
candleLevels[19].push({x:350.5, y:255.5});
candleLevels[19].push({x:350.5, y:273.5});
candleLevels[19].push({x:350.5, y:294.5});
candleLevels[19].push({x:327.5, y:295.5});
candleLevels[19].push({x:302.5, y:294.5});
candleLevels[19].push({x:279.5, y:294.5});
candleLevels[19].push({x:250.5, y:294.5});
candleLevels[19].push({x:285.5, y:212.5});
candleLevels[20].push({x:275.95, y:57.9});
candleLevels[20].push({x:250.95, y:57.9});
candleLevels[20].push({x:225.95, y:57.9});
candleLevels[20].push({x:207.95, y:66.9});
candleLevels[20].push({x:187, y:74.9});
candleLevels[20].push({x:160, y:84.9});
candleLevels[20].push({x:139, y:95.55});
candleLevels[20].push({x:125.95, y:113.55});
candleLevels[20].push({x:125.95, y:132.55});
candleLevels[20].push({x:302.9, y:57.9});
candleLevels[20].push({x:325.95, y:57.9});
candleLevels[20].push({x:350.95, y:66.9});
candleLevels[20].push({x:382.95, y:79.9});
candleLevels[20].push({x:406.95, y:95.55});
candleLevels[20].push({x:415.95, y:113.55});
candleLevels[20].push({x:419.95, y:132.55});
candleLevels[20].push({x:410.95, y:157.9});
candleLevels[20].push({x:125.95, y:157.9});
candleLevels[20].push({x:175.95, y:149.05});
candleLevels[20].push({x:198.9, y:140.05});
candleLevels[20].push({x:220.9, y:143.05});
candleLevels[20].push({x:239, y:149.05});
candleLevels[20].push({x:160, y:157.9});
candleLevels[20].push({x:164, y:166.9});
candleLevels[20].push({x:175.95, y:174.9});
candleLevels[20].push({x:239, y:157.9});
candleLevels[20].push({x:233, y:170.9});
candleLevels[20].push({x:214, y:179.9});
candleLevels[20].push({x:198.9, y:184.9});
candleLevels[20].push({x:339, y:143.05});
candleLevels[20].push({x:319.95, y:143.05});
candleLevels[20].push({x:306.95, y:149.05});
candleLevels[20].push({x:358.95, y:149.05});
candleLevels[20].push({x:370.95, y:157.9});
candleLevels[20].push({x:302.9, y:166.9});
candleLevels[20].push({x:314, y:174.9});
candleLevels[20].push({x:325.95, y:179.9});
candleLevels[20].push({x:375.95, y:166.9});
candleLevels[20].push({x:363.95, y:174.9});
candleLevels[20].push({x:347.95, y:184.9});
candleLevels[20].push({x:395.95, y:170.9});
candleLevels[20].push({x:410.95, y:179.9});
candleLevels[20].push({x:424.1, y:195.55});
candleLevels[20].push({x:406.95, y:205.55});
candleLevels[20].push({x:402.9, y:219.55});
candleLevels[20].push({x:402.9, y:240.05});
candleLevels[20].push({x:402.9, y:257.9});
candleLevels[20].push({x:139, y:166.9});
candleLevels[20].push({x:139, y:179.9});
candleLevels[20].push({x:125.95, y:195.55});
candleLevels[20].push({x:139, y:213.55});
candleLevels[20].push({x:150.95, y:223.55});
candleLevels[20].push({x:143.95, y:240.05});
candleLevels[20].push({x:139, y:266.9});
candleLevels[20].push({x:270.95, y:174.9});
candleLevels[20].push({x:255, y:188.9});
candleLevels[20].push({x:282.95, y:184.9});
candleLevels[20].push({x:243.95, y:200.9});
candleLevels[20].push({x:295.95, y:195.55});
candleLevels[20].push({x:243.95, y:213.55});
candleLevels[20].push({x:291.95, y:213.55});
candleLevels[20].push({x:270.95, y:215.55});
candleLevels[20].push({x:214, y:266.9});
candleLevels[20].push({x:264, y:266.9});
candleLevels[20].push({x:307.95, y:266.9});
candleLevels[20].push({x:402.9, y:274.9});
candleLevels[20].push({x:139, y:279.9});
candleLevels[20].push({x:155, y:295.55});
candleLevels[20].push({x:175.95, y:305.55});
candleLevels[20].push({x:187, y:319.55});
candleLevels[20].push({x:198.9, y:335.55});
candleLevels[20].push({x:219.95, y:340.05});
candleLevels[20].push({x:243.95, y:340.05});
candleLevels[20].push({x:270.95, y:342.1});
candleLevels[20].push({x:391.95, y:288.9});
candleLevels[20].push({x:370.95, y:305.55});
candleLevels[20].push({x:350.95, y:319.55});
candleLevels[20].push({x:333, y:329.55});
candleLevels[20].push({x:324.1, y:340.05});
candleLevels[20].push({x:296.95, y:340.1});
levelNames = new Array();
levelNames[1] = "Line";
levelNames[2] = "Slash";
levelNames[3] = "Summon";
levelNames[4] = "Rise from the depths";
levelNames[5] = "Undead Army";
levelNames[6] = "Earthquakes";
levelNames[7] = "Plague";
levelNames[8] = "Skeleton Army";
levelNames[9] = "Six";
levelNames[10] = "Vortex";
levelNames[11] = "Sign of the devil";
levelNames[12] = "6";
levelNames[13] = "Lucky Number 13";
levelNames[14] = "Witch's Hat";
levelNames[15] = "Ghost";
levelNames[16] = "Jack-o-Lantern";
levelNames[17] = "Devil's Trident";
levelNames[18] = "666";
levelNames[19] = "Last Candle";
levelNames[20] = "Skull";
levelNames[21] = "Happy Halloween!";
candleArray = new Array();
_root.attachMovie("hand", "hand", _root.getNextHighestDepth());
hand._x = 252;
hand._y = 158;
_root.attachMovie("striker", "striker", _root.getNextHighestDepth());
striker._x = 275;
striker._y = 340;
_root.attachMovie("levelName", "levelName", _root.getNextHighestDepth());
levelName._x = 275;
levelName._y = 370.6;
stop();
Instance of Symbol 539 MovieClip "mainMenu" in Frame 29
onClipEvent (load) {
_alpha = 0;
}
Frame 30
nameest1k = "Enter Name Here";
stop();
diff = 0;
Frame 31
stop();
Frame 32
stop();
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
count = 0;
score = 0;
timer = diff;
levelupscore = 0;
onEnterFrame = function () {
if (diff < 10) {
diff = 10;
}
if (st1khighscoeson == false) {
if (levelupscore > 10) {
diff = diff - 10;
levelupscore = 0;
}
}
if (timer < 0) {
letters.letterin.gotoAndPlay("out");
timer = 100;
score = score - 1000;
}
if (score < 0) {
score = 0;
}
if (aa == true) {
if (Key.isDown(65)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (bb == true) {
if (Key.isDown(66)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (cc == true) {
if (Key.isDown(67)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (dd == true) {
if (Key.isDown(68)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (ee == true) {
if (Key.isDown(69)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (ff == true) {
if (Key.isDown(70)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (gg == true) {
if (Key.isDown(71)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (hh == true) {
if (Key.isDown(72)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (ii == true) {
if (Key.isDown(73)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (jj == true) {
if (Key.isDown(74)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (kk == true) {
if (Key.isDown(75)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (ll == true) {
if (Key.isDown(76)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (mm == true) {
if (Key.isDown(77)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (nn == true) {
if (Key.isDown(78)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (oo == true) {
if (Key.isDown(79)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (pp == true) {
if (Key.isDown(80)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (qq == true) {
if (Key.isDown(81)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (rr == true) {
if (Key.isDown(82)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (ss == true) {
if (Key.isDown(83)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (tt == true) {
if (Key.isDown(84)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (uu == true) {
if (Key.isDown(85)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (vv == true) {
if (Key.isDown(86)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (ww == true) {
if (Key.isDown(87)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (xx == true) {
if (Key.isDown(88)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (yy == true) {
if (Key.isDown(89)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (zz == true) {
if (Key.isDown(90)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (oneone == true) {
if (Key.isDown(49)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (twotwo == true) {
if (Key.isDown(50)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (threethree == true) {
if (Key.isDown(51)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (fourfour == true) {
if (Key.isDown(52)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (fivefive == true) {
if (Key.isDown(53)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (sixsix == true) {
if (Key.isDown(54)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (sevenseven == true) {
if (Key.isDown(55)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (eighteight == true) {
if (Key.isDown(56)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (ninenine == true) {
if (Key.isDown(57)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
if (zerozero == true) {
if (Key.isDown(48)) {
letters.letterin.gotoAndPlay("out");
_root.attachMovie("newletterburst", "newletterburst" + count, _root.getNextHighestDepth(), {_x:letters._x, _y:letters._y});
count++;
score = score + 1000;
levelupscore = levelupscore + 1;
_root.shotgunsound.gotoAndPlay(2);
}
}
};
Instance of Symbol 672 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.score > 0) {
_root.score = _root.score - 5;
}
}
Instance of Symbol 780 MovieClip "letters" in Frame 32
onClipEvent (load) {
this.gotoAndPlay(random(35) + 1);
}
Frame 33
stop();
Frame 34
stopAllSounds();
Frame 35
stop();
controlson = true;
clearenemies = true;
Instance of Symbol 829 MovieClip in Frame 35
onClipEvent (load) {
_root.lives.gotoAndStop(1);
}
Instance of Symbol 294 MovieClip "ship" in Frame 35
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
rot = 0.93;
}
onClipEvent (enterFrame) {
if (_root.controlson == true) {
_rotation = (_rotation * rot);
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed * 0.93;
yspeed = yspeed * 0.93;
if (Key.isDown(38)) {
yspeed = yspeed - 1;
}
if (Key.isDown(40)) {
yspeed = yspeed + 1;
}
if (Key.isDown(37)) {
xspeed = xspeed - 1;
_rotation = (_rotation - 3);
}
if (Key.isDown(39)) {
xspeed = xspeed + 1;
_rotation = (_rotation + 3);
}
if (this.hitTest(_root.leftwall)) {
xspeed = xspeed + 5;
}
if (this.hitTest(_root.rightwall)) {
xspeed = xspeed - 5;
}
if (this.hitTest(_root.topwall)) {
yspeed = yspeed + 5;
}
if (this.hitTest(_root.bottomwall)) {
yspeed = yspeed - 5;
}
}
}
Frame 36
stop();
c = 1;
i = 1;
controlson = true;
asteroidsgo = true;
clearenemies = false;
scoreest1k = 0;
mousespeed = 8;
movement = 0;
st1kgamespeed = 2;
st1ktimer = 300;
onEnterFrame = function () {
if (asteroidsgo == true) {
st1ktimer--;
if (st1ktimer < 0) {
st1ktimer = 300;
st1kgamespeed = st1kgamespeed + 2;
}
if (random(15) == 1) {
duplicateMovieClip (_root.astriod, "astroid" + c, _root.getNextHighestDepth());
c++;
}
}
};
Instance of Symbol 294 MovieClip "ship" in Frame 36
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
rot = 0.93;
}
onClipEvent (enterFrame) {
if (_root.controlson == true) {
_rotation = (_rotation * rot);
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed * 0.93;
yspeed = yspeed * 0.93;
if (Key.isDown(38)) {
yspeed = yspeed - 1;
}
if (Key.isDown(40)) {
yspeed = yspeed + 1;
}
if (Key.isDown(37)) {
xspeed = xspeed - 1;
_rotation = (_rotation - 3);
}
if (Key.isDown(39)) {
xspeed = xspeed + 1;
_rotation = (_rotation + 3);
}
if (this.hitTest(_root.leftwall)) {
xspeed = xspeed + 5;
}
if (this.hitTest(_root.rightwall)) {
xspeed = xspeed - 5;
}
if (this.hitTest(_root.topwall)) {
yspeed = yspeed + 5;
}
if (this.hitTest(_root.bottomwall)) {
yspeed = yspeed - 5;
}
}
}
Instance of Symbol 291 MovieClip "astriod" in Frame 36
onClipEvent (load) {
if (_name != "astriod") {
if (_root.asteroidsgo == true) {
_y = -70;
_x = random(550);
var size = (random(100) + 20);
_xscale = size;
_yscale = size;
var aspeed = (random(5) + _root.st1kgamespeed);
}
}
}
onClipEvent (enterFrame) {
if (_name != "astroid") {
if (_root.clearenemies == true) {
this.swapDepths(this.getNextHighestDepth());
this.removeMovieClip();
}
if (_root.asteroidsgo == true) {
if (this.hitTest(_root.ship._x, _root.ship._y, true)) {
if (_currentframe == 1) {
_root.ship.gotoAndPlay(2);
this.swapDepths(this.getNextHighestDepth());
this.removeMovieClip();
}
}
_y = (_y + aspeed);
if (this._y > 500) {
this.swapDepths(this.getNextHighestDepth());
this.removeMovieClip();
}
}
}
}
Instance of Symbol 870 MovieClip in Frame 36
onClipEvent (enterFrame) {
_root.scoreest1k = _root.scoreest1k + 1;
}
Frame 37
stop();
clearenemies = true;
Frame 38
stop();
Frame 39
stop();
Frame 40
stop();
i = 1000;
p = 5000;
g = 10000;
_root.pumpkin_squashed = 0;
_root.rocks_hit = 0;
_global.souled_game_over = false;
new_rock = function () {
i++;
duplicateMovieClip ("rock", "rock_" + i, i);
_root["rock_" + i].swapDepths(i);
};
speedyID = setInterval(new_rock, 3000);
new_pumpkin = function () {
p++;
duplicateMovieClip ("pumpkin", "pumpkin_" + p, p);
_root["pumpkin_" + p].swapDepths(p);
};
speedyID2 = setInterval(new_pumpkin, 2000);
new_golden_pumpkin = function () {
g++;
duplicateMovieClip ("golden_pumpkin", "golden_pumpkin_" + g, g);
_root["golden_pumpkin_" + g].swapDepths(g);
};
speedyID3 = setInterval(new_golden_pumpkin, 12000);
Instance of Symbol 1125 MovieClip "rock_block" in Frame 40
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 1246 MovieClip "tank" in Frame 40
onClipEvent (load) {
this.swapDepths(100);
game_over = false;
power = 2;
xspeed = 0;
friction = 0.85;
}
onClipEvent (enterFrame) {
if (game_over) {
if (_global.souled_game_over) {
this.removeMovieClip();
}
this.gotoAndStop(18);
this.steam.gotoAndStop(6);
_root.gotoAndStop("endgame");
} else {
this.steam.gotoAndStop(_root.rocks_hit + 1);
if (_root.rocks_hit > 4) {
game_over = true;
}
if (_global.tank_hit) {
_global.tank_hit = false;
this.gotoAndPlay(8);
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
xspeed = xspeed * friction;
_x = (_x + xspeed);
while (this.hit2.hitTest(_root.line1)) {
_x = (_x+1);
xspeed = 0;
}
while (this.hit2.hitTest(_root.line2)) {
_x = (_x-1);
xspeed = 0;
}
}
}
Instance of Symbol 1129 MovieClip "line1" in Frame 40
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 1129 MovieClip "line2" in Frame 40
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 1254 MovieClip "rock" in Frame 40
onClipEvent (load) {
speed = 2.3 + (_root.pumpkin_squashed / 10);
speed2 = speed / 1.53;
this_front = false;
this._y = 450;
this._x = (Math.random() * 220) + 490;
hit = false;
hit2 = false;
}
onClipEvent (enterFrame) {
if (_global.souled_game_over) {
this.removeMovieClip();
} else if (_name == "rock") {
this._x = 1000;
} else {
this._x = this._x - speed;
this._y = this._y - speed2;
if (_root.rock_block.hitTest(_x, _y, true) && (!hit)) {
hit = true;
this.gotoAndPlay(2);
speed = 0;
speed2 = 0;
}
if (_root.tank.hit.hitTest(_x, _y, true) && (!hit2)) {
hit2 = true;
_global.tank_hit = true;
_root.rocks_hit++;
}
if (this._currentframe == 8) {
this.removeMovieClip();
}
if (_root.tank.block1.hitTest(_x, _y, true) && (this_front == true)) {
this.swapDepths(99999);
this_front = false;
}
if (_root.tank.block2.hitTest(_x, _y, true) && (this_front == false)) {
this.swapDepths(1);
this_front = true;
}
}
}
Instance of Symbol 1268 MovieClip "pumpkin" in Frame 40
onClipEvent (load) {
speed = 2.3 + (_root.pumpkin_squashed / 10);
speed2 = speed / 1.53;
this_front = false;
this._y = 450;
this._x = (Math.random() * 220) + 490;
hit = false;
}
onClipEvent (enterFrame) {
if (_global.souled_game_over) {
this.removeMovieClip();
} else if (_name == "pumpkin") {
this._x = 1000;
} else {
this._x = this._x - speed;
this._y = this._y - speed2;
if (_root.rock_block.hitTest(_x, _y, true) && (!hit)) {
hit = true;
this.gotoAndPlay(2);
speed = 0;
speed2 = 0;
}
if (_root.tank.hit.hitTest(_x, _y, true) && (!hit)) {
hit = true;
this.gotoAndPlay(9);
speed = 0;
speed2 = 0;
}
if (this._currentframe == 8) {
this.removeMovieClip();
}
if (this._currentframe == 16) {
_root.pumpkin_squashed++;
this.removeMovieClip();
}
if (_root.tank.block1.hitTest(_x, _y, true) && (this_front == true)) {
this.swapDepths(888888);
this_front = false;
}
if (_root.tank.block2.hitTest(_x, _y, true) && (this_front == false)) {
this.swapDepths(2);
this_front = true;
}
}
}
Instance of Symbol 1281 MovieClip "golden_pumpkin" in Frame 40
onClipEvent (load) {
speed = 2.3 + (_root.pumpkin_squashed / 10);
speed2 = speed / 1.53;
this_front = false;
this._y = 450;
this._x = (Math.random() * 220) + 490;
hit = false;
}
onClipEvent (enterFrame) {
if (_global.souled_game_over) {
this.removeMovieClip();
} else if (_name == "golden_pumpkin") {
this._x = 1000;
} else {
this._x = this._x - speed;
this._y = this._y - speed2;
if (_root.rock_block.hitTest(_x, _y, true) && (!hit)) {
hit = true;
this.gotoAndPlay(2);
speed = 0;
speed2 = 0;
}
if (_root.tank.hit.hitTest(_x, _y, true) && (!hit)) {
hit = true;
this.gotoAndPlay(9);
speed = 0;
speed2 = 0;
}
if (this._currentframe == 8) {
this.removeMovieClip();
}
if (this._currentframe == 16) {
_root.pumpkin_squashed = _root.pumpkin_squashed + 3;
this.removeMovieClip();
}
if (_root.tank.block1.hitTest(_x, _y, true) && (this_front == true)) {
this.swapDepths(777777);
this_front = false;
}
if (_root.tank.block2.hitTest(_x, _y, true) && (this_front == false)) {
this.swapDepths(3);
this_front = true;
}
}
}
Frame 41
function sendpumpkin() {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = username;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = pumpkin_squashed;
__rankz_send__("MTgyMWolZSVhJW4lcw==", "SkFXakxJQVk=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL ("http://rankz.armorbot.com/pumpkin/", _blank);
}
username = "Anonymous";
clearInterval(speedyID);
clearInterval(speedyID2);
clearInterval(speedyID3);
Frame 42
function senddascoresCandy() {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
if (!sentScore) {
bXlnYW1lX25hbWVfdmFyaWFibGU = username;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = score;
__rankz_send__("MTgxOGolZSVhJW4lcw==", "d2drZHFHSms=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL ("http://rankz.armorbot.com/rainingcandy/", _blank);
}
sentScore = true;
}
function playBoing() {
if (Math.random() < 0.33) {
soundb1.start();
} else if (Math.random() < 0.5) {
soundb2.start();
} else {
soundb3.start();
}
}
function playLaugh() {
if (Math.random() < 0.2) {
soundl1.start();
} else if (Math.random() < 0.25) {
soundl2.start();
} else if (Math.random() < 0.33) {
soundl3.start();
} else if (Math.random() < 0.5) {
soundl4.start();
} else {
soundl5.start();
}
}
function playGasp() {
if (Math.random() < 0.33) {
soundg1.start();
} else if (Math.random() < 0.5) {
soundg2.start();
} else {
soundg3.start();
}
}
soundb1 = new Sound();
soundb1.attachSound("b1");
soundb2 = new Sound();
soundb2.attachSound("b2");
soundb3 = new Sound();
soundb3.attachSound("b3");
soundl1 = new Sound();
soundl1.attachSound("l1");
soundl2 = new Sound();
soundl2.attachSound("l2");
soundl3 = new Sound();
soundl3.attachSound("l3");
soundl4 = new Sound();
soundl4.attachSound("l4");
soundl5 = new Sound();
soundl5.attachSound("l5");
soundg1 = new Sound();
soundg1.attachSound("g1");
soundg2 = new Sound();
soundg2.attachSound("g2");
soundg3 = new Sound();
soundg3.attachSound("g3");
Instance of Symbol 1341 MovieClip "thrower" in Frame 42
onClipEvent (load) {
chance = 0;
candyNumber = 0;
}
onClipEvent (enterFrame) {
if (_root.gameStarted) {
if (((_currentframe == 1) && (!_root.goCandyGo)) && (this.candyFollow)) {
chance = Math.pow(candyNumber, 0.166666666666667) / 250;
if (chance < 0.005) {
chance = 0.005;
}
chance2 = Math.pow(candyNumber - 50, 0.333333333333333) / 50;
if ((Math.random() * Math.random()) < chance) {
play();
if (((chance2 + chance) / 2) > (Math.random() * Math.random())) {
dup = 2;
} else if (chance2 > (Math.random() * Math.random())) {
dup = 3;
} else {
dup = 1;
}
i = 0;
while (i < dup) {
candy = _root.attachMovie("Candy", "Candy" + random(99999), _root.getNextHighestDepth());
candy._x = _x + candyFollow._x;
candy._y = _y + candyFollow._y;
candyNumber++;
i++;
}
}
}
} else {
chance = 0;
candyNumber = 0;
gotoAndStop (1);
}
}
Instance of Symbol 1386 MovieClip "player" in Frame 42
onClipEvent (load) {
_root.goCandyGo = false;
_root.score = 0;
_root.lives = 10;
lastX = _root._xmouse;
_root.gameStarted = false;
}
onClipEvent (enterFrame) {
if (_root.gameStarted) {
_root.sentScore = false;
if ((_root._xmouse > (lastX + 5)) && (_root._xmouse < 550)) {
if (_currentframe != 20) {
this.nextFrame();
} else {
gotoAndStop (1);
}
lastX = _root._xmouse;
} else if ((_root._xmouse < (lastX - 5)) && (_root._xmouse > 154)) {
if (_currentframe != 1) {
this.prevFrame();
} else {
gotoAndStop (20);
}
lastX = _root._xmouse;
}
_x = _root._xmouse;
if (_x > 550) {
_x = 550;
}
if (_x < 154) {
_x = 154;
}
_root.trampoline._x = _x;
_root.trampoline._y = _y;
if (_root.lives < 0) {
_root.highscore = true;
_root.gameStarted = false;
} else {
_root.scoreText.text = _root.score;
_root.livesText.text = _root.lives;
}
} else {
_root.goCandyGo = false;
_root.lives = 10;
_root.gameStarted = false;
}
}
Instance of Symbol 1415 MovieClip "menu" in Frame 42
onClipEvent (enterFrame) {
if (_root.gameStarted) {
if (_alpha > 0) {
_alpha = (_alpha * 0.9);
_alpha = (_alpha - 5);
} else {
_alpha = 0;
}
} else {
if (_alpha < 100) {
_alpha = (_alpha + 5);
_alpha = (_alpha * 1.1);
} else {
_alpha = 100;
}
if (_root.highscore) {
highscores.gotoAndStop(2);
}
}
if (_alpha < 5) {
_visible = false;
} else {
_visible = true;
}
}
Frame 43
_root.stkbulletCounter = 0;
_root.stkhud.stkGunBullets = 15;
_root.stkhud.stkShotBullets = 10;
_root.stkhud.stkMiniBullets = 10;
onEnterFrame = function () {
_root.stkend.score = _root.stkhud.stkscore;
if (_root.stkhud.stkscore > 3000) {
_root.stkgen = 40;
_root.stkgen2 = 60;
}
if (_root.stkhud.stkscore > 7000) {
_root.stkgen = 20;
_root.stkgen2 = 50;
}
if (_root.stki > 520) {
_root.stki = 490;
}
};
_root.stkhud.stkmoney = 0;
_root.stkhud.stkhealth = 100;
_root.stki = 490;
_root.stkgen = 80;
_root.stkhud.stkscore = 0;
_root.stkgen2 = 90;
stop();
Instance of Symbol 1446 MovieClip "bulleti" in Frame 43
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
}
}
onClipEvent (load) {
speed = 20;
x = Math.sin(_root.stkmc._rotation * (Math.PI/180)) * speed;
y = (Math.cos(_root.stkmc._rotation * (Math.PI/180)) * speed) * -1;
}
onClipEvent (enterFrame) {
_x = (_x + x);
_y = (_y + y);
}
onClipEvent (enterFrame) {
stki = 490;
while (stki < 521) {
if (this.hitTest(_root["stkghoul" + stki].stkghoul) && (this._currentframe == 1)) {
this.gotoAndStop(2);
_root["stkghoul" + stki].gotoAndStop(2);
_root["stkghoul" + stki]._x = _root["stkghoul" + stki]._x + 3;
}
if (this.hitTest(_root["stkwitch" + stki].stkwitch) && (this._currentframe == 1)) {
this.gotoAndStop(2);
_root["stkwitch" + stki].health = _root["stkwitch" + stki].health - 60;
_root["stkwitch" + stki]._x = _root["stkwitch" + stki]._x + 5;
}
stki++;
}
}
Instance of Symbol 1457 MovieClip "stkmc" in Frame 43
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.stkmc.gotoAndStop(1);
_root.stkhud.box1.gotoAndStop(2);
_root.stkhud.box2.gotoAndStop(1);
_root.stkhud.box3.gotoAndStop(1);
}
if (Key.isDown(50)) {
_root.stkmc.gotoAndStop(2);
_root.stkhud.box2.gotoAndStop(2);
_root.stkhud.box1.gotoAndStop(1);
_root.stkhud.box3.gotoAndStop(1);
}
if (Key.isDown(51)) {
_root.stkmc.gotoAndStop(3);
_root.stkhud.box3.gotoAndStop(2);
_root.stkhud.box2.gotoAndStop(1);
_root.stkhud.box1.gotoAndStop(1);
}
}
onClipEvent (mouseMove) {
if ((_root._ymouse < 320) && (_root._xmouse > 100)) {
stkXd = _root._xmouse - _x;
stkYd = _root._ymouse - _y;
radAngle = Math.atan2(stkYd, stkXd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
}
}
Instance of Symbol 1459 MovieClip "stkbase" in Frame 43
/* no clip actions */
Instance of Symbol 1461 MovieClip "stkaimer" in Frame 43
onClipEvent (enterFrame) {
this.startDrag(true);
}
Instance of Symbol 1502 MovieClip "stkhud" in Frame 43
/* no clip actions */
Instance of Symbol 1505 MovieClip "bullet2" in Frame 43
onClipEvent (enterFrame) {
if (_name == "bullet2") {
_x = -1000;
}
}
onClipEvent (load) {
speed = 20;
x = Math.sin(_root.stkmc._rotation * (Math.PI/180)) * speed;
y = (Math.cos(_root.stkmc._rotation * (Math.PI/180)) * speed) * -1;
}
onClipEvent (enterFrame) {
_x = (_x + x);
_y = (_y + y);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.enemy.enemy2.head)) {
this.gotoAndStop(2);
_root.enemy.enemy2.head.gotoAndPlay(2);
}
if (this.b2._currentframe == 5) {
this.removeMovieClip();
}
if (this.b._currentframe == 25) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
stki = 490;
while (stki < 521) {
if (this.hitTest(_root["stkghoul" + stki].stkghoul) && (this._currentframe == 1)) {
this.gotoAndStop(2);
_root["stkghoul" + stki].gotoAndStop(2);
_root["stkghoul" + stki]._x = _root["stkghoul" + stki]._x + 3;
}
if (this.hitTest(_root["stkwitch" + stki].stkwitch) && (this._currentframe == 1)) {
this.gotoAndStop(2);
_root["stkwitch" + stki].health = _root["stkwitch" + stki].health - 60;
_root["stkwitch" + stki]._x = _root["stkwitch" + stki]._x + 5;
}
stki++;
}
}
Instance of Symbol 1512 MovieClip "bullet3" in Frame 43
onClipEvent (enterFrame) {
if (_name == "bullet3") {
_x = -1000;
}
}
onClipEvent (load) {
speed = 20;
x = Math.sin(_root.stkmc._rotation * (Math.PI/180)) * speed;
y = (Math.cos(_root.stkmc._rotation * (Math.PI/180)) * speed) * -1;
}
onClipEvent (enterFrame) {
_x = (_x + x);
_y = (_y + y);
}
onClipEvent (enterFrame) {
if (this.b3._currentframe == 5) {
this.removeMovieClip();
}
if (this.b._currentframe == 27) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
stki = 490;
while (stki < 521) {
if (this.hitTest(_root["stkghoul" + stki].stkghoul) && (this._currentframe == 1)) {
this.gotoAndStop(2);
_root["stkghoul" + stki].gotoAndStop(2);
_root["stkghoul" + stki]._x = _root["stkghoul" + stki]._x + 3;
}
if (this.hitTest(_root["stkwitch" + stki].stkwitch) && (this._currentframe == 1)) {
this.gotoAndStop(2);
_root["stkwitch" + stki].health = _root["stkwitch" + stki].health - 200;
_root["stkwitch" + stki]._x = _root["stkwitch" + stki]._x + 5;
}
stki++;
}
}
Instance of Symbol 1535 MovieClip "stkghoul" in Frame 43
onClipEvent (enterFrame) {
if (_name == "stkghoul") {
_x = -1000;
_y = -1000;
}
this._x = this._x - 3;
if (this.hitTest(_root.stkend)) {
_root.stkhud.stkhealth = _root.stkhud.stkhealth - 5;
this.removeMovieClip();
}
}
onClipEvent (load) {
health = 100;
this.speed = random(4) + 4;
this._x = 600;
this._y = 20 + random(170);
}
Instance of Symbol 1537 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.stkend._currentframe == 1) {
if (_root.stkhud.stkhealth < 1) {
_root.stkhud.stkhealth = 0;
_root.stkend.gotoAndStop(2);
}
if (((random(_root.stkgen) == 1) && (_root.stkhud.stkhealth > 0)) && (_root.stk == true)) {
duplicateMovieClip (_root.stkghoul, "stkghoul" + _root.stki, _root.stki);
_root.stki++;
}
if (((random(_root.stkgen2) == 1) && (_root.stkhud.stkhealth > 0)) && (_root.stk == true)) {
duplicateMovieClip (_root.stkwitch, "stkwitch" + _root.stki, _root.stki);
_root.stki++;
}
}
}
Instance of Symbol 1544 MovieClip "stkwitch" in Frame 43
onClipEvent (enterFrame) {
if (this.health < 0) {
this.gotoAndStop(2);
}
if (_name == "stkwitch") {
_x = -1000;
_y = -1000;
}
this._x = this._x - 5;
if (this.hitTest(_root.stkend)) {
_root.stkhud.stkhealth = _root.stkhud.stkhealth - 10;
this.removeMovieClip();
}
}
onClipEvent (load) {
health = 100;
this._x = 600;
this._y = 20 + random(170);
}
Instance of Symbol 1573 MovieClip "stkend" in Frame 43
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (_root.stkhud.stkhealth < 1) {
this.gotoAndStop(2);
}
}
Frame 44
stop();
instructions._visible = false;
var playerName = "Anonymous";
var sniperSound = new Sound(this);
sniperSound.attachSound("NDSniperSFX");
var healthSound = new Sound(this);
healthSound.attachSound("NDHealthSFX");
Frame 45
function zombieLoad(This, platform, dir, num) {
zombies.push(num);
This.num = num;
This.platform = _root["g" + platform];
This.dir = dir;
This._y = (This.platform._y - (This.platform._height / 2)) + 5;
This.leftEdge = This.platform._x - (This.platform._width / 2);
This.rightEdge = This.platform._x + (This.platform._width / 2);
This.health = 100;
This.healthbarOrgWidthPercent = This.healthbar.bar._width / 100;
This.attack = false;
This.onEnterFrame = function () {
if (this.health <= 0) {
this.healthbar._visible = false;
if (random(2) == 0) {
duplicateMovieClip ("health", (this.newHealthPack = "health" + getNextHighestDepth()), getNextHighestDepth());
_root[this.newHealthPack]._x = this._x + (_root[this.newHealthPack]._width / 2);
_root[this.newHealthPack]._y = this._y - _root[this.newHealthPack]._height;
_root[this.newHealthPack].onEnterFrame = function () {
if (this.hitTest(player) && (health < 100)) {
health = (((health + 20) > 100) ? 100 : (health + 20));
healthSound.start(0, 1);
this.removeMovieClip();
}
};
}
kills++;
this.gotoAndStop("die");
this.counter = 0;
for (i in zombies) {
if (zombies[i] == this.num) {
zombies.splice(this.counter - 1, 1);
delete this.onEnterFrame;
break;
}
this.counter++;
}
} else {
this.xDist = player._x - this._x;
this.yDist = player._y - this._y;
this.dist = Math.sqrt((this.xDist * this.xDist) + (this.yDist * this.yDist));
if (((((this.dist < zombieDist) && (Math.abs(this.yDist) < 30)) && (health > 0)) && (player._x > this.leftEdge)) && (player._x < this.rightEdge)) {
this.dir = ((player._x < this._x) ? 0 : 1);
if (this.dist < zombieAttackDist) {
this.attack = true;
this.gotoAndStop("attack");
}
} else if (((((this._x + (this._width / 2)) + zombieSpeed) > this.rightEdge) && (this.dir)) || ((((this._x - (this._width / 2)) - zombieSpeed) < this.leftEdge) && (!this.dir))) {
this.dir = (this.dir ? 0 : 1);
}
this._x = this._x + ((((2 * this.dir) - 1) * zombieSpeed) * (!this.attack));
this._xscale = ((-2 * this.dir) + 1) * 100;
this.healthbar.bar._width = this.healthbarOrgWidthPercent * this.health;
this.healthbar._xscale = ((this._xscale < 0) ? -100 : 100);
}
};
}
function radToDeg(radians) {
return((radians * 180) / Math.PI);
}
function degToRad(degrees) {
return((degrees * Math.PI) / 180);
}
stop();
Mouse.hide();
var gamePaused = false;
var gameStarted = false;
var pauseKeyDown = false;
var bottom = (Stage.height + (player._height * 2));
var playerStatus = "normal";
var hurtTimer;
var hurtTime = 3;
var health = 100;
var kills = 0;
var meters = 0;
var ammo = 100;
var platforms = 10;
var platformsArray = new Array(1, 2);
var highestPlatform;
var springs = 5;
var checkPointX;
var checkPointY;
var levelLength = (Stage.width * 2);
onEnterFrame = function () {
hud.playerStats._visible = Key.isDown(69);
if (Key.isDown(2)) {
Mouse.hide();
}
crosshair._x = _xmouse;
crosshair._y = _ymouse;
highestPlatform = Stage.height;
for (i in platformsArray) {
platform = _root["g" + platformsArray[i]];
if (platform._y < _root.highestPlatform) {
_root.highestPlatform = platform._y;
}
if (((platform._y - platform._height) - player._height) > ((darkness._y - (darkness._height / 2)) + 40)) {
platform.swapDepths(_root.getNextHighestDepth());
platform.removeMovieClip();
platformsArray.splice(i, 1);
}
}
while (highestPlatform > (player._y - Stage.height)) {
newPlatform = _root.getNextHighestDepth();
duplicateMovieClip ("dupePlatform", "g" + newPlatform, newPlatform);
platformsArray.push(newPlatform);
_root["g" + newPlatform]._y = highestPlatform - (random(130) + 100);
_root["g" + newPlatform]._x = random(levelLength - (_root["g" + newPlatform]._width * 2)) + _root["g" + newPlatform]._width;
highestPlatform = _root["g" + newPlatform]._y;
if (random(3) == 0) {
var _local2 = getNextHighestDepth();
duplicateMovieClip ("zombie", "z" + _local2, _local2);
var _local3 = _root["z" + _local2];
_root["z" + _local2]._x = (_root["g" + newPlatform]._x + random(100)) - 50;
zombieLoad(_local3, newPlatform, random(2), _local2);
}
}
};
checkPointX = player._x;
checkPointY = player._y;
var gameOver = false;
var xSpeed = 0;
var ySpeed = 0;
var maxYSpeed = 15;
var maxXSpeed = 7;
var xAcceleration = 0.4;
var yAcceleration = 0.5;
var deacceleration = 0.95;
var onGround = false;
var closeToGround = false;
var jumpPower = 10;
var jumpCounter = 1;
var jumpKeyDown = false;
var doubleJumpCounter = 0.5;
var bottomBounce = -0.5;
var sideBounce = -0.2;
var playerFilterArray = new Array();
player.onEnterFrame = function () {
if (((darkness._y - (darkness._height / 2)) < (this._y - (this._height * 2))) || (health <= 0)) {
gameOver = true;
delete onEnterFrame;
_x = 0;
_y = 0;
Mouse.show();
for (i in _root) {
if (_root[i] instanceof MovieClip) {
_root[i].removeMovieClip();
}
}
gotoAndStop ("NDGameOver");
}
if ((!gamePaused) && (!gameOver)) {
if (((Key.isDown(87) && (!jumpKeyDown)) && (jumpCounter >= 1)) && (doubleJumpCounter >= 0.2)) {
jumpKeyDown = true;
onGround = false;
ySpeed = jumpPower;
jumpCounter--;
doubleJumpCounter = 0;
this._y = this._y - 3;
this.gotoAndStop("jump");
} else {
jumpKeyDown = Key.isDown(87);
if (doubleJumpCounter < 0.2) {
doubleJumpCounter = doubleJumpCounter + 0.025;
}
if (closeToGround || (onGround)) {
jumpCounter = jumpCounter + (0.05 * (jumpCounter < 2));
} else {
jumpCounter = jumpCounter + (0.015 * (jumpCounter < 2));
}
if (!onGround) {
ySpeed = ySpeed - yAcceleration;
}
}
xSpeed = xSpeed + (xAcceleration * (Key.isDown(68) - Key.isDown(65)));
if (xSpeed > maxXSpeed) {
xSpeed = maxXSpeed;
} else if (xSpeed < (-maxXSpeed)) {
xSpeed = -maxXSpeed;
}
if ((!Key.isDown(68)) && (!Key.isDown(65))) {
xSpeed = xSpeed * deacceleration;
if ((xSpeed < 0.1) && (xSpeed > -0.1)) {
xSpeed = 0;
}
}
if (ySpeed > maxYSpeed) {
ySpeed = maxYSpeed;
} else if (ySpeed < (-maxYSpeed)) {
ySpeed = -maxYSpeed;
}
if ((ySpeed < 0.1) && (ySpeed > -0.1)) {
ySpeed = 0;
}
for (i in platformsArray) {
var _local3 = _root["g" + platformsArray[i]];
if (_local3.hitTest(this)) {
if (_local3.hitTest(this._x, this._y, true) && (ySpeed < 0)) {
if (!Key.isDown(83)) {
var _local4 = this._y - (_local3._y - (_local3._height / 2));
if ((_local4 > 0) && (!onGround)) {
this._y = this._y - (_local4 - 1);
}
onGround = true;
ySpeed = 0;
}
break;
}
} else if ((_local3.hitTest(this._x, this._y + 20, true) && (ySpeed < 0)) && (!onGround)) {
closeToGround = true;
ySpeed = ((_local3._y - (_local3._height / 2)) - this._y) / -5;
if ((ySpeed < 0.1) && (ySpeed > -0.1)) {
ySpeed = 0;
}
} else if (i == (platformsArray.length - 1)) {
if ((!_local3.hitTest(this._x, this._y + 20, true)) || (ySpeed >= 0)) {
onGround = false;
}
closeToGround = false;
}
}
rifle._yscale = (this._xscale = ((this._x <= _xmouse) ? 100 : -100));
this._x = this._x + xSpeed;
if (this._x < (this._width / 2)) {
this._x = this._width / 2;
} else if (this._x > (((-_x) + Stage.width) - (this._width / 2))) {
this._x = ((-_x) + Stage.width) - (this._width / 2);
}
this._rotation = xSpeed * 1.5;
this._y = this._y - ySpeed;
if (((Stage.height - this._y) / 50) > meters) {
meters = Math.round((Stage.height - this._y) / 5) / 10;
}
rifleXDist = rifle._x - _xmouse;
rifleYDist = rifle._y - _ymouse;
rifle._rotation = radToDeg(Math.atan2(rifleYDist, rifleXDist)) + 180;
rifle._x = this._x + (Math.sin(degToRad(this._rotation)) * 50);
rifle._y = this._y - (Math.cos(degToRad(this._rotation)) * 50);
var _local5 = new flash.filters.BlurFilter(xSpeed / 6, ySpeed / 6, 3);
playerFilterArray[0] = _local5;
this.filters = (rifle.filters = playerFilterArray);
} else {
health = ((health <= 0) ? 0 : (health));
}
_x = Math.round(((-this._x) + ((this._x - _xmouse) / 5)) + (Stage.width / 2));
if (_x > 0) {
_x = 0;
} else if (_x < (((-levelLength) + Stage.width) + 100)) {
_x = (((-levelLength) + Stage.width) + 100);
}
if (this._y < 500) {
_y = Math.round(((-this._y) + ((this._y - _ymouse) / 5)) + (Stage.height / 2));
if (_y < 0) {
_y = 0;
}
}
if ((!onGround) && (ySpeed > 0)) {
this.gotoAndStop("jump");
} else {
this.gotoAndStop("normal");
}
hud._x = -_x;
hud._y = -_y;
bgDiff = levelLength / (-_x);
if ((-_y) > ((bg._y - bg._height) + Stage.height)) {
bg._y = _y / 50;
bg._x = (levelLength / bgDiff) - (bg._width / bgDiff);
bg2._visible = false;
} else {
bg2._visible = true;
bg2._y = (-_y) + (Stage.height / 2);
bg2._x = (levelLength / bgDiff) - (bg._width / bgDiff);
}
this.swapDepths(getNextHighestDepth());
rifle.swapDepths(this.getDepth() + 1);
darkness.swapDepths(this.getDepth() + 3);
hud.swapDepths(this.getDepth() + 2);
crosshair.swapDepths(this.getDepth() + 4);
};
var recoil = 0.5;
var bulletDamage = 30;
var bulletDepthVar = 1;
var rifleLength = 70;
var bulletSpeed = 30;
var range = 500;
var dupedBullet;
onMouseDown = function () {
if (((ammo > 0) && (rifle._currentframe == 1)) && (!gamePaused)) {
ammo--;
sniperSound.start(0, 1);
rifle.gotoAndStop(2);
var _local3 = getNextHighestDepth();
duplicateMovieClip ("playerBullet", "bullet" + _local3, _local3);
xSpeed = xSpeed + (Math.sin(degToRad((-rifle._rotation) - 90)) * recoil);
if (!onGround) {
ySpeed = ySpeed - (Math.cos(degToRad((-rifle._rotation) - 90)) * recoil);
}
_root["bullet" + _local3].onEnterFrame = function () {
if (this.once != true) {
this._visible = true;
this.Length = this._height;
this._rotation = rifle._rotation + ((_xmouse > player._x) ? 85 : 95);
this.angle = degToRad(this._rotation);
this._x = rifle._x + (Math.sin(this.angle) * (rifleLength - this.Length));
this._y = rifle._y + ((-Math.cos(this.angle)) * (rifleLength - this.Length));
this.xSpeed = Math.sin(this.angle) * bulletSpeed;
this.ySpeed = Math.cos(this.angle) * bulletSpeed;
this.once = true;
}
if (!gamePaused) {
this.xDist = this._x - player._x;
this.yDist = this._y - player._y;
this.dist = Math.sqrt((this.xDist * this.xDist) + (this.yDist * this.yDist));
if (this.dist < range) {
this._x = this._x + this.xSpeed;
this._y = this._y - this.ySpeed;
for (i in zombies) {
if (_root["z" + zombies[i]].hitTest(this)) {
_root["z" + zombies[i]].health = _root["z" + zombies[i]].health - (bulletDamage * (_root["z" + zombies[i]].zombie.head.hitTest(this) + 1));
if (_root["z" + zombies[i]].health > 0) {
_root["z" + zombies[i]].gotoAndStop("hurt");
}
this.removeMovieClip();
break;
}
}
} else {
this.removeMovieClip();
}
}
};
}
};
darkness._width = levelLength;
darkness._height = Stage.height;
darkness._x = levelLength / 2;
darkness._y = (darkness._height / 2) + Stage.height;
darkness.onEnterFrame = function () {
this._y = this._y - 2;
};
var zombies = new Array();
var zombieSpeed = 1;
var zombieDamage = 35;
var zombieAttackDist = 50;
var zombieDist = 200;
Instance of Symbol 1638 MovieClip "zombie" in Frame 45
/* no clip actions */
Frame 46
function __rankz_send__(par1, par2, par3, par4, par4n) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.c2NvcmUy = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4n + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
heightTXT.text = (((meters % 1) != 0) ? (meters + "m") : (meters + ".0m"));
submitBTN.onRelease = function () {
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.playerName;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.meters;
bXlnYW1lX3Njb3JlX3ZhcmlhYmx2 = _root.kills;
__rankz_send__("MTgyMmolZSVhJW4lcw==", "aW1KVWlBVEk=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl, bXlnYW1lX3Njb3JlX3ZhcmlhYmx2);
getURL ("http://rankz.armorbot.com/DarkDepths/", _blank);
};
Symbol 31 MovieClip [Candy] Frame 1
velX = (Math.random() * 3) + 1;
velY = ((-Math.random()) * 4) - 2;
_rotation = (Math.random() * 360);
randIncrease = (Math.random() * 15) + 5;
letGo = false;
_x = (_root.thrower._x + _root.thrower.candyFollow._x);
_y = (_root.thrower._y + _root.thrower.candyFollow._y);
onEnterFrame = function () {
if (!_root.gameStarted) {
this.clear();
this.swapDepths(0);
this.removeMovieClip();
}
if (letGo) {
if (_root.trampoline.hitTest(_x, _y, true)) {
while (_root.trampoline.hitTest(_x, _y, true)) {
_y = (_y - 3);
}
_root.trampoline.play();
_root.playBoing();
velY = velY * -1;
velX = velX + 0.5;
}
_x = (_x + velX);
_y = (_y + velY);
velY = velY + 0.18;
_rotation = (_rotation + randIncrease);
if (_y >= 380) {
_root.playGasp();
_root.lives--;
onEnterFrame = function () {
_alpha = (_alpha * 0.9);
if (_alpha < 5) {
this.clear();
this.swapDepths(0);
this.removeMovieClip();
}
};
}
if (_x >= (540 + (_width / 2))) {
_root.playLaugh();
_root.score++;
this.clear();
this.swapDepths(0);
this.removeMovieClip();
}
} else {
if (_root.goCandyGo) {
letGo = true;
_x = (_x + velX);
_y = (_y + velY);
}
_x = (_root.thrower._x + _root.thrower.candyFollow._x);
_y = (_root.thrower._y + _root.thrower.candyFollow._y);
}
};
gotoAndStop(random(12) + 2);
Symbol 50 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip [newletterburst] Frame 1
onClipEvent (load) {
yspeed = random(40) - 20;
xspeed = random(40) - 20;
_alpha = 100;
gotoAndStop(random(10) + 1);
alpharate = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
_alpha = (_alpha - alpharate);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 70 MovieClip in Symbol 71 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(15) + 1);
}
Instance of Symbol 62 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12) + 1);
}
Instance of Symbol 71 MovieClip "flame" in Symbol 72 MovieClip Frame 1
onClipEvent (load) {
if (random(2) == 0) {
_width = (-_width);
}
}
Symbol 78 MovieClip [Hand] Frame 1
Mouse.hide();
matchLife = 1000;
initHeight = _height;
initWidth = _width;
struck = false;
victorySound1 = new Sound();
victorySound1.attachSound("witch.wav");
victorySound2 = new Sound();
victorySound2.attachSound("witch1.wav");
victorySound3 = new Sound();
victorySound3.attachSound("witch2.wav");
onEnterFrame = function () {
_x = (_x + ((_root._xmouse - _x) / 3));
_y = (_y + ((_root._ymouse - _y) / 3));
_height = ((initHeight * 10) / Math.pow(400 - _y, 0.5));
if (_height > 600) {
_height = 600;
}
_width = ((initWidth * _height) / initHeight);
if (_root.gameStarted) {
if (struck) {
match.gotoAndStop(2);
_root.countTime++;
_root.timer.text = Math.floor(_root.countTime / 3) / 10;
} else {
_root.timer.text = "Strike the match to start";
_root.striker._visible = true;
if (match.hit.hitTest(_root.striker) && (Math.pow(Math.pow(_root._xmouse - _x, 2) + Math.pow(_root._ymouse - _y, 2), 0.5) > 40)) {
struck = true;
_root.striker._visible = false;
_root.countTime = 0;
}
match.gotoAndStop(1);
}
allLit = true;
for (i in _root.candleArray) {
c = _root.candleArray[i];
if (!c.lit) {
allLit = false;
break;
}
}
if (allLit) {
if (_root.level != 0) {
if (Math.random() < 0.33) {
victorySound1.start();
} else if (Math.random() < 0.5) {
victorySound2.start();
} else {
victorySound3.start();
}
}
_root.nextLevel();
}
if (_root.mainMenu._visible) {
_root.mainMenu._alpha = _root.mainMenu._alpha * 0.8;
if (_root.mainMenu._alpha < 5) {
_root.mainMenu._alpha = 0;
_root.mainMenu._visible = false;
}
}
} else {
_root.mainMenu._visible = true;
if (_root.mainMenu._alpha < 100) {
_root.mainMenu._alpha = _root.mainMenu._alpha + 5;
_root.mainMenu._alpha = _root.mainMenu._alpha * 1.1;
if (_root.mainMenu._alpha >= 95) {
_root.mainMenu._alpha = 100;
}
}
_root.timer.text = "";
_root.striker._visible = false;
match.gotoAndStop(2);
_root.level = 0;
_root._quality = "BEST";
}
};
Symbol 84 MovieClip [Candle] Frame 1
if (Math.random() < 0.5) {
_xscale = (_xscale * -1);
}
initHeight = _height;
initWidth = _width;
initX = _x;
initY = _y;
_height = 5;
_width = 5;
_x = 275;
_y = 200;
ready = false;
_root.candleArray.push(this);
lit = false;
canLeaveYet = false;
onEnterFrame = function () {
candle.fire._visible = lit;
if (!canLeaveYet) {
if ((Math.abs(_x - initX) <= 3) && (Math.abs(_y - initY) <= 3)) {
_x = initX;
_y = initY;
ready = true;
} else {
_x = (_x + ((initX - _x) / 3));
_y = (_y + ((initY - _y) / 3));
}
_height = (_height + ((((initHeight * 10) / Math.pow(400 - _y, 0.5)) - _height) / 3));
_width = (_width + ((((initWidth * _height) / initHeight) - _width) / 3));
if ((!lit) && (ready)) {
if (_root.hand.struck && (candle.fire.flame.hitTest(_root.hand.match.hit))) {
if (Math.abs(_root.hand._y - _y) < 50) {
lit = true;
_height = (_height * 1.25);
_width = (_width * 1.25);
}
}
}
} else {
_x = (_x + (((((initX - 275) * 2) + 275) - _x) / 5));
_y = (_y + (((initY * 2) - _y) / 5));
_alpha = (_alpha * 0.85);
_height = ((initHeight * 10) / Math.pow(400 - _y, 0.5));
if (_height >= 150) {
_height = 150;
}
_width = ((initWidth * _height) / initHeight);
if (_alpha < 0.1) {
_visible = false;
_height = 5;
_width = 5;
_alpha = 0;
onEnterFrame = function () {
};
_x = 1000;
_y = 1000;
lit = false;
for (i in _root.candleArray) {
if (_root.candleArray[i] == this) {
_root.candleArray.splice(i, 1);
}
}
this.swapDepths(0);
this.clear();
this.removeMovieClip();
}
}
};
Symbol 110 MovieClip Frame 60
gotoAndPlay (1);
Symbol 1940 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object
{
static var _CharsReverseLookup;
var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count;
function Armor_Bot_30_En_AS1 () {
super();
}
static function Encode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.encodeArmor_Bot_30_En_AS1(str));
}
static function Decode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.decodeArmor_Bot_30_En_AS1(str));
}
static function StringReplaceAll(source, find, replacement) {
return(source.split(find).join(replacement));
}
static function InitReverseChars() {
_CharsReverseLookup = new Array();
var _local1 = 0;
while (_local1 < _Chars.length) {
_CharsReverseLookup[_Chars[_local1]] = _local1;
_local1++;
}
return(true);
}
static function UrlDecode(str) {
str = StringReplaceAll(str, "\\", " ");
str = unescape(str);
return(str);
}
static function UrlEncode(str) {
str = escape(str);
str = StringReplaceAll(str, "\\", "%2B");
str = StringReplaceAll(str, "%20", "+");
return(str);
}
function setArmor_Bot_30_En_AS1Str(str) {
_Armor_Bot_30_En_AS1Str = str;
_Armor_Bot_30_En_AS1Count = 0;
}
function readArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255;
_Armor_Bot_30_En_AS1Count++;
return(_local2);
}
function encodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(3);
var _local5 = 0;
var _local4 = false;
while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[1] = readArmor_Bot_30_En_AS1();
_local2[2] = readArmor_Bot_30_En_AS1();
_local3 = _local3 + _Chars[_local2[0] >> 2];
if (_local2[1] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)];
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)];
_local3 = _local3 + _Chars[_local2[2] & 63];
} else {
_local3 = _local3 + _Chars[(_local2[1] << 2) & 60];
_local3 = _local3 + "=";
_local4 = true;
}
} else {
_local3 = _local3 + _Chars[(_local2[0] << 4) & 48];
_local3 = _local3 + "=";
_local3 = _local3 + "=";
_local4 = true;
}
_local5 = _local5 + 4;
if (_local5 >= 76) {
_local3 = _local3 + newline;
_local5 = 0;
}
}
return(_local3);
}
function readReverseArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
while (true) {
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count);
_Armor_Bot_30_En_AS1Count++;
if (_CharsReverseLookup[_local2]) {
return(_CharsReverseLookup[_local2]);
}
if (_local2 == "A") {
return(0);
}
}
}
function ntos(n) {
var _local1 = n.toString(16);
if (_local1.length == 1) {
_local1 = "0" + _local1;
}
_local1 = "%" + _local1;
return(unescape(_local1));
}
function decodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(4);
var _local4 = false;
while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[2] = readReverseArmor_Bot_30_En_AS1();
_local2[3] = readReverseArmor_Bot_30_En_AS1();
_local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4));
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2));
if (_local2[3] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]);
} else {
_local4 = true;
}
} else {
_local4 = true;
}
}
return(_local3);
}
function toHex(n) {
var _local4 = "";
var _local3 = true;
var _local1 = 32;
while (_local1 > 0) {
_local1 = _local1 - 4;
var _local2 = (n >> _local1) & 15;
if ((!_local3) || (_local2 != 0)) {
_local3 = false;
_local4 = _local4 + _Digits[_local2];
}
}
return(((_local4 == "") ? "0" : (_local4)));
}
function pad(str, len, pad) {
var _local2 = str;
var _local1 = str.length;
while (_local1 < len) {
_local2 = pad + _local2;
_local1++;
}
return(_local2);
}
function encodeHex(str) {
var _local4 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0");
_local2++;
}
return(_local4);
}
function decodeHex(str) {
var _local5 = "";
var _local3 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local3 = _local3 + str.charAt(_local2);
if (_local3.length == 2) {
_local5 = _local5 + ntos(parseInt("0x" + _local3));
_local3 = "";
}
_local2++;
}
return(_local5);
}
static var _EndOfInput = -1;
static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/");
static var _CharsReverseLookupInited = InitReverseChars();
static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
}
Symbol 133 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 134 MovieClip Frame 148
_root.play();
Symbol 134 MovieClip Frame 176
_root.nextFrame();
Symbol 150 MovieClip Frame 1
_root.play();
Symbol 150 MovieClip Frame 151
_root.play();
Symbol 153 MovieClip Frame 32
gotoAndPlay (1);
Symbol 158 Button
on (release) {
getURL ("armorgames.com", _blank);
}
Symbol 206 Button
on (release) {
getURL ("http://www.newgrounds.com/collection/halloween2007", _blank);
}
Symbol 210 MovieClip Frame 2880
gotoAndPlay (2);
Instance of Symbol 228 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.rect.hitTest(_parent)) {
_root.games.light._y = _parent._y;
}
}
Instance of Symbol 216 MovieClip "light" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
_root.game = 1;
ypos = _y;
}
onClipEvent (enterFrame) {
if (ypos != _y) {
ypos = _y;
_root.flash.gotoAndPlay(2);
i = 1;
while (i < 11) {
if (_root.games["game" + i]._y == _y) {
_root.game = i;
_root.pic.gotoAndStop(_root.game);
break;
}
i++;
}
}
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 1
this.createEmptyMovieClip("fire", 1);
this.fire.attachMovie("fireyellow2", "fireybase", 3200, {_x:0, _y:0});
this.fire.attachMovie("firered2", "firerbase", 2200, {_x:0, _y:0});
this.fire.z = 1;
this.fire.r = 1;
this.fire.onEnterFrame = function () {
this.attachMovie("fireyellow2", "fireypart" + this.z, 3000 + this.z, {_x:random(30) - 15, _y:0});
eval ("this.fireypart" + this.z).onEnterFrame = function () {
this._y = this._y - 9;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
if (this._xscale <= 0) {
this.removeMovieClip();
}
};
if (this.z <= 100) {
this.z++;
} else {
this.z = 0;
}
this.attachMovie("firered2", "firerpart" + this.z, 2000 + this.r, {_x:random(30) - 15, _y:0});
eval ("this.firerpart" + this.r).onEnterFrame = function () {
this._y = this._y - 9;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
if (this._xscale <= 0) {
this.removeMovieClip();
}
};
if (this.r <= 100) {
this.r++;
} else {
this.r = 0;
}
};
Symbol 286 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 2
_root.controlson = false;
_root.asteroidsgo = false;
_root.lives.gotoAndPlay((_root.lives._currentframe = _root.lives._currentframe + 1));
Symbol 294 MovieClip Frame 39
_root.controlson = true;
_root.asteroidsgo = true;
Symbol 349 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "actions" in Symbol 375 MovieClip Frame 1
onClipEvent (load) {
speed = 30;
remove = 0;
num = _parent.num;
_parent.num = "";
onesec = 0;
rootnum = Math.round(Math.random() * 1);
rootnum2 = Math.round(Math.random() * 1);
_parent._alpha = 100;
smoke = 0;
smoketime = 2;
explode = false;
}
onClipEvent (enterFrame) {
if (_parent._name != "bullet") {
if (explode) {
i = 0;
while (i < _root.bulletsnum.length) {
if (_root.bulletsnum[i] == num) {
_root.bulletsnum.splice(i);
break;
}
i++;
}
if (_root.bar.hitTest(_parent._x + _parent._parent._x, _parent._y + _parent._parent._y, true)) {
_root.explode(_parent._x + _parent._parent._x, _parent._y + _parent._parent._y);
}
removeMovieClip(_parent);
}
smoke++;
if (smoke > smoketime) {
i = Math.round(Math.random() * 100000);
duplicateMovieClip (_root.circle2, "c" + i, _root.getNextHighestDepth());
_root["c" + i]._x = _parent._x + _parent._parent._x;
_root["c" + i]._y = _parent._y + _parent._parent._y;
smoke = 0;
}
if (!_root.pause) {
if (onesec >= 1) {
_parent._alpha = 0;
onesec++;
if (onesec >= 2) {
_root.hit = 0;
remove = 1;
}
} else {
if (remove == 1) {
x = 0;
while (x < _root.bulletnum.length) {
if (_root.bulletnum[x] == num) {
_root.bulletnum.splice(x);
break;
}
x++;
}
if (_parent._name != "bullet") {
removeMovieClip(_parent);
}
}
_parent._y = _parent._y - (Math.cos(_parent._rotation * (Math.PI/180)) * speed);
_parent._x = _parent._x + (Math.sin(_parent._rotation * (Math.PI/180)) * speed);
}
if (_root.world.platforms.hitTest(_parent._x + _parent._parent._x, _parent._y + _parent._parent._y, true)) {
explode = true;
}
}
} else {
_parent._alpha = 0;
}
}
Symbol 388 MovieClip Frame 1
stop();
Instance of Symbol 388 MovieClip "gun" in Symbol 404 MovieClip Frame 1
onClipEvent (enterFrame) {
xDifference = ((_x + _parent._x) + _parent._parent._x) - _root.crosshair._x;
yDifference = (((_y + _parent._y) + _parent._parent._y) - _root.crosshair._y) + 8;
if (_parent._xscale == _root.maxscale) {
_rotation = ((-Math.atan2(xDifference, yDifference)) / (Math.PI/180));
_xscale = 100;
_yscale = 100;
} else {
_rotation = ((-Math.atan2(xDifference, -yDifference)) / (Math.PI/180));
_xscale = -100;
_yscale = -100;
}
}
Symbol 404 MovieClip Frame 63
gotoAndPlay (35);
Symbol 404 MovieClip Frame 99
gotoAndPlay (73);
Symbol 404 MovieClip Frame 106
stop();
Symbol 404 MovieClip Frame 115
stop();
Symbol 415 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 2
stop();
Symbol 420 MovieClip Frame 1
stop();
Instance of Symbol 422 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
direction = 1;
speed = 5;
jump = false;
jumpspeed = -21;
yspd = 0;
grav = 1.6;
maxj = 30;
delay = 0;
dead = false;
lives = 2;
}
onClipEvent (enterFrame) {
if (_parent._name != "zombie") {
if (_root.submitthing._alpha > 0) {
removeMovieClip(_parent);
}
_parent.hit._alpha = 0;
if (_root.world.char.hitTest(_parent.hit)) {
_root.loseLife(1);
}
if (!dead) {
if (_parent._x < _root.world.char._x) {
delay++;
if (delay > 10) {
direction = 2;
delay = 0;
}
} else {
delay++;
if (delay > 10) {
direction = 1;
}
}
if (!_root.world.char.area.hitTest(_parent)) {
if (direction == 1) {
if (!jump) {
if (_root.world.platforms.hitTest(((_parent._x - speed) - (_parent._width / 3)) + _parent._parent._x, (_parent._y - (_parent._height / 2)) + _parent._parent._y, true)) {
jump = true;
yspd = jumpspeed;
if (!_root.world.char.area.hitTest(_parent)) {
if (_parent._currentframe < 57) {
_parent.gotoAndPlay(57);
}
} else {
_parent.gotoAndPlay(38);
}
}
}
if ((_parent._currentframe < 37) or (_parent._currentframe > 57)) {
_parent._xscale = 100;
_parent._x = _parent._x - speed;
}
} else {
if (!jump) {
if (_root.world.platforms.hitTest(((_parent._x + speed) + (_parent._width / 3)) + _parent._parent._x, (_parent._y - (_parent._height / 2)) + _parent._parent._y, true)) {
jump = true;
yspd = jumpspeed;
if (!_root.world.char.area.hitTest(_parent)) {
if (_parent._currentframe < 57) {
_parent.gotoAndPlay(57);
}
} else {
_parent.gotoAndPlay(38);
}
}
}
if ((_parent._currentframe < 37) or (_parent._currentframe > 57)) {
_parent._xscale = -100;
_parent._x = _parent._x + speed;
}
}
if (_root.world.platforms.hitTest(_parent._x + _parent._parent._x, (_parent._y - (_parent._height / 4)) + _parent._parent._y, true)) {
jump = true;
yspd = jumpspeed;
_parent.gotoAndPlay(57);
}
} else {
if ((_parent._currentframe < 38) or (_parent._currentframe > 57)) {
if (!dead) {
_parent.gotoAndPlay(38);
}
}
if (_root.world.platforms.hitTest(_parent._x + _parent._parent._x, (_parent._y - (_parent._height / 4)) + _parent._parent._y, true)) {
if (!dead) {
jump = true;
yspd = jumpspeed;
_parent.gotoAndPlay(57);
}
}
}
if (jump) {
if (yspd < 0) {
if (_parent._currentframe == 62) {
_parent.gotoAndPlay(62);
}
}
if (yspd < maxj) {
yspd = yspd + grav;
} else {
yspd = maxj - 1;
}
if (yspd > 0) {
if (!_root.world.platforms.hitTest(_parent._x + _root.world._x, (_parent._y + _root.world._y) + yspd, true)) {
_parent._y = _parent._y + yspd;
} else {
if (!_root.world.platforms.hitTest(_parent._x + _root.world._x, _parent._y + _root.world._y, true)) {
j = 1;
while (j < maxj) {
if (_root.world.platforms.hitTest(_parent._x + _root.world._x, (_parent._y + _root.world._y) + j, true) and (!_root.world.platforms.hitTest(_parent._x + _root.world._x, ((_parent._y + _root.world._y) + j) - 1, true))) {
_parent._y = _parent._y + j;
}
j++;
}
}
jump = false;
_parent.gotoAndPlay(1);
}
} else {
_parent._y = _parent._y + yspd;
}
} else if (!_root.world.platforms.hitTest(_parent._x + _root.world._x, _parent._y + _root.world._y, true)) {
j = 1;
while (j < maxj) {
if (_root.world.platforms.hitTest(_parent._x + _root.world._x, (_parent._y + _root.world._y) + j, true) and (!_root.world.platforms.hitTest(_parent._x + _root.world._x, ((_parent._y + _root.world._y) + j) - 1, true))) {
_parent._y = _parent._y + j;
}
if (j == (maxj - 1)) {
jump = true;
yspd = 6;
}
j++;
}
} else if (_root.world.platforms.hitTest(_parent._x + _root.world._x, _parent._y + _root.world._y, true) and _root.world.platforms.hitTest(_parent._x + _root.world._x, (_parent._y + _root.world._y) - 1, true)) {
j = 1;
while (j < maxj) {
if (_root.world.platforms.hitTest(_parent._x + _root.world._x, (_parent._y + _root.world._y) - j, true) and (!_root.world.platforms.hitTest(_parent._x + _root.world._x, ((_parent._y + _root.world._y) - j) - 1, true))) {
_parent._y = _parent._y - j;
}
if (j == (maxj - 1)) {
jump = true;
yspd = 6;
}
j++;
}
}
i = 0;
while (i < _root.bulletsnum.length) {
if (_root.bullets["b" + _root.bulletsnum[i]].hitTest(_parent)) {
if (_parent.head._currentframe == 1) {
dead = true;
jump = false;
} else {
lives--;
if (lives <= 0) {
dead = true;
jump = false;
} else {
_parent.flash.play();
}
}
_root.score = _root.score + 125;
if (_root.bullets["b" + _root.bulletsnum[i]]) {
_root.bullets["b" + _root.bulletsnum[i]].actions.explode = true;
}
if (lives <= 0) {
_parent.gotoAndPlay(71);
}
if (dead) {
_parent.gotoAndPlay(71);
}
break;
}
i++;
}
} else if (_parent._currentframe < 71) {
_parent.gotoAndPlay(71);
}
} else {
_parent._y = -100000;
}
if (dead) {
if (_parent._currentframe < 71) {
_parent.gotoAndPlay(71);
}
}
}
Symbol 427 MovieClip Frame 37
gotoAndPlay (7);
Symbol 427 MovieClip Frame 56
gotoAndPlay (1);
Symbol 427 MovieClip Frame 62
stop();
Symbol 427 MovieClip Frame 69
stop();
Symbol 427 MovieClip Frame 71
play();
Symbol 427 MovieClip Frame 92
removeMovieClip(_parent);
stop();
Symbol 435 MovieClip Frame 1
stop();
Instance of Symbol 422 MovieClip in Symbol 438 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
maxx = 15;
xspd = 0;
yspd = 0;
dead = false;
dive = false;
wait = 0;
lives = 2;
}
onClipEvent (enterFrame) {
if (_parent._name != "bat") {
if (_root.submitthing._alpha > 0) {
removeMovieClip(_parent);
}
_parent.hit._alpha = 0;
if (_root.world.char.hitTest(_parent.hit)) {
_root.loseLife(1);
}
if (!dead) {
i = 0;
while (i < _root.bulletsnum.length) {
if (_root.bullets["b" + _root.bulletsnum[i]].hitTest(_parent)) {
lives--;
_root.score = _root.score + 75;
if (lives <= 0) {
dad_root.score = dad_root.score + 125;
dead = true;
_parent.gotoAndPlay(40);
} else {
_parent.flash.play();
}
_root.bullets["b" + _root.bulletsnum[i]].actions.explode = true;
break;
}
i++;
}
}
if (!dead) {
if (dive) {
if (_parent._currentframe < 24) {
_parent.gotoAndPlay(24);
}
_parent._y = _parent._y + yspd;
yspd = yspd + 4;
if (_root.world.platforms.hitTest(_parent._x + _parent._parent._x, _parent._y + _parent._parent._y, true)) {
_root.actions.explode = true;
_parent.play();
dive = false;
if (_parent._x > _root.world.char._x) {
xspd = (maxx / 3) * 2;
}
if (_parent._x < _root.world.char._x) {
xspd = ((-maxx) / 3) * 2;
}
yspd = 0;
wait = 0;
}
} else {
wait++;
if (wait > 60) {
if (((_parent._x - _root.world.char._x) < 50) and ((_parent._x - _root.world.char._x) > -50)) {
dive = true;
yspd = -20;
}
}
if (_parent._y > (_root.world.char._y - 200)) {
yspd = yspd - 0.5;
_parent._y = _parent._y + yspd;
}
if (_parent._y < (_root.world.char._y - 300)) {
_parent._y = _parent._y + 3;
}
if (_parent._x < _root.world.char._x) {
_parent._xscale = -100;
if (xspd < maxx) {
xspd = xspd + 0.5;
} else {
xspd = maxx;
}
} else {
_parent._xscale = 100;
if (xspd > (-maxx)) {
xspd = xspd - 0.5;
} else {
xspd = -maxx;
}
}
_parent._x = _parent._x + xspd;
}
} else if (_parent._currentframe < 40) {
_parent.gotoAndPlay(40);
}
} else {
dead = false;
_parent._y = -100000;
}
}
Symbol 438 MovieClip Frame 23
gotoAndPlay (1);
Symbol 438 MovieClip Frame 27
stop();
Symbol 438 MovieClip Frame 38
gotoAndPlay (1);
Symbol 438 MovieClip Frame 64
removeMovieClip(_parent);
stop();
Instance of Symbol 422 MovieClip in Symbol 453 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
direction = 1;
speed = 6.5;
jump = false;
jumpspeed = -21;
yspd = 0;
grav = 1.6;
maxj = 30;
delay = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (_parent._name != "ghost") {
if (_root.submitthing._alpha > 0) {
removeMovieClip(_parent);
}
_parent.hit._alpha = 0;
if (_root.world.char.hitTest(_parent.hit)) {
_root.loseLife(1.5);
}
if (!dead) {
if (_parent._x < _root.world.char._x) {
delay++;
if (delay > 10) {
direction = 2;
delay = 0;
}
} else {
delay++;
if (delay > 10) {
direction = 1;
}
}
if (!_root.world.char.area.hitTest(_parent)) {
if (direction == 1) {
if (!jump) {
if (_root.world.platforms.hitTest(((_parent._x - speed) - (_parent._width / 3)) + _parent._parent._x, (_parent._y - (_parent._height / 2)) + _parent._parent._y, true)) {
jump = true;
yspd = jumpspeed;
if (!_root.world.char.area.hitTest(_parent)) {
if (_parent._currentframe < 57) {
_parent.gotoAndPlay(57);
}
} else {
_parent.gotoAndPlay(38);
}
}
}
if ((_parent._currentframe < 37) or (_parent._currentframe > 57)) {
_parent._xscale = 100;
_parent._x = _parent._x - speed;
}
} else {
if (!jump) {
if (_root.world.platforms.hitTest(((_parent._x + speed) + (_parent._width / 3)) + _parent._parent._x, (_parent._y - (_parent._height / 2)) + _parent._parent._y, true)) {
jump = true;
yspd = jumpspeed;
if (!_root.world.char.area.hitTest(_parent)) {
if (_parent._currentframe < 57) {
_parent.gotoAndPlay(57);
}
} else {
_parent.gotoAndPlay(38);
}
}
}
if ((_parent._currentframe < 37) or (_parent._currentframe > 57)) {
_parent._xscale = -100;
_parent._x = _parent._x + speed;
}
}
if (_root.world.platforms.hitTest(_parent._x + _parent._parent._x, (_parent._y - (_parent._height / 4)) + _parent._parent._y, true)) {
jump = true;
yspd = jumpspeed;
_parent.gotoAndPlay(57);
}
} else {
if ((_parent._currentframe < 38) or (_parent._currentframe > 57)) {
_parent.gotoAndPlay(38);
}
if (_root.world.platforms.hitTest(_parent._x + _parent._parent._x, (_parent._y - (_parent._height / 4)) + _parent._parent._y, true)) {
jump = true;
yspd = jumpspeed;
_parent.gotoAndPlay(57);
}
}
if (jump) {
if (yspd < 0) {
if (_parent._currentframe == 62) {
_parent.gotoAndPlay(62);
}
}
if (yspd < maxj) {
yspd = yspd + grav;
} else {
yspd = maxj - 1;
}
if (yspd > 0) {
if (!_root.world.platforms.hitTest(_parent._x + _root.world._x, (_parent._y + _root.world._y) + yspd, true)) {
_parent._y = _parent._y + yspd;
} else {
if (!_root.world.platforms.hitTest(_parent._x + _root.world._x, _parent._y + _root.world._y, true)) {
j = 1;
while (j < maxj) {
if (_root.world.platforms.hitTest(_parent._x + _root.world._x, (_parent._y + _root.world._y) + j, true) and (!_root.world.platforms.hitTest(_parent._x + _root.world._x, ((_parent._y + _root.world._y) + j) - 1, true))) {
_parent._y = _parent._y + j;
}
j++;
}
}
jump = false;
_parent.gotoAndPlay(1);
}
} else {
_parent._y = _parent._y + yspd;
}
} else if (!_root.world.platforms.hitTest(_parent._x + _root.world._x, _parent._y + _root.world._y, true)) {
j = 1;
while (j < maxj) {
if (_root.world.platforms.hitTest(_parent._x + _root.world._x, (_parent._y + _root.world._y) + j, true) and (!_root.world.platforms.hitTest(_parent._x + _root.world._x, ((_parent._y + _root.world._y) + j) - 1, true))) {
_parent._y = _parent._y + j;
}
if (j == (maxj - 1)) {
jump = true;
yspd = 6;
}
j++;
}
} else if (_root.world.platforms.hitTest(_parent._x + _root.world._x, _parent._y + _root.world._y, true) and _root.world.platforms.hitTest(_parent._x + _root.world._x, (_parent._y + _root.world._y) - 1, true)) {
j = 1;
while (j < maxj) {
if (_root.world.platforms.hitTest(_parent._x + _root.world._x, (_parent._y + _root.world._y) - j, true) and (!_root.world.platforms.hitTest(_parent._x + _root.world._x, ((_parent._y + _root.world._y) - j) - 1, true))) {
_parent._y = _parent._y - j;
}
if (j == (maxj - 1)) {
jump = true;
yspd = 6;
}
j++;
}
}
i = 0;
while (i < _root.bulletsnum.length) {
if (_root.bullets["b" + _root.bulletsnum[i]].hitTest(_parent)) {
dead = true;
jump = false;
_parent.gotoAndPlay(71);
_root.score = _root.score + 300;
_root.bullets["b" + _root.bulletsnum[i]].actions.explode = true;
break;
}
i++;
}
} else if (_parent._currentframe < 71) {
_parent.gotoAndPlay(71);
}
} else {
_parent._y = -100000;
}
if (dead) {
if (_parent._currentframe < 71) {
_parent.gotoAndPlay(71);
}
}
}
Symbol 453 MovieClip Frame 36
gotoAndPlay (1);
Symbol 453 MovieClip Frame 54
gotoAndPlay (1);
Symbol 453 MovieClip Frame 70
stop();
Symbol 453 MovieClip Frame 89
removeMovieClip(_parent);
stop();
Instance of Symbol 458 MovieClip in Symbol 459 MovieClip Frame 1
onClipEvent (load) {
if (_parent._name != "circle") {
aspd = 5;
xspd = 5;
speed = 5;
_parent._alpha = 200 - _parent._xscale;
} else {
_parent._alpha = 0;
}
}
onClipEvent (enterFrame) {
if (_parent._name != "circle") {
this._parent._y = this._parent._y - (Math.cos(this._parent._rotation * (Math.PI/180)) * speed);
this._parent._x = this._parent._x + (Math.sin(this._parent._rotation * (Math.PI/180)) * speed);
_parent._xscale = _parent._xscale + xspd;
_parent._yscale = _parent._xscale;
_parent._alpha = _parent._alpha - (_parent._xscale / 30);
if (_parent._alpha <= 0) {
removeMovieClip(_parent);
}
}
}
Instance of Symbol 458 MovieClip in Symbol 460 MovieClip Frame 1
onClipEvent (load) {
if (_parent._name != "circle2") {
aspd = 10;
xspd = 5;
speed = 5;
_parent._alpha = 100;
} else {
_parent._alpha = 0;
}
}
onClipEvent (enterFrame) {
if (_parent._name != "circle2") {
_parent._xscale = _parent._xscale + xspd;
_parent._yscale = _parent._xscale;
_parent._alpha = _parent._alpha - aspd;
if (_parent._alpha <= 0) {
removeMovieClip(_parent);
}
}
}
Symbol 473 MovieClip Frame 1
stop();
Symbol 491 Button
on (release) {
if (_root.menuthing._alpha == 100) {
_root.menuthing._alpha--;
}
}
Symbol 494 Button
on (release) {
getURL ("http://rankz.armorbot.com/picogame/", _blank);
}
Symbol 498 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 501 Button
on (release) {
if (_parent._alpha == 100) {
_root.menuthing._alpha = 100;
_root.submitthing._alpha = 0;
}
}
Symbol 509 Button
on (release) {
_root.username = namevar.text;
_root.senddascores();
}
Symbol 511 MovieClip Frame 1
gotoAndPlay (510);
Symbol 511 MovieClip Frame 4653
gotoAndPlay (2);
Symbol 512 MovieClip Frame 2371
gotoAndPlay (2);
Symbol 522 Button
on (release) {
_root.levelName.clear();
_root.striker.clear();
_root.hand.clear();
_root.levelName.swapDepths(0);
_root.striker.swapDepths(0);
_root.hand.swapDepths(0);
_root.levelName.removeMovieClip();
_root.striker.removeMovieClip();
_root.hand.removeMovieClip();
_root._quality = "BEST";
_root.gotoAndStop("menu");
}
Symbol 525 Button
on (release) {
_root.countTime = -1;
_root.gameStarted = true;
}
Symbol 533 Button
on (release) {
_root.username = highscoreName.text;
_root.senddascoresCL();
gotoAndStop (1);
}
Symbol 538 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 2
stop();
Symbol 643 Button
on (release) {
getURL ("http://rankz.armorbot.com/BloodType", _blank);
}
Symbol 654 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 655 Button
on (release) {
_root.diff = 100;
_root.gotoAndPlay("st1ksgame");
}
Symbol 656 Button
on (release) {
_root.diff = 80;
_root.gotoAndPlay("st1ksgame");
}
Symbol 657 Button
on (release) {
_root.diff = 40;
_root.gotoAndPlay("st1ksgame");
_root.st1khighscoreson = true;
}
Symbol 658 Button
on (release) {
_root.diff = 25;
_root.gotoAndPlay("st1ksgame");
_root.st1khighscoreson = true;
}
Symbol 659 Button
on (release) {
_root.diff = 15;
_root.gotoAndPlay("st1ksgame");
_root.st1khighscoreson = true;
}
Symbol 660 MovieClip Frame 21
stop();
Symbol 738 MovieClip Frame 310
_root.gotoAndPlay("st1ksactualgame");
Instance of Symbol 741 MovieClip in Symbol 744 MovieClip Frame 18
onClipEvent (enterFrame) {
_root.timer--;
}
Symbol 744 MovieClip Frame 26
stop();
_root.timer--;
Symbol 744 MovieClip Frame 27
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
_root.timer = _root.diff;
Instance of Symbol 743 MovieClip in Symbol 744 MovieClip Frame 55
onClipEvent (load) {
a = 0;
x = 1;
while (x < 10) {
a = Math.round((Math.random() * 35) + 1);
if (a != _root.letters._currentframe) {
_root.letters.gotoAndStop(a);
break;
}
x++;
}
}
Symbol 780 MovieClip Frame 1
stop();
_root.aa = true;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 2
_root.aa = false;
_root.bb = true;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 3
_root.aa = false;
_root.bb = false;
_root.cc = true;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 4
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = true;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 5
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = true;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 6
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = true;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 7
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = true;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 8
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = true;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 9
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = true;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 10
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = true;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 11
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = true;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 12
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = true;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 13
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = true;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 14
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = true;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 15
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = true;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 16
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = true;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 17
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = true;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 18
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = true;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 19
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = true;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 20
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = true;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 21
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = true;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 22
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = true;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 23
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = true;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 24
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = true;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 25
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = true;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 26
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = true;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 27
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = true;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 28
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = true;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 29
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = true;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 30
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = true;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 31
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = true;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 32
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = true;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 33
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = true;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 34
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = true;
_root.ninenine = false;
_root.zerozero = false;
Symbol 780 MovieClip Frame 35
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = true;
_root.zerozero = false;
Symbol 780 MovieClip Frame 36
_root.aa = false;
_root.bb = false;
_root.cc = false;
_root.dd = false;
_root.ee = false;
_root.ff = false;
_root.gg = false;
_root.hh = false;
_root.ii = false;
_root.jj = false;
_root.kk = false;
_root.ll = false;
_root.mm = false;
_root.nn = false;
_root.oo = false;
_root.pp = false;
_root.qq = false;
_root.rr = false;
_root.ss = false;
_root.tt = false;
_root.uu = false;
_root.vv = false;
_root.ww = false;
_root.xx = false;
_root.yy = false;
_root.zz = false;
_root.oneone = false;
_root.twotwo = false;
_root.threethree = false;
_root.fourfour = false;
_root.fivefive = false;
_root.sixsix = false;
_root.sevenseven = false;
_root.eighteight = false;
_root.ninenine = false;
_root.zerozero = true;
Symbol 783 MovieClip Frame 1801
_root.gotoAndPlay("st1ksgameover");
Symbol 785 MovieClip Frame 1
stop();
Symbol 813 Button
on (release) {
_root.st1khighscoeson = false;
gotoAndPlay ("st1ksmenu");
}
Symbol 814 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 825 Button
on (release) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.nameest1k;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score;
__rankz_send__("MTgxMWolZSVhJW4lcw==", "bmxHQUtYYVo=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
_root.st1khighscoeson = false;
_root.gotoAndPlay("st1ksmenu");
getURL ("http://rankz.armorbot.com/BloodType", _blank);
}
Symbol 835 Button
on (release) {
gotoAndPlay ("game");
}
Symbol 841 Button
on (release) {
gotoAndPlay ("highscores");
}
Symbol 852 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 860 MovieClip Frame 40
stop();
Symbol 861 MovieClip Frame 1
stop();
Symbol 861 MovieClip Frame 12
stop();
Symbol 861 MovieClip Frame 23
stop();
Symbol 861 MovieClip Frame 34
stop();
Symbol 861 MovieClip Frame 44
stop();
_root.gotoAndPlay("gameover2st1k");
Symbol 872 MovieClip Frame 40
stop();
Symbol 878 Button
on (release) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = nameest1kyes;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.scoreest1k;
__rankz_send__("MTgxNGolZSVhJW4lcw==", "Y0NIWGhMU3I=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL ("http://rankz.armorbot.com/Resurrection/", _blank);
_root.gotoAndPlay("game2st1k");
}
Symbol 883 Button
on (release) {
gotoAndPlay ("game2st1k");
}
Symbol 916 Button
on (release) {
_root.jingame.jingbt.play();
stopAllSounds();
}
Symbol 933 Button
on (release) {
getURL ("http://rankz.armorbot.com/jin_cotd/", _blank);
}
Symbol 950 Button
on (release) {
_root.jingame.jingbm.play();
}
Symbol 954 MovieClip Frame 1
stop();
Symbol 954 MovieClip Frame 30
_root.jingame.gotoAndStop(2);
Symbol 957 MovieClip Frame 1
stop();
Symbol 957 MovieClip Frame 30
_root.gotoAndStop("menu");
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 971 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(12));
}
Instance of Symbol 973 MovieClip "jinmsk" in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 997 MovieClip Frame 1
stop();
Symbol 998 MovieClip Frame 1
jinxspd = 0;
jinyspd = 0;
jinmp = 500;
this.onEnterFrame = function () {
if (this._y > 400) {
_root.jingame.jintrans.play();
_root.jingame.jinpz = true;
}
if (!_root.jingame.jinpz) {
_root.jingame.jinscr++;
_root.jingame.jinmpbar.gotoAndStop(jinmp);
this._x = this._x + jinxspd;
this._y = this._y + jinyspd;
if (jinmp > 500) {
jinmp = 500;
}
if (jinmp < 0) {
jinmp = 0;
}
if (jinyspd <= -6) {
jinyspd = -6;
}
if (jinyspd > 10) {
jinyspd = 10;
}
if (Key.isDown(38) && (!fall)) {
if (jinmp > 5) {
if (jinyspd < 0) {
jinmp = jinmp + jinyspd;
}
jinyspd--;
} else {
fall = true;
}
}
if (fall) {
jinyspd++;
}
if (!Key.isDown(38)) {
jinyspd++;
fall = false;
jinmp++;
}
if ((!Key.isDown(39)) && (!Key.isDown(37))) {
jingst.gotoAndStop(1);
if (jinxspd != 0) {
if (jinxspd > 0) {
jinxspd--;
} else {
jinxspd++;
}
}
}
if (_root.jingame.jingrd.jinmsk.hitTest(this._x, this._y + (this._height / 2), true)) {
while (_root.jingame.jingrd.jinmsk.hitTest(this._x, this._y + (this._height / 2), true)) {
_y = (_y-1);
}
jinyspd = 0;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
jingst.gotoAndStop(3);
jinxspd++;
}
if (Key.isDown(37) && (!Key.isDown(39))) {
jingst.gotoAndStop(2);
jinxspd--;
}
if (_root.jingame.jingrd.jinmsk.hitTest(this._x + (this._width / 2), this._y, true)) {
while (_root.jingame.jingrd.jinmsk.hitTest(this._x + (this._width / 2), this._y, true)) {
_x = (_x-1);
}
jinxspd = (-jinxspd) / 2;
}
if (_root.jingame.jingrd.jinmsk.hitTest(this._x - (this._width / 2), this._y, true)) {
while (_root.jingame.jingrd.jinmsk.hitTest(this._x - (this._width / 2), this._y, true)) {
_x = (_x+1);
}
jinxspd = (-jinxspd) / 2;
}
if (_root.jingame.jingrd.jinmsk.hitTest(this._x, this._y - (this._height / 2), true)) {
while (_root.jingame.jingrd.jinmsk.hitTest(this._x, this._y - (this._height / 2), true)) {
_y = (_y+1);
}
jinyspd = 3;
}
if (jinxspd > 6) {
jinxspd = 6;
}
if (jinxspd <= -6) {
jinxspd = -6;
}
}
};
Symbol 1010 MovieClip Frame 1
jinvan = false;
onEnterFrame = function () {
if (!_root.jingame.jinpz) {
this._y++;
if (_root.jingame.jingst.hitTest(this._x, this._y, true) && (!jinvan)) {
_root.jingame.jinscr = _root.jingame.jinscr + 100;
jinvan = true;
}
if (jinvan) {
this._width = this._width + 10;
this._height = this._height + 10;
this._alpha = this._alpha - 10;
}
if (this._alpha < 0) {
this.unloadMovie(this);
}
} else {
jincnd.stop();
}
};
Symbol 1022 MovieClip Frame 1
jinvan = false;
onEnterFrame = function () {
if (!_root.jingame.jinpz) {
this._y++;
if (_root.jingame.jingst.hitTest(this._x, this._y, true) && (!jinvan)) {
_root.jingame.jinscr = _root.jingame.jinscr + 100;
jinvan = true;
}
if (jinvan) {
this._width = this._width + 10;
this._height = this._height + 10;
this._alpha = this._alpha - 10;
}
if (this._alpha < 0) {
this.unloadMovie(this);
}
} else {
jincnd.stop();
}
};
Symbol 1024 MovieClip Frame 1
stop();
Symbol 1024 MovieClip Frame 30
_root.jingame.nextFrame();
Symbol 1051 Button
on (release) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.jinnam.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = jinscr;
__rankz_send__("MTgxM2olZSVhJW4lcw==", "WEFFc3pIaFc=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
_root.jinnam.removeTextField();
_root.jingame.nextFrame();
}
Symbol 1092 Button
on (release) {
_root.jingame.jingbt.play();
}
Symbol 1093 MovieClip Frame 1
stop();
var snd1 = new Sound(this);
snd1.attachSound("jinmnusnd");
snd1.start(0, 9999);
Symbol 1093 MovieClip Frame 2
var snd2 = new Sound(this);
snd2.attachSound("jingamesnd");
snd2.start(0, 9999);
stop();
jinscr = 0;
jinpz = false;
this.onEnterFrame = function () {
if (!jinpz) {
jinscr++;
}
};
Instance of Symbol 975 MovieClip "jingrd2" in Symbol 1093 MovieClip Frame 2
onClipEvent (load) {
function JindowinGame() {
_root.jingame.jinwin.play();
_root.jingame.jinpz = true;
}
ok = false;
}
onClipEvent (enterFrame) {
if (!_root.jingame.jinpz) {
if (_root.jingame.jingrd._y >= -2000) {
ok = true;
_name = "jingrd";
}
if (ok) {
_y = (_y + 1.5);
}
if (_y >= -2000) {
JindowinGame();
}
}
}
Instance of Symbol 975 MovieClip "jingrd" in Symbol 1093 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.jingame.jinpz) {
if (_name == "jingrd") {
_y = (_y+1);
} else {
_y = (_y + 5);
}
if (_y >= -2000) {
this._name = "jingrdold";
} else {
this._name = "jingrd";
}
}
}
Instance of Symbol 1030 MovieClip in Symbol 1093 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_x = _root.jingame.jingst._x;
if (_root.jingame.jingst._y < 0) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 15);
}
}
Symbol 1093 MovieClip Frame 3
stopAllSounds();
_root.createTextField("jinnam", 1, 134, 149.3, 300.1, 33);
_root.jinnam.type = "input";
_root.jinnam.text = "Insert Name";
_root.jinnam.html = false;
_root.jinnam.multiline = false;
_root.jinnam.maxChars = 20;
var txt = new TextFormat();
txt.color = 16777215 /* 0xFFFFFF */;
txt.size = 26;
txt.font = "Arial";
txt.bold = true;
_root.jinnam.setTextFormat(txt);
onEnterFrame = function () {
if (_root.jinnam == "Insert Name") {
jinsnd.enabled = false;
jinsnd._alpha = 50;
} else {
jinsnd.enabled = true;
jinsnd._alpha = 100;
}
};
Symbol 1093 MovieClip Frame 4
rankz_t10_send = new LoadVars();
rankz_t10_receive = new LoadVars();
rankz_t10_send.SU0249 = "MTgxM2olZSVhJW4lcw==";
rankz_t10_send.flashkey = "WEFFc3pIaFc=";
rankz_t10_receive.onLoad = function (success) {
if (success) {
_rankz_ar_ = rankz_t10_receive.top10.split("<u/*/u>");
i = 0;
while (i < _rankz_ar_.length) {
tempv = _rankz_ar_[i].split("</*/>");
_root.jingame["rankz_n" + (i + 1)].text = tempv[0];
_root.jingame["rankz_v" + (i + 1)].text = tempv[1];
i++;
}
} else {
trace("ERROR");
}
};
rankz_t10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php", rankz_t10_receive, "POST");
Symbol 1108 MovieClip Frame 1
stop();
Symbol 1108 MovieClip Frame 7
this.gotoAndPlay(1);
Symbol 1113 Button
on (release) {
_root.nextFrame();
}
Symbol 1117 Button
on (release) {
getURL ("http://rankz.armorbot.com/pumpkin/", _blank);
}
Symbol 1122 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1195 MovieClip Frame 35
stop();
Symbol 1196 MovieClip Frame 1
stop();
Instance of Symbol 1129 MovieClip "block1" in Symbol 1246 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 1131 MovieClip "block2" in Symbol 1246 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 1129 MovieClip "hit" in Symbol 1246 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 1129 MovieClip "hit2" in Symbol 1246 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 1246 MovieClip Frame 7
this.gotoAndPlay(1);
Symbol 1246 MovieClip Frame 17
this.gotoAndPlay(1);
Symbol 1254 MovieClip Frame 1
stop();
Symbol 1268 MovieClip Frame 1
stop();
Symbol 1281 MovieClip Frame 1
stop();
Symbol 1289 Button
on (release) {
_root.username = namevar.text;
_root.sendpumpkin();
_global.souled_game_over = true;
_root.gotoAndStop("souled_start");
_root.game_over_menu.removeMovieClip();
}
Symbol 1294 Button
on (release) {
_global.souled_game_over = true;
_root.gotoAndStop("souled_start");
_root.game_over_menu.removeMovieClip();
}
Symbol 1299 MovieClip Frame 1
_x = (random(550) - 250);
_y = (random(250) - 200);
rand = (Math.random() * Math.random()) + 0.5;
if (rand < 1) {
_width = (_width * rand);
_height = (_height * rand);
}
_rotation = (Math.random() * 360);
Symbol 1341 MovieClip Frame 1
_root.goCandyGo = false;
stop();
Symbol 1341 MovieClip Frame 17
_root.goCandyGo = true;
Symbol 1360 MovieClip Frame 1
stop();
Symbol 1386 MovieClip Frame 1
stop();
Symbol 1393 Button
on (release) {
_root.score = 0;
_root.gameStarted = true;
}
Symbol 1398 Button
on (release) {
_root.highscore = false;
_root._quality = "BEST";
_root.gotoAndStop("menu");
}
Symbol 1408 Button
on (release) {
_root.highscore = false;
_root.username = highscoreName.text;
_root.senddascoresCandy();
gotoAndStop (1);
}
Symbol 1414 MovieClip Frame 1
stop();
Symbol 1414 MovieClip Frame 2
stop();
Symbol 1428 MovieClip Frame 30
_parent.removeMovieClip();
_parent._parent.removeMovieClip();
Symbol 1445 MovieClip Frame 17
stop();
_parent.removeMovieClip;
_parent.removeMovieClip();
this.removeMovieClip();
_parent._parent.removeMovieClip();
stop();
Symbol 1446 MovieClip Frame 1
stop();
Symbol 1446 MovieClip Frame 2
stop();
Symbol 1449 MovieClip Frame 1
stop();
Symbol 1449 MovieClip Frame 2
_root.stkhud.stkGunBullets = _root.stkhud.stkGunBullets - 1;
_root.stkbulletCounter++;
_root.bulleti.duplicateMovieClip("bulleti" + _root.stkbulletCounter, _root.stkbulletCounter);
_root["bulleti" + _root.stkbulletCounter]._x = _root.stkmc._x;
_root["bulleti" + _root.stkbulletCounter]._y = _root.stkmc._y;
_root["bulleti" + _root.stkbulletCounter]._rotation = _root.stkmc._rotation;
Symbol 1453 MovieClip Frame 1
stop();
Symbol 1453 MovieClip Frame 2
_root.stkhud.stkShotBullets = _root.stkhud.stkShotBullets - 1;
_root.stkbulletCounter++;
_root.bullet3.duplicateMovieClip("bullet3" + _root.stkbulletCounter, _root.stkbulletCounter);
_root["bullet3" + _root.stkbulletCounter]._x = _root.stkmc._x;
_root["bullet3" + _root.stkbulletCounter]._y = _root.stkmc._y;
_root["bullet3" + _root.stkbulletCounter]._rotation = _root.stkmc._rotation;
Symbol 1456 MovieClip Frame 1
stop();
Symbol 1456 MovieClip Frame 2
_root.stkhud.stkMiniBullets = _root.stkhud.stkMiniBullets - 1;
_root.stkbulletCounter++;
_root.bullet2.duplicateMovieClip("bullet2" + _root.stkbulletCounter, _root.stkbulletCounter);
_root["bullet2" + _root.stkbulletCounter]._x = _root.stkmc._x;
_root["bullet2" + _root.stkbulletCounter]._y = _root.stkmc._y;
_root["bullet2" + _root.stkbulletCounter]._rotation = _root.stkmc._rotation;
Symbol 1457 MovieClip Frame 1
stop();
Instance of Symbol 1449 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.stkhud.stkGunBullets > 0) && (mouse)) && (_root._ymouse < 320)) {
this.play();
}
}
onClipEvent (mouseDown) {
mouse = true;
}
onClipEvent (mouseUp) {
mouse = false;
}
Symbol 1457 MovieClip Frame 2
stop();
Instance of Symbol 1453 MovieClip in Symbol 1457 MovieClip Frame 2
onClipEvent (enterFrame) {
if (((_root.stkhud.stkShotBullets > 0) && (mouse)) && (_root._ymouse < 320)) {
this.play();
}
}
onClipEvent (mouseDown) {
mouse = true;
}
onClipEvent (mouseUp) {
mouse = false;
}
Symbol 1457 MovieClip Frame 3
stop();
Instance of Symbol 1456 MovieClip in Symbol 1457 MovieClip Frame 3
onClipEvent (enterFrame) {
if (((_root.stkhud.stkMiniBullets > 0) && (mouse)) && (_root._ymouse < 320)) {
this.play();
}
}
onClipEvent (mouseDown) {
mouse = true;
}
onClipEvent (mouseUp) {
mouse = false;
}
Symbol 1457 MovieClip Frame 4
stop();
Symbol 1459 MovieClip Frame 1
stop();
Symbol 1459 MovieClip Frame 2
stop();
Symbol 1461 MovieClip Frame 1
stop();
Symbol 1461 MovieClip Frame 2
stop();
Symbol 1471 Button
on (release) {
if (_root.stkhud.stkmoney >= 100) {
_root.stkhud.stkGunBullets = _root.stkhud.stkGunBullets + 10;
_root.stkhud.stkmoney = _root.stkhud.stkmoney - 100;
}
}
Symbol 1475 Button
on (release) {
if (_root.stkhud.stkmoney >= 300) {
_root.stkhud.stkShotBullets = _root.stkhud.stkShotBullets + 10;
_root.stkhud.stkmoney = _root.stkhud.stkmoney - 300;
}
}
Symbol 1479 Button
on (release) {
if (_root.stkhud.stkmoney >= 700) {
_root.stkhud.stkMiniBullets = _root.stkhud.stkMiniBullets + 10;
_root.stkhud.stkmoney = _root.stkhud.stkmoney - 700;
}
}
Symbol 1482 MovieClip Frame 1
stop();
Symbol 1482 MovieClip Frame 2
stop();
Symbol 1485 MovieClip Frame 1
stop();
Symbol 1485 MovieClip Frame 2
stop();
Symbol 1502 MovieClip Frame 1
stop();
Instance of Symbol 1482 MovieClip "healthbar" in Symbol 1502 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.stkhud.stkhealth;
}
Instance of Symbol 1485 MovieClip "box1" in Symbol 1502 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 1502 MovieClip Frame 2
stop();
Symbol 1504 MovieClip Frame 26
_parent.removeMovieClip();
_parent._parent.removeMovieClip();
Symbol 1505 MovieClip Frame 1
stop();
Symbol 1505 MovieClip Frame 2
stop();
Symbol 1507 MovieClip Frame 29
_parent.removeMovieClip();
_parent._parent.removeMovieClip();
Symbol 1511 MovieClip Frame 10
stop();
Symbol 1512 MovieClip Frame 1
stop();
Symbol 1512 MovieClip Frame 2
stop();
Symbol 1534 MovieClip Frame 12
_root.stkhud.stkmoney = _root.stkhud.stkmoney + 50;
Symbol 1534 MovieClip Frame 13
stop();
_parent.removeMovieClip();
_parent._parent.removeMovieClip();
Symbol 1535 MovieClip Frame 1
stop();
Symbol 1535 MovieClip Frame 2
stop();
_root.stkhud.stkscore = _root.stkhud.stkscore + 50;
Symbol 1543 MovieClip Frame 15
stop();
_parent.removeMovieClip();
_parent._parent.removeMovieClip();
Symbol 1544 MovieClip Frame 1
stop();
Symbol 1544 MovieClip Frame 2
stop();
_root.stkhud.stkmoney = _root.stkhud.stkmoney + 200;
_root.stkhud.stkscore = _root.stkhud.stkscore + 100;
Symbol 1552 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1556 Button
on (release) {
_root.stkend.gotoAndStop(1);
}
Symbol 1565 Button
on (release) {
gotoAndStop (1);
}
Symbol 1570 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1573 MovieClip Frame 1
_root.stkhud.stkhealth = 100;
stop();
_root.stkmc.gotoAndStop(1);
_root.stkbase.gotoAndStop(1);
_root.stkaimer.gotoAndStop(1);
_root.stkhud.gotoAndStop(1);
_root.stk = true;
Symbol 1573 MovieClip Frame 2
stop();
_root.Mouse.show();
_root.stkmc.gotoAndStop(4);
_root.stkbase.gotoAndStop(2);
_root.stkaimer.gotoAndStop(2);
_root.stkhud.gotoAndStop(2);
_root.stk = false;
Symbol 1573 MovieClip Frame 3
stop();
_root.Mouse.show();
_root.stkmc.gotoAndStop(4);
_root.stkbase.gotoAndStop(2);
_root.stkaimer.gotoAndStop(2);
_root.stkhud.gotoAndStop(2);
_root.stk = false;
Symbol 1580 Button
on (release) {
_root.gotoAndStop("NDGame");
}
Symbol 1582 Button
on (rollOver) {
_root.instructions._visible = true;
}
on (rollOut) {
_root.instructions._visible = false;
}
Symbol 1584 Button
on (release) {
getURL ("http://rankz.armorbot.com/DarkDepths/", _blank);
}
Symbol 1586 Button
on (release) {
if (_root._quality == "HIGH") {
_root._quality = "MEDIUM";
} else if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
} else {
_root._quality = "HIGH";
}
_root._quality;
}
Symbol 1588 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1623 MovieClip Frame 10
if (_parent.hitTest(_parent._parent.player)) {
_parent._parent.health = _parent._parent.health - _parent._parent.zombieDamage;
}
Symbol 1623 MovieClip Frame 21
_parent.attack = false;
_parent.gotoAndStop("normal");
Symbol 1628 MovieClip Frame 24
_parent.swapDepths(_root.getNextHighestDepth());
_parent.removeMovieClip();
Symbol 1637 MovieClip Frame 11
_parent.gotoAndStop(1);
Symbol 1638 MovieClip Frame 1
stop();
nametxt.text = _name;
Instance of Symbol 1656 MovieClip in Symbol 1669 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_currentframe == _totalframes) {
stop();
}
}
Symbol 1669 MovieClip Frame 16
stop();
Symbol 1670 MovieClip Frame 1
trace("www");
Symbol 1671 MovieClip Frame 1
stop();
Symbol 1674 MovieClip Frame 18
_parent.gotoAndStop(1);
Symbol 1675 MovieClip Frame 1
stop();
Symbol 1695 MovieClip Frame 1
onEnterFrame = function () {
health.bar._xscale = ((_parent.health <= 0) ? 0 : (_parent.health));
jump.bar._xscale = ((_parent.jumpCounter < 1) ? (_parent.jumpCounter * 100) : 100);
if (_parent.jumpCounter >= 2) {
jump2.bar._xscale = 100;
} else {
jump2.bar._xscale = ((_parent.jumpCounter > 1) ? ((_parent.jumpCounter % 1) * 100) : 0);
}
killsTXT.text = ((_parent.kills < 10) ? ("0" + _parent.kills) : (_parent.kills));
heightTXT.text = (((_parent.meters % 1) != 0) ? (_parent.meters + "m") : (_parent.meters + ".0m"));
};
Symbol 1738 Button
on (release) {
_root.gotoAndStop("NDMenu");
}
Symbol 1740 Button
on (release) {
_root.gotoAndStop("NDGame");
}
Symbol 1745 Button
on (release) {
getURL ("http://www.wurmy.com/", _blank);
}
Symbol 1774 Button
on (release) {
_root.mainGame.play();
}
Symbol 1775 Button
on (release) {
_root.stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 1776 MovieClip Frame 49
stop();
Symbol 1796 MovieClip Frame 1
stop();
Symbol 1796 MovieClip Frame 9
gotoAndPlay (1);
Symbol 1796 MovieClip Frame 10
stop();
Symbol 1796 MovieClip Frame 12
gotoAndPlay (10);
Instance of Symbol 1796 MovieClip "gun" in Symbol 1797 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 1811 MovieClip Frame 1
_root.mainGame.houseHealth = _root.mainGame.houseHealth - 10;
Symbol 1814 MovieClip Frame 1
stop();
Symbol 1814 MovieClip Frame 2
stop();
Symbol 1814 MovieClip Frame 3
stop();
Instance of Symbol 1813 MovieClip in Symbol 1814 MovieClip Frame 3
onClipEvent (load) {
_root.mainGame.pts = _root.mainGame.pts + 20;
}
onClipEvent (enterFrame) {
if (this._alpha > 0) {
_parent.speed = 0;
this._y = this._y + 1;
this._rotation = this._rotation + 5;
this._alpha = this._alpha - 5;
} else {
_parent.reset_wurmy();
}
}
Symbol 1845 MovieClip Frame 1
_root.mainGame.houseHealth = _root.mainGame.houseHealth - 1;
Symbol 1847 MovieClip Frame 1
stop();
Instance of Symbol 1846 MovieClip in Symbol 1847 MovieClip Frame 3
onClipEvent (load) {
_root.mainGame.pts = _root.mainGame.pts + 30;
}
onClipEvent (enterFrame) {
if (this._alpha > 0) {
_parent.speed = 0;
this._y = this._y + 1;
this._rotation = this._rotation + 5;
this._alpha = this._alpha - 5;
} else {
_parent.reset_wurmy();
}
}
Symbol 1859 MovieClip Frame 1
stop();
Symbol 1898 MovieClip Frame 1
_root.mainGame.houseHealth = _root.mainGame.houseHealth - 12;
Symbol 1899 MovieClip Frame 1
stop();
Instance of Symbol 1889 MovieClip in Symbol 1899 MovieClip Frame 3
onClipEvent (load) {
_root.mainGame.pts = _root.mainGame.pts + 50;
}
onClipEvent (enterFrame) {
if (this._alpha > 0) {
_parent.speed = 0;
this._y = this._y + 1;
this._rotation = this._rotation + 5;
this._alpha = this._alpha - 5;
} else {
_parent.reset_wurmy();
}
}
Symbol 1907 MovieClip Frame 33
stop();
_root.mainGame.canGo = true;
Symbol 1907 MovieClip Frame 34
_root.mainGame.canGo = false;
Symbol 1907 MovieClip Frame 78
_root.mainGame.play();
Symbol 1913 Button
on (release) {
stopAllSounds();
_root.mainGame.gotoAndPlay(3);
_root.mainGame.timeA = 30;
_root.mainGame.interval = 30;
_root.mainGame.counter = 0;
_root.mainGame.level++;
_root.mainGame.ghostNum++;
_root.mainGame.ninjaNum++;
_root.mainGame.pirateNum++;
stopAllSounds();
}
Symbol 1917 Button
on (release) {
if ((_root.mainGame.pts >= 600) && (_root.mainGame.houseHealth < 2000)) {
_root.mainGame.houseHealth = _root.mainGame.houseHealth + 100;
if (_root.mainGame.houseHealth > 2000) {
_root.mainGame.houseHealth = 2000;
}
_root.mainGame.pts = _root.mainGame.pts - 600;
}
}
Symbol 1922 Button
on (release) {
if ((_root.mainGame.pts >= 1200) && (_root.mainGame.houseHealth < 2000)) {
_root.mainGame.houseHealth = _root.mainGame.houseHealth + 500;
if (_root.mainGame.houseHealth > 2000) {
_root.mainGame.houseHealth = 2000;
}
_root.mainGame.pts = _root.mainGame.pts - 1200;
}
}
Symbol 1927 Button
on (release) {
if ((_root.mainGame.pts >= 5000) && (_root.mainGame.ownRifle == false)) {
_root.mainGame.pts = _root.mainGame.pts - 5000;
_root.mainGame.ownRifle = true;
_root.mainGame.check._visible = true;
}
}
Symbol 1936 Button
on (release) {
stopAllSounds();
_root.mainGame.houseHealth = 2000;
_root.mainGame.gotoAndPlay(1);
}
Symbol 1939 MovieClip Frame 1
stop();
Symbol 1939 MovieClip Frame 2
level = 1;
houseHealth = 2000;
pts = 0;
timeA = 30;
interval = 30;
counter = 0;
ghostNum = 3;
ninjaNum = -1;
pirateNum = -3;
ownRifle = false;
canGo = false;
Symbol 1939 MovieClip Frame 4
stop();
i = 2;
while (i <= _root.mainGame.ghostNum) {
_root.mainGame.ghost1.duplicateMovieClip("ghost" + i, _root.mainGame.getNextHighestDepth());
i++;
}
if (_root.mainGame.ninjaNum > 1) {
i = 2;
while (i <= _root.mainGame.ninjaNum) {
_root.mainGame.ninja1.duplicateMovieClip("ninja" + i, _root.mainGame.getNextHighestDepth());
i++;
}
}
if (_root.mainGame.pirateNum > 1) {
i = 2;
while (i <= _root.mainGame.pirateNum) {
_root.mainGame.pirate1.duplicateMovieClip("pirate" + i, _root.mainGame.getNextHighestDepth());
i++;
}
}
function wurmy_shoot() {
angleBullet = _root.mainGame.bob.gun._rotation;
angleBullet = (angleBullet * Math.PI) / 180;
if (!gunType) {
if (_root.cursor._currentframe > 2) {
_root.cursor.gotoAndPlay(1);
}
angleBullet = angleBullet + ((Math.random() * -0.08) + 0.04);
}
_root.mainGame.bob.gun.play();
nameCounter++;
name = "bullet" + nameCounter;
_root.mainGame.attachMovie("bullet", name, _root.mainGame.getNextHighestDepth());
_root.mainGame[name]._x = _root.mainGame.bob._x + (bulletFoward * Math.cos(angleBullet));
_root.mainGame[name]._y = _root.mainGame.bob._y + (bulletFoward * Math.sin(angleBullet));
_root.mainGame[name].xmov = speedBullet * Math.cos(angleBullet);
_root.mainGame[name].ymov = speedBullet * Math.sin(angleBullet);
_root.mainGame[name]._rotation = _root.mainGame.bob.gun._rotation + 90;
_root.mainGame[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if (this._x < 0) {
this.removeMovieClip();
} else if (this._x > 550) {
this.removeMovieClip();
}
i = 1;
while (i <= _root.mainGame.ghostNum) {
if (this.hitTest(_root.mainGame["ghost" + i]) && (_root.mainGame["ghost" + i]._currentframe != 3)) {
if (gunType) {
_root.mainGame["ghost" + i].health = _root.mainGame["ghost" + i].health - 30;
} else {
_root.mainGame["ghost" + i].health = _root.mainGame["ghost" + i].health - 12;
}
this.removeMovieClip();
}
i++;
}
if (_root.mainGame.ninjaNum >= 1) {
i = 1;
while (i <= _root.mainGame.ninjaNum) {
if (this.hitTest(_root.mainGame["ninja" + i]) && (_root.mainGame["ninja" + i]._currentframe != 3)) {
if (gunType) {
_root.mainGame["ninja" + i].health = _root.mainGame["ninja" + i].health - 25;
} else {
_root.mainGame["ninja" + i].health = _root.mainGame["ninja" + i].health - 12;
}
this.removeMovieClip();
}
i++;
}
}
if (_root.mainGame.pirateNum >= 1) {
i = 1;
while (i <= _root.mainGame.pirateNum) {
if (this.hitTest(_root.mainGame["pirate" + i]) && (_root.mainGame["pirate" + i]._currentframe != 3)) {
if (gunType) {
_root.mainGame["pirate" + i].health = _root.mainGame["pirate" + i].health - 50;
} else {
_root.mainGame["pirate" + i].health = _root.mainGame["pirate" + i].health - 12;
}
this.removeMovieClip();
}
i++;
}
}
};
}
angleBullet = 0;
bulletFoward = 40;
nameCounter = 0;
speedBullet = 20;
bulletTime = 1;
gunType = true;
shooting = false;
_root.onMouseMove = function () {
updateAfterEvent();
point = new Object();
point.x = _root.mainGame.bob.gun._x;
point.y = _root.mainGame.bob.gun._y;
_root.mainGame.bob.localToGlobal(point);
xdiff = _root._xmouse - point.x;
ydiff = _root._ymouse - point.y;
angleBullet = Math.atan2(ydiff, xdiff);
angleBullet = (angleBullet * 180) / Math.PI;
if ((angleBullet > -75) && (angleBullet < 90)) {
_root.mainGame.bob.gun._rotation = angleBullet;
}
};
_root.onEnterFrame = function () {
if (_root.mainGame.houseHealth < 1) {
_root.mainGame.gotoAndStop(6);
}
if (bulletTime > 1) {
bulletTime--;
}
if (shooting) {
if (bulletTime == 1) {
wurmy_shoot();
if (gunType) {
bulletTime = 12;
} else {
bulletTime = 5;
}
}
}
if (Key.isDown(49)) {
gunType = true;
_root.mainGame.bob.gun.gotoAndStop(1);
} else if (Key.isDown(50)) {
if (_root.mainGame.ownRifle) {
gunType = false;
_root.mainGame.bob.gun.gotoAndStop(10);
}
}
if (_root.mainGame.timeA > 0) {
if (_root.mainGame.counter < _root.mainGame.interval) {
_root.mainGame.counter++;
} else {
_root.mainGame.timeA--;
_root.mainGame.counter = 0;
_root.mainGame.timeMC.bar._xscale = (_root.mainGame.timeA * 100) / 30;
}
} else {
_root.mainGame.canGo = false;
_root.mainGame.levelNUM_endLVL.play();
}
_root.mainGame.healthMC.bar._xscale = (_root.mainGame.houseHealth * 100) / 2000;
_root.mainGame.ptsLabel.text = _root.mainGame.pts;
};
_root.onMouseDown = function () {
shooting = true;
};
_root.onMouseUp = function () {
shooting = false;
};
Instance of Symbol 1814 MovieClip "ghost1" in Symbol 1939 MovieClip Frame 4
onClipEvent (load) {
function reset_wurmy() {
gotoAndStop (1);
health = 25;
speed = (Math.random() * 1) + 1;
_x = (550 + (Math.random() * 100));
}
this.swapDepths(_root.mainGame.cursor);
reset_wurmy();
}
onClipEvent (enterFrame) {
if (health <= 0) {
gotoAndStop (3);
} else if (_root.mainGame.canGo) {
if (_x > 146) {
_x = (_x - speed);
} else {
gotoAndStop (2);
}
}
}
Instance of Symbol 1847 MovieClip "ninja1" in Symbol 1939 MovieClip Frame 4
onClipEvent (load) {
function reset_wurmy() {
gotoAndStop (1);
health = 10;
speed = (Math.random() * 1) + 3;
_x = (550 + (Math.random() * 100));
}
this.swapDepths(_root.mainGame.cursor);
reset_wurmy();
}
onClipEvent (enterFrame) {
if (_root.mainGame.ninjaNum >= 1) {
if (health <= 0) {
gotoAndStop (3);
} else if (_root.mainGame.canGo) {
if (_x > 146) {
_x = (_x - speed);
} else {
gotoAndStop (2);
}
}
}
}
Instance of Symbol 1859 MovieClip "cursor" in Symbol 1939 MovieClip Frame 4
onClipEvent (load) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
onClipEvent (unload) {
Mouse.show();
}
Instance of Symbol 1899 MovieClip "pirate1" in Symbol 1939 MovieClip Frame 4
onClipEvent (load) {
function reset_wurmy() {
gotoAndStop (1);
health = 40;
speed = (Math.random() * 1) + 0.5;
_x = (550 + (Math.random() * 100));
}
this.swapDepths(_root.mainGame.cursor);
reset_wurmy();
}
onClipEvent (enterFrame) {
if (_root.mainGame.pirateNum >= 1) {
if (health <= 0) {
gotoAndStop (3);
} else if (_root.mainGame.canGo) {
if (_x > 146) {
_x = (_x - speed);
} else {
gotoAndStop (2);
}
}
}
}
Instance of Symbol 1907 MovieClip "levelNUM_endLVL" in Symbol 1939 MovieClip Frame 4
onClipEvent (load) {
levelNumMC.levelNum.text = _root.mainGame.level;
}
Symbol 1939 MovieClip Frame 5
stop();
i = 1;
while (i <= _root.mainGame.ghostNum) {
_root.mainGame["ghost" + i].removeMovieClip();
i++;
}
if (_root.mainGame.ninjaNum > 1) {
i = 1;
while (i <= _root.mainGame.ninjaNum) {
_root.mainGame["ninja" + i].removeMovieClip();
i++;
}
}
if (_root.mainGame.pirateNum > 1) {
i = 1;
while (i <= _root.mainGame.pirateNum) {
_root.mainGame["pirate" + i].removeMovieClip();
i++;
}
}
_root.mainGame.cursor.removeMovieClip();
Mouse.show();
onEnterFrame = function () {
_root.mainGame.healthMC.bar._xscale = (_root.mainGame.houseHealth * 100) / 2000;
_root.mainGame.ptsLabel.text = _root.mainGame.pts;
};
Instance of Symbol 1929 MovieClip "check" in Symbol 1939 MovieClip Frame 5
onClipEvent (load) {
if (_root.mainGame.ownRifle) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 1939 MovieClip Frame 6
stop();
i = 1;
while (i <= _root.mainGame.ghostNum) {
_root.mainGame["ghost" + i].removeMovieClip();
i++;
}
if (_root.mainGame.ninjaNum > 1) {
i = 1;
while (i <= _root.mainGame.ninjaNum) {
_root.mainGame["ninja" + i].removeMovieClip();
i++;
}
}
if (_root.mainGame.pirateNum > 1) {
i = 1;
while (i <= _root.mainGame.pirateNum) {
_root.mainGame["pirate" + i].removeMovieClip();
i++;
}
}
_root.mainGame.cursor.removeMovieClip();
Mouse.show();
_root.mainGame.ptsLabel.text = _root.mainGame.pts;