Combined Code
movieClip 14 {
}
frame 6 {
ifFrameLoaded (30) {
gotoAndStop(12);
}
}
frame 10 {
gotoAndPlay(5);
}
frame 12 {
play();
}
button 21 {
on (release) {
gotoAndPlay(23);
}
}
button 23 {
on (rollOver) {
tellTarget ('/credits') {
play();
}
}
}
button 30 {
on (release) {
tellTarget ('_level0/credits') {
play();
}
}
}
button 31 {
on (release) {
getURL('http://www.ego-i.ste.net', '_blank');
}
}
button 32 {
on (release) {
getURL('http://www.ision.fr', '_blank');
}
}
button 33 {
on (release) {
getURL('http://flashy.ste.net', '_blank');
}
}
movieClip 34 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
frame 13 {
tellTarget ('/car peper') {
gotoAndStop(1);
}
tellTarget ('/car cadre') {
gotoAndStop(1);
}
tellTarget ('/car as') {
gotoAndStop(1);
}
tellTarget ('/txt rules') {
gotoAndStop(1);
}
}
movieClip 36 {
frame 5 {
stop();
}
frame 8 {
gotoAndStop(1);
}
}
movieClip 38 {
frame 5 {
stop();
}
frame 8 {
gotoAndStop(1);
}
}
movieClip 40 {
frame 5 {
stop();
}
frame 8 {
gotoAndStop(1);
}
}
movieClip 42 {
frame 5 {
stop();
}
frame 11 {
stop();
}
}
button 45 {
on (release) {
play();
}
}
movieClip 51 {
}
movieClip 54 {
frame 5 {
stop();
}
frame 11 {
stop();
}
frame 16 {
stop();
}
}
movieClip 56 {
frame 9 {
stop();
}
}
movieClip 58 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 66 {
frame 1 {
stop();
}
}
movieClip 67 {
}
movieClip 75 {
frame 1 {
stop();
}
}
movieClip 76 {
}
movieClip 86 {
frame 1 {
stop();
}
}
movieClip 87 {
}
movieClip 93 {
frame 1 {
stop();
}
frame 5 {
stop();
}
frame 17 {
gotoAndStop(1);
}
}
button 94 {
on (rollOver) {
tellTarget ('/sound efx') {
gotoAndPlay('bleep');
}
tellTarget ('/swap') {
play();
}
tellTarget ('/cercle01') {
gotoAndStop(2);
}
tellTarget ('/cercle02') {
gotoAndStop(1);
}
tellTarget ('/cercle03') {
gotoAndStop(1);
}
tellTarget ('/car peper') {
gotoAndPlay(1);
}
tellTarget ('/peper/bouche1') {
gotoAndPlay('talk');
}
if (/txt intro._currentframe == '5') {
tellTarget ('/txt intro') {
play();
}
}
if (/car as._currentframe == '5') {
tellTarget ('/car as') {
play();
}
} else {
tellTarget ('/car as') {
gotoAndStop(1);
}
}
if (/car cadre._currentframe == '5') {
tellTarget ('/car cadre') {
play();
}
} else {
tellTarget ('/car cadre') {
gotoAndStop(1);
}
}
if (/txt rules._currentframe == '10') {
tellTarget ('/txt rules') {
play();
}
} else {
if (/txt rules._currentframe == '5') {
tellTarget ('/txt rules') {
gotoAndStop(1);
}
} else {
tellTarget ('/txt rules') {
gotoAndStop(1);
}
}
}
pilote = '01';
}
}
button 95 {
on (rollOver) {
tellTarget ('/sound efx') {
gotoAndPlay('bleep');
}
tellTarget ('/swap') {
play();
}
tellTarget ('/cercle01') {
gotoAndStop(1);
}
tellTarget ('/cercle02') {
gotoAndStop(2);
}
tellTarget ('/cercle03') {
gotoAndStop(1);
}
tellTarget ('/car cadre') {
gotoAndPlay(1);
}
tellTarget ('/cadre/bouche2') {
gotoAndPlay('talk');
}
if (/txt intro._currentframe == '5') {
tellTarget ('/txt intro') {
play();
}
}
if (/car peper._currentframe == '5') {
tellTarget ('/car peper') {
play();
}
} else {
tellTarget ('/car peper') {
gotoAndStop(1);
}
}
if (/car as._currentframe == '5') {
tellTarget ('/car as') {
play();
}
} else {
tellTarget ('/car as') {
gotoAndStop(1);
}
}
if (/txt rules._currentframe == '10') {
tellTarget ('/txt rules') {
play();
}
} else {
if (/txt rules._currentframe == '5') {
tellTarget ('/txt rules') {
gotoAndStop(1);
}
} else {
tellTarget ('/txt rules') {
gotoAndStop(1);
}
}
}
pilote = '02';
}
}
button 96 {
on (rollOver) {
tellTarget ('/sound efx') {
gotoAndPlay('bleep');
}
tellTarget ('/swap') {
play();
}
tellTarget ('/cercle01') {
gotoAndStop(1);
}
tellTarget ('/cercle02') {
gotoAndStop(1);
}
tellTarget ('/cercle03') {
gotoAndStop(2);
}
tellTarget ('/car as') {
gotoAndPlay(1);
}
tellTarget ('/as/bouche3') {
gotoAndPlay('talk');
}
if (/txt intro._currentframe == '5') {
tellTarget ('/txt intro') {
play();
}
}
if (/car peper._currentframe == '5') {
tellTarget ('/car peper') {
play();
}
} else {
tellTarget ('/car peper') {
gotoAndStop(1);
}
}
if (/car cadre._currentframe == '5') {
tellTarget ('/car cadre') {
play();
}
} else {
tellTarget ('/car cadre') {
gotoAndStop(1);
}
}
if (/txt rules._currentframe == '10') {
tellTarget ('/txt rules') {
play();
}
} else {
if (/txt rules._currentframe == '5') {
tellTarget ('/txt rules') {
gotoAndStop(1);
}
} else {
tellTarget ('/txt rules') {
gotoAndStop(1);
}
}
}
pilote = '03';
}
}
button 97 {
on (press) {
tellTarget ('/swap') {
play();
}
tellTarget ('/txt rules') {
gotoAndPlay(1);
}
if (/txt intro._currentframe == '5') {
tellTarget ('/txt intro') {
play();
}
}
if (/car peper._currentframe == '5') {
tellTarget ('/car peper') {
play();
}
} else {
tellTarget ('/car peper') {
gotoAndStop(1);
}
}
if (/car cadre._currentframe == '5') {
tellTarget ('/car cadre') {
play();
}
} else {
tellTarget ('/car cadre') {
gotoAndStop(1);
}
}
if (/car as._currentframe == '5') {
tellTarget ('/car as') {
play();
}
} else {
tellTarget ('/car as') {
gotoAndStop(1);
}
}
}
}
button 98 {
on (press) {
getURL('http://forms.tpgnet.net/ision/games/affichage_score_crazy.php3', '');
}
}
frame 21 {
stop();
}
frame 30 {
if (pilote == '1') {
tellTarget ('/pilotes') {
gotoAndStop('peper');
}
tellTarget ('/robot') {
gotoAndStop('peper');
}
} else {
if (pilote == '2') {
tellTarget ('/pilotes') {
gotoAndStop('cadre');
}
tellTarget ('/robot') {
gotoAndStop('cadre');
}
} else {
if (pilote == '3') {
tellTarget ('/pilotes') {
gotoAndStop('as');
}
tellTarget ('/robot') {
gotoAndStop('as');
}
}
}
}
stopAllSounds();
}
movieClip 101 {
}
movieClip 103 {
}
movieClip 104 {
}
movieClip 112 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
button 116 {
on (keyPress '<Space>') {
play();
}
on (keyPress 'w') {
stop();
}
on (keyPress 'q') {
tellTarget ('_level') {
gotoAndPlay(1);
}
}
}
button 117 {
on (keyPress '<Left>') {
if ('55' >= ../robot._x) {
../robot._x = '55';
}
../robot._x = ../robot._x - '15';
}
on (keyPress '<Right>') {
if (../robot._x >= '250') {
../robot._x = '250';
}
../robot._x = ../robot._x + '15';
}
on (keyPress '<Down>') {
if ('10' >= speed) {
speed = '10';
}
speed -= '2';
}
on (keyPress '<Up>') {
if (speed >= '25') {
speed = '25';
}
speed += '2';
}
on (keyPress 'q') {
toggleHighQuality();
}
}
button 119 {
on (keyPress '<Left>') {
if ('118' >= ../robot._x) {
../robot._x = '118';
}
../robot._x = ../robot._x - '54';
}
on (keyPress '<Right>') {
if (../robot._x >= '173') {
../robot._x = '173';
}
../robot._x = ../robot._x + '54';
}
on (keyPress '<Up>') {
speed += '6';
}
on (keyPress '<Down>') {
speed -= '6';
}
on (keyPress 'q') {
tellTarget ('_level') {
gotoAndPlay(1);
}
}
}
button 131 {
on (release) {
tellTarget ('_level0') {
gotoAndPlay(1);
}
}
}
button 132 {
on (release) {
score_final = /pad:score;
temp = 'http://forms.tpgnet.net/ision/games/score_crazy.php3?pseudo=' add pseudo add '&' add 'score_final=' add score_final add '&ville=' add ville add '&email=' add email add '&nom=' add nom add '&prenom=' add prenom add '&adresse=' add adresse;
w = length(temp);
while ('0' < w) {
if (ord(substring(temp, w, '1')) == '32') {
temp = substring(temp, '1', w - '1') add '%20' add substring(temp, w + '1', '-1');
}
trace(temp);
w -= '1';
}
getURL(temp, 'score');
tellTarget ('_level0') {
gotoAndPlay('pilotes');
}
}
}
movieClip 134 {
frame 2 {
fall = '7';
w = '1';
speed = '15';
/pad:time = '30';
/pad:live = '3';
while (fall >= w) {
tellTarget (''../fall' add w') {
gotoAndStop(random('10') + '1');
}
w += '1';
}
}
frame 15 {
if ('20' < int(getTimer() / '1000')) {
if (../7ka_bonus._y >= '702') {
../7ka_bonus._y = '-200';
../7ka_bonus._y = ../7ka_bonus._y + speed;
} else {
../7ka_bonus._y = ../7ka_bonus._y + speed;
}
}
if (rob_x < ../7ka_bonus._x + ../7ka_bonus._width and ../7ka_bonus._x - ../7ka_bonus._width < rob_x and (rob_y < ../7ka_bonus._y + ../7ka_bonus._height / '4' and ../7ka_bonus._y - ../7ka_bonus._height / '4' < rob_y) and ../7ka_bonus._visible == '1') {
tellTarget ('../7ka') {
play();
}
../7ka_bonus._visible = '0';
}
}
frame 15 {
if (../sol._y >= '702') {
../sol._y = '491';
../sol._y = ../sol._y + speed;
} else {
../sol._y = ../sol._y + speed;
}
rob_x = ../robot._x;
rob_y = ../robot._y;
rob_width = ../robot._width;
rob_height = ../robot._height;
w = '1';
while (fall >= w) {
fall_x = (eval('../fall' add w))._x;
fall_y = (eval('../fall' add w))._y;
fall_width = (eval('../fall' add w))._width;
fall_height = (eval('../fall' add w))._height;
fall_frame = (eval('../fall' add w))._currentframe;
eval('../fall' add w)._y = (eval('../fall' add w))._y + speed;
if (rob_x < fall_x + fall_width and fall_x < rob_x and (rob_y < fall_y + fall_height / '2' and fall_y < rob_y)) {
if ((eval('../fall' add w))._currentframe == '3' and (eval('../fall' add w add '/bonus'))._visible == '1') {
/pad:score += '250';
tellTarget ('../soundefx') {
gotoAndPlay('bonus');
}
eval('../fall' add w add '/bonus')._visible = '0';
} else {
if ((eval('../fall' add w))._currentframe == '4' and (eval('../fall' add w add '/bonus'))._visible == '1') {
/pad:score += '500';
tellTarget ('../soundefx') {
gotoAndPlay('bonus');
}
eval('../fall' add w add '/bonus')._visible = '0';
} else {
if ((eval('../fall' add w))._currentframe == '5' and (eval('../fall' add w add '/bonus'))._visible == '1') {
/pad:time += '5';
tellTarget ('../soundefx') {
gotoAndPlay('bonus');
}
eval('../fall' add w add '/bonus')._visible = '0';
} else {
if ((eval('../fall' add w))._currentframe >= '6') {
/pad:live -= '1';
tellTarget ('../robot/explose') {
play();
}
gotoAndStop(13);
}
}
}
}
}
if ('440' < (eval('../fall' add w))._y) {
eval('../fall' add w add '/bonus')._visible = '1';
eval('../fall' add w)._y = (eval('../fall' add w))._y - '108' * (random('7') + '4');
tellTarget (''../fall' add w') {
gotoAndStop(random('10') + '1');
}
}
w += '1';
}
}
frame 15 {
if ('0' >= /pad:live) {
gotoAndPlay(38);
}
}
frame 16 {
gotoAndPlay(15);
}
frame 49 {
stop();
tellTarget ('../robot') {
gotoAndStop(35);
}
tellTarget ('../pad') {
gotoAndStop(1);
}
tellTarget ('../7ka') {
gotoAndStop(1);
}
}
frame 52 {
stop();
}
frame 55 {
/pad:live -= '1';
}
frame 70 {
/pad:time = '30';
tellTarget ('../pad') {
play();
}
gotoAndPlay(13);
}
}
movieClip 138 {
frame 5 {
stop();
}
frame 35 {
gotoAndStop(5);
}
}
button 139 {
on (keyPress '0') {
gotoAndPlay(41);
}
on (keyPress '1') {
gotoAndPlay(10);
}
on (keyPress '2') {
gotoAndPlay(25);
}
on (keyPress '`') {
gotoAndPlay(41);
}
on (keyPress '&') {
gotoAndPlay(10);
}
on (keyPress 'i') {
gotoAndPlay(25);
}
}
movieClip 141 {
frame 96 {
stop();
}
}
movieClip 143 {
frame 1 {
stop();
}
frame 8 {
tellTarget ('../sound_moteur') {
gotoAndPlay(10);
}
}
frame 16 {
stop();
}
frame 30 {
stop();
}
frame 48 {
stop();
}
}
movieClip 144 {
}
movieClip 150 {
}
movieClip 151 {
}
movieClip 156 {
}
movieClip 157 {
}
movieClip 160 {
frame 6 {
stop();
}
}
movieClip 162 {
}
movieClip 163 {
frame 1 {
stop();
}
frame 43 {
../../allcars._x = '120';
../../allcars._y = '230';
../../all cars._rotation = '0';
tellTarget ('../../daemon') {
play();
}
}
}
movieClip 165 {
}
movieClip 167 {
}
movieClip 168 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 171 {
on (release) {
gotoAndPlay(12);
}
}
movieClip 173 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
}
movieClip 182 {
}
movieClip 187 {
frame 10 {
/pad:time -= '1';
if (/pad:time == '0') {
tellTarget ('../daemon') {
gotoAndPlay('timeup');
}
gotoAndStop(1);
}
}
frame 20 {
gotoAndPlay(10);
}
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}