Frame 1
Stage.showMenu = false;
_focusrect = false;
stop();
Instance of Symbol 96 MovieClip in Frame 1
onClipEvent (load) {
function verify() {
var _local2 = _parent.getBytesLoaded();
if (_local2 >= TotalBytes) {
_parent.gotoAndStop("Intro");
} else {
Percent = Math.round((_local2 / TotalBytes) * 100);
_parent.LoadingBar.gotoAndStop(Percent);
_parent.LoadingBar.percent_txt.text = Percent;
_parent.LoadingBar.percentO_txt.text = Percent;
}
}
var TotalBytes = _parent.getBytesTotal();
var Percent = 0;
}
onClipEvent (enterFrame) {
verify();
}
Instance of Symbol 140 MovieClip in Frame 3
onClipEvent (load) {
function fPlay() {
nLevel = 1;
nScore = 0;
_global.Transit.gotoAndPlay("Launch");
}
function PasteScore() {
_parent.pointtxt.text = formatScore(nScore);
_parent.pointtxtO.text = formatScore(nScore);
}
function formatScore(nbre) {
if (nbre >= 1000) {
var _local3 = String(Math.floor(nbre / 1000));
var _local1 = String(nbre - (Number(_local3) * 1000));
if (_local1 < 10) {
_local1 = "00" + _local1;
} else if (_local1 < 100) {
_local1 = "0" + _local1;
}
return((_local3 + ",") + _local1);
}
return(String(nbre));
}
function AddPoint(nPoint) {
nScore = nScore + nPoint;
}
function ftransitReset() {
if (_global.PopUp._currentframe != 1) {
_global.PopUp.gotoAndStop("Hidden");
}
_parent.gotoAndStop("Reset");
}
function ftransitClosing() {
if (nLevel > NTotLevel) {
_parent.gotoAndStop("Win");
} else if (bGameOver) {
_parent.gotoAndStop("Lose");
} else {
_parent.gotoAndStop(String("Level" + nLevel));
}
}
function fTransitEnd() {
_global.Transit.gotoAndStop("Hidden");
fUnPause();
}
function fInstruc(inGame) {
bInGame = inGame;
_global.PopUp.gotoAndStop("Instruction");
fPause();
}
function fNextBtn() {
_global.PopUp.nextFrame();
}
function fPrevBtn() {
_global.PopUp.prevFrame();
}
function fEndGame(success) {
i = 1;
while (i < 5) {
_parent["Pers" + i].Anim.stop();
i++;
}
i = 1;
while (i < 10) {
_parent["Obj" + i].Anim.stop();
i++;
}
_global.Sounds.PlayASound("robot", 1, 60, false);
_global.Sounds.PlayASound("plane", 1, 60, false);
_global.Sounds.PlayASound("spin", 1, 60, false);
fPause();
if (success == true) {
_global.PopUp.gotoAndStop("End" + nLevel);
} else {
bGameOver = true;
_global.Transit.gotoAndPlay("Launch");
}
}
function fContinue() {
nLevel++;
if (((nLevel == 2) || (nLevel == 3)) || (nLevel == 4)) {
_global.Transit.gotoAndPlay("Launched");
} else {
_global.Transit.gotoAndPlay("Launch");
}
}
function fResume() {
fUnPause();
_global.PopUp.gotoAndStop("Hidden");
}
function ftitleCard() {
bGameOver = false;
_parent.gotoAndStop("Intro");
}
function fSubmitScore() {
bScoreSumited = true;
_parent.gotoAndStop("HighScore");
}
function fViewScore() {
bScoreSumited = false;
_parent.gotoAndStop("HighScore");
}
function QuitAsk(Enter) {
if (Enter) {
_global.QuitAsker.gotoAndPlay("Open");
fPause();
} else {
fUnPause();
}
}
function fSubmitedInpage() {
_global.HS.submitScore(nScore);
_parent.btn_submit_score._visible = false;
}
function fPausePress() {
if (_global.Paused) {
fUnPause();
} else {
fPause();
}
}
function fPause() {
i = 1;
while (i < 5) {
_parent["Pers" + i].Anim.stop();
i++;
}
i = 1;
while (i < 10) {
_parent["Obj" + i].Anim.stop();
i++;
}
_global.Paused = true;
_global.Sounds.SwitchToPack();
_global.Sounds.EnterInstruc(true);
_parent.Robot.Side_mc.Anim.File.stop();
_parent.Robot.Side_mc.Anim.File.attackLoop.armL.stop();
_parent.Robot.Side_mc.Anim.File.attackLoop.armR.stop();
}
function fUnPause() {
i = 1;
while (i < 5) {
if (_parent["Pers" + i].Anim._currentframe != 1) {
_parent["Pers" + i].Anim.play();
}
i++;
}
i = 1;
while (i < 10) {
if (_parent["Obj" + i].Anim._currentframe != 1) {
_parent["Obj" + i].Anim.play();
}
i++;
}
_global.Paused = false;
_global.Sounds.SwitchToInGame();
_global.Sounds.EnterInstruc(false);
_parent.Robot.Side_mc.Anim.File.play();
_parent.Robot.Side_mc.Anim.File.attackLoop.armL.play();
_parent.Robot.Side_mc.Anim.File.attackLoop.armR.play();
}
_global.C = this;
_global.Paused = true;
var nLevel;
var bInGame;
var bGameOver = false;
var NTotLevel = 3;
var bScoreSumited;
var nScore = 0;
}
Instance of Symbol 281 MovieClip in Frame 3
onClipEvent (load) {
_global.PopUp = this;
}
Instance of Symbol 293 MovieClip in Frame 3
onClipEvent (load) {
_global.Transit = this;
}
Instance of Symbol 295 MovieClip in Frame 3
onClipEvent (load) {
function getScores() {
if (G_TestHighScore == true) {
}
if (gProxyObj == undefined) {
if (G_TestHighScore == true) {
}
listScores();
} else {
if (G_TestHighScore == true) {
}
gProxyObj.getScores(cbFunc2);
}
}
function submitScore(theScore) {
if (G_TestHighScore == true) {
}
gProxyObj.submitScore(theScore, cbFunc);
}
function initHiScores() {
if (G_TestHighScore == true) {
}
gProxyObj.setGame_Id("xs_robo");
}
function getScoreString() {
var _local5 = "Oops! The high score list isn't available right now!";
var _local8 = 30;
if (gProxyObj != undefined) {
var _local7 = gProxyObj.getScoreCount();
if (_local7 > 0) {
var _local1;
var _local6;
var _local3;
var _local4;
_local5 = "";
_local1 = 0;
while (_local1 < _local7) {
_local6 = gProxyObj.getScoreItem(_local1);
_local3 = _local6[0];
_local4 = fStyleNumber(_local6[1]);
spaceNb = ((_local8 - _local3.length) - _local4.length) - 4;
spaceTXT = "";
var _local2 = 0;
while (_local2 < spaceNb) {
spaceTXT = spaceTXT + " ";
_local2++;
}
if (_local1 < 9) {
_local5 = _local5 + ((((((_local1 + 1) + " ") + _local3) + spaceTXT) + _local4) + newline);
} else if (_local1 < 99) {
_local5 = _local5 + ((((((_local1 + 1) + " ") + _local3) + spaceTXT) + _local4) + newline);
} else {
_local5 = _local5 + ((((((_local1 + 1) + " ") + _local3) + spaceTXT) + _local4) + newline);
}
_local1++;
}
} else {
_local5 = "Whoops, the high scores seem to have escaped!";
}
}
if (G_TestHighScore == true) {
}
return(_local5);
}
function listScores() {
if (G_TestHighScore == true) {
}
_parent.txt_highScore.text = getScoreString();
}
function cbFunc(thisBool) {
if (thisBool) {
listScores();
} else {
if (G_TestHighScore == true) {
}
_parent.txt_highScore.text = "Oops! The high score list isn\u2019t available right now!";
}
}
function cbFunc2(thisBool) {
if (thisBool) {
listScores();
} else {
_parent.txt_highScore.text = "Oops! The high score list isn\u2019t available right now!";
}
}
function fStyleNumber(_nNumber, _nMinimumChar) {
_sNumber = String(_nNumber);
_sNewString = "";
_nlength = _sNumber.length;
_nlength = _nlength / 3;
if (_nlength <= 1) {
_sNewNumber = _sNumber;
if (_sNewNumber.length < _nMinimumChar) {
_sNewNumber = "0" + _sNewNumber;
}
return(_sNewNumber);
}
_nLoop = _nlength;
while (_nLoop > 1) {
_sNewString = (" " + _sNumber.substr(-3)) + _sNewString;
_sNumber = _sNumber.substr(0, -3);
_nLoop--;
}
_sNewNumber = _sNumber + _sNewString;
if (_sNewNumber.length < _nMinimumChar) {
_sNewNumber = "0" + _sNewNumber;
}
return(_sNewNumber);
}
_global.HS = this;
var G_ShowHighScore = true;
var G_TestHighScore = false;
if (G_TestHighScore == true) {
gProxyObj.setServer("www.nick-q.mtvi.com");
gProxyObj.setScreenName("DanQuiTest");
gProxyObj.setIsLoggedIn(true);
}
}
Instance of Symbol 297 MovieClip in Frame 3
onClipEvent (load) {
function ToMute() {
_global.Muted = true;
this.onEnterFrame = function () {
if (SetVolumePack > 0) {
SetVolumePack = SetVolumePack - 5;
packMusic.setVolume(SetVolumePack);
}
if (SetVolumeInG > 0) {
SetVolumeInG = SetVolumeInG - 5;
gameMusic.setVolume(SetVolumeInG);
}
if ((SetVolumePack == 0) && (SetVolumeInG == 0)) {
spin.setVolume(0);
robot.setVolume(0);
plane.setVolume(0);
delete onEnterFrame;
}
};
}
function EnterInstruc(into) {
if (into == true) {
spin.setVolume(0);
robot.setVolume(0);
plane.setVolume(0);
} else if (!_global.Muted) {
spin.setVolume(60);
robot.setVolume(60);
plane.setVolume(60);
}
}
function UnMute() {
_global.Muted = false;
this.onEnterFrame = function () {
if ((SetVolumePack < 60) && (musicIn == "Packaging")) {
SetVolumePack = SetVolumePack + 5;
packMusic.setVolume(SetVolumePack);
}
if ((SetVolumeInG < 60) && (musicIn == "InGame")) {
SetVolumeInG = SetVolumeInG + 5;
gameMusic.setVolume(SetVolumeInG);
}
if ((SetVolumePack == 60) || (SetVolumeInG == 60)) {
spin.setVolume(60);
robot.setVolume(60);
plane.setVolume(60);
delete onEnterFrame;
}
};
}
function SwitchToPack() {
musicIn = "Packaging";
this.onEnterFrame = function () {
if (_global.Muted) {
delete onEnterFrame;
} else {
if (SetVolumePack < 80) {
SetVolumePack = SetVolumePack + 5;
packMusic.setVolume(SetVolumePack);
}
if (SetVolumeInG > 0) {
SetVolumeInG = SetVolumeInG - 5;
gameMusic.setVolume(SetVolumeInG);
}
if ((SetVolumePack == 80) && (SetVolumeInG == 0)) {
delete onEnterFrame;
}
}
};
}
function SwitchToInGame() {
musicIn = "InGame";
this.onEnterFrame = function () {
if (_global.Muted) {
delete onEnterFrame;
} else {
if (SetVolumeInG < 80) {
SetVolumeInG = SetVolumeInG + 5;
gameMusic.setVolume(SetVolumeInG);
}
if (SetVolumePack > 0) {
SetVolumePack = SetVolumePack - 5;
packMusic.setVolume(SetVolumePack);
}
if ((SetVolumeInG == 80) && (SetVolumePack == 0)) {
delete onEnterFrame;
}
}
};
}
function PlayASound(WitchSound, nloop, nVolume, PlaySound) {
if (PlaySound == undefined) {
PlaySound = true;
}
if (PlaySound == true) {
if (nloop == undefined) {
nloop = 1;
}
if (nVolume == undefined) {
nVolume = 100;
}
if (!_global.Muted) {
if (eval (WitchSound + "Nb") == 1) {
eval (WitchSound).start(0, nloop);
eval (WitchSound).setVolume(nVolume);
} else {
nbr = random(eval (WitchSound + "Nb")) + 1;
eval (WitchSound + nbr).start(0, nloop);
eval (WitchSound + nbr).setVolume(nVolume);
}
}
} else if (eval (WitchSound + "Nb") == 1) {
eval (WitchSound).stop();
} else {
i = 1;
while (i < eval (WitchSound + "Nb")) {
eval (WitchSound + nbr).stop();
i++;
}
}
}
_global.Sounds = this;
_global.Muted = false;
var SetVolumeInG;
var SetVolumePack;
var musicIn;
this.createEmptyMovieClip("packMusic", 1);
packMusic = new Sound("packMusic");
packMusic.attachSound("packMusic");
this.createEmptyMovieClip("gameMusic", 2);
gameMusic = new Sound("gameMusic");
gameMusic.attachSound("gameMusic");
packMusic.start(0, 1000000);
gameMusic.start(0, 1000000);
SetVolumePack = 60;
SetVolumeInG = 0;
musicIn = "Packaging";
packMusic.setVolume(SetVolumePack);
gameMusic.setVolume(SetVolumeInG);
this.createEmptyMovieClip("glass", 3);
glass = new Sound("glass");
glass.attachSound("glass");
glassNb = 1;
this.createEmptyMovieClip("mrx", 4);
mrx = new Sound("mrx");
mrx.attachSound("mrx");
mrxNb = 1;
this.createEmptyMovieClip("mrsx", 5);
mrsx = new Sound("mrsx");
mrsx.attachSound("mrsx");
mrsxNb = 1;
this.createEmptyMovieClip("porte1", 7);
porte1 = new Sound("porte1");
porte1.attachSound("porte1");
this.createEmptyMovieClip("porte2", 8);
porte2 = new Sound("porte2");
porte2.attachSound("porte2");
this.createEmptyMovieClip("porte3", 9);
porte3 = new Sound("porte3");
porte3.attachSound("porte3");
porteNb = 3;
this.createEmptyMovieClip("thur", 10);
thur = new Sound("thur");
thur.attachSound("thur");
thurNb = 1;
this.createEmptyMovieClip("tru", 12);
tru = new Sound("tru");
tru.attachSound("tru");
truNb = 1;
this.createEmptyMovieClip("plane", 13);
plane = new Sound("plane");
plane.attachSound("plane");
planeNb = 1;
this.createEmptyMovieClip("missil", 14);
missil = new Sound("missil");
missil.attachSound("missil");
missilNb = 1;
this.createEmptyMovieClip("buch", 15);
buch = new Sound("buch");
buch.attachSound("buch");
buchNb = 1;
this.createEmptyMovieClip("spark", 16);
spark = new Sound("spark");
spark.attachSound("spark");
sparkNb = 1;
this.createEmptyMovieClip("coach", 17);
coach = new Sound("coach");
coach.attachSound("coach");
coachNb = 1;
this.createEmptyMovieClip("horloge", 18);
horloge = new Sound("horloge");
horloge.attachSound("horloge");
horlogeNb = 1;
this.createEmptyMovieClip("livre", 19);
livre = new Sound("livre");
livre.attachSound("livre");
livreNb = 1;
this.createEmptyMovieClip("mixer", 20);
mixer = new Sound("mixer");
mixer.attachSound("mixer");
mixerNb = 1;
this.createEmptyMovieClip("poubelle", 22);
poubelle = new Sound("poubelle");
poubelle.attachSound("poubelle");
poubelleNb = 1;
this.createEmptyMovieClip("attack", 24);
attack = new Sound("attack");
attack.attachSound("attack");
attackNb = 1;
this.createEmptyMovieClip("die", 25);
die = new Sound("die");
die.attachSound("die");
dieNb = 1;
this.createEmptyMovieClip("robot", 26);
robot = new Sound("robot");
robot.attachSound("robot");
robotNb = 1;
this.createEmptyMovieClip("skate", 27);
skate = new Sound("skate");
skate.attachSound("skate");
skateNb = 1;
this.createEmptyMovieClip("spin", 28);
spin = new Sound("spin");
spin.attachSound("spin");
spinNb = 1;
this.createEmptyMovieClip("splash", 29);
splash = new Sound("splash");
splash.attachSound("splash");
splashNb = 1;
this.createEmptyMovieClip("tarte", 30);
tarte = new Sound("tarte");
tarte.attachSound("tarte");
tarteNb = 1;
this.createEmptyMovieClip("toaster", 31);
toaster = new Sound("toaster");
toaster.attachSound("toaster");
toasterNb = 1;
this.createEmptyMovieClip("tondeuse", 32);
tondeuse = new Sound("tondeuse");
tondeuse.attachSound("tondeuse");
tondeuseNb = 1;
this.createEmptyMovieClip("lazer", 37);
lazer = new Sound("lazer");
lazer.attachSound("lazer");
lazerNb = 1;
this.createEmptyMovieClip("cporte1", 33);
cporte1 = new Sound("cporte1");
cporte1.attachSound("cporte1");
this.createEmptyMovieClip("cporte2", 34);
cporte2 = new Sound("cporte2");
cporte2.attachSound("cporte2");
this.createEmptyMovieClip("cporte3", 35);
cporte3 = new Sound("cporte3");
cporte3.attachSound("cporte3");
this.createEmptyMovieClip("cporte4", 36);
cporte4 = new Sound("cporte4");
cporte4.attachSound("cporte4");
cporteNb = 4;
this.createEmptyMovieClip("hurt", 38);
hurt = new Sound("hurt");
hurt.attachSound("hurt");
hurtNb = 1;
this.createEmptyMovieClip("destroy", 39);
destroy = new Sound("destroy");
destroy.attachSound("destroy");
destroyNb = 1;
this.createEmptyMovieClip("swish1", 40);
swish1 = new Sound("swish1");
swish1.attachSound("swish1");
this.createEmptyMovieClip("swish2", 41);
swish2 = new Sound("swish2");
swish2.attachSound("porte2");
swishNb = 3;
this.createEmptyMovieClip("btn", 42);
btn = new Sound("btn");
btn.attachSound("btn");
btnNb = 1;
this.createEmptyMovieClip("splashsink", 43);
splashsink = new Sound("splashsink");
splashsink.attachSound("splashsink");
splashsinkNb = 1;
this.createEmptyMovieClip("splashfish", 44);
splashfish = new Sound("splashfish");
splashfish.attachSound("splashfish");
splashfishNb = 1;
}
Instance of Symbol 299 MovieClip in Frame 3
on (keyPress "<Left>") {
return(undefined);
}
on (keyPress "<Right>") {
return(undefined);
}
on (keyPress "<Up>") {
return(undefined);
}
on (keyPress "<Down>") {
return(undefined);
}
Frame 10
_global.Sounds.SwitchToPack();
Frame 20
_global.Sounds.SwitchToInGame();
timeBeforeOut = 200;
timeSpendOut = 250;
timeBetweenSpin = 500;
noBtn.useHandCursor = false;
Instance of Symbol 320 MovieClip "MuteSymbol" in Frame 20
onClipEvent (load) {
if (_global.Muted) {
gotoAndStop (2);
} else {
stop();
}
}
Instance of Symbol 407 MovieClip "Obj6" in Frame 20
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 7;
FrEndAttack = 10;
StartRobotZone = 17;
EndRobotZone = 19;
nDamage = 0.25;
robotPos = 5;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 418 MovieClip "Obj8" in Frame 20
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 14;
FrEndAttack = 17;
StartRobotZone = 7;
EndRobotZone = 10;
nDamage = 0.25;
robotPos = 3;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 442 MovieClip "Obj9" in Frame 20
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 23;
FrEndAttack = 25;
StartRobotZone = 4;
EndRobotZone = 5;
nDamage = 0.25;
robotPos = 3;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 450 MovieClip "Obj7" in Frame 20
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 23;
FrEndAttack = 26;
StartRobotZone = 47;
EndRobotZone = 49;
nDamage = 0.25;
robotPos = 1;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 475 MovieClip "Pers3" in Frame 20
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 8;
FrEndAttack = 10;
StartRobotZone = 31;
EndRobotZone = 33;
nDamage = 0.5;
robotPos = 7;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 535 MovieClip "Pers2" in Frame 20
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 5;
FrEndAttack = 8;
StartRobotZone = 20;
EndRobotZone = 23;
nDamage = 0.5;
robotPos = 5;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 602 MovieClip "Pers4" in Frame 20
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 13;
FrEndAttack = 15;
StartRobotZone = 23;
EndRobotZone = 26;
nDamage = 0.5;
robotPos = 5;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 622 MovieClip "Obj5" in Frame 20
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 10;
FrEndAttack = 15;
StartRobotZone = 27;
EndRobotZone = 29;
nDamage = 0.25;
robotPos = 5;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 673 MovieClip "Pers1" in Frame 20
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 12;
FrEndAttack = 14;
StartRobotZone = 1;
EndRobotZone = 3;
nDamage = 0.5;
robotPos = 3;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 694 MovieClip "Obj2" in Frame 20
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 9;
FrEndAttack = 17;
StartRobotZone = 31;
EndRobotZone = 32;
nDamage = 0.25;
robotPos = 5;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 706 MovieClip "Obj1" in Frame 20
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 11;
FrEndAttack = 21;
StartRobotZone = 33;
EndRobotZone = 35;
nDamage = 0.25;
robotPos = 5;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 380 MovieClip "Robot" in Frame 20
onClipEvent (load) {
function Actions() {
this[Etat]();
}
function Moving() {
this.nextFrame();
checkSide();
if (Zone != OldZone) {
OldZone = Zone;
checkAttack();
}
if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
}
function checkAttack() {
if (Zone == ZoneAttMrX) {
if (((_parent.Pers3.Etat != "IdleOut") && (_parent.Pers3.Etat != "PopOut")) && (_parent.Pers3.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers3;
this.Side_mc.gotoAndStop(possAttMrX);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
} else if (Zone == ZoneAttMrsX) {
if (((_parent.Pers2.Etat != "IdleOut") && (_parent.Pers2.Etat != "PopOut")) && (_parent.Pers2.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers2;
this.Side_mc.gotoAndStop(possAttMrsX);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
} else if (Zone == ZoneAttThur) {
if (((_parent.Pers4.Etat != "IdleOut") && (_parent.Pers4.Etat != "PopOut")) && (_parent.Pers4.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers4;
this.Side_mc.gotoAndStop(possAttThur);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
} else if (Zone == ZoneAttThru) {
if (((_parent.Pers1.Etat != "IdleOut") && (_parent.Pers1.Etat != "PopOut")) && (_parent.Pers1.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers1;
this.Side_mc.gotoAndStop(possAttThru);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
}
}
function Attaking() {
hitTime++;
if (hitTime >= 30) {
hitTime = 0;
nTimeHit++;
hurtTarget();
}
if (nTimeHit >= hitPerLevel) {
Etat = "Moving";
releaseTarget();
}
}
function hurtTarget() {
myTarget.gotoAndStop("Hurt");
myTarget.Etat = "Hurt";
myTarget.nlife = myTarget.nlife - 1;
_global.Hud.ajustLife();
if (myTarget.nlife <= 0) {
if (Etat == "Attaking") {
Etat = "Moving";
}
myTarget.Etat = "Dead";
myTarget.gotoAndStop("Die");
}
}
function releaseTarget() {
if (myTarget.Etat == "Hurt") {
if (myTarget.LockOut == 0) {
myTarget.Etat = "PopOut";
myTarget.gotoAndStop("PopOut");
} else {
myTarget.Etat = "IdlePopIn";
myTarget.gotoAndStop("IdlePopIn");
}
}
}
function Spin() {
this.nextFrame();
checkSide();
if (Zone != OldZone) {
OldZone = Zone;
if (Zone == ZoneAttMrX) {
if (((_parent.Pers3.Etat != "IdleOut") && (_parent.Pers3.Etat != "PopOut")) && (_parent.Pers3.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers3;
hurtTarget();
myTarget.unHurtAfter(12);
}
} else if (Zone == ZoneAttMrsX) {
if (((_parent.Pers2.Etat != "IdleOut") && (_parent.Pers2.Etat != "PopOut")) && (_parent.Pers2.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers2;
hurtTarget();
myTarget.unHurtAfter(12);
}
} else if (Zone == ZoneAttThur) {
if (((_parent.Pers4.Etat != "IdleOut") && (_parent.Pers4.Etat != "PopOut")) && (_parent.Pers4.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers4;
hurtTarget();
myTarget.unHurtAfter(12);
}
} else if (Zone == ZoneAttThru) {
if (((_parent.Pers1.Etat != "IdleOut") && (_parent.Pers1.Etat != "PopOut")) && (_parent.Pers1.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers1;
hurtTarget();
myTarget.unHurtAfter(12);
}
}
}
if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
this.Side_mc.Anim.gotoAndStop("CrazyMode");
timeSpin++;
if (timeSpin == timeSpinMax) {
_global.Sounds.PlayASound("spin", 1, 60, false);
timeSpin = 0;
Etat = "Moving";
}
}
function checkSide() {
if (this.Side_mc._currentframe != Number(side)) {
this.Side_mc.gotoAndStop(Number(side));
}
}
function receiveAttack(HurtZoneSt, HurtZoneNd, theDamage, TimeHurt, robotPose) {
if ((Etat == "Moving") || (Etat == "Attaking")) {
if ((this.Zone >= HurtZoneSt) && (this.Zone <= HurtZoneNd)) {
_global.Sounds.PlayASound("hurt", 1, 60, true);
this.nextFrame();
this.nextFrame();
_global.attackMiss = false;
TimeStunt = TimeHurt;
SpendStunt = 0;
Etat = "HurtRoll";
this.Side_mc.gotoAndStop(robotPose);
nlife = nlife - theDamage;
if (successHit <= 0) {
_global.C.AddPoint(250);
successHit++;
} else if (nlife > BringDown) {
_global.Bonus.gotoAndPlay(2);
_global.Bonus.Track.gotoAndStop(successHit);
_global.C.AddPoint(Number((successHit * 50) + 250));
successHit++;
} else {
_global.C.AddPoint(Number((successHit * 50) + 250));
}
if (nlife <= 0) {
Etat = "Dead";
this.Side_mc.Anim.gotoAndStop("Die");
} else if (nlife <= BringDown) {
this.Side_mc.gotoAndStop(5);
_global.C.fEndGame(true);
} else {
this.Side_mc.Anim.gotoAndStop("HurtRoll");
}
_global.Hud.ajustLife();
releaseTarget();
}
}
}
function Dead() {
if (this.Side_mc.Anim.File._currentframe == (this.Side_mc.Anim.File._totalframes - 1)) {
_global.C.fEndGame(true);
}
}
function HurtRoll() {
SpendStunt++;
if (SpendStunt >= TimeStunt) {
Etat = "Moving";
this.Side_mc.gotoAndStop(Number(side));
this.Side_mc.Anim.gotoAndStop("Moving");
}
}
possAttMrX = 3;
ZoneAttMrX = 10;
possAttMrsX = 3;
ZoneAttMrsX = 24;
possAttThur = 1;
ZoneAttThur = 2;
possAttThru = 3;
ZoneAttThru = 33;
BringDown = 22;
nlife = 30;
hitPerLevel = 5;
_global.Sounds.PlayASound("robot", 100000, 60, true);
var Etat = "Moving";
var OldZone = 1;
var myTarget;
var timeSpin = 0;
var timeSpinMax = 200;
var hitTime = 0;
var nTimeHit = 0;
var TimeStunt = 0;
var SpendStunt = 0;
var successHit = 0;
}
Instance of Symbol 719 MovieClip "Obj3" in Frame 20
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 39;
FrEndAttack = 41;
StartRobotZone = 34;
EndRobotZone = 36;
nDamage = 0.25;
robotPos = 7;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 743 MovieClip "Obj4" in Frame 20
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 14;
FrEndAttack = 25;
StartRobotZone = 39;
EndRobotZone = 45;
nDamage = 0.25;
robotPos = 7;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 764 MovieClip in Frame 20
onClipEvent (load) {
function ajustLife() {
this.Robot.gotoAndStop(Math.round(_parent.Robot.nlife + 1));
this.Thru.gotoAndStop(Math.round(_parent.Pers1.nlife));
this.MrsX.gotoAndStop(Math.round(_parent.Pers2.nlife));
this.MrX.gotoAndStop(Math.round(_parent.Pers3.nlife));
this.Thur.gotoAndStop(Math.round(_parent.Pers4.nlife));
this.pointtxt.text = _global.C.formatScore(_global.C.nScore);
}
_global.Hud = this;
ajustLife();
}
Instance of Symbol 769 MovieClip in Frame 20
onClipEvent (load) {
function CheckDeath() {
PersoArray = new Array();
if (_parent.Pers1.nlife > 0) {
PersoArray.push(_parent.Pers1);
}
if (_parent.Pers2.nlife > 0) {
PersoArray.push(_parent.Pers2);
}
if (_parent.Pers3.nlife > 0) {
PersoArray.push(_parent.Pers3);
}
if (_parent.Pers4.nlife > 0) {
PersoArray.push(_parent.Pers4);
}
if (PersoArray.length == 0) {
_global.C.fEndGame(false);
}
}
_global.GC = this;
var Pause = false;
var SpTimeBefOut = 0;
var SpTimeBetwSpin = 0;
var PersoArray;
PersoArray = [_parent.Pers1, _parent.Pers2, _parent.Pers3, _parent.Pers4];
}
onClipEvent (enterFrame) {
if (!_global.Paused) {
i = 1;
while (i < 5) {
_parent["Pers" + i].Actions();
i++;
}
i = 1;
while (i < 10) {
_parent["Obj" + i].Actions();
i++;
}
_parent.Robot.Actions();
if ((((_parent.Pers1.LockOut == 0) && (_parent.Pers2.LockOut == 0)) && (_parent.Pers3.LockOut == 0)) && (_parent.Pers4.LockOut == 0)) {
SpTimeBefOut++;
if (SpTimeBefOut == _parent.timeBeforeOut) {
SpTimeBefOut = 0;
PersoArray[random(PersoArray.length)].LockOut = _parent.timeSpendOut;
}
}
if (_parent.Robot.Etat == "Moving") {
SpTimeBetwSpin++;
if (SpTimeBetwSpin == _parent.timeBetweenSpin) {
SpTimeBetwSpin = 0;
_global.Sounds.PlayASound("spin", 10000, 60, true);
_parent.Robot.Etat = "Spin";
}
}
}
}
Instance of Symbol 824 MovieClip in Frame 20
onClipEvent (load) {
_global.Bonus = this;
}
Instance of Symbol 834 MovieClip in Frame 20
onClipEvent (load) {
_global.QuitAsker = this;
}
Frame 30
_global.Sounds.SwitchToInGame();
timeBeforeOut = 200;
timeSpendOut = 250;
timeBetweenSpin = 500;
noBtn.useHandCursor = false;
Instance of Symbol 846 MovieClip "Obj2" in Frame 30
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 10;
FrEndAttack = 15;
StartRobotZone = 20;
EndRobotZone = 22;
nDamage = 0.25;
robotPos = 1;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 866 MovieClip "Pers3" in Frame 30
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 9;
FrEndAttack = 11;
StartRobotZone = 39;
EndRobotZone = 41;
nDamage = 0.5;
robotPos = 1;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 889 MovieClip "Obj6" in Frame 30
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 17;
FrEndAttack = 19;
StartRobotZone = 15;
EndRobotZone = 17;
nDamage = 0.25;
robotPos = 3;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 899 MovieClip "Obj5" in Frame 30
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 16;
FrEndAttack = 20;
StartRobotZone = 11;
EndRobotZone = 13;
nDamage = 0.25;
robotPos = 3;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 915 MovieClip "Obj3" in Frame 30
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 3;
FrEndAttack = 12;
StartRobotZone = 48;
EndRobotZone = 50;
nDamage = 0.25;
robotPos = 1;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 934 MovieClip "Pers2" in Frame 30
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 6;
FrEndAttack = 9;
StartRobotZone = 16;
EndRobotZone = 20;
nDamage = 0.5;
robotPos = 5;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 945 MovieClip "Obj1" in Frame 30
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 10;
FrEndAttack = 15;
StartRobotZone = 43;
EndRobotZone = 44;
nDamage = 0.25;
robotPos = 7;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 964 MovieClip "Obj4" in Frame 30
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 7;
FrEndAttack = 13;
StartRobotZone = 40;
EndRobotZone = 41;
nDamage = 0.25;
robotPos = 3;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 992 MovieClip "Pers1" in Frame 30
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 12;
FrEndAttack = 14;
StartRobotZone = 5;
EndRobotZone = 7;
nDamage = 0.5;
robotPos = 3;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 995 MovieClip "Robot" in Frame 30
onClipEvent (load) {
function Actions() {
this[Etat]();
}
function Moving() {
this.nextFrame();
checkSide();
if (Zone != OldZone) {
OldZone = Zone;
checkAttack();
}
if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
}
function checkAttack() {
if (Zone == ZoneAttMrX) {
if (((_parent.Pers3.Etat != "IdleOut") && (_parent.Pers3.Etat != "PopOut")) && (_parent.Pers3.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers3;
this.Side_mc.gotoAndStop(possAttMrX);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
} else if (Zone == ZoneAttMrsX) {
if (((_parent.Pers2.Etat != "IdleOut") && (_parent.Pers2.Etat != "PopOut")) && (_parent.Pers2.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers2;
this.Side_mc.gotoAndStop(possAttMrsX);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
} else if (Zone == ZoneAttThur) {
if (((_parent.Pers4.Etat != "IdleOut") && (_parent.Pers4.Etat != "PopOut")) && (_parent.Pers4.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers4;
this.Side_mc.gotoAndStop(possAttThur);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
} else if (Zone == ZoneAttThru) {
if (((_parent.Pers1.Etat != "IdleOut") && (_parent.Pers1.Etat != "PopOut")) && (_parent.Pers1.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers1;
this.Side_mc.gotoAndStop(possAttThru);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
}
}
function Attaking() {
hitTime++;
if (hitTime >= 30) {
hitTime = 0;
nTimeHit++;
hurtTarget();
}
if (nTimeHit >= hitPerLevel) {
Etat = "Moving";
releaseTarget();
}
}
function hurtTarget() {
myTarget.gotoAndStop("Hurt");
myTarget.Etat = "Hurt";
myTarget.nlife = myTarget.nlife - 1;
_global.Hud.ajustLife();
if (myTarget.nlife <= 0) {
if (Etat == "Attaking") {
Etat = "Moving";
}
myTarget.Etat = "Dead";
myTarget.gotoAndStop("Die");
}
}
function releaseTarget() {
if (myTarget.Etat == "Hurt") {
if (myTarget.LockOut == 0) {
myTarget.Etat = "PopOut";
myTarget.gotoAndStop("PopOut");
} else {
myTarget.Etat = "IdlePopIn";
myTarget.gotoAndStop("IdlePopIn");
}
}
}
function Spin() {
this.nextFrame();
checkSide();
if (Zone != OldZone) {
OldZone = Zone;
if (Zone == ZoneAttMrX) {
if (((_parent.Pers3.Etat != "IdleOut") && (_parent.Pers3.Etat != "PopOut")) && (_parent.Pers3.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers3;
hurtTarget();
myTarget.unHurtAfter(12);
}
} else if (Zone == ZoneAttMrsX) {
if (((_parent.Pers2.Etat != "IdleOut") && (_parent.Pers2.Etat != "PopOut")) && (_parent.Pers2.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers2;
hurtTarget();
myTarget.unHurtAfter(12);
}
} else if (Zone == ZoneAttThur) {
if (((_parent.Pers4.Etat != "IdleOut") && (_parent.Pers4.Etat != "PopOut")) && (_parent.Pers4.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers4;
hurtTarget();
myTarget.unHurtAfter(12);
}
} else if (Zone == ZoneAttThru) {
if (((_parent.Pers1.Etat != "IdleOut") && (_parent.Pers1.Etat != "PopOut")) && (_parent.Pers1.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers1;
hurtTarget();
myTarget.unHurtAfter(12);
}
}
}
if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
this.Side_mc.Anim.gotoAndStop("CrazyMode");
timeSpin++;
if (timeSpin == timeSpinMax) {
_global.Sounds.PlayASound("spin", 1, 60, false);
timeSpin = 0;
Etat = "Moving";
}
}
function checkSide() {
if (this.Side_mc._currentframe != Number(side)) {
this.Side_mc.gotoAndStop(Number(side));
}
}
function receiveAttack(HurtZoneSt, HurtZoneNd, theDamage, TimeHurt, robotPose) {
if ((Etat == "Moving") || (Etat == "Attaking")) {
if ((this.Zone >= HurtZoneSt) && (this.Zone <= HurtZoneNd)) {
_global.Sounds.PlayASound("hurt", 1, 60, true);
this.nextFrame();
this.nextFrame();
_global.attackMiss = false;
TimeStunt = TimeHurt;
SpendStunt = 0;
Etat = "HurtRoll";
this.Side_mc.gotoAndStop(robotPose);
nlife = nlife - theDamage;
if (successHit <= 0) {
_global.C.AddPoint(250);
successHit++;
} else if (nlife > BringDown) {
_global.Bonus.gotoAndPlay(2);
_global.Bonus.Track.gotoAndStop(successHit);
_global.C.AddPoint(Number((successHit * 50) + 250));
successHit++;
} else {
_global.C.AddPoint(Number((successHit * 50) + 250));
}
if (nlife <= 0) {
Etat = "Dead";
this.Side_mc.Anim.gotoAndStop("Die");
} else if (nlife <= BringDown) {
this.Side_mc.gotoAndStop(5);
_global.C.fEndGame(true);
} else {
this.Side_mc.Anim.gotoAndStop("HurtRoll");
}
_global.Hud.ajustLife();
releaseTarget();
}
}
}
function Dead() {
if (this.Side_mc.Anim.File._currentframe == (this.Side_mc.Anim.File._totalframes - 1)) {
_global.C.fEndGame(true);
}
}
function HurtRoll() {
SpendStunt++;
if (SpendStunt >= TimeStunt) {
Etat = "Moving";
this.Side_mc.gotoAndStop(Number(side));
this.Side_mc.Anim.gotoAndStop("Moving");
}
}
possAttMrX = 3;
ZoneAttMrX = 16;
possAttMrsX = 3;
ZoneAttMrsX = 21;
possAttThur = 7;
ZoneAttThur = 6;
possAttThru = 5;
ZoneAttThru = 40;
BringDown = 12;
nlife = 22;
hitPerLevel = 4;
_global.Sounds.PlayASound("robot", 100000, 60, true);
var Etat = "Moving";
var OldZone = 1;
var myTarget;
var timeSpin = 0;
var timeSpinMax = 200;
var hitTime = 0;
var nTimeHit = 0;
var TimeStunt = 0;
var SpendStunt = 0;
var successHit = 0;
}
Instance of Symbol 1009 MovieClip "Pers4" in Frame 30
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 13;
FrEndAttack = 15;
StartRobotZone = 39;
EndRobotZone = 41;
nDamage = 0.5;
robotPos = 7;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 1037 MovieClip "Obj7" in Frame 30
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 9;
FrEndAttack = 22;
StartRobotZone = 24;
EndRobotZone = 24;
nDamage = 0.25;
robotPos = 5;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 1060 MovieClip "Obj8" in Frame 30
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 20;
FrEndAttack = 23;
StartRobotZone = 31;
EndRobotZone = 33;
nDamage = 0.25;
robotPos = 7;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 1066 MovieClip "Obj9" in Frame 30
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 20;
FrEndAttack = 23;
StartRobotZone = 60;
EndRobotZone = 62;
nDamage = 0.25;
robotPos = 5;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 764 MovieClip in Frame 30
onClipEvent (load) {
function ajustLife() {
this.Robot.gotoAndStop(Math.round(_parent.Robot.nlife + 1));
this.Thru.gotoAndStop(Math.round(_parent.Pers1.nlife));
this.MrsX.gotoAndStop(Math.round(_parent.Pers2.nlife));
this.MrX.gotoAndStop(Math.round(_parent.Pers3.nlife));
this.Thur.gotoAndStop(Math.round(_parent.Pers4.nlife));
this.pointtxt.text = _global.C.formatScore(_global.C.nScore);
}
_global.Hud = this;
ajustLife();
this.MrX.gotoAndStop(20);
this.MrsX.gotoAndStop(20);
this.Thur.gotoAndStop(20);
this.Thru.gotoAndStop(20);
this.Marqueur.gotoAndStop(2);
this.Robot.gotoAndStop(23);
}
Frame 40
_global.Sounds.SwitchToInGame();
timeBeforeOut = 200;
timeSpendOut = 250;
timeBetweenSpin = 500;
noBtn.useHandCursor = false;
Instance of Symbol 1084 MovieClip "Obj2" in Frame 40
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 10;
FrEndAttack = 15;
StartRobotZone = 44;
EndRobotZone = 46;
nDamage = 0.25;
robotPos = 3;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 1099 MovieClip "Pers2" in Frame 40
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 6;
FrEndAttack = 9;
StartRobotZone = 42;
EndRobotZone = 45;
nDamage = 0.5;
robotPos = 1;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 1117 MovieClip "Obj3" in Frame 40
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 12;
FrEndAttack = 20;
StartRobotZone = 74;
EndRobotZone = 77;
nDamage = 0.25;
robotPos = 3;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 1134 MovieClip "Pers3" in Frame 40
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 12;
FrEndAttack = 14;
StartRobotZone = 15;
EndRobotZone = 17;
nDamage = 0.5;
robotPos = 3;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 1159 MovieClip "Pers1" in Frame 40
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 7;
FrEndAttack = 10;
StartRobotZone = 45;
EndRobotZone = 47;
nDamage = 0.25;
robotPos = 7;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 1179 MovieClip "Obj1" in Frame 40
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 21;
FrEndAttack = 23;
StartRobotZone = 64;
EndRobotZone = 65;
nDamage = 0.25;
robotPos = 1;
_global.Sounds.PlayASound("plane", 1000000, 100, true);
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 1236 MovieClip "Obj7" in Frame 40
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 8;
FrEndAttack = 18;
StartRobotZone = 19;
EndRobotZone = 20;
nDamage = 0.25;
robotPos = 1;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 1255 MovieClip "Obj5" in Frame 40
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 18;
FrEndAttack = 21;
StartRobotZone = 32;
EndRobotZone = 32;
nDamage = 0.25;
robotPos = 5;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 1256 MovieClip "Robot" in Frame 40
onClipEvent (load) {
function Actions() {
this[Etat]();
}
function Moving() {
this.nextFrame();
checkSide();
if (Zone != OldZone) {
OldZone = Zone;
checkAttack();
}
if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
}
function checkAttack() {
if (Zone == ZoneAttMrX) {
if (((_parent.Pers3.Etat != "IdleOut") && (_parent.Pers3.Etat != "PopOut")) && (_parent.Pers3.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers3;
this.Side_mc.gotoAndStop(possAttMrX);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
} else if (Zone == ZoneAttMrsX) {
if (((_parent.Pers2.Etat != "IdleOut") && (_parent.Pers2.Etat != "PopOut")) && (_parent.Pers2.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers2;
this.Side_mc.gotoAndStop(possAttMrsX);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
} else if (Zone == ZoneAttThur) {
if (((_parent.Pers4.Etat != "IdleOut") && (_parent.Pers4.Etat != "PopOut")) && (_parent.Pers4.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers4;
this.Side_mc.gotoAndStop(possAttThur);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
} else if (Zone == ZoneAttThru) {
if (((_parent.Pers1.Etat != "IdleOut") && (_parent.Pers1.Etat != "PopOut")) && (_parent.Pers1.nlife > 0)) {
_global.Sounds.PlayASound("destroy", 1, 100, true);
Etat = "Attaking";
myTarget = _parent.Pers1;
this.Side_mc.gotoAndStop(possAttThru);
this.Side_mc.Anim.gotoAndStop("StartAttack");
hitTime = 20;
nTimeHit = 0;
}
}
}
function Attaking() {
hitTime++;
if (hitTime >= 30) {
hitTime = 0;
nTimeHit++;
hurtTarget();
}
if (nTimeHit >= hitPerLevel) {
Etat = "Moving";
releaseTarget();
}
}
function hurtTarget() {
myTarget.gotoAndStop("Hurt");
myTarget.Etat = "Hurt";
myTarget.nlife = myTarget.nlife - 1;
_global.Hud.ajustLife();
if (myTarget.nlife <= 0) {
if (Etat == "Attaking") {
Etat = "Moving";
}
myTarget.Etat = "Dead";
myTarget.gotoAndStop("Die");
}
}
function releaseTarget() {
if (myTarget.Etat == "Hurt") {
if (myTarget.LockOut == 0) {
myTarget.Etat = "PopOut";
myTarget.gotoAndStop("PopOut");
} else {
myTarget.Etat = "IdlePopIn";
myTarget.gotoAndStop("IdlePopIn");
}
}
}
function Spin() {
this.nextFrame();
checkSide();
if (Zone != OldZone) {
OldZone = Zone;
if (Zone == ZoneAttMrX) {
if (((_parent.Pers3.Etat != "IdleOut") && (_parent.Pers3.Etat != "PopOut")) && (_parent.Pers3.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers3;
hurtTarget();
myTarget.unHurtAfter(12);
}
} else if (Zone == ZoneAttMrsX) {
if (((_parent.Pers2.Etat != "IdleOut") && (_parent.Pers2.Etat != "PopOut")) && (_parent.Pers2.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers2;
hurtTarget();
myTarget.unHurtAfter(12);
}
} else if (Zone == ZoneAttThur) {
if (((_parent.Pers4.Etat != "IdleOut") && (_parent.Pers4.Etat != "PopOut")) && (_parent.Pers4.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers4;
hurtTarget();
myTarget.unHurtAfter(12);
}
} else if (Zone == ZoneAttThru) {
if (((_parent.Pers1.Etat != "IdleOut") && (_parent.Pers1.Etat != "PopOut")) && (_parent.Pers1.nlife > 0)) {
_global.Sounds.PlayASound("attack", 1, 60, true);
myTarget = _parent.Pers1;
hurtTarget();
myTarget.unHurtAfter(12);
}
}
}
if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
this.Side_mc.Anim.gotoAndStop("CrazyMode");
timeSpin++;
if (timeSpin == timeSpinMax) {
_global.Sounds.PlayASound("spin", 1, 60, false);
timeSpin = 0;
Etat = "Moving";
}
}
function checkSide() {
if (this.Side_mc._currentframe != Number(side)) {
this.Side_mc.gotoAndStop(Number(side));
}
}
function receiveAttack(HurtZoneSt, HurtZoneNd, theDamage, TimeHurt, robotPose) {
if ((Etat == "Moving") || (Etat == "Attaking")) {
if ((this.Zone >= HurtZoneSt) && (this.Zone <= HurtZoneNd)) {
_global.Sounds.PlayASound("hurt", 1, 60, true);
this.nextFrame();
this.nextFrame();
_global.attackMiss = false;
TimeStunt = TimeHurt;
SpendStunt = 0;
Etat = "HurtRoll";
this.Side_mc.gotoAndStop(robotPose);
nlife = nlife - theDamage;
if (successHit <= 0) {
_global.C.AddPoint(250);
successHit++;
} else if (nlife > BringDown) {
_global.Bonus.gotoAndPlay(2);
_global.Bonus.Track.gotoAndStop(successHit);
_global.C.AddPoint(Number((successHit * 50) + 250));
successHit++;
} else {
_global.C.AddPoint(Number((successHit * 50) + 250));
}
if (nlife <= 0) {
Etat = "Dead";
this.Side_mc.Anim.gotoAndStop("Die");
} else if (nlife <= BringDown) {
this.Side_mc.gotoAndStop(5);
_global.C.fEndGame(true);
} else {
this.Side_mc.Anim.gotoAndStop("HurtRoll");
}
_global.Hud.ajustLife();
releaseTarget();
}
}
}
function Dead() {
if (this.Side_mc.Anim.File._currentframe == (this.Side_mc.Anim.File._totalframes - 1)) {
_global.C.fEndGame(true);
}
}
function HurtRoll() {
SpendStunt++;
if (SpendStunt >= TimeStunt) {
Etat = "Moving";
this.Side_mc.gotoAndStop(Number(side));
this.Side_mc.Anim.gotoAndStop("Moving");
}
}
possAttMrX = 3;
ZoneAttMrX = 42;
possAttMrsX = 1;
ZoneAttMrsX = 45;
possAttThur = 7;
ZoneAttThur = 16;
possAttThru = 1;
ZoneAttThru = 68;
BringDown = 0;
nlife = 12;
hitPerLevel = 4;
_global.Sounds.PlayASound("robot", 100000, 60, true);
var Etat = "Moving";
var OldZone = 1;
var myTarget;
var timeSpin = 0;
var timeSpinMax = 200;
var hitTime = 0;
var nTimeHit = 0;
var TimeStunt = 0;
var SpendStunt = 0;
var successHit = 0;
}
Instance of Symbol 1265 MovieClip "Obj6" in Frame 40
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 6;
FrEndAttack = 8;
StartRobotZone = 4;
EndRobotZone = 6;
nDamage = 0.25;
robotPos = 7;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 1284 MovieClip "Obj4" in Frame 40
onClipEvent (load) {
function IdleOut() {
}
function Playing() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
Etat = "IdleOut";
this.gotoAndStop(1);
}
}
function Actions() {
this[Etat]();
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if (Etat == "IdleOut") {
this.gotoAndStop(2);
Etat = "Playing";
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 14;
FrEndAttack = 16;
StartRobotZone = 39;
EndRobotZone = 40;
nDamage = 0.25;
robotPos = 5;
var Etat = "IdleOut";
var EtatOld = "IdleOut";
var TimeStunt = 15;
InitCheckAction();
}
Instance of Symbol 1302 MovieClip "Pers4" in Frame 40
onClipEvent (load) {
function IdleOut() {
if (LockOut != 0) {
Etat = "PopIn";
outToAttack = false;
this.gotoAndStop("PopIn");
}
}
function PopIn() {
if (this.Anim._currentframe == this.Anim._totalframes) {
if (outToAttack) {
Etat = "Attack";
this.gotoAndStop("Attack");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function IdlePopIn() {
LockOutWait++;
if (LockOutWait >= LockOut) {
LockOut = 0;
LockOutWait = 0;
Etat = "PopOut";
this.gotoAndStop("PopOut");
}
}
function Attack() {
if (this.Anim._currentframe == FrAttack) {
_global.attackMiss = true;
}
if ((this.Anim._currentframe >= FrAttack) && (this.Anim._currentframe <= FrEndAttack)) {
_parent.Robot.receiveAttack(StartRobotZone, EndRobotZone, nDamage, TimeStunt, robotPos);
}
if (this.Anim._currentframe == this.Anim._totalframes) {
if (_global.attackMiss == true) {
_parent.Robot.successHit = 0;
}
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
}
}
function Hurt() {
if (HurtTime) {
TimeHurted++;
if ((TimeHurted >= TimeToBeHurt) && (nlife > 0)) {
HurtTime = false;
if (LockOut == 0) {
Etat = "PopOut";
this.gotoAndStop("PopOut");
} else {
Etat = "IdlePopIn";
this.gotoAndStop("IdlePopIn");
}
} else if (TimeHurted >= TimeToBeHurt) {
Etat = "Dead";
this.gotoAndStop("Die");
}
}
}
function Dead() {
if (this.Anim._currentframe == (this.Anim._totalframes - 1)) {
LockOut = 0;
_global.GC.CheckDeath();
CloseCheckAction();
}
}
function PopOut() {
if (this.Anim._currentframe == this.Anim._totalframes) {
Etat = "IdleOut";
this.gotoAndStop("IdleOut");
}
}
function Actions() {
this[Etat]();
}
function unHurtAfter(nTimeHrt) {
HurtTime = true;
TimeHurted = 0;
TimeToBeHurt = nTimeHrt;
}
function InitCheckAction() {
this.onRollOver = function () {
if (Etat == "IdleOut") {
this.Anim.play();
}
};
this.onRollOut = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((Etat == "IdleOut") || (Etat == "IdlePopIn")) {
if (Etat == "IdleOut") {
Etat = "PopIn";
outToAttack = true;
this.gotoAndStop("PopIn");
} else {
Etat = "Attack";
this.gotoAndStop("Attack");
}
}
};
this.onReleaseOutside = function () {
if (Etat == "IdleOut") {
this.Anim.gotoAndStop(1);
}
};
}
function CloseCheckAction() {
delete this.onRollOut;
delete this.onRollOver;
delete this.onRelease;
}
FrAttack = 19;
FrEndAttack = 21;
StartRobotZone = 67;
EndRobotZone = 69;
nDamage = 0.5;
robotPos = 7;
var Etat = "IdleOut";
var LockOut = 0;
var LockOutWait = 0;
var outToAttack;
var nlife = 20;
var TimeStunt = 40;
var HurtTime = false;
var TimeHurted;
var TimeToBeHurt;
InitCheckAction();
}
Instance of Symbol 764 MovieClip in Frame 40
onClipEvent (load) {
function ajustLife() {
this.Robot.gotoAndStop(Math.round(_parent.Robot.nlife + 1));
this.Thru.gotoAndStop(Math.round(_parent.Pers1.nlife));
this.MrsX.gotoAndStop(Math.round(_parent.Pers2.nlife));
this.MrX.gotoAndStop(Math.round(_parent.Pers3.nlife));
this.Thur.gotoAndStop(Math.round(_parent.Pers4.nlife));
this.pointtxt.text = _global.C.formatScore(_global.C.nScore);
}
_global.Hud = this;
ajustLife();
this.MrX.gotoAndStop(20);
this.MrsX.gotoAndStop(20);
this.Thur.gotoAndStop(20);
this.Thru.gotoAndStop(20);
this.Marqueur.gotoAndStop(3);
this.Robot.gotoAndStop(13);
}
Frame 50
_global.Sounds.SwitchToPack();
_global.C.PasteScore();
_global.HS.initHiScores();
if (_global.HS.G_ShowHighScore == false) {
btn_submit_score._visible = false;
btn_view_score._visible = false;
}
if (gProxyObj.getIsLoggedIn()) {
btn_submit_score._visible = true;
} else {
btn_submit_score._visible = false;
}
Frame 60
_global.Sounds.SwitchToPack();
_global.C.PasteScore();
_global.HS.initHiScores();
if (_global.HS.G_ShowHighScore == false) {
btn_submit_score._visible = false;
btn_view_score._visible = false;
}
if (gProxyObj.getIsLoggedIn()) {
btn_submit_score._visible = true;
} else {
btn_submit_score._visible = false;
}
Frame 70
if (gProxyObj.getIsLoggedIn()) {
btn_submit_score._visible = true;
} else {
btn_submit_score._visible = false;
}
if (_global.submited) {
_global.HS.submitScore(_global.C.nScore);
btn_submit_score._visible = false;
} else {
_global.HS.getScores();
}
_global.C.PasteScore();
Instance of Symbol 1343 MovieClip "ControlScroll" in Frame 70
onClipEvent (load) {
scrollUp = false;
scrollDown = false;
}
onClipEvent (enterFrame) {
if (scrollUp == true) {
_parent.txt_highScore.scroll--;
} else if (scrollDown == true) {
_parent.txt_highScore.scroll++;
}
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 152 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.C.fNextBtn();
}
Symbol 223 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.C.fPrevBtn();
}
Symbol 261 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.C.fPlay();
}
Symbol 262 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.C.fResume();
}
Symbol 263 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 53
_global.Sounds.PlayASound("swish", 1, 100, true);
Symbol 265 MovieClip Frame 63
_parent.LifeRemain.play();
stop();
Symbol 278 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_parent.play();
}
Symbol 280 MovieClip Frame 1
_global.Sounds.PlayASound("swish", 1, 100, true);
Instance of Symbol 234 MovieClip "Thru" in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (20);
}
Instance of Symbol 234 MovieClip "Thur" in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (20);
}
Instance of Symbol 234 MovieClip "MrsX" in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (20);
}
Instance of Symbol 234 MovieClip "MrX" in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (20);
}
Symbol 280 MovieClip Frame 5
_global.Sounds.PlayASound("swish", 1, 100, true);
Symbol 280 MovieClip Frame 10
_global.Sounds.PlayASound("swish", 1, 100, true);
Symbol 280 MovieClip Frame 15
_global.Sounds.PlayASound("swish", 1, 100, true);
Instance of Symbol 234 MovieClip "Thru" in Symbol 280 MovieClip Frame 20
onClipEvent (load) {
gotoAndStop (20);
pass = false;
wait = 0;
}
onClipEvent (enterFrame) {
wait++;
if (wait == 2) {
wait = 0;
if (this._currentframe > _global.Hud.Thru._currentframe) {
prevFrame();
} else if ((this._currentframe == _global.Hud.Thru._currentframe) && (pass == false)) {
_parent.Thru_txt.text = 0;
pass = true;
} else if ((Number(_parent.Thru_txt.text) < Number(this._currentframe * 50)) && (this._currentframe > 1)) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_parent.Thru_txt.text = Number(_parent.Thru_txt.text) + 50;
}
}
}
Instance of Symbol 234 MovieClip "Thur" in Symbol 280 MovieClip Frame 25
onClipEvent (load) {
gotoAndStop (20);
pass = false;
wait = 0;
}
onClipEvent (enterFrame) {
wait++;
if (wait == 2) {
wait = 0;
if (this._currentframe > _global.Hud.Thur._currentframe) {
prevFrame();
} else if ((this._currentframe == _global.Hud.Thur._currentframe) && (pass == false)) {
_parent.Thur_txt.text = 0;
pass = true;
} else if ((Number(_parent.Thur_txt.text) < Number(this._currentframe * 50)) && (this._currentframe > 1)) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_parent.Thur_txt.text = Number(_parent.Thur_txt.text) + 50;
}
}
}
Instance of Symbol 234 MovieClip "MrsX" in Symbol 280 MovieClip Frame 30
onClipEvent (load) {
gotoAndStop (20);
pass = false;
wait = 0;
}
onClipEvent (enterFrame) {
wait++;
if (wait == 2) {
wait = 0;
if (this._currentframe > _global.Hud.MrsX._currentframe) {
prevFrame();
} else if ((this._currentframe == _global.Hud.MrsX._currentframe) && (pass == false)) {
_parent.MrsX_txt.text = 0;
pass = true;
} else if ((Number(_parent.MrsX_txt.text) < Number(this._currentframe * 50)) && (this._currentframe > 1)) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_parent.MrsX_txt.text = Number(_parent.MrsX_txt.text) + 50;
}
}
}
Symbol 280 MovieClip Frame 35
stop();
Instance of Symbol 234 MovieClip "MrX" in Symbol 280 MovieClip Frame 35
onClipEvent (load) {
gotoAndStop (20);
pass = false;
pass2 = false;
wait = 0;
}
onClipEvent (enterFrame) {
wait++;
if (wait == 2) {
wait = 0;
if (this._currentframe > _global.Hud.MrX._currentframe) {
prevFrame();
} else if ((this._currentframe == _global.Hud.MrX._currentframe) && (pass == false)) {
_parent.MrX_txt.text = 0;
pass = true;
} else if ((Number(_parent.MrX_txt.text) < Number(this._currentframe * 50)) && (this._currentframe > 1)) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_parent.MrX_txt.text = Number(_parent.MrX_txt.text) + 50;
} else if ((Number(_parent.MrX_txt.text) == Number(this._currentframe * 50)) && (pass2 == false)) {
pass2 = true;
_parent.play();
} else if (((Number(_parent.MrX_txt.text) == 0) && (Number(this._currentframe * 50) == 50)) && (pass2 == false)) {
pass2 = true;
_parent.play();
}
}
}
Symbol 280 MovieClip Frame 55
Bonus = ((Number(Thru_txt.text) + Number(Thur_txt.text)) + Number(MrsX_txt.text)) + Number(MrX_txt.text);
_global.C.AddPoint(Bonus);
Symbol 280 MovieClip Frame 62
stop();
Symbol 280 MovieClip Frame 77
_global.C.fContinue();
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 10
btn_disable.useHandCursor = false;
Instance of Symbol 263 MovieClip in Symbol 281 MovieClip Frame 13
onClipEvent (load) {
if (_global.C.bInGame == true) {
gotoAndStop (2);
}
}
Symbol 281 MovieClip Frame 21
btn_disable.useHandCursor = false;
Instance of Symbol 280 MovieClip "LifeRemain" in Symbol 281 MovieClip Frame 21
onClipEvent (load) {
this.stop();
}
Symbol 281 MovieClip Frame 30
btn_disable.useHandCursor = false;
Symbol 281 MovieClip Frame 40
LifeRemain.play();
btn_disable.useHandCursor = false;
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 18
_global.C.ftransitReset();
Symbol 293 MovieClip Frame 19
_global.Sounds.PlayASound("swish", 1, 100, true);
Symbol 293 MovieClip Frame 47
_global.Sounds.PlayASound("swish", 1, 100, true);
Symbol 293 MovieClip Frame 51
_global.C.ftransitClosing();
Symbol 293 MovieClip Frame 57
_global.C.fTransitEnd();
Symbol 310 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.C.fInstruc(false);
}
Symbol 311 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.C.fPlay();
}
Symbol 313 Button
on (release) {
if (!_global.Paused) {
_global.C.fInstruc(true);
}
}
Symbol 316 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.Sounds.ToMute();
gotoAndStop (2);
}
Symbol 319 Button
on (release) {
_global.Sounds.UnMute();
_global.Sounds.PlayASound("btn", 1, 100, true);
gotoAndStop (1);
}
Symbol 333 MovieClip Frame 21
stop();
Symbol 335 MovieClip Frame 9
_global.Sounds.PlayASound("attack", 1, 60, true);
Symbol 336 MovieClip Frame 11
_global.Sounds.PlayASound("attack", 1, 60, true);
Symbol 338 MovieClip Frame 9
stop();
_global.Sounds.PlayASound("attack", 1, 60, true);
Symbol 364 MovieClip Frame 1
_global.Sounds.PlayASound("robot", 1, 60, false);
_global.Sounds.PlayASound("die", 1, 60, true);
Symbol 364 MovieClip Frame 77
stop();
Symbol 365 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 21
stop();
Symbol 373 MovieClip Frame 9
stop();
_global.Sounds.PlayASound("attack", 1, 60, true);
Symbol 374 MovieClip Frame 16
stop();
Symbol 376 MovieClip Frame 1
_global.Sounds.PlayASound("robot", 1, 60, false);
_global.Sounds.PlayASound("die", 1, 60, true);
Symbol 376 MovieClip Frame 77
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 1
stop();
Symbol 380 MovieClip Frame 1
stop();
side = 2;
Zone = 1;
Symbol 380 MovieClip Frame 3
Zone = 2;
Symbol 380 MovieClip Frame 5
Zone = 3;
Symbol 380 MovieClip Frame 7
Zone = 4;
Symbol 380 MovieClip Frame 9
Zone = 5;
Symbol 380 MovieClip Frame 11
side = 3;
Zone = 6;
Symbol 380 MovieClip Frame 13
Zone = 7;
Symbol 380 MovieClip Frame 15
Zone = 8;
Symbol 380 MovieClip Frame 17
Zone = 9;
Symbol 380 MovieClip Frame 19
Zone = 10;
Symbol 380 MovieClip Frame 21
Zone = 11;
Symbol 380 MovieClip Frame 23
side = 4;
Zone = 12;
Symbol 380 MovieClip Frame 25
Zone = 13;
Symbol 380 MovieClip Frame 27
Zone = 14;
Symbol 380 MovieClip Frame 29
Zone = 15;
Symbol 380 MovieClip Frame 31
Zone = 16;
Symbol 380 MovieClip Frame 33
Zone = 17;
Symbol 380 MovieClip Frame 35
Zone = 18;
Symbol 380 MovieClip Frame 37
Zone = 19;
Symbol 380 MovieClip Frame 38
side = 5;
Symbol 380 MovieClip Frame 39
Zone = 20;
Symbol 380 MovieClip Frame 41
Zone = 21;
Symbol 380 MovieClip Frame 43
Zone = 22;
Symbol 380 MovieClip Frame 45
Zone = 23;
Symbol 380 MovieClip Frame 47
Zone = 24;
Symbol 380 MovieClip Frame 49
Zone = 25;
Symbol 380 MovieClip Frame 51
Zone = 26;
Symbol 380 MovieClip Frame 53
Zone = 27;
Symbol 380 MovieClip Frame 55
Zone = 28;
Symbol 380 MovieClip Frame 57
Zone = 29;
Symbol 380 MovieClip Frame 59
Zone = 30;
Symbol 380 MovieClip Frame 60
side = 6;
Symbol 380 MovieClip Frame 61
Zone = 31;
Symbol 380 MovieClip Frame 63
Zone = 32;
Symbol 380 MovieClip Frame 65
Zone = 33;
Symbol 380 MovieClip Frame 67
Zone = 34;
Symbol 380 MovieClip Frame 69
Zone = 35;
Symbol 380 MovieClip Frame 71
Zone = 36;
Symbol 380 MovieClip Frame 72
side = 7;
Symbol 380 MovieClip Frame 73
Zone = 37;
Symbol 380 MovieClip Frame 75
Zone = 38;
Symbol 380 MovieClip Frame 77
Zone = 39;
Symbol 380 MovieClip Frame 79
Zone = 40;
Symbol 380 MovieClip Frame 81
Zone = 41;
Symbol 380 MovieClip Frame 83
Zone = 42;
Symbol 380 MovieClip Frame 85
side = 8;
Zone = 43;
Symbol 380 MovieClip Frame 87
Zone = 44;
Symbol 380 MovieClip Frame 89
Zone = 45;
Symbol 380 MovieClip Frame 91
Zone = 46;
Symbol 380 MovieClip Frame 93
Zone = 47;
Symbol 380 MovieClip Frame 95
Zone = 48;
Symbol 380 MovieClip Frame 96
side = 1;
Symbol 380 MovieClip Frame 97
Zone = 49;
Symbol 380 MovieClip Frame 99
Zone = 50;
Symbol 380 MovieClip Frame 101
Zone = 51;
Symbol 380 MovieClip Frame 103
Zone = 52;
Symbol 380 MovieClip Frame 105
Zone = 53;
Symbol 380 MovieClip Frame 107
Zone = 54;
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 11
gotoAndPlay (2);
Symbol 406 MovieClip Frame 2
_global.Sounds.PlayASound("horloge", 1, 100, true);
Symbol 406 MovieClip Frame 14
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 11
gotoAndPlay (2);
Symbol 417 MovieClip Frame 2
_global.Sounds.PlayASound("glass", 1, 60, true);
Symbol 418 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 11
gotoAndPlay (2);
Symbol 440 MovieClip Frame 8
stop();
Symbol 441 MovieClip Frame 1
_global.Sounds.PlayASound("toaster", 1, 60, true);
Symbol 441 MovieClip Frame 33
stop();
Symbol 442 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 11
gotoAndPlay (2);
Symbol 449 MovieClip Frame 2
_global.Sounds.PlayASound("porte", 1, 60, true);
Symbol 449 MovieClip Frame 8
_global.Sounds.PlayASound("tarte", 1, 60, true);
_parent._parent.Pasta.play();
Symbol 449 MovieClip Frame 28
_global.Sounds.PlayASound("cporte", 1, 60, true);
Symbol 449 MovieClip Frame 31
stop();
Symbol 450 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 9
gotoAndPlay (2);
Symbol 456 MovieClip Frame 2
_global.Sounds.PlayASound("porte", 1, 60, true);
Symbol 467 MovieClip Frame 2
_global.Sounds.PlayASound("mrx", 1, 60, true);
Symbol 467 MovieClip Frame 14
stop();
Symbol 472 MovieClip Frame 13
_global.Sounds.PlayASound("cporte", 1, 60, true);
Symbol 472 MovieClip Frame 17
stop();
Symbol 474 MovieClip Frame 35
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 9
gotoAndPlay (2);
Symbol 512 MovieClip Frame 9
stop();
Symbol 529 MovieClip Frame 2
_global.Sounds.PlayASound("mrsx", 1, 60, true);
Symbol 529 MovieClip Frame 17
stop();
Symbol 531 MovieClip Frame 9
stop();
Symbol 534 MovieClip Frame 35
stop();
Symbol 535 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 9
gotoAndPlay (2);
Symbol 566 MovieClip Frame 2
_global.Sounds.PlayASound("porte", 1, 60, true);
Symbol 585 MovieClip Frame 2
_global.Sounds.PlayASound("thur", 1, 60, true);
Symbol 600 MovieClip Frame 13
_global.Sounds.PlayASound("cporte", 1, 60, true);
Symbol 601 MovieClip Frame 35
stop();
Symbol 602 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 11
gotoAndPlay (2);
Symbol 622 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 2
_global.Sounds.PlayASound("spark", 1, 60, true);
Symbol 633 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 9
gotoAndPlay (2);
Symbol 652 MovieClip Frame 2
_global.Sounds.PlayASound("porte", 1, 60, true);
Symbol 664 MovieClip Frame 2
_global.Sounds.PlayASound("tru", 1, 60, true);
Symbol 667 MovieClip Frame 5
_global.Sounds.PlayASound("cporte", 1, 60, true);
Symbol 672 MovieClip Frame 35
stop();
Symbol 673 MovieClip Frame 1
stop();
Symbol 681 MovieClip Frame 1
stop();
Symbol 681 MovieClip Frame 11
gotoAndPlay (2);
Symbol 693 MovieClip Frame 2
_global.Sounds.PlayASound("porte", 1, 60, true);
Symbol 693 MovieClip Frame 26
_global.Sounds.PlayASound("cporte", 1, 60, true);
Symbol 694 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 11
gotoAndPlay (2);
Symbol 705 MovieClip Frame 2
_global.Sounds.PlayASound("porte", 1, 60, true);
Symbol 705 MovieClip Frame 32
_global.Sounds.PlayASound("cporte", 1, 60, true);
Symbol 706 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 11
gotoAndPlay (2);
Symbol 718 MovieClip Frame 2
_global.Sounds.PlayASound("mixer", 1, 60, true);
Symbol 719 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 11
gotoAndPlay (2);
Symbol 742 MovieClip Frame 9
_global.Sounds.PlayASound("splashsink", 1, 100, true);
Symbol 743 MovieClip Frame 1
stop();
Symbol 757 Button
on (release) {
if (!_global.Paused) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.C.fInstruc(true);
}
}
Symbol 759 MovieClip Frame 1
stop();
Symbol 763 Button
on (release) {
if (!_global.Paused) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.C.QuitAsk(true);
}
}
Instance of Symbol 320 MovieClip "MuteSymbol" in Symbol 764 MovieClip Frame 1
onClipEvent (load) {
if (_global.Muted) {
gotoAndStop (2);
} else {
stop();
}
}
Symbol 765 MovieClip Frame 1
stop();
Symbol 824 MovieClip Frame 1
stop();
Symbol 830 Button
on (release) {
play();
}
Symbol 833 Button
on (release) {
_global.C.fEndGame(false);
}
Symbol 834 MovieClip Frame 1
stop();
Symbol 834 MovieClip Frame 2
btn_disable.useHandCursor = false;
Symbol 834 MovieClip Frame 10
stop();
Symbol 834 MovieClip Frame 16
_global.C.QuitAsk(false);
Symbol 844 MovieClip Frame 1
stop();
Symbol 844 MovieClip Frame 11
gotoAndPlay (2);
Symbol 846 MovieClip Frame 1
stop();
Symbol 846 MovieClip Frame 2
_global.Sounds.PlayASound("spark", 1, 60, true);
Symbol 855 MovieClip Frame 1
stop();
Symbol 855 MovieClip Frame 11
gotoAndPlay (2);
Symbol 858 MovieClip Frame 13
stop();
Symbol 860 MovieClip Frame 2
_global.Sounds.PlayASound("mrx", 1, 60, true);
Symbol 860 MovieClip Frame 14
stop();
Symbol 863 MovieClip Frame 12
stop();
Symbol 865 MovieClip Frame 35
stop();
Symbol 866 MovieClip Frame 1
stop();
Symbol 885 MovieClip Frame 1
stop();
Symbol 885 MovieClip Frame 11
gotoAndPlay (2);
Symbol 888 MovieClip Frame 2
_global.Sounds.PlayASound("buch", 1, 60, true);
Symbol 889 MovieClip Frame 1
stop();
Symbol 895 MovieClip Frame 1
stop();
Symbol 895 MovieClip Frame 11
gotoAndPlay (2);
Symbol 898 MovieClip Frame 1
_global.Sounds.PlayASound("livre", 1, 60, true);
Symbol 899 MovieClip Frame 1
stop();
Symbol 910 MovieClip Frame 1
stop();
Symbol 910 MovieClip Frame 11
gotoAndPlay (2);
Symbol 914 MovieClip Frame 2
_global.Sounds.PlayASound("coach", 1, 60, true);
Symbol 915 MovieClip Frame 1
stop();
Symbol 927 MovieClip Frame 1
stop();
Symbol 927 MovieClip Frame 9
gotoAndPlay (2);
Symbol 928 MovieClip Frame 29
stop();
Symbol 930 MovieClip Frame 2
_global.Sounds.PlayASound("mrsx", 1, 60, true);
Symbol 930 MovieClip Frame 16
stop();
Symbol 932 MovieClip Frame 29
stop();
Symbol 933 MovieClip Frame 35
stop();
Symbol 934 MovieClip Frame 1
stop();
Symbol 943 MovieClip Frame 1
stop();
Symbol 943 MovieClip Frame 11
gotoAndPlay (2);
Symbol 945 MovieClip Frame 1
stop();
Symbol 945 MovieClip Frame 2
_global.Sounds.PlayASound("spark", 1, 60, true);
Symbol 956 MovieClip Frame 1
stop();
Symbol 956 MovieClip Frame 11
gotoAndPlay (2);
Symbol 963 MovieClip Frame 2
_global.Sounds.PlayASound("porte", 1, 60, true);
Symbol 963 MovieClip Frame 7
_global.Sounds.PlayASound("cporte", 1, 60, true);
Symbol 964 MovieClip Frame 1
stop();
Symbol 969 MovieClip Frame 1
stop();
Symbol 969 MovieClip Frame 30
gotoAndStop (1);
Symbol 983 MovieClip Frame 1
stop();
Symbol 983 MovieClip Frame 10
gotoAndPlay (2);
Symbol 986 MovieClip Frame 2
_global.Sounds.PlayASound("porte", 1, 60, true);
Symbol 986 MovieClip Frame 10
stop();
Symbol 988 MovieClip Frame 2
_global.Sounds.PlayASound("tru", 1, 60, true);
Symbol 988 MovieClip Frame 21
stop();
Symbol 990 MovieClip Frame 8
_global.Sounds.PlayASound("cporte", 1, 60, true);
Symbol 990 MovieClip Frame 13
stop();
Symbol 991 MovieClip Frame 35
stop();
Symbol 992 MovieClip Frame 1
stop();
Symbol 995 MovieClip Frame 1
stop();
side = 8;
Zone = 1;
Symbol 995 MovieClip Frame 3
Zone = 2;
Symbol 995 MovieClip Frame 5
Zone = 3;
Symbol 995 MovieClip Frame 7
Zone = 4;
Symbol 995 MovieClip Frame 8
side = 1;
Symbol 995 MovieClip Frame 9
Zone = 5;
Symbol 995 MovieClip Frame 11
Zone = 6;
Symbol 995 MovieClip Frame 13
Zone = 7;
Symbol 995 MovieClip Frame 14
side = 2;
Symbol 995 MovieClip Frame 15
Zone = 8;
Symbol 995 MovieClip Frame 17
Zone = 9;
Symbol 995 MovieClip Frame 18
side = 3;
Symbol 995 MovieClip Frame 19
Zone = 10;
Symbol 995 MovieClip Frame 21
Zone = 11;
Symbol 995 MovieClip Frame 23
Zone = 12;
Symbol 995 MovieClip Frame 24
side = 4;
Symbol 995 MovieClip Frame 25
Zone = 13;
Symbol 995 MovieClip Frame 27
Zone = 14;
Symbol 995 MovieClip Frame 29
Zone = 15;
Symbol 995 MovieClip Frame 31
Zone = 16;
Symbol 995 MovieClip Frame 33
Zone = 17;
Symbol 995 MovieClip Frame 34
side = 5;
Symbol 995 MovieClip Frame 35
Zone = 18;
Symbol 995 MovieClip Frame 37
Zone = 19;
Symbol 995 MovieClip Frame 39
Zone = 20;
Symbol 995 MovieClip Frame 41
Zone = 21;
Symbol 995 MovieClip Frame 43
side = 6;
Zone = 22;
Symbol 995 MovieClip Frame 45
Zone = 23;
Symbol 995 MovieClip Frame 47
Zone = 24;
Symbol 995 MovieClip Frame 49
Zone = 25;
Symbol 995 MovieClip Frame 50
side = 5;
Symbol 995 MovieClip Frame 51
Zone = 26;
Symbol 995 MovieClip Frame 53
Zone = 27;
Symbol 995 MovieClip Frame 55
Zone = 28;
Symbol 995 MovieClip Frame 57
Zone = 29;
Symbol 995 MovieClip Frame 58
side = 4;
Symbol 995 MovieClip Frame 59
Zone = 30;
Symbol 995 MovieClip Frame 61
Zone = 31;
Symbol 995 MovieClip Frame 63
Zone = 32;
Symbol 995 MovieClip Frame 65
side = 3;
Zone = 33;
Symbol 995 MovieClip Frame 67
Zone = 34;
Symbol 995 MovieClip Frame 69
Zone = 35;
Symbol 995 MovieClip Frame 71
Zone = 36;
Symbol 995 MovieClip Frame 72
side = 2;
Symbol 995 MovieClip Frame 73
Zone = 37;
Symbol 995 MovieClip Frame 75
Zone = 38;
Symbol 995 MovieClip Frame 77
Zone = 39;
Symbol 995 MovieClip Frame 78
side = 1;
Symbol 995 MovieClip Frame 79
Zone = 40;
Symbol 995 MovieClip Frame 81
Zone = 41;
Symbol 995 MovieClip Frame 83
Zone = 42;
Symbol 995 MovieClip Frame 84
side = 8;
Symbol 995 MovieClip Frame 85
Zone = 43;
Symbol 995 MovieClip Frame 87
Zone = 44;
Symbol 995 MovieClip Frame 89
Zone = 45;
Symbol 995 MovieClip Frame 91
Zone = 46;
Symbol 995 MovieClip Frame 93
Zone = 47;
Symbol 995 MovieClip Frame 95
side = 7;
Zone = 48;
Symbol 995 MovieClip Frame 97
Zone = 49;
Symbol 995 MovieClip Frame 99
Zone = 50;
Symbol 995 MovieClip Frame 101
Zone = 51;
Symbol 995 MovieClip Frame 103
Zone = 52;
Symbol 995 MovieClip Frame 104
side = 6;
Symbol 995 MovieClip Frame 105
Zone = 53;
Symbol 995 MovieClip Frame 107
Zone = 24;
Symbol 995 MovieClip Frame 109
Zone = 55;
Symbol 995 MovieClip Frame 110
side = 7;
Symbol 995 MovieClip Frame 111
Zone = 56;
Symbol 995 MovieClip Frame 113
Zone = 57;
Symbol 995 MovieClip Frame 115
Zone = 58;
Symbol 995 MovieClip Frame 117
side = 8;
Zone = 59;
Symbol 995 MovieClip Frame 119
Zone = 60;
Symbol 995 MovieClip Frame 121
Zone = 61;
Symbol 995 MovieClip Frame 123
Zone = 62;
Symbol 999 MovieClip Frame 1
stop();
Symbol 999 MovieClip Frame 9
gotoAndPlay (2);
Symbol 1000 MovieClip Frame 13
stop();
Symbol 1002 MovieClip Frame 2
_global.Sounds.PlayASound("thur", 1, 60, true);
Symbol 1002 MovieClip Frame 4
_parent._parent.Diskthrow.play();
Symbol 1002 MovieClip Frame 35
stop();
Symbol 1004 MovieClip Frame 12
stop();
Symbol 1008 MovieClip Frame 35
stop();
Symbol 1009 MovieClip Frame 1
stop();
Symbol 1019 MovieClip Frame 1
stop();
Symbol 1019 MovieClip Frame 11
gotoAndPlay (2);
Symbol 1036 MovieClip Frame 4
_global.Sounds.PlayASound("lazer", 1, 60, true);
Symbol 1037 MovieClip Frame 1
stop();
Symbol 1048 MovieClip Frame 1
stop();
Symbol 1048 MovieClip Frame 11
gotoAndPlay (2);
Symbol 1059 MovieClip Frame 9
_global.Sounds.PlayASound("splashfish", 1, 100, true);
Symbol 1060 MovieClip Frame 1
stop();
Symbol 1064 MovieClip Frame 1
stop();
Symbol 1064 MovieClip Frame 11
gotoAndPlay (2);
Symbol 1065 MovieClip Frame 9
_global.Sounds.PlayASound("splashfish", 1, 100, true);
Symbol 1066 MovieClip Frame 1
stop();
Symbol 1080 MovieClip Frame 1
stop();
Symbol 1080 MovieClip Frame 11
gotoAndPlay (2);
Symbol 1084 MovieClip Frame 1
stop();
Symbol 1084 MovieClip Frame 2
_global.Sounds.PlayASound("spark", 1, 60, true);
Symbol 1092 MovieClip Frame 1
stop();
Symbol 1092 MovieClip Frame 9
gotoAndPlay (2);
Symbol 1093 MovieClip Frame 26
stop();
Symbol 1095 MovieClip Frame 2
_global.Sounds.PlayASound("mrsx", 1, 60, true);
Symbol 1095 MovieClip Frame 16
stop();
Symbol 1097 MovieClip Frame 26
stop();
Symbol 1098 MovieClip Frame 35
stop();
Symbol 1099 MovieClip Frame 1
stop();
Symbol 1114 MovieClip Frame 1
stop();
Symbol 1114 MovieClip Frame 11
gotoAndPlay (2);
Symbol 1116 MovieClip Frame 1
_global.Sounds.PlayASound("tondeuse", 1, 60, true);
Symbol 1117 MovieClip Frame 1
stop();
Symbol 1125 MovieClip Frame 1
stop();
Symbol 1125 MovieClip Frame 10
gotoAndPlay (2);
Symbol 1127 MovieClip Frame 13
stop();
Symbol 1129 MovieClip Frame 2
_global.Sounds.PlayASound("mrx", 1, 60, true);
Symbol 1129 MovieClip Frame 17
stop();
Symbol 1131 MovieClip Frame 12
stop();
Symbol 1133 MovieClip Frame 35
stop();
Symbol 1134 MovieClip Frame 1
stop();
Symbol 1144 MovieClip Frame 1
stop();
Symbol 1144 MovieClip Frame 10
gotoAndPlay (2);
Symbol 1151 MovieClip Frame 2
_global.Sounds.PlayASound("porte", 1, 60, true);
Symbol 1151 MovieClip Frame 17
stop();
Symbol 1154 MovieClip Frame 2
_global.Sounds.PlayASound("tru", 1, 60, true);
Symbol 1154 MovieClip Frame 18
stop();
Symbol 1155 MovieClip Frame 8
stop();
Symbol 1156 MovieClip Frame 8
_global.Sounds.PlayASound("cporte", 1, 60, true);
Symbol 1156 MovieClip Frame 13
stop();
Symbol 1158 MovieClip Frame 35
stop();
Symbol 1159 MovieClip Frame 1
stop();
Symbol 1178 MovieClip Frame 1
_global.Sounds.PlayASound("missil", 1, 60, true);
Symbol 1179 MovieClip Frame 1
stop();
Symbol 1189 MovieClip Frame 1
stop();
Symbol 1189 MovieClip Frame 10
gotoAndPlay (2);
Symbol 1235 MovieClip Frame 8
_global.Sounds.PlayASound("splash", 1, 100, true);
Symbol 1236 MovieClip Frame 1
stop();
Symbol 1246 MovieClip Frame 1
stop();
Symbol 1246 MovieClip Frame 11
gotoAndPlay (2);
Symbol 1254 MovieClip Frame 14
_global.Sounds.PlayASound("splash", 1, 100, true);
Symbol 1255 MovieClip Frame 1
stop();
Symbol 1256 MovieClip Frame 1
stop();
side = 7;
Zone = 1;
Symbol 1256 MovieClip Frame 3
Zone = 2;
Symbol 1256 MovieClip Frame 5
Zone = 3;
Symbol 1256 MovieClip Frame 7
Zone = 4;
Symbol 1256 MovieClip Frame 9
Zone = 5;
Symbol 1256 MovieClip Frame 11
side = 8;
Zone = 6;
Symbol 1256 MovieClip Frame 13
Zone = 7;
Symbol 1256 MovieClip Frame 15
Zone = 8;
Symbol 1256 MovieClip Frame 17
Zone = 9;
Symbol 1256 MovieClip Frame 19
Zone = 10;
Symbol 1256 MovieClip Frame 20
side = 1;
Symbol 1256 MovieClip Frame 21
Zone = 11;
Symbol 1256 MovieClip Frame 23
Zone = 12;
Symbol 1256 MovieClip Frame 25
side = 2;
Zone = 13;
Symbol 1256 MovieClip Frame 27
Zone = 14;
Symbol 1256 MovieClip Frame 29
Zone = 15;
Symbol 1256 MovieClip Frame 30
side = 3;
Symbol 1256 MovieClip Frame 31
Zone = 16;
Symbol 1256 MovieClip Frame 33
Zone = 17;
Symbol 1256 MovieClip Frame 35
Zone = 18;
Symbol 1256 MovieClip Frame 37
Zone = 19;
Symbol 1256 MovieClip Frame 39
Zone = 20;
Symbol 1256 MovieClip Frame 41
Zone = 21;
Symbol 1256 MovieClip Frame 43
side = 4;
Zone = 22;
Symbol 1256 MovieClip Frame 45
Zone = 23;
Symbol 1256 MovieClip Frame 47
Zone = 24;
Symbol 1256 MovieClip Frame 49
Zone = 25;
Symbol 1256 MovieClip Frame 51
Zone = 26;
Symbol 1256 MovieClip Frame 53
Zone = 27;
Symbol 1256 MovieClip Frame 55
Zone = 28;
Symbol 1256 MovieClip Frame 57
Zone = 29;
Symbol 1256 MovieClip Frame 59
Zone = 30;
Symbol 1256 MovieClip Frame 61
Zone = 31;
Symbol 1256 MovieClip Frame 63
Zone = 32;
Symbol 1256 MovieClip Frame 65
Zone = 33;
Symbol 1256 MovieClip Frame 67
Zone = 34;
Symbol 1256 MovieClip Frame 68
side = 3;
Symbol 1256 MovieClip Frame 69
Zone = 35;
Symbol 1256 MovieClip Frame 71
Zone = 36;
Symbol 1256 MovieClip Frame 73
Zone = 37;
Symbol 1256 MovieClip Frame 75
Zone = 38;
Symbol 1256 MovieClip Frame 76
side = 2;
Symbol 1256 MovieClip Frame 77
Zone = 39;
Symbol 1256 MovieClip Frame 79
Zone = 40;
Symbol 1256 MovieClip Frame 81
Zone = 41;
Symbol 1256 MovieClip Frame 82
side = 1;
Symbol 1256 MovieClip Frame 83
Zone = 42;
Symbol 1256 MovieClip Frame 85
Zone = 43;
Symbol 1256 MovieClip Frame 87
Zone = 44;
Symbol 1256 MovieClip Frame 89
side = 8;
Zone = 45;
Symbol 1256 MovieClip Frame 91
Zone = 46;
Symbol 1256 MovieClip Frame 93
Zone = 47;
Symbol 1256 MovieClip Frame 95
Zone = 48;
Symbol 1256 MovieClip Frame 97
Zone = 49;
Symbol 1256 MovieClip Frame 98
side = 7;
Symbol 1256 MovieClip Frame 99
Zone = 50;
Symbol 1256 MovieClip Frame 101
Zone = 51;
Symbol 1256 MovieClip Frame 103
Zone = 52;
Symbol 1256 MovieClip Frame 105
Zone = 53;
Symbol 1256 MovieClip Frame 107
Zone = 54;
Symbol 1256 MovieClip Frame 109
Zone = 55;
Symbol 1256 MovieClip Frame 111
Zone = 56;
Symbol 1256 MovieClip Frame 112
side = 8;
Symbol 1256 MovieClip Frame 113
Zone = 57;
Symbol 1256 MovieClip Frame 115
Zone = 58;
Symbol 1256 MovieClip Frame 117
Zone = 59;
Symbol 1256 MovieClip Frame 119
Zone = 60;
Symbol 1256 MovieClip Frame 121
Zone = 61;
Symbol 1256 MovieClip Frame 123
Zone = 62;
Symbol 1256 MovieClip Frame 125
Zone = 63;
Symbol 1256 MovieClip Frame 127
side = 1;
Zone = 64;
Symbol 1256 MovieClip Frame 129
Zone = 65;
Symbol 1256 MovieClip Frame 131
side = 2;
Zone = 66;
Symbol 1256 MovieClip Frame 133
Zone = 67;
Symbol 1256 MovieClip Frame 135
Zone = 68;
Symbol 1256 MovieClip Frame 136
side = 3;
Symbol 1256 MovieClip Frame 137
Zone = 69;
Symbol 1256 MovieClip Frame 139
Zone = 70;
Symbol 1256 MovieClip Frame 141
side = 4;
Zone = 71;
Symbol 1256 MovieClip Frame 143
Zone = 72;
Symbol 1256 MovieClip Frame 145
Zone = 73;
Symbol 1256 MovieClip Frame 147
Zone = 74;
Symbol 1256 MovieClip Frame 149
Zone = 75;
Symbol 1256 MovieClip Frame 151
side = 5;
Zone = 76;
Symbol 1256 MovieClip Frame 153
Zone = 77;
Symbol 1256 MovieClip Frame 155
Zone = 78;
Symbol 1256 MovieClip Frame 157
Zone = 79;
Symbol 1256 MovieClip Frame 159
side = 6;
Zone = 80;
Symbol 1256 MovieClip Frame 161
Zone = 55;
Symbol 1256 MovieClip Frame 163
Zone = 82;
Symbol 1256 MovieClip Frame 165
Zone = 32;
Symbol 1256 MovieClip Frame 167
Zone = 84;
Symbol 1256 MovieClip Frame 169
Zone = 85;
Symbol 1256 MovieClip Frame 170
side = 7;
Symbol 1256 MovieClip Frame 171
Zone = 86;
Symbol 1262 MovieClip Frame 1
stop();
Symbol 1262 MovieClip Frame 10
gotoAndPlay (2);
Symbol 1264 MovieClip Frame 1
_global.Sounds.PlayASound("skate", 1, 60, true);
Symbol 1265 MovieClip Frame 1
stop();
Symbol 1271 MovieClip Frame 1
stop();
Symbol 1271 MovieClip Frame 11
gotoAndPlay (2);
Symbol 1283 MovieClip Frame 1
_global.Sounds.PlayASound("poubelle", 1, 60, true);
Symbol 1284 MovieClip Frame 1
stop();
Symbol 1295 MovieClip Frame 1
stop();
Symbol 1295 MovieClip Frame 9
gotoAndPlay (2);
Symbol 1296 MovieClip Frame 13
stop();
Symbol 1298 MovieClip Frame 2
_global.Sounds.PlayASound("thur", 1, 60, true);
Symbol 1298 MovieClip Frame 41
stop();
Symbol 1300 MovieClip Frame 12
stop();
Symbol 1301 MovieClip Frame 35
stop();
Symbol 1302 MovieClip Frame 1
stop();
Symbol 1316 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.submited = false;
_global.C.fViewScore();
}
Symbol 1322 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.C.ftitleCard();
}
Symbol 1329 Button
on (release) {
_global.Sounds.PlayASound("btn", 1, 100, true);
_global.submited = true;
_global.C.fViewScore();
}
Symbol 1356 Button
on (press) {
ControlScroll.scrollUp = true;
}
on (release, releaseOutside) {
ControlScroll.scrollUp = false;
}
Symbol 1357 Button
on (press) {
ControlScroll.scrollDown = true;
}
on (release, releaseOutside) {
ControlScroll.scrollDown = false;
}
Symbol 1362 Button
on (release) {
_global.HS.submitScore(_global.C.nScore);
btn_submit_score._visible = false;
}
Symbol 1363 Button
on (release) {
_global.C.ftitleCard();
}