Frame 1
function CN_Game_Object() {
this.timedScreenArray = new Array();
this.depth_i = 0;
this.offScreenOffset = 700;
this.curScreen = null;
}
function CN_Timer(screen, parent, endTime) {
this.screen = screen;
this.mc = screen.mc.timer;
this.parent = parent;
this.mc.caller = this;
this.endTime = endTime * 1000;
this.active = false;
}
CN_Game_Object.prototype.Continue = function () {
if (this.curScreen != null) {
this.RemoveScreen(this.curScreen);
}
if (this.timedScreenArray.length == 0) {
gotoAndStop (8);
} else {
this.curScreen = this.timedScreenArray.shift();
this.ShowScreen(this.curScreen);
gotoAndStop (7);
}
};
CN_Game_Object.prototype.ExternalGraphicsAreLoaded = function () {
var allLoaded = true;
var i = 0;
while (i < this.timedScreenArray.length) {
if (!this.timedScreenArray[i].isLoaded) {
allLoaded = false;
break;
}
i++;
}
return(allLoaded);
};
CN_Game_Object.prototype.GetExternalParameters = function () {
if (_root.sw1 != null) {
this.timedScreenArray[0] = new Object();
this.timedScreenArray[0].path = _root.sw1;
this.timedScreenArray[0].duration = _root.sw2;
this.timedScreenArray[0].link = _root.sw4;
}
if (_root.sw5 == 1) {
var array_i = this.timedScreenArray.length;
this.timedScreenArray[array_i] = new Object();
if (_root.sw5 != 1) {
this.timedScreenArray[array_i].path = _root.sw5;
} else {
this.timedScreenArray[array_i].path = "orbitPowered/orbitPowered.swf";
}
if (_root.sw6 != null) {
this.timedScreenArray[array_i].duration = _root.sw6;
} else {
this.timedScreenArray[array_i].duration = "3";
}
if (_root.sw7 != null) {
this.timedScreenArray[array_i].link = _root.sw7;
} else {
this.timedScreenArray[array_i].link = null;
}
}
var array_i = this.timedScreenArray.length;
var next_i = 8;
while (_root["sw" + next_i] != null) {
this.timedScreenArray[array_i] = new Object();
this.timedScreenArray[array_i].path = _root["sw" + next_i];
if (_root.sw6 != null) {
this.timedScreenArray[array_i].duration = _root["sw" + (++next_i)];
} else {
this.timedScreenArray[array_i].duration = "5";
}
if (_root.sw7 != null) {
this.timedScreenArray[array_i].link = _root["sw" + (++next_i)];
} else {
this.timedScreenArray[array_i].link = null;
}
array_i++;
next_i++;
}
};
CN_Game_Object.prototype.LaunchOrbitPopup = function () {
if (_root.sw5 == 1) {
getURL ("javascript:popupOrbitCode( )");
}
};
CN_Game_Object.prototype.LoadExternalGraphic = function (screen, depth) {
_root.attachMovie("externalFileHolder", "holder" + depth, depth);
screen.mc = _root["holder" + depth];
screen.mc.caller = screen;
screen.mc.slot.loadMovie(screen.path);
};
CN_Game_Object.prototype.MainMovieIsLoaded = function () {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
return(true);
}
return(false);
};
CN_Game_Object.prototype.PreloadExternalGraphics = function () {
var i = 0;
while (i < this.timedScreenArray.length) {
this.LoadExternalGraphic(this.timedScreenArray[i], i + 1);
this.timedScreenArray[i].mc._x = this.offScreenOffset;
i++;
}
};
CN_Game_Object.prototype.RemoveScreen = function (screen) {
screen.mc.slot.unloadMovie();
screen.mc.removeMovieClip();
delete screen;
};
CN_Game_Object.prototype.ShowScreen = function (screen) {
screen.mc._x = 0;
screen.mc._y = 0;
screen.timer = new CN_Timer(screen, this, screen.duration);
screen.timer.Start();
};
CN_Game_Object.prototype.toString = function () {
return("CN_Game_Object");
};
CN_Timer.prototype.Start = function () {
this.active = true;
this.startTime = getTimer();
};
CN_Timer.prototype.Tick = function () {
if ((getTimer() - this.startTime) >= this.endTime) {
_root.EndTimerAdapter(this.parent);
this.active = false;
}
};
CN_Timer.prototype.toString = function () {
return("CN_Timer");
};
EndTimerAdapter = function (parent) {
parent.Continue();
};
myGameObject = new CN_Game_Object();
TotalBytes = 1252800 /* 0x131DC0 */;
Frame 2
play();
Frame 3
if (myGameObject.MainMovieIsLoaded()) {
myGameObject.GetExternalParameters();
myGameObject.PreloadExternalGraphics();
play();
} else {
prevFrame();
}
Frame 4
play();
Frame 5
if (myGameObject.ExternalGraphicsAreLoaded()) {
play();
} else {
prevFrame();
}
Frame 6
_quality = "High";
stop();
Frame 8
_quality = "High";
gotoAndStop (11);
Instance of Symbol 76 MovieClip in Frame 9
onClipEvent (load) {
this.holder.loadMovie((_root.trackerPath + "?id=") + new Date().valueOf());
}
Frame 11
stop();
Instance of Symbol 78 MovieClip "Var" in Frame 11
onClipEvent (load) {
RondRotate = false;
Degre = 0;
DegreRotate = 0;
Sens = "";
VitEntree = 0.01;
NbMur = 0;
StopTir = false;
RefVitMax = 50;
Dur = "Hard";
SecFlag = 0;
MaxFlag = 30;
ImpactObs = 10;
NbItem = 0;
BombInter = 30;
BombNext = 15;
FlagInter = 40;
FlagNext = 45;
InvInter = 30;
InvNext = 40;
VieInter = 15;
VieNext = 20;
GainVie = 10;
SpeedInter = 25;
SpeedNext = 20;
InterCheck = 25000;
DistCheck = 0;
Dist = 0;
DistTemp = 0;
DistObs = 500;
DistObsHard = 300;
Temps = 120;
ItemNext = 1;
Score = 0;
PtsLevel = 100;
FrameRond = 400;
FrameObs = 800;
LanceBomb = false;
Touche = false;
ObsTouche = 0;
Repart = false;
NVie = 100;
NVitTourne = 0;
NVarieTourne = 0;
NVitMax = 0;
NSpeedUp = 0;
NBreak = 0;
NVitTir = 0;
NLarge = 0;
NImpact = 0;
NInvincible = 0;
NTir = 0;
NBombMax = 0;
NBombs = 0;
NFrameBomb = 0;
NHard = 0;
VitTourne = 0;
BoostSpeed = false;
Boost = 2;
SensTourne = "";
NUse = 2;
EtatNavet = "Idle";
Vit = 0;
VitMin = 5;
Balle1 = false;
Balle2 = false;
Balle3 = false;
B1Touche = false;
B2Touche = false;
B3Touche = false;
N1VitTourne = 4.5;
N1VarieTourne = 4;
N1VitMax = 15;
N1SpeedUp = 0.35;
N1Break = 0.2;
N1VitTir = 4;
N1Hard = 30;
N1Large = 10;
N1LargeInv = 90;
N1Impact = 11;
N1Invincible = 244;
N1Tir = 5;
N1BombMax = 4;
N2VitTourne = 2.5;
N2VarieTourne = 2;
N2VitMax = 15;
N2SpeedUp = 0.025;
N2Break = 0.6;
N2VitTir = 4;
N2Hard = 60;
N2Large = 13;
N2LargeInv = 90;
N2Impact = 11;
N2Invincible = 244;
N2Tir = 5;
N2BombMax = 4;
N3VitTourne = 4;
N3VarieTourne = 5;
N3VitMax = 17;
N3SpeedUp = 0.15;
N3Break = 0.3;
N3VitTir = 4;
N3Hard = 40;
N3Large = 15;
N3LargeInv = 90;
N3Impact = 11;
N3Invincible = 244;
N3Tir = 5;
N3BombMax = 4;
N4VitTourne = 5.5;
N4VarieTourne = 10;
N4VitMax = 35;
N4SpeedUp = 0.25;
N4Break = 0.2;
N4VitTir = 4;
N4Hard = 15;
N4Large = 15;
N4LargeInv = 90;
N4Impact = 11;
N4Invincible = 244;
N4Tir = 5;
N4BombMax = 4;
N5VitTourne = 6.5;
N5VarieTourne = 3;
N5VitMax = 25;
N5SpeedUp = 0.5;
N5Break = 1;
N5VitTir = 4;
N5Hard = 30;
N5Large = 13;
N5LargeInv = 90;
N5Impact = 11;
N5Invincible = 244;
N5Tir = 5;
N5BombMax = 4;
Item1Actif = false;
Item2Actif = false;
Item3Actif = false;
Item4Actif = false;
Item5Actif = false;
Item6Actif = false;
Item7Actif = false;
Item8Actif = false;
Item9Actif = false;
Item10Actif = false;
Item1 = 0;
Item2 = 0;
Item3 = 0;
Item4 = 0;
Item5 = 0;
Item6 = 0;
Item7 = 0;
Item8 = 0;
Item9 = 0;
Item10 = 0;
Item1Ang = 0;
Item2Ang = 0;
Item3Ang = 0;
Item4Ang = 0;
Item5Ang = 0;
Item6Ang = 0;
Item7Ang = 0;
Item8Ang = 0;
Item9Ang = 0;
Item10Ang = 0;
Item1Pet = false;
Item2Pet = false;
Item3Pet = false;
Item4Pet = false;
Item5Pet = false;
Item6Pet = false;
Item7Pet = false;
Item8Pet = false;
Item9Pet = false;
Item10Pet = false;
Item1Hit = false;
Item2Hit = false;
Item3Hit = false;
Item4Hit = false;
Item5Hit = false;
Item6Hit = false;
Item7Hit = false;
Item8Hit = false;
Item9Hit = false;
Item10Hit = false;
Obs2Large = 37;
Obs3Large = 30;
Obs4Large = 6;
Obs5Large = 6;
Obs6Large = 6;
Obs7Large = 6;
Obs8Large = 12;
Obs9Large = 8;
Obs10Large = 400;
Obs2Tir = 37;
Obs3Tir = 6;
Obs4Tir = 6;
Obs5Tir = 6;
Obs6Tir = 6;
Obs7Tir = 6;
Obs8Tir = 12;
Obs9Tir = 8;
Obs10Tir = 400;
ObsHit = 640;
ItemLevel = 20000;
}
Frame 17
stop();
Frame 22
stop();
Frame 28
stop();
Frame 35
stop();
Frame 36
Set("/Var:NVitTourne", eval (("/Var:N" + /Var:NUse) + "VitTourne"));
Set("/Var:NVarieTourne", eval (("/Var:N" + /Var:NUse) + "VarieTourne"));
Set("/Var:NVitMax", eval (("/Var:N" + /Var:NUse) + "VitMax"));
Set("/Var:NSpeedUp", eval (("/Var:N" + /Var:NUse) + "SpeedUp"));
Set("/Var:NBreak", eval (("/Var:N" + /Var:NUse) + "Break"));
Set("/Var:NVitTir", eval (("/Var:N" + /Var:NUse) + "VitTir"));
Set("/Var:NLarge", eval (("/Var:N" + /Var:NUse) + "Large"));
Set("/Var:NImpact", eval (("/Var:N" + /Var:NUse) + "Impact"));
Set("/Var:NInvincible", eval (("/Var:N" + /Var:NUse) + "Invincible"));
Set("/Var:NTir", eval (("/Var:N" + /Var:NUse) + "Tir"));
Set("/Var:NBombMax", eval (("/Var:N" + /Var:NUse) + "BombMax"));
Set("/Var:NFrameBomb", eval (("/Var:N" + /Var:NUse) + "FrameBomb"));
Set("/Var:NHard", eval (("/Var:N" + /Var:NUse) + "Hard"));
stop();
Instance of Symbol 78 MovieClip in Frame 36
onClipEvent (enterFrame) {
tellTarget ("_parent.Interface.Gage.Spd") {
gotoAndStop(int((/Var:Vit * 100) / /Var:RefVitMax) + 1);
};
Minutes = /Var:Temps / 60;
if (Minutes < 1) {
Minutes = 0;
} else {
Minutes = int(Minutes);
}
Set("_root.Interface.Gage.Time:Min", "0" + Minutes);
Secondes = /Var:Temps - (Minutes * 60);
if (Secondes < 10) {
Set("_root.Interface.Gage.Time:Sec", "0" + Secondes);
} else {
Set("_root.Interface.Gage.Time:Sec", Secondes);
}
if (/Var:Temps <= 0) {
tellTarget ("_root") {
nextFrame();
};
}
tellTarget ("_parent.Interface.Gage.Vie") {
gotoAndStop(int(/Var:NVie) + 1);
};
if (getProperty("_root.Porte", _currentframe) > 31) {
Set("/Var:Vit", /Var:Vit + /Var:VitEntree);
if (/Var:VitEntree < 0.1) {
Set("/Var:VitEntree", /Var:VitEntree + 0.01);
}
Set("_root:Frame1", getProperty("_parent.Lignes1.Ligne1", _currentframe) + int(/Var:Vit));
if (_root:Frame1 > /Var:FrameRond) {
Set("_root:Frame1", _root.Frame1 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne1") {
gotoAndStop(_root:Frame1);
};
Set("_root:Frame2", getProperty("_parent.Lignes1.Ligne2", _currentframe) + int(/Var:Vit));
if (_root:Frame2 > /Var:FrameRond) {
Set("_root:Frame2", _root.Frame2 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne2") {
gotoAndStop(_root:Frame2);
};
Set("_root:Frame3", getProperty("_parent.Lignes1.Ligne3", _currentframe) + int(/Var:Vit));
if (_root:Frame3 > /Var:FrameRond) {
Set("_root:Frame3", _root.Frame3 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne3") {
gotoAndStop(_root:Frame3);
};
Set("_root:Frame4", getProperty("_parent.Lignes1.Ligne4", _currentframe) + int(/Var:Vit));
if (_root:Frame4 > /Var:FrameRond) {
Set("_root:Frame4", _root.Frame4 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne4") {
gotoAndStop(_root:Frame4);
};
Set("_root:Frame5", getProperty("_parent.Lignes1.Ligne5", _currentframe) + int(/Var:Vit));
if (_root:Frame5 > /Var:FrameRond) {
Set("_root:Frame5", _root.Frame5 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne5") {
gotoAndStop(_root:Frame5);
};
Set("_root:Frame6", getProperty("_parent.Lignes1.Ligne6", _currentframe) + int(/Var:Vit));
if (_root:Frame6 > /Var:FrameRond) {
Set("_root:Frame6", _root.Frame6 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne6") {
gotoAndStop(_root:Frame6);
};
Set("_root:Frame7", getProperty("_parent.Lignes2", _currentframe) + int(/Var:Vit));
if (_root:Frame7 > /Var:FrameRond) {
Set("_root:Frame7", _root.Frame7 - /Var:FrameRond);
}
tellTarget ("_root.Lignes2") {
gotoAndStop(_root:Frame7);
};
if (/Var:Vit >= 10) {
tellTarget ("_root") {
nextFrame();
};
}
}
}
Frame 37
tellTarget ("Ready") {
gotoAndStop (2);
};
stop();
Instance of Symbol 788 MovieClip "Items" in Frame 37
onClipEvent (load) {
Item1.swapDepths(/Var:ItemLevel + 10);
Item2.swapDepths(/Var:ItemLevel + 9);
Item3.swapDepths(/Var:ItemLevel + 8);
Item4.swapDepths(/Var:ItemLevel + 7);
Item5.swapDepths(/Var:ItemLevel + 6);
Item6.swapDepths(/Var:ItemLevel + 5);
Item7.swapDepths(/Var:ItemLevel + 4);
Item8.swapDepths(/Var:ItemLevel + 3);
Item9.swapDepths(/Var:ItemLevel + 2);
Item10.swapDepths(/Var:ItemLevel + 1);
}
Instance of Symbol 819 MovieClip "Keys" in Frame 37
onClipEvent (load) {
Object.prototype.keyboard_listener = this;
myListener = new Object();
var left = 0;
var up = 0;
var right = 0;
var down = 0;
var space = 0;
var shift = 0;
var keyboard_active = true;
myListener.onKeyDown = function () {
if (keyboard_active == true) {
if (Key.getCode() == 32) {
space = 1;
}
if (Key.getCode() == 37) {
left = 1;
}
if (Key.getCode() == 38) {
up = 1;
}
if (Key.getCode() == 39) {
right = 1;
}
if (Key.getCode() == 40) {
down = 1;
}
if (Key.getCode() == 49) {
shift = 1;
}
} else {
space = 0;
left = 0;
up = 0;
right = 0;
down = 0;
shift = 0;
}
};
myListener.onKeyUp = function () {
if (Key.getCode() == 32) {
space = 0;
}
if (Key.getCode() == 37) {
left = 0;
}
if (Key.getCode() == 38) {
up = 0;
}
if (Key.getCode() == 39) {
right = 0;
}
if (Key.getCode() == 40) {
down = 0;
}
if (Key.getCode() == 49) {
shift = 0;
}
};
Key.addListener(myListener);
}
Frame 38
tellTarget ("Navets.Navet") {
gotoAndStop ("Idle");
};
myColor = new Color(_root.Interface.Gage.Time);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
myColor.setTransform(myColorTransform);
stop();
Frame 39
stop();
Frame 40
myGameObject.LaunchOrbitPopup();
stop();
Frame 41
stop();
Frame 42
_quality = "High";
stop();
Symbol 3 MovieClip [externalFileHolder] Frame 1
stop();
Instance of Symbol 1 MovieClip "slot" in Symbol 3 MovieClip [externalFileHolder] Frame 1
onClipEvent (data) {
_parent.caller.isLoaded = true;
}
onClipEvent (mouseUp) {
if ((_parent.caller.link != null) && (this.hitTest(_xmouse, _ymouse, false))) {
getURL (_parent.caller.link, "_blank");
}
}
Instance of Symbol 2 MovieClip "timer" in Symbol 3 MovieClip [externalFileHolder] Frame 1
onClipEvent (enterFrame) {
if (caller.active) {
caller.Tick();
}
}
Symbol 9 MovieClip Frame 1
stop();
Instance of Symbol 7 MovieClip in Symbol 9 MovieClip Frame 1
onClipEvent (enterFrame) {
var BytesLoad = _root.getBytesLoaded();
trace(BytesLoad);
trace(Pourcent);
var Pourcent = ((BytesLoad / /:TotalBytes) * 100);
var /:Frame = int(Math.abs(Pourcent));
tellTarget ("../") {
gotoAndStop(/:Frame);
};
}
Symbol 9 MovieClip Frame 100
stop();
Symbol 46 Button
on (release) {
_root.myGameObject.Continue();
}
Symbol 70 Button
on (release) {
tellTarget ("_parent") {
gotoAndStop ("Dur");
};
}
Symbol 74 Button
on (keyPress "<Space>") {
gotoAndStop (11);
}
Symbol 85 MovieClip Frame 43
gotoAndPlay (15);
Symbol 87 Button
on (release) {
Set("/Var:Dur", "Easy");
gotoAndStop (17);
}
Symbol 90 MovieClip Frame 44
gotoAndPlay (15);
Symbol 91 Button
on (release) {
Set("/Var:Dur", "Hard");
gotoAndStop (17);
}
Symbol 104 Button
on (release) {
tellTarget ("_parent") {
gotoAndStop ("Instruc");
};
}
Symbol 135 MovieClip Frame 24
stop();
Symbol 151 MovieClip Frame 24
stop();
Symbol 162 MovieClip Frame 24
stop();
Symbol 163 MovieClip Frame 11
stop();
Symbol 181 MovieClip Frame 11
stop();
Symbol 199 MovieClip Frame 6
stop();
Symbol 257 MovieClip Frame 6
stop();
Symbol 273 MovieClip Frame 11
stop();
Symbol 274 MovieClip Frame 1
Set("/Var:NUse", 1);
Symbol 274 MovieClip Frame 9
stop();
Symbol 274 MovieClip Frame 17
if (/Var:Prev == true) {
Set("/Var:Prev", false);
gotoAndPlay (69);
}
Symbol 274 MovieClip Frame 18
Set("/Var:NUse", 5);
Symbol 274 MovieClip Frame 26
stop();
Symbol 274 MovieClip Frame 34
if (/Var:Prev == true) {
Set("/Var:Prev", false);
gotoAndPlay (1);
}
Symbol 274 MovieClip Frame 35
Set("/Var:NUse", 4);
Symbol 274 MovieClip Frame 43
stop();
Symbol 274 MovieClip Frame 51
if (/Var:Prev == true) {
Set("/Var:Prev", false);
gotoAndPlay (18);
}
Symbol 274 MovieClip Frame 52
Set("/Var:NUse", 3);
Symbol 274 MovieClip Frame 60
stop();
Symbol 274 MovieClip Frame 68
if (/Var:Prev == true) {
Set("/Var:Prev", false);
gotoAndPlay (35);
}
Symbol 274 MovieClip Frame 69
Set("/Var:NUse", 2);
Symbol 274 MovieClip Frame 77
stop();
Symbol 274 MovieClip Frame 85
if (/Var:Prev == true) {
Set("/Var:Prev", false);
gotoAndPlay (52);
}
Symbol 275 Button
on (keyPress "<Right>") {
tellTarget ("_parent.Choix") {
play();
};
}
Symbol 276 Button
on (keyPress "<Left>") {
tellTarget ("_parent.Choix") {
play();
};
}
Symbol 279 Button
on (release) {
tellTarget ("_parent.Choix") {
play();
};
}
Symbol 280 Button
on (release) {
Set("/Var:Prev", true);
tellTarget ("_parent.Choix") {
play();
};
}
Symbol 283 Button
on (keyPress "<Space>") {
gotoAndStop (22);
}
Symbol 302 Button
on (release) {
tellTarget ("_parent") {
gotoAndStop ("Instruc2");
};
}
Symbol 304 Button
on (keyPress "<Space>") {
gotoAndStop (28);
}
Symbol 316 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 322 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 328 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 333 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 339 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 344 MovieClip Frame 1
trace(/Var:NUse);
gotoAndStop(/Var:NUse);
Symbol 362 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 372 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 376 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 382 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 386 Button
on (release) {
tellTarget ("_parent") {
gotoAndStop ("Porte");
};
}
Symbol 388 Button
on (keyPress "<Space>") {
gotoAndStop (35);
}
Symbol 409 MovieClip Frame 72
tellTarget ("_parent") {
gotoAndStop ("Start");
};
Symbol 409 MovieClip Frame 81
_quality = "Medium";
Symbol 409 MovieClip Frame 134
tellTarget ("_parent.Porte") {
play();
};
stop();
Symbol 417 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Instance of Symbol 420 MovieClip "Ligne1" in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (50);
}
Instance of Symbol 420 MovieClip "Ligne2" in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (130);
}
Instance of Symbol 420 MovieClip "Ligne3" in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (200);
}
Instance of Symbol 420 MovieClip "Ligne4" in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (270);
}
Instance of Symbol 420 MovieClip "Ligne5" in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (330);
}
Instance of Symbol 420 MovieClip "Ligne6" in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (390);
}
Symbol 430 MovieClip Frame 1
if (random(100) > 50) {
gotoAndPlay (2);
} else {
gotoAndPlay (5);
}
Symbol 430 MovieClip Frame 4
stop();
Symbol 430 MovieClip Frame 7
stop();
Symbol 482 MovieClip Frame 9
Set("/Var:NLarge", /Var:N1LargeInv);
Symbol 482 MovieClip Frame 233
Set("/Var:NLarge", /Var:N1Large);
Symbol 496 MovieClip Frame 12
stop();
Symbol 498 MovieClip Frame 1
VarieVit = /Var:Vit / 10;
Symbol 498 MovieClip Frame 8
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 498 MovieClip Frame 9
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 498 MovieClip Frame 10
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 498 MovieClip Frame 11
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 498 MovieClip Frame 12
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 498 MovieClip Frame 13
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 498 MovieClip Frame 14
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 498 MovieClip Frame 15
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 498 MovieClip Frame 16
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 498 MovieClip Frame 17
Set("/Var:Vit", 0);
Symbol 498 MovieClip Frame 38
tellTarget ("_root.Ready") {
gotoAndStop (1);
};
Symbol 498 MovieClip Frame 104
Set("/Var:NVie", 100);
VarieVit = (/Var:NVitMax / 2) / 18;
Symbol 498 MovieClip Frame 105
Set("/Var:Vit", /Var:Vit + VarieVit);
tellTarget ("_root.Ready") {
gotoAndStop (2);
};
Set("/Var:Repart", true);
Symbol 498 MovieClip Frame 107
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 110
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 113
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 115
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 118
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 120
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 122
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 125
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 128
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 130
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 133
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 135
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 138
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 140
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 142
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 145
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 147
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 498 MovieClip Frame 150
Set("/Var:Vit", int(/Var:Vit));
Set("/Var:Balle1", false);
Set("/Var:Balle2", false);
Set("/Var:Balle3", false);
Set("/Var:LanceBomb", false);
Set("/Var:Touche", false);
Set("/Var:ObsTouche", false);
Set("/Var:VitTourne", false);
Set("/Var:StopTir", false);
Set("/Var:SensTourne", "");
Set("/Var:EtatNavet", "Idle");
Set("/Var:Repart", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 500 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 6
Set("/Var:NVie", /Var:NVie - (/Var:ImpactObs - ((/Var:ImpactObs * /Var:NHard) / 100)));
if (/Var:NVie <= 0) {
Set("/Var:EtatNavet", "Meurt");
gotoAndStop (21);
}
stop();
Symbol 500 MovieClip Frame 14
stop();
Symbol 500 MovieClip Frame 21
stop();
Symbol 500 MovieClip Frame 28
stop();
Symbol 511 MovieClip Frame 9
Set("/Var:NLarge", /Var:N1LargeInv);
Symbol 511 MovieClip Frame 233
Set("/Var:NLarge", /Var:N1Large);
Symbol 512 MovieClip Frame 1
VarieVit = /Var:Vit / 10;
Symbol 512 MovieClip Frame 8
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 512 MovieClip Frame 9
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 512 MovieClip Frame 10
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 512 MovieClip Frame 11
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 512 MovieClip Frame 12
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 512 MovieClip Frame 13
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 512 MovieClip Frame 14
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 512 MovieClip Frame 15
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 512 MovieClip Frame 16
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 512 MovieClip Frame 17
Set("/Var:Vit", 0);
Symbol 512 MovieClip Frame 38
tellTarget ("_root.Ready") {
gotoAndStop (1);
};
Symbol 512 MovieClip Frame 104
Set("/Var:NVie", 100);
VarieVit = (/Var:NVitMax / 2) / 18;
Symbol 512 MovieClip Frame 105
Set("/Var:Vit", /Var:Vit + VarieVit);
tellTarget ("_root.Ready") {
gotoAndStop (2);
};
Set("/Var:Repart", true);
Symbol 512 MovieClip Frame 107
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 110
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 113
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 115
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 118
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 120
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 122
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 125
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 128
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 130
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 133
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 135
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 138
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 140
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 142
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 145
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 147
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 512 MovieClip Frame 150
Set("/Var:Vit", int(/Var:Vit));
Set("/Var:Balle1", false);
Set("/Var:Balle2", false);
Set("/Var:Balle3", false);
Set("/Var:LanceBomb", false);
Set("/Var:Touche", false);
Set("/Var:ObsTouche", false);
Set("/Var:VitTourne", false);
Set("/Var:StopTir", false);
Set("/Var:SensTourne", "");
Set("/Var:EtatNavet", "Idle");
Set("/Var:Repart", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 514 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 6
Set("/Var:NVie", /Var:NVie - (/Var:ImpactObs - ((/Var:ImpactObs * /Var:NHard) / 100)));
if (/Var:NVie <= 0) {
Set("/Var:EtatNavet", "Meurt");
gotoAndStop (21);
}
stop();
Symbol 514 MovieClip Frame 14
stop();
Symbol 514 MovieClip Frame 21
stop();
Symbol 514 MovieClip Frame 28
stop();
Symbol 520 MovieClip Frame 9
Set("/Var:NLarge", /Var:N1LargeInv);
Symbol 520 MovieClip Frame 233
Set("/Var:NLarge", /Var:N1Large);
Symbol 521 MovieClip Frame 1
VarieVit = /Var:Vit / 10;
Symbol 521 MovieClip Frame 8
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 521 MovieClip Frame 9
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 521 MovieClip Frame 10
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 521 MovieClip Frame 11
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 521 MovieClip Frame 12
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 521 MovieClip Frame 13
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 521 MovieClip Frame 14
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 521 MovieClip Frame 15
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 521 MovieClip Frame 16
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 521 MovieClip Frame 17
Set("/Var:Vit", 0);
Symbol 521 MovieClip Frame 38
tellTarget ("_root.Ready") {
gotoAndStop (1);
};
Symbol 521 MovieClip Frame 104
Set("/Var:NVie", 100);
VarieVit = (/Var:NVitMax / 2) / 18;
Symbol 521 MovieClip Frame 105
Set("/Var:Vit", /Var:Vit + VarieVit);
tellTarget ("_root.Ready") {
gotoAndStop (2);
};
Set("/Var:Repart", true);
Symbol 521 MovieClip Frame 107
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 110
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 113
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 115
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 118
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 120
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 122
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 125
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 128
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 130
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 133
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 135
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 138
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 140
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 142
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 145
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 147
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 521 MovieClip Frame 150
Set("/Var:Vit", int(/Var:Vit));
Set("/Var:Balle1", false);
Set("/Var:Balle2", false);
Set("/Var:Balle3", false);
Set("/Var:LanceBomb", false);
Set("/Var:Touche", false);
Set("/Var:ObsTouche", false);
Set("/Var:VitTourne", false);
Set("/Var:StopTir", false);
Set("/Var:SensTourne", "");
Set("/Var:EtatNavet", "Idle");
Set("/Var:Repart", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 6
Set("/Var:NVie", /Var:NVie - (/Var:ImpactObs - ((/Var:ImpactObs * /Var:NHard) / 100)));
if (/Var:NVie <= 0) {
Set("/Var:EtatNavet", "Meurt");
gotoAndStop (21);
}
stop();
Symbol 523 MovieClip Frame 14
stop();
Symbol 523 MovieClip Frame 21
stop();
Symbol 523 MovieClip Frame 28
stop();
Symbol 529 MovieClip Frame 9
Set("/Var:NLarge", /Var:N1LargeInv);
Symbol 529 MovieClip Frame 233
Set("/Var:NLarge", /Var:N1Large);
Symbol 530 MovieClip Frame 1
VarieVit = /Var:Vit / 10;
Symbol 530 MovieClip Frame 8
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 530 MovieClip Frame 9
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 530 MovieClip Frame 10
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 530 MovieClip Frame 11
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 530 MovieClip Frame 12
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 530 MovieClip Frame 13
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 530 MovieClip Frame 14
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 530 MovieClip Frame 15
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 530 MovieClip Frame 16
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 530 MovieClip Frame 17
Set("/Var:Vit", 0);
Symbol 530 MovieClip Frame 38
tellTarget ("_root.Ready") {
gotoAndStop (1);
};
Symbol 530 MovieClip Frame 104
Set("/Var:NVie", 100);
VarieVit = (/Var:NVitMax / 2) / 18;
Symbol 530 MovieClip Frame 105
Set("/Var:Vit", /Var:Vit + VarieVit);
tellTarget ("_root.Ready") {
gotoAndStop (2);
};
Set("/Var:Repart", true);
Symbol 530 MovieClip Frame 107
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 110
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 113
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 115
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 118
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 120
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 122
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 125
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 128
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 130
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 133
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 135
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 138
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 140
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 142
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 145
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 147
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 530 MovieClip Frame 150
Set("/Var:Vit", int(/Var:Vit));
Set("/Var:Balle1", false);
Set("/Var:Balle2", false);
Set("/Var:Balle3", false);
Set("/Var:LanceBomb", false);
Set("/Var:Touche", false);
Set("/Var:ObsTouche", false);
Set("/Var:VitTourne", false);
Set("/Var:StopTir", false);
Set("/Var:SensTourne", "");
Set("/Var:EtatNavet", "Idle");
Set("/Var:Repart", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 532 MovieClip Frame 1
stop();
Symbol 532 MovieClip Frame 6
Set("/Var:NVie", /Var:NVie - (/Var:ImpactObs - ((/Var:ImpactObs * /Var:NHard) / 100)));
if (/Var:NVie <= 0) {
Set("/Var:EtatNavet", "Meurt");
gotoAndStop (21);
}
stop();
Symbol 532 MovieClip Frame 14
stop();
Symbol 532 MovieClip Frame 21
stop();
Symbol 532 MovieClip Frame 28
stop();
Symbol 538 MovieClip Frame 9
Set("/Var:NLarge", /Var:N1LargeInv);
Symbol 538 MovieClip Frame 233
Set("/Var:NLarge", /Var:N1Large);
Symbol 539 MovieClip Frame 1
VarieVit = /Var:Vit / 10;
Symbol 539 MovieClip Frame 8
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 539 MovieClip Frame 9
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 539 MovieClip Frame 10
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 539 MovieClip Frame 11
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 539 MovieClip Frame 12
Set("/Var:Vit", /Var:Vit - VarieVit);
Symbol 539 MovieClip Frame 13
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 539 MovieClip Frame 14
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 539 MovieClip Frame 15
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 539 MovieClip Frame 16
Set("/Var:Vit", /Var:Vit - VarieVit);
if (/Var:Vit < 0) {
Set("/Var:Vit", 0);
}
Symbol 539 MovieClip Frame 17
Set("/Var:Vit", 0);
Symbol 539 MovieClip Frame 38
tellTarget ("_root.Ready") {
gotoAndStop (1);
};
Symbol 539 MovieClip Frame 104
Set("/Var:NVie", 100);
VarieVit = (/Var:NVitMax / 2) / 18;
Symbol 539 MovieClip Frame 105
Set("/Var:Vit", /Var:Vit + VarieVit);
tellTarget ("_root.Ready") {
gotoAndStop (2);
};
Set("/Var:Repart", true);
Symbol 539 MovieClip Frame 107
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 110
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 113
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 115
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 118
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 120
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 122
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 125
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 128
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 130
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 133
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 135
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 138
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 140
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 142
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 145
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 147
Set("/Var:Vit", /Var:Vit + VarieVit);
Symbol 539 MovieClip Frame 150
Set("/Var:Vit", int(/Var:Vit));
Set("/Var:Balle1", false);
Set("/Var:Balle2", false);
Set("/Var:Balle3", false);
Set("/Var:LanceBomb", false);
Set("/Var:Touche", false);
Set("/Var:ObsTouche", false);
Set("/Var:VitTourne", false);
Set("/Var:StopTir", false);
Set("/Var:SensTourne", "");
Set("/Var:EtatNavet", "Idle");
Set("/Var:Repart", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 541 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 6
Set("/Var:NVie", /Var:NVie - (/Var:ImpactObs - ((/Var:ImpactObs * /Var:NHard) / 100)));
if (/Var:NVie <= 0) {
Set("/Var:EtatNavet", "Meurt");
gotoAndStop (21);
}
stop();
Symbol 541 MovieClip Frame 14
stop();
Symbol 541 MovieClip Frame 21
stop();
Symbol 541 MovieClip Frame 28
stop();
Symbol 542 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 548 MovieClip Frame 16
stop();
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 2
stop();
Symbol 554 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 557 MovieClip Frame 1
stop();
Symbol 557 MovieClip Frame 67
stop();
Symbol 660 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 2
stop();
Symbol 663 MovieClip Frame 3
stop();
Symbol 663 MovieClip Frame 4
stop();
Symbol 663 MovieClip Frame 5
stop();
Symbol 666 MovieClip Frame 1
stop();
Symbol 681 MovieClip Frame 1
gotoAndStop(/Var:Nuse);
Symbol 682 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 691 MovieClip Frame 1
gotoAndStop(/Var:NUse);
Symbol 701 MovieClip Frame 1
ScoreTotal = "0000000";
gotoAndStop(/Var:NUse);
Symbol 701 MovieClip Frame 2
ScoreTotal = "0000000";
Symbol 701 MovieClip Frame 3
ScoreTotal = "0000000";
Symbol 701 MovieClip Frame 4
ScoreTotal = "0000000";
Symbol 701 MovieClip Frame 5
ScoreTotal = "0000000";
Symbol 703 MovieClip Frame 1
stop();
Symbol 703 MovieClip Frame 2
stop();
Symbol 703 MovieClip Frame 3
stop();
Symbol 705 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 2
stop();
Symbol 705 MovieClip Frame 3
stop();
Symbol 742 MovieClip Frame 1
Set("/Var:LanceBomb", false);
stop();
Symbol 742 MovieClip Frame 14
if (/Var:Item1Actif == true) {
Set("/Var:Item1Pet", true);
tellTarget ("_root.Items.Item1.ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
if (/Var:Item2Actif == true) {
Set("/Var:Item2Pet", true);
tellTarget ("_root.Items.Item2.ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
Symbol 742 MovieClip Frame 15
if (/Var:Item3Actif == true) {
Set("/Var:Item3Pet", true);
tellTarget ("_root.Items.Item3.ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
if (/Var:Item4Actif == true) {
Set("/Var:Item4Pet", true);
tellTarget ("_root.Items.Item4.ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
Symbol 742 MovieClip Frame 16
if (/Var:Item5Actif == true) {
Set("/Var:Item5Pet", true);
tellTarget ("_root.Items.Item5.ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
if (/Var:Item6Actif == true) {
Set("/Var:Item6Pet", true);
tellTarget ("_root.Items.Item6.ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
Symbol 742 MovieClip Frame 17
if (/Var:Item7Actif == true) {
Set("/Var:Item7Pet", true);
tellTarget ("_root.Items.Item7.ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
if (/Var:Item8Actif == true) {
Set("/Var:Item8Pet", true);
tellTarget ("_root.Items.Item8.ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
Symbol 742 MovieClip Frame 18
if (/Var:Item9Actif == true) {
Set("/Var:Item9Pet", true);
tellTarget ("_root.Items.Item9.ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
if (/Var:Item10Actif == true) {
Set("/Var:Item10Pet", true);
tellTarget ("_root.Items.Item10.ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
Symbol 742 MovieClip Frame 28
gotoAndStop (1);
Symbol 743 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 4
stop();
Symbol 746 MovieClip Frame 1
myColor = new Color(("_root.Items." + getProperty("../../../../", _name)) + ".ObsAng.Obs.Obs");
myColorTransform = new Object();
myColorTransform = {ra:"100", ga:"100", ba:"100"};
myColor.setTransform(myColorTransform);
Symbol 746 MovieClip Frame 2
if (_parent:Points != 0) {
RPoint = new object();
RPoint.x = 0;
RPoint.y = 0;
RPts.localToGlobal(RPoint);
Set("/Var:PtsLevel", /Var:PtsLevel + 1);
Niveau = /Var:PtsLevel;
Set("/Var:NbPts" + Niveau, _parent:Points);
duplicateMovieClip ("_root.Points.Pts", "Pts" + Niveau, Niveau);
setProperty("_root.Points.Pts" + Niveau, _x , RPoint.x);
setProperty("_root.Points.Pts" + Niveau, _y , RPoint.y);
}
Symbol 746 MovieClip Frame 9
Set(("/Var:" + getProperty("../../../../", _name)) + "Actif", false);
Set(("/Var:" + getProperty("../../../../", _name)) + "Pet", false);
Set(("/Var:" + getProperty("../../../../", _name)) + "Hit", false);
tellTarget ("../../../../") {
gotoAndStop (1);
};
Symbol 749 MovieClip Frame 1
if (/Var:LanceBomb == false) {
if (random(100) > 50) {
gotoAndStop (2);
} else {
gotoAndStop (4);
}
} else {
stop();
}
Symbol 750 MovieClip Frame 1
stop();
Symbol 750 MovieClip Frame 2
tellTarget ("Flash") {
play();
};
Set("_parent:HitMur", _parent:HitMur + 1);
if (_parent:HitMur > 3) {
Set(("/Var:" + getProperty("../../../", _name)) + "Pet", true);
gotoAndStop (5);
} else {
Set(("/Var:" + getProperty("../../../", _name)) + "Pet", false);
gotoAndStop (1);
}
Symbol 750 MovieClip Frame 4
stop();
Symbol 750 MovieClip Frame 5
Points = 3;
Set("/Var:NbMur", /Var:NbMur - 1);
stop();
Symbol 751 MovieClip Frame 1
HitMur = 0;
Symbol 752 MovieClip Frame 1
gotoAndStop(eval (("/Var:" + getProperty("../", _name)) + "Ang"));
Symbol 757 MovieClip Frame 4
stop();
Symbol 758 MovieClip Frame 1
if (random(100) > 50) {
gotoAndStop (2);
} else {
gotoAndStop (4);
}
Symbol 759 MovieClip Frame 1
stop();
Symbol 759 MovieClip Frame 2
stop();
Symbol 759 MovieClip Frame 3
Points = 2;
stop();
Symbol 759 MovieClip Frame 4
Points = 1;
stop();
Symbol 761 MovieClip Frame 1
gotoAndStop(eval (("/Var:" + getProperty("../", _name)) + "Ang"));
Symbol 762 MovieClip Frame 1
stop();
Symbol 762 MovieClip Frame 2
Set(("/Var:" + getProperty("../../../", _name)) + "Pet", false);
gotoAndStop (1);
stop();
Symbol 762 MovieClip Frame 3
RPoint = new object();
RPoint.x = 0;
RPoint.y = 0;
RPts.localToGlobal(RPoint);
Set("/Var:PtsLevel", /Var:PtsLevel + 1);
Niveau = /Var:PtsLevel;
Set("/Var:NbPts" + Niveau, 3);
duplicateMovieClip ("_root.Points.Pts", "Pts" + Niveau, Niveau);
setProperty("_root.Points.Pts" + Niveau, _x , RPoint.x);
setProperty("_root.Points.Pts" + Niveau, _y , RPoint.y);
stop();
Symbol 762 MovieClip Frame 4
Points = 1;
stop();
Symbol 764 MovieClip Frame 1
gotoAndStop(eval (("/Var:" + getProperty("../", _name)) + "Ang"));
Symbol 765 MovieClip Frame 1
stop();
Symbol 765 MovieClip Frame 2
RPoint = new object();
RPoint.x = 0;
RPoint.y = 0;
RPts.localToGlobal(RPoint);
Set("/Var:PtsLevel", /Var:PtsLevel + 1);
Niveau = /Var:PtsLevel;
Set("/Var:NbPts" + Niveau, 1);
duplicateMovieClip ("_root.Points.Pts", "Pts" + Niveau, Niveau);
setProperty("_root.Points.Pts" + Niveau, _x , RPoint.x);
setProperty("_root.Points.Pts" + Niveau, _y , RPoint.y);
stop();
Symbol 765 MovieClip Frame 3
Points = 1;
stop();
Symbol 765 MovieClip Frame 4
Points = 1;
stop();
Symbol 767 MovieClip Frame 1
gotoAndStop(eval (("/Var:" + getProperty("../", _name)) + "Ang"));
Symbol 768 MovieClip Frame 1
stop();
Symbol 768 MovieClip Frame 2
Points = 0;
stop();
Symbol 768 MovieClip Frame 3
Points = 1;
stop();
Symbol 768 MovieClip Frame 4
Points = 1;
stop();
Symbol 770 MovieClip Frame 1
gotoAndStop(eval (("/Var:" + getProperty("../", _name)) + "Ang"));
Symbol 772 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 2
RPoint = new object();
RPoint.x = 0;
RPoint.y = 0;
RPts.localToGlobal(RPoint);
Set("/Var:PtsLevel", /Var:PtsLevel + 1);
Niveau = /Var:PtsLevel;
Set("/Var:NbPts" + Niveau, 1);
duplicateMovieClip ("_root.Points.Pts", "Pts" + Niveau, Niveau);
setProperty("_root.Points.Pts" + Niveau, _x , RPoint.x);
setProperty("_root.Points.Pts" + Niveau, _y , RPoint.y);
stop();
Symbol 772 MovieClip Frame 3
Points = 1;
stop();
Symbol 772 MovieClip Frame 4
Points = 1;
stop();
Symbol 774 MovieClip Frame 1
gotoAndStop(eval (("/Var:" + getProperty("../", _name)) + "Ang"));
Symbol 777 MovieClip Frame 1
stop();
Symbol 777 MovieClip Frame 2
Points = 1;
stop();
Symbol 777 MovieClip Frame 3
RPoint = new object();
RPoint.x = 0;
RPoint.y = 0;
RPts.localToGlobal(RPoint);
Set("/Var:PtsLevel", /Var:PtsLevel + 1);
Niveau = /Var:PtsLevel;
Set("/Var:NbPts" + Niveau, 2);
duplicateMovieClip ("_root.Points.Pts", "Pts" + Niveau, Niveau);
setProperty("_root.Points.Pts" + Niveau, _x , RPoint.x);
setProperty("_root.Points.Pts" + Niveau, _y , RPoint.y);
Symbol 777 MovieClip Frame 4
Points = 1;
stop();
Symbol 779 MovieClip Frame 1
gotoAndStop(eval (("/Var:" + getProperty("../", _name)) + "Ang"));
Symbol 780 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 2
Points = 1;
stop();
Symbol 780 MovieClip Frame 3
RPoint = new object();
RPoint.x = 0;
RPoint.y = 0;
RPts.localToGlobal(RPoint);
Set("/Var:PtsLevel", /Var:PtsLevel + 1);
Niveau = /Var:PtsLevel;
Set("/Var:NbPts" + Niveau, 3);
duplicateMovieClip ("_root.Points.Pts", "Pts" + Niveau, Niveau);
setProperty("_root.Points.Pts" + Niveau, _x , RPoint.x);
setProperty("_root.Points.Pts" + Niveau, _y , RPoint.y);
Symbol 780 MovieClip Frame 4
Points = 1;
stop();
Symbol 782 MovieClip Frame 1
gotoAndStop(eval (("/Var:" + getProperty("../", _name)) + "Ang"));
Symbol 784 MovieClip Frame 1
stop();
Symbol 784 MovieClip Frame 2
if (/Var:SecFlag <= /Var:MaxFlag) {
RPoint = new object();
RPoint.x = 0;
RPoint.y = 0;
RPts.localToGlobal(RPoint);
Set("/Var:PtsLevel", /Var:PtsLevel + 1);
Niveau = /Var:PtsLevel;
Set("/Var:NbPts" + Niveau, 4);
duplicateMovieClip ("_root.Points.Pts", "Pts" + Niveau, Niveau);
setProperty("_root.Points.Pts" + Niveau, _x , RPoint.x);
setProperty("_root.Points.Pts" + Niveau, _y , RPoint.y);
}
Set("/Var:SecFlag", 0);
stop();
Symbol 784 MovieClip Frame 3
if (/Var:SecFlag <= /Var:MaxFlag) {
RPoint = new object();
RPoint.x = 0;
RPoint.y = 0;
RPts.localToGlobal(RPoint);
Set("/Var:PtsLevel", /Var:PtsLevel + 1);
Niveau = /Var:PtsLevel;
Set("/Var:NbPts" + Niveau, 4);
duplicateMovieClip ("_root.Points.Pts", "Pts" + Niveau, Niveau);
setProperty("_root.Points.Pts" + Niveau, _x , RPoint.x);
setProperty("_root.Points.Pts" + Niveau, _y , RPoint.y);
}
Set("/Var:SecFlag", 0);
stop();
Symbol 784 MovieClip Frame 4
if (/Var:SecFlag <= /Var:MaxFlag) {
RPoint = new object();
RPoint.x = 0;
RPoint.y = 0;
RPts.localToGlobal(RPoint);
Set("/Var:PtsLevel", /Var:PtsLevel + 1);
Niveau = /Var:PtsLevel;
Set("/Var:NbPts" + Niveau, 4);
duplicateMovieClip ("_root.Points.Pts", "Pts" + Niveau, Niveau);
setProperty("_root.Points.Pts" + Niveau, _x , RPoint.x);
setProperty("_root.Points.Pts" + Niveau, _y , RPoint.y);
}
Set("/Var:SecFlag", 0);
stop();
Symbol 786 MovieClip Frame 1
gotoAndStop(eval (("/Var:" + getProperty("../", _name)) + "Ang"));
Symbol 787 MovieClip Frame 1
stop();
Symbol 804 MovieClip Frame 1
stop();
Symbol 811 MovieClip Frame 1
gotoAndStop(eval ("/Var:Nb" + getProperty("../", _name)));
Symbol 812 MovieClip Frame 3
if (eval ("/Var:Nb" + _name) == 1) {
Set("/Var:Score", /Var:Score + 500);
} else if (eval ("/Var:Nb" + _name) == 2) {
Set("/Var:Score", /Var:Score + 750);
} else if (eval ("/Var:Nb" + _name) == 3) {
Set("/Var:Score", /Var:Score + 1000);
} else if (eval ("/Var:Nb" + _name) == 4) {
Set("/Var:Score", /Var:Score + 2500);
}
Symbol 812 MovieClip Frame 17
removeMovieClip("");
stop();
Symbol 813 MovieClip Frame 1
tellTarget ("Pts") {
gotoAndStop (1);
};
Symbol 814 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 2
Set("/Var:Vit", /Var:Vit + /Var:Boost);
Symbol 817 MovieClip Frame 3
Set("/Var:Vit", /Var:Vit + /Var:Boost);
Symbol 817 MovieClip Frame 4
Set("/Var:Vit", /Var:Vit + /Var:Boost);
Symbol 817 MovieClip Frame 5
Set("/Var:Vit", /Var:Vit + /Var:Boost);
Symbol 817 MovieClip Frame 6
Set("/Var:Vit", /Var:Vit + /Var:Boost);
Symbol 817 MovieClip Frame 7
Set("/Var:Vit", /Var:Vit + /Var:Boost);
Symbol 817 MovieClip Frame 8
Set("/Var:Vit", /Var:Vit + /Var:Boost);
Symbol 817 MovieClip Frame 9
Set("/Var:Vit", /Var:Vit + /Var:Boost);
Symbol 817 MovieClip Frame 10
Set("/Var:Vit", /Var:Vit + /Var:Boost);
Symbol 817 MovieClip Frame 11
Set("/Var:Vit", /Var:Vit + /Var:Boost);
Symbol 817 MovieClip Frame 49
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 50
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 51
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 52
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 53
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 54
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 55
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 56
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 57
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 58
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 59
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 60
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 61
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 62
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 63
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 64
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 65
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 66
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 67
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 68
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 69
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 70
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 71
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 72
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 73
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 74
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 75
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 76
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 77
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 78
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 79
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 80
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 81
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 82
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 83
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 84
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 85
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 86
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 87
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 88
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 89
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 90
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 91
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 92
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 93
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 94
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 95
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 96
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 97
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 98
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 99
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 100
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 101
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 102
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 103
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 104
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 105
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 106
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 107
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 817 MovieClip Frame 108
Set("/Var:Vit", /Var:Vit - (/Var:Boost / 6));
Symbol 818 MovieClip Frame 1
if (/Var:Temps <= 0) {
tellTarget ("_parent") {
gotoAndStop ("Sort");
};
// unexpected jump
}
if (/Var:RondRotate == false) {
if (random(100) > 70) {
Set("/Var:DegreRotate", 0);
Set("/Var:Degre", random(339) + 21);
Set("/Var:RondRotate", true);
if (random(100) > 50) {
Set("/Var:Sens", "Plus");
} else {
Set("/Var:Sens", "Moins");
}
}
} else {
Set("/Var:DegreRotate", /Var:DegreRotate + (/Var:Vit / 4));
if (/Var:Sens eq "Plus") {
setProperty("_parent.Lignes2", _rotation , getProperty("_parent.Lignes2", _rotation) + (/Var:Vit / 4));
} else {
setProperty("_parent.Lignes2", _rotation , getProperty("_parent.Lignes2", _rotation) - (/Var:Vit / 4));
}
if (/Var:DegreRotate > /Var:Degre) {
Set("/Var:RondRotate", false);
}
}
Set("/Var:DistCheck", /Var:DistCheck + /Var:Vit);
Set("/Var:Dist", /Var:Dist + /Var:Vit);
Set("/Var:DistTemp", /Var:DistTemp + /Var:Vit);
if (/Var:Dur eq "Easy") {
if (/Var:DistTemp >= /Var:DistObs) {
Set("/Var:DistTemp", /Var:DistTemp - /Var:DistObs);
tellTarget ("_parent.TabObsEasy") {
play();
};
}
} else if (/Var:DistTemp >= /Var:DistObsHard) {
Set("/Var:DistTemp", /Var:DistTemp - /Var:DistObsHard);
tellTarget ("_parent.TabObsHard") {
play();
};
}
Minutes = /Var:Temps / 60;
if (Minutes < 1) {
Minutes = 0;
} else {
Minutes = int(Minutes);
}
Set("_root.Interface.Gage.Time:Min", "0" + Minutes);
Secondes = /Var:Temps - (Minutes * 60);
if (Secondes < 10) {
Set("_root.Interface.Gage.Time:Sec", "0" + Secondes);
} else {
Set("_root.Interface.Gage.Time:Sec", Secondes);
}
tellTarget ("_parent.Interface.Gage.Vie") {
gotoAndStop(int(/Var:NVie) + 1);
};
tellTarget ("_parent.Interface.Gage.Spd") {
gotoAndStop(int((/Var:Vit * 100) / /Var:RefVitMax) + 1);
};
ScoreTemp = /Var:Score;
if (ScoreTemp < 10) {
ScoreTemp = "000000" + ScoreTemp;
} else if (ScoreTemp < 100) {
ScoreTemp = "00000" + ScoreTemp;
} else if (ScoreTemp < 1000) {
ScoreTemp = "0000" + ScoreTemp;
} else if (ScoreTemp < 10000) {
ScoreTemp = "000" + ScoreTemp;
} else if (ScoreTemp < 100000) {
ScoreTemp = "00" + ScoreTemp;
} else if (ScoreTemp < 1000000) {
ScoreTemp = "0" + ScoreTemp;
}
Set("_root.Score:ScoreTotal", ScoreTemp);
if (/Var:EtatNavet eq "Meurt") {
if (/Var:Repart == true) {
if (Key.isDown(39)) {
Set("/Var:SensTourne", "D");
if (/Var:VitTourne < /Var:NVitTourne) {
Set("/Var:VitTourne", /Var:VitTourne + (/Var:NVitTourne / /Var:NVarieTourne));
}
setProperty("_parent.Navets", _rotation , getProperty("_parent.Navets", _rotation) - /Var:VitTourne);
} else if (Key.isDown(37)) {
Set("/Var:SensTourne", "G");
if (/Var:VitTourne > (/Var:NVitTourne * -1)) {
Set("/Var:VitTourne", /Var:VitTourne - (/Var:NVitTourne / /Var:NVarieTourne));
}
setProperty("_parent.Navets", _rotation , getProperty("_parent.Navets", _rotation) - /Var:VitTourne);
}
if (((!Key.isDown(39)) and (!Key.isDown(37))) and (/Var:VitTourne != 0)) {
if ((/Var:VitTourne > 0) and (/Var:SensTourne eq "D")) {
Set("/Var:VitTourne", /Var:VitTourne - ((/Var:NVitTourne / /Var:NVarieTourne) / 2));
setProperty("_parent.Navets", _rotation , getProperty("_parent.Navets", _rotation) - /Var:VitTourne);
} else if ((/Var:VitTourne < 0) and (/Var:SensTourne eq "G")) {
Set("/Var:VitTourne", /Var:VitTourne + ((/Var:NVitTourne / /Var:NVarieTourne) / 2));
setProperty("_parent.Navets", _rotation , getProperty("_parent.Navets", _rotation) - /Var:VitTourne);
} else {
Set("/Var:SensTourne", "");
Set("/Var:VitTourne", 0);
}
}
}
} else {
tellTarget ("_parent.Navets.Navet") {
gotoAndStop(/Var:EtatNavet);
};
if (Key.isDown(39)) {
Set("/Var:SensTourne", "D");
if (/Var:VitTourne < /Var:NVitTourne) {
Set("/Var:VitTourne", /Var:VitTourne + (/Var:NVitTourne / /Var:NVarieTourne));
}
setProperty("_parent.Navets", _rotation , getProperty("_parent.Navets", _rotation) - /Var:VitTourne);
} else if (Key.isDown(37)) {
Set("/Var:SensTourne", "G");
if (/Var:VitTourne > (/Var:NVitTourne * -1)) {
Set("/Var:VitTourne", /Var:VitTourne - (/Var:NVitTourne / /Var:NVarieTourne));
}
setProperty("_parent.Navets", _rotation , getProperty("_parent.Navets", _rotation) - /Var:VitTourne);
}
if (((!Key.isDown(39)) and (!Key.isDown(37))) and (/Var:VitTourne != 0)) {
if ((/Var:VitTourne > 0) and (/Var:SensTourne eq "D")) {
Set("/Var:VitTourne", /Var:VitTourne - ((/Var:NVitTourne / /Var:NVarieTourne) / 2));
setProperty("_parent.Navets", _rotation , getProperty("_parent.Navets", _rotation) - /Var:VitTourne);
} else if ((/Var:VitTourne < 0) and (/Var:SensTourne eq "G")) {
Set("/Var:VitTourne", /Var:VitTourne + ((/Var:NVitTourne / /Var:NVarieTourne) / 2));
setProperty("_parent.Navets", _rotation , getProperty("_parent.Navets", _rotation) - /Var:VitTourne);
} else {
Set("/Var:SensTourne", "");
Set("/Var:VitTourne", 0);
}
}
if (Key.isDown(16)) {
if ((/Var:LanceBomb == false) and (/Var:NBombs > 0)) {
Set("/Var:NBombs", /Var:NBombs - 1);
Set("/Var:LanceBomb", true);
setProperty("_parent.Bomb", _rotation , getProperty("_parent.Navets", _rotation));
tellTarget ("_parent.Bomb") {
play();
};
tellTarget ("_parent.Interface.Gage.Bomb") {
prevFrame();
};
}
}
tellTarget ("_parent.Navets.Navet") {
gotoAndStop(/Var:EtatNavet);
};
if (Key.isDown(32) and (/Var:EtatNavet ne "Hit")) {
if ((/Var:Balle1 == false) and (/Var:StopTir == false)) {
Set("/Var:Balle1", true);
Set("/Var:StopTir", true);
setProperty("_parent.Balle1", _rotation , getProperty("_parent.Navets", _rotation));
tellTarget ("_parent.StopTir") {
play();
};
tellTarget ("_parent.Balle1") {
gotoAndPlay (2);
};
} else if ((/Var:Balle2 == false) and (/Var:StopTir == false)) {
Set("/Var:Balle2", true);
Set("/Var:StopTir", true);
setProperty("_parent.Balle2", _rotation , getProperty("_parent.Navets", _rotation));
tellTarget ("_parent.StopTir") {
play();
};
tellTarget ("_parent.Balle2") {
gotoAndPlay (2);
};
} else if ((/Var:Balle3 == false) and (/Var:StopTir == false)) {
Set("/Var:Balle3", true);
Set("/Var:StopTir", true);
setProperty("_parent.Balle3", _rotation , getProperty("_parent.Navets", _rotation));
tellTarget ("_parent.StopTir") {
play();
};
tellTarget ("_parent.Balle3") {
gotoAndPlay (2);
};
}
}
if (getProperty("_parent.StopTir", _currentframe) >= /Var:NVitTir) {
Set("/Var:StopTir", false);
tellTarget ("_parent.StopTir") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Balle1", _currentframe) >= 12) {
Set("/Var:Balle1", false);
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
tellTarget ("_parent.Balle1") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Balle2", _currentframe) >= 12) {
Set("/Var:Balle2", false);
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
tellTarget ("_parent.Balle2") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Balle3", _currentframe) >= 12) {
Set("/Var:Balle3", false);
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
tellTarget ("_parent.Balle3") {
gotoAndStop (1);
};
}
if (Key.isDown(38) and (/Var:BoostSpeed == false)) {
if (/Var:Vit < /Var:NVitMax) {
tellTarget ("_parent.Down") {
gotoAndStop ("Stop");
};
tellTarget ("_parent.Up") {
gotoAndStop ("Play");
};
Set("/Var:Vit", /Var:Vit + /Var:NSpeedUp);
} else {
Set("/Var:Vit", /Var:NVitMax);
}
} else if (Key.isDown(40) and (/Var:BoostSpeed == false)) {
if (/Var:Vit > /Var:VitMin) {
tellTarget ("_parent.Up") {
gotoAndStop ("Stop");
};
tellTarget ("_parent.Down") {
gotoAndStop ("Play");
};
Set("/Var:Vit", /Var:Vit - /Var:NBreak);
} else {
Set("/Var:Vit", /Var:VitMin);
}
} else {
tellTarget ("_parent.Up") {
gotoAndStop ("Stop");
};
tellTarget ("_parent.Down") {
gotoAndStop ("Stop");
};
}
}
Set("_root:Frame1", getProperty("_parent.Lignes1.Ligne1", _currentframe) + int(/Var:Vit));
if (_root:Frame1 > /Var:FrameRond) {
Set("_root:Frame1", _root.Frame1 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne1") {
gotoAndStop(_root:Frame1);
};
Set("_root:Frame2", getProperty("_parent.Lignes1.Ligne2", _currentframe) + int(/Var:Vit));
if (_root:Frame2 > /Var:FrameRond) {
Set("_root:Frame2", _root.Frame2 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne2") {
gotoAndStop(_root:Frame2);
};
Set("_root:Frame3", getProperty("_parent.Lignes1.Ligne3", _currentframe) + int(/Var:Vit));
if (_root:Frame3 > /Var:FrameRond) {
Set("_root:Frame3", _root.Frame3 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne3") {
gotoAndStop(_root:Frame3);
};
Set("_root:Frame4", getProperty("_parent.Lignes1.Ligne4", _currentframe) + int(/Var:Vit));
if (_root:Frame4 > /Var:FrameRond) {
Set("_root:Frame4", _root.Frame4 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne4") {
gotoAndStop(_root:Frame4);
};
Set("_root:Frame5", getProperty("_parent.Lignes1.Ligne5", _currentframe) + int(/Var:Vit));
if (_root:Frame5 > /Var:FrameRond) {
Set("_root:Frame5", _root.Frame5 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne5") {
gotoAndStop(_root:Frame5);
};
Set("_root:Frame6", getProperty("_parent.Lignes1.Ligne6", _currentframe) + int(/Var:Vit));
if (_root:Frame6 > /Var:FrameRond) {
Set("_root:Frame6", _root.Frame6 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne6") {
gotoAndStop(_root:Frame6);
};
Set("_root:Frame7", getProperty("_parent.Lignes2", _currentframe) + int(/Var:Vit));
if (_root:Frame7 > /Var:FrameRond) {
Set("_root:Frame7", _root.Frame7 - /Var:FrameRond);
}
tellTarget ("_root.Lignes2") {
gotoAndStop(_root:Frame7);
};
if (/Var:Item1Actif == true) {
tellTarget ("_parent.Items.Item1") {
gotoAndStop(/Var:Item1);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item1.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item1.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item2Actif == true) {
tellTarget ("_parent.Items.Item2") {
gotoAndStop(/Var:Item2);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item2.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item2.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item3Actif == true) {
tellTarget ("_parent.Items.Item3") {
gotoAndStop(/Var:Item3);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item3.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item3.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item4Actif == true) {
tellTarget ("_parent.Items.Item4") {
gotoAndStop(/Var:Item4);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item4.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item4.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item5Actif == true) {
tellTarget ("_parent.Items.Item5") {
gotoAndStop(/Var:Item5);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item5.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item5.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item6Actif == true) {
tellTarget ("_parent.Items.Item6") {
gotoAndStop(/Var:Item6);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item6.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item6.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item7Actif == true) {
tellTarget ("_parent.Items.Item7") {
gotoAndStop(/Var:Item7);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item7.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item7.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item8Actif == true) {
tellTarget ("_parent.Items.Item8") {
gotoAndStop(/Var:Item8);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item8.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item8.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item9Actif == true) {
tellTarget ("_parent.Items.Item9") {
gotoAndStop(/Var:Item9);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item9.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item9.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item10Actif == true) {
tellTarget ("_parent.Items.Item10") {
gotoAndStop(/Var:Item10);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item10.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item10.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (getProperty("_parent.Items.Item1.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item1Actif", false);
Set("/Var:Item1Pet", false);
Set("/Var:Item1Hit", false);
if (/Var:Item1 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item1") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item2.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item2Actif", false);
Set("/Var:Item2Pet", false);
Set("/Var:Item2Hit", false);
if (/Var:Item2 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item2") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item3.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item3Actif", false);
Set("/Var:Item3Pet", false);
Set("/Var:Item3Hit", false);
if (/Var:Item3 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item3") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item4.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item4Actif", false);
Set("/Var:Item4Pet", false);
Set("/Var:Item4Hit", false);
if (/Var:Item4 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item4") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item5.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item5Actif", false);
Set("/Var:Item5Pet", false);
Set("/Var:Item5Hit", false);
if (/Var:Item5 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item5") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item6.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item6Actif", false);
Set("/Var:Item6Pet", false);
Set("/Var:Item6Hit", false);
if (/Var:Item6 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item6") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item7.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item7Actif", false);
Set("/Var:Item7Pet", false);
Set("/Var:Item7Hit", false);
if (/Var:Item7 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item7") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item8.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item8Actif", false);
Set("/Var:Item8Pet", false);
Set("/Var:Item8Hit", false);
if (/Var:Item8 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item8") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item9.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item9Actif", false);
Set("/Var:Item9Pet", false);
Set("/Var:Item9Hit", false);
if (/Var:Item9 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item9") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item10.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item10Actif", false);
Set("/Var:Item10Pet", false);
Set("/Var:Item10Hit", false);
if (/Var:Item10 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item10") {
gotoAndStop (1);
};
}
if (/Var:EtatNavet ne "Meurt") {
if (((/Var:EtatNavet ne "Hit") and (/Var:Touche == false)) and (/Var:EtatNavet ne "Bomb")) {
if ((((/Var:Item1Actif == true) and (getProperty("_parent.Items.Item1.ObsAng.Obs", _currentframe) >= /Var:ObsHit)) and (/Var:Item1Pet == false)) and (/Var:Item1Hit == false)) {
OAngle = getProperty("_parent.Items.Item1.ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + /Var:Item1) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + /Var:Item1) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + /Var:NLarge;
NDroite = NAngle - /Var:NLarge;
if ((/Var:Item1Ang == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((/Var:Item1Ang == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
Set("/Var:Touche", true);
Set("/Var:ItemHit", 1);
Set("/Var:ObsTouche", /Var:Item1);
}
}
if (((((/Var:Item2Actif == true) and (getProperty("_parent.Items.Item2.ObsAng.Obs", _currentframe) >= /Var:ObsHit)) and (/Var:EtatNavet ne "Hit")) and (/Var:Item2Pet == false)) and (/Var:Item2Hit == false)) {
OAngle = getProperty("_parent.Items.Item2.ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + /Var:Item2) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + /Var:Item2) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + /Var:NLarge;
NDroite = NAngle - /Var:NLarge;
if ((/Var:Item2Ang == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((/Var:Item2Ang == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
Set("/Var:Touche", true);
Set("/Var:ItemHit", 2);
Set("/Var:ObsTouche", /Var:Item2);
}
}
if (((((/Var:Item3Actif == true) and (getProperty("_parent.Items.Item3.ObsAng.Obs", _currentframe) >= /Var:ObsHit)) and (/Var:EtatNavet ne "Hit")) and (/Var:Item3Pet == false)) and (/Var:Item3Hit == false)) {
OAngle = getProperty("_parent.Items.Item3.ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + /Var:Item3) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + /Var:Item3) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + /Var:NLarge;
NDroite = NAngle - /Var:NLarge;
if ((/Var:Item3Ang == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((/Var:Item3Ang == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
Set("/Var:Touche", true);
Set("/Var:ItemHit", 3);
Set("/Var:ObsTouche", /Var:Item3);
}
}
if (((((/Var:Item4Actif == true) and (getProperty("_parent.Items.Item4.ObsAng.Obs", _currentframe) >= /Var:ObsHit)) and (/Var:EtatNavet ne "Hit")) and (/Var:Item4Pet == false)) and (/Var:Item4Hit == false)) {
OAngle = getProperty("_parent.Items.Item4.ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + /Var:Item4) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + /Var:Item4) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + /Var:NLarge;
NDroite = NAngle - /Var:NLarge;
if ((/Var:Item4Ang == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((/Var:Item4Ang == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
Set("/Var:Touche", true);
Set("/Var:ItemHit", 4);
Set("/Var:ObsTouche", /Var:Item4);
}
}
if (((((/Var:Item5Actif == true) and (getProperty("_parent.Items.Item5.ObsAng.Obs", _currentframe) >= /Var:ObsHit)) and (/Var:EtatNavet ne "Hit")) and (/Var:Item5Pet == false)) and (/Var:Item5Hit == false)) {
OAngle = getProperty("_parent.Items.Item5.ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + /Var:Item5) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + /Var:Item5) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + /Var:NLarge;
NDroite = NAngle - /Var:NLarge;
if ((/Var:Item5Ang == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((/Var:Item5Ang == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
Set("/Var:Touche", true);
Set("/Var:ItemHit", 5);
Set("/Var:ObsTouche", /Var:Item5);
}
}
if (((((/Var:Item6Actif == true) and (getProperty("_parent.Items.Item6.ObsAng.Obs", _currentframe) >= /Var:ObsHit)) and (/Var:EtatNavet ne "Hit")) and (/Var:Item6Pet == false)) and (/Var:Item6Hit == false)) {
OAngle = getProperty("_parent.Items.Item6.ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + /Var:Item6) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + /Var:Item6) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + /Var:NLarge;
NDroite = NAngle - /Var:NLarge;
if ((/Var:Item6Ang == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((/Var:Item6Ang == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
Set("/Var:Touche", true);
Set("/Var:ItemHit", 6);
Set("/Var:ObsTouche", /Var:Item6);
}
}
if (((((/Var:Item7Actif == true) and (getProperty("_parent.Items.Item7.ObsAng.Obs", _currentframe) >= /Var:ObsHit)) and (/Var:EtatNavet ne "Hit")) and (/Var:Item7Pet == false)) and (/Var:Item7Hit == false)) {
OAngle = getProperty("_parent.Items.Item7.ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + /Var:Item7) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + /Var:Item7) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + /Var:NLarge;
NDroite = NAngle - /Var:NLarge;
if ((/Var:Item7Ang == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((/Var:Item7Ang == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
Set("/Var:Touche", true);
Set("/Var:ItemHit", 7);
Set("/Var:ObsTouche", /Var:Item7);
}
}
if (((((/Var:Item8Actif == true) and (getProperty("_parent.Items.Item8.ObsAng.Obs", _currentframe) >= /Var:ObsHit)) and (/Var:EtatNavet ne "Hit")) and (/Var:Item8Pet == false)) and (/Var:Item8Hit == false)) {
OAngle = getProperty("_parent.Items.Item8.ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + /Var:Item8) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + /Var:Item8) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + /Var:NLarge;
NDroite = NAngle - /Var:NLarge;
if ((/Var:Item8Ang == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((/Var:Item8Ang == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
Set("/Var:Touche", true);
Set("/Var:ItemHit", 8);
Set("/Var:ObsTouche", /Var:Item8);
}
}
if (((((/Var:Item9Actif == true) and (getProperty("_parent.Items.Item9.ObsAng.Obs", _currentframe) >= /Var:ObsHit)) and (/Var:EtatNavet ne "Hit")) and (/Var:Item9Pet == false)) and (/Var:Item9Hit == false)) {
OAngle = getProperty("_parent.Items.Item9.ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + /Var:Item9) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + /Var:Item9) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + /Var:NLarge;
NDroite = NAngle - /Var:NLarge;
if ((/Var:Item9Ang == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((/Var:Item9Ang == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
Set("/Var:Touche", true);
Set("/Var:ItemHit", 9);
Set("/Var:ObsTouche", /Var:Item9);
}
}
if (((((/Var:Item10Actif == true) and (getProperty("_parent.Items.Item10.ObsAng.Obs", _currentframe) >= /Var:ObsHit)) and (/Var:EtatNavet ne "Hit")) and (/Var:Item10Pet == false)) and (/Var:Item10Hit == false)) {
OAngle = getProperty("_parent.Items.Item10.ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + /Var:Item10) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + /Var:Item10) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + /Var:NLarge;
NDroite = NAngle - /Var:NLarge;
if ((/Var:Item10Ang == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((/Var:Item10Ang == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
Set("/Var:Touche", true);
Set("/Var:ItemHit", 10);
Set("/Var:ObsTouche", /Var:Item10);
}
}
}
if (/Var:Touche == true) {
if (/Var:EtatNavet eq "Invincible") {
if (((/Var:ObsTouche == 4) or (/Var:ObsTouche == 7)) or (/Var:ObsTouche == 9)) {
OAngle = getProperty(("_parent.Items.Item" + /Var:ItemHit) + ".ObsAng.Obs", _rotation);
if (OAngle < 0) {
OAngle = 360 + OAngle;
}
OGauche = OAngle + eval (("/Var:Obs" + eval ("/Var:Item" + /Var:ObsTouche)) + "Large");
ODroite = OAngle - eval (("/Var:Obs" + eval ("/Var:Item" + /Var:ObsTouche)) + "Large");
NAngle = getProperty("_parent.Navets", _rotation);
if (NAngle < 0) {
NAngle = 360 + NAngle;
}
NGauche = NAngle + eval (("/Var:N" + /Var:NUse) + "Large");
NDroite = NAngle - eval (("/Var:N" + /Var:NUse) + "Large");
if ((eval (("/Var:Item" + /Var:ItemHit) + "Ang") == 1) and (NAngle > 270)) {
NAngle = NAngle - 360;
NGauche = NGauche - 360;
NDroite = NDroite - 360;
}
if ((eval (("/Var:Item" + /Var:ItemHit) + "Ang") == 12) and (NAngle < 90)) {
NAngle = 360 + NAngle;
NGauche = NGauche + 360;
NDroite = NDroite + 360;
}
if ((((((NGauche <= OGauche) and (NGauche >= ODroite)) or ((NDroite <= OGauche) and (NDroite >= ODroite))) or ((NAngle <= OGauche) and (NAngle >= ODroite))) or ((OGauche <= NGauche) and (OGauche >= NDroite))) or ((ODroite <= NGauche) and (ODroite >= NDroite))) {
if (/Var:ObsTouche == 4) {
Set("/Var:BoostSpeed", true);
} else if (/Var:ObsTouche == 9) {
Set("/Var:NVie", /Var:NVie + /Var:GainVie);
if (/Var:NVie > 100) {
Set("/Var:NVie", 100);
}
} else if (/Var:ObsTouche == 7) {
if (/Var:NBombs < /Var:NBombMax) {
Set("/Var:NBombs", /Var:NBombs + 1);
tellTarget (_parent.Interface.Gage.Bomb) {
nextFrame();
};
}
}
Set(("/Var:Item" + /Var:ItemHit) + "Hit", true);
tellTarget (("_parent.Items.Item" + /Var:ItemHit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Hit");
};
}
} else {
Set(("/Var:Item" + /Var:ItemHit) + "Pet", true);
tellTarget (("_parent.Items.Item" + /Var:ItemHit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Boom");
};
}
} else {
Set(("/Var:Item" + /Var:ItemHit) + "Hit", true);
tellTarget (("_parent.Items.Item" + /Var:ItemHit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Hit");
};
if (((/Var:ObsTouche == 2) or (/Var:ObsTouche == 3)) or (/Var:ObsTouche == 6)) {
Set("/Var:EtatNavet", "Hit");
} else if (/Var:ObsTouche == 4) {
Set("/Var:BoostSpeed", true);
} else if (/Var:ObsTouche == 5) {
Set("/Var:EtatNavet", "Invincible");
} else if (/Var:ObsTouche == 9) {
Set("/Var:NVie", /Var:NVie + /Var:GainVie);
if (/Var:NVie > 100) {
Set("/Var:NVie", 100);
}
} else if (/Var:ObsTouche == 7) {
if (/Var:NBombs < /Var:NBombMax) {
Set("/Var:NBombs", /Var:NBombs + 1);
tellTarget (_parent.Interface.Gage.Bomb) {
nextFrame();
};
}
}
}
Set("/Var:Touche", false);
Set("/Var:ObjTouche", 0);
}
}
if (/Var:BoostSpeed == true) {
if ((getProperty("_parent.Boost", _currentframe) < 110) and (/Var:EtatNavet ne "Meurt")) {
tellTarget ("_parent.Boost") {
play();
};
} else {
Set("/Var:BoostSpeed", false);
tellTarget ("_parent.Boost") {
gotoAndStop (1);
};
}
}
tellTarget ("_parent.Navets.Navet") {
gotoAndStop(/Var:EtatNavet);
};
if (/Var:EtatNavet eq "Invincible") {
if (getProperty("_parent.Navets.Navet.Obj", _currentframe) >= /Var:NInvincible) {
Set("/Var:EtatNavet", "Idle");
}
}
if ((/Var:EtatNavet eq "Hit") and (getProperty("_parent.Navets.Navet.Obj", _currentframe) >= /Var:NImpact)) {
Set("/Var:EtatNavet", "Idle");
}
if (/Var:Balle1 == true) {
B1Angle = getProperty("_parent.Balle1", _rotation);
if (B1Angle < 0) {
B1Angle = 360 + B1Angle;
}
if ((((((((/Var:Item1Actif == true) and (/Var:B1Touche == false)) and (getProperty("_parent.Items.Item1.ObsAng", _currentframe) == /Var:Item1Ang)) and (/Var:Item1Hit == false)) and (/Var:Item1 != 4)) and (/Var:Item1 != 8)) and (/Var:Item1 != 10)) and (/Var:Item1Pet == false)) {
OTirAng = getProperty("_parent.Items.Item1.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item1) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item1) + "Tir")) - /Var:NTir;
if ((/Var:Item1Ang == 1) and (B1Angle > 270)) {
B1Angle = B1Angle - 360;
}
if ((/Var:Item1Ang == 12) and (B1Angle < 90)) {
B1Angle = 360 + B1Angle;
}
if ((B1Angle <= OTirGauche) and (B1Angle >= OTirDroite)) {
Set("/Var:B1Touche", true);
Set("/Var:ItemB1Hit", 1);
}
}
if ((((((((/Var:Item2Actif == true) and (/Var:B1Touche == false)) and (getProperty("_parent.Items.Item2.ObsAng", _currentframe) == /Var:Item2Ang)) and (/Var:Item2Hit == false)) and (/Var:Item2 != 4)) and (/Var:Item2 != 8)) and (/Var:Item2 != 10)) and (/Var:Item2Pet == false)) {
OTirAng = getProperty("_parent.Items.Item2.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item2) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item2) + "Tir")) - /Var:NTir;
if ((/Var:Item2Ang == 1) and (B1Angle > 270)) {
B1Angle = B1Angle - 360;
}
if ((/Var:Item2Ang == 12) and (B1Angle < 90)) {
B1Angle = 360 + B1Angle;
}
if ((B1Angle <= OTirGauche) and (B1Angle >= OTirDroite)) {
Set("/Var:B1Touche", true);
Set("/Var:ItemB1Hit", 2);
}
}
if ((((((((/Var:Item3Actif == true) and (/Var:B1Touche == false)) and (getProperty("_parent.Items.Item3.ObsAng", _currentframe) == /Var:Item3Ang)) and (/Var:Item3Hit == false)) and (/Var:Item3 != 4)) and (/Var:Item3 != 8)) and (/Var:Item3 != 10)) and (/Var:Item3Pet == false)) {
OTirAng = getProperty("_parent.Items.Item3.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item3) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item3) + "Tir")) - /Var:NTir;
if ((/Var:Item3Ang == 1) and (B1Angle > 270)) {
B1Angle = B1Angle - 360;
}
if ((/Var:Item3Ang == 12) and (B1Angle < 90)) {
B1Angle = 360 + B1Angle;
}
if ((B1Angle <= OTirGauche) and (B1Angle >= OTirDroite)) {
Set("/Var:B1Touche", true);
Set("/Var:ItemB1Hit", 3);
}
}
if ((((((((/Var:Item4Actif == true) and (/Var:B1Touche == false)) and (getProperty("_parent.Items.Item4.ObsAng", _currentframe) == /Var:Item4Ang)) and (/Var:Item4Hit == false)) and (/Var:Item4 != 4)) and (/Var:Item4 != 8)) and (/Var:Item4 != 10)) and (/Var:Item4Pet == false)) {
OTirAng = getProperty("_parent.Items.Item4.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item4) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item4) + "Tir")) - /Var:NTir;
if ((/Var:Item4Ang == 1) and (B1Angle > 270)) {
B1Angle = B1Angle - 360;
}
if ((/Var:Item4Ang == 12) and (B1Angle < 90)) {
B1Angle = 360 + B1Angle;
}
if ((B1Angle <= OTirGauche) and (B1Angle >= OTirDroite)) {
Set("/Var:B1Touche", true);
Set("/Var:ItemB1Hit", 4);
}
}
if ((((((((/Var:Item5Actif == true) and (/Var:B1Touche == false)) and (getProperty("_parent.Items.Item5.ObsAng", _currentframe) == /Var:Item5Ang)) and (/Var:Item5Hit == false)) and (/Var:Item5 != 4)) and (/Var:Item5 != 8)) and (/Var:Item5 != 10)) and (/Var:Item5Pet == false)) {
OTirAng = getProperty("_parent.Items.Item5.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item5) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item5) + "Tir")) - /Var:NTir;
if ((/Var:Item5Ang == 1) and (B1Angle > 270)) {
B1Angle = B1Angle - 360;
}
if ((/Var:Item5Ang == 12) and (B1Angle < 90)) {
B1Angle = 360 + B1Angle;
}
if ((B1Angle <= OTirGauche) and (B1Angle >= OTirDroite)) {
Set("/Var:B1Touche", true);
Set("/Var:ItemB1Hit", 5);
}
}
if ((((((((/Var:Item6Actif == true) and (/Var:B1Touche == false)) and (getProperty("_parent.Items.Item6.ObsAng", _currentframe) == /Var:Item6Ang)) and (/Var:Item6Hit == false)) and (/Var:Item6 != 4)) and (/Var:Item6 != 8)) and (/Var:Item6 != 10)) and (/Var:Item6Pet == false)) {
OTirAng = getProperty("_parent.Items.Item6.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item6) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item6) + "Tir")) - /Var:NTir;
if ((/Var:Item6Ang == 1) and (B1Angle > 270)) {
B1Angle = B1Angle - 360;
}
if ((/Var:Item6Ang == 12) and (B1Angle < 90)) {
B1Angle = 360 + B1Angle;
}
if ((B1Angle <= OTirGauche) and (B1Angle >= OTirDroite)) {
Set("/Var:B1Touche", true);
Set("/Var:ItemB1Hit", 6);
}
}
if ((((((((/Var:Item7Actif == true) and (/Var:B1Touche == false)) and (getProperty("_parent.Items.Item7.ObsAng", _currentframe) == /Var:Item7Ang)) and (/Var:Item7Hit == false)) and (/Var:Item7 != 4)) and (/Var:Item7 != 8)) and (/Var:Item7 != 10)) and (/Var:Item7Pet == false)) {
OTirAng = getProperty("_parent.Items.Item7.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item7) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item7) + "Tir")) - /Var:NTir;
if ((/Var:Item7Ang == 1) and (B1Angle > 270)) {
B1Angle = B1Angle - 360;
}
if ((/Var:Item7Ang == 12) and (B1Angle < 90)) {
B1Angle = 360 + B1Angle;
}
if ((B1Angle <= OTirGauche) and (B1Angle >= OTirDroite)) {
Set("/Var:B1Touche", true);
Set("/Var:ItemB1Hit", 7);
}
}
if ((((((((/Var:Item8Actif == true) and (/Var:B1Touche == false)) and (getProperty("_parent.Items.Item8.ObsAng", _currentframe) == /Var:Item8Ang)) and (/Var:Item8Hit == false)) and (/Var:Item8 != 4)) and (/Var:Item8 != 8)) and (/Var:Item8 != 10)) and (/Var:Item8Pet == false)) {
OTirAng = getProperty("_parent.Items.Item8.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item8) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item8) + "Tir")) - /Var:NTir;
if ((/Var:Item8Ang == 1) and (B1Angle > 270)) {
B1Angle = B1Angle - 360;
}
if ((/Var:Item8Ang == 12) and (B1Angle < 90)) {
B1Angle = 360 + B1Angle;
}
if ((B1Angle <= OTirGauche) and (B1Angle >= OTirDroite)) {
Set("/Var:B1Touche", true);
Set("/Var:ItemB1Hit", 8);
}
}
if ((((((((/Var:Item9Actif == true) and (/Var:B1Touche == false)) and (getProperty("_parent.Items.Item9.ObsAng", _currentframe) == /Var:Item9Ang)) and (/Var:Item9Hit == false)) and (/Var:Item9 != 4)) and (/Var:Item9 != 8)) and (/Var:Item9 != 10)) and (/Var:Item9Pet == false)) {
OTirAng = getProperty("_parent.Items.Item9.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item9) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item9) + "Tir")) - /Var:NTir;
if ((/Var:Item9Ang == 1) and (B1Angle > 270)) {
B1Angle = B1Angle - 360;
}
if ((/Var:Item9Ang == 12) and (B1Angle < 90)) {
B1Angle = 360 + B1Angle;
}
if ((B1Angle <= OTirGauche) and (B1Angle >= OTirDroite)) {
Set("/Var:B1Touche", true);
Set("/Var:ItemB1Hit", 9);
}
}
if ((((((((/Var:Item10Actif == true) and (/Var:B1Touche == false)) and (getProperty("_parent.Items.Item10.ObsAng", _currentframe) == /Var:Item10Ang)) and (/Var:Item10Hit == false)) and (/Var:Item10 != 4)) and (/Var:Item10 != 8)) and (/Var:Item10 != 10)) and (/Var:Item10Pet == false)) {
OTirAng = getProperty("_parent.Items.Item10.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item10) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item10) + "Tir")) - /Var:NTir;
if ((/Var:Item10Ang == 1) and (B1Angle > 270)) {
B1Angle = B1Angle - 360;
}
if ((/Var:Item10Ang == 12) and (B1Angle < 90)) {
B1Angle = 360 + B1Angle;
}
if ((B1Angle <= OTirGauche) and (B1Angle >= OTirDroite)) {
Set("/Var:B1Touche", true);
Set("/Var:ItemB1Hit", 10);
}
}
if ((/Var:B1Touche == true) and (eval (("/Var:Item" + /Var:ItemB1Hit) + "Hit") == false)) {
_root.RBalle1 = new object();
_root.RBalle1.x = 0;
_root.RBalle1.y = 0;
_root.Balle1.RBalle.localToGlobal(_root.RBalle1);
_root.RItem1 = new object();
_root.RItem1.x = 0;
_root.RItem1.y = 0;
if (/Var:ItemB1Hit == 1) {
_root.Items.Item1.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem1);
} else if (/Var:ItemB1Hit == 2) {
_root.Items.Item2.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem1);
} else if (/Var:ItemB1Hit == 3) {
_root.Items.Item3.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem1);
} else if (/Var:ItemB1Hit == 4) {
_root.Items.Item4.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem1);
} else if (/Var:ItemB1Hit == 5) {
_root.Items.Item5.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem1);
} else if (/Var:ItemB1Hit == 6) {
_root.Items.Item6.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem1);
} else if (/Var:ItemB1Hit == 7) {
_root.Items.Item7.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem1);
} else if (/Var:ItemB1Hit == 8) {
_root.Items.Item8.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem1);
} else if (/Var:ItemB1Hit == 9) {
_root.Items.Item9.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem1);
} else if (/Var:ItemB1Hit == 10) {
_root.Items.Item10.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem1);
}
if (((OTirAng < 10) or (OTirAng > 350)) or ((OTirAng > 170) and (OTirAng < 190))) {
if (Math.abs(_root.RItem1.y - 200) >= Math.abs(_root.RBalle1.y - 200)) {
tellTarget ("_parent.Balle1") {
gotoAndStop (1);
};
Set(("/Var:Item" + /Var:ItemB1Hit) + "Pet", true);
tellTarget (("_parent.Items.Item" + /Var:ItemB1Hit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Pet");
};
if ((/Var:B2Touche == true) and (/Var:ItemB2Hit == /Var:ItemB1Hit)) {
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
}
if ((/Var:B3Touche == true) and (/Var:ItemB3Hit == /Var:ItemB1Hit)) {
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
}
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
Set("/Var:Balle1", false);
}
} else if (((OTirAng > 80) and (OTirAng < 100)) or ((OTirAng > 260) and (OTirAng < 280))) {
if (Math.abs(_root.RItem1.x - 300) >= Math.abs(_root.RBalle1.x - 300)) {
tellTarget ("_parent.Balle1") {
gotoAndStop (1);
};
Set(("/Var:Item" + /Var:ItemB1Hit) + "Pet", true);
tellTarget (("_parent.Items.Item" + /Var:ItemB1Hit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Pet");
};
if ((/Var:B2Touche == true) and (/Var:ItemB2Hit == /Var:ItemB1Hit)) {
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
}
if ((/Var:B3Touche == true) and (/Var:ItemB3Hit == /Var:ItemB1Hit)) {
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
}
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
Set("/Var:Balle1", false);
}
} else if ((Math.abs(_root.RItem1.x - 300) >= Math.abs(_root.RBalle1.x - 300)) or (Math.abs(_root.RItem1.y - 200) >= Math.abs(_root.RBalle1.y - 200))) {
tellTarget ("_parent.Balle1") {
gotoAndStop (1);
};
Set(("/Var:Item" + /Var:ItemB1Hit) + "Pet", true);
tellTarget (("_parent.Items.Item" + /Var:ItemB1Hit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Pet");
};
if ((/Var:B2Touche == true) and (/Var:ItemB2Hit == /Var:ItemB1Hit)) {
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
}
if ((/Var:B3Touche == true) and (/Var:ItemB3Hit == /Var:ItemB1Hit)) {
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
}
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
Set("/Var:Balle1", false);
}
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
} else {
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
}
}
if (/Var:Balle2 == true) {
B2Angle = getProperty("_parent.Balle2", _rotation);
if (B2Angle < 0) {
B2Angle = 360 + B2Angle;
}
if ((((((((/Var:Item1Actif == true) and (/Var:B2Touche == false)) and (getProperty("_parent.Items.Item1.ObsAng", _currentframe) == /Var:Item1Ang)) and (/Var:Item1Hit == false)) and (/Var:Item1 != 4)) and (/Var:Item1 != 8)) and (/Var:Item1 != 10)) and (/Var:Item1Pet == false)) {
OTirAng = getProperty("_parent.Items.Item1.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item1) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item1) + "Tir")) - /Var:NTir;
if ((/Var:Item1Ang == 1) and (B2Angle > 270)) {
B2Angle = B2Angle - 360;
}
if ((/Var:Item1Ang == 12) and (B2Angle < 90)) {
B2Angle = 360 + B2Angle;
}
if ((B2Angle <= OTirGauche) and (B2Angle >= OTirDroite)) {
Set("/Var:B2Touche", true);
Set("/Var:ItemB2Hit", 1);
}
}
if ((((((((/Var:Item2Actif == true) and (/Var:B2Touche == false)) and (getProperty("_parent.Items.Item2.ObsAng", _currentframe) == /Var:Item2Ang)) and (/Var:Item2Hit == false)) and (/Var:Item2 != 4)) and (/Var:Item2 != 8)) and (/Var:Item2 != 10)) and (/Var:Item2Pet == false)) {
OTirAng = getProperty("_parent.Items.Item2.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item2) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item2) + "Tir")) - /Var:NTir;
if ((/Var:Item2Ang == 1) and (B2Angle > 270)) {
B2Angle = B2Angle - 360;
}
if ((/Var:Item2Ang == 12) and (B2Angle < 90)) {
B2Angle = 360 + B2Angle;
}
if ((B2Angle <= OTirGauche) and (B2Angle >= OTirDroite)) {
Set("/Var:B2Touche", true);
Set("/Var:ItemB2Hit", 2);
}
}
if ((((((((/Var:Item3Actif == true) and (/Var:B2Touche == false)) and (getProperty("_parent.Items.Item3.ObsAng", _currentframe) == /Var:Item3Ang)) and (/Var:Item3Hit == false)) and (/Var:Item3 != 4)) and (/Var:Item3 != 8)) and (/Var:Item3 != 10)) and (/Var:Item3Pet == false)) {
OTirAng = getProperty("_parent.Items.Item3.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item3) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item3) + "Tir")) - /Var:NTir;
if ((/Var:Item3Ang == 1) and (B2Angle > 270)) {
B2Angle = B2Angle - 360;
}
if ((/Var:Item3Ang == 12) and (B2Angle < 90)) {
B2Angle = 360 + B2Angle;
}
if ((B2Angle <= OTirGauche) and (B2Angle >= OTirDroite)) {
Set("/Var:B2Touche", true);
Set("/Var:ItemB2Hit", 3);
}
}
if ((((((((/Var:Item4Actif == true) and (/Var:B2Touche == false)) and (getProperty("_parent.Items.Item4.ObsAng", _currentframe) == /Var:Item4Ang)) and (/Var:Item4Hit == false)) and (/Var:Item4 != 4)) and (/Var:Item4 != 8)) and (/Var:Item4 != 10)) and (/Var:Item4Pet == false)) {
OTirAng = getProperty("_parent.Items.Item4.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item4) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item4) + "Tir")) - /Var:NTir;
if ((/Var:Item4Ang == 1) and (B2Angle > 270)) {
B2Angle = B2Angle - 360;
}
if ((/Var:Item4Ang == 12) and (B2Angle < 90)) {
B2Angle = 360 + B2Angle;
}
if ((B2Angle <= OTirGauche) and (B2Angle >= OTirDroite)) {
Set("/Var:B2Touche", true);
Set("/Var:ItemB2Hit", 4);
}
}
if ((((((((/Var:Item5Actif == true) and (/Var:B2Touche == false)) and (getProperty("_parent.Items.Item5.ObsAng", _currentframe) == /Var:Item5Ang)) and (/Var:Item5Hit == false)) and (/Var:Item5 != 4)) and (/Var:Item5 != 8)) and (/Var:Item5 != 10)) and (/Var:Item5Pet == false)) {
OTirAng = getProperty("_parent.Items.Item5.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item5) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item5) + "Tir")) - /Var:NTir;
if ((/Var:Item5Ang == 1) and (B2Angle > 270)) {
B2Angle = B2Angle - 360;
}
if ((/Var:Item5Ang == 12) and (B2Angle < 90)) {
B2Angle = 360 + B2Angle;
}
if ((B2Angle <= OTirGauche) and (B2Angle >= OTirDroite)) {
Set("/Var:B2Touche", true);
Set("/Var:ItemB2Hit", 5);
}
}
if ((((((((/Var:Item6Actif == true) and (/Var:B2Touche == false)) and (getProperty("_parent.Items.Item6.ObsAng", _currentframe) == /Var:Item6Ang)) and (/Var:Item6Hit == false)) and (/Var:Item6 != 4)) and (/Var:Item6 != 8)) and (/Var:Item6 != 10)) and (/Var:Item6Pet == false)) {
OTirAng = getProperty("_parent.Items.Item6.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item6) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item6) + "Tir")) - /Var:NTir;
if ((/Var:Item6Ang == 1) and (B2Angle > 270)) {
B2Angle = B2Angle - 360;
}
if ((/Var:Item6Ang == 12) and (B2Angle < 90)) {
B2Angle = 360 + B2Angle;
}
if ((B2Angle <= OTirGauche) and (B2Angle >= OTirDroite)) {
Set("/Var:B2Touche", true);
Set("/Var:ItemB2Hit", 6);
}
}
if ((((((((/Var:Item7Actif == true) and (/Var:B2Touche == false)) and (getProperty("_parent.Items.Item7.ObsAng", _currentframe) == /Var:Item7Ang)) and (/Var:Item7Hit == false)) and (/Var:Item7 != 4)) and (/Var:Item7 != 8)) and (/Var:Item7 != 10)) and (/Var:Item7Pet == false)) {
OTirAng = getProperty("_parent.Items.Item7.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item7) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item7) + "Tir")) - /Var:NTir;
if ((/Var:Item7Ang == 1) and (B2Angle > 270)) {
B2Angle = B2Angle - 360;
}
if ((/Var:Item7Ang == 12) and (B2Angle < 90)) {
B2Angle = 360 + B2Angle;
}
if ((B2Angle <= OTirGauche) and (B2Angle >= OTirDroite)) {
Set("/Var:B2Touche", true);
Set("/Var:ItemB2Hit", 7);
}
}
if ((((((((/Var:Item8Actif == true) and (/Var:B2Touche == false)) and (getProperty("_parent.Items.Item8.ObsAng", _currentframe) == /Var:Item8Ang)) and (/Var:Item8Hit == false)) and (/Var:Item8 != 4)) and (/Var:Item8 != 8)) and (/Var:Item8 != 10)) and (/Var:Item8Pet == false)) {
OTirAng = getProperty("_parent.Items.Item8.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item8) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item8) + "Tir")) - /Var:NTir;
if ((/Var:Item8Ang == 1) and (B2Angle > 270)) {
B2Angle = B2Angle - 360;
}
if ((/Var:Item8Ang == 12) and (B2Angle < 90)) {
B2Angle = 360 + B2Angle;
}
if ((B2Angle <= OTirGauche) and (B2Angle >= OTirDroite)) {
Set("/Var:B2Touche", true);
Set("/Var:ItemB2Hit", 8);
}
}
if ((((((((/Var:Item9Actif == true) and (/Var:B2Touche == false)) and (getProperty("_parent.Items.Item9.ObsAng", _currentframe) == /Var:Item9Ang)) and (/Var:Item9Hit == false)) and (/Var:Item9 != 4)) and (/Var:Item9 != 8)) and (/Var:Item9 != 10)) and (/Var:Item9Pet == false)) {
OTirAng = getProperty("_parent.Items.Item9.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item9) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item9) + "Tir")) - /Var:NTir;
if ((/Var:Item9Ang == 1) and (B2Angle > 270)) {
B2Angle = B2Angle - 360;
}
if ((/Var:Item9Ang == 12) and (B2Angle < 90)) {
B2Angle = 360 + B2Angle;
}
if ((B2Angle <= OTirGauche) and (B2Angle >= OTirDroite)) {
Set("/Var:B2Touche", true);
Set("/Var:ItemB2Hit", 9);
}
}
if ((((((((/Var:Item10Actif == true) and (/Var:B2Touche == false)) and (getProperty("_parent.Items.Item10.ObsAng", _currentframe) == /Var:Item10Ang)) and (/Var:Item10Hit == false)) and (/Var:Item10 != 4)) and (/Var:Item10 != 8)) and (/Var:Item10 != 10)) and (/Var:Item10Pet == false)) {
OTirAng = getProperty("_parent.Items.Item10.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item10) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item10) + "Tir")) - /Var:NTir;
if ((/Var:Item10Ang == 1) and (B2Angle > 270)) {
B2Angle = B2Angle - 360;
}
if ((/Var:Item10Ang == 12) and (B2Angle < 90)) {
B2Angle = 360 + B2Angle;
}
if ((B2Angle <= OTirGauche) and (B2Angle >= OTirDroite)) {
Set("/Var:B2Touche", true);
Set("/Var:ItemB2Hit", 10);
}
}
if ((/Var:B2Touche == true) and (eval (("/Var:Item" + /Var:ItemB2hit) + "Hit") == false)) {
_root.RBalle2 = new object();
_root.RBalle2.x = 0;
_root.RBalle2.y = 0;
_root.Balle2.RBalle.localToGlobal(_root.RBalle2);
_root.RItem2 = new object();
_root.RItem2.x = 0;
_root.RItem2.y = 0;
if (/Var:ItemB2Hit == 1) {
_root.Items.Item1.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem2);
} else if (/Var:ItemB2Hit == 2) {
_root.Items.Item2.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem2);
} else if (/Var:ItemB2Hit == 3) {
_root.Items.Item3.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem2);
} else if (/Var:ItemB2Hit == 4) {
_root.Items.Item4.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem2);
} else if (/Var:ItemB2Hit == 5) {
_root.Items.Item5.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem2);
} else if (/Var:ItemB2Hit == 6) {
_root.Items.Item6.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem2);
} else if (/Var:ItemB2Hit == 7) {
_root.Items.Item7.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem2);
} else if (/Var:ItemB2Hit == 8) {
_root.Items.Item8.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem2);
} else if (/Var:ItemB2Hit == 9) {
_root.Items.Item9.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem2);
} else if (/Var:ItemB2Hit == 10) {
_root.Items.Item10.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem2);
}
if (((OTirAng < 10) or (OTirAng > 350)) or ((OTirAng > 170) and (OTirAng < 190))) {
if (Math.abs(_root.RItem2.y - 200) >= Math.abs(_root.RBalle2.y - 200)) {
tellTarget ("_parent.Balle2") {
gotoAndStop (1);
};
Set(("/Var:Item" + /Var:ItemB2Hit) + "Pet", true);
tellTarget (("_parent.Items.Item" + /Var:ItemB2Hit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Pet");
};
if ((/Var:B1Touche == true) and (/Var:ItemB1Hit == /Var:ItemB2Hit)) {
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
}
if ((/Var:B3Touche == true) and (/Var:ItemB3Hit == /Var:ItemB2Hit)) {
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
}
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
Set("/Var:Balle2", false);
}
} else if (((OTirAng < 100) and (OTirAng > 80)) or ((OTirAng > 260) and (OTirAng < 280))) {
if (Math.abs(_root.RItem2.x - 300) >= Math.abs(_root.RBalle2.x - 300)) {
tellTarget ("_parent.Balle2") {
gotoAndStop (1);
};
Set(("/Var:Item" + /Var:ItemB2Hit) + "Pet", true);
tellTarget (("_parent.Items.Item" + /Var:ItemB2Hit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Pet");
};
if ((/Var:B1Touche == true) and (/Var:ItemB1Hit == /Var:ItemB2Hit)) {
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
}
if ((/Var:B3Touche == true) and (/Var:ItemB3Hit == /Var:ItemB2Hit)) {
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
}
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
Set("/Var:Balle2", false);
}
} else if ((Math.abs(_root.RItem2.x - 300) >= Math.abs(_root.RBalle2.x - 300)) or (Math.abs(_root.RItem2.y - 200) >= Math.abs(_root.RBalle2.y - 200))) {
tellTarget ("_parent.Balle2") {
gotoAndStop (1);
};
Set(("/Var:Item" + /Var:ItemB2Hit) + "Pet", true);
tellTarget (("_parent.Items.Item" + /Var:ItemB2Hit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Pet");
};
if ((/Var:B1Touche == true) and (/Var:ItemB1Hit == /Var:ItemB2Hit)) {
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
}
if ((/Var:B3Touche == true) and (/Var:ItemB3Hit == /Var:ItemB2Hit)) {
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
}
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
Set("/Var:Balle2", false);
}
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
} else {
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
}
}
if (/Var:Balle3 == true) {
B3Angle = getProperty("_parent.Balle3", _rotation);
if (B3Angle < 0) {
B3Angle = 360 + B3Angle;
}
if ((((((((/Var:Item1Actif == true) and (/Var:B3Touche == false)) and (getProperty("_parent.Items.Item1.ObsAng", _currentframe) == /Var:Item1Ang)) and (/Var:Item1Hit == false)) and (/Var:Item1 != 4)) and (/Var:Item1 != 8)) and (/Var:Item1 != 10)) and (/Var:Item1Pet == false)) {
OTirAng = getProperty("_parent.Items.Item1.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item1) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item1) + "Tir")) - /Var:NTir;
if ((/Var:Item1Ang == 1) and (B3Angle > 270)) {
B3Angle = B3Angle - 360;
}
if ((/Var:Item1Ang == 12) and (B3Angle < 90)) {
B3Angle = 360 + B3Angle;
}
if ((B3Angle <= OTirGauche) and (B3Angle >= OTirDroite)) {
Set("/Var:B3Touche", true);
Set("/Var:ItemB3Hit", 1);
}
}
if ((((((((/Var:Item2Actif == true) and (/Var:B3Touche == false)) and (getProperty("_parent.Items.Item2.ObsAng", _currentframe) == /Var:Item2Ang)) and (/Var:Item2Hit == false)) and (/Var:Item2 != 4)) and (/Var:Item2 != 8)) and (/Var:Item2 != 10)) and (/Var:Item2Pet == false)) {
OTirAng = getProperty("_parent.Items.Item2.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item2) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item2) + "Tir")) - /Var:NTir;
if ((/Var:Item2Ang == 1) and (B3Angle > 270)) {
B3Angle = B3Angle - 360;
}
if ((/Var:Item2Ang == 12) and (B3Angle < 90)) {
B3Angle = 360 + B3Angle;
}
if ((B3Angle <= OTirGauche) and (B3Angle >= OTirDroite)) {
Set("/Var:B3Touche", true);
Set("/Var:ItemB3Hit", 2);
}
}
if ((((((((/Var:Item3Actif == true) and (/Var:B3Touche == false)) and (getProperty("_parent.Items.Item3.ObsAng", _currentframe) == /Var:Item3Ang)) and (/Var:Item3Hit == false)) and (/Var:Item3 != 4)) and (/Var:Item3 != 8)) and (/Var:Item3 != 10)) and (/Var:Item3Pet == false)) {
OTirAng = getProperty("_parent.Items.Item3.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item3) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item3) + "Tir")) - /Var:NTir;
if ((/Var:Item3Ang == 1) and (B3Angle > 270)) {
B3Angle = B3Angle - 360;
}
if ((/Var:Item3Ang == 12) and (B3Angle < 90)) {
B3Angle = 360 + B3Angle;
}
if ((B3Angle <= OTirGauche) and (B3Angle >= OTirDroite)) {
Set("/Var:B3Touche", true);
Set("/Var:ItemB3Hit", 3);
}
}
if ((((((((/Var:Item4Actif == true) and (/Var:B3Touche == false)) and (getProperty("_parent.Items.Item4.ObsAng", _currentframe) == /Var:Item4Ang)) and (/Var:Item4Hit == false)) and (/Var:Item4 != 4)) and (/Var:Item4 != 8)) and (/Var:Item4 != 10)) and (/Var:Item4Pet == false)) {
OTirAng = getProperty("_parent.Items.Item4.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item4) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item4) + "Tir")) - /Var:NTir;
if ((/Var:Item4Ang == 1) and (B3Angle > 270)) {
B3Angle = B3Angle - 360;
}
if ((/Var:Item4Ang == 12) and (B3Angle < 90)) {
B3Angle = 360 + B3Angle;
}
if ((B3Angle <= OTirGauche) and (B3Angle >= OTirDroite)) {
Set("/Var:B3Touche", true);
Set("/Var:ItemB3Hit", 4);
}
}
if ((((((((/Var:Item5Actif == true) and (/Var:B3Touche == false)) and (getProperty("_parent.Items.Item5.ObsAng", _currentframe) == /Var:Item5Ang)) and (/Var:Item5Hit == false)) and (/Var:Item5 != 4)) and (/Var:Item5 != 8)) and (/Var:Item5 != 10)) and (/Var:Item5Pet == false)) {
OTirAng = getProperty("_parent.Items.Item5.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item5) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item5) + "Tir")) - /Var:NTir;
if ((/Var:Item5Ang == 1) and (B3Angle > 270)) {
B3Angle = B3Angle - 360;
}
if ((/Var:Item5Ang == 12) and (B3Angle < 90)) {
B3Angle = 360 + B3Angle;
}
if ((B3Angle <= OTirGauche) and (B3Angle >= OTirDroite)) {
Set("/Var:B3Touche", true);
Set("/Var:ItemB3Hit", 5);
}
}
if ((((((((/Var:Item6Actif == true) and (/Var:B3Touche == false)) and (getProperty("_parent.Items.Item6.ObsAng", _currentframe) == /Var:Item6Ang)) and (/Var:Item6Hit == false)) and (/Var:Item6 != 4)) and (/Var:Item6 != 8)) and (/Var:Item6 != 10)) and (/Var:Item6Pet == false)) {
OTirAng = getProperty("_parent.Items.Item6.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item6) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item6) + "Tir")) - /Var:NTir;
if ((/Var:Item6Ang == 1) and (B3Angle > 270)) {
B3Angle = B3Angle - 360;
}
if ((/Var:Item6Ang == 12) and (B3Angle < 90)) {
B3Angle = 360 + B3Angle;
}
if ((B3Angle <= OTirGauche) and (B3Angle >= OTirDroite)) {
Set("/Var:B3Touche", true);
Set("/Var:ItemB3Hit", 6);
}
}
if ((((((((/Var:Item7Actif == true) and (/Var:B3Touche == false)) and (getProperty("_parent.Items.Item7.ObsAng", _currentframe) == /Var:Item7Ang)) and (/Var:Item7Hit == false)) and (/Var:Item7 != 4)) and (/Var:Item7 != 8)) and (/Var:Item7 != 10)) and (/Var:Item7Pet == false)) {
OTirAng = getProperty("_parent.Items.Item7.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item7) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item7) + "Tir")) - /Var:NTir;
if ((/Var:Item7Ang == 1) and (B3Angle > 270)) {
B3Angle = B3Angle - 360;
}
if ((/Var:Item7Ang == 12) and (B3Angle < 90)) {
B3Angle = 360 + B3Angle;
}
if ((B3Angle <= OTirGauche) and (B3Angle >= OTirDroite)) {
Set("/Var:B3Touche", true);
Set("/Var:ItemB3Hit", 7);
}
}
if ((((((((/Var:Item8Actif == true) and (/Var:B3Touche == false)) and (getProperty("_parent.Items.Item8.ObsAng", _currentframe) == /Var:Item8Ang)) and (/Var:Item8Hit == false)) and (/Var:Item8 != 4)) and (/Var:Item8 != 8)) and (/Var:Item8 != 10)) and (/Var:Item8Pet == false)) {
OTirAng = getProperty("_parent.Items.Item8.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item8) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item8) + "Tir")) - /Var:NTir;
if ((/Var:Item8Ang == 1) and (B3Angle > 270)) {
B3Angle = B3Angle - 360;
}
if ((/Var:Item8Ang == 12) and (B3Angle < 90)) {
B3Angle = 360 + B3Angle;
}
if ((B3Angle <= OTirGauche) and (B3Angle >= OTirDroite)) {
Set("/Var:B3Touche", true);
Set("/Var:ItemB3Hit", 8);
}
}
if ((((((((/Var:Item9Actif == true) and (/Var:B3Touche == false)) and (getProperty("_parent.Items.Item9.ObsAng", _currentframe) == /Var:Item9Ang)) and (/Var:Item9Hit == false)) and (/Var:Item9 != 4)) and (/Var:Item9 != 8)) and (/Var:Item9 != 10)) and (/Var:Item9Pet == false)) {
OTirAng = getProperty("_parent.Items.Item9.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item9) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item9) + "Tir")) - /Var:NTir;
if ((/Var:Item9Ang == 1) and (B3Angle > 270)) {
B3Angle = B3Angle - 360;
}
if ((/Var:Item9Ang == 12) and (B3Angle < 90)) {
B3Angle = 360 + B3Angle;
}
if ((B3Angle <= OTirGauche) and (B3Angle >= OTirDroite)) {
Set("/Var:B3Touche", true);
Set("/Var:ItemB3Hit", 9);
}
}
if ((((((((/Var:Item10Actif == true) and (/Var:B3Touche == false)) and (getProperty("_parent.Items.Item10.ObsAng", _currentframe) == /Var:Item10Ang)) and (/Var:Item10Hit == false)) and (/Var:Item10 != 4)) and (/Var:Item10 != 8)) and (/Var:Item10 != 10)) and (/Var:Item10Pet == false)) {
OTirAng = getProperty("_parent.Items.Item10.ObsAng.Obs", _rotation);
if (OTirAng < 0) {
OTirAng = 360 + OTirAng;
}
OTirGauche = (OTirAng + eval (("/Var:Obs" + /Var:Item10) + "Tir")) + /Var:NTir;
OTirDroite = (OTirAng - eval (("/Var:Obs" + /Var:Item10) + "Tir")) - /Var:NTir;
if ((/Var:Item10Ang == 1) and (B3Angle > 270)) {
B3Angle = B3Angle - 360;
}
if ((/Var:Item10Ang == 12) and (B3Angle < 90)) {
B3Angle = 360 + B3Angle;
}
if ((B3Angle <= OTirGauche) and (B3Angle >= OTirDroite)) {
Set("/Var:B3Touche", true);
Set("/Var:ItemB3Hit", 10);
}
}
if ((/Var:B3Touche == true) and (eval (("/Var:Item" + /Var:ItemB3hit) + "Hit") == false)) {
_root.RBalle3 = new object();
_root.RBalle3.x = 0;
_root.RBalle3.y = 0;
_root.Balle3.RBalle.localToGlobal(_root.RBalle3);
_root.RItem3 = new object();
_root.RItem3.x = 0;
_root.RItem3.y = 0;
if (/Var:ItemB3Hit == 1) {
_root.Items.Item1.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem3);
} else if (/Var:ItemB3Hit == 2) {
_root.Items.Item2.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem3);
} else if (/Var:ItemB3Hit == 3) {
_root.Items.Item3.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem3);
} else if (/Var:ItemB3Hit == 4) {
_root.Items.Item4.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem3);
} else if (/Var:ItemB3Hit == 5) {
_root.Items.Item5.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem3);
} else if (/Var:ItemB3Hit == 6) {
_root.Items.Item6.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem3);
} else if (/Var:ItemB3Hit == 7) {
_root.Items.Item7.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem3);
} else if (/Var:ItemB3Hit == 8) {
_root.Items.Item8.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem3);
} else if (/Var:ItemB3Hit == 9) {
_root.Items.Item9.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem3);
} else if (/Var:ItemB3Hit == 10) {
_root.Items.Item10.ObsAng.Obs.Obs.RObs.localToGlobal(_root.RItem3);
}
if (((OTirAng < 10) or (OTirAng > 350)) or ((OTirAng > 170) and (OTirAng < 190))) {
if (Math.abs(_root.RItem3.y - 200) >= Math.abs(_root.RBalle3.y - 200)) {
tellTarget ("_parent.Balle3") {
gotoAndStop (1);
};
Set(("/Var:Item" + /Var:ItemB3Hit) + "Pet", true);
tellTarget (("_parent.Items.Item" + /Var:ItemB3Hit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Pet");
};
if ((/Var:B1Touche == true) and (/Var:ItemB1Hit == /Var:ItemB3Hit)) {
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
}
if ((/Var:B2Touche == true) and (/Var:ItemB2Hit == /Var:ItemB3Hit)) {
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
}
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
Set("/Var:Balle3", false);
}
} else if (((OTirAng < 100) and (OTirAng > 80)) or ((OTirAng > 260) and (OTirAng < 280))) {
if (Math.abs(_root.RItem3.x - 300) >= Math.abs(_root.RBalle3.x - 300)) {
tellTarget ("_parent.Balle3") {
gotoAndStop (1);
};
Set(("/Var:Item" + /Var:ItemB3Hit) + "Pet", true);
tellTarget (("_parent.Items.Item" + /Var:ItemB3Hit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Pet");
};
if ((/Var:B1Touche == true) and (/Var:ItemB1Hit == /Var:ItemB3Hit)) {
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
}
if ((/Var:B2Touche == true) and (/Var:ItemB2Hit == /Var:ItemB3Hit)) {
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
}
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
Set("/Var:Balle3", false);
}
} else if ((Math.abs(_root.RItem3.x - 300) >= Math.abs(_root.RBalle3.x - 300)) or (Math.abs(_root.RItem3.y - 200) >= Math.abs(_root.RBalle3.y - 200))) {
tellTarget ("_parent.Balle3") {
gotoAndStop (1);
};
Set(("/Var:Item" + /Var:ItemB3Hit) + "Pet", true);
tellTarget (("_parent.Items.Item" + /Var:ItemB3Hit) + ".ObsAng.Obs.Obs") {
gotoAndStop ("Pet");
};
if ((/Var:B1Touche == true) and (/Var:ItemB1Hit == /Var:ItemB3Hit)) {
Set("/Var:B1Touche", false);
Set("/Var:ItemB1Hit", 0);
}
if ((/Var:B2Touche == true) and (/Var:ItemB2Hit == /Var:ItemB3Hit)) {
Set("/Var:B2Touche", false);
Set("/Var:ItemB2Hit", 0);
}
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
Set("/Var:Balle3", false);
}
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
} else {
Set("/Var:B3Touche", false);
Set("/Var:ItemB3Hit", 0);
}
}
Symbol 818 MovieClip Frame 2
call(1);
gotoAndPlay (1);
Symbol 820 MovieClip Frame 1
stop();
Symbol 820 MovieClip Frame 2
Set("/Var:ItemLevel", /Var:ItemLevel - 1);
if (/Var:DistCheck >= /Var:InterCheck) {
Set("/Var:Item" + /Var:ItemNext, 10);
Set("/Var:DistCheck", 0);
} else if ((/Var:NbItem > /Var:VieNext) and (random(100) > 90)) {
Set("/Var:Item" + /Var:ItemNext, 9);
Set("/Var:VieNext", /Var:VieNext + /Var:VieInter);
} else if ((/Var:NbItem > /Var:BombNext) and (random(100) > 85)) {
Set("/Var:Item" + /Var:ItemNext, 7);
Set("/Var:BombNext", /Var:BombNext + /Var:BombInter);
} else if ((/Var:NbItem > /Var:InvNext) and (random(100) > 80)) {
Set("/Var:Item" + /Var:ItemNext, 5);
Set("/Var:InvNext", /Var:InvNext + /Var:InvInter);
} else if ((/Var:NbItem > /Var:SpeedNext) and (random(100) > 75)) {
Set("/Var:Item" + /Var:ItemNext, 4);
Set("/Var:SpeedNext", /Var:SpeedNext + /Var:SpeedInter);
} else if ((/Var:NbItem > /Var:FlagNext) and (random(100) > 70)) {
Set("/Var:Item" + /Var:ItemNext, 8);
Set("/Var:FlagNext", /Var:FlagNext + /Var:FlagInter);
} else {
Random = random(4) + 1;
if (Random == 1) {
Set("/Var:Item" + /Var:ItemNext, 2);
} else if (Random == 2) {
Set("/Var:Item" + /Var:ItemNext, 3);
} else if (Random == 2) {
Set("/Var:Item" + /Var:ItemNext, 6);
} else if (random(100) > 90) {
Set("/Var:Item" + /Var:ItemNext, random(8) + 2);
} else {
Set("/Var:Item" + /Var:ItemNext, 6);
}
}
Set(("/Var:Item" + /Var:ItemNext) + "Ang", random(12) + 1);
Angle = eval (("/Var:Item" + /Var:ItemNext) + "Ang");
if (("/Var:Item" + /Var:ItemNext) == 2) {
if (/Var:NbMur < 0) {
Set("/Var:NbMur", 0);
}
Set("/Var:NbMur", /Var:NbMur + 1);
if (/Var:NbMur > 2) {
Set("/Var:NbMur", 2);
Set("/Var:Item" + /Var:ItemNext, 6);
} else if ((((((((((/Var:Item1 == 4) or (/Var:Item2 == 4)) or (/Var:Item3 == 4)) or (/Var:Item4 == 4)) or (/Var:Item5 == 4)) or (/Var:Item6 == 4)) or (/Var:Item7 == 4)) or (/Var:Item8 == 4)) or (/Var:Item9 == 4)) or (/Var:Item10 == 4)) {
Set("/Var:NbMur", /Var:NbMur - 1);
Set("/Var:Item" + /Var:ItemNext, 6);
}
}
if (/Var:ItemNext == 1) {
_parent.Items.Item1.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 2) {
_parent.Items.Item2.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 3) {
_parent.Items.Item3.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 4) {
_parent.Items.Item4.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 5) {
_parent.Items.Item5.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 6) {
_parent.Items.Item6.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 7) {
_parent.Items.Item7.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 8) {
_parent.Items.Item8.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 9) {
_parent.Items.Item9.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 10) {
_parent.Items.Item10.swapDepths(/Var:ItemLevel);
}
Set("/Var:NbItem", /Var:NbItem + 1);
Set(("/Var:Item" + /Var:ItemNext) + "Actif", true);
Set("/Var:ItemNext", /Var:ItemNext + 1);
if (/Var:ItemNext > 10) {
Set("/Var:ItemNext", 1);
}
if (random(100) > 80) {
play();
} else {
gotoAndStop (1);
}
Symbol 820 MovieClip Frame 3
Set("/Var:ItemLevel", /Var:ItemLevel - 1);
if ((/Var:NbItem > /Var:VieNext) and (random(100) > 90)) {
Set("/Var:Item" + /Var:ItemNext, 9);
Set("/Var:VieNext", /Var:VieNext + /Var:VieInter);
} else if ((/Var:NbItem > /Var:BombNext) and (random(100) > 85)) {
Set("/Var:Item" + /Var:ItemNext, 7);
Set("/Var:BombNext", /Var:BombNext + /Var:BombInter);
} else if ((/Var:NbItem > /Var:InvNext) and (random(100) > 80)) {
Set("/Var:Item" + /Var:ItemNext, 5);
Set("/Var:InvNext", /Var:InvNext + /Var:InvInter);
} else if ((/Var:NbItem > /Var:SpeedNext) and (random(100) > 75)) {
Set("/Var:Item" + /Var:ItemNext, 4);
Set("/Var:SpeedNext", /Var:SpeedNext + /Var:SpeedInter);
} else if ((/Var:NbItem > /Var:FlagNext) and (random(100) > 70)) {
Set("/Var:Item" + /Var:ItemNext, 8);
Set("/Var:FlagNext", /Var:FlagNext + /Var:FlagInter);
} else {
Random = random(4) + 1;
if (Random == 1) {
Set("/Var:Item" + /Var:ItemNext, 2);
} else if (Random == 2) {
Set("/Var:Item" + /Var:ItemNext, 3);
} else if (Random == 2) {
Set("/Var:Item" + /Var:ItemNext, 6);
} else if (random(100) > 90) {
Set("/Var:Item" + /Var:ItemNext, random(8) + 2);
} else {
Set("/Var:Item" + /Var:ItemNext, 6);
}
}
if (("/Var:Item" + /Var:ItemNext) == 2) {
if (/Var:NbMur < 0) {
Set("/Var:NbMur", 0);
}
Set("/Var:NbMur", /Var:NbMur + 1);
if (/Var:NbMur > 2) {
Set("/Var:NbMur", 2);
Set("/Var:Item" + /Var:ItemNext, 6);
} else if ((((((((((/Var:Item1 == 4) or (/Var:Item2 == 4)) or (/Var:Item3 == 4)) or (/Var:Item4 == 4)) or (/Var:Item5 == 4)) or (/Var:Item6 == 4)) or (/Var:Item7 == 4)) or (/Var:Item8 == 4)) or (/Var:Item9 == 4)) or (/Var:Item10 == 4)) {
Set("/Var:NbMur", /Var:NbMur - 1);
Set("/Var:Item" + /Var:ItemNext, 6);
}
}
Angle = Angle + (random(4) + 3);
if (Angle > 12) {
Angle = Angle - 12;
}
Set(("/Var:Item" + /Var:ItemNext) + "Ang", Angle);
if (/Var:ItemNext == 1) {
_parent.Items.Item1.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 2) {
_parent.Items.Item2.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 3) {
_parent.Items.Item3.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 4) {
_parent.Items.Item4.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 5) {
_parent.Items.Item5.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 6) {
_parent.Items.Item6.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 7) {
_parent.Items.Item7.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 8) {
_parent.Items.Item8.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 9) {
_parent.Items.Item9.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 10) {
_parent.Items.Item10.swapDepths(/Var:ItemLevel);
}
Set("/Var:NbItem", /Var:NbItem + 1);
Set(("/Var:Item" + /Var:ItemNext) + "Actif", true);
Set("/Var:ItemNext", /Var:ItemNext + 1);
if (/Var:ItemNext > 10) {
Set("/Var:ItemNext", 1);
}
Symbol 821 MovieClip Frame 1
stop();
Symbol 821 MovieClip Frame 2
Set("/Var:ItemLevel", /Var:ItemLevel - 1);
if (/Var:DistCheck >= /Var:InterCheck) {
Set("/Var:Item" + /Var:ItemNext, 10);
Set("/Var:DistCheck", 0);
} else if ((/Var:NbItem > /Var:VieNext) and (random(100) > 90)) {
Set("/Var:Item" + /Var:ItemNext, 9);
Set("/Var:VieNext", /Var:VieNext + /Var:VieInter);
} else if ((/Var:NbItem > /Var:BombNext) and (random(100) > 85)) {
Set("/Var:Item" + /Var:ItemNext, 7);
Set("/Var:BombNext", /Var:BombNext + /Var:BombInter);
} else if ((/Var:NbItem > /Var:InvNext) and (random(100) > 80)) {
Set("/Var:Item" + /Var:ItemNext, 5);
Set("/Var:InvNext", /Var:InvNext + /Var:InvInter);
} else if ((/Var:NbItem > /Var:SpeedNext) and (random(100) > 75)) {
Set("/Var:Item" + /Var:ItemNext, 4);
Set("/Var:SpeedNext", /Var:SpeedNext + /Var:SpeedInter);
} else if ((/Var:NbItem > /Var:FlagNext) and (random(100) > 70)) {
Set("/Var:Item" + /Var:ItemNext, 8);
Set("/Var:FlagNext", /Var:FlagNext + /Var:FlagInter);
} else {
Random = random(4) + 1;
if (Random == 1) {
Set("/Var:Item" + /Var:ItemNext, 2);
if (/Var:NbMur < 0) {
Set("/Var:NbMur", 0);
}
Set("/Var:NbMur", /Var:NbMur + 1);
if (/Var:NbMur > 2) {
Set("/Var:NbMur", 2);
Set("/Var:Item" + /Var:ItemNext, 6);
} else if ((((((((((/Var:Item1 == 4) or (/Var:Item2 == 4)) or (/Var:Item3 == 4)) or (/Var:Item4 == 4)) or (/Var:Item5 == 4)) or (/Var:Item6 == 4)) or (/Var:Item7 == 4)) or (/Var:Item8 == 4)) or (/Var:Item9 == 4)) or (/Var:Item10 == 4)) {
Set("/Var:NbMur", /Var:NbMur - 1);
Set("/Var:Item" + /Var:ItemNext, 6);
}
} else if (Random == 2) {
Set("/Var:Item" + /Var:ItemNext, 3);
} else if (Random == 2) {
Set("/Var:Item" + /Var:ItemNext, 6);
} else if (random(100) > 90) {
Set("/Var:Item" + /Var:ItemNext, random(8) + 2);
} else {
Set("/Var:Item" + /Var:ItemNext, 6);
}
}
Set(("/Var:Item" + /Var:ItemNext) + "Ang", random(12) + 1);
Angle = eval (("/Var:Item" + /Var:ItemNext) + "Ang");
if (/Var:ItemNext == 1) {
_parent.Items.Item1.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 2) {
_parent.Items.Item2.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 3) {
_parent.Items.Item3.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 4) {
_parent.Items.Item4.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 5) {
_parent.Items.Item5.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 6) {
_parent.Items.Item6.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 7) {
_parent.Items.Item7.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 8) {
_parent.Items.Item8.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 9) {
_parent.Items.Item9.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 10) {
_parent.Items.Item10.swapDepths(/Var:ItemLevel);
}
Set("/Var:NbItem", /Var:NbItem + 1);
Set(("/Var:Item" + /Var:ItemNext) + "Actif", true);
Set("/Var:ItemNext", /Var:ItemNext + 1);
if (/Var:ItemNext > 10) {
Set("/Var:ItemNext", 1);
}
if (random(100) > 75) {
play();
} else {
gotoAndStop (1);
}
Symbol 821 MovieClip Frame 3
Set("/Var:ItemLevel", /Var:ItemLevel - 1);
if (/Var:DistCheck >= /Var:InterCheck) {
Set("/Var:Item" + /Var:ItemNext, 10);
Set("/Var:DistCheck", 0);
} else if ((/Var:NbItem > /Var:VieNext) and (random(100) > 90)) {
Set("/Var:Item" + /Var:ItemNext, 9);
Set("/Var:VieNext", /Var:VieNext + /Var:VieInter);
} else if ((/Var:NbItem > /Var:BombNext) and (random(100) > 85)) {
Set("/Var:Item" + /Var:ItemNext, 7);
Set("/Var:BombNext", /Var:BombNext + /Var:BombInter);
} else if ((/Var:NbItem > /Var:InvNext) and (random(100) > 80)) {
Set("/Var:Item" + /Var:ItemNext, 5);
Set("/Var:InvNext", /Var:InvNext + /Var:InvInter);
} else if ((/Var:NbItem > /Var:SpeedNext) and (random(100) > 75)) {
Set("/Var:Item" + /Var:ItemNext, 4);
Set("/Var:SpeedNext", /Var:SpeedNext + /Var:SpeedInter);
} else if ((/Var:NbItem > /Var:FlagNext) and (random(100) > 70)) {
Set("/Var:Item" + /Var:ItemNext, 8);
Set("/Var:FlagNext", /Var:FlagNext + /Var:FlagInter);
} else {
Random = random(4) + 1;
if (Random == 1) {
Set("/Var:Item" + /Var:ItemNext, 2);
if (/Var:NbMur < 0) {
Set("/Var:NbMur", 0);
}
Set("/Var:NbMur", /Var:NbMur + 1);
if (/Var:NbMur > 2) {
Set("/Var:NbMur", 2);
Set("/Var:Item" + /Var:ItemNext, 6);
} else if ((((((((((/Var:Item1 == 4) or (/Var:Item2 == 4)) or (/Var:Item3 == 4)) or (/Var:Item4 == 4)) or (/Var:Item5 == 4)) or (/Var:Item6 == 4)) or (/Var:Item7 == 4)) or (/Var:Item8 == 4)) or (/Var:Item9 == 4)) or (/Var:Item10 == 4)) {
Set("/Var:NbMur", /Var:NbMur - 1);
Set("/Var:Item" + /Var:ItemNext, 6);
}
} else if (Random == 2) {
Set("/Var:Item" + /Var:ItemNext, 3);
} else if (Random == 2) {
Set("/Var:Item" + /Var:ItemNext, 6);
} else if (random(100) > 90) {
Set("/Var:Item" + /Var:ItemNext, random(8) + 2);
} else {
Set("/Var:Item" + /Var:ItemNext, 6);
}
}
Angle = Angle + (random(3) + 2);
if (Angle > 12) {
Angle = Angle - 12;
}
Set(("/Var:Item" + /Var:ItemNext) + "Ang", Angle);
Angle = eval (("/Var:Item" + /Var:ItemNext) + "Ang");
if (/Var:ItemNext == 1) {
_parent.Items.Item1.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 2) {
_parent.Items.Item2.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 3) {
_parent.Items.Item3.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 4) {
_parent.Items.Item4.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 5) {
_parent.Items.Item5.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 6) {
_parent.Items.Item6.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 7) {
_parent.Items.Item7.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 8) {
_parent.Items.Item8.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 9) {
_parent.Items.Item9.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 10) {
_parent.Items.Item10.swapDepths(/Var:ItemLevel);
}
Set("/Var:NbItem", /Var:NbItem + 1);
Set(("/Var:Item" + /Var:ItemNext) + "Actif", true);
Set("/Var:ItemNext", /Var:ItemNext + 1);
if (/Var:ItemNext > 10) {
Set("/Var:ItemNext", 1);
}
if (random(100) > 85) {
play();
} else {
gotoAndStop (1);
}
Symbol 821 MovieClip Frame 4
Set("/Var:ItemLevel", /Var:ItemLevel - 1);
if ((/Var:NbItem > /Var:VieNext) and (random(100) > 90)) {
Set("/Var:Item" + /Var:ItemNext, 9);
Set("/Var:VieNext", /Var:VieNext + /Var:VieInter);
} else if ((/Var:NbItem > /Var:BombNext) and (random(100) > 85)) {
Set("/Var:Item" + /Var:ItemNext, 7);
Set("/Var:BombNext", /Var:BombNext + /Var:BombInter);
} else if ((/Var:NbItem > /Var:InvNext) and (random(100) > 80)) {
Set("/Var:Item" + /Var:ItemNext, 5);
Set("/Var:InvNext", /Var:InvNext + /Var:InvInter);
} else if ((/Var:NbItem > /Var:SpeedNext) and (random(100) > 75)) {
Set("/Var:Item" + /Var:ItemNext, 4);
Set("/Var:SpeedNext", /Var:SpeedNext + /Var:SpeedInter);
} else if ((/Var:NbItem > /Var:FlagNext) and (random(100) > 70)) {
Set("/Var:Item" + /Var:ItemNext, 8);
Set("/Var:FlagNext", /Var:FlagNext + /Var:FlagInter);
} else {
Random = random(4) + 1;
if (Random == 1) {
Set("/Var:Item" + /Var:ItemNext, 2);
if (/Var:NbMur < 0) {
Set("/Var:NbMur", 0);
}
Set("/Var:NbMur", /Var:NbMur + 1);
if (/Var:NbMur > 2) {
Set("/Var:NbMur", 2);
Set("/Var:Item" + /Var:ItemNext, 6);
} else if ((((((((((/Var:Item1 == 4) or (/Var:Item2 == 4)) or (/Var:Item3 == 4)) or (/Var:Item4 == 4)) or (/Var:Item5 == 4)) or (/Var:Item6 == 4)) or (/Var:Item7 == 4)) or (/Var:Item8 == 4)) or (/Var:Item9 == 4)) or (/Var:Item10 == 4)) {
Set("/Var:NbMur", /Var:NbMur - 1);
Set("/Var:Item" + /Var:ItemNext, 6);
}
} else if (Random == 2) {
Set("/Var:Item" + /Var:ItemNext, 3);
} else if (Random == 2) {
Set("/Var:Item" + /Var:ItemNext, 6);
} else if (random(100) > 90) {
Set("/Var:Item" + /Var:ItemNext, random(8) + 2);
} else {
Set("/Var:Item" + /Var:ItemNext, 6);
}
}
Angle = Angle + (random(3) + 2);
if (Angle > 12) {
Angle = Angle - 12;
}
Set(("/Var:Item" + /Var:ItemNext) + "Ang", Angle);
if (/Var:ItemNext == 1) {
_parent.Items.Item1.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 2) {
_parent.Items.Item2.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 3) {
_parent.Items.Item3.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 4) {
_parent.Items.Item4.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 5) {
_parent.Items.Item5.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 6) {
_parent.Items.Item6.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 7) {
_parent.Items.Item7.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 8) {
_parent.Items.Item8.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 9) {
_parent.Items.Item9.swapDepths(/Var:ItemLevel);
} else if (/Var:ItemNext == 10) {
_parent.Items.Item10.swapDepths(/Var:ItemLevel);
}
Set("/Var:NbItem", /Var:NbItem + 1);
Set(("/Var:Item" + /Var:ItemNext) + "Actif", true);
Set("/Var:ItemNext", /Var:ItemNext + 1);
if (/Var:ItemNext > 10) {
Set("/Var:ItemNext", 1);
}
Symbol 823 MovieClip Frame 1
stop();
Symbol 824 MovieClip Frame 6
if ((/Var:Temps < 11) and (/Var:Temps > 0)) {
myColor = new Color(_root.Interface.Gage.Time);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
myColor.setTransform(myColorTransform);
}
Symbol 824 MovieClip Frame 30
if ((/Var:Temps < 11) and (/Var:Temps > 0)) {
myColor = new Color(_root.Interface.Gage.Time);
myColorTransform = new Object();
myColorTransform = {ra:"0", rb:"255", ga:"0", gb:"32", ba:"0", bb:"0"};
myColor.setTransform(myColorTransform);
tellTarget ("Bip") {
play();
};
}
Set("/Var:Temps", /Var:Temps - 1);
Set("/Var:SecFlag", /Var:SecFlag + 1);
Symbol 826 MovieClip Frame 1
Minutes = 0;
Set("_root.Interface.Gage.Time:Min", "0" + Minutes);
Secondes = 0;
if (Secondes < 10) {
Set("_root.Interface.Gage.Time:Sec", "0" + Secondes);
} else {
Set("_root.Interface.Gage.Time:Sec", Secondes);
}
Set("_root:Frame1", getProperty("_parent.Lignes1.Ligne1", _currentframe) + int(/Var:Vit));
if (_root:Frame1 > /Var:FrameRond) {
Set("_root:Frame1", _root.Frame1 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne1") {
gotoAndStop(_root:Frame1);
};
Set("_root:Frame2", getProperty("_parent.Lignes1.Ligne2", _currentframe) + int(/Var:Vit));
if (_root:Frame2 > /Var:FrameRond) {
Set("_root:Frame2", _root.Frame2 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne2") {
gotoAndStop(_root:Frame2);
};
Set("_root:Frame3", getProperty("_parent.Lignes1.Ligne3", _currentframe) + int(/Var:Vit));
if (_root:Frame3 > /Var:FrameRond) {
Set("_root:Frame3", _root.Frame3 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne3") {
gotoAndStop(_root:Frame3);
};
Set("_root:Frame4", getProperty("_parent.Lignes1.Ligne4", _currentframe) + int(/Var:Vit));
if (_root:Frame4 > /Var:FrameRond) {
Set("_root:Frame4", _root.Frame4 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne4") {
gotoAndStop(_root:Frame4);
};
Set("_root:Frame5", getProperty("_parent.Lignes1.Ligne5", _currentframe) + int(/Var:Vit));
if (_root:Frame5 > /Var:FrameRond) {
Set("_root:Frame5", _root.Frame5 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne5") {
gotoAndStop(_root:Frame5);
};
Set("_root:Frame6", getProperty("_parent.Lignes1.Ligne6", _currentframe) + int(/Var:Vit));
if (_root:Frame6 > /Var:FrameRond) {
Set("_root:Frame6", _root.Frame6 - /Var:FrameRond);
}
tellTarget ("_root.Lignes1.Ligne6") {
gotoAndStop(_root:Frame6);
};
Set("_root:Frame7", getProperty("_parent.Lignes2", _currentframe) + int(/Var:Vit));
if (_root:Frame7 > /Var:FrameRond) {
Set("_root:Frame7", _root.Frame7 - /Var:FrameRond);
}
tellTarget ("_root.Lignes2") {
gotoAndStop(_root:Frame7);
};
if (/Var:Item1Actif == true) {
tellTarget ("_parent.Items.Item1") {
gotoAndStop(/Var:Item1);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item1.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item1.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item2Actif == true) {
tellTarget ("_parent.Items.Item2") {
gotoAndStop(/Var:Item2);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item2.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item2.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item3Actif == true) {
tellTarget ("_parent.Items.Item3") {
gotoAndStop(/Var:Item3);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item3.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item3.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item4Actif == true) {
tellTarget ("_parent.Items.Item4") {
gotoAndStop(/Var:Item4);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item4.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item4.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item5Actif == true) {
tellTarget ("_parent.Items.Item5") {
gotoAndStop(/Var:Item5);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item5.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item5.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item6Actif == true) {
tellTarget ("_parent.Items.Item6") {
gotoAndStop(/Var:Item6);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item6.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item6.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item7Actif == true) {
tellTarget ("_parent.Items.Item7") {
gotoAndStop(/Var:Item7);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item7.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item7.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item8Actif == true) {
tellTarget ("_parent.Items.Item8") {
gotoAndStop(/Var:Item8);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item8.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item8.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item9Actif == true) {
tellTarget ("_parent.Items.Item9") {
gotoAndStop(/Var:Item9);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item9.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item9.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (/Var:Item10Actif == true) {
tellTarget ("_parent.Items.Item10") {
gotoAndStop(/Var:Item10);
};
Set("_root:FrameObs", getProperty("_parent.Items.Item10.ObsAng.Obs", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Items.Item10.ObsAng.Obs") {
gotoAndStop(_root:FrameObs);
};
}
if (getProperty("_parent.Items.Item1.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item1Actif", false);
Set("/Var:Item1Pet", false);
Set("/Var:Item1Hit", false);
if (/Var:Item1 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item1") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item2.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item2Actif", false);
Set("/Var:Item2Pet", false);
Set("/Var:Item2Hit", false);
if (/Var:Item2 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item2") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item3.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item3Actif", false);
Set("/Var:Item3Pet", false);
Set("/Var:Item3Hit", false);
if (/Var:Item3 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item3") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item4.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item4Actif", false);
Set("/Var:Item4Pet", false);
Set("/Var:Item4Hit", false);
if (/Var:Item4 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item4") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item5.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item5Actif", false);
Set("/Var:Item5Pet", false);
Set("/Var:Item5Hit", false);
if (/Var:Item5 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item5") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item6.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item6Actif", false);
Set("/Var:Item6Pet", false);
Set("/Var:Item6Hit", false);
if (/Var:Item6 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item6") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item7.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item7Actif", false);
Set("/Var:Item7Pet", false);
Set("/Var:Item7Hit", false);
if (/Var:Item7 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item7") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item8.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item8Actif", false);
Set("/Var:Item8Pet", false);
Set("/Var:Item8Hit", false);
if (/Var:Item8 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item8") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item9.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item9Actif", false);
Set("/Var:Item9Pet", false);
Set("/Var:Item9Hit", false);
if (/Var:Item9 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item9") {
gotoAndStop (1);
};
}
if (getProperty("_parent.Items.Item10.ObsAng.Obs", _currentframe) >= /Var:FrameObs) {
Set("/Var:Item10Actif", false);
Set("/Var:Item10Pet", false);
Set("/Var:Item10Hit", false);
if (/Var:Item10 == 2) {
Set("/Var:NbMur", /Var:NbMur - 1);
}
tellTarget ("_parent.Items.Item10") {
gotoAndStop (1);
};
}
Symbol 826 MovieClip Frame 2
call(1);
gotoAndPlay (1);
Symbol 828 MovieClip Frame 90
tellTarget ("_parent") {
nextFrame();
};
stop();
Symbol 829 MovieClip Frame 1
stop();
Symbol 829 MovieClip Frame 28
tellTarget ("_parent") {
gotoAndStop ("Fin");
};
stop();
Symbol 830 MovieClip Frame 1
if (/Var:Vit < 10) {
Set("/Var:Vit", 10);
}
tellTarget ("_parent.Navets.Navet") {
gotoAndStop ("Sort");
};
Set("_root:FrameObs", getProperty("_parent.Navets.Navet.Obj", _currentframe) + int(/Var:Vit));
tellTarget ("_parent.Navets.Navet.Obj") {
gotoAndStop(_root:FrameObs);
};
if (getProperty("_parent.Navets.Navet.Obj", _currentframe) > 400) {
tellTarget ("_parent.PorteFerme") {
play();
};
}
Symbol 830 MovieClip Frame 2
call(1);
gotoAndPlay (1);
Symbol 833 MovieClip Frame 1
ScoreTotal = /Var:Score;
Symbol 835 MovieClip Frame 110
tellTarget ("_parent.Porte") {
play();
};
stop();
Symbol 836 MovieClip Frame 1
stop();
Symbol 836 MovieClip Frame 17
_quality = "High";
Symbol 836 MovieClip Frame 72
tellTarget ("_parent") {
nextFrame();
};
Symbol 836 MovieClip Frame 134
tellTarget ("_parent") {
nextFrame();
};