Frame 2
stop();
_root.easy_win = 0;
_root.easy_lose = 0;
_root.normal_win = 0;
_root.normal_lose = 0;
_root.hard_win = 0;
_root.hard_lose = 0;
music1 = false;
music2 = false;
music3 = false;
pongsound = true;
se = "on";
way1 = true;
way2 = false;
way3 = false;
ball_speed_normal = true;
msc = "none";
game_type = "2 sided pong";
game_dif = "normal";
_root.achev1 = "locked";
_root.achev2 = "locked";
_root.achev3 = "locked";
_root.achev4 = "locked";
_root.achev5 = "locked";
_root.achev6 = "locked";
_root.achev7 = "locked";
_root.achev8 = "locked";
_root.achev9 = "locked";
_root.ach1 = false;
_root.ach2 = false;
_root.ach3 = false;
_root.ach4 = false;
_root.ach5 = false;
_root.ach6 = false;
_root.ach7 = false;
_root.ach8 = false;
_root.ach9 = false;
_root.perfect_easy = false;
_root.perfect_normal = false;
_root.perfect_hard = false;
cpuy = 5;
youy = 5;
name1 = "yourgamename";
var savefile = SharedObject.getLocal(name1);
Frame 3
function init() {
sndmusic1 = new Sound();
sndmusic1.attachSound("music1");
sndmusic2 = new Sound();
sndmusic2.attachSound("music2");
sndmusic3 = new Sound();
sndmusic3.attachSound("music3");
sndpong1 = new Sound();
sndpong1.attachSound("pong1");
sndpong2 = new Sound();
sndpong2.attachSound("pong2");
}
stop();
init();
good = 0;
bad = 0;
ball_speed_easy == false;
ball_speed_normal == false;
ball_speed_hard == false;
_root.total_win = (_root.easy_win + _root.normal_win) + _root.hard_win;
onEnterFrame = function () {
Mouse.show();
};
if (easy_win >= 1) {
_root.ach1 = true;
_root.achev1 = "unlocked";
}
if (normal_win >= 1) {
_root.ach2 = true;
_root.achev2 = "unlocked";
}
if (hard_win >= 1) {
_root.ach3 = true;
_root.achev3 = "unlocked";
}
if (perfect_easy == true) {
_root.ach4 = true;
_root.achev4 = "unlocked";
}
if (perfect_normal == true) {
_root.ach5 = true;
_root.achev5 = "unlocked";
}
if (perfect_hard == true) {
_root.ach6 = true;
_root.achev6 = "unlocked";
}
if (total_win >= 5) {
_root.ach7 = true;
_root.achev7 = "unlocked";
}
if (total_win >= 10) {
_root.ach8 = true;
_root.achev8 = "unlocked";
}
if (total_win >= 20) {
_root.ach9 = true;
_root.achev9 = "unlocked";
}
Frame 11
stop();
_root.easywl = _root.easy_win / _root.easy_lose;
_root.normalwl = _root.normal_win / _root.normal_lose;
_root.hardwl = _root.hard_win / _root.hard_lose;
_root.total_win = (_root.easy_win + _root.normal_win) + _root.hard_win;
_root.total_lose = (_root.easy_lose + _root.normal_lose) + _root.hard_lose;
_root.totalwl = _root.total_win / _root.total_lose;
Frame 21
stop();
Frame 31
stop();
if (_root.easy_win >= 1) {
achevment1.onRollOver = function () {
achevment1.gotoAndStop("normal2");
};
achevment1.gotoAndStop("normal3");
achevment1.onRollOut = function () {
achevment1.gotoAndStop("normal3");
};
}
if (_root.easy_win < 1) {
achevment1.onRollOver = function () {
achevment1.gotoAndStop("normal1");
};
achevment1.onRollOut = function () {
achevment1.gotoAndStop("normal");
};
}
if (_root.normal_win < 1) {
achevment2.onRollOver = function () {
achevment2.gotoAndStop("normal1");
};
achevment2.onRollOut = function () {
achevment2.gotoAndStop("normal");
};
}
if (_root.normal_win >= 1) {
achevment2.onRollOver = function () {
achevment2.gotoAndStop("normal2");
};
achevment2.gotoAndStop("normal3");
achevment2.onRollOut = function () {
achevment2.gotoAndStop("normal3");
};
}
if (_root.hard_win < 1) {
achevment3.onRollOver = function () {
achevment3.gotoAndStop("normal1");
};
achevment3.onRollOut = function () {
achevment3.gotoAndStop("normal");
};
}
if (_root.hard_win >= 1) {
achevment3.onRollOver = function () {
achevment3.gotoAndStop("normal2");
};
achevment3.gotoAndStop("normal3");
achevment3.onRollOut = function () {
achevment3.gotoAndStop("normal3");
};
}
if (_root.perfect_easy == true) {
achevment4.onRollOver = function () {
achevment4.gotoAndStop("normal2");
};
achevment4.gotoAndStop("normal3");
achevment4.onRollOut = function () {
achevment4.gotoAndStop("normal3");
};
}
if (_root.perfect_easy == false) {
achevment4.onRollOver = function () {
achevment4.gotoAndStop("normal1");
};
achevment4.onRollOut = function () {
achevment4.gotoAndStop("normal");
};
}
if (_root.perfect_normal == true) {
achevment5.onRollOver = function () {
achevment5.gotoAndStop("normal2");
};
achevment5.gotoAndStop("normal3");
achevment5.onRollOut = function () {
achevment5.gotoAndStop("normal3");
};
}
if (_root.perfect_normal == false) {
achevment5.onRollOver = function () {
achevment5.gotoAndStop("normal1");
};
achevment5.onRollOut = function () {
achevment5.gotoAndStop("normal");
};
}
if (_root.perfect_hard == true) {
achevment6.onRollOver = function () {
achevment6.gotoAndStop("normal2");
};
achevment6.gotoAndStop("normal3");
achevment6.onRollOut = function () {
achevment6.gotoAndStop("normal3");
};
}
if (_root.perfect_hard == false) {
achevment6.onRollOver = function () {
achevment6.gotoAndStop("normal1");
};
achevment6.onRollOut = function () {
achevment6.gotoAndStop("normal");
};
}
if (_root.total_win >= 5) {
achevment7.onRollOver = function () {
achevment7.gotoAndStop("normal2");
};
achevment7.gotoAndStop("normal3");
achevment7.onRollOut = function () {
achevment7.gotoAndStop("normal3");
};
}
if (_root.total_win < 5) {
achevment7.onRollOver = function () {
achevment7.gotoAndStop("normal1");
};
achevment7.onRollOut = function () {
achevment7.gotoAndStop("normal");
};
}
if (_root.total_win >= 10) {
achevment8.onRollOver = function () {
achevment8.gotoAndStop("normal2");
};
achevment8.gotoAndStop("normal3");
achevment8.onRollOut = function () {
achevment8.gotoAndStop("normal3");
};
}
if (_root.total_win < 10) {
achevment8.onRollOver = function () {
achevment8.gotoAndStop("normal1");
};
achevment8.onRollOut = function () {
achevment8.gotoAndStop("normal");
};
}
if (_root.total_win >= 20) {
achevment9.onRollOver = function () {
achevment9.gotoAndStop("normal2");
};
achevment9.gotoAndStop("normal3");
achevment9.onRollOut = function () {
achevment9.gotoAndStop("normal3");
};
}
if (_root.total_win < 20) {
achevment9.onRollOver = function () {
achevment9.gotoAndStop("normal1");
};
achevment9.onRollOut = function () {
achevment9.gotoAndStop("normal");
};
}
Frame 41
stop();
Frame 51
stop();
Frame 61
stop();
Frame 71
stop();
Frame 81
stop();
Frame 91
function getDy(paddle) {
relY = ball._y - paddle._y;
relPerc = relY / paddle._height;
newDy = relPerc * 30;
return(newDy);
}
stop();
if (music1 == true) {
sndmusic1.start();
}
if (music2 == true) {
sndmusic2.start();
}
if (music3 == true) {
sndmusic3.start();
}
dirx = -9;
diry = 9;
bad = 0;
good = 0;
cpuy = 0;
onEnterFrame = function () {
ball._x = ball._x + dirx;
ball._y = ball._y + diry;
if (_ymouse > 80) {
if (_ymouse < (440 - you._height)) {
you._y = _ymouse;
} else {
you._y = 440 - you._height;
}
} else {
you._y = 80;
}
if (cpu._y < (440 - cpu._height)) {
if (cpu._y > 80) {
cpu._y = cpu._y + cpuy;
} else if (ball._y > (cpu._y + cpu._height)) {
cpu._y = 80.1;
} else {
cpu._y = 80;
}
} else if (ball._y < cpu._y) {
cpu._y = 439.9 - cpu._height;
} else {
cpu._y = 440 - cpu._height;
}
if (ball._y < (40 + (ball._height / 2))) {
ball._y = 40 + (ball._height / 2);
diry = diry * -1;
}
if (ball._y > (400 - (ball._height / 2))) {
ball._y = 400 - (ball._height / 2);
diry = diry * -1;
}
if (ball._x > (800 - (ball._width / 2))) {
bad++;
ball._x = 400;
ball._y = 200;
diry = 9;
dirx = 9;
}
if (ball._x < (0 + (ball._width / 2))) {
good++;
ball._x = 200;
ball._y = 400;
diry = 9;
dirx = -9;
}
if (ball.hitTest(you)) {
if (pongsound == true) {
sndpong1.start();
}
if (dirx >= 100) {
dirx = (-dirx) * 1;
diry = getDy(cpu);
}
if (dirx <= 100) {
dirx = (-dirx) * 1.05;
diry = getDy(you);
}
}
if (ball.hitTest(cpu)) {
if (pongsound == true) {
sndpong2.start();
}
if (dirx >= 100) {
dirx = (-dirx) * 1;
diry = getDy(cpu);
}
if (dirx <= 100) {
dirx = (-dirx) * 1.05;
diry = getDy(cpu);
}
}
if (ball_speed_easy == true) {
if (ball._x < 400) {
if (dirx < 0) {
if (ball._y < ((cpu._y + (cpu._height / 7.5)) - 15)) {
cpuy = -8;
} else if (ball._y > ((cpu._y + (cpu._height / 7.5)) + 15)) {
cpuy = 8;
} else if ((diry <= 16) && (diry >= -16)) {
cpuy = diry;
}
} else {
cpuy = 0;
}
} else {
cpuy = 0;
}
if (bad == 5) {
_root.easy_lose++;
gotoAndPlay (129);
}
if (good == 5) {
if ((good == 5) && (bad == 0)) {
_root.perfect_easy = true;
}
_root.easy_win++;
gotoAndPlay (120);
}
}
if (ball_speed_normal == true) {
if (ball._x < 400) {
if (dirx < 0) {
if (ball._y < ((cpu._y + (cpu._height / 7.5)) - 15)) {
cpuy = -14;
} else if (ball._y > ((cpu._y + (cpu._height / 7.5)) + 15)) {
cpuy = 14;
} else if ((diry <= 16) && (diry >= -16)) {
cpuy = diry;
}
} else {
cpuy = 0;
}
} else {
cpuy = 0;
}
if (bad == 5) {
_root.normal_lose++;
gotoAndPlay (129);
}
if (good == 5) {
if ((good == 5) && (bad == 0)) {
_root.perfect_normal = true;
}
_root.normal_win++;
gotoAndPlay (120);
}
}
if (ball_speed_hard == true) {
if (ball._x < 400) {
if (dirx < 0) {
if (ball._y < ((cpu._y + (cpu._height / 7.5)) - 15)) {
cpuy = -20;
} else if (ball._y > ((cpu._y + (cpu._height / 7.5)) + 15)) {
cpuy = 20;
} else if ((diry <= 16) && (diry >= -16)) {
cpuy = diry;
}
} else {
cpuy = 0;
}
} else {
cpuy = 0;
}
if (bad == 5) {
_root.hard_lose++;
gotoAndPlay (129);
}
if (good == 5) {
if ((good == 5) && (bad == 0)) {
_root.perfect_hard = true;
}
_root.hard_win++;
gotoAndPlay (120);
}
}
if (_ymouse < 40) {
Mouse.show();
}
if (_ymouse > 40) {
Mouse.hide();
}
};
you.onEnterFrame = function () {
you._y = _root._ymouse;
};
Frame 100
stop();
if (music1 == true) {
sndmusic1.start();
}
if (music2 == true) {
sndmusic2.start();
}
if (music3 == true) {
sndmusic3.start();
}
dirx = 9;
diry = 6;
bad = 0;
good = 0;
cpuy = 0;
cpux = 0;
onEnterFrame = function () {
ball._x = ball._x + dirx;
ball._y = ball._y + diry;
if (_ymouse > 80) {
if (_ymouse < (440 - you._height)) {
you._y = _ymouse;
} else {
you._y = 440 - you._height;
}
} else {
you._y = 80;
}
if (_xmouse > 80) {
if (_xmouse < (810 - you1._width)) {
you1._x = _xmouse;
} else {
you1._x = 810 - you1._width;
}
} else {
you1._x = 80;
}
if (cpu._y < (440 - cpu._height)) {
if (cpu._y > 80) {
cpu._y = cpu._y + cpuy;
} else if (ball._y > (cpu._y + cpu._height)) {
cpu._y = 80.5;
} else {
cpu._y = 80;
}
} else if (ball._y < cpu._y) {
cpu._y = 439.5 - cpu._height;
} else {
cpu._y = 440 - cpu._height;
}
if (cpu1._x < (810 - cpu1._width)) {
if (cpu1._x > 80) {
cpu1._x = cpu1._x + cpux;
} else if (ball._x > (cpu1._x + cpu1._width)) {
cpu1._x = 80.5;
} else {
cpu1._x = 80;
}
} else if (ball._x < cpu1._x) {
cpu1._x = 809.5 - cpu1._width;
} else {
cpu1._x = 810 - cpu1._width;
}
if (ball._y < (40 + (ball._height / 2))) {
good++;
ball._x = 400;
ball._y = 200;
diry = 8;
dirx = 9;
}
if (ball._y > (400 - (ball._height / 2))) {
bad++;
ball._x = 400;
ball._y = 200;
diry = -8;
dirx = 9;
}
if (ball._x > (800 - (ball._width / 2))) {
bad++;
ball._x = 400;
ball._y = 200;
diry = 8;
dirx = -9;
}
if (ball._x < (0 + (ball._width / 2))) {
good++;
ball._x = 400;
ball._y = 200;
diry = -8;
dirx = -9;
}
if (ball.hitTest(you)) {
if (pongsound == true) {
sndpong1.start();
}
if (dirx <= 30) {
dirx = (-dirx) * 1.04;
}
if (dirx >= 30) {
dirx = (-dirx) * 1;
}
}
if (ball.hitTest(you1)) {
if (pongsound == true) {
sndpong1.start();
}
if (diry <= 30) {
diry = (-diry) * 1.04;
}
if (diry >= 30) {
diry = (-diry) * 1;
}
}
if (ball.hitTest(cpu)) {
if (pongsound == true) {
sndpong2.start();
}
if (dirx <= 30) {
dirx = (-dirx) * 1.04;
}
if (dirx >= 30) {
dirx = (-dirx) * 1;
}
}
if (ball.hitTest(cpu1)) {
if (pongsound == true) {
sndpong2.start();
}
if (diry <= 30) {
diry = (-diry) * 1.04;
}
if (diry >= 30) {
diry = (-diry) * 1;
}
}
if (ball_speed_easy == true) {
if (ball._x < 400) {
if (dirx < 0) {
if (ball._y < ((cpu._y + (cpu._height / 7.5)) - 15)) {
cpuy = -8;
} else if (ball._y > ((cpu._y + (cpu._height / 7.5)) + 15)) {
cpuy = 8;
} else if ((diry <= 16) && (diry >= -16)) {
cpuy = diry;
}
} else {
cpuy = 0;
}
} else {
cpuy = 0;
}
if (ball._y < 400) {
if (diry < 0) {
if (ball._x < ((cpu1._x + (cpu1._width / 7.5)) - 15)) {
cpux = -16;
} else if (ball._x > ((cpu1._x + (cpu._width / 7.5)) + 15)) {
cpux = 16;
} else if ((dirx <= 16) && (dirx >= -16)) {
cpux = dirx;
}
} else {
cpux = 0;
}
} else {
cpux = 0;
}
if (bad == 5) {
gotoAndPlay (129);
}
if (good == 5) {
gotoAndPlay (120);
}
}
if (ball_speed_normal == true) {
if (ball._x < 400) {
if (dirx < 0) {
if (ball._y < ((cpu._y + (cpu._height / 7.5)) - 15)) {
cpuy = -14;
} else if (ball._y > ((cpu._y + (cpu._height / 7.5)) + 15)) {
cpuy = 14;
} else if ((diry <= 16) && (diry >= -16)) {
cpuy = diry;
}
} else {
cpuy = 0;
}
} else {
cpuy = 0;
}
if (ball._y < 400) {
if (diry < 0) {
if (ball._x < ((cpu1._x + (cpu1._width / 7.5)) - 15)) {
cpux = -28;
} else if (ball._x > ((cpu1._x + (cpu._width / 7.5)) + 15)) {
cpux = 28;
} else if ((dirx <= 16) && (dirx >= -16)) {
cpux = dirx;
}
} else {
cpux = 0;
}
} else {
cpux = 0;
}
if (bad == 5) {
gotoAndPlay (129);
}
if (good == 5) {
gotoAndPlay (120);
}
}
if (ball_speed_hard == true) {
if (ball._x < 400) {
if (dirx < 0) {
if (ball._y < ((cpu._y + (cpu._height / 7.5)) - 15)) {
cpuy = -20;
} else if (ball._y > ((cpu._y + (cpu._height / 7.5)) + 15)) {
cpuy = 20;
} else if ((diry <= 16) && (diry >= -16)) {
cpuy = diry;
}
} else {
cpuy = 0;
}
} else {
cpuy = 0;
}
if (ball._y < 400) {
if (diry < 0) {
if (ball._x < ((cpu1._x + (cpu1._width / 7.5)) - 15)) {
cpux = -40;
} else if (ball._x > ((cpu1._x + (cpu._width / 7.5)) + 15)) {
cpux = 40;
} else if ((dirx <= 16) && (dirx >= -16)) {
cpux = dirx;
}
} else {
cpux = 0;
}
} else {
cpux = 0;
}
if (bad == 5) {
gotoAndPlay (129);
}
if (good == 5) {
gotoAndPlay (120);
}
}
if (_ymouse < 40) {
Mouse.show();
}
if (_ymouse > 40) {
Mouse.hide();
}
};
you.onEnterFrame = function () {
you._y = _root._ymouse;
};
Frame 110
function getDy(paddle) {
relY = ball._y - paddle._y;
relPerc = relY / paddle._height;
newDy = relPerc * 30;
return(newDy);
}
stop();
if (music1 == true) {
sndmusic1.start();
}
if (music2 == true) {
sndmusic2.start();
}
if (music3 == true) {
sndmusic3.start();
}
dirx = -9;
diry = 9;
bad = 0;
good = 0;
cpuy = 9;
youy = 9;
onEnterFrame = function () {
ball._x = ball._x + dirx;
ball._y = ball._y + diry;
if (Key.isDown(40)) {
if (you._y < (440 - you._height)) {
you._y = you._y + youy;
}
}
if (Key.isDown(38)) {
if (you._y > 80) {
you._y = you._y - youy;
}
}
if (Key.isDown(83)) {
if (cpu._y < (440 - cpu._height)) {
cpu._y = cpu._y + cpuy;
}
}
if (Key.isDown(87)) {
if (cpu._y > 80) {
cpu._y = cpu._y - cpuy;
}
}
if (ball._y < (40 + (ball._height / 2))) {
ball._y = 40 + (ball._height / 2);
diry = diry * -1;
}
if (ball._y > (400 - (ball._height / 2))) {
ball._y = 400 - (ball._height / 2);
diry = diry * -1;
}
if (ball._x > (800 - (ball._width / 2))) {
bad++;
ball._x = 400;
ball._y = 200;
diry = 9;
dirx = 9;
}
if (ball._x < (0 + (ball._width / 2))) {
good++;
ball._x = 400;
ball._y = 200;
diry = 9;
dirx = -9;
}
if (ball.hitTest(you)) {
if (pongsound == true) {
sndpong1.start();
}
if (dirx >= 100) {
dirx = (-dirx) * 1;
diry = getDy(cpu);
}
if (dirx <= 100) {
dirx = (-dirx) * 1.05;
diry = getDy(you);
}
}
if (ball.hitTest(cpu)) {
if (pongsound == true) {
sndpong2.start();
}
if (dirx >= 100) {
dirx = (-dirx) * 1;
diry = getDy(cpu);
}
if (dirx <= 100) {
dirx = (-dirx) * 1.05;
diry = getDy(cpu);
}
}
if (good == 5) {
gotoAndPlay (120);
}
if (bad == 5) {
gotoAndPlay (139);
}
if (_ymouse < 40) {
Mouse.show();
}
if (_ymouse > 40) {
Mouse.hide();
}
};
Frame 120
stop();
onEnterFrame = function () {
Mouse.show();
};
Frame 129
stop();
onEnterFrame = function () {
Mouse.show();
};
Frame 139
onEnterFrame = function () {
Mouse.show();
};
Frame 149
onEnterFrame = function () {
Mouse.show();
};
Symbol 48 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 50 MovieClip Frame 40
stop();
Symbol 76 Button
on (release) {
_root.play();
}
Symbol 77 MovieClip Frame 1
function onEnterFrame() {
if (!loaded) {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local3 >= 1) {
play();
bar._x = initX;
loaded = true;
} else {
bar._x = initX + ((_local3 - 1) * bar._width);
}
}
var _local4 = getTimer() - time;
timeAccum = timeAccum + _local4;
while (timeAccum >= FRAME_TIME) {
var _local2 = 0;
while (_local2 < timeClips.length) {
if (timeClips[_local2]._currentframe < timeClips[_local2]._totalframes) {
timeClips[_local2].nextFrame();
} else {
timeClips[_local2].gotoAndStop(1);
}
_local2++;
}
if (loaded && (_currentframe < _totalframes)) {
nextFrame();
}
timeAccum = timeAccum - FRAME_TIME;
}
time = time + _local4;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.3333333333333;
var timeAccum = 0;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
i++;
}
Symbol 77 MovieClip Frame 51
Symbol 89 Button
on (release) {
gotoAndPlay (2);
}
Symbol 100 MovieClip Frame 1
stop();
Symbol 109 Button
on (release) {
if (way1 == true) {
gotoAndPlay (91);
}
if (way2 == true) {
gotoAndPlay (100);
}
if (way3 == true) {
gotoAndPlay (110);
}
}
Symbol 110 Button
on (release) {
gotoAndPlay (11);
}
Symbol 111 Button
on (release) {
gotoAndPlay (21);
}
Symbol 112 Button
on (release) {
gotoAndPlay (31);
}
Symbol 113 Button
on (release) {
gotoAndPlay (51);
}
Symbol 143 Button
on (release) {
gotoAndPlay (3);
}
Symbol 155 Button
on (release) {
msc = "Paradise on E";
music1 = true;
music2 = false;
music3 = false;
}
Symbol 157 Button
on (release) {
msc = "Fluctuations";
music1 = false;
music2 = true;
music3 = false;
}
Symbol 158 Button
on (release) {
msc = "Trance act";
music1 = false;
music2 = false;
music3 = true;
}
Symbol 168 Button
on (release) {
pongsound = true;
se = "on";
}
Symbol 183 Button
on (release) {
msc = "off";
music1 = false;
music2 = false;
music3 = false;
}
Symbol 184 Button
on (release) {
se = "off";
pongsound = false;
}
Symbol 185 Button
on (release) {
game_dif = "easy";
ball_speed_easy = true;
ball_speed_normal = false;
ball_speed_hard = false;
}
Symbol 186 Button
on (release) {
game_dif = "normal";
ball_speed_easy = false;
ball_speed_normal = true;
ball_speed_hard = false;
}
Symbol 187 Button
on (release) {
game_dif = "hard";
ball_speed_easy = false;
ball_speed_normal = false;
ball_speed_hard = true;
}
Symbol 188 Button
on (release) {
game_type = "2 sided pong";
game_dif = "Normal";
way1 = true;
way2 = false;
way3 = false;
ball_speed_easy = false;
ball_speed_normal = true;
ball_speed_hard = false;
}
Symbol 189 Button
on (release) {
if ((((((((_root.ach1 && (_root.ach2)) && (_root.ach3)) && (_root.ach4)) && (_root.ach5)) && (_root.ach6)) && (_root.ach7)) && (_root.ach8)) && (_root.ach9 == true)) {
game_type = "4 sided pong";
game_dif = "normal";
way1 = false;
way2 = true;
way3 = false;
ball_speed_easy = false;
ball_speed_normal = true;
ball_speed_hard = false;
} else {
gotoAndPlay (41);
}
}
Symbol 194 Button
on (release) {
var savefile = SharedObject.getLocal("name1");
savefile.data.easywl = _root.easywl;
savefile.data.normalwl = _root.normalwl;
savefile.data.hardwl = _root.hardwl;
savefile.data.total_win = _root.total_win;
savefile.data.total_lose = _root.total_lose;
savefile.data.totalwl = _root.totalwl;
savefile.data.ach1 = _root.ach1;
savefile.data.ach2 = _root.ach2;
savefile.data.ach3 = _root.ach3;
savefile.data.ach4 = _root.ach4;
savefile.data.ach5 = _root.ach5;
savefile.data.ach6 = _root.ach6;
savefile.data.ach7 = _root.ach7;
savefile.data.ach8 = _root.ach8;
savefile.data.ach9 = _root.ach9;
savefile.data.achev1 = _root.achev1;
savefile.data.achev2 = _root.achev2;
savefile.data.achev3 = _root.achev3;
savefile.data.achev4 = _root.achev4;
savefile.data.achev5 = _root.achev5;
savefile.data.achev6 = _root.achev6;
savefile.data.achev7 = _root.achev7;
savefile.data.achev8 = _root.achev8;
savefile.data.achev9 = _root.achev9;
savefile.data.easy_win = _root.easy_win;
savefile.data.easy_lose = _root.easy_lose;
savefile.data.normal_win = _root.normal_win;
savefile.data.normal_lose = _root.normal_lose;
savefile.data.hard_win = _root.hard_win;
savefile.data.hard_lose = _root.hard_lose;
savefile.data.perfect_easy = _root.perfect_easy;
savefile.data.perfect_normal = _root.perfect_normal;
savefile.data.perfect_hard = _root.perfect_hard;
savefile.flush();
}
Symbol 199 Button
on (release) {
var savefile = SharedObject.getLocal("name1");
_root.achev1 = savefile.data.achev1;
_root.achev2 = savefile.data.achev2;
_root.achev3 = savefile.data.achev3;
_root.achev4 = savefile.data.achev4;
_root.achev5 = savefile.data.achev5;
_root.achev6 = savefile.data.achev6;
_root.achev7 = savefile.data.achev7;
_root.achev8 = savefile.data.achev8;
_root.achev9 = savefile.data.achev9;
_root.ach1 = savefile.data.ach1;
_root.ach2 = savefile.data.ach2;
_root.ach3 = savefile.data.ach3;
_root.ach4 = savefile.data.ach4;
_root.ach5 = savefile.data.ach5;
_root.ach6 = savefile.data.ach6;
_root.ach7 = savefile.data.ach7;
_root.ach8 = savefile.data.ach8;
_root.ach9 = savefile.data.ach9;
_root.easy_win = savefile.data.easy_win;
_root.easy_lose = savefile.data.easy_lose;
_root.normal_win = savefile.data.normal_win;
_root.normal_lose = savefile.data.normal_lose;
_root.hard_win = savefile.data.hard_win;
_root.hard_lose = savefile.data.hard_lose;
_root.easywl = savefile.data.easywl;
_root.normalwl = savefile.data.normalwl;
_root.hardwl = savefile.data.hardwl;
_root.total_win = savefile.data.total_win;
_root.total_lose = savefile.data.total_lose;
_root.totalwl = savefile.data.totalwl;
_root.perfect_easy = savefile.data.perfect_easy;
_root.perfect_normal = savefile.data.perfect_normal;
_root.perfect_hard = savefile.data.perfect_hard;
}
Symbol 202 Button
on (release) {
way1 = false;
way2 = false;
way3 = true;
game_type = "2 Player";
game_dif = "N/A";
}
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
stop();
Symbol 219 MovieClip Frame 3
stop();
Symbol 219 MovieClip Frame 4
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 2
stop();
Symbol 226 MovieClip Frame 3
stop();
Symbol 226 MovieClip Frame 4
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 3
stop();
Symbol 233 MovieClip Frame 4
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 2
stop();
Symbol 241 MovieClip Frame 3
stop();
Symbol 241 MovieClip Frame 4
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
stop();
Symbol 246 MovieClip Frame 3
stop();
Symbol 246 MovieClip Frame 4
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
stop();
Symbol 251 MovieClip Frame 3
stop();
Symbol 251 MovieClip Frame 4
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 2
stop();
Symbol 256 MovieClip Frame 3
stop();
Symbol 256 MovieClip Frame 4
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 2
stop();
Symbol 261 MovieClip Frame 3
stop();
Symbol 261 MovieClip Frame 4
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 2
stop();
Symbol 266 MovieClip Frame 3
stop();
Symbol 266 MovieClip Frame 4
stop();
Symbol 271 Button
on (release) {
gotoAndPlay (3);
}
Symbol 281 Button
on (release) {
gotoAndPlay (61);
}
Symbol 287 Button
on (release) {
gotoAndPlay (71);
}
Symbol 291 Button
on (release) {
gotoAndPlay (51);
}
Symbol 296 Button
on (release) {
gotoAndPlay (61);
}
Symbol 297 Button
on (release) {
gotoAndPlay (81);
}
Symbol 300 Button
on (release) {
gotoAndPlay (71);
}
Symbol 305 Button
on (release) {
if (ball_speed_easy == true) {
easy_lose++;
}
if (ball_speed_normal == true) {
normal_lose++;
}
if (ball_speed_hard == true) {
hard_lose++;
}
sndmusic1.stop();
sndmusic2.stop();
sndmusic3.stop();
gotoAndPlay (3);
}
Symbol 329 Button
on (release) {
sndmusic1.stop();
sndmusic2.stop();
sndmusic3.stop();
gotoAndStop (3);
}