Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
mochi.as2.MochiAd.showPreGameAd({id:"ab5f9c9a63df9024", res:"800x440"});
__com_mochibot__("feec75cd", this, 10301, true);
_root.lavr = 13;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com");
}
stop();
_root.extra_1 = 1;
_root.extra_2 = 1;
_root.extra_3 = 1;
_root.extra_4 = 1;
_root.extra_5 = 1;
_root.extra_6 = 1;
_root.extra_7 = 1;
_root.extra_8 = 1;
_root.user = SharedObject.getLocal("user_renegade2");
onEnterFrame = function () {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
if (((domain == "gamesfree.ca") || (domain == "kongregate.com")) || (domain == "newgrounds.com")) {
_root.gore = 2;
} else {
_root.gore = 1;
}
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
Frame 2
if (_root.gofuckyourself == 2) {
stop();
}
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
};
Frame 19
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
stop();
_root.returnfromscene = 1;
_root.lvl = 1;
Mouse.show();
Instance of Symbol 786 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "play";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(24);
}
}
Instance of Symbol 786 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "gore version";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 786 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "extras";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(25);
}
}
Instance of Symbol 786 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "more games";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 786 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "credits";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(23);
}
}
Frame 21
_root.goswordmenu = 2;
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
_root.vid = 1;
gotoAndPlay (1593);
}
if (_root.got2go == 3) {
_root.got2go = 2;
gotoAndStop (40);
}
};
Frame 22
stop();
Frame 23
stop();
Frame 24
stop();
Frame 25
stop();
Instance of Symbol 786 MovieClip in Frame 25
onClipEvent (load) {
boxx.txx = "wallpapers";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(27);
}
}
Instance of Symbol 786 MovieClip in Frame 25
onClipEvent (load) {
boxx.txx = "cheats";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(28);
}
}
Instance of Symbol 786 MovieClip in Frame 25
onClipEvent (load) {
boxx.txx = "back";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(20);
}
}
Frame 26
stop();
onEnterFrame = function () {
if (_root.got2go == 3) {
_root.got2go = 2;
gotoAndPlay (40);
}
};
Instance of Symbol 786 MovieClip in Frame 26
onClipEvent (load) {
boxx.txx = "play";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.lvl = 11;
_root.got2go = 3;
}
}
Instance of Symbol 786 MovieClip in Frame 26
onClipEvent (load) {
boxx.txx = "back";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(25);
}
}
Frame 27
stop();
Instance of Symbol 786 MovieClip in Frame 27
onClipEvent (load) {
boxx.txx = "back";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(25);
}
}
Frame 28
_root.cheatbox = "";
stop();
onEnterFrame = function () {
if (_root.got2go == 222) {
_root.got2go = 1;
stopAllSounds();
gotoAndPlay (4546);
}
};
Instance of Symbol 786 MovieClip in Frame 28
onClipEvent (load) {
boxx.txx = "ok";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if ((_root.cheatbox == "pdc") || (_root.cheatbox == "PDC")) {
_root.extra_1 = 2;
_root.cheatbox = "Full rage !!!";
_root.soundscheat2 = 2;
}
if ((_root.cheatbox == "inv") || (_root.cheatbox == "INV")) {
_root.extra_2 = 2;
_root.cheatbox = "Invincible !!!";
_root.soundscheat2 = 2;
}
if ((_root.cheatbox == "mov") || (_root.cheatbox == "MOV")) {
_root.extra_3 = 2;
_root.cheatbox = "All Moves !!!";
_root.soundscheat2 = 2;
}
if ((_root.cheatbox == "laz") || (_root.cheatbox == "LAZ")) {
_root.extra_7 = 2;
_root.cheatbox = "Lazy Mode !!!";
_root.soundscheat2 = 2;
}
if ((_root.cheatbox == "shu") || (_root.cheatbox == "SHU")) {
_root.extra_8 = 2;
_root.cheatbox = "99 Shurikens";
_root.soundscheat2 = 2;
}
if ((_root.cheatbox == "act2") || (_root.cheatbox == "ACT2")) {
if (_root.gore == 2) {
_root.lvl = 7;
_root.vid = 6;
_root.cheatbox = "OK !";
_root.got2go = 222;
} else {
_root.cheatbox = "- LOCKED -";
}
}
}
}
Instance of Symbol 786 MovieClip in Frame 28
onClipEvent (load) {
boxx.txx = "cheat page";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/walkthrough/siftrenegade2.php", "_blank");
}
}
Instance of Symbol 786 MovieClip in Frame 28
onClipEvent (load) {
boxx.txx = "back";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(25);
}
}
Frame 29
stop();
Instance of Symbol 786 MovieClip in Frame 29
onClipEvent (load) {
boxx.txx = "new game";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(24);
}
}
Instance of Symbol 786 MovieClip in Frame 29
onClipEvent (load) {
boxx.txx = "load game";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(22);
}
}
Frame 35
a = 1;
Frame 38
stop();
_root.goswordmenu = 3;
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (19);
}
};
Frame 39
stop();
Mouse.show();
_root.returnfromscene = 1;
_root.intro_muz = 2;
onEnterFrame = function () {
if (_root.got2go == 3) {
_root.got2go = 2;
if (_root.lvl == 2) {
_root.lvl = 12;
} else {
_root.lvl = _root.lvl + 1;
}
gotoAndPlay (40);
}
};
Instance of Symbol 786 MovieClip in Frame 39
onClipEvent (load) {
boxx.txx = "continue";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 3;
}
}
Instance of Symbol 786 MovieClip in Frame 39
onClipEvent (load) {
boxx.txx = "cheats";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/walkthrough/siftrenegade2.php", "_blank");
}
}
Instance of Symbol 786 MovieClip in Frame 39
onClipEvent (load) {
boxx.txx = "gore version";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 786 MovieClip in Frame 39
onClipEvent (load) {
boxx.txx = "save and quit";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.lvl = _root.lvl + 1;
_parent.gotoAndStop(38);
}
}
Frame 40
stop();
_root.returnfromscene = 1;
Mouse.show();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
if (_root.lvl == 1) {
stopAllSounds();
gotoAndPlay (55);
}
if (_root.lvl == 2) {
gotoAndPlay (57);
}
if (_root.lvl == 3) {
_root.vid = 2;
stopAllSounds();
gotoAndPlay (3407);
}
if (_root.lvl == 4) {
stopAllSounds();
gotoAndPlay (3443);
}
if (_root.lvl == 5) {
gotoAndPlay (55);
}
if (_root.lvl == 6) {
_root.vid = 5;
stopAllSounds();
gotoAndPlay (4545);
}
if (_root.lvl == 7) {
gotoAndPlay (55);
}
if (_root.lvl == 8) {
_root.lvl = 9;
}
if (_root.lvl == 9) {
_root.vid = 8;
stopAllSounds();
gotoAndPlay (5388);
}
if (_root.lvl == 10) {
stopAllSounds();
gotoAndStop (55);
}
if (_root.lvl == 11) {
stopAllSounds();
gotoAndStop (55);
}
if (_root.lvl == 12) {
_root.vid = 2;
stopAllSounds();
gotoAndPlay (3407);
}
}
};
Instance of Symbol 786 MovieClip in Frame 40
onClipEvent (load) {
boxx.txx = "retry";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Instance of Symbol 786 MovieClip in Frame 40
onClipEvent (load) {
boxx.txx = "save and quit";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(38);
}
}
Frame 41
stop();
_root.motostade = 20;
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (40);
}
};
Frame 42
if (_root.extra_5 != 2) {
_root.extra_5 = 2;
_root.extra_6 = 2;
stop();
} else {
gotoAndStop (19);
}
Frame 43
stop();
Mouse.show();
Instance of Symbol 786 MovieClip in Frame 43
onClipEvent (load) {
boxx.txx = "play gore vr";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 786 MovieClip in Frame 43
onClipEvent (load) {
boxx.txx = "main menu";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(19);
}
}
Frame 55
function loadLevel() {
backgroundContainer.levelBg.gotoAndStop("Level" + currentLevel);
levelContainer.ground.gotoAndStop("Level" + currentLevel);
frontContainer.levelFront.gotoAndStop("Level" + currentLevel);
veryFrontContainer.levelVeryFront.gotoAndStop("Level" + currentLevel);
if (currentLevel == 1) {
if (_root.returnfromscene == 2) {
var _local2 = 0;
while (_local2 < objectsToBreakInLvl1) {
_root.levelContainer.ground["objectToBreak" + [_local2 + 1]].gotoAndStop(21);
_local2++;
}
_root.levelContainer._x = _root.levelContainer._x - 1400;
_root.frontContainer._x = _root.frontContainer._x - 2100;
_root.backgroundContainer._x = _root.backgroundContainer._x - (1400 / ((levelContainer._width - 1200) / (backgroundContainer._width - 1200)));
}
} else if (currentLevel == 12) {
_root.infoz = 7;
_root.infoz2 = 2;
_root.attackPack1 = true;
} else if (currentLevel == 3) {
_root.attackPack1 = true;
} else if (currentLevel == 5) {
_root.infoz = 8;
_root.infoz2 = 2;
_root.attackPack1 = true;
_root.attackPack2 = true;
} else if (currentLevel == 6) {
_root.infoz = 9;
_root.infoz2 = 2;
_root.attackPack1 = true;
_root.attackPack2 = true;
_root.attackPack3 = true;
} else if (currentLevel == 7) {
_root.infoz = 10;
_root.infoz2 = 2;
_root.attackPack1 = true;
_root.attackPack2 = true;
_root.attackPack3 = true;
_root.attackPack4 = true;
if (_root.returnfromscene == 2) {
_root.levelContainer._x = _root.levelContainer._x - 16670;
_root.levelContainer._y = _root.levelContainer._y + 570;
_root.frontContainer._x = _root.frontContainer._x - 25005;
_root.backgroundContainer._x = _root.backgroundContainer._x - (16670 / ((levelContainer._width - 1200) / (backgroundContainer._width - 1200)));
}
} else if (currentLevel == 9) {
numberOfShuriken = 20;
levelContainer._x = levelContainer._x - 600;
_root.attackPack1 = true;
_root.attackPack2 = true;
_root.attackPack3 = true;
_root.attackPack4 = true;
} else if (currentLevel == 10) {
numberOfShuriken = 15;
_root.inter._alpha = 0;
_root.attackPack1 = true;
_root.attackPack2 = true;
_root.attackPack3 = true;
_root.attackPack4 = true;
} else if (currentLevel == 11) {
_root.createEmptyMovieClip("survivalObject", _root.getNextHighestDepth());
survivalMode = true;
levelContainer._x = levelContainer._x - 1400;
numberOfShuriken = 30;
beginSurvivalMode();
_root.attackPack1 = true;
_root.attackPack2 = true;
_root.attackPack3 = true;
_root.attackPack4 = true;
_root.dif = 4;
}
if (_root.extra_3 == 2) {
_root.attackPack1 = true;
_root.attackPack2 = true;
_root.attackPack3 = true;
_root.attackPack4 = true;
}
if (_root.extra_1 == 2) {
_root.rageState = 100;
}
if (_root.dif == 1) {
enemiesStats[0] = {health:100, damage:3, haRatio:0.05, speed:4, distanceToAttack:80};
enemiesStats[1] = {health:100, damage:3, haRatio:0.05, speed:4, distanceToAttack:80};
enemiesStats[2] = {health:220, damage:4, haRatio:0.05, speed:4, distanceToAttack:80};
enemiesStats[3] = {health:220, damage:5, haRatio:0.05, speed:4, distanceToAttack:600};
} else if (_root.dif == 2) {
enemiesStats[0] = {health:100, damage:5, haRatio:0.05, speed:4, distanceToAttack:125};
enemiesStats[1] = {health:100, damage:5, haRatio:0.05, speed:4, distanceToAttack:125};
enemiesStats[2] = {health:220, damage:7, haRatio:0.05, speed:4, distanceToAttack:125};
enemiesStats[3] = {health:220, damage:10, haRatio:0.05, speed:4, distanceToAttack:600};
} else if (_root.dif == 3) {
enemiesStats[0] = {health:100, damage:8, haRatio:0.05, speed:4, distanceToAttack:200};
enemiesStats[1] = {health:100, damage:8, haRatio:0.05, speed:4, distanceToAttack:200};
enemiesStats[2] = {health:220, damage:12, haRatio:0.05, speed:4, distanceToAttack:200};
enemiesStats[3] = {health:220, damage:15, haRatio:0.05, speed:4, distanceToAttack:600};
} else if (_root.dif == 4) {
enemiesStats[0] = {health:100, damage:12, haRatio:0.05, speed:4, distanceToAttack:250};
enemiesStats[1] = {health:100, damage:12, haRatio:0.05, speed:4, distanceToAttack:250};
enemiesStats[2] = {health:220, damage:15, haRatio:0.05, speed:4, distanceToAttack:250};
enemiesStats[3] = {health:220, damage:20, haRatio:0.05, speed:4, distanceToAttack:600};
}
if (_root.extra_8 == 2) {
numberOfShuriken = 99;
}
}
function checkKeys() {
if ((recovering == false) && (_root.dead == false)) {
if (Key.isDown(87)) {
upKey = true;
} else {
upKey = false;
}
if (Key.isDown(65)) {
if (((leftKey == false) && (leftClick < 2)) && (kiroState != "running")) {
countLeftDelay();
leftClick++;
}
leftKey = true;
} else {
leftKey = false;
}
if (Key.isDown(68)) {
if (((rightKey == false) && (rightClick < 2)) && (kiroState != "running")) {
countRightDelay();
rightClick++;
}
rightKey = true;
} else {
rightKey = false;
}
if (Key.isDown(83)) {
downKey = true;
} else {
downKey = false;
}
if (Key.isDown(32)) {
spaceKey = true;
} else {
spaceKey = false;
}
if (Key.isDown(81) && (_root.rageState >= 100)) {
kiro.kiro.gotoAndPlay("startRage");
recovering = true;
_root.rageMode = true;
}
}
if ((leftKey == true) && (rightKey == true)) {
leftKey = false;
rightKey = false;
}
}
function checkHits() {
checkDown = true;
var _local2 = 0;
while (_local2 < characterHitPoints.length) {
if (_local2 == 0) {
if (levelContainer.ground.bg.hitTest(characterHitPoints[_local2].x, characterHitPoints[_local2].y, true)) {
if (!levelContainer.ground.bg.hitTest(characterHitPoints[6].x, characterHitPoints[6].y, true)) {
var _local6 = 0;
while (_local6 < 100) {
if ((!levelContainer.ground.bg.hitTest(characterHitPoints[_local2].x, characterHitPoints[_local2].y - _local6, true)) && (horizontalAccelRatio != 0)) {
checkDown = false;
downHit = true;
moveY = moveY - _local6;
break;
}
_local6++;
}
}
}
}
if (_local2 == 1) {
if (levelContainer.ground.bg.hitTest(characterHitPoints[_local2].x, characterHitPoints[_local2].y, true)) {
if (!levelContainer.ground.bg.hitTest(characterHitPoints[7].x, characterHitPoints[7].y, true)) {
var _local3 = 0;
while (_local3 < 100) {
if ((!levelContainer.ground.bg.hitTest(characterHitPoints[_local2].x, characterHitPoints[_local2].y - _local3, true)) && (horizontalAccelRatio != 0)) {
checkDown = false;
downHit = true;
moveY = moveY - _local3;
break;
}
_local3++;
}
}
}
} else if (((_local2 == 2) || ((_local2 == 3) && (downHit == false))) && (checkDown == true)) {
if (levelContainer.ground.bg.hitTest(characterHitPoints[_local2].x, characterHitPoints[_local2].y, true)) {
downHit = true;
} else {
downHit = false;
}
} else if ((_local2 == 4) || (_local2 == 8)) {
if (levelContainer.ground.bg.hitTest(characterHitPoints[_local2].x + (movementSpeed * horizontalAccelRatio), characterHitPoints[_local2].y, true)) {
if ((kiroState == "attacking") || (kiroState == "rolling")) {
horizontalAccelRatio = 0;
}
leftHit = true;
} else {
leftHit = false;
}
var _local4 = 0;
while (_local4 < _root["objectsToBreakInLvl" + currentLevel]) {
if ((levelContainer.ground["objectToBreak" + [_local4 + 1]].hit != undefined) && (leftHit == false)) {
if (levelContainer.ground["objectToBreak" + [_local4 + 1]].hit.hitTest(characterHitPoints[_local2].x, characterHitPoints[_local2].y, true)) {
if ((kiroState == "attacking") || (kiroState == "rolling")) {
horizontalAccelRatio = 0;
}
leftHit = true;
} else {
leftHit = false;
}
}
_local4++;
}
} else if ((_local2 == 5) || (_local2 == 9)) {
if (levelContainer.ground.bg.hitTest(characterHitPoints[_local2].x + (movementSpeed * horizontalAccelRatio), characterHitPoints[_local2].y, true)) {
if ((kiroState == "attacking") || (kiroState == "rolling")) {
horizontalAccelRatio = 0;
}
rightHit = true;
} else {
rightHit = false;
}
var _local5 = 0;
while (_local5 < _root["objectsToBreakInLvl" + currentLevel]) {
if ((levelContainer.ground["objectToBreak" + [_local5 + 1]].hit != undefined) && (rightHit == false)) {
if (levelContainer.ground["objectToBreak" + [_local5 + 1]].hit.hitTest(characterHitPoints[_local2].x, characterHitPoints[_local2].y, true)) {
if ((kiroState == "attacking") || (kiroState == "rolling")) {
horizontalAccelRatio = 0;
}
rightHit = true;
} else {
rightHit = false;
}
}
_local5++;
}
} else if ((_local2 == 10) || ((_local2 == 11) && (upHit == false))) {
if (levelContainer.ground.bg.hitTest(characterHitPoints[_local2].x, characterHitPoints[_local2].y, true)) {
upHit = true;
} else {
upHit = false;
}
}
_local2++;
}
}
function calculateMovement() {
if (recovering == true) {
if (downHit == true) {
verticalAccelRatio = 0;
} else if (verticalAccelRatio < 2) {
verticalAccelRatio = verticalAccelRatio + (verticalAccelRatioIncrement * 2);
}
if ((horizontalAccelRatio < -0.1) && (leftHit == false)) {
horizontalAccelRatio = horizontalAccelRatio + horizontalAccelRatioIncrement;
} else if ((horizontalAccelRatio > 0.1) && (rightHit == false)) {
horizontalAccelRatio = horizontalAccelRatio - horizontalAccelRatioIncrement;
} else {
horizontalAccelRatio = 0;
}
} else {
if (((leftKey == true) && (kiroState != "attacking")) && (kiroState != "blocking")) {
if (characterSide != "left") {
changedSide = true;
kiro.hit._x = kiro.hit._x - leftDistance;
kiro.kiro._xscale = kiro.kiro._xscale * -1;
characterSide = "left";
}
if (leftHit == false) {
if (horizontalAccelRatio > 0) {
horizontalAccelRatio = horizontalAccelRatio - (horizontalAccelRatioIncrement * 3);
}
if ((horizontalAccelRatio > -1) && (kiroState != "running")) {
horizontalAccelRatio = horizontalAccelRatio - horizontalAccelRatioIncrement;
} else if ((kiroState == "running") && (horizontalAccelRatio > -3)) {
horizontalAccelRatio = horizontalAccelRatio - (horizontalAccelRatioIncrement * 4);
}
}
}
if (((rightKey == true) && (kiroState != "attacking")) && (kiroState != "blocking")) {
if (characterSide != "right") {
changedSide = true;
kiro.hit._x = 0;
kiro.kiro._xscale = kiro.kiro._xscale * -1;
characterSide = "right";
}
if (rightHit == false) {
if (horizontalAccelRatio < 0) {
horizontalAccelRatio = horizontalAccelRatio + (horizontalAccelRatioIncrement * 3);
}
if ((horizontalAccelRatio < 1) && (kiroState != "running")) {
horizontalAccelRatio = horizontalAccelRatio + horizontalAccelRatioIncrement;
} else if ((kiroState == "running") && (horizontalAccelRatio < 3)) {
horizontalAccelRatio = horizontalAccelRatio + (horizontalAccelRatioIncrement * 4);
}
}
}
if ((_root.dead == true) && (kiroState != "dead")) {
kiroState = "dead";
kiro.kiro.gotoAndPlay("death");
}
if ((gotHit == true) && (kiroState != "dead")) {
shakeIt(1);
kiro.kiro.gotoAndPlay("hit");
kiroState = "hit";
verticalAccelRatio = -0.5;
if (downHit == false) {
if ((characterSide == "left") && (leftHit == false)) {
horizontalAccelRatio = 1;
} else if ((characterSide == "right") && (rightHit == false)) {
horizontalAccelRatio = -1;
} else {
horizontalAccelRatio = 0;
}
gotHit = false;
recovering = true;
}
}
if ((((((upKey == true) && (jump == false)) && (kiroState != "attacking")) && (attack == false)) && (kiroState != "blocking")) && (kiroState != "dead")) {
jumping = true;
verticalAccelRatio = jumpSpeed;
}
if ((((jumping == true) && (downHit == false)) && (recovering == false)) && (kiroState != "dead")) {
jumping = false;
jump = true;
}
if ((upHit == true) && (verticalAccelRatio < 0)) {
moveY = moveY + (1 + (movementSpeed * verticalAccelRatio));
verticalAccelRatio = 0;
}
if (((downHit == true) && (jumping == false)) && (gotHit == false)) {
jump = false;
verticalAccelRatio = 0;
}
if ((verticalAccelRatio < 3) && (downHit == false)) {
verticalAccelRatio = verticalAccelRatio + (verticalAccelRatioIncrement * 4);
}
}
}
function moveIt() {
if ((recovering == false) && (gotHit == false)) {
if (((leftKey == false) && (rightKey == false)) || ((leftKey == true) && (rightKey == true))) {
if ((horizontalAccelRatio > ((-horizontalAccelRatioIncrement) * 2)) && (horizontalAccelRatio < (horizontalAccelRatioIncrement * 2))) {
horizontalAccelRatio = 0;
} else if (horizontalAccelRatio < 0) {
horizontalAccelRatio = horizontalAccelRatio + horizontalAccelRatioIncrement;
} else if (horizontalAccelRatio > 0) {
horizontalAccelRatio = horizontalAccelRatio - horizontalAccelRatioIncrement;
}
}
if (((kiroState != "attacking") && (kiroState != "blocking")) && (kiroState != "dead")) {
if ((horizontalAccelRatio > 1) && (kiroState == "walking")) {
horizontalAccelRatio = 1;
} else if ((horizontalAccelRatio > 2) && (kiroState == "running")) {
horizontalAccelRatio = 2;
} else if ((horizontalAccelRatio < -1) && (kiroState == "walking")) {
horizontalAccelRatio = -1;
} else if ((horizontalAccelRatio < -2) && (kiroState == "running")) {
horizontalAccelRatio = -2;
}
if (verticalAccelRatio < jumpSpeed) {
verticalAccelRatio = jumpSpeed;
} else if ((verticalAccelRatio > 3) && (kiroState != "attackingFromAir")) {
verticalAccelRatio = 3;
}
if (((leftHit == true) && (horizontalAccelRatio < 0)) || ((rightHit == true) && (horizontalAccelRatio > 0))) {
moveX = moveX + Math.round(movementSpeed * horizontalAccelRatio);
horizontalAccelRatio = 0;
}
}
if ((((((downKey == true) && (kiroState != "attacking")) && (kiroState != "attackingFromAir")) && (kiroState != "jumping")) || (kiroState == "rolling")) && (kiroState != "dead")) {
if ((kiroState != "blocking") && (kiroState != "rolling")) {
horizontalAccelRatio = 0;
moveX = 0;
kiro.kiro.gotoAndPlay("blocking");
}
if (kiroState != "rolling") {
kiroState = "blocking";
}
if (kiroState == "rolling") {
kiroState = "rolling";
} else if ((((leftClick == 2) && (leftDelay != 0)) && (leftDelay < doubleClickDelay)) && (leftKey == true)) {
kiroState = "rolling";
boost = true;
recovering = true;
rollSide = "left";
kiro.kiro.gotoAndPlay("roll");
} else if ((((rightClick == 2) && (rightDelay != 0)) && (rightDelay < doubleClickDelay)) && (rightKey == true)) {
kiroState = "rolling";
boost = true;
recovering = true;
rollSide = "right";
kiro.kiro.gotoAndPlay("roll");
}
if (((attack == true) && (kiroState == "blocking")) && (spaceKey == true)) {
if ((numberOfShuriken > 0) && (shurikenThrownDelay == false)) {
kiro.kiro.gotoAndPlay("shuriken");
kiroState = "attacking";
attack = false;
}
} else if (((attack == true) && (attackPack4 == true)) && (((characterSide == "left") && (leftKey == true)) || ((characterSide == "right") && (rightKey == true)))) {
kiroState = "attacking";
kiro.kiro.gotoAndPlay("attack9");
attack = false;
} else if (((attack == true) && (attackPack2 == true)) && (spaceKey == false)) {
kiroState = "attacking";
kiro.kiro.gotoAndPlay("attack8");
attack = false;
}
} else if ((((attack == true) && (kiroState == "jumping")) && (verticalAccelRatio > -1.5)) && (kiroState != "dead")) {
if (((downKey == true) && (((characterSide == "left") && (leftKey == true)) || ((characterSide == "right") && (rightKey == true)))) && (attackPack4 == true)) {
kiroState = "attacking";
kiro.kiro.gotoAndPlay("attack9FromAir");
} else if (_root.attackPack3 == true) {
kiroState = "attackingFromAir";
kiro.kiro.gotoAndPlay("attackFromAir");
}
attack = false;
} else if ((((((((attack == true) && (kiroState != "attacking")) && (kiroState != "rolling")) && (kiroState != "attackingFromAir")) && (kiroState != "jumping")) && (jump == false)) && (kiroState != "blocking")) && (kiroState != "dead")) {
kiroState = "attacking";
if (((changedSide == true) && ((leftDelay != 0) || (rightDelay != 0))) && (attackPack1 == true)) {
kiro.kiro.gotoAndPlay("attack7");
} else {
kiro.kiro.gotoAndPlay("attack1");
}
attack = false;
} else if (kiroState == "attacking") {
} else if (kiroState == "attackingFromAir") {
if (downHit == true) {
if ((horizontalAccelRatio > 1) || (horizontalAccelRatio < -1)) {
kiroState = "running";
if (swordOut == true) {
kiro.kiro.gotoAndPlay("runningSW");
} else {
kiro.kiro.gotoAndPlay("running");
}
} else {
kiroState = "walking";
if (swordOut == true) {
kiro.kiro.gotoAndPlay("walkingSW");
} else {
kiro.kiro.gotoAndPlay("walking");
}
}
} else {
verticalAccelRatio = attackFromAirVRatio;
}
} else if ((((((horizontalAccelRatio != 0) && (jump == false)) && (kiroState != "running")) && (kiroState != "rolling")) && (((((leftClick == 2) && (leftDelay != 0)) && (leftDelay < doubleClickDelay)) && (leftKey == true)) || ((((rightClick == 2) && (rightDelay != 0)) && (rightDelay < doubleClickDelay)) && (rightKey == true)))) && (kiroState != "dead")) {
kiroState = "running";
if (swordOut == true) {
kiro.kiro.gotoAndPlay("runningSW");
} else {
kiro.kiro.gotoAndPlay("running");
}
} else if (((jump == false) && (((horizontalAccelRatio > 1) && (rightKey == true)) || ((horizontalAccelRatio < -1) && (leftKey == true)))) && (kiroState != "dead")) {
if (kiroState == "jumping") {
if (swordOut == true) {
kiro.kiro.gotoAndPlay("runningSW");
} else {
kiro.kiro.gotoAndPlay("running");
}
}
kiroState = "running";
} else if (((((horizontalAccelRatio != 0) && (jump == false)) && (kiroState != "walking")) && ((kiroState != "running") || ((rightKey == false) && (leftKey == false)))) && (kiroState != "dead")) {
kiroState = "walking";
if (swordOut == true) {
kiro.kiro.gotoAndPlay("walkingSW");
} else {
kiro.kiro.gotoAndPlay("walking");
}
} else if ((((jump == true) && (jumping == false)) && (kiroState != "jumping")) && (kiroState != "dead")) {
kiroState = "jumping";
if (swordOut == true) {
kiro.kiro.gotoAndPlay("jumpingSW");
} else {
kiro.kiro.gotoAndPlay("jumping");
}
} else if ((((((kiroState != "breathing") && (horizontalAccelRatio == 0)) && ((kiroState != "jumping") || (downHit == true))) && (kiroState != "cracking")) && (kiroState != "cracking2")) && (kiroState != "dead")) {
kiroState = "breathing";
if (swordOut == true) {
kiro.kiro.gotoAndPlay("breathingSW");
} else {
kiro.kiro.gotoAndPlay("breathing");
}
}
}
if ((((boost2 == true) && (kiroState == "attacking")) && (kiroState != "blocking")) && (kiroState != "dead")) {
if (characterSide == "left") {
if (leftHit == false) {
horizontalAccelRatio = (-boostSpeed) * 1.8;
}
} else if (rightHit == false) {
horizontalAccelRatio = boostSpeed * 1.8;
}
boost2 = false;
} else if (((boost == true) && ((kiroState == "attacking") || (kiroState == "rolling"))) && (kiroState != "dead")) {
if (kiroState == "rolling") {
if (rollSide == "left") {
if (_root.characterSide == "right") {
_root.kiro.kiro._xscale = _root.kiro.kiro._xscale * -1;
_root.characterSide = "left";
}
horizontalAccelRatio = ((-boostSpeed) * 3) / 4;
} else {
if (_root.characterSide == "left") {
_root.kiro.kiro._xscale = _root.kiro.kiro._xscale * -1;
_root.characterSide = "right";
}
horizontalAccelRatio = (boostSpeed * 3) / 4;
}
} else if (characterSide == "left") {
if (leftHit == false) {
horizontalAccelRatio = -boostSpeed;
}
} else if (rightHit == false) {
horizontalAccelRatio = boostSpeed;
}
boost = false;
}
if (((kiroState == "attacking") && (horizontalAccelRatio < (boostSlowDown + 0.1))) && (horizontalAccelRatio > (-(boostSlowDown - 0.1)))) {
horizontalAccelRatio = 0;
} else if ((kiroState == "attacking") && (horizontalAccelRatio > 0)) {
horizontalAccelRatio = horizontalAccelRatio - boostSlowDown;
} else if ((kiroState == "attacking") && (horizontalAccelRatio < 0)) {
horizontalAccelRatio = horizontalAccelRatio + boostSlowDown;
}
if (_root.rageMode == true) {
_root.rage_interface = 2;
moveX = moveX + Math.round((movementSpeed * 1.5) * horizontalAccelRatio);
moveY = moveY + Math.round((movementSpeed * 1.5) * verticalAccelRatio);
} else {
_root.rage_interface = 1;
moveX = moveX + Math.round(movementSpeed * horizontalAccelRatio);
moveY = moveY + Math.round(movementSpeed * verticalAccelRatio);
}
if ((((levelContainer._x > -10) && ((kiro._x + moveX) < kiro._x)) || (kiro._x < ((rootWidth / 2) - 20))) || ((((levelContainer._x < (-levelContainer._width)) && ((kiro._x + moveX) > kiro._x)) || (kiro._x > ((rootWidth / 2) + 20))) && (kiroState != "dead"))) {
kiro._x = kiro._x + moveX;
} else if (kiroState != "dead") {
frontContainer._x = frontContainer._x - (moveX * 1.5);
backgroundContainer._x = backgroundContainer._x - (moveX / ((levelContainer._width - 1200) / (backgroundContainer._width - 1200)));
levelContainer._x = levelContainer._x - moveX;
veryFrontContainer._x = levelContainer._x;
var _local8 = 0;
while (_local8 < shurikenOnStage.length) {
_root[shurikenOnStage[_local8]]._x = _root[shurikenOnStage[_local8]]._x - moveX;
_local8++;
}
}
frontContainer._y = frontContainer._y - (moveY * 1.5);
levelContainer._y = levelContainer._y - moveY;
veryFrontContainer._y = levelContainer._y;
var _local2 = 0;
while (_local2 < shurikenOnStage.length) {
if (_root.shurikenOnStage[_local2] != null) {
if (_root[_root.shurikenOnStage[_local2]]._y < -300) {
_root[shurikenOnStage[_local2]]._visible = false;
var _local7 = 0;
while (_local7 <= readyShuriken.length) {
if (_local7 == _root.readyShuriken.length) {
_root.readyShuriken[_local7] = _root.shurikenOnStage[_local2];
_root.shurikenOnStage[_local2] = null;
break;
}
if (readyShuriken[_local7] == null) {
_root.readyShuriken[_local7] = _root.shurikenOnStage[_local2];
_root.shurikenOnStage[_local2] = null;
break;
}
_local7++;
}
}
_root[shurikenOnStage[_local2]]._y = _root[shurikenOnStage[_local2]]._y - moveY;
_root.shurikenPoints[0] = {x:0, y:-(_root[shurikenOnStage[_local2]]._height / 2)};
_root.shurikenPoints[1] = {x:0, y:_root[shurikenOnStage[_local2]]._height / 2};
_root.shurikenPoints[2] = {x:-(_root[shurikenOnStage[_local2]]._width / 2), y:0};
_root.shurikenPoints[3] = {x:_root[shurikenOnStage[_local2]]._width / 2, y:0};
var _local6 = 0;
while (_local6 <= _root.shurikenPoints.length) {
if (_local6 == _root.shurikenPoints.length) {
if ((_root[_root.shurikenOnStage[_local2]].throwAngle >= 0) && (_root[_root.shurikenOnStage[_local2]].throwAngle <= 180)) {
_root[shurikenOnStage[_local2]]._rotation = _root[shurikenOnStage[_local2]]._rotation + _root.rotationSpeed;
} else {
_root[shurikenOnStage[_local2]]._rotation = _root[shurikenOnStage[_local2]]._rotation - _root.rotationSpeed;
}
_root[_root.shurikenOnStage[_local2]]._x = _root[_root.shurikenOnStage[_local2]]._x + (_root.shurikenSpeed * Math.sin((Math.PI/180) * _root[_root.shurikenOnStage[_local2]].throwAngle));
_root[_root.shurikenOnStage[_local2]]._y = _root[_root.shurikenOnStage[_local2]]._y - (_root.shurikenSpeed * Math.cos((Math.PI/180) * _root[_root.shurikenOnStage[_local2]].throwAngle));
} else {
_root[_root.shurikenOnStage[_local2]].localToGlobal(_root.shurikenPoints[_local6]);
if (_root.levelContainer.ground.bg.hitTest(_root.shurikenPoints[_local6].x, _root.shurikenPoints[_local6].y, true)) {
_root[shurikenOnStage[_local2]]._visible = false;
var _local5 = 0;
while (_local5 <= readyShuriken.length) {
_root[shurikenOnStage[_local2]]._visible = false;
if (_local5 == _root.readyShuriken.length) {
_root.readyShuriken[_local5] = _root.shurikenOnStage[_local2];
_root.shurikenOnStage[_local2] = null;
break;
}
if (readyShuriken[_local5] == null) {
_root.readyShuriken[_local5] = _root.shurikenOnStage[_local2];
_root.shurikenOnStage[_local2] = null;
break;
}
_local5++;
}
}
var _local3 = 1;
while (_local3 <= _root["enemiesInLvl" + _root.currentLevel].length) {
if ((_root.levelContainer.ground["enemy" + _local3].canBeHit == true) && (_root.levelContainer.ground["enemy" + _local3].health > 0)) {
if (_root.levelContainer.ground["enemy" + _local3].hitTest(_root.shurikenPoints[_local6].x, _root.shurikenPoints[_local6].y, true)) {
_root.levelContainer.ground["enemy" + _local3].health = _root.levelContainer.ground["enemy" + _local3].health - _root.attackEffects[10].damage;
_root.levelContainer.ground["enemy" + _local3].enemyIn.gotoAndPlay("hit");
if (_root.levelContainer.ground["enemy" + _local3].side == "left") {
_root.levelContainer.ground["enemy" + _local3].horizontalAccelRatio = ((Math.random() * 0.8) + 0.7) * _root.attackEffects[10].backEffect;
} else {
_root.levelContainer.ground["enemy" + _local3].horizontalAccelRatio = -(((Math.random() * 0.8) + 0.7) * _root.attackEffects[10].backEffect);
}
var _local4 = 0;
while (_local4 <= readyShuriken.length) {
_root[shurikenOnStage[_local2]]._visible = false;
if (_local4 == _root.readyShuriken.length) {
_root.readyShuriken[_local4] = _root.shurikenOnStage[_local2];
_root.shurikenOnStage[_local2] = null;
break;
}
if (readyShuriken[_local4] == null) {
_root.readyShuriken[_local4] = _root.shurikenOnStage[_local2];
_root.shurikenOnStage[_local2] = null;
break;
}
_local4++;
}
}
}
_local3++;
}
}
_local6++;
}
}
_local2++;
}
}
function startNothingCounter() {
nothingCounterObj.onEnterFrame = function () {
nothingCounterStarted = true;
if ((horizontalAccelRatio != 0) || (kiroState != "breathing")) {
nothingCounter = 0;
nothingCounterStarted = false;
delete this.onEnterFrame;
} else if (nothingCounter == (frameRate * 3)) {
randNum = Math.round(Math.random());
if (randNum == 0) {
kiro.kiro.gotoAndPlay("cracking");
kiroState = "cracking";
} else if (randNum == 1) {
kiro.kiro.gotoAndPlay("cracking2");
kiroState = "cracking";
}
nothingCounter = 0;
nothingCounterStarted = false;
delete this.onEnterFrame;
} else {
nothingCounter++;
}
};
}
function startSwordCounter() {
swordCounterObj.onEnterFrame = function () {
swordCounterStarted = true;
if (swordOut == false) {
swordCounter = 0;
swordCounterStarted = false;
delete this.onEnterFrame;
} else if (swordCounter == (frameRate * 3)) {
hideSword = true;
} else {
swordCounter++;
}
};
}
function countLeftDelay() {
if ((leftDelay == 0) && (kiroState != "running")) {
leftDelayObj.onEnterFrame = function () {
if (leftDelay < doubleClickDelay) {
leftDelay++;
} else if (leftDelay >= doubleClickDelay) {
leftClick = 0;
leftDelay = 0;
changedSide = false;
delete leftDelayObj.onEnterFrame;
}
};
}
}
function countRightDelay() {
if ((rightDelay == 0) && (kiroState != "running")) {
rightDelayObj.onEnterFrame = function () {
if (rightDelay < doubleClickDelay) {
rightDelay++;
} else if (rightDelay >= doubleClickDelay) {
rightClick = 0;
rightDelay = 0;
changedSide = false;
delete rightDelayObj.onEnterFrame;
}
};
}
}
function showMessage(messageToShow) {
_root.infoz = messageToShow + 1;
_root.infoz2 = 2;
}
function shakeIt(shakeStrength) {
function shakeItNow(moveNum) {
backgroundContainer._y = backgroundContainer._y + moveNum;
levelContainer._y = levelContainer._y + moveNum;
frontContainer._y = frontContainer._y + moveNum;
veryFrontContainer._y = levelContainer._y;
kiro._y = kiro._y + moveNum;
var _local2 = 0;
while (_local2 < _root.shurikenOnStage.length) {
_root[shurikenOnStage[_local2]]._y = _root[shurikenOnStage[_local2]]._y + moveNum;
_local2++;
}
}
currentlyShaking = true;
startingY = levelContainer._y;
startingY2 = frontContainer._y;
startingY3 = veryFrontcontainer._y;
var _local4 = 0;
while (_local4 < _root.shurikenOnStage.length) {
_root[shurikenOnStage[_local4]].startingY = _root[shurikenOnStage[_local4]]._y;
_local4++;
}
shakerObj.onEnterFrame = function () {
if (frameNumber == 1) {
_root.shake = 2;
shakeItNow(10 * shakeStrength);
} else if (frameNumber == 2) {
shakeItNow(-20 * shakeStrength);
} else if (frameNumber == 3) {
shakeItNow(18 * shakeStrength);
} else if (frameNumber == 4) {
shakeItNow(-16 * shakeStrength);
} else if (frameNumber == 5) {
shakeItNow(14 * shakeStrength);
} else if (frameNumber == 6) {
shakeItNow(-12 * shakeStrength);
} else if (frameNumber == 7) {
shakeItNow(10 * shakeStrength);
} else if (frameNumber == 8) {
shakeItNow(-8 * shakeStrength);
} else if (frameNumber == 9) {
shakeItNow(6 * shakeStrength);
} else if (frameNumber == 10) {
shakeItNow(-4 * shakeStrength);
} else if (frameNumber == 11) {
shakeItNow(2 * shakeStrength);
}
if (frameNumber < 11) {
frameNumber++;
} else {
levelContainer._y = startingY;
frontContainer._y = startingY2;
veryFrontContainer._y = levelContainer._y;
var _local3 = 0;
while (_local3 < _root.shurikenOnStage.length) {
_root[shurikenOnStage[_local3]]._y = _root[shurikenOnStage[_local3]].startingY;
_local3++;
}
currentlyShaking = false;
frameNumber = 1;
delete this.onEnterFrame;
}
};
}
function spawnEnemy(enem, enemyType) {
levelContainer.ground["enemy" + enem].horizontalAccelRatio = 0;
levelContainer.ground["enemy" + enem].verticalAccelRatio = 0;
if (enemyType == undefined) {
levelContainer.ground["enemy" + enem].enemyType = _root["enemiesInLvl" + currentLevel][enem - 1].type;
} else {
levelContainer.ground["enemy" + enem].enemyType = enemyType;
}
levelContainer.ground["enemy" + enem].distanceToAttack = enemiesStats[levelContainer.ground["enemy" + enem].enemyType - 1].distanceToAttack;
levelContainer.ground["enemy" + enem].killed = false;
levelContainer.ground["enemy" + enem].side = "right";
levelContainer.ground["enemy" + enem].leftHit = false;
levelContainer.ground["enemy" + enem].rightHit = false;
levelContainer.ground["enemy" + enem].downHit = false;
levelContainer.ground["enemy" + enem].movementSpeed = enemiesStats[levelContainer.ground["enemy" + enem].enemyType - 1].speed;
levelContainer.ground["enemy" + enem].health = enemiesStats[levelContainer.ground["enemy" + enem].enemyType - 1].health;
levelContainer.ground["enemy" + enem].horizontalAccelRatioIncrement = enemiesStats[levelContainer.ground["enemy" + enem].enemyType - 1].haRatio;
levelContainer.ground["enemy" + enem].horizontalAccelRatio = 0;
levelContainer.ground["enemy" + enem].damage = enemiesStats[levelContainer.ground["enemy" + enem].enemyType - 1].damage;
levelContainer.ground["enemy" + enem].dead = false;
levelContainer.ground["enemy" + enem].state = "hidden";
levelContainer.ground["enemy" + enem].wait = true;
levelContainer.ground["enemy" + enem].canBeHit = true;
levelContainer.ground["enemy" + enem].gotoAndStop("Type" + levelContainer.ground["enemy" + enem].enemyType);
levelContainer.ground["enemy" + enem].onEnterFrame = function () {
if ((this.health <= 0) && (this.dead == false)) {
if (_root.currentLevel == 9) {
if (this.enemyType == 4) {
enemiesOnLeft++;
} else if (this.enemyType == 3) {
enemiesOnRight++;
}
}
this.dead = true;
this.canBeHit = false;
randNum = Math.floor((Math.random() * 3) + 1);
this.horizontalAccelRatio = 0;
this.enemyIn.gotoAndPlay("death" + randNum);
}
if ((this.enemyIn.swordHit != undefined) && (this.health > 0)) {
if ((this.enemyIn.swordHit.hitTest(_root.kiro) && (gotHit == false)) && (recovering == false)) {
if (_root.kiroState == "blocking") {
_root.shakeIt(0.5);
_root.kiro.kiro.gotoAndPlay("blockingHit");
if (_root.characterSide == this.side) {
if (_root.characterSide != "left") {
_root.kiro.hit._x = _root.kiro.hit._x - _root.leftDistance;
_root.kiro.kiro._xscale = _root.kiro.kiro._xscale * -1;
_root.characterSide = "left";
} else {
_root.kiro.hit._x = 0;
_root.kiro.kiro._xscale = _root.kiro.kiro._xscale * -1;
_root.characterSide = "right";
}
}
if (_root.characterSide == "right") {
if (leftHit == false) {
_root.horizontalAccelRatio = -1;
} else {
_root.horizontalAccelRatio = 0;
}
} else if (rightHit == false) {
_root.horizontalAccelRatio = 1;
} else {
_root.horizontalAccelRatio = 0;
}
if (_root.extra_2 != 2) {
_root.energy = _root.energy - (this.damage * 0.02);
}
} else if (_root.dead == false) {
if (_root.extra_2 != 2) {
_root.energy = _root.energy - this.damage;
}
_root.gotHit = true;
}
}
}
enemyHitPoints[0] = {x:-(this.hit._width / 2), y:-2};
enemyHitPoints[1] = {x:this.hit._width / 2, y:-2};
enemyHitPoints[2] = {x:(-this.hit._width) / 6, y:0};
enemyHitPoints[3] = {x:this.hit._width / 6, y:0};
enemyHitPoints[4] = {x:-(this.hit._width / 2), y:-this.hit._height};
enemyHitPoints[5] = {x:this.hit._width / 2, y:-this.hit._height};
enemyHitPoints[6] = {x:-(this.hit._width / 2), y:-this.hit._height};
enemyHitPoints[7] = {x:this.hit._width / 2, y:-this.hit._height};
enemyHitPoints[8] = {x:-(this.hit._width / 2), y:(-this.hit._height) / 2};
enemyHitPoints[9] = {x:this.hit._width / 2, y:(-this.hit._height) / 2};
this.checkLeft = true;
this.checkRight = true;
this.testObj = {x:0, y:0};
this.thisX = 0;
this.thisY = 0;
this.localToGlobal(this.testObj);
this.localToGlobal(enemyHitPoints[0]);
this.localToGlobal(enemyHitPoints[1]);
this.localToGlobal(enemyHitPoints[2]);
this.localToGlobal(enemyHitPoints[3]);
this.localToGlobal(enemyHitPoints[4]);
this.localToGlobal(enemyHitPoints[5]);
this.localToGlobal(enemyHitPoints[6]);
this.localToGlobal(enemyHitPoints[7]);
this.localToGlobal(enemyHitPoints[8]);
this.localToGlobal(enemyHitPoints[9]);
if (((this.testObj.x < (rootWidth + 200)) && (this.testObj.x > -200)) || (_root.survivalMode == true)) {
if (((this.testObj.x > kiro._x) && (this.side != "left")) && (this.dead == false)) {
this.enemyIn._xscale = this.enemyIn._xscale * -1;
this.side = "left";
} else if (((this.testObj.x < kiro._x) && (this.side != "right")) && (this.dead == false)) {
this.enemyIn._xscale = this.enemyIn._xscale * -1;
this.side = "right";
}
var _local3 = 0;
while (_local3 < enemyHitPoints.length) {
if (_local3 == 0) {
if (_root.levelContainer.ground.bg.hitTest(enemyHitPoints[_local3].x, enemyHitPoints[_local3].y, true)) {
if (!_root.levelContainer.ground.bg.hitTest(enemyHitPoints[6].x, enemyHitPoints[6].y, true)) {
var _local7 = 0;
while (_local7 < 100) {
if ((!_root.levelContainer.ground.bg.hitTest(enemyHitPoints[_local3].x, enemyHitPoints[_local3].y - _local7, true)) && (this.horizontalAccelRatio != 0)) {
this._y = this._y - _local7;
break;
}
_local7++;
}
}
}
}
if (_local3 == 1) {
if (_root.levelContainer.ground.bg.hitTest(enemyHitPoints[_local3].x, enemyHitPoints[_local3].y, true)) {
if (!_root.levelContainer.ground.bg.hitTest(enemyHitPoints[7].x, enemyHitPoints[7].y, true)) {
var _local8 = 0;
while (_local8 < 100) {
if ((!_root.levelContainer.ground.bg.hitTest(enemyHitPoints[_local3].x, enemyHitPoints[_local3].y - _local8, true)) && (this.horizontalAccelRatio != 0)) {
this._y = this._y - _local8;
break;
}
_local8++;
}
}
}
} else if ((_local3 == 2) || ((_local3 == 3) && (downHit == false))) {
if (_root.levelContainer.ground.bg.hitTest(enemyHitPoints[_local3].x, enemyHitPoints[_local3].y, true)) {
if ((this.state == "hitToAir2") && (this.health > 0)) {
this.enemyIn.gotoAndPlay("airToGround");
}
if (this.dead == true) {
delete this.onEnterFrame;
}
this.downHit = true;
var _local6 = 0;
while (_local6 < 50) {
if (_root.levelContainer.ground.bg.hitTest(enemyHitPoints[_local3].x, enemyHitPoints[_local3].y + _local6, true)) {
this.thisY = this.thisY + _local6;
break;
}
_local6++;
}
} else {
this.downHit = false;
}
} else if ((((_local3 == 4) || ((_local3 == 8) && (this.leftHit == false))) && (this.dead == false)) && (_root.survivalMode == false)) {
if (_root.levelContainer.ground.bg.hitTest(enemyHitPoints[_local3].x + (movementSpeed * horizontalAccelRatio), enemyHitPoints[_local3].y, true)) {
this.leftHit = true;
} else {
this.leftHit = false;
}
var _local4 = 0;
while (_local4 < _root["objectsToBreakInLvl" + currentLevel]) {
if (levelContainer.ground["objectToBreak" + [_local4 + 1]].hit != undefined) {
if (levelContainer.ground["objectToBreak" + [_local4 + 1]].hit.hitTest(enemyHitPoints[_local3].x, enemyHitPoints[_local3].y, true)) {
if (this.state == "attacking") {
this.horizontalAccelRatio = 0;
}
this.leftHit = true;
break;
}
this.leftHit = false;
}
_local4++;
}
} else if ((((_local3 == 5) || ((_local3 == 9) && (this.rightHit == false))) && (this.dead == false)) && (_root.survivalMode == false)) {
if (_root.levelContainer.ground.bg.hitTest(enemyHitPoints[_local3].x + (movementSpeed * horizontalAccelRatio), enemyHitPoints[_local3].y, true)) {
this.rightHit = true;
} else {
this.rightHit = false;
}
var _local5 = 0;
while (_local5 < _root["objectsToBreakInLvl" + currentLevel]) {
if (levelContainer.ground["objectToBreak" + [_local5 + 1]].hit != undefined) {
if (levelContainer.ground["objectToBreak" + [_local5 + 1]].hit.hitTest(enemyHitPoints[_local3].x, enemyHitPoints[_local3].y, true)) {
if (this.state == "attacking") {
this.horizontalAccelRatio = 0;
}
this.rightHit = true;
break;
}
this.rightHit = false;
}
_local5++;
}
}
_local3++;
}
randNum = Math.floor((Math.random() * 100) + 1);
if ((randNum == 1) || (_root.survivalMode == true)) {
this.wait = false;
}
if (((this.state == "hidden") && (this.health > 0)) && (this.wait == false)) {
this.canBeHit == true;
this.state = "walking";
this.enemyIn.gotoAndPlay("walking");
}
if ((((this.leftHit == false) && (this.testObj.x > kiro._x)) && (this.dead == false)) && (this.wait == false)) {
if (this.horizontalAccelRatio > -1) {
this.horizontalAccelRatio = this.horizontalAccelRatio - this.horizontalAccelRatioIncrement;
}
} else if ((((rightHit == false) && (this.testObj.x < kiro._x)) && (this.dead == false)) && (this.wait == false)) {
if (this.horizontalAccelRatio < 1) {
this.horizontalAccelRatio = this.horizontalAccelRatio + this.horizontalAccelRatioIncrement;
}
}
if ((this.testObj.x < (kiro._x + this.distanceToAttack)) && (this.testObj.x > (kiro._x - this.distanceToAttack))) {
this.wait = false;
if ((((((((this.state != "hit") && (this.state != "hitToAir")) && (this.state != "hitToAir2")) && (this.state != "hitToGround")) && (this.state != "airToGround")) && (this.state != "attacking")) && (this.state != "9Hit")) && (this.health > 0)) {
if (_root.extra_7 == 2) {
this.health = 0;
}
this.canBeHit == true;
this.enemyIn.gotoAndPlay("attack1");
this.state = "attacking";
}
} else if (((((((((this.state != "walking") && (this.state != "hit")) && (this.state != "hitToAir")) && (this.state != "hitToAir2")) && (this.state != "hitToGround")) && (this.state != "airToGround")) && (this.state != "9Hit")) && ((this.wait == false) || (_root.survivalMode == true))) && (this.health > 0)) {
this.enemyIn.gotoAndPlay("walking");
this.state = "walking";
}
} else if ((this.health > 0) && (_root.survivalMode == false)) {
this.wait = true;
this.enemyIn.gotoAndStop("hidden");
this.horizontalAccelRatio = 0;
}
if ((this.verticalAccelRatio < 3) && (this.downHit == false)) {
this.verticalAccelRatio = this.verticalAccelRatio + (verticalAccelRatioIncrement * 4);
}
if (((this.testObj.x < (rootWidth + 200)) && (this.testObj.x > -200)) || (_root.survivalMode == true)) {
if ((this.downHit == true) && (this.state != "hitToAir")) {
this.verticalAccelRatio = 0;
}
if ((((this.state == "hitToAir") || (this.state == "hitToAir2")) || (this.state == "airToGround")) || (this.state == "hitToGround")) {
this.horizontalAccelRatio = 0;
}
this.thisY = this.thisY + this.movementSpeed;
this.thisX = this.thisX + this.movementSpeed;
if (((this.leftHit == true) && ((this._x + (this.thisX * this.horizontalAccelRatio)) < this._x)) || ((this.rightHit == true) && ((this._x + (this.thisX * this.horizontalAccelRatio)) > this._x))) {
this.horizontalAccelRatio = 0;
} else {
if (_root.currentLevel != 9) {
this._x = this._x + (this.thisX * this.horizontalAccelRatio);
} else if (((this.enemyType == 4) && (this._x < 1050)) || ((this.enemyType == 3) && (this._x > 1380))) {
this._x = this._x + (this.thisX * this.horizontalAccelRatio);
}
this._y = this._y + (this.thisY * this.verticalAccelRatio);
}
}
};
}
function throwShuriken() {
numberOfShuriken--;
shurikenThrownDelay = true;
var _local3 = 0;
while (_local3 <= _root.readyShuriken.length) {
if (_local3 == _root.readyShuriken.length) {
_root.attachMovie("Shuriken", "shuriken" + _root.shurikenNumber, (_root.kiro.getDepth() + 1) + shurikenNumber);
var _local2 = 0;
while (_local2 <= _root.shurikenOnStage.length) {
if (_local2 == _root.shurikenOnStage.length) {
_root.shurikenOnStage[_local2] = "shuriken" + _root.shurikenNumber;
_root[_root.shurikenOnStage[_local2]]._visible = true;
_root[_root.shurikenOnStage[_local2]].throwAngle = ((Math.atan2((_ymouse - kiro._y) - (kiro._height / 3), _xmouse - kiro._x) * 180) / Math.PI) + 90;
_root[_root.shurikenOnStage[_local2]]._x = kiro._x;
_root[_root.shurikenOnStage[_local2]]._y = kiro._y + (kiro._height / 3);
_root.shurikenNumber++;
break;
}
if (_root.shurikenOnStage[_local2] == null) {
_root.shurikenOnStage[_local2] = "shuriken" + _root.shurikenNumber;
_root[_root.shurikenOnStage[_local2]]._visible = true;
_root[_root.shurikenOnStage[_local2]].throwAngle = ((Math.atan2((_ymouse - kiro._y) - (kiro._height / 3), _xmouse - kiro._x) * 180) / Math.PI) + 90;
_root[_root.shurikenOnStage[_local2]]._x = kiro._x;
_root[_root.shurikenOnStage[_local2]]._y = kiro._y + (kiro._height / 3);
_root.shurikenNumber++;
break;
}
_local2++;
}
break;
}
if (_root.readyShuriken[_local3] != null) {
var _local4 = 0;
while (_local4 <= _root.shurikenOnStage.length) {
if (_local4 == _root.shurikenOnStage.length) {
_root.shurikenOnStage[_local4] = _root.readyShuriken[_local3];
_root[_root.readyShuriken[_local3]]._visible = true;
_root[_root.readyShuriken[_local3]].throwAngle = ((Math.atan2((_ymouse - kiro._y) - (kiro._height / 3), _xmouse - kiro._x) * 180) / Math.PI) + 90;
_root[_root.readyShuriken[_local3]]._x = kiro._x;
_root[_root.readyShuriken[_local3]]._y = kiro._y + (kiro._height / 3);
_root.readyShuriken[_local3] = null;
break;
}
if (_root.shurikenOnStage[_local4] == null) {
_root.shurikenOnStage[_local4] = _root.readyShuriken[_local3];
_root[readyShuriken[_local3]]._visible = true;
_root[readyShuriken[_local3]].throwAngle = ((Math.atan2((_ymouse - kiro._y) - (kiro._height / 3), _xmouse - kiro._x) * 180) / Math.PI) + 90;
_root[readyShuriken[_local3]]._x = kiro._x;
_root[readyShuriken[_local3]]._y = kiro._y + (kiro._height / 3);
readyShuriken[_local3] = null;
break;
}
_local4++;
}
break;
}
_local3++;
}
}
function deadFunc() {
gotoAndStop (40);
}
function winFunc() {
delete _root.kiro.onEnterFrame;
var _local2 = 0;
while (_local2 < _root["enemiesInLvl" + _root.currentLevel]) {
delete _root.levelContainer.ground["enemy" + _local2].onEnterFrame;
_local2++;
}
if (_root.currentLevel == 12) {
_root.vid = 4;
gotoAndPlay (4358);
} else if (currentLevel == 7) {
_root.vid = 7;
gotoAndPlay (4850);
} else {
gotoAndStop (39);
}
}
function beginSurvivalMode() {
survivalObject.onEnterFrame = function () {
kiroInContainer = {x:kiro._x, y:kiro._y + kiro._height};
levelContainer.globalToLocal(kiroInContainer);
survivalCounter++;
if (((wave == 1) || (wave == 2)) && ((((((((((survivalCounter == frameRate) || (survivalCounter == (frameRate * 10))) || (survivalCounter == (frameRate * 20))) || (survivalCounter == (frameRate * 30))) || (survivalCounter == (frameRate * 40))) || (survivalCounter == (frameRate * 50))) || (survivalCounter == (frameRate * 60))) || (survivalCounter == (frameRate * 70))) || (survivalCounter == (frameRate * 80))) || (survivalCounter == (frameRate * 90)))) {
levelContainer.ground.attachMovie("Enemy", "enemy" + [enemyID + 1], levelContainer.ground.getNextHighestDepth());
randNum = Math.round(Math.random());
if (randNum == 1) {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x - 550;
} else {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x + 550;
}
levelContainer.ground["enemy" + [enemyID + 1]]._y = 440;
_root.enemiesInLvl11[enemyID] = {type:1};
spawnEnemy(Number(enemyID + 1), 1);
enemyID++;
} else if (((wave == 3) || (wave == 4)) && ((((((((((survivalCounter == frameRate) || (survivalCounter == (frameRate * 9))) || (survivalCounter == (frameRate * 18))) || (survivalCounter == (frameRate * 27))) || (survivalCounter == (frameRate * 36))) || (survivalCounter == (frameRate * 45))) || (survivalCounter == (frameRate * 54))) || (survivalCounter == (frameRate * 63))) || (survivalCounter == (frameRate * 72))) || (survivalCounter == (frameRate * 81)))) {
randNum = Math.round(Math.random());
spawnEnemy(Number(jgj + 1), 1);
levelContainer.ground["enemy" + [enemyID + 1]]._visible = true;
if (randNum == 1) {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x - 550;
} else {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x + 550;
}
levelContainer.ground["enemy" + [enemyID + 1]]._y = 440;
spawnEnemy(Number(enemyID + 1), 1);
enemyID++;
} else if (((wave == 5) || (wave == 6)) && ((((((((((survivalCounter == frameRate) || (survivalCounter == (frameRate * 8))) || (survivalCounter == (frameRate * 16))) || (survivalCounter == (frameRate * 24))) || (survivalCounter == (frameRate * 32))) || (survivalCounter == (frameRate * 40))) || (survivalCounter == (frameRate * 48))) || (survivalCounter == (frameRate * 56))) || (survivalCounter == (frameRate * 64))) || (survivalCounter == (frameRate * 72)))) {
randNum = Math.round(Math.random());
spawnEnemy(Number(jgj + 1), 1);
levelContainer.ground["enemy" + [enemyID + 1]]._visible = true;
if (randNum == 1) {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x - 550;
} else {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x + 550;
}
levelContainer.ground["enemy" + [enemyID + 1]]._y = 440;
spawnEnemy(Number(enemyID + 1), 1);
enemyID++;
} else if (((wave == 7) || (wave == 8)) && ((((((((((survivalCounter == frameRate) || (survivalCounter == (frameRate * 7))) || (survivalCounter == (frameRate * 14))) || (survivalCounter == (frameRate * 21))) || (survivalCounter == (frameRate * 28))) || (survivalCounter == (frameRate * 35))) || (survivalCounter == (frameRate * 42))) || (survivalCounter == (frameRate * 49))) || (survivalCounter == (frameRate * 56))) || (survivalCounter == (frameRate * 63)))) {
randNum = Math.round(Math.random());
spawnEnemy(Number(jgj + 1), 1);
levelContainer.ground["enemy" + [enemyID + 1]]._visible = true;
if (randNum == 1) {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x - 550;
} else {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x + 550;
}
levelContainer.ground["enemy" + [enemyID + 1]]._y = 440;
spawnEnemy(Number(enemyID + 1), 1);
enemyID++;
} else if (((wave == 9) || (wave == 10)) && ((((((((((survivalCounter == frameRate) || (survivalCounter == (frameRate * 6))) || (survivalCounter == (frameRate * 12))) || (survivalCounter == (frameRate * 18))) || (survivalCounter == (frameRate * 24))) || (survivalCounter == (frameRate * 30))) || (survivalCounter == (frameRate * 36))) || (survivalCounter == (frameRate * 42))) || (survivalCounter == (frameRate * 48))) || (survivalCounter == (frameRate * 54)))) {
randNum = Math.round(Math.random());
spawnEnemy(Number(jgj + 1), 1);
levelContainer.ground["enemy" + [enemyID + 1]]._visible = true;
if (randNum == 1) {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x - 550;
} else {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x + 550;
}
levelContainer.ground["enemy" + [enemyID + 1]]._y = 440;
spawnEnemy(Number(enemyID + 1), 1);
enemyID++;
} else if (((wave == 11) || (wave == 12)) && ((((((((((survivalCounter == frameRate) || (survivalCounter == (frameRate * 5))) || (survivalCounter == (frameRate * 10))) || (survivalCounter == (frameRate * 15))) || (survivalCounter == (frameRate * 20))) || (survivalCounter == (frameRate * 25))) || (survivalCounter == (frameRate * 30))) || (survivalCounter == (frameRate * 35))) || (survivalCounter == (frameRate * 40))) || (survivalCounter == (frameRate * 45)))) {
randNum = Math.round(Math.random());
spawnEnemy(Number(jgj + 1), 1);
levelContainer.ground["enemy" + [enemyID + 1]]._visible = true;
if (randNum == 1) {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x - 550;
} else {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x + 550;
}
levelContainer.ground["enemy" + [enemyID + 1]]._y = 440;
spawnEnemy(Number(enemyID + 1), 1);
enemyID++;
} else if (((wave == 13) || (wave == 14)) && ((((((((((survivalCounter == frameRate) || (survivalCounter == (frameRate * 4))) || (survivalCounter == (frameRate * 8))) || (survivalCounter == (frameRate * 12))) || (survivalCounter == (frameRate * 16))) || (survivalCounter == (frameRate * 20))) || (survivalCounter == (frameRate * 24))) || (survivalCounter == (frameRate * 28))) || (survivalCounter == (frameRate * 32))) || (survivalCounter == (frameRate * 36)))) {
randNum = Math.round(Math.random());
spawnEnemy(Number(jgj + 1), 1);
levelContainer.ground["enemy" + [enemyID + 1]]._visible = true;
if (randNum == 1) {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x - 550;
} else {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x + 550;
}
levelContainer.ground["enemy" + [enemyID + 1]]._y = 440;
spawnEnemy(Number(enemyID + 1), 1);
enemyID++;
} else if (((wave == 15) || (wave == 16)) && ((((((((((survivalCounter == frameRate) || (survivalCounter == (frameRate * 3))) || (survivalCounter == (frameRate * 6))) || (survivalCounter == (frameRate * 9))) || (survivalCounter == (frameRate * 12))) || (survivalCounter == (frameRate * 15))) || (survivalCounter == (frameRate * 18))) || (survivalCounter == (frameRate * 21))) || (survivalCounter == (frameRate * 24))) || (survivalCounter == (frameRate * 27)))) {
randNum = Math.round(Math.random());
spawnEnemy(Number(jgj + 1), 1);
levelContainer.ground["enemy" + [enemyID + 1]]._visible = true;
if (randNum == 1) {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x - 550;
} else {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x + 550;
}
levelContainer.ground["enemy" + [enemyID + 1]]._y = 440;
spawnEnemy(Number(enemyID + 1), 1);
enemyID++;
} else if (((wave == 17) || (wave == 18)) && ((((((((((survivalCounter == frameRate) || (survivalCounter == (frameRate * 2))) || (survivalCounter == (frameRate * 4))) || (survivalCounter == (frameRate * 6))) || (survivalCounter == (frameRate * 8))) || (survivalCounter == (frameRate * 10))) || (survivalCounter == (frameRate * 12))) || (survivalCounter == (frameRate * 14))) || (survivalCounter == (frameRate * 16))) || (survivalCounter == (frameRate * 18)))) {
randNum = Math.round(Math.random());
spawnEnemy(Number(jgj + 1), 1);
levelContainer.ground["enemy" + [enemyID + 1]]._visible = true;
if (randNum == 1) {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x - 550;
} else {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x + 550;
}
levelContainer.ground["enemy" + [enemyID + 1]]._y = 440;
spawnEnemy(Number(enemyID + 1), 1);
enemyID++;
} else if ((wave >= 19) && ((((((((((survivalCounter == frameRate) || (survivalCounter == (frameRate * 2))) || (survivalCounter == (frameRate * 3))) || (survivalCounter == (frameRate * 4))) || (survivalCounter == (frameRate * 5))) || (survivalCounter == (frameRate * 6))) || (survivalCounter == (frameRate * 7))) || (survivalCounter == (frameRate * 8))) || (survivalCounter == (frameRate * 9))) || (survivalCounter == (frameRate * 10)))) {
randNum = Math.round(Math.random());
spawnEnemy(Number(jgj + 1), 1);
levelContainer.ground["enemy" + [enemyID + 1]]._visible = true;
if (randNum == 1) {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x - 550;
} else {
levelContainer.ground["enemy" + [enemyID + 1]]._x = kiroInContainer.x + 550;
}
levelContainer.ground["enemy" + [enemyID + 1]]._y = 440;
spawnEnemy(Number(enemyID + 1), 1);
enemyID++;
}
if (wave == 0) {
wave = 1;
} else if (currentWaveDeadEnemies == 10) {
currentWaveDeadEnemies = 0;
survivalCounter = 0;
wave++;
enemyID = 0;
var jgj = 0;
while (jgj < _root.enemiesInLvl11.length) {
levelContainer.ground["enemy" + [jgj + 1]]._visible = false;
jgj++;
}
}
};
}
function endCredits() {
_root.inter._alpha = 100;
gotoAndStop (42);
}
function killEnemyLeft() {
var _local2 = 0;
while (_local2 < enemiesInLvl9.length) {
if ((_root.levelContainer.ground["enemy" + [_local2 + 1]].enemyType == 4) && (_root.levelContainer.ground["enemy" + [_local2 + 1]].health > 0)) {
_root.levelContainer.ground["enemy" + [_local2 + 1]].health = 0;
break;
}
_local2++;
}
_root.checkForEnemiesLeft();
}
function killEnemyRight() {
var _local2 = 0;
while (_local2 < enemiesInLvl9.length) {
if ((_root.levelContainer.ground["enemy" + [_local2 + 1]].enemyType == 3) && (_root.levelContainer.ground["enemy" + [_local2 + 1]].health > 0)) {
_root.levelContainer.ground["enemy" + [_local2 + 1]].health = 0;
break;
}
_local2++;
}
}
function changeScene(frame) {
delete _root.kiro.onEnterFrame;
var _local2 = 1;
while (_local2 < _root["enemiesInLvl" + _root.currentLevel]) {
delete _root.levelContainer.ground["enemy" + _local2].onEnterFrame;
_local2++;
}
gotoAndPlay(frame +1592);
}
stop();
var currentLevel = _root.lvl;
var startingY;
var startingY2;
var startingY3;
var energy = 100;
var energyb = 100;
var characterHitPoints = new Array();
var swordOut = false;
var characterSide = "right";
var rageMode = false;
var rageState = 0;
var rageTime = 15;
var boost = false;
var boost2 = false;
var backFromBlock = false;
var attackPack1 = false;
var attackPack2 = false;
var attackPack3 = false;
var attackPack4 = false;
var changedSide = false;
var moveX = 0;
var moveY = 0;
var horizontalAccelRatio = 0;
var verticalAccelRatio = 0;
var kiroState = "breathing";
var dead = false;
var hideSword = false;
var leftHit = false;
var rightHit = false;
var downHit = false;
var upHit = false;
var gotHit = false;
var recovering = false;
var jump = false;
var jumping = false;
var attack = false;
var rollSide = "";
var leftDistance = 20;
var boostSpeed = 5;
var movementSpeed = 5;
var jumpSpeed = -3;
var horizontalAccelRatioIncrement = 0.03;
var verticalAccelRatioIncrement = 0.04;
var attackFromAirVRatio = 4;
var boostSlowDown = 0.5;
var attackType;
var attackEffects = new Array();
var numberOfShuriken = 0;
var numberOfShuriken_b = 0;
attackEffects[0] = {damage:5, backEffect:2};
attackEffects[1] = {damage:5, backEffect:2};
attackEffects[2] = {damage:5, backEffect:2};
attackEffects[3] = {damage:5, backEffect:2};
attackEffects[4] = {damage:5, backEffect:2};
attackEffects[5] = {damage:20, backEffect:2};
attackEffects[6] = {damage:5, backEffect:2};
attackEffects[7] = {damage:5, vEffect:4};
attackEffects[8] = {damage:20, backEffect:2};
attackEffects[9] = {damage:10, backEffect:2};
attackEffects[10] = {damage:20, backEffect:1};
var enemiesInLvl1 = new Array();
enemiesInLvl1[0] = {type:1};
enemiesInLvl1[1] = {type:1};
enemiesInLvl1[2] = {type:1};
enemiesInLvl1[3] = {type:1};
enemiesInLvl1[4] = {type:1};
enemiesInLvl1[5] = {type:1};
var enemiesInLvl3 = new Array();
enemiesInLvl3[0] = {type:1};
enemiesInLvl3[1] = {type:1};
enemiesInLvl3[2] = {type:1};
enemiesInLvl3[3] = {type:1};
enemiesInLvl3[4] = {type:1};
enemiesInLvl3[5] = {type:1};
enemiesInLvl3[6] = {type:1};
enemiesInLvl3[7] = {type:1};
enemiesInLvl3[8] = {type:1};
enemiesInLvl3[9] = {type:1};
var enemiesInLvl5 = new Array();
enemiesInLvl5[0] = {type:2};
enemiesInLvl5[1] = {type:2};
enemiesInLvl5[2] = {type:2};
enemiesInLvl5[3] = {type:2};
enemiesInLvl5[4] = {type:2};
enemiesInLvl5[5] = {type:2};
enemiesInLvl5[6] = {type:2};
enemiesInLvl5[7] = {type:2};
enemiesInLvl5[8] = {type:2};
var enemiesInLvl6 = new Array();
enemiesInLvl6[0] = {type:2};
enemiesInLvl6[1] = {type:2};
enemiesInLvl6[2] = {type:1};
enemiesInLvl6[3] = {type:1};
enemiesInLvl6[4] = {type:1};
enemiesInLvl6[5] = {type:2};
enemiesInLvl6[6] = {type:2};
enemiesInLvl6[7] = {type:1};
enemiesInLvl6[8] = {type:1};
enemiesInLvl6[9] = {type:1};
enemiesInLvl6[10] = {type:1};
enemiesInLvl6[11] = {type:2};
enemiesInLvl6[12] = {type:2};
enemiesInLvl6[13] = {type:2};
enemiesInLvl6[14] = {type:2};
var enemiesInLvl7 = new Array();
enemiesInLvl7[0] = {type:1};
enemiesInLvl7[1] = {type:1};
enemiesInLvl7[2] = {type:1};
enemiesInLvl7[3] = {type:1};
enemiesInLvl7[4] = {type:1};
enemiesInLvl7[5] = {type:1};
enemiesInLvl7[6] = {type:1};
enemiesInLvl7[7] = {type:1};
enemiesInLvl7[8] = {type:1};
enemiesInLvl7[9] = {type:1};
enemiesInLvl7[10] = {type:1};
enemiesInLvl7[11] = {type:1};
enemiesInLvl7[12] = {type:1};
enemiesInLvl7[13] = {type:1};
enemiesInLvl7[14] = {type:1};
enemiesInLvl7[15] = {type:1};
enemiesInLvl7[16] = {type:1};
enemiesInLvl7[17] = {type:1};
enemiesInLvl7[18] = {type:1};
enemiesInLvl7[19] = {type:1};
enemiesInLvl7[20] = {type:3};
enemiesInLvl7[21] = {type:3};
enemiesInLvl7[22] = {type:3};
var enemiesInLvl9 = new Array();
enemiesInLvl9[0] = {type:4};
enemiesInLvl9[1] = {type:4};
enemiesInLvl9[2] = {type:4};
enemiesInLvl9[3] = {type:3};
enemiesInLvl9[4] = {type:3};
enemiesInLvl9[5] = {type:3};
enemiesInLvl9[6] = {type:3};
var enemiesInLvl10 = new Array();
var enemiesInLvl11 = new Array();
var enemiesInLvl12 = new Array();
enemiesInLvl12[0] = {type:1};
enemiesInLvl12[1] = {type:1};
enemiesInLvl12[2] = {type:1};
enemiesInLvl12[3] = {type:1};
enemiesInLvl12[4] = {type:1};
enemiesInLvl12[5] = {type:1};
enemiesInLvl12[6] = {type:1};
enemiesInLvl12[7] = {type:1};
enemiesInLvl12[8] = {type:1};
enemiesInLvl12[9] = {type:1};
enemiesInLvl12[10] = {type:1};
enemiesInLvl12[11] = {type:1};
enemiesInLvl12[12] = {type:1};
enemiesInLvl12[13] = {type:1};
enemiesInLvl12[14] = {type:1};
enemiesInLvl12[15] = {type:1};
enemiesInLvl12[16] = {type:1};
enemiesInLvl12[17] = {type:1};
enemiesInLvl12[18] = {type:1};
enemiesInLvl12[19] = {type:1};
var enemyHitPoints = new Array();
var enemiesStats = new Array();
var messagesLvl1 = new Array();
messagesLvl1[0] = {showed:false, msg:0};
messagesLvl1[1] = {showed:false, msg:1};
messagesLvl1[2] = {showed:false, msg:2};
var messagesLvl3 = new Array();
var messagesLvl5 = new Array();
var messagesLvl6 = new Array();
var messagesLvl7 = new Array();
var messagesLvl9 = new Array();
var messagesLvl10 = new Array();
var messagesLvl11 = new Array();
var messagesLvl12 = new Array();
var shurikenPackInLvl1 = 0;
var shurikenPackInLvl3 = 0;
var shurikenPackInLvl5 = 1;
var shurikenPackInLvl6 = 1;
var shurikenPackInLvl7 = 1;
var shurikenPackInLvl9 = 0;
var shurikenPackInLvl10 = 0;
var shurikenPackInLvl11 = 0;
var shurikenPackInLvl12 = 1;
var objectsToBreakInLvl1 = 1;
var objectsToBreakInLvl3 = 0;
var objectsToBreakInLvl5 = 1;
var objectsToBreakInLvl6 = 3;
var objectsToBreakInLvl7 = 3;
var objectsToBreakInLvl9 = 0;
var objectsToBreakInLvl10 = 0;
var objectsToBreakInLvl11 = 0;
var objectsToBreakInLvl12 = 0;
var mouseIsDown = false;
var rightClick = 0;
var leftClick = 0;
var leftKey = false;
var rightKey = false;
var upKey = false;
var downKey = false;
var spaceKey = false;
var rKeyDown = false;
var enemiesOnLeft = 0;
var enemiesOnRight = 0;
var currentWaveDeadEnemies = 0;
var totalDeadEnemies = 0;
var wave = 0;
var survivalMode = false;
var survivalCounter = 0;
var enemyID = 0;
var kiroInContainer = new Object();
var rootWidth = 800;
var rootHeight = 440;
var frameRate = 48;
var infoz = 0;
var infoz2 = 1;
var shake = 1;
var nothingCounter = 0;
var nothingCounterStarted = false;
var swordCounter = 0;
var swordCounterStarted = false;
var doubleClickDelay = 14;
var leftDelay = 0;
var rightDelay = 0;
var randNum;
var frameNumber = 1;
var currentlyShaking = false;
var shurikenThrownDelay = false;
var readyShuriken = new Array();
var shurikenPoints = new Array();
var rotationSpeed = 30;
var shurikenSpeed = 40;
var shurikenNumber = 5;
var shurikenOnStage = new Array();
var shurikenMessageShown = false;
backgroundContainer.attachMovie("Backgrounds", "levelBg", this.getNextHighestDepth());
levelContainer.attachMovie("Levels", "ground", this.getNextHighestDepth());
frontContainer.attachMovie("Fronts", "levelFront", this.getNextHighestDepth());
veryFrontContainer.attachMovie("VeryFront", "levelVeryFront", this.getNextHighestDepth());
_root.createEmptyMovieClip("leftDelayObj", _root.getNextHighestDepth());
_root.createEmptyMovieClip("rightDelayObj", _root.getNextHighestDepth());
_root.createEmptyMovieClip("nothingCounterObj", _root.getNextHighestDepth());
_root.createEmptyMovieClip("swordCounterObj", _root.getNextHighestDepth());
_root.createEmptyMovieClip("shakerObj", _root.getNextHighestDepth());
loadLevel();
_root.onMouseDown = function () {
if (((mouseIsDown == false) && (kiroState != "recovering")) && (kiroState != "hit")) {
attack = true;
swordOut = true;
}
mouseIsDown = true;
};
_root.onMouseUp = function () {
mouseIsDown = false;
};
kiro.onEnterFrame = function () {
if (((_root.currentLevel == 9) && (enemiesOnLeft == 3)) && (enemiesOnRight == 4)) {
_root.winFunc();
}
if (this.hitTest(levelContainer.ground.endLevel)) {
if (currentLevel == 7) {
if (((levelContainer.ground.enemy21.health <= 0) && (levelContainer.ground.enemy22.health <= 0)) && (levelContainer.ground.enemy23.health <= 0)) {
_root.winFunc();
}
} else {
var _local7 = 0;
while (_local7 <= _root["enemiesInLvl" + _root.currentLevel].length) {
if (_local7 == _root["enemiesInLvl" + currentLevel].length) {
_root.winFunc();
} else if (_root.levelContainer.ground["enemy" + [_local7 + 1]].health > 0) {
break;
}
_local7++;
}
}
}
if (_root.energy <= 0) {
_root.dead = true;
}
if (_root.rageMode == true) {
_root.rageState = _root.rageState - ((100 / frameRate) / _root.rageTime);
if (_root.rageState <= 0) {
_root.rageMode = false;
if (_root.extra_1 == 2) {
_root.rageState = 100;
} else {
_root.rageState = 0;
}
}
}
if ((horizontalAccelRatio == 0) && (kiroState == "breathing")) {
if ((nothingCounterStarted == false) && (swordOut == false)) {
startNothingCounter();
}
}
if ((swordOut == true) && (swordCounterStarted == false)) {
startSwordCounter();
}
var _local4 = 0;
while (_local4 < _root["messagesLvl" + currentLevel].length) {
if (kiro.hit.hitTest(levelContainer.ground["message" + _local4]) && (_root["messagesLvl" + currentLevel][_local4].showed == false)) {
_root["messagesLvl" + currentLevel][_local4].showed = true;
showMessage(_root["messagesLvl" + currentLevel][_local4].msg);
}
_local4++;
}
var _local6 = 0;
while (_local6 < _root["shurikenPackInLvl" + currentLevel]) {
if (kiro.hit.hitTest(levelContainer.ground["shurikenPack" + [_local6 + 1]])) {
if (levelContainer.ground["shurikenPack" + [_local6 + 1]]._currentframe == 1) {
numberOfShuriken = numberOfShuriken + 15;
levelContainer.ground["shurikenPack" + [_local6 + 1]].gotoAndStop(2);
if (_root.shurikenMessageShown == false) {
_root.shurikenMessageShown = true;
showMessage(10);
}
}
}
_local6++;
}
if ((_root.levelContainer.ground.midLevel != undefined) && (_root.returnfromscene != 2)) {
if (this.hitTest(_root.levelContainer.ground.midLevel)) {
if (_root.currentLevel == 1) {
_root.vid = -1;
_root.changeScene(2576);
} else if (_root.currentLevel == 7) {
_root.vid = 6;
_root.changeScene(2954);
}
}
}
if (kiro.kiro.swordHit != undefined) {
var _local5 = 0;
while (_local5 < _root["objectsToBreakInLvl" + currentLevel]) {
if (this.kiro.swordHit.hitTest(_root.levelContainer.ground["objectToBreak" + [_local5 + 1]].hit)) {
if (_root.levelContainer.ground["objectToBreak" + [_local5 + 1]].hit != undefined) {
shakeIt(0.5);
_root.levelContainer.ground["objectToBreak" + [_local5 + 1]].nextFrame();
}
}
_local5++;
}
var _local3 = 1;
while (_local3 <= _root["enemiesInLvl" + currentLevel].length) {
if ((this.kiro.swordHit.hitTest(_root.levelContainer.ground["enemy" + _local3]) && (_root.levelContainer.ground["enemy" + _local3].canBeHit == true)) && (_root.levelContainer.ground["enemy" + _local3].health > 0)) {
if ((_root.rageState >= 100) && (_root.needRageTutorial != false)) {
_root.needRageTutorial = false;
_root.infoz2 = 2;
_root.infoz = 12;
}
if ((_root.rageMode == false) && (_root.rageState < 100)) {
_root.rageState = _root.rageState + 1;
}
if (((((_root.levelContainer.ground["enemy" + _local3].state != "hitToAir") && (_root.levelContainer.ground["enemy" + _local3].state != "hitToAir2")) && (_root.levelContainer.ground["enemy" + _local3].state != "airToGround")) && (_root.levelContainer.ground["enemy" + _local3].state != "hitToGround")) && (_root.levelContainer.ground["enemy" + _local3].health > 0)) {
if (rageMode == true) {
_root.levelContainer.ground["enemy" + _local3].health = _root.levelContainer.ground["enemy" + _local3].health - (attackEffects[_root.attackType - 1].damage * 3);
} else {
_root.levelContainer.ground["enemy" + _local3].health = _root.levelContainer.ground["enemy" + _local3].health - attackEffects[_root.attackType - 1].damage;
}
_root.levelContainer.ground["enemy" + _local3].wait = false;
if ((_root.levelContainer.ground["enemy" + _local3].side == "left") && (_root.attackType != 8)) {
_root.levelContainer.ground["enemy" + _local3].horizontalAccelRatio = ((Math.random() * 0.8) + 0.7) * attackEffects[_root.attackType - 1].backEffect;
} else if (_root.attackType != 8) {
_root.levelContainer.ground["enemy" + _local3].horizontalAccelRatio = -(((Math.random() * 0.8) + 0.7) * attackEffects[_root.attackType - 1].backEffect);
}
if (_root.attackType == 8) {
_root.levelContainer.ground["enemy" + _local3].verticalAccelRatio = -(((Math.random() * 0.4) + 0.8) * attackEffects[_root.attackType - 1].vEffect);
_root.levelContainer.ground["enemy" + _local3].horizontalAccelRatio = 0;
_root.levelContainer.ground["enemy" + _local3].enemyIn.gotoAndPlay("hitToAir");
} else if ((_root.attackType == 10) || (_root.attackType == 6)) {
if (_root.levelContainer.ground["enemy" + _local3].downHit == false) {
_root.levelContainer.ground["enemy" + _local3].horizontalAccelRatio = 0;
}
_root.levelContainer.ground["enemy" + _local3].enemyIn.gotoAndPlay("hitToGround");
} else if (((_root.attackType != 8) && (_root.attackType != 10)) && (_root.attackType != 6)) {
_root.levelContainer.ground["enemy" + _local3].enemyIn.gotoAndPlay("hit");
}
} else if (_root.attackType == 9) {
_root.levelContainer.ground["enemy" + _local3].state = "hitToAir";
_root.levelContainer.ground["enemy" + _local3].enemyIn.gotoAndPlay("hitToAir");
_root.levelContainer.ground["enemy" + _local3].horizontalAccelRatio = -attackEffects[_root.attackType - 1].backEffect;
if (rageMode == true) {
_root.levelContainer.ground["enemy" + _local3].health = _root.levelContainer.ground["enemy" + _local3].health - (attackEffects[_root.attackType - 1].damage * 3);
} else {
_root.levelContainer.ground["enemy" + _local3].health = _root.levelContainer.ground["enemy" + _local3].health - attackEffects[_root.attackType - 1].damage;
}
_root.levelContainer.ground["enemy" + _local3].wait = false;
} else if (_root.attackType == 10) {
_root.levelContainer.ground["enemy" + _local3].wait = false;
if (rageMode == true) {
_root.levelContainer.ground["enemy" + _local3].health = _root.levelContainer.ground["enemy" + _local3].health - (attackEffects[_root.attackType - 1].damage * 3);
} else {
_root.levelContainer.ground["enemy" + _local3].health = _root.levelContainer.ground["enemy" + _local3].health - attackEffects[_root.attackType - 1].damage;
}
_root.levelContainer.ground["enemy" + _local3].verticalAccelRatio = 9;
_root.levelContainer.ground["enemy" + _local3].horizontalAccelRatio = 0;
_root.levelContainer.ground["enemy" + _local3].enemyIn.gotoAndPlay("hitToGround");
}
if ((((((((_root.attackType == 1) || (_root.attackType == 2)) || (_root.attackType == 3)) || (_root.attackType == 4)) || (_root.attackType == 5)) || (_root.attackType == 7)) || (_root.attackType == 8)) || ((_root.attackType == 9) && (jump == false))) {
shakeIt(0.5);
} else if (_root.attackType == 6) {
shakeIt(2);
}
}
_local3++;
}
}
if (characterSide == "left") {
characterHitPoints[0] = {x:(-(kiro.hit._width / 2)) - leftDistance, y:kiro.hit._height - 2};
characterHitPoints[1] = {x:(kiro.hit._width / 2) - leftDistance, y:kiro.hit._height - 2};
characterHitPoints[2] = {x:((-kiro.hit._width) / 6) - leftDistance, y:kiro.hit._height};
characterHitPoints[3] = {x:(kiro.hit._width / 6) - leftDistance, y:kiro.hit._height};
characterHitPoints[4] = {x:(-(kiro.hit._width / 2)) - leftDistance, y:0};
characterHitPoints[5] = {x:(kiro.hit._width / 2) - leftDistance, y:0};
characterHitPoints[6] = {x:(-(kiro.hit._width / 2)) - leftDistance, y:0};
characterHitPoints[7] = {x:(kiro.hit._width / 2) - leftDistance, y:0};
characterHitPoints[8] = {x:(-(kiro.hit._width / 2)) - leftDistance, y:kiro.hit._height / 2};
characterHitPoints[9] = {x:(kiro.hit._width / 2) - leftDistance, y:kiro.hit._height / 2};
characterHitPoints[10] = {x:(-(kiro.hit._width / 4)) - leftDistance, y:0};
characterHitPoints[11] = {x:(kiro.hit._width / 4) - leftDistance, y:0};
} else if (characterSide == "right") {
characterHitPoints[0] = {x:-(kiro.hit._width / 2), y:kiro.hit._height - 2};
characterHitPoints[1] = {x:kiro.hit._width / 2, y:kiro.hit._height - 2};
characterHitPoints[2] = {x:(-kiro.hit._width) / 6, y:kiro.hit._height};
characterHitPoints[3] = {x:kiro.hit._width / 6, y:kiro.hit._height};
characterHitPoints[4] = {x:-(kiro.hit._width / 2), y:0};
characterHitPoints[5] = {x:kiro.hit._width / 2, y:0};
characterHitPoints[6] = {x:-(kiro.hit._width / 2), y:0};
characterHitPoints[7] = {x:kiro.hit._width / 2, y:0};
characterHitPoints[8] = {x:-(kiro.hit._width / 2), y:kiro.hit._height / 2};
characterHitPoints[9] = {x:kiro.hit._width / 2, y:kiro.hit._height / 2};
characterHitPoints[10] = {x:-(kiro.hit._width / 4), y:0};
characterHitPoints[11] = {x:kiro.hit._width / 4, y:0};
}
var _local8 = 0;
while (_local8 < characterHitPoints.length) {
kiro.localToGlobal(characterHitPoints[_local8]);
_local8++;
}
moveX = 0;
moveY = 0;
if (_root.energy <= 0) {
_root.dead = true;
}
checkKeys();
checkHits();
calculateMovement();
moveIt();
};
var checkDown = true;
var enem = 1;
while (enem < (_root["enemiesInLvl" + currentLevel].length + 1)) {
spawnEnemy(enem);
enem++;
}
Instance of Symbol 2317 MovieClip "aim" in Frame 55
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
}
Frame 56
if (_root.lvl == 2) {
gotoAndPlay (57);
}
if (_root.lvl == 4) {
gotoAndPlay (940);
}
Frame 57
stop();
_root.lvl = 2;
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (58);
}
};
Instance of Symbol 2686 MovieClip in Frame 60
onClipEvent (load) {
boxx.txx = "- I need to find Jade";
boxx.txx2 = " before them !";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2703 MovieClip "peton" in Frame 285
onClipEvent (load) {
dif2 = 0;
}
Frame 345
if (_root.gotit == 2) {
_root.kiromoto = 3;
}
if (_root.peton._currentframe < 75) {
_root.peton.gotoAndPlay(75);
}
Frame 348
if (_root.gotit == 1) {
gotoAndStop (41);
stop();
}
Instance of Symbol 2703 MovieClip "peton" in Frame 412
onClipEvent (load) {
dif2 = 0;
}
Frame 454
if (_root.gotit == 2) {
_root.kiromoto = 4;
}
if (_root.peton._currentframe < 75) {
_root.peton.gotoAndPlay(75);
}
Frame 459
if (_root.gotit == 1) {
gotoAndStop (41);
stop();
}
Instance of Symbol 2703 MovieClip "peton" in Frame 747
onClipEvent (load) {
dif2 = 0;
}
Frame 791
if (_root.gotit == 2) {
_root.kiromoto = 4;
}
if (_root.peton._currentframe < 75) {
_root.peton.gotoAndPlay(75);
}
Frame 796
if (_root.gotit == 1) {
gotoAndStop (41);
stop();
}
Instance of Symbol 2703 MovieClip "peton" in Frame 815
onClipEvent (load) {
dif2 = 0;
}
Frame 867
if (_root.gotit == 2) {
_root.kiromoto = 4;
}
if (_root.peton._currentframe < 75) {
_root.peton.gotoAndPlay(75);
}
Frame 873
if (_root.gotit == 1) {
gotoAndStop (41);
stop();
}
Frame 939
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (39);
}
};
Frame 940
aa = random(150);
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2703 MovieClip "peton" in Frame 972
onClipEvent (load) {
dif2 = 0;
}
Frame 980
aa = 15;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 1010
if (_root.gotit == 2) {
_root.kiromoto = 4;
}
if (_root.peton._currentframe < 75) {
_root.peton.gotoAndPlay(75);
}
Frame 1016
if (_root.gotit == 1) {
gotoAndStop (41);
stop();
}
Instance of Symbol 2703 MovieClip "peton" in Frame 1036
onClipEvent (load) {
dif2 = 0;
}
Frame 1044
aa = 15;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 1080
if (_root.gotit == 2) {
_root.kiromoto = 4;
}
if (_root.peton._currentframe < 75) {
_root.peton.gotoAndPlay(75);
}
Frame 1086
if (_root.gotit == 1) {
gotoAndStop (41);
stop();
}
Frame 1107
aa = 80;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 1108
aa = 15;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2703 MovieClip "peton" in Frame 1108
onClipEvent (load) {
dif2 = 0;
}
Frame 1148
if (_root.gotit == 2) {
_root.kiromoto = 3;
}
if (_root.peton._currentframe < 75) {
_root.peton.gotoAndPlay(75);
}
Frame 1151
if (_root.gotit == 1) {
gotoAndStop (41);
stop();
}
Frame 1223
aa = random(100) + 50;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 1224
aa = 15;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2703 MovieClip "peton" in Frame 1224
onClipEvent (load) {
dif2 = 0;
}
Frame 1259
if (_root.gotit == 2) {
_root.kiromoto = 3;
}
if (_root.peton._currentframe < 75) {
_root.peton.gotoAndPlay(75);
}
Frame 1262
if (_root.gotit == 1) {
gotoAndStop (41);
stop();
}
Frame 1289
aa = 20;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 1406
aa = 15;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 1424
_root.streetbreak = 2;
_root.vinniebreakyeah = 2;
Frame 1490
_root.vinniebreakyeah = 3;
Frame 1592
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (39);
}
};
Frame 1593
if (_root.vid == 1) {
stopAllSounds();
gotoAndPlay (1602);
}
if (_root.vid == -1) {
stopAllSounds();
gotoAndPlay (4168);
}
if (_root.vid == 2) {
gotoAndPlay (3407);
}
if (_root.vid == 3) {
gotoAndPlay (3443);
}
if (_root.vid == 4) {
gotoAndPlay (4358);
}
if (_root.vid == 5) {
gotoAndPlay (4545);
}
if (_root.vid == 6) {
gotoAndPlay (4546);
}
if (_root.vid == 7) {
gotoAndPlay (4850);
}
if (_root.vid == 8) {
gotoAndPlay (5388);
}
Instance of Symbol 2686 MovieClip in Frame 1765
onClipEvent (load) {
boxx.txx = "You will pay for the death";
boxx.txx2 = " of my brother";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2686 MovieClip in Frame 1912
onClipEvent (load) {
boxx.txx = "How ironic to hear that coming ";
boxx.txx2 = "from an assassin ...";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2686 MovieClip in Frame 2002
onClipEvent (load) {
boxx.txx = "who has murdered hundreds of families.";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 2013
_root.vid_move = 2;
Instance of Symbol 2686 MovieClip in Frame 2112
onClipEvent (load) {
boxx.txx = "...";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2686 MovieClip in Frame 2187
onClipEvent (load) {
boxx.txx = "Just like me this is business... ";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2686 MovieClip in Frame 2287
onClipEvent (load) {
boxx.txx = "You should be looking for who";
boxx.txx2 = " was really after your brother...";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 2399
_root.vid_move = 3;
Instance of Symbol 2686 MovieClip in Frame 2400
onClipEvent (load) {
boxx.txx = "I'm just, in some sort...";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 2474
_root.vid_move = 4;
Instance of Symbol 2686 MovieClip in Frame 2475
onClipEvent (load) {
boxx.txx = " ... a paid contractor !";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2686 MovieClip in Frame 2539
onClipEvent (load) {
boxx.txx = "MAYBE BUT ...";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2686 MovieClip in Frame 2594
onClipEvent (load) {
boxx.txx = "Stop crying like a new born !";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2686 MovieClip in Frame 2661
onClipEvent (load) {
boxx.txx = "Hey! Smile! ";
boxx.txx2 = "You are the famous Kiro.";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 2705
_root.vid_move = 2;
Instance of Symbol 2686 MovieClip in Frame 2787
onClipEvent (load) {
boxx.txx = "And you almost killed ";
boxx.txx2 = "the famous Vinnie...";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2686 MovieClip in Frame 2877
onClipEvent (load) {
boxx.txx = "No one has come this close to me before...";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 2971
_root.vid_move = 6;
Instance of Symbol 2686 MovieClip in Frame 2972
onClipEvent (load) {
boxx.txx = "You should celebrate this amazing attempt,";
boxx.txx2 = " but now stop harassing me...";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2843 MovieClip in Frame 3136
onClipEvent (load) {
gotoAndPlay(random(120) + 1 +1592);
}
Instance of Symbol 2686 MovieClip in Frame 3152
onClipEvent (load) {
boxx.txx = "...or else your name will perish";
boxx.txx2 = "in the archives of my exploits.";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 3406
gotoAndStop (55);
Frame 3407
stop();
stopAllSounds();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (3408);
}
};
Frame 3431
_root.descenddelamoto = 3;
Frame 3442
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (55);
}
};
Frame 3443
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (940);
}
};
Instance of Symbol 2686 MovieClip in Frame 3672
onClipEvent (load) {
boxx.txx = "They killed Jade ...";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 3877
_root.animationkiroeyes = 2;
Instance of Symbol 2686 MovieClip in Frame 3901
onClipEvent (load) {
boxx.txx = "My Revenge will be";
boxx.txx2 = "TERRIBLE !!!";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4031
_root.animationkiroeyes = 3;
Frame 4160
stop();
Frame 4167
stop();
Frame 4168
_root.returnfromscene = 2;
Frame 4322
aa = 90;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4322
onClipEvent (load) {
boxx.txx = "- you betrayed us ...";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4323
aa = 90;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4323
onClipEvent (load) {
boxx.txx = "- and you're pathetic ...";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4324
aa = 150;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4324
onClipEvent (load) {
boxx.txx = "- your brother was a mistake";
boxx.txx2 = "his girlfriend, Jade, and you will die";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4325
aa = 90;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4325
onClipEvent (load) {
boxx.txx = "- Jade ?... Why Jade ..";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4326
_root.firstendeploy = 2;
aa = 150;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4326
onClipEvent (load) {
boxx.txx = "everybody around you will";
boxx.txx2 = "suffer the same fate !";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4327
_root.gokirodeployy = 2;
aa = 90;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4327
onClipEvent (load) {
boxx.txx = "I will collect your HEADS !";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4357
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (55);
}
};
Frame 4358
_root.lvl = 3;
Frame 4522
_root.gotslicehome = 2;
Frame 4535
aa = 100;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 4536
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4537);
}
};
Frame 4543
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4544);
}
};
Frame 4544
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
_root.lvl = 3;
gotoAndPlay (55);
}
};
Frame 4545
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (55);
}
};
Frame 4546
_root.returnfromscene = 2;
Frame 4637
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4638);
}
};
Instance of Symbol 2686 MovieClip in Frame 4646
onClipEvent (load) {
boxx.txx = "- What a suprise Kiro !";
boxx.txx2 = "the one responsible ...";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4662
aa = 150;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4676
onClipEvent (load) {
boxx.txx = "- You're the one who brings betrayal";
boxx.txx2 = " in our Clan !";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4692
aa = 150;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 4693
_root.animationkiroeyes = 2;
aa = 120;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4693
onClipEvent (load) {
boxx.txx = "- You have created all this mess";
boxx.txx2 = " ";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4694
aa = 90;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4694
onClipEvent (load) {
boxx.txx = "- Ahaha";
boxx.txx2 = " ... so what's your theory ?";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4695
aa = 150;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4695
onClipEvent (load) {
boxx.txx = "- You have Started the Renegade";
boxx.txx2 = " and blamed my Brother !";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4696
aa = 40;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4696
onClipEvent (load) {
boxx.txx = "- Go on ...";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4697
aa = 150;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4697
onClipEvent (load) {
boxx.txx = "- The council has ordered his death";
boxx.txx2 = " by a reknown bounty hunter...";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4698
aa = 150;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4698
onClipEvent (load) {
boxx.txx = "- ... but YOU";
boxx.txx2 = " are the ONLY ONE responsible !";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4699
aa = 40;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 4700
aa = 80;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4700
onClipEvent (load) {
boxx.txx = "- You did your homework Kiro.";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4701
aa = 100;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
_root.gogunroof = 0;
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4701
onClipEvent (load) {
boxx.txx = "- Now taste your reward";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4726
aa = 20;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
stopAllSounds();
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 4802
stop();
_root.animationkiroeyes = 55;
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4803);
}
};
Frame 4803
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4804);
}
};
Frame 4847
aa = 10;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 4848
aa = 110;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 4848
onClipEvent (load) {
boxx.txx = "- Say Hello to my little friend !";
boxx.txx2 = " ";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 4849
stop();
_root.returnfromscene = 2;
_root.lvl = 7;
_root.animationkiroeyes = 56;
onEnterFrame = function () {
if (_root.got2go == 3) {
_root.got2go = 1;
if (_root.gore == 2) {
gotoAndPlay (55);
} else {
gotoAndStop (43);
}
}
};
Frame 5002
aa = 80;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 5003
aa = 120;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 5003
onClipEvent (load) {
boxx.txx = "- I better leave";
boxx.txx2 = " before the Police shows up ...";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 5004
_root.kiroleaveroof = 2;
Frame 5051
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (5052);
}
};
Frame 5112
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (5113);
}
};
Frame 5113
stop();
Frame 5114
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (5213);
}
};
Frame 5212
stop();
Frame 5242
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (5243);
}
};
Frame 5327
_root.stanupkiroyeahsad = 2;
Frame 5386
aa = 110;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 5386
onClipEvent (load) {
boxx.txx = "- We need to talk ...";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 5387
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
_root.lvl = 7;
gotoAndPlay (39);
}
};
Frame 5388
stopAllSounds();
aa = 120;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 5389
onClipEvent (load) {
boxx.txx = "- ... so you're offering me a kind of partnership";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 5541
aa = 50;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 5541
onClipEvent (load) {
boxx.txx = "- More than that !";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 5542
aa = 120;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 5542
onClipEvent (load) {
boxx.txx = "- ... A chance to Work with a Pro";
boxx.txx2 = " and gain huge amounts of money !";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 5543
aa = 40;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 5543
onClipEvent (load) {
boxx.txx = "- Interesting";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 5544
aa = 30;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 5545
aa = 80;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 5545
onClipEvent (load) {
boxx.txx = "- This is your Chance !";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Instance of Symbol 2686 MovieClip in Frame 5646
onClipEvent (load) {
boxx.txx = "- Ok ...";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 5677
aa = 15;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 5678
_root.animationkiroeyes = 2;
Instance of Symbol 2686 MovieClip in Frame 5707
onClipEvent (load) {
boxx.txx = "- Partner";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 5780
aa = 90;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 2686 MovieClip in Frame 5780
onClipEvent (load) {
boxx.txx = "- Welcome in the team !";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 5781
aa = 15;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 5834
_root.doorga1go = 2;
Frame 5842
aa = 150;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 5843
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (5844);
}
};
Instance of Symbol 2686 MovieClip in Frame 5843
onClipEvent (load) {
boxx.txx = "- Are you always that popular ?!";
boxx.txx2 = "";
lg = 2;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Frame 5844
_root.tablewichside = 2;
Frame 5895
_root.doorga2go = 2;
Frame 5903
aa = 80;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 5904
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (55);
}
};
Instance of Symbol 2843 MovieClip in Frame 5904
onClipEvent (load) {
gotoAndPlay(random(120) + 1 +1592);
}
Instance of Symbol 2686 MovieClip in Frame 5904
onClipEvent (load) {
boxx.txx = "- More or less. But I'm sure";
boxx.txx2 = " these guys are here for you !";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Symbol 24 MovieClip Frame 41
stop();
Symbol 26 MovieClip Frame 41
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 21
stop();
Symbol 160 MovieClip Frame 1
gotoAndPlay((random(3) + 1) * 2);
Symbol 160 MovieClip Frame 3
stop();
Symbol 160 MovieClip Frame 5
stop();
Symbol 160 MovieClip Frame 7
stop();
Symbol 184 MovieClip Frame 15
stop();
Symbol 185 MovieClip Frame 15
stop();
Symbol 188 MovieClip Frame 40
stop();
Symbol 189 MovieClip Frame 41
stop();
Symbol 190 MovieClip Frame 1
if (_root.gore == 1) {
stop();
} else {
gotoAndStop (2);
}
Symbol 190 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_root.bloodgo == 2) {
_root.bloodgo = 1;
gotoAndPlay (1);
}
};
Symbol 249 MovieClip Frame 1
stop();
this._parent.state = "hidden";
Symbol 249 MovieClip Frame 2
this._parent.state = "walking";
Symbol 249 MovieClip Frame 50
this.gotoAndPlay("walking");
Symbol 249 MovieClip Frame 51
this._parent.state = "attacking";
Symbol 249 MovieClip Frame 129
this.gotoAndPlay("attack1");
this._parent.canBeHit = true;
Symbol 249 MovieClip Frame 130
this._parent.state = "hitToAir";
Symbol 249 MovieClip Frame 132
this.stop();
this._parent.state = "hitToAir2";
Symbol 249 MovieClip Frame 133
this._parent.state = "hit";
Symbol 249 MovieClip Frame 159
this._parent.canBeHit = true;
this.gotoAndPlay("walking");
Symbol 249 MovieClip Frame 160
this._parent.state = "hitToGround";
this._parent.canBeHit = false;
Symbol 249 MovieClip Frame 218
this.gotoAndPlay("walking");
this._parent.canBeHit = true;
Symbol 249 MovieClip Frame 270
stop();
if (_root.survivalMode == true) {
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 249 MovieClip Frame 312
stop();
if (_root.survivalMode == true) {
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 249 MovieClip Frame 365
stop();
if (_root.survivalMode == true) {
trace(this._parent.side);
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 249 MovieClip Frame 366
this._parent.state = "airToGround";
Symbol 249 MovieClip Frame 422
this._parent.canBeHit = true;
this.gotoAndPlay("walking");
Symbol 359 MovieClip Frame 1
stop();
this._parent.state = "hidden";
Symbol 359 MovieClip Frame 2
this._parent.state = "walking";
Symbol 359 MovieClip Frame 50
this.gotoAndPlay("walking");
Symbol 359 MovieClip Frame 51
this._parent.state = "attacking";
Symbol 359 MovieClip Frame 129
this.gotoAndPlay("attack1");
this._parent.canBeHit = true;
Symbol 359 MovieClip Frame 130
this._parent.state = "hitToAir";
Symbol 359 MovieClip Frame 132
this.stop();
this._parent.state = "hitToAir2";
Symbol 359 MovieClip Frame 133
this._parent.state = "hit";
Symbol 359 MovieClip Frame 159
this._parent.canBeHit = true;
this.gotoAndPlay("walking");
Symbol 359 MovieClip Frame 160
this._parent.state = "hitToGround";
this._parent.canBeHit = false;
Symbol 359 MovieClip Frame 218
this.gotoAndPlay("walking");
this._parent.canBeHit = true;
Symbol 359 MovieClip Frame 270
stop();
if (_root.survivalMode == true) {
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 359 MovieClip Frame 312
stop();
if (_root.survivalMode == true) {
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 359 MovieClip Frame 365
stop();
if (_root.survivalMode == true) {
trace(this._parent.side);
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 359 MovieClip Frame 366
this._parent.state = "airToGround";
Symbol 359 MovieClip Frame 422
this._parent.canBeHit = true;
this.gotoAndPlay("walking");
Symbol 361 MovieClip Frame 1
_parent.stop();
Symbol 361 MovieClip Frame 15
_parent.play();
stop();
Symbol 362 MovieClip Frame 1
stop();
this._parent.state = "hidden";
Symbol 362 MovieClip Frame 2
this._parent.state = "walking";
Symbol 362 MovieClip Frame 50
this.gotoAndPlay("walking");
Symbol 362 MovieClip Frame 51
this._parent.state = "attacking";
Symbol 362 MovieClip Frame 129
this.gotoAndPlay("attack1");
this._parent.canBeHit = true;
Symbol 362 MovieClip Frame 130
this._parent.state = "hitToAir";
Symbol 362 MovieClip Frame 132
this.stop();
this._parent.state = "hitToAir2";
Symbol 362 MovieClip Frame 133
this._parent.state = "hit";
Symbol 362 MovieClip Frame 159
this._parent.canBeHit = true;
this.gotoAndPlay("walking");
Symbol 362 MovieClip Frame 160
this._parent.state = "hitToGround";
this._parent.canBeHit = false;
Symbol 362 MovieClip Frame 218
this.gotoAndPlay("walking");
this._parent.canBeHit = true;
Symbol 362 MovieClip Frame 270
stop();
if (_root.survivalMode == true) {
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 362 MovieClip Frame 312
stop();
if (_root.survivalMode == true) {
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 362 MovieClip Frame 365
stop();
if (_root.survivalMode == true) {
trace(this._parent.side);
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 362 MovieClip Frame 366
this._parent.state = "airToGround";
Symbol 362 MovieClip Frame 422
this._parent.canBeHit = true;
this.gotoAndPlay("walking");
Symbol 402 MovieClip Frame 1
stop();
this._parent.state = "hidden";
Symbol 402 MovieClip Frame 2
this._parent.state = "walking";
Symbol 402 MovieClip Frame 50
this.gotoAndPlay("walking");
Symbol 402 MovieClip Frame 51
this._parent.state = "attacking";
Symbol 402 MovieClip Frame 129
this.gotoAndPlay("attack1");
this._parent.canBeHit = true;
Symbol 402 MovieClip Frame 130
this._parent.state = "hitToAir";
Symbol 402 MovieClip Frame 132
this.stop();
this._parent.state = "hitToAir2";
Symbol 402 MovieClip Frame 133
this._parent.state = "hit";
Symbol 402 MovieClip Frame 159
this._parent.canBeHit = true;
this.gotoAndPlay("walking");
Symbol 402 MovieClip Frame 160
this._parent.state = "hitToGround";
this._parent.canBeHit = false;
Symbol 402 MovieClip Frame 218
this.gotoAndPlay("walking");
this._parent.canBeHit = true;
Symbol 402 MovieClip Frame 270
stop();
if (_root.survivalMode == true) {
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 402 MovieClip Frame 312
stop();
if (_root.survivalMode == true) {
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 402 MovieClip Frame 365
stop();
if (_root.survivalMode == true) {
trace(this._parent.side);
if (this._parent.side == "left") {
this._xscale = this._xscale * -1;
this._parent.side = "right";
}
_root.currentWaveDeadEnemies++;
_root.totalDeadEnemies++;
}
Symbol 402 MovieClip Frame 366
this._parent.state = "airToGround";
Symbol 402 MovieClip Frame 422
this._parent.canBeHit = true;
this.gotoAndPlay("walking");
Symbol 403 MovieClip [Enemy] Frame 1
stop();
Symbol 429 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 2
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 21
stop();
Symbol 447 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 21
stop();
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 21
stop();
Symbol 611 MovieClip Frame 1
onEnterFrame = function () {
if (_root.f_vinnie_go == 2) {
_root.f_vinnie_go = 1;
gotoAndPlay (51);
}
if (_root.f_vinnie_go == 3) {
_root.f_vinnie_go = 1;
gotoAndPlay (151);
}
};
Symbol 611 MovieClip Frame 50
gotoAndPlay (1);
Symbol 611 MovieClip Frame 100
aa = random(2) + 1;
if (aa == 1) {
if (_root.wichside == 1) {
if (_root.enemiesOnLeft < 3) {
gotoAndPlay (151);
} else {
gotoAndPlay (1);
_parent.play();
}
}
if (_root.wichside == 2) {
if (_root.enemiesOnRight < 4) {
gotoAndPlay (151);
} else {
gotoAndPlay (1);
_parent.gotoAndPlay(1);
}
}
}
Symbol 611 MovieClip Frame 150
if (_root.wichside == 1) {
if (_root.enemiesOnLeft < 3) {
gotoAndPlay (151);
} else {
gotoAndPlay (1);
_parent.play();
}
}
if (_root.wichside == 2) {
if (_root.enemiesOnRight < 4) {
gotoAndPlay (151);
} else {
gotoAndPlay (1);
_parent.gotoAndPlay(1);
}
}
Symbol 611 MovieClip Frame 191
if (_root.wichside == 1) {
_root.killEnemyLeft();
}
if (_root.wichside == 2) {
_root.killEnemyRight();
}
Symbol 611 MovieClip Frame 214
gotoAndPlay (51);
Symbol 612 MovieClip Frame 120
_root.wichside = 1;
_root.f_vinnie_go = 3;
stop();
Symbol 612 MovieClip Frame 240
_root.wichside = 2;
_root.f_vinnie_go = 3;
stop();
Symbol 646 MovieClip [Levels] Frame 1
stop();
Symbol 657 MovieClip [Backgrounds] Frame 1
stop();
Symbol 666 MovieClip [Fronts] Frame 1
stop();
Symbol 675 MovieClip [VeryFront] Frame 1
stop();
Symbol 680 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 680 MovieClip Frame 2
gotoAndPlay (1);
Symbol 680 MovieClip Frame 3
_root.play();
Symbol 687 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.PercentLoaded + 1);
};
Symbol 3209 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName);
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 3210 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 3211 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.3 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 3212 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 3213 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
static var gameStart, levelStart;
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function trigger(kind, obj) {
if (obj == undefined) {
obj = {};
} else if (obj.kind != undefined) {
trace("WARNING: optional arguements package contains key 'id', it will be overwritten");
obj.kind = kind;
}
mochi.as2.MochiServices.send("events_triggerEvent", {eventObject:obj}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startGame() {
gameStart = new Date().getTime();
trigger("start_game");
}
static function endGame() {
var _local1 = new Date().getTime() - gameStart;
trigger("end_game", {time:_local1});
}
static function startLevel() {
levelStart = new Date().getTime();
trigger("start_level");
}
static function endLevel() {
var _local1 = new Date().getTime() - levelStart;
trigger("end_level", {time:_local1});
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 3214 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showItem call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showItem", {options:options}, null, null);
}
static function showVideo(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showVideo call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showVideo", {options:options}, null, null);
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 697 Button
on (keyPress "<Space>") {
_root.got2go = 2;
}
Symbol 700 Button
on (release, keyPress "<Space>") {
_root.got2go = 2;
}
Symbol 702 MovieClip Frame 150
stop();
Symbol 707 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
on (keyPress "<Space>") {
_root.got2go = 2;
}
Symbol 709 MovieClip Frame 67
stop();
Symbol 724 MovieClip Frame 12
stop();
Symbol 730 MovieClip Frame 298
stop();
Symbol 733 MovieClip Frame 7
stopAllSounds();
Symbol 733 MovieClip Frame 84
_root.intro_muz = 3;
Symbol 733 MovieClip Frame 695
_root.got2go = 2;
_root.intro_muz = 2;
Instance of Symbol 738 MovieClip in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(1500));
}
Instance of Symbol 738 MovieClip in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(1500));
}
Instance of Symbol 738 MovieClip in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(1500));
}
Symbol 771 MovieClip Frame 60
stop();
Symbol 772 MovieClip Frame 10
_root.user.data.lvl = _root.lvl;
_root.user.data.dif = _root.dif;
_root.user.data.extra_1 = _root.extra_1;
_root.user.data.extra_2 = _root.extra_2;
_root.user.data.extra_3 = _root.extra_3;
_root.user.data.extra_4 = _root.extra_4;
_root.user.data.extra_5 = _root.extra_5;
_root.user.data.extra_6 = _root.extra_6;
_root.user.data.extra_7 = _root.extra_7;
_root.user.data.extra_8 = _root.extra_8;
_root.user.flush();
Symbol 772 MovieClip Frame 81
_parent.play();
stop();
Symbol 773 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.goswordmenu == 2) {
_root.goswordmenu = 1;
stopAllSounds();
gotoAndPlay (2);
}
if (_root.goswordmenu == 3) {
_root.goswordmenu = 4;
stopAllSounds();
gotoAndPlay (2);
}
if (_root.goswordmenu == 5) {
_root.goswordmenu = 6;
stopAllSounds();
gotoAndPlay (2);
}
};
Symbol 773 MovieClip Frame 100
if (_root.goswordmenu == 4) {
_root.goswordmenu = 1;
stop();
}
Symbol 773 MovieClip Frame 129
if (_root.goswordmenu == 6) {
_root.goswordmenu = 1;
_root.got2go = 3;
stop();
} else {
_root.got2go = 2;
stop();
}
Symbol 784 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (16);
}
Symbol 786 MovieClip Frame 1
stop();
Symbol 786 MovieClip Frame 15
stop();
Symbol 792 MovieClip Frame 1
if (_root.intro_muz == 2) {
_root.intro_muz = 1;
stop();
} else {
stopAllSounds();
}
Symbol 792 MovieClip Frame 3
stop();
Symbol 801 Button
on (release) {
getURL (_root.moregameslink, "_blank");
}
Symbol 815 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.bubblebox.com/", "_blank");
};
Symbol 822 MovieClip Frame 27
stop();
Symbol 826 MovieClip Frame 1
stop();
Symbol 1074 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.lavr + 1);
};
Symbol 1074 MovieClip Frame 2
_root.moregameslink = "http://www.neodelight.com";
Symbol 1074 MovieClip Frame 3
_root.moregameslink = "http://www.andkon.com";
Symbol 1074 MovieClip Frame 4
_root.moregameslink = "http://www.anyad.rulez.org";
Symbol 1074 MovieClip Frame 5
_root.moregameslink = "http://www.girldressupgames.biz";
Symbol 1074 MovieClip Frame 6
_root.moregameslink = "http://www.bringler.com";
Symbol 1074 MovieClip Frame 7
_root.moregameslink = "http://www.bubblebox.com";
Symbol 1074 MovieClip Frame 8
_root.moregameslink = "http://www.bunnygames.com";
Symbol 1074 MovieClip Frame 9
_root.moregameslink = "http://www.dailyfreegames.com";
Symbol 1074 MovieClip Frame 10
_root.moregameslink = "http://www.directgamez.com";
Symbol 1074 MovieClip Frame 11
_root.moregameslink = "http://www.2flashgames.com";
Symbol 1074 MovieClip Frame 12
_root.moregameslink = "http://www.flashninjaclan.com";
Symbol 1074 MovieClip Frame 13
_root.moregameslink = "http://www.dailyaddictinggames.com/";
Symbol 1074 MovieClip Frame 14
_root.moregameslink = "http://www.funny-games.biz";
Symbol 1074 MovieClip Frame 15
_root.moregameslink = "http://www.gameitnow.com";
Symbol 1074 MovieClip Frame 16
_root.moregameslink = "http://www.gamesplz.com";
Symbol 1074 MovieClip Frame 17
_root.moregameslink = "http://www.onjogos.com.br";
Symbol 1074 MovieClip Frame 18
_root.moregameslink = "http://www.gamesfreak.net";
Symbol 1074 MovieClip Frame 19
_root.moregameslink = "http://www.stoneagegames.com";
Symbol 1074 MovieClip Frame 20
_root.moregameslink = "http://www.jarkey.net";
Symbol 1074 MovieClip Frame 21
_root.moregameslink = "http://www.gamesgames.com/";
Symbol 1074 MovieClip Frame 22
_root.moregameslink = "http://www.keepbusy.net";
Symbol 1074 MovieClip Frame 23
_root.moregameslink = "http://www.microjogos.com";
Symbol 1074 MovieClip Frame 24
_root.moregameslink = "http://www.minijuegos.com";
Symbol 1074 MovieClip Frame 25
_root.moregameslink = "http://www.oyunskor.com/";
Symbol 1074 MovieClip Frame 26
_root.moregameslink = "http://www.mostfungames.com";
Symbol 1074 MovieClip Frame 27
_root.moregameslink = "http://www.gameshot.org";
Symbol 1074 MovieClip Frame 28
_root.moregameslink = "http://www.online-games-zone.com/";
Symbol 1074 MovieClip Frame 29
_root.moregameslink = "http://www.puffgames.com";
Symbol 1074 MovieClip Frame 30
_root.moregameslink = "http://www.spele.nl";
Symbol 1074 MovieClip Frame 31
_root.moregameslink = "http://www.t45ol.com";
Symbol 1074 MovieClip Frame 32
_root.moregameslink = "http://www.thegamesonline.com/";
Symbol 1074 MovieClip Frame 33
_root.moregameslink = "http://www.ultimatearcade.com";
Symbol 1074 MovieClip Frame 34
_root.moregameslink = "http://www.girlgames4u.com/";
Symbol 1074 MovieClip Frame 35
_root.moregameslink = "http://www.gamesfree.ca/";
Symbol 1074 MovieClip Frame 36
_root.moregameslink = "http://www.stickpage.com/";
Symbol 1074 MovieClip Frame 37
_root.moregameslink = "http://www.gamespond.net/";
Symbol 1074 MovieClip Frame 38
_root.moregameslink = "http://www.flashgames.it/";
Symbol 1074 MovieClip Frame 39
_root.moregameslink = "http://www.gamesgirl.ca/";
Symbol 1074 MovieClip Frame 40
_root.moregameslink = "http://www.hallpass.com/";
Symbol 1074 MovieClip Frame 41
_root.moregameslink = "http://www.addictinggames.com/";
Symbol 1074 MovieClip Frame 42
_root.moregameslink = "http://www.benz.be";
Symbol 1074 MovieClip Frame 43
_root.moregameslink = "http://www.net-games.co.il/";
Symbol 1074 MovieClip Frame 44
_root.moregameslink = "http://www.net-games.biz/";
Symbol 1074 MovieClip Frame 45
_root.moregameslink = "http://www.pinkyarcade.com/";
Symbol 1074 MovieClip Frame 46
_root.moregameslink = "http://www.komikler.com/index.php";
Symbol 1074 MovieClip Frame 47
_root.moregameslink = "http://www.twizl.com/";
Symbol 1074 MovieClip Frame 48
_root.moregameslink = "http://www.a10.com/";
Symbol 1074 MovieClip Frame 49
_root.moregameslink = "http://www.bonniegames.com/";
Symbol 1074 MovieClip Frame 50
_root.moregameslink = "http://www.ug2.com/";
Symbol 1074 MovieClip Frame 51
_root.moregameslink = "http://www.agame.com";
Symbol 1074 MovieClip Frame 52
_root.moregameslink = "http://www.gamesclub.com/";
Symbol 1074 MovieClip Frame 53
_root.moregameslink = "http://www.killhours.com/";
Symbol 1074 MovieClip Frame 54
_root.moregameslink = "http://www.flasharcadegamessite.com/";
Symbol 1074 MovieClip Frame 55
_root.moregameslink = "http://www.roundgames.com/";
Symbol 1074 MovieClip Frame 56
_root.moregameslink = "http://www.arcadegangsta.com/";
Symbol 1074 MovieClip Frame 57
_root.moregameslink = "http://www.gamebusted.com/";
Symbol 1074 MovieClip Frame 58
_root.moregameslink = "http://www.flash-games.net/";
Symbol 1074 MovieClip Frame 59
_root.moregameslink = "http://www.flash-game.net/";
Symbol 1074 MovieClip Frame 60
_root.moregameslink = "http://www.kingofgames.net";
Symbol 1074 MovieClip Frame 61
_root.moregameslink = "http://www.stungames.com/";
Symbol 1074 MovieClip Frame 62
_root.moregameslink = "http://www.123spill.no/";
Symbol 1074 MovieClip Frame 63
_root.moregameslink = "http://www.dailygames.com/";
Symbol 1074 MovieClip Frame 64
_root.moregameslink = "http://www.octogames.com/";
Symbol 1074 MovieClip Frame 65
_root.moregameslink = "http://www.branchez-vous.com/";
Symbol 1074 MovieClip Frame 66
_root.moregameslink = "http://www.fupa.com/";
Symbol 1074 MovieClip Frame 67
_root.moregameslink = "http://www.kibagames.com/";
Symbol 1074 MovieClip Frame 68
_root.moregameslink = "http://www.kraloyun.com/";
Symbol 1074 MovieClip Frame 69
_root.moregameslink = "http://www.spielaffe.de/";
Symbol 1083 MovieClip Frame 2
if (_root.user.data.lvl == undefined) {
_root.load_ok = 1;
} else {
_root.lvl = _root.user.data.lvl;
_root.dif = _root.user.data.dif;
_root.extra_1 = _root.user.data.extra_1;
_root.extra_2 = _root.user.data.extra_2;
_root.extra_3 = _root.user.data.extra_3;
_root.extra_4 = _root.user.data.extra_4;
_root.extra_5 = _root.user.data.extra_5;
_root.extra_6 = _root.user.data.extra_6;
_root.extra_7 = _root.user.data.extra_7;
_root.extra_8 = _root.user.data.extra_8;
_root.load_ok = 2;
}
Symbol 1083 MovieClip Frame 50
if (_root.load_ok == 2) {
gotoAndPlay (51);
} else {
gotoAndPlay (101);
}
Symbol 1083 MovieClip Frame 100
_root.goswordmenu = 5;
_parent.gotoAndStop(21);
stop();
Symbol 1083 MovieClip Frame 150
_parent.gotoAndStop(20);
stop();
Symbol 1091 MovieClip Frame 20
stop();
Instance of Symbol 786 MovieClip in Symbol 1091 MovieClip Frame 20
onClipEvent (load) {
boxx.txx = "pyrozen";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.pyrozen.com/", "_blank");
}
}
Instance of Symbol 786 MovieClip in Symbol 1091 MovieClip Frame 20
onClipEvent (load) {
boxx.txx = "back";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndPlay(21);
}
}
Symbol 1091 MovieClip Frame 45
_parent.gotoAndStop(20);
Symbol 1092 MovieClip Frame 1
if (_root.extra_6 == 2) {
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 786 MovieClip in Symbol 1092 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "easy";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.dif = 1;
_parent._parent.gotoAndStop(21);
}
}
Instance of Symbol 786 MovieClip in Symbol 1092 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "normal";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.dif = 2;
_parent._parent.gotoAndStop(21);
}
}
Instance of Symbol 786 MovieClip in Symbol 1092 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "hard";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.dif = 3;
_parent._parent.gotoAndStop(21);
}
}
Instance of Symbol 786 MovieClip in Symbol 1092 MovieClip Frame 2
onClipEvent (load) {
boxx.txx = "very hard";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.dif = 4;
_parent._parent.gotoAndStop(21);
}
}
Instance of Symbol 786 MovieClip in Symbol 1092 MovieClip Frame 2
onClipEvent (load) {
boxx.txx = "easy";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.dif = 1;
_parent._parent.gotoAndStop(21);
}
}
Instance of Symbol 786 MovieClip in Symbol 1092 MovieClip Frame 2
onClipEvent (load) {
boxx.txx = "normal";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.dif = 2;
_parent._parent.gotoAndStop(21);
}
}
Instance of Symbol 786 MovieClip in Symbol 1092 MovieClip Frame 2
onClipEvent (load) {
boxx.txx = "hard";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.dif = 3;
_parent._parent.gotoAndStop(21);
}
}
Symbol 1097 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.extra_6);
};
Instance of Symbol 786 MovieClip in Symbol 1097 MovieClip Frame 2
onClipEvent (load) {
boxx.txx = "survival mode";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(26);
}
}
Instance of Symbol 786 MovieClip in Symbol 1103 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "wallpaper 1";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/bonus/siftrenegade2.php", "_blank");
}
}
Instance of Symbol 786 MovieClip in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "wallpaper 2";
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/bonus/siftrenegade2.php", "_blank");
}
}
Symbol 1110 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.soundscheat2 == 2) {
_root.soundscheat2 = 1;
gotoAndPlay (2);
}
};
Symbol 1110 MovieClip Frame 3
stop();
Symbol 1115 MovieClip Frame 1
stopAllSounds();
Symbol 1115 MovieClip Frame 3
stop();
Symbol 1134 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.lvl);
};
Symbol 1135 MovieClip Frame 100
stop();
Symbol 1149 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.lvl);
};
Symbol 1150 MovieClip Frame 30
stop();
Symbol 1154 MovieClip Frame 29
stop();
Instance of Symbol 1168 MovieClip in Symbol 1169 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(8) + 1);
}
Symbol 1245 MovieClip Frame 20
stop();
onEnterFrame = function () {
gotoAndStop(_root.motostade);
};
Symbol 1253 MovieClip Frame 200
stop();
Symbol 1259 MovieClip Frame 1
stopAllSounds();
Symbol 1259 MovieClip Frame 4
stop();
Symbol 1261 MovieClip Frame 2
_root.motostade = _root.motostade + 1;
Symbol 1262 MovieClip Frame 200
_root.got2go = 2;
stop();
Symbol 1263 MovieClip Frame 20
stop();
Symbol 1270 MovieClip Frame 505
_parent.gotoAndStop(38);
Symbol 1273 MovieClip Frame 1
if (_root.intro_muz == 2) {
_root.intro_muz = 1;
stop();
} else {
stopAllSounds();
}
Symbol 1273 MovieClip Frame 591
stop();
Symbol 1275 MovieClip Frame 1
stopAllSounds();
Symbol 1275 MovieClip Frame 3
stop();
Symbol 1277 MovieClip Frame 11
_parent.play();
Symbol 1288 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.fire1_kiro);
};
Symbol 1292 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.fire2_kiro);
};
Symbol 1293 MovieClip Frame 8
if (_root.fire2_interface == 5) {
_root.fire2_interface = 1;
} else {
_root.fire2_interface = _root.fire2_interface + 1;
}
if (_root.fire1_interface == 5) {
_root.fire1_interface = 1;
} else {
_root.fire1_interface = _root.fire1_interface + 1;
}
Symbol 1299 MovieClip Frame 3
stop();
Symbol 1300 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_root.rageMode == true) && (_currentframe == 1)) {
gotoAndPlay (2);
}
if ((_root.rageMode == false) && (_currentframe == 10)) {
gotoAndPlay (11);
}
};
Instance of Symbol 1295 MovieClip in Symbol 1300 MovieClip Frame 2
onClipEvent (load) {
_root.fire1_kiro = 3;
_root.fire2_kiro = 1;
}
Symbol 1300 MovieClip Frame 10
stop();
Symbol 1580 MovieClip Frame 41
stop();
Symbol 1700 MovieClip Frame 1
gotoAndPlay((random(5) + 1) * 2);
Symbol 1700 MovieClip Frame 3
stop();
Symbol 1700 MovieClip Frame 5
stop();
Symbol 1700 MovieClip Frame 7
stop();
Symbol 1700 MovieClip Frame 9
stop();
Symbol 1700 MovieClip Frame 11
stop();
Symbol 1718 MovieClip Frame 19
stop();
Symbol 1734 MovieClip Frame 19
stop();
Symbol 1812 MovieClip Frame 19
stop();
Symbol 2149 MovieClip Frame 15
stop();
Symbol 2150 MovieClip Frame 15
stop();
Symbol 2153 MovieClip Frame 40
stop();
Symbol 2154 MovieClip Frame 41
stop();
Symbol 2155 MovieClip Frame 1
if (_root.gore == 1) {
stop();
} else {
gotoAndStop (2);
}
Symbol 2155 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_root.bloodgo == 2) {
_root.bloodgo = 1;
gotoAndPlay (1);
}
};
Symbol 2159 MovieClip Frame 1
gotoAndPlay((random(3) + 1) * 2);
Symbol 2159 MovieClip Frame 3
stop();
Symbol 2159 MovieClip Frame 5
stop();
Symbol 2159 MovieClip Frame 7
stop();
Symbol 2293 MovieClip Frame 3
stop();
Symbol 2309 MovieClip Frame 1
this.gotoAndPlay("breathing");
Symbol 2309 MovieClip Frame 100
gotoAndPlay ("breathing");
Symbol 2309 MovieClip Frame 164
this.gotoAndPlay("breathing");
_root.kiroState = "breathing";
Symbol 2309 MovieClip Frame 214
this.gotoAndPlay("breathing");
_root.kiroState = "breathing";
Symbol 2309 MovieClip Frame 264
this.gotoAndPlay("walking");
Symbol 2309 MovieClip Frame 287
this.gotoAndPlay("running");
Symbol 2309 MovieClip Frame 387
if (_root.hideSword != true) {
this.gotoAndPlay("breathingSW");
}
Symbol 2309 MovieClip Frame 436
_root.swordOut = false;
_root.hideSword = false;
this.gotoAndPlay("breathing");
Symbol 2309 MovieClip Frame 486
if (_root.hideSword != true) {
this.gotoAndPlay("walkingSW");
}
Symbol 2309 MovieClip Frame 536
_root.swordOut = false;
_root.hideSword = false;
this.gotoAndPlay("walking");
Symbol 2309 MovieClip Frame 582
if (_root.hideSword != true) {
this.gotoAndPlay("runningSW");
}
Symbol 2309 MovieClip Frame 628
_root.swordOut = false;
_root.hideSword = false;
this.gotoAndPlay("running");
Symbol 2309 MovieClip Frame 633
stop();
Symbol 2309 MovieClip Frame 664
stop();
Symbol 2309 MovieClip Frame 696
stop();
Symbol 2309 MovieClip Frame 697
_root.swordCounter = 0;
_root.attackType = 10;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 702
stop();
Symbol 2309 MovieClip Frame 703
_root.boost = true;
_root.swordCounter = 0;
_root.attackType = 1;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 713
if (_root.attack == true) {
_root.attack = false;
} else {
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
}
Symbol 2309 MovieClip Frame 714
_root.boost = true;
_root.swordCounter = 0;
_root.attackType = 2;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 726
if (_root.attack == true) {
_root.attack = false;
} else {
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
}
Symbol 2309 MovieClip Frame 727
_root.boost = true;
_root.swordCounter = 0;
_root.attackType = 3;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 740
if (_root.attack == true) {
_root.attack = false;
this.gotoAndPlay("attack4");
} else {
_root.attack = false;
}
Symbol 2309 MovieClip Frame 754
if (_root.attack == true) {
this.gotoAndPlay("attack1");
_root.attack = false;
} else {
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
}
Symbol 2309 MovieClip Frame 755
_root.boost = true;
_root.swordCounter = 0;
_root.attackType = 4;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 772
if (_root.attack == true) {
_root.attack = false;
} else {
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
}
Symbol 2309 MovieClip Frame 773
_root.boost = true;
_root.swordCounter = 0;
_root.attackType = 5;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 790
if (_root.attack == true) {
_root.attack = false;
} else {
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
}
Symbol 2309 MovieClip Frame 791
_root.boost = true;
_root.swordCounter = 0;
_root.attackType = 6;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 809
_root.attack = false;
Symbol 2309 MovieClip Frame 825
if (_root.attack == true) {
_root.attack = false;
this.gotoAndPlay("attack1");
} else {
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
}
Symbol 2309 MovieClip Frame 826
_root.boost = true;
_root.swordCounter = 0;
_root.attackType = 7;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 854
_root.boost = true;
Symbol 2309 MovieClip Frame 868
_root.attack = false;
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
Symbol 2309 MovieClip Frame 869
_root.swordCounter = 0;
_root.attackType = 8;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 885
_root.attack = false;
if (_root.downKey == true) {
_root.kiroState = "blocking";
this.gotoAndPlay("blocking");
} else {
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
}
Symbol 2309 MovieClip Frame 886
_root.swordCounter = 0;
_root.attackType = 9;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 905
_root.swordCounter = 0;
_root.boost2 = true;
_root.attackType = 9;
_root.mousego_interface = 2;
Symbol 2309 MovieClip Frame 924
_root.attack = false;
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
Symbol 2309 MovieClip Frame 966
_root.swordOut = true;
Symbol 2309 MovieClip Frame 1019
_root.recovering = false;
_root.gotHit = false;
Symbol 2309 MovieClip Frame 1123
stop();
if (_root.downHit == true) {
delete _root.kiro.onEnterFrame;
var pouet = 1;
while (pouet < _root["enemiesInLvl" + _root.currentLevel]) {
delete _root.levelContainer.ground["enemy" + pouet].onEnterFrame;
pouet++;
}
_root.deadFunc();
}
Symbol 2309 MovieClip Frame 1124
_root.shakeIt(0.5);
Symbol 2309 MovieClip Frame 1145
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
_root.recovering = false;
Symbol 2309 MovieClip Frame 1162
_root.recovering = false;
if (_root.downKey == true) {
_root.kiroState = "blocking";
_root.horizontalAccelRatio = 0;
this.gotoAndPlay("blocking");
} else {
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
}
Symbol 2309 MovieClip Frame 1186
stop();
Symbol 2309 MovieClip Frame 1190
_root.throwShuriken();
Symbol 2309 MovieClip Frame 1210
_root.kiroState = "walking";
this.gotoAndPlay("walkingSW");
_root.recovering = false;
_root.shurikenThrownDelay = false;
Symbol 2317 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.mousego_interface == 2) {
_root.mousego_interface = 1;
gotoAndPlay (2);
}
};
Symbol 2320 MovieClip Frame 3
stop();
Symbol 2324 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.fire1_interface);
};
Symbol 2328 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.fire2_interface);
};
Symbol 2329 MovieClip Frame 8
if (_root.fire2_interface == 5) {
_root.fire2_interface = 1;
} else {
_root.fire2_interface = _root.fire2_interface + 1;
}
if (_root.fire1_interface == 5) {
_root.fire1_interface = 1;
} else {
_root.fire1_interface = _root.fire1_interface + 1;
}
Symbol 2332 MovieClip Frame 3
stop();
Symbol 2333 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.rage_interface);
};
Symbol 2338 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.energy <= 0) {
_root.energydisp = "0%";
} else {
_root.energydisp = Math.round(_root.energy) + "%";
}
};
Symbol 2346 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_root.rageState == 100) && (_currentframe == 1)) {
gotoAndPlay (2);
}
if ((_root.rageState != 100) && (_currentframe != 1)) {
gotoAndStop (1);
}
};
Symbol 2346 MovieClip Frame 41
gotoAndPlay (2);
Symbol 2349 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(Math.round(_root.energy) + 1);
};
Symbol 2357 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.numberOfShuriken_b != _root.numberOfShuriken) {
_root.numberOfShuriken_b = _root.numberOfShuriken;
gotoAndPlay (2);
}
};
Symbol 2381 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.infoz);
};
Symbol 2383 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.infoz);
};
Symbol 2384 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.infoz2 == 2) {
_root.infoz2 = 1;
gotoAndPlay (2);
}
};
Symbol 2392 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.rageState == 100) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Instance of Symbol 2391 MovieClip in Symbol 2392 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (1);
boxx.txx = "R";
boxx2.txx = "R";
}
Instance of Symbol 2391 MovieClip in Symbol 2392 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (16);
boxx.txx = "A";
boxx2.txx = "A";
}
Instance of Symbol 2391 MovieClip in Symbol 2392 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (11);
boxx.txx = "G";
boxx2.txx = "G";
}
Instance of Symbol 2391 MovieClip in Symbol 2392 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (6);
boxx.txx = "E";
boxx2.txx = "E";
}
Symbol 2395 MovieClip Frame 1
if (_root.lvl != 11) {
stop();
}
Symbol 2395 MovieClip Frame 2
stop();
Symbol 2398 Button
on (keyPress "e") {
if (_currentframe == 1) {
gotoAndPlay (2);
}
if (_currentframe == 10) {
gotoAndPlay (11);
}
}
Symbol 2420 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.attackPack1 == false) {
gotoAndStop (1);
} else if (_root.attackPack2 == false) {
gotoAndStop (2);
} else if (_root.attackPack3 == false) {
gotoAndStop (3);
} else if (_root.attackPack4 == false) {
gotoAndStop (4);
} else {
gotoAndStop (5);
}
};
Symbol 2422 MovieClip Frame 1
stop();
Symbol 2422 MovieClip Frame 10
stop();
Symbol 2423 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.energyb != _root.energy) {
_root.energyb = _root.energy;
gotoAndPlay (2);
}
};
Symbol 2464 MovieClip Frame 300
stop();
Symbol 2465 MovieClip Frame 1
if (_root.currentLevel != 10) {
stop();
}
Symbol 2465 MovieClip Frame 2880
stop();
_root.endCredits();
Symbol 2470 MovieClip Frame 1
stopAllSounds();
gotoAndPlay(_root.lvl * 2);
Symbol 2470 MovieClip Frame 3
stop();
Symbol 2470 MovieClip Frame 5
stop();
Symbol 2470 MovieClip Frame 7
stop();
Symbol 2470 MovieClip Frame 9
stop();
Symbol 2470 MovieClip Frame 11
stop();
Symbol 2470 MovieClip Frame 13
stop();
Symbol 2470 MovieClip Frame 15
stop();
Symbol 2470 MovieClip Frame 17
stop();
Symbol 2470 MovieClip Frame 19
stop();
Symbol 2470 MovieClip Frame 21
stop();
Symbol 2470 MovieClip Frame 23
stop();
Symbol 2470 MovieClip Frame 25
stop();
Symbol 2483 MovieClip Frame 1
onEnterFrame = function () {
if (_root.stoprouego == 2) {
_root.stoprouego = 1;
stop();
}
};
Symbol 2508 MovieClip Frame 20
stop();
Symbol 2548 MovieClip Frame 20
stop();
Symbol 2552 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.kiromoto == 2) {
_root.kiromoto = 1;
gotoAndStop (1);
}
if (_root.kiromoto == 3) {
_root.kiromoto = 1;
gotoAndPlay (2);
}
if (_root.kiromoto == 4) {
_root.kiromoto = 1;
gotoAndPlay (22);
}
};
Symbol 2552 MovieClip Frame 21
gotoAndStop (1);
Symbol 2552 MovieClip Frame 41
gotoAndStop (1);
Symbol 2556 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.motogo == 2) {
_root.motogo = 1;
gotoAndPlay (2);
}
if (_root.motogo == 3) {
_root.motogo = 1;
gotoAndPlay (15);
}
};
Symbol 2556 MovieClip Frame 14
_root.muzgo = 2;
_root.tutogo = 2;
_root.stoprouego = 2;
stop();
bonome.yeux.stop();
Symbol 2556 MovieClip Frame 23
aa = 80;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 2556 MovieClip Frame 24
_root.got2go = 2;
stop();
Symbol 2567 MovieClip Frame 20
stop();
Symbol 2571 MovieClip Frame 20
stop();
Symbol 2572 Button
on (release) {
_parent.gotoAndPlay(41);
_root.gobouton = 2;
_root.motogo = 3;
}
Symbol 2574 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tutogo == 2) {
_root.tutogo = 1;
gotoAndPlay (2);
}
};
Symbol 2574 MovieClip Frame 40
stop();
Symbol 2574 MovieClip Frame 45
stop();
Symbol 2577 MovieClip Frame 3
stop();
Symbol 2578 MovieClip Frame 1
onEnterFrame = function () {
if (_root.gobouton == 2) {
_root.gobouton = 1;
gotoAndPlay (351);
}
};
Symbol 2578 MovieClip Frame 2
stopAllSounds();
Symbol 2578 MovieClip Frame 187
_root.motogo = 2;
Symbol 2578 MovieClip Frame 350
stop();
Symbol 2578 MovieClip Frame 358
_root.gofondu = 2;
stop();
Symbol 2581 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.muzgo == 2) {
_root.muzgo = 1;
gotoAndPlay (2);
}
};
Symbol 2581 MovieClip Frame 4
stop();
Symbol 2600 MovieClip Frame 1
stop();
Symbol 2601 MovieClip Frame 1
aa = random(16) + 1;
boxx.gotoAndStop(aa);
ab = random(40) + 1;
Symbol 2601 MovieClip Frame 14
gotoAndPlay(ab + 14);
Symbol 2602 MovieClip Frame 13
stop();
Symbol 2604 MovieClip Frame 1
onEnterFrame = function () {
if (_root.streetbreak == 2) {
_root.streetbreak = 1;
gotoAndPlay (17);
}
};
Symbol 2604 MovieClip Frame 16
gotoAndPlay (2);
Symbol 2604 MovieClip Frame 90
stop();
Symbol 2650 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.descenddelamoto == 2) {
_root.descenddelamoto = 1;
gotoAndPlay (2);
}
if (_root.descenddelamoto == 3) {
_root.descenddelamoto = 1;
gotoAndPlay (20);
}
};
Symbol 2650 MovieClip Frame 19
stop();
_root.got2go = 2;
Symbol 2650 MovieClip Frame 30
stop();
Symbol 2652 MovieClip Frame 1
onEnterFrame = function () {
if (_root.vinniebreakyeah == 2) {
_root.vinniebreakyeah = 1;
gotoAndPlay (51);
}
if (_root.vinniebreakyeah == 3) {
_root.vinniebreakyeah = 1;
gotoAndPlay (81);
}
};
Symbol 2652 MovieClip Frame 50
gotoAndPlay (2);
Symbol 2652 MovieClip Frame 80
stop();
Symbol 2652 MovieClip Frame 90
stop();
Symbol 2656 MovieClip Frame 1
gotoAndPlay(random(13) + 2);
Symbol 2656 MovieClip Frame 15
gotoAndPlay (2);
Symbol 2664 MovieClip Frame 1
stop();
Symbol 2671 MovieClip Frame 1
gotoAndPlay((random(5) + 1) * 2);
Symbol 2671 MovieClip Frame 3
stop();
Symbol 2671 MovieClip Frame 5
stop();
Symbol 2671 MovieClip Frame 7
stop();
Symbol 2671 MovieClip Frame 9
stop();
Symbol 2671 MovieClip Frame 11
stop();
Symbol 2672 MovieClip Frame 1
aa = random(8) + 1;
boxx.gotoAndStop(aa);
ab = random(40) + 1;
Symbol 2672 MovieClip Frame 14
gotoAndPlay(ab + 14);
Symbol 2676 MovieClip Frame 3
stop();
Symbol 2686 MovieClip Frame 1
if (lg == 1) {
gotoAndPlay (2);
}
if (lg == 2) {
gotoAndPlay (51);
}
if (lg == 3) {
gotoAndPlay (141);
}
Symbol 2686 MovieClip Frame 50
stop();
Symbol 2686 MovieClip Frame 140
stop();
Symbol 2686 MovieClip Frame 325
stop();
Symbol 2689 MovieClip Frame 6
stop();
Symbol 2691 MovieClip Frame 4
stop();
Symbol 2698 Button
on (keyPress "w") {
if (aa == 1) {
gotoAndPlay (75);
_root.rightpress = 2;
} else {
_root.rightpress = 3;
}
}
on (keyPress "W") {
if (aa == 1) {
gotoAndPlay (75);
_root.rightpress = 2;
} else {
_root.rightpress = 3;
}
}
on (keyPress "a") {
if (aa == 2) {
gotoAndPlay (75);
_root.rightpress = 2;
} else {
_root.rightpress = 3;
}
}
on (keyPress "A") {
if (aa == 2) {
gotoAndPlay (75);
_root.rightpress = 2;
} else {
_root.rightpress = 3;
}
}
on (keyPress "s") {
if (aa == 3) {
gotoAndPlay (75);
_root.rightpress = 2;
} else {
_root.rightpress = 3;
}
}
on (keyPress "S") {
if (aa == 3) {
gotoAndPlay (75);
_root.rightpress = 2;
} else {
_root.rightpress = 3;
}
}
on (keyPress "d") {
if (aa == 4) {
gotoAndPlay (75);
_root.rightpress = 2;
} else {
_root.rightpress = 3;
}
}
on (keyPress "D") {
if (aa == 4) {
gotoAndPlay (75);
_root.rightpress = 2;
} else {
_root.rightpress = 3;
}
}
Symbol 2703 MovieClip Frame 1
_root.rightpress = 0;
_root.gotit = 1;
aa = random(4) + 1;
boxx.gotoAndStop(aa);
boxx2.boxx.gotoAndStop(aa);
boxx3.gotoAndStop(aa);
Symbol 2703 MovieClip Frame 31
if (_root.dif == 1) {
gotoAndPlay(32 + dif2);
}
if (_root.dif == 2) {
gotoAndPlay(32 + dif2);
}
if (_root.dif == 3) {
gotoAndPlay(32 + dif2);
}
Symbol 2703 MovieClip Frame 75
if (_root.rightpress == 2) {
_root.gotit = 2;
_root.rightpress = 1;
gotoAndPlay (97);
}
if (_root.rightpress == 3) {
_root.gotit = 1;
_root.rightpress = 1;
}
if (_root.rightpress == 0) {
_root.gotit = 1;
_root.rightpress = 1;
stop();
}
Symbol 2703 MovieClip Frame 96
stop();
Symbol 2703 MovieClip Frame 120
stop();
Symbol 2705 MovieClip Frame 1
gotoAndPlay((random(2) + 1) * 2);
Symbol 2705 MovieClip Frame 3
gotoAndPlay (6);
Symbol 2705 MovieClip Frame 5
gotoAndPlay (6);
Symbol 2705 MovieClip Frame 7
stop();
Symbol 2709 MovieClip Frame 3
stop();
Symbol 2713 MovieClip Frame 147
_root.vid = 2;
_root.got2go = 2;
stop();
Symbol 2715 MovieClip Frame 2
stop();
Symbol 2716 MovieClip Frame 5
stop();
Symbol 2717 MovieClip Frame 5
stop();
Symbol 2718 MovieClip Frame 5
stop();
Symbol 2720 MovieClip Frame 5
stop();
Symbol 2722 MovieClip Frame 2
stopAllSounds();
Symbol 2722 MovieClip Frame 5
stop();
Symbol 2734 MovieClip Frame 23
gotoAndPlay (336);
Symbol 2735 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.kiromove == 8) {
_root.kiromove = 1;
_root.kirofrom = 1;
trace("step3");
gotoAndPlay (2);
}
if (_root.kiromove == 9) {
_root.kiromove = 1;
_root.kirofrom = 2;
trace("step3");
gotoAndPlay (125);
}
};
Symbol 2735 MovieClip Frame 50
_root.kirofinishmove = 2;
gotoAndStop (1);
Symbol 2735 MovieClip Frame 175
_root.kirofinishmove = 2;
gotoAndStop (1);
Symbol 2737 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.kiromove == 6) {
_root.kiromove = 1;
_root.kirofrom = 1;
trace("step3");
gotoAndPlay (2);
}
if (_root.kiromove == 7) {
_root.kiromove = 1;
_root.kirofrom = 2;
trace("step3");
gotoAndPlay (90);
}
if (_root.kiroposi == 3) {
_root.kiroposi = 1;
gotoAndStop (1);
}
};
Symbol 2737 MovieClip Frame 37
_root.kiroposi = 2;
Symbol 2737 MovieClip Frame 51
_root.kiroposi = 1;
Symbol 2737 MovieClip Frame 89
_root.kirofinishmove = 2;
gotoAndStop (1);
Symbol 2737 MovieClip Frame 126
_root.kiroposi = 2;
Symbol 2737 MovieClip Frame 140
_root.kiroposi = 1;
Symbol 2737 MovieClip Frame 175
_root.kirofinishmove = 2;
gotoAndStop (1);
Symbol 2739 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.kiromove == 4) {
_root.kiromove = 1;
_root.kirofrom = 1;
trace("step3");
gotoAndPlay (2);
}
if (_root.kiromove == 5) {
_root.kiromove = 1;
_root.kirofrom = 2;
trace("step3");
gotoAndPlay (104);
}
};
Symbol 2739 MovieClip Frame 103
_root.kirofinishmove = 2;
gotoAndStop (1);
Symbol 2739 MovieClip Frame 205
_root.kirofinishmove = 2;
gotoAndStop (1);
Symbol 2741 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.kiromove == 2) {
_root.kiromove = 1;
_root.kirofrom = 1;
trace("step3");
gotoAndPlay (2);
}
if (_root.kiromove == 3) {
_root.kiromove = 1;
_root.kirofrom = 2;
trace("step3");
gotoAndPlay (104);
}
};
Symbol 2741 MovieClip Frame 103
_root.kirofinishmove = 2;
gotoAndStop (1);
Symbol 2741 MovieClip Frame 205
_root.kirofinishmove = 2;
gotoAndStop (1);
Symbol 2743 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.kirofinishmove == 2) {
_root.kirofinishmove = 1;
gotoAndPlay (2);
}
if (_root.cestpasloutro == 2) {
_root.cestpasloutro = 1;
trace("step1");
gotoAndPlay (45);
}
};
Symbol 2743 MovieClip Frame 40
ab = random(5) + 1;
_root.kirosideattack = random(2) + 1;
Symbol 2743 MovieClip Frame 41
if (ab == 5) {
_root.kiromove = 100;
stop();
}
Symbol 2743 MovieClip Frame 49
aa = random(4) + 1;
Symbol 2743 MovieClip Frame 50
trace("step2");
if (_root.kirofrom == 2) {
_root.kiromove = aa * 2;
}
if (_root.kirofrom == 1) {
_root.kiromove = (aa * 2) + 1;
}
stop();
Symbol 2749 MovieClip Frame 1
stop();
_root.virefatale3 = 1;
onEnterFrame = function () {
if (_root.virefatale2 == 2) {
_root.virefatale2 = 1;
_root.virefatale3 = _root.virefatale3 + 1;
gotoAndPlay (2);
}
};
Symbol 2750 Button
on (press) {
if ((((_root.ammo != 0) && (_root.wp > 0)) && (_root.wp < 11)) && (_root.canshoot == 2)) {
if ((_root.wp == 7) || (_root.wp == 10)) {
if (_root.zoomin == 1) {
_root.zoomin = 2;
} else {
_root.shot = 2;
gotoAndStop (27);
_root.kirogottasser = 2;
}
} else {
_root.shot = 2;
gotoAndStop (27);
_root.kirogottasser = 2;
}
}
}
Symbol 2753 MovieClip Frame 19
stop();
Symbol 2756 MovieClip Frame 19
_root.energy = _root.energy - (random(30) + 1);
Symbol 2756 MovieClip Frame 27
stop();
Symbol 2757 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_root.kirogottasser == 2) && (_root.kirosideattack == 1)) {
_root.kirogottasser = 1;
gotoAndPlay (25);
}
if ((_root.kirogottasser == 2) && (_root.kirosideattack == 2)) {
_root.kirogottasser = 1;
gotoAndPlay (59);
}
if ((_root.kiromove == 100) && (_root.kirosideattack == 1)) {
_root.kiromove = 1;
gotoAndPlay (2);
}
if ((_root.kiromove == 100) && (_root.kirosideattack == 2)) {
_root.kiromove = 1;
gotoAndPlay (34);
}
};
Symbol 2757 MovieClip Frame 33
_root.kirofinishmove = 2;
gotoAndStop (1);
Symbol 2757 MovieClip Frame 65
_root.kirofinishmove = 2;
gotoAndStop (1);
Symbol 2767 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.goshadeintrokiroyeah2 == 2) {
_root.goshadeintrokiroyeah2 = 3;
gotoAndPlay (2);
}
};
Symbol 2767 MovieClip Frame 80
_root.got2go = 2;
stop();
Symbol 2774 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.goshadeintrokiroyeah2 == 3) {
_root.goshadeintrokiroyeah2 = 1;
gotoAndPlay (2);
}
};
Symbol 2774 MovieClip Frame 80
stop();
Symbol 2778 MovieClip Frame 1
stopAllSounds();
Symbol 2778 MovieClip Frame 3
stop();
Symbol 2780 MovieClip Frame 2
stop();
Mouse.show();
Symbol 2783 MovieClip Frame 30
stop();
Symbol 2784 Button
on (release) {
gotoAndPlay (3328);
}
Symbol 2797 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.vid_move == 2) {
_root.vid_move = 1;
gotoAndPlay (2);
}
};
Symbol 2797 MovieClip Frame 50
stop();
Symbol 2815 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.vid_move == 5) {
_root.vid_move = 1;
gotoAndPlay (2);
}
};
Symbol 2815 MovieClip Frame 80
stop();
Symbol 2830 MovieClip Frame 80
stop();
onEnterFrame = function () {
if (_root.vid_move == 3) {
_root.vid_move = 1;
gotoAndPlay (81);
}
};
Symbol 2830 MovieClip Frame 119
stop();
onEnterFrame = function () {
if (_root.vid_move == 4) {
_root.vid_move = 1;
gotoAndPlay (120);
}
};
Symbol 2830 MovieClip Frame 150
stop();
Symbol 2831 MovieClip Frame 10
_root.vid_move = 5;
Symbol 2831 MovieClip Frame 30
stop();
Symbol 2832 MovieClip Frame 29
stop();
onEnterFrame = function () {
if (_root.vid_move == 6) {
_root.vid_move = 1;
gotoAndPlay (30);
}
};
Symbol 2832 MovieClip Frame 64
stop();
Symbol 2841 MovieClip Frame 1
stop();
Instance of Symbol 2841 MovieClip in Symbol 2842 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(_root.glass);
}
onClipEvent (enterFrame) {
gotoAndPlay(_root.glass);
}
Instance of Symbol 738 MovieClip in Symbol 2851 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(1500));
}
Instance of Symbol 738 MovieClip in Symbol 2851 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(1500));
}
Instance of Symbol 738 MovieClip in Symbol 2851 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(1500));
}
Symbol 2852 MovieClip Frame 60
stop();
_root.descenddelamoto = 2;
Symbol 2856 MovieClip Frame 40
stop();
Symbol 2859 MovieClip Frame 100
stop();
_root.got2go = 2;
Symbol 2868 MovieClip Frame 1
stop();
Symbol 2869 MovieClip Frame 5
boxx.gotoAndStop(boxx2._currentframe);
if (boxx2._currentframe == 4) {
boxx2.gotoAndStop(1);
} else {
boxx2.gotoAndStop(boxx2._currentframe + 1);
}
Instance of Symbol 2869 MovieClip in Symbol 2870 MovieClip Frame 1
onClipEvent (load) {
boxx2.gotoAndStop(1);
boxx.gotoAndStop(2);
}
Symbol 2872 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.animationkiroeyes == 3) {
_root.animationkiroeyes = 1;
gotoAndPlay (2);
}
};
Symbol 2872 MovieClip Frame 100
stop();
Symbol 2880 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.animationkiroeyes == 2) {
_root.animationkiroeyes = 1;
gotoAndPlay (2);
}
if (_root.animationkiroeyes == 55) {
_root.animationkiroeyes = 1;
gotoAndPlay (81);
}
if (_root.animationkiroeyes == 56) {
_root.animationkiroeyes = 1;
gotoAndStop (130);
}
};
Symbol 2880 MovieClip Frame 80
stop();
Symbol 2880 MovieClip Frame 130
_root.got2go = 2;
stop();
Symbol 2885 MovieClip Frame 1
stopAllSounds();
Symbol 2885 MovieClip Frame 812
_parent.play();
Symbol 2885 MovieClip Frame 822
_root.got2go = 2;
Symbol 2885 MovieClip Frame 824
stop();
Symbol 2886 Button
on (release) {
muzz.gotoAndPlay(813);
gotoAndPlay (4161);
}
Symbol 2906 MovieClip Frame 1
onEnterFrame = function () {
if (_root.scenetoitrun == 2) {
_root.scenetoitrun = 1;
gotoAndPlay (24);
}
if (_root.scenetoitrun == 3) {
_root.scenetoitrun = 1;
gotoAndPlay (74);
}
};
Symbol 2906 MovieClip Frame 23
gotoAndPlay (1);
Symbol 2906 MovieClip Frame 73
gotoAndPlay (24);
Symbol 2906 MovieClip Frame 173
gotoAndPlay (74);
Symbol 2908 MovieClip Frame 60
stop();
Symbol 2910 MovieClip Frame 1
stopAllSounds();
Symbol 2910 MovieClip Frame 2
stop();
Symbol 2911 Button
on (release) {
gotoAndPlay (4327);
}
Symbol 2951 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.firstendeploy == 2) {
_root.firstendeploy = 1;
gotoAndPlay (2);
}
};
Symbol 2951 MovieClip Frame 42
stop();
Symbol 2959 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.gokirodeployy == 2) {
_root.gokirodeployy = 1;
gotoAndPlay (2);
}
};
Symbol 2959 MovieClip Frame 44
stop();
Symbol 2962 MovieClip Frame 30
_root.got2go = 2;
stop();
Symbol 2980 MovieClip Frame 3
stop();
Symbol 2981 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.gotslicehome == 2) {
_root.gotslicehome = 1;
gotoAndPlay (2);
}
};
Symbol 2981 MovieClip Frame 65
stop();
Symbol 2987 MovieClip Frame 1
stopAllSounds();
Symbol 2987 MovieClip Frame 3
stop();
Symbol 2988 Button
on (release) {
_root.lvl = 3;
gotoAndPlay (55);
}
Symbol 2990 MovieClip Frame 3
stop();
Symbol 3000 MovieClip Frame 1
onEnterFrame = function () {
if (_root.stopwalkhomejade == 2) {
_root.stopwalkhomejade = 1;
gotoAndPlay (51);
}
if (_root.stopwalkhomejade == 3) {
_root.stopwalkhomejade = 1;
gotoAndPlay (2);
}
};
Symbol 3000 MovieClip Frame 50
gotoAndPlay (1);
Symbol 3000 MovieClip Frame 150
gotoAndPlay (51);
Symbol 3001 MovieClip Frame 110
_root.stopwalkhomejade = 2;
_root.got2go = 2;
Symbol 3001 MovieClip Frame 138
_root.gomapiphone = 2;
Symbol 3001 MovieClip Frame 214
aa = 50;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 3001 MovieClip Frame 215
_root.stopwalkhomejade = 3;
Symbol 3001 MovieClip Frame 299
stop();
_root.got2go = 2;
Symbol 3007 MovieClip Frame 180
stop();
Symbol 3013 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.gomapiphone == 2) {
_root.gomapiphone = 1;
gotoAndPlay (2);
}
};
Instance of Symbol 2686 MovieClip in Symbol 3013 MovieClip Frame 25
onClipEvent (load) {
boxx.txx = "( new transaction coordinates :";
boxx.txx2 = " Hebert Boulevard )";
lg = 3;
boxx.boxx.txx = boxx.txx;
boxx.boxx.txx2 = boxx.txx2;
}
Symbol 3013 MovieClip Frame 145
stop();
Symbol 3026 MovieClip Frame 1
stopAllSounds();
Symbol 3026 MovieClip Frame 275
_root.got2go = 2;
stop();
Symbol 3027 Button
on (release) {
gotoAndPlay (55);
}
Symbol 3045 MovieClip Frame 1
onEnterFrame = function () {
if (_root.gogunroof == 2) {
_root.gogunroof = 1;
gotoAndPlay (50);
}
};
Instance of Symbol 3033 MovieClip in Symbol 3045 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3033 MovieClip in Symbol 3045 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3033 MovieClip in Symbol 3045 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3043 MovieClip in Symbol 3045 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Symbol 3045 MovieClip Frame 73
_root.scenetoitrun = 2;
Symbol 3045 MovieClip Frame 107
_root.scenetoitrun = 3;
Symbol 3045 MovieClip Frame 114
_root.got2go = 2;
Symbol 3045 MovieClip Frame 115
stop();
Symbol 3047 MovieClip Frame 1
stopAllSounds();
Symbol 3047 MovieClip Frame 3
stop();
Symbol 3048 Button
on (release) {
gotoAndPlay (4849);
}
Symbol 3051 MovieClip Frame 1
gotoAndPlay (74);
Symbol 3054 MovieClip Frame 90
stop();
Instance of Symbol 3033 MovieClip in Symbol 3068 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3033 MovieClip in Symbol 3068 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3033 MovieClip in Symbol 3068 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3054 MovieClip in Symbol 3068 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Symbol 3068 MovieClip Frame 90
stop();
_root.got2go = 2;
Symbol 3071 MovieClip Frame 7
stop();
Symbol 3077 MovieClip Frame 6
stop();
Symbol 3078 MovieClip Frame 60
stop();
Symbol 3079 MovieClip Frame 60
stop();
Symbol 3081 MovieClip Frame 80
stop();
_root.got2go = 3;
Symbol 3083 MovieClip Frame 1
stopAllSounds();
Symbol 3083 MovieClip Frame 3
stop();
Symbol 3089 MovieClip Frame 1
onEnterFrame = function () {
if (_root.kiroleaveroof == 2) {
_root.kiroleaveroof = 1;
gotoAndPlay (101);
}
};
Symbol 3089 MovieClip Frame 100
gotoAndPlay (1);
Symbol 3089 MovieClip Frame 149
stop();
_root.got2go = 2;
Symbol 3092 MovieClip Frame 1
stopAllSounds();
Symbol 3092 MovieClip Frame 4
stop();
Symbol 3093 Button
on (release) {
_root.lvl = 7;
gotoAndPlay (39);
}
Symbol 3094 MovieClip Frame 1
onEnterFrame = function () {
mySound = new Sound();
mySound.setVolume(100 - _currentframe);
mySound.start(0, 1000);
};
Symbol 3094 MovieClip Frame 100
stopAllSounds();
Symbol 3094 MovieClip Frame 101
onEnterFrame = function () {
aa = 1;
};
Symbol 3094 MovieClip Frame 102
mySound = new Sound();
mySound.setVolume(100);
mySound.start(0, 1000);
Symbol 3094 MovieClip Frame 103
_root.got2go = 2;
stop();
Symbol 3102 MovieClip Frame 1
onEnterFrame = function () {
if (_root.goarmsroof == 2) {
_root.goarmsroof = 1;
gotoAndPlay (31);
}
};
Symbol 3102 MovieClip Frame 11
_root.shakefeet = 2;
Symbol 3102 MovieClip Frame 26
_root.shakefeet = 2;
Symbol 3102 MovieClip Frame 30
gotoAndPlay (1);
Symbol 3102 MovieClip Frame 60
stop();
Symbol 3103 MovieClip Frame 47
_root.goarmsroof = 2;
Symbol 3103 MovieClip Frame 74
stop();
_root.got2go = 2;
Symbol 3104 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.shakefeet == 2) {
_root.shakefeet = 1;
gotoAndPlay (2);
}
};
Symbol 3122 MovieClip Frame 90
stop();
_root.got2go = 2;
Symbol 3133 MovieClip Frame 3
stop();
Symbol 3134 MovieClip Frame 3
stop();
Symbol 3136 MovieClip Frame 120
stop();
_root.got2go = 2;
Symbol 3182 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.stanupkiroyeahsad == 2) {
_root.stanupkiroyeahsad = 1;
gotoAndPlay (10);
}
};
Symbol 3182 MovieClip Frame 69
stop();
Symbol 3183 MovieClip Frame 3
stop();
Symbol 3188 MovieClip Frame 1
stopAllSounds();
Symbol 3188 MovieClip Frame 3
stop();
Symbol 3189 Button
on (release) {
muzz.gotoAndPlay(585);
gotoAndPlay (5904);
}
Symbol 3195 MovieClip Frame 50
stop();
Symbol 3198 MovieClip Frame 1
stopAllSounds();
Symbol 3198 MovieClip Frame 3
stop();
Symbol 3204 MovieClip Frame 1
stop();
Symbol 3204 MovieClip Frame 70
stop();
Symbol 3205 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tablewichside == 2) {
_root.tablewichside = 1;
gotoAndStop (2);
}
};
Instance of Symbol 3200 MovieClip in Symbol 3205 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3200 MovieClip in Symbol 3205 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3200 MovieClip in Symbol 3205 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3204 MovieClip in Symbol 3205 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doorga1go == 2) {
_root.doorga1go = 1;
gotoAndPlay (2);
}
}
Instance of Symbol 3204 MovieClip in Symbol 3205 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doorga2go == 2) {
_root.doorga2go = 1;
gotoAndPlay (2);
}
}
Instance of Symbol 2843 MovieClip in Symbol 3205 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(120) + 1);
}
Instance of Symbol 3033 MovieClip in Symbol 3205 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3033 MovieClip in Symbol 3205 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 3033 MovieClip in Symbol 3205 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
}
Symbol 3207 MovieClip Frame 286
_root.got2go = 2;
Symbol 3207 MovieClip Frame 590
_root.got2go = 2;
Symbol 3208 MovieClip Frame 2
stop();