Frame 3
hitSnd = new Sound(this);
hitSNd.attachSound("HitSnd");
pitSnd = new Sound(this);
pitSNd.attachSound("pitSnd");
swingSnd = new Sound(this);
swingSNd.attachSound("swingSnd");
playball = new Sound(this);
playball.attachSOund("playball");
cheering = new Sound(this);
cheering.attachSound("cheering");
moveSnd = new Sound(this);
moveSnd.attachSound("moveSnd");
hitSnd2 = new Sound(this);
hitSnd2.attachSound("hitSnd2");
superHitSnd = new Sound(this);
superHitSnd.attachSOund("superHitSnd");
boos = new Sound(this);
boos.attachSound("boos");
ooaahhh = new Sound(this);
ooaahhh.attachSOund("ooaahhh");
applause = new Sound(this);
applause.attachSOund("applause");
demo4 = new Sound(this);
demo4.attachSound("demo4");
demo1 = new Sound(this);
demo1.attachSound("demo1");
demo2 = new Sound(this);
demo2.attachSound("demo2");
demo3 = new Sound(this);
demo3.attachSound("demo3");
cntNum = 0;
cntCount = 0;
Frame 21
if (_framesloaded >= _totalframes) {
this.gotoANdPlay(_currentframe + 1);
} else {
this.gotoANdPlay(_currentframe - 1);
}
Frame 25
hitSnd.start();
Frame 31
demo4.start(0, 999);
Frame 32
this.stop();
Frame 36
demo4.stop();
Frame 40
runNum1 = 0;
runNum2 = 0;
runNum3 = 0;
cntNum = 0;
cntCount = 0;
gotoAndPlay (348);
Frame 48
if (cntNum == 1) {
gotoAndPlay (781);
} else {
gotoAndPlay (1213);
}
Frame 69
this.stop();
Frame 76
this.gotoAndPlay("title");
Frame 95
this.stop();
Frame 97
this.gotoAndPlay("title");
Frame 106
point1 = runNum1 * 10;
point2 = runNum2 * 20;
point3 = runNum3 * 30;
points = (point1 + point2) + point3;
if (((runNum1 + runNum2) + runNum3) == 33) {
points = 1000;
}
Frame 128
demo4.start(0, 999);
Frame 144
cheering.start();
APPLAUSE.START();
Frame 213
moveSnd.start();
Instance of Symbol 105 MovieClip in Frame 213
onClipEvent (load) {
this.gotoAndStop(_root.runNum1 + 1);
}
Frame 233
moveSnd.start();
Instance of Symbol 105 MovieClip in Frame 233
onClipEvent (load) {
this.gotoAndStop(_root.runNum2 + 1);
}
Frame 256
moveSnd.start();
Instance of Symbol 105 MovieClip in Frame 256
onClipEvent (load) {
this.gotoAndStop(_root.runNum3 + 1);
}
Frame 277
Frame 278
hitSnd.start();
superhitSnd.start();
Instance of Symbol 119 MovieClip in Frame 278
onClipEvent (load) {
if (_root.points == 1000) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Frame 281
this.loadVariables("mindata.dat");
Frame 294
if (minscore == null) {
this.gotoAndPlay(_currentframe - 1);
} else {
this.gotoAndPlay(_currentframe + 1);
}
Frame 295
if (Number(minscore) < points) {
this.gotoAndPlay("rankIn");
} else {
this.gotoAndPlay("rankOut");
}
Frame 298
this.stop();
cheering.start();
Frame 305
this.stop();
ooaahhh.start();
Frame 313
this.stop();
Instance of Symbol 195 MovieClip in Frame 313
onClipEvent (load) {
minscore = _root.minscore;
score = _root.points;
km = (((score * score) * 8) + (score * 13)) + 94;
}
Frame 321
this.gotoANdPlay("title");
Frame 322
this.stop();
Frame 336
this.gotoANdPlay("title");
Frame 348
remain = 10;
runNum = 0;
Instance of Symbol 237 MovieClip in Frame 348
onClipEvent (load) {
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
this._x = this._x - 1;
}
Frame 349
this.stop();
Frame 350
this.gotoAndPlay("gameEnt");
Frame 358
playball.start();
Instance of Symbol 285 MovieClip "bat" in Frame 358
onClipEvent (load) {
lastX = _xmouse;
lastY = _ymouse;
}
onClipEvent (mouseMove) {
moveX = _xmouse - (lastX / 30);
moveY = _ymouse - (lastY / 30);
nxtX = _x + moveX;
nxtY = _y + moveY;
if (nxtX < 110) {
nxtX = 110;
} else if (155 < nxtX) {
nxtX = 155;
}
if (nxtY < 235) {
nxtY = 235;
} else if (270 < nxtY) {
nxtY = 270;
}
this._x = nxtX;
this._y = nxtY;
}
onClipEvent (mouseDown) {
if (!_root.swing) {
_root.swing = 1;
}
_root.swingSnd.start();
if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 288 MovieClip in Frame 358
onClipEvent (load) {
if (_root.runNum >= 5) {
this.gotoAndStop(2);
}
}
Instance of Symbol 105 MovieClip in Frame 358
onClipEvent (load) {
this.gotoAndStop(_root.runNum + 1);
}
Frame 359
cheering.start();
Frame 362
demo2.start(0, 999);
this.gotoAndPlay("game");
Frame 363
if (0 >= remain) {
this.gotoAndPlay("judge");
}
if ((remain == 2) && (!ballflag)) {
demo1.stop();
demo2.start(0, 999);
}
Frame 364
pit.gotoAndStop(1);
this.stop();
Instance of Symbol 293 MovieClip in Frame 364
onClipEvent (load) {
if (_root.ballflag) {
this._visible = 0;
}
}
Frame 369
if ((remain == 3) && (!ballflag)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay("pit");
}
Frame 370
demo2.stop();
demo1.start(0, 999);
Instance of Symbol 66 MovieClip in Frame 414
onClipEvent (load) {
if (_root.remain == 3) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Frame 433
ballflag = 0;
pit.gotoAndPlay(2);
xwidth = 0;
xwidth = -40 + (math.random() * 80);
spd = 60 + math.round(math.random() * 70);
ballHeight = math.round(math.random() * 30) + 10;
this.stop();
Frame 434
rTime = getTimer();
rballY = 60;
rballX = 200;
count = 0;
swing = 0;
ltime = ((390 - rballY) / spd) / 3;
Frame 435
nowTime = getTimer() - rTime;
nowTime = nowTime / 1000;
nowScale = nowTime / lTime;
ball._y = rballY + (((390 - rballY) * nowScale) * nowScale);
ball._x = rballX + ((nowScale * nowScale) * xwidth);
nxtscale = (ball._y - rballY) * 1.5;
if (nxtscale < 100) {
nxtscale = 100;
}
ball._xscale = nxtscale;
ball._yscale = nxtscale;
shadow._xscale = nxtscale / 2;
shadow._yscale = nxtscale / 2;
shadow._y = ball._y + (ballHeight * nowTime);
shadow._x = ball._x;
if (ball.hitTest(bat.bat)) {
batnum = bat._currentframe;
batpos = ball._x - bat._x;
this.gotoAndPlay("hit");
}
if (ball.hitTest(bat.body) && (!swing)) {
this.gotoAndPlay("deadball");
}
if ((!count) && (shadow.hitTest(base))) {
count = 1;
}
if (390 < ball._y) {
ball._visible = 0;
if (count) {
this.gotoAndPlay("strike");
} else if (swing) {
this.gotoAndPlay("strike");
} else {
this.gotoAndPlay("ball");
}
}
Frame 436
this.gotoAndPlay(_currentframe - 1);
Frame 443
bat.gotoAndPlay("Out");
Frame 471
bat.gotoAndStop(1);
remain--;
this.gotoANdPlay("nxtgame");
Frame 503
ballflag = 1;
this.gotoANdPlay("nxtgame");
Frame 506
bat.gotoAndStop("deadball");
Frame 536
bat.gotoAndStop(1);
ballflag = 1;
this.gotoANdPlay("nxtgame");
Frame 551
this.gotoAndPlay("judge");
Frame 558
hitSnd.start();
cheering.start();
remain--;
if (batnum == 3) {
batpos = batpos - 20;
} else if (batnum == 4) {
batpos = batpos - 40;
} else {
batpos = batpos - 32;
}
if (batnum == 3) {
vkd = (45 - math.abs(batpos - 23)) - math.ceil(math.random() * 30);
spd = (200 - (math.abs(batpos - 23) * 2)) - math.ceil(math.random() * 40);
if (batpos < 8) {
spd = spd * 0.5;
vkd = vkd - (math.random() * 100);
hkd = math.round(math.random() * 180);
} else if (batpos < 14) {
spd = spd * 0.75;
hkd = 10 + math.round(math.random() * 30);
} else if (batpos < 27) {
superHitSnd.start();
spd = spd * 0.75;
hkd = 40 + math.round(math.random() * 20);
} else {
spd = spd * 0.65;
vkd = vkd - (math.random() * 100);
hkd = math.round(math.random() * 180);
}
vkd = vkd - (math.random() * 30);
hkd = (hkd + 30) - (math.random() * 60);
spd = (spd + 30) - (math.random() * 30);
} else if (batnum == 4) {
vkd = (90 - math.abs(batpos - 35)) - math.ceil(math.random() * 30);
spd = (200 - (math.abs(batpos - 35) * 2)) - math.ceil(math.random() * 40);
if (batpos < 13) {
spd = spd * 0.6;
hkd = math.round(math.random() * 180);
} else if (batpos < 28) {
spd = spd * 0.7;
hkd = 10 + math.round(math.random() * 30);
} else if (batpos < 33) {
spd = spd * 0.75;
hkd = 40 + math.round(math.random() * 20);
} else if (batpos < 44) {
superHitSnd.start();
spd = spd * 0.75;
hkd = 50 + math.round(math.random() * 30);
} else {
spd = spd * 0.7;
hkd = math.round(math.random() * 180);
}
hkd = (hkd + 30) - (math.random() * 60);
spd = (spd + 30) - (math.random() * 30);
} else {
vkd = (math.abs(batpos - 36) + 110) + math.ceil(math.random() * 30);
spd = (200 - (math.abs(batpos - 36) * 2)) - math.ceil(math.random() * 40);
if (batpos < 18) {
spd = spd * 0.5;
vkd = vkd + (math.random() * 100);
hkd = math.round(math.random() * 180);
} else if (batpos < 29) {
spd = spd * 0.74;
hkd = 10 + math.round(math.random() * 30);
} else if (batpos < 42) {
hitSNd.start();
hitSNd.start();
spd = spd * 0.78;
hkd = 40 + math.round(math.random() * 20);
} else {
spd = spd * 0.65;
vkd = vkd + (math.random() * 100);
hkd = 90 + math.round(math.random() * 90);
}
vkd = vkd + (math.random() * 30);
hkd = (hkd + 30) - (math.random() * 60);
spd = (spd + 30) - (math.random() * 30);
}
hkd = hkd + (ballHeight * 0.5);
if (spd < 120) {
spd = 120;
}
spd = (spd * 1000) / 3600;
rhkd = hkd;
pix = 5.6;
g = 9.8;
k = 0.3;
boTimes = 0;
ky = 1;
kz = 0.38;
dir = 1;
Frame 559
rshadowY = shadow._y;
rshadowX = shadow._x;
rTime = getTimer();
Vz = 1 + (spd * Math.sin((Math.PI/180) * hkd));
Vy = spd * Math.sin((Math.PI/180) * vkd);
Vx = spd * Math.cos((Math.PI/180) * vkd);
vz = vz * 0.62;
vx = vx * 0.62;
vy = vy * 0.62;
rvx = vx;
rvy = vy;
rvz = vz;
v = Math.sqrt((vx * vx) + (vy * vy));
Frame 560
lY = moveY;
lX = moveX;
lZ = moveZ;
t = (getTimer() - rTime) / 1000;
t = t * 1.3;
dt = t / 360;
vy = rvy - (((k * v) * rvy) * dt);
vx = rvx - (((k * v) * rvx) * dt);
vz = (rvz - (g * dt)) - (((k * v) * rvz) * dt);
moveZ = (Vz * t) - (((0.5 * g) * t) * t);
moveY = Vy * t;
moveX = Vx * t;
if (moveZ < 0) {
if (((boTimes == 0) && (dir == 1)) && (stage.stand.hitTest(shadow._x, shadow._y, true))) {
_root.gotoAndPlay("hr");
} else if (stage.stand.hitTest(shadow._x, shadow._y, true)) {
this.gotoAndPlay("wipe");
} else if (stage.foul.hitTest(shadow._x, shadow._y, true)) {
this.gotoAndPlay("wipe");
} else {
boTimes++;
if ((3 < boTimes) && (dir == -1)) {
this.gotoAndPlay("wipe");
}
rshadowY = shadow._y;
rshadowX = shadow._x;
rTime = getTimer();
vy = vy * math.pow(ky, boTimes);
vz = vz * math.pow(kz, boTimes);
vx = vx * math.pow(ky, boTimes);
if (vz < 1) {
vz = 1;
vy = vy * 0.94;
vx = vx * 0.94;
if (5 < boTimes) {
this.gotoAndPlay("wipe");
}
}
rvy = vy;
rvx = vx;
rvz = vz;
moveY = 0;
moveX = 0;
moveZ = 0;
lY = moveY;
lX = moveX;
lZ = moveZ;
v = Math.sqrt((vx * vx) + (vy * vy));
}
}
if ((((224 < shadow._y) && (100 < shadow._x)) && (shadow._x < 300)) || (300 < shadow._y)) {
shadow._y = rshadowY - ((moveY * pix) * dir);
shadow._x = rshadowX + ((moveX * pix) * dir);
} else {
if (250 < stage._y) {
shadow._y = shadow._y - (((moveY - lY) * pix) * dir);
} else {
stage._y = stage._y + (((moveY - lY) * pix) * dir);
}
if ((480 < stage._x) || (stage._x < -74)) {
shadow._x = shadow._x + (((moveX - lX) * pix) * dir);
} else {
stage._x = stage._x - (((moveX - lX) * pix) * dir);
}
}
if (shadow._y < 160) {
shadow._alpha = 0;
}
if (2 < moveZ) {
ball._xscale = moveZ * 50;
ball._yscale = moveZ * 50;
} else {
ball._xscale = 100;
ball._yscale = 100;
}
if (15 < moveZ) {
ball.gotoANdStop(1);
} else {
ball.gotoANdStop(2);
}
ball._x = shadow._x;
ball._y = shadow._y - (moveZ * pix);
if ((((shadow._y < -50) || (400 < shadow._y)) || (shadow._x < -50)) || (450 < shadow._x)) {
if (stage.stand.hitTest(shadow._x, shadow._y, true)) {
this.gotoAndPlay("hr");
} else {
this.gotoAndPLay("wipe");
}
}
if (((dir == 1) && (stage.fance.hitTest(ball._x, ball._y, true))) && ((moveZ * pix) < 8)) {
if (boTimes == 0) {
ooaahhh.start();
ooaahhh.start();
}
dir = -1;
vy = vy * 0.4;
vx = vx * 0.4;
rvy = vy;
rvx = vx;
rvz = vz;
v = Math.sqrt((vx * vx) + (vy * vy));
t = (getTimer() - rTime) / 1000;
moveZ = (Vz * t) - (((0.5 * g) * t) * t);
moveY = Vy * t;
moveX = Vx * t;
lY = moveY;
lX = moveX;
lZ = moveZ;
rshadowY = shadow._y;
rshadowX = shadow._x;
}
Frame 561
this.gotoAndPlay("test");
Frame 579
this.gotoAndPlay("nxtgame");
Frame 580
nxtstageY = stage._y + 3;
Frame 581
if (235 < nxtstageY) {
this.gotoAndPlay(_currentframe + 1);
} else {
stage._y = nxtstageY;
this.gotoAndPlay(_currentframe - 1);
}
Frame 582
cheering.start();
this.play();
runNum++;
if (remain == 2) {
runNum++;
}
Instance of Symbol 80 MovieClip in Frame 582
onClipEvent (load) {
if (_root.remain == 2) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 237 MovieClip in Frame 582
onClipEvent (load) {
if (_root.remain == 2) {
this._visible = 0;
} else {
this._visible = 1;
this.gotoANdStop(2);
}
}
onClipEvent (enterFrame) {
this._x = this._x - 2;
}
Instance of Symbol 326 MovieClip in Frame 591
onClipEvent (load) {
if (_root.remain == 2) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Frame 592
rTime = getTimer();
Frame 594
if (1500 < (getTimer() - rTime)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 605
this.gotoAndPlay("nxtgame");
Frame 606
demo2.stop();
Instance of Symbol 342 MovieClip in Frame 670
onClipEvent (load) {
this.gotoAndStop(_root.runNum + 1);
}
Frame 728
if (runnum >= 5) {
cheering.start();
APPLAUSE.START();
} else {
boos.start();
}
Instance of Symbol 346 MovieClip in Frame 728
onClipEvent (load) {
if (_root.runnum >= 5) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 776
if (runnum >= 5) {
runNum1 = runNum;
cntnum = 1;
gotoAndPlay (781);
} else {
gotoAndPlay (79);
}
Frame 781
remain = 10;
runNum = 0;
Frame 782
this.stop();
Frame 783
this.gotoAndPlay("gameEntB");
Frame 791
playball.start();
Instance of Symbol 285 MovieClip "bat" in Frame 791
onClipEvent (load) {
lastX = _xmouse;
lastY = _ymouse;
}
onClipEvent (mouseMove) {
moveX = _xmouse - (lastX / 30);
moveY = _ymouse - (lastY / 30);
nxtX = _x + moveX;
nxtY = _y + moveY;
if (nxtX < 110) {
nxtX = 110;
} else if (155 < nxtX) {
nxtX = 155;
}
if (nxtY < 235) {
nxtY = 235;
} else if (270 < nxtY) {
nxtY = 270;
}
this._x = nxtX;
this._y = nxtY;
}
onClipEvent (mouseDown) {
if (!_root.swing) {
_root.swing = 1;
}
_root.swingSnd.start();
if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 288 MovieClip in Frame 791
onClipEvent (load) {
if (_root.runNum >= 6) {
this.gotoAndStop(2);
}
}
Instance of Symbol 105 MovieClip in Frame 791
onClipEvent (load) {
this.gotoAndStop(_root.runNum + 1);
}
Frame 792
cheering.start();
Frame 795
demo2.start(0, 999);
Frame 796
if (0 >= remain) {
this.gotoAndPlay("judgeB");
}
if ((remain == 2) && (!ballflag)) {
demo1.stop();
demo2.start(0, 999);
}
Frame 797
pit.gotoAndStop(1);
this.stop();
Instance of Symbol 293 MovieClip in Frame 797
onClipEvent (load) {
if (_root.ballflag) {
this._visible = 0;
}
}
Frame 802
if ((remain == 3) && (!ballflag)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay("pitB");
}
Frame 803
demo2.stop();
demo1.start(0, 999);
Instance of Symbol 66 MovieClip in Frame 847
onClipEvent (load) {
if (_root.remain == 3) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Frame 866
ballflag = 0;
pit.gotoAndPlay(2);
xwidth = 0;
kbrndnum = math.round(math.random() * 20);
if (8 >= kbrndnum) {
kb = 1;
} else {
kb = 0;
}
xwidth = -40 + (math.random() * 80);
spd = 120 + math.round(math.random() * 50);
ballHeight = math.round(math.random() * 30) + 10;
if (kb) {
kdirrnd = math.ceil(math.random() * 2);
if (kdirrnd) {
kdir = 1;
} else {
kdir = -1;
}
spd = math.round(spd * 0.6);
}
this.stop();
Frame 867
rTime = getTimer();
rballY = 60;
rballX = 200;
count = 0;
swing = 0;
ltime = ((390 - rballY) / spd) / 3;
if (kb) {
ball.gotoAndStop(2);
}
Frame 868
nowTime = getTimer() - rTime;
nowTime = nowTime / 1000;
nowScale = nowTime / lTime;
ball._y = rballY + (((390 - rballY) * nowScale) * nowScale);
if (!kb) {
ball._x = rballX + ((nowScale * nowScale) * xwidth);
} else {
ball._x = rballX + ((xwidth * Math.sin((Math.PI/180) * (180 * nowScale))) * kdir);
}
nxtscale = (ball._y - rballY) * 1.5;
if (nxtscale < 100) {
nxtscale = 100;
}
ball._xscale = nxtscale;
ball._yscale = nxtscale;
shadow._xscale = nxtscale / 2;
shadow._yscale = nxtscale / 2;
shadow._y = ball._y + (ballHeight * nowTime);
shadow._x = ball._x;
if (ball.hitTest(bat.bat)) {
batnum = bat._currentframe;
batpos = ball._x - bat._x;
this.gotoAndPlay("hitB");
}
if (ball.hitTest(bat.body) && (!swing)) {
this.gotoAndPlay("deadballB");
}
if ((!count) && (shadow.hitTest(base))) {
count = 1;
}
if (390 < ball._y) {
ball._visible = 0;
if (count) {
this.gotoAndPlay("strikeB");
} else if (swing) {
this.gotoAndPlay("strikeB");
} else {
this.gotoAndPlay("ballB");
}
}
Frame 869
this.gotoAndPlay(_currentframe - 1);
Frame 876
bat.gotoAndPlay("Out");
Frame 904
bat.gotoAndStop(1);
remain--;
this.gotoANdPlay("nxtgameB");
Frame 936
ballflag = 1;
this.gotoANdPlay("nxtgameB");
Frame 939
bat.gotoAndStop("deadball");
Frame 969
bat.gotoAndStop(1);
ballflag = 1;
this.gotoANdPlay("nxtgameB");
Frame 984
this.gotoAndPlay("judgeB");
Frame 991
hitSnd.start();
cheering.start();
remain--;
if (batnum == 3) {
batpos = batpos - 20;
} else if (batnum == 4) {
batpos = batpos - 40;
} else {
batpos = batpos - 32;
}
if (batnum == 3) {
vkd = (45 - math.abs(batpos - 23)) - math.ceil(math.random() * 30);
spd = (200 - (math.abs(batpos - 23) * 2)) - math.ceil(math.random() * 40);
if (batpos < 8) {
spd = spd * 0.5;
vkd = vkd - (math.random() * 100);
hkd = math.round(math.random() * 180);
} else if (batpos < 14) {
spd = spd * 0.75;
hkd = 10 + math.round(math.random() * 30);
} else if (batpos < 27) {
superHitSnd.start();
spd = spd * 0.75;
hkd = 40 + math.round(math.random() * 20);
} else {
spd = spd * 0.65;
vkd = vkd - (math.random() * 100);
hkd = math.round(math.random() * 180);
}
vkd = vkd - (math.random() * 30);
hkd = (hkd + 30) - (math.random() * 60);
spd = (spd + 30) - (math.random() * 30);
} else if (batnum == 4) {
vkd = (90 - math.abs(batpos - 35)) - math.ceil(math.random() * 30);
spd = (200 - (math.abs(batpos - 35) * 2)) - math.ceil(math.random() * 40);
if (batpos < 13) {
spd = spd * 0.6;
hkd = math.round(math.random() * 180);
} else if (batpos < 28) {
spd = spd * 0.7;
hkd = 10 + math.round(math.random() * 30);
} else if (batpos < 33) {
spd = spd * 0.75;
hkd = 40 + math.round(math.random() * 20);
} else if (batpos < 44) {
superHitSnd.start();
spd = spd * 0.75;
hkd = 50 + math.round(math.random() * 30);
} else {
spd = spd * 0.7;
hkd = math.round(math.random() * 180);
}
hkd = (hkd + 30) - (math.random() * 60);
spd = (spd + 30) - (math.random() * 30);
} else {
vkd = (math.abs(batpos - 36) + 110) + math.ceil(math.random() * 30);
spd = (200 - (math.abs(batpos - 36) * 2)) - math.ceil(math.random() * 40);
if (batpos < 18) {
spd = spd * 0.5;
vkd = vkd + (math.random() * 100);
hkd = math.round(math.random() * 180);
} else if (batpos < 29) {
spd = spd * 0.74;
hkd = 10 + math.round(math.random() * 30);
} else if (batpos < 42) {
hitSNd.start();
hitSNd.start();
spd = spd * 0.78;
hkd = 40 + math.round(math.random() * 20);
} else {
spd = spd * 0.65;
vkd = vkd + (math.random() * 100);
hkd = 90 + math.round(math.random() * 90);
}
vkd = vkd + (math.random() * 30);
hkd = (hkd + 30) - (math.random() * 60);
spd = (spd + 30) - (math.random() * 30);
}
hkd = hkd + (ballHeight * 0.5);
if (spd < 120) {
spd = 120;
}
spd = (spd * 1000) / 3600;
rhkd = hkd;
pix = 5.6;
g = 9.8;
k = 0.3;
boTimes = 0;
ky = 1;
kz = 0.38;
dir = 1;
Frame 992
rshadowY = shadow._y;
rshadowX = shadow._x;
rTime = getTimer();
Vz = 1 + (spd * Math.sin((Math.PI/180) * hkd));
Vy = spd * Math.sin((Math.PI/180) * vkd);
Vx = spd * Math.cos((Math.PI/180) * vkd);
vz = vz * 0.6;
vx = vx * 0.6;
vy = vy * 0.62;
rvx = vx;
rvy = vy;
rvz = vz;
v = Math.sqrt((vx * vx) + (vy * vy));
Frame 993
lY = moveY;
lX = moveX;
lZ = moveZ;
t = (getTimer() - rTime) / 1000;
t = t * 1.3;
dt = t / 360;
vy = rvy - (((k * v) * rvy) * dt);
vx = rvx - (((k * v) * rvx) * dt);
vz = (rvz - (g * dt)) - (((k * v) * rvz) * dt);
moveZ = (Vz * t) - (((0.5 * g) * t) * t);
moveY = Vy * t;
moveX = Vx * t;
if (moveZ < 0) {
if (((boTimes == 0) && (dir == 1)) && (stage.stand.hitTest(shadow._x, shadow._y, true))) {
_root.gotoAndPlay("hrB");
} else if (stage.stand.hitTest(shadow._x, shadow._y, true)) {
this.gotoAndPlay("wipeB");
} else if (stage.foul.hitTest(shadow._x, shadow._y, true)) {
this.gotoAndPlay("wipeB");
} else {
boTimes++;
if ((2 < boTimes) && (dir == -1)) {
this.gotoAndPlay("wipeB");
}
rshadowY = shadow._y;
rshadowX = shadow._x;
rTime = getTimer();
vy = vy * math.pow(ky, boTimes);
vz = vz * math.pow(kz, boTimes);
vx = vx * math.pow(ky, boTimes);
if (vz < 1) {
vz = 1;
vy = vy * 0.94;
vx = vx * 0.94;
if (8 < boTimes) {
this.gotoAndPlay("wipeB");
}
}
rvy = vy;
rvx = vx;
rvz = vz;
moveY = 0;
moveX = 0;
moveZ = 0;
lY = moveY;
lX = moveX;
lZ = moveZ;
v = Math.sqrt((vx * vx) + (vy * vy));
}
}
if ((((224 < shadow._y) && (100 < shadow._x)) && (shadow._x < 300)) || (300 < shadow._y)) {
shadow._y = rshadowY - ((moveY * pix) * dir);
shadow._x = rshadowX + ((moveX * pix) * dir);
} else {
if (400 < stage._y) {
shadow._y = shadow._y - (((moveY - lY) * pix) * dir);
} else {
stage._y = stage._y + (((moveY - lY) * pix) * dir);
}
if ((490 < stage._x) || (stage._x < -70)) {
shadow._x = shadow._x + (((moveX - lX) * pix) * dir);
} else {
stage._x = stage._x - (((moveX - lX) * pix) * dir);
}
}
if (shadow._y < 160) {
shadow._alpha = 0;
}
if (2 < moveZ) {
ball._xscale = moveZ * 50;
ball._yscale = moveZ * 50;
} else {
ball._xscale = 100;
ball._yscale = 100;
}
if (15 < moveZ) {
ball.gotoANdStop(1);
} else {
ball.gotoANdStop(2);
}
ball._x = shadow._x;
ball._y = shadow._y - (moveZ * pix);
if ((((shadow._y < -50) || (400 < shadow._y)) || (shadow._x < -50)) || (450 < shadow._x)) {
if (stage.stand.hitTest(shadow._x, shadow._y, true)) {
this.gotoAndPlay("hrB");
} else {
this.gotoAndPLay("wipeB");
}
}
if (((dir == 1) && (stage.fance.hitTest(ball._x, ball._y, true))) && ((moveZ * pix) < 8)) {
if (boTimes == 0) {
ooaahhh.start();
ooaahhh.start();
}
dir = -1;
vy = vy * 0.4;
vx = vx * 0.4;
rvy = vy;
rvx = vx;
rvz = vz;
v = Math.sqrt((vx * vx) + (vy * vy));
t = (getTimer() - rTime) / 1000;
moveZ = (Vz * t) - (((0.5 * g) * t) * t);
moveY = Vy * t;
moveX = Vx * t;
lY = moveY;
lX = moveX;
lZ = moveZ;
}
Frame 994
this.gotoAndPlay("testB");
Frame 1012
this.gotoAndPlay("nxtgameB");
Frame 1013
if (stage._x < 250) {
nxtstageX = stage._x + math.ceil((250 - stage._x) / 10);
} else {
nxtstageX = stage._x - math.ceil((stage._x - 250) / 10);
}
if (stage._y < 250) {
nxtstageY = stage._y + math.ceil((250 - stage._y) / 10);
} else {
nxtstageY = stage._y - math.ceil((stage._y - 250) / 10);
}
Frame 1014
if ((nxtstageX >= 248) && (252 >= nxtstageX)) {
stage._x = 250;
} else {
stage._x = nxtstageX;
}
if ((nxtstageY >= 248) && (252 >= nxtstageY)) {
stage._y = 250;
} else {
stage._y = nxtstageY;
}
if ((stage._x == 250) && (stage._y == 250)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPLay(_currentframe - 1);
}
Frame 1015
cheering.start();
this.play();
runNum++;
if (remain == 2) {
runNum++;
}
Instance of Symbol 401 MovieClip in Frame 1015
onClipEvent (load) {
rnd = math.random() * 20;
if (rnd < 10) {
this.gotoAndStop(2);
}
}
Instance of Symbol 80 MovieClip in Frame 1015
onClipEvent (load) {
if (_root.remain == 2) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 402 MovieClip in Frame 1015
onClipEvent (load) {
if (_root.remain == 2) {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 326 MovieClip in Frame 1023
onClipEvent (load) {
if (_root.remain == 2) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Frame 1024
rTime = getTimer();
Frame 1026
if (1500 < (getTimer() - rTime)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 1034
this.gotoAndPlay("nxtgameB");
Frame 1035
demo2.stop();
Instance of Symbol 342 MovieClip in Frame 1099
onClipEvent (load) {
this.gotoAndStop(_root.runNum + 1);
}
Frame 1157
if (runnum >= 6) {
cheering.start();
APPLAUSE.START();
} else {
boos.start();
}
Instance of Symbol 346 MovieClip in Frame 1157
onClipEvent (load) {
if (_root.runnum >= 6) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 1205
if (runnum >= 6) {
runNum2 = runNum;
cntnum = 2;
gotoAndPlay (1213);
} else {
gotoAndPlay (79);
}
Frame 1213
remain = 10;
runNum = 0;
Frame 1214
this.stop();
Frame 1215
this.gotoAndPlay("gameEntC");
Frame 1223
playball.start();
Instance of Symbol 285 MovieClip "bat" in Frame 1223
onClipEvent (load) {
lastX = _xmouse;
lastY = _ymouse;
}
onClipEvent (mouseMove) {
moveX = _xmouse - (lastX / 30);
moveY = _ymouse - (lastY / 30);
nxtX = _x + moveX;
nxtY = _y + moveY;
if (nxtX < 110) {
nxtX = 110;
} else if (155 < nxtX) {
nxtX = 155;
}
if (nxtY < 235) {
nxtY = 235;
} else if (270 < nxtY) {
nxtY = 270;
}
this._x = nxtX;
this._y = nxtY;
}
onClipEvent (mouseDown) {
if (!_root.swing) {
_root.swing = 1;
}
_root.swingSnd.start();
if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 288 MovieClip in Frame 1223
onClipEvent (load) {
if (_root.runNum >= 7) {
this.gotoAndStop(2);
}
}
Instance of Symbol 105 MovieClip in Frame 1223
onClipEvent (load) {
this.gotoAndStop(_root.runNum + 1);
}
Frame 1224
cheering.start();
Frame 1227
demo3.start(0, 999);
Frame 1228
if (0 >= remain) {
this.gotoAndPlay("judgeC");
}
if ((remain == 2) && (!ballflag)) {
demo1.stop();
demo3.start(0, 999);
}
Frame 1229
pit.gotoAndStop(1);
this.stop();
Instance of Symbol 293 MovieClip in Frame 1229
onClipEvent (load) {
if (_root.ballflag) {
this._visible = 0;
}
}
Frame 1234
if ((remain == 3) && (!ballflag)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay("pitC");
}
Frame 1235
demo3.stop();
demo1.start(0, 999);
Instance of Symbol 66 MovieClip in Frame 1279
onClipEvent (load) {
if (_root.remain == 3) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Frame 1298
ballflag = 0;
pit.gotoAndPlay(2);
xwidth = 0;
kbrndnum = math.round(math.random() * 20);
if (8 >= kbrndnum) {
kb = 1;
} else {
kb = 0;
}
xwidth = -40 + (math.random() * 80);
spd = 150 + math.round(math.random() * 70);
ballHeight = math.round(math.random() * 30) + 10;
if (kb) {
kdirrnd = math.ceil(math.random() * 2);
if (kdirrnd) {
kdir = 1;
} else {
kdir = -1;
}
spd = math.round(spd * 0.6);
xwidth = math.round(xwidth * 1.2);
}
this.stop();
Frame 1299
rTime = getTimer();
rballY = 60;
rballX = 200;
count = 0;
swing = 0;
ltime = ((390 - rballY) / spd) / 3;
if (kb) {
ball.gotoAndStop(2);
} else {
ball.gotoAndStop(3);
}
Frame 1300
nowTime = getTimer() - rTime;
nowTime = nowTime / 1000;
nowScale = nowTime / lTime;
ball._y = rballY + (((390 - rballY) * nowScale) * nowScale);
if (!kb) {
ball._x = rballX + ((nowScale * nowScale) * xwidth);
} else {
ball._x = rballX + ((xwidth * Math.sin((Math.PI/180) * (180 * nowScale))) * kdir);
}
nxtscale = (ball._y - rballY) * 1.5;
if (nxtscale < 100) {
nxtscale = 100;
}
ball._xscale = nxtscale;
ball._yscale = nxtscale;
shadow._xscale = nxtscale / 2;
shadow._yscale = nxtscale / 2;
shadow._y = ball._y + (ballHeight * nowTime);
shadow._x = ball._x;
if (ball.hitTest(bat.bat)) {
batnum = bat._currentframe;
batpos = ball._x - bat._x;
this.gotoAndPlay("hitC");
}
if (ball.hitTest(bat.body) && (!swing)) {
this.gotoAndPlay("deadballC");
}
if ((!count) && (shadow.hitTest(base))) {
count = 1;
}
if (390 < ball._y) {
ball._visible = 0;
if (count) {
this.gotoAndPlay("strikeC");
} else if (swing) {
this.gotoAndPlay("strikeC");
} else {
this.gotoAndPlay("ballC");
}
}
Frame 1301
this.gotoAndPlay(_currentframe - 1);
Frame 1308
bat.gotoAndPlay("Out");
Frame 1336
bat.gotoAndStop(1);
remain--;
this.gotoANdPlay("nxtgameC");
Frame 1368
ballflag = 1;
this.gotoANdPlay("nxtgameC");
Frame 1371
bat.gotoAndStop("deadball");
Frame 1401
bat.gotoAndStop(1);
ballflag = 1;
this.gotoANdPlay("nxtgameC");
Frame 1416
this.gotoAndPlay("judgeC");
Frame 1423
hitSnd.start();
cheering.start();
remain--;
if (batnum == 3) {
batpos = batpos - 20;
} else if (batnum == 4) {
batpos = batpos - 40;
} else {
batpos = batpos - 32;
}
if (batnum == 3) {
vkd = (45 - math.abs(batpos - 23)) - math.ceil(math.random() * 30);
spd = (200 - (math.abs(batpos - 23) * 2)) - math.ceil(math.random() * 40);
if (batpos < 8) {
spd = spd * 0.5;
vkd = vkd - (math.random() * 100);
hkd = math.round(math.random() * 180);
} else if (batpos < 14) {
spd = spd * 0.75;
hkd = 10 + math.round(math.random() * 30);
} else if (batpos < 27) {
superHitSnd.start();
spd = spd * 0.75;
hkd = 40 + math.round(math.random() * 20);
} else {
spd = spd * 0.65;
vkd = vkd - (math.random() * 100);
hkd = math.round(math.random() * 180);
}
vkd = vkd - (math.random() * 30);
hkd = (hkd + 30) - (math.random() * 60);
spd = (spd + 30) - (math.random() * 30);
} else if (batnum == 4) {
vkd = (90 - math.abs(batpos - 35)) - math.ceil(math.random() * 30);
spd = (200 - (math.abs(batpos - 35) * 2)) - math.ceil(math.random() * 40);
if (batpos < 13) {
spd = spd * 0.6;
hkd = math.round(math.random() * 180);
} else if (batpos < 28) {
spd = spd * 0.7;
hkd = 10 + math.round(math.random() * 30);
} else if (batpos < 33) {
spd = spd * 0.75;
hkd = 40 + math.round(math.random() * 20);
} else if (batpos < 44) {
superHitSnd.start();
spd = spd * 0.75;
hkd = 50 + math.round(math.random() * 30);
} else {
spd = spd * 0.7;
hkd = math.round(math.random() * 180);
}
hkd = (hkd + 30) - (math.random() * 60);
spd = (spd + 30) - (math.random() * 30);
} else {
vkd = (math.abs(batpos - 36) + 110) + math.ceil(math.random() * 30);
spd = (200 - (math.abs(batpos - 36) * 2)) - math.ceil(math.random() * 40);
if (batpos < 18) {
spd = spd * 0.5;
vkd = vkd + (math.random() * 100);
hkd = math.round(math.random() * 180);
} else if (batpos < 29) {
spd = spd * 0.74;
hkd = 10 + math.round(math.random() * 30);
} else if (batpos < 42) {
hitSNd.start();
hitSNd.start();
spd = spd * 0.78;
hkd = 40 + math.round(math.random() * 20);
} else {
spd = spd * 0.65;
vkd = vkd + (math.random() * 100);
hkd = 90 + math.round(math.random() * 90);
}
vkd = vkd + (math.random() * 30);
hkd = (hkd + 30) - (math.random() * 60);
spd = (spd + 30) - (math.random() * 30);
}
hkd = hkd + (ballHeight * 0.5);
if (spd < 120) {
spd = 120;
}
spd = (spd * 1000) / 3600;
rhkd = hkd;
pix = 5.6;
g = 9.8;
k = 0.3;
boTimes = 0;
ky = 1;
kz = 0.38;
dir = 1;
Frame 1424
rshadowY = shadow._y;
rshadowX = shadow._x;
rTime = getTimer();
Vz = 1 + (spd * Math.sin((Math.PI/180) * hkd));
Vy = spd * Math.sin((Math.PI/180) * vkd);
Vx = spd * Math.cos((Math.PI/180) * vkd);
vz = vz * 0.7;
vx = vx * 0.7;
vy = vy * 0.7;
rvx = vx;
rvy = vy;
rvz = vz;
v = Math.sqrt((vx * vx) + (vy * vy));
Frame 1425
lY = moveY;
lX = moveX;
lZ = moveZ;
t = (getTimer() - rTime) / 1000;
t = t * 1.3;
dt = t / 360;
vy = rvy - (((k * v) * rvy) * dt);
vx = rvx - (((k * v) * rvx) * dt);
vz = (rvz - (g * dt)) - (((k * v) * rvz) * dt);
moveZ = (Vz * t) - (((0.5 * g) * t) * t);
moveY = Vy * t;
moveX = Vx * t;
if (moveZ < 0) {
if (((boTimes == 0) && (dir == 1)) && (stage.stand.hitTest(shadow._x, shadow._y, true))) {
_root.gotoAndPlay("hrC");
} else if (stage.stand.hitTest(shadow._x, shadow._y, true)) {
this.gotoAndPlay("wipeC");
} else if (stage.foul.hitTest(shadow._x, shadow._y, true)) {
this.gotoAndPlay("wipeC");
} else {
boTimes++;
if ((2 < boTimes) && (dir == -1)) {
this.gotoAndPlay("wipeC");
}
rshadowY = shadow._y;
rshadowX = shadow._x;
rTime = getTimer();
vy = vy * math.pow(ky, boTimes);
vz = vz * math.pow(kz, boTimes);
vx = vx * math.pow(ky, boTimes);
if (vz < 1) {
vz = 1;
vy = vy * 0.94;
vx = vx * 0.94;
if (8 < boTimes) {
this.gotoAndPlay("wipeC");
}
}
rvy = vy;
rvx = vx;
rvz = vz;
moveY = 0;
moveX = 0;
moveZ = 0;
lY = moveY;
lX = moveX;
lZ = moveZ;
v = Math.sqrt((vx * vx) + (vy * vy));
}
}
if ((((224 < shadow._y) && (100 < shadow._x)) && (shadow._x < 300)) || (300 < shadow._y)) {
shadow._y = rshadowY - ((moveY * pix) * dir);
shadow._x = rshadowX + ((moveX * pix) * dir);
} else {
if (545 < stage._y) {
shadow._y = shadow._y - (((moveY - lY) * pix) * dir);
} else {
stage._y = stage._y + (((moveY - lY) * pix) * dir);
}
if ((570 < stage._x) || (stage._x < -130)) {
shadow._x = shadow._x + (((moveX - lX) * pix) * dir);
} else {
stage._x = stage._x - (((moveX - lX) * pix) * dir);
}
}
if (shadow._y < 160) {
shadow._alpha = 0;
}
if (2 < moveZ) {
ball._xscale = moveZ * 50;
ball._yscale = moveZ * 50;
} else {
ball._xscale = 100;
ball._yscale = 100;
}
if (15 < moveZ) {
ball.gotoANdStop(1);
} else {
ball.gotoANdStop(2);
}
ball._x = shadow._x;
ball._y = shadow._y - (moveZ * pix);
if ((((shadow._y < -50) || (400 < shadow._y)) || (shadow._x < -50)) || (450 < shadow._x)) {
if (stage.stand.hitTest(shadow._x, shadow._y, true)) {
this.gotoAndPlay("hrC");
} else {
this.gotoAndPLay("wipeC");
}
}
if (((dir == 1) && (stage.fance.hitTest(ball._x, ball._y, true))) && ((moveZ * pix) < 8)) {
if (boTimes == 0) {
ooaahhh.start();
ooaahhh.start();
}
dir = -1;
vy = vy * 0.4;
vx = vx * 0.4;
rvy = vy;
rvx = vx;
rvz = vz;
v = Math.sqrt((vx * vx) + (vy * vy));
t = (getTimer() - rTime) / 1000;
moveZ = (Vz * t) - (((0.5 * g) * t) * t);
moveY = Vy * t;
moveX = Vx * t;
lY = moveY;
lX = moveX;
lZ = moveZ;
}
Frame 1426
this.gotoAndPlay("testC");
Frame 1444
this.gotoAndPlay("nxtgameC");
Frame 1445
if (stage._x < 215) {
if (stage._x < 53) {
nxtstageX = stage._x + math.ceil((53 - stage._x) / 10);
} else {
nxtstageX = stage._x - math.ceil((stage._x - 53) / 10);
}
} else if (stage._x < 420) {
nxtstageX = stage._x + math.ceil((420 - stage._x) / 10);
} else {
nxtstageX = stage._x - math.ceil((stage._x - 420) / 10);
}
if (stage._y < 545) {
stage._y = stage._y + math.ceil((545 - stage._y) / 10);
if (stage._y >= 544) {
stage._y = 545;
}
}
Frame 1446
if ((nxtstageX >= 52) && (54 >= nxtstageX)) {
stage._x = 53;
this.gotoAndPlay(_currentframe + 1);
} else if ((nxtstageX >= 418) && (422 >= nxtstageX)) {
stage._x = 420;
this.gotoAndPlay(_currentframe + 1);
} else {
stage._x = nxtstageX;
this.gotoAndPlay(_currentframe - 1);
}
Frame 1447
cheering.start();
this.play();
runNum++;
if (remain == 2) {
runNum++;
}
Instance of Symbol 92 MovieClip in Frame 1447
onClipEvent (load) {
if (_root.stage._x == 53) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 92 MovieClip in Frame 1447
onClipEvent (load) {
if (_root.stage._x == 420) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 80 MovieClip in Frame 1447
onClipEvent (load) {
if (_root.remain == 2) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 326 MovieClip in Frame 1457
onClipEvent (load) {
if (_root.remain == 2) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Frame 1458
rTime = getTimer();
Frame 1460
if (2000 < (getTimer() - rTime)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 1471
this.gotoAndPlay("nxtgameC");
Frame 1472
demo3.stop();
Instance of Symbol 342 MovieClip in Frame 1536
onClipEvent (load) {
this.gotoAndStop(_root.runNum + 1);
}
Frame 1594
if (runnum >= 7) {
cheering.start();
APPLAUSE.START();
} else {
boos.start();
}
Instance of Symbol 346 MovieClip in Frame 1594
onClipEvent (load) {
if (_root.runnum >= 7) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 1642
if (runnum >= 7) {
runNum3 = runNum;
gotoAndPlay (105);
} else {
gotoAndPlay (79);
}
Symbol 34 Button
on (press) {
this.gotoAndPlay("gameStart");
}
Symbol 39 Button
on (press) {
this.gotoAndPlay("howto");
}
Symbol 43 Button
on (press) {
this.gotoAndPlay("viewScore");
}
Symbol 51 Button
on (press) {
this.gotoAndPlay("title");
}
Symbol 75 Button
on (press) {
this.gotoAndPlay("titleEnt");
}
Symbol 80 MovieClip Frame 12
if (_visible == 1) {
_root.superhitSnd.start();
}
Symbol 80 MovieClip Frame 14
this.stop();
Symbol 91 MovieClip Frame 30
this.stop();
Symbol 105 MovieClip Frame 1
this.stop();
Symbol 122 Button
on (press) {
demo4.stop();
this.gotoAndPlay("titleEnt");
}
Symbol 126 Button
on (press) {
this.gotoAndPlay("enternames");
}
Symbol 130 Button
on (press) {
this.gotoAndPlay("viewScore");
}
Symbol 140 Button
on (press) {
this.gotoAndPlay(_currentframe + 1);
}
Symbol 143 Button
on (press) {
this.gotoAndPlay("enternames");
}
Symbol 193 Button
on (press) {
viewup();
}
Symbol 194 Button
on (press) {
viewdown();
}
Symbol 195 MovieClip Frame 1
this.stop();
Symbol 195 MovieClip Frame 2
ferrormsg = "";
mailerror = 0;
ageerror = 0;
if ((age == null) || (age == "")) {
ageerror = 1;
}
if (!((age >= 20) && (age < 100))) {
ageerror = 1;
}
if (age < 20) {
ageerror = 2;
}
if ((nickname == null) || (nickname == "")) {
ferrormsg = "“ü—̓~ƒX‚Å‚·B–¼‘O‚Ì“ü—Í‚ª•s³‚Å‚·B";
} else if (ageerror == 1) {
ferrormsg = "“ü—̓~ƒX‚Å‚·B”N—î‚Ì“ü—Í‚ª•s³‚Å‚·B";
} else if (ageerror == 2) {
ferrormsg = "20Ζ¢–ž‚Ì•û‚Í‚²“o˜^‚Å‚«‚Ü‚¹‚ñB";
}
if (ferrormsg == "") {
this.gotoAndPlay("submit");
} else {
this.gotoAndPlay("error");
}
Symbol 195 MovieClip Frame 10
this.stop();
Symbol 195 MovieClip Frame 20
errormsg = null;
ferrormsg = null;
mailerror = null;
thePos = null;
theAscii = null;
ageerror = null;
this.loadVariables("./ranking.cgi", "GET");
Symbol 195 MovieClip Frame 22
if ((errormsg != null) || (endflag0 != null)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 195 MovieClip Frame 23
if (errormsg == 1) {
ferrormsg = "‚±‚̃[ƒ‹ƒAƒhƒŒƒX‚ÍA‚·‚Å‚É‚²“o˜^‚³‚ê‚Ä‚¢‚Ü‚·B";
this.gotoAndPlay("error");
} else if (errormsg == 2) {
ferrormsg = "‚±‚̃[ƒ‹ƒAƒhƒŒƒX‚Å‚ÍA‚²“o˜^‚Å‚«‚Ü‚¹‚ñB";
this.gotoAndPlay("error");
} else {
this.gotoAndPlay("view");
}
Symbol 195 MovieClip Frame 39
endflag0 = null;
this.loadVariables("flashdata.dat");
Symbol 195 MovieClip Frame 41
if (endflag0 != null) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 195 MovieClip Frame 42
this.gotoAndPlay("view");
Symbol 195 MovieClip Frame 44
i = 1;
while (10 >= i) {
this["pos" + i] = i;
this["n" + i] = this["name" + i];
this["s" + i] = this["score" + i];
i++;
}
viewpos = 0;
Symbol 195 MovieClip Frame 45
function viewup() {
if (viewpos != 0) {
viewpos--;
i = 1;
while (10 >= i) {
this["pos" + i] = this["pos" + i] - 10;
this["n" + i] = this["name" + (i + (viewpos * 10))];
this["s" + i] = this["score" + (i + (viewpos * 10))];
i++;
}
}
}
function viewdown() {
if (viewpos != 9) {
viewpos++;
i = 1;
while (10 >= i) {
this["pos" + i] = this["pos" + i] + 10;
this["n" + i] = this["name" + (i + (viewpos * 10))];
this["s" + i] = this["score" + (i + (viewpos * 10))];
i++;
}
}
}
this.stop();
Symbol 228 MovieClip Frame 2
endflag0 = null;
this.loadVariables("flashdata.dat");
Symbol 228 MovieClip Frame 4
if (endflag0 != null) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 228 MovieClip Frame 5
this.gotoAndPlay("view");
Symbol 228 MovieClip Frame 7
i = 1;
while (10 >= i) {
this["pos" + i] = i;
this["n" + i] = this["name" + i];
this["s" + i] = this["score" + i];
i++;
}
viewpos = 0;
Symbol 228 MovieClip Frame 8
function viewup() {
if (viewpos != 0) {
viewpos--;
i = 1;
while (10 >= i) {
this["pos" + i] = this["pos" + i] - 10;
this["n" + i] = this["name" + (i + (viewpos * 10))];
this["s" + i] = this["score" + (i + (viewpos * 10))];
i++;
}
}
}
function viewdown() {
if (viewpos != 9) {
viewpos++;
i = 1;
while (10 >= i) {
this["pos" + i] = this["pos" + i] + 10;
this["n" + i] = this["name" + (i + (viewpos * 10))];
this["s" + i] = this["score" + (i + (viewpos * 10))];
i++;
}
}
}
this.stop();
Symbol 230 MovieClip Frame 50
_root.play();
Symbol 237 MovieClip Frame 1
this.stop();
Symbol 260 MovieClip Frame 1
this.stop();
Symbol 260 MovieClip Frame 2
this.play();
Symbol 260 MovieClip Frame 17
_parent.play();
_root.pitSNd.start();
Symbol 260 MovieClip Frame 38
this.stop();
Symbol 285 MovieClip Frame 1
this.stop();
Symbol 285 MovieClip Frame 2
this.play();
Symbol 285 MovieClip Frame 9
this.gotoAndStop(1);
Symbol 285 MovieClip Frame 10
this.stop();
Symbol 285 MovieClip Frame 13
this.play();
Symbol 285 MovieClip Frame 30
this.stop();
Symbol 288 MovieClip Frame 1
this.stop();
Symbol 292 MovieClip Frame 1
this.stop();
Instance of Symbol 105 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.remain + 1);
}
Instance of Symbol 292 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
if (_root.remain == 1) {
this.gotoAndStop(2);
}
}
Symbol 293 MovieClip Frame 30
_root.play();
Symbol 300 MovieClip Frame 1
this.stop();
Symbol 323 MovieClip Frame 1
this.stop();
Symbol 342 MovieClip Frame 1
this.stop();
Symbol 346 MovieClip Frame 1
this.stop();
Symbol 348 MovieClip Frame 50
_root.play();
Instance of Symbol 352 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if ((count % 15) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 355 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if ((count % 15) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 358 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if ((count % 15) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 358 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 0.5;
if ((count % 30) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 355 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 0.5;
if ((count % 30) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 352 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if ((count % 15) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 358 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if ((count % 15) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Symbol 378 MovieClip Frame 1
this.stop();
Symbol 378 MovieClip Frame 2
this.play();
Symbol 378 MovieClip Frame 17
_parent.play();
_root.pitSNd.start();
Symbol 378 MovieClip Frame 38
this.stop();
Symbol 401 MovieClip Frame 1
this.stop();
Instance of Symbol 358 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 2;
if ((count % 15) == 0) {
movex = -2 + math.ceil(math.random() * 4);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 352 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 2;
if ((count % 15) == 0) {
movex = -2 + math.ceil(math.random() * 4);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 355 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 3;
if ((count % 30) == 0) {
movex = -4 + math.ceil(math.random() * 8);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 352 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if ((count % 15) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 355 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if ((count % 15) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 358 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if ((count % 15) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 358 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 0.5;
if ((count % 30) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 355 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 0.5;
if ((count % 30) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 352 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if ((count % 15) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 358 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 1;
if ((count % 15) == 0) {
movex = -1 + math.ceil(math.random() * 2);
}
this._x = this._x + moveX;
count++;
}
Instance of Symbol 358 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - 4;
if ((count % 45) == 0) {
movex = -4 + math.ceil(math.random() * 8);
}
this._x = this._x + moveX;
count++;
}
Symbol 406 MovieClip Frame 50
_root.play();
Symbol 426 MovieClip Frame 1
this.stop();
Symbol 426 MovieClip Frame 2
this.play();
Symbol 426 MovieClip Frame 17
_parent.play();
_root.pitSNd.start();
Symbol 426 MovieClip Frame 38
this.stop();