Frame 1
if (false) {
}
startDrag ("/m-start", true);
dejabot = 0;
nivo = 0;
fini = 0;
url = "";
premiere = 0;
jeu = 19;
nbre_bot = 3;
stop();
if (false) {
}
function partscore(n, partnum) {
filing = "";
i = 0;
while (i < length(n)) {
varnum = n.substr(i, 1);
filing = filing + partnum.substr(varnum, 1);
i++;
}
filing = (partnum.substr(3, 2) + filing) + partnum.substr(2, 1);
return(filing);
}
function partdef(n, partnum) {
filing = "";
i = 0;
while (i < length(n)) {
varnum = n.substr(i, 1);
filing = filing + partnum.substr(varnum, 1);
i++;
}
filing = ((partnum.substr(0, 5) + partnum.substr(15, 3)) + filing) + partnum.substr(3, 11);
return(filing);
}
function comm(s, partnum) {
renum = "";
s = s.substring(2, s.length - 1);
i = 0;
while (i < length(s)) {
varnum = s.substr(i, 1);
p = partnum.indexOf(varnum);
renum = renum + p;
i++;
}
return(renum);
}
Frame 2
if (false) {
}
s = "";
nom = "";
loadVariables ("scripts/nom.php3?jeu=19", "");
Frame 4
if (false) {
}
if ((s == "") || (nom == "")) {
gotoAndPlay (3);
} else {
gotoAndPlay (7);
}
Frame 7
if (false) {
}
i = 1;
while (i <= 8) {
duplicateMovieClip ("_root.bot1", "bot" + i, i);
setProperty("_root.bot" + i, _x , (54 * i) - 10);
i++;
}
Frame 10
if (false) {
}
if (Number(u) <= 50) {
u = Number(u) + 1;
if ((Number(u) >= 50) and (url eq "")) {
gotoAndPlay (30);
}
}
if (false) {
}
xjames = _root.james._x;
if (xjames > (_xmouse + 5)) {
_root.james._x = (xjames - ((xjames - _xmouse) / 10)) - 5;
} else if (xjames < (_xmouse - 5)) {
_root.james._x = (xjames + ((_xmouse - xjames) / 10)) + 5;
}
if (false) {
}
nbre = ((((((etatbot1 + etatbot2) + etatbot3) + etatbot4) + etatbot5) + etatbot6) + etatbot7) + etatbot8;
Set("_root.score:nbre", nbre);
Set("_root.aff_score:nbre", nbre);
if (false) {
}
ybot = _root.bot1.tete._y;
if (premiere == 0) {
_root.aff_score.nom = nom;
premiere = 1;
}
Frame 11
if (false) {
}
if (fini == 0) {
gotoAndPlay (10);
}
Frame 15
if (false) {
}
obstNum = 9;
i = 0;
while (i < obstNum) {
removeMovieClip(eval ("_root.bot" + i));
i++;
}
stop();
Frame 20
if (false) {
}
dat = comm(dax, nom);
vlam = Number(dat);
score = vlam;
vardat = vlam.toString(10);
daxdef = partdef(vardat, nom);
delete nom;
play();
Frame 22
if (false) {
}
if (daxdef == "") {
gotoAndPlay (21);
} else {
dax = daxdef;
getURL ("ecrit2017.php3", "", "POST");
stop();
}
Frame 30
if (false) {
}
score = 0;
obstNum = 9;
i = 0;
while (i < obstNum) {
removeMovieClip(eval ("_root.bot" + i));
i++;
}
stop();
Symbol 9 MovieClip Frame 1
if (false) {
}
pif = random(30);
if (pif == 20) {
gotoAndPlay (3);
}
Symbol 9 MovieClip Frame 2
if (false) {
}
gotoAndPlay (1);
Symbol 11 MovieClip Frame 1
if (false) {
}
pif = random(30);
if (pif == 20) {
gotoAndPlay (3);
}
Symbol 11 MovieClip Frame 2
if (false) {
}
gotoAndPlay (1);
Symbol 16 Button
on (release) {
if (false) {
}
tellTarget ("_level0") {
start = int(getTimer() / 1000);
getURL ("javascript:url()");
gotoAndPlay (2);
};
}
Symbol 22 MovieClip Frame 1
if (false) {
}
i = 0;
deja = 0;
first = 0;
dejafait = 0;
Symbol 22 MovieClip Frame 2
if (false) {
}
start = int(getTimer() / 1000);
Symbol 22 MovieClip Frame 3
if (false) {
}
time = int(getTimer() / 1000) - start;
pif = random(8) + 1;
oukcest = eval ("_root.bot" + String(pif))._currentframe;
if (Number(oukcest) == 1) {
i = pif;
}
if (((Number(time) >= 5) && (nbre < 8)) || (first == 0)) {
first = 1;
eval ("_root.bot" + String(i)).gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 22 MovieClip Frame 10
if (false) {
}
gotoAndPlay (3);
Symbol 27 MovieClip Frame 1
if (false) {
}
a = coeur.hitTest(_root.movball.Ball);
if (a eq "true") {
Set("_level0:ping", 1);
}
Symbol 27 MovieClip Frame 2
if (false) {
}
gotoAndPlay (1);
Symbol 44 MovieClip Frame 1
if (false) {
}
a = coeur.hitTest(_root.james.boulet);
if (a eq "true") {
_root.sons.gotoAndPlay("choc");
ou = _parent._currentframe;
if ((ou > 70) && (ou < 150)) {
_parent.gotoAndPlay(ou - 40);
} else if (ou <= 70) {
_parent.gotoAndPlay("reveil");
}
gotoAndPlay (3);
}
Symbol 44 MovieClip Frame 2
if (false) {
}
gotoAndPlay (1);
Symbol 78 MovieClip Frame 1
if (false) {
}
stop();
Symbol 78 MovieClip Frame 2
if (false) {
}
if (dejahit == 1) {
gotoAndStop (1);
}
Symbol 78 MovieClip Frame 3
if (false) {
}
kelbot = _target;
nbot = String(kelbot.substring(4, 5));
_root["etatbot" + nbot] = 1;
Symbol 78 MovieClip Frame 11
if (false) {
}
Symbol 78 MovieClip Frame 24
if (false) {
}
pif = random(60);
if (pif == 15) {
gotoAndPlay (26);
}
if (false) {
}
hitcervo = cervo.hitTest(_root.james.boulet);
if (hitcervo eq "true") {
dejahit = 1;
gotoAndPlay (150);
}
Symbol 78 MovieClip Frame 25
if (false) {
}
gotoAndPlay (24);
Symbol 78 MovieClip Frame 26
if (false) {
}
Set("_level0:endormi", nbot);
Symbol 78 MovieClip Frame 154
if (false) {
}
_root["etatbot" + nbot] = 0;
Symbol 78 MovieClip Frame 164
if (false) {
}
gotoAndStop (1);
Symbol 78 MovieClip Frame 173
if (false) {
}
Set("_level0:dejabot", 0);
Symbol 78 MovieClip Frame 178
if (false) {
}
gotoAndPlay (24);
Symbol 78 MovieClip Frame 185
if (false) {
}
if (plusla == 1) {
gotoAndStop (164);
Set("_level0:dejabot", 0);
} else {
gotoAndPlay (26);
}
Symbol 81 MovieClip Frame 1
if (false) {
}
stop();
Symbol 81 MovieClip Frame 10
if (false) {
}
gotoAndStop (1);
Symbol 94 MovieClip Frame 1
if (false) {
}
stop();
Symbol 94 MovieClip Frame 23
if (false) {
}
gotoAndStop (1);
Symbol 94 MovieClip Frame 47
if (false) {
}
gotoAndStop (1);
Symbol 94 MovieClip Frame 71
if (false) {
}
gotoAndStop (1);
Symbol 95 MovieClip Frame 1
if (false) {
}
function partscore(n, partnum) {
filing = "";
i = 0;
while (i < length(n)) {
varnum = n.substr(i, 1);
filing = filing + partnum.substr(varnum, 1);
i++;
}
filing = (partnum.substr(3, 2) + filing) + partnum.substr(2, 1);
return(filing);
}
function partdef(n, partnum) {
filing = "";
i = 0;
while (i < length(n)) {
varnum = n.substr(i, 1);
filing = filing + partnum.substr(varnum, 1);
i++;
}
filing = ((partnum.substr(0, 5) + filing.substr(1, 3)) + filing) + partnum.substr(3, 11);
return(filing);
}
function comm(s, partnum) {
renum = "";
s = s.substring(2, s.length - 1);
i = 0;
while (i < length(s)) {
varnum = s.substr(i, 1);
p = partnum.indexOf(varnum);
renum = renum + p;
i++;
}
return(renum);
}
vlam = Number(0);
vardat = vlam.toString(10);
dax = partscore(vardat, nom);
Symbol 95 MovieClip Frame 2
if (false) {
}
bonus = nbre * 10;
if (nbre == 6) {
bonus = 90;
plus.gotoAndPlay("six");
} else if (nbre == 7) {
bonus = 140;
plus.gotoAndPlay("sept");
} else if (nbre == 8) {
bonus = 200;
plus.gotoAndPlay("huit");
}
score = Number(score) + bonus;
dat = comm(dax, nom);
vlam = Number(dat) + bonus;
vardat = vlam.toString(10);
dax = partscore(vardat, nom);
Set("_level0:score", score);
Set("_level0:dax", dax);
Symbol 95 MovieClip Frame 20
if (false) {
}
gotoAndPlay (2);
Symbol 100 MovieClip Frame 1
if (false) {
}
start = int(getTimer() / 1000);
Symbol 100 MovieClip Frame 2
if (false) {
}
time = int(getTimer() / 1000) - start;
setProperty("aiguille", _rotation , Number(time) * 4);
if (time >= 90) {
_root.gotoAndStop("fin");
_root.fini = 1;
}
Symbol 100 MovieClip Frame 3
if (false) {
}
gotoAndPlay (2);
Symbol 104 Button
on (release) {
if (false) {
}
gotoAndPlay (2);
}
Symbol 110 MovieClip Frame 1
if (false) {
}
stop();
Symbol 110 MovieClip Frame 8
if (false) {
}
Symbol 110 MovieClip Frame 9
if (false) {
}
gotoAndStop (1);
Symbol 113 MovieClip Frame 1
if (false) {
}
t1 = new Date();
a = t1.getTime();
Symbol 113 MovieClip Frame 30
if (false) {
}
diff_old = diff;
t2 = new Date();
b = t2.getTime();
diff = Number(b) - Number(a);
if ((diff < _root.pulsar_min) || (_root.pulsar_min eq "")) {
_root.pulsar_min = Number(diff);
}
if (diff >= _root.pulsar_max) {
_root.pulsar_max = Number(diff);
}
Symbol 115 Button
on (release) {
if (false) {
}
gotoAndPlay (26);
}
Symbol 126 MovieClip Frame 2
if (false) {
}
Symbol 126 MovieClip Frame 11
if (false) {
}
Symbol 126 MovieClip Frame 25
if (false) {
}
Symbol 126 MovieClip Frame 26
if (false) {
}
Symbol 126 MovieClip Frame 130
if (false) {
}
stop();
Symbol 126 MovieClip Frame 154
if (false) {
}
_root["etatbot" + nbot] = 0;
Symbol 126 MovieClip Frame 164
if (false) {
}
gotoAndStop (1);
Symbol 126 MovieClip Frame 173
if (false) {
}
Set("_level0:dejabot", 0);
Symbol 126 MovieClip Frame 178
if (false) {
}
gotoAndPlay (24);
Symbol 126 MovieClip Frame 185
if (false) {
}
if (plusla == 1) {
gotoAndStop (164);
Set("_level0:dejabot", 0);
} else {
gotoAndPlay (26);
}
Symbol 133 Button
on (release) {
if (false) {
}
gotoAndPlay (20);
}
on (rollOver) {
if (false) {
}
aide.gotoAndStop(3);
}
on (rollOut, dragOut) {
if (false) {
}
aide.gotoAndStop(1);
}
Symbol 134 Button
on (release) {
if (false) {
}
getURL ("blinking.php3");
}
on (rollOver) {
if (false) {
}
aide.gotoAndStop(2);
}
on (rollOut, dragOut) {
if (false) {
}
aide.gotoAndStop(1);
}
Symbol 143 MovieClip Frame 1
if (false) {
}
stop();
Symbol 147 MovieClip Frame 2
if (false) {
}
rond._rotation = rond._rotation + 25;