Frame 2
ifFrameLoaded (7) {
gotoAndPlay ("load_start");
}
Frame 3
gotoAndPlay ("load_wait");
Frame 6
stop();
loading_mc.gotoAndPlay("load_start");
Frame 9
var canStorm = false;
var stormLimiterInit = 0.0075;
var stormLimiter = 0.01;
var global_snd = new Sound();
var repeatLoop = 200000;
var hh_snd = new Sound(hh_mc);
hh_snd.attachSound("hh");
hh_snd.setVolume(100);
hh_snd.start(0, 4 * repeatLoop);
var bassbegin_snd = new Sound(bassbegin_mc);
bassbegin_snd.attachSound("bassbegin");
bassbegin_snd.setVolume(0);
bassbegin_snd.start(0, 1 * repeatLoop);
Frame 113
canStorm = true;
Frame 160
passroll._visible = false;
Frame 177
stop();
Frame 178
bassbegin_snd.setVolume(100);
Frame 210
stop();
Frame 211
bassbegin_snd.stop();
Frame 324
hh_snd.stop();
Frame 325
var maxWalls = 35;
var maxWallsUnlimited = 999999;
smallWalls_mc.mc.maxWalls = maxWalls;
var nbWall = 0;
smallWalls_mc.mc.nbWalls = nbWall;
var vidSpeed = 5;
var kickReload = true;
var kickStatus = 0;
var afterKick = 0;
var lastWall = false;
var musicIndex = 0;
var kickRight = false;
var timerFrame = 0;
var lastSpawnInit = -75;
var lastSpawn = lastSpawnInit;
_quality = "HIGH";
var drum_snd = new Sound(drums_mc);
drum_snd.attachSound("drums");
var bass_snd = new Sound(bass_mc);
bass_snd.attachSound("bass");
var farfisa_snd = new Sound(farfisa_mc);
farfisa_snd.attachSound("farfisa");
var reggae_snd = new Sound(reggae_mc);
reggae_snd.attachSound("guitar_reggae");
var rythm_snd = new Sound(rythm_mc);
rythm_snd.attachSound("guitar_rythm");
var hh_snd = new Sound(hh_mc);
hh_snd.attachSound("hh");
var surf1_snd = new Sound(surf1_mc);
surf1_snd.attachSound("surf1");
var noise1_snd = new Sound(noise1_mc);
noise1_snd.attachSound("noise1");
var bassbegin_snd = new Sound(bassbegin_mc);
bassbegin_snd.attachSound("bassbegin");
drum_snd.setVolume(0);
bass_snd.setVolume(0);
farfisa_snd.setVolume(0);
reggae_snd.setVolume(0);
rythm_snd.setVolume(0);
hh_snd.setVolume(0);
surf1_snd.setVolume(0);
noise1_snd.setVolume(0);
bassbegin_snd.setVolume(0);
drum_snd.start(0, 1 * repeatLoop);
bass_snd.start(0, 1 * repeatLoop);
farfisa_snd.start(0, 2 * repeatLoop);
reggae_snd.start(0, 2 * repeatLoop);
rythm_snd.start(0, 1 * repeatLoop);
hh_snd.start(0, 4 * repeatLoop);
surf1_snd.start(0, 1 * repeatLoop);
noise1_snd.start(0, 1 * repeatLoop);
bassbegin_snd.start(0, 1 * repeatLoop);
var tracks_arr_base = new Array("hh", "drum", "", "bass", "reggae", "rythm", "", "farfisa", "", "surf1", "", "", "", "", "", "noise1", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
var tracks_arr_base0 = new Array("hh", "drum", "bass", "rythm", "surf1", "noise1", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
var tracks_arr_break0 = new Array("hh", "bassbegin", "rythm", "surf1", "", "", "", "", "", "", "", "", "", "", "");
var tracks_arr_base2 = new Array("hh", "bass", "drum", "rythm", "farfisa", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
var tracks_arr_base2_bis = new Array("hh", "bass", "drum", "rythm", "farfisa", "reggae", "noise1", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
var tracks_arr_break1 = new Array("hh", "bass", "drum", "reggae", "rythm", "surf1", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
var tracks_arr_base3 = new Array("drum", "rythm", "", "", "", "", "", "", "", "", "", "", "", "");
var tracks_arr_break2 = new Array("bassbegin", "drum", "rythm", "", "", "", "", "", "");
var tracks_arr_base4 = new Array("bassbegin", "drum", "rythm", "reggae", "", "", "", "", "", "");
var tracks_arr_break3 = new Array("reggae", "", "", "", "", "", "", "bassbegin", "", "drum", "", "", "", "", "", "");
var tracks_arr = tracks_arr_base;
aNb = 1;
var explode_fx = new Sound(explode_mc);
explode_fx.attachSound("explode");
explode_fx.setVolume(70);
var kick_fx = new Sound(kick_mc);
kick_fx.attachSound("kick");
kick_fx.setVolume(30);
var fail_fx = new Sound(fail_mc);
fail_fx.attachSound("fail");
fail_fx.setVolume(80);
var explode2_fx = new Sound(explode2_mc);
explode2_fx.attachSound("explode2");
explode2_fx.setVolume(50);
var explode3_fx = new Sound(explode3_mc);
explode3_fx.attachSound("explode3");
explode3_fx.setVolume(90);
var yeah1_fx = new Sound(yeah1_mc);
yeah1_fx.attachSound("yeah1");
yeah1_fx.setVolume(50);
var yeah2_fx = new Sound(yeah2_mc);
yeah2_fx.attachSound("yeah2");
yeah2_fx.setVolume(40);
var yeahend_fx = new Sound(yeahend_mc);
yeahend_fx.attachSound("yeahend");
yeahend_fx.setVolume(60);
function playTrack() {
if (musicIndex < tracks_arr.length) {
eval (tracks_arr[musicIndex] + "_snd").setVolume(100);
} else {
breakMusic();
}
}
function endMusic() {
hh_snd.setVolume(100);
drum_snd.setVolume(100);
reggae_snd.setVolume(100);
}
function musicMute() {
i = 0;
while (i <= (tracks_arr.length - 1)) {
eval (tracks_arr[i] + "_snd").setVolume(0);
i++;
}
musicIndex = 0;
}
function playTracks(nb) {
i = 0;
while (i < nb) {
eval (tracks_arr[i] + "_snd").setVolume(100);
i++;
}
musicIndex = nb - 1;
}
function breakMusic() {
musicMute();
if (tracks_arr == tracks_arr_base) {
tracks_arr = tracks_arr_base0;
playTracks(6);
} else if (tracks_arr == tracks_arr_base0) {
tracks_arr = tracks_arr_break0;
playTracks(4);
} else if (tracks_arr == tracks_arr_break0) {
tracks_arr = tracks_arr_base2;
playTracks(5);
} else if (tracks_arr == tracks_arr_base2) {
tracks_arr = tracks_arr_base2_bis;
playTracks(7);
} else if (tracks_arr == tracks_arr_base2_bis) {
tracks_arr = tracks_arr_break1;
playTracks(6);
} else if (tracks_arr == tracks_arr_break1) {
tracks_arr = tracks_arr_base3;
playTracks(2);
} else if (tracks_arr == tracks_arr_base3) {
tracks_arr = tracks_arr_break2;
playTracks(3);
} else if (tracks_arr == tracks_arr_break2) {
tracks_arr = tracks_arr_base4;
playTracks(3);
} else if (tracks_arr == tracks_arr_base4) {
tracks_arr = tracks_arr_break3;
playTracks(3);
} else if (tracks_arr == tracks_arr_break3) {
tracks_arr = tracks_arr_base;
playTracks(8);
}
}
function countWalls() {
nbWall++;
}
function refreshNbWalls(reset) {
(reset ? ((smallWalls_mc.mc.nbWalls = 0)) : ((smallWalls_mc.mc.nbWalls = smallWalls_mc.mc.nbWalls + 1)));
nbDestroyed = smallWalls_mc.mc.nbWalls;
}
function hitWall(wallNum) {
if (lost != true) {
trace("wall num = " + wallNum);
var wallTarget = eval (("wallScenar_mc.wall" + wallNum) + "_mc");
var wallTargetBack = eval (("wallScenarBack_mc.wall" + wallNum) + "_mc");
var wallTargetShade = eval (("wallScenarShade_mc.wall" + wallNum) + "_mc");
if (wallTarget.last == true) {
lastWall = true;
}
if (kickStatus == 1) {
wallTarget.destroyed = true;
refreshNbWalls();
explode_fx.start();
wallTarget.base_mc._visible = false;
wallTargetShade.base_mc._visible = false;
wallTarget.explode_mc._visible = true;
wallTargetBack.explode_mc._visible = true;
wallTargetShade.explode_mc._visible = true;
if (wallTarget.double == true) {
wallTarget.explode2_mc._visible = true;
wallTargetBack.explode2_mc._visible = true;
wallTargetShade.explode2_mc._visible = true;
}
if (wallTarget.triple == true) {
wallTarget.explode3_mc._visible = true;
wallTargetBack.explode3_mc._visible = true;
wallTargetShade.explode3_mc._visible = true;
}
afterKick = 1;
musicIndex++;
playTrack();
} else if (kickStatus == 2) {
wallTarget.destroyed = true;
refreshNbWalls();
wallTarget.base_mc._visible = false;
wallTargetShade.base_mc._visible = false;
wallTarget.explodeBig_mc._visible = true;
wallTargetBack.explode_mc._visible = true;
wallTargetShade.explode_mc._visible = true;
if (wallTarget.double == true) {
wallTarget.explodeBig2_mc._visible = true;
wallTargetBack.explode2_mc._visible = true;
wallTargetShade.explode2_mc._visible = true;
}
if (wallTarget.triple == true) {
wallTarget.explodeBig3_mc._visible = true;
wallTargetBack.explode3_mc._visible = true;
wallTargetShade.explode3_mc._visible = true;
}
afterKick = 2;
musicIndex++;
playTrack();
if (lastWall) {
lastWallSuccess();
} else {
explode2_fx.start();
}
} else if (kickStatus == 0) {
fail_fx.start();
Mouse.removeListener(downListener);
Mouse.removeListener(upListener);
man_mc.gotoAndStop(6);
manShade_mc.gotoAndStop(6);
lost = true;
} else if (kickStatus == 3) {
fail_fx.start();
Mouse.removeListener(downListener);
Mouse.removeListener(upListener);
man_mc.gotoAndStop(7);
manShade_mc.gotoAndStop(7);
lost = true;
}
}
}
function lastWallSuccess() {
win = true;
Mouse.removeListener(downListener);
Mouse.removeListener(upListener);
musicMute();
explode3_fx.start();
if (gameMode == "extreme") {
man_mc.video_mc.stop();
manShade_mc.video_mc.stop();
removeMovieClip(wallScenar_mc.tabWall[wallScenar_mc.tabWall.length - 1].wallBack);
removeMovieClip(wallScenar_mc.tabWall[wallScenar_mc.tabWall.length - 1].wallShade);
removeMovieClip(wallScenar_mc.tabWall[wallScenar_mc.tabWall.length - 1]);
wallScenar_mc.gotoAndPlay("end");
wallScenarShade_mc.gotoAndPlay("end");
wallScenarBack_mc.gotoAndPlay("end");
smallWalls_mc.gotoAndPlay("hide");
} else {
nbRecord = smallWalls_mc.mc.nbWalls;
yourRecord.gotoAndStop(3);
}
}
function gameOver() {
wallScenar_mc.gotoAndStop(1);
wallScenarShade_mc.gotoAndStop(1);
wallScenarBack_mc.gotoAndStop(1);
musicMute();
playTrack();
}
function playAgain(aBool) {
lastWall = false;
kickStatus = 0;
man_mc.gotoAndStop(1);
manShade_mc.gotoAndStop(1);
if (aBool == true) {
smallWalls_mc.gotoAndPlay("show");
}
scroll_mc.gotoAndStop(1);
Mouse.addListener(downListener);
gotoAndStop ("game");
end_mc.gotoAndStop(1);
musicMute();
playTrack();
playAgain_mc.gotoAndStop(1);
playAgain_mc._visible = false;
yourRecord.gotoAndStop(1);
bigPlayAgain_mc.play();
timerFrame = 0;
lastSpawn = lastSpawnInit;
lost = false;
win = false;
nbWall = 0;
refreshNbWalls(true);
wallScenar_mc.interval = wallScenar_mc.intervalInit;
wallScenar_mc.doubleInterval = wallScenar_mc.doubleInit;
wallScenar_mc.randLimiter = wallScenar_mc.randLimiterInit;
stormLimiter = stormLimiterInit;
}
function gameComplete() {
end_mc.play();
}
var downListener = new Object();
var upListener = new Object();
downListener.onMouseDown = function () {
afterKick = 0;
current = 0;
while (wallScenar_mc.tabWall[current].destroyed == true) {
current++;
}
if ((!lastWall) && (wallScenar_mc.tabWall[current].double != true)) {
kick_fx.start();
if (kickRight) {
man_mc.gotoAndStop(2);
manShade_mc.gotoAndStop(2);
} else {
man_mc.gotoAndStop(3);
manShade_mc.gotoAndStop(3);
}
} else {
kick_fx.start();
man_mc.gotoAndStop(8);
manShade_mc.gotoAndStop(8);
}
if (kickReload) {
man_mc.video_mc.gotoAndPlay(1);
manShade_mc.video_mc.gotoAndPlay(1);
}
Mouse.removeListener(downListener);
Mouse.addListener(upListener);
};
upListener.onMouseUp = function () {
Mouse.removeListener(upListener);
Mouse.addListener(downListener);
};
Frame 326
stop();
playTracks(aNb);
smallWalls_mc.gotoAndPlay("show");
Mouse.addListener(downListener);
loadMovie ("nex_extreme_end.swf", end_mc);
Instance of Symbol 416 MovieClip "playAgain_mc" in Frame 328
onClipEvent (load) {
this._visible = false;
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 12
stop();
Symbol 33 MovieClip Frame 1
loadbar_mc._xscale = 0;
pper = "000%";
var loading = function () {
if (_root.getBytesTotal() > 1) {
frm = _root.getBytesLoaded();
tfrm = 1600000 /* 0x186A00 */;
} else {
frm = 0;
tfrm = 100;
}
if (tfrm <= frm) {
per = 100;
} else {
per = Math.ceil((frm / tfrm) * 100);
}
Spos = per;
loadbar_mc._xscale = loadbar_mc._xscale + ((Spos - loadbar_mc._xscale) / 6);
pper = Math.ceil(loadbar_mc._xscale) + "%";
if (loadbar_mc._xscale > 99) {
_parent.gotoAndPlay("comp_load");
delete onEnterFrame;
loadbar_mc._xscale = 100;
per_mc.gotoAndPlay("comp");
}
};
stop();
Symbol 33 MovieClip Frame 14
gotoAndPlay ("loop");
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 3
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.gotoAndPlay("comp");
}
Symbol 34 MovieClip Frame 16
stop();
loadbar_mc.onEnterFrame = loadbar_mc.loading;
loadbar_mc.gotoAndPlay("loop");
Symbol 34 MovieClip Frame 35
stop();
_root.gotoAndPlay("comp");
Symbol 45 MovieClip Frame 17
stop();
Symbol 48 MovieClip Frame 17
stop();
Symbol 49 MovieClip Frame 1
_parent.playLightning(this);
Symbol 49 MovieClip Frame 2
gotoAndPlay (1);
Symbol 49 MovieClip Frame 3
_parent.enlight.play();
Symbol 49 MovieClip Frame 8
_parent.endLight();
gotoAndPlay (1);
Symbol 49 MovieClip Frame 9
_parent.enlight.play();
Symbol 49 MovieClip Frame 14
_parent.endLight();
gotoAndPlay (1);
Symbol 51 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
_parent.playLightning(this);
Symbol 52 MovieClip Frame 2
gotoAndPlay (1);
Symbol 52 MovieClip Frame 3
_parent.enlight2.play();
Symbol 52 MovieClip Frame 8
_parent.endLight();
gotoAndPlay (1);
Symbol 52 MovieClip Frame 9
_parent.enlight2.play();
Symbol 52 MovieClip Frame 14
_parent.endLight();
gotoAndPlay (1);
Symbol 56 MovieClip Frame 1
_parent.playLightning(this);
Symbol 56 MovieClip Frame 2
gotoAndPlay (1);
Symbol 56 MovieClip Frame 3
_parent.enlight2_bis.play();
Symbol 56 MovieClip Frame 8
_parent.endLight();
gotoAndPlay (1);
Symbol 56 MovieClip Frame 9
_parent.enlight2_bis.play();
Symbol 56 MovieClip Frame 14
_parent.endLight();
gotoAndPlay (1);
Symbol 58 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 1
_parent.playLightning(this);
Symbol 62 MovieClip Frame 2
gotoAndPlay (1);
Symbol 62 MovieClip Frame 3
_parent.enlight3.play();
Symbol 62 MovieClip Frame 8
_parent.endLight();
gotoAndPlay (1);
Symbol 62 MovieClip Frame 9
_parent.enlight3.play();
Symbol 62 MovieClip Frame 14
_parent.endLight();
gotoAndPlay (1);
Symbol 64 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 1
function endLight() {
}
function playLightning(aCible) {
if (_root.canStorm) {
var _local2 = {x:0, y:0};
aCible.localToGlobal(_local2);
if ((_local2.x > 0) && (_local2.x < (Stage.width + 250))) {
aRand = Math.random();
if ((aRand < (_root.stormLimiter / 2)) || (aRand > (1 - (_root.stormLimiter / 2)))) {
if (!((aRand < (_root.stormLimiter / 4)) || (aRand > (1 - (_root.stormLimiter / 4))))) {
(aCible.gotoAndPlay("eclair2"));// not popped
} else {
(aCible.gotoAndPlay("eclair1"));// not popped
}
}
}
}
}
sky_invert1._visible = false;
sky_invert2._visible = false;
Symbol 76 MovieClip Frame 1
((_parent._parent.gameMode == "unlimited") ? (gotoAndStop (2)) : (stop()));
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 6
stop();
Symbol 79 MovieClip Frame 26
stop();
Symbol 96 MovieClip Frame 1
Symbol 96 MovieClip Frame 7
Symbol 96 MovieClip Frame 17
Symbol 98 MovieClip Frame 1
_parent._parent.kickStatus = 0;
_parent._parent.kickReload = false;
Symbol 98 MovieClip Frame 7
_parent._parent.kickStatus = 1;
Symbol 98 MovieClip Frame 9
_parent._parent.kickStatus = 2;
Symbol 98 MovieClip Frame 12
_parent._parent.kickStatus = 1;
_parent._parent.kickReload = true;
Symbol 98 MovieClip Frame 14
_parent._parent.kickStatus = 3;
Symbol 98 MovieClip Frame 29
_parent._parent.kickStatus = 0;
Symbol 98 MovieClip Frame 30
if (_parent._parent.afterKick == 0) {
_parent.gotoAndStop(1);
} else if (_parent._parent.afterKick == 1) {
_parent.gotoAndStop(4);
} else if (_parent._parent.afterKick == 2) {
_parent.gotoAndStop(5);
}
Symbol 100 MovieClip Frame 1
_parent._parent.kickStatus = 0;
_parent._parent.kickReload = false;
Symbol 100 MovieClip Frame 7
_parent._parent.kickStatus = 1;
Symbol 100 MovieClip Frame 9
_parent._parent.kickStatus = 2;
Symbol 100 MovieClip Frame 12
_parent._parent.kickStatus = 1;
_parent._parent.kickReload = true;
Symbol 100 MovieClip Frame 14
_parent._parent.kickStatus = 3;
Symbol 100 MovieClip Frame 22
_parent._parent.kickStatus = 0;
Symbol 100 MovieClip Frame 23
if (_parent._parent.afterKick == 0) {
_parent.gotoAndStop(1);
} else if (_parent._parent.afterKick == 1) {
_parent.gotoAndStop(4);
} else if (_parent._parent.afterKick == 2) {
_parent.gotoAndStop(5);
}
Symbol 102 MovieClip Frame 14
_parent._parent.yeah1_fx.start();
Symbol 102 MovieClip Frame 35
_parent.gotoAndStop(1);
Symbol 104 MovieClip Frame 12
_parent._parent.yeah2_fx.start();
Symbol 104 MovieClip Frame 44
_parent.gotoAndStop(1);
Symbol 107 MovieClip Frame 19
stop();
_parent._parent.gameOver();
Symbol 109 MovieClip Frame 1
_parent._parent.kickStatus = 0;
_parent._parent.kickReload = false;
Symbol 109 MovieClip Frame 10
_parent._parent.kickStatus = 2;
Symbol 109 MovieClip Frame 12
_parent._parent.kickReload = true;
Symbol 109 MovieClip Frame 14
_parent._parent.kickStatus = 3;
Symbol 109 MovieClip Frame 18
if (_parent._parent.afterKick == 0) {
if (_parent._parent.lastWall) {
_parent.gotoAndStop(9);
} else {
_parent.gotoAndStop(1);
}
} else if (_parent._parent.afterKick == 1) {
if (_parent._parent.lastWall) {
_parent.gotoAndStop(9);
} else {
_parent.gotoAndStop(4);
}
} else if (_parent._parent.afterKick == 2) {
if (_parent._parent.lastWall) {
_parent.gotoAndStop(9);
} else {
_parent.gotoAndStop(5);
}
}
Symbol 109 MovieClip Frame 19
_parent._parent.kickStatus = 0;
if (_parent._parent.afterKick == 0) {
_parent.gotoAndStop(1);
}
Symbol 113 MovieClip Frame 9
_parent._parent.yeahend_fx.start();
Symbol 113 MovieClip Frame 70
stop();
if (_root.gameMode == "extreme") {
_parent._parent.gameComplete();
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 1
_parent.enlight2.play();
Symbol 134 MovieClip Frame 6
_parent.endLight();
stop();
Symbol 145 Button
on (release) {
if (pass == "zero") {
_parent._parent.gameMode = "unlimited";
_parent._parent.gotoAndPlay("how");
error._visible = false;
passtxt._visible = true;
} else {
error._visible = true;
passtxt._visible = false;
}
}
Symbol 153 MovieClip Frame 1
error._visible = false;
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
btn_vide.useHandCursor = false;
Symbol 154 MovieClip Frame 8
stop();
Symbol 154 MovieClip Frame 14
_visible = false;
gotoAndPlay (1);
Symbol 157 Button
on (release) {
gotoAndPlay ("how");
}
Symbol 162 Button
on (release) {
gotoAndPlay ("how");
}
Symbol 165 Button
on (release) {
gameMode = "extreme";
gotoAndPlay ("how");
}
Symbol 166 Button
on (release) {
if (passroll._visible == false) {
passroll.gotoAndPlay("over");
passroll._visible = true;
}
}
Symbol 181 MovieClip Frame 1
((_parent.gameMode == "extreme") ? (stop()) : (gotoAndStop (2)));
Symbol 186 MovieClip Frame 1
((_parent.gameMode == "extreme") ? (stop()) : (gotoAndStop (2)));
Symbol 190 Button
on (release) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_parent.gotoAndPlay("count");
} else {
nextFrame();
}
}
Symbol 194 MovieClip Frame 1
stop();
Instance of Symbol 193 MovieClip in Symbol 194 MovieClip Frame 2
onClipEvent (load) {
totalB = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loadB = _root.getBytesLoaded();
percLoad = Math.ceil((loadB / totalB) * 100);
this.loading_txt.text = ("Loading... " + percLoad) + " %";
if (percLoad >= 100) {
_parent._parent.gotoAndPlay("count");
}
}
Symbol 204 MovieClip Frame 31
if (_parent._parent.musicIndex == 0) {
if ((_parent._parent.lost == true) || (_parent._parent.win == true)) {
sky.endLight();
_parent.gotoAndStop(4);
}
} else if (_parent._parent.nbDestroyed > 2) {
sky.endLight();
_parent.gotoAndStop(2);
}
Symbol 205 MovieClip Frame 25
if (_parent._parent.musicIndex == 0) {
if ((_parent._parent.lost == true) || (_parent._parent.win == true)) {
sky.endLight();
_parent.gotoAndStop(4);
}
} else if (_parent._parent.nbDestroyed > 7) {
sky.endLight();
_parent.gotoAndStop(3);
}
Symbol 206 MovieClip Frame 20
if (_parent._parent.musicIndex == 0) {
if ((_parent._parent.lost == true) || (_parent._parent.win == true)) {
sky.endLight();
_parent.gotoAndStop(4);
}
}
Symbol 207 MovieClip Frame 81
sky.endLight();
stop();
Symbol 208 MovieClip Frame 1
scroll1.sky.endLight();
stop();
Symbol 285 MovieClip [wall_shade_base] Frame 1
explode_mc._visible = false;
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 861
stop();
Symbol 350 MovieClip [wall_back] Frame 1
explode_mc._visible = false;
Symbol 350 MovieClip [wall_back] Frame 63
stop();
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 862
stop();
Symbol 352 MovieClip [wall_back_double] Frame 1
explode_mc._visible = false;
Symbol 352 MovieClip [wall_back_double] Frame 3
explode2_mc._visible = false;
Symbol 352 MovieClip [wall_back_double] Frame 64
stop();
Symbol 353 MovieClip [wall_back_triple] Frame 1
explode_mc._visible = false;
Symbol 353 MovieClip [wall_back_triple] Frame 3
explode2_mc._visible = false;
Symbol 353 MovieClip [wall_back_triple] Frame 5
explode3_mc._visible = false;
Symbol 353 MovieClip [wall_back_triple] Frame 64
stop();
Symbol 355 MovieClip [wall_front_base] Frame 1
explode_mc._visible = false;
explodeBig_mc._visible = false;
_parent._parent.kickRight = false;
Symbol 355 MovieClip [wall_front_base] Frame 17
_parent._parent.kickRight = true;
Symbol 355 MovieClip [wall_front_base] Frame 20
_parent._parent.kickRight = false;
Symbol 355 MovieClip [wall_front_base] Frame 28
_parent._parent.hitWall(wallNum);
Symbol 355 MovieClip [wall_front_base] Frame 63
this.finished = true;
stop();
Symbol 373 MovieClip [wall_front_double_base] Frame 1
explode_mc._visible = false;
explodeBig_mc._visible = false;
_parent._parent.kickRight = false;
Symbol 373 MovieClip [wall_front_double_base] Frame 3
explode2_mc._visible = false;
explodeBig2_mc._visible = false;
Symbol 373 MovieClip [wall_front_double_base] Frame 17
_parent._parent.kickRight = true;
Symbol 373 MovieClip [wall_front_double_base] Frame 20
_parent._parent.kickRight = false;
Symbol 373 MovieClip [wall_front_double_base] Frame 28
_parent._parent.hitWall(wallNum);
Symbol 373 MovieClip [wall_front_double_base] Frame 66
this.finished = true;
stop();
Symbol 390 MovieClip [wall_front_triple_base] Frame 1
explode_mc._visible = false;
explodeBig_mc._visible = false;
_parent._parent.kickRight = false;
Symbol 390 MovieClip [wall_front_triple_base] Frame 3
explode2_mc._visible = false;
explodeBig2_mc._visible = false;
Symbol 390 MovieClip [wall_front_triple_base] Frame 5
explode3_mc._visible = false;
explodeBig3_mc._visible = false;
Symbol 390 MovieClip [wall_front_triple_base] Frame 17
_parent._parent.kickRight = true;
Symbol 390 MovieClip [wall_front_triple_base] Frame 20
_parent._parent.kickRight = false;
Symbol 390 MovieClip [wall_front_triple_base] Frame 28
_parent._parent.hitWall(wallNum);
Symbol 390 MovieClip [wall_front_triple_base] Frame 66
this.finished = true;
stop();
Symbol 391 MovieClip [wall_shade_double_base] Frame 1
explode_mc._visible = false;
Symbol 391 MovieClip [wall_shade_double_base] Frame 3
explode2_mc._visible = false;
Symbol 392 MovieClip [wall_shade_triple_base] Frame 1
explode_mc._visible = false;
Symbol 392 MovieClip [wall_shade_triple_base] Frame 3
explode2_mc._visible = false;
Symbol 392 MovieClip [wall_shade_triple_base] Frame 5
explode3_mc._visible = false;
Symbol 392 MovieClip [wall_shade_triple_base] Frame 66
stop();
Symbol 393 MovieClip Frame 1
function createSimple() {
this.attachMovie("wall_front_base", ("wall" + this.getNextHighestDepth()) + "_mc", this.getNextHighestDepth());
_parent.wallScenarBack_mc.attachMovie("wall_back", ("wall" + _parent.wallScenarBack_mc.getNextHighestDepth()) + "_mc", _parent.wallScenarBack_mc.getNextHighestDepth());
_parent.wallScenarShade_mc.attachMovie("wall_shade_base", ("wall" + _parent.wallScenarShade_mc.getNextHighestDepth()) + "_mc", _parent.wallScenarShade_mc.getNextHighestDepth());
this.tabWall[this.tabWall.length] = eval (("this.wall" + (this.getNextHighestDepth() - 1)) + "_mc");
this.tabWall[this.tabWall.length - 1].double = false;
this.tabWall[this.tabWall.length - 1]._x = -167.3;
this.tabWall[this.tabWall.length - 1].wallNum = this.getNextHighestDepth() - 1;
this.tabWall[this.tabWall.length - 1].wallBack = eval (("_parent.wallScenarBack_mc.wall" + this.tabWall[this.tabWall.length - 1].wallNum) + "_mc");
this.tabWall[this.tabWall.length - 1].wallShade = eval (("_parent.wallScenarShade_mc.wall" + this.tabWall[this.tabWall.length - 1].wallNum) + "_mc");
this.tabWall[this.tabWall.length - 1].wallBack._x = -167.3;
this.tabWall[this.tabWall.length - 1].wallShade._x = -167.3;
_parent.lastSpawn = _parent.timerFrame;
}
function createDouble(aBool) {
this.attachMovie("wall_front_double_base", ("wall" + this.getNextHighestDepth()) + "_mc", this.getNextHighestDepth());
_parent.wallScenarBack_mc.attachMovie("wall_back_double", ("wall" + _parent.wallScenarBack_mc.getNextHighestDepth()) + "_mc", _parent.wallScenarBack_mc.getNextHighestDepth());
_parent.wallScenarShade_mc.attachMovie("wall_shade_double_base", ("wall" + _parent.wallScenarShade_mc.getNextHighestDepth()) + "_mc", _parent.wallScenarShade_mc.getNextHighestDepth());
this.tabWall[this.tabWall.length] = eval (("this.wall" + (this.getNextHighestDepth() - 1)) + "_mc");
this.tabWall[this.tabWall.length - 1].double = true;
if (aBool) {
this.tabWall[this.tabWall.length - 1].last = true;
}
this.tabWall[this.tabWall.length - 1]._x = -167.3;
this.tabWall[this.tabWall.length - 1].wallNum = this.getNextHighestDepth() - 1;
this.tabWall[this.tabWall.length - 1].wallBack = eval (("_parent.wallScenarBack_mc.wall" + this.tabWall[this.tabWall.length - 1].wallNum) + "_mc");
this.tabWall[this.tabWall.length - 1].wallShade = eval (("_parent.wallScenarShade_mc.wall" + this.tabWall[this.tabWall.length - 1].wallNum) + "_mc");
this.tabWall[this.tabWall.length - 1].wallBack._x = -167.3;
this.tabWall[this.tabWall.length - 1].wallShade._x = -167.3;
_parent.lastSpawn = _parent.timerFrame;
}
function createTriple(aBool) {
this.attachMovie("wall_front_triple_base", ("wall" + this.getNextHighestDepth()) + "_mc", this.getNextHighestDepth());
_parent.wallScenarBack_mc.attachMovie("wall_back_triple", ("wall" + _parent.wallScenarBack_mc.getNextHighestDepth()) + "_mc", _parent.wallScenarBack_mc.getNextHighestDepth());
_parent.wallScenarShade_mc.attachMovie("wall_shade_triple_base", ("wall" + _parent.wallScenarShade_mc.getNextHighestDepth()) + "_mc", _parent.wallScenarShade_mc.getNextHighestDepth());
this.tabWall[this.tabWall.length] = eval (("this.wall" + (this.getNextHighestDepth() - 1)) + "_mc");
this.tabWall[this.tabWall.length - 1].double = true;
this.tabWall[this.tabWall.length - 1].triple = true;
if (aBool == true) {
this.tabWall[this.tabWall.length - 1].last = true;
}
this.tabWall[this.tabWall.length - 1]._x = -167.3;
this.tabWall[this.tabWall.length - 1].wallNum = this.getNextHighestDepth() - 1;
this.tabWall[this.tabWall.length - 1].wallBack = eval (("_parent.wallScenarBack_mc.wall" + this.tabWall[this.tabWall.length - 1].wallNum) + "_mc");
this.tabWall[this.tabWall.length - 1].wallShade = eval (("_parent.wallScenarShade_mc.wall" + this.tabWall[this.tabWall.length - 1].wallNum) + "_mc");
this.tabWall[this.tabWall.length - 1].wallBack._x = -167.3;
this.tabWall[this.tabWall.length - 1].wallShade._x = -167.3;
_parent.lastSpawn = _parent.timerFrame;
}
function removeWall() {
removeMovieClip(this.tabWall[0].wallBack);
removeMovieClip(this.tabWall[0].wallShade);
removeMovieClip(this.tabWall[0]);
this.tabWall.reverse();
this.tabWall.pop();
this.tabWall.reverse();
}
function removeWalls() {
trace("remove walls");
i = 0;
while (i < tabWall.length) {
removeMovieClip(this.tabWall[i].wallBack);
removeMovieClip(this.tabWall[i].wallShade);
removeMovieClip(this.tabWall[i]);
i++;
}
this.tabWall = new Array();
}
function pauseWalls() {
trace("pause walls");
i = 0;
while (i < tabWall.length) {
this.tabWall[i].wallBack.stop();
this.tabWall[i].wallBack.explode_mc.stop();
this.tabWall[i].wallBack.explodeBig_mc.stop();
this.tabWall[i].wallBack.explodeBig2_mc.stop();
this.tabWall[i].wallBack.explodeBig2_mc.stop();
this.tabWall[i].wallShade.stop();
this.tabWall[i].wallShade.base_mc.stop();
this.tabWall[i].wallShade.explode_mc.stop();
this.tabWall[i].wallShade.explodeBig_mc.stop();
this.tabWall[i].wallShade.explodeBig2_mc.stop();
this.tabWall[i].wallShade.explodeBig2_mc.stop();
this.tabWall[i].stop();
this.tabWall[i].base_mc.stop();
this.tabWall[i].explode_mc.stop();
this.tabWall[i].explodeBig_mc.stop();
this.tabWall[i].explodeBig_mc.stop();
this.tabWall[i].explodeBig2_mc.stop();
i++;
}
}
function playWalls() {
trace("play walls");
i = 0;
while (i < tabWall.length) {
this.tabWall[i].wallBack.play();
this.tabWall[i].wallBack.explode_mc.play();
this.tabWall[i].wallBack.explodeBig_mc.play();
this.tabWall[i].wallBack.explodeBig2_mc.play();
this.tabWall[i].wallBack.explodeBig2_mc.play();
this.tabWall[i].wallShade.play();
this.tabWall[i].wallShade.base_mc.play();
this.tabWall[i].wallShade.explode_mc.play();
this.tabWall[i].wallShade.explodeBig_mc.play();
this.tabWall[i].wallShade.explodeBig2_mc.play();
this.tabWall[i].wallShade.explodeBig2_mc.play();
this.tabWall[i].play();
this.tabWall[i].base_mc.play();
this.tabWall[i].explode_mc.play();
this.tabWall[i].explodeBig_mc.play();
this.tabWall[i].explodeBig_mc.play();
this.tabWall[i].explodeBig2_mc.play();
i++;
}
}
trace("--INIT");
var tabWall = new Array();
var intervalInit = 11;
var interval = intervalInit;
var doubleInit = 950;
var doubleInterval = doubleInit;
var intervalMax = 120;
var randLimiterInit = 990;
var randLimiter = randLimiterInit;
var randmax = 1000;
var randmin = 0;
_parent.stormLimiter = _parent.stormLimiterInit;
stop();
this.onEnterFrame = function () {
_parent.timerFrame++;
if (_parent.gameMode == "extreme") {
if ((_parent.lost != true) && (_parent.win != true)) {
intTemp = _parent.timerFrame - _parent.lastSpawn;
if (intTemp > interval) {
aRand = Math.floor(Math.random() * ((randmax - randmin) + 1)) + randmin;
if ((aRand > randLimiter) || (intervalMax < intTemp)) {
trace(((((((((" intTemp = " + intTemp) + " , randLimit = ") + randLimiter) + " , interv = ") + interval) + " , doubleInt = ") + doubleInterval) + ", stormLimit = ") + _parent.stormLimiter);
if (_parent.nbWall >= (_parent.maxWalls - 1)) {
if (_parent.nbWall == (_parent.maxWalls - 1)) {
createDouble(true);
_parent.countWalls();
}
} else {
aRand2 = Math.floor(Math.random() * ((randmax - randmin) + 1)) + randmin;
if ((aRand2 < doubleInterval) || (_parent.nbWall == 0)) {
createSimple();
} else {
createDouble();
}
_parent.countWalls();
}
randLimiter = randLimiter - 2;
if ((_parent.nbWall % 5) == 0) {
interval = interval - 0;
doubleInterval = doubleInterval - 50;
_parent.stormLimiter = _parent.stormLimiter + 0.0015;
}
}
}
if (this.tabWall[0].finished == true) {
removeWall();
}
} else {
if (this.tabWall[0].finished == true) {
removeWall();
}
if ((this.tabWall.length == 0) && (_parent.bigPlayAgain_mc._currentframe == 1)) {
if (_parent.win != true) {
_parent.bigPlayAgain_mc.gotoAndPlay(2);
}
}
}
} else if ((_parent.lost != true) && (_parent.win != true)) {
intTemp = _parent.timerFrame - _parent.lastSpawn;
if (intTemp > interval) {
aRand = Math.floor(Math.random() * ((randmax - randmin) + 1)) + randmin;
if ((aRand > randLimiter) || (intervalMax < intTemp)) {
trace(((((((((" intTemp = " + intTemp) + " , randLimit = ") + randLimiter) + " , interv = ") + interval) + " , doubleInt = ") + doubleInterval) + ", stormLimit = ") + _parent.stormLimiter);
if (_parent.nbWall >= (_parent.maxWallsUnlimited - 1)) {
if (_parent.nbWall == (_parent.maxWallsUnlimited - 1)) {
createDouble(true);
_parent.countWalls();
}
} else {
aRand2 = Math.floor(Math.random() * ((randmax - randmin) + 1)) + randmin;
if ((aRand2 < doubleInterval) || (_parent.nbWall == 0)) {
createSimple();
} else {
createDouble();
}
_parent.countWalls();
}
if (_parent.nbWall < 35) {
randLimiter = randLimiter - 2;
if ((_parent.nbWall % 5) == 0) {
interval = interval - 0;
doubleInterval = doubleInterval - 50;
_parent.stormLimiter = _parent.stormLimiter + 0.0015;
}
}
}
}
if (this.tabWall[0].finished == true) {
removeWall();
}
} else {
if (this.tabWall[0].finished == true) {
removeWall();
}
if ((this.tabWall.length == 0) && (_parent.yourRecord._currentframe == 1)) {
if (_parent.win != true) {
_parent.nbRecord = _parent.smallWalls_mc.mc.nbWalls;
_parent.yourRecord.gotoAndStop(2);
}
}
}
};
Symbol 393 MovieClip Frame 3
pauseWalls();
Symbol 393 MovieClip Frame 16
_parent.man_mc.video_mc.play();
_parent.manShade_mc.video_mc.play();
playWalls();
Symbol 393 MovieClip Frame 24
_parent.endMusic();
Symbol 393 MovieClip Frame 48
stop();
Symbol 397 Button
on (release) {
_parent.playAgain();
}
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 5
stop();
Symbol 405 MovieClip Frame 9
nb.txt = _parent._parent.nbRecord;
Symbol 405 MovieClip Frame 26
_parent._parent.bigPlayAgain_mc.gotoAndPlay(2);
stop();
Symbol 408 MovieClip Frame 9
nb.txt = 999999 /* 0x0F423F */;
Symbol 408 MovieClip Frame 110
_parent._parent.bigPlayAgain_mc.gotoAndPlay(2);
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 413 Button
on (release) {
_parent.playAgain(true);
}
Symbol 415 Button
on (release) {
_parent.playAgain();
}
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 12
gotoAndPlay (2);