Frame 1
Stage.showMenu = false;
fscommand ("allowscale", true);
fscommand ("showmenu", false);
bytesload = _root.getBytesLoaded();
bytestotal = _root.getBytesTotal();
percent = Math.floor((bytesload / bytestotal) * 100);
TEXT = percent;
BAR.gotoAndStop(percent);
if (percent >= 100) {
gotoAndPlay (3);
} else {
play();
}
Frame 2
_root.gotoAndStop("loading");
Frame 4
local = "oui";
Instance of Symbol 31 MovieClip "qualitee" in Frame 4
onClipEvent (load) {
this.swapDepths(900004);
}
Frame 5
if (local == "oui") {
} else {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
pfixEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(pfixEnd, domain.length);
if (domain != "snailsanimation.com") {
stop();
this.Notice._visible = true;
} else {
this.Notice._visible = false;
this.play();
}
}
Frame 6
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("1c8d266b", this, 10301, true);
function EncrpytString(strVal) {
var _local7 = "aHfEjcDebChGiAfIjDbEjacD";
var _local8 = _local7.length;
var _local11 = "0";
var _local3 = "";
var _local9 = strVal.length;
var _local1 = 0;
_local3 = "";
var _local4;
var _local6;
var _local2;
var _local5 = 0;
nCnt = 0;
while (nCnt < _local9) {
_local4 = strVal.charCodeAt(nCnt);
if (_local4 >= 128) {
_local4 = "X";
}
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = (_local4 % 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
_local5 = _local5 + _local2;
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = Math.floor(_local4 / 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
_local5 = _local5 + _local2;
nCnt++;
}
_local5 = _local5 % 256;
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = (_local5 % 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = Math.floor(_local5 / 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
return(_local3);
}
function GetUrlParam(strUrl, strParam) {
var _local4 = strUrl.toLowerCase();
var _local1 = _local4.indexOf(strParam);
var _local5 = strParam.length;
if (_local1 > 0) {
var _local3;
var _local2 = _local4.indexOf("&", _local1 + _local5);
if (_local2 > 0) {
_local3 = _local2 - _local1;
} else {
_local3 = strUrl.length - _local1;
}
return(strUrl.substr(_local1 + _local5, _local3));
}
return("");
}
function GetBaseUrl(strUrl) {
var _local1 = strUrl.toLowerCase();
var _local2 = _local1.length;
var _local3 = _local1.indexOf("?", 0);
if (_local3 > 0) {
_local2 = _local3;
}
var _local4 = "download";
if (_local1.substr(0, 4) == "http") {
_local4 = strUrl.substr(7, _local2 - 7);
}
return(_local4);
}
Frame 7
stop();
Frame 16
stop();
Frame 30
stop();
_root._quality = "MEDIUM";
_root.gotoAndPlay("pre-menu");
Frame 32
_root.musique = "on";
_root.maxVol = 65;
_root.volumeValue = 65;
_root.musicMC.gotoAndStop("Menu");
Instance of Symbol 93 MovieClip in Frame 32
onClipEvent (load) {
if (_root.musique == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 2 MovieClip [musicMC] "musicMC" in Frame 32
onClipEvent (load) {
this.swapDepths(900002);
}
Instance of Symbol 103 MovieClip "sonMC" in Frame 32
onClipEvent (load) {
this.swapDepths(900003);
}
Frame 33
stop();
Instance of Symbol 136 MovieClip in Frame 33
onClipEvent (load) {
this.gotoAndPlay("intro");
}
Frame 46
stop();
Frame 53
_root.gotoAndStop("menu");
Frame 61
stop();
Frame 68
_root.gotoAndStop("menu");
Frame 81
stop();
_root.volumeValue = _root.maxVol;
_root.musicMC.gotoAndStop("Menu");
Frame 85
gotoAndStop ("menu");
Frame 86
removeMovieClip(_root.overlay);
removeMovieClip(_root.over1);
removeMovieClip(_root.enemy);
removeMovieClip(_root.mouche);
removeMovieClip(_root.laser);
removeMovieClip(_root.bomb);
Frame 87
if (_root.LV == 1) {
_root.musicMC.gotoAndStop("lvl1");
} else if ((_root.LV == 2) && (_root.frame == "LV1")) {
_root.musicMC.gotoAndStop("lvl2");
} else if ((_root.LV == 3) && (_root.frame == "LV2")) {
_root.musicMC.gotoAndStop("lvl3");
} else if ((_root.LV == 3) && (_root.boss == "oui")) {
_root.musicMC.gotoAndStop("boss3");
} else if ((_root.LV == 3) && (_root.bonus == "oui")) {
_root.musicMC.gotoAndStop("bonus");
}
Instance of Symbol 137 MovieClip "fadeMC" in Frame 87
onClipEvent (load) {
frames = 25;
maxVol = _root.maxVol;
i = maxVol / frames;
fade = "in";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.boss3.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
_root.musicMC.Fleur.setVolume(_root.volumeValue);
_root.musicMC.Carnaval.setVolume(_root.volumeValue);
_root.musicMC.Jelly.setVolume(_root.volumeValue);
}
}
Frame 125
stop();
if (_root.bonus == "oui") {
_root.gotoAndStop("debutBonus" + _root.LV);
} else if (_root.boss == "oui") {
_root.gotoAndStop("debutBoss" + _root.LV);
} else {
_root.gotoAndStop("debutLV" + _root.LV);
}
Frame 127
removeMovieClip(_root.overlay);
removeMovieClip(_root.over1);
removeMovieClip(_root.enemy);
removeMovieClip(_root.mouche);
removeMovieClip(_root.laser);
removeMovieClip(_root.bomb);
_root.sonMC.gotoAndPlay("gameover");
Frame 330
stop();
_root.gotoAndStop("result");
Frame 331
removeMovieClip(_root.overlay);
removeMovieClip(_root.over1);
removeMovieClip(_root.enemy);
removeMovieClip(_root.mouche);
removeMovieClip(_root.laser);
removeMovieClip(_root.bomb);
_root.sonMC.gotoAndPlay("congrats");
Frame 416
_root.sonMC.gotoAndPlay("the_end");
Frame 595
stop();
_root.gotoAndStop("resultat");
Frame 596
stop();
overlay.gotoAndPlay(59);
Instance of Symbol 400 MovieClip "overlay" in Frame 596
onClipEvent (load) {
this.gotoAndPlay(59);
}
Frame 597
stop();
_root.frame = "debut";
_root.test = "non";
_root.lvl1 = "non";
_root.lvl2 = "non";
_root.lvl3 = "non";
_root.boss1 = "non";
_root.boss2 = "non";
_root.boss3 = "non";
_root.bonus = "non";
_root.boss = "non";
_root.SPD = 0;
_root.maxSPD = 6;
_root.WPN_SPD = 12;
_root.pondu = 0;
if (_root.test == "oui") {
_root.LV = 1;
_root._quality = "MEDIUM";
_root.frame = "debut";
_root.larves = 0;
_root.score = 0;
_root.ARM = 5;
_root.maxARM = 5;
_root.VIE = 3;
}
Instance of Symbol 211 MovieClip "mouche" in Frame 597
onClipEvent (load) {
this.swapDepths(900001);
if (_root.larves < 10) {
this.idle.m.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.idle.m.gotoAndStop("moyen");
} else {
this.idle.m.gotoAndStop("gros");
}
angle = 0;
i = 0;
j = 0;
k = 0;
fire = false;
bomb = false;
_root.laser._visible = false;
_root.bomb._visible = false;
laserCounter = 100000 /* 0x0186A0 */;
bombCounter = 200000 /* 0x030D40 */;
}
onClipEvent (enterFrame) {
if (_root.frame != "debut") {
_parent.overlay.vies.text = "x " + _root.VIE;
if (_root.lvl == "cleared") {
_root.mouche.gotoAndStop("senva");
} else {
if ((_root.larves >= 10) && (this.idle.m.etat == "petit")) {
this.idle.m.gotoAndPlay("petit_a_moyen");
} else if ((_root.larves >= 40) && (this.idle.m.etat == "moyen")) {
this.idle.m.gotoAndPlay("moyen_a_gros");
}
if (Key.isDown(65)) {
this.idle.m.parties.gotoAndStop("tire");
} else {
this.idle.m.parties.gotoAndStop("idle");
}
if ((current.movie = this.idle)) {
if (Key.isDown(65) & (fire == false)) {
laserCounter = laserCounter + 1;
_root.laser.duplicateMovieClip("laser" + laserCounter, laserCounter);
_root["laser" + laserCounter]._visible = true;
_root.laser.gotoAndPlay(1);
}
if (Key.isDown(83) && (_root.larves > 0)) {
if (bomb == false) {
bombCounter = bombCounter + 1;
_root.bomb.duplicateMovieClip("bomb" + bombCounter, bombCounter);
_root["bomb" + bombCounter]._visible = true;
this.idle.m.b.gotoAndStop("tire");
_root.larves = _root.larves - 1;
if (_root.larves == 9) {
this.idle.m.gotoAndPlay("moyen_a_petit");
} else if (_root.larves == 39) {
this.idle.m.gotoAndPlay("gros_a_moyen");
}
}
bomb = true;
} else {
bomb = false;
}
}
if (Key.isDown(39) && (Key.isDown(38))) {
_root.dir = "r_u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.dir = "r_d";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37) && (Key.isDown(38))) {
_root.dir = "l_u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.dir = "l_d";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37)) {
_root.dir = "l";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(39)) {
_root.dir = "r";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(38)) {
_root.dir = "u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(40)) {
_root.dir = "d";
_root.acceleration();
_root.vitesse();
} else {
_root.decceleration();
_root.vitesse();
}
}
}
}
Instance of Symbol 176 MovieClip "bomb" in Frame 597
onClipEvent (load) {
angle = 0;
if (this._name == "bomb") {
j = 50;
k = 50;
} else if (this._name != "bomb") {
j = 0;
k = 0;
this._y = _root.mouche._y + 25;
this._x = _root.mouche._x - 35;
}
}
onClipEvent (enterFrame) {
if (this._name == "bomb") {
} else if (this._name != "bomb") {
if (this.b.hit == "") {
this.angle = this.angle + 0.05;
if (this.angle < 1.5) {
this._x = this._x + (0 + (Math.cos(this.angle) * -5));
}
if (this.angle < 1.5) {
this._y = this._y + (0 + (Math.sin(this.angle) * 10));
} else {
this._y = this._y + 10;
}
}
if ((this._x < -60) & (this._name != "bomb")) {
this.removeMovieClip();
}
if ((this._y > 480) & (this._name != "bomb")) {
this.removeMovieClip();
}
i = 1;
while (i < 15) {
if ((this.b.b1.hitTest(_root.enemy["enemy" + i].path) & (_root.enemy["enemy" + i].ARM > 0)) & (j == 0)) {
_root.enemy["enemy" + i].e.mal.play();
_root.enemy["enemy" + i].ARM = _root.enemy["enemy" + i].ARM - 3;
this.b.play();
j = 1;
} else if (this.b.b1.hitTest(_root.enemy["place" + i].p) & (k == 0)) {
_root.pondu = _root.pondu + 1;
_root.score = _root.score + 100;
this.b.gotoAndPlay("pondu");
k = 1;
}
if ((this.b.b1.hitTest(_root.enemy["enemy" + i].path) & (_root.enemy["enemy" + i].ARM <= 0)) & (j == 1)) {
_root.enemy["enemy" + i].e.gotoAndStop("meurt");
this.b.play();
j = 2;
}
i++;
}
}
}
Instance of Symbol 431 MovieClip "laser" in Frame 597
onClipEvent (load) {
if (this._name == "laser") {
this.gotoAndStop(1);
j = 50;
} else if (this._name != "laser") {
j = 0;
k = 0;
this._y = _root.mouche._y + 22;
if (_root.WPN_SPD == 15) {
this._x = _root.mouche._x;
} else if (_root.WPN_SPD == 12) {
this._x = _root.mouche._x;
}
}
}
onClipEvent (enterFrame) {
if (this._name == "laser") {
} else if (this._name != "laser") {
if (this.las.hit == "") {
this._x = this._x + _root.WPN_SPD;
}
if (this._x > 640) {
removeMovieClip(this);
} else {
i = 1;
while (i < 15) {
if ((this.las.hitTest(_root.enemy["enemy" + i].path) && (_root.enemy["enemy" + i].ARM > 0)) && (j == 0)) {
_root.enemy["enemy" + i].e.mal.play();
_root.enemy["enemy" + i].ARM = _root.enemy["enemy" + i].ARM - 1;
this.las.play();
j = 1;
} else if (this.las.hitTest(_root.enemy["place" + i].p) & (k == 0)) {
this.las.play();
k = 1;
} else if (this.las.hitTest(_root.bg["place" + i].p) & (k == 0)) {
this.las.play();
k = 1;
}
if ((this.las.hitTest(_root.enemy["enemy" + i].path) && (_root.enemy["enemy" + i].ARM <= 0)) && (j == 1)) {
_root.enemy["enemy" + i].e.gotoAndStop("meurt");
this.las.play();
j = 2;
}
i++;
}
}
}
}
Instance of Symbol 400 MovieClip "overlay" in Frame 597
onClipEvent (load) {
this.swapDepths(900000);
this.gotoAndPlay(2);
}
Frame 598
_root.acceleration = function () {
if (_root.SPD_boost == "non") {
_root.SPD = _root.SPD + 1;
if (_root.SPD >= _root.maxSPD) {
_root.SPD = _root.maxSPD;
}
} else if (_root.SPD_boost == "oui") {
_root.SPD = _root.SPD + 1;
if (_root.SPD >= (_root.maxSPD * 2)) {
_root.SPD = _root.maxSPD * 2;
}
}
};
_root.decceleration = function () {
_root.SPD = _root.SPD - 0.5;
if (_root.SPD <= 0) {
_root.SPD = 0;
_root.dir = undefined;
}
};
_root.vitesse = function () {
if (_root.dir == "r_u") {
_root.mouche.movement((_root.SPD * 3) / 4, ((-_root.SPD) * 3) / 4, _root.wall);
}
if (_root.dir == "r_d") {
_root.mouche.movement((_root.SPD * 3) / 4, (_root.SPD * 3) / 4, _root.wall);
}
if (_root.dir == "l_d") {
_root.mouche.movement(((-_root.SPD) * 3) / 4, (_root.SPD * 3) / 4, _root.wall);
}
if (_root.dir == "l_u") {
_root.mouche.movement(((-_root.SPD) * 3) / 4, ((-_root.SPD) * 3) / 4, _root.wall);
}
if (_root.dir == "l") {
_root.mouche.movement(-_root.SPD, 0, _root.wall);
}
if (_root.dir == "r") {
_root.mouche.movement(_root.SPD, 0, _root.wall);
}
if (_root.dir == "u") {
_root.mouche.movement(0, -_root.SPD, _root.wall);
}
if (_root.dir == "d") {
_root.mouche.movement(0, _root.SPD, _root.wall);
}
};
stop();
_root.frame = "LV1";
_root.SPD = 0;
_root.maxSPD = 6;
_root.WPN_SPD = 12;
_root.larves = 0;
_root.pondu = 0;
_root.score = 0;
_root.ARM = 5;
_root.maxARM = 5;
_root.VIE = 3;
_root.enemy.swapDepths(300001);
var wall = _root.limit;
MovieClip.prototype.movement = function (x_, y_, object) {
(this._x = this._x + x_);
(this._y = this._y + y_);
};
Frame 599
stop();
_root.frame = "debut";
_root.test = "non";
_root.SPD = 0;
_root.maxSPD = 6;
_root.WPN_SPD = 12;
_root.pondu = 0;
if (_root.test == "oui") {
_root.LV = 2;
_root._quality = "MEDIUM";
_root.frame = "debut";
_root.larves = 0;
_root.score = 0;
_root.ARM = 5;
_root.maxARM = 5;
_root.VIE = 3;
}
Instance of Symbol 489 MovieClip "over1" in Frame 599
onClipEvent (load) {
this.swapDepths(899998);
}
Instance of Symbol 211 MovieClip "mouche" in Frame 599
onClipEvent (load) {
this.swapDepths(900001);
if (_root.larves < 10) {
this.idle.m.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.idle.m.gotoAndStop("moyen");
} else {
this.idle.m.gotoAndStop("gros");
}
angle = 0;
i = 0;
j = 0;
k = 0;
fire = false;
bomb = false;
_root.laser._visible = false;
_root.bomb._visible = false;
laserCounter = 100000 /* 0x0186A0 */;
bombCounter = 200000 /* 0x030D40 */;
}
onClipEvent (enterFrame) {
if (_root.frame != "debut") {
_parent.overlay.vies.text = "x " + _root.VIE;
if (_root.lvl == "cleared") {
_root.mouche.gotoAndStop("senva");
} else {
if ((_root.larves >= 10) && (this.idle.m.etat == "petit")) {
this.idle.m.gotoAndPlay("petit_a_moyen");
} else if ((_root.larves >= 40) && (this.idle.m.etat == "moyen")) {
this.idle.m.gotoAndPlay("moyen_a_gros");
}
if (Key.isDown(65)) {
this.idle.m.parties.gotoAndStop("tire");
} else {
this.idle.m.parties.gotoAndStop("idle");
}
if ((current.movie = this.idle)) {
if (Key.isDown(65) & (fire == false)) {
laserCounter = laserCounter + 1;
_root.laser.duplicateMovieClip("laser" + laserCounter, laserCounter);
_root["laser" + laserCounter]._visible = true;
_root.laser.gotoAndPlay(1);
}
if (Key.isDown(83) && (_root.larves > 0)) {
if (bomb == false) {
bombCounter = bombCounter + 1;
_root.bomb.duplicateMovieClip("bomb" + bombCounter, bombCounter);
_root["bomb" + bombCounter]._visible = true;
this.idle.m.b.gotoAndStop("tire");
_root.larves = _root.larves - 1;
if (_root.larves == 9) {
this.idle.m.gotoAndPlay("moyen_a_petit");
} else if (_root.larves == 39) {
this.idle.m.gotoAndPlay("gros_a_moyen");
}
}
bomb = true;
} else {
bomb = false;
}
}
if (Key.isDown(39) && (Key.isDown(38))) {
_root.dir = "r_u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.dir = "r_d";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37) && (Key.isDown(38))) {
_root.dir = "l_u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.dir = "l_d";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37)) {
_root.dir = "l";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(39)) {
_root.dir = "r";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(38)) {
_root.dir = "u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(40)) {
_root.dir = "d";
_root.acceleration();
_root.vitesse();
} else {
_root.decceleration();
_root.vitesse();
}
}
}
}
Instance of Symbol 431 MovieClip "laser" in Frame 599
onClipEvent (load) {
if (this._name == "laser") {
this.gotoAndStop(1);
j = 50;
} else if (this._name != "laser") {
j = 0;
k = 0;
this._y = _root.mouche._y + 22;
if (_root.WPN_SPD == 15) {
this._x = _root.mouche._x;
} else if (_root.WPN_SPD == 12) {
this._x = _root.mouche._x;
}
}
}
onClipEvent (enterFrame) {
if (this._name == "laser") {
} else if (this._name != "laser") {
if (this.las.hit == "") {
this._x = this._x + _root.WPN_SPD;
}
if (this._x > 640) {
removeMovieClip(this);
} else {
i = 1;
while (i < 15) {
if ((this.las.hitTest(_root.enemy["enemy" + i].path) && (_root.enemy["enemy" + i].ARM > 0)) && (j == 0)) {
_root.enemy["enemy" + i].e.mal.play();
_root.enemy["enemy" + i].ARM = _root.enemy["enemy" + i].ARM - 1;
this.las.play();
j = 1;
} else if (this.las.hitTest(_root.enemy["place" + i].p) & (k == 0)) {
this.las.play();
k = 1;
}
if ((this.las.hitTest(_root.enemy["enemy" + i].path) && (_root.enemy["enemy" + i].ARM <= 0)) && (j == 1)) {
_root.enemy["enemy" + i].e.gotoAndStop("meurt");
this.las.play();
j = 2;
}
i++;
}
}
}
}
Instance of Symbol 176 MovieClip "bomb" in Frame 599
onClipEvent (load) {
angle = 0;
if (this._name == "bomb") {
j = 50;
k = 50;
} else if (this._name != "bomb") {
j = 0;
k = 0;
this._y = _root.mouche._y + 25;
this._x = _root.mouche._x - 35;
}
}
onClipEvent (enterFrame) {
if (this._name == "bomb") {
} else if (this._name != "bomb") {
if (this.b.hit == "") {
this.angle = this.angle + 0.05;
if (this.angle < 1.5) {
this._x = this._x + (0 + (Math.cos(this.angle) * -5));
}
if (this.angle < 1.5) {
this._y = this._y + (0 + (Math.sin(this.angle) * 10));
} else {
this._y = this._y + 10;
}
}
if ((this._x < -60) & (this._name != "bomb")) {
this.removeMovieClip();
}
if ((this._y > 480) & (this._name != "bomb")) {
this.removeMovieClip();
}
i = 1;
while (i < 15) {
if ((this.b.b1.hitTest(_root.enemy["enemy" + i].path) & (_root.enemy["enemy" + i].ARM > 0)) & (j == 0)) {
_root.enemy["enemy" + i].e.mal.play();
_root.enemy["enemy" + i].ARM = _root.enemy["enemy" + i].ARM - 3;
this.b.play();
j = 1;
} else if (this.b.b1.hitTest(_root.enemy["place" + i].p) & (k == 0)) {
_root.pondu = _root.pondu + 1;
_root.score = _root.score + 100;
this.b.gotoAndPlay("pondu");
k = 1;
}
if ((this.b.b1.hitTest(_root.enemy["enemy" + i].path) & (_root.enemy["enemy" + i].ARM <= 0)) & (j == 1)) {
_root.enemy["enemy" + i].e.gotoAndStop("meurt");
this.b.play();
j = 2;
}
i++;
}
}
}
Instance of Symbol 400 MovieClip "overlay" in Frame 599
onClipEvent (load) {
this.swapDepths(900000);
this.gotoAndPlay(2);
}
Frame 600
_root.acceleration = function () {
if (_root.SPD_boost == "non") {
_root.SPD = _root.SPD + 1;
if (_root.SPD >= _root.maxSPD) {
_root.SPD = _root.maxSPD;
}
} else if (_root.SPD_boost == "oui") {
_root.SPD = _root.SPD + 1;
if (_root.SPD >= (_root.maxSPD * 2)) {
_root.SPD = _root.maxSPD * 2;
}
}
};
_root.decceleration = function () {
_root.SPD = _root.SPD - 0.5;
if (_root.SPD <= 0) {
_root.SPD = 0;
_root.dir = undefined;
}
};
_root.vitesse = function () {
if (_root.dir == "r_u") {
_root.mouche.movement((_root.SPD * 3) / 4, ((-_root.SPD) * 3) / 4, _root.wall);
}
if (_root.dir == "r_d") {
_root.mouche.movement((_root.SPD * 3) / 4, (_root.SPD * 3) / 4, _root.wall);
}
if (_root.dir == "l_d") {
_root.mouche.movement(((-_root.SPD) * 3) / 4, (_root.SPD * 3) / 4, _root.wall);
}
if (_root.dir == "l_u") {
_root.mouche.movement(((-_root.SPD) * 3) / 4, ((-_root.SPD) * 3) / 4, _root.wall);
}
if (_root.dir == "l") {
_root.mouche.movement(-_root.SPD, 0, _root.wall);
}
if (_root.dir == "r") {
_root.mouche.movement(_root.SPD, 0, _root.wall);
}
if (_root.dir == "u") {
_root.mouche.movement(0, -_root.SPD, _root.wall);
}
if (_root.dir == "d") {
_root.mouche.movement(0, _root.SPD, _root.wall);
}
};
stop();
_root.frame = "LV2";
_root.enemy.swapDepths(300001);
var wall = _root.limit;
MovieClip.prototype.movement = function (x_, y_, object) {
(this._x = this._x + x_);
(this._y = this._y + y_);
};
Frame 601
stop();
_root.frame = "debut";
_root.test = "non";
_root.SPD = 0;
_root.maxSPD = 6;
_root.WPN_SPD = 12;
_root.pondu = 0;
if (_root.test == "oui") {
_root.LV = 3;
_root._quality = "MEDIUM";
_root.frame = "debut";
_root.larves = 0;
_root.score = 0;
_root.ARM = 5;
_root.maxARM = 5;
_root.VIE = 3;
}
Instance of Symbol 535 MovieClip "bg" in Frame 601
onClipEvent (load) {
this.gotoAndPlay(180);
}
Instance of Symbol 537 MovieClip "over1" in Frame 601
onClipEvent (load) {
this.swapDepths(899998);
}
Instance of Symbol 211 MovieClip "mouche" in Frame 601
onClipEvent (load) {
this.swapDepths(900001);
if (_root.larves < 10) {
this.idle.m.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.idle.m.gotoAndStop("moyen");
} else {
this.idle.m.gotoAndStop("gros");
}
angle = 0;
i = 0;
j = 0;
k = 0;
fire = false;
bomb = false;
_root.laser._visible = false;
_root.bomb._visible = false;
laserCounter = 100000 /* 0x0186A0 */;
bombCounter = 200000 /* 0x030D40 */;
}
onClipEvent (enterFrame) {
if (_root.frame != "debut") {
_parent.overlay.vies.text = "x " + _root.VIE;
if (_root.lvl == "cleared") {
_root.mouche.gotoAndStop("senva");
} else {
if ((_root.larves >= 10) && (this.idle.m.etat == "petit")) {
this.idle.m.gotoAndPlay("petit_a_moyen");
} else if ((_root.larves >= 40) && (this.idle.m.etat == "moyen")) {
this.idle.m.gotoAndPlay("moyen_a_gros");
}
if (Key.isDown(65)) {
this.idle.m.parties.gotoAndStop("tire");
} else {
this.idle.m.parties.gotoAndStop("idle");
}
if ((current.movie = this.idle)) {
if (Key.isDown(65) & (fire == false)) {
laserCounter = laserCounter + 1;
_root.laser.duplicateMovieClip("laser" + laserCounter, laserCounter);
_root["laser" + laserCounter]._visible = true;
_root.laser.gotoAndPlay(1);
}
if (Key.isDown(83) && (_root.larves > 0)) {
if (bomb == false) {
bombCounter = bombCounter + 1;
_root.bomb.duplicateMovieClip("bomb" + bombCounter, bombCounter);
_root["bomb" + bombCounter]._visible = true;
this.idle.m.b.gotoAndStop("tire");
_root.larves = _root.larves - 1;
if (_root.larves == 9) {
this.idle.m.gotoAndPlay("moyen_a_petit");
} else if (_root.larves == 39) {
this.idle.m.gotoAndPlay("gros_a_moyen");
}
}
bomb = true;
} else {
bomb = false;
}
}
if (Key.isDown(39) && (Key.isDown(38))) {
_root.dir = "r_u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.dir = "r_d";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37) && (Key.isDown(38))) {
_root.dir = "l_u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.dir = "l_d";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37)) {
_root.dir = "l";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(39)) {
_root.dir = "r";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(38)) {
_root.dir = "u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(40)) {
_root.dir = "d";
_root.acceleration();
_root.vitesse();
} else {
_root.decceleration();
_root.vitesse();
}
}
}
}
Instance of Symbol 431 MovieClip "laser" in Frame 601
onClipEvent (load) {
if (this._name == "laser") {
this.gotoAndStop(1);
j = 50;
} else if (this._name != "laser") {
j = 0;
k = 0;
this._y = _root.mouche._y + 22;
if (_root.WPN_SPD == 15) {
this._x = _root.mouche._x;
} else if (_root.WPN_SPD == 12) {
this._x = _root.mouche._x;
}
}
}
onClipEvent (enterFrame) {
if (this._name == "laser") {
} else if (this._name != "laser") {
if (this.las.hit == "") {
this._x = this._x + _root.WPN_SPD;
}
if (this._x > 640) {
removeMovieClip(this);
} else {
i = 1;
while (i < 15) {
if ((this.las.hitTest(_root.enemy["enemy" + i].path) && (_root.enemy["enemy" + i].ARM > 0)) && (j == 0)) {
_root.enemy["enemy" + i].e.mal.play();
_root.enemy["enemy" + i].ARM = _root.enemy["enemy" + i].ARM - 1;
this.las.play();
j = 1;
} else if (this.las.hitTest(_root.enemy["place" + i].p) & (k == 0)) {
this.las.play();
k = 1;
} else if (this.las.hitTest(_root.bg["place" + i].p) & (k == 0)) {
this.las.play();
k = 1;
}
if ((this.las.hitTest(_root.enemy["enemy" + i].path) && (_root.enemy["enemy" + i].ARM <= 0)) && (j == 1)) {
_root.enemy["enemy" + i].e.gotoAndStop("meurt");
this.las.play();
j = 2;
}
i++;
}
}
}
}
Instance of Symbol 176 MovieClip "bomb" in Frame 601
onClipEvent (load) {
angle = 0;
if (this._name == "bomb") {
j = 50;
k = 50;
} else if (this._name != "bomb") {
j = 0;
k = 0;
this._y = _root.mouche._y + 25;
this._x = _root.mouche._x - 35;
}
}
onClipEvent (enterFrame) {
if (this._name == "bomb") {
} else if (this._name != "bomb") {
if (this.b.hit == "") {
this.angle = this.angle + 0.05;
if (this.angle < 1.5) {
this._x = this._x + (0 + (Math.cos(this.angle) * -5));
}
if (this.angle < 1.5) {
this._y = this._y + (0 + (Math.sin(this.angle) * 10));
} else {
this._y = this._y + 10;
}
}
if ((this._x < -60) & (this._name != "bomb")) {
this.removeMovieClip();
}
if ((this._y > 480) & (this._name != "bomb")) {
this.removeMovieClip();
}
i = 1;
while (i < 15) {
if ((this.b.b1.hitTest(_root.enemy["enemy" + i].path) & (_root.enemy["enemy" + i].ARM > 0)) & (j == 0)) {
_root.enemy["enemy" + i].e.mal.play();
_root.enemy["enemy" + i].ARM = _root.enemy["enemy" + i].ARM - 3;
this.b.play();
j = 1;
} else if (this.b.b1.hitTest(_root.enemy["place" + i].p) & (k == 0)) {
_root.pondu = _root.pondu + 1;
_root.score = _root.score + 100;
this.b.gotoAndPlay("pondu");
k = 1;
}
if ((this.b.b1.hitTest(_root.enemy["enemy" + i].path) & (_root.enemy["enemy" + i].ARM <= 0)) & (j == 1)) {
_root.enemy["enemy" + i].e.gotoAndStop("meurt");
this.b.play();
j = 2;
}
i++;
}
}
}
Instance of Symbol 400 MovieClip "overlay" in Frame 601
onClipEvent (load) {
this.swapDepths(900000);
this.gotoAndPlay(2);
}
Frame 602
_root.acceleration = function () {
if (_root.SPD_boost == "non") {
_root.SPD = _root.SPD + 1;
if (_root.SPD >= _root.maxSPD) {
_root.SPD = _root.maxSPD;
}
} else if (_root.SPD_boost == "oui") {
_root.SPD = _root.SPD + 1;
if (_root.SPD >= (_root.maxSPD * 2)) {
_root.SPD = _root.maxSPD * 2;
}
}
};
_root.decceleration = function () {
_root.SPD = _root.SPD - 0.5;
if (_root.SPD <= 0) {
_root.SPD = 0;
_root.dir = undefined;
}
};
_root.vitesse = function () {
if (_root.dir == "r_u") {
_root.mouche.movement((_root.SPD * 3) / 4, ((-_root.SPD) * 3) / 4, _root.wall);
}
if (_root.dir == "r_d") {
_root.mouche.movement((_root.SPD * 3) / 4, (_root.SPD * 3) / 4, _root.wall);
}
if (_root.dir == "l_d") {
_root.mouche.movement(((-_root.SPD) * 3) / 4, (_root.SPD * 3) / 4, _root.wall);
}
if (_root.dir == "l_u") {
_root.mouche.movement(((-_root.SPD) * 3) / 4, ((-_root.SPD) * 3) / 4, _root.wall);
}
if (_root.dir == "l") {
_root.mouche.movement(-_root.SPD, 0, _root.wall);
}
if (_root.dir == "r") {
_root.mouche.movement(_root.SPD, 0, _root.wall);
}
if (_root.dir == "u") {
_root.mouche.movement(0, -_root.SPD, _root.wall);
}
if (_root.dir == "d") {
_root.mouche.movement(0, _root.SPD, _root.wall);
}
};
stop();
frame = "LV3";
_root.enemy.swapDepths(300001);
var wall = _root.limit;
MovieClip.prototype.movement = function (x_, y_, object) {
(this._x = this._x + x_);
(this._y = this._y + y_);
};
Instance of Symbol 611 MovieClip "enemy" in Frame 602
onClipEvent (load) {
this.gotoAndPlay(180);
}
Frame 603
stop();
_root.frame = "debut";
_root.test = "non";
_root.SPD = 0;
_root.maxSPD = 6;
_root.WPN_SPD = 12;
_root.pondu = 0;
if (_root.test == "oui") {
_root.LV = 3;
_root._quality = "MEDIUM";
_root.larves = 0;
_root.score = 0;
_root.ARM = 5;
_root.maxARM = 5;
_root.VIE = 3;
}
Instance of Symbol 515 MovieClip in Frame 603
onClipEvent (load) {
this.gotoAndStop(45);
}
Instance of Symbol 211 MovieClip "mouche" in Frame 603
onClipEvent (load) {
this.swapDepths(900001);
if (_root.larves < 10) {
this.idle.m.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.idle.m.gotoAndStop("moyen");
} else {
this.idle.m.gotoAndStop("gros");
}
angle = 0;
i = 0;
j = 0;
k = 0;
fire = false;
bomb = false;
_root.laser._visible = false;
_root.bomb._visible = false;
laserCounter = 100000 /* 0x0186A0 */;
bombCounter = 200000 /* 0x030D40 */;
}
onClipEvent (enterFrame) {
if (_root.frame != "debut") {
_parent.overlay.vies.text = "x " + _root.VIE;
if (_root.lvl == "cleared") {
_root.mouche.gotoAndStop("senva");
} else {
if ((_root.larves >= 10) && (this.idle.m.etat == "petit")) {
this.idle.m.gotoAndPlay("petit_a_moyen");
} else if ((_root.larves >= 40) && (this.idle.m.etat == "moyen")) {
this.idle.m.gotoAndPlay("moyen_a_gros");
}
if (Key.isDown(65)) {
this.idle.m.parties.gotoAndStop("tire");
} else {
this.idle.m.parties.gotoAndStop("idle");
}
if ((current.movie = this.idle)) {
if (Key.isDown(65) & (fire == false)) {
laserCounter = laserCounter + 1;
_root.laser.duplicateMovieClip("laser" + laserCounter, laserCounter);
_root["laser" + laserCounter]._visible = true;
_root.laser.gotoAndPlay(1);
}
if (Key.isDown(83) && (_root.larves > 0)) {
if (bomb == false) {
bombCounter = bombCounter + 1;
_root.bomb.duplicateMovieClip("bomb" + bombCounter, bombCounter);
_root["bomb" + bombCounter]._visible = true;
this.idle.m.b.gotoAndStop("tire");
_root.larves = _root.larves - 1;
if (_root.larves == 9) {
this.idle.m.gotoAndPlay("moyen_a_petit");
} else if (_root.larves == 39) {
this.idle.m.gotoAndPlay("gros_a_moyen");
}
}
bomb = true;
} else {
bomb = false;
}
}
if (Key.isDown(39) && (Key.isDown(38))) {
_root.dir = "r_u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.dir = "r_d";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37) && (Key.isDown(38))) {
_root.dir = "l_u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.dir = "l_d";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37)) {
_root.dir = "l";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(39)) {
_root.dir = "r";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(38)) {
_root.dir = "u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(40)) {
_root.dir = "d";
_root.acceleration();
_root.vitesse();
} else {
_root.decceleration();
_root.vitesse();
}
}
}
}
Instance of Symbol 431 MovieClip "laser" in Frame 603
onClipEvent (load) {
if (this._name == "laser") {
this.gotoAndStop(1);
j = 50;
} else if (this._name != "laser") {
j = 0;
k = 0;
this._y = _root.mouche._y + 22;
if (_root.WPN_SPD == 15) {
this._x = _root.mouche._x;
} else if (_root.WPN_SPD == 12) {
this._x = _root.mouche._x;
}
}
}
onClipEvent (enterFrame) {
if (this._name == "laser") {
} else if (this._name != "laser") {
if (this.las.hit == "") {
this._x = this._x + _root.WPN_SPD;
}
if (this._x > 640) {
removeMovieClip(this);
} else {
i = 1;
while (i < 15) {
if ((this.las.hitTest(_root.enemy["enemy" + i].path) && (_root.enemy["enemy" + i].ARM > 0)) && (j == 0)) {
_root.enemy["enemy" + i].e.mal.play();
_root.enemy["enemy" + i].ARM = _root.enemy["enemy" + i].ARM - 1;
this.las.play();
j = 1;
} else if (this.las.hitTest(_root.enemy["place" + i].p) & (k == 0)) {
this.las.play();
k = 1;
} else if (this.las.hitTest(_root.bg["place" + i].p) & (k == 0)) {
this.las.play();
k = 1;
}
if ((this.las.hitTest(_root.enemy["enemy" + i].path) && (_root.enemy["enemy" + i].ARM <= 0)) && (j == 1)) {
_root.enemy["enemy" + i].e.gotoAndStop("meurt");
this.las.play();
j = 2;
}
i++;
}
}
}
}
Instance of Symbol 176 MovieClip "bomb" in Frame 603
onClipEvent (load) {
angle = 0;
if (this._name == "bomb") {
j = 50;
k = 50;
} else if (this._name != "bomb") {
j = 0;
k = 0;
this._y = _root.mouche._y + 25;
this._x = _root.mouche._x - 35;
}
}
onClipEvent (enterFrame) {
if (this._name == "bomb") {
} else if (this._name != "bomb") {
if (this.b.hit == "") {
this.angle = this.angle + 0.05;
if (this.angle < 1.5) {
this._x = this._x + (0 + (Math.cos(this.angle) * -5));
}
if (this.angle < 1.5) {
this._y = this._y + (0 + (Math.sin(this.angle) * 10));
} else {
this._y = this._y + 10;
}
}
if ((this._x < -60) & (this._name != "bomb")) {
this.removeMovieClip();
}
if ((this._y > 480) & (this._name != "bomb")) {
this.removeMovieClip();
}
i = 1;
while (i < 15) {
if ((this.b.b1.hitTest(_root.enemy["enemy" + i].path) & (_root.enemy["enemy" + i].ARM > 0)) & (j == 0)) {
_root.enemy["enemy" + i].e.mal.play();
_root.enemy["enemy" + i].ARM = _root.enemy["enemy" + i].ARM - 3;
this.b.play();
j = 1;
} else if (this.b.b1.hitTest(_root.enemy["place" + i].p) & (k == 0)) {
_root.pondu = _root.pondu + 1;
_root.score = _root.score + 100;
this.b.gotoAndPlay("pondu");
k = 1;
}
if ((this.b.b1.hitTest(_root.enemy["enemy" + i].path) & (_root.enemy["enemy" + i].ARM <= 0)) & (j == 1)) {
_root.enemy["enemy" + i].e.gotoAndStop("meurt");
this.b.play();
j = 2;
}
i++;
}
}
}
Instance of Symbol 400 MovieClip "overlay" in Frame 603
onClipEvent (load) {
this.swapDepths(900000);
this.gotoAndPlay(2);
}
Instance of Symbol 620 MovieClip "over1" in Frame 603
onClipEvent (load) {
this.swapDepths(899998);
}
Frame 604
_root.acceleration = function () {
if (_root.SPD_boost == "non") {
_root.SPD = _root.SPD + 1;
if (_root.SPD >= _root.maxSPD) {
_root.SPD = _root.maxSPD;
}
} else if (_root.SPD_boost == "oui") {
_root.SPD = _root.SPD + 1;
if (_root.SPD >= (_root.maxSPD * 2)) {
_root.SPD = _root.maxSPD * 2;
}
}
};
_root.decceleration = function () {
_root.SPD = _root.SPD - 0.5;
if (_root.SPD <= 0) {
_root.SPD = 0;
_root.dir = undefined;
}
};
_root.vitesse = function () {
if (_root.dir == "r_u") {
_root.mouche.movement((_root.SPD * 3) / 4, ((-_root.SPD) * 3) / 4, _root.wall);
}
if (_root.dir == "r_d") {
_root.mouche.movement((_root.SPD * 3) / 4, (_root.SPD * 3) / 4, _root.wall);
}
if (_root.dir == "l_d") {
_root.mouche.movement(((-_root.SPD) * 3) / 4, (_root.SPD * 3) / 4, _root.wall);
}
if (_root.dir == "l_u") {
_root.mouche.movement(((-_root.SPD) * 3) / 4, ((-_root.SPD) * 3) / 4, _root.wall);
}
if (_root.dir == "l") {
_root.mouche.movement(-_root.SPD, 0, _root.wall);
}
if (_root.dir == "r") {
_root.mouche.movement(_root.SPD, 0, _root.wall);
}
if (_root.dir == "u") {
_root.mouche.movement(0, -_root.SPD, _root.wall);
}
if (_root.dir == "d") {
_root.mouche.movement(0, _root.SPD, _root.wall);
}
};
stop();
frame = "Boss3";
_root.enemy.swapDepths(300001);
var wall = _root.limit;
MovieClip.prototype.movement = function (x_, y_, object) {
(this._x = this._x + x_);
(this._y = this._y + y_);
};
Frame 605
stop();
_root.frame = "debut";
_root.test = "non";
_root.SPD = 0;
_root.maxSPD = 6;
_root.WPN_SPD = 12;
_root.pondu = 0;
if (_root.test == "oui") {
_root.LV = 3;
_root._quality = "MEDIUM";
_root.frame = "debut";
_root.larves = 0;
_root.score = 0;
_root.ARM = 5;
_root.maxARM = 5;
_root.VIE = 3;
}
Instance of Symbol 211 MovieClip "mouche" in Frame 605
onClipEvent (load) {
this.swapDepths(900001);
if (_root.larves < 10) {
this.idle.m.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.idle.m.gotoAndStop("moyen");
} else {
this.idle.m.gotoAndStop("gros");
}
angle = 0;
i = 0;
j = 0;
k = 0;
fire = false;
bomb = false;
_root.laser._visible = false;
_root.bomb._visible = false;
laserCounter = 100000 /* 0x0186A0 */;
bombCounter = 200000 /* 0x030D40 */;
}
onClipEvent (enterFrame) {
if (_root.frame != "debut") {
_parent.overlay.vies.text = "x " + _root.VIE;
if (_root.lvl == "cleared") {
_root.mouche.gotoAndStop("senva");
} else {
if ((_root.larves >= 10) && (this.idle.m.etat == "petit")) {
this.idle.m.gotoAndPlay("petit_a_moyen");
} else if ((_root.larves >= 40) && (this.idle.m.etat == "moyen")) {
this.idle.m.gotoAndPlay("moyen_a_gros");
}
if (Key.isDown(65)) {
this.idle.m.parties.gotoAndStop("tire");
} else {
this.idle.m.parties.gotoAndStop("idle");
}
if ((current.movie = this.idle)) {
if (Key.isDown(65) & (fire == false)) {
laserCounter = laserCounter + 1;
_root.laser.duplicateMovieClip("laser" + laserCounter, laserCounter);
_root["laser" + laserCounter]._visible = true;
_root.laser.gotoAndPlay(1);
}
if (Key.isDown(83) && (_root.larves > 0)) {
if (bomb == false) {
bombCounter = bombCounter + 1;
_root.bomb.duplicateMovieClip("bomb" + bombCounter, bombCounter);
_root["bomb" + bombCounter]._visible = true;
this.idle.m.b.gotoAndStop("tire");
_root.larves = _root.larves - 1;
if (_root.larves == 9) {
this.idle.m.gotoAndPlay("moyen_a_petit");
} else if (_root.larves == 39) {
this.idle.m.gotoAndPlay("gros_a_moyen");
}
}
bomb = true;
} else {
bomb = false;
}
}
if (Key.isDown(39) && (Key.isDown(38))) {
_root.dir = "r_u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.dir = "r_d";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37) && (Key.isDown(38))) {
_root.dir = "l_u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.dir = "l_d";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(37)) {
_root.dir = "l";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(39)) {
_root.dir = "r";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(38)) {
_root.dir = "u";
_root.acceleration();
_root.vitesse();
} else if (Key.isDown(40)) {
_root.dir = "d";
_root.acceleration();
_root.vitesse();
} else {
_root.decceleration();
_root.vitesse();
}
}
}
}
Instance of Symbol 431 MovieClip "laser" in Frame 605
onClipEvent (load) {
if (this._name == "laser") {
this.gotoAndStop(1);
j = 50;
} else if (this._name != "laser") {
j = 0;
k = 0;
this._y = _root.mouche._y + 22;
if (_root.WPN_SPD == 15) {
this._x = _root.mouche._x;
} else if (_root.WPN_SPD == 12) {
this._x = _root.mouche._x;
}
}
}
onClipEvent (enterFrame) {
if (this._name == "laser") {
} else if (this._name != "laser") {
if (this.las.hit == "") {
this._x = this._x + _root.WPN_SPD;
}
if (this._x > 640) {
removeMovieClip(this);
} else {
i = 1;
while (i < 15) {
if ((this.las.hitTest(_root.enemy["enemy" + i].path) && (_root.enemy["enemy" + i].ARM > 0)) && (j == 0)) {
_root.enemy["enemy" + i].e.mal.play();
_root.enemy["enemy" + i].ARM = _root.enemy["enemy" + i].ARM - 1;
this.las.play();
j = 1;
} else if (this.las.hitTest(_root.enemy["place" + i].p) & (k == 0)) {
this.las.play();
k = 1;
}
if ((this.las.hitTest(_root.enemy["enemy" + i].path) && (_root.enemy["enemy" + i].ARM <= 0)) && (j == 1)) {
_root.enemy["enemy" + i].e.gotoAndStop("meurt");
this.las.play();
j = 2;
}
i++;
}
}
}
}
Instance of Symbol 176 MovieClip "bomb" in Frame 605
onClipEvent (load) {
angle = 0;
if (this._name == "bomb") {
j = 50;
k = 50;
} else if (this._name != "bomb") {
j = 0;
k = 0;
this._y = _root.mouche._y + 25;
this._x = _root.mouche._x - 35;
}
}
onClipEvent (enterFrame) {
if (this._name == "bomb") {
} else if (this._name != "bomb") {
if (this.b.hit == "") {
this.angle = this.angle + 0.05;
if (this.angle < 1.5) {
this._x = this._x + (0 + (Math.cos(this.angle) * -5));
}
if (this.angle < 1.5) {
this._y = this._y + (0 + (Math.sin(this.angle) * 10));
} else {
this._y = this._y + 10;
}
}
if ((this._x < -60) & (this._name != "bomb")) {
this.removeMovieClip();
}
if ((this._y > 480) & (this._name != "bomb")) {
this.removeMovieClip();
}
i = 1;
while (i < 15) {
if ((this.b.b1.hitTest(_root.enemy["enemy" + i].path) & (_root.enemy["enemy" + i].ARM > 0)) & (j == 0)) {
_root.enemy["enemy" + i].e.mal.play();
_root.enemy["enemy" + i].ARM = _root.enemy["enemy" + i].ARM - 3;
this.b.play();
j = 1;
} else if (this.b.b1.hitTest(_root.enemy["place" + i].p) & (k == 0)) {
_root.pondu = _root.pondu + 1;
_root.score = _root.score + 100;
this.b.gotoAndPlay("pondu");
k = 1;
}
if ((this.b.b1.hitTest(_root.enemy["enemy" + i].path) & (_root.enemy["enemy" + i].ARM <= 0)) & (j == 1)) {
_root.enemy["enemy" + i].e.gotoAndStop("meurt");
this.b.play();
j = 2;
}
i++;
}
}
}
Instance of Symbol 400 MovieClip "overlay" in Frame 605
onClipEvent (load) {
this.swapDepths(900000);
this.gotoAndPlay(2);
}
Frame 606
_root.acceleration = function () {
if (_root.SPD_boost == "non") {
_root.SPD = _root.SPD + 1;
if (_root.SPD >= _root.maxSPD) {
_root.SPD = _root.maxSPD;
}
} else if (_root.SPD_boost == "oui") {
_root.SPD = _root.SPD + 1;
if (_root.SPD >= (_root.maxSPD * 2)) {
_root.SPD = _root.maxSPD * 2;
}
}
};
_root.decceleration = function () {
_root.SPD = _root.SPD - 0.5;
if (_root.SPD <= 0) {
_root.SPD = 0;
_root.dir = undefined;
}
};
_root.vitesse = function () {
if (_root.dir == "r_u") {
_root.mouche.movement((_root.SPD * 3) / 4, ((-_root.SPD) * 3) / 4, _root.wall);
}
if (_root.dir == "r_d") {
_root.mouche.movement((_root.SPD * 3) / 4, (_root.SPD * 3) / 4, _root.wall);
}
if (_root.dir == "l_d") {
_root.mouche.movement(((-_root.SPD) * 3) / 4, (_root.SPD * 3) / 4, _root.wall);
}
if (_root.dir == "l_u") {
_root.mouche.movement(((-_root.SPD) * 3) / 4, ((-_root.SPD) * 3) / 4, _root.wall);
}
if (_root.dir == "l") {
_root.mouche.movement(-_root.SPD, 0, _root.wall);
}
if (_root.dir == "r") {
_root.mouche.movement(_root.SPD, 0, _root.wall);
}
if (_root.dir == "u") {
_root.mouche.movement(0, -_root.SPD, _root.wall);
}
if (_root.dir == "d") {
_root.mouche.movement(0, _root.SPD, _root.wall);
}
};
stop();
_root.frame = "Bonus3";
_root.bonus = "oui";
_root.enemy.swapDepths(300001);
var wall = _root.limit;
MovieClip.prototype.movement = function (x_, y_, object) {
(this._x = this._x + x_);
(this._y = this._y + y_);
};
Instance of Symbol 666 MovieClip "enemy" in Frame 606
onClipEvent (load) {
this.gotoAndPlay(30);
}
Symbol 2 MovieClip [musicMC] Frame 1
stop();
Symbol 2 MovieClip [musicMC] Frame 2
stop();
_root.musFrame = "Menu";
Menu1 = new Sound(m_Menu);
Menu1.attachSound("mus_Menu");
Menu1.start(0, 9999);
if (_root.musique == "on") {
Menu1.setVolume(_root.volumeValue);
} else {
Menu1.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 3
stop();
_root.musFrame = "lvl1";
lvl1 = new Sound(m_lvl1);
lvl1.attachSound("mus_lvl1");
lvl1.start(0, 9999);
if (_root.musique == "on") {
lvl1.setVolume(_root.volumeValue);
} else {
lvl1.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 4
stop();
_root.musFrame = "lvl2";
lvl2 = new Sound(m_lvl2);
lvl2.attachSound("mus_lvl2");
lvl2.start(0, 9999);
if (_root.musique == "on") {
lvl2.setVolume(_root.volumeValue);
} else {
lvl2.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 5
stop();
_root.musFrame = "lvl3";
lvl3 = new Sound(m_lvl3);
lvl3.attachSound("mus_lvl3");
lvl3.start(0, 9999);
if (_root.musique == "on") {
lvl3.setVolume(_root.volumeValue);
} else {
lvl3.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 6
_root.musFrame = "boss3";
boss3 = new Sound(m_boss3);
boss3.attachSound("mus_boss3");
boss3.start(0, 9999);
if (_root.musique == "on") {
boss3.setVolume(_root.volumeValue);
} else {
boss3.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 7
_root.musFrame = "bonus";
bonus = new Sound(m_bonus);
bonus.attachSound("mus_bonus");
bonus.start(0, 9999);
if (_root.musique == "on") {
bonus.setVolume(_root.volumeValue);
} else {
bonus.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 8
stop();
_root.musFrame = "Fleur";
Fleur = new Sound(m_Fleur);
Fleur.attachSound("mus_Fleur");
Fleur.start(0, 9999);
if (_root.musique == "on") {
Fleur.setVolume(_root.volumeValue);
} else {
Fleur.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 9
stop();
_root.musFrame = "Carnaval";
Carnaval = new Sound(m_Carnaval);
Carnaval.attachSound("mus_Carnaval");
Carnaval.start(0, 9999);
if (_root.musique == "on") {
Carnaval.setVolume(_root.volumeValue);
} else {
Carnaval.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 10
stop();
_root.musFrame = "Jelly";
Jelly = new Sound(m_Jelly);
Jelly.attachSound("mus_Jelly");
Jelly.start(0, 9999);
if (_root.musique == "on") {
Jelly.setVolume(_root.volumeValue);
} else {
Jelly.setVolume(0);
}
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(15);
}
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(30);
}
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(45);
}
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(60);
}
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(75);
}
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(90);
}
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(105);
}
Symbol 21 Button
on (release) {
getURL ((("http://www.arcadetown.com/index.asp?gameid=mamafly&aid=" + _root.GetUrlParam(_url, "aid=")) + "&refer=") + _root.GetBaseUrl(_url), "_blank");
}
Symbol 24 Button
on (keyPress "q") {
if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
q_text.gotoAndPlay("low");
} else if (_root._quality == "LOW") {
_root._quality = "BEST";
q_text.gotoAndPlay("best");
} else if (_root._quality == "BEST") {
_root._quality = "HIGH";
q_text.gotoAndPlay("high");
} else if (_root._quality == "HIGH") {
_root._quality = "MEDIUM";
q_text.gotoAndPlay("medium");
}
}
on (keyPress "Q") {
if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
q_text.gotoAndPlay("low");
} else if (_root._quality == "LOW") {
_root._quality = "BEST";
q_text.gotoAndPlay("best");
} else if (_root._quality == "BEST") {
_root._quality = "HIGH";
q_text.gotoAndPlay("high");
} else if (_root._quality == "HIGH") {
_root._quality = "MEDIUM";
q_text.gotoAndPlay("medium");
}
}
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 15
gotoAndStop (1);
Symbol 30 MovieClip Frame 30
gotoAndStop (1);
Symbol 30 MovieClip Frame 45
gotoAndStop (1);
Symbol 30 MovieClip Frame 60
gotoAndStop (1);
Symbol 52 MovieClip Frame 29
stop();
Instance of Symbol 52 MovieClip in Symbol 53 MovieClip Frame 85
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 53 MovieClip Frame 115
_root.play();
Symbol 54 Button
on (release) {
getURL ((("http://www.arcadetown.com/index.asp?gameid=mamafly&aid=" + _root.GetUrlParam(_url, "aid=")) + "&refer=") + _root.GetBaseUrl(_url), "_blank");
}
Symbol 78 MovieClip Frame 90
stop();
_root.play();
Symbol 89 Button
on (release) {
_root.musique = "off";
_root.sonMC.gotoAndPlay("mute");
_root.musicMC.Menu1.setVolume(0);
_root.musicMC.lvl1.setVolume(0);
_root.musicMC.lvl2.setVolume(0);
_root.musicMC.lvl3.setVolume(0);
_root.musicMC.boss3.setVolume(0);
_root.musicMC.bonus.setVolume(0);
_root.musicMC.Fleur.setVolume(0);
_root.musicMC.Carnaval.setVolume(0);
_root.musicMC.Jelly.setVolume(0);
gotoAndStop (2);
}
Symbol 91 Button
on (release) {
_root.musique = "on";
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.boss3.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
_root.musicMC.Fleur.setVolume(_root.volumeValue);
_root.musicMC.Carnaval.setVolume(_root.volumeValue);
_root.musicMC.Jelly.setVolume(_root.volumeValue);
gotoAndStop (1);
}
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 2
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
if (_root.musique == "off") {
gotoAndStop (1);
}
Symbol 103 MovieClip Frame 3
stop();
Symbol 103 MovieClip Frame 4
if (_root.musique == "off") {
gotoAndStop (1);
}
Symbol 103 MovieClip Frame 5
stop();
Symbol 103 MovieClip Frame 6
if (_root.musique == "off") {
gotoAndStop (1);
}
Symbol 103 MovieClip Frame 7
stop();
Symbol 103 MovieClip Frame 8
if (_root.musique == "off") {
gotoAndStop (1);
}
Symbol 103 MovieClip Frame 9
stop();
Symbol 103 MovieClip Frame 10
if (_root.musique == "off") {
gotoAndStop (1);
}
Symbol 103 MovieClip Frame 11
stop();
Symbol 103 MovieClip Frame 12
if (_root.musique == "off") {
gotoAndStop (1);
}
Symbol 103 MovieClip Frame 13
stop();
Symbol 103 MovieClip Frame 14
if (_root.musique == "off") {
gotoAndStop (1);
}
Symbol 103 MovieClip Frame 15
stop();
Symbol 103 MovieClip Frame 16
if (_root.musique == "off") {
gotoAndStop (1);
}
Symbol 103 MovieClip Frame 17
stop();
Symbol 103 MovieClip Frame 18
if (_root.musique == "off") {
gotoAndStop (1);
}
Symbol 103 MovieClip Frame 19
stop();
Symbol 106 Button
on (release) {
getURL ("http://www.arcadetown.com/free_content/index.asp", "_blank");
}
Symbol 121 Button
on (release) {
nextplace = "credits";
gotoAndPlay ("exit_menu");
}
Symbol 124 Button
on (release) {
getURL ((("http://www.arcadetown.com/index.asp?gameid=mamafly&aid=" + _root.GetUrlParam(_url, "aid=")) + "&refer=") + _root.GetBaseUrl(_url), "_blank");
}
Symbol 127 Button
on (release) {
getURL ("http://www.arcadetown.com/mamafly/view_high_scores.asp", "_blank");
}
Symbol 130 Button
on (release) {
_root.fade_out.play();
_root.LV = 1;
_root.larves = 0;
_root.ARM = 5;
_root.nextplace = "debut_tableau";
gotoAndStop (1);
}
Symbol 133 Button
on (release) {
nextplace = "how_to_play";
gotoAndPlay ("exit_menu");
}
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 3
play();
Symbol 136 MovieClip Frame 33
gotoAndStop (2);
Symbol 136 MovieClip Frame 58
_root.gotoAndPlay(nextplace);
Symbol 137 MovieClip Frame 5
stop();
Symbol 138 MovieClip Frame 1
stop();
Instance of Symbol 137 MovieClip "fadeMC" in Symbol 138 MovieClip Frame 2
onClipEvent (load) {
frames = 25;
maxVol = _root.volumeValue;
i = maxVol / frames;
fade = "out";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.boss3.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
_root.musicMC.Fleur.setVolume(_root.volumeValue);
_root.musicMC.Carnaval.setVolume(_root.volumeValue);
_root.musicMC.Jelly.setVolume(_root.volumeValue);
}
}
Symbol 138 MovieClip Frame 28
stop();
_root.musicMC.Menu1.stop();
_root.musicMC.lvl1.stop();
_root.musicMC.lvl2.stop();
_root.musicMC.lvl3.stop();
_root.musicMC.boss3.stop();
_root.musicMC.bonus.stop();
_root.musicMC.Fleur.stop();
_root.musicMC.Carnaval.stop();
_root.musicMC.gotoAndStop(1);
_root.gotoAndPlay(_root.nextplace);
Symbol 151 MovieClip Frame 1
stop();
Instance of Symbol 151 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y + ((-_root.SPD) - (_parent._parent.speedy * _parent._parent.pos_negy));
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y + ((((-_root.SPD) * 3) / 4) - (_parent._parent.speedy * _parent._parent.pos_negy));
}
}
Instance of Symbol 151 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y + (_root.SPD + (_parent._parent.speedy * _parent._parent.pos_negy));
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y + (((_root.SPD * 3) / 4) + (_parent._parent.speedy * _parent._parent.pos_negy));
}
}
Instance of Symbol 151 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x + ((-_root.SPD) - (_parent._parent.speedx * _parent._parent.pos_negx));
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x + ((((-_root.SPD) * 3) / 4) - (_parent._parent.speedx * _parent._parent.pos_negx));
}
}
Instance of Symbol 151 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x + (_root.SPD + (_parent._parent.speedx * _parent._parent.pos_negx));
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x + (((_root.SPD * 3) / 4) + (_parent._parent.speedx * _parent._parent.pos_negx));
}
}
Instance of Symbol 153 MovieClip "p" in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Symbol 173 MovieClip Frame 2
a_x = _parent._parent._parent._parent._x;
b_x = _parent._parent._parent._parent._parent._x;
c_x = _parent._parent._parent._parent._parent._parent._x;
d_x = _parent._parent._parent._parent._parent._parent._parent._x;
e_x = _parent._parent._parent._parent._parent._parent._parent._parent._x;
f_x = _parent._parent._parent._parent._parent._parent._parent._parent._parent._x;
a_y = _parent._parent._parent._parent._y;
b_y = _parent._parent._parent._parent._parent._y;
c_y = _parent._parent._parent._parent._parent._parent._y;
d_y = _parent._parent._parent._parent._parent._parent._parent._y;
e_y = _parent._parent._parent._parent._parent._parent._parent._parent._y;
f_y = _parent._parent._parent._parent._parent._parent._parent._parent._parent._y;
if (a_x == undefined) {
a_x = 0;
a_y = 0;
}
if (b_x == undefined) {
b_x = 0;
b_y = 0;
}
if (c_x == undefined) {
c_x = 0;
c_y = 0;
}
if (d_x == undefined) {
d_x = 0;
d_y = 0;
}
if (e_x == undefined) {
e_x = 0;
e_y = 0;
}
if (f_x == undefined) {
f_x = 0;
f_y = 0;
}
_root.targx = (((((t._x + a_x) + b_x) + c_x) + d_x) + e_x) + f_x;
_root.targy = (((((t._y + a_y) + b_y) + c_y) + d_y) + e_y) + f_y;
Symbol 173 MovieClip Frame 11
stop();
Symbol 175 MovieClip Frame 1
hit = "";
stop();
Symbol 175 MovieClip Frame 2
hit = "oui";
_parent.swapDepths(300001 + _root.mouche.bombCounter);
Symbol 175 MovieClip Frame 12
stop();
removeMovieClip(_parent);
Symbol 175 MovieClip Frame 13
hit = "oui";
_root.sonMC.gotoAndPlay("larve");
_parent.swapDepths(300001 + _root.mouche.bombCounter);
Symbol 175 MovieClip Frame 22
stop();
removeMovieClip(_parent);
Symbol 176 MovieClip Frame 2
stop();
Symbol 184 MovieClip Frame 5
_parent.gotoAndStop("idle");
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
stop();
Symbol 194 MovieClip Frame 6
if (_root.WPN_SPD == 15) {
gotoAndPlay (1);
}
Symbol 194 MovieClip Frame 9
if (_root.WPN_SPD == 12) {
gotoAndPlay (1);
}
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 2
stop();
Symbol 204 MovieClip Frame 3
stop();
Symbol 205 MovieClip Frame 1
stop();
etat = "moyen";
_root.maxSPD = 6;
Instance of Symbol 177 MovieClip "hit" in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 205 MovieClip Frame 2
stop();
etat = "petit";
_root.maxSPD = 7;
Symbol 205 MovieClip Frame 3
stop();
etat = "gros";
_root.maxSPD = 5;
Symbol 205 MovieClip Frame 4
etat = "petit";
Symbol 205 MovieClip Frame 12
gotoAndStop ("petit");
Symbol 205 MovieClip Frame 13
etat = "moyen";
Symbol 205 MovieClip Frame 21
gotoAndStop ("moyen");
Symbol 205 MovieClip Frame 22
etat = "moyen";
Symbol 205 MovieClip Frame 30
gotoAndStop ("moyen");
Symbol 205 MovieClip Frame 31
etat = "gros";
Symbol 205 MovieClip Frame 39
gotoAndStop ("gros");
Instance of Symbol 205 MovieClip "m" in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
this.parties.gotoAndStop("mal");
}
Symbol 207 MovieClip Frame 2
_root.mouche.swapDepths(_root.enemy);
if (_root.ARM == 5) {
gotoAndPlay ("respawn");
} else {
_root.sonMC.gotoAndPlay("mal");
}
i = 1;
while (i < 6) {
if (_root.ARM >= i) {
_root.overlay["a" + i].arm._visible = true;
} else {
_root.overlay["a" + i].arm._visible = false;
}
i++;
}
Instance of Symbol 205 MovieClip "m" in Symbol 207 MovieClip Frame 5
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
this.parties.gotoAndStop("mal");
}
Instance of Symbol 205 MovieClip "m" in Symbol 207 MovieClip Frame 11
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
this.parties.gotoAndStop("mal");
}
Instance of Symbol 205 MovieClip "m" in Symbol 207 MovieClip Frame 17
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
this.parties.gotoAndStop("mal");
}
Instance of Symbol 205 MovieClip "m" in Symbol 207 MovieClip Frame 23
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
}
Symbol 207 MovieClip Frame 29
_root.mouche.swapDepths(_root.enemy);
Instance of Symbol 205 MovieClip "m" in Symbol 207 MovieClip Frame 29
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
}
Symbol 207 MovieClip Frame 30
_parent.gotoAndStop("idle");
stop();
Symbol 207 MovieClip Frame 32
_root.mouche._visible = true;
Instance of Symbol 205 MovieClip "m" in Symbol 207 MovieClip Frame 39
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
}
Instance of Symbol 205 MovieClip "m" in Symbol 207 MovieClip Frame 45
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
}
Instance of Symbol 205 MovieClip "m" in Symbol 207 MovieClip Frame 51
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
}
Symbol 207 MovieClip Frame 57
_root.mouche.swapDepths(_root.enemy);
Instance of Symbol 205 MovieClip "m" in Symbol 207 MovieClip Frame 57
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
}
Symbol 207 MovieClip Frame 58
_parent.gotoAndStop("idle");
stop();
Instance of Symbol 205 MovieClip "m" in Symbol 208 MovieClip Frame 1
onClipEvent (load) {
if (_root.larves < 10) {
this.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.gotoAndStop("moyen");
} else {
this.gotoAndStop("gros");
}
this.parties.gotoAndStop("mal");
}
Instance of Symbol 207 MovieClip "meurt" in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 209 MovieClip Frame 2
_root.mouche.swapDepths(_root.enemy);
_root.overlay.a1.arm._visible = false;
_root.sonMC.gotoAndPlay("mal");
Symbol 209 MovieClip Frame 20
_root.sonMC.gotoAndPlay("meurt");
Symbol 209 MovieClip Frame 43
_root.mouche.swapDepths(_root.enemy);
Symbol 209 MovieClip Frame 44
stop();
_root.VIE = _root.VIE - 1;
if (_root.VIE > 0) {
_root.ARM = 5;
_root.mouche._visible = false;
_root.mouche._x = 152.75;
_root.mouche._y = 203.25;
_parent.gotoAndStop("mal");
} else {
_root.VIE = 0;
_root.overlay.gotoAndPlay("fin");
}
Symbol 209 MovieClip Frame 45
removeMovieClip(_root.mouche);
Instance of Symbol 206 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (load) {
if (_root.larves < 10) {
this.m.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.m.gotoAndStop("moyen");
} else {
this.m.gotoAndStop("gros");
}
}
Symbol 210 MovieClip Frame 50
_root.overlay.gotoAndPlay("fin");
Symbol 210 MovieClip Frame 81
stop();
Symbol 211 MovieClip Frame 1
stop();
Instance of Symbol 151 MovieClip "m" in Symbol 211 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 206 MovieClip "idle" in Symbol 211 MovieClip Frame 1
onClipEvent (load) {
if (_root.larves < 10) {
this.m.gotoAndStop("petit");
} else if (_root.larves < 40) {
this.m.gotoAndStop("moyen");
} else {
this.m.gotoAndStop("gros");
}
}
Symbol 211 MovieClip Frame 2
stop();
Symbol 211 MovieClip Frame 3
stop();
Symbol 211 MovieClip Frame 4
stop();
Symbol 232 Button
on (release) {
play();
}
Symbol 236 Button
on (release) {
_root.gotoAndPlay("how_to_menu");
}
Instance of Symbol 249 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(20);
}
Instance of Symbol 249 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(40);
}
Instance of Symbol 249 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(60);
}
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 2
_root.score = _root.score + 10;
Symbol 270 MovieClip Frame 13
stop();
Symbol 272 MovieClip Frame 1
etat = "normal";
Instance of Symbol 271 MovieClip "m" in Symbol 272 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.mouche) && (_root.VIE > 0)) && (_parent.etat == "normal")) {
_root.larves = _root.larves + 15;
if (_root.larves >= 50) {
_root.larves = 50;
}
_parent.etat = "pris";
_root.sonMC.gotoAndPlay("powerup");
this.stop();
this.mouche.play();
}
}
Symbol 279 Button
on (release) {
play();
}
Symbol 280 MovieClip Frame 1
stop();
_root.larves = 15;
Instance of Symbol 156 MovieClip "place1" in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 176 MovieClip "bomb" in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
this.b.b1.stop();
this.b.b1.b2.stop();
}
Instance of Symbol 176 MovieClip "bomb" in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
this.b.b1.stop();
this.b.b1.b2.stop();
}
Instance of Symbol 176 MovieClip "bomb" in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
this.b.gotoAndStop(15);
}
Instance of Symbol 211 MovieClip "mouche" in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
this.idle.stop();
this.idle.m.parties.m.gotoAndStop(2);
this.idle.m.parties.m1.gotoAndStop(2);
this.idle.m.b.b1.gotoAndStop(2);
}
Symbol 280 MovieClip Frame 2
stop();
Instance of Symbol 272 MovieClip in Symbol 280 MovieClip Frame 2
onClipEvent (load) {
this.stop();
this.m.stop();
}
Symbol 281 Button
on (release) {
getURL ("http://www.snailsanimation.com", "_blank");
}
Symbol 284 Button
on (release) {
_root.gotoAndPlay("credits_to_menu");
}
Symbol 285 MovieClip Frame 1
stop();
Symbol 289 Button
on (release) {
_root.fade_out.play();
_root.LV = 1;
_root.larves = 0;
_root.ARM = 5;
_root.nextplace = "debut_tableau";
gotoAndStop (2);
}
Symbol 293 Button
on (release) {
_root.gotoAndPlay("to_menu");
gotoAndStop (2);
}
Symbol 297 Button
on (release) {
gotoAndStop (3);
}
Symbol 304 Button
on (release) {
if (entername.playerName.text == "") {
entername.alert.text = "*PLEASE ENTER A NAME";
} else if (_root.score == 0) {
entername.alert.text = "*SORRY, YOUR SCORE IS TOO LOW";
} else {
_root.playerName = entername.playerName.text;
var strOut = ((entername.playerName.text + "|") + _root.score);
var strOut2 = _root.EncrpytString(strOut);
getURL ("http://www.arcadetown.com/mamafly/hs.asp?" + strOut2, "_blank");
gotoAndStop (4);
}
}
Symbol 308 Button
on (release) {
gotoAndStop (1);
}
Symbol 320 Button
on (release) {
_root.fade_out.play();
_root.LV = 1;
_root.larves = 0;
_root.ARM = 5;
_root.nextplace = "debut_tableau";
gotoAndStop (5);
}
Symbol 321 Button
on (release) {
_root.gotoAndPlay("to_menu");
gotoAndStop (5);
}
Symbol 326 MovieClip Frame 1
stop();
Instance of Symbol 93 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
if (_root.musique == "off") {
this.gotoAndStop(2);
}
}
Symbol 326 MovieClip Frame 2
stop();
Symbol 326 MovieClip Frame 3
stop();
Symbol 326 MovieClip Frame 4
stop();
Symbol 326 MovieClip Frame 5
stop();
Symbol 328 MovieClip Frame 1
if ((_root.lvl3 == "oui") && (_root.boss3 == "non")) {
part.text = "The Evil Queen";
} else if ((_root.lvl3 == "oui") && (_root.bonus == "oui")) {
part.text = "Bonus";
} else if (_root.LV == 1) {
part.text = "The Construction Site";
} else if (_root.LV == 2) {
part.text = "The Yard";
} else if (_root.LV == 3) {
part.text = "The Trash Kingdom";
}
Symbol 338 Button
on (release) {
_root.sonMC.gotoAndPlay("mute");
_root.gotoAndStop("result");
}
Instance of Symbol 343 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(115);
}
Instance of Symbol 344 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(45);
}
Instance of Symbol 345 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(190);
}
Instance of Symbol 346 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(25);
}
Instance of Symbol 347 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(145);
}
Instance of Symbol 348 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(181);
}
Instance of Symbol 349 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(70);
}
Symbol 353 Button
on (release) {
_root.sonMC.gotoAndPlay("mute");
_root.gotoAndStop("resultat");
}
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 2
stop();
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 2
stop();
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 2
stop();
Symbol 378 MovieClip Frame 1
if ((_root.LV == 3) && (_root.frame == "Boss3")) {
titre.text = "Finale - Result";
} else if ((_root.LV == 3) && (_root.frame == "Bonus3")) {
titre.text = "Bonus - Result";
} else {
titre.text = ("Part " + _root.LV) + " - Result";
}
Symbol 385 MovieClip Frame 1
stop();
if ((_root.LV == 3) && (_root.frame == "Boss3")) {
gotoAndStop (2);
}
qt.text = "x " + _root.pondu;
total.text = _root.pondu * 100;
_root.ligne1total = _root.pondu * 100;
Symbol 385 MovieClip Frame 2
stop();
qt.text = "x " + _root.temps;
total.text = _root.temps * 100;
_root.ligne1total = _root.temps * 100;
Symbol 389 MovieClip Frame 1
qt.text = "x " + _root.VIE;
total.text = _root.VIE * 1000;
_root.ligne2total = _root.VIE * 1000;
Symbol 391 MovieClip Frame 1
oldscore.text = "+ " + _root.score;
_root.oldscore = _root.score;
Symbol 395 MovieClip Frame 1
_root.score = (_root.ligne1total + _root.ligne2total) + _root.oldscore;
score.text = _root.score;
Symbol 399 Button
on (release) {
play();
}
Symbol 400 MovieClip Frame 1
stop();
Instance of Symbol 363 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
if ((_root.LV == 3) && (_root.boss == "oui")) {
this.gotoAndStop(2);
}
}
Instance of Symbol 93 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
if (_root.musique == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 370 MovieClip "a1" in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
if (_root.ARM < 1) {
this.arm._visible = false;
}
}
Instance of Symbol 370 MovieClip "a2" in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
if (_root.ARM < 2) {
this.arm._visible = false;
}
}
Instance of Symbol 370 MovieClip "a3" in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
if (_root.ARM < 3) {
this.arm._visible = false;
}
}
Instance of Symbol 370 MovieClip "a4" in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
if (_root.ARM < 4) {
this.arm._visible = false;
}
}
Instance of Symbol 370 MovieClip "a5" in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
if (_root.ARM < 5) {
this.arm._visible = false;
}
}
Instance of Symbol 373 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
if ((_root.LV == 3) && (_root.boss == "oui")) {
this.gotoAndStop(2);
}
}
Instance of Symbol 376 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
if ((_root.LV == 3) && (_root.boss == "oui")) {
this.gotoAndStop(2);
}
}
Symbol 400 MovieClip Frame 2
play();
Symbol 400 MovieClip Frame 3
_root.play();
Symbol 400 MovieClip Frame 30
_root.mouche.swapDepths(300000);
gotoAndStop (1);
Instance of Symbol 137 MovieClip "fadeMC" in Symbol 400 MovieClip Frame 31
onClipEvent (load) {
frames = 25;
maxVol = _root.volumeValue;
i = maxVol / frames;
fade = "out";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.boss3.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
_root.musicMC.Fleur.setVolume(_root.volumeValue);
_root.musicMC.Carnaval.setVolume(_root.volumeValue);
_root.musicMC.Jelly.setVolume(_root.volumeValue);
}
}
Symbol 400 MovieClip Frame 57
_root.musicMC.Menu1.stop();
_root.musicMC.lvl1.stop();
_root.musicMC.lvl2.stop();
_root.musicMC.lvl3.stop();
_root.musicMC.boss3.stop();
_root.musicMC.bonus.stop();
_root.musicMC.Fleur.stop();
_root.musicMC.Carnaval.stop();
_root.musicMC.gotoAndStop(1);
Symbol 400 MovieClip Frame 58
removeMovieClip(_root.over1);
removeMovieClip(_root.enemy);
removeMovieClip(_root.mouche);
removeMovieClip(_root.laser);
removeMovieClip(_root.bomb);
_root.ligne1total = undefined;
_root.ligne2total = undefined;
_root.oldscore = undefined;
_root.lvl = undefined;
if (_root.VIE <= 0) {
_root.gotoAndPlay("mort");
} else if ((_root.boss3 == "oui") && (_root.bonus == "non")) {
_root.gotoAndPlay("congrat");
} else if ((_root.boss3 == "oui") && (_root.frame == "Bonus3")) {
_root.gotoAndPlay("congrat");
}
Symbol 400 MovieClip Frame 59
play();
Symbol 400 MovieClip Frame 140
stop();
Symbol 400 MovieClip Frame 146
stop();
if (_root.LV < 3) {
_root.LV = _root.LV + 1;
}
removeMovieClip(_root.over1);
removeMovieClip(_root.enemy);
removeMovieClip(_root.mouche);
removeMovieClip(_root.laser);
removeMovieClip(_root.bomb);
_root.ligne1total = undefined;
_root.ligne2total = undefined;
_root.oldscore = undefined;
_root.lvl = undefined;
if ((_root.boss3 == "oui") && (_root.frame == "Bonus3")) {
_root.gotoAndStop("result");
} else if ((_root.boss3 == "oui") && (_root.bonus == "non")) {
_root.gotoAndStop("result");
} else {
_root.gotoAndPlay("debut_tableau");
}
Instance of Symbol 153 MovieClip "p" in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Instance of Symbol 153 MovieClip "p" in Symbol 413 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Instance of Symbol 153 MovieClip "p" in Symbol 419 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Symbol 423 MovieClip Frame 811
stop();
Symbol 430 MovieClip Frame 1
stop();
hit = "";
Symbol 430 MovieClip Frame 2
hit = "oui";
_parent.swapDepths(300001 + _root.mouche.laserCounter);
Symbol 430 MovieClip Frame 5
stop();
removeMovieClip(_parent);
Symbol 431 MovieClip Frame 2
if (this._name == "laser") {
_root.mouche.fire = true;
}
Symbol 431 MovieClip Frame 5
if (_root.WPN_SPD == 15) {
if (this._name == "laser") {
_root.mouche.fire = false;
}
stop();
}
Symbol 431 MovieClip Frame 8
if (_root.WPN_SPD == 12) {
if (this._name == "laser") {
_root.mouche.fire = false;
}
stop();
}
Instance of Symbol 151 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y + _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y + ((_root.SPD * 3) / 4);
}
}
Instance of Symbol 151 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x - _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x - ((_root.SPD * 3) / 4);
}
}
Instance of Symbol 151 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x + _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x + ((_root.SPD * 3) / 4);
}
}
Instance of Symbol 151 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y - _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y - ((_root.SPD * 3) / 4);
}
}
Symbol 433 MovieClip Frame 1
stop();
_root.WPN_SPD = 12;
Symbol 433 MovieClip Frame 2
_root.WPN_SPD = 15;
Symbol 434 MovieClip Frame 1
stop();
_root.SPD_boost = "non";
Symbol 434 MovieClip Frame 2
_root.SPD_boost = "oui";
Symbol 437 MovieClip Frame 1
stop();
if (this._name != "power") {
play();
}
Symbol 437 MovieClip Frame 2
if ((_root.frame == "Boss3") && (_root.enemy.enemy7.ARM <= 0)) {
gotoAndPlay ("bonus");
} else {
var pos = new Array("heal", "spd", "spd", "firespd", "firespd");
gotoAndPlay(pos[random(5)]);
}
Symbol 437 MovieClip Frame 3
etat = "normal";
stop();
Instance of Symbol 275 MovieClip "b" in Symbol 437 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((_root.mouche.m.hitTest(this) && (_root.VIE > 0)) && (_parent.etat == "normal")) {
_root.ARM = _root.ARM + 2;
if (_root.ARM > _root.maxARM) {
_root.ARM = _root.maxARM;
}
i = 1;
while (i < 6) {
if (_root.ARM >= i) {
_root.overlay["a" + i].arm._visible = true;
} else {
_root.overlay["a" + i].arm._visible = false;
}
i++;
}
_parent.etat = "pris";
_root.sonMC.gotoAndPlay("powerup");
_parent.gotoAndPlay("pris");
}
}
Symbol 437 MovieClip Frame 4
etat = "normal";
stop();
Instance of Symbol 257 MovieClip in Symbol 437 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.mouche.m.hitTest(this) && (_root.VIE > 0)) && (_parent.etat == "normal")) {
_root.c_SPD.gotoAndPlay(2);
_parent.etat = "pris";
_root.sonMC.gotoAndPlay("powerup");
_parent.gotoAndPlay("pris");
}
}
Symbol 437 MovieClip Frame 5
etat = "normal";
stop();
Instance of Symbol 254 MovieClip in Symbol 437 MovieClip Frame 5
onClipEvent (enterFrame) {
if ((_root.mouche.m.hitTest(this) && (_root.VIE > 0)) && (_parent.etat == "normal")) {
_root.c_WPN_SPD.gotoAndPlay(2);
_parent.etat = "pris";
_root.sonMC.gotoAndPlay("powerup");
_parent.gotoAndPlay("pris");
}
}
Symbol 437 MovieClip Frame 6
etat = "normal";
stop();
Instance of Symbol 251 MovieClip in Symbol 437 MovieClip Frame 6
onClipEvent (enterFrame) {
if (((_root.mouche.m.hitTest(this) && (_root.VIE > 0)) && (_parent.etat == "normal")) && (_root.lvl != "cleared")) {
_root.bonus = "oui";
_parent.etat = "pris";
_root.sonMC.gotoAndPlay("powerup");
_parent.gotoAndPlay("pris_bonus");
}
}
Symbol 437 MovieClip Frame 7
_parent.stop();
_root.score = _root.score + 10;
Symbol 437 MovieClip Frame 17
stop();
removeMovieClip(_parent);
Symbol 437 MovieClip Frame 18
_parent.stop();
_root.score = _root.score + 10;
Symbol 437 MovieClip Frame 28
stop();
removeMovieClip(_parent);
Symbol 438 MovieClip Frame 1
stop();
if (this._name != "power") {
play();
}
Symbol 438 MovieClip Frame 196
stop();
removeMovieClip(this);
Symbol 448 MovieClip Frame 1
_root.sonMC.gotoAndPlay("enemy_m");
Symbol 448 MovieClip Frame 11
stop();
Symbol 450 MovieClip Frame 13
stop();
_root.score = _root.score + 10;
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 2
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 2
var myColor1 = new Color(_parent.path);
myColor1.setTransform({ra:50, rb:128, ga:50, gb:128, ba:50, bb:128, aa:100, ab:0});
Symbol 453 MovieClip Frame 4
var myColor1 = new Color(_parent.path);
myColor1.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
gotoAndStop (1);
Symbol 454 MovieClip Frame 1
stop();
path = c;
Symbol 454 MovieClip Frame 2
stop();
c.c.gotoAndStop("mal");
Symbol 454 MovieClip Frame 3
stop();
c.c.gotoAndStop("meurt");
i = 0;
while (i < 11) {
if (_parent._parent.serie1[i] == _parent._name) {
serie = "serie1";
nombre = i;
} else if (_parent._parent.serie2[i] == _parent._name) {
serie = "serie2";
nombre = i;
} else if (_parent._parent.serie3[i] == _parent._name) {
serie = "serie3";
nombre = i;
}
i++;
}
_parent._parent[this.serie].splice(nombre, 1);
if (_parent._parent[this.serie].length == 0) {
_root.enemy.powerCounter = _root.enemy.powerCounter + 1;
_root.enemy.power.duplicateMovieClip("power" + _root.enemy.powerCounter, _root.enemy.powerCounter);
_parent._parent[this.serie] = undefined;
}
Symbol 455 MovieClip Frame 1
ARM = 2;
path = e.c.c;
Instance of Symbol 454 MovieClip "e" in Symbol 455 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.ARM <= 0) {
_parent.stop();
this.c.stop();
}
if (_root.mouche.idle.m.hit.hitTest(this)) {
if (_parent.ARM <= 0) {
} else if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
Symbol 455 MovieClip Frame 119
if (ARM > 0) {
i = 0;
while (i < 11) {
if (_parent.serie1[i] == this._name) {
_parent.serie1 = undefined;
} else if (_parent.serie2[i] == this._name) {
_parent.serie2 = undefined;
} else if (_parent.serie3[i] == this._name) {
_parent.serie3 = undefined;
}
i++;
}
}
Instance of Symbol 153 MovieClip "p" in Symbol 458 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Instance of Symbol 153 MovieClip "p" in Symbol 461 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Symbol 462 MovieClip Frame 1
powerCounter = 0;
Instance of Symbol 272 MovieClip in Symbol 462 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(50);
}
Instance of Symbol 438 MovieClip "power" in Symbol 462 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "power") {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 462 MovieClip Frame 160
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 462 MovieClip Frame 335
serie2 = new Array("enemy4", "enemy5", "enemy6");
Symbol 462 MovieClip Frame 455
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 462 MovieClip Frame 811
stop();
if (_root.VIE > 0) {
_root.lvl = "cleared";
_root.lv1 = "oui";
}
Symbol 467 MovieClip Frame 1701
stop();
Symbol 486 MovieClip Frame 1
stop();
Instance of Symbol 153 MovieClip "p" in Symbol 492 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Symbol 499 MovieClip Frame 13
stop();
_root.score = _root.score + 100;
Symbol 500 MovieClip Frame 1
stop();
path = a;
Instance of Symbol 177 MovieClip "c" in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 500 MovieClip Frame 2
stop();
Symbol 503 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 4
stop();
Instance of Symbol 503 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mouche.idle.m.hit.hitTest(this)) {
if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
this.play();
}
}
Symbol 504 MovieClip Frame 30
stop();
Symbol 505 MovieClip Frame 1
ARM = 5;
path = e.c;
Instance of Symbol 500 MovieClip "e" in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.ARM <= 0) {
_parent.stop();
}
if (_root.mouche.idle.m.hit.hitTest(this.c)) {
if (_parent.ARM <= 0) {
} else if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
Instance of Symbol 500 MovieClip "e" in Symbol 505 MovieClip Frame 169
onClipEvent (enterFrame) {
if (_parent.ARM <= 0) {
_parent.stop();
this.c.stop();
}
if (_root.mouche.idle.m.hit.hitTest(this)) {
if ((current.movie = this.meurt)) {
} else if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
Symbol 505 MovieClip Frame 170
stop();
Symbol 509 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 1
ARM = 2;
Instance of Symbol 509 MovieClip "e" in Symbol 510 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.ARM <= 0) {
_parent.stop();
}
if (_root.mouche.idle.m.hit.hitTest(this.c)) {
if (_parent.ARM <= 0) {
} else if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
Symbol 510 MovieClip Frame 140
stop();
Symbol 511 MovieClip Frame 1
powerCounter = 0;
Instance of Symbol 438 MovieClip "power" in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "power") {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 511 MovieClip Frame 45
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 511 MovieClip Frame 120
serie2 = new Array("enemy4", "enemy5", "enemy6");
Symbol 511 MovieClip Frame 195
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 511 MovieClip Frame 345
serie1 = new Array("enemy4", "enemy5", "enemy6");
Symbol 511 MovieClip Frame 420
serie2 = new Array("enemy1", "enemy2", "enemy3");
Symbol 511 MovieClip Frame 495
serie1 = new Array("enemy4", "enemy5", "enemy6");
Symbol 511 MovieClip Frame 615
serie2 = new Array("enemy1", "enemy2", "enemy3");
Symbol 511 MovieClip Frame 690
serie1 = new Array("enemy4", "enemy5", "enemy6");
Symbol 511 MovieClip Frame 765
serie2 = new Array("enemy1", "enemy2", "enemy3");
Symbol 511 MovieClip Frame 930
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 511 MovieClip Frame 1476
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 511 MovieClip Frame 1580
serie2 = new Array("enemy4", "enemy5", "enemy6");
serie3 = new Array("enemy7", "enemy8", "enemy9");
Symbol 511 MovieClip Frame 1790
stop();
if (_root.VIE > 0) {
_root.lvl = "cleared";
_root.lvl2 = "oui";
}
Instance of Symbol 153 MovieClip "p" in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Instance of Symbol 153 MovieClip "p" in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Instance of Symbol 153 MovieClip "p" in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Instance of Symbol 153 MovieClip "p" in Symbol 531 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Instance of Symbol 518 MovieClip in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(180);
}
Instance of Symbol 521 MovieClip in Symbol 535 MovieClip Frame 70
onClipEvent (load) {
this.gotoAndPlay(110);
}
Instance of Symbol 521 MovieClip in Symbol 535 MovieClip Frame 140
onClipEvent (load) {
this.gotoAndPlay(40);
}
Symbol 535 MovieClip Frame 2229
stop();
Instance of Symbol 151 MovieClip in Symbol 538 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y + _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y + ((_root.SPD * 3) / 4);
}
}
Instance of Symbol 151 MovieClip in Symbol 538 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x - _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x - ((_root.SPD * 3) / 4);
}
}
Instance of Symbol 151 MovieClip in Symbol 538 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x + _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x + ((_root.SPD * 3) / 4);
}
}
Instance of Symbol 151 MovieClip in Symbol 538 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y - _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y - ((_root.SPD * 3) / 4);
}
}
Symbol 542 MovieClip Frame 13
stop();
Symbol 543 MovieClip Frame 1
stop();
Symbol 543 MovieClip Frame 2
stop();
Instance of Symbol 542 MovieClip in Symbol 543 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._y = _parent._y;
}
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
stop();
c.c.gotoAndStop("meurt");
Symbol 546 MovieClip Frame 1
ARM = 1000;
path = e.c.c;
Instance of Symbol 545 MovieClip "e" in Symbol 546 MovieClip Frame 1
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
if ((_parent.ARM <= 0) && (i == 0)) {
_parent.stop();
this.c.stop();
i = 1;
}
if (_root.mouche.idle.m.hit.hitTest(this)) {
if (_parent.ARM <= 0) {
} else {
this.c.c.gotoAndStop("meurt");
if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
}
Symbol 546 MovieClip Frame 194
ARM = 2;
Symbol 552 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 9
stop();
Symbol 560 MovieClip Frame 13
stop();
_root.score = _root.score + 100;
Symbol 561 MovieClip Frame 1
stop();
Symbol 561 MovieClip Frame 2
stop();
Symbol 563 MovieClip Frame 1
stop();
path = c.c.c;
Symbol 563 MovieClip Frame 2
stop();
c.c.gotoAndStop("meurt");
Symbol 564 MovieClip Frame 1
ARM = 5;
path = e.c.c;
Instance of Symbol 563 MovieClip "e" in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
if ((_parent.ARM <= 0) && (i == 0)) {
_parent.stop();
this.c.stop();
this.c.f.play();
i = 1;
}
if (_root.mouche.idle.m.hit.hitTest(this)) {
if (_parent.ARM <= 0) {
} else if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
Instance of Symbol 153 MovieClip "p" in Symbol 567 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Symbol 578 MovieClip Frame 25
_parent.gotoAndStop("idle");
Symbol 585 MovieClip Frame 25
_parent.gotoAndStop("idle");
Symbol 592 MovieClip Frame 25
_parent.gotoAndStop("idle");
Symbol 602 MovieClip Frame 30
stop();
Symbol 603 MovieClip Frame 12
stop();
_root.score = _root.score + 100;
Symbol 604 MovieClip Frame 1
stop();
path = c;
Symbol 604 MovieClip Frame 2
stop();
Symbol 604 MovieClip Frame 3
stop();
Symbol 604 MovieClip Frame 4
stop();
Symbol 604 MovieClip Frame 5
stop();
Symbol 604 MovieClip Frame 6
stop();
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 4
stop();
Instance of Symbol 607 MovieClip in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mouche.idle.m.hit.hitTest(this)) {
if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
this.play();
}
}
Symbol 608 MovieClip Frame 30
stop();
Symbol 609 MovieClip Frame 1
ARM = 5;
path = e.c;
Instance of Symbol 604 MovieClip "e" in Symbol 609 MovieClip Frame 1
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
if ((_parent.ARM <= 0) && (i == 0)) {
_parent.stop();
i = 1;
}
if (_root.mouche.idle.m.hit.hitTest(this)) {
if (_parent.ARM <= 0) {
} else if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
Symbol 609 MovieClip Frame 20
if (ARM > 0) {
e.gotoAndStop("tir1");
}
Symbol 609 MovieClip Frame 45
if (ARM > 0) {
e.gotoAndStop("tir2");
}
Symbol 609 MovieClip Frame 70
if (ARM > 0) {
e.gotoAndStop("tir3");
}
Symbol 609 MovieClip Frame 90
if (ARM > 0) {
e.gotoAndStop("cache");
}
Symbol 609 MovieClip Frame 100
if (ARM > 0) {
ARM = 15;
}
Instance of Symbol 153 MovieClip "p" in Symbol 610 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Symbol 611 MovieClip Frame 1
powerCounter = 0;
Instance of Symbol 438 MovieClip "power" in Symbol 611 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "power") {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 272 MovieClip in Symbol 611 MovieClip Frame 180
onClipEvent (load) {
this.gotoAndPlay(50);
}
Symbol 611 MovieClip Frame 235
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 611 MovieClip Frame 450
serie1 = new Array("enemy4", "enemy5", "enemy6");
Symbol 611 MovieClip Frame 525
serie2 = new Array("enemy1", "enemy2", "enemy3");
Symbol 611 MovieClip Frame 800
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 611 MovieClip Frame 885
serie2 = new Array("enemy4", "enemy5", "enemy6");
Symbol 611 MovieClip Frame 955
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 611 MovieClip Frame 1280
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 611 MovieClip Frame 1565
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 611 MovieClip Frame 1640
serie1 = new Array("enemy4", "enemy5", "enemy6");
Symbol 611 MovieClip Frame 1715
serie1 = new Array("enemy1", "enemy2", "enemy3");
Symbol 611 MovieClip Frame 1925
stop();
if (_root.VIE > 0) {
_root.lvl = "cleared";
_root.lvl3 = "oui";
_root.boss = "oui";
}
Instance of Symbol 151 MovieClip "haut" in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y + _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y + ((_root.SPD * 3) / 4);
}
}
Instance of Symbol 151 MovieClip "droite" in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x - _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x - ((_root.SPD * 3) / 4);
}
}
Instance of Symbol 151 MovieClip "gauche" in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x + _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._x = _root.mouche._x + ((_root.SPD * 3) / 4);
}
}
Instance of Symbol 151 MovieClip "bas" in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.dir == "l") || (_root.dir == "r")) || (_root.dir == "u")) || (_root.dir == "d")) {
if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y - _root.SPD;
}
} else if (this.hitTest(_root.mouche.m)) {
_root.mouche._y = _root.mouche._y - ((_root.SPD * 3) / 4);
}
}
Symbol 619 MovieClip Frame 1
Percenthealth = (_root.enemy.enemy7.ARM * 100) / _root.enemy.enemy7.maxARM;
setProperty(bar, _xscale , Percenthealth);
Symbol 619 MovieClip Frame 2
gotoAndPlay (1);
Symbol 620 MovieClip Frame 65
stop();
Symbol 620 MovieClip Frame 71
stop();
Symbol 621 MovieClip Frame 1
stop();
_root.temps = 90;
Symbol 621 MovieClip Frame 31
_root.temps = _root.temps - 1;
if (_root.temps > 0) {
gotoAndPlay (2);
}
Symbol 621 MovieClip Frame 32
stop();
Symbol 626 MovieClip Frame 13
stop();
_root.score = _root.score + 10;
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 2
stop();
Symbol 629 MovieClip Frame 1
stop();
path = c;
Symbol 629 MovieClip Frame 2
stop();
c.c.gotoAndStop("meurt");
if ((((((_root.enemy.enemy1.ARM <= 0) && (_root.enemy.enemy2.ARM <= 0)) && (_root.enemy.enemy3.ARM <= 0)) && (_root.enemy.enemy4.ARM <= 0)) && (_root.enemy.enemy5.ARM <= 0)) && (_root.enemy.enemy6.ARM <= 0)) {
if (_root.enemy.phase != 3) {
_root.enemy.enemy7.gotoAndPlay("charge");
} else {
_root.enemy.enemy7.gotoAndPlay("phase3");
}
}
i = 0;
while (i < 11) {
if (_parent._parent.serie1[i] == _parent._name) {
serie = "serie1";
nombre = i;
} else if (_parent._parent.serie2[i] == _parent._name) {
serie = "serie2";
nombre = i;
} else if (_parent._parent.serie3[i] == _parent._name) {
serie = "serie3";
nombre = i;
}
i++;
}
_parent._parent[this.serie].splice(nombre, 1);
if (_parent._parent[this.serie].length == 0) {
_root.enemy.powerCounter = _root.enemy.powerCounter + 1;
_root.enemy.power.duplicateMovieClip("power" + _root.enemy.powerCounter, _root.enemy.powerCounter);
_parent._parent[this.serie] = undefined;
}
Symbol 630 MovieClip Frame 1
ARM = 3;
path = e.c.c;
Instance of Symbol 629 MovieClip "e" in Symbol 630 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.enemy.enemy7.a._x + 750;
this._y = _root.enemy.enemy7.a._y + 15;
if (_parent.ARM <= 0) {
_parent.stop();
this.c.stop();
}
if (_root.mouche.idle.m.hit.hitTest(this)) {
if (_parent.ARM <= 0) {
} else if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
Symbol 634 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 2
stop();
Symbol 634 MovieClip Frame 3
stop();
Symbol 634 MovieClip Frame 15
stop();
Instance of Symbol 634 MovieClip "glow" in Symbol 637 MovieClip Frame 1
onClipEvent (load) {
if (_root.enemy.enemy7.ARM <= 0) {
this._visible = false;
}
if (_root.enemy.phase == 2) {
this.gotoAndStop(2);
} else if (_root.enemy.phase == 3) {
this.gotoAndStop(3);
}
}
Symbol 639 MovieClip Frame 69
_root.score = _root.score + 10000;
_root.over1.play();
Symbol 639 MovieClip Frame 100
if (_root.VIE > 0) {
_root.lvl = "cleared";
_root.boss = "non";
_root.boss3 = "oui";
}
stop();
Symbol 640 MovieClip Frame 1
stop();
path = a;
Symbol 640 MovieClip Frame 2
stop();
_parent._parent.pissenlits.stop();
_root.c_TEMPS.stop();
_root.enemy.powerCounter = _root.enemy.powerCounter + 1;
_root.enemy.power.duplicateMovieClip("power" + _root.enemy.powerCounter, _root.enemy.powerCounter);
Symbol 641 MovieClip Frame 1
ARM = 60;
maxARM = undefined;
path = e;
posy = undefined;
posx = undefined;
if ((_parent.phase == "2") || (_parent.phase == "3")) {
gotoAndPlay (30);
}
Instance of Symbol 177 MovieClip "e" in Symbol 641 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 641 MovieClip Frame 68
_root.c_TEMPS.play();
Instance of Symbol 640 MovieClip "a" in Symbol 641 MovieClip Frame 69
onClipEvent (enterFrame) {
_parent.posy = this._y;
_parent.posx = this._x;
}
Symbol 641 MovieClip Frame 159
gotoAndPlay ("rec");
Instance of Symbol 177 MovieClip "e" in Symbol 641 MovieClip Frame 160
onClipEvent (load) {
this._visible = false;
i = 0;
this._y = _parent.posy + 15;
}
onClipEvent (enterFrame) {
i = i + 1;
this._y = _parent.posy + 15;
this._x = this._x - i;
}
Instance of Symbol 640 MovieClip "a" in Symbol 641 MovieClip Frame 160
onClipEvent (load) {
i = 0;
this._y = _parent.posy;
}
onClipEvent (enterFrame) {
i = i + 1;
this._y = _parent.posy;
this._x = this._x - i;
if (_parent.ARM <= 0) {
_parent.stop();
this.c.stop();
}
if (_root.mouche.idle.m.hit.hitTest(this)) {
if (_parent.ARM <= 0) {
} else if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
Symbol 641 MovieClip Frame 161
_root.sonMC.gotoAndPlay("boss");
Symbol 641 MovieClip Frame 238
_parent.play();
Symbol 641 MovieClip Frame 239
stop();
ARM = 60;
maxARM = 60;
Instance of Symbol 640 MovieClip "e" in Symbol 641 MovieClip Frame 239
onClipEvent (load) {
i = 0;
j = 0;
speed = new Array("h_g", "h_d", "b_g", "b_d");
_parent.gotoAndPlay(speed[random(4)]);
this._y = _parent.posy;
this._x = _parent.posx;
}
onClipEvent (enterFrame) {
if (j == 0) {
this.a.glow.play();
j = 1;
}
if (this.hitTest(_root.limit.haut)) {
speedy = 7;
} else if (this.hitTest(_root.limit.bas)) {
speedy = -7;
} else if (this.hitTest(_root.limit.gauche)) {
speedx = 7;
} else if (this.hitTest(_root.limit.droite)) {
speedx = -7;
}
if (_parent.ARM > 0) {
this._x = this._x + speedx;
this._y = this._y + speedy;
}
if ((_parent.ARM <= 30) && (i == 0)) {
_parent._parent.play();
_root.enemy.powerCounter = _root.enemy.powerCounter + 1;
_root.enemy.power.duplicateMovieClip("power" + _root.enemy.powerCounter, _root.enemy.powerCounter);
i = 1;
}
if (_root.mouche.idle.m.hit.hitTest(this)) {
if (_parent.ARM <= 0) {
} else if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
Symbol 641 MovieClip Frame 240
stop();
e.speedx = -7;
e.speedy = -7;
Symbol 641 MovieClip Frame 241
stop();
e.speedx = 7;
e.speedy = -7;
Symbol 641 MovieClip Frame 242
stop();
e.speedx = -7;
e.speedy = 7;
Symbol 641 MovieClip Frame 243
stop();
e.speedx = 7;
e.speedy = 7;
Symbol 646 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 1
ARM = 2;
Instance of Symbol 646 MovieClip "e" in Symbol 647 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.ARM <= 0) {
_parent.stop();
}
if (_root.mouche.idle.m.hit.hitTest(this.c)) {
if (_parent.ARM <= 0) {
} else if (_root.ARM > 1) {
_root.mouche.gotoAndStop("mal");
_root.ARM = _root.ARM - 1;
} else {
_root.mouche.gotoAndStop("meurt");
_root.ARM = _root.ARM - 1;
}
}
}
Symbol 647 MovieClip Frame 140
stop();
Instance of Symbol 647 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.fois == 0) {
this.swapDepths(1);
removeMovieClip(this);
} else {
this.gotoAndPlay(20);
}
}
Instance of Symbol 647 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.fois == 0) {
this.swapDepths(1);
removeMovieClip(this);
} else {
this.gotoAndPlay(40);
}
}
Instance of Symbol 647 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.fois == 0) {
this.swapDepths(1);
removeMovieClip(this);
} else {
this.gotoAndPlay(60);
}
}
Instance of Symbol 647 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.fois == 0) {
this.swapDepths(1);
removeMovieClip(this);
} else {
this.gotoAndPlay(80);
}
}
Instance of Symbol 647 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.fois == 0) {
this.swapDepths(1);
removeMovieClip(this);
} else {
this.gotoAndPlay(100);
}
}
Instance of Symbol 647 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.fois == 0) {
this.swapDepths(1);
removeMovieClip(this);
} else {
this.gotoAndPlay(120);
}
}
Symbol 648 MovieClip Frame 199
_parent.fois = 1;
Symbol 649 MovieClip Frame 1
powerCounter = 0;
phase = 1;
serie1 = new Array("enemy1", "enemy2", "enemy3", "enemy4", "enemy5", "enemy6");
stop();
Instance of Symbol 630 MovieClip "enemy6" in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
this.e.c.gotoAndPlay(66);
}
Instance of Symbol 630 MovieClip "enemy5" in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
this.e.c.gotoAndPlay(52);
}
Instance of Symbol 630 MovieClip "enemy4" in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
this.e.c.gotoAndPlay(39);
}
Instance of Symbol 630 MovieClip "enemy3" in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
this.e.c.gotoAndPlay(26);
}
Instance of Symbol 630 MovieClip "enemy2" in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
this.e.c.gotoAndPlay(13);
}
Instance of Symbol 438 MovieClip "power" in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "power") {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 649 MovieClip Frame 3
stop();
phase = 2;
serie1 = new Array("enemy1", "enemy2", "enemy3", "enemy4", "enemy5", "enemy6");
Instance of Symbol 630 MovieClip "enemy6" in Symbol 649 MovieClip Frame 3
onClipEvent (load) {
this.e.c.gotoAndPlay(66);
}
Instance of Symbol 630 MovieClip "enemy5" in Symbol 649 MovieClip Frame 3
onClipEvent (load) {
this.e.c.gotoAndPlay(52);
}
Instance of Symbol 630 MovieClip "enemy4" in Symbol 649 MovieClip Frame 3
onClipEvent (load) {
this.e.c.gotoAndPlay(39);
}
Instance of Symbol 630 MovieClip "enemy3" in Symbol 649 MovieClip Frame 3
onClipEvent (load) {
this.e.c.gotoAndPlay(26);
}
Instance of Symbol 630 MovieClip "enemy2" in Symbol 649 MovieClip Frame 3
onClipEvent (load) {
this.e.c.gotoAndPlay(13);
}
Symbol 649 MovieClip Frame 5
powerCounter = 0;
stop();
phase = 3;
serie1 = new Array("enemy1", "enemy2", "enemy3", "enemy4", "enemy5", "enemy6");
Instance of Symbol 630 MovieClip "enemy6" in Symbol 649 MovieClip Frame 5
onClipEvent (load) {
this.e.c.gotoAndPlay(66);
}
Instance of Symbol 630 MovieClip "enemy5" in Symbol 649 MovieClip Frame 5
onClipEvent (load) {
this.e.c.gotoAndPlay(52);
}
Instance of Symbol 630 MovieClip "enemy4" in Symbol 649 MovieClip Frame 5
onClipEvent (load) {
this.e.c.gotoAndPlay(39);
}
Instance of Symbol 630 MovieClip "enemy3" in Symbol 649 MovieClip Frame 5
onClipEvent (load) {
this.e.c.gotoAndPlay(26);
}
Instance of Symbol 630 MovieClip "enemy2" in Symbol 649 MovieClip Frame 5
onClipEvent (load) {
this.e.c.gotoAndPlay(13);
}
Symbol 649 MovieClip Frame 6
stop();
fois = 0;
Instance of Symbol 153 MovieClip "p" in Symbol 665 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
i = 0;
t = 200;
}
onClipEvent (enterFrame) {
if (i == 0) {
frame1 = _parent._currentframe;
d1x = this._x;
d1y = this._y;
i = 1;
} else if ((frame1 + 1) == _parent._currentframe) {
d2x = this._x;
d2y = this._y;
speedx = d2x - d1x;
speedy = d2y - d1y;
if (speedx < 0) {
pos_negx = -1;
} else {
pos_negx = 1;
}
if (speedy < 0) {
pos_negy = -1;
} else {
pos_negy = 1;
}
i = 0;
}
}
Instance of Symbol 438 MovieClip "power" in Symbol 666 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "power") {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 666 MovieClip Frame 30
powerCounter = 0;
Instance of Symbol 272 MovieClip in Symbol 666 MovieClip Frame 30
onClipEvent (load) {
this.gotoAndPlay(50);
}
Symbol 666 MovieClip Frame 575
stop();
if (_root.VIE > 0) {
_root.lvl = "cleared";
_root.bonus = "non";
}