Frame 1
function setyayoi() {
_root.yayoi._x = _root._xmouse;
_root.yayoi._y = _root._ymouse;
_root.yayoi2._x = _root._xmouse;
_root.yayoi2._y = _root._ymouse;
}
Mouse.hide();
someListener = new Object();
someListener.onMouseMove = function () {
setyayoi();
};
Mouse.addListener(someListener);
stop();
_root.asd = 4.2;
_root.d = 0;
_root.s = 0;
_root.score = 0;
_root.db = 0;
_root.s72 = 72;
_root.de = 50;
_root.r = 1;
_root.vol = 100;
_root.sp = 1;
createEmptyMovieClip("mc1", 420);
createEmptyMovieClip("mc2", 4200);
createEmptyMovieClip("mc3", 4242);
s1 = new Sound(mc1);
s1.attachSound("s6");
s1.start(0, 72);
s2 = new Sound(mc2);
s2.attachSound("te");
s2.setVolume(0);
s2.start(0, 72);
s3 = new Sound(mc3);
s3.attachSound("891");
s3.setVolume(0);
s3.start(0, 72);
Instance of Symbol 24 MovieClip "planet" in Frame 1
onClipEvent (enterFrame) {
a = 1;
rx = random(4);
ry = random(4);
if (rx > 0) {
cx++;
}
if ((((this._x >= 640) or (this._x <= 0)) or (this._y >= 480)) or (this._y <= 0)) {
}
this._yscale = (this._xscale = Math.sqrt((Math.pow(this._x - 320, 2) + (Math.pow(this._y - 240, 2) * 40)) / 400) + 80);
this.onEnterFrame = function () {
if (((Key.isDown(39) + Key.isDown(37)) + Key.isDown(38)) + Key.isDown(40)) {
_root.r = 0;
} else {
_root.r = 1;
}
if (rx == 1) {
this._x = this._x + (((7.2 * a) * 0.24) * _root.sp);
_root.bg._x = _root.bg._x + (((7.2 * a) * 0.08) * _root.sp);
}
if (rx == 2) {
this._x = this._x - (((7.2 * a) * 0.24) * _root.sp);
_root.bg._x = _root.bg._x - (((7.2 * a) * 0.08) * _root.sp);
}
if (ry == 1) {
this._y = this._y + (((7.2 * a) * 0.18) * _root.sp);
_root.bg._y = _root.bg._y + (((7.2 * a) * 0.06) * _root.sp);
}
if (ry == 2) {
this._y = this._y - (((7.2 * a) * 0.18) * _root.sp);
_root.bg._y = _root.bg._y - (((7.2 * a) * 0.06) * _root.sp);
}
if (Key.isDown(39)) {
this._x = this._x - ((7.2 * a) * 1.2);
_root.bg._x = _root.bg._x - ((7.2 * a) * 0.12);
}
if (Key.isDown(37)) {
this._x = this._x + ((7.2 * a) * 1.2);
_root.bg._x = _root.bg._x + ((7.2 * a) * 0.12);
}
if (Key.isDown(38)) {
this._y = this._y + ((7.2 * a) * 0.8);
_root.bg._y = _root.bg._y + ((7.2 * a) * 0.08);
}
if (Key.isDown(40)) {
this._y = this._y - ((7.2 * a) * 0.8);
_root.bg._y = _root.bg._y - ((7.2 * a) * 0.08);
}
};
if (this._x >= 320) {
this._x = this._x - (2.88 * a);
_root.bg._x = _root.bg._x - (0.288 * a);
}
if (this._x <= 320) {
this._x = this._x + (2.88 * a);
_root.bg._x = _root.bg._x + (0.288 * a);
}
if (this._y >= 240) {
this._y = this._y - (2.16 * a);
_root.bg._y = _root.bg._y - (0.216 * a);
}
if (this._y <= 240) {
this._y = this._y + (2.16 * a);
_root.bg._y = _root.bg._y + (0.216 * a);
}
if (this._x >= 480) {
this._x = this._x - (2.88 * a);
_root.bg._x = _root.bg._x - (0.288 * a);
}
if (this._x <= 160) {
this._x = this._x + (2.88 * a);
_root.bg._x = _root.bg._x + (0.288 * a);
}
if (this._y >= 360) {
this._y = this._y - (2.16 * a);
_root.bg._y = _root.bg._y - (0.216 * a);
}
if (this._y <= 120) {
this._y = this._y + (2.16 * a);
_root.bg._y = _root.bg._y + (0.216 * a);
}
}
Instance of Symbol 41 MovieClip "star" in Frame 1
onClipEvent (load) {
z = 0;
xp = (320 - random(172)) + random(172);
yp = (240 - random(172)) + random(172);
r = random(360);
KC = 42;
x = 0;
y = 0;
fl = 200;
vx = 320;
vy = 240;
i = 0;
rofl = _root.asd;
d = _root.d;
s = _root.s;
score = _root.score;
db = _root.db;
}
onClipEvent (enterFrame) {
rofl = _root.asd;
if (_root.d >= 0) {
_root.d = _root.d - 0.0288;
}
if (_root.d <= 0) {
_root.d = _root.d + 0.0288;
}
if (_root.s >= 0) {
_root.s = _root.s - 0.0216;
}
if (_root.s <= 0) {
_root.s = _root.s + 0.0216;
}
if (_root.d >= 150) {
_root.d = _root.d - 0.0288;
}
if (_root.d <= -150) {
_root.d = _root.d + 0.0288;
}
if (_root.s >= 100) {
_root.s = _root.s - 0.0216;
}
if (_root.s <= -100) {
_root.s = _root.s + 0.0216;
}
if (Key.isDown(37)) {
_root.d = _root.d + 0.0864;
}
if (Key.isDown(39)) {
_root.d = _root.d - 0.0864;
}
if (Key.isDown(40)) {
_root.s = _root.s + 0.0648;
}
if (Key.isDown(38)) {
_root.s = _root.s - 0.0648;
}
if (Key.isDown(97)) {
_root.asd = _root.asd + 0.001;
}
if (Key.isDown(96)) {
_root.asd = _root.asd - 0.001;
}
_alpha = ((-10 * z) / 7);
x = xp - vx;
y = yp - vy;
z = z - rofl;
if (z <= (-fl)) {
i--;
this.swapDepths(0);
removeMovieClip(this);
} else {
_visible = true;
scale = fl / (fl + z);
if ((r % 2) == 0) {
_rotation = (r + (3 * z));
} else {
_rotation = (r - (3 * z));
}
_yscale = (scale * 200);
_xscale = (scale * 200);
_x = ((vx + (x * scale)) + d);
_y = ((vy + (y * scale)) - s);
}
if (_name == "star") {
_x = -200;
z = 0;
duplicateMovieClip (this, _name + i, -i);
i++;
duplicateMovieClip (this, _name + i, -i);
i++;
duplicateMovieClip (this, _name + i, -i);
i++;
} else if (_root.cgg.hitTest(_x, _y, true)) {
i--;
this.swapDepths(0);
this.removeMovieClip();
}
if (_root.yayoi.hitTest(this) && (this._xscale >= 756)) {
i--;
_root.score = Number(_root.score + 72);
this.swapDepths(0);
this.removeMovieClip();
}
if ((score > 5184) && (_root.yayoi.hitTest(_root.planet) == true)) {
sw = 1;
_root.sp = 7.2;
_root.yayoi2._visible = true;
if (_root.vol > 1) {
_root.vol = _root.vol * 0.9994;
}
_root.s2.setVolume(100 - _root.vol);
_root.s1.setVolume(_root.vol);
if (_root.yayoi2.hitTest(this) && (this._xscale >= 336)) {
_root.score = _root.score + 7272;
}
}
if ((Key.isDown(1) && (sw == 1)) && (_root.yayoi2._xscale <= 420)) {
_root.yayoi2._xscale++;
_root.yayoi2._yscale++;
} else if (_root.yayoi2._xscale >= 72) {
_root.yayoi2._xscale--;
_root.yayoi2._yscale--;
}
if (((score > 51840000) && (sw == 1)) && (Key.isDown(1))) {
_root.col._visible = true;
_root.s2.setVolume(72);
_root.s3.setVolume(100);
_root.score = _root.score + "72";
}
if (_root.score >= "72727272727272727272727272727272727272727272727272727272") {
_root.score = 72727272 /* 0x455BAE8 */;
}
}
Instance of Symbol 58 MovieClip "yayoi" in Frame 1
onClipEvent (load) {
_root.col._visible = false;
_root.col.swapDepths(43);
this.swapDepths(42);
_root.yayoi2.swapDepths(41);
_root.yayoi2._visible = false;
}