Frame 1
function CN_Game_Object() {
this.timedScreenArray = new Array();
this.depth_i = 0;
this.offScreenOffset = 700;
this.curScreen = null;
}
function CN_Timer(screen, parent, endTime) {
this.screen = screen;
this.mc = screen.mc.timer;
this.parent = parent;
this.mc.caller = this;
this.endTime = endTime * 1000;
this.active = false;
}
CN_Game_Object.prototype.Continue = function () {
if (this.curScreen != null) {
this.RemoveScreen(this.curScreen);
}
if (this.timedScreenArray.length == 0) {
gotoAndStop (8);
} else {
this.curScreen = this.timedScreenArray.shift();
this.ShowScreen(this.curScreen);
gotoAndStop (7);
}
};
CN_Game_Object.prototype.ExternalGraphicsAreLoaded = function () {
var allLoaded = true;
var i = 0;
while (i < this.timedScreenArray.length) {
if (!this.timedScreenArray[i].isLoaded) {
allLoaded = false;
break;
}
i++;
}
return(allLoaded);
};
CN_Game_Object.prototype.GetExternalParameters = function () {
if (_root.sw1 != null) {
this.timedScreenArray[0] = new Object();
this.timedScreenArray[0].path = _root.sw1;
this.timedScreenArray[0].duration = _root.sw2;
this.timedScreenArray[0].link = _root.sw4;
}
if (_root.sw5 == 1) {
var array_i = this.timedScreenArray.length;
this.timedScreenArray[array_i] = new Object();
if (_root.sw5 != 1) {
this.timedScreenArray[array_i].path = _root.sw5;
} else {
this.timedScreenArray[array_i].path = "orbitPowered/orbitPowered.swf";
}
if (_root.sw6 != null) {
this.timedScreenArray[array_i].duration = _root.sw6;
} else {
this.timedScreenArray[array_i].duration = "3";
}
if (_root.sw7 != null) {
this.timedScreenArray[array_i].link = _root.sw7;
} else {
this.timedScreenArray[array_i].link = null;
}
}
var array_i = this.timedScreenArray.length;
var next_i = 8;
while (_root["sw" + next_i] != null) {
this.timedScreenArray[array_i] = new Object();
this.timedScreenArray[array_i].path = _root["sw" + next_i];
if (_root.sw6 != null) {
this.timedScreenArray[array_i].duration = _root["sw" + (++next_i)];
} else {
this.timedScreenArray[array_i].duration = "5";
}
if (_root.sw7 != null) {
this.timedScreenArray[array_i].link = _root["sw" + (++next_i)];
} else {
this.timedScreenArray[array_i].link = null;
}
array_i++;
next_i++;
}
};
CN_Game_Object.prototype.LaunchOrbitPopup = function () {
if (_root.sw5 == 1) {
getURL ("javascript:popupOrbitCode( )");
}
};
CN_Game_Object.prototype.LoadExternalGraphic = function (screen, depth) {
_root.attachMovie("externalFileHolder", "holder" + depth, depth);
screen.mc = _root["holder" + depth];
screen.mc.caller = screen;
screen.mc.slot.loadMovie(screen.path);
};
CN_Game_Object.prototype.MainMovieIsLoaded = function () {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
return(true);
}
return(false);
};
CN_Game_Object.prototype.PreloadExternalGraphics = function () {
var i = 0;
while (i < this.timedScreenArray.length) {
this.LoadExternalGraphic(this.timedScreenArray[i], i + 1);
this.timedScreenArray[i].mc._x = this.offScreenOffset;
i++;
}
};
CN_Game_Object.prototype.RemoveScreen = function (screen) {
screen.mc.slot.unloadMovie();
screen.mc.removeMovieClip();
delete screen;
};
CN_Game_Object.prototype.ShowScreen = function (screen) {
screen.mc._x = 0;
screen.mc._y = 0;
screen.timer = new CN_Timer(screen, this, screen.duration);
screen.timer.Start();
};
CN_Game_Object.prototype.toString = function () {
return("CN_Game_Object");
};
CN_Timer.prototype.Start = function () {
this.active = true;
this.startTime = getTimer();
};
CN_Timer.prototype.Tick = function () {
if ((getTimer() - this.startTime) >= this.endTime) {
_root.EndTimerAdapter(this.parent);
this.active = false;
}
};
CN_Timer.prototype.toString = function () {
return("CN_Timer");
};
EndTimerAdapter = function (parent) {
parent.Continue();
};
myGameObject = new CN_Game_Object();
Frame 2
play();
Frame 3
if (_root.getBytesLoaded() >= 900000) {
myGameObject.GetExternalParameters();
myGameObject.PreloadExternalGraphics();
play();
} else {
trace((_root.getBytesLoaded() / 900000) * 100);
here = Math.ceil((_root.getBytesLoaded() / 900000) * 100);
loader.gotoAndStop(here);
prevFrame();
}
Frame 4
play();
Frame 5
if (myGameObject.ExternalGraphicsAreLoaded()) {
play();
} else {
prevFrame();
}
Frame 6
tellTarget (_root) {
input = "";
justice = false;
purity = false;
courage = false;
compassion = false;
valor = false;
honor = false;
};
stop();
Frame 8
Frame 9
if (_root.justice == true) {
justice_mv.gotoAndStop(2);
}
if (_root.purity == true) {
purity_mv.gotoAndStop(2);
}
if (_root.courage == true) {
courage_mv.gotoAndStop(2);
}
if (_root.compassion == true) {
compassion_mv.gotoAndStop(2);
}
if (_root.valor == true) {
valor_mv.gotoAndStop(2);
}
if (_root.honor == true) {
honor_mv.gotoAndStop(2);
}
Selection.setFocus("_root.input");
stop();
Instance of Symbol 354 MovieClip "miniControler" in Frame 9
onClipEvent (load) {
flag = true;
}
onClipEvent (enterFrame) {
if (flag && (Key.isDown(13))) {
trace("ENTER");
flag = false;
if (_root.input == "") {
Selection.setFocus("_root.input");
} else if (_root.input == "justice") {
_root.justice = true;
_root.input = "";
Selection.setFocus("_root.input");
_parent.justice_mv.gotoAndStop(2);
} else if (_root.input == "purity") {
_root.purity = true;
_root.input = "";
Selection.setFocus("_root.input");
_parent.purity_mv.gotoAndStop(2);
} else if (_root.input == "courage") {
_root.courage = true;
_root.input = "";
Selection.setFocus("_root.input");
_parent.courage_mv.gotoAndStop(2);
} else if (_root.input == "compassion") {
_root.compassion = true;
_root.input = "";
Selection.setFocus("_root.input");
_parent.compassion_mv.gotoAndStop(2);
} else if (_root.input == "valor") {
_root.valor = true;
_root.input = "";
Selection.setFocus("_root.input");
_parent.valor_mv.gotoAndStop(2);
} else if (_root.input == "honor") {
_root.honor = true;
_root.input = "";
Selection.setFocus("_root.input");
_parent.honor_mv.gotoAndStop(2);
} else {
validate.enabled = false;
_root.input = "";
_parent.inputMovie.gotoAndStop(2);
_parent.invalid.play();
}
flag = true;
}
}
Frame 10
if (_root.justice == true) {
justice_mv.gotoAndStop(2);
}
if (_root.purity == true) {
purity_mv.gotoAndStop(2);
}
if (_root.courage == true) {
courage_mv.gotoAndStop(2);
}
if (_root.compassion == true) {
compassion_mv.gotoAndStop(2);
}
if (_root.valor == true) {
valor_mv.gotoAndStop(2);
}
if (_root.honor == true) {
honor_mv.gotoAndStop(2);
}
stop();
Frame 11
stop();
Frame 13
lifeBar._visible = true;
start.play();
play();
Instance of Symbol 635 MovieClip "bkg" in Frame 13
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 13
/* no clip actions */
Instance of Symbol 1303 MovieClip "lifeBar" in Frame 13
onClipEvent (load) {
Object.prototype.lifeBar = this;
life = 5;
nbrLife = life;
energy = 30;
chrEnergy = energy;
}
onClipEvent (enterFrame) {
percent = math.ceil((lifeBar.chrEnergy / lifeBar.energy) * 100) + 1;
if (percent > 0) {
this.gotoAndStop(percent);
} else {
gotoAndStop (11);
}
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 13
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 13
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 13
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 13
/* no clip actions */
Instance of Symbol 1307 MovieClip "variables" in Frame 13
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 7;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 14;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 219.8;
baliseDownXpos = 187.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 207.85;
baliseRightYpos = 271.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -809.95;
bkgYpos = -111;
stepOnPlatform = false;
changeXChrExtra = false;
changeYChrExtra = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Instance of Symbol 1307 MovieClip "fonctions" in Frame 13
onClipEvent (load) {
function transitZone(testX, testY) {
borderLimit = false;
newX = testX;
newY = testY;
if (testX > _parent.baliseRight._x) {
newX = _parent.baliseRight._x - variables.antiBlocage;
_parent.character._x = newX;
borderLimit = true;
} else if (testX < _parent.baliseLeft._x) {
newX = _parent.baliseLeft._x + variables.antiBlocage;
_parent.character._x = newX;
borderLimit = true;
}
if (testY > _parent.baliseDown._y) {
newY = _parent.baliseDown._y - variables.antiBlocage;
_parent.character._y = newY;
borderLimit = true;
} else if (testY < _parent.baliseUp._y) {
newY = _parent.baliseUp._y + variables.antiBlocage;
_parent.character._y = newY;
borderLimit = true;
}
var transitZoneVar = {x:newX, y:newY, testBorder:borderLimit};
return(transitZoneVar);
}
function moveElementHorizontal(x, hitZoneChrY) {
resultTest = transitZone(x, hitZoneChrY);
if (!resultTest.testBorder) {
_parent.character._x = resultTest.x;
variables.changeXChr = true;
} else {
variables.newChrX = x;
if (variables.newChrX > _parent.character._x) {
diffChrX = variables.newChrX - _parent.character._x;
_parent.bkg._x = _parent.bkg._x - diffChrX;
} else {
diffChrX = _parent.character._x - variables.newChrX;
_parent.bkg._x = _parent.bkg._x + diffChrX;
}
variables.changeXChr = false;
}
}
function moveElementVertical(hitZoneChrX, y) {
resultTest = transitZone(hitZoneChrX, y);
if (!resultTest.testBorder) {
_parent.character._y = resultTest.y;
variables.changeYChr = true;
} else {
variables.newChrY = y;
if (variables.newChrY > _parent.character._y) {
diffChrY = variables.newChrY - (_parent.character._y + 1);
_parent.bkg._y = _parent.bkg._y - diffChrY;
} else {
diffChrY = _parent.character._y - variables.newChrY;
_parent.bkg._y = _parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
}
function moveElementDiagonal(sensX, sensY) {
_parent.bkg._x = _parent.bkg._x + (variables.speed * sensX);
_parent.bkg._y = _parent.bkg._y + (variables.speed * sensY);
}
function removeElement(bkgObjectName, arrayPlace) {
flagLength = variables.visibleTargetArray.length;
variables.visibleTargetArray.splice(arrayPlace, 1);
if ((arrayPlace + 1) < flagLength) {
i = arrayPlace;
while (i < variables.visibleTargetArray.length) {
targetElement = eval ("_parent.bkg.bkgObject" + variables.visibleTargetArray[i]);
targetElement.arrayPlace--;
i++;
}
}
bkgObjectName.arrayPlace = -1;
bkgObjectName.gotoAndStop("vide");
}
function characterDie() {
_parent.lifebar.play();
keyboard_listener.keyboard_active = false;
lifeBar.nbrLife--;
_parent.character.character.gotoAndStop("die");
}
function actionHitType1(typeAttack, objectNumber) {
objectTargetName = eval ("_parent.bkg.bkgObject" + objectNumber);
objectNumber--;
if (typeAttack == "sabre") {
objectTargetName.energy = objectTargetName.energy - variables.sabrePower;
if (objectTargetName.energy > 0) {
variables.objectArray[objectNumber] = "hit";
objectTargetName.gotoAndStop("hit");
} else {
variables.objectArray[objectNumber] = "die";
objectTargetName.gotoAndStop("die");
removeElement(objectTargetName, objectTargetName.arrayPlace);
variables.existingObjectArray.splice(objectTargetName.existArrayPlace, 1);
}
}
if ((typeAttack == "mechanicalArm") || (typeAttack == "ballChain")) {
objectTargetName.energy = objectTargetName.energy - objectTargetName.energy;
variables.objectArray[objectNumber] = "die";
objectTargetName.gotoAndStop("die");
removeElement(objectTargetName, objectTargetName.arrayPlace);
variables.existingObjectArray.splice(objectTargetName.existArrayPlace, 1);
}
if (typeAttack == "arrow") {
objectTargetName.energy = objectTargetName.energy - variables.arrowPower;
if (objectTargetName.energy > 0) {
variables.objectArray[objectNumber] = "hit";
objectTargetName.gotoAndStop("hit");
} else {
variables.objectArray[objectNumber] = "die";
objectTargetName.gotoAndStop("die");
removeElement(objectTargetName, objectTargetName.arrayPlace);
variables.existingObjectArray.splice(objectTargetName.existArrayPlace, 1);
}
}
}
function characterHitType_deadlyFall() {
variables.hitEnemy = true;
lifeBar.chrEnergy = lifeBar.chrEnergy - lifeBar.chrEnergy;
fonctions.characterDie();
}
function characterHitType1() {
if (((_root.justice == false) || ((_root.justice == true) && (keyboard_listener:weapon1 == 0))) && (lifeBar.chrEnergy > 0)) {
variables.hitEnemy = true;
lifeBar.chrEnergy = lifeBar.chrEnergy - 2;
if (lifeBar.chrEnergy > 0) {
_parent.character.character.gotoAndStop("hurt");
} else {
fonctions.characterDie();
}
}
}
function characterHitType2(objectNumber) {
if (((_root.justice == false) || ((_root.justice == true) && (keyboard_listener:weapon1 == 0))) && (lifeBar.chrEnergy > 0)) {
variables.hitEnemy = true;
lifeBar.chrEnergy = lifeBar.chrEnergy - 3;
if (lifeBar.chrEnergy > 0) {
_parent.character.character.gotoAndStop("hurt");
} else {
fonctions.characterDie();
}
}
}
function characterHitType3() {
variables.jumpHurt = 0;
variables.hitEnemy = true;
lifeBar.chrEnergy = lifeBar.chrEnergy - 2;
variables.yspeed = variables.yspeed - variables.jumpHurt;
variables.xspeed = -variables.xspeed;
variables.jump = false;
variables.jumpRequest = true;
if (lifeBar.chrEnergy > 0) {
_parent.character.character.gotoAndStop("hurt");
} else {
fonctions.characterDie();
}
variables.jumpHurt = 0;
}
function proximiteType1(objectNumber) {
objectTargetName = eval ("_parent.bkg.bkgObject" + objectNumber);
objectCenter = new object();
objectCenter.x = 0;
objectCenter.y = 0;
objectTargetName.hitZone.zombie.hitzone.localToGlobal(objectCenter);
orientation = objectTargetName.hitZone.zombie._xscale / Math.abs(objectTargetName.hitZone.zombie._xscale);
if (((objectCenter.x <= _parent.character._x) && (variables:objectArray[objectNumber - 1] == "attacking")) && (orientation == 1)) {
objectTargetName.hitZone.zombie._xscale = objectTargetName.hitZone.zombie._xscale * -1;
} else if (((objectCenter.x <= _parent.character._x) && (variables:objectArray[objectNumber - 1] == "attacking")) && (orientation == -1)) {
objectTargetName.hitZone.zombie._xscale = objectTargetName.hitZone.zombie._xscale * 1;
} else if (((objectCenter.x >= _parent.character._x) && (variables:objectArray[objectNumber - 1] == "attacking")) && (orientation == -1)) {
objectTargetName.hitZone.zombie._xscale = objectTargetName.hitZone.zombie._xscale * -1;
}
if (variables:objectArray[objectNumber - 1] == "actif") {
variables:objectArray[objectNumber - 1] = "attacking";
objectTargetName.hitZone.zombie.gotoAndPlay("attack");
} else if ((variables:objectArray[objectNumber - 1] == "digOut") && (!variables.attackInProgress)) {
variables:objectArray[objectNumber - 1] = "temp";
objectTargetName.hitZone.zombie.gotoAndPlay("digOut");
}
}
Object.prototype.fonctions = this;
}
Instance of Symbol 354 MovieClip "chrControler" in Frame 13
onClipEvent (load) {
Object.prototype.chrControler = this;
}
onClipEvent (enterFrame) {
if (!variables.pause) {
hitZoneChrX = _parent.character.hitZone._x + _parent.character._x;
hitZoneChrY = _parent.character.hitZone._y + _parent.character._y;
if (variables.chronoActif) {
variables.milliSeconde = Math.ceil(variables.timeMax - (getTimer() - variables.offset));
if (variables.milliSeconde < 0) {
}
}
j = 1;
while (j <= variables.nbrCase) {
caseName = eval ("_parent.bkg.case" + j);
if (_parent.hitZoneDecors.hitTest(caseName)) {
caseName.gotoAndStop("actif");
} else {
caseName.gotoAndStop("vide");
}
j++;
}
j = 0;
while (j < variables.existingObjectArray.length) {
bkgObjectName = eval ("_parent.bkg.bkgObject" + variables.existingObjectArray[j]);
bkgObjectName.existArrayPlace = j;
objectEtat = variables.objectArray[variables.existingObjectArray[j] - 1];
if (_parent.hitZoneActive.hitTest(bkgObjectName)) {
if (!bkgObjectName.animeLock) {
bkgObjectName.gotoAndStop(objectEtat);
}
if (bkgObjectName.arrayPlace < 0) {
bkgObjectName.arrayPlace = variables.visibleTargetArray.length;
variables.visibleTargetArray.push(variables.existingObjectArray[j]);
}
} else if (bkgObjectName._currentframe > 1) {
fonctions.removeElement(bkgObjectName, bkgObjectName.arrayPlace);
}
j++;
}
i = 0;
while (i < variables.visibleTargetArray.length) {
bkgObjectTargetName = eval ("_parent.bkg.bkgObject" + variables.visibleTargetArray[i]);
if (_parent.character.hitTest(bkgObjectTargetName.hitProxy)) {
bkgObjectTargetName.animeLock = true;
bkgObjectTargetName.proximite();
} else {
bkgObjectTargetName.animeLock = false;
}
i++;
}
if (variables.attackInProgress && (!variables.hitSabre)) {
sabreTargetName = _parent.character.character.character.sabre;
i = 0;
while (i < variables.visibleTargetArray.length) {
bkgObjectTargetName = eval ("_parent.bkg.bkgObject" + variables.visibleTargetArray[i]);
if (sabreTargetName.hitTest(bkgObjectTargetName.hitZone.zombie.hitzone)) {
variables.hitSabre = true;
bkgObjectTargetName.actionHit(variables.weaponOfChoice);
}
i++;
}
}
if (((!variables.hitEnemy) && (lifeBar.chrEnergy > 0)) && ((!variables.attackInProgress) || ((((variables.undeadAttack || (variables.mechArmAttack)) || (variables.shurikenAttack)) || (variables.flailAttack)) || (variables.arrowAttack)))) {
i = 0;
while (i < variables.visibleTargetArray.length) {
bkgObjectTargetName = eval ("_parent.bkg.bkgObject" + variables.visibleTargetArray[i]);
if (_parent.character.character.hitzone.hitTest(bkgObjectTargetName.hitZone)) {
bkgObjectTargetName.characterHit();
}
i++;
}
}
if (variables.hitEnemy && (lifeBar.chrEnergy > 0)) {
if (variables.nbrInvincibleTampon > 0) {
variables.nbrInvincibleTampon--;
reste = variables.nbrInvincibleTampon % variables.frateVisibleFlash;
if (reste == 0) {
}
} else {
variables.nbrInvincibleTampon = variables.nbrInvincibleFrame;
variables.hitEnemy = false;
}
}
if (((((((((((((((((_root.justice == true) && (keyboard_listener:weapon1 == 1)) && (variables.undeadAttack == false)) && (variables.mechArmAttack == false)) && (variables.shurikenAttack == false)) && (variables.flailAttack == false)) && (variables.arrowAttack == false)) && (keyboard_listener:up == 0)) && (keyboard_listener:down == 0)) && (keyboard_listener:left == 0)) && (keyboard_listener:right == 0)) && (!variables.attackInProgress)) && (!variables.jumpRequest)) && (variables.yspeed == 0)) && (variables.xspeed == 0)) && (lifeBar.chrEnergy > 0)) && (!variables.hitEnemy)) {
variables.xspeed = 0;
variables.undeadAttack = false;
variables.mechArmAttack = false;
variables.shurikenAttack = false;
variables.flailAttack = false;
variables.arrowAttack = false;
_parent.character.character.gotoAndStop("shield");
}
if (((((((((((_root.purity == true) && (!variables.undeadAttack)) && (keyboard_listener:weapon2 == 1)) && ((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && (_root.justice == false)))) && (!variables.mechArmAttack)) && (!variables.shurikenAttack)) && (!variables.flailAttack)) && (!variables.arrowAttack)) && (variables.yspeed == 0)) && (lifeBar.chrEnergy > 0)) && (!variables.hitEnemy)) {
variables.xspeed = 0;
variables.undeadAttack = true;
variables.mechArmAttack = false;
variables.shurikenAttack = false;
variables.flailAttack = false;
variables.arrowAttack = false;
variables.attackInProgress = true;
variables.fireActive = false;
_parent.character.character.gotoAndStop("undead");
}
if ((((((((((_root.compassion == true) && (keyboard_listener:weapon3 == 1)) && ((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && (_root.justice == false)))) && (!variables.undeadAttack)) && (!variables.shurikenAttack)) && (!variables.flailAttack)) && (!variables.arrowAttack)) && (variables.yspeed == 0)) && (lifeBar.chrEnergy > 0)) && (!variables.hitEnemy)) {
variables.xspeed = 0;
variables.undeadAttack = false;
variables.mechArmAttack = true;
variables.shurikenAttack = false;
variables.flailAttack = false;
variables.arrowAttack = false;
variables.attackInProgress = true;
variables.fireActive = false;
variables.weaponOfChoice = "mechanicalArm";
_parent.character.character.gotoAndStop("mechanicalArm");
}
if (((((((((((_root.courage == true) && (keyboard_listener:weapon4 == 1)) && ((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && (_root.justice == false)))) && (!variables.undeadAttack)) && (!variables.mechArmAttack)) && (!variables.flailAttack)) && (!variables.arrowAttack)) && (variables.yspeed == 0)) && (lifeBar.chrEnergy > 0)) && (!variables.hitEnemy)) && (!variables.attackInProgress)) {
if (variables.currentBall <= variables.nbrBallMax) {
variables.currentBall++;
variables.xspeed = 0;
variables.undeadAttack = false;
variables.mechArmAttack = false;
variables.shurikenAttack = true;
variables.flailAttack = false;
variables.arrowAttack = false;
variables.attackInProgress = true;
variables.fireActive = false;
_parent.character.character.gotoAndStop("shurikens");
} else {
variables.currentBall = 0;
}
}
if ((((((((((_root.valor == true) && (keyboard_listener:weapon5 == 1)) && ((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && (_root.justice == false)))) && (!variables.undeadAttack)) && (!variables.mechArmAttack)) && (!variables.shurikenAttack)) && (!variables.arrowAttack)) && (variables.yspeed == 0)) && (lifeBar.chrEnergy > 0)) && (!variables.hitEnemy)) {
variables.xspeed = 0;
variables.undeadAttack = false;
variables.mechArmAttack = false;
variables.shurikenAttack = false;
variables.flailAttack = true;
variables.arrowAttack = false;
variables.attackInProgress = true;
variables.fireActive = false;
variables.weaponOfChoice = "ballChain";
_parent.character.character.gotoAndStop("ballChain");
}
if ((((((((((_root.honor == true) && (keyboard_listener:weapon6 == 1)) && ((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && (_root.justice == false)))) && (!variables.undeadAttack)) && (!variables.mechArmAttack)) && (!variables.shurikenAttack)) && (!variables.flailAttack)) && (variables.yspeed == 0)) && (lifeBar.chrEnergy > 0)) && (!variables.hitEnemy)) {
variables.xspeed = 0;
variables.undeadAttack = false;
variables.mechArmAttack = false;
variables.shurikenAttack = false;
variables.flailAttack = false;
variables.arrowAttack = true;
variables.attackInProgress = true;
variables.fireActive = false;
_parent.character.character.gotoAndStop("flamingArrows");
}
if (keyboard_listener:space == 0) {
variables.fireActive = true;
} else if (((((((keyboard_listener:space == 1) && ((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && ((_root.justice == false) || (Math.abs(variables.xspeed) > 0))))) && ((keyboard_listener:weapon2 == 0) || ((keyboard_listener:weapon2 == 1) && (!_root.purity)))) && ((keyboard_listener:weapon3 == 0) || ((keyboard_listener:weapon3 == 1) && (!_root.compassion)))) && ((keyboard_listener:weapon4 == 0) || ((keyboard_listener:weapon4 == 1) && (!_root.courage)))) && ((keyboard_listener:weapon5 == 0) || ((keyboard_listener:weapon5 == 1) && (!_root.valor)))) && ((keyboard_listener:weapon6 == 0) || ((keyboard_listener:weapon6 == 1) && (!_root.honor)))) {
if (variables.qteBall <= 0) {
variables.weaponOfChoice = "sabre";
if (variables.fireActive) {
if (!variables.attackInProgress) {
variables.attackInProgress = true;
variables.fireActive = false;
if (variables.jump && (lifeBar.chrEnergy > 0)) {
variables.xspeed = variables.xspeed / 2;
variables.yspeed = variables.yspeed / 2;
_parent.character.character.gotoAndPlay("attack1a");
} else if (lifeBar.chrEnergy > 0) {
_parent.character.character.gotoAndPlay("attack1b");
}
}
}
}
}
if ((((((((((((((keyboard_listener:left == 1) && (keyboard_listener:right == 0)) && (keyboard_listener:down == 0)) && ((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && ((_root.justice == false) || (Math.abs(variables.xspeed) > 0))))) && ((keyboard_listener:weapon2 == 0) || ((keyboard_listener:weapon2 == 1) && (!_root.purity)))) && ((keyboard_listener:weapon3 == 0) || ((keyboard_listener:weapon3 == 1) && (!_root.compassion)))) && ((keyboard_listener:weapon4 == 0) || ((keyboard_listener:weapon4 == 1) && (!_root.courage)))) && ((keyboard_listener:weapon5 == 0) || ((keyboard_listener:weapon5 == 1) && (!_root.valor)))) && ((keyboard_listener:weapon6 == 0) || ((keyboard_listener:weapon6 == 1) && (!_root.honor)))) && (!variables.undeadAttack)) && (!variables.mechArmAttack)) && (!variables.shurikenAttack)) && (!variables.flailAttack)) && (!variables.arrowAttack)) {
if (variables.xspeed > -1) {
variables.xspeed = -1;
}
_parent.character.character._xscale = -100;
if (variables.jump) {
if ((keyboard_listener:down == 0) && (lifeBar.chrEnergy > 0)) {
if ((!variables.attackInProgress) && (!variables.hitEnemy)) {
_parent.character.character.gotoAndStop("run");
}
variables.xspeed = variables.xspeed - variables.speed;
if (variables.xspeed < (-variables.max_speed)) {
variables.xspeed = -variables.max_speed;
}
}
} else {
if (!variables.jumpRequest) {
}
if ((variables.xspeed < 0) && (variables.xspeed > -4)) {
variables.xspeed = -4;
}
if (variables.xspeed > (-(variables.max_speed / 2))) {
variables.xspeed = variables.xspeed - variables.speedInAir;
}
if (variables.xspeed > 0) {
variables.xspeed = 0;
}
}
} else if ((((((((((((((keyboard_listener:right == 1) && (keyboard_listener:left == 0)) && (keyboard_listener:down == 0)) && ((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && ((_root.justice == false) || (Math.abs(variables.xspeed) > 0))))) && ((keyboard_listener:weapon2 == 0) || ((keyboard_listener:weapon2 == 1) && (!_root.purity)))) && ((keyboard_listener:weapon3 == 0) || ((keyboard_listener:weapon3 == 1) && (!_root.compassion)))) && ((keyboard_listener:weapon4 == 0) || ((keyboard_listener:weapon4 == 1) && (!_root.courage)))) && ((keyboard_listener:weapon5 == 0) || ((keyboard_listener:weapon5 == 1) && (!_root.valor)))) && ((keyboard_listener:weapon6 == 0) || ((keyboard_listener:weapon6 == 1) && (!_root.honor)))) && (!variables.undeadAttack)) && (!variables.mechArmAttack)) && (!variables.shurikenAttack)) && (!variables.flailAttack)) && (!variables.arrowAttack)) {
if (variables.xspeed < 0) {
variables.xspeed = 0;
}
_parent.character.character._xscale = 100;
if (variables.jump) {
if ((keyboard_listener:down == 0) && (lifeBar.chrEnergy > 0)) {
if ((!variables.attackInProgress) && (!variables.hitEnemy)) {
_parent.character.character.gotoAndStop("run");
}
variables.xspeed = variables.xspeed + variables.speed;
if (variables.xspeed > variables.max_speed) {
variables.xspeed = variables.max_speed;
}
}
} else {
if (!variables.jumpRequest) {
}
if ((variables.xspeed > 0) && (variables.xspeed < 4)) {
variables.xspeed = 4;
}
if (variables.xspeed < (variables.max_speed / 5)) {
variables.xspeed = variables.xspeed + variables.speedInAir;
}
if (variables.xspeed < 0) {
variables.xspeed = 0;
}
}
}
if ((((((((((((keyboard_listener:up == 1) && ((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && ((_root.justice == false) || (Math.abs(variables.xspeed) > 0))))) && ((keyboard_listener:weapon2 == 0) || ((keyboard_listener:weapon2 == 1) && (!_root.purity)))) && ((keyboard_listener:weapon3 == 0) || ((keyboard_listener:weapon3 == 1) && (!_root.compassion)))) && ((keyboard_listener:weapon4 == 0) || ((keyboard_listener:weapon4 == 1) && (!_root.courage)))) && ((keyboard_listener:weapon5 == 0) || ((keyboard_listener:weapon5 == 1) && (!_root.valor)))) && ((keyboard_listener:weapon6 == 0) || ((keyboard_listener:weapon6 == 1) && (!_root.honor)))) && (!variables.undeadAttack)) && (!variables.mechArmAttack)) && (!variables.shurikenAttack)) && (!variables.flailAttack)) && (!variables.arrowAttack)) {
if ((variables.jump && (lifeBar.chrEnergy > 0)) && (!variables.keyUpStillPressed)) {
variables.currentJumpHeight = 0;
variables.keyUpStillPressed = true;
if (((!variables.attackInProgress) && (!variables.hitEnemy)) && (lifeBar.chrEnergy > 0)) {
_parent.character.character.gotoAndStop("jump");
}
variables.stepOnPlatform = false;
variables.yspeed = variables.yspeed - variables.jumpHeight;
variables.jump = false;
variables.jumpRequest = true;
} else if ((variables.jump && (lifeBar.chrEnergy > 0)) && (variables.keyUpStillPressed)) {
}
} else if ((((((((((((keyboard_listener:down == 1) && ((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && ((_root.justice == false) || (Math.abs(variables.xspeed) > 0))))) && ((keyboard_listener:weapon2 == 0) || ((keyboard_listener:weapon2 == 1) && (!_root.purity)))) && ((keyboard_listener:weapon3 == 0) || ((keyboard_listener:weapon3 == 1) && (!_root.compassion)))) && ((keyboard_listener:weapon4 == 0) || ((keyboard_listener:weapon4 == 1) && (!_root.courage)))) && ((keyboard_listener:weapon5 == 0) || ((keyboard_listener:weapon5 == 1) && (!_root.valor)))) && ((keyboard_listener:weapon6 == 0) || ((keyboard_listener:weapon6 == 1) && (!_root.honor)))) && (!variables.undeadAttack)) && (!variables.mechArmAttack)) && (!variables.shurikenAttack)) && (!variables.flailAttack)) && (!variables.arrowAttack)) {
if (variables.jump) {
if (((!variables.attackInProgress) && (!variables.hitEnemy)) && (lifeBar.chrEnergy > 0)) {
_parent.character.character.gotoAndStop("slide");
}
variables.xspeed = variables.xspeed * variables.inertia;
}
}
if ((((((((((keyboard_listener:weapon1 == 0) || ((keyboard_listener:weapon1 == 1) && ((_root.justice == false) || (Math.abs(variables.xspeed) > 0)))) && ((keyboard_listener:weapon2 == 0) || ((keyboard_listener:weapon2 == 1) && (!_root.purity)))) && ((keyboard_listener:weapon3 == 0) || ((keyboard_listener:weapon3 == 1) && (!_root.compassion)))) && ((keyboard_listener:weapon4 == 0) || ((keyboard_listener:weapon4 == 1) && (!_root.courage)))) && ((keyboard_listener:weapon5 == 0) || ((keyboard_listener:weapon5 == 1) && (!_root.valor)))) && ((keyboard_listener:weapon6 == 0) || ((keyboard_listener:weapon6 == 1) && (!_root.honor)))) && (keyboard_listener:down == 0)) && (keyboard_listener:left == 0)) && (keyboard_listener:right == 0)) {
variables.xspeed = variables.xspeed * variables.inertia;
if (variables.jump) {
if (variables.xspeed < 1) {
variables.xspeed = 0;
frqIdle = random(variables.prbIdle);
if (frqIdle >= (variables.prbIdle - variables.nbrChance)) {
if (((!variables.attackInProgress) && (!variables.hitEnemy)) && (lifeBar.chrEnergy > 0)) {
_parent.character.character.gotoAndStop("idle");
}
}
}
} else if (!variables.jumpRequest) {
}
}
variables.yspeed = variables.yspeed + variables.gravity;
if ((variables.yspeed <= -2.5) && (variables.yspeed >= -3)) {
_parent.character.character.character.gotoAndPlay("mid");
}
oldChrX = _parent.character._x;
oldChrY = _parent.character._y;
oldBkgX = _parent.bkg._x;
oldBkgY = _parent.bkg._y;
oldXspeed = variables.xspeed;
oldYspeed = variables.yspeed;
x = hitZoneChrX + variables.xspeed;
y = hitZoneChrY + variables.yspeed;
if (_parent.bkg.hitZone.hitTest(x, hitZoneChrY, true)) {
variables.hitHorizontal = true;
fonctions.moveElementHorizontal(x, hitZoneChrY);
} else {
if (variables.yspeed < 0) {
}
if (variables.xspeed == 0) {
_parent.character._y = _parent.character._y - 15;
if ((_parent.character.character._xscale / Math.abs(_parent.character.character._xscale)) == 1) {
_parent.character._x = _parent.character._x - 3;
} else if ((_parent.character.character._xscale / Math.abs(_parent.character.character._xscale)) == -1) {
_parent.character._x = _parent.character._x + 3;
}
}
variables.xspeed = 0;
}
if (_parent.bkg.hitZone.hitTest(hitZoneChrX, y, true) && (variables.stepOnPlatform == false)) {
variables.hitVertical = false;
fonctions.moveElementVertical(hitZoneChrX, y);
} else if (variables.yspeed < 0) {
if (variables.xspeed == 0) {
if ((_parent.character.character._xscale / Math.abs(_parent.character.character._xscale)) == 1) {
_parent.character._x = _parent.character._x - 3;
} else if ((_parent.character.character._xscale / Math.abs(_parent.character.character._xscale)) == -1) {
_parent.character._x = _parent.character._x + 3;
}
}
fonctions.moveElementVertical(hitZoneChrX, y);
} else {
variables.jump = true;
if (variables.jumpRequest) {
variables.jumpRequest = false;
}
variables.yspeed = 0;
}
hitZoneChrX = _parent.character.hitZone._x + _parent.character._x;
hitZoneChrY = _parent.character.hitZone._y + _parent.character._y;
if (variables.lifoTarget.length != 0) {
i = 0;
while (i <= variables.lifoTarget.length) {
targetName = eval ("_parent.bkg." + variables.lifoTarget[i][0]);
j = 0;
while (j < variables.visibleTargetArray.length) {
bkgObjectTargetName = eval ("_parent.bkg.bkgObject" + variables.visibleTargetArray[j]);
if (targetName.hitTest(bkgObjectTargetName.hitZone.zombie.hitzone)) {
variables.hitSabre = true;
bkgObjectTargetName.actionHit("arrow");
targetName.gotoAndPlay("fin");
variables.lifoTarget.splice(i, 1);
}
j++;
}
if (_parent.bkg.hitZone.hitTest(targetName._x + _parent.bkg._x, targetName._y + _parent.bkg._y, true)) {
if (variables.lifoTarget[i][1] > 0) {
targetName._x = targetName._x + targetName.speed;
} else {
targetName._x = targetName._x - targetName.speed;
}
} else {
targetName.gotoAndPlay("fin");
variables.lifoTarget.splice(i, 1);
}
i++;
}
}
}
}
Instance of Symbol 1311 MovieClip "keyboard_listener" in Frame 13
onClipEvent (load) {
Object.prototype.keyboard_listener = this;
myListener = new Object();
var left = 0;
var up = 0;
var right = 0;
var down = 0;
var space = 0;
var weapon1 = 0;
var weapon2 = 0;
var weapon3 = 0;
var weapon4 = 0;
var weapon5 = 0;
var weapon6 = 0;
var keyboard_active = true;
myListener.onKeyDown = function () {
if (keyboard_active == true) {
if (Key.getCode() == 32) {
space = 1;
}
if (Key.getCode() == 37) {
left = 1;
}
if (Key.getCode() == 38) {
up = 1;
}
if (Key.getCode() == 39) {
right = 1;
}
if (Key.getCode() == 40) {
down = 1;
}
if (Key.getCode() == 49) {
weapon1 = 1;
}
if (Key.getCode() == 50) {
weapon2 = 1;
}
if (Key.getCode() == 51) {
weapon3 = 1;
}
if (Key.getCode() == 52) {
weapon4 = 1;
}
if (Key.getCode() == 53) {
weapon5 = 1;
}
if (Key.getCode() == 54) {
weapon6 = 1;
}
} else {
space = 0;
left = 0;
up = 0;
right = 0;
down = 0;
weapon1 = 0;
weapon2 = 0;
weapon3 = 0;
weapon4 = 0;
weapon5 = 0;
weapon6 = 0;
}
};
myListener.onKeyUp = function () {
if (Key.getCode() == 32) {
space = 0;
}
if (Key.getCode() == 37) {
left = 0;
}
if (Key.getCode() == 38) {
up = 0;
variables.keyUpStillPressed = false;
}
if (Key.getCode() == 39) {
right = 0;
}
if (Key.getCode() == 40) {
down = 0;
}
if (Key.getCode() == 49) {
weapon1 = 0;
}
if (Key.getCode() == 50) {
weapon2 = 0;
}
if (Key.getCode() == 51) {
weapon3 = 0;
}
if (Key.getCode() == 52) {
weapon4 = 0;
}
if (Key.getCode() == 53) {
weapon5 = 0;
}
if (Key.getCode() == 54) {
weapon6 = 0;
}
};
Key.addListener(myListener);
}
Instance of Symbol 1313 MovieClip in Frame 13
onClipEvent (load) {
this.holder.loadMovie((_root.trackerPath + "?id=") + new Date().valueOf());
}
Frame 14
stop();
Frame 15
lifeBar._visible = false;
stop();
Frame 16
lifeBar._visible = true;
play();
Instance of Symbol 1410 MovieClip "bkg" in Frame 16
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 16
onClipEvent (load) {
this.character.character._xscale = this.character.character._xscale * -1;
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 16
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 16
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 16
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 16
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 16
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 3;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 12;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 219.8;
baliseDownXpos = 187.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 207.85;
baliseRightYpos = 271.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -1440.25;
bkgYpos = -293;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 17
stop();
Frame 18
lifeBar._visible = false;
stop();
Frame 19
lifeBar._visible = true;
play();
Instance of Symbol 1463 MovieClip "bkg" in Frame 19
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 19
onClipEvent (load) {
this.character.character._xscale = this.character.character._xscale * -1;
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 19
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 19
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 19
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 19
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 19
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 3;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 12;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 219.8;
baliseDownXpos = 187.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 207.85;
baliseRightYpos = 271.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -1626.25;
bkgYpos = -249;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 20
stop();
Frame 21
lifeBar._visible = false;
stop();
Frame 22
lifeBar._visible = true;
play();
Instance of Symbol 1516 MovieClip "bkg" in Frame 22
onClipEvent (load) {
trace((("bkg " + this._x) + " ") + this._y);
}
Instance of Symbol 1209 MovieClip "character" in Frame 22
onClipEvent (load) {
trace((("character " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 22
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 22
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 22
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 22
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 22
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 3;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 12;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 244.8;
baliseDownXpos = 187.85;
baliseDownYpos = 316.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 244.8;
baliseRightXpos = 207.85;
baliseRightYpos = 296.7;
characterXpos = 153;
characterYpos = 297.4;
bkgXpos = -1214.45;
bkgYpos = -268;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 23
stop();
Frame 24
lifeBar._visible = false;
stop();
Frame 25
lifeBar._visible = true;
play();
Instance of Symbol 1528 MovieClip "bkg" in Frame 25
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 25
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 25
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 25
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 25
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 25
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 25
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 3;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 12;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 219.8;
baliseDownXpos = 187.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 207.85;
baliseRightYpos = 271.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -1342.25;
bkgYpos = -280;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 26
stop();
Frame 27
lifeBar._visible = false;
stop();
Frame 28
lifeBar._visible = true;
play();
Instance of Symbol 1740 MovieClip "bkg" in Frame 28
/* no clip actions */
Instance of Symbol 1303 MovieClip "akulifeBar" in Frame 28
onClipEvent (load) {
Object.prototype.akulifeBar = this;
head.gotoAndStop(3);
lives._visible = false;
icone._visible = false;
}
onClipEvent (enterFrame) {
percent = math.floor((_parent.bkg.bkgObject1.energy / 70) * 100) + 1;
this.gotoAndStop(percent);
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 28
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 28
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 28
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 28
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 28
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 1;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 6.7;
baliseUpYpos = 219.8;
baliseDownXpos = 417.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 6.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 437.85;
baliseRightYpos = 271.7;
characterXpos = 63;
characterYpos = 272.4;
bkgXpos = -1495.95;
bkgYpos = -249;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Instance of Symbol 1742 MovieClip "colorChanger" in Frame 28
onClipEvent (load) {
Object.prototype.colorChanger = this;
}
Frame 29
stop();
Frame 30
lifeBar._visible = false;
stop();
Frame 31
lifeBar.chrEnergy = lifeBar.energy;
lifeBar._visible = true;
start.play();
play();
Instance of Symbol 2216 MovieClip "bkg" in Frame 31
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 31
onClipEvent (load) {
trace((("character " + this._x) + " ") + this._y);
this.character.character._xscale = this.character.character._xscale * -1;
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 31
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 31
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 31
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 31
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 31
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 5;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 159.8;
baliseDownXpos = 187.85;
baliseDownYpos = 231.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 159.8;
baliseRightXpos = 207.85;
baliseRightYpos = 211.7;
characterXpos = 153;
characterYpos = 212.4;
bkgXpos = -1399.95;
bkgYpos = -309;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 32
stop();
Frame 33
lifeBar._visible = false;
stop();
Frame 34
lifeBar._visible = true;
play();
Instance of Symbol 2270 MovieClip "bkg" in Frame 34
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 34
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 34
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 34
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 34
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 34
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 34
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 2;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 9;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 149.8;
baliseDownXpos = 187.85;
baliseDownYpos = 221.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 149.8;
baliseRightXpos = 207.85;
baliseRightYpos = 201.7;
characterXpos = 153;
characterYpos = 202.4;
bkgXpos = -1419.95;
bkgYpos = -312;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 35
stop();
Frame 36
lifeBar._visible = false;
stop();
Frame 37
lifeBar._visible = true;
play();
Instance of Symbol 2372 MovieClip "bkg" in Frame 37
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 37
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 37
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 37
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 37
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 37
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 37
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 7;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 219.8;
baliseDownXpos = 187.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 207.85;
baliseRightYpos = 271.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -1396.25;
bkgYpos = -249;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 38
stop();
Frame 39
lifeBar._visible = false;
stop();
Frame 40
lifeBar._visible = true;
play();
Instance of Symbol 2462 MovieClip "bkg" in Frame 40
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 40
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 40
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 40
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 40
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 40
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 40
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 1;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 219.8;
baliseDownXpos = 187.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 207.85;
baliseRightYpos = 271.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -146.95;
bkgYpos = -168.6;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 41
stop();
Frame 42
lifeBar._visible = false;
stop();
Frame 43
lifeBar._visible = true;
play();
Instance of Symbol 2543 MovieClip "bkg" in Frame 43
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 43
onClipEvent (load) {
this.character.character._xscale = this.character.character._xscale * -1;
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 43
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 43
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 43
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 43
/* no clip actions */
Instance of Symbol 1307 MovieClip "variables" in Frame 43
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 3;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 219.8;
baliseDownXpos = 187.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 207.85;
baliseRightYpos = 271.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -1281.25;
bkgYpos = -212.6;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 44
stop();
Frame 45
lifeBar._visible = false;
stop();
Frame 46
lifeBar.chrEnergy = lifeBar.energy;
lifeBar._visible = true;
start.play();
play();
Instance of Symbol 2696 MovieClip "bkg" in Frame 46
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 46
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 46
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 46
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 46
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 46
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 46
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 8;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 219.8;
baliseDownXpos = 187.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 207.85;
baliseRightYpos = 271.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -1304.95;
bkgYpos = -212.6;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 47
stop();
Frame 48
lifeBar._visible = false;
stop();
Frame 49
lifeBar._visible = true;
play();
Instance of Symbol 2732 MovieClip "bkg" in Frame 49
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 49
onClipEvent (load) {
this.character.character._xscale = this.character.character._xscale * -1;
trace((("character " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 49
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 49
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 49
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 49
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 49
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 7;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 194.8;
baliseDownXpos = 187.85;
baliseDownYpos = 266.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 194.8;
baliseRightXpos = 207.85;
baliseRightYpos = 246.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -1304.95;
bkgYpos = -212.6;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 50
stop();
Frame 51
lifeBar._visible = false;
stop();
Frame 52
lifeBar._visible = true;
play();
Instance of Symbol 2754 MovieClip "bkg" in Frame 52
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 52
onClipEvent (load) {
this.character.character._xscale = this.character.character._xscale * -1;
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 52
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 52
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 52
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 52
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 52
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 4;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 219.8;
baliseDownXpos = 187.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 207.85;
baliseRightYpos = 271.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -1304.95;
bkgYpos = -212.6;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 53
stop();
Frame 54
lifeBar._visible = false;
stop();
Frame 55
lifeBar._visible = true;
play();
Instance of Symbol 2775 MovieClip "bkg" in Frame 55
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 55
onClipEvent (load) {
this.character.character._xscale = this.character.character._xscale * -1;
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 55
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 55
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 55
/* no clip actions */
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 55
/* no clip actions */
Instance of Symbol 1307 MovieClip "variables" in Frame 55
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 5;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 84.8;
baliseDownXpos = 187.85;
baliseDownYpos = 156.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 84.8;
baliseRightXpos = 207.85;
baliseRightYpos = 136.7;
characterXpos = 153;
characterYpos = 172.4;
bkgXpos = -942.95;
bkgYpos = -244.6;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 56
stop();
Frame 57
lifeBar._visible = false;
stop();
Frame 58
lifeBar._visible = true;
play();
Instance of Symbol 2788 MovieClip "bkg" in Frame 58
/* no clip actions */
Instance of Symbol 1209 MovieClip "character" in Frame 58
onClipEvent (load) {
this.character.character._xscale = this.character.character._xscale * -1;
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 58
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 58
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 58
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 58
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 58
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 5;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 219.8;
baliseDownXpos = 187.85;
baliseDownYpos = 291.7;
baliseLeftXpos = 176.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 207.85;
baliseRightYpos = 271.7;
characterXpos = 153;
characterYpos = 272.4;
bkgXpos = -1304.95;
bkgYpos = -212.6;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 59
stop();
Frame 60
lifeBar._visible = false;
stop();
Frame 61
lifeBar.chrEnergy = lifeBar.energy;
lifeBar._visible = true;
play();
Instance of Symbol 3074 MovieClip "bkg" in Frame 61
onClipEvent (load) {
trace((("bkg " + this._x) + " ") + this._y);
}
Instance of Symbol 1209 MovieClip "character" in Frame 61
onClipEvent (load) {
trace((("samurai " + this._x) + " ") + this._y);
}
Instance of Symbol 1303 MovieClip "akulifeBar" in Frame 61
onClipEvent (load) {
Object.prototype.akulifeBar = this;
head.gotoAndStop(2);
lives._visible = false;
icone._visible = false;
}
onClipEvent (enterFrame) {
percent = math.ceil((_parent.bkg.aku.hitpoint / 60) * 100) + 1;
this.gotoAndStop(percent);
}
Instance of Symbol 1305 MovieClip "baliseUp" in Frame 61
onClipEvent (load) {
trace((("up " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseDown" in Frame 61
onClipEvent (load) {
trace((("down " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseLeft" in Frame 61
onClipEvent (load) {
trace((("left " + this._x) + " ") + this._y);
}
Instance of Symbol 1305 MovieClip "baliseRight" in Frame 61
onClipEvent (load) {
trace((("right " + this._x) + " ") + this._y);
}
Instance of Symbol 1307 MovieClip "variables" in Frame 61
onClipEvent (load) {
Object.prototype.variables = this;
_focusrect = false;
pause = false;
SWFHeight = 330;
SWFWidth = 432;
weaponOfChoice = "sabre";
nbrBkgObject = 0;
existingObjectArray = new Array(nbrBkgObject);
i = 0;
while (i < existingObjectArray.length) {
existingObjectArray[i] = i + 1;
i++;
}
objectArray = new Array(nbrBkgObject);
i = 0;
while (i < objectArray.length) {
objectArray[i] = "actif";
bkgObjectName = eval ("_parent.bkg.bkgObject" + (i + 1));
bkgObjectName.arrayPlace = -1;
i++;
}
visibleTargetArray = new Array();
nbrCase = 6;
chronoActif = false;
timeMax = 40000;
offset = getTimer();
gravity = 1.3;
inertia = 0.45;
inertiaSlide = 0.92;
max_speed = 10;
speed = 1;
speedPente = 1;
speedInAir = 0.1;
xspeed = 0;
yspeed = 0;
keyUpStillPressed = false;
jump = true;
jumpHeight = 17;
jumpRequest = false;
frameToFallAnime = 15;
changeXChr = true;
changeYChr = true;
baliseUpXpos = 176.7;
baliseUpYpos = 52.8;
baliseDownXpos = 187.85;
baliseDownYpos = 341.7;
baliseLeftXpos = 16.7;
baliseLeftYpos = 219.8;
baliseRightXpos = 407.85;
baliseRightYpos = 271.7;
characterXpos = 111;
characterYpos = 232.4;
bkgXpos = -1314.95;
bkgYpos = -252.6;
changeXChrExtra = false;
changeYChrExtra = false;
stepOnPlatform = false;
hitVertical = false;
hitHorizontal = false;
characterCenter = new object();
characterCenter.x = 0;
characterCenter.y = 0;
_parent.character.hitZone.localToGlobal(characterCenter);
newChrX = characterCenter.x;
newChrY = characterCenter.y;
nbrHitZonePenteLeft = 1;
nbrHitZonePenteRight = 1;
collisionLeftPente = false;
collisionRightPente = false;
hitPlateforme = false;
hitUpPlateforme = false;
hitDownPlateforme = false;
attackInProgress = false;
hitSabre = false;
hitEnemy = false;
speedXObjectType1 = 1;
nbrInvincibleFrame = 15;
nbrInvincibleTampon = nbrInvincibleFrame;
frateVisibleFlash = 2;
jumpHurt = 0;
antiBlocage = 1;
sabrePower = 5;
arrowPower = 5;
undeadAttack = false;
mechArmAttack = false;
shurikenAttack = false;
flailAttack = false;
arrowAttack = false;
speedBall = 25;
nbrBallMax = 4;
currentBall = 0;
typeBall = "arrow";
qteBall = 0;
fireActive = true;
hauteurGun = 10;
lifoTarget = new Array();
}
Frame 62
stop();
Frame 63
myGameObject.LaunchOrbitPopup();
stop();
Symbol 3 MovieClip [externalFileHolder] Frame 1
stop();
Instance of Symbol 1 MovieClip "slot" in Symbol 3 MovieClip [externalFileHolder] Frame 1
onClipEvent (data) {
_parent.caller.isLoaded = true;
}
onClipEvent (mouseUp) {
if ((_parent.caller.link != null) && (this.hitTest(_xmouse, _ymouse, false))) {
getURL (_parent.caller.link, "_blank");
}
}
Instance of Symbol 2 MovieClip "timer" in Symbol 3 MovieClip [externalFileHolder] Frame 1
onClipEvent (enterFrame) {
if (caller.active) {
caller.Tick();
}
}
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 100
stop();
Symbol 113 Button
on (release) {
_root.myGameObject.Continue();
}
Symbol 208 Button
on (release) {
gotoAndStop (10);
}
Symbol 225 Button
on (release) {
play();
}
Symbol 248 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 2
stop();
Symbol 296 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 48
_parent.inputMovie.gotoAndStop(1);
Selection.setFocus("_root.input");
_parent.validate.enabled = true;
Symbol 346 Button
on (release) {
play();
}
Symbol 352 Button
on (release) {
if (_root.input == "") {
Selection.setFocus("_root.input");
} else if (_root.input == "justice") {
_root.justice = true;
_root.input = "";
Selection.setFocus("_root.input");
justice_mv.gotoAndStop(2);
} else if (_root.input == "purity") {
_root.purity = true;
_root.input = "";
Selection.setFocus("_root.input");
purity_mv.gotoAndStop(2);
} else if (_root.input == "courage") {
_root.courage = true;
_root.input = "";
Selection.setFocus("_root.input");
courage_mv.gotoAndStop(2);
} else if (_root.input == "compassion") {
_root.compassion = true;
_root.input = "";
Selection.setFocus("_root.input");
compassion_mv.gotoAndStop(2);
} else if (_root.input == "valor") {
_root.valor = true;
_root.input = "";
Selection.setFocus("_root.input");
valor_mv.gotoAndStop(2);
} else if (_root.input == "honor") {
_root.honor = true;
_root.input = "";
Selection.setFocus("_root.input");
honor_mv.gotoAndStop(2);
} else {
validate.enabled = false;
_root.input = "";
inputMovie.gotoAndStop(2);
invalid.play();
}
}
Symbol 386 Button
on (release) {
gotoAndPlay (13);
}
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 2
play();
Symbol 428 Button
on (release) {
gotoAndStop (8);
}
Symbol 437 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 1
this._visible = false;
Symbol 449 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 1
stop();
Symbol 455 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 1
stop();
Symbol 461 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 1
this._visible = false;
Symbol 469 MovieClip Frame 1
speed = 0;
stop();
Symbol 469 MovieClip Frame 6
gotoAndStop (1);
Symbol 471 MovieClip Frame 1
this._visible = false;
Symbol 472 MovieClip Frame 1
stop();
Instance of Symbol 471 MovieClip "platform1" in Symbol 472 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 471 MovieClip "platform2" in Symbol 472 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 471 MovieClip "platform3" in Symbol 472 MovieClip Frame 1
/* no clip actions */
Symbol 505 MovieClip Frame 1
platform._x = -297.35;
platform._y = 274.85;
stop();
Symbol 505 MovieClip Frame 69
platform._x = fill_x;
platform._y = fill_y;
Symbol 507 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 1
speed = 0;
stop();
Symbol 516 MovieClip Frame 6
gotoAndStop (1);
Symbol 519 MovieClip Frame 1
speed = 0;
stop();
Symbol 519 MovieClip Frame 6
gotoAndStop (1);
Symbol 522 MovieClip Frame 1
this._visible = false;
Symbol 587 MovieClip Frame 21
stop();
Symbol 596 MovieClip Frame 28
if (_parent._parent:action == "walk") {
_parent.move = true;
} else {
_parent.move = false;
}
gotoAndPlay (1);
Symbol 596 MovieClip Frame 46
gotoAndPlay (29);
Symbol 596 MovieClip Frame 47
if (_parent._parent.action == "walk") {
_parent.move = false;
}
Symbol 596 MovieClip Frame 70
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
if (_parent._parent.action == "walk") {
_parent.move = true;
gotoAndPlay (1);
} else {
gotoAndPlay (29);
}
Symbol 596 MovieClip Frame 71
_parent.move = false;
Symbol 596 MovieClip Frame 79
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
if (_parent._parent.action == "walk") {
_parent.move = true;
gotoAndPlay (1);
} else {
gotoAndPlay (29);
}
Symbol 596 MovieClip Frame 80
_parent.move = false;
Symbol 596 MovieClip Frame 88
stop();
Symbol 596 MovieClip Frame 115
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
_parent._parent._xscale = Math.abs(_parent._parent._xscale);
if (_parent._parent.action == "walk") {
_parent.move = true;
gotoAndPlay (1);
} else {
gotoAndPlay (29);
}
Symbol 598 MovieClip Frame 1
stop();
Instance of Symbol 597 MovieClip "hitZone" in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
move = false;
direction = -2;
movedSoFar = 0;
movementMagnitude = _parent.amplitude;
}
onClipEvent (enterFrame) {
if (move) {
if ((direction == 2) && (movedSoFar > movementMagnitude)) {
direction = -2;
this._x = this._x + direction;
_parent.hitProxy._x = _parent.hitProxy._x + direction;
movedSoFar = 0;
zombie._xscale = Math.abs(zombie._xscale);
} else if ((direction == 2) && (movedSoFar <= movementMagnitude)) {
this._x = this._x + direction;
_parent.hitProxy._x = _parent.hitProxy._x + direction;
movedSoFar++;
zombie._xscale = Math.abs(zombie._xscale) * -1;
} else if ((direction == -2) && (movedSoFar > movementMagnitude)) {
direction = 2;
this._x = this._x + direction;
_parent.hitProxy._x = _parent.hitProxy._x + direction;
movedSoFar = 0;
zombie._xscale = Math.abs(zombie._xscale) * -1;
} else if ((direction == -2) && (movedSoFar <= movementMagnitude)) {
this._x = this._x + direction;
_parent.hitProxy._x = _parent.hitProxy._x + direction;
movedSoFar++;
zombie._xscale = Math.abs(zombie._xscale);
}
}
}
Symbol 598 MovieClip Frame 3
hitzone.zombie.gotoAndPlay("hurt");
Symbol 598 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 598 MovieClip Frame 6
variables:objectArray[objectNumber - 1] = "digOut";
hitzone.zombie.gotoAndStop("digOut");
Symbol 634 MovieClip Frame 1
stop();
Symbol 635 MovieClip Frame 1
hitZone._visible = false;
Instance of Symbol 505 MovieClip in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
fill_x = 1381.55;
fill_y = 300.85;
platform = _parent.hitzone.platform1;
}
onClipEvent (enterFrame) {
point = new object();
point.x = 0;
point.y = 0;
this.localToGlobal(point);
if (this.hitTest(_parent._parent.character.hitzone) && (point.y > _parent._parent.character._y)) {
this.play();
}
}
Instance of Symbol 505 MovieClip in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
fill_x = 1725.955;
fill_y = 288.8;
platform = _parent.hitzone.platform2;
point = new object();
point.y = this._y;
localToGlobal(point);
point2 = new object();
point2._y = _parent._parent.character._y;
localToGlobal(point2);
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.character.hitzone) && (point.y > (_parent._parent.character._y - _parent._y))) {
this.play();
}
}
Instance of Symbol 505 MovieClip in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
fill_x = 1721.45;
fill_y = 139.75;
platform = _parent.hitzone.platform3;
}
onClipEvent (enterFrame) {
point = new object();
point.x = 0;
point.y = 0;
this.localToGlobal(point);
if (this.hitTest(_parent._parent.character.hitzone) && (point.y > _parent._parent.character._y)) {
this.play();
}
}
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (unlock) {
_root.gotoAndStop("cutscene1-1");
}
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
unlock = false;
}
Instance of Symbol 598 MovieClip "bkgObject6" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 6;
amplitude = 50;
action = "walk";
this.hitzone.stop();
this.gotoAndStop("digOut");
}
Instance of Symbol 522 MovieClip "bkgObject5" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
_parent.splash._x = _parent._parent.character._x - _parent._parent.bkg._x;
_parent.splash._y = (_parent._parent.character._y - _parent._parent.bkg._y) + 10;
_parent._parent.character._visible = false;
_parent.splash.play();
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 5;
}
Instance of Symbol 598 MovieClip "bkgObject4" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 4;
amplitude = 50;
action = "walk";
}
Instance of Symbol 598 MovieClip "bkgObject2" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
_parent.bkgObject1.unlock = true;
fonctions.actionHitType1(typeAttack, objectNumber);
} else {
fonctions.actionHitType1(typeAttack, objectNumber);
}
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 2;
action = "idle";
hitZone.zombie.gotoAndPlay("idle");
hitzone.stop();
}
Instance of Symbol 598 MovieClip "bkgObject7" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 7;
amplitude = 50;
movedSoFar = 0;
action = "walk";
this.hitzone.stop();
this.gotoAndStop("digOut");
}
Instance of Symbol 598 MovieClip "bkgObject3" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 3;
amplitude = 50;
action = "walk";
this.hitzone.stop();
this.gotoAndStop("digOut");
}
Symbol 683 MovieClip Frame 1
_parent._parent._visible = true;
Symbol 683 MovieClip Frame 22
stop();
Symbol 715 MovieClip Frame 1
_parent._parent._visible = true;
Symbol 762 MovieClip Frame 1
_parent._parent._visible = true;
Symbol 762 MovieClip Frame 4
stop();
Symbol 762 MovieClip Frame 26
stop();
Symbol 775 MovieClip Frame 1
_parent._parent._visible = true;
Symbol 775 MovieClip Frame 2
stop();
Symbol 818 MovieClip Frame 8
variables.attackInProgress = false;
variables.hitSabre = false;
if (variables.jump) {
_parent.gotoAndStop("idle");
} else {
_parent.gotoAndStop("jump");
}
play();
Symbol 838 MovieClip Frame 8
variables.attackInProgress = false;
variables.hitSabre = false;
if (variables.jump) {
_parent.gotoAndStop("idle");
} else {
_parent.gotoAndStop("jump");
}
play();
Symbol 905 MovieClip Frame 1
variables.undeadAttack = false;
variables.mechArmAttack = false;
variables.shurikenAttack = false;
variables.flailAttack = false;
variables.arrowAttack = false;
variables.attackInProgress = false;
variables.hitSabre = false;
Symbol 905 MovieClip Frame 14
variables.attackInProgress = false;
variables.hitSabre = false;
variables.hitEnemy = false;
if (variables.jump) {
_parent.gotoAndStop("idle");
} else {
_parent.gotoAndStop("jump");
}
Symbol 920 MovieClip Frame 1
trace("DIE");
variables.attackInProgress = false;
play();
Symbol 920 MovieClip Frame 20
if (lifeBar.nbrLife > 0) {
_parent._parent._parent.death.play();
}
Symbol 920 MovieClip Frame 35
if (lifeBar.nbrLife <= 0) {
_root.gotoAndStop("game_over");
} else {
_parent._parent._parent.lifebar.gotoAndStop(1);
_parent._parent._parent.bkg._x = variables:bkgXpos;
_parent._parent._parent.bkg._y = variables:bkgYpos;
_parent._parent._parent.character._x = variables:characterXpos;
_parent._parent._parent.character._y = variables:characterYpos;
_parent._parent._parent.baliseUp._x = variables:baliseUpXpos;
_parent._parent._parent.baliseUp._y = variables:baliseUpYpos;
_parent._parent._parent.baliseDown._x = variables:baliseDownXpos;
_parent._parent._parent.baliseDown._y = variables:baliseDownYpos;
_parent._parent._parent.baliseLeft._x = variables:baliseLeftXpos;
_parent._parent._parent.baliseLeft._y = variables:baliseLeftYpos;
_parent._parent._parent.baliseRight._x = variables:baliseRightXpos;
_parent._parent._parent.baliseRight._y = variables:baliseRightYpos;
variables.stepOnPlatform = false;
variables.undeadAttack = false;
variables.mechArmAttack = false;
variables.shurikenAttack = false;
variables.flailAttack = false;
variables.arrowAttack = false;
lifeBar.chrEnergy = lifeBar.energy;
_parent._parent._parent.character._visible = true;
}
keyboard_listener.keyboard_active = true;
stop();
Symbol 989 MovieClip Frame 37
sabreTargetName = _parent._parent._parent.character.character.character.sabre;
i = 0;
while (i < variables.visibleTargetArray.length) {
bkgObjectTargetName = eval ("_parent._parent._parent.bkg.bkgObject" + variables.visibleTargetArray[i]);
if ((variables:objectArray[bkgObjectTargetName.objectNumber - 1] == "actif") || (variables:objectArray[bkgObjectTargetName.objectNumber - 1] == "attacking")) {
trace((bkgObjectTargetName + " ") + variables:objectArray[bkgObjectTargetName.objectNumber - 1]);
variables.hitSabre = true;
bkgObjectTargetName.actionHit("sabre");
}
i++;
}
Symbol 989 MovieClip Frame 46
variables.undeadAttack = false;
variables.attackInProgress = false;
variables.hitSabre = false;
_parent.gotoAndStop("idle");
Symbol 1044 MovieClip Frame 27
if (variables.lifoTarget.length < variables.nbrBallMax) {
if (variables.currentBall <= variables.nbrBallMax) {
variables.currentBall++;
} else {
variables.currentBall = 1;
}
ballName = "flamingArrow" + String(variables.currentBall);
ballDirection = _parent._parent._parent.character.character._xscale;
ballArray = new Array(ballName, ballDirection);
variables.lifoTarget.push(ballArray);
ballTarget = eval ("_parent._parent._parent.bkg." + ballName);
ballTarget._xscale = _parent._parent._parent.character.character._xscale;
ballTarget._x = (_parent._parent._parent.character.hitZone._x + _parent._parent._parent.character._x) - _parent._parent._parent.bkg._x;
ballTarget._y = ((_parent._parent._parent.character.hitZone._y + _parent._parent._parent.character._y) - _parent._parent._parent.bkg._y) - variables.hauteurGun;
if (ballTarget._xscale > 0) {
ballTarget.speed = variables.speedBall + variables.xspeed;
} else {
ballTarget.speed = variables.speedBall - variables.xspeed;
}
ballTarget.gotoAndStop("actif");
}
Symbol 1044 MovieClip Frame 44
variables.arrowAttack = false;
variables.attackInProgress = false;
variables.hitSabre = false;
_parent.gotoAndStop("idle");
Symbol 1069 MovieClip Frame 5
ballName = "shuriken" + String(variables.currentBall);
ballDirection = _parent._parent._parent.character.character._xscale;
ballArray = new Array(ballName, ballDirection);
variables.lifoTarget.push(ballArray);
ballTarget = eval ("_parent._parent._parent.bkg." + ballName);
ballTarget._xscale = _parent._parent._parent.character.character._xscale;
ballTarget._x = (_parent._parent._parent.character.hitZone._x + _parent._parent._parent.character._x) - _parent._parent._parent.bkg._x;
ballTarget._y = ((_parent._parent._parent.character.hitZone._y + _parent._parent._parent.character._y) - _parent._parent._parent.bkg._y) - variables.hauteurGun;
if (ballTarget._xscale > 0) {
ballTarget.speed = variables.speedBall + variables.xspeed;
} else {
ballTarget.speed = variables.speedBall - variables.xspeed;
}
ballTarget.gotoAndStop("actif");
Symbol 1069 MovieClip Frame 10
variables.shurikenAttack = false;
variables.attackInProgress = false;
variables.hitSabre = false;
_parent.gotoAndStop("idle");
Symbol 1150 MovieClip Frame 32
variables.mechArmAttack = false;
variables.attackInProgress = false;
variables.hitSabre = false;
_parent.gotoAndStop("idle");
Symbol 1207 MovieClip Frame 31
variables.flailAttack = false;
variables.attackInProgress = false;
variables.hitSabre = false;
_parent.gotoAndStop("idle");
Symbol 1208 MovieClip Frame 1
stop();
Symbol 1208 MovieClip Frame 24
nextFrame();
Symbol 1208 MovieClip Frame 25
stop();
Symbol 1208 MovieClip Frame 29
nextFrame();
Symbol 1208 MovieClip Frame 30
stop();
Symbol 1208 MovieClip Frame 43
nextFrame();
Symbol 1208 MovieClip Frame 44
stop();
Symbol 1208 MovieClip Frame 49
stop();
Symbol 1208 MovieClip Frame 55
Symbol 1208 MovieClip Frame 56
stop();
Symbol 1236 MovieClip Frame 1
stop();
Symbol 1283 MovieClip Frame 1
stop();
Symbol 1296 MovieClip Frame 1
stop();
Symbol 1297 MovieClip Frame 1
stop();
Symbol 1298 MovieClip Frame 1
stop();
Symbol 1298 MovieClip Frame 2
stop();
Symbol 1299 MovieClip Frame 1
stop();
Symbol 1300 MovieClip Frame 1
stop();
Symbol 1301 MovieClip Frame 1
stop();
Instance of Symbol 1296 MovieClip "purity_mv" in Symbol 1302 MovieClip Frame 1
onClipEvent (load) {
if (_root.honor == true) {
gotoAndStop (2);
}
}
Instance of Symbol 1297 MovieClip "courage_mv" in Symbol 1302 MovieClip Frame 1
onClipEvent (load) {
if (_root.valor == true) {
gotoAndStop (2);
}
}
Instance of Symbol 1298 MovieClip "justice_mv" in Symbol 1302 MovieClip Frame 1
onClipEvent (load) {
if (_root.purity == true) {
gotoAndStop (2);
}
}
Instance of Symbol 1299 MovieClip "valor_mv" in Symbol 1302 MovieClip Frame 1
onClipEvent (load) {
if (_root.courage == true) {
gotoAndStop (2);
}
}
Instance of Symbol 1300 MovieClip "compassion_mv" in Symbol 1302 MovieClip Frame 1
onClipEvent (load) {
if (_root.compassion == true) {
gotoAndStop (2);
}
}
Instance of Symbol 1301 MovieClip "honor_mv" in Symbol 1302 MovieClip Frame 1
onClipEvent (load) {
if (_root.justice == true) {
gotoAndStop (2);
}
}
Instance of Symbol 1295 MovieClip "lives" in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent.nbrLife);
}
Symbol 1305 MovieClip Frame 1
this._visible = false;
Symbol 1307 MovieClip Frame 1
this._visible = false;
Symbol 1373 MovieClip Frame 35
_parent.gotoAndStop("level1-2");
Symbol 1376 MovieClip Frame 1
stop();
Symbol 1377 MovieClip Frame 1
stop();
Symbol 1378 MovieClip Frame 1
stop();
Symbol 1379 MovieClip Frame 1
stop();
Symbol 1380 MovieClip Frame 1
stop();
Symbol 1381 MovieClip Frame 1
stop();
Symbol 1382 MovieClip Frame 1
stop();
Symbol 1383 MovieClip Frame 1
stop();
Symbol 1384 MovieClip Frame 1
stop();
Symbol 1385 MovieClip Frame 1
stop();
Symbol 1386 MovieClip Frame 1
stop();
Symbol 1387 MovieClip Frame 1
stop();
Symbol 1389 MovieClip Frame 1
this._visible = false;
Instance of Symbol 464 MovieClip "platform" in Symbol 1394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent._parent._parent.character.hitzone)) {
_parent.collision = true;
} else {
_parent.collision = false;
}
}
Symbol 1395 MovieClip Frame 1
stop();
Instance of Symbol 1394 MovieClip "platform1" in Symbol 1395 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform1 = this;
move = false;
collision = false;
direction = 3;
movedSoFar = 0;
movementMagnitude = 100;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent._parent.character._y = platformPosition.y - 6;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent._parent.character._x, _parent._parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent._parent.character._y + _parent._parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent._parent.character._y + 1);
_parent._parent._parent._parent.bkg._y = _parent._parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent._parent.bkg._y = _parent._parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if ((collision == false) && (platform2.collision == false)) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Instance of Symbol 1394 MovieClip "platform2" in Symbol 1395 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform2 = this;
move = false;
collision = false;
direction = -3;
movedSoFar = 0;
movementMagnitude = 70;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent._parent.character._y = platformPosition.y - 6;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent._parent.character._x, _parent._parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent._parent.character._y + _parent._parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent._parent.character._y + 1);
_parent._parent._parent._parent.bkg._y = _parent._parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent._parent.bkg._y = _parent._parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if ((collision == false) && (platform1.collision == false)) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Symbol 1396 MovieClip Frame 1
stop();
Instance of Symbol 1398 MovieClip in Symbol 1404 MovieClip Frame 2
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1398 MovieClip in Symbol 1404 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent._parent.character.character.hitzone)) {
fonctions.characterHitType1();
}
}
Symbol 1410 MovieClip Frame 1
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 1410 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene1-2");
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
}
Instance of Symbol 1409 MovieClip in Symbol 1410 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (120);
}
Instance of Symbol 598 MovieClip "bkgObject2" in Symbol 1410 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if ((((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) && (_parent.bkgObject3.energy <= 0)) {
_parent.hitzone.platform_zone.platform1.move = true;
_parent.hitzone.platform_zone.platform2.move = true;
}
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 2;
amplitude = 20;
movedSoFar = 0;
action = "walk";
this.hitzone.stop();
this.gotoAndStop("digOut");
this._xscale = this._xscale * -1;
}
Instance of Symbol 598 MovieClip "bkgObject3" in Symbol 1410 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if ((((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) && (_parent.bkgObject2.energy <= 0)) {
_parent.hitzone.platform_zone.platform1.move = true;
_parent.hitzone.platform_zone.platform2.move = true;
}
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 3;
amplitude = 30;
movedSoFar = 0;
action = "walk";
this.hitzone.stop();
this.gotoAndStop("digOut");
this._xscale = this._xscale * -1;
}
Instance of Symbol 522 MovieClip "bkgObject5" in Symbol 1410 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene1-1");
}
function proximite() {
}
animeLock = true;
objectNumber = 5;
}
Symbol 1441 MovieClip Frame 30
_parent.gotoAndStop("level1-3");
Symbol 1444 MovieClip Frame 1
stop();
Instance of Symbol 1446 MovieClip in Symbol 1448 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1446 MovieClip in Symbol 1448 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1446 MovieClip in Symbol 1448 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1446 MovieClip in Symbol 1448 MovieClip Frame 83
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1446 MovieClip in Symbol 1448 MovieClip Frame 86
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1446 MovieClip in Symbol 1448 MovieClip Frame 91
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Symbol 1453 MovieClip Frame 1
stop();
Symbol 1454 MovieClip Frame 1
stop();
Symbol 1455 MovieClip Frame 1
stop();
Instance of Symbol 1446 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1446 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1446 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1446 MovieClip in Symbol 1456 MovieClip Frame 83
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1446 MovieClip in Symbol 1456 MovieClip Frame 86
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 1446 MovieClip in Symbol 1456 MovieClip Frame 91
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Symbol 1459 MovieClip Frame 1
stop();
Symbol 1460 MovieClip Frame 1
stop();
Symbol 1462 MovieClip Frame 1
stop();
Symbol 1463 MovieClip Frame 1
hitZone._visible = false;
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 1463 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene1-3");
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
}
Instance of Symbol 598 MovieClip "bkgObject2" in Symbol 1463 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 2;
amplitude = 20;
movedSoFar = 0;
action = "walk";
hitzone.stop();
}
Instance of Symbol 598 MovieClip "bkgObject3" in Symbol 1463 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 3;
amplitude = 50;
movedSoFar = 0;
action = "walk";
this.hitzone.stop();
this.gotoAndStop("digOut");
this._xscale = this._xscale * -1;
}
Symbol 1509 MovieClip Frame 31
_parent.gotoAndStop("level1-4");
Symbol 1513 MovieClip Frame 1
this._visible = false;
Symbol 1514 MovieClip Frame 1
stop();
Instance of Symbol 1394 MovieClip "platform1" in Symbol 1514 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform1 = this;
move = false;
collision = false;
direction = 3;
movedSoFar = 0;
movementMagnitude = 100;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent._parent.character._y = platformPosition.y - 6;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent._parent.character._x, _parent._parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent._parent.character._y + _parent._parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent._parent.character._y + 1);
_parent._parent._parent._parent.bkg._y = _parent._parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent._parent.bkg._y = _parent._parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if ((collision == false) && (platform2.collision == false)) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Instance of Symbol 1394 MovieClip "platform2" in Symbol 1514 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform2 = this;
move = false;
collision = false;
direction = -3;
movedSoFar = 0;
movementMagnitude = 70;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent._parent.character._y = platformPosition.y - 6;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent._parent.character._x, _parent._parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent._parent.character._y + _parent._parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent._parent.character._y + 1);
_parent._parent._parent._parent.bkg._y = _parent._parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent._parent.bkg._y = _parent._parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if ((collision == false) && (platform1.collision == false)) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Symbol 1515 MovieClip Frame 1
stop();
Symbol 1516 MovieClip Frame 1
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 1516 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene1-4");
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
}
Instance of Symbol 1409 MovieClip in Symbol 1516 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (120);
}
Instance of Symbol 598 MovieClip "bkgObject2" in Symbol 1516 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if ((((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) && (_parent.bkgObject3.energy <= 0)) {
_parent.hitzone.platform_zone.platform1.move = true;
_parent.hitzone.platform_zone.platform2.move = true;
}
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 2;
amplitude = 20;
movedSoFar = 0;
action = "walk";
this.hitzone.stop();
this.gotoAndStop("digOut");
}
Instance of Symbol 598 MovieClip "bkgObject3" in Symbol 1516 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if ((((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) && (_parent.bkgObject2.energy <= 0)) {
_parent.hitzone.platform_zone.platform1.move = true;
_parent.hitzone.platform_zone.platform2.move = true;
}
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 3;
amplitude = 20;
movedSoFar = 0;
action = "walk";
this.hitzone.stop();
this.gotoAndStop("digOut");
}
Symbol 1517 MovieClip Frame 30
_parent.gotoAndStop("level1-5");
Symbol 1520 MovieClip Frame 1
stop();
Symbol 1521 MovieClip Frame 1
stop();
Symbol 1522 MovieClip Frame 1
stop();
Symbol 1523 MovieClip Frame 1
stop();
Symbol 1524 MovieClip Frame 1
stop();
Symbol 1525 MovieClip Frame 1
stop();
Symbol 1527 MovieClip Frame 1
stop();
Symbol 1528 MovieClip Frame 1
hitZone._visible = false;
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 1528 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene1-5");
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
}
Instance of Symbol 598 MovieClip "bkgObject2" in Symbol 1528 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 2;
amplitude = 20;
movedSoFar = 0;
action = "walk";
hitzone.stop();
}
Instance of Symbol 598 MovieClip "bkgObject3" in Symbol 1528 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 3;
amplitude = 50;
movedSoFar = 0;
action = "walk";
this.hitzone.stop();
this.gotoAndStop("digOut");
}
Symbol 1555 MovieClip Frame 55
_parent.gotoAndStop("level1-boss");
Symbol 1558 MovieClip Frame 1
stop();
Symbol 1559 MovieClip Frame 1
stop();
Symbol 1560 MovieClip Frame 1
stop();
Symbol 1561 MovieClip Frame 1
stop();
Symbol 1562 MovieClip Frame 1
stop();
Symbol 1563 MovieClip Frame 1
stop();
Symbol 1565 MovieClip Frame 1
stop();
Symbol 1735 MovieClip Frame 25
gotoAndPlay (1);
Symbol 1735 MovieClip Frame 38
variables:objectArray[_parent._parent.objectNumber - 1] = "attack";
Symbol 1735 MovieClip Frame 72
variables:objectArray[_parent._parent.objectNumber - 1] = "temp";
Symbol 1735 MovieClip Frame 88
if (Math.random() > 0.2) {
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
}
Symbol 1735 MovieClip Frame 125
variables:objectArray[_parent._parent.objectNumber - 1] = "attack";
Symbol 1735 MovieClip Frame 156
variables:objectArray[_parent._parent.objectNumber - 1] = "temp";
Symbol 1735 MovieClip Frame 187
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 1735 MovieClip Frame 211
variables:objectArray[_parent._parent.objectNumber - 1] = "attack";
Symbol 1735 MovieClip Frame 238
variables:objectArray[_parent._parent.objectNumber - 1] = "temp";
Symbol 1735 MovieClip Frame 252
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 1735 MovieClip Frame 253
variables:objectArray[_parent._parent.objectNumber - 1] = "temp";
Symbol 1735 MovieClip Frame 301
_root.gotoAndStop("cutscene-level1End");
stop();
Symbol 1737 MovieClip Frame 1
emplacementX = 0;
emplacementY = 0;
stop();
Instance of Symbol 1736 MovieClip "hitZone" in Symbol 1737 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
}
Symbol 1737 MovieClip Frame 4
hitzone.zombie.gotoAndPlay("hurt");
Symbol 1737 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 1739 MovieClip Frame 1
stop();
this._visible = false;
Symbol 1740 MovieClip Frame 1
hitZone._visible = false;
Instance of Symbol 1737 MovieClip "bkgObject1" in Symbol 1740 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
colorChanger.play();
_parent.hitsound.play();
}
function characterHit() {
if (variables:objectArray[objectNumber - 1] == "attack") {
trace(variables:objectArray[objectNumber - 1]);
fonctions.characterHitType2();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 70;
objectNumber = 1;
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 190;
myColorTransform.ga = 100;
myColorTransform.gb = 255;
myColorTransform.ba = 100;
myColorTransform.bb = 190;
myColorTransform.aa = 100;
myColorTransform.ab = 100;
originalValueTransform = new Object();
originalValueTransform.ra = 100;
originalValueTransform.rb = 0;
originalValueTransform.ga = 100;
originalValueTransform.gb = 0;
originalValueTransform.ba = 100;
originalValueTransform.bb = 0;
originalValueTransform.aa = 100;
originalValueTransform.ab = 100;
}
Symbol 1742 MovieClip Frame 1
stop();
Symbol 1742 MovieClip Frame 2
_parent.bkg.bkgObject1.myColor.setTransform(_parent.bkg.bkgObject1.myColorTransform);
if (_parent.bkg.bkgObject1.energy > 0) {
_parent.bkg.bkgObject1.energy = _parent.bkg.bkgObject1.energy - 2;
}
if (_parent.bkg.bkgObject1.energy == 0) {
_parent.bkg.bkgObject1.gotoAndStop("die");
}
Symbol 1742 MovieClip Frame 6
_parent.bkg.bkgObject1.myColor.setTransform(_parent.bkg.bkgObject1.originalValueTransform);
Symbol 1744 MovieClip Frame 1
stop();
Symbol 1744 MovieClip Frame 2
play();
Symbol 1845 MovieClip Frame 155
_root.gotoAndStop("level2-1");
Symbol 1848 MovieClip Frame 1
stop();
Symbol 1849 MovieClip Frame 1
stop();
Symbol 1850 MovieClip Frame 1
stop();
Symbol 1851 MovieClip Frame 1
stop();
Symbol 1852 MovieClip Frame 1
stop();
Symbol 1853 MovieClip Frame 1
stop();
Symbol 1855 MovieClip Frame 1
this._visible = false;
Symbol 1856 MovieClip Frame 1
this._visible = false;
Instance of Symbol 1856 MovieClip "platform" in Symbol 1859 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent._parent.character.hitzone)) {
_parent.collision = true;
} else {
_parent.collision = false;
}
}
Symbol 1860 MovieClip Frame 1
stop();
Instance of Symbol 1859 MovieClip "saw_platform" in Symbol 1860 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform1 = this;
special_flag = false;
move = false;
collision = false;
direction = -3;
movedSoFar = 0;
movementMagnitude = 40;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
if (direction == -3) {
_parent._parent._parent.character._y = platformPosition.y - 5;
fonctions.moveElementVertical(_parent._parent._parent.character._x, _parent._parent._parent.character._y);
} else if (direction == 3) {
playerPosition.y = platformPosition.y - 5;
variables.newChrY = playerPosition.y - direction;
if (variables.newChrY > _parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent.character._y + 1);
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if (collision == false) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
if ((special_flag == true) && (movementMagnitude == 40)) {
movementMagnitude = 80;
} else {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
}
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Symbol 2038 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2038 MovieClip Frame 48
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2038 MovieClip Frame 51
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2038 MovieClip Frame 60
stop();
Symbol 2038 MovieClip Frame 84
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2040 MovieClip Frame 1
stop();
Symbol 2040 MovieClip Frame 2
_parent.myColor.setTransform(_parent.myColorTransform);
if (_parent.energy > 0) {
_parent.energy = _parent.energy - 5;
}
if (_parent.energy == 0) {
_parent.gotoAndStop("die");
}
Symbol 2040 MovieClip Frame 6
_parent.myColor.setTransform(_parent.originalValueTransform);
Symbol 2041 MovieClip Frame 1
emplacementX = 0;
emplacementY = 0;
stop();
Instance of Symbol 2039 MovieClip "hitZone" in Symbol 2041 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
}
Instance of Symbol 2040 MovieClip "hit" in Symbol 2041 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 2041 MovieClip Frame 3
hitzone.zombie.gotoAndPlay("hurt");
Symbol 2041 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 2041 MovieClip Frame 6
variables:objectArray[objectNumber - 1] = "digOut";
hitzone.zombie.gotoAndStop("digOut");
Symbol 2058 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2058 MovieClip Frame 84
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2058 MovieClip Frame 87
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2058 MovieClip Frame 96
stop();
Symbol 2058 MovieClip Frame 120
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2060 MovieClip Frame 1
emplacementX = 0;
emplacementY = 0;
stop();
Instance of Symbol 2059 MovieClip "hitZone" in Symbol 2060 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
}
Instance of Symbol 2040 MovieClip "hit" in Symbol 2060 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 2060 MovieClip Frame 3
hitzone.zombie.gotoAndPlay("hurt");
Symbol 2060 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 2060 MovieClip Frame 6
variables:objectArray[objectNumber - 1] = "digOut";
hitzone.zombie.gotoAndStop("digOut");
Symbol 2186 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2186 MovieClip Frame 97
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2186 MovieClip Frame 100
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2186 MovieClip Frame 109
stop();
Symbol 2186 MovieClip Frame 133
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2188 MovieClip Frame 1
emplacementX = 0;
emplacementY = 0;
stop();
Instance of Symbol 2187 MovieClip "hitZone" in Symbol 2188 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
}
Instance of Symbol 2040 MovieClip "hit" in Symbol 2188 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 2188 MovieClip Frame 3
hitzone.zombie.gotoAndPlay("hurt");
Symbol 2188 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 2188 MovieClip Frame 6
variables:objectArray[objectNumber - 1] = "digOut";
hitzone.zombie.gotoAndStop("digOut");
Symbol 2215 MovieClip Frame 1
stop();
Symbol 2216 MovieClip Frame 1
Instance of Symbol 522 MovieClip "bkgObject5" in Symbol 2216 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
_parent.splash._x = _parent._parent.character._x - _parent._parent.bkg._x;
_parent.splash._y = (_parent._parent.character._y - _parent._parent.bkg._y) + 10;
_parent._parent.character._visible = false;
_parent.splash.play();
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 5;
}
Instance of Symbol 2041 MovieClip "bkgObject4" in Symbol 2216 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
Set("_parent.hitzone.saw_platform:move", true);
}
hit.play();
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 20;
objectNumber = 4;
this.gotoAndStop("digOut");
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 190;
myColorTransform.ga = 100;
myColorTransform.gb = 255;
myColorTransform.ba = 100;
myColorTransform.bb = 190;
myColorTransform.aa = 100;
myColorTransform.ab = 100;
originalValueTransform = new Object();
originalValueTransform.ra = 100;
originalValueTransform.rb = 0;
originalValueTransform.ga = 100;
originalValueTransform.gb = 0;
originalValueTransform.ba = 100;
originalValueTransform.bb = 0;
originalValueTransform.aa = 100;
originalValueTransform.ab = 100;
}
Instance of Symbol 2060 MovieClip "bkgObject2" in Symbol 2216 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
trace(energy);
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
trace(_parent.bkgObject1.unlock);
_parent.bkgObject1.unlock = true;
}
hit.play();
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 20;
objectNumber = 2;
this.gotoAndStop("digOut");
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 190;
myColorTransform.ga = 100;
myColorTransform.gb = 255;
myColorTransform.ba = 100;
myColorTransform.bb = 190;
myColorTransform.aa = 100;
myColorTransform.ab = 100;
originalValueTransform = new Object();
originalValueTransform.ra = 100;
originalValueTransform.rb = 0;
originalValueTransform.ga = 100;
originalValueTransform.gb = 0;
originalValueTransform.ba = 100;
originalValueTransform.bb = 0;
originalValueTransform.aa = 100;
originalValueTransform.ab = 100;
}
Instance of Symbol 2188 MovieClip "bkgObject3" in Symbol 2216 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
Set("_parent.hitzone.saw_platform:special_flag", true);
}
hit.play();
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 20;
objectNumber = 3;
this.gotoAndStop("digOut");
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 190;
myColorTransform.ga = 100;
myColorTransform.gb = 255;
myColorTransform.ba = 100;
myColorTransform.bb = 190;
myColorTransform.aa = 100;
myColorTransform.ab = 100;
originalValueTransform = new Object();
originalValueTransform.ra = 100;
originalValueTransform.rb = 0;
originalValueTransform.ga = 100;
originalValueTransform.gb = 0;
originalValueTransform.ba = 100;
originalValueTransform.bb = 0;
originalValueTransform.aa = 100;
originalValueTransform.ab = 100;
}
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 2216 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (unlock) {
_root.gotoAndStop("cutscene2-1");
}
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
unlock = false;
}
Symbol 2230 MovieClip Frame 41
_parent.gotoAndStop("level2-2");
Symbol 2233 MovieClip Frame 1
stop();
Symbol 2234 MovieClip Frame 1
stop();
Symbol 2235 MovieClip Frame 1
stop();
Symbol 2236 MovieClip Frame 1
stop();
Symbol 2237 MovieClip Frame 1
stop();
Symbol 2238 MovieClip Frame 1
stop();
Symbol 2239 MovieClip Frame 1
stop();
Symbol 2240 MovieClip Frame 1
stop();
Symbol 2242 MovieClip Frame 1
this._visible = false;
Symbol 2243 MovieClip Frame 1
stop();
Instance of Symbol 2246 MovieClip in Symbol 2259 MovieClip Frame 7
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2252 MovieClip in Symbol 2259 MovieClip Frame 7
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2255 MovieClip in Symbol 2259 MovieClip Frame 8
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2252 MovieClip in Symbol 2259 MovieClip Frame 9
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2257 MovieClip in Symbol 2259 MovieClip Frame 9
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2252 MovieClip in Symbol 2259 MovieClip Frame 14
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2255 MovieClip in Symbol 2259 MovieClip Frame 14
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2246 MovieClip in Symbol 2259 MovieClip Frame 15
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2246 MovieClip in Symbol 2259 MovieClip Frame 20
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2268 MovieClip in Symbol 2269 MovieClip Frame 47
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Symbol 2270 MovieClip Frame 1
Instance of Symbol 522 MovieClip "bkgObject2" in Symbol 2270 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
_parent.splash._x = _parent._parent.character._x - _parent._parent.bkg._x;
_parent.splash._y = (_parent._parent.character._y - _parent._parent.bkg._y) + 10;
_parent._parent.character._visible = false;
_parent.splash.play();
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 2;
}
Instance of Symbol 2259 MovieClip in Symbol 2270 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 2269 MovieClip in Symbol 2270 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 2270 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene2-2");
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
}
Symbol 2280 MovieClip Frame 35
_parent.gotoAndStop("level2-3");
Symbol 2283 MovieClip Frame 1
stop();
Symbol 2284 MovieClip Frame 1
stop();
Symbol 2285 MovieClip Frame 1
stop();
Symbol 2286 MovieClip Frame 1
stop();
Symbol 2287 MovieClip Frame 1
stop();
Symbol 2288 MovieClip Frame 1
stop();
Symbol 2289 MovieClip Frame 1
stop();
Symbol 2290 MovieClip Frame 1
stop();
Symbol 2291 MovieClip Frame 1
stop();
Symbol 2293 MovieClip Frame 1
this._visible = false;
Symbol 2294 MovieClip Frame 1
stop();
Instance of Symbol 1859 MovieClip "saw_platform" in Symbol 2294 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform1 = this;
move = false;
collision = false;
direction = -3;
movedSoFar = 0;
movementMagnitude = 70;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent.character.localToGlobal(playerPosition);
if (((_parent._parent.bkgObject5.energy <= 0) && (_parent._parent.bkgObject6.energy <= 0)) && (_parent._parent.bkgObject7.energy <= 0)) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent.character._y = platformPosition.y - 3;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent.character._x, _parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent.character._y + _parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent.character._y + 1);
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if (collision == false) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Instance of Symbol 2297 MovieClip in Symbol 2308 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 2308 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2308 MovieClip Frame 69
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2308 MovieClip Frame 72
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2308 MovieClip Frame 81
stop();
Symbol 2308 MovieClip Frame 105
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2310 MovieClip Frame 1
emplacementX = 0;
emplacementY = 0;
stop();
Instance of Symbol 2309 MovieClip "hitZone" in Symbol 2310 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
}
Instance of Symbol 2040 MovieClip "hit" in Symbol 2310 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 2310 MovieClip Frame 3
hitzone.zombie.gotoAndPlay("hurt");
Symbol 2310 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 2310 MovieClip Frame 6
variables:objectArray[objectNumber - 1] = "digOut";
hitzone.zombie.gotoAndStop("digOut");
Symbol 2335 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2335 MovieClip Frame 45
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2335 MovieClip Frame 48
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2335 MovieClip Frame 57
stop();
Symbol 2335 MovieClip Frame 81
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2337 MovieClip Frame 1
emplacementX = 0;
emplacementY = 0;
stop();
Instance of Symbol 2336 MovieClip "hitZone" in Symbol 2337 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
}
Instance of Symbol 2040 MovieClip "hit" in Symbol 2337 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 2337 MovieClip Frame 3
hitzone.zombie.gotoAndPlay("hurt");
Symbol 2337 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 2337 MovieClip Frame 6
variables:objectArray[objectNumber - 1] = "digOut";
hitzone.zombie.gotoAndStop("digOut");
Symbol 2364 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2364 MovieClip Frame 59
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2364 MovieClip Frame 62
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2364 MovieClip Frame 71
stop();
Symbol 2364 MovieClip Frame 95
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2366 MovieClip Frame 1
emplacementX = 0;
emplacementY = 0;
stop();
Instance of Symbol 2365 MovieClip "hitZone" in Symbol 2366 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
}
Instance of Symbol 2040 MovieClip "hit" in Symbol 2366 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 2366 MovieClip Frame 3
hitzone.zombie.gotoAndPlay("hurt");
Symbol 2366 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 2366 MovieClip Frame 6
variables:objectArray[objectNumber - 1] = "digOut";
hitzone.zombie.gotoAndStop("digOut");
Instance of Symbol 2268 MovieClip in Symbol 2371 MovieClip Frame 48
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Symbol 2372 MovieClip Frame 1
Instance of Symbol 522 MovieClip "bkgObject2" in Symbol 2372 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
_parent.splash._x = _parent._parent.character._x - _parent._parent.bkg._x;
_parent.splash._y = (_parent._parent.character._y - _parent._parent.bkg._y) + 10;
_parent._parent.character._visible = false;
_parent.splash.play();
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 2;
}
Instance of Symbol 522 MovieClip "bkgObject3" in Symbol 2372 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
_parent.splash._x = _parent._parent.character._x - _parent._parent.bkg._x;
_parent.splash._y = (_parent._parent.character._y - _parent._parent.bkg._y) + 10;
_parent._parent.character._visible = false;
_parent.splash.play();
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 3;
}
Instance of Symbol 522 MovieClip "bkgObject4" in Symbol 2372 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
_parent.splash._x = _parent._parent.character._x - _parent._parent.bkg._x;
_parent.splash._y = (_parent._parent.character._y - _parent._parent.bkg._y) + 10;
_parent._parent.character._visible = false;
_parent.splash.play();
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 4;
}
Instance of Symbol 2310 MovieClip "bkgObject5" in Symbol 2372 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
hit.play();
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 20;
objectNumber = 5;
this.gotoAndStop("digOut");
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 190;
myColorTransform.ga = 100;
myColorTransform.gb = 255;
myColorTransform.ba = 100;
myColorTransform.bb = 190;
myColorTransform.aa = 100;
myColorTransform.ab = 100;
originalValueTransform = new Object();
originalValueTransform.ra = 100;
originalValueTransform.rb = 0;
originalValueTransform.ga = 100;
originalValueTransform.gb = 0;
originalValueTransform.ba = 100;
originalValueTransform.bb = 0;
originalValueTransform.aa = 100;
originalValueTransform.ab = 100;
}
Instance of Symbol 2337 MovieClip "bkgObject7" in Symbol 2372 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
_parent.saw.play();
}
hit.play();
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 20;
objectNumber = 7;
this.gotoAndStop("digOut");
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 190;
myColorTransform.ga = 100;
myColorTransform.gb = 255;
myColorTransform.ba = 100;
myColorTransform.bb = 190;
myColorTransform.aa = 100;
myColorTransform.ab = 100;
originalValueTransform = new Object();
originalValueTransform.ra = 100;
originalValueTransform.rb = 0;
originalValueTransform.ga = 100;
originalValueTransform.gb = 0;
originalValueTransform.ba = 100;
originalValueTransform.bb = 0;
originalValueTransform.aa = 100;
originalValueTransform.ab = 100;
}
Instance of Symbol 2366 MovieClip "bkgObject6" in Symbol 2372 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
Set("_parent.hitzone.saw_platform:move", true);
}
hit.play();
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 20;
objectNumber = 6;
this.gotoAndStop("digOut");
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 190;
myColorTransform.ga = 100;
myColorTransform.gb = 255;
myColorTransform.ba = 100;
myColorTransform.bb = 190;
myColorTransform.aa = 100;
myColorTransform.ab = 100;
originalValueTransform = new Object();
originalValueTransform.ra = 100;
originalValueTransform.rb = 0;
originalValueTransform.ga = 100;
originalValueTransform.gb = 0;
originalValueTransform.ba = 100;
originalValueTransform.bb = 0;
originalValueTransform.aa = 100;
originalValueTransform.ab = 100;
}
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 2372 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene2-3");
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
}
Instance of Symbol 2371 MovieClip "saw" in Symbol 2372 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 2443 MovieClip Frame 60
_parent.gotoAndStop("level2-4");
Symbol 2446 MovieClip Frame 1
stop();
Symbol 2447 MovieClip Frame 1
stop();
Symbol 2448 MovieClip Frame 1
stop();
Symbol 2449 MovieClip Frame 1
stop();
Symbol 2450 MovieClip Frame 1
stop();
Symbol 2451 MovieClip Frame 1
stop();
Symbol 2453 MovieClip Frame 1
this._visible = false;
Symbol 2454 MovieClip Frame 1
stop();
Instance of Symbol 1859 MovieClip in Symbol 2454 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform1 = this;
move = true;
collision = false;
direction = 3;
movedSoFar = 0;
movementMagnitude = 50;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
if (direction == -3) {
_parent._parent._parent.character._y = platformPosition.y - 5;
fonctions.moveElementVertical(_parent._parent._parent.character._x, _parent._parent._parent.character._y);
} else if (direction == 3) {
playerPosition.y = platformPosition.y - 5;
variables.newChrY = playerPosition.y - direction;
if (variables.newChrY > _parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent.character._y + 1);
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if (collision == false) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Instance of Symbol 2268 MovieClip in Symbol 2456 MovieClip Frame 47
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2459 MovieClip "saw" in Symbol 2460 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((!variables.hitEnemy) && (!variables.attackInProgress)) && (this.hitTest(_parent._parent._parent.character.character.hitzone))) {
fonctions.characterHitType1();
}
}
Symbol 2462 MovieClip Frame 1
Instance of Symbol 2456 MovieClip in Symbol 2462 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 2462 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene2-4");
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
}
Instance of Symbol 2460 MovieClip in Symbol 2462 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2460 MovieClip in Symbol 2462 MovieClip Frame 1
onClipEvent (load) {
saw.gotoAndPlay(25);
}
Symbol 2480 MovieClip Frame 35
_parent.gotoAndStop("level2-5");
Symbol 2483 MovieClip Frame 1
stop();
Symbol 2484 MovieClip Frame 1
stop();
Symbol 2485 MovieClip Frame 1
stop();
Symbol 2486 MovieClip Frame 1
stop();
Symbol 2487 MovieClip Frame 1
stop();
Symbol 2488 MovieClip Frame 1
stop();
Symbol 2490 MovieClip Frame 1
this._visible = false;
Symbol 2491 MovieClip Frame 1
stop();
Instance of Symbol 1859 MovieClip "saw_platform" in Symbol 2491 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform1 = this;
move = false;
collision = false;
direction = -3;
movedSoFar = 0;
movementMagnitude = 50;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent.character._y = platformPosition.y - 6;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent.character._x, _parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent.character._y + _parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent.character._y + 1);
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if (collision == false) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Symbol 2518 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2518 MovieClip Frame 50
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2518 MovieClip Frame 53
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2518 MovieClip Frame 62
stop();
Symbol 2518 MovieClip Frame 86
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2520 MovieClip Frame 1
emplacementX = 0;
emplacementY = 0;
stop();
Instance of Symbol 2519 MovieClip "hitZone" in Symbol 2520 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
}
Instance of Symbol 2040 MovieClip "hit" in Symbol 2520 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 2520 MovieClip Frame 3
hitzone.zombie.gotoAndPlay("hurt");
Symbol 2520 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 2520 MovieClip Frame 6
variables:objectArray[objectNumber - 1] = "digOut";
hitzone.zombie.gotoAndStop("digOut");
Symbol 2539 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2539 MovieClip Frame 32
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2539 MovieClip Frame 33
if (_parent._parent.oily == true) {
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
}
Symbol 2539 MovieClip Frame 45
_parent._parent.switchPosition();
Symbol 2539 MovieClip Frame 72
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2539 MovieClip Frame 81
_parent._parent._parent._parent.play();
stop();
Symbol 2539 MovieClip Frame 105
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2541 MovieClip Frame 1
emplacementX = 0;
emplacementY = 0;
stop();
Instance of Symbol 2540 MovieClip "hitZone" in Symbol 2541 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
}
Symbol 2541 MovieClip Frame 4
hitzone.zombie.gotoAndPlay("hurt");
variables:objectArray[objectNumber - 1] = "temp";
Symbol 2541 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 2541 MovieClip Frame 6
variables:objectArray[objectNumber - 1] = "digOut";
hitzone.zombie.gotoAndStop("digOut");
Symbol 2543 MovieClip Frame 1
Instance of Symbol 2520 MovieClip "bkgObject3" in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
Set("_parent.hitzone.saw_platform:move", true);
}
hit.play();
}
function characterHit() {
trace("sword: " + variables:objectArray[objectNumber - 1]);
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 20;
objectNumber = 3;
this.gotoAndStop("digOut");
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 190;
myColorTransform.ga = 100;
myColorTransform.gb = 255;
myColorTransform.ba = 100;
myColorTransform.bb = 190;
myColorTransform.aa = 100;
myColorTransform.ab = 100;
originalValueTransform = new Object();
originalValueTransform.ra = 100;
originalValueTransform.rb = 0;
originalValueTransform.ga = 100;
originalValueTransform.gb = 0;
originalValueTransform.ba = 100;
originalValueTransform.bb = 0;
originalValueTransform.aa = 100;
originalValueTransform.ab = 100;
}
Instance of Symbol 2541 MovieClip "bkgObject1" in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
trace("fist: " + variables:objectArray[objectNumber - 1]);
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
function switchPosition() {
if (!oily) {
if (position == 1) {
this._x = 710.55;
this._y = -53.4;
position = 2;
} else if (position == 2) {
this._x = 1150.55;
this._y = -53.4;
position = 3;
} else if (position == 3) {
this._x = 805.6;
this._y = -148.4;
position = 4;
} else if (position == 4) {
this._x = 1065.6;
this._y = -148.4;
position = 5;
} else if (position == 5) {
this._x = 902.55;
this._y = -203.4;
position = 1;
}
}
}
animeLock = false;
energy = 30;
objectNumber = 1;
position = 1;
oily = false;
this._x = 902.55;
this._y = -203.4;
this.gotoAndStop("digOut");
}
Instance of Symbol 2460 MovieClip in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
saw.gotoAndPlay(25);
}
Instance of Symbol 522 MovieClip "bkgObject5" in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene2-2");
}
function proximite() {
}
animeLock = true;
objectNumber = 5;
}
Instance of Symbol 522 MovieClip "bkgObject2" in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
_parent.splash._x = _parent._parent.character._x - _parent._parent.bkg._x;
_parent.splash._y = (_parent._parent.character._y - _parent._parent.bkg._y) + 10;
_parent._parent.character._visible = false;
_parent.splash.play();
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 2;
}
Symbol 2545 MovieClip Frame 1
stop();
Symbol 2545 MovieClip Frame 2
play();
Symbol 2560 MovieClip Frame 1
stop();
Symbol 2560 MovieClip Frame 2
_parent.hitPoint = _parent.hitPoint - 2;
Symbol 2576 MovieClip Frame 168
_parent.gotoAndStop("level3-1");
Symbol 2579 MovieClip Frame 1
stop();
Symbol 2580 MovieClip Frame 1
stop();
Symbol 2581 MovieClip Frame 1
stop();
Symbol 2582 MovieClip Frame 1
stop();
Symbol 2583 MovieClip Frame 1
stop();
Symbol 2584 MovieClip Frame 1
stop();
Symbol 2586 MovieClip Frame 1
this._visible = false;
Instance of Symbol 464 MovieClip "platform" in Symbol 2594 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent._parent.character.hitzone)) {
_parent.collision = true;
} else {
_parent.collision = false;
}
}
Symbol 2595 MovieClip Frame 1
stop();
Instance of Symbol 2594 MovieClip in Symbol 2595 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform1 = this;
move = true;
collision = false;
direction = 3;
movedSoFar = 0;
movementMagnitude = 85;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent.character._y = platformPosition.y - 3;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent.character._x, _parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent.character._y + _parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent.character._y + 1);
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if (collision == false) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Instance of Symbol 471 MovieClip "platform1" in Symbol 2595 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 471 MovieClip "platform3" in Symbol 2595 MovieClip Frame 1
/* no clip actions */
Symbol 2608 MovieClip Frame 9
stop();
Symbol 2609 MovieClip Frame 1
stop();
Symbol 2609 MovieClip Frame 2
platform._x = fill_x;
platform._y = fill_y;
Symbol 2693 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2693 MovieClip Frame 46
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2693 MovieClip Frame 49
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2693 MovieClip Frame 85
stop();
Symbol 2693 MovieClip Frame 112
variables:objectArray[_parent._parent.objectNumber - 1] = "actif";
gotoAndPlay (1);
Symbol 2695 MovieClip Frame 1
stop();
Instance of Symbol 2694 MovieClip "hitZone" in Symbol 2695 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.emplacementX;
this._y = _parent.emplacementY;
}
Symbol 2695 MovieClip Frame 3
hitzone.zombie.gotoAndPlay("hurt");
Symbol 2695 MovieClip Frame 5
hitzone.zombie.gotoAndPlay("die");
Symbol 2695 MovieClip Frame 6
variables:objectArray[objectNumber - 1] = "digOut";
hitzone.zombie.gotoAndStop("digOut");
Symbol 2696 MovieClip Frame 1
Instance of Symbol 2609 MovieClip "bkgObject6" in Symbol 2696 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
_parent.bkgObject5.special_flag = true;
}
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
}
function proximite() {
}
fill_x = 2393.6;
fill_y = 171.1;
platform = _parent.hitzone.platform1;
animeLock = false;
energy = 2;
objectNumber = 6;
}
Instance of Symbol 2609 MovieClip "bkgObject4" in Symbol 2696 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
}
function proximite() {
}
fill_x = 2254.6;
fill_y = 353.4;
platform = _parent.hitzone.platform3;
animeLock = false;
energy = 2;
objectNumber = 4;
}
Instance of Symbol 2695 MovieClip "bkgObject5" in Symbol 2696 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
if ((variables:objectArray[1] != "digOut") || (special_flag == true)) {
fonctions.proximiteType1(objectNumber);
}
}
animeLock = false;
energy = 10;
objectNumber = 5;
this.gotoAndStop("digOut");
special_flag = false;
}
Instance of Symbol 2695 MovieClip "bkgObject3" in Symbol 2696 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 3;
this.gotoAndStop("digOut");
}
Instance of Symbol 2695 MovieClip "bkgObject7" in Symbol 2696 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 7;
this.gotoAndStop("digOut");
}
Instance of Symbol 2695 MovieClip "bkgObject2" in Symbol 2696 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
_parent.bkgObject1.unlock = true;
}
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 2;
this.gotoAndStop("digOut");
}
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 2696 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (unlock) {
_root.gotoAndStop("cutscene3-1");
}
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
unlock = false;
}
Instance of Symbol 522 MovieClip "bkgObject8" in Symbol 2696 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
}
function proximite() {
}
animeLock = true;
objectNumber = 8;
unlock = false;
}
Symbol 2716 MovieClip Frame 28
_parent.gotoAndStop("level3-2");
Symbol 2719 MovieClip Frame 1
stop();
Symbol 2720 MovieClip Frame 1
stop();
Symbol 2721 MovieClip Frame 1
stop();
Symbol 2722 MovieClip Frame 1
stop();
Symbol 2723 MovieClip Frame 1
stop();
Symbol 2724 MovieClip Frame 1
stop();
Symbol 2725 MovieClip Frame 1
stop();
Symbol 2726 MovieClip Frame 1
stop();
Symbol 2727 MovieClip Frame 1
stop();
Symbol 2728 MovieClip Frame 1
stop();
Symbol 2730 MovieClip Frame 1
this._visible = false;
Symbol 2731 MovieClip Frame 1
stop();
Symbol 2732 MovieClip Frame 1
Instance of Symbol 2695 MovieClip "bkgObject5" in Symbol 2732 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 5;
this.gotoAndStop("digOut");
}
Instance of Symbol 2695 MovieClip "bkgObject3" in Symbol 2732 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 3;
this.gotoAndStop("digOut");
}
Instance of Symbol 2695 MovieClip "bkgObject1" in Symbol 2732 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
_parent.bkgObject7.special_flag = true;
}
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 1;
this.gotoAndStop("digOut");
}
Instance of Symbol 522 MovieClip "bkgObject6" in Symbol 2732 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 6;
}
Instance of Symbol 522 MovieClip "bkgObject4" in Symbol 2732 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 4;
}
Instance of Symbol 522 MovieClip "bkgObject2" in Symbol 2732 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 2;
}
Instance of Symbol 522 MovieClip "bkgObject7" in Symbol 2732 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (special_flag == true) {
_root.gotoAndStop("cutscene3-2");
}
}
function proximite() {
}
animeLock = true;
objectNumber = 7;
special_flag = false;
}
Symbol 2742 MovieClip Frame 31
_parent.gotoAndStop("level3-3");
Symbol 2745 MovieClip Frame 1
stop();
Symbol 2746 MovieClip Frame 1
stop();
Symbol 2747 MovieClip Frame 1
stop();
Symbol 2748 MovieClip Frame 1
stop();
Symbol 2749 MovieClip Frame 1
stop();
Symbol 2750 MovieClip Frame 1
stop();
Symbol 2752 MovieClip Frame 1
this._visible = false;
Symbol 2753 MovieClip Frame 1
stop();
Instance of Symbol 2594 MovieClip in Symbol 2753 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform1 = this;
move = true;
collision = false;
direction = 3;
movedSoFar = 0;
movementMagnitude = 55;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent.character._y = platformPosition.y - 3;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent.character._x, _parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent.character._y + _parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent.character._y + 1);
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if ((collision == false) && (platform2.collision == false)) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Instance of Symbol 2594 MovieClip in Symbol 2753 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform2 = this;
move = true;
collision = false;
direction = 3;
movedSoFar = 0;
movementMagnitude = 55;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent.character._y = platformPosition.y - 3;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent.character._x, _parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent.character._y + _parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent.character._y + 1);
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if ((collision == false) && (platform1.collision == false)) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Symbol 2754 MovieClip Frame 1
Instance of Symbol 2695 MovieClip "bkgObject4" in Symbol 2754 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 4;
this.gotoAndStop("digOut");
}
Instance of Symbol 2695 MovieClip "bkgObject2" in Symbol 2754 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 2;
this.gotoAndStop("digOut");
}
Instance of Symbol 2695 MovieClip "bkgObject3" in Symbol 2754 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 3;
this.gotoAndStop("digOut");
}
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 2754 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene3-3");
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
}
Symbol 2760 MovieClip Frame 29
_parent.gotoAndStop("level3-4");
Symbol 2763 MovieClip Frame 1
stop();
Symbol 2764 MovieClip Frame 1
stop();
Symbol 2765 MovieClip Frame 1
stop();
Symbol 2766 MovieClip Frame 1
stop();
Symbol 2767 MovieClip Frame 1
stop();
Symbol 2768 MovieClip Frame 1
stop();
Symbol 2769 MovieClip Frame 1
stop();
Symbol 2770 MovieClip Frame 1
stop();
Symbol 2772 MovieClip Frame 1
this._visible = false;
Symbol 2773 MovieClip Frame 1
stop();
Instance of Symbol 464 MovieClip "platform" in Symbol 2774 MovieClip Frame 1
onClipEvent (enterFrame) {
thisPlatform = new Object();
thisPlatform.x = 0;
thisPlatform.y = 0;
thisPlatform.halfWidth = this._width / 2;
_parent.localToGlobal(thisPlatform);
if ((this.hitTest(_parent._parent._parent.character.hitzone) && (_parent._parent._parent.character._x >= (thisPlatform.x - thisPlatform.halfWidth))) && (_parent._parent._parent.character._x <= (thisPlatform.x + thisPlatform.halfWidth))) {
_parent.collision = true;
} else {
_parent.collision = false;
}
}
Symbol 2775 MovieClip Frame 1
Instance of Symbol 2774 MovieClip "move" in Symbol 2775 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform1 = this;
move = true;
collision = false;
direction = 3;
movedSoFar = 0;
movementMagnitude = 42;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent.character._y = platformPosition.y - 3;
fonctions.moveElementVertical(_parent._parent.character.hitZone._x + _parent._parent.character._x, _parent._parent.character.hitZone._y + _parent._parent.character._y);
_parent._parent.character._x = _parent._parent.character._x - direction;
} else if (collision == false) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._x = this._x - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._x = this._x - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._x = this._x - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._x = this._x - direction;
movedSoFar++;
}
}
}
Instance of Symbol 2695 MovieClip "bkgObject4" in Symbol 2775 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 4;
this.gotoAndStop("digOut");
}
Instance of Symbol 522 MovieClip "bkgObject5" in Symbol 2775 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 5;
}
Instance of Symbol 522 MovieClip "bkgObject3" in Symbol 2775 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 3;
}
Instance of Symbol 522 MovieClip "bkgObject2" in Symbol 2775 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
if (lifeBar.chrEnergy > 0) {
fonctions.characterHitType_deadlyFall();
}
}
function proximite() {
}
animeLock = true;
energy = 20;
objectNumber = 2;
}
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 2775 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene3-4");
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
}
Symbol 2776 MovieClip Frame 31
_parent.gotoAndStop("level3-5");
Symbol 2779 MovieClip Frame 1
stop();
Symbol 2780 MovieClip Frame 1
stop();
Symbol 2781 MovieClip Frame 1
stop();
Symbol 2782 MovieClip Frame 1
stop();
Symbol 2783 MovieClip Frame 1
stop();
Symbol 2784 MovieClip Frame 1
stop();
Symbol 2786 MovieClip Frame 1
this._visible = false;
Symbol 2787 MovieClip Frame 1
stop();
Instance of Symbol 2594 MovieClip in Symbol 2787 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform3 = this;
move = true;
collision = false;
direction = 3;
movedSoFar = 0;
movementMagnitude = 55;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent.character._y = platformPosition.y - 3;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent.character._x, _parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent.character._y + _parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent.character._y + 1);
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if ((collision == false) && (platform1.collision == false)) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Instance of Symbol 2594 MovieClip in Symbol 2787 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.platform1 = this;
move = false;
collision = false;
direction = -3;
movedSoFar = 0;
movementMagnitude = 55;
}
onClipEvent (enterFrame) {
platformPosition = new Object();
platformPosition.x = 0;
platformPosition.y = 0;
platform.localToGlobal(platformPosition);
playerPosition = new Object();
playerPosition.x = 0;
playerPosition.y = 0;
_parent._parent._parent.character.localToGlobal(playerPosition);
if (move) {
if (collision == true) {
variables.stepOnPlatform = true;
_parent._parent._parent.character._y = platformPosition.y - 3;
if (direction == -3) {
fonctions.moveElementVertical(_parent._parent._parent.character._x, _parent._parent._parent.character._y);
} else if (direction == 3) {
variables.newChrY = (_parent._parent._parent.character._y + _parent._parent._parent.character.hitzone._y) - direction;
if (variables.newChrY > _parent._parent._parent.character._y) {
diffChrY = variables.newChrY - (_parent._parent._parent.character._y + 1);
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y - diffChrY;
} else {
diffChrY = _parent._parent._parent.character._y - variables.newChrY;
_parent._parent._parent.bkg._y = _parent._parent._parent.bkg._y + diffChrY;
}
variables.changeYChr = false;
}
} else if ((collision == false) && (platform3.collision == false)) {
variables.stepOnPlatform = false;
}
if ((direction == 3) && (movedSoFar > movementMagnitude)) {
direction = -3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == 3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
} else if ((direction == -3) && (movedSoFar > movementMagnitude)) {
direction = 3;
this._y = this._y - direction;
movedSoFar = 0;
} else if ((direction == -3) && (movedSoFar <= movementMagnitude)) {
this._y = this._y - direction;
movedSoFar++;
}
}
}
Instance of Symbol 471 MovieClip "platform2" in Symbol 2787 MovieClip Frame 1
/* no clip actions */
Symbol 2788 MovieClip Frame 1
Instance of Symbol 2695 MovieClip "bkgObject5" in Symbol 2788 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 5;
this.gotoAndStop("digOut");
}
Instance of Symbol 2695 MovieClip "bkgObject3" in Symbol 2788 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
platform1.move = true;
}
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
if ((variables:objectArray[2] != "digOut") || (special_flag == true)) {
fonctions.proximiteType1(objectNumber);
}
}
animeLock = false;
energy = 10;
objectNumber = 3;
special_flag = false;
this.gotoAndStop("digOut");
}
Instance of Symbol 2695 MovieClip "bkgObject2" in Symbol 2788 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
if ((variables:objectArray[objectNumber - 1] != "temp") && (variables:objectArray[objectNumber - 1] != "actif")) {
fonctions.characterHitType1();
}
}
function proximite() {
fonctions.proximiteType1(objectNumber);
}
animeLock = false;
energy = 10;
objectNumber = 2;
this.gotoAndStop("digOut");
}
Instance of Symbol 2609 MovieClip "bkgObject4" in Symbol 2788 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
if (((energy <= variables:sabrePower) || (variables.weaponOfChoice == "mechanicalArm")) || (variables.weaponOfChoice == "ballChain")) {
_parent.bkgObject3.special_flag = true;
}
fonctions.actionHitType1(typeAttack, objectNumber);
}
function characterHit() {
}
function proximite() {
}
fill_x = 2270.2;
fill_y = 18;
platform = _parent.hitzone.platform2;
animeLock = false;
energy = 2;
objectNumber = 4;
}
Instance of Symbol 522 MovieClip "bkgObject1" in Symbol 2788 MovieClip Frame 1
onClipEvent (load) {
function actionHit(typeAttack) {
}
function characterHit() {
_root.gotoAndStop("cutscene3-5");
}
function proximite() {
}
animeLock = true;
objectNumber = 1;
}
Symbol 2809 MovieClip Frame 45
_parent.gotoAndStop("AKU");
Symbol 2812 MovieClip Frame 1
stop();
Symbol 2813 MovieClip Frame 1
stop();
Symbol 2814 MovieClip Frame 1
stop();
Symbol 2815 MovieClip Frame 1
stop();
Symbol 2816 MovieClip Frame 1
stop();
Symbol 2817 MovieClip Frame 1
stop();
Symbol 2819 MovieClip Frame 1
Symbol 2820 MovieClip Frame 1
stop();
Instance of Symbol 471 MovieClip "platform1" in Symbol 2820 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 471 MovieClip "platform4" in Symbol 2820 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 471 MovieClip "platform5" in Symbol 2820 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 471 MovieClip "platform2" in Symbol 2820 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 471 MovieClip "platform3" in Symbol 2820 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 471 MovieClip "platform6" in Symbol 2820 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 471 MovieClip "platform7" in Symbol 2820 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 471 MovieClip "platform8" in Symbol 2820 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2830 MovieClip in Symbol 2831 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 2830 MovieClip in Symbol 2831 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
Symbol 2860 MovieClip Frame 1
stop();
Instance of Symbol 2831 MovieClip in Symbol 2860 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.character.character.hitzone.hitTest(this) && (!variables.hitEnemy)) {
if (lifeBar.chrEnergy > 0) {
Set("variables:yspeed", 0);
_parent._parent.splash._x = _parent._parent._parent.character._x - _parent._parent._parent.bkg._x;
_parent._parent.splash._y = (_parent._parent._parent.character._y - _parent._parent._parent.bkg._y) + 10;
_parent._parent._parent.character._visible = false;
_parent._parent.splash.play();
variables.stepOnPlatform = true;
fonctions.characterHitType_deadlyFall();
}
}
}
Instance of Symbol 464 MovieClip "hitLeft" in Symbol 2860 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.hitLeft = this;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character)) {
hit = true;
} else {
hit = false;
}
}
Instance of Symbol 464 MovieClip "hitMiddle" in Symbol 2860 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.hitMiddle = this;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character)) {
hit = true;
} else {
hit = false;
}
}
Instance of Symbol 464 MovieClip "hitRight" in Symbol 2860 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.hitRight = this;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character)) {
hit = true;
} else {
hit = false;
}
}
Symbol 2860 MovieClip Frame 6
_parent.hitzone.platform1._x = 2432.9;
_parent.hitzone.platform1._y = -183.1;
_parent.hitzone.platform2._x = 2518.65;
_parent.hitzone.platform2._y = -119.8;
_parent.hitzone.platform3._x = 5000;
Set("variables:bkgYpos", 10);
Symbol 2860 MovieClip Frame 7
Set("variables:baliseUpXpos", 176.7);
Set("variables:baliseUpYpos", 109.8);
Set("variables:baliseDownXpos", 187.85);
Set("variables:baliseDownYpos", 251.7);
_parent._parent.baliseUp._x = 176.7;
_parent._parent.baliseUp._y = 109.8;
_parent._parent.baliseDown._x = 187.85;
_parent._parent.baliseDown._y = 251.7;
Instance of Symbol 2845 MovieClip in Symbol 2860 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_parent._parent._parent.character.character.hitzone.hitTest(this)) {
if (lifeBar.chrEnergy > 0) {
Set("variables:yspeed", 0);
_parent._parent.splash._x = _parent._parent._parent.character._x - _parent._parent._parent.bkg._x;
_parent._parent.splash._y = (_parent._parent._parent.character._y - _parent._parent._parent.bkg._y) + 10;
_parent._parent._parent.character._visible = false;
_parent._parent.splash.play();
variables.stepOnPlatform = true;
fonctions.characterHitType_deadlyFall();
}
}
}
Symbol 2860 MovieClip Frame 117
_parent.hitzone.platform3._x = 2434.65;
_parent.hitzone.platform3._y = 92.1;
Symbol 2860 MovieClip Frame 171
_parent.hitzone.platform3._x = 2570.05;
_parent.hitzone.platform3._y = 14.9;
Set("variables:bkgYpos", 55);
Set("variables:characterXpos", 50);
Set("variables:characterYpos", 205.4);
Symbol 2860 MovieClip Frame 210
_parent.hitzone.platform3._x = 2380.15;
_parent.hitzone.platform3._y = -9.1;
Symbol 2860 MovieClip Frame 227
Set("variables:bkgYpos", 55);
Set("variables:characterXpos", 150);
Set("variables:characterYpos", 130.4);
Set("variables:baliseUpXpos", 176.7);
Set("variables:baliseUpYpos", 52.8);
Set("variables:baliseDownXpos", 187.85);
Set("variables:baliseDownYpos", 341.7);
Set("variables:baliseLeftXpos", 16.7);
Set("variables:baliseLeftYpos", 219.8);
Set("variables:baliseRightXpos", 407.85);
Set("variables:baliseRightYpos", 271.7);
_parent._parent.baliseUp._x = 176.7;
_parent._parent.baliseUp._y = 52.8;
_parent._parent.baliseDown._x = 187.85;
_parent._parent.baliseDown._y = 341.7;
_parent._parent.baliseLeft._x = 16.7;
_parent._parent.baliseLeft._y = 219.8;
_parent._parent.baliseRight._x = 407.85;
_parent._parent.baliseRight._y = 271.7;
Symbol 2860 MovieClip Frame 267
_parent.hitzone.platform6._x = 2328.7;
_parent.hitzone.platform6._y = -97.8;
Symbol 2860 MovieClip Frame 297
_parent.hitzone.platform5._x = 2569.1;
_parent.hitzone.platform5._y = -263.65;
_parent.hitzone.platform4._x = 5000;
_parent.hitzone.platform2._x = 5000;
Set("variables:bkgYpos", 55);
Set("variables:characterXpos", 125);
Set("variables:characterYpos", 252.4);
Symbol 2860 MovieClip Frame 315
_parent.hitzone.platform7._x = 2426.65;
_parent.hitzone.platform7._y = -145.8;
Symbol 2860 MovieClip Frame 322
_parent.hitzone.platform2._x = 2339.45;
_parent.hitzone.platform2._y = -430.5;
_parent.hitzone.platform3._x = 2515.45;
_parent.hitzone.platform3._y = -486;
_parent.hitzone.platform4._x = 2566.9;
_parent.hitzone.platform4._y = -399;
aku._y = aku._y - 290;
aku.gotoAndPlay("comeBack");
Set("variables:bkgYpos", 55);
Set("variables:characterXpos", 110);
Set("variables:characterYpos", 235);
stop();
Instance of Symbol 464 MovieClip "hitLeft" in Symbol 2860 MovieClip Frame 322
onClipEvent (load) {
Object.prototype.hitLeft = this;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character)) {
hit = true;
} else {
hit = false;
}
}
Instance of Symbol 464 MovieClip "hitMiddle" in Symbol 2860 MovieClip Frame 322
onClipEvent (load) {
Object.prototype.hitMiddle = this;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character)) {
hit = true;
} else {
hit = false;
}
}
Instance of Symbol 464 MovieClip "hitRight" in Symbol 2860 MovieClip Frame 322
onClipEvent (load) {
Object.prototype.hitRight = this;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character)) {
hit = true;
} else {
hit = false;
}
}
Symbol 2860 MovieClip Frame 325
_parent.hitzone.platform1._x = 5000;
_parent.hitzone.platform5._x = 5000;
Set("variables:bkgYpos", 290);
Set("variables:characterYpos", 272.4);
Symbol 2860 MovieClip Frame 326
Set("variables:baliseUpXpos", 176.7);
Set("variables:baliseUpYpos", 109.8);
Set("variables:baliseDownXpos", 187.85);
Set("variables:baliseDownYpos", 251.7);
_parent._parent.baliseUp._x = 176.7;
_parent._parent.baliseUp._y = 169.8;
_parent._parent.baliseDown._x = 187.85;
_parent._parent.baliseDown._y = 251.7;
Symbol 2860 MovieClip Frame 385
_parent.hitzone.platform1._x = 2432.9;
_parent.hitzone.platform1._y = -183.1;
Set("variables:bkgYpos", 290);
Set("variables:characterXpos", 163);
Set("variables:characterYpos", 122.4);
Symbol 2860 MovieClip Frame 423
_parent.hitzone.platform1._x = 2568.85;
_parent.hitzone.platform1._y = -259.05;
Symbol 2860 MovieClip Frame 461
_parent.hitzone.platform1._x = 2376.95;
_parent.hitzone.platform1._y = -287.05;
Set("variables:bkgYpos", 380);
Set("variables:characterYpos", 180);
Symbol 2860 MovieClip Frame 498
_parent.hitzone.platform1._x = 2329;
_parent.hitzone.platform1._y = -379;
Symbol 2860 MovieClip Frame 533
_parent.hitzone.platform2._x = 5000;
_parent.hitzone.platform3._x = 5000;
_parent.hitzone.platform4._x = 5000;
Set("variables:characterXpos", 103);
Set("variables:characterYpos", 220);
Set("variables:bkgYpos", 410);
Symbol 2860 MovieClip Frame 535
_parent.hitzone.platform8._x = 2440.45;
_parent.hitzone.platform8._y = -430;
Symbol 2860 MovieClip Frame 536
aku._y = aku._y - 360;
aku.gotoAndPlay("comeBack");
Set("variables:baliseUpXpos", 176.7);
Set("variables:baliseUpYpos", 52.8);
Set("variables:baliseDownXpos", 187.85);
Set("variables:baliseDownYpos", 341.7);
Set("variables:baliseLeftXpos", 16.7);
Set("variables:baliseLeftYpos", 219.8);
Set("variables:baliseRightXpos", 407.85);
Set("variables:baliseRightYpos", 271.7);
_parent._parent.baliseUp._x = 176.7;
_parent._parent.baliseUp._y = 52.8;
_parent._parent.baliseDown._x = 187.85;
_parent._parent.baliseDown._y = 341.7;
_parent._parent.baliseLeft._x = 16.7;
_parent._parent.baliseLeft._y = 219.8;
_parent._parent.baliseRight._x = 407.85;
_parent._parent.baliseRight._y = 271.7;
stop();
Instance of Symbol 464 MovieClip "hitLeft" in Symbol 2860 MovieClip Frame 536
onClipEvent (load) {
Object.prototype.hitLeft = this;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character)) {
hit = true;
} else {
hit = false;
}
}
Instance of Symbol 464 MovieClip "hitMiddle" in Symbol 2860 MovieClip Frame 536
onClipEvent (load) {
Object.prototype.hitMiddle = this;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character)) {
hit = true;
} else {
hit = false;
}
}
Instance of Symbol 464 MovieClip "hitRight" in Symbol 2860 MovieClip Frame 536
onClipEvent (load) {
Object.prototype.hitRight = this;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character)) {
hit = true;
} else {
hit = false;
}
}
Symbol 2891 MovieClip Frame 1
stop();
Symbol 2891 MovieClip Frame 2
_parent.hitPoint = _parent.hitPoint - 2;
Symbol 2927 MovieClip Frame 1
stop();
Symbol 2927 MovieClip Frame 2
_parent.hitPoint = _parent.hitPoint - 2;
Symbol 3073 MovieClip Frame 107
variables.hitEnemy = false;
Instance of Symbol 2560 MovieClip "hurt" in Symbol 3073 MovieClip Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Symbol 3073 MovieClip Frame 125
rdMove = Math.ceil(Math.random() * 10);
if (state == 1) {
if (hitPoint <= 0) {
state = 2;
hitPoint = 60;
gotoAndPlay (501);
} else if (rdMove <= 8) {
if (hitRight.hit == true) {
gotoAndPlay (126);
} else if (hitMiddle.hit == true) {
gotoAndPlay (180);
} else if (hitLeft.hit == true) {
gotoAndPlay (154);
}
} else {
gotoAndPlay (107);
}
} else if (state == 2) {
trace(rdMove);
if (hitPoint <= 0) {
state = 3;
hitPoint = 60;
gotoAndPlay (501);
} else if (rdMove <= 8) {
if (hitRight.hit == true) {
gotoAndPlay (315);
} else if (hitMiddle.hit == true) {
gotoAndPlay (219);
} else if (hitLeft.hit == true) {
gotoAndPlay (266);
}
} else if (rdMove >= 9) {
if (hitRight.hit == true) {
gotoAndPlay (126);
} else if (hitMiddle.hit == true) {
gotoAndPlay (180);
} else if (hitLeft.hit == true) {
gotoAndPlay (154);
}
}
} else if (state == 3) {
trace(rdMove);
if (hitPoint <= 0) {
_parent._parent.gotoAndStop("cutsceneAKU");
}
if (hitRight.hit == true) {
gotoAndPlay (455);
} else if (hitMiddle.hit == true) {
gotoAndPlay (363);
} else if (hitLeft.hit == true) {
gotoAndPlay (409);
}
}
Instance of Symbol 2878 MovieClip in Symbol 3073 MovieClip Frame 126
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2878 MovieClip in Symbol 3073 MovieClip Frame 128
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2874 MovieClip in Symbol 3073 MovieClip Frame 128
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2876 MovieClip in Symbol 3073 MovieClip Frame 128
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2891 MovieClip in Symbol 3073 MovieClip Frame 128
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2878 MovieClip in Symbol 3073 MovieClip Frame 142
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2874 MovieClip in Symbol 3073 MovieClip Frame 142
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2895 MovieClip in Symbol 3073 MovieClip Frame 142
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2878 MovieClip in Symbol 3073 MovieClip Frame 143
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2876 MovieClip in Symbol 3073 MovieClip Frame 143
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2899 MovieClip in Symbol 3073 MovieClip Frame 143
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2878 MovieClip in Symbol 3073 MovieClip Frame 144
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2874 MovieClip in Symbol 3073 MovieClip Frame 144
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2876 MovieClip in Symbol 3073 MovieClip Frame 144
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2891 MovieClip in Symbol 3073 MovieClip Frame 144
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2874 MovieClip in Symbol 3073 MovieClip Frame 152
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Symbol 3073 MovieClip Frame 153
gotoAndPlay (107);
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 156
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2891 MovieClip in Symbol 3073 MovieClip Frame 158
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2911 MovieClip in Symbol 3073 MovieClip Frame 168
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2891 MovieClip in Symbol 3073 MovieClip Frame 168
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2913 MovieClip in Symbol 3073 MovieClip Frame 169
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2915 MovieClip in Symbol 3073 MovieClip Frame 170
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Symbol 3073 MovieClip Frame 179
gotoAndPlay (107);
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 180
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2927 MovieClip in Symbol 3073 MovieClip Frame 197
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2935 MovieClip in Symbol 3073 MovieClip Frame 198
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Symbol 3073 MovieClip Frame 218
gotoAndPlay (107);
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 219
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 221
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 238
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2962 MovieClip in Symbol 3073 MovieClip Frame 238
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Symbol 3073 MovieClip Frame 265
gotoAndPlay (107);
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 266
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 268
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 285
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2962 MovieClip in Symbol 3073 MovieClip Frame 285
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 311
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Symbol 3073 MovieClip Frame 312
gotoAndPlay (107);
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 334
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre) && (variables.attackInProgress)) {
play();
}
}
Instance of Symbol 2962 MovieClip in Symbol 3073 MovieClip Frame 334
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Symbol 3073 MovieClip Frame 361
gotoAndPlay (107);
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 363
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre)) {
play();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 370
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre)) {
play();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 378
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre)) {
play();
}
}
Instance of Symbol 2970 MovieClip in Symbol 3073 MovieClip Frame 384
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2970 MovieClip in Symbol 3073 MovieClip Frame 384
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 404
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre)) {
play();
}
}
Symbol 3073 MovieClip Frame 408
gotoAndPlay (107);
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 416
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre)) {
play();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 424
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre)) {
play();
}
}
Instance of Symbol 464 MovieClip in Symbol 3073 MovieClip Frame 434
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 450
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre)) {
play();
}
}
Symbol 3073 MovieClip Frame 454
gotoAndPlay (107);
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 462
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre)) {
play();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 470
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre)) {
play();
}
}
Instance of Symbol 2970 MovieClip in Symbol 3073 MovieClip Frame 476
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2970 MovieClip in Symbol 3073 MovieClip Frame 476
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.hitzone) and (!variables.hitEnemy)) {
fonctions.characterHitType1();
}
}
Instance of Symbol 2560 MovieClip in Symbol 3073 MovieClip Frame 496
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.character.character.character.sabre)) {
play();
}
}
Symbol 3073 MovieClip Frame 500
gotoAndPlay (107);
Symbol 3073 MovieClip Frame 536
_parent.lava.play();
stop();
Symbol 3073 MovieClip Frame 575
gotoAndPlay (107);
Symbol 3074 MovieClip Frame 1
hitZone._visible = false;
Instance of Symbol 3073 MovieClip "aku" in Symbol 3074 MovieClip Frame 1
onClipEvent (load) {
Object.prototype.aku = this;
state = 1;
hitPoint = 60;
}
Symbol 3195 Button
on (release) {
tellTarget (_root) {
gotoAndStop ("begin");
};
}
Symbol 3196 MovieClip Frame 337
stop();