Frame 1
loadpercent = "0%";
fullload = loader._width;
loader._width = 0;
loadplay = false;
Frame 2
loadPercent = Math.floor(((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 1) + "%";
loader._width = (Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) / 100) * fullload;
if ((_root.getBytesLoaded() == _root.getBytesTotal()) and loadplay) {
loadPercent = "100%";
gotoAndStop ("begin");
}
Frame 3
gotoAndPlay (2);
Frame 4
_root.bttn_start.onRollOver = function () {
_root.centr_txt.gotoAndStop(2);
};
_root.bttn_help.onRollOver = function () {
_root.centr_txt.gotoAndStop(3);
};
_root.bttn_start.onRollOut = function () {
_root.centr_txt.gotoAndStop(1);
};
_root.bttn_help.onRollOut = function () {
_root.centr_txt.gotoAndStop(1);
};
leveltxt = 1;
koef = 0.04;
tim = 0;
fireCount = 0;
score = 0;
var B_Act_Sound = new Sound();
B_Act_Sound.attachSound("B_Act");
var Finish_Sound = new Sound();
Finish_Sound.attachSound("Finish");
var GameOver_Sound = new Sound();
GameOver_Sound.attachSound("GameOver");
var TimeOver_Sound = new Sound();
TimeOver_Sound.attachSound("TimeOver");
var WallExplosion_Sound = new Sound();
WallExplosion_Sound.attachSound("WallExplosion");
var Bullet_Sound = new Sound();
Bullet_Sound.attachSound("Bullet");
var Shot1_Sound = new Sound();
Shot1_Sound.attachSound("Shot1");
var ShotR_Sound = new Sound();
ShotR_Sound.attachSound("ShotR");
var Bonus_Sound = new Sound();
Bonus_Sound.attachSound("Bonus");
var Tick_Sound = new Sound();
Tick_Sound.attachSound("Tick");
var Engine_Sound = new Sound();
Engine_Sound.attachSound("Engine");
sound_bttn.onRelease = function () {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.B_Act_Sound.setVolume(0);
_root.Finish_Sound.setVolume(0);
_root.GameOver_Sound.setVolume(0);
_root.TimeOver_Sound.setVolume(0);
_root.WallExplosion_Sound.setVolume(0);
_root.Bullet_Sound.setVolume(0);
_root.Shot1_Sound.setVolume(0);
_root.ShotR_Sound.setVolume(0);
_root.Bonus_Sound.setVolume(0);
_root.Tick_Sound.setVolume(0);
} else {
this.gotoAndStop(1);
_root.B_Act_Sound.setVolume(100);
_root.Finish_Sound.setVolume(100);
_root.GameOver_Sound.setVolume(100);
_root.TimeOver_Sound.setVolume(100);
_root.WallExplosion_Sound.setVolume(100);
_root.Bullet_Sound.setVolume(100);
_root.Shot1_Sound.setVolume(100);
_root.ShotR_Sound.setVolume(100);
_root.Bonus_Sound.setVolume(100);
_root.Tick_Sound.setVolume(100);
}
};
Frame 5
overview = "The game 'Road Attack' present a breathtaking variety of races including shooting. Drive a super-high-speed racing car equipped with the most advanced weapons. Take a dangerous route destroying the enemies to finish first. Thirst for speed and danger makes the game more captibationg.\rTake a route full o obstacles in a limited period of time at each level. The opponent's cars will stand in your way trying to make you lose the game. The number of the opponents is going to rise at each level. Pick up such bonuses as additional weapons, a super-engine and armor.\rAre you up for the challenge?";
Frame 8
speed = 0;
min = Math.floor(tim / 60);
dsek = Math.floor((tim - (60 * min)) / 10);
sek = Math.floor((tim - (60 * min)) - (10 * dsek));
time_txt = ((min + ":") + dsek) + sek;
level_var = "Level " + String(leveltxt);
level_small = String(leveltxt);
_root.pointer._rotation = 0;
_root.armo = "999";
timeout = 0;
_root.attachMovie("enr", "enr1", 1001, {_x:0, _y:375});
time_wait = 0;
_root.car.engine._visible = false;
_root.car.gotoAndStop(1);
_root.panelfire.gotoAndStop(1);
Instance of Symbol 148 MovieClip "road" in Frame 8
onClipEvent (load) {
countfire = 20;
}
onClipEvent (enterFrame) {
if (_root.road._y > 0) {
(this._y = -320);
}
this._y = this._y + _root.speed;
}
onClipEvent (mouseDown) {
if (countfire < 1) {
_root.car.gotoAndStop(1);
_root.panelfire.gotoAndStop(1);
countfire = 20;
_root.armo = "999";
}
if (_root.car._currentframe != 1) {
countfire = countfire - 1;
_root.armo = countfire;
}
_root.fireCount = _root.fireCount + 1;
if (_root.fireCount > 20) {
_root.fireCount = 1;
}
switch (_root.car._currentframe) {
case 1 :
_root.Shot1_Sound.start();
_root.attachMovie("MGMyMovie", "FireMovie" + String(_root.fireCount), _root.fireCount, {_x:_root.car._x, _y:300});
break;
case 2 :
_root.Shot1_Sound.start();
_root.attachMovie("GMovie", "FireMovie" + String(_root.fireCount), _root.fireCount, {_x:_root.car._x - 14.9, _y:297});
_root.attachMovie("GMovie", "FireMovie" + String(_root.fireCount + 20), _root.fireCount + 20, {_x:_root.car._x + 14.9, _y:297});
break;
case 3 :
_root.ShotR_Sound.start();
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.fireCount), _root.fireCount, {_x:_root.car._x, _y:325});
}
}
Instance of Symbol 194 MovieClip "car" in Frame 8
onClipEvent (load) {
if ((_root._xmouse > 120) and (_root._xmouse < 370)) {
this._x = _root._xmouse;
}
}
Frame 9
if (tim > 0) {
_root.score = _root.score + 2;
score_txt = String(score);
_root.Tick_Sound.start();
tim = tim - 1;
min = Math.floor(tim / 60);
dsek = Math.floor((tim - (60 * min)) / 10);
sek = Math.floor((tim - (60 * min)) - (10 * dsek));
time_txt = ((min + ":") + dsek) + sek;
}
if (time_wait > (36 + tim)) {
gotoAndPlay ("gogogo");
tim = 40 + ((leveltxt - 1) * 10);
min = Math.floor(tim / 60);
dsek = Math.floor((tim - (60 * min)) / 10);
sek = Math.floor((tim - (60 * min)) - (10 * dsek));
time_txt = ((min + ":") + dsek) + sek;
}
time_wait = time_wait + 1;
Frame 10
gotoAndPlay (9);
Frame 11
frameN = 1;
_root.car.engine._visible = false;
_root.car.gotoAndStop(1);
trydead = false;
_root.enginetxt = "";
_root.PanelEngine._visible = false;
firemonster = 200;
levelmy = 140;
enginetime = 0;
levelboll = 80;
Instance of Symbol 208 MovieClip "finish_line" in Frame 11
onClipEvent (enterFrame) {
if (_root.small_car._y <= 36) {
this._y = this._y + _root.speed;
}
}
Instance of Symbol 214 MovieClip in Frame 11
onClipEvent (load) {
function onloadfrm() {
frm = Math.round(Math.random() * 5);
if (frm == 0) {
frm = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 20) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.25));
} else {
this._y = (-Math.random()) * 375;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car.hit)) {
this._y = 390;
_root.Bonus_Sound.start();
switch (frm) {
case 1 :
_root.energy._x = _root.energy._x + 79.5;
if (_root.energy._x > 380) {
_root.energy._x = 380;
}
break;
case 2 :
_root.enginetime = 10;
_root.PanelEngine._visible = true;
_root.car.engine._visible = true;
_root.car.acc = 1.25;
break;
case 3 :
_root.car.gotoAndStop(1);
_root.road.countfire = 20;
_root.armo = "999";
_root.panelfire.gotoAndStop(1);
break;
case 4 :
_root.car.gotoAndStop(2);
_root.road.countfire = 20;
_root.armo = "20";
_root.panelfire.gotoAndStop(2);
break;
case 5 :
_root.car.gotoAndStop(3);
_root.road.countfire = 20;
_root.armo = "20";
_root.panelfire.gotoAndStop(3);
}
}
var i = 1;
while (i <= 40) {
if (this.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
_root.levelboll = _root.levelboll + 1;
if (_root.levelmy > 85) {
_root.levelmy = 81;
}
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelboll), _root.levelboll, {_x:this._x, _y:this._y});
var targeylevel = eval (_root.getInstanceAtDepth(_root.levelboll));
_root.Bullet_Sound.start();
onloadfrm();
}
i++;
}
if (this._y <= 380) {
targeylevel._y = targeylevel._y + _root.speed;
this._y = this._y + _root.speed;
} else if (_root.small_car._y > 36) {
onloadfrm();
}
}
Instance of Symbol 214 MovieClip in Frame 11
onClipEvent (load) {
function onloadfrm() {
frm = Math.round(Math.random() * 5);
if (frm == 0) {
frm = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 20) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.25));
} else {
this._y = (-Math.random()) * 375;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car.hit)) {
this._y = 390;
_root.Bonus_Sound.start();
switch (frm) {
case 1 :
_root.energy._x = _root.energy._x + 79.5;
if (_root.energy._x > 380) {
_root.energy._x = 380;
}
break;
case 2 :
_root.enginetime = 10;
_root.PanelEngine._visible = true;
_root.car.engine._visible = true;
_root.car.acc = 1.25;
break;
case 3 :
_root.car.gotoAndStop(1);
_root.road.countfire = 20;
_root.armo = "999";
_root.panelfire.gotoAndStop(1);
break;
case 4 :
_root.car.gotoAndStop(2);
_root.road.countfire = 20;
_root.armo = "20";
_root.panelfire.gotoAndStop(2);
break;
case 5 :
_root.car.gotoAndStop(3);
_root.road.countfire = 20;
_root.armo = "20";
_root.panelfire.gotoAndStop(3);
}
}
var i = 1;
while (i <= 40) {
if (this.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
_root.levelboll = _root.levelboll + 1;
if (_root.levelmy > 85) {
_root.levelmy = 81;
}
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelboll), _root.levelboll, {_x:this._x, _y:this._y});
var targeylevel = eval (_root.getInstanceAtDepth(_root.levelboll));
_root.Bullet_Sound.start();
onloadfrm();
}
i++;
}
if (this._y <= 380) {
targeylevel._y = targeylevel._y + _root.speed;
this._y = this._y + _root.speed;
} else if (_root.small_car._y > 36) {
onloadfrm();
}
}
Instance of Symbol 214 MovieClip in Frame 11
onClipEvent (load) {
function onloadfrm() {
frm = Math.round(Math.random() * 5);
if (frm == 0) {
frm = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 20) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.25));
} else {
this._y = (-Math.random()) * 375;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car.hit)) {
this._y = 390;
_root.Bonus_Sound.start();
switch (frm) {
case 1 :
_root.energy._x = _root.energy._x + 79.5;
if (_root.energy._x > 380) {
_root.energy._x = 380;
}
break;
case 2 :
_root.enginetime = 10;
_root.PanelEngine._visible = true;
_root.car.engine._visible = true;
_root.car.acc = 1.25;
break;
case 3 :
_root.car.gotoAndStop(1);
_root.road.countfire = 20;
_root.armo = "999";
_root.panelfire.gotoAndStop(1);
break;
case 4 :
_root.car.gotoAndStop(2);
_root.road.countfire = 20;
_root.armo = "20";
_root.panelfire.gotoAndStop(2);
break;
case 5 :
_root.car.gotoAndStop(3);
_root.road.countfire = 20;
_root.armo = "20";
_root.panelfire.gotoAndStop(3);
}
}
var i = 1;
while (i <= 40) {
if (this.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
_root.levelboll = _root.levelboll + 1;
if (_root.levelmy > 85) {
_root.levelmy = 81;
}
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelboll), _root.levelboll, {_x:this._x, _y:this._y});
var targeylevel = eval (_root.getInstanceAtDepth(_root.levelboll));
_root.Bullet_Sound.start();
onloadfrm();
}
i++;
}
if (this._y <= 380) {
targeylevel._y = targeylevel._y + _root.speed;
this._y = this._y + _root.speed;
} else if (_root.small_car._y > 36) {
onloadfrm();
}
}
Instance of Symbol 172 MovieClip "small_car" in Frame 11
onClipEvent (enterFrame) {
if (this._y > 36) {
this._y = this._y - (_root.speed * _root.koef);
}
}
Instance of Symbol 194 MovieClip "car" in Frame 11
onClipEvent (load) {
acc = 1;
}
onClipEvent (enterFrame) {
if ((_root.Engine_Sound.position == 0) or (_root.Engine_Sound.position == _root.Engine_Sound.duration)) {
_root.Engine_Sound.start();
}
sp = Math.round(((this._y - _root._ymouse) / 33) * 2);
switch (sp) {
case 1 :
case 2 :
case 3 :
case 4 :
case 5 :
case 6 :
case 7 :
case 8 :
case 9 :
case 10 :
_root.speed = sp * acc;
_root.pointer._rotation = (sp * 25) * acc;
break;
case 11 :
case 12 :
case 13 :
case 14 :
case 15 :
case 16 :
case 17 :
case 18 :
case 19 :
case 20 :
_root.speed = 10 * acc;
_root.pointer._rotation = 250 * acc;
sp = 10;
break;
default :
_root.speed = 0;
sp = 0;
_root.pointer._rotation = 0;
}
delx = ((_root._xmouse - _x) * sp) / 10;
if ((_root._xmouse > 115) and (_root._xmouse < 370)) {
this._x = this._x + delx;
} else if ((this._x > 120) and (this._x < 365)) {
if (delx < 0) {
this._x = this._x - 5;
} else {
this._x = this._x + 5;
}
}
if (this.engine._visible) {
_root.enginetxt = String(_root.enginetime);
if ((_root.frameN % 12) == 0) {
_root.enginetime = _root.enginetime - 1;
}
}
if (_root.enginetime < 1) {
this.engine._visible = false;
acc = 1;
_root.enginetime = 1;
_root.enginetxt = "";
_root.PanelEngine._visible = false;
}
var i = 201;
while (i <= 280) {
if (this.bighit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
}
i++;
}
}
Instance of Symbol 229 MovieClip in Frame 11
onClipEvent (load) {
function onloadmonster() {
levelmonstr = levelmonstrload;
frm = Math.round(Math.random() * 6);
if (frm == 0) {
frm = 6;
}
switch (frm) {
case 1 :
case 2 :
case 3 :
case 4 :
lifemonstr = 3;
break;
case 5 :
lifemonstr = 4;
break;
case 6 :
lifemonstr = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 10) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.5));
} else {
this._y = (-Math.random()) * 375;
}
}
levelmonstrload = 300;
}
onClipEvent (enterFrame) {
if (((Math.random() * 10) < 1) and (this._y > 0)) {
if (_root.firemonster > 260) {
_root.firemonster = 200;
}
_root.firemonster = _root.firemonster + 1;
switch (frm) {
case 1 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 2 :
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y - 9});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 3 :
case 4 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 5 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
break;
case 6 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
}
}
var i = 1;
while (i <= 40) {
if (this.hit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
switch (_root.car._currentframe) {
case 1 :
lifemonstr = lifemonstr - 1;
_root.score = _root.score + 5;
break;
case 2 :
lifemonstr = lifemonstr - 1.5;
_root.score = _root.score + 8;
break;
case 3 :
lifemonstr = lifemonstr - 2;
_root.score = _root.score + 10;
}
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
if (lifemonstr > 0) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
}
i++;
}
if (this.hit.hitTest(_root.car.bighit)) {
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(_root.car._x + (Math.random() * 30)) - 15, _y:(_root.car._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
_root.score = _root.score + 5;
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
if (this._y <= 380) {
var i = (levelmonstrload + 1);
while (i <= (levelmonstrload + 20)) {
eval ("_root.FireMovie" + String(i))._y = eval ("_root.FireMovie" + String(i))._y + (_root.speed + 3);
i++;
}
this._y = this._y + (_root.speed + 3);
} else if (_root.small_car._y > 36) {
onloadmonster();
}
}
Instance of Symbol 229 MovieClip in Frame 11
onClipEvent (load) {
function onloadmonster() {
levelmonstr = levelmonstrload;
frm = Math.round(Math.random() * 6);
if (frm == 0) {
frm = 6;
}
switch (frm) {
case 1 :
case 2 :
case 3 :
case 4 :
lifemonstr = 3;
break;
case 5 :
lifemonstr = 4;
break;
case 6 :
lifemonstr = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 10) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.5));
} else {
this._y = (-Math.random()) * 375;
}
}
levelmonstrload = 330;
}
onClipEvent (enterFrame) {
if (((Math.random() * 10) < 1) and (this._y > 0)) {
if (_root.firemonster > 260) {
_root.firemonster = 200;
}
_root.firemonster = _root.firemonster + 1;
switch (frm) {
case 1 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 2 :
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y - 9});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 3 :
case 4 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 5 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
break;
case 6 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
}
}
var i = 1;
while (i <= 40) {
if (this.hit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
switch (_root.car._currentframe) {
case 1 :
lifemonstr = lifemonstr - 1;
_root.score = _root.score + 5;
break;
case 2 :
lifemonstr = lifemonstr - 1.5;
_root.score = _root.score + 8;
break;
case 3 :
lifemonstr = lifemonstr - 2;
_root.score = _root.score + 10;
}
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
if (lifemonstr > 0) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
}
i++;
}
if (this.hit.hitTest(_root.car.bighit)) {
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(_root.car._x + (Math.random() * 30)) - 15, _y:(_root.car._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
_root.score = _root.score + 5;
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
if (this._y <= 380) {
var i = (levelmonstrload + 1);
while (i <= (levelmonstrload + 20)) {
eval ("_root.FireMovie" + String(i))._y = eval ("_root.FireMovie" + String(i))._y + (_root.speed + 3);
i++;
}
this._y = this._y + (_root.speed + 3);
} else if (_root.small_car._y > 36) {
onloadmonster();
}
}
Instance of Symbol 229 MovieClip in Frame 11
onClipEvent (load) {
function onloadmonster() {
levelmonstr = levelmonstrload;
frm = Math.round(Math.random() * 6);
if (frm == 0) {
frm = 6;
}
switch (frm) {
case 1 :
case 2 :
case 3 :
case 4 :
lifemonstr = 3;
break;
case 5 :
lifemonstr = 4;
break;
case 6 :
lifemonstr = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 10) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.5));
} else {
this._y = (-Math.random()) * 375;
}
}
levelmonstrload = 360;
}
onClipEvent (enterFrame) {
if (((Math.random() * 10) < 1) and (this._y > 0)) {
if (_root.firemonster > 260) {
_root.firemonster = 200;
}
_root.firemonster = _root.firemonster + 1;
switch (frm) {
case 1 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 2 :
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y - 9});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 3 :
case 4 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 5 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
break;
case 6 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
}
}
var i = 1;
while (i <= 40) {
if (this.hit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
switch (_root.car._currentframe) {
case 1 :
lifemonstr = lifemonstr - 1;
_root.score = _root.score + 5;
break;
case 2 :
lifemonstr = lifemonstr - 1.5;
_root.score = _root.score + 8;
break;
case 3 :
lifemonstr = lifemonstr - 2;
_root.score = _root.score + 10;
}
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
if (lifemonstr > 0) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
}
i++;
}
if (this.hit.hitTest(_root.car.bighit)) {
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(_root.car._x + (Math.random() * 30)) - 15, _y:(_root.car._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
_root.score = _root.score + 5;
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
if (this._y <= 380) {
var i = (levelmonstrload + 1);
while (i <= (levelmonstrload + 20)) {
eval ("_root.FireMovie" + String(i))._y = eval ("_root.FireMovie" + String(i))._y + (_root.speed + 3);
i++;
}
this._y = this._y + (_root.speed + 3);
} else if (_root.small_car._y > 36) {
onloadmonster();
}
}
Instance of Symbol 229 MovieClip in Frame 11
onClipEvent (load) {
function onloadmonster() {
levelmonstr = levelmonstrload;
frm = Math.round(Math.random() * 6);
if (frm == 0) {
frm = 6;
}
switch (frm) {
case 1 :
case 2 :
case 3 :
case 4 :
lifemonstr = 3;
break;
case 5 :
lifemonstr = 4;
break;
case 6 :
lifemonstr = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 10) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.5));
} else {
this._y = (-Math.random()) * 375;
}
}
levelmonstrload = 390;
}
onClipEvent (enterFrame) {
if (((Math.random() * 10) < 1) and (this._y > 0)) {
if (_root.firemonster > 260) {
_root.firemonster = 200;
}
_root.firemonster = _root.firemonster + 1;
switch (frm) {
case 1 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 2 :
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y - 9});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 3 :
case 4 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 5 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
break;
case 6 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
}
}
var i = 1;
while (i <= 40) {
if (this.hit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
switch (_root.car._currentframe) {
case 1 :
lifemonstr = lifemonstr - 1;
_root.score = _root.score + 5;
break;
case 2 :
lifemonstr = lifemonstr - 1.5;
_root.score = _root.score + 8;
break;
case 3 :
lifemonstr = lifemonstr - 2;
_root.score = _root.score + 10;
}
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
if (lifemonstr > 0) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
}
i++;
}
if (this.hit.hitTest(_root.car.bighit)) {
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(_root.car._x + (Math.random() * 30)) - 15, _y:(_root.car._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
_root.score = _root.score + 5;
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
if (this._y <= 380) {
var i = (levelmonstrload + 1);
while (i <= (levelmonstrload + 20)) {
eval ("_root.FireMovie" + String(i))._y = eval ("_root.FireMovie" + String(i))._y + (_root.speed + 3);
i++;
}
this._y = this._y + (_root.speed + 3);
} else if (_root.small_car._y > 36) {
onloadmonster();
}
}
Instance of Symbol 229 MovieClip in Frame 11
onClipEvent (load) {
function onloadmonster() {
levelmonstr = levelmonstrload;
frm = Math.round(Math.random() * 6);
if (frm == 0) {
frm = 6;
}
switch (frm) {
case 1 :
case 2 :
case 3 :
case 4 :
lifemonstr = 3;
break;
case 5 :
lifemonstr = 4;
break;
case 6 :
lifemonstr = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 10) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.5));
} else {
this._y = (-Math.random()) * 375;
}
}
levelmonstrload = 420;
}
onClipEvent (enterFrame) {
if (((Math.random() * 10) < 1) and (this._y > 0)) {
if (_root.firemonster > 260) {
_root.firemonster = 200;
}
_root.firemonster = _root.firemonster + 1;
switch (frm) {
case 1 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 2 :
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y - 9});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 3 :
case 4 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 5 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
break;
case 6 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
}
}
var i = 1;
while (i <= 40) {
if (this.hit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
switch (_root.car._currentframe) {
case 1 :
lifemonstr = lifemonstr - 1;
_root.score = _root.score + 5;
break;
case 2 :
lifemonstr = lifemonstr - 1.5;
_root.score = _root.score + 8;
break;
case 3 :
lifemonstr = lifemonstr - 2;
_root.score = _root.score + 10;
}
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
if (lifemonstr > 0) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
}
i++;
}
if (this.hit.hitTest(_root.car.bighit)) {
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(_root.car._x + (Math.random() * 30)) - 15, _y:(_root.car._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
_root.score = _root.score + 5;
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
if (this._y <= 380) {
var i = (levelmonstrload + 1);
while (i <= (levelmonstrload + 20)) {
eval ("_root.FireMovie" + String(i))._y = eval ("_root.FireMovie" + String(i))._y + (_root.speed + 3);
i++;
}
this._y = this._y + (_root.speed + 3);
} else if (_root.small_car._y > 36) {
onloadmonster();
}
}
Instance of Symbol 229 MovieClip in Frame 11
onClipEvent (load) {
function onloadmonster() {
levelmonstr = levelmonstrload;
frm = Math.round(Math.random() * 6);
if (frm == 0) {
frm = 6;
}
switch (frm) {
case 1 :
case 2 :
case 3 :
case 4 :
lifemonstr = 3;
break;
case 5 :
lifemonstr = 4;
break;
case 6 :
lifemonstr = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 10) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.5));
} else {
this._y = (-Math.random()) * 375;
}
}
levelmonstrload = 450;
}
onClipEvent (enterFrame) {
if (((Math.random() * 10) < 1) and (this._y > 0)) {
if (_root.firemonster > 260) {
_root.firemonster = 200;
}
_root.firemonster = _root.firemonster + 1;
switch (frm) {
case 1 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 2 :
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y - 9});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 3 :
case 4 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 5 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
break;
case 6 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
}
}
var i = 1;
while (i <= 40) {
if (this.hit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
switch (_root.car._currentframe) {
case 1 :
lifemonstr = lifemonstr - 1;
_root.score = _root.score + 5;
break;
case 2 :
lifemonstr = lifemonstr - 1.5;
_root.score = _root.score + 8;
break;
case 3 :
lifemonstr = lifemonstr - 2;
_root.score = _root.score + 10;
}
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
if (lifemonstr > 0) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
}
i++;
}
if (this.hit.hitTest(_root.car.bighit)) {
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(_root.car._x + (Math.random() * 30)) - 15, _y:(_root.car._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
_root.score = _root.score + 5;
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
if (this._y <= 380) {
var i = (levelmonstrload + 1);
while (i <= (levelmonstrload + 20)) {
eval ("_root.FireMovie" + String(i))._y = eval ("_root.FireMovie" + String(i))._y + (_root.speed + 3);
i++;
}
this._y = this._y + (_root.speed + 3);
} else if (_root.small_car._y > 36) {
onloadmonster();
}
}
Instance of Symbol 229 MovieClip in Frame 11
onClipEvent (load) {
function onloadmonster() {
levelmonstr = levelmonstrload;
frm = Math.round(Math.random() * 6);
if (frm == 0) {
frm = 6;
}
switch (frm) {
case 1 :
case 2 :
case 3 :
case 4 :
lifemonstr = 3;
break;
case 5 :
lifemonstr = 4;
break;
case 6 :
lifemonstr = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 10) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.5));
} else {
this._y = (-Math.random()) * 375;
}
}
levelmonstrload = 480;
}
onClipEvent (enterFrame) {
if (((Math.random() * 10) < 1) and (this._y > 0)) {
if (_root.firemonster > 260) {
_root.firemonster = 200;
}
_root.firemonster = _root.firemonster + 1;
switch (frm) {
case 1 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 2 :
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y - 9});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 3 :
case 4 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 5 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
break;
case 6 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
}
}
var i = 1;
while (i <= 40) {
if (this.hit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
switch (_root.car._currentframe) {
case 1 :
lifemonstr = lifemonstr - 1;
_root.score = _root.score + 5;
break;
case 2 :
lifemonstr = lifemonstr - 1.5;
_root.score = _root.score + 8;
break;
case 3 :
lifemonstr = lifemonstr - 2;
_root.score = _root.score + 10;
}
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
if (lifemonstr > 0) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
}
i++;
}
if (this.hit.hitTest(_root.car.bighit)) {
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(_root.car._x + (Math.random() * 30)) - 15, _y:(_root.car._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
_root.score = _root.score + 5;
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
if (this._y <= 380) {
var i = (levelmonstrload + 1);
while (i <= (levelmonstrload + 20)) {
eval ("_root.FireMovie" + String(i))._y = eval ("_root.FireMovie" + String(i))._y + (_root.speed + 3);
i++;
}
this._y = this._y + (_root.speed + 3);
} else if (_root.small_car._y > 36) {
onloadmonster();
}
}
Instance of Symbol 229 MovieClip in Frame 11
onClipEvent (load) {
function onloadmonster() {
levelmonstr = levelmonstrload;
frm = Math.round(Math.random() * 6);
if (frm == 0) {
frm = 6;
}
switch (frm) {
case 1 :
case 2 :
case 3 :
case 4 :
lifemonstr = 3;
break;
case 5 :
lifemonstr = 4;
break;
case 6 :
lifemonstr = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 10) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.5));
} else {
this._y = (-Math.random()) * 375;
}
}
levelmonstrload = 510;
}
onClipEvent (enterFrame) {
if (((Math.random() * 10) < 1) and (this._y > 0)) {
if (_root.firemonster > 260) {
_root.firemonster = 200;
}
_root.firemonster = _root.firemonster + 1;
switch (frm) {
case 1 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 2 :
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y - 9});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 3 :
case 4 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 5 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
break;
case 6 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
}
}
var i = 1;
while (i <= 40) {
if (this.hit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
switch (_root.car._currentframe) {
case 1 :
lifemonstr = lifemonstr - 1;
_root.score = _root.score + 5;
break;
case 2 :
lifemonstr = lifemonstr - 1.5;
_root.score = _root.score + 8;
break;
case 3 :
lifemonstr = lifemonstr - 2;
_root.score = _root.score + 10;
}
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
if (lifemonstr > 0) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
}
i++;
}
if (this.hit.hitTest(_root.car.bighit)) {
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(_root.car._x + (Math.random() * 30)) - 15, _y:(_root.car._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
_root.score = _root.score + 5;
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
if (this._y <= 380) {
var i = (levelmonstrload + 1);
while (i <= (levelmonstrload + 20)) {
eval ("_root.FireMovie" + String(i))._y = eval ("_root.FireMovie" + String(i))._y + (_root.speed + 3);
i++;
}
this._y = this._y + (_root.speed + 3);
} else if (_root.small_car._y > 36) {
onloadmonster();
}
}
Instance of Symbol 229 MovieClip in Frame 11
onClipEvent (load) {
function onloadmonster() {
levelmonstr = levelmonstrload;
frm = Math.round(Math.random() * 6);
if (frm == 0) {
frm = 6;
}
switch (frm) {
case 1 :
case 2 :
case 3 :
case 4 :
lifemonstr = 3;
break;
case 5 :
lifemonstr = 4;
break;
case 6 :
lifemonstr = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 10) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.5));
} else {
this._y = (-Math.random()) * 375;
}
}
levelmonstrload = 540;
}
onClipEvent (enterFrame) {
if (((Math.random() * 10) < 1) and (this._y > 0)) {
if (_root.firemonster > 260) {
_root.firemonster = 200;
}
_root.firemonster = _root.firemonster + 1;
switch (frm) {
case 1 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 2 :
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y - 9});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 3 :
case 4 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 5 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
break;
case 6 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
}
}
var i = 1;
while (i <= 40) {
if (this.hit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
switch (_root.car._currentframe) {
case 1 :
lifemonstr = lifemonstr - 1;
_root.score = _root.score + 5;
break;
case 2 :
lifemonstr = lifemonstr - 1.5;
_root.score = _root.score + 8;
break;
case 3 :
lifemonstr = lifemonstr - 2;
_root.score = _root.score + 10;
}
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
if (lifemonstr > 0) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
}
i++;
}
if (this.hit.hitTest(_root.car.bighit)) {
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(_root.car._x + (Math.random() * 30)) - 15, _y:(_root.car._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
_root.score = _root.score + 5;
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
if (this._y <= 380) {
var i = (levelmonstrload + 1);
while (i <= (levelmonstrload + 20)) {
eval ("_root.FireMovie" + String(i))._y = eval ("_root.FireMovie" + String(i))._y + (_root.speed + 3);
i++;
}
this._y = this._y + (_root.speed + 3);
} else if (_root.small_car._y > 36) {
onloadmonster();
}
}
Instance of Symbol 229 MovieClip in Frame 11
onClipEvent (load) {
function onloadmonster() {
levelmonstr = levelmonstrload;
frm = Math.round(Math.random() * 6);
if (frm == 0) {
frm = 6;
}
switch (frm) {
case 1 :
case 2 :
case 3 :
case 4 :
lifemonstr = 3;
break;
case 5 :
lifemonstr = 4;
break;
case 6 :
lifemonstr = 5;
}
this.gotoAndStop(frm);
this._x = 120 + (Math.floor(Math.random() * 8) * 35);
if (_root.leveltxt < 10) {
this._y = ((-Math.random()) * 375) * (6 - (_root.leveltxt * 0.5));
} else {
this._y = (-Math.random()) * 375;
}
}
levelmonstrload = 570;
}
onClipEvent (enterFrame) {
if (((Math.random() * 10) < 1) and (this._y > 0)) {
if (_root.firemonster > 260) {
_root.firemonster = 200;
}
_root.firemonster = _root.firemonster + 1;
switch (frm) {
case 1 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 2 :
_root.attachMovie("RocketMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y - 9});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 3 :
case 4 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x, _y:this._y + 13});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
this.fire.gotoAndPlay(2);
break;
case 5 :
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("MGMonstrMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 14, _y:this._y + 19});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
break;
case 6 :
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster), _root.firemonster, {_x:this._x - 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster))._rotation = 180;
_root.attachMovie("GMovie", "FireMovie" + String(_root.firemonster + 20), _root.firemonster + 20, {_x:this._x + 19, _y:this._y + 18});
eval ("_root.FireMovie" + String(_root.firemonster + 20))._rotation = 180;
this.fire.gotoAndPlay(2);
this.fire2.gotoAndPlay(2);
}
}
var i = 1;
while (i <= 40) {
if (this.hit.hitTest("_root.FireMovie" + String(i))) {
removeMovieClip(eval ("_root.FireMovie" + String(i)));
switch (_root.car._currentframe) {
case 1 :
lifemonstr = lifemonstr - 1;
_root.score = _root.score + 5;
break;
case 2 :
lifemonstr = lifemonstr - 1.5;
_root.score = _root.score + 8;
break;
case 3 :
lifemonstr = lifemonstr - 2;
_root.score = _root.score + 10;
}
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
if (lifemonstr > 0) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:(this._x + (Math.random() * 30)) - 15, _y:(this._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
}
i++;
}
if (this.hit.hitTest(_root.car.bighit)) {
_root.enr1.energy._x = _root.enr1.energy._x - 26.5;
_root.levelmy = _root.levelmy + 1;
if (_root.levelmy > 160) {
_root.levelmy = 141;
}
if (_root.enr1.energy._x > 115) {
_root.attachMovie("BulletExplosion", "FireMovie" + String(_root.levelmy), _root.levelmy, {_x:(_root.car._x + (Math.random() * 30)) - 15, _y:(_root.car._y + (Math.random() * 50)) - 25});
_root.Bullet_Sound.start();
} else {
_root.attachMovie("RocketExplossion", "FireMovie" + String(_root.levelmy), 125, {_x:this._x, _y:this._y});
_root.enr1.energy._x = 380;
_root.trydead = true;
}
_root.score = _root.score + 5;
levelmonstr = levelmonstr + 1;
if (levelmonstr > (levelmonstrload + 20)) {
levelmonstr = levelmonstrload + 1;
}
_root.attachMovie("RocketExplossion", "FireMovie" + String(levelmonstr), levelmonstr, {_x:this._x, _y:this._y});
_root.WallExplosion_Sound.start();
onloadmonster();
}
if (this._y <= 380) {
var i = (levelmonstrload + 1);
while (i <= (levelmonstrload + 20)) {
eval ("_root.FireMovie" + String(i))._y = eval ("_root.FireMovie" + String(i))._y + (_root.speed + 3);
i++;
}
this._y = this._y + (_root.speed + 3);
} else if (_root.small_car._y > 36) {
onloadmonster();
}
}
Frame 12
frameN = frameN + 1;
if ((frameN % 12) == 0) {
tim = tim - 1;
if (tim < 10) {
_root.Tick_Sound.start();
}
min = Math.floor(tim / 60);
dsek = Math.floor((tim - (60 * min)) / 10);
sek = Math.floor((tim - (60 * min)) - (10 * dsek));
time_txt = ((min + ":") + dsek) + sek;
}
score_txt = String(score);
if (Key.isDown(27)) {
_root.panel_life.gotoAndStop(5);
trydead = true;
}
Frame 13
if (_root.finish_line._y < 355) {
gotoAndPlay (12);
} else {
_root.Finish_Sound.start();
leveltxt = leveltxt + 1;
gotoAndPlay ("wait_level");
koef = koef * 0.8;
_root.armo = "999";
}
if (((min == 0) and (dsek == 0)) and (sek == 0)) {
_root.panel_life.nextFrame();
speed = 0;
_root.pointer._rotation = 0;
if (_root.panel_life._currentframe == 5) {
leveltxt = 1;
tim = 40;
koef = 0.04;
gotoAndPlay ("game_over");
_root.GameOver_Sound.start();
} else {
gotoAndPlay ("time_out");
_root.TimeOver_Sound.start();
}
}
if (trydead) {
_root.panel_life.nextFrame();
speed = 0;
_root.pointer._rotation = 0;
if (_root.panel_life._currentframe == 5) {
leveltxt = 1;
gotoAndPlay ("game_over");
_root.GameOver_Sound.start();
tim = 40;
koef = 0.04;
} else {
_root.WallExplosion_Sound.start();
gotoAndPlay ("dead");
}
}
Frame 14
time_wait = 0;
_root.car.engine._visible = false;
_root.car.gotoAndStop(1);
Frame 15
if (time_wait > 36) {
gotoAndPlay ("gogogo");
}
time_wait = time_wait + 1;
Frame 16
gotoAndPlay (15);
Frame 17
time_wait = 0;
_root.car.engine._visible = false;
_root.car.gotoAndStop(1);
Instance of Symbol 194 MovieClip "car" in Frame 17
onClipEvent (load) {
if ((_root._xmouse > 120) and (_root._xmouse < 370)) {
this._x = _root._xmouse;
}
}
Frame 18
if (time_wait > 36) {
gotoAndPlay ("wait_level");
}
time_wait = time_wait + 1;
Frame 19
gotoAndPlay (18);
Frame 20
time_wait = 0;
_root.car.engine._visible = false;
_root.car.gotoAndStop(1);
Frame 21
if (time_wait > 36) {
removeMovieClip(_root.getInstanceAtDepth(1001));
gotoAndStop ("download");
score = 0;
}
time_wait = time_wait + 1;
Frame 22
gotoAndPlay (21);
Frame 23
namecreater = "MyPlayCity.com";
_root.name_txt.text = namecreater;
LoadVars.prototype.clear = function () {
for (element in this) {
if (typeof(this[element]) != "function") {
delete this[element];
}
}
};
setStatus = function (statusText) {
_root.status_txt.text = statusText;
};
getStatus = function () {
return(status_txt.text);
};
setFocusHandler = function () {
setStatus(this.statusText);
this.backgroundColor = 16777215 /* 0xFFFFFF */;
};
killFocusHandler = function () {
setStatus("");
this.backgroundColor = 13291221 /* 0xCACED5 */;
};
changedHandler = function () {
var _local2 = true;
var _local3 = false;
_local3 = true;
if (((_root.name_txt.length == 0) || (_root.email_txt.length == 0)) || (((_root.email1_txt.length == 0) && (_root.email2_txt.length == 0)) && (_root.email3_txt.length == 0))) {
_local2 = false;
}
if (_local2) {
submitBtn.enable();
} else {
submitBtn.disable();
}
if (_local3) {
resetBtn.enable();
} else {
resetBtn.disable();
}
};
enableForm = function () {
var _local2 = 0;
while (_local2 < textFields.length) {
_root[textFields[_local2]].selectable = true;
_root[textFields[_local2]].border = true;
_local2++;
}
submitBtn.enable();
resetBtn.enable();
cancelBtn.enable();
};
disableForm = function () {
var _local2 = 0;
while (_local2 < textFields.length) {
_root[textFields[_local2]].selectable = false;
_root[textFields[_local2]].border = false;
_local2++;
}
submitBtn.disable();
resetBtn.disable();
cancelBtn.disable();
};
resetForm = function () {
setStatus("");
_global.oldStatusText = "";
var _local3 = 0;
while (_local3 < textFields.length) {
_root[textFields[_local3]].selectable = true;
_root[textFields[_local3]].border = true;
if (_root[textFields[_local3]]._name != "subject_txt") {
_root[textFields[_local3]].text = "";
}
if (_root[textFields[_local3]]._name == "name_txt") {
_root[textFields[_local3]].text = namecreater;
}
_local3++;
}
resetBtn.disable();
submitBtn.disable();
};
submitForm = function () {
disableForm();
dataHandler.clear();
var _local2 = 0;
while (_local2 < textFields.length) {
if (_local2 != (textFields.length - 1)) {
dataHandler[textFields[_local2]] = _root[textFields[_local2]].text;
} else {
var _local3 = new String(_root._url);
dataHandler[textFields[_local2]] = _local3.substr(0, _local3.length - 4) + ".html";
}
_local2++;
}
dataHandler.sendAndLoad("mailer.php", dataHandler, "POST");
setStatus("Contacting server...please wait!");
};
cancelForm = function () {
gotoAndStop ("begin");
};
messageBox = function (message) {
setStatus("");
_global.oldStatusText = "";
var _local7 = 200;
var _local4 = _root.createEmptyMovieClip("msgBox_mc", 0);
_local4.createTextField("body_txt", 1, 5, 5, _local7 - 10, 10);
_local4.body_txt.multiline = true;
_local4.body_txt.autoSize = true;
_local4.body_txt.wordWrap = true;
_local4.body_txt.selectable = false;
_local4.body_txt.textColor = 6776679 /* 0x676767 */;
_local4.body_txt.text = message;
var _local8 = new TextFormat();
_local8.align = "center";
_local8.font = "_sans";
_local8.size = 12;
_local4.body_txt.setTextFormat(_local8);
var _local6 = _local4.body_txt.textHeight + 10;
var _local5 = _local4.attachMovie("FSimpleButton", "closeBtn", 0);
_local5._x = (_local7 - _local5._width) / 2;
_local5._y = _local6;
_local5.captionText = "Ok";
_local5.showHand = false;
_local5.captionColor = 6776681 /* 0x676769 */;
_local5.init();
_local5.onRelease = function () {
enableForm();
this._parent.removeMovieClip();
};
_local6 = _local6 + (_local5._height + 5);
_local4._x = (Stage.width - _local7) / 2;
_local4._y = (Stage.height - _local6) / 2;
_local4.moveTo(0, _local6);
_local4.lineStyle(1, 16119544, 100);
_local4.beginFill(15461616, 100);
_local4.lineTo(0, 0);
_local4.lineTo(_local7, 0);
_local4.lineStyle(1, 12763844, 100);
_local4.lineTo(_local7, _local6);
_local4.lineTo(0, _local6);
_local4.endFill();
};
dataHandler = new LoadVars();
dataHandler.onLoad = function (success) {
messageBox("Thank you!");
};
textFields = ["name_txt", "email_txt", "subject_txt", "email1_txt", "email2_txt", "email3_txt", "link_txt"];
statusStrings = ["Enter your name here", "You should enter your email address here", "This is the subject of your email", "You should enter friend's email address here", "You should enter friend's email address here", "You should enter friend's email address here"];
count = 0;
while (count < (textFields.length - 1)) {
textField_txt = this[textFields[count]];
textField_txt.border = true;
textField_txt.borderColor = 11645361 /* 0xB1B1B1 */;
textField_txt.background = true;
textField_txt.backgroundColor = 13291221 /* 0xCACED5 */;
textField_txt.onSetFocus = setFocusHandler;
textField_txt.onKillFocus = killFocusHandler;
textField_txt.onChanged = changedHandler;
textField_txt.statusText = statusStrings[count];
count++;
}
changedHandler();
stop();
Instance of Symbol 50 MovieClip [FSimpleButton] "submitBtn" in Frame 23
//component parameters
onClipEvent (construct) {
captionText = "Send";
captionColor = 6776681 /* 0x676769 */;
captionDisabledColor = 11645361 /* 0xB1B1B1 */;
clickHandler = "submitForm";
showHand = false;
statusText = "Submit form details to server";
statusVar = "statusText";
}
Instance of Symbol 50 MovieClip [FSimpleButton] "resetBtn" in Frame 23
//component parameters
onClipEvent (construct) {
captionText = "Reset";
captionColor = 6776681 /* 0x676769 */;
captionDisabledColor = 11645361 /* 0xB1B1B1 */;
clickHandler = "resetForm";
showHand = false;
statusText = "Clear the form fields";
statusVar = "statusText";
}
Instance of Symbol 50 MovieClip [FSimpleButton] "cancelBtn" in Frame 23
//component parameters
onClipEvent (construct) {
captionText = "Close";
captionColor = 6776681 /* 0x676769 */;
captionDisabledColor = 11645361 /* 0xB1B1B1 */;
clickHandler = "cancelForm";
showHand = false;
statusText = "Return to Menu";
statusVar = "statusText";
}
Symbol 15 MovieClip [RocketMovie] Frame 16
stop();
Symbol 19 MovieClip [GMovie] Frame 16
stop();
Symbol 23 MovieClip [MGMonstrMovie] Frame 16
stop();
Symbol 27 MovieClip [MGMyMovie] Frame 16
stop();
Symbol 31 MovieClip [RocketExplossion] Frame 17
stop();
Symbol 34 MovieClip [BulletExplosion] Frame 18
stop();
Symbol 50 MovieClip [FSimpleButton] Frame 1
#initclip 1
FSimpleButton = function () {
this.init();
};
FSimpleButton.prototype = new MovieClip();
FSimpleButton.prototype.init = function () {
this.caption_txt.text = this.captionText;
this.caption_txt.textColor = this.captionColor;
this.useHandCursor = this.showHand;
this.tabEnabled = false;
this.onRollOut = this.myRollOut;
this.onRollOver = this.myRollOver;
this.onPress = this.myPress;
this.onRelease = this.myRelease;
this.onDragOut = this.myDragOut;
this.onDragOver = this.myDragOver;
this.onReleaseOutside = this.myReleaseOutside;
};
FSimpleButton.prototype.myRollOut = function () {
this._parent[this.statusVar] = _global.oldStatusText;
};
FSimpleButton.prototype.myRollOver = function () {
_global.oldStatusText = this._parent[this.statusVar];
this._parent[this.statusVar] = this.statusText;
};
FSimpleButton.prototype.myPress = function () {
};
FSimpleButton.prototype.myRelease = function () {
this._parent[this.clickHandler](this);
};
FSimpleButton.prototype.myDragOut = function () {
this.gotoAndStop("_up");
};
FSimpleButton.prototype.myDragOver = function () {
};
FSimpleButton.prototype.myReleaseOutside = function () {
};
FSimpleButton.prototype.disable = function () {
this.caption_txt.textColor = this.captionDisabledColor;
this.gotoAndStop("disabled");
this.enabled = false;
};
FSimpleButton.prototype.enable = function () {
this.enabled = true;
this.gotoAndStop("_up");
this.caption_txt.textColor = this.captionColor;
};
FSimpleButton.prototype.isEnabled = function () {
return(this.enabled);
};
Object.registerClass("FSimpleButton", FSimpleButton);
#endinitclip
stop();
Symbol 58 MovieClip Frame 50
_root.loadplay = true;
stop();
Symbol 70 Button
on (press) {
getURL ("http://www.myplaycity.com", "_blank");
}
Symbol 79 Button
on (release) {
gotoAndPlay ("wait_level");
}
on (rollOver) {
_root.B_Act_Sound.start();
}
Symbol 80 Button
on (release) {
if (_root._currentframe == 4) {
gotoAndStop (5);
} else {
gotoAndStop (4);
}
}
on (rollOver) {
_root.B_Act_Sound.start();
}
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 2
stop();
Symbol 86 MovieClip Frame 3
stop();
Symbol 87 Button
on (press) {
getURL ("http://www.freegamesway.com/road_attack", "_blank");
}
Symbol 90 Button
on (press) {
getURL ("http://www.myplaycity.com/online_games", "_blank");
}
Symbol 92 Button
on (press) {
getURL ("http://www.myplaycity.com/free_content", "_blank");
}
Symbol 102 Button
on (press) {
getURL ("http://www.freegamesway.com/subscribe", "_blank");
}
Symbol 107 Button
on (press) {
getURL ("http://www.freegamesway.com/custom_games/online", "_blank");
}
Symbol 112 Button
on (press) {
gotoAndStop ("download");
}
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
stop();
Symbol 117 Button
on (release) {
if (_root._currentframe > 5) {
_root.prevFrame();
}
}
on (rollOver) {
_root.B_Act_Sound.start();
}
Symbol 118 Button
on (release) {
if (_root._currentframe < 7) {
_root.nextFrame();
}
}
on (rollOver) {
_root.B_Act_Sound.start();
}
Symbol 124 Button
on (release) {
overview.scroll++;
}
Symbol 125 Button
on (release) {
overview.scroll--;
}
Symbol 155 Button
on (release) {
var i = 1;
while (i <= 1000) {
removeMovieClip(_root.getInstanceAtDepth(i));
i++;
}
removeMovieClip(_root.getInstanceAtDepth(1001));
gotoAndStop ("begin");
}
on (rollOver) {
_root.B_Act_Sound.start();
}
Symbol 167 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
stop();
Instance of Symbol 186 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (mouseDown) {
this.gotoAndPlay(2);
}
Instance of Symbol 186 MovieClip in Symbol 194 MovieClip Frame 2
onClipEvent (mouseDown) {
this.gotoAndPlay(2);
}
Symbol 203 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop();