Frame 1
if (percent == 100) {
gotoAndPlay ("done");
}
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
percent = Math.floor((loaded / total) * 100);
_root.bar._yscale = percent;
_root.bar2._xscale = percent;
Frame 2
gotoAndPlay(_currentframe - 1);
Frame 15
cookie = SharedObject.getLocal("pinball01");
if (cookie.data.hiScore == null) {
cookie.data.hiScore = 0;
}
Frame 423
bgm = 1;
Frame 428
intro = new Sound(this);
stop();
Instance of Symbol 38 MovieClip in Frame 428
onClipEvent (enterFrame) {
if (_root.bgm == 0) {
this.gotoAndStop("off");
} else {
this.gotoAndStop("on");
}
}
Frame 469
stop();
Frame 506
gotoAndStop ("menu");
Frame 507
intro.setVolume(90);
Frame 512
intro.setVolume(80);
Frame 517
intro.setVolume(70);
Frame 522
intro.setVolume(60);
Frame 527
intro.setVolume(50);
Frame 532
intro.setVolume(40);
Frame 537
intro.setVolume(30);
Frame 542
intro.setVolume(20);
Frame 547
intro.setVolume(10);
Frame 552
stopAllSounds();
intro.setVolume(100);
Frame 582
gotoAndPlay ("start");
Frame 596
gravity = 0.1;
point = 0;
numBall = 3;
onigiriArray = new Array(0, 0, 0);
molalaArray = new Array(0, 0, 0);
gikoArray = new Array(0, 0, 0);
count18 = 0;
countOnigiri = 0;
countNinja = 0;
countCookle = 0;
countSyi = 0;
countMolala = 0;
countGiko = 0;
countMona = 0;
countAll = 0;
Instance of Symbol 186 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
_root.point = _root.point + 100;
_root.soundEffect.gotoAndPlay("sound03");
}
}
Instance of Symbol 186 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
_root.point = _root.point + 100;
_root.soundEffect.gotoAndPlay("sound03");
}
}
Instance of Symbol 186 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
_root.point = _root.point + 100;
_root.soundEffect.gotoAndPlay("sound03");
}
}
Instance of Symbol 191 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
_root.point = _root.point + 200;
_root.soundEffect.gotoAndPlay("sound04");
}
}
Instance of Symbol 191 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
_root.point = _root.point + 200;
_root.soundEffect.gotoAndPlay("sound04");
}
}
Instance of Symbol 198 MovieClip in Frame 596
onClipEvent (load) {
this._rotation = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(90) && (this._rotation > -60)) {
this._rotation = this._rotation - 10;
this.move = -10;
} else if ((!Key.isDown(90)) && (this._rotation < 0)) {
this._rotation = this._rotation + 10;
this.move = 10;
} else {
this.move = 0;
}
}
Instance of Symbol 200 MovieClip in Frame 596
onClipEvent (load) {
this._rotation = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(77) && (this._rotation < 60)) {
this._rotation = this._rotation + 10;
this.move = -10;
} else if ((!Key.isDown(77)) && (this._rotation > 0)) {
this._rotation = this._rotation - 10;
this.move = 10;
} else {
this.move = 0;
}
}
Instance of Symbol 201 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
_local1.point = _local1.point + 15000;
_local1.soundEffect.gotoAndPlay("sound02");
_local1.ninja.gotoAndPlay("on1");
_local1.message.queue.push("ninja");
_local1.message.play();
if (_local1.countNinja == 0) {
_local1.countNinja = 1;
_local1.countAll++;
}
}
}
Instance of Symbol 202 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (_local1.molalaArray[0] == 0) {
if ((_local1.molalaArray[1] == 1) && (_local1.molalaArray[2] == 1)) {
_local1.point = _local1.point + 30000;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.molala.gotoAndPlay("on1");
_local1.molalaArray[0] = 0;
_local1.molalaArray[1] = 0;
_local1.molalaArray[2] = 0;
_local1.swMolala1.gotoAndStop("off");
_local1.swMolala2.gotoAndStop("off");
_local1.swMolala3.gotoAndStop("off");
_local1.message.queue.push("molala");
_local1.message.play();
if (_local1.countMolala == 0) {
_local1.countAll++;
_local1.countMolala = 1;
}
} else if (_local1.countMolala == 0) {
_local1.point = _local1.point + 500;
_local1.molalaArray[0] = 1;
_local1.swMolala1.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 500;
_local1.molalaArray[0] = 1;
_local1.swMolala1.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on1");
}
} else if (_local1.countMolala == 0) {
_local1.point = _local1.point + 500;
_local1.molalaArray[0] = 0;
_local1.swMolala1.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 500;
_local1.molalaArray[0] = 0;
_local1.swMolala1.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on1");
}
}
}
Instance of Symbol 202 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (_local1.molalaArray[1] == 0) {
if ((_local1.molalaArray[0] == 1) && (_local1.molalaArray[2] == 1)) {
_local1.point = _local1.point + 30000;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.molala.gotoAndPlay("on1");
_local1.molalaArray[0] = 0;
_local1.molalaArray[1] = 0;
_local1.molalaArray[2] = 0;
_local1.swMolala1.gotoAndStop("off");
_local1.swMolala2.gotoAndStop("off");
_local1.swMolala3.gotoAndStop("off");
_local1.message.queue.push("molala");
_local1.message.play();
if (_local1.countMolala == 0) {
_local1.countAll++;
_local1.countMolala = 1;
}
} else if (_local1.countMolala == 0) {
_local1.point = _local1.point + 500;
_local1.molalaArray[1] = 1;
_local1.swMolala2.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 500;
_local1.molalaArray[1] = 1;
_local1.swMolala2.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on1");
}
} else if (_local1.countMolala == 0) {
_local1.point = _local1.point + 500;
_local1.molalaArray[1] = 0;
_local1.swMolala2.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 500;
_local1.molalaArray[1] = 0;
_local1.swMolala2.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on1");
}
}
}
Instance of Symbol 202 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (_local1.molalaArray[2] == 0) {
if ((_local1.molalaArray[0] == 1) && (_local1.molalaArray[1] == 1)) {
_local1.point = _local1.point + 30000;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.molala.gotoAndPlay("on1");
_local1.molalaArray[0] = 0;
_local1.molalaArray[1] = 0;
_local1.molalaArray[2] = 0;
_local1.swMolala1.gotoAndStop("off");
_local1.swMolala2.gotoAndStop("off");
_local1.swMolala3.gotoAndStop("off");
_local1.message.queue.push("molala");
_local1.message.play();
if (_local1.countMolala == 0) {
_local1.countAll++;
_local1.countMolala = 1;
}
} else if (_local1.countMolala == 0) {
_local1.point = _local1.point + 500;
_local1.molalaArray[2] = 1;
_local1.swMolala3.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 500;
_local1.molalaArray[2] = 1;
_local1.swMolala3.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on1");
}
} else if (_local1.countMolala == 0) {
_local1.point = _local1.point + 500;
_local1.molalaArray[2] = 0;
_local1.swMolala3.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 500;
_local1.molalaArray[2] = 0;
_local1.swMolala3.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.molala.gotoAndPlay("on1");
}
}
}
Instance of Symbol 202 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (_local1.gikoArray[0] == 0) {
if ((_local1.gikoArray[1] == 1) && (_local1.gikoArray[2] == 1)) {
_local1.point = _local1.point + 40000;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.giko.gotoAndPlay("on1");
_local1.gikoArray[0] = 0;
_local1.gikoArray[1] = 0;
_local1.gikoArray[2] = 0;
_local1.swGiko1.gotoAndStop("off");
_local1.swGiko2.gotoAndStop("off");
_local1.swGiko3.gotoAndStop("off");
_local1.message.queue.push("giko");
_local1.message.play();
if (_local1.countGiko == 0) {
_local1.countAll++;
_local1.countGiko = 1;
}
} else if (_local1.countGiko == 0) {
_local1.point = _local1.point + 1000;
_local1.gikoArray[0] = 1;
_local1.swGiko1.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 1000;
_local1.gikoArray[0] = 1;
_local1.swGiko1.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on1");
}
} else if (_local1.countGiko == 0) {
_local1.point = _local1.point + 1000;
_local1.gikoArray[0] = 0;
_local1.swGiko1.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 1000;
_local1.gikoArray[0] = 0;
_local1.swGiko1.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on1");
}
}
}
Instance of Symbol 202 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (_local1.gikoArray[1] == 0) {
if ((_local1.gikoArray[0] == 1) && (_local1.gikoArray[2] == 1)) {
_local1.point = _local1.point + 40000;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.giko.gotoAndPlay("on1");
_local1.gikoArray[0] = 0;
_local1.gikoArray[1] = 0;
_local1.gikoArray[2] = 0;
_local1.swGiko1.gotoAndStop("off");
_local1.swGiko2.gotoAndStop("off");
_local1.swGiko3.gotoAndStop("off");
_local1.message.queue.push("giko");
_local1.message.play();
if (_local1.countGiko == 0) {
_local1.countAll++;
_local1.countGiko = 1;
}
} else if (_local1.countGiko == 0) {
_local1.point = _local1.point + 1000;
_local1.gikoArray[1] = 1;
_local1.swGiko2.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 1000;
_local1.gikoArray[1] = 1;
_local1.swGiko2.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on1");
}
} else if (_local1.countGiko == 0) {
_local1.point = _local1.point + 1000;
_local1.gikoArray[1] = 0;
_local1.swGiko2.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 1000;
_local1.gikoArray[1] = 0;
_local1.swGiko2.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on1");
}
}
}
Instance of Symbol 202 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (_local1.gikoArray[2] == 0) {
if ((_local1.gikoArray[1] == 1) && (_local1.gikoArray[0] == 1)) {
_local1.point = _local1.point + 40000;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.giko.gotoAndPlay("on1");
_local1.gikoArray[0] = 0;
_local1.gikoArray[1] = 0;
_local1.gikoArray[2] = 0;
_local1.swGiko1.gotoAndStop("off");
_local1.swGiko2.gotoAndStop("off");
_local1.swGiko3.gotoAndStop("off");
_local1.message.queue.push("giko");
_local1.message.play();
if (_local1.countGiko == 0) {
_local1.countAll++;
_local1.countGiko = 1;
}
} else if (_local1.countGiko == 0) {
_local1.point = _local1.point + 1000;
_local1.gikoArray[2] = 1;
_local1.swGiko3.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 1000;
_local1.gikoArray[2] = 1;
_local1.swGiko3.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on1");
}
} else if (_local1.countGiko == 0) {
_local1.point = _local1.point + 1000;
_local1.gikoArray[2] = 0;
_local1.swGiko3.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on2");
} else {
_local1.point = _local1.point + 1000;
_local1.gikoArray[2] = 0;
_local1.swGiko3.gotoAndStop("off");
_local1.soundEffect.gotoAndPlay("sound08");
_local1.giko.gotoAndPlay("on1");
}
}
}
Instance of Symbol 225 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (_local1.countSyi < 2) {
_local1.point = _local1.point + 1000;
_local1.countSyi++;
_local1.soundEffect.gotoAndPlay("sound02");
_local1.syi.gotoAndPlay("on2");
} else if (_local1.countSyi == 2) {
_local1.point = _local1.point + 15000;
_local1.countSyi++;
_local1.countAll++;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.syi.gotoAndPlay("on1");
_local1.message.queue.push("syi");
_local1.message.play();
} else {
_local1.point = _local1.point + 15000;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.syi.gotoAndPlay("on1");
_local1.message.queue.push("syi");
_local1.message.play();
}
}
}
Instance of Symbol 236 MovieClip "soundEffect" in Frame 596
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 225 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
_local1.point = _local1.point + 5000;
_local1.soundEffect.gotoAndPlay("sound02");
_local1.oneAndEight.gotoAndPlay("on1");
_local1.message.queue.push("oneEight");
_local1.message.play();
if (_local1.count18 == 0) {
_local1.count18 = 1;
_local1.countAll++;
}
}
}
Instance of Symbol 225 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (((_local1.onigiriArray[0] == 0) && (_local1.onigiriArray[1] == 1)) && (_local1.onigiriArray[2] == 1)) {
_local1.point = _local1.point + 50000;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.onigiri1.gotoAndPlay("on1");
_local1.onigiriArray[0] = 1;
_local1.countOnigiri = 1;
_local1.countAll++;
_local1.message.queue.push("onigiri");
_local1.message.play();
} else {
_local1.point = _local1.point + 500;
_local1.onigiriArray[0] = 1;
_local1.soundEffect.gotoAndPlay("sound01");
_local1.onigiri1.gotoAndPlay("on1");
}
}
}
Instance of Symbol 225 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (((_local1.onigiriArray[0] == 1) && (_local1.onigiriArray[1] == 0)) && (_local1.onigiriArray[2] == 1)) {
_local1.point = _local1.point + 50000;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.onigiri2.gotoAndPlay("on1");
_local1.onigiriArray[1] = 1;
_local1.countOnigiri = 1;
_local1.countAll++;
_local1.message.queue.push("onigiri");
_local1.message.play();
} else {
_local1.point = _local1.point + 500;
_local1.onigiriArray[1] = 1;
_local1.soundEffect.gotoAndPlay("sound01");
_local1.onigiri2.gotoAndPlay("on1");
}
}
}
Instance of Symbol 225 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (((_local1.onigiriArray[0] == 1) && (_local1.onigiriArray[1] == 1)) && (_local1.onigiriArray[2] == 0)) {
_local1.point = _local1.point + 50000;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.onigiri3.gotoAndPlay("on1");
_local1.onigiriArray[2] = 1;
_local1.countOnigiri = 1;
_local1.countAll++;
_local1.message.queue.push("onigiri");
_local1.message.play();
} else {
_local1.point = _local1.point + 500;
_local1.onigiriArray[2] = 1;
_local1.soundEffect.gotoAndPlay("sound01");
_local1.onigiri3.gotoAndPlay("on1");
}
}
}
Instance of Symbol 225 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (_local1.countMona < 7) {
_local1.point = _local1.point + 500;
_local1.countMona++;
_local1.soundEffect.gotoAndPlay("sound01");
_local1.mona.gotoAndPlay("on2");
} else if (_local1.countMona == 7) {
_local1.point = _local1.point + 25000;
_local1.countMona++;
_local1.countAll++;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.mona.gotoAndPlay("on1");
_local1.message.queue.push("mona");
_local1.message.play();
} else {
_local1.point = _local1.point + 500;
_local1.soundEffect.gotoAndPlay("sound01");
_local1.mona.gotoAndPlay("on1");
}
}
}
Instance of Symbol 225 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
if (_local1.countMona < 7) {
_local1.point = _local1.point + 500;
_local1.countMona++;
_local1.soundEffect.gotoAndPlay("sound01");
_local1.mona.gotoAndPlay("on2");
} else if (_local1.countMona == 7) {
_local1.point = _local1.point + 25000;
_local1.countMona++;
_local1.countAll++;
_local1.soundEffect.gotoAndPlay("sound05");
_local1.mona.gotoAndPlay("on1");
_local1.message.queue.push("mona");
_local1.message.play();
} else {
_local1.point = _local1.point + 500;
_local1.soundEffect.gotoAndPlay("sound01");
_local1.mona.gotoAndPlay("on1");
}
}
}
Instance of Symbol 238 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
_local1.point = _local1.point + 1000;
_local1.soundEffect.gotoAndPlay("sound06");
_local1.message.queue.push("age");
_local1.message.play();
}
function funcDo2() {
var _local1 = _root;
_local1.leftLid.gotoAndStop("on");
_local1.leftLid.limit = _local1.point * 2;
_local1.leftLid.openClose = 1;
_local1.leftLidSurf.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound07");
}
this._rotation = -90;
}
Instance of Symbol 238 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
_local1.point = _local1.point + 1000;
_local1.soundEffect.gotoAndPlay("sound06");
_local1.message.queue.push("age");
_local1.message.play();
}
function funcDo2() {
var _local1 = _root;
_local1.rightLid.gotoAndStop("on");
_local1.rightLid.limit = _local1.point * 2;
_local1.rightLid.openClose = 1;
_local1.rightLidSurf.gotoAndStop("on");
_local1.soundEffect.gotoAndPlay("sound07");
}
this._rotation = -90;
}
Instance of Symbol 238 MovieClip in Frame 596
onClipEvent (load) {
function funcDo() {
var _local1 = _root;
_local1.point = _local1.point + 20000;
_local1.soundEffect.gotoAndPlay("sound06");
_local1.cookle.gotoAndPlay("on1");
_local1.message.queue.push("cookle");
_local1.message.play();
if (_local1.countCookle == 0) {
_local1.countCookle = 1;
_local1.countAll++;
}
}
function funcDo2() {
_root.soundEffect.gotoAndPlay("sound07");
}
}
Instance of Symbol 247 MovieClip "leftLid" in Frame 596
onClipEvent (load) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if ((openClose == 1) && (_root.point > limit)) {
openClose = 0;
_root.soundEffect("sound02");
this.gotoAndStop("off");
_root.message.queue.push("reAgeL");
_root.message.play();
}
}
Instance of Symbol 249 MovieClip "leftLidSurf" in Frame 596
onClipEvent (load) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if (_root.leftLid.openClose == 1) {
this.gotoAndStop("on");
} else {
this.gotoAndStop("off");
}
}
Instance of Symbol 247 MovieClip "rightLid" in Frame 596
onClipEvent (load) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if ((openClose == 1) && (_root.point > limit)) {
openClose = 0;
_root.soundEffect("sound02");
this.gotoAndStop("off");
_root.message.queue.push("reAgeR");
_root.message.play();
}
}
Instance of Symbol 249 MovieClip "rightLidSurf" in Frame 596
onClipEvent (load) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if (_root.rightLid.openClose == 1) {
this.gotoAndStop("on");
} else {
this.gotoAndStop("off");
}
}
Instance of Symbol 254 MovieClip in Frame 596
onClipEvent (keyDown) {
if (Key.isDown(16)) {
this.gotoAndPlay("shake");
_root.ball._x = _root.ball._x + ((Math.random() * 2) - 1);
_root.ball._y = _root.ball._y + ((Math.random() * 2) - 1);
}
}
Instance of Symbol 300 MovieClip "message" in Frame 641
onClipEvent (load) {
this.queue = new Array();
}
Frame 642
_root.message.queue.push("start");
_root.message.play();
Frame 643
numBall--;
if (numBall == 2) {
_root.message.queue.push("ball2");
} else if (numBall == 1) {
_root.message.queue.push("ball1");
} else {
_root.message.queue.push("ball0");
}
_root.message.play();
stop();
Instance of Symbol 304 MovieClip "bgmEngine2" in Frame 643
onClipEvent (load) {
this._visible = false;
if (_root.bgm == 0) {
this.gotoAndStop("off");
} else {
this.gotoAndStop("on");
}
}
Instance of Symbol 306 MovieClip "ball" in Frame 643
onClipEvent (load) {
this.vx = 0;
this.vy = 0;
}
onClipEvent (enterFrame) {
this.vy = this.vy + _root.gravity;
vect = Math.sqrt((vx * vx) + (vy * vy));
if (vect > 13) {
vx = vx * (13 / vect);
vy = vy * (13 / vect);
}
if (this._y > 650) {
_root.onigiriArray = new Array(0, 0, 0);
_root.gikoArray = new Array(0, 0, 0);
_root.molalaArray = new Array(0, 0, 0);
_root.count18 = 0;
_root.countOnigiri = 0;
_root.countNinja = 0;
_root.countCookle = 0;
_root.countSyi = 0;
_root.countMolala = 0;
_root.countGiko = 0;
_root.countMona = 0;
_root.countAll = 0;
_root.swGiko1.gotoAndStop("off");
_root.swGiko2.gotoAndStop("off");
_root.swGiko3.gotoAndStop("off");
_root.swMolala1.gotoAndStop("off");
_root.swMolala2.gotoAndStop("off");
_root.swMolala3.gotoAndStop("off");
_root.leftLid.openClose = 0;
_root.leftLid.limit = 0;
_root.leftLid.gotoAndStop("off");
_root.rightLid.openClose = 0;
_root.rightLid.limit = 0;
_root.rightLid.gotoAndStop("off");
_root.oneAndEight.gotoAndStop("off");
_root.onigiri1.gotoAndStop("off");
_root.onigiri2.gotoAndStop("off");
_root.onigiri3.gotoAndStop("off");
_root.ninja.gotoAndStop("off");
_root.cookle.gotoAndStop("off");
_root.syi.gotoAndStop("off");
_root.molala.gotoAndStop("off");
_root.giko.gotoAndStop("off");
_root.mona.gotoAndStop("off");
_root.gotoAndPlay("fallen");
}
this._x = this._x + vx;
this._y = this._y + vy;
}
Frame 648
_root.message.queue.push("syobon");
_root.message.play();
Frame 717
if (numBall == 0) {
gotoAndPlay ("gameOver");
} else {
gotoAndPlay ("setBall");
}
Frame 718
_root.message.queue.push("gameOver");
_root.message.play();
Frame 724
soundObject = new Sound(this);
soundObject.setVolume(90);
Frame 729
soundObject.setVolume(80);
Frame 734
soundObject.setVolume(70);
Frame 739
soundObject.setVolume(60);
Frame 744
soundObject.setVolume(50);
Frame 749
soundObject.setVolume(40);
Frame 754
soundObject.setVolume(30);
Frame 759
soundObject.setVolume(20);
Frame 764
soundObject.setVolume(10);
Frame 769
stopAllSounds();
soundObject.setVolume(100);
Frame 835
if (point <= cookie.data.hiScore) {
gotoAndPlay ("title");
} else {
gotoAndPlay ("newRecord");
}
Frame 871
cookie.data.hiScore = point;
Frame 965
stop();
Symbol 13 MovieClip Frame 4
stop();
Symbol 13 MovieClip Frame 8
stop();
Symbol 18 MovieClip Frame 38
stop();
Symbol 31 Button
on (release) {
if (_root.bgm == 0) {
stopAllSounds();
}
_root.gotoAndPlay("go2Next");
}
Symbol 35 Button
on (release) {
if (_root.bgm == 0) {
_root.bgm = 1;
_root.intro.setVolume(100);
} else {
_root.bgm = 0;
_root.intro.setVolume(0);
}
}
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
stop();
Symbol 54 Button
on (release) {
_quality = "high";
}
Symbol 59 Button
on (release) {
_quality = "medium";
}
Symbol 64 Button
on (release) {
_quality = "low";
}
Symbol 68 Button
on (release) {
gotoAndPlay ("tutorial");
}
Symbol 73 Button
on (release) {
getURL ("http://www.oo39.com/", "_blank");
}
Symbol 74 Button
on (release) {
getURL ("http://www.fleshbone.com/", "_blank");
}
Symbol 75 Button
on (release) {
getURL ("http://kikyou.sakura.ne.jp/~osabisi/", "_blank");
}
Symbol 76 Button
on (release) {
getURL ("http://www.s-t-t.com/wwl/", "_blank");
}
Symbol 78 Button
on (release) {
_root.play();
}
Symbol 79 Button
on (release) {
if (_root.bgm == 0) {
_root.bgm = 1;
_root.bgmEngine.gotoAndPlay("on");
} else {
_root.bgm = 0;
_root.bgmEngine.gotoAndPlay("off");
}
}
Instance of Symbol 38 MovieClip in Symbol 82 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bgm == 0) {
this.gotoAndStop("off");
} else {
this.gotoAndStop("on");
}
}
Symbol 89 Button
on (release) {
_root.play();
}
Symbol 90 MovieClip Frame 38
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 80
if (_root.countAll < 8) {
stop();
} else {
_root.onigiriArray = new Array(0, 0, 0);
_root.count18 = 0;
_root.countOnigiri = 0;
_root.countNinja = 0;
_root.countCookle = 0;
_root.countSyi = 0;
_root.countMolala = 0;
_root.countGiko = 0;
_root.countMona = 0;
_root.countAll = 0;
_root.point = _root.point * 2;
_root.message.queue.push("allstar");
_root.message.play();
_root.soundEffect.gotoAndPlay("sound09");
_root.oneAndEight.gotoAndPlay("on3");
_root.onigiri1.gotoAndPlay("on3");
_root.onigiri2.gotoAndPlay("on3");
_root.onigiri3.gotoAndPlay("on3");
_root.ninja.gotoAndPlay("on3");
_root.cookle.gotoAndPlay("on3");
_root.syi.gotoAndPlay("on3");
_root.molala.gotoAndPlay("on3");
_root.giko.gotoAndPlay("on3");
_root.mona.gotoAndPlay("on3");
}
Symbol 109 MovieClip Frame 98
this.gotoAndStop("off");
Symbol 109 MovieClip Frame 177
this.gotoAndStop("off");
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 80
if (_root.countAll < 8) {
stop();
} else {
_root.onigiriArray = new Array(0, 0, 0);
_root.count18 = 0;
_root.countOnigiri = 0;
_root.countNinja = 0;
_root.countCookle = 0;
_root.countSyi = 0;
_root.countMolala = 0;
_root.countGiko = 0;
_root.countMona = 0;
_root.countAll = 0;
_root.point = _root.point * 2;
_root.message.queue.push("allstar");
_root.message.play();
_root.soundEffect.gotoAndPlay("sound09");
_root.oneAndEight.gotoAndPlay("on3");
_root.onigiri1.gotoAndPlay("on3");
_root.onigiri2.gotoAndPlay("on3");
_root.onigiri3.gotoAndPlay("on3");
_root.ninja.gotoAndPlay("on3");
_root.cookle.gotoAndPlay("on3");
_root.syi.gotoAndPlay("on3");
_root.molala.gotoAndPlay("on3");
_root.giko.gotoAndPlay("on3");
_root.mona.gotoAndPlay("on3");
}
Symbol 112 MovieClip Frame 98
this.gotoAndStop("off");
Symbol 112 MovieClip Frame 177
this.gotoAndStop("off");
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 80
if (_root.countAll < 8) {
stop();
} else {
_root.onigiriArray = new Array(0, 0, 0);
_root.count18 = 0;
_root.countOnigiri = 0;
_root.countNinja = 0;
_root.countCookle = 0;
_root.countSyi = 0;
_root.countMolala = 0;
_root.countGiko = 0;
_root.countMona = 0;
_root.countAll = 0;
_root.point = _root.point * 2;
_root.message.queue.push("allstar");
_root.message.play();
_root.soundEffect.gotoAndPlay("sound09");
_root.oneAndEight.gotoAndPlay("on3");
_root.onigiri1.gotoAndPlay("on3");
_root.onigiri2.gotoAndPlay("on3");
_root.onigiri3.gotoAndPlay("on3");
_root.ninja.gotoAndPlay("on3");
_root.cookle.gotoAndPlay("on3");
_root.syi.gotoAndPlay("on3");
_root.molala.gotoAndPlay("on3");
_root.giko.gotoAndPlay("on3");
_root.mona.gotoAndPlay("on3");
}
Symbol 133 MovieClip Frame 98
this.gotoAndStop("off");
Symbol 133 MovieClip Frame 177
this.gotoAndStop("off");
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 80
if (_root.countAll < 8) {
stop();
} else {
_root.onigiriArray = new Array(0, 0, 0);
_root.count18 = 0;
_root.countOnigiri = 0;
_root.countNinja = 0;
_root.countCookle = 0;
_root.countSyi = 0;
_root.countMolala = 0;
_root.countGiko = 0;
_root.countMona = 0;
_root.countAll = 0;
_root.point = _root.point * 2;
_root.message.queue.push("allstar");
_root.message.play();
_root.soundEffect.gotoAndPlay("sound09");
_root.oneAndEight.gotoAndPlay("on3");
_root.onigiri1.gotoAndPlay("on3");
_root.onigiri2.gotoAndPlay("on3");
_root.onigiri3.gotoAndPlay("on3");
_root.ninja.gotoAndPlay("on3");
_root.cookle.gotoAndPlay("on3");
_root.syi.gotoAndPlay("on3");
_root.molala.gotoAndPlay("on3");
_root.giko.gotoAndPlay("on3");
_root.mona.gotoAndPlay("on3");
}
Symbol 151 MovieClip Frame 98
this.gotoAndStop("off");
Symbol 151 MovieClip Frame 177
this.gotoAndStop("off");
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 80
if (_root.countAll < 8) {
stop();
} else {
_root.onigiriArray = new Array(0, 0, 0);
_root.count18 = 0;
_root.countOnigiri = 0;
_root.countNinja = 0;
_root.countCookle = 0;
_root.countSyi = 0;
_root.countMolala = 0;
_root.countGiko = 0;
_root.countMona = 0;
_root.countAll = 0;
_root.point = _root.point * 2;
_root.message.queue.push("allstar");
_root.message.play();
_root.soundEffect.gotoAndPlay("sound09");
_root.oneAndEight.gotoAndPlay("on3");
_root.onigiri1.gotoAndPlay("on3");
_root.onigiri2.gotoAndPlay("on3");
_root.onigiri3.gotoAndPlay("on3");
_root.ninja.gotoAndPlay("on3");
_root.cookle.gotoAndPlay("on3");
_root.syi.gotoAndPlay("on3");
_root.molala.gotoAndPlay("on3");
_root.giko.gotoAndPlay("on3");
_root.mona.gotoAndPlay("on3");
}
Symbol 170 MovieClip Frame 98
this.gotoAndStop("off");
Symbol 170 MovieClip Frame 177
this.gotoAndStop("off");
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 80
if (_root.countAll < 8) {
stop();
} else {
_root.onigiriArray = new Array(0, 0, 0);
_root.count18 = 0;
_root.countOnigiri = 0;
_root.countNinja = 0;
_root.countCookle = 0;
_root.countSyi = 0;
_root.countMolala = 0;
_root.countGiko = 0;
_root.countMona = 0;
_root.countAll = 0;
_root.point = _root.point * 2;
_root.message.queue.push("allstar");
_root.message.play();
_root.soundEffect.gotoAndPlay("sound09");
_root.oneAndEight.gotoAndPlay("on3");
_root.onigiri1.gotoAndPlay("on3");
_root.onigiri2.gotoAndPlay("on3");
_root.onigiri3.gotoAndPlay("on3");
_root.ninja.gotoAndPlay("on3");
_root.cookle.gotoAndPlay("on3");
_root.syi.gotoAndPlay("on3");
_root.molala.gotoAndPlay("on3");
_root.giko.gotoAndPlay("on3");
_root.mona.gotoAndPlay("on3");
}
Symbol 173 MovieClip Frame 98
this.gotoAndStop("off");
Symbol 173 MovieClip Frame 177
this.gotoAndStop("off");
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 80
if (_root.countAll < 8) {
stop();
} else {
_root.onigiriArray = new Array(0, 0, 0);
_root.count18 = 0;
_root.countOnigiri = 0;
_root.countNinja = 0;
_root.countCookle = 0;
_root.countSyi = 0;
_root.countMolala = 0;
_root.countGiko = 0;
_root.countMona = 0;
_root.countAll = 0;
_root.point = _root.point * 2;
_root.message.queue.push("allstar");
_root.message.play();
_root.soundEffect.gotoAndPlay("sound09");
_root.oneAndEight.gotoAndPlay("on3");
_root.onigiri1.gotoAndPlay("on3");
_root.onigiri2.gotoAndPlay("on3");
_root.onigiri3.gotoAndPlay("on3");
_root.ninja.gotoAndPlay("on3");
_root.cookle.gotoAndPlay("on3");
_root.syi.gotoAndPlay("on3");
_root.molala.gotoAndPlay("on3");
_root.giko.gotoAndPlay("on3");
_root.mona.gotoAndPlay("on3");
}
Symbol 176 MovieClip Frame 98
this.gotoAndStop("off");
Symbol 176 MovieClip Frame 177
this.gotoAndStop("off");
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 80
if (_root.countAll < 8) {
stop();
} else {
_root.onigiriArray = new Array(0, 0, 0);
_root.count18 = 0;
_root.countOnigiri = 0;
_root.countNinja = 0;
_root.countCookle = 0;
_root.countSyi = 0;
_root.countMolala = 0;
_root.countGiko = 0;
_root.countMona = 0;
_root.countAll = 0;
_root.point = _root.point * 2;
_root.message.queue.push("allstar");
_root.message.play();
_root.soundEffect.gotoAndPlay("sound09");
_root.oneAndEight.gotoAndPlay("on3");
_root.onigiri1.gotoAndPlay("on3");
_root.onigiri2.gotoAndPlay("on3");
_root.onigiri3.gotoAndPlay("on3");
_root.ninja.gotoAndPlay("on3");
_root.cookle.gotoAndPlay("on3");
_root.syi.gotoAndPlay("on3");
_root.molala.gotoAndPlay("on3");
_root.giko.gotoAndPlay("on3");
_root.mona.gotoAndPlay("on3");
}
Symbol 179 MovieClip Frame 98
this.gotoAndStop("off");
Symbol 179 MovieClip Frame 177
this.gotoAndStop("off");
Instance of Symbol 182 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = _parent._rotation * (Math.PI/180);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
vect = Math.sqrt((_root.ball.vx * _root.ball.vx) + (_root.ball.vy * _root.ball.vy));
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Instance of Symbol 185 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
vect = Math.sqrt((_root.ball.vx * _root.ball.vx) + (_root.ball.vy * _root.ball.vy));
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = wv[0] * 6;
vv[1] = wv[1] * 6;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
_parent.funcDo();
}
}
}
Instance of Symbol 189 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Instance of Symbol 182 MovieClip in Symbol 191 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = _parent._rotation * (Math.PI/180);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
vect = Math.sqrt((_root.ball.vx * _root.ball.vx) + (_root.ball.vy * _root.ball.vy));
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = wv[0] * 10;
vv[1] = wv[1] * 10;
_root.ball.vx = vv[0] + (vh[0] * 0.5);
_root.ball.vy = (vv[1] + (vh[1] * 0.5)) - _root.gravity;
_parent.funcDo();
}
}
}
Instance of Symbol 193 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Instance of Symbol 182 MovieClip in Symbol 195 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
dist = Math.sqrt(((_root.ball._x - _parent._parent._x) * (_root.ball._x - _parent._parent._x)) + ((_root.ball._y - _parent._parent._y) * (_root.ball._y - _parent._parent._y)));
phi = (_parent._parent.move * Math.PI) / 180;
radR = (_parent._rotation + _parent._parent._rotation) * (Math.PI/180);
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
radA = Math.atan2(_root.ball.vx + ((wv[0] * dist) * phi), _root.ball.vy + ((wv[1] * dist) * phi));
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
vect = Math.sqrt((_root.ball.vx * _root.ball.vx) + (_root.ball.vy * _root.ball.vy));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = (vv[0] + vh[0]) - (((wv[0] * dist) * phi) * 3);
_root.ball.vy = ((vv[1] + vh[1]) - (((wv[1] * dist) * phi) * 3)) - _root.gravity;
}
}
}
Instance of Symbol 189 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
dist = Math.sqrt(((_root.ball._x - _parent._parent._x) * (_root.ball._x - _parent._parent._x)) + ((_root.ball._y - _parent._parent._y) * (_root.ball._y - _parent._parent._y)));
phi = (_parent._parent.move * Math.PI) / 180;
radR = (_parent._rotation + _parent._parent._rotation) * (Math.PI/180);
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
radA = Math.atan2(_root.ball.vx + ((wv[0] * dist) * phi), _root.ball.vy + ((wv[1] * dist) * phi));
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
vect = Math.sqrt((_root.ball.vx * _root.ball.vx) + (_root.ball.vy * _root.ball.vy));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = (vv[0] + vh[0]) - (((wv[0] * dist) * phi) * 3);
_root.ball.vy = ((vv[1] + vh[1]) - (((wv[1] * dist) * phi) * 3)) - _root.gravity;
}
}
}
Instance of Symbol 193 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
_parent.funcDo();
}
}
}
Instance of Symbol 182 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = _parent._rotation * (Math.PI/180);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
vect = Math.sqrt((_root.ball.vx * _root.ball.vx) + (_root.ball.vy * _root.ball.vy));
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
_parent.funcDo();
}
}
}
Instance of Symbol 204 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Instance of Symbol 208 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Instance of Symbol 208 MovieClip in Symbol 211 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) > 0) {
vv = new Array();
vh = new Array();
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Instance of Symbol 214 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) > 0) {
vv = new Array();
vh = new Array();
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) > 0) {
vv = new Array();
vh = new Array();
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Instance of Symbol 220 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = (-Math.atan2(_root.ball._x - _parent._x, _root.ball._y - _parent._y)) + (Math.PI/2);
if (Math.sin(radA + radR) > 0) {
vv = new Array();
vh = new Array();
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Instance of Symbol 185 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
if (touching == 0) {
touching = 1;
_parent.funcDo();
}
} else {
touching = 0;
}
}
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 4
this.gotoAndStop("none");
Symbol 236 MovieClip Frame 6
this.gotoAndStop("none");
Symbol 236 MovieClip Frame 8
this.gotoAndStop("none");
Symbol 236 MovieClip Frame 10
this.gotoAndStop("none");
Symbol 236 MovieClip Frame 12
this.gotoAndStop("none");
Symbol 236 MovieClip Frame 14
this.gotoAndStop("none");
Symbol 236 MovieClip Frame 16
this.gotoAndStop("none");
Symbol 236 MovieClip Frame 18
this.gotoAndStop("none");
Symbol 236 MovieClip Frame 20
this.gotoAndStop("none");
Instance of Symbol 185 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
if (touching == 0) {
touching = 50;
_root.ball._x = _parent._x;
_root.ball._y = _parent._y;
_parent.funcDo();
} else if (touching > 2) {
touching--;
_root.ball._x = _parent._x;
_root.ball._y = _parent._y;
} else if (touching == 2) {
_root.ball.vx = Math.cos((_parent._rotation * Math.PI) / 180) * 12;
_root.ball.vy = Math.sin((_parent._rotation * Math.PI) / 180) * 12;
_parent.funcDo2();
touching = 1;
}
} else {
touching = 0;
}
}
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 2
stop();
Instance of Symbol 243 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
_parent.touch = 1;
} else {
_parent.touch = 0;
}
}
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) {
pr = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (this._yscale > 30) {
this._yscale = this._yscale - 5;
pr++;
}
} else {
this._yscale = 100;
if (((pr > 0) && (!Key.isDown(32))) && (_parent.touch == 1)) {
_root.ball.vy = -pr;
_root.soundEffect.gotoAndPlay("sound07");
}
pr = 0;
}
}
Symbol 247 MovieClip Frame 1
stop();
Instance of Symbol 182 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
radA = Math.atan2(_root.ball.vx, _root.ball.vy);
radR = _parent._rotation * (Math.PI/180);
if (Math.sin(radA + radR) < 0) {
vv = new Array();
vh = new Array();
vect = Math.sqrt((_root.ball.vx * _root.ball.vx) + (_root.ball.vy * _root.ball.vy));
wv = new Array(Math.cos(radR), Math.sin(radR));
wh = new Array(Math.cos(radR + (Math.PI/2)), Math.sin(radR + (Math.PI/2)));
vv[0] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[0];
vv[1] = ((_root.ball.vx * wv[0]) + (_root.ball.vy * wv[1])) * wv[1];
vh[0] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[0];
vh[1] = ((_root.ball.vx * wh[0]) + (_root.ball.vy * wh[1])) * wh[1];
vv[0] = vv[0] * -0.8;
vv[1] = vv[1] * -0.8;
_root.ball.vx = vv[0] + vh[0];
_root.ball.vy = (vv[1] + vh[1]) - _root.gravity;
}
}
}
Symbol 247 MovieClip Frame 2
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 4
this.gotoAndStop("still");
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 2
stop();
Symbol 299 MovieClip Frame 3
stop();
Symbol 299 MovieClip Frame 4
stop();
Symbol 299 MovieClip Frame 5
stop();
Symbol 299 MovieClip Frame 6
stop();
Symbol 299 MovieClip Frame 7
stop();
Symbol 299 MovieClip Frame 8
stop();
Symbol 299 MovieClip Frame 9
stop();
Symbol 299 MovieClip Frame 10
stop();
Symbol 299 MovieClip Frame 11
stop();
Symbol 299 MovieClip Frame 12
stop();
Symbol 299 MovieClip Frame 13
stop();
Symbol 299 MovieClip Frame 14
stop();
Symbol 299 MovieClip Frame 15
stop();
Symbol 299 MovieClip Frame 16
stop();
Symbol 299 MovieClip Frame 17
stop();
Symbol 299 MovieClip Frame 18
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
play();
Instance of Symbol 299 MovieClip "word" in Symbol 300 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_parent.queue[0]);
}
Symbol 300 MovieClip Frame 42
this.queue.splice(0, 1);
if (this.queue.length > 0) {
this.gotoAndPlay("on");
} else {
this.gotoAndStop("off");
}
Symbol 304 MovieClip Frame 2
stop();
Symbol 304 MovieClip Frame 4
stop();
Symbol 315 Button
on (release) {
gotoAndPlay ("title");
}