Frame 1
function gameSave() {
trace("saved");
var _local1 = SharedObject.getLocal("parkmycar");
_local1.data.myObj = highScore_arr;
_local1.flush();
}
function gameSave_GK() {
trace("saved_GK");
var _local1 = SharedObject.getLocal("parkmycar_GK");
_local1.data.myObj_GK = highScore_GK;
trace(highScore_GK);
_local1.flush();
}
fscommand ("allowscale", false);
fscommand ("showmenu", false);
myLSO = SharedObject.getLocal("parkmycar");
if (myLSO.data.myObj == undefined) {
trace("first play");
highScore_arr = [["cpu", 120000], ["cpu", 100000], ["cpu", 80000], ["cpu", 50000], ["cpu", 30000], ["cpu", 25000], ["cpu", 18000], ["cpu", 15000], ["cpu", 12000], ["cpu", 8000]];
gameSave();
} else {
trace("loaded");
highScore_arr = myLSO.data.myObj;
trace(highScore_arr);
}
myLSOB_GK = SharedObject.getLocal("parkmycar_GK");
if (myLSOB_GK.data.myObj_GK == undefined) {
trace("first play_GK");
highScore_GK = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
gameSave_GK();
} else {
trace("loaded_GK");
highScore_GK = myLSOB_GK.data.myObj_GK;
trace(highScore_GK);
}
Instance of Symbol 55 MovieClip "All" in Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 2
byteloaded = _root.getBytesLoaded();
bytetotal = _root.getBytesTotal();
loaded = int((byteloaded / bytetotal) * 10);
loading.gotoAndStop(loaded);
Frame 5
if (byteloaded == bytetotal) {
gotoAndPlay ("start0");
} else {
gotoAndPlay ("loop");
}
Frame 9
OKsound = 1;
onesound = 0;
if ((_root.OKsound == 1) && (onesound == 0)) {
onesound = 1;
KSSOUND = new Sound();
KSSOUND.attachSound("mainscreen");
KSSOUND.start(0, 1000);
}
Frame 10
function doFigure(pmc, num) {
_root.points = new Array(num);
var _local9 = Math.max(pmc._width + 10, pmc._height + 20) / 2;
var _local11 = 360 / num;
var _local8 = 0;
var _local5 = 0;
while (_local5 < num) {
_root.points[_local5] = new Array();
var _local7 = Math.cos((_local8 * Math.PI) / 180);
var _local6 = Math.sin((_local8 * Math.PI) / 180);
var _local3 = pmc._x + (_local9 * _local7);
var _local2 = pmc._y + (_local9 * _local6);
do {
if (pmc.hitTest(_local3, _local2, true)) {
break;
}
_local3 = _local3 - _local7;
_local2 = _local2 - _local6;
} while (!((_local3 <= 0) || (_local2 <= 0)));
_root.points[_local5][0] = _local3 - pmc._x;
_root.points[_local5][1] = _local2 - pmc._y;
_local8 = _local8 + _local11;
_local5 = _local5 + 1;
}
}
function doFigure2(pmc, num) {
pmc.points = new Array(num);
var _local8 = Math.max(pmc._width + 10, pmc._height + 20) / 2;
var _local10 = 360 / num;
var _local7 = 0;
var _local4 = 0;
while (_local4 < num) {
pmc.points[_local4] = new Array();
var _local6 = Math.cos((_local7 * Math.PI) / 180);
var _local5 = Math.sin((_local7 * Math.PI) / 180);
var _local3 = pmc._x + (_local8 * _local6);
var _local2 = pmc._y + (_local8 * _local5);
do {
if (pmc.hitTest(_local3, _local2, true)) {
break;
}
_local3 = _local3 - _local6;
_local2 = _local2 - _local5;
} while (!((_local3 <= 0) || (_local2 <= 0)));
pmc.points[_local4][0] = _local3 - pmc._x;
pmc.points[_local4][1] = _local2 - pmc._y;
_local7 = _local7 + _local10;
_local4 = _local4 + 1;
}
}
hit = false;
JD = 0;
T = 119;
T2 = 0;
live = 3;
guank = 0;
fen = 0;
TZ = 1;
qualityNum = 1;
PDJ = function (x1, y1) {
x2 = _root.A._x;
y2 = _root.A._y;
dx = Math.abs(x2 - x1);
dy = Math.abs(y2 - y1);
angle = Math.atan(dy / dx);
angle = (angle * 180) / Math.PI;
if (dx < 0) {
angle = angle - 180;
}
if (x2 < x1) {
if (y2 <= y1) {
TA = int(angle + 90) - 180;
} else if (y2 > y1) {
TA = -int(angle + 90);
}
}
if (x2 > x1) {
if (y2 <= y1) {
TA = 180 - int(angle + 90);
} else if (y2 > y1) {
TA = int(angle + 90);
}
}
return(TA);
};
PDJ2 = function (x1, y1) {
x2 = _root.QB._x;
y2 = _root.QB._y;
dx = Math.abs(x2 - x1);
dy = Math.abs(y2 - y1);
angle = Math.atan(dy / dx);
angle = (angle * 180) / Math.PI;
if (dx < 0) {
angle = angle - 180;
}
if (x2 < x1) {
if (y2 <= y1) {
TB = int(angle + 90) - 180;
} else if (y2 > y1) {
TB = -int(angle + 90);
}
}
if (x2 > x1) {
if (y2 <= y1) {
TB = 180 - int(angle + 90);
} else if (y2 > y1) {
TB = int(angle + 90);
}
}
return(TB);
};
QBXY = function () {
degree = (Math.PI/180);
if (_root.guank == 6) {
xspeed = Math.sin((-_root.A._rotation) * degree);
yspeed = Math.cos((-_root.A._rotation) * degree);
} else {
xspeed = Math.sin((-(_root.A._rotation + 180)) * degree);
yspeed = Math.cos((-(_root.A._rotation + 180)) * degree);
}
x2 = xspeed * 120;
y2 = yspeed * 120;
_root.QB._x = x2 + _root.A._x;
_root.QB._y = y2 + _root.A._y;
};
stop();
Frame 11
stop();
Frame 12
if (guank == 0) {
guank = 1;
}
world = 0;
Key.addListener(this);
this.onKeyDown = function () {
if (Key.getAscii() == 32) {
trace(1);
stopAllSounds();
world = 1;
gotoAndPlay("G" + _root.guank);
Key.removeListener(this);
}
};
stop();
Frame 15
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(3);
guank = 1;
levelmc.G = "0" + _root.guank;
if ((_root.OKsound == 1) && (world == 1)) {
_root.KSSOUND = new Sound();
_root.KSSOUND.attachSound("world1");
_root.KSSOUND.start(0, 2000);
}
_root.timeK.T = "120:00";
world = 2;
stop();
Instance of Symbol 115 MovieClip "A" in Frame 15
onClipEvent (load) {
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
root1 = 0;
root2 = 0;
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARA");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
i = i + 1;
}
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
}
} else if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
}
}
if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD1");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.8;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD1");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.8;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = 0.017453;
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = 0.017453;
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
if (speed > 0.4) {
speed = speed - 0.3;
} else if (speed < -0.4) {
speed = speed + 0.3;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 170)) && (this._x < 185)) && (this._y > 290)) && (this._y < 300)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
_root.OK.gotoAndPlay(2);
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 15
/* no clip actions */
Frame 16
gotoAndStop ("start");
Frame 20
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(7);
guank = 2;
levelmc.G = "0" + _root.guank;
_root.timeK.T = "120:00";
stop();
Instance of Symbol 174 MovieClip "C1" in Frame 20
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 206.9;
this._y = 230;
FX = 1;
this.gotoAndStop(5);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
this.play();
if (FX == 1) {
this._x = this._x - 1;
if (this._x < 30) {
FX = 0;
this._xscale = -this._xscale;
}
} else if (FX == 0) {
this._x = this._x + 1;
if (this._x > 240) {
FX = 1;
this._xscale = -this._xscale;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
}
}
Instance of Symbol 176 MovieClip "A" in Frame 20
onClipEvent (load) {
PZL = 0;
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
root1 = 0;
root2 = 0;
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARA");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
trace(k);
_root["B" + k].play();
this.play();
_root.hit = true;
break;
}
if (_root.C1.hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
i = i + 1;
}
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
}
} else if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
}
}
if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD1");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.8;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD2");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.8;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
if (speed > 0.4) {
speed = speed - 0.3;
} else if (speed < -0.4) {
speed = speed + 0.3;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 20)) && (this._x < 47)) && (this._y > 285)) && (this._y < 300)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 20
/* no clip actions */
Frame 21
gotoAndStop ("start");
Frame 25
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(1);
WS.setMask(ZZ);
guank = 3;
levelmc.G = "0" + _root.guank;
_root.timeK.T = "120:00";
stop();
Instance of Symbol 192 MovieClip "A" in Frame 25
onClipEvent (load) {
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
root1 = 0;
root2 = 0;
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARA");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
_root.WS.A.play();
_root.hit = true;
break;
}
k++;
}
i = i + 1;
}
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.WS.A.wheel1._rotation = QLXZ;
_root.WS.A.wheel4._rotation = QLXZ;
}
} else if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.WS.A.wheel1._rotation = QLXZ;
_root.WS.A.wheel4._rotation = QLXZ;
}
}
if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD3");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.8;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD3");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.8;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.WS.A1._rotation = this._rotation;
_root.WS.A1._x = this._x;
_root.WS.A1._y = this._y;
_root.WS.A._rotation = this._rotation;
_root.WS.A._x = this._x;
_root.WS.A._y = this._y;
_root.ZZ._rotation = this._rotation;
_root.ZZ._x = this._x;
_root.ZZ._y = this._y;
if (speed > 0.4) {
speed = speed - 0.3;
} else if (speed < -0.4) {
speed = speed + 0.3;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 100)) && (this._x < 120)) && (this._y > 285)) && (this._y < 310)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 25
/* no clip actions */
Frame 26
gotoAndStop ("start");
Frame 30
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(3);
WS.setMask(ZZ);
guank = 4;
levelmc.G = "0" + _root.guank;
_root.timeK.T = "120:00";
stop();
Instance of Symbol 216 MovieClip "MR1" in Frame 30
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 310;
this._y = 173;
SJ = 100;
TT = 0;
this.gotoAndStop(5);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if (TT <= 32) {
TT++;
}
if ((_root.hit == false) && (_root.A.timemove == 0)) {
this.play();
if (Key.isDown(32) && (TT >= 30)) {
TT = 0;
SJ = 300;
this._rotation = this._rotation + 120;
if (_root.OKsound == 1) {
BB = new Sound();
BB.attachSound("QDBB1");
BB.start(0, 1);
}
}
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * 1);
this._y = this._y + (Math.cos(this._rotation * degree) * 1);
if (SJ > 0) {
SJ = SJ - 1;
} else if (SJ <= 0) {
SJ = 300;
this._rotation = random(180) - random(180);
} else if ((((this._x < 40) || (this._x > 540)) || (this._y < 40)) || (this._y > 350)) {
this._rotation = this._rotation + 180;
}
if ((_root.MRL.hitTest(this._x, this._y, true) || (_root.C2.hitTest(this))) || (_root.C1.hitTest(this))) {
SJ = 300;
this._rotation = this._rotation + 180;
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * 3);
this._y = this._y + (Math.cos(this._rotation * degree) * 3);
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
}
}
Instance of Symbol 218 MovieClip "A" in Frame 30
onClipEvent (load) {
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
root1 = 0;
root2 = 0;
SY = 0;
ABCD = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARA");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
if (_root.MR1.hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
i = i + 1;
}
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if (ABCD <= 10) {
ABCD++;
}
if ((Key.isDown(32) && (_root.TS._y >= 0)) && (ABCD >= 5)) {
_root.TS._y = -100;
}
if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
} else if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
}
if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
_root.TS._y = -100;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD4");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.8;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
_root.TS._y = -100;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD4");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.8;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.A1._rotation = this._rotation;
_root.A1._x = this._x;
_root.A1._y = this._y;
if (speed > 0.4) {
speed = speed - 0.3;
} else if (speed < -0.4) {
speed = speed + 0.3;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 450)) && (this._x < 465)) && (this._y > 65)) && (this._y < 90)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 30
/* no clip actions */
Frame 31
gotoAndStop ("start");
Frame 35
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(2);
guank = 5;
levelmc.G = "0" + _root.guank;
_root.timeK.T = "120:00";
stop();
Instance of Symbol 174 MovieClip "C1" in Frame 35
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 100;
this._y = 230;
FX = 1;
this.gotoAndStop(5);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
this.play();
if (FX == 1) {
this._x = this._x - 1;
if (this._x < 30) {
FX = 0;
this._xscale = -this._xscale;
}
} else if (FX == 0) {
this._x = this._x + 1;
if (this._x > 314) {
FX = 1;
this._xscale = -this._xscale;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
}
}
Instance of Symbol 174 MovieClip "C2" in Frame 35
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 340;
this._y = 358;
FX = 1;
this.gotoAndStop(5);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
this.play();
if (FX == 1) {
this._y = this._y - 1;
if (this._y < 30) {
FX = 0;
this._rotation = this._rotation - 180;
}
} else if (FX == 0) {
this._y = this._y + 1;
if (this._y > 380) {
FX = 1;
this._rotation = this._rotation - 180;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
}
}
Instance of Symbol 216 MovieClip "MR1" in Frame 35
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 310;
this._y = 173;
SJ = 100;
TT = 0;
DOK = 0;
this.gotoAndStop(5);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if (TT <= 45) {
TT++;
}
if ((_root.hit == false) && (_root.A.timemove == 0)) {
if (Key.isDown(32) && (TT >= 30)) {
TT = 0;
SJ = 300;
this._rotation = this._rotation + 120;
if (_root.OKsound == 1) {
BB = new Sound();
BB.attachSound("QDBB2");
BB.start(0, 1);
}
}
var degree = (Math.PI/180);
if (DOK == 0) {
this.play();
this._x = this._x - (Math.sin(this._rotation * degree) * 1);
this._y = this._y + (Math.cos(this._rotation * degree) * 1);
}
if (SJ > 0) {
SJ = SJ - 1;
} else if (SJ <= 0) {
SJ = 300;
this._rotation = random(180) - random(180);
} else if ((((this._x < 40) || (this._x > 540)) || (this._y < 40)) || (this._y > 350)) {
this._rotation = this._rotation + 180;
}
DOK = 0;
if (_root.C2.hitTest(this) || (_root.C1.hitTest(this))) {
DOK = 1;
this.gotoAndStop(11);
}
if (_root.MRL.hitTest(this._x, this._y, true)) {
SJ = 300;
this._rotation = this._rotation + 180;
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * 3);
this._y = this._y + (Math.cos(this._rotation * degree) * 3);
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
}
}
Instance of Symbol 226 MovieClip "A" in Frame 35
onClipEvent (load) {
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
root1 = 0;
root2 = 0;
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARA");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
if ((_root.C1.hitTest(X, Y, true) || (_root.C2.hitTest(X, Y, true))) || (_root.MR1.hitTest(X, Y, true))) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
i = i + 1;
}
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 4;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
} else if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 4;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
}
if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD1");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.6;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD1");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.6;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.A1._rotation = this._rotation;
_root.A1._x = this._x;
_root.A1._y = this._y;
if (_root.T < 100) {
if (speed > 0.2) {
speed = speed - 0.1;
} else if (speed < -0.2) {
speed = speed + 0.1;
} else {
speed = 0;
}
} else if (_root.T >= 100) {
if (speed > 0.4) {
speed = speed - 0.3;
} else if (speed < -0.4) {
speed = speed + 0.3;
} else {
speed = 0;
}
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 451)) && (this._x < 465)) && (this._y > 280)) && (this._y < 300)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 228 MovieClip in Frame 35
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -750) {
this._x = 580;
}
}
Instance of Symbol 230 MovieClip in Frame 35
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -295) {
this._x = 580;
}
}
Instance of Symbol 232 MovieClip in Frame 35
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -280) {
this._x = 580;
}
}
Instance of Symbol 233 MovieClip in Frame 35
onClipEvent (load) {
Y = 1;
T = 0;
TA = 0;
OK = 0;
}
onClipEvent (enterFrame) {
if (_root.T <= 100) {
if (OK == 0) {
_root.TQ.gotoAndStop(4);
OK = 1;
}
if (T > 0) {
T--;
} else if (T <= 0) {
T = 2;
if (_root.T < 70) {
T = 4;
} else if (_root.T < 80) {
T = 5;
}
_root.attachMovie("rain", "rain" + Y, 100 + Y);
_root["rain" + Y]._x = (290 + random(100)) - random(100);
_root["rain" + Y]._y = (210 + random(50)) - random(50);
x2 = 290;
y2 = 210;
x1 = _root["rain" + Y]._x;
y1 = _root["rain" + Y]._y;
dx = Math.abs(x2 - x1);
dy = Math.abs(y2 - y1);
angle = Math.atan(dy / dx);
angle = (angle * 180) / Math.PI;
if (dx < 0) {
angle = angle - 180;
}
if (x2 < x1) {
if (y2 <= y1) {
TA = int(angle + 90) - 180;
} else if (y2 > y1) {
TA = -int(angle + 90);
}
}
if (x2 > x1) {
if (y2 <= y1) {
TA = 180 - int(angle + 90);
} else if (y2 > y1) {
TA = int(angle + 90);
}
}
_root["rain" + Y]._rotation = 180 + TA;
Y++;
if (Y >= 40) {
Y = 1;
}
}
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 35
/* no clip actions */
Frame 36
gotoAndStop ("start");
Frame 40
if ((_root.OKsound == 1) && (world == 2)) {
KSSOUND = new Sound();
KSSOUND.attachSound("world2");
KSSOUND.start(0, 2000);
}
world = 3;
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(3);
var LJD = 1;
var ALLLJD = new Array();
var ZD = 1;
var ALLZD = new Array();
var DH1 = 2;
guank = 6;
levelmc.G = "0" + _root.guank;
TQ.swapDepths(704);
timeK.swapDepths(703);
lifeK.swapDepths(701);
levelmc.swapDepths(702);
WK.swapDepths(700);
SS2.swapDepths(608);
_root.timeK.T = "120:00";
stop();
Instance of Symbol 257 MovieClip "GREN2" in Frame 40
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 390;
this._y = 30;
FX = 1;
T = 200;
KD = 0;
SJ = 30;
this.gotoAndStop(7);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
if ((FX == 1) && (KD == 0)) {
this.play();
this._y = this._y - 1;
if (this._y < 20) {
FX = 0;
this._rotation = this._rotation - 180;
}
} else if ((FX == 0) && (KD == 0)) {
this.play();
this._y = this._y + 1;
if (this._y > 100) {
FX = 1;
this._rotation = this._rotation - 180;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
if (this.hitTest(_root.QB._x, _root.QB._y, true) && (_root.A2.mc.KQ == 1)) {
_root.A2.mc.KQ = 0;
stop();
KD = 1;
this._x = -100;
this._y = -100;
this._visible = false;
}
if (T > 0) {
T--;
} else if (T <= 0) {
T = 200;
KD = 1;
this.gotoAndStop("D");
if (FX == 0) {
this.mc._rotation = _root.PDJ(this._x, this._y);
} else if (FX == 1) {
this.mc._rotation = _root.PDJ(this._x, this._y) + 180;
}
_root.attachMovie("JD", "JD" + _root.LJD, _root.LJD + 420);
var degree = (Math.PI/180);
_root["JD" + _root.LJD]._x = this._x;
_root["JD" + _root.LJD]._y = this._y;
_root["JD" + _root.LJD]._rotation = this.mc._rotation;
_root["JD" + _root.LJD].X = Math.sin(_root.PDJ(this._x, this._y) * degree) * 2;
_root["JD" + _root.LJD].Y = Math.cos(_root.PDJ(this._x, this._y) * degree) * 2;
_root.ALLLJD.push(_root.LJD);
_root.LJD++;
}
}
}
Instance of Symbol 273 MovieClip "GREN1" in Frame 40
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 190;
this._y = 232;
FX = 1;
T = 200;
KD = 0;
SJ = 30;
this.gotoAndStop(7);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
if ((FX == 1) && (KD == 0)) {
this.play();
this._y = this._y - 1;
if (this._y < 230) {
FX = 0;
this._rotation = this._rotation - 180;
}
} else if ((FX == 0) && (KD == 0)) {
this.play();
this._y = this._y + 1;
if (this._y > 340) {
FX = 1;
this._rotation = this._rotation - 180;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
if (this.hitTest(_root.QB._x, _root.QB._y, true) && (_root.A2.mc.KQ == 1)) {
_root.A2.mc.KQ = 0;
stop();
KD = 1;
this._x = -100;
this._y = -100;
this._visible = false;
}
if (T > 0) {
T--;
} else if (T <= 0) {
T = 200;
KD = 1;
this.gotoAndStop("D");
if (FX == 1) {
this.mc._rotation = _root.PDJ(this._x, this._y);
} else if (FX == 0) {
this.mc._rotation = _root.PDJ(this._x, this._y) + 180;
}
_root.attachMovie("JD", "JD" + _root.LJD, _root.LJD + 420);
var degree = (Math.PI/180);
_root["JD" + _root.LJD]._x = this._x;
_root["JD" + _root.LJD]._y = this._y;
_root["JD" + _root.LJD]._rotation = this.mc._rotation;
_root["JD" + _root.LJD].X = Math.sin(_root.PDJ(this._x, this._y) * degree) * 2;
_root["JD" + _root.LJD].Y = Math.cos(_root.PDJ(this._x, this._y) * degree) * 2;
_root.ALLLJD.push(_root.LJD);
_root.LJD++;
}
}
}
Instance of Symbol 42 MovieClip [JD] "JD" in Frame 40
onClipEvent (enterFrame) {
if ((_root.A.OKKD == 0) && (_root.A.KD == 0)) {
i = 0;
while (i < _root.ALLLJD.length) {
_root["JD" + _root.ALLLJD[i]]._x = _root["JD" + _root.ALLLJD[i]]._x + _root["JD" + _root.ALLLJD[i]].X;
_root["JD" + _root.ALLLJD[i]]._y = _root["JD" + _root.ALLLJD[i]]._y - _root["JD" + _root.ALLLJD[i]].Y;
if ((((_root["JD" + _root.ALLLJD[i]]._x < -20) || (_root["JD" + _root.ALLLJD[i]]._x > 590)) || (_root["JD" + _root.ALLLJD[i]]._y < -20)) || (_root["JD" + _root.ALLLJD[i]]._y > 450)) {
_root["JD" + _root.ALLLJD[i]].removeMovieClip();
_root.ALLLJD.splice(i, 1);
i--;
}
i++;
}
}
}
Instance of Symbol 273 MovieClip "GREN3" in Frame 40
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 450;
this._y = 30;
FX = 1;
T = 200;
KD = 0;
SJ = 30;
this.gotoAndStop(7);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
if ((FX == 1) && (KD == 0)) {
this.play();
this._y = this._y - 1;
if (this._y < 20) {
FX = 0;
this._rotation = this._rotation - 180;
}
} else if ((FX == 0) && (KD == 0)) {
this.play();
this._y = this._y + 1;
if (this._y > 100) {
FX = 1;
this._rotation = this._rotation - 180;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
if (this.hitTest(_root.QB._x, _root.QB._y, true) && (_root.A2.mc.KQ == 1)) {
_root.A2.mc.KQ = 0;
stop();
KD = 1;
this._x = -100;
this._y = -100;
this._visible = false;
}
if (T > 0) {
T--;
} else if (T <= 0) {
T = 200;
KD = 1;
this.gotoAndStop("D");
if (FX == 1) {
this.mc._rotation = _root.PDJ(this._x, this._y);
} else if (FX == 0) {
this.mc._rotation = _root.PDJ(this._x, this._y) + 180;
}
_root.attachMovie("JD", "JD" + _root.LJD, _root.LJD + 420);
var degree = (Math.PI/180);
_root["JD" + _root.LJD]._x = this._x;
_root["JD" + _root.LJD]._y = this._y;
_root["JD" + _root.LJD]._rotation = this.mc._rotation;
_root["JD" + _root.LJD].X = Math.sin(_root.PDJ(this._x, this._y) * degree) * 2;
_root["JD" + _root.LJD].Y = Math.cos(_root.PDJ(this._x, this._y) * degree) * 2;
_root.ALLLJD.push(_root.LJD);
_root.LJD++;
}
}
}
Instance of Symbol 287 MovieClip "A" in Frame 40
onClipEvent (load) {
thisT = 0;
timemove = 0;
KQOK = 30;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 20;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 30;
Z = 30;
_root.doFigure(_root.A, numb);
BCX1 = 133;
BCY1 = 63;
BCX2 = 200;
BCY2 = 63;
root1 = 0;
root2 = 0;
this.swapDepths(400);
_root.S.swapDepths(410);
_root.YG.swapDepths(411);
SY = 0;
if (_root.TZ == 1) {
_root.A2.swapDepths(401);
_root.QB.swapDepths(464);
_root.QB1.swapDepths(465);
_root.GREN1.swapDepths(461);
_root.GREN2.swapDepths(462);
_root.GREN3.swapDepths(463);
}
ABCD = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARA");
_root.QD1.start(0, 200);
}
};
t = 1;
while (t <= 3) {
if (((Math.abs(this._x - _root["GREN" + t]._x) < 120) && (Math.abs(this._y - _root["GREN" + t]._y) < 120)) && (_root["GREN" + t]._y > 0)) {
_root.QB._x = _root["GREN" + t]._x;
_root.QB._y = _root["GREN" + t]._y;
_root.QB1._alpha = 0;
break;
}
_root.QBXY();
t++;
}
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
d = 1;
while (d <= 3) {
if (_root["GREN" + d].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
d++;
}
i = i + 1;
}
}
d = 0;
while (d < _root.ALLLJD.length) {
if (this.hitTest(_root["JD" + _root.ALLLJD[d]]._x, _root["JD" + _root.ALLLJD[d]]._y, true) && (_root.hit == false)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
_root["JD" + _root.ALLLJD[d]].play();
_root["JD" + _root.ALLLJD[d]].X = 0;
_root["JD" + _root.ALLLJD[d]].Y = 0;
this.play();
_root.hit = true;
break;
}
d++;
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
u = 1;
while (u <= 30) {
_root["DH" + u].removeMovieClip();
u++;
}
_root.QB.removeMovieClip();
_root.A2.removeMovieClip();
_root.GREN1.removeMovieClip();
_root.GREN2.removeMovieClip();
_root.GREN3.removeMovieClip();
_root.S.removeMovieClip();
_root.QB1.removeMovieClip();
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if (KQOK > 0) {
KQOK--;
}
if ((((((_root.TZ == 1) && (Key.isDown(32))) && (_root.A2.mc.KQ == 0)) && (KQOK <= 0)) && (JTOK == 0)) && (KD == 0)) {
_root.TS22._y = -100;
KQOK = 5;
if (_root.DH1 < 31) {
_root.A2.mc.play();
_root.attachMovie("DH", "DH" + _root.DH1, 200 + _root.DH1);
_root["DH" + _root.DH1]._x = _root.QB._x;
_root["DH" + _root.DH1]._y = _root.QB._y;
_root.DH1++;
} else if ((_root.DH1 >= 31) && (_root.OKsound == 1)) {
W = new Sound();
W.attachSound("S5");
W.start(0, 1);
}
}
if (ABCD < 10) {
ABCD++;
}
if (((_root.TS22._y > 0) && (Key.isDown(32))) && (ABCD >= 5)) {
_root.TS22._y = -100;
}
if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
} else if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
}
if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
_root.TS22._y = -100;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD3");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.5;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
_root.TS22._y = -100;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD3");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.5;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.A2._rotation = this._rotation;
_root.A2._x = this._x;
_root.A2._y = this._y;
if (speed > 0.4) {
speed = speed - 0.3;
} else if (speed < -0.4) {
speed = speed + 0.3;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 474)) && (this._x < 490)) && (this._y > 250)) && (this._y < 260)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 40
/* no clip actions */
Frame 41
gotoAndStop ("start");
Frame 45
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(1);
WS.setMask(ZZ);
guank = 7;
levelmc.G = "0" + _root.guank;
TQ.swapDepths(704);
timeK.swapDepths(703);
lifeK.swapDepths(701);
levelmc.swapDepths(702);
WK.swapDepths(700);
_root.timeK.T = "120:00";
stop();
Instance of Symbol 299 MovieClip "A" in Frame 45
onClipEvent (load) {
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
root1 = 0;
root2 = 0;
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARA");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
_root.WS.A.play();
_root.hit = true;
break;
}
k++;
}
i = i + 1;
}
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
_root.WS.A.wheel1._rotation = QLXZ;
_root.WS.A.wheel4._rotation = QLXZ;
}
} else if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
_root.WS.A.wheel1._rotation = QLXZ;
_root.WS.A.wheel4._rotation = QLXZ;
}
}
if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD4");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 1;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD4");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 1;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.WS.A1._rotation = this._rotation;
_root.WS.A1._x = this._x;
_root.WS.A1._y = this._y;
_root.WS.A._rotation = this._rotation;
_root.WS.A._x = this._x;
_root.WS.A._y = this._y;
_root.ZZ._rotation = this._rotation;
_root.ZZ._x = this._x;
_root.ZZ._y = this._y;
if (speed > 0.4) {
speed = speed - 0.3;
} else if (speed < -0.4) {
speed = speed + 0.3;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 471)) && (this._x < 490)) && (this._y > 20)) && (this._y < 60)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 45
/* no clip actions */
Frame 46
gotoAndStop ("start");
Frame 50
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(3);
guank = 8;
levelmc.G = "0" + _root.guank;
TQ.swapDepths(704);
timeK.swapDepths(703);
lifeK.swapDepths(701);
levelmc.swapDepths(702);
WK.swapDepths(700);
_root.timeK.T = "120:00";
stop();
Instance of Symbol 315 MovieClip "A" in Frame 50
onClipEvent (load) {
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
root1 = 0;
root2 = 0;
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARA");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
i = i + 1;
}
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
if (_root.T < 90) {
QLXZ = QLXZ + 4;
} else if (_root.T >= 90) {
QLXZ = QLXZ + 2;
}
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
} else if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
if (_root.T < 90) {
QLXZ = QLXZ - 4;
} else if (_root.T >= 90) {
QLXZ = QLXZ - 2;
}
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
}
if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD2");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.9;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD2");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.9;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.A1._rotation = this._rotation;
_root.A1._x = this._x;
_root.A1._y = this._y;
if (speed > 0.2) {
speed = speed - 0.1;
} else if (speed < -0.2) {
speed = speed + 0.1;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 403)) && (this._x < 421)) && (this._y > 20)) && (this._y < 60)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 233 MovieClip in Frame 50
onClipEvent (load) {
Y = 1;
T = 0;
TA = 0;
OK = 0;
}
onClipEvent (enterFrame) {
if (_root.T <= 100) {
if (OK == 0) {
_root.TQ.gotoAndStop(5);
OK = 1;
_root.YG._alpha = 0;
}
if (T > 0) {
T--;
} else if (T <= 0) {
if (_root.T >= 90) {
T = 5;
} else {
T = 10;
}
_root.attachMovie("XXUE", "XXUE" + Y, 100 + Y);
_root["XXUE" + Y]._x = 30 + random(550);
_root["XXUE" + Y]._y = 30 + random(190);
Y++;
if (Y >= 30) {
Y = 1;
}
}
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 50
/* no clip actions */
Frame 51
gotoAndStop ("start");
Frame 55
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(7);
guank = 9;
levelmc.G = "0" + _root.guank;
TQ.swapDepths(704);
timeK.swapDepths(703);
lifeK.swapDepths(701);
levelmc.swapDepths(702);
WK.swapDepths(700);
_root.timeK.T = "120:00";
stop();
Instance of Symbol 342 MovieClip "CW1" in Frame 55
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 442;
this._y = 205;
FX = 1;
this.gotoAndStop(5);
TD = 1;
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
this.play();
if (FX == 1) {
if (TD == 0) {
this._x = this._x - 0.5;
}
if (this._x < 309) {
this._rotation = 180 + this._rotation;
FX = 0;
}
} else if (FX == 0) {
if (TD == 0) {
this._x = this._x + 0.5;
}
if (this._x > 450) {
this._rotation = 180 + this._rotation;
FX = 1;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
if (this._alpha <= 0) {
this._visible = 0;
}
}
}
}
Instance of Symbol 342 MovieClip "CW2" in Frame 55
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 242;
this._y = 205;
this.gotoAndStop(5);
FX = 1;
TD = 1;
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
this.play();
if (FX == 1) {
if (TD == 0) {
this._y = this._y - 0.5;
}
if (this._y < 100) {
this._rotation = 180 + this._rotation;
FX = 0;
}
} else if (FX == 0) {
if (TD == 0) {
this._y = this._y + 0.5;
}
if (this._y > 210) {
this._rotation = 180 + this._rotation;
FX = 1;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
if (this._alpha <= 0) {
this._visible = 0;
}
}
}
}
Instance of Symbol 344 MovieClip "A" in Frame 55
onClipEvent (load) {
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
root1 = 0;
root2 = 0;
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARA");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
i = i + 1;
}
}
if ((this.hitTest(_root.CW1._x, _root.CW1._y, true) && (_root.hit == false)) || (this.hitTest(_root.CW2._x, _root.CW2._y, true) && (_root.hit == false))) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
} else if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
}
if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD1");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.7;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD1");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.7;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.A1._rotation = this._rotation;
_root.A1._x = this._x;
_root.A1._y = this._y;
if (speed > 0.4) {
speed = speed - 0.3;
} else if (speed < -0.4) {
speed = speed + 0.3;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 336)) && (this._x < 355)) && (this._y > 352)) && (this._y < 380)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 55
/* no clip actions */
Frame 56
gotoAndStop ("start");
Frame 60
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(6);
guank = 10;
levelmc.G = _root.guank;
TQ.swapDepths(704);
timeK.swapDepths(703);
lifeK.swapDepths(701);
levelmc.swapDepths(702);
WK.swapDepths(700);
_root.timeK.T = "120:00";
stop();
Instance of Symbol 352 MovieClip "Y1" in Frame 60
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 210;
this._y = 140;
num = 20;
_root.doFigure2(this, num);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.TZ == 1) {
i = 0;
while (i < this.points.length) {
X = this.points[i][0] + this._x;
Y = this.points[i][1] + this._y;
if ((_root.A.hitTest(X, Y, true) && (Math.abs(_root.A.speed) >= 1)) && (_root.A.YPZSJ == 0)) {
_root.A.YPZSJ = 30;
_root.A.YPSJFX = (_root.A._rotation + random(40)) - random(40);
trace(_root.A.YPZSJ);
}
i++;
}
}
}
Instance of Symbol 352 MovieClip "Y2" in Frame 60
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 378;
this._y = 160;
num = 20;
_root.doFigure2(this, num);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.TZ == 1) {
i = 0;
while (i < this.points.length) {
X = this.points[i][0] + this._x;
Y = this.points[i][1] + this._y;
if ((_root.A.hitTest(X, Y, true) && (Math.abs(_root.A.speed) >= 1)) && (_root.A.YPZSJ == 0)) {
_root.A.YPZSJ = 30;
_root.A.YPSJFX = (_root.A._rotation + random(40)) - random(40);
trace(_root.A.YPZSJ);
}
i++;
}
}
}
Instance of Symbol 354 MovieClip "A" in Frame 60
onClipEvent (load) {
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 24;
Z = 30;
_root.doFigure(_root.A, numb);
YKKZ = 0;
YPZSJ = 0;
YPSJFX = 0;
speedjs = 0.3;
root1 = 0;
root2 = 0;
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARA");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
i = i + 1;
}
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if (YPZSJ > 0) {
YKKZ = 1;
YPZSJ = YPZSJ - 1;
} else if (YPZSJ <= 0) {
YPZSJ = 0;
YKKZ = 0;
}
if (((Key.isDown(37) && (KD == 0)) && (YKKZ == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
} else if (((Key.isDown(39) && (KD == 0)) && (YKKZ == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
}
if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD4");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.8;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD4");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.8;
}
Direction = 0;
Rotation = -this._rotation;
}
if (YKKZ == 0) {
speedjs = 0.3;
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
} else if (YKKZ == 1) {
speedjs = 0.1;
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(YPSJFX * degree) * speed);
this._y = this._y + (Math.cos(YPSJFX * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(YPSJFX * degree) * speed);
this._y = this._y + (Math.cos(YPSJFX * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
}
_root.A1._rotation = this._rotation;
_root.A1._x = this._x;
_root.A1._y = this._y;
if (speed > 0.4) {
speed = speed - speedjs;
} else if (speed < -0.4) {
speed = speed + speedjs;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 336)) && (this._x < 352)) && (this._y > 250)) && (this._y < 260)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 228 MovieClip in Frame 60
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -750) {
this._x = 580;
}
}
Instance of Symbol 230 MovieClip in Frame 60
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -295) {
this._x = 580;
}
}
Instance of Symbol 232 MovieClip in Frame 60
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -280) {
this._x = 580;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 60
/* no clip actions */
Frame 61
gotoAndStop ("start");
Frame 65
if ((_root.OKsound == 1) && (world == 3)) {
KSSOUND = new Sound();
KSSOUND.attachSound("world3");
KSSOUND.start(0, 2000);
}
world = 4;
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(4);
_root.onMouseDown = function () {
if (((TZ == 1) && (_root.mc._x != -100)) && (_root.mc.KQ == 0)) {
_root.mc.play();
}
};
guank = 11;
levelmc.G = _root.guank;
var DH1 = 2;
TQ.swapDepths(704);
timeK.swapDepths(703);
lifeK.swapDepths(701);
levelmc.swapDepths(702);
WK.swapDepths(700);
_root.timeK.T = "120:00";
stop();
Instance of Symbol 369 MovieClip "XT1" in Frame 65
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 600;
this._y = 163;
this._rotation = this._rotation - 90;
this.gotoAndStop(1);
KD = 0;
TOK = 50;
C = 1;
FX = 1;
CS = 1;
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
CC = function () {
u = 1;
while (u <= 30) {
_root["DH" + u].removeMovieClip();
u++;
}
_root.QB.removeMovieClip();
_root.A2.removeMovieClip();
_root.XT1.removeMovieClip();
_root.S.removeMovieClip();
_root.A.removeMovieClip();
};
}
onClipEvent (enterFrame) {
if (((_root.TZ == 1) && (_root.A.JTOK == 0)) && (this._x > 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
if ((KD == 0) && (C == 1)) {
this.play();
this._x = this._x - 2;
if ((this._x <= 210) && (this._x > 100)) {
KD = 1;
}
} else if ((KD == 0) && (C == 2)) {
this.play();
this._y = this._y + 2;
this._x = this._x - 1;
if (this._y >= 220) {
KD = 1;
}
} else if ((KD == 0) && (C == 3)) {
this.play();
this._y = this._y - 2;
this._x = this._x + 1;
if (this._y <= 150) {
KD = 1;
}
} else if ((((KD == 1) && (this._x != -100)) && (C == 1)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B4._alpha = 60 + random(40);
} else if ((((KD == 1) && (this._x != -100)) && (C == 2)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B3._alpha = 60 + random(40);
} else if ((((KD == 1) && (this._x != -100)) && (C == 3)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B5._alpha = 60 + random(40);
}
if ((((TOK <= 0) && (C == 1)) && (_root.B4._alpha >= 0)) && (this._x > 0)) {
_root.B4._alpha = _root.B4._alpha - 4;
if (_root.B4._alpha < 0) {
TOK = 50;
KD = 0;
_root.B4._visible = 0;
_root.B4._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 2;
this._rotation = this._rotation - 50;
}
} else if ((((TOK <= 0) && (C == 2)) && (_root.B3._alpha >= 0)) && (this._x > 0)) {
_root.B3._alpha = _root.B3._alpha - 4;
if (_root.B3._alpha < 0) {
TOK = 50;
KD = 0;
_root.B3._visible = 0;
_root.B3._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 3;
this._rotation = this._rotation + 160;
}
} else if ((((TOK <= 0) && (C == 3)) && (_root.B5._alpha >= 0)) && (this._x > 0)) {
_root.B5._alpha = _root.B5._alpha - 4;
if (_root.B5._alpha < 0) {
TOK = 50;
KD = 0;
_root.B5._visible = 0;
_root.B5._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 4;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
if ((KD == 1) && (this._x != -100)) {
_root.B4._alpha = _root.B4._alpha - 4;
}
}
}
if (this.hitTest(_root.QB._x, _root.QB._y, true) && (_root.A2.mc.KQ == 1)) {
_root.A2.mc.KQ = 0;
_root.B5._alpha = 100;
_root.B3._alpha = 100;
_root.B4._alpha = 100;
this._x = -100;
this._y = -100;
this._visible = false;
TOK = 50;
this.removeMovieClip();
}
}
}
Instance of Symbol 371 MovieClip "A" in Frame 65
onClipEvent (load) {
thisT = 0;
timemove = 0;
KQOK = 30;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
root1 = 0;
root2 = 0;
_root.doFigure(_root.A, numb);
this.swapDepths(400);
_root.S.swapDepths(410);
if (_root.TZ == 1) {
_root.A2.swapDepths(401);
_root.QB.swapDepths(464);
_root.QB1.swapDepths(465);
_root.XT1.swapDepths(461);
}
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARD");
_root.QD1.start(0, 200);
}
};
t = 1;
while (t <= 1) {
if (((Math.abs(this._x - _root["XT" + t]._x) < 120) && (Math.abs(this._y - _root["XT" + t]._y) < 120)) && (_root["XT" + t]._y > 0)) {
_root.QB._x = _root["XT" + t]._x;
_root.QB._y = _root["XT" + t]._y;
_root.QB1._alpha = 0;
break;
}
_root.QBXY();
t++;
}
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 10) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
if (_root.XT1.hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
i = i + 1;
}
}
if (_root.hit == true) {
thisT = thisT + 1;
KD = 1;
}
if (thisT >= 30) {
u = 1;
while (u <= 30) {
_root["DH" + u].removeMovieClip();
u++;
}
_root.QB.removeMovieClip();
_root.A2.removeMovieClip();
_root.XT1.removeMovieClip();
_root.S.removeMovieClip();
_root.QB1.removeMovieClip();
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if (KQOK > 0) {
KQOK--;
}
if ((((((_root.TZ == 1) && (Key.isDown(32))) && (_root.A2.mc.KQ == 0)) && (KQOK <= 0)) && (JTOK == 0)) && (KD == 0)) {
KQOK = 5;
if (_root.DH1 < 31) {
_root.A2.mc.play();
_root.attachMovie("DH", "DH" + _root.DH1, 200 + _root.DH1);
_root["DH" + _root.DH1]._x = _root.QB._x;
_root["DH" + _root.DH1]._y = _root.QB._y;
_root.DH1++;
} else if ((_root.DH1 >= 31) && (_root.OKsound == 1)) {
W = new Sound();
W.attachSound("S5");
W.start(0, 1);
}
}
if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
}
} else if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
}
}
if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("Jeep-Start");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.6;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("Jeep-Start");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.6;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = 0.017453;
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = 0.017453;
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.A2._rotation = this._rotation;
_root.A2._x = this._x;
_root.A2._y = this._y - 10;
if (speed > 0.2) {
speed = speed - 0.1;
} else if (speed < -0.2) {
speed = speed + 0.1;
} else {
speed = 0;
}
if (((((((_root.JD < 98) && (_root.JD > 82)) && (this._x > 0)) && (this._x < 108)) && (this._y > 290)) && (this._y < 312)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 233 MovieClip in Frame 65
onClipEvent (load) {
Y = 1;
T = 0;
TA = 0;
OK = 0;
}
onClipEvent (enterFrame) {
if (OK == 0) {
_root.TQ.gotoAndStop(4);
OK = 1;
}
if (T > 0) {
T--;
} else if (T <= 0) {
T = 3;
_root.attachMovie("rain", "rain" + Y, 100 + Y);
_root["rain" + Y]._x = (290 + random(100)) - random(100);
_root["rain" + Y]._y = (210 + random(50)) - random(50);
x2 = 290;
y2 = 210;
x1 = _root["rain" + Y]._x;
y1 = _root["rain" + Y]._y;
dx = Math.abs(x2 - x1);
dy = Math.abs(y2 - y1);
angle = Math.atan(dy / dx);
angle = (angle * 180) / Math.PI;
if (dx < 0) {
angle = angle - 180;
}
if (x2 < x1) {
if (y2 <= y1) {
TA = int(angle + 90) - 180;
} else if (y2 > y1) {
TA = -int(angle + 90);
}
}
if (x2 > x1) {
if (y2 <= y1) {
TA = 180 - int(angle + 90);
} else if (y2 > y1) {
TA = int(angle + 90);
}
}
_root["rain" + Y]._rotation = 180 + TA;
Y++;
if (Y >= 30) {
Y = 1;
}
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 65
/* no clip actions */
Frame 66
gotoAndStop ("start");
Frame 70
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(1);
_root.WS.setMask(ZZ);
guank = 12;
levelmc.G = _root.guank;
TQ.swapDepths(704);
timeK.swapDepths(703);
lifeK.swapDepths(701);
levelmc.swapDepths(702);
WK.swapDepths(700);
_root.timeK.T = "120:00";
stop();
Instance of Symbol 352 MovieClip "Y1" in Frame 70
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 300;
this._y = 253;
num = 20;
_root.doFigure2(this, num);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.TZ == 1) {
i = 0;
while (i < this.points.length) {
X = this.points[i][0] + this._x;
Y = this.points[i][1] + this._y;
if ((_root.A.hitTest(X, Y, true) && (Math.abs(_root.A.speed) >= 1)) && (_root.A.YPZSJ == 0)) {
_root.A.YPZSJ = 30;
_root.A.YPSJFX = (_root.A._rotation + random(40)) - random(40);
trace(_root.A.YPZSJ);
}
i++;
}
}
}
Instance of Symbol 352 MovieClip "Y2" in Frame 70
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 500;
this._y = 140;
num = 20;
_root.doFigure2(this, num);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.TZ == 1) {
i = 0;
while (i < this.points.length) {
X = this.points[i][0] + this._x;
Y = this.points[i][1] + this._y;
if ((_root.A.hitTest(X, Y, true) && (Math.abs(_root.A.speed) >= 1)) && (_root.A.YPZSJ == 0)) {
_root.A.YPZSJ = 30;
_root.A.YPSJFX = (_root.A._rotation + random(40)) - random(40);
trace(_root.A.YPZSJ);
}
i++;
}
}
}
Instance of Symbol 342 MovieClip "C1" in Frame 70
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 400;
this._y = 119;
FX = 0;
this.gotoAndStop(1);
TD = 1;
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
this.play();
if (FX == 1) {
if (TD == 0) {
this._y = this._y - 0.5;
}
if (this._y < 100) {
this._rotation = 180 + this._rotation;
FX = 0;
}
} else if (FX == 0) {
if (TD == 0) {
this._y = this._y + 0.5;
}
if (this._y > 230) {
this._rotation = 180 + this._rotation;
FX = 1;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
if (this._alpha <= 0) {
this._visible = 0;
}
}
}
}
Instance of Symbol 216 MovieClip "MR1" in Frame 70
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 367;
this._y = 25;
TT = 0;
SJ = 200;
ZOK = 0;
this.gotoAndStop(5);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if (TT < 32) {
TT++;
}
if ((_root.hit == false) && (_root.A.timemove == 0)) {
this.play();
if (ZOK > 0) {
ZOK = ZOK - 1;
}
if ((Key.isDown(32) && (ZOK <= 0)) && (TT >= 30)) {
TT = 0;
SJ = 300;
this._rotation = this._rotation + 120;
ZOK = 5;
if (_root.OKsound == 1) {
BB = new Sound();
BB.attachSound("QDBB1");
BB.start(0, 1);
}
}
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * 1);
this._y = this._y + (Math.cos(this._rotation * degree) * 1);
if (SJ > 0) {
SJ = SJ - 1;
} else if (SJ <= 0) {
SJ = 300;
this._rotation = random(180) - random(180);
} else if ((((this._x < 40) || (this._x > 540)) || (this._y < 40)) || (this._y > 350)) {
this._rotation = this._rotation + 180;
}
if (_root.MRL.hitTest(this._x, this._y, true) || (_root.MR2.hitTest(this._x, this._y, true))) {
SJ = 300;
this._rotation = this._rotation + 180;
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * 2);
this._y = this._y + (Math.cos(this._rotation * degree) * 2);
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
}
}
Instance of Symbol 216 MovieClip "MR2" in Frame 70
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 504;
this._y = 40;
TT = 0;
ZOK = 0;
SJ = 200;
this.gotoAndStop(5);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if (TT < 32) {
TT++;
}
if ((_root.hit == false) && (_root.A.timemove == 0)) {
this.play();
if (ZOK > 0) {
ZOK = ZOK - 1;
}
if ((Key.isDown(32) && (ZOK <= 0)) && (TT >= 30)) {
TT = 0;
SJ = 300;
this._rotation = this._rotation + 120;
ZOK = 5;
}
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * 1);
this._y = this._y + (Math.cos(this._rotation * degree) * 1);
if (SJ > 0) {
SJ = SJ - 1;
} else if (SJ <= 0) {
SJ = 300;
this._rotation = random(180) - random(180);
} else if ((((this._x < 40) || (this._x > 540)) || (this._y < 40)) || (this._y > 350)) {
this._rotation = this._rotation + 180;
}
if (_root.MRL.hitTest(this._x, this._y, true) || (_root.MR1.hitTest(this._x, this._y, true))) {
SJ = 300;
this._rotation = this._rotation + 180;
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * 2);
this._y = this._y + (Math.cos(this._rotation * degree) * 2);
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
}
}
Instance of Symbol 383 MovieClip "A" in Frame 70
onClipEvent (load) {
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 24;
Z = 30;
_root.doFigure(_root.A, numb);
YKKZ = 0;
YPZSJ = 0;
YPSJFX = 0;
speedjs = 0.3;
root1 = 0;
root2 = 0;
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARC");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
_root.WS.A.play();
_root.hit = true;
break;
}
k++;
}
if (_root.MR1.hitTest(X, Y, true) || (_root.MR2.hitTest(X, Y, true))) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
_root.WS.A.play();
_root.hit = true;
break;
}
i = i + 1;
}
}
if (this.hitTest(_root.C1._x, _root.C1._y, true) && (_root.hit == false)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
_root.WS.A.play();
_root.hit = true;
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if (YPZSJ > 0) {
YKKZ = 1;
YPZSJ = YPZSJ - 1;
} else if (YPZSJ <= 0) {
YPZSJ = 0;
YKKZ = 0;
}
if (((Key.isDown(39) && (KD == 0)) && (YKKZ == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
_root.WS.A.wheel1._rotation = QLXZ;
_root.WS.A.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
} else if (((Key.isDown(37) && (KD == 0)) && (YKKZ == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
_root.WS.A.wheel1._rotation = QLXZ;
_root.WS.A.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
}
if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD4");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.8;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD4");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.8;
}
Direction = 0;
Rotation = -this._rotation;
}
if (YKKZ == 0) {
speedjs = 0.3;
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
} else if (YKKZ == 1) {
speedjs = 0.1;
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(YPSJFX * degree) * speed);
this._y = this._y + (Math.cos(YPSJFX * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(YPSJFX * degree) * speed);
this._y = this._y + (Math.cos(YPSJFX * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
}
_root.WS.A._rotation = this._rotation;
_root.WS.A._x = this._x;
_root.WS.A._y = this._y;
_root.WS.A1._rotation = this._rotation;
_root.WS.A1._x = this._x;
_root.WS.A1._y = this._y;
_root.ZZ._rotation = this._rotation;
_root.ZZ._x = this._x;
_root.ZZ._y = this._y;
if (speed > 0.4) {
speed = speed - speedjs;
} else if (speed < -0.4) {
speed = speed + speedjs;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 437)) && (this._x < 452)) && (this._y > 290)) && (this._y < 330)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 70
/* no clip actions */
Frame 71
gotoAndStop ("start");
Frame 75
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(3);
guank = 13;
levelmc.G = _root.guank;
TQ.swapDepths(704);
timeK.swapDepths(703);
lifeK.swapDepths(701);
levelmc.swapDepths(702);
WK.swapDepths(700);
_root.timeK.T = "120:00";
stop();
Instance of Symbol 395 MovieClip "A" in Frame 75
onClipEvent (load) {
thisT = 0;
timemove = 0;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
root1 = 0;
root2 = 0;
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARD");
_root.QD1.start(0, 200);
}
};
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 2) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
i = i + 1;
}
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if ((Key.isDown(39) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 4;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
} else if ((Key.isDown(37) && (KD == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 4;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
}
if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("Jeep-Start");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.6;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("Jeep-Start");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.6;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.A1._rotation = this._rotation;
_root.A1._x = this._x;
_root.A1._y = this._y;
if (speed > 0.2) {
speed = speed - 0.1;
} else if (speed < -0.2) {
speed = speed + 0.1;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 506)) && (this._x < 526)) && (this._y > 290)) && (this._y < 310)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 233 MovieClip in Frame 75
onClipEvent (load) {
Y = 1;
T = 0;
TA = 0;
OK = 0;
}
onClipEvent (enterFrame) {
if (_root.T <= 100) {
if (OK == 0) {
_root.TQ.gotoAndStop(5);
OK = 1;
_root.YG._alpha = 0;
}
if (T > 0) {
T--;
} else if (T <= 0) {
if (_root.T >= 90) {
T = 5;
} else {
T = 10;
}
_root.attachMovie("XXUE", "XXUE" + Y, 100 + Y);
_root["XXUE" + Y]._x = 30 + random(550);
_root["XXUE" + Y]._y = 30 + random(190);
Y++;
if (Y >= 20) {
Y = 1;
}
}
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 75
/* no clip actions */
Frame 76
gotoAndStop ("start");
Frame 80
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(3);
var LJD = 1;
var ALLLJD = new Array();
var ZD = 1;
var DH1 = 2;
_root.onMouseDown = function () {
if (((TZ == 1) && (_root.mc._x != -100)) && (_root.mc.KQ == 0)) {
_root.mc.play();
}
};
guank = 14;
levelmc.G = _root.guank;
TQ.swapDepths(704);
timeK.swapDepths(703);
lifeK.swapDepths(701);
levelmc.swapDepths(702);
WK.swapDepths(700);
_root.timeK.T = "120:00";
stop();
Instance of Symbol 352 MovieClip "Y2" in Frame 80
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 200;
this._y = 328;
num = 20;
_root.doFigure2(this, num);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.TZ == 1) {
i = 0;
while (i < this.points.length) {
X = this.points[i][0] + this._x;
Y = this.points[i][1] + this._y;
if ((_root.A.hitTest(X, Y, true) && (Math.abs(_root.A.speed) >= 1)) && (_root.A.YPZSJ == 0)) {
_root.A.YPZSJ = 30;
_root.A.YPSJFX = (_root.A._rotation + random(40)) - random(40);
trace(_root.A.YPZSJ);
}
i++;
}
}
}
Instance of Symbol 352 MovieClip "Y3" in Frame 80
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 419;
this._y = 200;
num = 20;
_root.doFigure2(this, num);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.TZ == 1) {
i = 0;
while (i < this.points.length) {
X = this.points[i][0] + this._x;
Y = this.points[i][1] + this._y;
if ((_root.A.hitTest(X, Y, true) && (Math.abs(_root.A.speed) >= 1)) && (_root.A.YPZSJ == 0)) {
_root.A.YPZSJ = 30;
_root.A.YPSJFX = (_root.A._rotation + random(40)) - random(40);
trace(_root.A.YPZSJ);
}
i++;
}
}
}
Instance of Symbol 352 MovieClip "Y1" in Frame 80
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 268;
this._y = 216;
num = 20;
_root.doFigure2(this, num);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.TZ == 1) {
i = 0;
while (i < this.points.length) {
X = this.points[i][0] + this._x;
Y = this.points[i][1] + this._y;
if ((_root.A.hitTest(X, Y, true) && (Math.abs(_root.A.speed) >= 1)) && (_root.A.YPZSJ == 0)) {
_root.A.YPZSJ = 30;
_root.A.YPSJFX = (_root.A._rotation + random(40)) - random(40);
trace(_root.A.YPZSJ);
}
i++;
}
}
}
Instance of Symbol 369 MovieClip "XT1" in Frame 80
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 600;
this._y = 163;
this._rotation = this._rotation - 90;
KD = 0;
TOK = 50;
C = 1;
this.gotoAndStop(1);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
CC = function () {
u = 1;
while (u <= 30) {
_root["DH" + u].removeMovieClip();
u++;
}
_root.QB.removeMovieClip();
_root.A2.removeMovieClip();
_root.XT1.removeMovieClip();
_root.XT2.removeMovieClip();
_root.S.removeMovieClip();
_root.A.removeMovieClip();
};
}
onClipEvent (enterFrame) {
if (((_root.TZ == 1) && (_root.A.JTOK == 0)) && (this._x > 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
if ((KD == 0) && (C == 1)) {
this.play();
this._x = this._x - 2;
if ((this._x <= 210) && (this._x > 100)) {
KD = 1;
}
} else if ((KD == 0) && (C == 2)) {
this.play();
this._y = this._y + 2;
this._x = this._x - 1;
if (this._y >= 220) {
KD = 1;
}
} else if ((KD == 0) && (C == 3)) {
this.play();
this._y = this._y - 2;
this._x = this._x + 1;
if (this._y <= 150) {
KD = 1;
}
} else if ((((KD == 1) && (this._x != -100)) && (C == 1)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B4._alpha = 60 + random(40);
} else if ((((KD == 1) && (this._x != -100)) && (C == 2)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B3._alpha = 60 + random(40);
} else if ((((KD == 1) && (this._x != -100)) && (C == 3)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B5._alpha = 60 + random(40);
}
if ((((TOK <= 0) && (C == 1)) && (_root.B4._alpha >= 0)) && (this._x > 0)) {
_root.B4._alpha = _root.B4._alpha - 4;
if (_root.B4._alpha < 0) {
TOK = 50;
KD = 0;
_root.B4._visible = 0;
_root.B4._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 2;
this._rotation = this._rotation - 50;
}
} else if ((((TOK <= 0) && (C == 2)) && (_root.B3._alpha >= 0)) && (this._x > 0)) {
_root.B3._alpha = _root.B3._alpha - 4;
if (_root.B3._alpha < 0) {
TOK = 50;
KD = 0;
_root.B3._visible = 0;
_root.B3._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 3;
this._rotation = this._rotation + 160;
}
} else if ((((TOK <= 0) && (C == 3)) && (_root.B5._alpha >= 0)) && (this._x > 0)) {
_root.B5._alpha = _root.B5._alpha - 4;
if (_root.B5._alpha < 0) {
TOK = 50;
KD = 0;
_root.B5._visible = 0;
_root.B5._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 4;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
if ((KD == 1) && (this._x != -100)) {
_root.B4._alpha = _root.B4._alpha - 4;
}
}
}
if (this.hitTest(_root.QB._x, _root.QB._y, true) && (_root.A2.mc.KQ == 1)) {
_root.A2.mc.KQ = 0;
_root.B5._alpha = 100;
_root.B3._alpha = 100;
_root.B4._alpha = 100;
this._x = -100;
this._y = -100;
this._visible = false;
TOK = 50;
this.removeMovieClip();
}
}
}
Instance of Symbol 369 MovieClip "XT2" in Frame 80
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 600;
this._y = 50;
this._rotation = this._rotation - 90;
KD = 0;
TOK = 50;
C = 1;
this.gotoAndStop(1);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
CC = function () {
u = 1;
while (u <= 30) {
_root["DH" + u].removeMovieClip();
u++;
}
_root.QB.removeMovieClip();
_root.A2.removeMovieClip();
_root.XT1.removeMovieClip();
_root.XT2.removeMovieClip();
_root.S.removeMovieClip();
_root.A.removeMovieClip();
};
}
onClipEvent (enterFrame) {
if (_root.T < 100) {
if (((_root.TZ == 1) && (_root.A.JTOK == 0)) && (this._x > 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
if ((KD == 0) && (C == 1)) {
this.play();
this._x = this._x - 2;
if (this._x <= 480) {
KD = 1;
}
} else if ((KD == 0) && (C == 2)) {
this.play();
this._x = this._x - 2;
this._y = this._y + 0.5;
if (this._x <= 340) {
KD = 1;
}
} else if ((KD == 0) && (C == 3)) {
this.play();
this._y = this._y + 2;
this._x = this._x + 0.5;
if (this._y >= 230) {
KD = 1;
}
} else if ((((KD == 1) && (this._x != -100)) && (C == 1)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B7._alpha = 60 + random(40);
} else if ((((KD == 1) && (this._x != -100)) && (C == 2)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B6._alpha = 60 + random(40);
} else if ((((KD == 1) && (this._x != -100)) && (C == 3)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B8._alpha = 60 + random(40);
}
if ((((TOK <= 0) && (C == 1)) && (_root.B7._alpha >= 0)) && (this._x > 0)) {
_root.B7._alpha = _root.B7._alpha - 4;
if (_root.B7._alpha < 0) {
TOK = 50;
KD = 0;
_root.B7._visible = 0;
_root.B7._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 2;
this._rotation = this._rotation - 10;
}
} else if ((((TOK <= 0) && (C == 2)) && (_root.B6._alpha >= 0)) && (this._x > 0)) {
_root.B6._alpha = _root.B6._alpha - 4;
if (_root.B6._alpha < 0) {
TOK = 50;
KD = 0;
_root.B6._visible = 0;
_root.B6._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 3;
this._rotation = this._rotation - 90;
}
} else if ((((TOK <= 0) && (C == 3)) && (_root.B8._alpha >= 0)) && (this._x > 0)) {
_root.B8._alpha = _root.B8._alpha - 4;
if (_root.B8._alpha < 0) {
TOK = 50;
KD = 0;
_root.B8._visible = 0;
_root.B8._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 4;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
if ((KD == 1) && (this._x != -100)) {
_root.B4._alpha = _root.B4._alpha - 4;
}
}
}
if (this.hitTest(_root.QB._x, _root.QB._y, true) && (_root.A2.mc.KQ == 1)) {
_root.A2.mc.KQ = 0;
_root.B7._alpha = 100;
_root.B6._alpha = 100;
_root.B8._alpha = 100;
this._x = -100;
this._y = -100;
this._visible = false;
TOK = 50;
this.removeMovieClip();
}
}
}
}
Instance of Symbol 404 MovieClip "A" in Frame 80
onClipEvent (load) {
thisT = 0;
timemove = 0;
KQOK = 30;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
YKKZ = 0;
YPZSJ = 0;
YPSJFX = 0;
speedjs = 0.3;
this.swapDepths(400);
S.swapDepths(410);
root1 = 0;
root2 = 0;
if (_root.TZ == 1) {
_root.A2.swapDepths(401);
_root.QB.swapDepths(464);
_root.QB1.swapDepths(465);
_root.XT1.swapDepths(461);
_root.XT2.swapDepths(462);
_root.GREN2.swapDepths(460);
_root.GREN1.swapDepths(459);
}
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARC");
_root.QD1.start(0, 200);
}
};
t = 1;
while (t <= 2) {
if (((Math.abs(this._x - _root["XT" + t]._x) < 120) && (Math.abs(this._y - _root["XT" + t]._y) < 120)) && (_root["XT" + t]._y > 0)) {
_root.QB._x = _root["XT" + t]._x;
_root.QB._y = _root["XT" + t]._y;
_root.QB1._alpha = 0;
break;
}
_root.QBXY();
t++;
}
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 8) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
if (((_root.XT1.hitTest(X, Y, true) || (_root.XT2.hitTest(X, Y, true))) || (_root.GREN2.hitTest(X, Y, true))) || (_root.GREN1.hitTest(X, Y, true))) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
i = i + 1;
}
}
d = 0;
while (d < _root.ALLLJD.length) {
if (this.hitTest(_root["JD" + _root.ALLLJD[d]]._x, _root["JD" + _root.ALLLJD[d]]._y, true) && (_root.hit == false)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
_root["JD" + _root.ALLLJD[d]].play();
_root["JD" + _root.ALLLJD[d]].X = 0;
_root["JD" + _root.ALLLJD[d]].Y = 0;
this.play();
_root.hit = true;
break;
}
d++;
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
u = 1;
while (u <= 30) {
_root["DH" + u].removeMovieClip();
u++;
}
_root.QB.removeMovieClip();
_root.QB1.removeMovieClip();
_root.A2.removeMovieClip();
_root.XT1.removeMovieClip();
_root.XT2.removeMovieClip();
_root.GREN2.removeMovieClip();
_root.GREN1.removeMovieClip();
_root.S.removeMovieClip();
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if (YPZSJ > 0) {
YKKZ = 1;
YPZSJ = YPZSJ - 1;
} else if (YPZSJ <= 0) {
YPZSJ = 0;
YKKZ = 0;
}
if (YKKZ == 0) {
speedjs = 0.3;
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
} else if (YKKZ == 1) {
speedjs = 0.1;
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(YPSJFX * degree) * speed);
this._y = this._y + (Math.cos(YPSJFX * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(YPSJFX * degree) * speed);
this._y = this._y + (Math.cos(YPSJFX * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
}
if (KQOK > 0) {
KQOK--;
}
if ((((((_root.TZ == 1) && (Key.isDown(32))) && (_root.A2.mc.KQ == 0)) && (KQOK <= 0)) && (JTOK == 0)) && (KD == 0)) {
KQOK = 5;
if (_root.DH1 < 31) {
_root.A2.mc.play();
_root.attachMovie("DH", "DH" + _root.DH1, 200 + _root.DH1);
_root["DH" + _root.DH1]._x = _root.QB._x;
_root["DH" + _root.DH1]._y = _root.QB._y;
_root.DH1++;
} else if ((_root.DH1 >= 31) && (_root.OKsound == 1)) {
W = new Sound();
W.attachSound("S5");
W.start(0, 1);
}
}
if (((Key.isDown(39) && (KD == 0)) && (YKKZ == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
} else if (((Key.isDown(37) && (KD == 0)) && (YKKZ == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
}
if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD4");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.5;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("QD4");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.5;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.A2._rotation = this._rotation;
_root.A2._x = this._x;
_root.A2._y = this._y;
if (speed > 0.4) {
speed = speed - speedjs;
} else if (speed < -0.4) {
speed = speed + speedjs;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 506)) && (this._x < 522)) && (this._y > 40)) && (this._y < 80)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 80
/* no clip actions */
Frame 81
gotoAndStop ("start");
Frame 85
_root.lifeK.gotoAndStop(live);
_root.TQ.gotoAndStop(6);
_root.guank = 15;
var LJD = 1;
var ALLLJD = new Array();
var DH1 = 2;
_root.onMouseDown = function () {
if (((TZ == 1) && (_root.mc._x != -100)) && (_root.mc.KQ == 0)) {
_root.mc.play();
}
};
levelmc.G = _root.guank;
TQ.swapDepths(704);
timeK.swapDepths(703);
lifeK.swapDepths(701);
levelmc.swapDepths(702);
WK.swapDepths(700);
_root.timeK.T = "120:00";
stop();
Instance of Symbol 352 MovieClip "Y1" in Frame 85
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 309;
this._y = 226;
num = 20;
_root.doFigure2(this, num);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.TZ == 1) {
i = 0;
while (i < this.points.length) {
X = this.points[i][0] + this._x;
Y = this.points[i][1] + this._y;
if ((_root.A.hitTest(X, Y, true) && (Math.abs(_root.A.speed) >= 1)) && (_root.A.YPZSJ == 0)) {
_root.A.YPZSJ = 30;
_root.A.YPSJFX = (_root.A._rotation + random(40)) - random(40);
trace(_root.A.YPZSJ);
}
i++;
}
}
}
Instance of Symbol 342 MovieClip "C2" in Frame 85
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 340;
this._y = 119;
FX = 0;
this.stop();
TD = 1;
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
this.play();
if (FX == 1) {
if (TD == 0) {
this._y = this._y - 0.5;
}
if (this._y < 100) {
this._rotation = 180 + this._rotation;
FX = 0;
}
} else if (FX == 0) {
if (TD == 0) {
this._y = this._y + 0.5;
}
if (this._y > 250) {
this._rotation = 180 + this._rotation;
FX = 1;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
if (this._alpha <= 0) {
this._visible = 0;
}
}
}
}
Instance of Symbol 369 MovieClip "XT1" in Frame 85
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 600;
this._y = 163;
this._rotation = this._rotation - 90;
KD = 0;
TOK = 50;
C = 1;
this.stop();
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
CC = function () {
u = 1;
while (u <= 30) {
_root["DH" + u].removeMovieClip();
u++;
}
_root.QB.removeMovieClip();
_root.A2.removeMovieClip();
_root.XT1.removeMovieClip();
_root.XT2.removeMovieClip();
_root.S.removeMovieClip();
_root.A.removeMovieClip();
};
}
onClipEvent (enterFrame) {
if (((_root.TZ == 1) && (_root.A.JTOK == 0)) && (this._x > 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
if ((KD == 0) && (C == 1)) {
this.play();
this._x = this._x - 2;
if ((this._x <= 210) && (this._x > 100)) {
KD = 1;
}
} else if ((KD == 0) && (C == 2)) {
this.play();
this._y = this._y + 2;
this._x = this._x - 1.5;
if (this._y >= 205) {
KD = 1;
}
} else if ((KD == 0) && (C == 3)) {
this.play();
this._y = this._y - 2;
this._x = this._x + 1;
if (this._y <= 150) {
KD = 1;
}
} else if ((((KD == 1) && (this._x != -100)) && (C == 1)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B4._alpha = 60 + random(40);
} else if ((((KD == 1) && (this._x != -100)) && (C == 2)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B3._alpha = 60 + random(40);
} else if ((((KD == 1) && (this._x != -100)) && (C == 3)) && (TOK >= 0)) {
this.gotoAndStop(7);
TOK = TOK - 1;
_root.B5._alpha = 60 + random(40);
}
if ((((TOK <= 0) && (C == 1)) && (_root.B4._alpha >= 0)) && (this._x > 0)) {
_root.B4._alpha = _root.B4._alpha - 4;
if (_root.B4._alpha < 0) {
TOK = 50;
KD = 0;
_root.B4._visible = 0;
_root.B4._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 2;
this._rotation = this._rotation - 50;
}
} else if ((((TOK <= 0) && (C == 2)) && (_root.B3._alpha >= 0)) && (this._x > 0)) {
_root.B3._alpha = _root.B3._alpha - 4;
if (_root.B3._alpha < 0) {
TOK = 50;
KD = 0;
_root.B3._visible = 0;
_root.B3._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 3;
this._rotation = this._rotation + 160;
}
} else if ((((TOK <= 0) && (C == 3)) && (_root.B5._alpha >= 0)) && (this._x > 0)) {
_root.B5._alpha = _root.B5._alpha - 4;
if (_root.B5._alpha < 0) {
TOK = 50;
KD = 0;
_root.B5._visible = 0;
_root.B5._x = -100;
_root.live--;
_root.lifeK.gotoAndStop(_root.live);
this.play();
if (_root.live <= 0) {
_root.gotoAndStop("GAMEOVER");
CC();
this.removeMovieClip();
} else {
_root.gotoAndStop("SB");
CC();
this.removeMovieClip();
}
C = 4;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
if ((KD == 1) && (this._x != -100)) {
_root.B4._alpha = _root.B4._alpha - 4;
}
}
}
if (this.hitTest(_root.QB._x, _root.QB._y, true) && (_root.A2.mc.KQ == 1)) {
_root.A2.mc.KQ = 0;
_root.B5._alpha = 100;
_root.B3._alpha = 100;
_root.B4._alpha = 100;
this._x = -100;
this._y = -100;
this._visible = false;
TOK = 50;
this.removeMovieClip();
}
}
}
Instance of Symbol 257 MovieClip "GREN2" in Frame 85
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 550;
this._y = 80;
FX = 1;
T = 200;
KD = 0;
SJ = 30;
this.gotoAndStop(12);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
if ((FX == 1) && (KD == 0)) {
this.play();
this._y = this._y - 1;
if (this._y < 40) {
FX = 0;
this._rotation = this._rotation - 180;
}
} else if ((FX == 0) && (KD == 0)) {
this.play();
this._y = this._y + 1;
if (this._y > 100) {
FX = 1;
this._rotation = this._rotation - 180;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
if (this.hitTest(_root.QB._x, _root.QB._y, true) && (_root.A2.mc.KQ == 1)) {
_root.A2.mc.KQ = 0;
stop();
KD = 1;
this._x = -100;
this._y = -100;
this._visible = false;
}
if (T > 0) {
T--;
} else if (T <= 0) {
T = 200;
KD = 1;
this.gotoAndStop("D");
if (FX == 0) {
this.mc._rotation = _root.PDJ(this._x, this._y);
} else if (FX == 1) {
this.mc._rotation = _root.PDJ(this._x, this._y) + 180;
}
_root.attachMovie("JD", "JD" + _root.LJD, _root.LJD + 420);
var degree = (Math.PI/180);
_root["JD" + _root.LJD]._x = this._x;
_root["JD" + _root.LJD]._y = this._y;
_root["JD" + _root.LJD]._rotation = this.mc._rotation;
_root["JD" + _root.LJD].X = Math.sin(_root.PDJ(this._x, this._y) * degree) * 2;
_root["JD" + _root.LJD].Y = Math.cos(_root.PDJ(this._x, this._y) * degree) * 2;
_root.ALLLJD.push(_root.LJD);
_root.LJD++;
}
}
}
Instance of Symbol 273 MovieClip "GREN1" in Frame 85
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 190;
this._y = 210;
FX = 1;
T = 200;
KD = 0;
SJ = 30;
this.gotoAndStop(12);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if ((_root.hit == false) && (_root.A.timemove == 0)) {
if ((FX == 1) && (KD == 0)) {
this.play();
this._y = this._y - 1;
if (this._y < 200) {
FX = 0;
this._rotation = this._rotation - 180;
}
} else if ((FX == 0) && (KD == 0)) {
this.play();
this._y = this._y + 1;
if (this._y > 380) {
FX = 1;
this._rotation = this._rotation - 180;
}
}
} else if ((_root.hit == true) || (_root.A.timemove == 1)) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
if (this.hitTest(_root.QB._x, _root.QB._y, true) && (_root.A2.mc.KQ == 1)) {
_root.A2.mc.KQ = 0;
stop();
KD = 1;
this._x = -100;
this._y = -100;
this._visible = false;
}
if (T > 0) {
T--;
} else if (T <= 0) {
T = 200;
KD = 1;
this.gotoAndStop("D");
if (FX == 1) {
this.mc._rotation = _root.PDJ(this._x, this._y);
} else if (FX == 0) {
this.mc._rotation = _root.PDJ(this._x, this._y) + 180;
}
_root.attachMovie("JD", "JD" + _root.LJD, _root.LJD + 420);
var degree = (Math.PI/180);
_root["JD" + _root.LJD]._x = this._x;
_root["JD" + _root.LJD]._y = this._y;
_root["JD" + _root.LJD]._rotation = this.mc._rotation;
_root["JD" + _root.LJD].X = Math.sin(_root.PDJ(this._x, this._y) * degree) * 2;
_root["JD" + _root.LJD].Y = Math.cos(_root.PDJ(this._x, this._y) * degree) * 2;
_root.ALLLJD.push(_root.LJD);
_root.LJD++;
}
}
}
Instance of Symbol 42 MovieClip [JD] "JD" in Frame 85
onClipEvent (enterFrame) {
if ((_root.A.OKKD == 0) && (_root.A.KD == 0)) {
i = 0;
while (i < _root.ALLLJD.length) {
_root["JD" + _root.ALLLJD[i]]._x = _root["JD" + _root.ALLLJD[i]]._x + _root["JD" + _root.ALLLJD[i]].X;
_root["JD" + _root.ALLLJD[i]]._y = _root["JD" + _root.ALLLJD[i]]._y - _root["JD" + _root.ALLLJD[i]].Y;
if ((((_root["JD" + _root.ALLLJD[i]]._x < -20) || (_root["JD" + _root.ALLLJD[i]]._x > 590)) || (_root["JD" + _root.ALLLJD[i]]._y < -20)) || (_root["JD" + _root.ALLLJD[i]]._y > 450)) {
_root["JD" + _root.ALLLJD[i]].removeMovieClip();
_root.ALLLJD.splice(i, 1);
i--;
}
i++;
}
}
}
Instance of Symbol 410 MovieClip "A" in Frame 85
onClipEvent (load) {
thisT = 0;
timemove = 0;
KQOK = 30;
KD = 0;
JTOK = 1;
OKKD = 0;
QLXZ = 0;
speed = 0;
Topspeed = 30;
Direction = 1;
TOPdirection = 30;
Rotation = 0;
numb = 20;
Z = 30;
_root.doFigure(_root.A, numb);
YKKZ = 0;
YPZSJ = 0;
YPSJFX = 0;
speedjs = 0.3;
root1 = 0;
root2 = 0;
this.swapDepths(400);
S.swapDepths(410);
_root.YY1.swapDepths(490);
_root.YY2.swapDepths(491);
_root.YY3.swapDepths(492);
if (_root.TZ == 1) {
_root.A2.swapDepths(401);
_root.QB.swapDepths(464);
_root.QB1.swapDepths(465);
_root.XT1.swapDepths(461);
_root.XT2.swapDepths(462);
_root.GREN2.swapDepths(460);
_root.GREN1.swapDepths(459);
_root.C1.swapDepths(398);
_root.C2.swapDepths(399);
}
SY = 0;
}
onClipEvent (enterFrame) {
_root.SX = this._x;
_root.SY = this._y;
QD.onSoundComplete = function () {
if (_root.OKsound == 1) {
_root.QD1 = new Sound();
_root.QD1.attachSound("CARE");
_root.QD1.start(0, 200);
}
};
t = 1;
while (t <= 2) {
if (((Math.abs(this._x - _root["XT" + t]._x) < 120) && (Math.abs(this._y - _root["XT" + t]._y) < 120)) && (_root["XT" + t]._y > 0)) {
_root.QB._x = _root["XT" + t]._x;
_root.QB._y = _root["XT" + t]._y;
_root.QB1._alpha = 0;
break;
}
if (((Math.abs(this._x - _root["GREN" + t]._x) < 120) && (Math.abs(this._y - _root["GREN" + t]._y) < 120)) && (_root["GREN" + t]._y > 0)) {
_root.QB._x = _root["GREN" + t]._x;
_root.QB._y = _root["GREN" + t]._y;
_root.QB1._alpha = 0;
break;
}
_root.QBXY();
_root.A2.mc._rotation = 20;
t++;
}
_root.doFigure(_root.A, numb);
i = 0;
_root.JD = this._rotation;
if (_root.hit == false) {
if ((timemove == 0) && (JTOK == 0)) {
if (this.Z < 10) {
_root.timeK.T = (_root.T + ":0") + this.Z;
} else {
_root.timeK.T = (_root.T + ":") + this.Z;
}
if (this.Z > 0) {
this.Z--;
_root.T2 = this.Z;
} else if (this.Z <= 0) {
this.Z = 29;
_root.T = _root.T - 1;
}
if ((_root.T < 0) && (this.Z == 29)) {
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
speed = 0;
KD = 1;
}
}
while (i < numb) {
X = _root.points[i][0] + _x;
Y = _root.points[i][1] + _y;
k = 1;
while (k <= 5) {
if (_root["B" + k].hitTest(X, Y, true)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
k++;
}
if (((_root.XT1.hitTest(X, Y, true) || (_root.GREN1.hitTest(X, Y, true))) || (_root.GREN2.hitTest(X, Y, true))) || (_root.C1.hitTest(X, Y, true))) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
break;
}
i = i + 1;
}
}
if (this.hitTest(_root.C2._x, _root.C2._y, true) && (_root.hit == false)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
this.play();
_root.hit = true;
}
d = 0;
while (d < _root.ALLLJD.length) {
if (this.hitTest(_root["JD" + _root.ALLLJD[d]]._x, _root["JD" + _root.ALLLJD[d]]._y, true) && (_root.hit == false)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
speed = 0;
KD = 1;
_root["JD" + _root.ALLLJD[d]].play();
_root["JD" + _root.ALLLJD[d]].X = 0;
_root["JD" + _root.ALLLJD[d]].Y = 0;
this.play();
_root.hit = true;
break;
}
d++;
}
if (_root.hit == true) {
thisT = thisT + 1;
}
if (thisT >= 30) {
u = 1;
while (u <= 30) {
_root["DH" + u].removeMovieClip();
u++;
}
if (_root.live > 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("SB");
} else if (_root.live <= 1) {
_root.OK.removeMovieClip();
_root.gotoAndStop("GAMEOVER");
}
}
if (YPZSJ > 0) {
YKKZ = 1;
YPZSJ = YPZSJ - 1;
} else if (YPZSJ <= 0) {
YPZSJ = 0;
YKKZ = 0;
}
if (YKKZ == 0) {
speedjs = 0.3;
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
} else if (YKKZ == 1) {
speedjs = 0.1;
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(YPSJFX * degree) * speed);
this._y = this._y + (Math.cos(YPSJFX * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(YPSJFX * degree) * speed);
this._y = this._y + (Math.cos(YPSJFX * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
}
if (KQOK > 0) {
KQOK--;
}
if ((((((_root.TZ == 1) && (Key.isDown(32))) && (_root.A2.mc.KQ == 0)) && (KQOK <= 0)) && (JTOK == 0)) && (KD == 0)) {
KQOK = 5;
if (_root.DH1 < 31) {
_root.A2.mc.play();
_root.attachMovie("DH", "DH" + _root.DH1, 200 + _root.DH1);
_root["DH" + _root.DH1]._x = _root.QB._x;
_root["DH" + _root.DH1]._y = _root.QB._y;
_root.DH1++;
} else if ((_root.DH1 >= 31) && (_root.OKsound == 1)) {
W = new Sound();
W.attachSound("S5");
W.start(0, 1);
}
}
if (((Key.isDown(39) && (KD == 0)) && (YKKZ == 0)) && (JTOK == 0)) {
if (QLXZ < TOPdirection) {
QLXZ = QLXZ + 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
} else if (((Key.isDown(37) && (KD == 0)) && (YKKZ == 0)) && (JTOK == 0)) {
if (QLXZ > (-TOPdirection)) {
QLXZ = QLXZ - 2;
this.wheel1._rotation = QLXZ;
this.wheel4._rotation = QLXZ;
_root.A1._rotation = QLXZ;
}
}
if ((Key.isDown(38) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("Semi-Start");
QD.start(0, 1);
}
}
if (speed > (-Topspeed)) {
speed = speed - 0.5;
}
Direction = 1;
Rotation = this._rotation;
} else if ((Key.isDown(40) && (KD == 0)) && (OKKD == 0)) {
_root.JT._y = -100;
JTOK = 0;
if (SY == 0) {
SY = 1;
if (_root.OKsound == 1) {
QD = new Sound();
QD.attachSound("Semi-Start");
QD.start(0, 1);
}
}
if (speed < Topspeed) {
speed = speed + 0.5;
}
Direction = 0;
Rotation = -this._rotation;
}
if (speed < 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation + (QLXZ * (Math.abs(speed) / Topspeed));
} else if (speed > 0) {
var degree = (Math.PI/180);
this._x = this._x - (Math.sin(this._rotation * degree) * speed);
this._y = this._y + (Math.cos(this._rotation * degree) * speed);
this._rotation = this._rotation - (QLXZ * (Math.abs(speed) / Topspeed));
}
_root.A2._rotation = this._rotation;
_root.A2._x = this._x;
_root.A2._y = this._y;
if (speed > 0.4) {
speed = speed - speedjs;
} else if (speed < -0.4) {
speed = speed + speedjs;
} else {
speed = 0;
}
if (((((((_root.JD < 8) && (_root.JD > -8)) && (this._x > 330)) && (this._x < 460)) && (this._y > 0)) && (this._y < 80)) && (KD == 0)) {
_root.attachMovie("OK", "OK", 90);
_root.OK._x = 290;
_root.OK._y = 210;
KD = 1;
speed = 0;
timemove = 1;
}
}
Instance of Symbol 228 MovieClip "YY1" in Frame 85
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -750) {
this._x = 580;
}
}
Instance of Symbol 230 MovieClip "YY3" in Frame 85
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -295) {
this._x = 580;
}
}
Instance of Symbol 232 MovieClip "YY2" in Frame 85
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -280) {
this._x = 580;
}
}
Instance of Symbol 135 MovieClip "levelmc" in Frame 85
/* no clip actions */
Frame 86
gotoAndStop ("start");
Frame 111
_root.QD1.stop("CARA");
_root.QD1.stop("CARB");
_root.QD1.stop("CARC");
_root.QD1.stop("CARD");
_root.QD1.stop("CARE");
_root.A.removeMovieClip();
_root.A2.removeMovieClip();
timeK.removeMovieClip();
lifeK.removeMovieClip();
levelmc.removeMovieClip();
WK.removeMovieClip();
TQ.removeMovieClip();
YY1.removeMovieClip();
YY2.removeMovieClip();
YY3.removeMovieClip();
YG.removeMovieClip();
S.removeMovieClip();
GREN2.removeMovieClip();
GREN1.removeMovieClip();
GREN3.removeMovieClip();
C1.removeMovieClip();
C2.removeMovieClip();
C3.removeMovieClip();
QB.removeMovieClip();
QB1.removeMovieClip();
YZ.removeMovieClip();
XT1.removeMovieClip();
XT2.removeMovieClip();
MR1.removeMovieClip();
MR2.removeMovieClip();
JD.removeMovieClip();
hit = false;
T = 119;
live = live - 1;
_root.OK.removeMovieClip();
SS2.removeMovieClip();
timeK.removeMovieClip();
lifeK.removeMovieClip();
levelmc.removeMovieClip();
WK.removeMovieClip();
TQ.removeMovieClip();
Key.addListener(this);
this.onKeyDown = function () {
if (Key.getAscii() == 32) {
trace(1);
gotoAndPlay("G" + _root.guank);
Key.removeListener(this);
}
};
trace(_root.ALLLJD);
i = 0;
while (i < _root.ALLLJD.length) {
_root["JD" + _root.ALLLJD[i]].removeMovieClip();
i++;
}
stop();
Instance of Symbol 55 MovieClip "All" in Frame 111
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 112
function submit_f() {
highScore_arr.push([NAME, fen]);
}
onesound = 0;
stopAllSounds();
world = 0;
_root.A.removeMovieClip();
_root.A2.removeMovieClip();
timeK.removeMovieClip();
lifeK.removeMovieClip();
levelmc.removeMovieClip();
WK.removeMovieClip();
TQ.removeMovieClip();
YY1.removeMovieClip();
YY2.removeMovieClip();
YY3.removeMovieClip();
YG.removeMovieClip();
S.removeMovieClip();
GREN2.removeMovieClip();
GREN1.removeMovieClip();
GREN3.removeMovieClip();
C1.removeMovieClip();
C2.removeMovieClip();
C3.removeMovieClip();
QB.removeMovieClip();
QB1.removeMovieClip();
YZ.removeMovieClip();
XT1.removeMovieClip();
XT2.removeMovieClip();
MR1.removeMovieClip();
MR2.removeMovieClip();
JD.removeMovieClip();
SS2.removeMovieClip();
timeK.removeMovieClip();
lifeK.removeMovieClip();
levelmc.removeMovieClip();
WK.removeMovieClip();
TQ.removeMovieClip();
_root.OK.removeMovieClip();
SS2.removeMovieClip();
i = 0;
while (i < _root.ALLLJD.length) {
_root["JD" + _root.ALLLJD[i]].removeMovieClip();
i++;
}
stopAllSounds();
if (OKsound == 1) {
overA = new Sound();
overA.attachSound("over");
overA.start(0, 1);
}
stop();
Frame 113
_root.QD1.stop("CARA");
_root.QD1.stop("CARB");
_root.QD1.stop("CARC");
_root.QD1.stop("CARD");
_root.QD1.stop("CARE");
_root.A.removeMovieClip();
_root.A2.removeMovieClip();
timeK.removeMovieClip();
lifeK.removeMovieClip();
levelmc.removeMovieClip();
WK.removeMovieClip();
TQ.removeMovieClip();
YY1.removeMovieClip();
YY2.removeMovieClip();
YY3.removeMovieClip();
YG.removeMovieClip();
S.removeMovieClip();
GREN2.removeMovieClip();
GREN1.removeMovieClip();
GREN3.removeMovieClip();
C1.removeMovieClip();
C2.removeMovieClip();
C3.removeMovieClip();
QB.removeMovieClip();
QB1.removeMovieClip();
YZ.removeMovieClip();
XT1.removeMovieClip();
XT2.removeMovieClip();
MR1.removeMovieClip();
MR2.removeMovieClip();
JD.removeMovieClip();
SS2.removeMovieClip();
timeK.removeMovieClip();
lifeK.removeMovieClip();
levelmc.removeMovieClip();
WK.removeMovieClip();
TQ.removeMovieClip();
_root.A.removeMovieClip();
fen = fen + ((T * 100) + T2);
hit = false;
_root.X._alpha = 0;
_root.T = 119 - _root.T;
if (_root.T2 != 0) {
_root.T2 = 29 - _root.T2;
}
if ((highScore_GK[_root.guank - 1] > (_root.T + (_root.T2 / 100))) || (highScore_GK[_root.guank - 1] == 0)) {
highScore_GK[_root.guank - 1] = _root.T + (_root.T2 / 100);
_root.X._alpha = 100;
gameSave_GK();
}
var fenALL = 0;
if (_root.T < 10) {
_root.T = "0" + _root.T;
}
if (_root.T2 < 10) {
_root.T2 = "0" + _root.T2;
}
_root.Time = (_root.T + ":") + _root.T2;
T = 119;
if (_root.guank >= 15) {
gotoAndStop ("ALLOK");
}
Key.addListener(this);
this.onKeyDown = function () {
if (Key.getAscii() == 32) {
if (((guank == 5) || (guank == 10)) || (guank == 15)) {
stopAllSounds();
}
_root.guank = _root.guank + 1;
gotoAndPlay("G" + _root.guank);
Key.removeListener(this);
}
};
i = 0;
while (i < _root.ALLLJD.length) {
_root["JD" + _root.ALLLJD[i]].removeMovieClip();
i++;
}
stop();
Frame 114
function submit_f() {
highScore_arr.push([NAME, fen]);
}
onesound = 0;
stopAllSounds();
world = 0;
_root.A.removeMovieClip();
_root.A2.removeMovieClip();
timeK.removeMovieClip();
lifeK.removeMovieClip();
levelmc.removeMovieClip();
WK.removeMovieClip();
TQ.removeMovieClip();
YY1.removeMovieClip();
YY2.removeMovieClip();
YY3.removeMovieClip();
YG.removeMovieClip();
S.removeMovieClip();
GREN2.removeMovieClip();
GREN1.removeMovieClip();
GREN3.removeMovieClip();
C1.removeMovieClip();
C2.removeMovieClip();
C3.removeMovieClip();
QB.removeMovieClip();
QB1.removeMovieClip();
YZ.removeMovieClip();
XT1.removeMovieClip();
XT2.removeMovieClip();
MR1.removeMovieClip();
MR2.removeMovieClip();
JD.removeMovieClip();
SS2.removeMovieClip();
timeK.removeMovieClip();
lifeK.removeMovieClip();
levelmc.removeMovieClip();
WK.removeMovieClip();
TQ.removeMovieClip();
live = 3;
Key.addListener(this);
this.onKeyDown = function () {
if (Key.getAscii() == 32) {
stopAllSounds();
gotoAndStop ("start");
trace(1);
Key.removeListener(this);
}
};
i = 0;
while (i < _root.ALLLJD.length) {
_root["JD" + _root.ALLLJD[i]].removeMovieClip();
i++;
}
stopAllSounds();
if (OKsound == 1) {
overA = new Sound();
overA.attachSound("world_complete");
overA.start(0, 1);
}
stop();
Frame 115
if ((_root.OKsound == 1) && (onesound == 0)) {
onesound = 1;
KSSOUND = new Sound();
KSSOUND.attachSound("mainscreen");
KSSOUND.start(0, 1000);
}
var Q = highScore_arr.length;
var i = 0;
while (i < Q) {
var j = i;
while (j < Q) {
if (highScore_arr[i][1] < highScore_arr[j][1]) {
var temp = highScore_arr[i][0];
highScore_arr[i][0] = highScore_arr[j][0];
highScore_arr[j][0] = temp;
var temp = highScore_arr[i][1];
highScore_arr[i][1] = highScore_arr[j][1];
highScore_arr[j][1] = temp;
}
j++;
}
i++;
}
if (Q > 10) {
Q = 10;
}
var i = 0;
while (i < Q) {
_root["name" + (i + 1)] = highScore_arr[i][0];
_root["score" + (i + 1)] = highScore_arr[i][1];
i++;
}
if (Q > 10) {
Q = 10;
}
var i = 0;
while (i < Q) {
_root["new" + i]._alpha = 0;
if ((highScore_arr[i][0] == _root.NAME) && (highScore_arr[i][1] == _root.fen)) {
_root["new" + i]._alpha = 100;
}
i++;
}
gameSave();
Key.addListener(this);
this.onKeyDown = function () {
if (Key.getAscii() == 32) {
trace(1);
gotoAndStop ("start");
Key.removeListener(this);
}
};
stop();
Frame 116
if ((_root.OKsound == 1) && (onesound == 0)) {
onesound = 1;
KSSOUND = new Sound();
KSSOUND.attachSound("mainscreen");
KSSOUND.start(0, 1000);
}
var Q = highScore_arr.length;
var i = 0;
while (i < Q) {
var j = i;
while (j < Q) {
if (highScore_arr[i][1] < highScore_arr[j][1]) {
var temp = highScore_arr[i][0];
highScore_arr[i][0] = highScore_arr[j][0];
highScore_arr[j][0] = temp;
var temp = highScore_arr[i][1];
highScore_arr[i][1] = highScore_arr[j][1];
highScore_arr[j][1] = temp;
}
j++;
}
i++;
}
if (Q > 10) {
Q = 10;
}
var i = 0;
while (i < Q) {
_root["name" + (i + 1)] = highScore_arr[i][0];
_root["score" + (i + 1)] = highScore_arr[i][1];
i++;
}
if (Q > 10) {
Q = 10;
}
var i = 0;
while (i < Q) {
_root["new" + i]._alpha = 0;
if ((highScore_arr[i][0] == _root.NAME) && (highScore_arr[i][1] == _root.fen)) {
_root["new" + i]._alpha = 100;
}
i++;
}
gameSave();
stop();
Symbol 32 MovieClip [rain] Frame 6
this.removeMovieClip();
Symbol 34 MovieClip [OK] Frame 1
play();
Symbol 34 MovieClip [OK] Frame 50
_root.gotoAndStop("SL");
u = 1;
while (u <= 30) {
_root["DH" + u].removeMovieClip();
u++;
}
_root.QB.removeMovieClip();
_root.A2.removeMovieClip();
_root.GREN1.removeMovieClip();
_root.GREN2.removeMovieClip();
_root.GREN3.removeMovieClip();
_root.S.removeMovieClip();
_root.A.removeMovieClip();
this.removeMovieClip();
Symbol 37 MovieClip [XXUE] Frame 85
this.removeMovieClip();
Symbol 42 MovieClip [JD] Frame 1
stop();
Symbol 42 MovieClip [JD] Frame 16
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 53 Button
on (release) {
getURL ("http://moregames.agame.com", "_blank");
}
Symbol 62 Button
on (release) {
getURL ("http://moregames.agame.com", "_blank");
}
Symbol 63 Button
on (release) {
gotoAndPlay ("start1");
}
Symbol 64 Button
on (release) {
gotoAndStop ("help");
}
Symbol 65 Button
on (release) {
gotoAndStop ("highscore");
}
Symbol 66 Button
on (release) {
getURL ("http://freegames.agame.com", "_blank");
}
Symbol 69 Button
on (release) {
if (_root.OKsound == 0) {
stopAllSounds();
if (_root.guank == 0) {
_root.onesound = 1;
_root.KSSOUND = new Sound();
_root.KSSOUND.attachSound("mainscreen");
_root.KSSOUND.start(0, 2000);
} else if (_root.guank <= 5) {
_root.KSSOUND = new Sound();
_root.KSSOUND.attachSound("world1");
_root.KSSOUND.start(0, 2000);
} else if (_root.guank <= 10) {
_root.KSSOUND = new Sound();
_root.KSSOUND.attachSound("world2");
_root.KSSOUND.start(0, 2000);
} else if (_root.guank <= 15) {
_root.KSSOUND = new Sound();
_root.KSSOUND.attachSound("world3");
_root.KSSOUND.start(0, 2000);
}
_root.an.gotoAndStop(3);
} else if (_root.OKsound == 1) {
stopAllSounds();
_root.an.gotoAndStop(2);
}
}
Symbol 72 MovieClip Frame 1
if (_root.OKsound == 1) {
this.gotoAndStop(3);
}
Symbol 72 MovieClip Frame 2
_root.OKsound = 0;
stopAllSounds();
stop();
Symbol 72 MovieClip Frame 3
_root.OKsound = 1;
stop();
Symbol 75 Button
on (release) {
if ((++_root.qualityNum) > 3) {
_root.qualityNum = 1;
}
gotoAndStop(_root.qualityNum);
}
Symbol 78 MovieClip Frame 1
if (_root.qualityNum == 1) {
stop();
_quality = "high";
} else {
gotoAndStop(_root.qualityNum);
}
Symbol 78 MovieClip Frame 2
_quality = "medium";
Symbol 78 MovieClip Frame 3
_quality = "low";
Symbol 85 Button
on (release) {
gotoAndStop ("start");
}
Symbol 86 Button
on (release) {
gotoAndPlay ("start1");
}
Symbol 98 Button
on (release) {
Key.removeListener(this);
stopAllSounds();
_root.world = 1;
gotoAndPlay("G" + _root.guank);
}
Symbol 115 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 1
AA = _root.highScore_GK[0];
kk = 0;
kkk = 0;
AA = _root.highScore_GK[_root.guank - 1];
trace(AA);
if (AA > 0) {
kk = int(AA);
kkk = int((AA * 100) - (int(AA) * 100));
trace(kkk);
} else {
kk = 0;
kkk = 0;
}
if (kk < 10) {
kk = "0" + kk;
}
if (kkk < 10) {
kkk = "0" + kkk;
}
this.T = (kk + ":") + kkk;
Symbol 142 Button
on (release) {
if (_root.JT._y == -100) {
_root.A.JTOK = 1;
_root.A.OKKD = 1;
_root.C1.stop();
_root.C2.stop();
_root.CW1.stop();
_root.CW2.stop();
_root.XT1.stop();
_root.XT2.stop();
_root.GREN1.stop();
_root.GREN2.stop();
_root.GREN3.stop();
_root.MR1.stop();
_root.MR2.stop();
_root.WS.AMR1.stop();
_root.WS.AMR2.stop();
_root.WS.ACW1.stop();
this.gotoAndStop(2);
}
}
Symbol 144 Button
on (release) {
if (_root.JT._y == -100) {
_root.A.JTOK = 0;
_root.A.OKKD = 0;
_root.C1.play();
_root.C2.play();
_root.CW1.play();
_root.CW2.play();
_root.XT1.play();
_root.XT2.play();
_root.GREN1.play();
_root.GREN2.play();
_root.GREN3.play();
_root.MR1.play();
_root.MR2.play();
_root.WS.AMR1.play();
_root.WS.AMR2.play();
_root.WS.ACW1.play();
this.gotoAndStop(1);
}
}
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 2
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 24
_parent.KD = 0;
_parent.T = 200;
_parent.play();
Symbol 257 MovieClip Frame 30
gotoAndPlay (1);
Symbol 257 MovieClip Frame 31
stop();
Symbol 272 MovieClip Frame 25
_parent.KD = 0;
_parent.T = 200;
_parent.gotoAndPlay(1);
Symbol 273 MovieClip Frame 30
gotoAndPlay (1);
Symbol 273 MovieClip Frame 31
stop();
Symbol 279 MovieClip Frame 2
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 2
this.KQ = 1;
if (_root.OKsound == 1) {
S = new Sound();
S.attachSound("QDSJ");
S.start(0, 1);
}
_root.QB.play();
Symbol 283 MovieClip Frame 3
this.KQ = 0;
Instance of Symbol 283 MovieClip "mc" in Symbol 284 MovieClip Frame 1
onClipEvent (load) {
this._visible = true;
this._alpha = 100;
_root.MouseKZ(1);
this._rotation = 180;
DOK = 0;
KQ = 0;
}
onClipEvent (enterFrame) {
if (_root.TZ == 1) {
if (DOK > 0) {
DOK = DOK - 1;
}
this._rotation = _root.PDJ2(_root.A._x, _root.A._y) - _root.A2._rotation;
k = 2;
while (k <= 10) {
if ((_root["B" + k].hitTest(_root.QB._x, _root.QB._y, true) && (this.KQ == 1)) && (_root.hit == false)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
_root.A.speed = 0;
_root.A.KD = 1;
_root.hit = true;
}
k++;
}
}
}
Symbol 287 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 1
this.TD = 1;
Symbol 342 MovieClip Frame 15
this.TD = 0;
Symbol 344 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 1
stop();
Instance of Symbol 283 MovieClip "mc" in Symbol 372 MovieClip Frame 1
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._alpha = 100;
_root.MouseKZ(1);
this._rotation = 0;
} else {
this._alpha = 0;
_root.MouseKZ(0);
this._visible = false;
}
DOK = 0;
KQ = 0;
}
onClipEvent (enterFrame) {
if (_root.TZ == 1) {
if (DOK > 0) {
DOK = DOK - 1;
}
if (this._alpha != 0) {
this._rotation = (_root.PDJ2(_root.A._x, _root.A._y) - _root.A2._rotation) + 20;
}
k = 2;
while (k <= 8) {
if ((_root["B" + k].hitTest(_root.QB._x, _root.QB._y, true) && (this.KQ == 1)) && (_root.hit == false)) {
if (_root.OKsound == 1) {
PZ = new Sound();
PZ.attachSound("PZ");
PZ.start(0, 1);
}
_root.A.speed = 0;
_root.A.KD = 1;
_root.hit = true;
}
k++;
}
}
}
Symbol 383 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip "YY1" in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 300;
this._y = 253;
num = 20;
_root.doFigure2(this, num);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
Instance of Symbol 352 MovieClip "YY2" in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 500;
this._y = 140;
num = 20;
_root.doFigure2(this, num);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
Instance of Symbol 342 MovieClip "ACW1" in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 400;
this._y = 119;
FX = 0;
this.stop();
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if (_root.hit == false) {
this.play();
if (FX == 1) {
if (TD == 0) {
this._y = this._y - 0.5;
}
if (this._y < 100) {
this._rotation = 180 + this._rotation;
FX = 0;
}
} else if (FX == 0) {
if (TD == 0) {
this._y = this._y + 0.5;
}
if (this._y > 230) {
this._rotation = 180 + this._rotation;
FX = 1;
}
}
} else if (_root.hit == true) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
if (this._alpha <= 0) {
this._visible = 0;
}
}
}
}
Instance of Symbol 216 MovieClip "AMR1" in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 280;
this._y = 110;
this.gotoAndStop(5);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if (_root.hit == false) {
this.play();
this._x = _root.MR1._x;
this._y = _root.MR1._y;
this._rotation = _root.MR1._rotation;
} else if (_root.hit == true) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
}
}
Instance of Symbol 216 MovieClip "AMR2" in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
if (_root.TZ == 1) {
this._visible = true;
this._x = 474;
this._y = 75;
this.gotoAndStop(5);
} else {
this._x = -100;
this._y = -100;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.TZ == 1) && (_root.A.JTOK == 0)) {
if (_root.hit == false) {
this.play();
this._x = _root.MR2._x;
this._y = _root.MR2._y;
this._rotation = _root.MR2._rotation;
} else if (_root.hit == true) {
this.stop();
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
}
}
Symbol 395 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 1
stop();
Symbol 412 Button
on (release) {
Key.removeListener(this);
gotoAndPlay("G" + _root.guank);
}
Symbol 420 Button
on (release) {
submit_f();
trace(1);
stopAllSounds();
Key.removeListener(this);
gotoAndStop ("highscore2");
}
Symbol 427 Button
on (release) {
Key.removeListener(this);
if (((_root.guank == 5) || (_root.guank == 10)) || (_root.guank == 15)) {
stopAllSounds();
}
_root.guank = _root.guank + 1;
gotoAndPlay("G" + _root.guank);
}
Symbol 433 Button
on (release) {
submit_f();
stopAllSounds();
Key.removeListener(this);
gotoAndStop ("highscore");
}
Symbol 434 Button
on (release) {
stopAllSounds();
Key.removeListener(this);
gotoAndStop ("start");
}
Symbol 440 Button
on (release) {
Key.removeListener(this);
gotoAndStop ("start");
}
Symbol 464 Button
on (release) {
gotoAndStop ("start");
}
Symbol 465 Button
on (release) {
getURL ("http://moregames.agame.com", "_blank");
}