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 10, 0, 10, 0, 10, 10, 0, 10, 0, 10, 0, 10, 6, 10, 0, 10, 0, 10, 10, 0, 10, 0, 10, 0, 10, 0, 10, 6, 10, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 10, 0, 10, 0, 10, 0, 10, 6, 10, 0, 0, 0, 0, 10, 0, 10, 0, 10, 6, 10, 0, 10, 0, 0, 0, 0, 10, 0, 10, 6, 10, 0, 10, 0, 10, 0, 0, 0, 0, 0, 6, 10, 0, 10, 0, 10, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
hiscore = 0;
Stage.showMenu = false;
stop();
Instance of Symbol 41 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.TotalLevels) {
this.LevelCount = _root.TotalLevels + " LEVELS";
}
}
Frame 2
Name = "FREE WORLD GROUP";
stop();
Frame 10
Score = 0;
ping = new Sound();
ping.attachSound("ping");
ping2 = new Sound();
ping2.attachSound("ping2");
pong = new Sound();
pong.attachSound("pong");
Laser = new Sound();
Laser.attachSound("Laser");
Extra = new Sound();
Extra.attachSound("Extra");
Level = 1;
Lives = 2;
stop();
Instance of Symbol 137 MovieClip in Frame 10
on (keyPress "<Space>") {
_root.gotoAndStop("IntroAnim");
}
Instance of Symbol 140 MovieClip in Frame 10
on (keyPress "p") {
_root.gotoAndPlay("PracticeLoad");
}
on (keyPress "P") {
_root.gotoAndPlay("PracticeLoad");
}
Frame 20
stop();
Frame 31
PauseGame = false;
Firstblock = 0;
LevelBonus = 10000;
Check = 0;
Tries = 0;
Completed = false;
Instance of Symbol 290 MovieClip "LivesBar" in Frame 31
onClipEvent (load) {
this.gotoAndStop(_root.Lives + 1);
}
Frame 40
TheDesigner = "DESIGN BY TAITO";
totalblocks = 0;
i = 0;
while (i <= 259) {
if (Number(_root["Level" + _root.Level][i]) != 0) {
if (Firstblock == 0) {
Firstblock = Number(i);
}
Lastblock = i;
totalblocks = totalblocks + 1;
}
_root.MainLevel["Block" + i].Type = Number(_root["Level" + _root.Level][i]) + 1;
_root.MainLevel["Block" + i].gotoAndStop(Number(_root["Level" + _root.Level][i]) + 1);
i++;
}
Firstblock = Firstblock - 1;
trace(Firstblock);
mapheight = Lastblock;
Instance of Symbol 329 MovieClip "Ball" in Frame 40
onClipEvent (load) {
function dobonus() {
if ((_root.MainLevel["Block" + i]._currentframe != 6) && (_root.MainLevel["Block" + i]._currentframe != 9)) {
_root.Score = _root.Score + _root.MainLevel["Block" + i].Scoring;
}
if (thebonus > 0) {
thebonus--;
} else {
duplicateMovieClip (_root.Bonus, "Bonus" + b, 200 + b);
_root["Bonus" + b].gotoAndStop(random(9) + 1);
_root["Bonus" + b]._x = _x;
_root["Bonus" + b]._y = _y;
_root["Bonus" + b].falling = true;
thebonus = 5;
b++;
if (b > 10) {
b = 1;
}
}
}
Dead = false;
_visible = false;
xspeed = 2.5;
yspeed = -6;
GetReady = true;
Catch = false;
catchx = -10;
caught = false;
pressed = false;
Laser = false;
Pause = 0;
b = 1;
i = 1;
Expand = false;
thebonus = 0;
}
onClipEvent (enterFrame) {
if ((Dead == false) && (_root.PauseGame == false)) {
if (GetReady == true) {
_x = (_root.Bat._x - catchx);
}
if (EndLevel == false) {
_x = (_x + xspeed);
_y = (_y + yspeed);
_root.BShadow._x = _x + 10;
_root.BShadow._y = _y + 8;
if (Pause > 0) {
Pause--;
}
if (_root.MainLevel._width < 32) {
EndLevel = true;
_root.Score = _root.Score + _root.LevelBonus;
_root.Completed = true;
_root.play();
}
if (_root.MainLevel.hitTest(_x + (5 + xspeed), _y + (4 + yspeed), true)) {
i = _root.Firstblock;
while (i <= _root.mapheight) {
if (this.hitTest(_root.MainLevel["Block" + i].left) && (this.hitTest(_root.MainLevel["Block" + i].top))) {
dobonus();
_x = (_x - 5);
_y = (_y - 4);
xspeed = -xspeed;
yspeed = -(yspeed + 0.2);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].top)) {
dobonus();
_y = (_y - 4);
yspeed = -(yspeed + 0.2);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].right) && (this.hitTest(_root.MainLevel["Block" + i].top))) {
dobonus();
_x = (_x + 5);
_y = (_y - 4);
xspeed = -xspeed;
yspeed = -(yspeed + 0.2);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].right)) {
dobonus();
_x = (_x + 5);
xspeed = -xspeed;
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].right) && (this.hitTest(_root.MainLevel["Block" + i].bottom))) {
dobonus();
_x = (_x + 5);
_y = (_y + 4);
xspeed = -xspeed;
yspeed = -(yspeed - 0.1);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].bottom)) {
dobonus();
_y = (_y + 4);
yspeed = -(yspeed - 0.1);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].left) && this.hitTest(_root.MainLevel["Block" + i].bottom)) {
dobonus();
_x = (_x - 5);
_y = (_y + 4);
xspeed = -xspeed;
yspeed = -(yspeed + 0.1);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].left)) {
dobonus();
_x = (_x - 5);
xspeed = -xspeed;
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
}
i++;
}
}
if (this.hitTest(_root.Bat.Hit)) {
if (Catch == true) {
caught = true;
prevyspeed = yspeed;
catchx = _root.Bat._x - _x;
_y = (_root.Bat._y - 13);
xspeed = 0;
yspeed = 0;
pressed = false;
GetReady = true;
} else {
_root.pong.start();
if ((yspeed > -7) && (yspeed < 7)) {
yspeed = -(yspeed + 0.2);
} else {
yspeed = -yspeed;
}
xspeed = (_x - _root.Bat._x) / 8;
}
}
if (_x < 23) {
_x = 23;
xspeed = -xspeed;
} else if (_x > 426) {
_x = 426;
xspeed = -xspeed;
}
if (_y < 57) {
_y = 57;
yspeed = -yspeed;
}
if (_y > 520) {
_root.Bat.gotoAndStop(7);
Dead = true;
}
if (Key.isDown(32)) {
if (((Catch == true) && (caught == true)) && (pressed == false)) {
xspeed = (_x - _root.Bat._x) / 8;
yspeed = -prevyspeed;
pressed = true;
GetReady = false;
}
if ((Laser == true) && (Pause <= 0)) {
duplicateMovieClip (_root.Bullet, "Bullet" + i, 100 + i);
_root["Bullet" + i]._x = _root.Bat._x;
_root["Bullet" + i]._y = _root.Bat._y;
_root["Bullet" + i].yspeed = 10;
_root.Laser.start();
if (i < 20) {
i++;
} else {
i = 1;
}
Pause = 30;
}
}
}
}
}
Instance of Symbol 331 MovieClip "Bullet" in Frame 40
onClipEvent (enterFrame) {
if ((_name != "Bullet") && (_root.PauseGame == false)) {
_y = (_y - yspeed);
i = 0;
while (i <= _root.mapheight) {
if (this.hitTest(_root.MainLevel["Block" + i].bottom)) {
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
removeMovieClip(this);
}
i++;
}
if (_y < 60) {
removeMovieClip(this);
}
}
}
Instance of Symbol 369 MovieClip "Bat" in Frame 40
onClipEvent (enterFrame) {
if ((_root.Ball.Dead == false) && (_root.PauseGame == false)) {
if (Key.isDown(37)) {
_x = (_x - 10);
} else if (Key.isDown(39)) {
_x = (_x + 10);
}
}
if (_x < 50) {
_x = 50;
} else if (_x > 400) {
_x = 400;
}
}
Instance of Symbol 370 MovieClip "Bonus" in Frame 40
onClipEvent (load) {
function removecatch() {
if (_root.Ball.Catch == true) {
if (_root.Ball.pressed == false) {
_root.Ball._y = _root.Ball._y - 4;
_root.Ball.xspeed = 4;
_root.Ball.yspeed = -5;
_root.Ball.caught = false;
_root.Ball.Catch = false;
_root.Ball.GetReady = false;
} else {
_root.Ball.caught = false;
_root.Ball.Catch = false;
_root.Ball.GetReady = false;
}
}
}
function removelaser() {
if (_root.Ball.Laser == true) {
_root.Ball.Laser = false;
_root.Bat.gotoAndStop(4);
}
}
function removeexpand() {
if (_root.Ball.Expand == true) {
_root.Ball.Expand = false;
_root.Bat.gotoAndStop(6);
}
}
}
onClipEvent (enterFrame) {
if ((falling == true) && (_root.PauseGame == false)) {
_y = (_y + 3);
if (this.hitTest(_root.Bat) && (_root.Ball.Dead == false)) {
if (Type == 1) {
trace("Half Speed");
removeexpand();
removelaser();
removecatch();
if ((_root.Ball.yspeed < -6) || (_root.Ball.yspeed > 6)) {
_root.Ball.xspeed = _root.Ball.xspeed / 2;
_root.Ball.yspeed = _root.Ball.yspeed / 2;
}
} else if (Type == 2) {
trace("Sticky Bat");
removeexpand();
removelaser();
_root.Ball.Catch = true;
} else if (Type == 3) {
trace("Laser");
removecatch();
removeexpand();
_root.Bat.gotoAndStop(3);
_root.Ball.Laser = true;
} else if (Type == 4) {
trace("Expand Bat");
_root.Ball.Expand = true;
removelaser();
removecatch();
_root.Bat.gotoAndStop(5);
} else if (Type == 5) {
trace("Extra Life");
_root.Extra.start();
removeexpand();
removelaser();
removecatch();
if (_root.Lives < 5) {
_root.Lives = _root.Lives + 1;
}
_root.LivesBar.gotoAndStop(_root.Lives + 1);
}
_x = -100;
removeMovieClip(this);
falling = false;
} else if (_y > 530) {
_x = -100;
_y = 100;
falling = false;
removeMovieClip(this);
}
}
}
Instance of Symbol 375 MovieClip "BonusTimer" in Frame 40
onClipEvent (load) {
starttimer = false;
timer = 10;
}
onClipEvent (enterFrame) {
if ((starttimer == true) && (_root.PauseGame == false)) {
timer--;
if (timer < 0) {
_root.LevelBonus = _root.LevelBonus - 1;
if (_root.LevelBonus < 0) {
_root.LevelBonus = 0;
starttimer = false;
}
timer = 10;
}
}
}
on (keyPress "p") {
if (_root.PauseGame == false) {
_root.PauseClip.gotoAndStop(2);
_root.PauseGame = true;
} else if (_root.PauseGame == true) {
_root.PauseClip.gotoAndStop(1);
_root.PauseGame = false;
}
}
Frame 49
stop();
Instance of Symbol 392 MovieClip "GameOver" in Frame 49
/* no clip actions */
Frame 59
if (Completed == true) {
BG.nextFrame();
Level = Level + 1;
if (Level <= 20) {
gotoAndPlay ("Load");
} else {
GameOver.gotoAndPlay(2);
stop();
}
} else {
Lives = Lives - 1;
if (Lives < 0) {
GameOver.gotoAndPlay(2);
stop();
} else {
gotoAndStop ("Play");
}
}
Frame 60
LevelSelect = Level;
Firstblock = 0;
Check = 0;
Tries = 0;
Completed = false;
Instance of Symbol 290 MovieClip "LivesBar" in Frame 60
onClipEvent (load) {
this.gotoAndStop(_root.Lives + 1);
}
Frame 69
TheDesigner = "DESIGN BY TAITO";
totalblocks = 0;
i = 0;
while (i <= 259) {
if (Number(_root["Level" + _root.Level][i]) != 0) {
if (Firstblock == 0) {
Firstblock = Number(i);
}
Lastblock = i;
totalblocks = totalblocks + 1;
}
_root.MainLevel["Block" + i].Type = Number(_root["Level" + _root.Level][i]) + 1;
_root.MainLevel["Block" + i].gotoAndStop(Number(_root["Level" + _root.Level][i]) + 1);
i++;
}
Firstblock = Firstblock - 1;
trace(Firstblock);
mapheight = Lastblock;
stop();
Instance of Symbol 370 MovieClip "Bonus" in Frame 69
onClipEvent (load) {
function removecatch() {
if (_root.Ball.Catch == true) {
if (_root.Ball.pressed == false) {
_root.Ball._y = _root.Ball._y - 4;
_root.Ball.xspeed = 4;
_root.Ball.yspeed = -5;
_root.Ball.caught = false;
_root.Ball.Catch = false;
_root.Ball.GetReady = false;
} else {
_root.Ball.caught = false;
_root.Ball.Catch = false;
_root.Ball.GetReady = false;
}
}
}
function removelaser() {
if (_root.Ball.Laser == true) {
_root.Ball.Laser = false;
_root.Bat.gotoAndStop(4);
}
}
function removeexpand() {
if (_root.Ball.Expand == true) {
_root.Ball.Expand = false;
_root.Bat.gotoAndStop(6);
}
}
}
onClipEvent (enterFrame) {
if (falling == true) {
_y = (_y + 3);
if (this.hitTest(_root.Bat) && (_root.Ball.Dead == false)) {
if (Type == 1) {
trace("Half Speed");
removeexpand();
removelaser();
removecatch();
if ((_root.Ball.yspeed < -6) || (_root.Ball.yspeed > 6)) {
_root.Ball.xspeed = _root.Ball.xspeed / 2;
_root.Ball.yspeed = _root.Ball.yspeed / 2;
}
} else if (Type == 2) {
trace("Sticky Bat");
removeexpand();
removelaser();
_root.Ball.Catch = true;
} else if (Type == 3) {
trace("Laser");
removecatch();
removeexpand();
_root.Bat.gotoAndStop(3);
_root.Ball.Laser = true;
} else if (Type == 4) {
trace("Expand Bat");
_root.Ball.Expand = true;
removelaser();
removecatch();
_root.Bat.gotoAndStop(5);
} else if (Type == 5) {
trace("Extra Life");
_root.Extra.start();
removeexpand();
removelaser();
removecatch();
if (_root.Lives < 5) {
_root.Lives = _root.Lives + 1;
}
_root.LivesBar.gotoAndStop(_root.Lives + 1);
}
_x = -100;
removeMovieClip(this);
falling = false;
} else if (_y > 530) {
_x = -100;
_y = 100;
falling = false;
removeMovieClip(this);
}
}
}
Instance of Symbol 137 MovieClip in Frame 69
on (keyPress "<Space>") {
_root.gotoAndPlay("PracticePlay");
}
Instance of Symbol 333 MovieClip in Frame 69
on (keyPress "q") {
_root.gotoAndPlay("Preloader");
}
on (keyPress "Q") {
_root.gotoAndPlay("Preloader");
}
Frame 78
stop();
Instance of Symbol 329 MovieClip "Ball" in Frame 78
onClipEvent (load) {
function dobonus() {
if (_root.MainLevel["Block" + i]._currentframe != 6) {
_root.ping.start();
}
if (thebonus > 0) {
thebonus--;
} else {
duplicateMovieClip (_root.Bonus, "Bonus" + b, 200 + b);
_root["Bonus" + b].gotoAndStop(random(9) + 1);
_root["Bonus" + b]._x = _x;
_root["Bonus" + b]._y = _y;
_root["Bonus" + b].falling = true;
thebonus = 5;
b++;
if (b > 10) {
b = 1;
}
}
}
Dead = false;
_visible = false;
xspeed = 2.5;
yspeed = -6;
GetReady = true;
Catch = false;
catchx = -10;
caught = false;
pressed = false;
Laser = false;
Pause = 0;
b = 1;
i = 1;
Expand = false;
thebonus = 0;
}
onClipEvent (enterFrame) {
if (Dead == false) {
if (GetReady == true) {
_x = (_root.Bat._x - catchx);
}
if (EndLevel == false) {
_x = (_x + xspeed);
_y = (_y + yspeed);
_root.BShadow._x = _x + 10;
_root.BShadow._y = _y + 8;
if (Pause > 0) {
Pause--;
}
if (_root.MainLevel._width < 32) {
EndLevel = true;
_root.Completed = true;
_root.play();
}
if (_root.MainLevel.hitTest(_x + (5 + xspeed), _y + (4 + yspeed), true)) {
i = _root.Firstblock;
while (i <= _root.mapheight) {
if (this.hitTest(_root.MainLevel["Block" + i].left) && (this.hitTest(_root.MainLevel["Block" + i].top))) {
dobonus();
_x = (_x - 5);
_y = (_y - 4);
xspeed = -xspeed;
yspeed = -(yspeed + 0.2);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].top)) {
dobonus();
_y = (_y - 4);
yspeed = -(yspeed + 0.2);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].right) && (this.hitTest(_root.MainLevel["Block" + i].top))) {
dobonus();
_x = (_x + 5);
_y = (_y - 4);
xspeed = -xspeed;
yspeed = -(yspeed + 0.2);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].right)) {
dobonus();
_x = (_x + 5);
xspeed = -xspeed;
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].right) && (this.hitTest(_root.MainLevel["Block" + i].bottom))) {
dobonus();
_x = (_x + 5);
_y = (_y + 4);
xspeed = -xspeed;
yspeed = -(yspeed - 0.1);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].bottom)) {
dobonus();
_y = (_y + 4);
yspeed = -(yspeed - 0.1);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].left) && this.hitTest(_root.MainLevel["Block" + i].bottom)) {
dobonus();
_x = (_x - 5);
_y = (_y + 4);
xspeed = -xspeed;
yspeed = -(yspeed + 0.1);
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
} else if (this.hitTest(_root.MainLevel["Block" + i].left)) {
dobonus();
_x = (_x - 5);
xspeed = -xspeed;
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
}
i++;
}
}
if (this.hitTest(_root.Bat.Hit)) {
if (Catch == true) {
caught = true;
prevyspeed = yspeed;
catchx = _root.Bat._x - _x;
_y = (_root.Bat._y - 13);
xspeed = 0;
yspeed = 0;
pressed = false;
GetReady = true;
} else {
_root.pong.start();
if ((yspeed > -8) && (yspeed < 8)) {
yspeed = -(yspeed + 0.2);
} else {
yspeed = -yspeed;
}
xspeed = (_x - _root.Bat._x) / 8;
}
}
if (_x < 23) {
_x = 23;
xspeed = -xspeed;
} else if (_x > 426) {
_x = 426;
xspeed = -xspeed;
}
if (_y < 57) {
_y = 57;
yspeed = -yspeed;
}
if (_y > 520) {
_root.Bat.gotoAndStop(7);
Dead = true;
}
if (Key.isDown(32)) {
if (((Catch == true) && (caught == true)) && (pressed == false)) {
xspeed = (_x - _root.Bat._x) / 8;
yspeed = -prevyspeed;
pressed = true;
GetReady = false;
}
if ((Laser == true) && (Pause <= 0)) {
duplicateMovieClip (_root.Bullet, "Bullet" + i, 100 + i);
_root["Bullet" + i]._x = _root.Bat._x;
_root["Bullet" + i]._y = _root.Bat._y;
_root["Bullet" + i].yspeed = 10;
_root.Laser.start();
if (i < 20) {
i++;
} else {
i = 1;
}
Pause = 30;
}
}
}
}
}
Instance of Symbol 331 MovieClip "Bullet" in Frame 78
onClipEvent (enterFrame) {
if (_name != "Bullet") {
_y = (_y - yspeed);
i = 0;
while (i <= _root.mapheight) {
if (this.hitTest(_root.MainLevel["Block" + i].bottom)) {
_root.MainLevel["Block" + i]["Colour" + _root.MainLevel["Block" + i].Type].nextFrame();
removeMovieClip(this);
}
i++;
}
if (_y < 60) {
removeMovieClip(this);
}
}
}
Instance of Symbol 369 MovieClip "Bat" in Frame 78
onClipEvent (enterFrame) {
if (_root.Ball.Dead == false) {
if (Key.isDown(37)) {
_x = (_x - 10);
} else if (Key.isDown(39)) {
_x = (_x + 10);
}
}
if (_x < 50) {
_x = 50;
} else if (_x > 400) {
_x = 400;
}
}
Frame 88
if (Completed == true) {
gotoAndPlay ("PracticeLoad");
} else {
gotoAndStop ("PracticePlay");
}
Symbol 12 Button
on (release) {
getURL ("http://www.syndicatesdomain.co.uk", "_blank");
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
LoadingBar.gotoAndStop(Math.round(PercentLoaded / 5));
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
_root.gotoAndPlay(2);
}
Symbol 36 MovieClip Frame 2
gotoAndPlay (1);
Symbol 51 MovieClip Frame 95
_root.play();
stop();
Symbol 269 MovieClip Frame 400
_root.gotoAndPlay("Load");
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 5
gotoAndStop (1);
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
_root.totalblocks--;
_root.ping.start();
_parent.gotoAndStop(1);
Symbol 298 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 2
_root.totalblocks--;
_root.ping.start();
_parent.gotoAndStop(1);
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
_root.totalblocks--;
_root.ping.start();
_parent.gotoAndStop(1);
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 2
_root.totalblocks--;
_root.ping.start();
_parent.gotoAndStop(1);
Symbol 309 MovieClip Frame 11
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 2
_root.ping2.start();
Symbol 310 MovieClip Frame 3
_root.totalblocks--;
_root.ping2.start();
_root.Score = _root.Score + 50;
_parent.gotoAndStop(1);
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 2
_root.totalblocks--;
_root.ping.start();
_parent.gotoAndStop(1);
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 2
_root.totalblocks--;
_root.ping.start();
_parent.gotoAndStop(1);
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 2
_root.totalblocks--;
_root.ping.start();
_parent.gotoAndStop(1);
Symbol 318 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 2
_root.totalblocks--;
_root.ping.start();
_parent.gotoAndStop(1);
Symbol 324 MovieClip Frame 11
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 2
_root.ping2.start();
Symbol 325 MovieClip Frame 3
_root.totalblocks--;
_root.ping2.start();
_root.Score = _root.Score + 50;
_parent.gotoAndStop(1);
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 2
Scoring = 90;
Symbol 326 MovieClip Frame 3
Scoring = 80;
Symbol 326 MovieClip Frame 4
Scoring = 100;
Symbol 326 MovieClip Frame 5
Scoring = 120;
Symbol 326 MovieClip Frame 6
Scoring = 25;
Symbol 326 MovieClip Frame 7
Scoring = 110;
Symbol 326 MovieClip Frame 8
Scoring = 110;
Symbol 326 MovieClip Frame 9
Scoring = 110;
Symbol 326 MovieClip Frame 10
Scoring = 110;
Symbol 326 MovieClip Frame 11
Scoring = 25;
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 17
_parent.gotoAndStop(2);
Symbol 352 MovieClip Frame 41
stop();
Symbol 353 MovieClip Frame 41
_parent.gotoAndStop(2);
Symbol 359 MovieClip Frame 13
stop();
Symbol 360 MovieClip Frame 13
_parent.gotoAndStop(2);
Symbol 368 MovieClip Frame 82
_root.play();
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 1
Type = 1;
stop();
Symbol 370 MovieClip Frame 2
Type = 2;
Symbol 370 MovieClip Frame 3
Type = 3;
Symbol 370 MovieClip Frame 4
Type = 4;
Symbol 370 MovieClip Frame 5
Type = 1;
stop();
Symbol 370 MovieClip Frame 6
Type = 2;
Symbol 370 MovieClip Frame 7
Type = 3;
Symbol 370 MovieClip Frame 8
Type = 4;
Symbol 370 MovieClip Frame 9
Type = 5;
Symbol 375 MovieClip Frame 80
_root.Ball._visible = true;
_root.Bat.Start.play();
Symbol 375 MovieClip Frame 170
_root.Ball.EndLevel = false;
_root.Ball.GetReady = false;
starttimer = true;
stop();
Symbol 391 Button
on (release) {
getURL ("http://www.freeworldgroup.com/game.html", "_self");
}
Symbol 392 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 61
if (_root.Score > _root.hiscore) {
_root.hiscore = _root.Score;
}
stop();
Instance of Symbol 388 MovieClip in Symbol 392 MovieClip Frame 61
on (keyPress "<Space>") {
_root.gotoAndStop("Preloader");
}
Symbol 394 MovieClip Frame 1
stop();
Symbol 403 Button
on (release) {
if (_root.Level < 20) {
_root.Level = _root.Level + 1;
_root.LevelSelect = _root.Level;
_root.gotoAndPlay("PracticeLoad");
} else {
_root.Level = 1;
_root.LevelSelect = _root.Level;
_root.gotoAndPlay("PracticeLoad");
}
}
Symbol 404 Button
on (release) {
if (_root.Level > 1) {
_root.Level = _root.Level - 1;
_root.LevelSelect = _root.Level;
_root.gotoAndPlay("PracticeLoad");
} else {
_root.Level = 20;
_root.LevelSelect = _root.Level;
_root.gotoAndPlay("PracticeLoad");
}
}