Frame 1
stop();
Stage.showMenu = false;
_root.hitstotal = 0;
_root.namememory = "";
Instance of Symbol 57 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (kip == true) {
_root.blackscreen.toshow = true;
_root.blackscreen._alpha = 100;
_root.gotoAndStop("menu");
}
}
Instance of Symbol 62 MovieClip in Frame 3
onClipEvent (load) {
_x = 300;
_y = 200;
}
Instance of Symbol 59 MovieClip "cursor" in Frame 3
onClipEvent (load) {
_y = 230;
_visible = false;
dink = new Sound();
dink.attachSound("dink");
}
onClipEvent (enterFrame) {
if ((!disabled) == true) {
if ((Key.isDown(40) & (downdown == false)) & (_y < 310)) {
dink.start();
_y = (_y + 40);
}
if ((Key.isDown(38) & (updown == false)) & (_y > 230)) {
dink.start();
_y = (_y - 40);
}
}
if (Key.isDown(40)) {
downdown = true;
} else {
downdown = false;
}
if (Key.isDown(38)) {
updown = true;
} else {
updown = false;
}
}
Instance of Symbol 70 MovieClip in Frame 3
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (playink == false) {
_root.checkpoint = false;
_root.bonusright = false;
_root.hitstotal = 0;
_root.REChits = 0;
_root.bombstock = 5;
_root.laserlevel = 1;
_root.lives = 2;
starting = true;
_root.blackscreen.toshow = true;
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & ((!_root.blackscreen.toshow) == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if ((starting == true) & (_root.blackscreen._alpha >= 100)) {
_root.gotoAndStop("lvlI");
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 70 MovieClip in Frame 3
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & ((!_root.blackscreen.toshow) == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_root.blackscreen.toshow = true;
}
if ((starting == true) & (_root.blackscreen._alpha >= 100)) {
_root.gotoAndStop("tut");
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 70 MovieClip in Frame 3
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & ((!_root.blackscreen.toshow) == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_root.blackscreen.toshow = true;
}
if ((starting == true) & (_root.blackscreen._alpha >= 100)) {
_root.gotoAndStop("relist");
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 77 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (kip == true) {
_root.nextFrame();
}
}
Instance of Symbol 82 MovieClip in Frame 3
onClipEvent (load) {
_visible = false;
_root.blackscreen.toshow = false;
}
Instance of Symbol 84 MovieClip "blackscreen" in Frame 3
onClipEvent (load) {
_visible = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if ((!_root.gamepaused) == true) {
if (toshow == true) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_visible = false;
}
}
}
Instance of Symbol 91 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
} else {
_visible = true;
}
if (Key.isDown(81) & (Qdown == false)) {
_alpha = 100;
nextFrame();
} else if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (Key.isDown(81)) {
Qdown = true;
} else {
Qdown = false;
}
}
Instance of Symbol 96 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
} else {
_visible = true;
}
if (Key.isDown(84) & (Tdown == false)) {
_alpha = 100;
nextFrame();
} else if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (Key.isDown(84)) {
Tdown = true;
} else {
Tdown = false;
}
}
Instance of Symbol 100 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
} else {
_visible = true;
}
if (Key.isDown(82) & (Rdown == false)) {
_alpha = 100;
nextFrame();
} else if (_alpha > 0) {
_alpha = (_alpha - 0.5);
}
if (Key.isDown(82)) {
Rdown = true;
} else {
Rdown = false;
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (kip == true) {
_root.spacepress._visible = true;
}
}
Instance of Symbol 120 MovieClip "spacepress" in Frame 4
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("itemfull");
_visible = false;
}
onClipEvent (enterFrame) {
if (((_visible == true) & Key.isDown(32)) & (spacedown == false)) {
if ((!_root.blackscreen.toshow) == true) {
ding.start();
starter = true;
_root.blackscreen.toshow = true;
}
}
if ((_root.blackscreen._alpha >= 100) & (starter == true)) {
_root.gamepaused = false;
_root.gotoAndStop("score");
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 59 MovieClip in Frame 4
onClipEvent (load) {
_visible = false;
_root.gamepaused = false;
_root.blackscreen.toshow = false;
}
Instance of Symbol 128 MovieClip in Frame 5
onClipEvent (load) {
_visible = false;
_root.gamepaused = false;
_root.blackscreen.toshow = false;
}
Instance of Symbol 162 MovieClip in Frame 5
onClipEvent (load) {
dink = new Sound();
dink.attachSound("dink");
ding = new Sound(this);
ding.attachSound("itemfull");
_x = 300;
_y = 200;
}
onClipEvent (enterFrame) {
if ((Key.isDown(13) & (Edown == false)) & ((!this.screen.toshow) == true)) {
memory = this.named.named;
dink.start();
this.screen.toshow = true;
}
if (this.screen.toshow == true) {
if (Key.isDown(78) & (ndown == false)) {
this.screen.toshow = false;
}
if (Key.isDown(89) & (ydown == false)) {
dink.start();
_root.namememory = this.named.named;
_root.gotoAndStop("relist");
}
}
if (Key.isDown(78)) {
ndown = true;
} else {
ndown = false;
}
if (Key.isDown(89)) {
ydown = true;
} else {
ydown = false;
}
if (Key.isDown(13)) {
Edown = true;
} else {
Edown = false;
}
}
Instance of Symbol 164 MovieClip in Frame 6
onClipEvent (load) {
_visible = false;
_root.gamepaused = false;
_root.blackscreen.toshow = false;
}
Instance of Symbol 166 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(32) & (spacedown == false)) {
_root.blackscreen.toshow = true;
starter = true;
}
if ((starter == true) & (_root.blackscreen._alpha >= 100)) {
_root.gotoAndStop("menu");
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 202 MovieClip "scoretable" in Frame 6
onClipEvent (load) {
_root.pos = SharedObject.getLocal("vulpadata");
if ((!_root.pos.data.creation) == true) {
name1 = "Impossible";
name2 = "SkyFox";
name3 = "Decke";
name4 = "TheX";
name5 = "Kuckles";
name6 = "Dododa";
name7 = "Oenemeloen";
name8 = "BlackRaven";
name9 = "Daido";
name10 = "SuperNoob";
score1 = 822;
score2 = 779;
score3 = 668;
score4 = 429;
score5 = 411;
score6 = 389;
score7 = 234;
score8 = 116;
score9 = 20;
score10 = 0;
_root.pos.data.creation = true;
} else {
name1 = _root.pos.data.name1;
name2 = _root.pos.data.name2;
name3 = _root.pos.data.name3;
name4 = _root.pos.data.name4;
name5 = _root.pos.data.name5;
name6 = _root.pos.data.name6;
name7 = _root.pos.data.name7;
name8 = _root.pos.data.name8;
name9 = _root.pos.data.name9;
name10 = _root.pos.data.name10;
score1 = _root.pos.data.score1;
score2 = _root.pos.data.score2;
score3 = _root.pos.data.score3;
score4 = _root.pos.data.score4;
score5 = _root.pos.data.score5;
score6 = _root.pos.data.score6;
score7 = _root.pos.data.score7;
score8 = _root.pos.data.score8;
score9 = _root.pos.data.score9;
score10 = _root.pos.data.score10;
}
if (_root.hitstotal > score1) {
name10 = name9;
score10 = score9;
name9 = name8;
score9 = score8;
name8 = name7;
score8 = score7;
name7 = name6;
score7 = score6;
name6 = name5;
score6 = score5;
name5 = name4;
score5 = score4;
name4 = name3;
score4 = score3;
name3 = name2;
score3 = score2;
name2 = name1;
score2 = score1;
name1 = _root.namememory;
score1 = _root.hitstotal;
_root.namememory = "";
_root.hitstotal = 0;
} else if (_root.hitstotal > score2) {
name10 = name9;
score10 = score9;
name9 = name8;
score9 = score8;
name8 = name7;
score8 = score7;
name7 = name6;
score7 = score6;
name6 = name5;
score6 = score5;
name5 = name4;
score5 = score4;
name4 = name3;
score4 = score3;
name3 = name2;
score3 = score2;
name2 = _root.namememory;
score2 = _root.hitstotal;
_root.namememory = "";
_root.hitstotal = 0;
} else if (_root.hitstotal > score3) {
name10 = name9;
score10 = score9;
name9 = name8;
score9 = score8;
name8 = name7;
score8 = score7;
name7 = name6;
score7 = score6;
name6 = name5;
score6 = score5;
name5 = name4;
score5 = score4;
name4 = name3;
score4 = score3;
name3 = _root.namememory;
score3 = _root.hitstotal;
_root.namememory = "";
_root.hitstotal = 0;
} else if (_root.hitstotal > score4) {
name10 = name9;
score10 = score9;
name9 = name8;
score9 = score8;
name8 = name7;
score8 = score7;
name7 = name6;
score7 = score6;
name6 = name5;
score6 = score5;
name5 = name4;
score5 = score4;
name4 = _root.namememory;
score4 = _root.hitstotal;
_root.namememory = "";
_root.hitstotal = 0;
} else if (_root.hitstotal > score5) {
name10 = name9;
score10 = score9;
name9 = name8;
score9 = score8;
name8 = name7;
score8 = score7;
name7 = name6;
score7 = score6;
name6 = name5;
score6 = score5;
name5 = _root.namememory;
score5 = _root.hitstotal;
_root.namememory = "";
_root.hitstotal = 0;
} else if (_root.hitstotal > score6) {
name10 = name9;
score10 = score9;
name9 = name8;
score9 = score8;
name8 = name7;
score8 = score7;
name7 = name6;
score7 = score6;
name6 = _root.namememory;
score6 = _root.hitstotal;
_root.namememory = "";
_root.hitstotal = 0;
} else if (_root.hitstotal > score7) {
name10 = name9;
score10 = score9;
name9 = name8;
score9 = score8;
name8 = name7;
score8 = score7;
name7 = _root.namememory;
score7 = _root.hitstotal;
_root.namememory = "";
_root.hitstotal = 0;
} else if (_root.hitstotal > score8) {
name10 = name9;
score10 = score9;
name9 = name8;
score9 = score8;
name8 = _root.namememory;
score8 = _root.hitstotal;
_root.namememory = "";
_root.hitstotal = 0;
} else if (_root.hitstotal > score9) {
name10 = name9;
score10 = score9;
name9 = _root.namememory;
score9 = _root.hitstotal;
_root.namememory = "";
_root.hitstotal = 0;
} else if (_root.hitstotal > score10) {
name10 = _root.namememory;
score10 = _root.hitstotal;
_root.namememory = "";
_root.hitstotal = 0;
}
}
onClipEvent (enterFrame) {
_root.pos.data.name1 = name1;
_root.pos.data.name2 = name2;
_root.pos.data.name3 = name3;
_root.pos.data.name4 = name4;
_root.pos.data.name5 = name5;
_root.pos.data.name6 = name6;
_root.pos.data.name7 = name7;
_root.pos.data.name8 = name8;
_root.pos.data.name9 = name9;
_root.pos.data.name10 = name10;
_root.pos.data.score1 = score1;
_root.pos.data.score2 = score2;
_root.pos.data.score3 = score3;
_root.pos.data.score4 = score4;
_root.pos.data.score5 = score5;
_root.pos.data.score6 = score6;
_root.pos.data.score7 = score7;
_root.pos.data.score8 = score8;
_root.pos.data.score9 = score9;
_root.pos.data.score10 = score10;
}
Instance of Symbol 213 MovieClip in Frame 7
onClipEvent (load) {
_visible = false;
_root.gamepaused = false;
_root.blackscreen.toshow = false;
}
Frame 11
stop();
Instance of Symbol 256 MovieClip "spacepress" in Frame 11
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("itemfull");
}
onClipEvent (enterFrame) {
if (((_visible == true) & Key.isDown(32)) & (spacedown == false)) {
if ((!_root.blackscreen.toshow) == true) {
ding.start();
starter = true;
_root.blackscreen.toshow = true;
}
}
if ((_root.blackscreen._alpha >= 100) & (starter == true)) {
_root.gamepaused = false;
_root.nextFrame();
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 260 MovieClip in Frame 11
onClipEvent (load) {
_visible = false;
_root.gamepaused = false;
_root.blackscreen.toshow = false;
}
Instance of Symbol 1106 MovieClip "game" in Frame 12
onClipEvent (load) {
music = new Sound(this.lvl);
music.attachSound("training");
playtime = 0;
_x = 300;
_y = 200;
}
onClipEvent (enterFrame) {
music.setVolume(vol);
if (((this.lvl.Zpassed >= 10000) & (this.lvl.Zpassed < 11000)) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((_root.blackscreen.toshow == true) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((((this.lvl.Zpassed >= 11000) & ((!this.lvl.finished) == true)) & ((!this.lvl.endit) == true)) & ((!_root.gamepaused) == true)) {
if ((!musicboss) == true) {
music.stop();
music.attachSound("boss");
music.position = 0;
playtime = 0;
music.start(playtime);
vol = 100;
musicboss = true;
}
} else if (((this.lvl.endit == true) & ((!this.lvl.finished) == true)) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((this.lvl.finished == true) & ((!_root.gamepaused) == true)) {
if ((!musicend) == true) {
music.stop();
music.attachSound("winlvl");
music.position = 0;
playtime = 0;
music.start(playtime);
vol = 100;
musicend = true;
}
}
if (music.position >= music.duration) {
playtime = 0;
playingmusic = false;
music.stop();
music.position = 0;
} else {
playtime = music.position / 1000;
}
if ((_root.gamepaused == true) | (this.player.dead == true)) {
music.stop();
playingmusic = false;
} else if ((!playingmusic) == true) {
music.start(playtime);
playingmusic = true;
}
}
Instance of Symbol 1110 MovieClip in Frame 12
onClipEvent (load) {
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
this.gotoAndStop(Math.ceil(_parent.game.player.enginepower / 2) + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1124 MovieClip in Frame 12
onClipEvent (load) {
gotoAndStop(_parent.game.player.bombstock + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.game.player.bombstock + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1128 MovieClip in Frame 12
onClipEvent (load) {
shield = 101;
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (shield < (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield + 1;
}
if (shield > (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield - 1;
}
this.gotoAndStop(shield);
}
Instance of Symbol 1132 MovieClip in Frame 12
onClipEvent (load) {
_visible = false;
hp = 100;
this.gotoAndStop(hp + 1);
_yscale = 0;
}
onClipEvent (enterFrame) {
if ((!_root.gamepaused) == true) {
if ((_root.game.boss.respons == true) & ((!_root.game.boss.dead) == true)) {
if (_yscale < 100) {
_yscale = (_yscale + 1);
}
_visible = true;
} else if (_yscale > 0) {
_yscale = (_yscale - 10);
} else {
_visible = false;
}
}
health = (100 * ((((_root.game.boss.hp + _root.game.panel1.hp) + _root.game.panel2.hp) + _root.game.panel3.hp) + _root.game.panel4.hp)) / ((4 * _root.game.panel3.hpmax) + _root.game.boss.hpmax);
if (hp < health) {
hp = hp + 1;
}
if (hp > health) {
hp = hp - 1;
}
this.gotoAndStop(hp + 1);
}
Instance of Symbol 1138 MovieClip "scorebord" in Frame 12
onClipEvent (load) {
_visible = false;
_alpha = 0;
_x = 160;
_y = 80;
}
onClipEvent (enterFrame) {
if ((_root.game.lvl.finished == true) & ((!hideaway) == true)) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
Instance of Symbol 1143 MovieClip in Frame 12
onClipEvent (load) {
if (_root.checkpoint == true) {
_root.hits = _root.REChits;
} else {
_root.hits = 0;
}
hits = _root.hits + 1;
gotoAndStop(_root.hits + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 160) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
} else {
if (_root.hits >= 50) {
_root.extraship = true;
}
_root.hitstotal = _root.hitstotal + _root.hits;
_root.hits = 0;
}
}
if (hits > (_root.hits + 1)) {
hits = hits - 1;
}
if (hits < (_root.hits + 1)) {
hits = hits + 1;
}
gotoAndStop(hits);
}
Instance of Symbol 1156 MovieClip in Frame 12
onClipEvent (load) {
gotoAndStop(_root.lives + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 360) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
}
}
gotoAndStop(_root.lives + 1);
}
Instance of Symbol 1158 MovieClip in Frame 12
onClipEvent (load) {
_alpha = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
}
Instance of Symbol 1161 MovieClip "bonus" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (uplaying == true) {
play();
} else {
_visible = false;
}
if ((_parent.game.lvl.points >= 10) | (playmay == true)) {
_visible = true;
_root.hits = _root.hits + 10;
play();
uplaying = true;
playmay = false;
_parent.game.lvl.points = 0;
}
}
Instance of Symbol 1163 MovieClip "pauseL" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.gamepaused == true) & ((!forbidden) == true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1166 MovieClip "bonusB" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (uplaying == true) {
play();
} else {
_visible = false;
}
if (playmay == true) {
_visible = true;
_root.hits = _root.hits + 5;
play();
uplaying = true;
playmay = false;
}
}
Instance of Symbol 1182 MovieClip "thebot" in Frame 12
onClipEvent (load) {
listen = new Sound(this);
listen.attachSound("listen");
_x = 0;
_y = 300;
_visible = false;
}
onClipEvent (enterFrame) {
if ((_visible == true) & ((!cohelp) == true)) {
listen.start();
cohelp = true;
}
if (_root.thebottalk == true) {
} else {
_visible = false;
}
if (_visible == false) {
cohelp = false;
}
}
Frame 13
prevFrame();
Frame 18
stop();
Instance of Symbol 1214 MovieClip "game" in Frame 18
onClipEvent (load) {
music = new Sound(this.lvl);
music.attachSound("bonuslvl");
playtime = 0;
_x = 300;
_y = 200;
}
onClipEvent (enterFrame) {
music.setVolume(vol);
if (((this.lvl.endit == true) & ((!this.lvl.finished) == true)) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((this.lvl.finished == true) & ((!_root.gamepaused) == true)) {
if ((!musicend) == true) {
music.stop();
music.attachSound("winlvl");
music.position = 0;
playtime = 0;
music.start(playtime);
vol = 100;
musicend = true;
}
}
if (music.position >= music.duration) {
playtime = 0;
playingmusic = false;
music.stop();
music.position = 0;
} else {
playtime = music.position / 1000;
}
if ((_root.gamepaused == true) | (this.player.dead == true)) {
music.stop();
playingmusic = false;
} else if ((!playingmusic) == true) {
music.start(playtime);
playingmusic = true;
}
}
Instance of Symbol 1110 MovieClip in Frame 18
onClipEvent (load) {
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
this.gotoAndStop(Math.ceil(_parent.game.player.enginepower / 2) + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1124 MovieClip in Frame 18
onClipEvent (load) {
gotoAndStop(_parent.game.player.bombstock + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.game.player.bombstock + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1128 MovieClip in Frame 18
onClipEvent (load) {
shield = 101;
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (shield < (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield + 1;
}
if (shield > (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield - 1;
}
this.gotoAndStop(shield);
}
Instance of Symbol 1138 MovieClip "scorebord" in Frame 18
onClipEvent (load) {
_visible = false;
_alpha = 0;
_x = 160;
_y = 80;
}
onClipEvent (enterFrame) {
if ((_root.game.lvl.finished == true) & ((!hideaway) == true)) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
Instance of Symbol 1143 MovieClip in Frame 18
onClipEvent (load) {
if (_root.checkpoint == true) {
_root.hits = _root.REChits;
} else {
_root.hits = 0;
}
hits = _root.hits + 1;
gotoAndStop(_root.hits + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 160) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
} else {
if (_root.hits >= 50) {
_root.extraship = true;
}
if ((_root.hits == 0) & ((!doit) == true)) {
_parent.scorebord.noscore = true;
}
doit = true;
_root.hitstotal = _root.hitstotal + _root.hits;
_root.hits = 0;
}
}
if (hits > (_root.hits + 1)) {
hits = hits - 1;
}
if (hits < (_root.hits + 1)) {
hits = hits + 1;
}
gotoAndStop(hits);
}
Instance of Symbol 1156 MovieClip in Frame 18
onClipEvent (load) {
gotoAndStop(_root.lives + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 360) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
}
}
gotoAndStop(_root.lives + 1);
}
Instance of Symbol 1216 MovieClip in Frame 18
onClipEvent (load) {
_alpha = 100;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.game.lvl.Zpassed > -10) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1163 MovieClip "pauseL" in Frame 18
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.gamepaused == true) & ((!forbidden) == true)) {
_visible = true;
} else {
_visible = false;
}
}
Frame 19
prevFrame();
Frame 23
stop();
Instance of Symbol 256 MovieClip "spacepress" in Frame 23
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("itemfull");
}
onClipEvent (enterFrame) {
if (((_visible == true) & Key.isDown(32)) & (spacedown == false)) {
if ((!_root.blackscreen.toshow) == true) {
ding.start();
starter = true;
_root.blackscreen.toshow = true;
}
}
if ((_root.blackscreen._alpha >= 100) & (starter == true)) {
_root.gamepaused = false;
_root.nextFrame();
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 260 MovieClip in Frame 23
onClipEvent (load) {
_visible = false;
_root.gamepaused = false;
_root.blackscreen.toshow = false;
}
Frame 24
stop();
Instance of Symbol 1403 MovieClip "game" in Frame 24
onClipEvent (load) {
music = new Sound(this.lvl);
music.attachSound("underwater");
playtime = 0;
_x = 300;
_y = 200;
}
onClipEvent (enterFrame) {
music.setVolume(vol);
if (((this.lvl.Zpassed >= 11000) & (this.lvl.Zpassed < 12000)) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((_root.blackscreen.toshow == true) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((((this.lvl.Zpassed >= 12000) & ((!this.lvl.finished) == true)) & ((!this.lvl.endit) == true)) & ((!_root.gamepaused) == true)) {
if ((!musicboss) == true) {
music.stop();
music.attachSound("boss");
music.position = 0;
playtime = 0;
music.start(playtime);
vol = 100;
musicboss = true;
}
} else if (((this.lvl.endit == true) & ((!this.lvl.finished) == true)) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((this.lvl.finished == true) & ((!_root.gamepaused) == true)) {
if ((!musicend) == true) {
music.stop();
music.attachSound("winlvl");
music.position = 0;
playtime = 0;
music.start(playtime);
vol = 100;
musicend = true;
}
}
if (music.position >= music.duration) {
playtime = 0;
playingmusic = false;
music.stop();
music.position = 0;
} else {
playtime = music.position / 1000;
}
if ((_root.gamepaused == true) | (this.player.dead == true)) {
music.stop();
playingmusic = false;
} else if ((!playingmusic) == true) {
music.start(playtime);
playingmusic = true;
}
}
Instance of Symbol 1110 MovieClip in Frame 24
onClipEvent (load) {
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
this.gotoAndStop(Math.ceil(_parent.game.player.enginepower / 2) + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1124 MovieClip in Frame 24
onClipEvent (load) {
gotoAndStop(_parent.game.player.bombstock + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.game.player.bombstock + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1128 MovieClip in Frame 24
onClipEvent (load) {
shield = 101;
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (shield < (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield + 1;
}
if (shield > (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield - 1;
}
this.gotoAndStop(shield);
}
Instance of Symbol 1132 MovieClip in Frame 24
onClipEvent (load) {
_visible = false;
hp = 100;
this.gotoAndStop(hp + 1);
_yscale = 0;
}
onClipEvent (enterFrame) {
if ((!_root.gamepaused) == true) {
if ((_root.game.boss.respons == true) & ((!_root.game.boss.dead) == true)) {
if (_yscale < 100) {
_yscale = (_yscale + 1);
}
_visible = true;
} else if (_yscale > 0) {
_yscale = (_yscale - 10);
} else {
_visible = false;
}
}
health = 100 * (((((_root.game.boss.hp + _root.game.boss.sub.wheelA.hp) + _root.game.boss.sub.wheelB.hp) + _root.game.boss.sub.wheelC.hp) + _root.game.boss.sub.wheelD.hp) / (12 + _root.game.boss.hpmax));
if (hp < health) {
hp = hp + 1;
}
if (hp > health) {
hp = hp - 1;
}
this.gotoAndStop(hp + 1);
}
Instance of Symbol 1138 MovieClip "scorebord" in Frame 24
onClipEvent (load) {
_visible = false;
_alpha = 0;
_x = 160;
_y = 80;
}
onClipEvent (enterFrame) {
if ((_root.game.lvl.finished == true) & ((!hideaway) == true)) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
Instance of Symbol 1143 MovieClip in Frame 24
onClipEvent (load) {
if (_root.checkpoint == true) {
_root.hits = _root.REChits;
} else {
_root.hits = 0;
}
hits = _root.hits + 1;
gotoAndStop(_root.hits + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 160) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
} else {
if (_root.hits >= 50) {
_root.extraship = true;
}
_root.hitstotal = _root.hitstotal + _root.hits;
_root.hits = 0;
}
}
if (hits > (_root.hits + 1)) {
hits = hits - 1;
}
if (hits < (_root.hits + 1)) {
hits = hits + 1;
}
gotoAndStop(hits);
}
Instance of Symbol 1156 MovieClip in Frame 24
onClipEvent (load) {
gotoAndStop(_root.lives + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 360) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
}
}
gotoAndStop(_root.lives + 1);
}
Instance of Symbol 1405 MovieClip in Frame 24
onClipEvent (load) {
_alpha = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
}
Instance of Symbol 1161 MovieClip "bonus" in Frame 24
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (uplaying == true) {
play();
} else {
_visible = false;
}
if ((_parent.game.lvl.points >= 10) | (playmay == true)) {
_visible = true;
_root.hits = _root.hits + 10;
play();
uplaying = true;
playmay = false;
_parent.game.lvl.points = 0;
}
}
Instance of Symbol 1163 MovieClip "pauseL" in Frame 24
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.gamepaused == true) & ((!forbidden) == true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1166 MovieClip "bonusB" in Frame 24
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (uplaying == true) {
play();
} else {
_visible = false;
}
if (playmay == true) {
_visible = true;
_root.hits = _root.hits + 5;
play();
uplaying = true;
playmay = false;
}
}
Instance of Symbol 1182 MovieClip "thebot" in Frame 24
onClipEvent (load) {
listen = new Sound(this);
listen.attachSound("listen");
_x = 0;
_y = 300;
_visible = false;
}
onClipEvent (enterFrame) {
if ((_visible == true) & ((!cohelp) == true)) {
listen.start();
cohelp = true;
}
if (_root.thebottalk == true) {
} else {
_visible = false;
}
if (_visible == false) {
cohelp = false;
}
}
Frame 25
prevFrame();
Frame 30
stop();
Instance of Symbol 1441 MovieClip "game" in Frame 30
onClipEvent (load) {
music = new Sound(this.lvl);
music.attachSound("bonuslvl");
playtime = 0;
_x = 300;
_y = 200;
}
onClipEvent (enterFrame) {
music.setVolume(vol);
if (((this.lvl.endit == true) & ((!this.lvl.finished) == true)) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((this.lvl.finished == true) & ((!_root.gamepaused) == true)) {
if ((!musicend) == true) {
music.stop();
music.attachSound("winlvl");
music.position = 0;
playtime = 0;
music.start(playtime);
vol = 100;
musicend = true;
}
}
if (music.position >= music.duration) {
playtime = 0;
playingmusic = false;
music.stop();
music.position = 0;
} else {
playtime = music.position / 1000;
}
if ((_root.gamepaused == true) | (this.player.dead == true)) {
music.stop();
playingmusic = false;
} else if ((!playingmusic) == true) {
music.start(playtime);
playingmusic = true;
}
}
Instance of Symbol 1110 MovieClip in Frame 30
onClipEvent (load) {
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
this.gotoAndStop(Math.ceil(_parent.game.player.enginepower / 2) + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1124 MovieClip in Frame 30
onClipEvent (load) {
gotoAndStop(_parent.game.player.bombstock + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.game.player.bombstock + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1128 MovieClip in Frame 30
onClipEvent (load) {
shield = 101;
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (shield < (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield + 1;
}
if (shield > (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield - 1;
}
this.gotoAndStop(shield);
}
Instance of Symbol 1138 MovieClip "scorebord" in Frame 30
onClipEvent (load) {
_visible = false;
_alpha = 0;
_x = 160;
_y = 80;
}
onClipEvent (enterFrame) {
if ((_root.game.lvl.finished == true) & ((!hideaway) == true)) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
Instance of Symbol 1143 MovieClip in Frame 30
onClipEvent (load) {
if (_root.checkpoint == true) {
_root.hits = _root.REChits;
} else {
_root.hits = 0;
}
hits = _root.hits + 1;
gotoAndStop(_root.hits + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 160) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
} else {
if (_root.hits >= 50) {
_root.extraship = true;
}
if ((_root.hits == 0) & ((!doit) == true)) {
_parent.scorebord.noscore = true;
}
doit = true;
_root.hitstotal = _root.hitstotal + _root.hits;
_root.hits = 0;
}
}
if (hits > (_root.hits + 1)) {
hits = hits - 1;
}
if (hits < (_root.hits + 1)) {
hits = hits + 1;
}
gotoAndStop(hits);
}
Instance of Symbol 1156 MovieClip in Frame 30
onClipEvent (load) {
gotoAndStop(_root.lives + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 360) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
}
}
gotoAndStop(_root.lives + 1);
}
Instance of Symbol 1443 MovieClip in Frame 30
onClipEvent (load) {
_alpha = 100;
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.game.lvl.Zpassed > -10) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1456 MovieClip "timer" in Frame 30
onClipEvent (load) {
t = 60;
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
this.gotoAndStop(Math.floor(t) + 1);
if (((!_root.gamepaused) == true) & ((!_root.game.player.disabled) == true)) {
t = t - 0.0166666666666667;
}
}
Instance of Symbol 1163 MovieClip "pauseL" in Frame 30
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.gamepaused == true) & ((!forbidden) == true)) {
_visible = true;
} else {
_visible = false;
}
}
Frame 31
prevFrame();
Frame 35
stop();
Instance of Symbol 256 MovieClip "spacepress" in Frame 35
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("itemfull");
}
onClipEvent (enterFrame) {
if (((_visible == true) & Key.isDown(32)) & (spacedown == false)) {
if ((!_root.blackscreen.toshow) == true) {
ding.start();
starter = true;
_root.blackscreen.toshow = true;
}
}
if ((_root.blackscreen._alpha >= 100) & (starter == true)) {
_root.gamepaused = false;
_root.nextFrame();
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 260 MovieClip in Frame 35
onClipEvent (load) {
_visible = false;
_root.gamepaused = false;
_root.blackscreen.toshow = false;
}
Frame 36
stop();
Instance of Symbol 1524 MovieClip "game" in Frame 36
onClipEvent (load) {
music = new Sound(this.lvl);
music.attachSound("training");
playtime = 0;
_x = 300;
_y = 200;
}
onClipEvent (enterFrame) {
music.setVolume(vol);
if (((this.lvl.Zpassed >= 8500) & (this.lvl.Zpassed < 9500)) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((_root.blackscreen.toshow == true) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((((this.lvl.Zpassed >= 9500) & ((!this.lvl.finished) == true)) & ((!this.lvl.endit) == true)) & ((!_root.gamepaused) == true)) {
if ((!musicboss) == true) {
music.stop();
music.attachSound("boss");
music.position = 0;
playtime = 0;
music.start(playtime);
vol = 100;
musicboss = true;
}
} else if (((this.lvl.endit == true) & ((!this.lvl.finished) == true)) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((this.lvl.finished == true) & ((!_root.gamepaused) == true)) {
if ((!musicend) == true) {
music.stop();
music.attachSound("winlvl");
music.position = 0;
playtime = 0;
music.start(playtime);
vol = 100;
musicend = true;
}
}
if (music.position >= music.duration) {
playtime = 0;
playingmusic = false;
music.stop();
music.position = 0;
} else {
playtime = music.position / 1000;
}
if ((_root.gamepaused == true) | (this.player.dead == true)) {
music.stop();
playingmusic = false;
} else if ((!playingmusic) == true) {
music.start(playtime);
playingmusic = true;
}
}
Instance of Symbol 1110 MovieClip in Frame 36
onClipEvent (load) {
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
this.gotoAndStop(Math.ceil(_parent.game.player.enginepower / 2) + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1124 MovieClip in Frame 36
onClipEvent (load) {
gotoAndStop(_parent.game.player.bombstock + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.game.player.bombstock + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1128 MovieClip in Frame 36
onClipEvent (load) {
shield = 101;
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (shield < (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield + 1;
}
if (shield > (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield - 1;
}
this.gotoAndStop(shield);
}
Instance of Symbol 1132 MovieClip in Frame 36
onClipEvent (load) {
_visible = false;
hp = 100;
this.gotoAndStop(hp + 1);
_yscale = 0;
}
onClipEvent (enterFrame) {
if ((!_root.gamepaused) == true) {
if ((_root.game.boss.respons == true) & ((!_root.game.boss.dead) == true)) {
if (_yscale < 100) {
_yscale = (_yscale + 1);
}
_visible = true;
} else if (_yscale > 0) {
_yscale = (_yscale - 10);
} else {
_visible = false;
}
}
health = (100 * _root.game.boss.hp) / _root.game.boss.hpmax;
if (hp < health) {
hp = hp + 1;
}
if (hp > health) {
hp = hp - 1;
}
this.gotoAndStop(hp + 1);
}
Instance of Symbol 1138 MovieClip "scorebord" in Frame 36
onClipEvent (load) {
_visible = false;
_alpha = 0;
_x = 160;
_y = 80;
}
onClipEvent (enterFrame) {
if ((_root.game.lvl.finished == true) & ((!hideaway) == true)) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
Instance of Symbol 1143 MovieClip in Frame 36
onClipEvent (load) {
if (_root.checkpoint == true) {
_root.hits = _root.REChits;
} else {
_root.hits = 0;
}
hits = _root.hits + 1;
gotoAndStop(_root.hits + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 160) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
} else {
if (_root.hits >= 50) {
_root.extraship = true;
}
_root.hitstotal = _root.hitstotal + _root.hits;
_root.hits = 0;
}
}
if (hits > (_root.hits + 1)) {
hits = hits - 1;
}
if (hits < (_root.hits + 1)) {
hits = hits + 1;
}
gotoAndStop(hits);
}
Instance of Symbol 1156 MovieClip in Frame 36
onClipEvent (load) {
gotoAndStop(_root.lives + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 360) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
}
}
gotoAndStop(_root.lives + 1);
}
Instance of Symbol 1526 MovieClip in Frame 36
onClipEvent (load) {
_alpha = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
}
Instance of Symbol 1161 MovieClip "bonus" in Frame 36
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (uplaying == true) {
play();
} else {
_visible = false;
}
if ((_parent.game.lvl.points >= 10) | (playmay == true)) {
_visible = true;
_root.hits = _root.hits + 10;
play();
uplaying = true;
playmay = false;
_parent.game.lvl.points = 0;
}
}
Instance of Symbol 1163 MovieClip "pauseL" in Frame 36
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.gamepaused == true) & ((!forbidden) == true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1166 MovieClip "bonusB" in Frame 36
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (uplaying == true) {
play();
} else {
_visible = false;
}
if (playmay == true) {
_visible = true;
_root.hits = _root.hits + 5;
play();
uplaying = true;
playmay = false;
}
}
Instance of Symbol 1182 MovieClip "thebot" in Frame 36
onClipEvent (load) {
listen = new Sound(this);
listen.attachSound("listen");
_x = 0;
_y = 300;
_visible = false;
}
onClipEvent (enterFrame) {
if ((_visible == true) & ((!cohelp) == true)) {
listen.start();
cohelp = true;
}
if (_root.thebottalk == true) {
} else {
_visible = false;
}
if (_visible == false) {
cohelp = false;
}
}
Frame 37
prevFrame();
Frame 41
stop();
Instance of Symbol 256 MovieClip "spacepress" in Frame 41
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("itemfull");
}
onClipEvent (enterFrame) {
if (((_visible == true) & Key.isDown(32)) & (spacedown == false)) {
if ((!_root.blackscreen.toshow) == true) {
ding.start();
starter = true;
_root.blackscreen.toshow = true;
}
}
if ((_root.blackscreen._alpha >= 100) & (starter == true)) {
_root.gamepaused = false;
_root.nextFrame();
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 260 MovieClip in Frame 41
onClipEvent (load) {
_visible = false;
_root.gamepaused = false;
_root.blackscreen.toshow = false;
}
Frame 42
stop();
Instance of Symbol 1588 MovieClip "game" in Frame 42
onClipEvent (load) {
music = new Sound(this.lvl);
vol = 0;
playtime = 0;
_x = 300;
_y = 200;
}
onClipEvent (enterFrame) {
music.setVolume(vol);
if ((this.lvl.Zpassed < 700) & ((!_root.gamepaused) == true)) {
vol = 0;
} else if ((_root.blackscreen.toshow == true) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((((this.lvl.Zpassed >= 700) & ((!this.lvl.finished) == true)) & ((!this.lvl.endit) == true)) & ((!_root.gamepaused) == true)) {
if ((!musicboss) == true) {
music.stop();
music.attachSound("sadness");
music.position = 0;
playtime = 0;
music.start(playtime);
vol = 100;
musicboss = true;
}
} else if (((this.lvl.endit == true) & ((!this.lvl.finished) == true)) & ((!_root.gamepaused) == true)) {
if (vol > 0) {
vol = vol - 2;
}
} else if ((this.lvl.finished == true) & ((!_root.gamepaused) == true)) {
if ((!musicend) == true) {
music.stop();
music.attachSound("winlvl");
music.position = 0;
playtime = 0;
music.start(playtime);
vol = 100;
musicend = true;
}
}
if (music.position >= music.duration) {
playtime = 0;
playingmusic = false;
music.stop();
music.position = 0;
} else {
playtime = music.position / 1000;
}
if ((_root.gamepaused == true) | (this.player.dead == true)) {
music.stop();
playingmusic = false;
} else if ((!playingmusic) == true) {
music.start(playtime);
playingmusic = true;
}
}
Instance of Symbol 1110 MovieClip in Frame 42
onClipEvent (load) {
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
this.gotoAndStop(Math.ceil(_parent.game.player.enginepower / 2) + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1124 MovieClip in Frame 42
onClipEvent (load) {
gotoAndStop(_parent.game.player.bombstock + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.game.player.bombstock + 1);
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
}
Instance of Symbol 1128 MovieClip in Frame 42
onClipEvent (load) {
shield = 101;
this.gotoAndStop(101);
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (shield < (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield + 1;
}
if (shield > (Math.ceil(_parent.game.player.shield) + 1)) {
shield = shield - 1;
}
this.gotoAndStop(shield);
}
Instance of Symbol 1132 MovieClip in Frame 42
onClipEvent (load) {
_visible = false;
hp = 100;
this.gotoAndStop(hp + 1);
_yscale = 0;
}
onClipEvent (enterFrame) {
if ((!_root.gamepaused) == true) {
if ((_root.game.boss.respons == true) & ((!_root.game.boss.dead) == true)) {
if (_yscale < 100) {
_yscale = (_yscale + 1);
}
_visible = true;
} else if (_yscale > 0) {
_yscale = (_yscale - 10);
} else {
_visible = false;
}
}
health = (100 * ((_root.game.boss.hp + _root.game.Lhand.hp) + _root.game.Rhand.hp)) / ((_root.game.boss.hpmax + _root.game.Lhand.hpmax) + _root.game.Rhand.hpmax);
if (hp < health) {
hp = hp + 1;
}
if (hp > health) {
hp = hp - 1;
}
this.gotoAndStop(hp + 1);
}
Instance of Symbol 1611 MovieClip "scorebord" in Frame 42
onClipEvent (load) {
_visible = false;
_alpha = 0;
_x = 160;
_y = 80;
}
onClipEvent (enterFrame) {
if ((_root.game.lvl.finished == true) & ((!hideaway) == true)) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
Instance of Symbol 1143 MovieClip in Frame 42
onClipEvent (load) {
if (_root.checkpoint == true) {
_root.hits = _root.REChits;
} else {
_root.hits = 0;
}
hits = _root.hits + 1;
gotoAndStop(_root.hits + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_x < 160) {
_x = (_x + 1);
}
if (_y < 230) {
_y = (_y + 1);
} else {
if (_root.hits >= 50) {
_root.extraship = true;
}
_root.hitstotal = _root.hitstotal + (_root.hits * (_root.lives + 1));
_root.hits = 0;
}
}
if (hits > (_root.hits + 1)) {
hits = hits - 1;
}
if (hits < (_root.hits + 1)) {
hits = hits + 1;
}
gotoAndStop(hits);
}
Instance of Symbol 1156 MovieClip in Frame 42
onClipEvent (load) {
gotoAndStop(_root.lives + 1);
}
onClipEvent (enterFrame) {
if (_parent.scorebord.hideaway == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
if (_root.game.lvl.finished == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_visible = false;
}
}
gotoAndStop(_root.lives + 1);
}
Instance of Symbol 1613 MovieClip in Frame 42
onClipEvent (load) {
_alpha = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.game.lvl.finished == true) {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
}
Instance of Symbol 1161 MovieClip "bonus" in Frame 42
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (uplaying == true) {
play();
} else {
_visible = false;
}
if ((_parent.game.lvl.points >= 10) | (playmay == true)) {
_visible = true;
_root.hits = _root.hits + 10;
play();
uplaying = true;
playmay = false;
_parent.game.lvl.points = 0;
}
}
Instance of Symbol 1163 MovieClip "pauseL" in Frame 42
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.gamepaused == true) & ((!forbidden) == true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1166 MovieClip "bonusB" in Frame 42
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (uplaying == true) {
play();
} else {
_visible = false;
}
if (playmay == true) {
_visible = true;
_root.hits = _root.hits + 5;
play();
uplaying = true;
playmay = false;
}
}
Instance of Symbol 1182 MovieClip "thebot" in Frame 42
onClipEvent (load) {
listen = new Sound(this);
listen.attachSound("listen");
_x = 0;
_y = 300;
_visible = false;
}
onClipEvent (enterFrame) {
if ((_visible == true) & ((!cohelp) == true)) {
listen.start();
cohelp = true;
}
if (_root.thebottalk == true) {
} else {
_visible = false;
}
if (_visible == false) {
cohelp = false;
}
}
Frame 43
prevFrame();
Symbol 48 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
setProperty(snail, _x , (PercentLoaded * 4.2) - 250);
} else {
_root.nextFrame();
}
Symbol 48 MovieClip Frame 2
gotoAndPlay (1);
Symbol 57 MovieClip Frame 215
kip = true;
stop();
Symbol 62 MovieClip Frame 1
stop();
Instance of Symbol 59 MovieClip in Symbol 62 MovieClip Frame 1
onClipEvent (load) {
Xcorr = 0;
Ycorr = 0;
Ver = 0;
i = 0;
_visible = false;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
}
onClipEvent (enterFrame) {
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = (0.138764500567892 + random(200)) + 100;
_parent["dust" + i].Y = (random(800) - 400) + Xcorr;
_parent["dust" + i].X = (random(1200) - 600) + Ycorr;
if (Ver <= 0) {
Ver = 2;
} else {
Ver = Ver - 1;
}
}
Instance of Symbol 61 MovieClip "dust" in Symbol 62 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = Z - 2;
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Symbol 70 MovieClip Frame 40
stop();
playink = false;
Symbol 70 MovieClip Frame 41
prevFrame();
Symbol 91 MovieClip Frame 1
stop();
_quality = "BEST";
Symbol 91 MovieClip Frame 2
_quality = "LOW";
Symbol 91 MovieClip Frame 3
_quality = "MEDIUM";
Symbol 91 MovieClip Frame 4
_quality = "HIGH";
Symbol 91 MovieClip Frame 5
gotoAndStop (1);
Symbol 96 MovieClip Frame 1
stop();
_root.thebottalk = true;
Symbol 96 MovieClip Frame 2
_root.thebottalk = false;
Symbol 96 MovieClip Frame 3
gotoAndStop (1);
Symbol 100 MovieClip Frame 1
stop();
_root.invertion = false;
Symbol 100 MovieClip Frame 2
_root.invertion = true;
Symbol 100 MovieClip Frame 3
gotoAndStop (1);
Symbol 116 MovieClip Frame 210
stop();
kip = true;
Symbol 161 MovieClip Frame 1
stop();
_visible = false;
Instance of Symbol 141 MovieClip "total" in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.hitstotal + 1);
}
Instance of Symbol 161 MovieClip "screen" in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
_x = 0;
_y = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (toshow == true) {
_parent.named.named = _parent.memory;
this.named = _parent.memory;
this.nextFrame();
_visible = true;
} else {
this.prevFrame();
}
}
Instance of Symbol 244 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 251 MovieClip Frame 1
stop();
Instance of Symbol 70 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & ((!_root.blackscreen.toshow) == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_root.blackscreen.toshow = true;
}
if ((starting == true) & (_root.blackscreen._alpha >= 100)) {
_root.gotoAndStop("menu");
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 70 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & (_parent.tex.toshow == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_parent.tex.toshow = false;
}
if ((starting == true) & (_parent.tex._alpha <= 0)) {
_parent.nextFrame();
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 59 MovieClip "cursor" in Symbol 251 MovieClip Frame 1
onClipEvent (load) {
_x = 280;
_visible = false;
dink = new Sound();
dink.attachSound("dink");
}
onClipEvent (enterFrame) {
if ((!disabled) == true) {
if ((Key.isDown(39) & (rightdown == false)) & (_x < 360)) {
dink.start();
_x = (_x + 80);
}
if ((Key.isDown(37) & (leftdown == false)) & (_x > 280)) {
dink.start();
_x = (_x - 80);
}
}
if (Key.isDown(39)) {
rightdown = true;
} else {
rightdown = false;
}
if (Key.isDown(37)) {
leftdown = true;
} else {
leftdown = false;
}
}
Instance of Symbol 221 MovieClip "tex" in Symbol 251 MovieClip Frame 1
onClipEvent (load) {
toshow = true;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (toshow == true) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
}
}
Instance of Symbol 70 MovieClip "hg" in Symbol 251 MovieClip Frame 2
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & (_parent.tex.toshow == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_parent.tex.toshow = false;
}
if (((starting == true) & (_parent.tex._alpha <= 0)) & ((!_parent.tex.toshow) == true)) {
_parent.prevFrame();
_parent.tex.toshow = true;
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 70 MovieClip "ds" in Symbol 251 MovieClip Frame 2
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & (_parent.tex.toshow == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_parent.tex.toshow = false;
}
if (((starting == true) & (_parent.tex._alpha <= 0)) & ((!_parent.tex.toshow) == true)) {
_parent.nextFrame();
_parent.tex.toshow = true;
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 59 MovieClip "cursor" in Symbol 251 MovieClip Frame 2
onClipEvent (load) {
_x = 280;
_visible = false;
dink = new Sound();
dink.attachSound("dink");
}
onClipEvent (enterFrame) {
if ((!disabled) == true) {
if ((Key.isDown(39) & (rightdown == false)) & (_x < 360)) {
dink.start();
_x = (_x + 80);
}
if ((Key.isDown(37) & (leftdown == false)) & (_x > 200)) {
dink.start();
_x = (_x - 80);
}
}
if (Key.isDown(39)) {
rightdown = true;
} else {
rightdown = false;
}
if (Key.isDown(37)) {
leftdown = true;
} else {
leftdown = false;
}
}
Instance of Symbol 228 MovieClip "tex" in Symbol 251 MovieClip Frame 2
onClipEvent (load) {
toshow = true;
_parent.cursor.disabled = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (toshow == true) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
}
}
Instance of Symbol 70 MovieClip "ci" in Symbol 251 MovieClip Frame 3
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & (_parent.tex.toshow == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_parent.tex.toshow = false;
}
if (((starting == true) & (_parent.tex._alpha <= 0)) & ((!_parent.tex.toshow) == true)) {
_parent.prevFrame();
_parent.tex.toshow = true;
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 70 MovieClip "ki" in Symbol 251 MovieClip Frame 3
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & (_parent.tex.toshow == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_parent.tex.toshow = false;
}
if (((starting == true) & (_parent.tex._alpha <= 0)) & ((!_parent.tex.toshow) == true)) {
_parent.nextFrame();
_parent.tex.toshow = true;
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 232 MovieClip "tex" in Symbol 251 MovieClip Frame 3
onClipEvent (load) {
toshow = true;
_parent.cursor.disabled = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (toshow == true) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
}
}
Instance of Symbol 70 MovieClip "la" in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & (_parent.tex.toshow == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_parent.tex.toshow = false;
}
if (((starting == true) & (_parent.tex._alpha <= 0)) & ((!_parent.tex.toshow) == true)) {
_parent.prevFrame();
_parent.tex.toshow = true;
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 70 MovieClip "lo" in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & (_parent.tex.toshow == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_parent.tex.toshow = false;
}
if (((starting == true) & (_parent.tex._alpha <= 0)) & ((!_parent.tex.toshow) == true)) {
_parent.nextFrame();
_parent.tex.toshow = true;
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 235 MovieClip "tex" in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
toshow = true;
_parent.cursor.disabled = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (toshow == true) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
}
}
Instance of Symbol 70 MovieClip "so" in Symbol 251 MovieClip Frame 5
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & (_parent.tex.toshow == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_parent.tex.toshow = false;
}
if (((starting == true) & (_parent.tex._alpha <= 0)) & ((!_parent.tex.toshow) == true)) {
_parent.prevFrame();
_parent.tex.toshow = true;
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 70 MovieClip "sa" in Symbol 251 MovieClip Frame 5
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & (_parent.tex.toshow == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_parent.tex.toshow = false;
}
if (((starting == true) & (_parent.tex._alpha <= 0)) & ((!_parent.tex.toshow) == true)) {
_parent.nextFrame();
_parent.tex.toshow = true;
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 245 MovieClip "tex" in Symbol 251 MovieClip Frame 5
onClipEvent (load) {
toshow = true;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (toshow == true) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
}
}
Instance of Symbol 70 MovieClip in Symbol 251 MovieClip Frame 6
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("beam");
if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (playink == true) {
play();
} else if (this.hitTest(_parent.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (((Key.isDown(32) & this.hitTest(_parent.cursor)) & (spacedown == false)) & (_parent.tex.toshow == true)) {
_parent.cursor.disabled = true;
ding.start();
playink = true;
}
if (playink == false) {
starting = true;
_parent.tex.toshow = false;
}
if ((starting == true) & (_parent.tex._alpha <= 0)) {
_parent.prevFrame();
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 59 MovieClip "cursor" in Symbol 251 MovieClip Frame 6
onClipEvent (load) {
_x = 280;
_visible = false;
dink = new Sound();
dink.attachSound("dink");
}
onClipEvent (enterFrame) {
if ((!disabled) == true) {
if ((Key.isDown(39) & (rightdown == false)) & (_x < 280)) {
dink.start();
_x = (_x + 80);
}
if ((Key.isDown(37) & (leftdown == false)) & (_x > 200)) {
dink.start();
_x = (_x - 80);
}
}
if (Key.isDown(39)) {
rightdown = true;
} else {
rightdown = false;
}
if (Key.isDown(37)) {
leftdown = true;
} else {
leftdown = false;
}
}
Instance of Symbol 250 MovieClip "tex" in Symbol 251 MovieClip Frame 6
onClipEvent (load) {
toshow = true;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (toshow == true) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
}
}
Symbol 273 MovieClip Frame 1
stop();
Instance of Symbol 272 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 15
kip = true;
Symbol 287 MovieClip Frame 16
stop();
Symbol 297 MovieClip Frame 1
stop();
Instance of Symbol 292 MovieClip in Symbol 297 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Instance of Symbol 209 MovieClip in Symbol 297 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Instance of Symbol 296 MovieClip in Symbol 297 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 318 MovieClip Frame 11
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 40
playin = false;
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 40
playin = false;
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 40
playin = false;
Instance of Symbol 297 MovieClip "halo" in Symbol 355 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 377 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 443 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 487 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 531 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 553 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 575 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 597 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 619 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 641 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 663 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 685 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 707 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 729 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 751 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 297 MovieClip "halo" in Symbol 773 MovieClip Frame 1
onClipEvent (load) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
onClipEvent (enterFrame) {
if (_parent.enginescreen == 1) {
gotoAndStop ("boost");
} else if (_parent.enginescreen == 0) {
gotoAndStop ("normal");
} else if (_parent.enginescreen == -1) {
gotoAndStop ("brake");
}
}
Instance of Symbol 318 MovieClip in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 320 MovieClip "core" in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 297 MovieClip "Yfire" in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 320 MovieClip "shield" in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_visible == true) {
if ((!_root.gamepaused) == true) {
_alpha = (_alpha - 0.5);
}
} else {
_alpha = 100;
}
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 325 MovieClip "greenglow" in Symbol 774 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (playin == true) {
play();
}
}
Instance of Symbol 329 MovieClip "redglow" in Symbol 774 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (playin == true) {
play();
}
}
Instance of Symbol 333 MovieClip "blueglow" in Symbol 774 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (playin == true) {
play();
}
}
Instance of Symbol 355 MovieClip in Symbol 774 MovieClip Frame 2
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 377 MovieClip in Symbol 774 MovieClip Frame 3
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 399 MovieClip in Symbol 774 MovieClip Frame 4
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 421 MovieClip in Symbol 774 MovieClip Frame 5
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 443 MovieClip in Symbol 774 MovieClip Frame 6
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 465 MovieClip in Symbol 774 MovieClip Frame 7
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 487 MovieClip in Symbol 774 MovieClip Frame 8
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 509 MovieClip in Symbol 774 MovieClip Frame 9
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 531 MovieClip in Symbol 774 MovieClip Frame 10
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 553 MovieClip in Symbol 774 MovieClip Frame 11
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 575 MovieClip in Symbol 774 MovieClip Frame 12
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 597 MovieClip in Symbol 774 MovieClip Frame 13
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 619 MovieClip in Symbol 774 MovieClip Frame 14
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 641 MovieClip in Symbol 774 MovieClip Frame 15
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 663 MovieClip in Symbol 774 MovieClip Frame 16
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 685 MovieClip in Symbol 774 MovieClip Frame 17
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 707 MovieClip in Symbol 774 MovieClip Frame 18
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 729 MovieClip in Symbol 774 MovieClip Frame 19
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 751 MovieClip in Symbol 774 MovieClip Frame 20
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Instance of Symbol 773 MovieClip in Symbol 774 MovieClip Frame 21
onClipEvent (load) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
enginescreen = _parent.enginescreen;
gotoAndStop(_parent.xhoek + 11);
}
Symbol 778 MovieClip Frame 1
stop();
Symbol 778 MovieClip Frame 16
boomplaying = false;
Symbol 778 MovieClip Frame 17
stop();
Instance of Symbol 774 MovieClip "player" in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
stabilize = false;
yhoek = 0;
xhoek = 0;
enginescreen = 0;
this.gotoAndStop(11);
}
onClipEvent (enterFrame) {
laserlevel = _parent.laserlevel;
this.gotoAndStop(yhoek + 11);
}
Instance of Symbol 778 MovieClip "boom" in Symbol 779 MovieClip Frame 1
onClipEvent (enterFrame) {
if (boomplaying == true) {
play();
}
}
Symbol 803 MovieClip Frame 1
stop();
Instance of Symbol 792 MovieClip in Symbol 803 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 803 MovieClip Frame 64
stop();
souldone = true;
Symbol 824 MovieClip Frame 1
stop();
Instance of Symbol 823 MovieClip in Symbol 824 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 827 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 15
kip = true;
Symbol 827 MovieClip Frame 16
stop();
Symbol 847 MovieClip Frame 1
stop();
Instance of Symbol 846 MovieClip in Symbol 847 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 847 MovieClip Frame 11
stop();
Symbol 867 MovieClip Frame 1
stop();
Instance of Symbol 866 MovieClip in Symbol 867 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 867 MovieClip Frame 11
stop();
Symbol 888 MovieClip Frame 1
stop();
Instance of Symbol 887 MovieClip in Symbol 888 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 888 MovieClip Frame 11
stop();
Symbol 906 MovieClip Frame 1
stop();
Symbol 908 MovieClip Frame 1
stop();
_parent.reclo = true;
Symbol 908 MovieClip Frame 30
stop();
_parent.opu = true;
_parent.reclo = false;
Symbol 908 MovieClip Frame 31
stop();
Symbol 909 MovieClip Frame 1
stop();
Symbol 913 MovieClip Frame 1
stop();
Instance of Symbol 909 MovieClip "pultron" in Symbol 913 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.opu = opu;
_parent.reclo = reclo;
}
Symbol 913 MovieClip Frame 15
kip = true;
Symbol 913 MovieClip Frame 16
stop();
Symbol 934 MovieClip Frame 1
stop();
Instance of Symbol 933 MovieClip in Symbol 934 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 937 MovieClip Frame 1
stop();
Symbol 937 MovieClip Frame 15
kip = true;
Symbol 937 MovieClip Frame 16
stop();
Instance of Symbol 260 MovieClip in Symbol 949 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 949 MovieClip Frame 6
stop();
Symbol 950 MovieClip Frame 1
stop();
Symbol 953 MovieClip Frame 1
stop();
Symbol 953 MovieClip Frame 15
kip = true;
Symbol 953 MovieClip Frame 16
stop();
Symbol 966 MovieClip Frame 1
stop();
Instance of Symbol 965 MovieClip "shad" in Symbol 966 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 972 MovieClip Frame 1
stop();
Instance of Symbol 970 MovieClip in Symbol 972 MovieClip Frame 5
onClipEvent (load) {
if (_parent.crash == true) {
_visible = false;
}
}
Symbol 972 MovieClip Frame 51
kip = true;
Symbol 972 MovieClip Frame 52
stop();
Instance of Symbol 976 MovieClip in Symbol 986 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Instance of Symbol 976 MovieClip in Symbol 986 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Instance of Symbol 976 MovieClip in Symbol 986 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 987 MovieClip Frame 1
stop();
Instance of Symbol 986 MovieClip "fist" in Symbol 987 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 990 MovieClip Frame 1
stop();
Symbol 990 MovieClip Frame 15
kip = true;
Symbol 990 MovieClip Frame 16
stop();
Symbol 1005 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1005 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1005 MovieClip Frame 64
stop();
souldone = true;
Symbol 1026 MovieClip Frame 1
stop();
Instance of Symbol 1025 MovieClip "wusp" in Symbol 1026 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1030 MovieClip Frame 1
stop();
Instance of Symbol 970 MovieClip in Symbol 1030 MovieClip Frame 5
onClipEvent (load) {
if (_parent.crash == true) {
_visible = false;
}
}
Symbol 1030 MovieClip Frame 51
kip = true;
Symbol 1030 MovieClip Frame 52
stop();
Instance of Symbol 1033 MovieClip in Symbol 1042 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1043 MovieClip Frame 1
stop();
Instance of Symbol 1042 MovieClip "rock" in Symbol 1043 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1053 MovieClip Frame 1
stop();
Symbol 1053 MovieClip Frame 41
smoke = true;
Symbol 1053 MovieClip Frame 62
stop();
finalframe = true;
Symbol 1058 MovieClip Frame 1
stop();
Instance of Symbol 1057 MovieClip "body" in Symbol 1058 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1058 MovieClip Frame 72
stop();
finalframe = true;
Symbol 1075 MovieClip Frame 1
stop();
panelout = true;
Symbol 1075 MovieClip Frame 2
panelout = true;
Symbol 1075 MovieClip Frame 3
panelout = true;
Symbol 1075 MovieClip Frame 4
panelout = true;
Symbol 1075 MovieClip Frame 5
panelout = true;
Symbol 1075 MovieClip Frame 6
panelout = false;
Symbol 1075 MovieClip Frame 7
panelout = false;
Instance of Symbol 1067 MovieClip "spot" in Symbol 1075 MovieClip Frame 7
onClipEvent (load) {
_visible = false;
}
Symbol 1075 MovieClip Frame 8
panelout = false;
Symbol 1075 MovieClip Frame 9
panelout = false;
Symbol 1075 MovieClip Frame 10
panelout = false;
respond = false;
Symbol 1075 MovieClip Frame 11
panelout = false;
respond = true;
Instance of Symbol 1074 MovieClip in Symbol 1075 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1076 MovieClip Frame 1
stop();
Symbol 1077 MovieClip Frame 1
stop();
Symbol 1080 MovieClip Frame 1
stop();
Symbol 1080 MovieClip Frame 15
kip = true;
Symbol 1080 MovieClip Frame 16
stop();
Symbol 1093 MovieClip Frame 1
stop();
Instance of Symbol 1090 MovieClip in Symbol 1093 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Instance of Symbol 1067 MovieClip "spot" in Symbol 1093 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 1093 MovieClip Frame 41
stop();
Symbol 1094 MovieClip Frame 1
stop();
Symbol 1102 MovieClip Frame 1
stop();
Symbol 1102 MovieClip Frame 62
stop();
Symbol 1105 MovieClip Frame 1
stop();
Instance of Symbol 1057 MovieClip "body" in Symbol 1105 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1105 MovieClip Frame 72
stop();
finalframe = true;
Symbol 1106 MovieClip Frame 1
stop();
Instance of Symbol 287 MovieClip "blado" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("ion");
expl = new Sound(this);
expl.attachSound("smallknal");
coolcannon = 0;
hp = 2;
dead = false;
pain = false;
H = -10;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
eenshot.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.player.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
if ((((Z < 150) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
coolcannon = coolcannon - 1;
if (coolcannon <= 0) {
i = i + 1;
eenshot.start();
_parent.enemylaser.duplicateMovieClip("Elaser" + i, 1000000000 - (1000000 * (Z - 1.460456789)));
_parent["Elaser" + i].active = true;
_parent["Elaser" + i].Z = Z - 1.460456789;
_parent["Elaser" + i].Zi = Z - 1.460456789;
_parent["Elaser" + i].X = X;
_parent["Elaser" + i].Xi = X;
_parent["Elaser" + i].Y = Y;
_parent["Elaser" + i].Yi = Y;
_parent["Elaser" + i].Xtar = _parent.player.X;
_parent["Elaser" + i].Ytar = _parent.player.Y;
coolcannon = 30;
}
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 779 MovieClip "player" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
beenhit = false;
shield = 100;
FF = 0;
H = -10;
D = -0.01;
eenshot = new Sound(this.player.shield);
eenshot.attachSound("blaster");
crash = new Sound(this);
crash.attachSound("glass");
nobomb = new Sound(this);
nobomb.attachSound("lamb");
tweeshot = new Sound(this.player.shield);
tweeshot.attachSound("ion");
drieshot = new Sound(this.player.shield);
drieshot.attachSound("plasma");
motortwee = new Sound(this.player.blueglow);
motortwee.attachSound("straalmotor");
motordrie = new Sound(this.player.blueglow);
motordrie.attachSound("straalmotorX2");
expl = new Sound();
expl.attachSound("smallknal");
shotbomb = false;
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
Yref = 0;
Xref = 0;
Ycheck = 0;
t = 0;
i = 0;
e = 0;
vy = 0;
vx = 0;
Xar = 0;
Yar = 0;
volumen = 100;
crashplaytime = 0.055;
coolcannon = 0;
enginepower = 200;
enginespeed = 1;
if (_root.checkpoint == true) {
X = 0;
Y = 50;
Z = 0;
} else {
X = 0;
Y = -230;
Z = 0;
}
this.swapDepths(1000000000 - (Z * 1000000));
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
ampl = 0;
}
onClipEvent (enterFrame) {
if (_root.invertion == true) {
up = 40;
down = 38;
} else {
down = 40;
up = 38;
}
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
this.swapDepths(1000000000 - (Z * 1000000));
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
if (bomstock > 99) {
bombstock = bombstock - 1;
}
if (shield > 100) {
shield = shield - 1;
}
if (shield <= 0) {
ampl = 0;
dead = true;
}
if (_root.gamepaused == true) {
motortwee.stop();
motordrie.stop();
eenshot.stop();
crash.stop();
this.boom.stop();
nobomb.stop();
tweeshot.stop();
drieshot.stop();
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = false;
}
if ((!_root.gamepaused) == true) {
t++;
X = X + vx;
Y = Y + vy;
verY = -Math.floor(Y / 36);
verX = -Math.floor(X / 52);
if ((dead == true) & (Y < 160)) {
if ((!crashtoplayed) == true) {
crash.start(crashplaytime);
crashtoplayed = true;
}
_rotation = (_rotation + 20);
} else if ((dead == true) & (this.player._alpha > 0)) {
fish = true;
enginespeed = 0;
enginepower = 0;
this.boom.boomplaying = true;
_parent.vol = _parent.vol - 20;
this.player._alpha = this.player._alpha - 20;
expl.start();
vx = 0;
vy = 0;
_root.blackscreen.toshow = true;
motortwee.stop();
motordrie.stop();
} else if ((dead == true) & (this.player._alpha <= 0)) {
enginespeed = 0;
enginepower = 0;
FF = FF + 1;
if (FF >= 100) {
_root.lives = _root.lives - 1;
_root.bombstock = 5;
_root.laserlevel = 1;
stopAllSounds();
if (_root.lives >= 0) {
_root.play();
} else {
_root.hitstotal = _root.hitstotal + _root.hits;
_root.gotoAndStop("end");
}
}
}
if ((((Key.isDown(90) & (Zdown == false)) & (shotbomb == false)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.bombstock > 0) {
i = i + 1;
_parent.torp.duplicateMovieClip("torp" + i, i);
_parent["torp" + i].active = true;
this.activebomb = _parent["torp" + i];
_root.bombstock = _root.bombstock - 1;
shotbomb = true;
} else {
nobomb.start();
}
}
if ((shotbomb == true) & (Zdown == true)) {
prego = true;
}
if ((((Key.isDown(90) & (Zdown == false)) & (prego == true)) & ((!dead) == true)) & ((!disabled) == true)) {
this.activebomb.prego = true;
shotbomb = false;
prego = false;
}
if (((Key.isDown(65) & (coolcannon <= 0)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.laserlevel == 1) {
eenshot.setVolume(100);
eenshot.start();
} else if (_root.laserlevel == 2) {
tweeshot.setVolume(40);
tweeshot.start();
} else if (_root.laserlevel == 3) {
drieshot.setVolume(50);
drieshot.start();
}
i = i + 1;
_parent.laser.duplicateMovieClip("laser" + i, i);
_parent["laser" + i].active = true;
_parent["laser" + i].Z = Z + 3.078965;
_parent["laser" + i].Yref = Yref;
_parent["laser" + i].Xref = Xref;
coolcannon = 7;
}
if (coolcannon > 0) {
coolcannon = coolcannon - 1;
}
if (ampl > 0) {
ampl = ampl - 0.2;
}
if (Math.abs(ampl) <= 1) {
ampl = 0;
}
if (Ycheck < 0) {
Y = Y + 2;
Ycheck = Ycheck + 2;
}
if (Ycheck > 0) {
Y = Y - 2;
Ycheck = Ycheck - 2;
}
Y = Y + (ampl * Math.cos((Math.PI * t) / 12));
Ycheck = Ycheck + (ampl * Math.cos((Math.PI * t) / 12));
if ((beenhit == true) & ((!dead) == true)) {
crash.start(crashplaytime);
this.player.shield._visible = true;
this.player.shield._alpha = 100;
ampl = 20;
beenhit = false;
}
this.player.xhoek = Math.floor(verX + Xar);
if ((((Key.isDown(37) & (!Key.isDown(39))) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Xar > -5) {
Xar = Xar - 0.25;
}
if (Xar < -5) {
Xar = Xar + 0.25;
}
} else if ((((Key.isDown(39) & (!Key.isDown(37))) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Xar > 5) {
Xar = Xar - 0.25;
}
if (Xar < 5) {
Xar = Xar + 0.25;
}
} else {
if (Xar > 0) {
Xar = Xar - 0.5;
}
if (Xar < 0) {
Xar = Xar + 0.5;
}
}
this.player.yhoek = Math.floor(verY + Yar);
if ((((Key.isDown(down) & (!Key.isDown(up))) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Yar > -5) {
Yar = Yar - 0.25;
}
if (Yar < -5) {
Yar = Yar + 0.25;
}
} else if ((((Key.isDown(up) & (!Key.isDown(down))) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Yar > 5) {
Yar = Yar - 0.25;
}
if (Yar < 5) {
Yar = Yar + 0.25;
}
} else {
if ((Yar > 0) & (!(((dead == true) & (Y < 200)) & (Yar < 5)))) {
Yar = Yar - 0.5;
}
if ((Yar < 0) | (((dead == true) & (Y < 200)) & (Yar < 5))) {
Yar = Yar + 0.5;
}
}
if ((X <= -270) & ((!disabled) == true)) {
Lwall = true;
} else {
Lwall = false;
}
if ((X >= 270) & ((!disabled) == true)) {
Rwall = true;
} else {
Rwall = false;
}
if ((Y <= -180) & ((!disabled) == true)) {
Uwall = true;
} else {
Uwall = false;
}
if ((Y >= 180) & ((!disabled) == true)) {
Dwall = true;
} else {
Dwall = false;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(83) & (enginepower > 0)) & ((boosting == true) | (altdown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerboost == true)) {
motortwee.setVolume(volumen);
if ((!motordrieplaying) == true) {
motortwee.stop();
motordrie.start(0, 99999999999);
motoreenplaying = false;
motortweeplaying = false;
motordrieplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * 5);
boosting = true;
braking = false;
this.player.enginescreen = 1;
if (Z < 31) {
Z = Z + 3.1;
}
enginespeed = 4;
} else if (((((Key.isDown(68) & (enginepower > 0)) & ((braking == true) | (ctrldown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerbrake == true)) {
vx = 0;
vy = 0;
motortwee.setVolume(0.3 * volumen);
if ((!motoreenplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motortweeplaying = false;
motoreenplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * -5);
boosting = false;
braking = true;
this.player.enginescreen = -1;
if (Z > -31) {
Z = Z - 3.1;
}
enginespeed = 0;
} else {
motortwee.setVolume(0.7 * volumen);
if ((!motortweeplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = true;
}
if (enginepower < 200) {
enginepower = enginepower + 1;
}
braking = false;
boosting = false;
this.player.enginescreen = 0;
Cmaak = 1;
if (Z < 0) {
Z = Z + 3.1;
}
if (Z > 0) {
Z = Z - 3.1;
}
if (!((dead == true) & (fish == true))) {
enginespeed = 2;
}
}
if ((!disabled) == true) {
}
if (((((Key.isDown(39) & (!Key.isDown(37))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Rwall == true) {
vx = 0;
} else {
if (vx < (10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref < (300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
if (Xref > (300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
} else if (((((Key.isDown(37) & (!Key.isDown(39))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Lwall == true) {
vx = 0;
} else {
if (vx < (-10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (-10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref > (-300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < (-300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
} else {
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if (Xref > 0) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < 0) {
Xref = Xref + (15 * Cmaak);
}
if (vx < 0) {
vx = vx + (enginespeed / 4);
}
if (vx > 0) {
vx = vx - (enginespeed / 4);
}
if (Math.abs(vx) < (enginespeed / 4)) {
vx = 0;
}
}
Xref = Cmaak * (X + ((300 * (Xar - (X / 52))) / 5));
Yref = Cmaak * (Y + ((200 * (Yar - (Y / 36))) / 5));
if (((Uwall == true) & (vy < 0)) | ((Dwall == true) & (vy > 0))) {
vy = 0;
}
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(up) & (!Key.isDown(down))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Dwall == true) {
vy = 0;
} else {
if (vy < (10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else if (((((Key.isDown(down) & (!Key.isDown(up))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Uwall == true) {
vy = 0;
} else {
if (vy < (-10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (-10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else {
if (((Uwall == true) & (vy < 0)) | ((Dwall == true) & (vy > 0))) {
vy = 0;
}
if ((vy < 0) | (((dead == true) & (Y < 200)) & (vy < 10))) {
vy = vy + (enginespeed / 4);
}
if ((vy > 0) & (!(((dead == true) & (Y < 200)) & (vy < 10)))) {
vy = vy - (enginespeed / 4);
}
if (Math.abs(vy) < (enginespeed / 4)) {
vy = 0;
}
}
if (Key.isDown(83)) {
altdown = true;
} else {
altdown = false;
}
if (Key.isDown(68)) {
ctrldown = true;
} else {
ctrldown = false;
}
if (Key.isDown(65)) {
spacedown = true;
} else {
spacedown = false;
}
if (Key.isDown(90)) {
Zdown = true;
} else {
Zdown = false;
}
}
ii = i - 1;
iii = i - 2;
iiii = i - 3;
iiiii = i - 4;
iiiiii = i - 5;
iiiiiii = i - 6;
iiiiiiii = i - 7;
iiiiiiiii = i - 8;
iiiiiiiiii = i - 9;
iiiiiiiiiii = i - 10;
iiiiiiiiiiii = i - 11;
iiiiiiiiiiiii = i - 12;
iiiiiiiiiiiiii = i - 13;
iiiiiiiiiiiiiii = i - 14;
iiiiiiiiiiiiiiii = i - 15;
}
Instance of Symbol 786 MovieClip "laser" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
eenshot = new Sound(this);
eenshot.attachSound("blaster");
H = -10;
D = -0.01;
vx = 0;
vy = 0;
vr = 0;
gotoAndStop(_parent.player.laserlevel);
lightspeed = 15.699465768;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = (_parent.player.X + (2 * _parent.player.player.xhoek)) - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 5.378965;
_rotation = _parent.player._rotation;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
Z = Z + lightspeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
_rotation = (_rotation + vr);
if (active == true) {
if (lightspeed < 0) {
_alpha = (_alpha - 5);
}
Z = Z - _parent.player.enginespeed;
_visible = true;
if (((((Z >= 250) | (absorb == true)) | (Math.abs(_y) > 300)) | (Math.abs(_x) > 400)) | (_alpha < 0)) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 788 MovieClip "croshairB" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 100;
X = _parent.player.X - _parent.player.Xref;
Y = _parent.player.Y - _parent.player.Yref;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 200;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if (_parent.player.dead == true) {
_visible = false;
}
}
Instance of Symbol 788 MovieClip "croshairA" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 200;
X = _parent.player.X;
Y = _parent.player.Y;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 70;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if (_parent.player.dead == true) {
_visible = false;
}
}
Instance of Symbol 803 MovieClip "torp" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
H = -10;
D = -0.01;
bombspeed = 5.0021156;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 1.97086;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (explosion == true) {
play();
}
}
onClipEvent (enterFrame) {
Xw = (10 * _width) / _xscale;
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
inflight.setVolume(volumen);
if ((!_root.gamepaused) == true) {
Z = Z + bombspeed;
if (active == true) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (((Z >= 200) | (prego == true)) & (bombspeed > 0)) {
_parent.player.prego = false;
_parent.player.shotbomb = false;
inflight.stop();
X = X + (Math.exp((-D) * Z) * Xref);
Xref = 0;
Y = Y + (Math.exp((-D) * Z) * Yref);
Yref = 0;
play();
explosion = true;
bombspeed = 0;
}
if (souldone == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 213 MovieClip "enemylaser" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 7.383465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 5;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 827 MovieClip "nusp" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
hp = 3;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.player.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 59 MovieClip "lvl" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
H = -10;
Ver = 0;
Xcorr = 0;
Ycorr = 0;
endtime = 0;
points = 0;
i = 0;
_visible = false;
_root.blackscreen.toshow = false;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
if (_root.checkpoint == true) {
_parent.player.X = 0;
_parent.player.Y = 0;
_parent.player.Z = 0;
_parent.vol = 0;
Zpassed = 10011;
} else {
_parent.player.X = 0;
_parent.player.Y = -230;
_parent.player.Z = 0;
_parent.vol = 100;
Zpassed = -100;
_parent.player.disabled = true;
}
}
onClipEvent (enterFrame) {
if ((Zpassed > 0) & (Zpassed < 10)) {
_parent.player.disabled = false;
}
if (Zpassed < 0) {
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (-_parent.player.Y));
}
if (((((Key.isDown(32) & (keydown == false)) & (Zpassed >= 0)) & ((!_parent.player.dead) == true)) & ((!finished) == true)) & ((!endit) == true)) {
if ((!_root.gamepaused) == true) {
_root.gamepaused = true;
} else {
_root.gamepaused = false;
}
}
if ((!_root.gamepaused) == true) {
Zpassed = Zpassed + _parent.player.enginespeed;
Xcorr = Xcorr - _parent.player.vx;
Ycorr = Ycorr - _parent.player.vy;
dH = dH - _parent.player.enginespeed;
if (_root.thebottalk == true) {
if ((Zpassed >= 700) & (Zpassed < 1200)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(1);
} else if ((Zpassed >= 1200) & (Zpassed < 2100)) {
_root.thebot._visible = false;
} else if ((Zpassed >= 2100) & (Zpassed < 2400)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(2);
} else if ((Zpassed >= 2400) & (Zpassed < 6000)) {
_root.thebot._visible = false;
} else if ((Zpassed >= 6000) & (Zpassed < 6400)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(3);
} else if ((Zpassed >= 6400) & (Zpassed < 6500)) {
_root.thebot._visible = false;
} else if ((Zpassed >= 6500) & (Zpassed < 7000)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(4);
} else if ((Zpassed >= 7000) & (Zpassed < 10100)) {
_root.thebot._visible = false;
} else if ((Zpassed >= 10100) & (Zpassed < 11000)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(5);
} else if ((Zpassed >= 11000) & ((!endit) == true)) {
_root.thebot._visible = false;
} else if ((endit == true) & ((!finished) == true)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(6);
} else if (finished == true) {
_root.thebot._visible = false;
}
}
if (((Zpassed >= 0) & ((!creationI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 300 + Xcorr;
_parent["nusp" + i].Y = -150 + Ycorr;
_parent["nusp" + i].Z = 311.04703;
_parent["nusp" + i].marked = true;
creationI = true;
} else if (((Zpassed >= 100) & ((!creationII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -300 + Xcorr;
_parent["nusp" + i].Y = 0 + Ycorr;
_parent["nusp" + i].Z = 311.04703;
_parent["nusp" + i].marked = true;
creationII = true;
} else if (((Zpassed >= 200) & ((!creationIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 300 + Xcorr;
_parent["nusp" + i].Y = -300 + Ycorr;
_parent["nusp" + i].Z = 311.04703;
_parent["nusp" + i].marked = true;
creationIII = true;
} else if (((Zpassed >= 300) & ((!creationIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -300 + Xcorr;
_parent["nusp" + i].Y = 300 + Ycorr;
_parent["nusp" + i].Z = 311.04703;
_parent["nusp" + i].greenhave = true;
_parent["nusp" + i].marked = true;
creationIV = true;
} else if (((Zpassed >= 500) & ((!creationV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 0 + Xcorr;
_parent["nusp" + i].Y = 0 + Ycorr;
_parent["nusp" + i].Z = 311.04703;
_parent["nusp" + i].marked = true;
creationV = true;
} else if (((Zpassed >= 600) & ((!creationVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -150 + Xcorr;
_parent["nusp" + i].Y = 50 + Ycorr;
_parent["nusp" + i].Z = 311.04703;
_parent["nusp" + i].marked = true;
creationVI = true;
} else if (((Zpassed >= 700) & ((!creationVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -100 + Xcorr;
_parent["nusp" + i].Y = 0 + Ycorr;
_parent["nusp" + i].Z = 311.04703;
_parent["nusp" + i].marked = true;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 100 + Xcorr;
_parent["nusp" + i].Y = 0 + Ycorr;
_parent["nusp" + i].Z = 312.94703;
_parent["nusp" + i].marked = true;
creationVII = true;
} else if (((Zpassed >= 800) & ((!creationVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 0 + Xcorr;
_parent["nusp" + i].Y = -200 + Ycorr;
_parent["nusp" + i].Z = 311.04703;
_parent["nusp" + i].marked = true;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 0 + Xcorr;
_parent["nusp" + i].Y = 200 + Ycorr;
_parent["nusp" + i].Z = 312.84703;
_parent["nusp" + i].marked = true;
creationVIII = true;
} else if (((Zpassed >= 1200) & ((!creationIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 200 + Xcorr;
_parent["blado" + i].Y = -200 + Ycorr;
_parent["blado" + i].Z = 311.74703;
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = -200 + Xcorr;
_parent["blado" + i].Y = 200 + Ycorr;
_parent["blado" + i].Z = 316.24703;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -200 + Xcorr;
_parent["nusp" + i].Y = -200 + Ycorr;
_parent["nusp" + i].Z = 312.1860436712;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 200 + Xcorr;
_parent["nusp" + i].Y = 200 + Ycorr;
_parent["nusp" + i].Z = 313.9061598387;
creationIX = true;
} else if (((Zpassed >= 1300) & ((!creationX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = -200 + Xcorr;
_parent["blado" + i].Y = -200 + Ycorr;
_parent["blado" + i].Z = 311.74703;
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 200 + Xcorr;
_parent["blado" + i].Y = 200 + Ycorr;
_parent["blado" + i].Z = 316.24703;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -200 + Xcorr;
_parent["nusp" + i].Y = 200 + Ycorr;
_parent["nusp" + i].Z = 312.1860436712;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 200 + Xcorr;
_parent["nusp" + i].Y = -200 + Ycorr;
_parent["nusp" + i].Z = 313.9061598387;
creationX = true;
} else if (((Zpassed >= 1500) & ((!creationXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -200 + Xcorr;
_parent["nusp" + i].Y = 200 + Ycorr;
_parent["nusp" + i].Z = 311.04703;
_parent["nusp" + i].redhave = true;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 300 + Xcorr;
_parent["nusp" + i].Y = -200 + Ycorr;
_parent["nusp" + i].Z = 413.9061598387;
creationXI = true;
} else if (((Zpassed >= 1700) & ((!creationXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 100 + Xcorr;
_parent["item" + i].Y = -100 + Ycorr;
_parent["item" + i].Z = 311.04703;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -200 + Xcorr;
_parent["nusp" + i].Y = 200 + Ycorr;
_parent["nusp" + i].Z = 313.9061598387;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 100 + Xcorr;
_parent["nusp" + i].Y = -150 + Ycorr;
_parent["nusp" + i].Z = 413.9061598387;
creationXII = true;
} else if (((Zpassed >= 2000) & ((!creationXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 0;
_parent["obus" + i].X = 0 + Xcorr;
_parent["obus" + i].Y = 0 + Ycorr;
_parent["obus" + i].Z = 313.24703;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 150;
_parent["obus" + i].X = 150 + Xcorr;
_parent["obus" + i].Y = 0 + Ycorr;
_parent["obus" + i].Z = 314.31342;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 300;
_parent["obus" + i].X = 300 + Xcorr;
_parent["obus" + i].Y = 0 + Ycorr;
_parent["obus" + i].Z = 315.67834;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = -150;
_parent["obus" + i].X = -150 + Xcorr;
_parent["obus" + i].Y = 0 + Ycorr;
_parent["obus" + i].Z = 316.78546;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = -300;
_parent["obus" + i].X = -300 + Xcorr;
_parent["obus" + i].Y = 0 + Ycorr;
_parent["obus" + i].Z = 317.13127;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = -450;
_parent["obus" + i].X = -450 + Xcorr;
_parent["obus" + i].Y = 0 + Ycorr;
_parent["obus" + i].Z = 318.90546;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 450;
_parent["obus" + i].X = 450 + Xcorr;
_parent["obus" + i].Y = 0 + Ycorr;
_parent["obus" + i].Z = 319.05672;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -250 + Xcorr;
_parent["nusp" + i].Y = 150 + Ycorr;
_parent["nusp" + i].Z = 383.9061598387;
creationXIII = true;
} else if (((Zpassed > 2150) & ((!creationXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 0;
_parent["obus" + i].X = 200 + Xcorr;
_parent["obus" + i].Y = -50 + Ycorr;
_parent["obus" + i].Z = 305.52382;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 150;
_parent["obus" + i].X = 350 + Xcorr;
_parent["obus" + i].Y = -50 + Ycorr;
_parent["obus" + i].Z = 304.76854;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 300;
_parent["obus" + i].X = 500 + Xcorr;
_parent["obus" + i].Y = -50 + Ycorr;
_parent["obus" + i].Z = 302.34567;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = -150;
_parent["obus" + i].X = 50 + Xcorr;
_parent["obus" + i].Y = -50 + Ycorr;
_parent["obus" + i].Z = 301.07834;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = -300;
_parent["obus" + i].X = -100 + Xcorr;
_parent["obus" + i].Y = -50 + Ycorr;
_parent["obus" + i].Z = 303.90765;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = -450;
_parent["obus" + i].X = -250 + Xcorr;
_parent["obus" + i].Y = -50 + Ycorr;
_parent["obus" + i].Z = 306.23761;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 450;
_parent["obus" + i].X = 650 + Xcorr;
_parent["obus" + i].Y = -50 + Ycorr;
_parent["obus" + i].Z = 307.10956;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 200 + Xcorr;
_parent["nusp" + i].Y = -250 + Ycorr;
_parent["nusp" + i].Z = 383.9061598387;
creationXIV = true;
} else if (((Zpassed >= 2300) & ((!creationXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 0;
_parent["obus" + i].X = -300 + Xcorr;
_parent["obus" + i].Y = 50 + Ycorr;
_parent["obus" + i].Z = 311.56239;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 150;
_parent["obus" + i].X = -150 + Xcorr;
_parent["obus" + i].Y = 50 + Ycorr;
_parent["obus" + i].Z = 310.45637;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 300;
_parent["obus" + i].X = 0 + Xcorr;
_parent["obus" + i].Y = 50 + Ycorr;
_parent["obus" + i].Z = 312.87695;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = -150;
_parent["obus" + i].X = -450 + Xcorr;
_parent["obus" + i].Y = 50 + Ycorr;
_parent["obus" + i].Z = 313.45678;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = -300;
_parent["obus" + i].X = -600 + Xcorr;
_parent["obus" + i].Y = 50 + Ycorr;
_parent["obus" + i].Z = 314.87624;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = -450;
_parent["obus" + i].X = -750 + Xcorr;
_parent["obus" + i].Y = 50 + Ycorr;
_parent["obus" + i].Z = 315.46718;
i = i + 1;
_parent.obus.duplicateMovieClip("obus" + i, i);
_parent["obus" + i].active = true;
_parent["obus" + i].R = 450;
_parent["obus" + i].X = 150 + Xcorr;
_parent["obus" + i].Y = 50 + Ycorr;
_parent["obus" + i].Z = 316.78312;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -100 + Xcorr;
_parent["nusp" + i].Y = 150 + Ycorr;
_parent["nusp" + i].Z = 383.9061598387;
creationXV = true;
} else if (((Zpassed >= 2500) & ((!creationXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.pultron.duplicateMovieClip("pultron" + i, i);
_parent["pultron" + i].active = true;
_parent["pultron" + i].X = 0 + Xcorr;
_parent["pultron" + i].Y = 0 + Ycorr;
_parent["pultron" + i].Z = 312.45678;
_parent["pultron" + i].Zmax = 4200;
_parent["pultron" + i].bluehave = true;
creationXVI = true;
} else if (((Zpassed >= 4200) & ((!creationXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 200 + Xcorr;
_parent["nusp" + i].Y = 250 + Ycorr;
_parent["nusp" + i].Z = 313.9061598387;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -200 + Xcorr;
_parent["nusp" + i].Y = 250 + Ycorr;
_parent["nusp" + i].Z = 311.458760726167;
i = i + 1;
_parent.scor.duplicateMovieClip("scor" + i, i);
_parent["scor" + i].active = true;
_parent["scor" + i].X = 400 + Xcorr;
_parent["scor" + i].Xgo = 250;
_parent["scor" + i].Y = 300 + Ycorr;
_parent["scor" + i].Ygo = 150;
_parent["scor" + i].Z = -53.687904;
_parent["scor" + i].redhave = true;
_parent["scor" + i].Zmax = 4600;
i = i + 1;
_parent.scor.duplicateMovieClip("scor" + i, i);
_parent["scor" + i].active = true;
_parent["scor" + i].X = -400 + Xcorr;
_parent["scor" + i].Xgo = -250;
_parent["scor" + i].Y = -300 + Ycorr;
_parent["scor" + i].Ygo = -150;
_parent["scor" + i].Z = -51.786543;
_parent["scor" + i].redhave = true;
_parent["scor" + i].Zmax = 4600;
creationXVII = true;
} else if (((Zpassed >= 4700) & ((!creationXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = -200 + Xcorr;
_parent["shad" + i].Y = -150 + Ycorr;
_parent["shad" + i].Z = 312.236548;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 0 + Xcorr;
_parent["shad" + i].Y = 50 + Ycorr;
_parent["shad" + i].Z = 310.568932;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 300 + Xcorr;
_parent["shad" + i].Y = -100 + Ycorr;
_parent["shad" + i].Z = 311.975327;
creationXVIII = true;
} else if (((Zpassed > 4800) & ((!creationXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 400 + Xcorr;
_parent["shad" + i].Y = 200 + Ycorr;
_parent["shad" + i].Z = 301.078954;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = -500 + Xcorr;
_parent["shad" + i].Y = -300 + Ycorr;
_parent["shad" + i].Z = 302.357681;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 100 + Xcorr;
_parent["shad" + i].Y = 400 + Ycorr;
_parent["shad" + i].Z = 303.872401;
creationXIX = true;
} else if (((Zpassed > 4900) & ((!creationXX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 200 + Xcorr;
_parent["shad" + i].Y = -400 + Ycorr;
_parent["shad" + i].Z = 301.14769621;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 500 + Xcorr;
_parent["shad" + i].Y = -100 + Ycorr;
_parent["shad" + i].Z = 302.478038421;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = -300 + Xcorr;
_parent["shad" + i].Y = -200 + Ycorr;
_parent["shad" + i].Z = 303.796258431;
creationXX = true;
} else if (((Zpassed >= 5000) & ((!creationXXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = -100 + Xcorr;
_parent["item" + i].Y = -100 + Ycorr;
_parent["item" + i].Z = 311.04703;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 200 + Xcorr;
_parent["item" + i].Y = 100 + Ycorr;
_parent["item" + i].Z = 511.04703;
creationXXI = true;
} else if (((Zpassed >= 5500) & ((!creationXXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = -200 + Xcorr;
_parent["blado" + i].Y = -200 + Ycorr;
_parent["blado" + i].Z = 311.74703;
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 200 + Xcorr;
_parent["blado" + i].Y = -200 + Ycorr;
_parent["blado" + i].Z = 316.24703;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 200 + Xcorr;
_parent["nusp" + i].Y = 200 + Ycorr;
_parent["nusp" + i].Z = 312.1860436712;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -200 + Xcorr;
_parent["nusp" + i].Y = 200 + Ycorr;
_parent["nusp" + i].Z = 313.9061598387;
creationXXII = true;
} else if (((Zpassed >= 5700) & ((!creationXXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = -200 + Xcorr;
_parent["blado" + i].Y = 200 + Ycorr;
_parent["blado" + i].Z = 311.74703;
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 200 + Xcorr;
_parent["blado" + i].Y = 200 + Ycorr;
_parent["blado" + i].Z = 316.24703;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 200 + Xcorr;
_parent["nusp" + i].Y = -200 + Ycorr;
_parent["nusp" + i].Z = 312.1860436712;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -200 + Xcorr;
_parent["nusp" + i].Y = -200 + Ycorr;
_parent["nusp" + i].Z = 313.9061598387;
creationXXIII = true;
} else if (((Zpassed >= 5800) & ((!creationXXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.wusp.duplicateMovieClip("wusp" + i, i);
_parent["wusp" + i].active = true;
_parent["wusp" + i].X = 0 + Xcorr;
_parent["wusp" + i].Y = 0 + Ycorr;
_parent["wusp" + i].Z = 316.24703;
_parent["wusp" + i].Zmax = 6500;
_parent["wusp" + i].redhave = true;
creationXXIV = true;
} else if (((Zpassed >= 6500) & ((!creationXXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = 0 + Xcorr;
_parent["rock" + i].Y = 0 + Ycorr;
_parent["rock" + i].Z = 316.24703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = -200 + Xcorr;
_parent["rock" + i].Y = -100 + Ycorr;
_parent["rock" + i].Z = 416.24703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = 200 + Xcorr;
_parent["rock" + i].Y = 100 + Ycorr;
_parent["rock" + i].Z = 516.24703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = 500 + Xcorr;
_parent["rock" + i].Y = 300 + Ycorr;
_parent["rock" + i].Z = 616.24703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = 200 + Xcorr;
_parent["rock" + i].Y = -150 + Ycorr;
_parent["rock" + i].Z = 716.24703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = -300 + Xcorr;
_parent["rock" + i].Y = 200 + Ycorr;
_parent["rock" + i].Z = 816.24703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = -250 + Xcorr;
_parent["rock" + i].Y = -100 + Ycorr;
_parent["rock" + i].Z = 916.24703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = 250 + Xcorr;
_parent["rock" + i].Y = 100 + Ycorr;
_parent["rock" + i].Z = 912.067154;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 50 + Xcorr;
_parent["nusp" + i].Y = -50 + Ycorr;
_parent["nusp" + i].Z = 1112.1860436712;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 200 + Xcorr;
_parent["nusp" + i].Y = 50 + Ycorr;
_parent["nusp" + i].Z = 1113.9061598387;
creationXXV = true;
} else if (((Zpassed >= 7400) & ((!creationXXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.scor.duplicateMovieClip("scor" + i, i);
_parent["scor" + i].active = true;
_parent["scor" + i].X = 400 + Xcorr;
_parent["scor" + i].Xgo = 0;
_parent["scor" + i].Y = 300 + Ycorr;
_parent["scor" + i].Ygo = 150;
_parent["scor" + i].Z = -53.687904;
_parent["scor" + i].redhave = true;
_parent["scor" + i].Zmax = 7900;
i = i + 1;
_parent.scor.duplicateMovieClip("scor" + i, i);
_parent["scor" + i].active = true;
_parent["scor" + i].X = -400 + Xcorr;
_parent["scor" + i].Xgo = 0;
_parent["scor" + i].Y = -300 + Ycorr;
_parent["scor" + i].Ygo = -150;
_parent["scor" + i].Z = -51.786543;
_parent["scor" + i].redhave = true;
_parent["scor" + i].Zmax = 7900;
creationXXVI = true;
} else if (((Zpassed >= 7900) & ((!creationXXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.fist.duplicateMovieClip("fist" + i, i);
_parent["fist" + i].active = true;
_parent["fist" + i].X = 0 + Xcorr;
_parent["fist" + i].Y = 0 + Ycorr;
_parent["fist" + i].Z = 312.45678;
_parent["fist" + i].Zmax = 9300;
_parent["fist" + i].redhave = true;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -50 + Xcorr;
_parent["nusp" + i].Y = -150 + Ycorr;
_parent["nusp" + i].Z = 1012.1860436712;
i = i + 1;
_parent.bonus.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 400 + Xcorr;
_parent["item" + i].Y = 400 + Ycorr;
_parent["item" + i].Z = 1111.89601654;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 200 + Xcorr;
_parent["nusp" + i].Y = 150 + Ycorr;
_parent["nusp" + i].Z = 1012.209385716;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 50 + Xcorr;
_parent["nusp" + i].Y = 200 + Ycorr;
_parent["nusp" + i].Z = 1213.9061598387;
creationXXVII = true;
} else if (((Zpassed >= 9300) & ((!creationXXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 50 + Xcorr;
_parent["item" + i].Y = -50 + Ycorr;
_parent["item" + i].Z = 311.04703;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 150 + Xcorr;
_parent["nusp" + i].Y = -150 + Ycorr;
_parent["nusp" + i].Z = 311.1860436712;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -50 + Xcorr;
_parent["nusp" + i].Y = -150 + Ycorr;
_parent["nusp" + i].Z = 312.1860436712;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 50 + Xcorr;
_parent["nusp" + i].Y = 100 + Ycorr;
_parent["nusp" + i].Z = 313.1860436712;
creationXXVIII = true;
} else if (((Zpassed >= 9600) & ((!creationXXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.chuck.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 0 + Xcorr;
_parent["item" + i].Y = -150 + Ycorr;
_parent["item" + i].Z = 511.04703;
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = -100 + Xcorr;
_parent["item" + i].Y = 100 + Ycorr;
_parent["item" + i].Z = 811.04703;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = 250 + Xcorr;
_parent["nusp" + i].Y = -150 + Ycorr;
_parent["nusp" + i].Z = 312.1860436712;
i = i + 1;
_parent.nusp.duplicateMovieClip("nusp" + i, i);
_parent["nusp" + i].active = true;
_parent["nusp" + i].X = -150 + Xcorr;
_parent["nusp" + i].Y = 50 + Ycorr;
_parent["nusp" + i].Z = 412.1860436712;
creationXXIX = true;
} else if ((Zpassed >= 11000) & ((!creationXXX) == true)) {
i = i + 1;
_parent.sat.duplicateMovieClip("boss", i);
_parent.boss.active = true;
_parent.boss.X = 0 + Xcorr;
_parent.boss.Y = 0 + Ycorr;
_parent.boss.Z = 511.04703;
creationXXX = true;
}
if (Ver <= 0) {
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = (0.138764500567892 + random(200)) + 100;
_parent["dust" + i].Y = (random(800) - 400) + Xcorr;
_parent["dust" + i].X = (random(1200) - 600) + Ycorr;
Ver = 4;
} else {
Ver = Ver - 1;
}
}
if (endit == true) {
endtime = endtime + 1;
if (endtime >= 300) {
finished = true;
endit = false;
}
}
if (finished == true) {
if (_root.scorebord.hideaway == true) {
_parent.player.Z = _parent.player.Z + (_parent.player.enginespeed - 2);
_parent.player.steerboost = true;
}
if (_parent.player.Z > 300) {
_root.blackscreen.toshow = true;
if (_root.blackscreen._alpha >= 100) {
stopAllSounds();
_root.checkpoint = false;
if (_root.bonusright == true) {
_root.gotoAndStop("lvlIB");
} else {
_root.gotoAndStop("lvlII");
}
}
}
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (100 - _parent.player.Y));
_parent.player.disabled = true;
_parent.croshairA._visible = false;
_parent.croshairB._visible = false;
}
if (Key.isDown(32)) {
keydown = true;
} else {
keydown = false;
}
}
Instance of Symbol 847 MovieClip "sword" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
plot = new Sound();
plot.attachSound("beam");
_visible = false;
time = 0;
H = -10;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
if (_root.laserlevel < 3) {
_root.laserlevel = _root.laserlevel + 1;
}
_parent.player.player.greenglow.gotoAndPlay(1);
_parent.player.player.greenglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 867 MovieClip "shield" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_parent.player.shield = _parent.player.shield + 20;
_parent.player.player.redglow.gotoAndPlay(1);
_parent.player.player.redglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 888 MovieClip "cap" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_root.bombstock = _root.bombstock + 1;
_parent.player.player.blueglow.gotoAndPlay(1);
_parent.player.player.blueglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 913 MovieClip "pultron" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("dra");
kets = new Sound(this);
kets.attachSound("kets");
expl = new Sound(this);
expl.attachSound("smallknal");
Xgo = 0;
Ygo = 0;
vx = 0;
vy = 0;
enginespeed = 0;
time = 0;
coolcannon = 1;
hp = 70;
dead = false;
pain = false;
opu = false;
reclo = true;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
eenshot.setVolume(volumen);
kets.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
_rotation = (_rotation + 5);
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
} else {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
} else {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
} else {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.pultron.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 10;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
_root.bonusB.playmay = true;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
if (((((Z > 160) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = -1;
}
if (((((Z < 155) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = 4;
}
if (((((Z <= 160) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
if ((!opu) == true) {
this.pultron.pultron.play();
coolcannon = coolcannon - 1;
} else if (opu == true) {
if (enginespeed < _parent.player.enginespeed) {
enginespeed = enginespeed + 1;
}
if (enginespeed > _parent.player.enginespeed) {
enginespeed = enginespeed - 1;
}
if ((X < Xgo) & (vx < 10)) {
vx = vx + 1;
}
if ((X > Xgo) & (vx > -10)) {
vx = vx - 1;
}
if ((Y < Ygo) & (vy < 10)) {
vy = vy + 1;
}
if ((Y > Ygo) & (vy > -10)) {
vy = vy - 1;
}
if (coolcannon <= 0) {
this.pultron.pultron.nextFrame();
if (reclo == false) {
mainwheather = false;
i = i + 1;
this.pultron.pultron.pultron.shot.play();
eenshot.start();
_parent.enemylaserCOP.duplicateMovieClip("ElaserC" + i, 1000000000 - ((Z - 1.460456789) * 1000000));
_parent["ElaserC" + i].active = true;
_parent["ElaserC" + i].Z = Z - 1.460456789;
_parent["ElaserC" + i].Zi = Z - 1.460456789;
_parent["ElaserC" + i].X = X;
_parent["ElaserC" + i].Xi = X;
_parent["ElaserC" + i].Y = Y;
_parent["ElaserC" + i].Yi = Y;
_parent["ElaserC" + i].Xtar = X;
_parent["ElaserC" + i].Ytar = Y;
coolcannon = 70;
}
} else if (coolcannon > 0) {
if (((!mainwheather) == true) & (reclo == true)) {
Xgo = _parent.player.X;
Ygo = _parent.player.Y;
mainwheather = true;
}
this.pultron.pultron.prevFrame();
coolcannon = coolcannon - 1;
}
}
} else if (_parent.lvl.Zpassed >= Zmax) {
coolcannon = 70;
reclo = true;
this.pultron.pultron.prevFrame();
if (enginespeed > 0) {
enginespeed = enginespeed - 1;
}
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 82 MovieClip "enemylaserCOP" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 5.273465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
if (aimed == true) {
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
}
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 937 MovieClip "obus" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
hp = 40;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
_visible = false;
dead = false;
pain = false;
D = -0.01;
t = 0;
Xref = 0;
Yref = 0;
PER = 0.1;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
t++;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
kets.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
X = X + (((-R) * PER) * Math.sin(PER * t));
Y = Y + (((-R) * PER) * Math.cos(PER * t));
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.player.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
}
dead = true;
}
}
if (Z < 0) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 953 MovieClip "scor" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("sonic");
expl = new Sound(this);
expl.attachSound("smallknal");
coolcannon = 0;
hp = 2;
vx = 0;
vy = 0;
dead = false;
pain = false;
enginespeed = 0;
H = -10;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
eenshot.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X + vx;
Y = Y + vy;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if (((Z < 90) & ((!_parent.player.dead) == true)) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 6;
} else if (((Z > 110) & ((!_parent.player.dead) == true)) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 0;
} else if (((!_parent.player.dead) == true) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 2;
} else {
enginespeed = 4;
}
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.scor.play();
pain = false;
}
if ((X < (Xgo + _parent.lvl.Xcorr)) & (vx < 10)) {
vx = vx + 1;
}
if ((X > (Xgo + _parent.lvl.Xcorr)) & (vx > -10)) {
vx = vx - 1;
}
if ((Y < (Ygo + _parent.lvl.Ycorr)) & (vy < 10)) {
vy = vy + 1;
}
if ((Y > (Ygo + _parent.lvl.Ycorr)) & (vy > -10)) {
vy = vy - 1;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
}
}
dead = true;
}
this.scor.scor.gotoAndStop(6 + Math.ceil((_parent.player.X - X) / 120));
if ((((Z < 150) & (Z > 50)) & (dead == false)) & ((!_parent.player.dead) == true)) {
coolcannon = coolcannon - 1;
if (coolcannon <= 0) {
i = i + 1;
eenshot.start();
_parent.sonic.duplicateMovieClip("sonic" + i, 1000000000 - (1000000 * (Z - 3.460456789)));
_parent["sonic" + i].active = true;
_parent["sonic" + i].Z = Z - 3.460456789;
_parent["sonic" + i].Zi = Z - 3.460456789;
_parent["sonic" + i].X = X;
_parent["sonic" + i].Xi = X;
_parent["sonic" + i].Y = Y;
_parent["sonic" + i].Yi = Y;
_parent["sonic" + i].Xtar = _parent.player.X;
_parent["sonic" + i].Ytar = _parent.player.Y;
coolcannon = 30;
}
}
}
if (Z > 250) {
this.swapDepths(0);
this.removeMovieClip();
}
}
Instance of Symbol 955 MovieClip "sonic" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 4.383465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 7;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 972 MovieClip "shad" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
expl = new Sound(this);
expl.attachSound("smallknal");
coolcannon = 0;
hp = 5;
dead = false;
pain = false;
enginespeed = 0;
H = -10;
vx = 0;
vy = 0;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if (((Z < 50) & (Z > -30)) & ((!dead) == true)) {
Z = Z - 1;
if ((X > _parent.player.X) & (vx > -10)) {
vx = vx - 1;
}
if ((X < _parent.player.X) & (vx < 10)) {
vx = vx + 1;
}
if ((Y > _parent.player.Y) & (vy > -10)) {
vy = vy - 1;
}
if ((Y < _parent.player.Y) & (vy < 10)) {
vy = vy + 1;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.shad.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 15;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 2;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
vx = 0;
vy = 0;
dead = true;
}
}
if (Z < 0) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 990 MovieClip "fist" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("dra");
expl = new Sound(this);
expl.attachSound("smallknal");
Xgo = 0;
Ygo = 0;
vx = 0;
vy = 0;
enginespeed = 0;
time = 0;
coolcannon = 0;
hp = 70;
dead = false;
pain = false;
opu = false;
reclo = true;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
eenshot.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
_rotation = (_rotation + 5);
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.fist.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 10;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
_root.bonusB.playmay = true;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
if (((((Z > 150) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = -1;
}
if (((((Z < 145) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = 4;
}
if (((((Z <= 150) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
if (enginespeed < _parent.player.enginespeed) {
enginespeed = enginespeed + 1;
}
if (enginespeed > _parent.player.enginespeed) {
enginespeed = enginespeed - 1;
}
if ((X < Xgo) & (vx < 10)) {
vx = vx + 1;
}
if ((X > Xgo) & (vx > -10)) {
vx = vx - 1;
}
if ((Y < Ygo) & (vy < 10)) {
vy = vy + 1;
}
if ((Y > Ygo) & (vy > -10)) {
vy = vy - 1;
}
if (coolcannon <= 0) {
mainwheather = false;
i = i + 1;
eenshot.start();
_parent.enemytorp.duplicateMovieClip("Etorp" + i, 1000000000 - ((Z - 1.460456789) * 1000000));
_parent["Etorp" + i].active = true;
_parent["Etorp" + i].Z = Z - 1.460456789;
_parent["Etorp" + i].X = X;
_parent["Etorp" + i].Y = Y;
coolcannon = 70;
} else if (coolcannon > 0) {
if (((!mainwheather) == true) & (reclo == true)) {
Xgo = _parent.player.X;
Ygo = _parent.player.Y;
mainwheather = true;
}
coolcannon = coolcannon - 1;
}
} else if (_parent.lvl.Zpassed >= Zmax) {
coolcannon = 70;
reclo = true;
if (enginespeed > 0) {
enginespeed = enginespeed - 1;
}
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1005 MovieClip "enemytorp" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
hp = 1;
D = -0.01;
bombspeed = 4.0021156;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
inflight.stop();
} else if ((explosion == true) & ((!souldone) == true)) {
play();
}
}
onClipEvent (enterFrame) {
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((active == true) & ((!_root.gamepaused) == true)) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
Z = Z - bombspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (((this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 6)) | (hp <= 0)) & (bombspeed > 0)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.beenhit = true;
_parent.player.shield = _parent.player.shield - 15;
inflight.stop();
play();
explosion = true;
bombspeed = 0;
}
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
Instance of Symbol 1030 MovieClip "wusp" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("sonic");
expl = new Sound(this);
expl.attachSound("smallknal");
buzz = new Sound(this);
buzz.attachSound("wasp");
coolcannon = 0;
hp = 6;
time = 0;
dead = false;
pain = false;
enginespeed = 0;
H = -10;
vx = 0;
vy = 0;
D = -0.01;
Xref = 0;
Yref = 0;
Xgo = 0;
Ygo = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
buzz.stop();
eenshot.stop();
stop();
busat = false;
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if (dead == true) {
buzz.stop();
enginespeed = 0;
} else if ((!busat) == true) {
buzz.start(0, 999);
busat = true;
}
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((!dead) == true) {
time++;
if (time > 30) {
time = 0;
Xgo = random(1000) - 500;
Ygo = random(700) - 350;
}
coolcannon = coolcannon - 1;
if (((coolcannon <= 0) & ((!_parent.player.dead) == true)) & (_parent.lvl.Zpassed < Zmax)) {
i = i + 1;
eenshot.start();
_parent.sonic.duplicateMovieClip("sonic" + i, 1000000000 - (1000000 * (Z - 3.460456789)));
_parent["sonic" + i].active = true;
_parent["sonic" + i].Z = Z - 3.460456789;
_parent["sonic" + i].Zi = Z - 3.460456789;
_parent["sonic" + i].X = X;
_parent["sonic" + i].Xi = X;
_parent["sonic" + i].Y = Y;
_parent["sonic" + i].Yi = Y;
_parent["sonic" + i].Xtar = _parent.player.X;
_parent["sonic" + i].Ytar = _parent.player.Y;
coolcannon = 30;
}
if (((Z < 70) & ((!_parent.player.dead) == true)) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 6;
} else if (((Z > 90) & ((!_parent.player.dead) == true)) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 0;
} else if (((!_parent.player.dead) == true) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 2;
} else {
enginespeed = 4;
}
if ((X > Xgo) & (vx > -20)) {
vx = vx - 2;
}
if ((X < Xgo) & (vx < 20)) {
vx = vx + 2;
}
if ((Y > Ygo) & (vy > -20)) {
vy = vy - 2;
}
if ((Y < Ygo) & (vy < 20)) {
vy = vy + 2;
}
} else {
enginespeed = 0;
}
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.wusp.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 15;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
buzz.stop();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 2;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
vx = 0;
vy = 0;
dead = true;
}
}
if (Z > 400) {
this.swapDepths(0);
buzz.stop();
this.removeMovieClip();
}
if (Z < 0) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
buzz.stop();
this.removeMovieClip();
}
} else {
this.swapDepths(0);
buzz.stop();
this.removeMovieClip();
}
}
}
Instance of Symbol 1053 MovieClip "rock" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
hp = 1;
i = 0;
H = -10;
expl = new Sound(this);
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!finalframe) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.rock.play();
pain = false;
}
if (((((!DET) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < ((3 * _height) / _xscale))) & ((!smoke) == true)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 10;
crash = true;
DET = true;
}
if ((Z < 30) & ((!crash) == true)) {
hp = hp - 10;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
}
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1058 MovieClip "chuck" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
stop();
} else if ((getitem == true) & ((!finalframe) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((getitem == true) & (Z < (_parent.player.Z - 2))) {
X = X + (0.1 * (_parent.player.X - X));
Y = Y + (0.1 * (_parent.player.Y - Y));
X = X + _parent.player.vx;
Y = Y + _parent.player.vy;
} else {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
}
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.body.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 4)) & ((!getitem) == true)) {
_root.checkpoint = true;
_root.REChits = _root.hits;
plot.start();
play();
getitem = true;
}
}
if (finalframe == true) {
this.swapDepths(0);
this.removeMovieClip();
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 61 MovieClip "dust" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = Z - _parent.player.enginespeed;
if ((!_parent.lvl.finished) == true) {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
}
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1080 MovieClip "mirror" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
hpmax = 40;
hp = hpmax;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
beam = new Sound(this);
beam.attachSound("sonic");
eenshot = new Sound(this);
eenshot.attachSound("dra");
_visible = false;
coolcannon = 60;
dead = false;
pain = false;
enginespeed = 0;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 300 * Math.exp(D * Z);
this._yscale = 300 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (hp > hpmax) {
hp = hp - 1;
}
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
kets.setVolume(volumen);
this._xscale = 300 * Math.exp(D * Z);
this._yscale = 300 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.i].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.i])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
} else {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.ii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.ii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
} else {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
} else {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiiiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.panel.panel.panel.panelout == true) {
beam.start();
if (hp < hpmax) {
hp = hp + (3 * _parent.player.laserlevel);
}
restore = true;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
} else if (this.panel.panel.panel.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (this.panel.panel.panel.respond == true) {
coolcannon = coolcannon - 1;
if (((coolcannon <= 0) & ((!dead) == true)) & ((!_parent.player.dead) == true)) {
i = i + 1;
eenshot.start();
_parent.enemylaserCOP.duplicateMovieClip("ElaserC" + i, 1000000000 - (1000000 * (Z - 1.460456789)));
_parent["ElaserC" + i].active = true;
_parent["ElaserC" + i].Z = Z - 1.460456789;
_parent["ElaserC" + i].Zi = Z - 1.460456789;
_parent["ElaserC" + i].X = X;
_parent["ElaserC" + i].Xi = X;
_parent["ElaserC" + i].Y = Y;
_parent["ElaserC" + i].Yi = Y;
_parent["ElaserC" + i].aimed = true;
_parent["ElaserC" + i].Xtar = _parent.player.X;
_parent["ElaserC" + i].Ytar = _parent.player.Y;
coolcannon = 50;
}
} else {
coolcannon = 60;
}
if (_parent.player.dead == true) {
this.panel.panel.panel.prevFrame();
} else if (openup == true) {
this.panel.panel.panel.nextFrame();
} else {
this.panel.panel.panel.prevFrame();
}
if (((restore == true) & (dead == false)) & (hp > 0)) {
this.panel.play();
restore = false;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
this.panel.panel.play();
pain = false;
}
if ((this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 0;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1102 MovieClip "sat" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
hpmax = 150;
hp = hpmax;
i = 0;
H = -10;
hitplayer = 0;
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
_visible = false;
dead = false;
pain = false;
traag = 0;
enginespeed = 0;
counttime = 0;
D = -0.01;
vx = 0;
vy = 0;
Ystaaf = 330;
Xstaaf = 450;
Xref = 0;
Yref = 0;
Xgo = 0;
Ygo = 0;
Zoom = 140;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 300 * Math.exp(D * Z);
this._yscale = 300 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if ((!creation) == true) {
_parent.mirror.duplicateMovieClip("panel1", 1000000000 - ((Z - 0.23456789) * 1000000));
_parent.mirror.duplicateMovieClip("panel2", 1000000000 - ((Z - 0.612357819) * 1000000));
_parent.mirror.duplicateMovieClip("panel3", 1000000000 - ((Z - 0.1358908753) * 1000000));
_parent.mirror.duplicateMovieClip("panel4", 1000000000 - ((Z - 0.41789253734) * 1000000));
creation = true;
}
_parent.panel1.active = true;
_parent.panel1.Y = (-Ystaaf) + Y;
_parent.panel1.X = (-Xstaaf) + X;
_parent.panel1.Z = Z - 0.234056789;
_parent.panel2.active = true;
_parent.panel2.Y = Ystaaf + Y;
_parent.panel2.X = (-Xstaaf) + X;
_parent.panel2.Z = Z - 0.612357819;
_parent.panel3.active = true;
_parent.panel3.Y = (-Ystaaf) + Y;
_parent.panel3.X = Xstaaf + X;
_parent.panel3.Z = Z - 0.1358908753;
_parent.panel4.active = true;
_parent.panel4.Y = Ystaaf + Y;
_parent.panel4.X = Xstaaf + X;
_parent.panel4.Z = Z - 0.41789253734;
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
kets.setVolume(volumen);
this._xscale = 300 * Math.exp(D * Z);
this._yscale = 300 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X + vx;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((!selecting) == true) {
_parent.panel1.openup = false;
_parent.panel2.openup = false;
_parent.panel3.openup = false;
_parent.panel4.openup = false;
}
if ((((_parent.panel1.dead == false) | (_parent.panel2.dead == false)) | (_parent.panel3.dead == false)) | (_parent.panel4.dead == false)) {
this.sat.sat.gotoAndStop(1);
secondtroef = false;
if (((!selecting) == true) & (lockon == true)) {
countlimit = random(150) + 150;
panelset = random(4);
selecting = true;
}
} else {
if ((!selecting) == true) {
countlimit = 300;
Xgo = _parent.player.X;
Ygo = _parent.player.Y;
selecting = true;
}
panelset = 5;
this.sat.sat.nextFrame();
if ((!secondtroef) == true) {
counttime = 0;
secondtroef = true;
}
}
if (selecting == true) {
counttime++;
}
if ((dead == true) | (_parent.player.dead == true)) {
enginespeed = 0;
counttime = 0;
selecting = false;
}
if ((!dead) == true) {
if (secondtroef == true) {
if (counttime >= (countlimit / 3)) {
if (goback == true) {
if (Z < Zoom) {
Z = Z + 12.0539074;
} else {
selecting = false;
counttime = 0;
goback = false;
}
} else if ((Z > -10) & ((!_parent.player.dead) == true)) {
Z = Z - 12.0539074;
} else if (_parent.player.dead == true) {
enginespeed = 4;
} else {
goback = true;
}
}
} else if (counttime >= countlimit) {
selecting = false;
counttime = 0;
}
}
if (panelset == 0) {
if (_parent.panel1.dead == false) {
Xgo = Xstaaf;
Ygo = Ystaaf;
} else {
selecting = false;
}
}
if (panelset == 1) {
if (_parent.panel2.dead == false) {
Xgo = Xstaaf;
Ygo = -Ystaaf;
} else {
selecting = false;
}
}
if (panelset == 2) {
if (_parent.panel3.dead == false) {
Xgo = -Xstaaf;
Ygo = Ystaaf;
} else {
selecting = false;
}
}
if (panelset == 3) {
if (_parent.panel4.dead == false) {
Xgo = -Xstaaf;
Ygo = -Ystaaf;
} else {
selecting = false;
}
}
if ((Math.abs(((-_parent.lvl.Xcorr) + X) - Xgo) <= 10) & (Math.abs(((-_parent.lvl.Ycorr) + Y) - Ygo) <= 10)) {
if (panelset == 0) {
_parent.panel1.openup = true;
} else if (panelset == 1) {
_parent.panel2.openup = true;
} else if (panelset == 2) {
_parent.panel3.openup = true;
} else if (panelset == 3) {
_parent.panel4.openup = true;
}
}
if ((((!secondtroef) == true) & ((!dead) == true)) & ((!_parent.player.dead) == true)) {
vx = 0;
vy = 0;
if (((-_parent.lvl.Xcorr) + X) < Xgo) {
X = X + 10;
}
if (((-_parent.lvl.Xcorr) + X) > Xgo) {
X = X - 10;
}
if (((-_parent.lvl.Ycorr) + Y) < Ygo) {
Y = Y + 10;
}
if (((-_parent.lvl.Ycorr) + Y) > Ygo) {
Y = Y - 10;
}
} else if (((secondtroef == true) & ((!dead) == true)) & ((!_parent.player.dead) == true)) {
if (((X - _parent.lvl.Xcorr) < Xgo) & (vx < 30)) {
vx = vx + 3;
}
if (((X - _parent.lvl.Xcorr) > Xgo) & (vx > -30)) {
vx = vx - 3;
}
if (((Y - _parent.lvl.Ycorr) < Ygo) & (vy < 30)) {
vy = vy + 3;
}
if (((Y - _parent.lvl.Ycorr) > Ygo) & (vy > -30)) {
vy = vy - 3;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.i])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
} else {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.ii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
} else {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
} else {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.i])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.ii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
this.sat.play();
pain = false;
}
hitplayer = hitplayer - 1;
if ((((hitplayer <= 0) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 20)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 20;
_parent.player.beenhit = true;
hitplayer = 70;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.bonus.playmay = true;
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
dead = true;
}
}
if (_parent.player.dead == true) {
enginespeed = 2;
}
if (dead == true) {
_parent.lvl.endit = true;
enginespeed = 0;
}
if ((((Z > Zoom) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
enginespeed = 0;
}
if ((((Z < (Zoom - 5)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
enginespeed = 3;
}
if ((((Z <= Zoom) & (Z > 0)) & ((!dead) == true)) & ((!_parent.player.dead) == true)) {
lockon = true;
if (enginespeed < _parent.player.enginespeed) {
enginespeed = enginespeed + 1;
}
if (enginespeed > _parent.player.enginespeed) {
enginespeed = enginespeed - 1;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1105 MovieClip "bonus" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
stop();
} else if ((getitem == true) & ((!finalframe) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((getitem == true) & (Z < (_parent.player.Z - 2))) {
X = X + (0.1 * (_parent.player.X - X));
Y = Y + (0.1 * (_parent.player.Y - Y));
X = X + _parent.player.vx;
Y = Y + _parent.player.vy;
} else {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
}
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.body.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 4)) & ((!getitem) == true)) {
_root.bonusright = true;
plot.start();
play();
getitem = true;
}
}
if (finalframe == true) {
this.swapDepths(0);
this.removeMovieClip();
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Symbol 1110 MovieClip Frame 1
stop();
Symbol 1124 MovieClip Frame 1
stop();
Symbol 1128 MovieClip Frame 1
stop();
Symbol 1138 MovieClip Frame 1
stop();
Instance of Symbol 1135 MovieClip "total" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
bring = new Sound(this);
bring.attachSound("bring");
coin = new Sound(this);
coin.attachSound("coin");
hits = _root.hitstotal + 1;
gotoAndStop(_root.hitstotal + 1);
}
onClipEvent (enterFrame) {
if (hits > (_root.hitstotal + 1)) {
counting = 2;
hits = hits - 1;
}
if (hits < (_root.hitstotal + 1)) {
counting = 2;
coin.start();
hits = hits + 1;
}
if (_parent.noscore == true) {
_parent.spacepress._visible = true;
} else if (counting >= 1) {
_parent.spacepress._visible = false;
} else if (_parent._alpha > 0) {
_parent.spacepress._visible = true;
}
if (hits == (_root.hitstotal + 1)) {
if (_root.extraship == true) {
_parent.extraship._visible = true;
bring.start();
_root.lives = _root.lives + 1;
_root.extraship = false;
}
}
gotoAndStop(hits);
if (counting > 0) {
counting = counting - 1;
}
}
Instance of Symbol 1137 MovieClip "extraship" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 120 MovieClip "spacepress" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("itemfull");
_visible = false;
}
onClipEvent (enterFrame) {
if (((_visible == true) & Key.isDown(32)) & (spacedown == false)) {
if ((!_parent.hideaway) == true) {
ding.start();
}
_parent.hideaway = true;
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Symbol 1156 MovieClip Frame 1
stop();
Symbol 1161 MovieClip Frame 1
stop();
Symbol 1161 MovieClip Frame 81
uplaying = false;
Symbol 1166 MovieClip Frame 1
stop();
Symbol 1166 MovieClip Frame 81
uplaying = false;
Symbol 1182 MovieClip Frame 1
stop();
Instance of Symbol 1194 MovieClip in Symbol 1195 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1213 MovieClip Frame 1
stop();
Instance of Symbol 1057 MovieClip "body" in Symbol 1213 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1211 MovieClip in Symbol 1213 MovieClip Frame 20
onClipEvent (load) {
this.gotoAndStop(_parent.seqhit);
}
Symbol 1213 MovieClip Frame 72
stop();
finalframe = true;
Symbol 1214 MovieClip Frame 1
stop();
Instance of Symbol 779 MovieClip "player" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
beenhit = false;
shield = 100;
FF = 0;
H = -10;
D = -0.01;
eenshot = new Sound(this.player.shield);
eenshot.attachSound("blaster");
crash = new Sound(this);
crash.attachSound("glass");
nobomb = new Sound(this);
nobomb.attachSound("lamb");
tweeshot = new Sound(this.player.shield);
tweeshot.attachSound("ion");
drieshot = new Sound(this.player.shield);
drieshot.attachSound("plasma");
motortwee = new Sound(this.player.blueglow);
motortwee.attachSound("straalmotor");
motordrie = new Sound(this.player.blueglow);
motordrie.attachSound("straalmotorX2");
expl = new Sound();
expl.attachSound("smallknal");
shotbomb = false;
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
Yref = 0;
Xref = 0;
Ycheck = 0;
t = 0;
i = 0;
e = 0;
vy = 0;
vx = 0;
Xar = 0;
Yar = 0;
volumen = 100;
crashplaytime = 0.055;
coolcannon = 0;
enginepower = 200;
enginespeed = 1;
if (_root.checkpoint == true) {
X = 0;
Y = 50;
Z = 0;
} else {
X = 0;
Y = -230;
Z = 0;
}
this.swapDepths(1000000000 - (Z * 1000000));
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
ampl = 0;
}
onClipEvent (enterFrame) {
if (_root.invertion == true) {
up = 40;
down = 38;
} else {
down = 40;
up = 38;
}
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
this.swapDepths(1000000000 - (Z * 1000000));
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
if (bomstock > 99) {
bombstock = bombstock - 1;
}
if (shield > 100) {
shield = shield - 1;
}
if (shield <= 0) {
ampl = 0;
dead = true;
}
if (_root.gamepaused == true) {
motortwee.stop();
motordrie.stop();
eenshot.stop();
crash.stop();
this.boom.stop();
nobomb.stop();
tweeshot.stop();
drieshot.stop();
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = false;
}
if ((!_root.gamepaused) == true) {
t++;
X = X + vx;
Y = Y + vy;
verY = -Math.floor(Y / 36);
verX = -Math.floor(X / 52);
if ((dead == true) & (Y < 160)) {
if ((!crashtoplayed) == true) {
crash.start(crashplaytime);
crashtoplayed = true;
}
_rotation = (_rotation + 20);
} else if ((dead == true) & (this.player._alpha > 0)) {
fish = true;
enginespeed = 0;
enginepower = 0;
this.boom.boomplaying = true;
_parent.vol = _parent.vol - 20;
this.player._alpha = this.player._alpha - 20;
expl.start();
vx = 0;
vy = 0;
_root.blackscreen.toshow = true;
motortwee.stop();
motordrie.stop();
} else if ((dead == true) & (this.player._alpha <= 0)) {
enginespeed = 0;
enginepower = 0;
FF = FF + 1;
if (FF >= 100) {
_root.lives = _root.lives - 1;
_root.bombstock = 5;
_root.laserlevel = 1;
stopAllSounds();
if (_root.lives > -1) {
_root.play();
}
}
}
if ((((Key.isDown(90) & (Zdown == false)) & (shotbomb == false)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.bombstock > 0) {
i = i + 1;
_parent.torp.duplicateMovieClip("torp" + i, i);
_parent["torp" + i].active = true;
this.activebomb = _parent["torp" + i];
_root.bombstock = _root.bombstock - 1;
shotbomb = true;
} else {
nobomb.start();
}
}
if ((shotbomb == true) & (Zdown == true)) {
prego = true;
}
if ((((Key.isDown(90) & (Zdown == false)) & (prego == true)) & ((!dead) == true)) & ((!disabled) == true)) {
this.activebomb.prego = true;
shotbomb = false;
prego = false;
}
if (((Key.isDown(65) & (coolcannon <= 0)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.laserlevel == 1) {
eenshot.setVolume(100);
eenshot.start();
} else if (_root.laserlevel == 2) {
tweeshot.setVolume(40);
tweeshot.start();
} else if (_root.laserlevel == 3) {
drieshot.setVolume(50);
drieshot.start();
}
i = i + 1;
_parent.laser.duplicateMovieClip("laser" + i, i);
_parent["laser" + i].active = true;
_parent["laser" + i].Z = Z + 3.078965;
_parent["laser" + i].Yref = Yref;
_parent["laser" + i].Xref = Xref;
coolcannon = 7;
}
if (coolcannon > 0) {
coolcannon = coolcannon - 1;
}
if (ampl > 0) {
ampl = ampl - 0.2;
}
if (Math.abs(ampl) < 1) {
ampl = 0;
}
if (Ycheck < 0) {
Y = Y + 2;
Ycheck = Ycheck + 2;
}
if (Ycheck > 0) {
Y = Y - 2;
Ycheck = Ycheck - 2;
}
Y = Y + (ampl * Math.cos((Math.PI * t) / 12));
Ycheck = Ycheck + (ampl * Math.cos((Math.PI * t) / 12));
if ((beenhit == true) & ((!dead) == true)) {
crash.start(crashplaytime);
this.player.shield._visible = true;
this.player.shield._alpha = 100;
ampl = 20;
beenhit = false;
}
this.player.xhoek = Math.floor(verX + Xar);
if ((((Key.isDown(37) & (!Key.isDown(39))) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Xar > -5) {
Xar = Xar - 0.25;
}
if (Xar < -5) {
Xar = Xar + 0.25;
}
} else if ((((Key.isDown(39) & (!Key.isDown(37))) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Xar > 5) {
Xar = Xar - 0.25;
}
if (Xar < 5) {
Xar = Xar + 0.25;
}
} else {
if (Xar > 0) {
Xar = Xar - 0.5;
}
if (Xar < 0) {
Xar = Xar + 0.5;
}
}
this.player.yhoek = Math.floor(verY + Yar);
if ((((Key.isDown(down) & (!Key.isDown(up))) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Yar > -5) {
Yar = Yar - 0.25;
}
if (Yar < -5) {
Yar = Yar + 0.25;
}
} else if ((((Key.isDown(up) & (!Key.isDown(down))) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Yar > 5) {
Yar = Yar - 0.25;
}
if (Yar < 5) {
Yar = Yar + 0.25;
}
} else {
if ((Yar > 0) & (!(((dead == true) & (Y < 200)) & (Yar < 5)))) {
Yar = Yar - 0.5;
}
if ((Yar < 0) | (((dead == true) & (Y < 200)) & (Yar < 5))) {
Yar = Yar + 0.5;
}
}
if ((X <= -270) & ((!disabled) == true)) {
Lwall = true;
} else {
Lwall = false;
}
if ((X >= 270) & ((!disabled) == true)) {
Rwall = true;
} else {
Rwall = false;
}
if ((Y <= -180) & ((!disabled) == true)) {
Uwall = true;
} else {
Uwall = false;
}
if ((Y >= 180) & ((!disabled) == true)) {
Dwall = true;
} else {
Dwall = false;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(83) & (enginepower > 0)) & ((boosting == true) | (altdown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerboost == true)) {
motortwee.setVolume(volumen);
if ((!motordrieplaying) == true) {
motortwee.stop();
motordrie.start(0, 99999999999);
motoreenplaying = false;
motortweeplaying = false;
motordrieplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * 5);
boosting = true;
braking = false;
this.player.enginescreen = 1;
if (Z < 31) {
Z = Z + 3.1;
}
enginespeed = 4;
} else if (((((Key.isDown(68) & (enginepower > 0)) & ((braking == true) | (ctrldown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerbrake == true)) {
vx = 0;
vy = 0;
motortwee.setVolume(0.3 * volumen);
if ((!motoreenplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motortweeplaying = false;
motoreenplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * -5);
boosting = false;
braking = true;
this.player.enginescreen = -1;
if (Z > -31) {
Z = Z - 3.1;
}
enginespeed = 0;
} else {
motortwee.setVolume(0.7 * volumen);
if ((!motortweeplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = true;
}
if (enginepower < 200) {
enginepower = enginepower + 1;
}
braking = false;
boosting = false;
this.player.enginescreen = 0;
Cmaak = 1;
if (Z < 0) {
Z = Z + 3.1;
}
if (Z > 0) {
Z = Z - 3.1;
}
if (!((dead == true) & (fish == true))) {
enginespeed = 2;
}
}
if ((!disabled) == true) {
}
if (((((Key.isDown(39) & (!Key.isDown(37))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Rwall == true) {
vx = 0;
} else {
if (vx < (10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref < (300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
if (Xref > (300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
} else if (((((Key.isDown(37) & (!Key.isDown(39))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Lwall == true) {
vx = 0;
} else {
if (vx < (-10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (-10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref > (-300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < (-300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
} else {
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if (Xref > 0) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < 0) {
Xref = Xref + (15 * Cmaak);
}
if (vx < 0) {
vx = vx + (enginespeed / 4);
}
if (vx > 0) {
vx = vx - (enginespeed / 4);
}
if (Math.abs(vx) < (enginespeed / 4)) {
vx = 0;
}
}
Xref = Cmaak * (X + ((300 * (Xar - (X / 52))) / 5));
Yref = Cmaak * (Y + ((200 * (Yar - (Y / 36))) / 5));
if (((Dwall == true) & (vy > 0)) | ((Uwall == true) & (vy < 0))) {
vy = 0;
}
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(up) & (!Key.isDown(down))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Dwall == true) {
vy = 0;
} else {
if (vy < (10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else if (((((Key.isDown(down) & (!Key.isDown(up))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Uwall == true) {
vy = 0;
} else {
if (vy < (-10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (-10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else {
if (((Uwall == true) & (vy < 0)) | ((Dwall == true) & (vy > 0))) {
vy = 0;
}
if ((vy < 0) | (((dead == true) & (Y < 200)) & (vy < 10))) {
vy = vy + (enginespeed / 4);
}
if ((vy > 0) & (!(((dead == true) & (Y < 200)) & (vy < 10)))) {
vy = vy - (enginespeed / 4);
}
if (Math.abs(vy) < (enginespeed / 4)) {
vy = 0;
}
}
if (Key.isDown(83)) {
altdown = true;
} else {
altdown = false;
}
if (Key.isDown(68)) {
ctrldown = true;
} else {
ctrldown = false;
}
if (Key.isDown(65)) {
spacedown = true;
} else {
spacedown = false;
}
if (Key.isDown(90)) {
Zdown = true;
} else {
Zdown = false;
}
}
ii = i - 1;
iii = i - 2;
iiii = i - 3;
iiiii = i - 4;
iiiiii = i - 5;
iiiiiii = i - 6;
iiiiiiii = i - 7;
iiiiiiiii = i - 8;
iiiiiiiiii = i - 9;
iiiiiiiiiii = i - 10;
iiiiiiiiiiii = i - 11;
iiiiiiiiiiiii = i - 12;
iiiiiiiiiiiiii = i - 13;
iiiiiiiiiiiiiii = i - 14;
iiiiiiiiiiiiiiii = i - 15;
}
Instance of Symbol 786 MovieClip "laser" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
eenshot = new Sound(this);
eenshot.attachSound("blaster");
H = -10;
D = -0.01;
vx = 0;
vy = 0;
vr = 0;
gotoAndStop(_parent.player.laserlevel);
lightspeed = 15.699465768;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = (_parent.player.X + (2 * _parent.player.player.xhoek)) - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 5.378965;
_rotation = _parent.player._rotation;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
Z = Z + lightspeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
_rotation = (_rotation + vr);
if (active == true) {
if (lightspeed < 0) {
_alpha = (_alpha - 5);
}
Z = Z - _parent.player.enginespeed;
_visible = true;
if (((((Z >= 250) | (absorb == true)) | (Math.abs(_y) > 300)) | (Math.abs(_x) > 400)) | (_alpha < 0)) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 788 MovieClip "croshairB" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 100;
X = _parent.player.X - _parent.player.Xref;
Y = _parent.player.Y - _parent.player.Yref;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 200;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if (_parent.player.dead == true) {
_visible = false;
}
}
Instance of Symbol 788 MovieClip "croshairA" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 200;
X = _parent.player.X;
Y = _parent.player.Y;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 70;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if (_parent.player.dead == true) {
_visible = false;
}
}
Instance of Symbol 803 MovieClip "torp" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
H = -10;
D = -0.01;
bombspeed = 5.0021156;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 1.97086;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (explosion == true) {
play();
}
}
onClipEvent (enterFrame) {
Xw = (10 * _width) / _xscale;
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
inflight.setVolume(volumen);
if ((!_root.gamepaused) == true) {
Z = Z + bombspeed;
if (active == true) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (((Z >= 200) | (prego == true)) & (bombspeed > 0)) {
_parent.player.prego = false;
_parent.player.shotbomb = false;
inflight.stop();
X = X + (Math.exp((-D) * Z) * Xref);
Xref = 0;
Y = Y + (Math.exp((-D) * Z) * Yref);
Yref = 0;
play();
explosion = true;
bombspeed = 0;
}
if (souldone == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 59 MovieClip "lvl" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
H = -10;
Ver = 0;
Xcorr = 0;
Ycorr = 0;
endtime = 0;
points = 0;
_root.seqhit = 0;
_root.blackscreen.toshow = false;
_root.bonusright = false;
i = 0;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
_visible = false;
if (_root.checkpoint == true) {
_parent.player.X = 0;
_parent.player.Y = 50;
_parent.player.Z = 0;
_parent.vol = 0;
Zpassed = 10011;
} else {
_parent.player.X = 0;
_parent.player.Y = -230;
_parent.player.Z = 0;
_parent.vol = 100;
Zpassed = -300;
_parent.player.disabled = true;
}
}
onClipEvent (enterFrame) {
if ((Zpassed > 0) & (Zpassed < 10)) {
_parent.player.disabled = false;
}
if (Zpassed < 0) {
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (50 - _parent.player.Y));
}
if (((((Key.isDown(32) & (keydown == false)) & (Zpassed >= 0)) & ((!_parent.player.dead) == true)) & ((!finished) == true)) & ((!endit) == true)) {
if ((!_root.gamepaused) == true) {
_root.gamepaused = true;
} else {
_root.gamepaused = false;
}
}
if ((!_root.gamepaused) == true) {
Zpassed = Zpassed + _parent.player.enginespeed;
Xcorr = Xcorr - _parent.player.vx;
Ycorr = Ycorr - _parent.player.vy;
dH = dH - _parent.player.enginespeed;
if (((Zpassed >= 0) & ((!creationI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationI = true;
} else if (((Zpassed >= 150) & ((!creationII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = 200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationII = true;
} else if (((Zpassed >= 300) & ((!creationIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = -200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationIII = true;
} else if (((Zpassed >= 450) & ((!creationIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -300 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationIV = true;
} else if (((Zpassed >= 600) & ((!creationV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 300 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationV = true;
} else if (((Zpassed >= 750) & ((!creationVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = -300 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationVI = true;
} else if (((Zpassed >= 900) & ((!creationVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 400 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationVII = true;
} else if (((Zpassed >= 1050) & ((!creationVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -400 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationVIII = true;
} else if (((Zpassed >= 1200) & ((!creationIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -200 + Xcorr;
_parent["ring" + i].Y = 200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationIX = true;
} else if (((Zpassed >= 1350) & ((!creationX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = -400 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationX = true;
} else if (((Zpassed >= 1500) & ((!creationXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -200 + Xcorr;
_parent["ring" + i].Y = -200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXI = true;
} else if (((Zpassed >= 1800) & ((!creationXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 400 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXII = true;
} else if (((Zpassed >= 1900) & ((!creationXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -200 + Xcorr;
_parent["ring" + i].Y = 100 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXIII = true;
} else if (((Zpassed >= 2000) & ((!creationXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -400 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXIV = true;
} else if (((Zpassed >= 2100) & ((!creationXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -200 + Xcorr;
_parent["ring" + i].Y = -100 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXV = true;
} else if (((Zpassed >= 2200) & ((!creationXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = -200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXVI = true;
} else if (((Zpassed >= 2300) & ((!creationXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 200 + Xcorr;
_parent["ring" + i].Y = -100 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXVII = true;
} else if (((Zpassed >= 2400) & ((!creationXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 400 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXVIII = true;
} else if (((Zpassed >= 2500) & ((!creationXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 200 + Xcorr;
_parent["ring" + i].Y = 100 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXIX = true;
} else if (((Zpassed >= 2600) & ((!creationXX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = 200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXX = true;
} else if (((Zpassed >= 2700) & ((!creationXXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -200 + Xcorr;
_parent["ring" + i].Y = 100 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXI = true;
} else if (((Zpassed >= 2800) & ((!creationXXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXII = true;
} else if (((Zpassed >= 3100) & ((!creationXXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -400 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXIII = true;
} else if (((Zpassed >= 3200) & ((!creationXXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -200 + Xcorr;
_parent["ring" + i].Y = -200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXIV = true;
} else if (((Zpassed >= 3300) & ((!creationXXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXV = true;
} else if (((Zpassed >= 3400) & ((!creationXXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 200 + Xcorr;
_parent["ring" + i].Y = 200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXVI = true;
} else if (((Zpassed >= 3500) & ((!creationXXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 400 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXVII = true;
} else if (((Zpassed >= 3600) & ((!creationXXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 200 + Xcorr;
_parent["ring" + i].Y = -200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXVIII = true;
} else if (((Zpassed >= 3700) & ((!creationXXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXIX = true;
} else if (((Zpassed >= 3800) & ((!creationXXX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -200 + Xcorr;
_parent["ring" + i].Y = 200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXX = true;
} else if (((Zpassed >= 4100) & ((!creationXXXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -400 + Xcorr;
_parent["ring" + i].Y = 200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXXI = true;
} else if (((Zpassed >= 4200) & ((!creationXXXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -200 + Xcorr;
_parent["ring" + i].Y = -200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXXII = true;
} else if (((Zpassed >= 4300) & ((!creationXXXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = 200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 0 + Xcorr;
_parent["item" + i].Y = -250 + Ycorr;
_parent["item" + i].Z = 309.23071670528;
creationXXXIII = true;
} else if (((Zpassed >= 4400) & ((!creationXXXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 200 + Xcorr;
_parent["ring" + i].Y = -200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXXIV = true;
} else if (((Zpassed >= 4500) & ((!creationXXXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 400 + Xcorr;
_parent["ring" + i].Y = 200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXXV = true;
} else if (((Zpassed >= 4650) & ((!creationXXXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXXVI = true;
} else if (((Zpassed >= 5000) & ((!creationXXXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 300 + Xcorr;
_parent["ring" + i].Y = 200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXXVII = true;
} else if (((Zpassed >= 5100) & ((!creationXXXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 0 + Xcorr;
_parent["ring" + i].Y = 200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXXVIII = true;
} else if (((Zpassed >= 5200) & ((!creationXXXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = -300 + Xcorr;
_parent["ring" + i].Y = 0 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXXIX = true;
} else if (((Zpassed >= 5300) & ((!creationXXXX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.ring.duplicateMovieClip("ring" + i, i);
_parent["ring" + i].active = true;
_parent["ring" + i].X = 50 + Xcorr;
_parent["ring" + i].Y = -200 + Ycorr;
_parent["ring" + i].Z = 311.0470311672;
creationXXXX = true;
} else if (Zpassed >= 5800) {
endit = true;
}
if (Ver <= 0) {
i = i + 1;
Ver = 4;
} else {
Ver = Ver - 1;
}
}
if (Ver <= 0) {
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = (0.138764500567892 + random(200)) + 100;
_parent["dust" + i].X = (random(1200) - 600) + Xcorr;
_parent["dust" + i].Y = (random(800) - 400) + Ycorr;
Ver = 4;
} else {
Ver = Ver - 1;
}
if (endit == true) {
endtime = endtime + 1;
if (endtime >= 50) {
finished = true;
endit = false;
}
}
if (finished == true) {
if (_root.scorebord.hideaway == true) {
_parent.player.Z = _parent.player.Z + (_parent.player.enginespeed - 2);
_parent.player.steerboost = true;
}
if (_parent.player.Z > 300) {
_root.blackscreen.toshow = true;
}
if (_root.blackscreen._alpha >= 100) {
stopAllSounds();
_root.gotoAndStop("lvlII");
}
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (100 - _parent.player.Y));
_parent.player.disabled = true;
_parent.croshairA._visible = false;
_parent.croshairB._visible = false;
}
if (Key.isDown(32)) {
keydown = true;
} else {
keydown = false;
}
}
Instance of Symbol 847 MovieClip "sword" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
plot = new Sound();
plot.attachSound("beam");
_visible = false;
time = 0;
H = -10;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
if (_root.laserlevel < 3) {
_root.laserlevel = _root.laserlevel + 1;
}
_parent.player.player.greenglow.gotoAndPlay(1);
_parent.player.player.greenglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 867 MovieClip "shield" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_parent.player.shield = _parent.player.shield + 20;
_parent.player.player.redglow.gotoAndPlay(1);
_parent.player.player.redglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 888 MovieClip "cap" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_root.bombstock = _root.bombstock + 1;
_parent.player.player.blueglow.gotoAndPlay(1);
_parent.player.player.blueglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1195 MovieClip "dust" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(3) + 1);
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
fff = 0.1 * (random(3) + 2);
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = Z - _parent.player.enginespeed;
Z = Z - fff;
if ((!_parent.lvl.finished) == true) {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
}
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1213 MovieClip "ring" in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
vx = 0;
vy = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
stop();
} else if ((getitem == true) & ((!finalframe) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((getitem == true) & (Z < (_parent.player.Z - 2))) {
X = X + (0.1 * (_parent.player.X - X));
Y = Y + (0.1 * (_parent.player.Y - Y));
X = X + _parent.player.vx;
Y = Y + _parent.player.vy;
} else {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
X = X + vx;
Y = Y + vy;
Z = Z - _parent.player.enginespeed;
}
if (Hflux == true) {
if (vx == 0) {
vx = 5;
}
if ((X < -400) & (vx < 0)) {
vx = 5;
}
if ((X > 400) & (vx > 0)) {
vx = -5;
}
}
if (Vflux == true) {
if (vy == 0) {
vy = 5;
}
if ((Y < -300) & (vy < 0)) {
vy = 5;
}
if ((Y > 300) & (vy > 0)) {
vy = -5;
}
}
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.body.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 4)) & ((!getitem) == true)) {
plot.start();
if (_root.seqhit < 5) {
_root.seqhit = _root.seqhit + 1;
}
seqhit = _root.seqhit;
_root.hits = _root.hits + _root.seqhit;
play();
getitem = true;
}
}
if (finalframe == true) {
this.swapDepths(0);
this.removeMovieClip();
}
if (Z < -50) {
if ((!getitem) == true) {
_root.seqhit = 0;
}
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Symbol 1236 MovieClip Frame 1
stop();
Instance of Symbol 1067 MovieClip "spot" in Symbol 1236 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 1236 MovieClip Frame 9
finalframe = true;
Symbol 1237 MovieClip Frame 1
stop();
Symbol 1240 MovieClip Frame 1
stop();
Symbol 1240 MovieClip Frame 15
kip = true;
Symbol 1240 MovieClip Frame 16
stop();
Symbol 1260 MovieClip Frame 1
stop();
Symbol 1260 MovieClip Frame 10
stop();
finalframe = true;
Instance of Symbol 1259 MovieClip in Symbol 1260 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1261 MovieClip Frame 1
stop();
Symbol 1264 MovieClip Frame 1
stop();
Symbol 1264 MovieClip Frame 15
kip = true;
Symbol 1264 MovieClip Frame 16
stop();
Symbol 1273 MovieClip Frame 1
stop();
Instance of Symbol 1272 MovieClip "amoe" in Symbol 1273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1274 MovieClip Frame 1
stop();
Symbol 1277 MovieClip Frame 1
stop();
Symbol 1277 MovieClip Frame 15
kip = true;
Symbol 1277 MovieClip Frame 16
stop();
Symbol 1288 MovieClip Frame 1
stop();
Instance of Symbol 1287 MovieClip in Symbol 1288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1291 MovieClip Frame 1
stop();
Symbol 1291 MovieClip Frame 15
kip = true;
Symbol 1291 MovieClip Frame 16
stop();
Symbol 1303 MovieClip Frame 1
stop();
Instance of Symbol 1302 MovieClip "squid" in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1317 MovieClip Frame 1
stop();
Instance of Symbol 320 MovieClip "core" in Symbol 1317 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1317 MovieClip Frame 15
kip = true;
Symbol 1317 MovieClip Frame 16
stop();
Symbol 1325 MovieClip Frame 1
stop();
Instance of Symbol 1324 MovieClip "jelly" in Symbol 1325 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1328 MovieClip Frame 1
stop();
Symbol 1328 MovieClip Frame 15
kip = true;
Symbol 1328 MovieClip Frame 16
stop();
Symbol 1331 MovieClip Frame 1
stop();
Instance of Symbol 1330 MovieClip "rock" in Symbol 1331 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1334 MovieClip Frame 1
stop();
Symbol 1334 MovieClip Frame 15
kip = true;
Symbol 1334 MovieClip Frame 16
stop();
Symbol 1337 MovieClip Frame 1
stop();
Symbol 1340 MovieClip Frame 1
stop();
Symbol 1340 MovieClip Frame 15
kip = true;
Symbol 1340 MovieClip Frame 16
stop();
Symbol 1343 MovieClip Frame 1
stop();
Symbol 1346 MovieClip Frame 1
stop();
Symbol 1346 MovieClip Frame 15
kip = true;
Symbol 1346 MovieClip Frame 16
stop();
Symbol 1349 MovieClip Frame 1
stop();
Symbol 1352 MovieClip Frame 1
stop();
Symbol 1352 MovieClip Frame 15
kip = true;
Symbol 1352 MovieClip Frame 16
stop();
Symbol 1367 MovieClip Frame 1
stop();
Instance of Symbol 1357 MovieClip in Symbol 1367 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1367 MovieClip Frame 64
stop();
souldone = true;
Symbol 1375 MovieClip Frame 1
stop();
Symbol 1378 MovieClip Frame 1
stop();
Symbol 1383 MovieClip Frame 1
stop();
Symbol 1383 MovieClip Frame 15
kip = true;
Symbol 1383 MovieClip Frame 16
stop();
Symbol 1384 MovieClip Frame 1
stop();
Instance of Symbol 1383 MovieClip "wheelA" in Symbol 1384 MovieClip Frame 1
onClipEvent (load) {
dead = false;
wheelbe = true;
expl = new Sound(this);
expl.attachSound("smallknal");
i = 0;
hp = 3;
}
onClipEvent (enterFrame) {
active = _parent._parent.active;
if (_root.gamepaused == true) {
} else {
_rotation = (_rotation + (5 * _parent.enginespeed));
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
this.wheel.play();
pain = false;
}
if ((hp <= 0) & (dead == false)) {
i = i + 1;
_parent._parent._parent.shield.duplicateMovieClip("itemA" + i, 1000000000 - (1000000 * (_parent._parent.Z - 2.864387986)));
_parent._parent._parent["itemA" + i].active = true;
_parent._parent._parent["itemA" + i].Z = _parent._parent.Z - 2.864387986;
_parent._parent._parent["itemA" + i].X = _parent._parent.X - 330;
_parent._parent._parent["itemA" + i].Y = _parent._parent.Y - 330;
this.play();
expl.start();
dead = true;
}
if (active == true) {
}
}
Instance of Symbol 1383 MovieClip "wheelB" in Symbol 1384 MovieClip Frame 1
onClipEvent (load) {
wheelbe = true;
dead = false;
expl = new Sound(this);
expl.attachSound("smallknal");
i = 0;
hp = 3;
}
onClipEvent (enterFrame) {
active = _parent._parent.active;
if (_root.gamepaused == true) {
} else {
_rotation = (_rotation + (5 * _parent.enginespeed));
}
if (active == true) {
if (((pain == true) & (dead == false)) & (hp > 0)) {
this.wheel.play();
pain = false;
}
if ((hp <= 0) & (dead == false)) {
i = i + 1;
_parent._parent._parent.shield.duplicateMovieClip("itemB" + i, 1000000000 - (1000000 * (_parent._parent.Z - 2.864387986)));
_parent._parent._parent["itemB" + i].active = true;
_parent._parent._parent["itemB" + i].Z = _parent._parent.Z - 2.864387986;
_parent._parent._parent["itemB" + i].X = _parent._parent.X + 330;
_parent._parent._parent["itemB" + i].Y = _parent._parent.Y - 330;
this.play();
expl.start();
dead = true;
}
}
}
Instance of Symbol 1383 MovieClip "wheelC" in Symbol 1384 MovieClip Frame 1
onClipEvent (load) {
wheelbe = true;
dead = false;
expl = new Sound(this);
expl.attachSound("smallknal");
hp = 3;
i = 0;
}
onClipEvent (enterFrame) {
active = _parent._parent.active;
if (_root.gamepaused == true) {
} else {
_rotation = (_rotation + (5 * _parent.enginespeed));
}
if (active == true) {
if (((pain == true) & (dead == false)) & (hp > 0)) {
this.wheel.play();
pain = false;
}
if ((hp <= 0) & (dead == false)) {
i = i + 1;
_parent._parent._parent.shield.duplicateMovieClip("itemC" + i, 1000000000 - (1000000 * (_parent._parent.Z - 2.864387986)));
_parent._parent._parent["itemC" + i].active = true;
_parent._parent._parent["itemC" + i].Z = _parent._parent.Z - 2.864387986;
_parent._parent._parent["itemC" + i].X = _parent._parent.X - 330;
_parent._parent._parent["itemC" + i].Y = _parent._parent.Y + 330;
this.play();
expl.start();
dead = true;
}
}
}
Instance of Symbol 1383 MovieClip "wheelD" in Symbol 1384 MovieClip Frame 1
onClipEvent (load) {
wheelbe = true;
dead = false;
expl = new Sound(this);
expl.attachSound("smallknal");
i = 0;
hp = 3;
}
onClipEvent (enterFrame) {
active = _parent._parent.active;
if (_root.gamepaused == true) {
} else {
_rotation = (_rotation + (5 * _parent.enginespeed));
}
if (active == true) {
if (((pain == true) & (dead == false)) & (hp > 0)) {
this.wheel.play();
pain = false;
}
if ((hp <= 0) & (dead == false)) {
i = i + 1;
_parent._parent._parent.shield.duplicateMovieClip("itemD" + i, 1000000000 - (1000000 * (_parent._parent.Z - 2.864387986)));
_parent._parent._parent["itemD" + i].active = true;
_parent._parent._parent["itemD" + i].Z = _parent._parent.Z - 2.864387986;
_parent._parent._parent["itemD" + i].X = _parent._parent.X + 330;
_parent._parent._parent["itemD" + i].Y = _parent._parent.Y + 330;
this.play();
expl.start();
dead = true;
}
}
}
Symbol 1391 MovieClip Frame 1
stop();
Instance of Symbol 1384 MovieClip "sub" in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
enginespeed = _parent.enginespeed;
if (melding > 0) {
melding = melding - 1;
}
}
Instance of Symbol 1067 MovieClip "spot" in Symbol 1391 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1391 MovieClip Frame 62
stop();
Symbol 1398 MovieClip Frame 1
stop();
Instance of Symbol 1067 MovieClip "spot" in Symbol 1398 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1399 MovieClip Frame 1
stop();
Symbol 1402 MovieClip Frame 1
stop();
Symbol 1402 MovieClip Frame 15
kip = true;
Symbol 1402 MovieClip Frame 16
stop();
Symbol 1403 MovieClip Frame 1
stop();
Instance of Symbol 779 MovieClip "player" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
beenhit = false;
shield = 100;
FF = 0;
H = -10;
D = -0.01;
eenshot = new Sound(this.player.shield);
eenshot.attachSound("blaster");
crash = new Sound(this);
crash.attachSound("glass");
bumb = new Sound(this.boom);
bumb.attachSound("boing");
nobomb = new Sound(this);
nobomb.attachSound("lamb");
tweeshot = new Sound(this.player.shield);
tweeshot.attachSound("ion");
drieshot = new Sound(this.player.shield);
drieshot.attachSound("plasma");
motortwee = new Sound(this.player.blueglow);
motortwee.attachSound("straalmotor");
motordrie = new Sound(this.player.blueglow);
motordrie.attachSound("straalmotorX2");
expl = new Sound();
expl.attachSound("smallknal");
shotbomb = false;
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
Yref = 0;
Xref = 0;
Ycheck = 0;
Xcheck = 0;
t = 0;
i = 0;
e = 0;
vy = 0;
vx = 0;
Xar = 0;
Yar = 0;
amoekling = 0;
groundstop = 0;
volumen = 100;
crashplaytime = 0.055;
coolcannon = 0;
enginepower = 200;
enginespeed = 1;
if (_root.checkpoint == true) {
X = 0;
Y = 50;
Z = 0;
} else {
X = 0;
Y = -230;
Z = 0;
}
this.swapDepths(1000000000 - (Z * 1000000));
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
ampl = 0;
}
onClipEvent (enterFrame) {
if (_root.invertion == true) {
up = 40;
down = 38;
} else {
down = 40;
up = 38;
}
if (((!disabled) == true) & ((!dead) == true)) {
Y = Y - (_parent.lvl.Ycorr + Y);
}
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
this.swapDepths(1000000000 - (Z * 1000000));
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
if (bomstock > 99) {
bombstock = bombstock - 1;
}
if (amoekling > 0) {
amoekling = amoekling - 1;
}
if (shield > 100) {
shield = shield - 1;
}
if (shield <= 0) {
ampl = 0;
dead = true;
}
if (_root.gamepaused == true) {
motortwee.stop();
motordrie.stop();
eenshot.stop();
crash.stop();
this.boom.stop();
nobomb.stop();
tweeshot.stop();
drieshot.stop();
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = false;
}
if ((!_root.gamepaused) == true) {
t++;
X = X + vx;
Y = Y + vy;
verY = -Math.floor(Y / 36);
verX = -Math.floor(X / 52);
if ((dead == true) & (Y < 160)) {
if ((!crashtoplayed) == true) {
crash.start(crashplaytime);
crashtoplayed = true;
}
_rotation = (_rotation + 20);
} else if ((dead == true) & (this.player._alpha > 0)) {
fish = true;
enginespeed = 0;
enginepower = 0;
this.boom.boomplaying = true;
_parent.vol = _parent.vol - 20;
this.player._alpha = this.player._alpha - 20;
expl.start();
vx = 0;
vy = 0;
_root.blackscreen.toshow = true;
motortwee.stop();
motordrie.stop();
} else if ((dead == true) & (this.player._alpha <= 0)) {
enginespeed = 0;
enginepower = 0;
FF = FF + 1;
if (FF >= 100) {
_root.lives = _root.lives - 1;
_root.bombstock = 5;
_root.laserlevel = 1;
stopAllSounds();
if (_root.lives >= 0) {
_root.play();
} else {
_root.hitstotal = _root.hitstotal + _root.hits;
_root.gotoAndStop("end");
}
}
}
if ((((Key.isDown(90) & (Zdown == false)) & (shotbomb == false)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.bombstock > 0) {
i = i + 1;
_parent.torp.duplicateMovieClip("torp" + i, i);
_parent["torp" + i].active = true;
this.activebomb = _parent["torp" + i];
_root.bombstock = _root.bombstock - 1;
shotbomb = true;
} else {
nobomb.start();
}
}
if ((shotbomb == true) & (Zdown == true)) {
prego = true;
}
if ((((Key.isDown(90) & (Zdown == false)) & (prego == true)) & ((!dead) == true)) & ((!disabled) == true)) {
this.activebomb.prego = true;
shotbomb = false;
prego = false;
}
if (((Key.isDown(65) & (coolcannon <= 0)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.laserlevel == 1) {
eenshot.setVolume(100);
eenshot.start();
} else if (_root.laserlevel == 2) {
tweeshot.setVolume(40);
tweeshot.start();
} else if (_root.laserlevel == 3) {
drieshot.setVolume(50);
drieshot.start();
}
i = i + 1;
_parent.laser.duplicateMovieClip("laser" + i, i);
_parent["laser" + i].active = true;
_parent["laser" + i].Z = Z + 3.078965;
_parent["laser" + i].Yref = Yref;
_parent["laser" + i].Xref = Xref;
coolcannon = 7;
}
if (coolcannon > 0) {
coolcannon = coolcannon - 1;
}
if (ampl > 0) {
ampl = ampl - 0.2;
}
if (Math.abs(ampl) < 1) {
ampl = 0;
}
if (Xcheck < 0) {
X = X + 2;
Xcheck = Xcheck + 2;
}
if (Xcheck > 0) {
X = X - 2;
Xcheck = Xcheck - 2;
}
X = X + (ampl * Math.cos((Math.PI * t) / 12));
Xcheck = Xcheck + (ampl * Math.cos((Math.PI * t) / 12));
if (ampl > 0) {
if (Dwall == true) {
vx = vx + Math.sin((Math.PI * t) / 10);
} else {
vy = vy + Math.sin((Math.PI * t) / 10);
}
}
if ((beenhit == true) & ((!dead) == true)) {
crash.start(crashplaytime);
this.player.shield._visible = true;
this.player.shield._alpha = 100;
ampl = 20;
beenhit = false;
}
this.player.xhoek = Math.floor(verX + Xar);
if ((((Key.isDown(37) & (!Key.isDown(39))) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Xar > -5) {
Xar = Xar - 0.25;
}
if (Xar < -5) {
Xar = Xar + 0.25;
}
} else if ((((Key.isDown(39) & (!Key.isDown(37))) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Xar > 5) {
Xar = Xar - 0.25;
}
if (Xar < 5) {
Xar = Xar + 0.25;
}
} else {
if (Xar > 0) {
Xar = Xar - 0.5;
}
if (Xar < 0) {
Xar = Xar + 0.5;
}
}
this.player.yhoek = Math.floor(verY + Yar);
if ((((Key.isDown(down) & (!Key.isDown(up))) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Yar > -5) {
Yar = Yar - 0.25;
}
if (Yar < -5) {
Yar = Yar + 0.25;
}
} else if ((((((Key.isDown(up) & (groundstop <= 0)) & (!Key.isDown(down))) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) & ((!Dwall) == true)) {
if (Yar > 5) {
Yar = Yar - 0.25;
}
if (Yar < 5) {
Yar = Yar + 0.25;
}
} else {
if ((Yar > 0) & (!(((dead == true) & (Y < 200)) & (Yar < 5)))) {
Yar = Yar - 0.5;
}
if ((Yar < 0) | (((dead == true) & (Y < 200)) & (Yar < 5))) {
Yar = Yar + 0.5;
}
}
if ((X <= -270) & ((!disabled) == true)) {
Lwall = true;
} else {
Lwall = false;
}
if ((X >= 270) & ((!disabled) == true)) {
Rwall = true;
} else {
Rwall = false;
}
if ((Y <= -180) & ((!disabled) == true)) {
Uwall = true;
} else {
Uwall = false;
}
if ((Y >= 180) & ((!disabled) == true)) {
Dwall = true;
} else {
Dwall = false;
}
if (Y > 181) {
Y = Y - 1;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(83) & (enginepower > 0)) & ((boosting == true) | (altdown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerboost == true)) {
motortwee.setVolume(volumen);
if ((!motordrieplaying) == true) {
motortwee.stop();
motordrie.start(0, 99999999999);
motoreenplaying = false;
motortweeplaying = false;
motordrieplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * 5);
boosting = true;
braking = false;
this.player.enginescreen = 1;
if (Z < 31) {
_parent.shadown.Z = _parent.shadown.Z + 3.1;
Z = Z + 3.1;
}
enginespeed = 4;
} else if (((((Key.isDown(68) & (enginepower > 0)) & ((braking == true) | (ctrldown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerbrake == true)) {
vx = 0;
vy = 0;
motortwee.setVolume(0.3 * volumen);
if ((!motoreenplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motortweeplaying = false;
motoreenplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * -5);
boosting = false;
braking = true;
this.player.enginescreen = -1;
if (Z > -31) {
_parent.shadown.Z = _parent.shadown.Z - 3.1;
Z = Z - 3.1;
}
enginespeed = 0;
} else {
motortwee.setVolume(0.7 * volumen);
if ((!motortweeplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = true;
}
if (enginepower < 200) {
enginepower = enginepower + 1;
}
braking = false;
boosting = false;
this.player.enginescreen = 0;
Cmaak = 1;
if (Z < 0) {
_parent.shadown.Z = _parent.shadown.Z + 3.1;
Z = Z + 3.1;
}
if (Z > 0) {
_parent.shadown.Z = _parent.shadown.Z - 3.1;
Z = Z - 3.1;
}
if (!((dead == true) & (fish == true))) {
enginespeed = 2;
}
}
if ((!disabled) == true) {
}
if (((((Key.isDown(39) & (!Key.isDown(37))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Rwall == true) {
vx = 0;
} else {
if (vx < (10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref < (300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
if (Xref > (300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
} else if (((((Key.isDown(37) & (!Key.isDown(39))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Lwall == true) {
vx = 0;
} else {
if (vx < (-10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (-10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref > (-300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < (-300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
} else {
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if (Xref > 0) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < 0) {
Xref = Xref + (15 * Cmaak);
}
if (vx < 0) {
vx = vx + (enginespeed / 4);
}
if (vx > 0) {
vx = vx - (enginespeed / 4);
}
if (Math.abs(vx) < (enginespeed / 4)) {
vx = 0;
}
}
Xref = Cmaak * (X + ((300 * (Xar - (X / 52))) / 5));
Yref = Cmaak * (Y + ((200 * (Yar - (Y / 36))) / 5));
if ((Uwall == true) & (vy < 0)) {
vy = 0;
}
if ((Dwall == true) & (vy > 0)) {
Yar = 0;
vy = 0;
}
if (groundstop > 0) {
groundstop = groundstop - 1;
}
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if ((!disabled) == true) {
}
if ((((((Key.isDown(up) & (!Key.isDown(down))) & (groundstop <= 0)) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Dwall == true) {
Yar = 0;
vy = 0;
} else {
if (vy < (10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else if (((((Key.isDown(down) & (!Key.isDown(up))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Uwall == true) {
vy = 0;
} else {
if (vy < (-10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (-10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else {
if ((Uwall == true) & (vy < 0)) {
vy = 0;
} else if ((Dwall == true) & (vy > 0)) {
Yar = 0;
vy = 0;
}
if ((vy < 0) | (((dead == true) & (Y < 200)) & (vy < 10))) {
vy = vy + (enginespeed / 4);
}
if ((vy > 0) & (!(((dead == true) & (Y < 200)) & (vy < 10)))) {
vy = vy - (enginespeed / 4);
}
if (Math.abs(vy) < (enginespeed / 4)) {
vy = 0;
}
}
if (Key.isDown(83)) {
altdown = true;
} else {
altdown = false;
}
if (Key.isDown(68)) {
ctrldown = true;
} else {
ctrldown = false;
}
if (Key.isDown(65)) {
spacedown = true;
} else {
spacedown = false;
}
if (Key.isDown(90)) {
Zdown = true;
} else {
Zdown = false;
}
}
ii = i - 1;
iii = i - 2;
iiii = i - 3;
iiiii = i - 4;
iiiiii = i - 5;
iiiiiii = i - 6;
iiiiiiii = i - 7;
iiiiiiiii = i - 8;
iiiiiiiiii = i - 9;
iiiiiiiiiii = i - 10;
iiiiiiiiiiii = i - 11;
iiiiiiiiiiiii = i - 12;
iiiiiiiiiiiiii = i - 13;
iiiiiiiiiiiiiii = i - 14;
iiiiiiiiiiiiiiii = i - 15;
}
Instance of Symbol 786 MovieClip "laser" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
eenshot = new Sound(this);
eenshot.attachSound("blaster");
H = -10;
D = -0.01;
vx = 0;
vy = 0;
vr = 0;
laserbe = true;
gotoAndStop(_parent.player.laserlevel);
lightspeed = 15.699465768;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = (_parent.player.X + (2 * _parent.player.player.xhoek)) - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 5.378965;
_rotation = _parent.player._rotation;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
Z = Z + lightspeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
_rotation = (_rotation + vr);
if (active == true) {
if (lightspeed < 0) {
_alpha = (_alpha - 5);
}
Z = Z - _parent.player.enginespeed;
_visible = true;
if (((_y / Math.exp(D * Z)) > (380 + _parent.lvl.Ycorr)) & (Yref > 0)) {
absorb = true;
}
if (((((Z >= 250) | (absorb == true)) | (Math.abs(_y) > 300)) | (Math.abs(_x) > 400)) | (_alpha < 0)) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 788 MovieClip "croshairB" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 100;
X = _parent.player.X - _parent.player.Xref;
Y = _parent.player.Y - _parent.player.Yref;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 200;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if ((_y / Math.exp(D * Z)) > (400 + _parent.lvl.Ycorr)) {
_visible = false;
} else if ((_parent.player.dead == true) | (_parent.lvl.finished == true)) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 788 MovieClip "croshairA" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 200;
X = _parent.player.X;
Y = _parent.player.Y;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 70;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if ((_y / Math.exp(D * Z)) > (400 + _parent.lvl.Ycorr)) {
_visible = false;
} else if ((_parent.player.dead == true) | (_parent.lvl.finished == true)) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 803 MovieClip "torp" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
bebomb = true;
inflight = new Sound(this);
inflight.attachSound("tiefall");
H = -10;
D = -0.01;
bombspeed = 5.0021156;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 1.97086;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (explosion == true) {
play();
}
}
onClipEvent (enterFrame) {
Xw = (10 * _width) / _xscale;
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
inflight.setVolume(volumen);
if ((!_root.gamepaused) == true) {
Z = Z + bombspeed;
if (active == true) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (((_y / Math.exp(D * Z)) > (380 + _parent.lvl.Ycorr)) & (Yref > 0)) {
prego = true;
}
if (((Z >= 200) | (prego == true)) & (bombspeed > 0)) {
_parent.player.prego = false;
_parent.player.shotbomb = false;
inflight.stop();
X = X + (Math.exp((-D) * Z) * Xref);
Xref = 0;
Y = Y + (Math.exp((-D) * Z) * Yref);
Yref = 0;
play();
explosion = true;
bombspeed = 0;
}
if (souldone == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 164 MovieClip "inque" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 7.383465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 5;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 59 MovieClip "lvl" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
H = -10;
Ver = 0;
Xcorr = 0;
Ycorr = 0;
endtime = 0;
points = 0;
i = 0;
_visible = false;
_root.blackscreen.toshow = false;
i = i + 1;
_parent.plant.duplicateMovieClip("obj" + i, 699861235.499432);
_parent["obj" + i].active = true;
_parent["obj" + i].Z = 0.138764500567892 + random(300);
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.plant.duplicateMovieClip("obj" + i, 699861235.499432);
_parent["obj" + i].active = true;
_parent["obj" + i].Z = 0.138764500567892 + random(300);
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.plant.duplicateMovieClip("obj" + i, 699861235.499432);
_parent["obj" + i].active = true;
_parent["obj" + i].Z = 0.138764500567892 + random(300);
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.plant.duplicateMovieClip("obj" + i, 699861235.499432);
_parent["obj" + i].active = true;
_parent["obj" + i].Z = 0.138764500567892 + random(300);
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.plant.duplicateMovieClip("obj" + i, 699861235.499432);
_parent["obj" + i].active = true;
_parent["obj" + i].Z = 0.138764500567892 + random(300);
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.plant.duplicateMovieClip("obj" + i, 699861235.499432);
_parent["obj" + i].active = true;
_parent["obj" + i].Z = 0.138764500567892 + random(300);
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.plant.duplicateMovieClip("obj" + i, 699861235.499432);
_parent["obj" + i].active = true;
_parent["obj" + i].Z = 0.138764500567892 + random(300);
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.plant.duplicateMovieClip("obj" + i, 699861235.499432);
_parent["obj" + i].active = true;
_parent["obj" + i].Z = 0.138764500567892 + random(300);
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.plant.duplicateMovieClip("obj" + i, 699861235.499432);
_parent["obj" + i].active = true;
_parent["obj" + i].Z = 0.138764500567892 + random(300);
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 380 + Ycorr;
if (_root.checkpoint == true) {
_parent.player.X = 0;
_parent.player.Y = 0;
_parent.player.Z = 0;
_parent.vol = 0;
Zpassed = 11011;
} else {
_parent.player.X = 0;
_parent.player.Y = -230;
_parent.player.Z = 0;
_parent.vol = 100;
Zpassed = -100;
_parent.player.disabled = true;
}
}
onClipEvent (enterFrame) {
if ((Zpassed > 0) & (Zpassed < 10)) {
_parent.player.disabled = false;
}
if (Zpassed < 0) {
if (_parent.player.Y < 0) {
_parent.player.Y = _parent.player.Y + 5;
}
}
if (((((Key.isDown(32) & (keydown == false)) & (Zpassed >= 0)) & ((!_parent.player.dead) == true)) & ((!finished) == true)) & ((!endit) == true)) {
if ((!_root.gamepaused) == true) {
_root.gamepaused = true;
} else {
_root.gamepaused = false;
}
}
if ((!_root.gamepaused) == true) {
Zpassed = Zpassed + _parent.player.enginespeed;
Xcorr = Xcorr - _parent.player.vx;
Ycorr = Ycorr - _parent.player.vy;
dH = dH - _parent.player.enginespeed;
if (_root.thebottalk == true) {
if (Zpassed < 400) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(7);
} else if ((Zpassed >= 400) & (Zpassed < 11000)) {
_root.thebot._visible = false;
} else if ((Zpassed >= 11000) & (Zpassed < 12000)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(8);
} else if ((Zpassed >= 12000) & ((!endit) == true)) {
_root.thebot._visible = false;
} else if ((endit == true) & ((!finished) == true)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(9);
} else if (finished == true) {
_root.thebot._visible = false;
}
}
if (((Zpassed >= 200) & ((!creationI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.snal.duplicateMovieClip("snal" + i, i);
_parent["snal" + i].active = true;
_parent["snal" + i].X = 200 + Xcorr;
_parent["snal" + i].Z = 355.74032675454;
_parent["snal" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = -200 + Xcorr;
_parent["oyst" + i].Z = 309.643780962798;
_parent["oyst" + i].Y = 380 + Ycorr;
creationI = true;
} else if (((Zpassed >= 400) & ((!creationII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.snal.duplicateMovieClip("snal" + i, i);
_parent["snal" + i].active = true;
_parent["snal" + i].X = -400 + Xcorr;
_parent["snal" + i].Z = 351.74032675454;
_parent["snal" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = 400 + Xcorr;
_parent["oyst" + i].Z = 309.643780962798;
_parent["oyst" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -300 + Xcorr;
_parent["jelly" + i].Y = -200 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
creationII = true;
} else if (((Zpassed >= 500) & ((!creationIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = 0 + Xcorr;
_parent["oyst" + i].Z = 310.46265652237;
_parent["oyst" + i].Y = 380 + Ycorr;
_parent["oyst" + i].greenhave = true;
creationIII = true;
} else if (((Zpassed >= 800) & ((!creationIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 200 + Xcorr;
_parent["sstr" + i].Y = -100 + Ycorr;
_parent["sstr" + i].Z = 301.346789657607;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -300 + Xcorr;
_parent["sstr" + i].Y = 150 + Ycorr;
_parent["sstr" + i].Z = 302.865627267037;
creationIV = true;
} else if (((Zpassed >= 900) & ((!creationV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 300 + Xcorr;
_parent["sstr" + i].Y = 200 + Ycorr;
_parent["sstr" + i].Z = 301.346789657607;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -250 + Xcorr;
_parent["sstr" + i].Y = -150 + Ycorr;
_parent["sstr" + i].Z = 302.437627387455;
creationV = true;
} else if (((Zpassed >= 1000) & ((!creationVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 300 + Xcorr;
_parent["sstr" + i].Y = 70 + Ycorr;
_parent["sstr" + i].Z = 301.346789657607;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -300 + Xcorr;
_parent["sstr" + i].Y = -70 + Ycorr;
_parent["sstr" + i].Z = 302.398758473486;
creationVI = true;
} else if (((Zpassed >= 1100) & ((!creationVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.snal.duplicateMovieClip("snal" + i, i);
_parent["snal" + i].active = true;
_parent["snal" + i].X = -300 + Xcorr;
_parent["snal" + i].Z = 346.74032675454;
_parent["snal" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = 300 + Xcorr;
_parent["oyst" + i].redhave = true;
_parent["oyst" + i].Z = 310.46265652237;
_parent["oyst" + i].Y = 380 + Ycorr;
creationVII = true;
} else if (((Zpassed >= 1200) & ((!creationVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.snal.duplicateMovieClip("snal" + i, i);
_parent["snal" + i].active = true;
_parent["snal" + i].X = 400 + Xcorr;
_parent["snal" + i].Z = 351.74032675454;
_parent["snal" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = 0 + Xcorr;
_parent["oyst" + i].Z = 310.46265652237;
_parent["oyst" + i].Y = 380 + Ycorr;
creationVIII = true;
} else if (((Zpassed >= 1400) & ((!creationIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = 100 + Xcorr;
_parent["amoe" + i].Y = -200 + Ycorr;
_parent["amoe" + i].Z = 309.15890238938;
creationIX = true;
} else if (((Zpassed >= 1500) & ((!creationX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = -300 + Xcorr;
_parent["amoe" + i].Y = 200 + Ycorr;
_parent["amoe" + i].Z = 309.840937865858;
i = i + 1;
_parent.snal.duplicateMovieClip("snal" + i, i);
_parent["snal" + i].active = true;
_parent["snal" + i].X = -100 + Xcorr;
_parent["snal" + i].Z = 355.74032675454;
_parent["snal" + i].Y = 380 + Ycorr;
creationX = true;
} else if (((Zpassed >= 1600) & ((!creationXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = 300 + Xcorr;
_parent["amoe" + i].Y = 200 + Ycorr;
_parent["amoe" + i].Z = 309.840937865858;
creationXI = true;
} else if (((Zpassed >= 1700) & ((!creationXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = -300 + Xcorr;
_parent["amoe" + i].Y = -200 + Ycorr;
_parent["amoe" + i].Z = 309.840937865858;
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 350 + Xcorr;
_parent["jelly" + i].Y = 100 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
creationXII = true;
} else if (((Zpassed >= 1800) & ((!creationXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.squid.duplicateMovieClip("squid" + i, i);
_parent["squid" + i].active = true;
_parent["squid" + i].X = 0 + Xcorr;
_parent["squid" + i].Y = 0 + Ycorr;
_parent["squid" + i].Z = 311.428264560964;
_parent["squid" + i].bluehave = true;
_parent["squid" + i].Zmax = 4000;
creationXIII = true;
} else if (((Zpassed >= 2100) & ((!creationXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 400 + Xcorr;
_parent["jelly" + i].Y = -100 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
creationXIV = true;
} else if (((Zpassed >= 2400) & ((!creationXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -300 + Xcorr;
_parent["jelly" + i].Y = 200 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
creationXV = true;
} else if (((Zpassed >= 2800) & ((!creationXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 300 + Xcorr;
_parent["jelly" + i].Y = 150 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
creationXVI = true;
} else if (((Zpassed >= 3300) & ((!creationXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -350 + Xcorr;
_parent["jelly" + i].Y = -100 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
creationXVII = true;
} else if (((Zpassed >= 3700) & ((!creationXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 350 + Xcorr;
_parent["jelly" + i].Y = -100 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
creationXVIII = true;
} else if (((Zpassed >= 4000) & ((!creationXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 200 + Xcorr;
_parent["sstr" + i].Y = -100 + Ycorr;
_parent["sstr" + i].Z = 301.346789657607;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -300 + Xcorr;
_parent["sstr" + i].Y = 150 + Ycorr;
_parent["sstr" + i].Z = 352.865627267037;
creationXIX = true;
} else if (((Zpassed >= 4100) & ((!creationXX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 300 + Xcorr;
_parent["sstr" + i].Y = 200 + Ycorr;
_parent["sstr" + i].Z = 301.346789657607;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -300 + Xcorr;
_parent["sstr" + i].Y = 200 + Ycorr;
_parent["sstr" + i].Z = 352.865627267037;
creationXX = true;
} else if (((Zpassed >= 4200) & ((!creationXXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].redhave = true;
_parent["sstr" + i].X = 300 + Xcorr;
_parent["sstr" + i].Y = -200 + Ycorr;
_parent["sstr" + i].Z = 301.346789657607;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -300 + Xcorr;
_parent["sstr" + i].Y = -200 + Ycorr;
_parent["sstr" + i].Z = 352.865627267037;
creationXXI = true;
} else if (((Zpassed >= 4300) & ((!creationXXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -300 + Xcorr;
_parent["jelly" + i].Y = 200 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
creationXXII = true;
} else if (((Zpassed >= 4400) & ((!creationXXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 400 + Xcorr;
_parent["jelly" + i].Y = 300 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
creationXXIII = true;
} else if (((Zpassed >= 4500) & ((!creationXXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 200 + Xcorr;
_parent["jelly" + i].Y = 0 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 0 + Xcorr;
_parent["jelly" + i].Y = -100 + Ycorr;
_parent["jelly" + i].Z = 315.776858394865;
creationXXIV = true;
} else if (((Zpassed >= 4700) & ((!creationXXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = 200 + Xcorr;
_parent["oyst" + i].Y = 380 + Ycorr;
_parent["oyst" + i].Z = 307.239878953257;
creationXXV = true;
} else if (((Zpassed >= 4800) & ((!creationXXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = -400 + Xcorr;
_parent["oyst" + i].Y = 380 + Ycorr;
_parent["oyst" + i].Z = 309.643780962798;
creationXXVI = true;
} else if (((Zpassed >= 5000) & ((!creationXXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.head.duplicateMovieClip("head" + i, i);
_parent["head" + i].X = -100 + Xcorr;
_parent["head" + i].Xi = -100 + Xcorr;
_parent["head" + i].Y = 300 + Ycorr;
_parent["head" + i].Z = 307.239878953257;
_parent["head" + i].active = true;
_parent["head" + i].redhave = true;
creationXXVII = true;
} else if (((Zpassed >= 5200) & ((!creationXXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 300 + Xcorr;
_parent["sstr" + i].Y = -200 + Ycorr;
_parent["sstr" + i].Z = 301.346789657607;
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -200 + Xcorr;
_parent["jelly" + i].Y = 100 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 250 + Xcorr;
_parent["jelly" + i].Y = 300 + Ycorr;
_parent["jelly" + i].Z = 314.736547854856;
creationXXVIII = true;
} else if (((Zpassed >= 5300) & ((!creationXXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = 100 + Xcorr;
_parent["amoe" + i].Y = 0 + Ycorr;
_parent["amoe" + i].Z = 309.15890238938;
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = -100 + Xcorr;
_parent["amoe" + i].Y = 150 + Ycorr;
_parent["amoe" + i].Z = 359.15890238938;
creationXXIX = true;
} else if (((Zpassed >= 5400) & ((!creationXXX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = 200 + Xcorr;
_parent["amoe" + i].Y = -200 + Ycorr;
_parent["amoe" + i].Z = 309.15890238938;
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = -300 + Xcorr;
_parent["amoe" + i].Y = 300 + Ycorr;
_parent["amoe" + i].Z = 359.15890238938;
creationXXX = true;
} else if (((Zpassed >= 5500) & ((!creationXXXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = -200 + Xcorr;
_parent["amoe" + i].Y = -200 + Ycorr;
_parent["amoe" + i].Z = 309.15890238938;
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = 300 + Xcorr;
_parent["amoe" + i].Y = 300 + Ycorr;
_parent["amoe" + i].Z = 359.15890238938;
creationXXXI = true;
} else if (((Zpassed >= 5600) & ((!creationXXXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = 100 + Xcorr;
_parent["amoe" + i].Y = -100 + Ycorr;
_parent["amoe" + i].Z = 309.15890238938;
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = -300 + Xcorr;
_parent["amoe" + i].Y = -200 + Ycorr;
_parent["amoe" + i].Z = 359.15890238938;
creationXXXII = true;
} else if (((Zpassed >= 5700) & ((!creationXXXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = -150 + Xcorr;
_parent["amoe" + i].Y = 200 + Ycorr;
_parent["amoe" + i].Z = 309.15890238938;
i = i + 1;
_parent.amoe.duplicateMovieClip("amoe" + i, i);
_parent["amoe" + i].active = true;
_parent["amoe" + i].X = 200 + Xcorr;
_parent["amoe" + i].Y = -300 + Ycorr;
_parent["amoe" + i].Z = 359.15890238938;
creationXXXIII = true;
} else if (((Zpassed >= 5900) & ((!creationXXXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.head.duplicateMovieClip("head" + i, i);
_parent["head" + i].X = 200 + Xcorr;
_parent["head" + i].Xi = 200 + Xcorr;
_parent["head" + i].Y = 0 + Ycorr;
_parent["head" + i].Z = 307.239878953257;
_parent["head" + i].active = true;
_parent["head" + i].bluehave = true;
creationXXXIV = true;
} else if (((Zpassed >= 6000) & ((!creationXXXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 300 + Xcorr;
_parent["sstr" + i].Y = -200 + Ycorr;
_parent["sstr" + i].Z = 301.346789657607;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -300 + Xcorr;
_parent["sstr" + i].Y = -200 + Ycorr;
_parent["sstr" + i].Z = 351.342767863577;
i = i + 1;
_parent.bonus.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 300 + Xcorr;
_parent["item" + i].Y = 100 + Ycorr;
_parent["item" + i].Z = 411.04703;
creationXXXV = true;
} else if (((Zpassed >= 6100) & ((!creationXXXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 300 + Xcorr;
_parent["sstr" + i].Y = 200 + Ycorr;
_parent["sstr" + i].Z = 301.346789657607;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -300 + Xcorr;
_parent["sstr" + i].Y = 200 + Ycorr;
_parent["sstr" + i].Z = 351.342767863577;
creationXXXVI = true;
} else if (((Zpassed >= 6200) & ((!creationXXXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.star.duplicateMovieClip("star" + i, i);
_parent["star" + i].active = true;
_parent["star" + i].coolcannon = 0;
_parent["star" + i].X = -300 + Xcorr;
_parent["star" + i].Xgo = -300 + Xcorr;
_parent["star" + i].Y = 200 + Ycorr;
_parent["star" + i].Ygo = -200 + Ycorr;
_parent["star" + i].Zmax = 8000;
_parent["star" + i].redhave = true;
_parent["star" + i].Z = 305.342767863577;
i = i + 1;
_parent.star.duplicateMovieClip("star" + i, i);
_parent["star" + i].active = true;
_parent["star" + i].coolcannon = 22;
_parent["star" + i].X = 300 + Xcorr;
_parent["star" + i].Xgo = 300 + Xcorr;
_parent["star" + i].Y = 200 + Ycorr;
_parent["star" + i].Ygo = -200 + Ycorr;
_parent["star" + i].Zmax = 8000;
_parent["star" + i].Z = 302.896076593894;
i = i + 1;
_parent.star.duplicateMovieClip("star" + i, i);
_parent["star" + i].active = true;
_parent["star" + i].coolcannon = 45;
_parent["star" + i].X = 0 + Xcorr;
_parent["star" + i].Xgo = 0 + Xcorr;
_parent["star" + i].Y = -200 + Ycorr;
_parent["star" + i].Ygo = 170 + Ycorr;
_parent["star" + i].Zmax = 8000;
_parent["star" + i].redhave = true;
_parent["star" + i].Z = 308.347785367637;
creationXXXVII = true;
} else if (((Zpassed >= 8200) & ((!creationXXXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 250 + Xcorr;
_parent["jelly" + i].Y = 300 + Ycorr;
_parent["jelly" + i].Z = 301.98538658496;
_parent["jelly" + i].marked = true;
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -300 + Xcorr;
_parent["jelly" + i].Y = 100 + Ycorr;
_parent["jelly" + i].redhave = true;
_parent["jelly" + i].Z = 312.7543657874;
_parent["jelly" + i].marked = true;
creationXXXVIII = true;
} else if (((Zpassed >= 8300) & ((!creationXXXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 200 + Xcorr;
_parent["jelly" + i].Y = -200 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
_parent["jelly" + i].marked = true;
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -200 + Xcorr;
_parent["jelly" + i].Y = -300 + Ycorr;
_parent["jelly" + i].Z = 310.856037878066;
_parent["jelly" + i].marked = true;
creationXXXIX = true;
} else if (((Zpassed >= 8400) & ((!creationXXXX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 300 + Xcorr;
_parent["jelly" + i].Y = 100 + Ycorr;
_parent["jelly" + i].Z = 308.478657358796;
_parent["jelly" + i].marked = true;
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 100 + Xcorr;
_parent["jelly" + i].Y = 0 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
_parent["jelly" + i].marked = true;
creationXXXX = true;
} else if (((Zpassed >= 8500) & ((!creationXXXXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -200 + Xcorr;
_parent["jelly" + i].Y = 120 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
_parent["jelly" + i].marked = true;
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -200 + Xcorr;
_parent["jelly" + i].Y = 0 + Ycorr;
_parent["jelly" + i].Z = 313.24789676373;
_parent["jelly" + i].redhave = true;
_parent["jelly" + i].marked = true;
creationXXXXI = true;
} else if (((Zpassed >= 8600) & ((!creationXXXXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -200 + Xcorr;
_parent["jelly" + i].Y = -200 + Ycorr;
_parent["jelly" + i].Z = 312.7543657874;
_parent["jelly" + i].marked = true;
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -150 + Xcorr;
_parent["jelly" + i].Y = -300 + Ycorr;
_parent["jelly" + i].Z = 311.438578378065;
_parent["jelly" + i].marked = true;
creationXXXXII = true;
} else if (((Zpassed >= 8900) & ((!creationXXXXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = -200 + Xcorr;
_parent["oyst" + i].Z = 309.643780962798;
_parent["oyst" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = 150 + Xcorr;
_parent["oyst" + i].Z = 359.643780962798;
_parent["oyst" + i].Y = 380 + Ycorr;
creationXXXXIII = true;
} else if (((Zpassed >= 9000) & ((!creationXXXXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = -100 + Xcorr;
_parent["oyst" + i].Z = 309.643780962798;
_parent["oyst" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = 0 + Xcorr;
_parent["oyst" + i].Z = 359.643780962798;
_parent["oyst" + i].Y = 380 + Ycorr;
creationXXXXIV = true;
} else if (((Zpassed >= 9100) & ((!creationXXXXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = -400 + Xcorr;
_parent["oyst" + i].Z = 309.643780962798;
_parent["oyst" + i].Y = 380 + Ycorr;
i = i + 1;
_parent.oyst.duplicateMovieClip("oyst" + i, i);
_parent["oyst" + i].active = true;
_parent["oyst" + i].X = 400 + Xcorr;
_parent["oyst" + i].Z = 359.643780962798;
_parent["oyst" + i].Y = 380 + Ycorr;
creationXXXXV = true;
} else if (((Zpassed >= 9200) & ((!creationXXXXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 300 + Xcorr;
_parent["sstr" + i].Y = 200 + Ycorr;
_parent["sstr" + i].Z = 301.346789657607;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 300 + Xcorr;
_parent["sstr" + i].Y = -200 + Ycorr;
_parent["sstr" + i].Z = 351.342767863577;
creationXXXXVI = true;
} else if (((Zpassed >= 9300) & ((!creationXXXXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -300 + Xcorr;
_parent["sstr" + i].Y = -200 + Ycorr;
_parent["sstr" + i].Z = 301.342767863577;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -300 + Xcorr;
_parent["sstr" + i].Y = 200 + Ycorr;
_parent["sstr" + i].Z = 351.342767863577;
creationXXXXVII = true;
} else if (((Zpassed >= 9400) & ((!creationXXXXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = -300 + Xcorr;
_parent["sstr" + i].Y = -200 + Ycorr;
_parent["sstr" + i].Z = 301.342767863577;
i = i + 1;
_parent.sstr.duplicateMovieClip("sstr" + i, i);
_parent["sstr" + i].active = true;
_parent["sstr" + i].X = 300 + Xcorr;
_parent["sstr" + i].Y = -200 + Ycorr;
_parent["sstr" + i].Z = 351.342767863577;
creationXXXXVIII = true;
} else if (((Zpassed >= 9700) & ((!creationXXXXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = 250 + Xcorr;
_parent["jelly" + i].Y = 200 + Ycorr;
_parent["jelly" + i].Z = 311.438578378065;
creationXXXXIX = true;
} else if (((Zpassed >= 9800) & ((!creationXXXXX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jelly.duplicateMovieClip("jelly" + i, i);
_parent["jelly" + i].active = true;
_parent["jelly" + i].X = -50 + Xcorr;
_parent["jelly" + i].Y = 100 + Ycorr;
_parent["jelly" + i].Z = 311.438578378065;
i = i + 1;
_parent.snal.duplicateMovieClip("snal" + i, i);
_parent["snal" + i].active = true;
_parent["snal" + i].X = -200 + Xcorr;
_parent["snal" + i].Z = 351.74032675454;
_parent["snal" + i].bluehave = true;
_parent["snal" + i].Y = 380 + Ycorr;
creationXXXXX = true;
} else if (((Zpassed >= 10000) & ((!creationXXXXXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.head.duplicateMovieClip("head" + i, i);
_parent["head" + i].X = -100 + Xcorr;
_parent["head" + i].Xi = -100 + Xcorr;
_parent["head" + i].Y = 300 + Ycorr;
_parent["head" + i].Z = 307.239878953257;
_parent["head" + i].active = true;
_parent["head" + i].bluehave = true;
creationXXXXXI = true;
} else if (((Zpassed >= 10500) & ((!creationXXXXXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.chuck.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 0 + Xcorr;
_parent["item" + i].Y = -150 + Ycorr;
_parent["item" + i].Z = 511.04703;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = -100 + Xcorr;
_parent["item" + i].Y = 200 + Ycorr;
_parent["item" + i].Z = 611.04703;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 200 + Xcorr;
_parent["item" + i].Y = -100 + Ycorr;
_parent["item" + i].Z = 711.04703;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 0 + Xcorr;
_parent["item" + i].Y = 0 + Ycorr;
_parent["item" + i].Z = 911.04703;
creationXXXXXII = true;
} else if ((Zpassed >= 12000) & ((!creationXXXXXIII) == true)) {
i = i + 1;
_parent.sub.duplicateMovieClip("boss", i);
_parent.boss.active = true;
_parent.boss.X = 0 + Xcorr;
_parent.boss.Y = -50 + Ycorr;
_parent.boss.Z = 511.04703;
creationXXXXXIII = true;
}
if (Zpassed >= 11000) {
if (Ver <= 0) {
i = i + 1;
_parent.rock.duplicateMovieClip("obj" + i, 1000000000 - (((300.138764500568 + (random(10) / 10)) + (random(100) / 100)) * 1000000));
_parent["obj" + i].active = true;
_parent["obj" + i].Z = (300.138764500568 + (random(10) / 10)) + (random(100) / 100);
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 370 + Ycorr;
Ver = 20;
} else {
Ver = Ver - 1;
}
} else if (Ver <= 0) {
i = i + 1;
_parent.plant.duplicateMovieClip("obj" + i, 699861235.499432);
_parent["obj" + i].active = true;
_parent["obj" + i].Z = 300.138764500568;
_parent["obj" + i].X = (random(3000) - 1500) + Xcorr;
_parent["obj" + i].Y = 380 + Ycorr;
Ver = 5;
} else {
Ver = Ver - 1;
}
}
if (endit == true) {
endtime = endtime + 1;
if (endtime >= 300) {
finished = true;
endit = false;
}
}
if (finished == true) {
if (_root.scorebord.hideaway == true) {
_parent.player.Z = _parent.player.Z + (_parent.player.enginespeed - 2);
_parent.player.steerboost = true;
}
if (_parent.player.Z > 300) {
_root.blackscreen.toshow = true;
if (_root.blackscreen._alpha >= 100) {
stopAllSounds();
_root.checkpoint = false;
if (_root.bonusright == true) {
_root.gotoAndStop("lvlIIB");
} else {
_root.gotoAndStop("lvlIII");
}
}
}
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (100 - _parent.player.Y));
_parent.player.disabled = true;
_parent.croshairA._visible = false;
_parent.croshairB._visible = false;
}
if (Key.isDown(32)) {
keydown = true;
} else {
keydown = false;
}
}
Instance of Symbol 847 MovieClip "sword" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
plot = new Sound();
plot.attachSound("beam");
_visible = false;
time = 0;
H = -10;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
if (_root.laserlevel < 3) {
_root.laserlevel = _root.laserlevel + 1;
}
_parent.player.player.greenglow.gotoAndPlay(1);
_parent.player.player.greenglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 867 MovieClip "shield" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_parent.player.shield = _parent.player.shield + 20;
_parent.player.player.redglow.gotoAndPlay(1);
_parent.player.player.redglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 888 MovieClip "cap" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_root.bombstock = _root.bombstock + 1;
_parent.player.player.blueglow.gotoAndPlay(1);
_parent.player.player.blueglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 82 MovieClip "enemylaserCOP" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 5.273465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
if (aimed == true) {
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
}
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 955 MovieClip "sonic" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 4.383465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 7;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 1005 MovieClip "enemytorp" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
hp = 1;
D = -0.01;
bombspeed = 4.0021156;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
inflight.stop();
} else if ((explosion == true) & ((!souldone) == true)) {
play();
}
}
onClipEvent (enterFrame) {
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((active == true) & ((!_root.gamepaused) == true)) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
Z = Z - bombspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (((this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 6)) | (hp <= 0)) & (bombspeed > 0)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.beenhit = true;
_parent.player.shield = _parent.player.shield - 15;
inflight.stop();
play();
explosion = true;
bombspeed = 0;
}
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
Instance of Symbol 1058 MovieClip "chuck" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
stop();
} else if ((getitem == true) & ((!finalframe) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((getitem == true) & (Z < (_parent.player.Z - 2))) {
X = X + (0.1 * (_parent.player.X - X));
Y = Y + (0.1 * (_parent.player.Y - Y));
X = X + _parent.player.vx;
Y = Y + _parent.player.vy;
} else {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
}
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.body.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 4)) & ((!getitem) == true)) {
_root.checkpoint = true;
_root.REChits = _root.hits;
plot.start();
play();
getitem = true;
}
}
if (finalframe == true) {
this.swapDepths(0);
this.removeMovieClip();
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1105 MovieClip "bonus" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
stop();
} else if ((getitem == true) & ((!finalframe) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((getitem == true) & (Z < (_parent.player.Z - 2))) {
X = X + (0.1 * (_parent.player.X - X));
Y = Y + (0.1 * (_parent.player.Y - Y));
X = X + _parent.player.vx;
Y = Y + _parent.player.vy;
} else {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
}
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.body.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 4)) & ((!getitem) == true)) {
_root.bonusright = true;
plot.start();
play();
getitem = true;
}
}
if (finalframe == true) {
this.swapDepths(0);
this.removeMovieClip();
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1224 MovieClip "plant" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = Z - _parent.player.enginespeed;
if ((!_parent.lvl.finished) == true) {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
}
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1226 MovieClip "shadow" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
H = -10;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
N = 1;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = (100 * Math.exp(D * Z)) * N;
this._yscale = ((100 * Math.exp(D * Z)) * N) * Math.exp(_parent.lvl.Ycorr / 400);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
this.swapDepths(1000000000 - ((Z + 3.17087548658938) * 1000000));
Z = _parent.player.Z;
X = _parent.player.X + (_parent.player.Xar * 3);
N = Math.exp(((-D) / 5) * (_parent.player.Y - 200));
Y = 380 + _parent.lvl.Ycorr;
if (_parent.player.dead == true) {
if (_parent.player.player._alpha > 0) {
_alpha = _parent.player.player._alpha;
} else {
_visible = false;
}
}
}
Instance of Symbol 1240 MovieClip "oyst" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
hp = 3;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
eenshot = new Sound(this);
eenshot.attachSound("sonic");
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
} else {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
} else {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
} else {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (weakpointopen == true) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.oyst.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y - 20;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y - 20;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y - 20;
}
}
dead = true;
}
}
if (((Z < 200) & (dead == false)) & ((!_parent.player.dead) == true)) {
weakpointopen = true;
this.oyst.oyst.nextFrame();
coolcannon = coolcannon - 1;
if ((coolcannon <= 0) & (this.oyst.oyst.finalframe == true)) {
i = i + 1;
eenshot.start();
_parent.sonic.duplicateMovieClip("sonic" + i, 1000000000 - (1000000 * (Z - 3.460456789)));
_parent["sonic" + i].active = true;
_parent["sonic" + i].Z = Z - 3.460456789;
_parent["sonic" + i].Zi = Z - 3.460456789;
_parent["sonic" + i].X = X;
_parent["sonic" + i].Xi = X;
_parent["sonic" + i].Y = Y;
_parent["sonic" + i].Yi = Y;
_parent["sonic" + i].Xtar = _parent.player.X;
_parent["sonic" + i].Ytar = _parent.player.Y;
coolcannon = 30;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1264 MovieClip "sstr" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
hp = 6;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
_visible = false;
dead = false;
pain = false;
i = 0;
D = -0.01;
Xref = 0;
Yref = 0;
vx = 0;
vy = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if ((!creation) == true) {
_parent.schade.duplicateMovieClip("schade" + this._name, 1000000000 - ((Z + 3.17087548658938) * 1000000));
creation = true;
}
_parent["schade" + this._name].subZ = Z;
_parent["schade" + this._name].dead = dead;
_parent["schade" + this._name].subX = X;
_parent["schade" + this._name].subY = Y - _parent.lvl.Ycorr;
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
X = X + vx;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.sstr.play();
pain = false;
}
if (((Z < 160) & ((!dead) == true)) & ((!_parent.player.dead) == true)) {
this.sstr.sstr.nextFrame();
}
if (((this.sstr.sstr.finalframe == true) & ((!dead) == true)) & ((!_parent.player.dead) == true)) {
Z = Z - 2;
if ((Y > (320 + _parent.lvl.Ycorr)) & (vy > 0)) {
vy = 0;
}
if ((X < _parent.player.X) & (vx < 10)) {
vx = vx + 1;
}
if ((X > _parent.player.X) & (vx > -10)) {
vx = vx - 1;
}
if ((Y < _parent.player.Y) & (vy < 10)) {
vy = vy + 1;
}
if ((Y > _parent.player.Y) & (vy > -10)) {
vy = vy - 1;
}
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 10;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
vx = 0;
vy = 0;
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1277 MovieClip "amoe" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
hp = 7;
i = 0;
H = -10;
letgolet = 0;
expl = new Sound(this);
expl.attachSound("smallknal");
plot = new Sound();
plot.attachSound("maeb");
_visible = false;
dead = false;
pain = false;
D = -0.01;
TT = 60;
Xvar = random(60) - 30;
Yvar = random(30) - 15;
Zvar = 0.00336250789293437 * random(30);
Xref = 0;
Yref = 0;
vx = 0;
vy = 0;
vz = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
plot.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if (_parent.player.dead == true) {
expl.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if ((!creation) == true) {
_parent.schade.duplicateMovieClip("schade" + this._name, 1000000000 - ((Z + 3.17087548658938) * 1000000));
creation = true;
}
_parent["schade" + this._name].subZ = Z;
_parent["schade" + this._name].dead = dead;
_parent["schade" + this._name].subX = X;
_parent["schade" + this._name].subY = Y - _parent.lvl.Ycorr;
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if (((locked == true) & ((!_parent.player.dead) == true)) & ((!dead) == true)) {
beenlocked = true;
Z = (_parent.player.Z - 0.636562962672677) - Zvar;
X = _parent.player.X + Xvar;
Y = _parent.player.Y + Yvar;
_parent.player.amoekling = 2;
TT = TT - 1;
if (TT <= 0) {
this.amoe.amoe.play();
plot.start();
_parent.player.shield = _parent.player.shield - 5;
_parent.player.player.shield._visible = true;
_parent.player.player.shield._alpha = 50;
TT = 100;
}
_parent.player.amoekling = 2;
} else {
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
}
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.amoe.play();
pain = false;
}
if ((((((!_parent.player.amoekling) >= 1) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) & ((!_parent.player.dead) == true)) {
locked = true;
}
if (((letgolet >= 6) | (_parent.player.dead == true)) | (dead == true)) {
Z = Z - 1;
locked = false;
}
if (((_parent.player.enginespeed > 2) & ((!beenswift) == true)) & (locked == true)) {
letgolet = letgolet + 1;
beenslow = false;
beenswift = true;
}
if (((_parent.player.enginespeed < 2) & ((!beenslow) == true)) & (locked == true)) {
letgolet = letgolet + 1;
beenswift = false;
beenslow = true;
}
if ((((Z - _parent.player.Z) < 100) & ((Z - _parent.player.Z) > -10)) & ((!beenlocked) == true)) {
triggered = true;
}
if (((Z - _parent.player.Z) <= -10) | (locked == true)) {
triggered = false;
}
if ((triggered == true) & ((!dead) == true)) {
if (_parent.player.amoekling >= 1) {
if (Y < _parent.player.Y) {
Y = Y - 5;
}
if (Y > _parent.player.Y) {
Y = Y + 5;
}
if (X < _parent.player.X) {
X = X - 5;
}
if (X > _parent.player.X) {
X = X + 5;
}
} else {
Z = Z + (0.1 * (_parent.player.Z - Z));
X = X + (0.1 * (_parent.player.X - X));
Y = Y + (0.1 * (_parent.player.Y - Y));
}
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1291 MovieClip "snal" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
hp = 3;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.player.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1317 MovieClip "squid" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("inq");
expl = new Sound(this);
expl.attachSound("smallknal");
Xgo = 0;
Ygo = 0;
vx = 0;
vy = 0;
enginespeed = 0;
time = 0;
coolcannon = 0;
hp = 100;
dead = false;
pain = false;
opu = false;
reclo = true;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 200 * Math.exp(D * Z);
this._yscale = 200 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if ((!creation) == true) {
_parent.schade.duplicateMovieClip("schade" + this._name, 1000000000 - ((Z + 3.17087548658938) * 1000000));
creation = true;
}
_parent["schade" + this._name].subZ = Z;
_parent["schade" + this._name].dead = dead;
_parent["schade" + this._name].subX = X;
_parent["schade" + this._name].subY = Y - _parent.lvl.Ycorr;
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
eenshot.setVolume(volumen);
this._xscale = 200 * Math.exp(D * Z);
this._yscale = 200 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.core.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.core.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.core.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.squid.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 10;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
_root.bonusB.playmay = true;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
if (((((Z > 150) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = -1;
}
if (((((Z < 145) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = 4;
}
if (((((Z <= 150) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
if (enginespeed < _parent.player.enginespeed) {
enginespeed = enginespeed + 1;
}
if (enginespeed > _parent.player.enginespeed) {
enginespeed = enginespeed - 1;
}
if ((Y > (220 + _parent.lvl.Ycorr)) & (vy > 0)) {
vy = 0;
}
if ((X < Xgo) & (vx < 10)) {
vx = vx + 1;
}
if ((X > Xgo) & (vx > -10)) {
vx = vx - 1;
}
if ((Y < Ygo) & (vy < 10)) {
vy = vy + 1;
}
if ((Y > Ygo) & (vy > -10)) {
vy = vy - 1;
}
if (coolcannon <= 0) {
mainwheather = false;
i = i + 1;
eenshot.start();
_parent.inque.duplicateMovieClip("inque" + i, 1000000000 - (1000000 * (Z - 1.460456789)));
_parent["inque" + i].active = true;
_parent["inque" + i].Z = Z - 1.460456789;
_parent["inque" + i].Zi = Z - 1.460456789;
_parent["inque" + i].X = X;
_parent["inque" + i].Xi = X;
_parent["inque" + i].Y = Y;
_parent["inque" + i].Yi = Y;
_parent["inque" + i].Xtar = _parent.player.X;
_parent["inque" + i].Ytar = _parent.player.Y;
coolcannon = 70;
} else if (coolcannon > 0) {
if (((!mainwheather) == true) & (reclo == true)) {
Xgo = _parent.player.X;
Ygo = _parent.player.Y;
mainwheather = true;
}
coolcannon = coolcannon - 1;
}
} else if (_parent.lvl.Zpassed >= Zmax) {
coolcannon = 70;
reclo = true;
if (enginespeed > 0) {
enginespeed = enginespeed - 1;
}
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1328 MovieClip "jelly" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
hp = 3;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if ((!creation) == true) {
_parent.schade.duplicateMovieClip("schade" + this._name, 1000000000 - ((Z + 3.17087548658938) * 1000000));
creation = true;
}
_parent["schade" + this._name].subZ = Z;
_parent["schade" + this._name].dead = dead;
_parent["schade" + this._name].subX = X;
_parent["schade" + this._name].subY = Y - _parent.lvl.Ycorr;
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.jelly.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1334 MovieClip "rock" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
hp = 3;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
movespeed = 2.13674135785264;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.rock.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
i = i + 1;
_parent.cap.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.90768543;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
}
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1340 MovieClip "tail" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
_visible = false;
dead = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_parent["schade" + this._name].subZ = Z;
_parent["schade" + this._name].dead = dead;
_parent["schade" + this._name].subX = X;
_parent["schade" + this._name].subY = Y - _parent.lvl.Ycorr;
if ((!creation) == true) {
_parent.schade.duplicateMovieClip("schade" + this._name, 1000000000 - ((Z + 3.17087548658938) * 1000000));
creation = true;
}
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
if ((!dead) == true) {
X = (Xi + (70 * Math.sin(timi / 4))) + _parent.lvl.Xcorr;
Z = Z - 1;
}
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vr = random(20) - 10;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 5;
_parent.player.beenhit = true;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
}
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1346 MovieClip "head" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
hp = 20;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
timi = 0;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
ii = i - 1;
iii = i - 2;
iiii = i - 3;
iiiii = i - 4;
iiiiii = i - 5;
if ((active == true) & ((!_root.gamepaused) == true)) {
_parent["schade" + this._name].subZ = Z;
_parent["schade" + this._name].dead = dead;
_parent["schade" + this._name].subX = X;
_parent["schade" + this._name].subY = Y - _parent.lvl.Ycorr;
if ((!creation) == true) {
i = i + 1;
_parent.schade.duplicateMovieClip("schade" + this._name, 1000000000 - ((Z + 3.17087548658938) * 1000000));
_parent.tail.duplicateMovieClip("tail" + i, 1000000000 - (1000000 * (Z + 32.4264382665381)));
_parent["tail" + i].active = true;
_parent["tail" + i].X = X;
_parent["tail" + i].Xi = X;
_parent["tail" + i].Y = Y;
_parent["tail" + i].hp = 20;
_parent["tail" + i].Z = Z + 32.4264382665381;
_parent["tail" + i].timi = timi - 20;
i = i + 1;
_parent.tail.duplicateMovieClip("tail" + i, 1000000000 - (1000000 * (Z + 66.4264382665381)));
_parent["tail" + i].active = true;
_parent["tail" + i].X = X;
_parent["tail" + i].Xi = X;
_parent["tail" + i].Y = Y;
_parent["tail" + i].hp = 40;
_parent["tail" + i].Z = Z + 66.4264382665381;
_parent["tail" + i].timi = timi - 40;
i = i + 1;
_parent.tail.duplicateMovieClip("tail" + i, 1000000000 - (1000000 * (Z + 101.426438266538)));
_parent["tail" + i].active = true;
_parent["tail" + i].X = X;
_parent["tail" + i].Xi = X;
_parent["tail" + i].Y = Y;
_parent["tail" + i].hp = 60;
_parent["tail" + i].Z = Z + 101.426438266538;
_parent["tail" + i].timi = timi - 60;
i = i + 1;
_parent.tail.duplicateMovieClip("tail" + i, 1000000000 - (1000000 * (Z + 132.426438266538)));
_parent["tail" + i].active = true;
_parent["tail" + i].X = X;
_parent["tail" + i].Xi = X;
_parent["tail" + i].Y = Y;
_parent["tail" + i].hp = 80;
_parent["tail" + i].Z = Z + 132.426438266538;
_parent["tail" + i].timi = timi - 80;
i = i + 1;
_parent.tail.duplicateMovieClip("tail" + i, 1000000000 - (1000000 * (Z + 165.426438266538)));
_parent["tail" + i].active = true;
_parent["tail" + i].X = X;
_parent["tail" + i].Xi = X;
_parent["tail" + i].Y = Y;
_parent["tail" + i].hp = 100;
_parent["tail" + i].Z = Z + 165.426438266538;
_parent["tail" + i].timi = timi - 100;
creation = true;
} else {
_parent["tail" + iiiiii].Z = Z + 32.4264382665381;
_parent["tail" + iiiiii].timi = timi - 20;
_parent["tail" + iiiii].Z = Z + 32.4264382665381;
_parent["tail" + iiiii].timi = timi - 20;
_parent["tail" + iiii].Z = Z + 66.4264382665381;
_parent["tail" + iiii].timi = timi - 40;
_parent["tail" + iii].Z = Z + 101.426438266538;
_parent["tail" + iii].timi = timi - 60;
_parent["tail" + ii].Z = Z + 132.426438266538;
_parent["tail" + ii].timi = timi - 80;
_parent["tail" + i].Z = Z + 165.426438266538;
_parent["tail" + i].timi = timi - 100;
}
if (hp <= 0) {
_parent["tail" + iiiiii].hp = _parent["tail" + iiiiii].hp - 3;
_parent["tail" + iiiii].hp = _parent["tail" + iiiii].hp - 3;
_parent["tail" + iiii].hp = _parent["tail" + iiii].hp - 3;
_parent["tail" + iii].hp = _parent["tail" + iii].hp - 3;
_parent["tail" + ii].hp = _parent["tail" + ii].hp - 3;
_parent["tail" + i].hp = _parent["tail" + i].hp - 3;
}
timi++;
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
if ((!dead) == true) {
X = (Xi + (70 * Math.sin(timi / 4))) + _parent.lvl.Xcorr;
Z = Z - 1;
}
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.head.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
}
if (Z < -220) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1352 MovieClip "star" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("dra");
kets = new Sound(this);
kets.attachSound("kets");
expl = new Sound(this);
expl.attachSound("smallknal");
A = 1;
vx = 0;
vy = 0;
enginespeed = 0;
time = 0;
hp = 70;
dead = false;
pain = false;
opu = false;
reclo = true;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
_rotation = (_rotation + 5);
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if ((!creation) == true) {
_parent.schade.duplicateMovieClip("schade" + this._name, 1000000000 - ((Z + 3.17087548658938) * 1000000));
creation = true;
}
_parent["schade" + this._name].subZ = Z;
_parent["schade" + this._name].dead = dead;
_parent["schade" + this._name].subX = X;
_parent["schade" + this._name].subY = Y - _parent.lvl.Ycorr;
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
eenshot.setVolume(volumen);
kets.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
_rotation = (_rotation + 5);
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.player.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 10;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
_root.bonusB.playmay = true;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
if (((((Z > 100) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = -1;
}
if (((((Z < 95) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = 4;
}
if (((((Z <= 100) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
if (enginespeed < _parent.player.enginespeed) {
enginespeed = enginespeed + 1;
}
if (enginespeed > _parent.player.enginespeed) {
enginespeed = enginespeed - 1;
}
if ((Y > (300 + _parent.lvl.Ycorr)) & (vy > 0)) {
vy = 0;
}
if ((X < (Xgo + _parent.lvl.Xcorr)) & (vx < 10)) {
vx = vx + 1;
}
if ((X > (Xgo + _parent.lvl.Xcorr)) & (vx > -10)) {
vx = vx - 1;
}
if ((Y < (Ygo + _parent.lvl.Ycorr)) & (vy < 10)) {
vy = vy + 1;
}
if ((Y > (Ygo + _parent.lvl.Ycorr)) & (vy > -10)) {
vy = vy - 1;
}
coolcannon = coolcannon - 1;
if (coolcannon <= 0) {
i = i + 1;
this.pultron.pultron.pultron.shot.play();
eenshot.start();
_parent.enemylaser.duplicateMovieClip("Elaser" + i, 1000000000 - ((Z - 1.460456789) * 1000000));
_parent["Elaser" + i].active = true;
_parent["Elaser" + i].Z = Z - 1.460456789;
_parent["Elaser" + i].Zi = Z - 1.460456789;
_parent["Elaser" + i].X = X;
_parent["Elaser" + i].Xi = X;
_parent["Elaser" + i].Y = Y;
_parent["Elaser" + i].Yi = Y;
_parent["Elaser" + i].aimed = true;
_parent["Elaser" + i].Xtar = _parent.player.X;
_parent["Elaser" + i].Ytar = _parent.player.Y;
coolcannon = 70;
}
} else if (_parent.lvl.Zpassed >= Zmax) {
if (Ygo > 0) {
Ygo = 0;
}
if (Y > (0 + _parent.lvl.Ycorr)) {
Y = Y - 1;
}
coolcannon = 70;
if (enginespeed > 0) {
enginespeed = enginespeed - 1;
}
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 213 MovieClip "enemylaser" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 7.383465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 5;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 1367 MovieClip "enemyhoming" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
hp = 1;
D = -0.01;
bombspeed = 2.0021156;
vx = 0;
vy = 0;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
inflight.stop();
} else if ((explosion == true) & ((!souldone) == true)) {
play();
}
}
onClipEvent (enterFrame) {
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((active == true) & ((!_root.gamepaused) == true)) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
Z = Z - bombspeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
if ((!explosion) == true) {
if ((X < _parent.player.X) & (vx < 20)) {
vx = vx + 2;
}
if ((X > _parent.player.X) & (vx > -20)) {
vx = vx - 2;
}
if ((Y < _parent.player.Y) & (vy < 20)) {
vy = vy + 2;
}
if ((Y > _parent.player.Y) & (vy > -20)) {
vy = vy - 2;
}
}
if (((this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 6)) | (hp <= 0)) & (bombspeed > 0)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.beenhit = true;
_parent.player.shield = _parent.player.shield - 15;
inflight.stop();
play();
explosion = true;
bombspeed = 0;
}
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
Instance of Symbol 1226 MovieClip "schade" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
H = -10;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
N = 1;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = (100 * Math.exp(D * Z)) * N;
this._yscale = ((100 * Math.exp(D * Z)) * N) * Math.exp(_parent.lvl.Ycorr / 400);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = subZ;
X = subX;
N = Math.exp(((-D) / 5) * (subY - 200));
Y = 380 + _parent.lvl.Ycorr;
if (dead == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - ((Z + 3.17087548658938) * 1000000));
}
}
Instance of Symbol 1391 MovieClip "sub" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
hpmax = 6;
hp = hpmax;
i = 0;
H = -10;
hitplayer = 0;
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
eenshot = new Sound(this);
eenshot.attachSound("dra");
_visible = false;
timer = 0;
dead = false;
pain = false;
traag = 0;
enginespeed = 0;
counttime = 0;
D = -0.01;
vx = 0;
vy = 0;
Ystaaf = 330;
Xstaaf = 450;
Xref = 0;
Yref = 0;
t = 0;
Xgo = 0;
Ygo = 0;
Zoom = 140;
coolcannon = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 300 * Math.exp(D * Z);
this._yscale = 300 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if ((!creation) == true) {
_parent.boshad.duplicateMovieClip("boshad" + this._name, 1000000000 - ((Z + 3.17087548658938) * 1000000));
_parent.grab.duplicateMovieClip("Lgrab", 1000000000 - ((Z - 5.39845956678) * 1000000));
_parent.Lgrab.N = 1;
_parent.Lgrab.active = true;
_parent.Lgrab.X = X - 750;
_parent.Lgrab.Y = Y;
_parent.Lgrab.Z = Z - 5.39845956678;
_parent.grab.duplicateMovieClip("Rgrab", 1000000000 - ((Z - 5.10326734276) * 1000000));
_parent.Rgrab.N = -1;
_parent.Rgrab.active = true;
_parent.Rgrab.X = X + 750;
_parent.Rgrab.Y = Y;
_parent.Rgrab.Z = Z - 5.10326734276;
creation = true;
}
_parent["boshad" + this._name].subZ = Z;
_parent["boshad" + this._name].dead = dead;
_parent["boshad" + this._name].subX = X;
_parent["boshad" + this._name].subY = Y - _parent.lvl.Ycorr;
_parent.Lgrab.enginespeed = enginespeed;
_parent.Rgrab.enginespeed = enginespeed;
if ((((this.sub.wheelA.dead == true) & (this.sub.wheelB.dead == true)) & (this.sub.wheelC.dead == true)) & (this.sub.wheelD.dead == true)) {
_parent.Lgrab.hp = 0;
_parent.Rgrab.hp = 0;
secondtroef = true;
}
if ((!secondtroef) == true) {
if (Z <= (Zoom + 5)) {
if ((!decision) == true) {
_parent.Rgrab.X = _parent.Rgrab.X + (0.1 * ((X + 750) - _parent.Rgrab.X));
_parent.Rgrab.Y = _parent.Rgrab.Y + (0.1 * (Y - _parent.Rgrab.Y));
if (_parent.Rgrab.Z < (Z - 5.10326734276)) {
_parent.Rgrab.Z = _parent.Rgrab.Z + 5;
}
_parent.Lgrab.X = _parent.Lgrab.X + (0.1 * ((X - 750) - _parent.Lgrab.X));
_parent.Lgrab.Y = _parent.Lgrab.Y + (0.1 * (Y - _parent.Lgrab.Y));
if (_parent.Lgrab.Z < (Z - 5.39845956678)) {
_parent.Lgrab.Z = _parent.Lgrab.Z + 5;
}
if (timer <= 0) {
if (armshot == "left") {
armshot = "right";
} else if (armshot == "right") {
armshot = "left";
} else {
armshot = "left";
}
}
if ((_parent.Lgrab.Z > (Z - 10)) & (_parent.Rgrab.Z > (Z - 10))) {
if (armshot == "left") {
_parent.Lgrab.pain = true;
_parent.Lgrab.grab.grab.nextFrame();
}
if (armshot == "right") {
_parent.Rgrab.pain = true;
_parent.Rgrab.grab.grab.nextFrame();
}
}
if ((timer > 110) & ((!_parent.player.dead) == true)) {
decision = true;
}
}
timer++;
if (decision == true) {
if (armshot == "left") {
_parent.Lgrab.Z = _parent.Lgrab.Z - 5;
_parent.Lgrab.X = _parent.Lgrab.X + (0.1 * (_parent.player.X - _parent.Lgrab.X));
_parent.Lgrab.Y = _parent.Lgrab.Y + (0.1 * (_parent.player.Y - _parent.Lgrab.Y));
if (_parent.Lgrab.Z < (_parent.player.Z + 30)) {
_parent.Lgrab.grab.grab.prevFrame();
}
if (_parent.Lgrab.Z < _parent.player.Z) {
timer = 0;
decision = false;
}
}
if (armshot == "right") {
_parent.Rgrab.X = _parent.Rgrab.X + (0.1 * (_parent.player.X - _parent.Rgrab.X));
_parent.Rgrab.Y = _parent.Rgrab.Y + (0.1 * (_parent.player.Y - _parent.Rgrab.Y));
_parent.Rgrab.Z = _parent.Rgrab.Z - 5;
if (_parent.Rgrab.Z < (_parent.player.Z + 30)) {
_parent.Rgrab.grab.grab.prevFrame();
}
if (_parent.Rgrab.Z < _parent.player.Z) {
timer = 0;
decision = false;
}
}
}
}
} else if (((!dead) == true) & ((!_parent.player.dead) == true)) {
t++;
_rotation = (5 * Math.sin(t / 40));
this.sub.sub.nextFrame();
if (t > 4) {
openruim = true;
}
coolcannon = coolcannon - 1;
if (coolcannon <= 0) {
i = i + 1;
eenshot.start();
_parent.enemyhoming.duplicateMovieClip("Ehom" + i, 1000000000 - ((Z - 1.460456789) * 1000000));
_parent["Ehom" + i].active = true;
_parent["Ehom" + i].Z = Z - 1.460456789;
_parent["Ehom" + i].X = (X + random(800)) - 400;
_parent["Ehom" + i].Y = Y;
coolcannon = 40;
}
}
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
kets.setVolume(volumen);
this._xscale = 300 * Math.exp(D * Z);
this._yscale = 300 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X + vx;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
for (var e in _parent) {
if (((this.hitTest(_parent[e]) & (_parent[e].laserbe == true)) & (Math.abs(_parent[e].Z - Z) < 15)) & ((!dead) == true)) {
if ((((this.spot.hitTest(_parent[e]) | this.sub.wheelA.hitTest(_parent[e])) | this.sub.wheelB.hitTest(_parent[e])) | this.sub.wheelC.hitTest(_parent[e])) | this.sub.wheelD.hitTest(_parent[e])) {
_parent[e].lightspeed = -1.6783083;
kets.start();
_parent[e].vy = random(40) - 20;
_parent[e].vx = random(40) - 20;
_parent[e].vr = random(20) - 10;
}
}
if ((((this.hitTest(_parent[e]) & (_parent[e].bebomb == true)) & ((!_parent[e].prego) == true)) & (Math.abs(_parent[e].Z - Z) < _parent[e].Xw)) & ((!dead) == true)) {
if (this.spot.hitTest(_parent[e]) & (openruim == true)) {
hp = hp - 1;
pain = true;
}
if (this.sub.wheelA.hitTest(_parent[e])) {
this.sub.wheelA.hp = this.sub.wheelA.hp - 1;
this.sub.wheelA.pain = true;
}
if (this.sub.wheelB.hitTest(_parent[e])) {
this.sub.wheelB.hp = this.sub.wheelB.hp - 1;
this.sub.wheelB.pain = true;
}
if (this.sub.wheelC.hitTest(_parent[e])) {
this.sub.wheelC.hp = this.sub.wheelC.hp - 1;
this.sub.wheelC.pain = true;
}
if (this.sub.wheelD.hitTest(_parent[e])) {
this.sub.wheelD.hp = this.sub.wheelD.hp - 1;
this.sub.wheelD.pain = true;
}
_parent[e].prego = true;
}
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
this.sub.play();
pain = false;
}
hitplayer = hitplayer - 1;
if ((((hitplayer <= 0) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 20)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 20;
_parent.player.beenhit = true;
hitplayer = 70;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.bonus.playmay = true;
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
dead = true;
}
}
if (_parent.player.dead == true) {
enginespeed = 2;
}
if (dead == true) {
_parent.lvl.endit = true;
enginespeed = 0;
}
if ((((Z > Zoom) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
enginespeed = 0;
}
if ((((Z < (Zoom - 5)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
enginespeed = 3;
}
if ((((Z <= Zoom) & (Z > 0)) & ((!dead) == true)) & ((!_parent.player.dead) == true)) {
lockon = true;
if (enginespeed < _parent.player.enginespeed) {
enginespeed = enginespeed + 1;
}
if (enginespeed > _parent.player.enginespeed) {
enginespeed = enginespeed - 1;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
_parent["boshad" + this._name].swapDepths(0);
_parent["boshad" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
} else {
_parent["boshad" + this._name].swapDepths(0);
_parent["boshad" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1402 MovieClip "grab" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
hp = 3;
i = 0;
H = -10;
movespeed = 5.3786248637;
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = (200 * N) * Math.exp(D * Z);
this._yscale = 200 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if ((!creation) == true) {
_parent.schad.duplicateMovieClip("schade" + this._name, 1000000000 - ((Z + 3.17087548658938) * 1000000));
creation = true;
}
_parent["schade" + this._name].subZ = Z;
_parent["schade" + this._name].dead = dead;
_parent["schade" + this._name].subX = X;
_parent["schade" + this._name].subY = Y - _parent.lvl.Ycorr;
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = (200 * N) * Math.exp(D * Z);
this._yscale = 200 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
if (((((!_parent["torp" + _parent.player.i].prego) == true) & this.hitTest(_parent["torp" + _parent.player.i])) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
if (this.spot.hitTest(_parent["torp" + _parent.player.i])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.i].prego = true;
}
if (((((!_parent["torp" + _parent.player.ii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.ii])) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
if (this.spot.hitTest(_parent["torp" + _parent.player.ii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.ii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iii])) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
if (this.spot.hitTest(_parent["torp" + _parent.player.iii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiii])) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
if (this.spot.hitTest(_parent["torp" + _parent.player.iiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
if (this.spot.hitTest(_parent["torp" + _parent.player.iiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
if (this.spot.hitTest(_parent["torp" + _parent.player.iiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiiiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiiiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiiiiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiiiiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiiiiiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiiiiiiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiiiiiiiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiiiiiiiiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if (((((!_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego) == true) & this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii])) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.grab.play();
pain = false;
}
if (((((!crash) == true) & this.grab.grab.spot.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
}
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
} else {
_parent["schade" + this._name].swapDepths(0);
_parent["schade" + this._name].removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1226 MovieClip "boshad" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
H = -10;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
N = 1;
this._xscale = 1000 * Math.exp(D * Z);
this._yscale = 1000 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = (1000 * Math.exp(D * Z)) * N;
this._yscale = ((1000 * Math.exp(D * Z)) * N) * Math.exp(_parent.lvl.Ycorr / 400);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = subZ;
X = subX;
N = Math.exp(((-D) / 5) * (subY - 200));
Y = 380 + _parent.lvl.Ycorr;
if (dead == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - ((Z + 3.17087548658938) * 1000000));
}
}
Instance of Symbol 1226 MovieClip "schad" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
H = -10;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
N = 1;
this._xscale = 250 * Math.exp(D * Z);
this._yscale = 250 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = (250 * Math.exp(D * Z)) * N;
this._yscale = ((250 * Math.exp(D * Z)) * N) * Math.exp(_parent.lvl.Ycorr / 400);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = subZ;
X = subX;
N = Math.exp(((-D) / 5) * (subY - 200));
Y = 380 + _parent.lvl.Ycorr;
if (dead == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - ((Z + 3.17087548658938) * 1000000));
}
}
Symbol 1438 MovieClip Frame 1
stop();
Instance of Symbol 1424 MovieClip "cell" in Symbol 1438 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1438 MovieClip Frame 15
kip = true;
Symbol 1438 MovieClip Frame 16
stop();
Symbol 1441 MovieClip Frame 1
stop();
Instance of Symbol 779 MovieClip "player" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
beenhit = false;
shield = 100;
FF = 0;
H = -10;
D = -0.01;
eenshot = new Sound(this.player.shield);
eenshot.attachSound("blaster");
crash = new Sound(this);
crash.attachSound("glass");
nobomb = new Sound(this);
nobomb.attachSound("lamb");
tweeshot = new Sound(this.player.shield);
tweeshot.attachSound("ion");
drieshot = new Sound(this.player.shield);
drieshot.attachSound("plasma");
motortwee = new Sound(this.player.blueglow);
motortwee.attachSound("straalmotor");
motordrie = new Sound(this.player.blueglow);
motordrie.attachSound("straalmotorX2");
expl = new Sound();
expl.attachSound("smallknal");
shotbomb = false;
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
Yref = 0;
Xref = 0;
Ycheck = 0;
t = 0;
i = 0;
e = 0;
vy = 0;
vx = 0;
Xar = 0;
Yar = 0;
volumen = 100;
crashplaytime = 0.055;
coolcannon = 0;
enginepower = 200;
enginespeed = 1;
if (_root.checkpoint == true) {
X = 0;
Y = 50;
Z = 0;
} else {
X = 0;
Y = -230;
Z = 0;
}
this.swapDepths(1000000000 - (Z * 1000000));
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
ampl = 0;
}
onClipEvent (enterFrame) {
if (_root.invertion == true) {
up = 40;
down = 38;
} else {
down = 40;
up = 38;
}
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
this.swapDepths(1000000000 - (Z * 1000000));
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
if (bomstock > 99) {
bombstock = bombstock - 1;
}
if (shield > 100) {
shield = shield - 1;
}
if (shield <= 0) {
ampl = 0;
dead = true;
}
if (_root.gamepaused == true) {
motortwee.stop();
motordrie.stop();
eenshot.stop();
crash.stop();
this.boom.stop();
nobomb.stop();
tweeshot.stop();
drieshot.stop();
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = false;
}
if ((!_root.gamepaused) == true) {
t++;
X = X + vx;
Y = Y + vy;
verY = -Math.floor(Y / 36);
verX = -Math.floor(X / 52);
if ((dead == true) & (Y < 160)) {
if ((!crashtoplayed) == true) {
crash.start(crashplaytime);
crashtoplayed = true;
}
_rotation = (_rotation + 20);
} else if ((dead == true) & (this.player._alpha > 0)) {
fish = true;
enginespeed = 0;
enginepower = 0;
this.boom.boomplaying = true;
_parent.vol = _parent.vol - 20;
this.player._alpha = this.player._alpha - 20;
expl.start();
vx = 0;
vy = 0;
_root.blackscreen.toshow = true;
motortwee.stop();
motordrie.stop();
} else if ((dead == true) & (this.player._alpha <= 0)) {
enginespeed = 0;
enginepower = 0;
FF = FF + 1;
if (FF >= 100) {
_root.lives = _root.lives - 1;
_root.bombstock = 5;
_root.laserlevel = 1;
stopAllSounds();
if (_root.lives > -1) {
_root.play();
}
}
}
if ((((Key.isDown(90) & (Zdown == false)) & (shotbomb == false)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.bombstock > 0) {
i = i + 1;
_parent.torp.duplicateMovieClip("torp" + i, i);
_parent["torp" + i].active = true;
this.activebomb = _parent["torp" + i];
_root.bombstock = _root.bombstock - 1;
shotbomb = true;
} else {
nobomb.start();
}
}
if ((shotbomb == true) & (Zdown == true)) {
prego = true;
}
if ((((Key.isDown(90) & (Zdown == false)) & (prego == true)) & ((!dead) == true)) & ((!disabled) == true)) {
this.activebomb.prego = true;
shotbomb = false;
prego = false;
}
if (((Key.isDown(65) & (coolcannon <= 0)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.laserlevel == 1) {
eenshot.setVolume(100);
eenshot.start();
} else if (_root.laserlevel == 2) {
tweeshot.setVolume(40);
tweeshot.start();
} else if (_root.laserlevel == 3) {
drieshot.setVolume(50);
drieshot.start();
}
i = i + 1;
_parent.laser.duplicateMovieClip("laser" + i, i);
_parent["laser" + i].active = true;
_parent["laser" + i].Z = Z + 3.078965;
_parent["laser" + i].Yref = Yref;
_parent["laser" + i].Xref = Xref;
coolcannon = 7;
}
if (coolcannon > 0) {
coolcannon = coolcannon - 1;
}
if (ampl > 0) {
ampl = ampl - 0.2;
}
if (Math.abs(ampl) < 1) {
ampl = 0;
}
if (Ycheck < 0) {
Y = Y + 2;
Ycheck = Ycheck + 2;
}
if (Ycheck > 0) {
Y = Y - 2;
Ycheck = Ycheck - 2;
}
Y = Y + (ampl * Math.cos((Math.PI * t) / 12));
Ycheck = Ycheck + (ampl * Math.cos((Math.PI * t) / 12));
if ((beenhit == true) & ((!dead) == true)) {
crash.start(crashplaytime);
this.player.shield._visible = true;
this.player.shield._alpha = 100;
ampl = 20;
beenhit = false;
}
this.player.xhoek = Math.floor(verX + Xar);
if ((((Key.isDown(37) & (!Key.isDown(39))) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Xar > -5) {
Xar = Xar - 0.25;
}
if (Xar < -5) {
Xar = Xar + 0.25;
}
} else if ((((Key.isDown(39) & (!Key.isDown(37))) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Xar > 5) {
Xar = Xar - 0.25;
}
if (Xar < 5) {
Xar = Xar + 0.25;
}
} else {
if (Xar > 0) {
Xar = Xar - 0.5;
}
if (Xar < 0) {
Xar = Xar + 0.5;
}
}
this.player.yhoek = Math.floor(verY + Yar);
if ((((Key.isDown(down) & (!Key.isDown(up))) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Yar > -5) {
Yar = Yar - 0.25;
}
if (Yar < -5) {
Yar = Yar + 0.25;
}
} else if ((((Key.isDown(up) & (!Key.isDown(down))) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Yar > 5) {
Yar = Yar - 0.25;
}
if (Yar < 5) {
Yar = Yar + 0.25;
}
} else {
if ((Yar > 0) & (!(((dead == true) & (Y < 200)) & (Yar < 5)))) {
Yar = Yar - 0.5;
}
if ((Yar < 0) | (((dead == true) & (Y < 200)) & (Yar < 5))) {
Yar = Yar + 0.5;
}
}
if ((X <= -270) & ((!disabled) == true)) {
Lwall = true;
} else {
Lwall = false;
}
if ((X >= 270) & ((!disabled) == true)) {
Rwall = true;
} else {
Rwall = false;
}
if ((Y <= -180) & ((!disabled) == true)) {
Uwall = true;
} else {
Uwall = false;
}
if ((Y >= 180) & ((!disabled) == true)) {
Dwall = true;
} else {
Dwall = false;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(83) & (enginepower > 0)) & ((boosting == true) | (altdown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerboost == true)) {
motortwee.setVolume(volumen);
if ((!motordrieplaying) == true) {
motortwee.stop();
motordrie.start(0, 99999999999);
motoreenplaying = false;
motortweeplaying = false;
motordrieplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * 5);
boosting = true;
braking = false;
this.player.enginescreen = 1;
if (Z < 31) {
Z = Z + 3.1;
}
enginespeed = 4;
} else if (((((Key.isDown(68) & (enginepower > 0)) & ((braking == true) | (ctrldown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerbrake == true)) {
vx = 0;
vy = 0;
motortwee.setVolume(0.3 * volumen);
if ((!motoreenplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motortweeplaying = false;
motoreenplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * -5);
boosting = false;
braking = true;
this.player.enginescreen = -1;
if (Z > -31) {
Z = Z - 3.1;
}
enginespeed = 0;
} else {
motortwee.setVolume(0.7 * volumen);
if ((!motortweeplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = true;
}
if (enginepower < 200) {
enginepower = enginepower + 1;
}
braking = false;
boosting = false;
this.player.enginescreen = 0;
Cmaak = 1;
if (Z < 0) {
Z = Z + 3.1;
}
if (Z > 0) {
Z = Z - 3.1;
}
if (!((dead == true) & (fish == true))) {
enginespeed = 2;
}
}
if ((!disabled) == true) {
}
if (((((Key.isDown(39) & (!Key.isDown(37))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Rwall == true) {
vx = 0;
} else {
if (vx < (10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref < (300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
if (Xref > (300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
} else if (((((Key.isDown(37) & (!Key.isDown(39))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Lwall == true) {
vx = 0;
} else {
if (vx < (-10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (-10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref > (-300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < (-300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
} else {
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if (Xref > 0) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < 0) {
Xref = Xref + (15 * Cmaak);
}
if (vx < 0) {
vx = vx + (enginespeed / 4);
}
if (vx > 0) {
vx = vx - (enginespeed / 4);
}
if (Math.abs(vx) < (enginespeed / 4)) {
vx = 0;
}
}
Xref = Cmaak * (X + ((300 * (Xar - (X / 52))) / 5));
Yref = Cmaak * (Y + ((200 * (Yar - (Y / 36))) / 5));
if (((Dwall == true) & (vy > 0)) | ((Uwall == true) & (vy < 0))) {
vy = 0;
}
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(up) & (!Key.isDown(down))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Dwall == true) {
vy = 0;
} else {
if (vy < (10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else if (((((Key.isDown(down) & (!Key.isDown(up))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Uwall == true) {
vy = 0;
} else {
if (vy < (-10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (-10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else {
if (((Uwall == true) & (vy < 0)) | ((Dwall == true) & (vy > 0))) {
vy = 0;
}
if ((vy < 0) | (((dead == true) & (Y < 200)) & (vy < 10))) {
vy = vy + (enginespeed / 4);
}
if ((vy > 0) & (!(((dead == true) & (Y < 200)) & (vy < 10)))) {
vy = vy - (enginespeed / 4);
}
if (Math.abs(vy) < (enginespeed / 4)) {
vy = 0;
}
}
if (Key.isDown(83)) {
altdown = true;
} else {
altdown = false;
}
if (Key.isDown(68)) {
ctrldown = true;
} else {
ctrldown = false;
}
if (Key.isDown(65)) {
spacedown = true;
} else {
spacedown = false;
}
if (Key.isDown(90)) {
Zdown = true;
} else {
Zdown = false;
}
}
ii = i - 1;
iii = i - 2;
iiii = i - 3;
iiiii = i - 4;
iiiiii = i - 5;
iiiiiii = i - 6;
iiiiiiii = i - 7;
iiiiiiiii = i - 8;
iiiiiiiiii = i - 9;
iiiiiiiiiii = i - 10;
iiiiiiiiiiii = i - 11;
iiiiiiiiiiiii = i - 12;
iiiiiiiiiiiiii = i - 13;
iiiiiiiiiiiiiii = i - 14;
iiiiiiiiiiiiiiii = i - 15;
}
Instance of Symbol 786 MovieClip "laser" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
eenshot = new Sound(this);
eenshot.attachSound("blaster");
laserbe = true;
H = -10;
D = -0.01;
vx = 0;
vy = 0;
vr = 0;
gotoAndStop(_parent.player.laserlevel);
lightspeed = 15.699465768;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = (_parent.player.X + (2 * _parent.player.player.xhoek)) - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 5.378965;
_rotation = _parent.player._rotation;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
Z = Z + lightspeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
_rotation = (_rotation + vr);
if (active == true) {
if (lightspeed < 0) {
_alpha = (_alpha - 5);
}
Z = Z - _parent.player.enginespeed;
_visible = true;
if (((((Z >= 250) | (absorb == true)) | (Math.abs(_y) > 300)) | (Math.abs(_x) > 400)) | (_alpha < 0)) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 788 MovieClip "croshairB" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 100;
X = _parent.player.X - _parent.player.Xref;
Y = _parent.player.Y - _parent.player.Yref;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 200;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if (_parent.player.dead == true) {
_visible = false;
}
}
Instance of Symbol 788 MovieClip "croshairA" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 200;
X = _parent.player.X;
Y = _parent.player.Y;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 70;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if (_parent.player.dead == true) {
_visible = false;
}
}
Instance of Symbol 803 MovieClip "torp" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
H = -10;
D = -0.01;
bebomb = true;
bombspeed = 5.0021156;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 1.97086;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (explosion == true) {
play();
}
}
onClipEvent (enterFrame) {
Xw = (10 * _width) / _xscale;
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
inflight.setVolume(volumen);
if ((!_root.gamepaused) == true) {
Z = Z + bombspeed;
if (active == true) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (((Z >= 200) | (prego == true)) & (bombspeed > 0)) {
_parent.player.prego = false;
_parent.player.shotbomb = false;
inflight.stop();
X = X + (Math.exp((-D) * Z) * Xref);
Xref = 0;
Y = Y + (Math.exp((-D) * Z) * Yref);
Yref = 0;
play();
explosion = true;
bombspeed = 0;
}
if (souldone == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 59 MovieClip "lvl" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
H = -10;
Ver = 0;
Xcorr = 0;
Ycorr = 0;
endtime = 0;
points = 0;
_root.seqhit = 0;
_root.blackscreen.toshow = false;
_root.bonusright = false;
i = 0;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
_visible = false;
_parent.player.X = 0;
_parent.player.Y = -230;
_parent.player.Z = 0;
_parent.vol = 100;
Zpassed = -300;
_parent.player.disabled = true;
}
onClipEvent (enterFrame) {
if ((Zpassed > 0) & (Zpassed < 10)) {
_parent.player.disabled = false;
}
if (Zpassed < 0) {
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (-_parent.player.Y));
}
if (((((Key.isDown(32) & (keydown == false)) & (Zpassed >= 0)) & ((!_parent.player.dead) == true)) & ((!finished) == true)) & ((!endit) == true)) {
if ((!_root.gamepaused) == true) {
_root.gamepaused = true;
} else {
_root.gamepaused = false;
}
}
if ((!_root.gamepaused) == true) {
Zpassed = Zpassed + _parent.player.enginespeed;
Xcorr = Xcorr - _parent.player.vx;
Ycorr = Ycorr - _parent.player.vy;
dH = dH - _parent.player.enginespeed;
if (((Zpassed >= 0) & ((!creationI) == true)) & ((!_root.checkpoint) == true)) {
creationI = true;
} else if (((Zpassed >= 150) & ((!creationII) == true)) & ((!_root.checkpoint) == true)) {
creationII = true;
} else if (((Zpassed >= 300) & ((!creationIII) == true)) & ((!_root.checkpoint) == true)) {
creationIII = true;
} else if (((Zpassed >= 450) & ((!creationIV) == true)) & ((!_root.checkpoint) == true)) {
_parent["ring" + i].Z = 311.0470311672;
creationIV = true;
} else if (((Zpassed >= 600) & ((!creationV) == true)) & ((!_root.checkpoint) == true)) {
creationV = true;
} else if (((Zpassed >= 750) & ((!creationVI) == true)) & ((!_root.checkpoint) == true)) {
creationVI = true;
} else if (((Zpassed >= 900) & ((!creationVII) == true)) & ((!_root.checkpoint) == true)) {
creationVII = true;
} else if (((Zpassed >= 1050) & ((!creationVIII) == true)) & ((!_root.checkpoint) == true)) {
creationVIII = true;
} else if (((Zpassed >= 1200) & ((!creationIX) == true)) & ((!_root.checkpoint) == true)) {
creationIX = true;
} else if (((Zpassed >= 1350) & ((!creationX) == true)) & ((!_root.checkpoint) == true)) {
creationX = true;
} else if (((Zpassed >= 1500) & ((!creationXI) == true)) & ((!_root.checkpoint) == true)) {
creationXI = true;
} else if (((Zpassed >= 1800) & ((!creationXII) == true)) & ((!_root.checkpoint) == true)) {
creationXII = true;
} else if (((Zpassed >= 1900) & ((!creationXIII) == true)) & ((!_root.checkpoint) == true)) {
creationXIII = true;
} else if (((Zpassed >= 2000) & ((!creationXIV) == true)) & ((!_root.checkpoint) == true)) {
creationXIV = true;
} else if (((Zpassed >= 2100) & ((!creationXV) == true)) & ((!_root.checkpoint) == true)) {
creationXV = true;
} else if (((Zpassed >= 2200) & ((!creationXVI) == true)) & ((!_root.checkpoint) == true)) {
creationXVI = true;
} else if (((Zpassed >= 2300) & ((!creationXVII) == true)) & ((!_root.checkpoint) == true)) {
creationXVII = true;
} else if (((Zpassed >= 2400) & ((!creationXVIII) == true)) & ((!_root.checkpoint) == true)) {
creationXVIII = true;
} else if (((Zpassed >= 2500) & ((!creationXIX) == true)) & ((!_root.checkpoint) == true)) {
creationXIX = true;
} else if (((Zpassed >= 2600) & ((!creationXX) == true)) & ((!_root.checkpoint) == true)) {
creationXX = true;
} else if (((Zpassed >= 2700) & ((!creationXXI) == true)) & ((!_root.checkpoint) == true)) {
creationXXI = true;
} else if (((Zpassed >= 2800) & ((!creationXXII) == true)) & ((!_root.checkpoint) == true)) {
creationXXII = true;
} else if (((Zpassed >= 3100) & ((!creationXXIII) == true)) & ((!_root.checkpoint) == true)) {
creationXXIII = true;
} else if (((Zpassed >= 3200) & ((!creationXXIV) == true)) & ((!_root.checkpoint) == true)) {
creationXXIV = true;
} else if (((Zpassed >= 3300) & ((!creationXXV) == true)) & ((!_root.checkpoint) == true)) {
creationXXV = true;
} else if (((Zpassed >= 3400) & ((!creationXXVI) == true)) & ((!_root.checkpoint) == true)) {
creationXXVI = true;
} else if (((Zpassed >= 3500) & ((!creationXXVII) == true)) & ((!_root.checkpoint) == true)) {
creationXXVII = true;
} else if (((Zpassed >= 3600) & ((!creationXXVIII) == true)) & ((!_root.checkpoint) == true)) {
creationXXVIII = true;
} else if (((Zpassed >= 3700) & ((!creationXXIX) == true)) & ((!_root.checkpoint) == true)) {
creationXXIX = true;
} else if (((Zpassed >= 3800) & ((!creationXXX) == true)) & ((!_root.checkpoint) == true)) {
creationXXX = true;
} else if (((Zpassed >= 4100) & ((!creationXXXI) == true)) & ((!_root.checkpoint) == true)) {
creationXXXI = true;
} else if (((Zpassed >= 4200) & ((!creationXXXII) == true)) & ((!_root.checkpoint) == true)) {
creationXXXII = true;
} else if (((Zpassed >= 4300) & ((!creationXXXIII) == true)) & ((!_root.checkpoint) == true)) {
creationXXXIII = true;
} else if (((Zpassed >= 4400) & ((!creationXXXIV) == true)) & ((!_root.checkpoint) == true)) {
creationXXXIV = true;
} else if (((Zpassed >= 4500) & ((!creationXXXV) == true)) & ((!_root.checkpoint) == true)) {
creationXXXV = true;
} else if (((Zpassed >= 4650) & ((!creationXXXVI) == true)) & ((!_root.checkpoint) == true)) {
creationXXXVI = true;
} else if (((Zpassed >= 5000) & ((!creationXXXVII) == true)) & ((!_root.checkpoint) == true)) {
creationXXXVII = true;
} else if (((Zpassed >= 5100) & ((!creationXXXVIII) == true)) & ((!_root.checkpoint) == true)) {
creationXXXVIII = true;
} else if (((Zpassed >= 5200) & ((!creationXXXIX) == true)) & ((!_root.checkpoint) == true)) {
creationXXXIX = true;
} else if (((Zpassed >= 5300) & ((!creationXXXX) == true)) & ((!_root.checkpoint) == true)) {
creationXXXX = true;
}
if (_root.timer.t <= 0) {
endit = true;
}
}
if (Ver <= 0) {
i = i + 1;
if (endit == true) {
_parent.dustB.duplicateMovieClip("dust" + i, 947998565.2);
} else {
_parent.dare.duplicateMovieClip("dust" + i, 947998565.2);
}
_parent["dust" + i].active = true;
_parent["dust" + i].Z = (0.138764500567892 + random(200)) + 100;
_parent["dust" + i].X = (random(1200) - 600) + Xcorr;
_parent["dust" + i].Y = (random(800) - 400) + Ycorr;
if (endit == true) {
Ver = 4;
} else {
Ver = 20;
}
} else {
Ver = Ver - 1;
}
if (endit == true) {
endtime = endtime + 1;
if (endtime >= 50) {
finished = true;
endit = false;
}
}
if (finished == true) {
if (_root.scorebord.hideaway == true) {
_parent.player.Z = _parent.player.Z + (_parent.player.enginespeed - 2);
_parent.player.steerboost = true;
}
if (_parent.player.Z > 300) {
_root.blackscreen.toshow = true;
}
if (_root.blackscreen._alpha >= 100) {
stopAllSounds();
_root.gotoAndStop("lvlIII");
}
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (100 - _parent.player.Y));
_parent.player.disabled = true;
_parent.croshairA._visible = false;
_parent.croshairB._visible = false;
}
if (Key.isDown(32)) {
keydown = true;
} else {
keydown = false;
}
}
Instance of Symbol 847 MovieClip "sword" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
plot = new Sound();
plot.attachSound("beam");
_visible = false;
time = 0;
H = -10;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
if (_root.laserlevel < 3) {
_root.laserlevel = _root.laserlevel + 1;
}
_parent.player.player.greenglow.gotoAndPlay(1);
_parent.player.player.greenglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 867 MovieClip "shield" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_parent.player.shield = _parent.player.shield + 20;
_parent.player.player.redglow.gotoAndPlay(1);
_parent.player.player.redglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 888 MovieClip "cap" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_root.bombstock = _root.bombstock + 1;
_parent.player.player.blueglow.gotoAndPlay(1);
_parent.player.player.blueglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1438 MovieClip "dare" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
hp = 1;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
if ((!_parent.lvl.finished) == true) {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
}
this.swapDepths(1000000000 - (Z * 1000000));
if ((_parent.lvl.endit == true) & ((!dead) == true)) {
this.play();
expl.start();
dead = true;
}
if ((this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 4)) & ((!dead) == true)) {
if ((!_parent.player.disabled) == true) {
_root.hits = _root.hits + 1;
}
this.play();
expl.start();
dead = true;
}
for (var e in _parent) {
if (((this.hitTest(_parent[e]) & (_parent[e].laserbe == true)) & (Math.abs(_parent[e].Z - Z) < 15)) & ((!dead) == true)) {
dead = true;
this.play();
expl.start();
_root.hits = _root.hits + 1;
_parent[e].absorb = true;
}
if (((this.hitTest(_parent[e]) & (_parent[e].bebomb == true)) & (Math.abs(_parent[e].Z - Z) < _parent[e].Xw)) & ((!dead) == true)) {
dead = true;
this.play();
expl.start();
_root.hits = _root.hits + 1;
_parent[e].prego = true;
}
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1440 MovieClip "dustB" in Symbol 1441 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = Z - _parent.player.enginespeed;
if ((!_parent.lvl.finished) == true) {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
}
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Symbol 1462 MovieClip Frame 1
stop();
Instance of Symbol 970 MovieClip in Symbol 1462 MovieClip Frame 5
onClipEvent (load) {
if (_parent.crash == true) {
_visible = false;
}
}
Symbol 1462 MovieClip Frame 51
kip = true;
Symbol 1462 MovieClip Frame 52
stop();
Symbol 1475 MovieClip Frame 1
stop();
Instance of Symbol 292 MovieClip in Symbol 1475 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1476 MovieClip Frame 1
stop();
Symbol 1480 MovieClip Frame 1
stop();
Symbol 1480 MovieClip Frame 15
kip = true;
Symbol 1480 MovieClip Frame 16
stop();
Symbol 1515 MovieClip Frame 1
stop();
Instance of Symbol 1491 MovieClip in Symbol 1515 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Instance of Symbol 1067 MovieClip "spot" in Symbol 1515 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1515 MovieClip Frame 25
_parent._parent.finalframe = false;
Symbol 1515 MovieClip Frame 26
stop();
_parent._parent.finalframe = true;
Symbol 1516 MovieClip Frame 1
stop();
Symbol 1523 MovieClip Frame 1
stop();
Symbol 1523 MovieClip Frame 62
stop();
Symbol 1524 MovieClip Frame 1
stop();
Instance of Symbol 287 MovieClip "blado" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("ion");
expl = new Sound(this);
expl.attachSound("smallknal");
coolcannon = 0;
hp = 2;
dead = false;
pain = false;
H = -10;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
eenshot.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.player.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
}
}
dead = true;
}
if ((((Z < 150) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
coolcannon = coolcannon - 1;
if (coolcannon <= 0) {
i = i + 1;
eenshot.start();
_parent.enemylaser.duplicateMovieClip(("Elaser" + this._name) + i, 1000000000 - (1000000 * (Z - 1.460456789)));
_parent[("Elaser" + this._name) + i].active = true;
_parent[("Elaser" + this._name) + i].Z = Z - 1.460456789;
_parent[("Elaser" + this._name) + i].Zi = Z - 1.460456789;
_parent[("Elaser" + this._name) + i].X = X;
_parent[("Elaser" + this._name) + i].Xi = X;
_parent[("Elaser" + this._name) + i].Y = Y;
_parent[("Elaser" + this._name) + i].Yi = Y;
_parent[("Elaser" + this._name) + i].Xtar = _parent.player.X;
_parent[("Elaser" + this._name) + i].Ytar = _parent.player.Y;
coolcannon = 30;
}
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 779 MovieClip "player" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
beenhit = false;
shield = 100;
FF = 0;
H = -10;
D = -0.01;
eenshot = new Sound(this.player.shield);
eenshot.attachSound("blaster");
crash = new Sound(this);
crash.attachSound("glass");
nobomb = new Sound(this);
nobomb.attachSound("lamb");
tweeshot = new Sound(this.player.shield);
tweeshot.attachSound("ion");
drieshot = new Sound(this.player.shield);
drieshot.attachSound("plasma");
motortwee = new Sound(this.player.blueglow);
motortwee.attachSound("straalmotor");
motordrie = new Sound(this.player.blueglow);
motordrie.attachSound("straalmotorX2");
expl = new Sound();
expl.attachSound("smallknal");
shotbomb = false;
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
Yref = 0;
Xref = 0;
Ycheck = 0;
t = 0;
i = 0;
e = 0;
vy = 0;
vx = 0;
Xar = 0;
Yar = 0;
volumen = 100;
crashplaytime = 0.055;
coolcannon = 0;
enginepower = 200;
enginespeed = 1;
if (_root.checkpoint == true) {
X = 0;
Y = 50;
Z = 0;
} else {
X = 0;
Y = -230;
Z = 0;
}
this.swapDepths(1000000000 - (Z * 1000000));
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
ampl = 0;
}
onClipEvent (enterFrame) {
if (_root.invertion == true) {
up = 40;
down = 38;
} else {
down = 40;
up = 38;
}
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
this.swapDepths(1000000000 - (Z * 1000000));
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
if (bomstock > 99) {
bombstock = bombstock - 1;
}
if (shield > 100) {
shield = shield - 1;
}
if (shield <= 0) {
ampl = 0;
dead = true;
}
if (_root.gamepaused == true) {
motortwee.stop();
motordrie.stop();
eenshot.stop();
crash.stop();
this.boom.stop();
nobomb.stop();
tweeshot.stop();
drieshot.stop();
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = false;
}
if ((!_root.gamepaused) == true) {
t++;
X = X + vx;
Y = Y + vy;
verY = -Math.floor(Y / 36);
verX = -Math.floor(X / 52);
if ((dead == true) & (Y < 160)) {
if ((!crashtoplayed) == true) {
crash.start(crashplaytime);
crashtoplayed = true;
}
_rotation = (_rotation + 20);
} else if ((dead == true) & (this.player._alpha > 0)) {
fish = true;
enginespeed = 0;
enginepower = 0;
this.boom.boomplaying = true;
_parent.vol = _parent.vol - 20;
this.player._alpha = this.player._alpha - 20;
expl.start();
vx = 0;
vy = 0;
_root.blackscreen.toshow = true;
motortwee.stop();
motordrie.stop();
} else if ((dead == true) & (this.player._alpha <= 0)) {
enginespeed = 0;
enginepower = 0;
FF = FF + 1;
if (FF >= 100) {
_root.lives = _root.lives - 1;
_root.bombstock = 5;
_root.laserlevel = 1;
stopAllSounds();
if (_root.lives >= 0) {
_root.play();
} else {
_root.hitstotal = _root.hitstotal + _root.hits;
_root.gotoAndStop("end");
}
}
}
if ((((Key.isDown(90) & (Zdown == false)) & (shotbomb == false)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.bombstock > 0) {
i = i + 1;
_parent.torp.duplicateMovieClip("torp" + i, i);
_parent["torp" + i].active = true;
this.activebomb = _parent["torp" + i];
_root.bombstock = _root.bombstock - 1;
shotbomb = true;
} else {
nobomb.start();
}
}
if ((shotbomb == true) & (Zdown == true)) {
prego = true;
}
if ((((Key.isDown(90) & (Zdown == false)) & (prego == true)) & ((!dead) == true)) & ((!disabled) == true)) {
this.activebomb.prego = true;
shotbomb = false;
prego = false;
}
if (((Key.isDown(65) & (coolcannon <= 0)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.laserlevel == 1) {
eenshot.setVolume(100);
eenshot.start();
} else if (_root.laserlevel == 2) {
tweeshot.setVolume(40);
tweeshot.start();
} else if (_root.laserlevel == 3) {
drieshot.setVolume(50);
drieshot.start();
}
i = i + 1;
_parent.laser.duplicateMovieClip("laser" + i, i);
_parent["laser" + i].active = true;
_parent["laser" + i].Z = Z + 3.078965;
_parent["laser" + i].Yref = Yref;
_parent["laser" + i].Xref = Xref;
coolcannon = 7;
}
if (coolcannon > 0) {
coolcannon = coolcannon - 1;
}
if (ampl > 0) {
ampl = ampl - 0.2;
}
if (Math.abs(ampl) <= 1) {
ampl = 0;
}
if (Ycheck < 0) {
Y = Y + 2;
Ycheck = Ycheck + 2;
}
if (Ycheck > 0) {
Y = Y - 2;
Ycheck = Ycheck - 2;
}
Y = Y + (ampl * Math.cos((Math.PI * t) / 12));
Ycheck = Ycheck + (ampl * Math.cos((Math.PI * t) / 12));
if ((beenhit == true) & ((!dead) == true)) {
crash.start(crashplaytime);
this.player.shield._visible = true;
this.player.shield._alpha = 100;
ampl = 20;
beenhit = false;
}
this.player.xhoek = Math.floor(verX + Xar);
if ((((Key.isDown(37) & (!Key.isDown(39))) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Xar > -5) {
Xar = Xar - 0.25;
}
if (Xar < -5) {
Xar = Xar + 0.25;
}
} else if ((((Key.isDown(39) & (!Key.isDown(37))) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Xar > 5) {
Xar = Xar - 0.25;
}
if (Xar < 5) {
Xar = Xar + 0.25;
}
} else {
if (Xar > 0) {
Xar = Xar - 0.5;
}
if (Xar < 0) {
Xar = Xar + 0.5;
}
}
this.player.yhoek = Math.floor(verY + Yar);
if ((((Key.isDown(down) & (!Key.isDown(up))) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Yar > -5) {
Yar = Yar - 0.25;
}
if (Yar < -5) {
Yar = Yar + 0.25;
}
} else if ((((Key.isDown(up) & (!Key.isDown(down))) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Yar > 5) {
Yar = Yar - 0.25;
}
if (Yar < 5) {
Yar = Yar + 0.25;
}
} else {
if ((Yar > 0) & (!(((dead == true) & (Y < 200)) & (Yar < 5)))) {
Yar = Yar - 0.5;
}
if ((Yar < 0) | (((dead == true) & (Y < 200)) & (Yar < 5))) {
Yar = Yar + 0.5;
}
}
if ((X <= -270) & ((!disabled) == true)) {
Lwall = true;
} else {
Lwall = false;
}
if ((X >= 270) & ((!disabled) == true)) {
Rwall = true;
} else {
Rwall = false;
}
if ((Y <= -180) & ((!disabled) == true)) {
Uwall = true;
} else {
Uwall = false;
}
if ((Y >= 180) & ((!disabled) == true)) {
Dwall = true;
} else {
Dwall = false;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(83) & (enginepower > 0)) & ((boosting == true) | (altdown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerboost == true)) {
motortwee.setVolume(volumen);
if ((!motordrieplaying) == true) {
motortwee.stop();
motordrie.start(0, 99999999999);
motoreenplaying = false;
motortweeplaying = false;
motordrieplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * 5);
boosting = true;
braking = false;
this.player.enginescreen = 1;
if (Z < 31) {
Z = Z + 3.1;
}
enginespeed = 4;
} else if (((((Key.isDown(68) & (enginepower > 0)) & ((braking == true) | (ctrldown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerbrake == true)) {
vx = 0;
vy = 0;
motortwee.setVolume(0.3 * volumen);
if ((!motoreenplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motortweeplaying = false;
motoreenplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * -5);
boosting = false;
braking = true;
this.player.enginescreen = -1;
if (Z > -31) {
Z = Z - 3.1;
}
enginespeed = 0;
} else {
motortwee.setVolume(0.7 * volumen);
if ((!motortweeplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = true;
}
if (enginepower < 200) {
enginepower = enginepower + 1;
}
braking = false;
boosting = false;
this.player.enginescreen = 0;
Cmaak = 1;
if (Z < 0) {
Z = Z + 3.1;
}
if (Z > 0) {
Z = Z - 3.1;
}
if (!((dead == true) & (fish == true))) {
enginespeed = 2;
}
}
if ((!disabled) == true) {
}
if (((((Key.isDown(39) & (!Key.isDown(37))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Rwall == true) {
vx = 0;
} else {
if (vx < (10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref < (300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
if (Xref > (300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
} else if (((((Key.isDown(37) & (!Key.isDown(39))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Lwall == true) {
vx = 0;
} else {
if (vx < (-10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (-10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref > (-300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < (-300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
} else {
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if (Xref > 0) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < 0) {
Xref = Xref + (15 * Cmaak);
}
if (vx < 0) {
vx = vx + (enginespeed / 4);
}
if (vx > 0) {
vx = vx - (enginespeed / 4);
}
if (Math.abs(vx) < (enginespeed / 4)) {
vx = 0;
}
}
Xref = Cmaak * (X + ((300 * (Xar - (X / 52))) / 5));
Yref = Cmaak * (Y + ((200 * (Yar - (Y / 36))) / 5));
if (((Uwall == true) & (vy < 0)) | ((Dwall == true) & (vy > 0))) {
vy = 0;
}
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(up) & (!Key.isDown(down))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Dwall == true) {
vy = 0;
} else {
if (vy < (10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else if (((((Key.isDown(down) & (!Key.isDown(up))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Uwall == true) {
vy = 0;
} else {
if (vy < (-10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (-10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else {
if (((Uwall == true) & (vy < 0)) | ((Dwall == true) & (vy > 0))) {
vy = 0;
}
if ((vy < 0) | (((dead == true) & (Y < 200)) & (vy < 10))) {
vy = vy + (enginespeed / 4);
}
if ((vy > 0) & (!(((dead == true) & (Y < 200)) & (vy < 10)))) {
vy = vy - (enginespeed / 4);
}
if (Math.abs(vy) < (enginespeed / 4)) {
vy = 0;
}
}
if (Key.isDown(83)) {
altdown = true;
} else {
altdown = false;
}
if (Key.isDown(68)) {
ctrldown = true;
} else {
ctrldown = false;
}
if (Key.isDown(65)) {
spacedown = true;
} else {
spacedown = false;
}
if (Key.isDown(90)) {
Zdown = true;
} else {
Zdown = false;
}
}
ii = i - 1;
iii = i - 2;
iiii = i - 3;
iiiii = i - 4;
iiiiii = i - 5;
iiiiiii = i - 6;
iiiiiiii = i - 7;
iiiiiiiii = i - 8;
iiiiiiiiii = i - 9;
iiiiiiiiiii = i - 10;
iiiiiiiiiiii = i - 11;
iiiiiiiiiiiii = i - 12;
iiiiiiiiiiiiii = i - 13;
iiiiiiiiiiiiiii = i - 14;
iiiiiiiiiiiiiiii = i - 15;
}
Instance of Symbol 786 MovieClip "laser" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
eenshot = new Sound(this);
eenshot.attachSound("blaster");
H = -10;
D = -0.01;
vx = 0;
vy = 0;
vr = 0;
gotoAndStop(_parent.player.laserlevel);
lightspeed = 15.699465768;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = (_parent.player.X + (2 * _parent.player.player.xhoek)) - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 5.378965;
_rotation = _parent.player._rotation;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
Z = Z + lightspeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
_rotation = (_rotation + vr);
if (active == true) {
if (lightspeed < 0) {
_alpha = (_alpha - 5);
}
Z = Z - _parent.player.enginespeed;
_visible = true;
if (((((Z >= 250) | (absorb == true)) | (Math.abs(_y) > 300)) | (Math.abs(_x) > 400)) | (_alpha < 0)) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 788 MovieClip "croshairB" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 100;
X = _parent.player.X - _parent.player.Xref;
Y = _parent.player.Y - _parent.player.Yref;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 200;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if (_parent.player.dead == true) {
_visible = false;
}
}
Instance of Symbol 788 MovieClip "croshairA" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 200;
X = _parent.player.X;
Y = _parent.player.Y;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 70;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if (_parent.player.dead == true) {
_visible = false;
}
}
Instance of Symbol 803 MovieClip "torp" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
H = -10;
D = -0.01;
bombspeed = 5.0021156;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 1.97086;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (explosion == true) {
play();
}
}
onClipEvent (enterFrame) {
Xw = (10 * _width) / _xscale;
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
inflight.setVolume(volumen);
if ((!_root.gamepaused) == true) {
Z = Z + bombspeed;
if (active == true) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (((Z >= 200) | (prego == true)) & (bombspeed > 0)) {
_parent.player.prego = false;
_parent.player.shotbomb = false;
inflight.stop();
X = X + (Math.exp((-D) * Z) * Xref);
Xref = 0;
Y = Y + (Math.exp((-D) * Z) * Yref);
Yref = 0;
play();
explosion = true;
bombspeed = 0;
}
if (souldone == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 213 MovieClip "enemylaser" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 7.383465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 5;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 59 MovieClip "lvl" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
H = -10;
Ver = 0;
Xcorr = 0;
Ycorr = 0;
endtime = 0;
points = 0;
i = 0;
_visible = false;
_root.blackscreen.toshow = false;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = 0.138764500567892 + random(150);
_parent["dust" + i].X = (random(800) - 400) + Xcorr;
_parent["dust" + i].Y = (random(1200) - 600) + Ycorr;
if (_root.checkpoint == true) {
i = i + 1;
_parent.light.duplicateMovieClip("light" + i, 949861235.499432);
_parent["light" + i].active = true;
_parent["light" + i].Z = 50.1387645005679;
_parent["light" + i].Y = 200 + Ycorr;
_parent["light" + i].X = 0 + Xcorr;
i = i + 1;
_parent.light.duplicateMovieClip("light" + i, 899861235.499432);
_parent["light" + i].active = true;
_parent["light" + i].Z = 100.138764500568;
_parent["light" + i].Y = 200 + Ycorr;
_parent["light" + i].X = 0 + Xcorr;
i = i + 1;
_parent.light.duplicateMovieClip("light" + i, 849861235.499432);
_parent["light" + i].active = true;
_parent["light" + i].Z = 150.138764500568;
_parent["light" + i].Y = 200 + Ycorr;
_parent["light" + i].X = 0 + Xcorr;
i = i + 1;
_parent.light.duplicateMovieClip("light" + i, 799861235.499432);
_parent["light" + i].active = true;
_parent["light" + i].Z = 200.138764500568;
_parent["light" + i].Y = 200 + Ycorr;
_parent["light" + i].X = 0 + Xcorr;
i = i + 1;
_parent.light.duplicateMovieClip("light" + i, 749861235.499432);
_parent["light" + i].active = true;
_parent["light" + i].Z = 250.138764500568;
_parent["light" + i].Y = 200 + Ycorr;
_parent["light" + i].X = 0 + Xcorr;
i = i + 1;
_parent.light.duplicateMovieClip("light" + i, 699861235.499432);
_parent["light" + i].active = true;
_parent["light" + i].Z = 300.138764500568;
_parent["light" + i].Y = 200 + Ycorr;
_parent["light" + i].X = 0 + Xcorr;
i = i + 1;
_parent.light.duplicateMovieClip("light" + i, 649861235.499432);
_parent["light" + i].active = true;
_parent["light" + i].Z = 350.138764500568;
_parent["light" + i].Y = 200 + Ycorr;
_parent["light" + i].X = 0 + Xcorr;
_parent.player.X = 0;
_parent.player.Y = 0;
_parent.player.Z = 0;
_parent.vol = 0;
Zpassed = 8511;
} else {
_parent.player.X = 0;
_parent.player.Y = -230;
_parent.player.Z = 0;
_parent.vol = 100;
Zpassed = -100;
_parent.player.disabled = true;
}
}
onClipEvent (enterFrame) {
if ((Zpassed > 0) & (Zpassed < 10)) {
_parent.player.disabled = false;
}
if (Zpassed < 0) {
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (-_parent.player.Y));
}
if (((((Key.isDown(32) & (keydown == false)) & (Zpassed >= 0)) & ((!_parent.player.dead) == true)) & ((!finished) == true)) & ((!endit) == true)) {
if ((!_root.gamepaused) == true) {
_root.gamepaused = true;
} else {
_root.gamepaused = false;
}
}
if ((!_root.gamepaused) == true) {
Zpassed = Zpassed + _parent.player.enginespeed;
Xcorr = Xcorr - _parent.player.vx;
Ycorr = Ycorr - _parent.player.vy;
dH = dH - _parent.player.enginespeed;
if (_root.thebottalk == true) {
if ((Zpassed >= 6700) & (Zpassed < 7200)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(10);
} else if ((Zpassed >= 7200) & (Zpassed < 8300)) {
_root.thebot._visible = false;
} else if ((Zpassed >= 8300) & (Zpassed < 8900)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(11);
} else if (Zpassed >= 8900) {
_root.thebot._visible = false;
}
}
if (((Zpassed >= 0) & ((!creationI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = -200 + Xcorr;
_parent["blado" + i].Y = 200 + Ycorr;
_parent["blado" + i].Z = 316.24703;
creationI = true;
} else if (((Zpassed >= 100) & ((!creationII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].redhave = true;
_parent["blado" + i].X = 100 + Xcorr;
_parent["blado" + i].Y = -200 + Ycorr;
_parent["blado" + i].Z = 366.24112;
creationII = true;
} else if (((Zpassed >= 200) & ((!creationIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = -200 + Xcorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Y = -150 + Ycorr;
_parent["shad" + i].Z = 312.236548;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 0 + Xcorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Y = 50 + Ycorr;
_parent["shad" + i].Z = 310.568932;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 300 + Xcorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Y = -100 + Ycorr;
_parent["shad" + i].Z = 311.975327;
creationIII = true;
} else if (((Zpassed >= 300) & ((!creationIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 400 + Xcorr;
_parent["shad" + i].Y = 200 + Ycorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Z = 301.078954;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = -500 + Xcorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Y = -300 + Ycorr;
_parent["shad" + i].Z = 302.357681;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 100 + Xcorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Y = 400 + Ycorr;
_parent["shad" + i].Z = 303.872401;
creationIV = true;
} else if (((Zpassed >= 600) & ((!creationV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.wusp.duplicateMovieClip("wusp" + i, i);
_parent["wusp" + i].active = true;
_parent["wusp" + i].X = 0 + Xcorr;
_parent["wusp" + i].Y = 0 + Ycorr;
_parent["wusp" + i].Z = 316.24703;
_parent["wusp" + i].Zmax = 1600;
_parent["wusp" + i].redhave = true;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 300 + Xcorr;
_parent["shad" + i].Y = -100 + Ycorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Z = 711.975327;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 100 + Xcorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Y = 300 + Ycorr;
_parent["shad" + i].Z = 911.975327;
creationV = true;
} else if (((Zpassed >= 1700) & ((!creationVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jet.duplicateMovieClip("jet" + i, i);
_parent["jet" + i].active = true;
_parent["jet" + i].X = 0 + Xcorr;
_parent["jet" + i].N = 1;
_parent["jet" + i].Y = 0 + Ycorr;
_parent["jet" + i].Z = 313.359876833;
creationVI = true;
} else if (((Zpassed >= 1800) & ((!creationVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = -300 + Xcorr;
_parent["blado" + i].Y = -100 + Ycorr;
_parent["blado" + i].Z = 316.247034575;
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 150 + Xcorr;
_parent["blado" + i].redhave = true;
_parent["blado" + i].Y = -100 + Ycorr;
_parent["blado" + i].Z = 313.545667354;
creationVII = true;
} else if (((Zpassed >= 1900) & ((!creationVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 100 + Xcorr;
_parent["blado" + i].Y = 200 + Ycorr;
_parent["blado" + i].Z = 316.247034575;
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 100 + Xcorr;
_parent["blado" + i].redhave = true;
_parent["blado" + i].Y = -200 + Ycorr;
_parent["blado" + i].Z = 353.545667354;
creationVIII = true;
} else if (((Zpassed >= 2000) & ((!creationIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 50 + Xcorr;
_parent["item" + i].Y = -50 + Ycorr;
_parent["item" + i].Z = 311.04703;
creationIX = true;
} else if (((Zpassed >= 2500) & ((!creationX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.scor.duplicateMovieClip("scor" + i, i);
_parent["scor" + i].active = true;
_parent["scor" + i].X = -400 + Xcorr;
_parent["scor" + i].Xgo = 300;
_parent["scor" + i].Y = -300 + Ycorr;
_parent["scor" + i].Ygo = 200;
_parent["scor" + i].Z = -53.687904;
_parent["scor" + i].greenhave = true;
_parent["scor" + i].Zmax = 3500;
i = i + 1;
_parent.scor.duplicateMovieClip("scor" + i, i);
_parent["scor" + i].active = true;
_parent["scor" + i].X = 400 + Xcorr;
_parent["scor" + i].Xgo = -300;
_parent["scor" + i].Y = -300 + Ycorr;
_parent["scor" + i].Ygo = 200;
_parent["scor" + i].Z = -51.348967845;
_parent["scor" + i].redhave = true;
_parent["scor" + i].Zmax = 3500;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 300 + Xcorr;
_parent["shad" + i].Y = -100 + Ycorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Z = 711.975327;
i = i + 1;
_parent.scor.duplicateMovieClip("scor" + i, i);
_parent["scor" + i].active = true;
_parent["scor" + i].X = 0 + Xcorr;
_parent["scor" + i].Xgo = 0;
_parent["scor" + i].Y = 300 + Ycorr;
_parent["scor" + i].Ygo = -200;
_parent["scor" + i].Z = -52.75685836;
_parent["scor" + i].bluehave = true;
_parent["scor" + i].Zmax = 3500;
creationX = true;
} else if (((Zpassed >= 3200) & ((!creationXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = -300 + Xcorr;
_parent["rock" + i].Y = 200 + Ycorr;
_parent["rock" + i].Z = 316.2470378609;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = -200 + Xcorr;
_parent["item" + i].Y = 150 + Ycorr;
_parent["item" + i].Z = 311.04703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = 100 + Xcorr;
_parent["rock" + i].Y = -200 + Ycorr;
_parent["rock" + i].Z = 413.284578964;
creationXI = true;
} else if (((Zpassed >= 3400) & ((!creationXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = 200 + Xcorr;
_parent["rock" + i].Y = -200 + Ycorr;
_parent["rock" + i].Z = 316.2470378609;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 100 + Xcorr;
_parent["item" + i].Y = -150 + Ycorr;
_parent["item" + i].Z = 311.04703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = -100 + Xcorr;
_parent["rock" + i].Y = 100 + Ycorr;
_parent["rock" + i].Z = 413.284578964;
creationXII = true;
} else if (((Zpassed >= 3600) & ((!creationXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = -200 + Xcorr;
_parent["rock" + i].Y = 0 + Ycorr;
_parent["rock" + i].Z = 316.2470378609;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = -100 + Xcorr;
_parent["item" + i].Y = 50 + Ycorr;
_parent["item" + i].Z = 311.04703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = 300 + Xcorr;
_parent["rock" + i].Y = 200 + Ycorr;
_parent["rock" + i].Z = 413.284578964;
creationXIII = true;
} else if (((Zpassed >= 3800) & ((!creationXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = 0 + Xcorr;
_parent["rock" + i].Y = 300 + Ycorr;
_parent["rock" + i].Z = 316.2470378609;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 50 + Xcorr;
_parent["item" + i].Y = 200 + Ycorr;
_parent["item" + i].Z = 311.04703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = -200 + Xcorr;
_parent["rock" + i].Y = 300 + Ycorr;
_parent["rock" + i].Z = 413.284578964;
creationXIV = true;
} else if (((Zpassed >= 4000) & ((!creationXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = 300 + Xcorr;
_parent["rock" + i].Y = -100 + Ycorr;
_parent["rock" + i].Z = 316.2470378609;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 200 + Xcorr;
_parent["item" + i].Y = 50 + Ycorr;
_parent["item" + i].Z = 311.04703;
i = i + 1;
_parent.rock.duplicateMovieClip("rock" + i, i);
_parent["rock" + i].active = true;
_parent["rock" + i].X = -300 + Xcorr;
_parent["rock" + i].Y = 100 + Ycorr;
_parent["rock" + i].Z = 413.284578964;
creationXV = true;
} else if (((Zpassed >= 4300) & ((!creationXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jet.duplicateMovieClip("jet" + i, i);
_parent["jet" + i].active = true;
_parent["jet" + i].X = -100 + Xcorr;
_parent["jet" + i].N = 1;
_parent["jet" + i].Y = 50 + Ycorr;
_parent["jet" + i].Z = 313.359876833;
creationXVI = true;
} else if (((Zpassed >= 4500) & ((!creationXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jet.duplicateMovieClip("jet" + i, i);
_parent["jet" + i].active = true;
_parent["jet" + i].X = 100 + Xcorr;
_parent["jet" + i].N = -1;
_parent["jet" + i].Y = -50 + Ycorr;
_parent["jet" + i].Z = 313.359876833;
creationXVII = true;
} else if (((Zpassed >= 4700) & ((!creationXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = -200 + Xcorr;
_parent["blado" + i].Y = 100 + Ycorr;
_parent["blado" + i].Z = 316.24703;
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 100 + Xcorr;
_parent["blado" + i].Y = 200 + Ycorr;
_parent["blado" + i].Z = 366.24703;
creationXVIII = true;
} else if (((Zpassed >= 4800) & ((!creationXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 50 + Xcorr;
_parent["blado" + i].Y = 300 + Ycorr;
_parent["blado" + i].Z = 316.24703;
creationXIX = true;
} else if (((Zpassed >= 5000) & ((!creationXX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.fist.duplicateMovieClip("fist" + i, i);
_parent["fist" + i].active = true;
_parent["fist" + i].X = 0 + Xcorr;
_parent["fist" + i].Y = 0 + Ycorr;
_parent["fist" + i].Z = 312.45678;
_parent["fist" + i].Zmax = 6500;
_parent["fist" + i].greenhave = true;
i = i + 1;
_parent.wusp.duplicateMovieClip("wusp" + i, i);
_parent["wusp" + i].active = true;
_parent["wusp" + i].X = 0 + Xcorr;
_parent["wusp" + i].Y = 0 + Ycorr;
_parent["wusp" + i].Z = 316.24703;
_parent["wusp" + i].Zmax = 5700;
_parent["wusp" + i].redhave = true;
creationXX = true;
} else if (((Zpassed >= 5900) & ((!creationXXI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = -200 + Xcorr;
_parent["blado" + i].Y = 100 + Ycorr;
_parent["blado" + i].Z = 316.24703;
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 300 + Xcorr;
_parent["blado" + i].Y = -100 + Ycorr;
_parent["blado" + i].Z = 366.24703;
creationXXI = true;
} else if (((Zpassed >= 6000) & ((!creationXXII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = 50 + Xcorr;
_parent["blado" + i].Y = 300 + Ycorr;
_parent["blado" + i].Z = 316.24703;
i = i + 1;
_parent.blado.duplicateMovieClip("blado" + i, i);
_parent["blado" + i].active = true;
_parent["blado" + i].X = -100 + Xcorr;
_parent["blado" + i].Y = -250 + Ycorr;
_parent["blado" + i].Z = 366.24703;
creationXXII = true;
} else if (((Zpassed >= 6500) & ((!creationXXIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jet.duplicateMovieClip("jet" + i, i);
_parent["jet" + i].active = true;
_parent["jet" + i].X = 150 + Xcorr;
_parent["jet" + i].N = -1;
_parent["jet" + i].Y = 200 + Ycorr;
_parent["jet" + i].Z = 313.359876833;
creationXXIII = true;
} else if (((Zpassed >= 6700) & ((!creationXXIV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jet.duplicateMovieClip("jet" + i, i);
_parent["jet" + i].active = true;
_parent["jet" + i].X = -150 + Xcorr;
_parent["jet" + i].N = 1;
_parent["jet" + i].Y = 200 + Ycorr;
_parent["jet" + i].Z = 313.359876833;
creationXXIV = true;
} else if (((Zpassed >= 6900) & ((!creationXXV) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jet.duplicateMovieClip("jet" + i, i);
_parent["jet" + i].active = true;
_parent["jet" + i].X = 150 + Xcorr;
_parent["jet" + i].N = -1;
_parent["jet" + i].Y = 200 + Ycorr;
_parent["jet" + i].Z = 313.359876833;
creationXXV = true;
} else if (((Zpassed >= 7100) & ((!creationXXVI) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.jet.duplicateMovieClip("jet" + i, i);
_parent["jet" + i].active = true;
_parent["jet" + i].X = -150 + Xcorr;
_parent["jet" + i].N = 1;
_parent["jet" + i].Y = 200 + Ycorr;
_parent["jet" + i].Z = 313.359876833;
creationXXVI = true;
} else if (((Zpassed >= 7200) & ((!creationXXVII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.scor.duplicateMovieClip("scor" + i, i);
_parent["scor" + i].active = true;
_parent["scor" + i].X = -400 + Xcorr;
_parent["scor" + i].Xgo = 300;
_parent["scor" + i].Y = -300 + Ycorr;
_parent["scor" + i].Ygo = 200;
_parent["scor" + i].Z = -53.687904;
_parent["scor" + i].redhave = true;
_parent["scor" + i].Zmax = 8500;
i = i + 1;
_parent.scor.duplicateMovieClip("scor" + i, i);
_parent["scor" + i].active = true;
_parent["scor" + i].X = 400 + Xcorr;
_parent["scor" + i].Xgo = -300;
_parent["scor" + i].Y = -300 + Ycorr;
_parent["scor" + i].Ygo = 200;
_parent["scor" + i].Z = -51.348967845;
_parent["scor" + i].redhave = true;
_parent["scor" + i].Zmax = 8500;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 300 + Xcorr;
_parent["shad" + i].Y = -100 + Ycorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Z = 711.975327;
i = i + 1;
_parent.scor.duplicateMovieClip("scor" + i, i);
_parent["scor" + i].active = true;
_parent["scor" + i].X = 0 + Xcorr;
_parent["scor" + i].Xgo = 0;
_parent["scor" + i].Y = 300 + Ycorr;
_parent["scor" + i].Ygo = -200;
_parent["scor" + i].Z = -52.75685836;
_parent["scor" + i].Zmax = 8500;
creationXXVII = true;
} else if (((Zpassed >= 8000) & ((!creationXXVIII) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = -200 + Xcorr;
_parent["shad" + i].Y = 0 + Ycorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Z = 311.975327;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 100 + Xcorr;
_parent["shad" + i].Y = -100 + Ycorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Z = 312.85436897;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = -200 + Xcorr;
_parent["shad" + i].Y = 200 + Ycorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Z = 309.143893489;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 250 + Xcorr;
_parent["shad" + i].Y = 300 + Ycorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Z = 313.5864756549;
creationXXVIII = true;
} else if (((Zpassed >= 8100) & ((!creationXXIX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = 250 + Xcorr;
_parent["shad" + i].Y = 50 + Ycorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Z = 313.5864756549;
i = i + 1;
_parent.shad.duplicateMovieClip("shad" + i, i);
_parent["shad" + i].active = true;
_parent["shad" + i].X = -200 + Xcorr;
_parent["shad" + i].Y = 50 + Ycorr;
_parent["shad" + i].bluehave = true;
_parent["shad" + i].Z = 311.547458957;
creationXXIX = true;
} else if (((Zpassed >= 8200) & ((!creationXXX) == true)) & ((!_root.checkpoint) == true)) {
i = i + 1;
_parent.chuck.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 0 + Xcorr;
_parent["item" + i].Y = -150 + Ycorr;
_parent["item" + i].Z = 311.04703192367;
creationXXX = true;
} else if ((Zpassed >= 9500) & ((!creationXXXI) == true)) {
i = i + 1;
_parent.cloak.duplicateMovieClip("boss", i);
_parent.boss.active = true;
_parent.boss.X = 50 + Xcorr;
_parent.boss.Y = 50 + Ycorr;
_parent.boss.Z = 511.047134586098;
creationXXXI = true;
}
if (Zpassed > 6300) {
if (fin <= 0) {
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = (0.138764500567892 + random(200)) + 100;
_parent["dust" + i].Y = (random(800) - 400) + Xcorr;
_parent["dust" + i].X = (random(1200) - 600) + Ycorr;
fin = 5;
} else {
fin = fin - 1;
}
if (Ver <= 0) {
i = i + 1;
_parent.light.duplicateMovieClip("light" + i, 599861235.499432);
_parent["light" + i].active = true;
_parent["light" + i].Z = 400.138764500568;
_parent["light" + i].Y = 200 + Ycorr;
_parent["light" + i].X = 0 + Xcorr;
Ver = 25;
} else {
Ver = Ver - (_parent.player.enginespeed / 2);
}
} else if (Ver <= 0) {
i = i + 1;
_parent.dust.duplicateMovieClip("dust" + i, 947998565.2);
_parent["dust" + i].active = true;
_parent["dust" + i].Z = (0.138764500567892 + random(200)) + 100;
_parent["dust" + i].Y = (random(800) - 400) + Xcorr;
_parent["dust" + i].X = (random(1200) - 600) + Ycorr;
Ver = 4;
} else {
Ver = Ver - 1;
}
}
if (endit == true) {
endtime = endtime + 1;
if (endtime >= 300) {
finished = true;
endit = false;
}
}
if (finished == true) {
if (_root.scorebord.hideaway == true) {
_parent.player.Z = _parent.player.Z + (_parent.player.enginespeed - 2);
_parent.player.steerboost = true;
}
if (_parent.player.Z > 300) {
_root.blackscreen.toshow = true;
if (_root.blackscreen._alpha >= 100) {
stopAllSounds();
_root.checkpoint = false;
_root.gotoAndStop("lvlIIII");
}
}
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (100 - _parent.player.Y));
_parent.player.disabled = true;
_parent.croshairA._visible = false;
_parent.croshairB._visible = false;
}
if (Key.isDown(32)) {
keydown = true;
} else {
keydown = false;
}
}
Instance of Symbol 847 MovieClip "sword" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
plot = new Sound();
plot.attachSound("beam");
_visible = false;
time = 0;
H = -10;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
if (_root.laserlevel < 3) {
_root.laserlevel = _root.laserlevel + 1;
}
_parent.player.player.greenglow.gotoAndPlay(1);
_parent.player.player.greenglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 867 MovieClip "shield" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_parent.player.shield = _parent.player.shield + 20;
_parent.player.player.redglow.gotoAndPlay(1);
_parent.player.player.redglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 888 MovieClip "cap" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_root.bombstock = _root.bombstock + 1;
_parent.player.player.blueglow.gotoAndPlay(1);
_parent.player.player.blueglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 913 MovieClip "pultron" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("dra");
kets = new Sound(this);
kets.attachSound("kets");
expl = new Sound(this);
expl.attachSound("smallknal");
Xgo = 0;
Ygo = 0;
vx = 0;
vy = 0;
enginespeed = 0;
time = 0;
coolcannon = 1;
hp = 70;
dead = false;
pain = false;
opu = false;
reclo = true;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
eenshot.setVolume(volumen);
kets.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
_rotation = (_rotation + 5);
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
} else {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
} else {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
} else {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if ((coolcannon <= 0) | (reclo == false)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.pultron.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 10;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
_root.bonusB.playmay = true;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
}
}
dead = true;
}
if (((((Z > 160) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = -1;
}
if (((((Z < 155) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = 4;
}
if (((((Z <= 160) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
if ((!opu) == true) {
this.pultron.pultron.play();
coolcannon = coolcannon - 1;
} else if (opu == true) {
if (enginespeed < _parent.player.enginespeed) {
enginespeed = enginespeed + 1;
}
if (enginespeed > _parent.player.enginespeed) {
enginespeed = enginespeed - 1;
}
if ((X < Xgo) & (vx < 10)) {
vx = vx + 1;
}
if ((X > Xgo) & (vx > -10)) {
vx = vx - 1;
}
if ((Y < Ygo) & (vy < 10)) {
vy = vy + 1;
}
if ((Y > Ygo) & (vy > -10)) {
vy = vy - 1;
}
if (coolcannon <= 0) {
this.pultron.pultron.nextFrame();
if (reclo == false) {
mainwheather = false;
i = i + 1;
this.pultron.pultron.pultron.shot.play();
eenshot.start();
_parent.enemylaserCOP.duplicateMovieClip(("ElaserC" + this._name) + i, 1000000000 - ((Z - 1.460456789) * 1000000));
_parent[("ElaserC" + this._name) + i].active = true;
_parent[("ElaserC" + this._name) + i].Z = Z - 1.460456789;
_parent[("ElaserC" + this._name) + i].Zi = Z - 1.460456789;
_parent[("ElaserC" + this._name) + i].X = X;
_parent[("ElaserC" + this._name) + i].Xi = X;
_parent[("ElaserC" + this._name) + i].Y = Y;
_parent[("ElaserC" + this._name) + i].Yi = Y;
_parent[("ElaserC" + this._name) + i].Xtar = X;
_parent[("ElaserC" + this._name) + i].Ytar = Y;
coolcannon = 70;
}
} else if (coolcannon > 0) {
if (((!mainwheather) == true) & (reclo == true)) {
Xgo = _parent.player.X;
Ygo = _parent.player.Y;
mainwheather = true;
}
this.pultron.pultron.prevFrame();
coolcannon = coolcannon - 1;
}
}
} else if (_parent.lvl.Zpassed >= Zmax) {
coolcannon = 70;
reclo = true;
this.pultron.pultron.prevFrame();
if (enginespeed > 0) {
enginespeed = enginespeed - 1;
}
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 82 MovieClip "enemylaserCOP" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 5.273465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
if (aimed == true) {
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
}
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 937 MovieClip "obus" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
hp = 40;
i = 0;
H = -10;
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
_visible = false;
dead = false;
pain = false;
D = -0.01;
t = 0;
Xref = 0;
Yref = 0;
PER = 0.1;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
t++;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
kets.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
X = X + (((-R) * PER) * Math.sin(PER * t));
Y = Y + (((-R) * PER) * Math.cos(PER * t));
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].vr = random(20) - 10;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.player.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
}
dead = true;
}
}
if (Z < 0) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 953 MovieClip "scor" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("sonic");
expl = new Sound(this);
expl.attachSound("smallknal");
coolcannon = 0;
hp = 2;
vx = 0;
vy = 0;
dead = false;
pain = false;
enginespeed = 0;
H = -10;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
eenshot.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X + vx;
Y = Y + vy;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if (((Z < 90) & ((!_parent.player.dead) == true)) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 6;
} else if (((Z > 110) & ((!_parent.player.dead) == true)) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 0;
} else if (((!_parent.player.dead) == true) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 2;
} else {
enginespeed = 4;
}
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.scor.play();
pain = false;
}
if ((X < (Xgo + _parent.lvl.Xcorr)) & (vx < 10)) {
vx = vx + 1;
}
if ((X > (Xgo + _parent.lvl.Xcorr)) & (vx > -10)) {
vx = vx - 1;
}
if ((Y < (Ygo + _parent.lvl.Ycorr)) & (vy < 10)) {
vy = vy + 1;
}
if ((Y > (Ygo + _parent.lvl.Ycorr)) & (vy > -10)) {
vy = vy - 1;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 4;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
}
}
dead = true;
}
this.scor.scor.gotoAndStop(6 + Math.ceil((_parent.player.X - X) / 120));
if ((((Z < 150) & (Z > 50)) & (dead == false)) & ((!_parent.player.dead) == true)) {
coolcannon = coolcannon - 1;
if (coolcannon <= 0) {
i = i + 1;
eenshot.start();
_parent.sonic.duplicateMovieClip(("sonic" + this._name) + i, 1000000000 - (1000000 * (Z - 3.460456789)));
_parent[("sonic" + this._name) + i].active = true;
_parent[("sonic" + this._name) + i].Z = Z - 3.460456789;
_parent[("sonic" + this._name) + i].Zi = Z - 3.460456789;
_parent[("sonic" + this._name) + i].X = X;
_parent[("sonic" + this._name) + i].Xi = X;
_parent[("sonic" + this._name) + i].Y = Y;
_parent[("sonic" + this._name) + i].Yi = Y;
_parent[("sonic" + this._name) + i].Xtar = _parent.player.X;
_parent[("sonic" + this._name) + i].Ytar = _parent.player.Y;
coolcannon = 30;
}
}
}
if (Z > 250) {
this.swapDepths(0);
this.removeMovieClip();
}
}
Instance of Symbol 955 MovieClip "sonic" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 4.383465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 7;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 1462 MovieClip "shad" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
expl = new Sound(this);
expl.attachSound("smallknal");
coolcannon = 0;
hp = 5;
dead = false;
pain = false;
enginespeed = 0;
H = -10;
vx = 0;
vy = 0;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if (((Z < 70) & (Z > -30)) & ((!dead) == true)) {
Z = Z - 1;
if ((X > _parent.player.X) & (vx > -20)) {
vx = vx - 2;
}
if ((X < _parent.player.X) & (vx < 20)) {
vx = vx + 2;
}
if ((Y > _parent.player.Y) & (vy > -20)) {
vy = vy - 2;
}
if ((Y < _parent.player.Y) & (vy < 20)) {
vy = vy + 2;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.shad.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 15;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 2;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
}
}
vx = 0;
vy = 0;
dead = true;
}
}
if (Z < 0) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 990 MovieClip "fist" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("dra");
expl = new Sound(this);
expl.attachSound("smallknal");
Xgo = 0;
Ygo = 0;
vx = 0;
vy = 0;
enginespeed = 0;
time = 0;
coolcannon = 0;
hp = 70;
dead = false;
pain = false;
opu = false;
reclo = true;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
eenshot.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
_rotation = (_rotation + 5);
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.fist.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 10;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
_root.hits = _root.hits + 1;
_root.bonusB.playmay = true;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
}
}
dead = true;
}
if (((((Z > 150) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = -1;
}
if (((((Z < 145) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
vy = 0;
vx = 0;
enginespeed = 4;
}
if (((((Z <= 150) & (_parent.lvl.Zpassed < Zmax)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
if (enginespeed < _parent.player.enginespeed) {
enginespeed = enginespeed + 1;
}
if (enginespeed > _parent.player.enginespeed) {
enginespeed = enginespeed - 1;
}
if ((X < Xgo) & (vx < 10)) {
vx = vx + 1;
}
if ((X > Xgo) & (vx > -10)) {
vx = vx - 1;
}
if ((Y < Ygo) & (vy < 10)) {
vy = vy + 1;
}
if ((Y > Ygo) & (vy > -10)) {
vy = vy - 1;
}
if (coolcannon <= 0) {
mainwheather = false;
i = i + 1;
eenshot.start();
_parent.enemytorp.duplicateMovieClip(("Etorp" + this._name) + i, 1000000000 - ((Z - 1.460456789) * 1000000));
_parent[("Etorp" + this._name) + i].active = true;
_parent[("Etorp" + this._name) + i].Z = Z - 1.460456789;
_parent[("Etorp" + this._name) + i].X = X;
_parent[("Etorp" + this._name) + i].Y = Y;
coolcannon = 70;
} else if (coolcannon > 0) {
if (((!mainwheather) == true) & (reclo == true)) {
Xgo = _parent.player.X;
Ygo = _parent.player.Y;
mainwheather = true;
}
coolcannon = coolcannon - 1;
}
} else if (_parent.lvl.Zpassed >= Zmax) {
coolcannon = 70;
reclo = true;
if (enginespeed > 0) {
enginespeed = enginespeed - 1;
}
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1005 MovieClip "enemytorp" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
hp = 1;
D = -0.01;
bombspeed = 4.0021156;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
inflight.stop();
} else if ((explosion == true) & ((!souldone) == true)) {
play();
}
}
onClipEvent (enterFrame) {
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((active == true) & ((!_root.gamepaused) == true)) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
Z = Z - bombspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (((this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 6)) | (hp <= 0)) & (bombspeed > 0)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.beenhit = true;
_parent.player.shield = _parent.player.shield - 15;
inflight.stop();
play();
explosion = true;
bombspeed = 0;
}
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
Instance of Symbol 1030 MovieClip "wusp" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("sonic");
expl = new Sound(this);
expl.attachSound("smallknal");
buzz = new Sound(this);
buzz.attachSound("wasp");
coolcannon = 0;
hp = 6;
time = 0;
dead = false;
pain = false;
enginespeed = 0;
H = -10;
vx = 0;
vy = 0;
D = -0.01;
Xref = 0;
Yref = 0;
Xgo = 0;
Ygo = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
buzz.stop();
eenshot.stop();
stop();
busat = false;
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if (dead == true) {
buzz.stop();
enginespeed = 0;
} else if ((!busat) == true) {
buzz.start(0, 999);
busat = true;
}
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((!dead) == true) {
time++;
if (time > 30) {
time = 0;
Xgo = random(1000) - 500;
Ygo = random(700) - 350;
}
coolcannon = coolcannon - 1;
if (((coolcannon <= 0) & ((!_parent.player.dead) == true)) & (_parent.lvl.Zpassed < Zmax)) {
i = i + 1;
eenshot.start();
_parent.sonic.duplicateMovieClip(("sonic" + this._name) + i, 1000000000 - (1000000 * (Z - 3.460456789)));
_parent[("sonic" + this._name) + i].active = true;
_parent[("sonic" + this._name) + i].Z = Z - 3.460456789;
_parent[("sonic" + this._name) + i].Zi = Z - 3.460456789;
_parent[("sonic" + this._name) + i].X = X;
_parent[("sonic" + this._name) + i].Xi = X;
_parent[("sonic" + this._name) + i].Y = Y;
_parent[("sonic" + this._name) + i].Yi = Y;
_parent[("sonic" + this._name) + i].Xtar = _parent.player.X;
_parent[("sonic" + this._name) + i].Ytar = _parent.player.Y;
coolcannon = 30;
}
if (((Z < 70) & ((!_parent.player.dead) == true)) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 6;
} else if (((Z > 90) & ((!_parent.player.dead) == true)) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 0;
} else if (((!_parent.player.dead) == true) & (_parent.lvl.Zpassed < Zmax)) {
enginespeed = 2;
} else {
enginespeed = 4;
}
if ((X > Xgo) & (vx > -20)) {
vx = vx - 2;
}
if ((X < Xgo) & (vx < 20)) {
vx = vx + 2;
}
if ((Y > Ygo) & (vy > -20)) {
vy = vy - 2;
}
if ((Y < Ygo) & (vy < 20)) {
vy = vy + 2;
}
} else {
enginespeed = 0;
}
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.wusp.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 15;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
buzz.stop();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 2;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
}
}
vx = 0;
vy = 0;
dead = true;
}
}
if (Z > 400) {
this.swapDepths(0);
buzz.stop();
this.removeMovieClip();
}
if (Z < 0) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
buzz.stop();
this.removeMovieClip();
}
} else {
this.swapDepths(0);
buzz.stop();
this.removeMovieClip();
}
}
}
Instance of Symbol 1053 MovieClip "rock" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
hp = 1;
i = 0;
H = -10;
expl = new Sound(this);
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!finalframe) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.rock.play();
pain = false;
}
if (((((!DET) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < ((3 * _height) / _xscale))) & ((!smoke) == true)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 10;
crash = true;
DET = true;
}
if ((Z < 30) & ((!crash) == true)) {
hp = hp - 10;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
this.play();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
}
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1058 MovieClip "chuck" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
stop();
} else if ((getitem == true) & ((!finalframe) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((getitem == true) & (Z < (_parent.player.Z - 2))) {
X = X + (0.1 * (_parent.player.X - X));
Y = Y + (0.1 * (_parent.player.Y - Y));
X = X + _parent.player.vx;
Y = Y + _parent.player.vy;
} else {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
}
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.body.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 4)) & ((!getitem) == true)) {
_root.checkpoint = true;
_root.REChits = _root.hits;
plot.start();
play();
getitem = true;
}
}
if (finalframe == true) {
this.swapDepths(0);
this.removeMovieClip();
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1464 MovieClip "dust" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = Z - _parent.player.enginespeed;
if ((!_parent.lvl.finished) == true) {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
}
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1367 MovieClip "enemyhoming" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
hp = 1;
D = -0.01;
bombspeed = 2.0021156;
vx = 0;
vy = 0;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
inflight.stop();
} else if ((explosion == true) & ((!souldone) == true)) {
play();
}
}
onClipEvent (enterFrame) {
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((active == true) & ((!_root.gamepaused) == true)) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
Z = Z - bombspeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
if ((!explosion) == true) {
if ((X < _parent.player.X) & (vx < 20)) {
vx = vx + 2;
}
if ((X > _parent.player.X) & (vx > -20)) {
vx = vx - 2;
}
if ((Y < _parent.player.Y) & (vy < 20)) {
vy = vy + 2;
}
if ((Y > _parent.player.Y) & (vy > -20)) {
vy = vy - 2;
}
}
if (((this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 6)) | (hp <= 0)) & (bombspeed > 0)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.beenhit = true;
_parent.player.shield = _parent.player.shield - 15;
inflight.stop();
play();
explosion = true;
bombspeed = 0;
}
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
Instance of Symbol 1480 MovieClip "jet" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
eenshot = new Sound(this);
eenshot.attachSound("plasma");
expl = new Sound(this);
expl.attachSound("smallknal");
buzz = new Sound(this);
buzz.attachSound("straalmotor");
coolcannon = 0;
hp = 4;
time = 0;
dead = false;
pain = false;
enginespeed = 0;
H = -10;
vx = 0;
vy = 0;
D = -0.01;
Xref = 0;
Yref = 0;
Xgo = 0;
Ygo = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = (N * 100) * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
buzz.stop();
eenshot.stop();
stop();
busat = false;
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if (dead == true) {
buzz.stop();
} else if ((!busat) == true) {
buzz.start(0, 999);
busat = true;
}
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = (N * 100) * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
Z = Z - 2;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((((!dead) == true) & (Z < 200)) & (Z > 90)) {
coolcannon = coolcannon - 1;
if ((coolcannon <= 0) & ((!_parent.player.dead) == true)) {
i = i + 1;
eenshot.start();
_parent.plasm.duplicateMovieClip(("plasm" + this._name) + i, 1000000000 - (1000000 * (Z - 3.460456789)));
_parent[("plasm" + this._name) + i].active = true;
_parent[("plasm" + this._name) + i].Z = Z - 3.460456789;
_parent[("plasm" + this._name) + i].Zi = Z - 3.460456789;
_parent[("plasm" + this._name) + i].X = X;
_parent[("plasm" + this._name) + i].Xi = X;
_parent[("plasm" + this._name) + i].Y = Y;
_parent[("plasm" + this._name) + i].Yi = Y;
_parent[("plasm" + this._name) + i].Xtar = _parent.player.X;
_parent[("plasm" + this._name) + i].Ytar = _parent.player.Y;
coolcannon = 12;
}
} else if (((!dead) == true) & (Z <= 90)) {
this.jet.jet.nextFrame();
Y = Y - 15;
X = X + (15 * N);
}
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiiii].absorb = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
crash = false;
this.wusp.play();
pain = false;
}
if (((((!crash) == true) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 4)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
hp = hp - 15;
crash = true;
}
if ((hp <= 0) & (dead == false)) {
buzz.stop();
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip(("item" + this._name) + i, 1000000000 - (1000000 * (Z + 1.764689)));
_parent[("item" + this._name) + i].active = true;
_parent[("item" + this._name) + i].Z = Z + 1.764689;
_parent[("item" + this._name) + i].X = X;
_parent[("item" + this._name) + i].Y = Y;
}
}
vx = 0;
vy = 0;
dead = true;
}
}
if (Z > 400) {
this.swapDepths(0);
buzz.stop();
this.removeMovieClip();
}
if (Z < 0) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
buzz.stop();
this.removeMovieClip();
}
} else {
this.swapDepths(0);
buzz.stop();
this.removeMovieClip();
}
}
}
Instance of Symbol 1481 MovieClip "plasm" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 7.383465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 3;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 1486 MovieClip "light" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = Z - _parent.player.enginespeed;
if ((!_parent.lvl.finished) == true) {
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
}
}
if (Z < -50) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1523 MovieClip "cloak" in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
hpmax = 40;
hp = hpmax;
i = 0;
H = -10;
hitplayer = 0;
timecloak = 0;
plot = new Sound();
plot.attachSound("beam");
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
eenshot = new Sound(this);
eenshot.attachSound("sonic");
_visible = false;
dead = false;
pain = false;
traag = 0;
enginespeed = 0;
counttime = 0;
D = -0.01;
vx = 0;
vy = 0;
coolcannon = 0;
Ystaaf = 330;
Xstaaf = 450;
Xref = 0;
Yref = 0;
Xgo = 0;
Ygo = 0;
Zoom = 140;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 250 * Math.exp(D * Z);
this._yscale = 250 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
if (_alpha > 0) {
_visible = true;
} else {
_visible = false;
}
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
kets.setVolume(volumen);
this._xscale = 250 * Math.exp(D * Z);
this._yscale = 250 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X + vx;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((((!dead) == true) & ((!_parent.player.dead) == true)) & (lockon == true)) {
if (goback == true) {
if (Z < Zoom) {
Z = Z + 12.0539074;
} else {
goback = false;
}
}
if (cloaking == true) {
timecloak = timecloak - 0.01;
if ((_alpha > 0) & (finalframe == true)) {
_alpha = (_alpha - 1);
}
if (timecloak <= 0) {
plot.start();
goback = true;
cloaking = false;
}
coolcannon = coolcannon - 1;
if (coolcannon <= 0) {
if ((Z > -10) & ((!_parent.player.dead) == true)) {
Z = Z - 12.0539074;
} else if (_parent.player.dead == true) {
enginespeed = 4;
} else {
Xgo = _parent.player.X;
Ygo = _parent.player.Y;
goback = true;
coolcannon = 50;
}
}
this.sat.sat.nextFrame();
} else {
_rotation = (_rotation + 7);
if (timecloak >= 6) {
plot.start();
cloaking = true;
}
if (_alpha < 100) {
_alpha = (_alpha + 1);
}
this.sat.sat.prevFrame();
coolcannon = coolcannon - 1;
if ((coolcannon <= 0) & (_alpha > 50)) {
i = i + 1;
eenshot.start();
_parent.sonic.duplicateMovieClip(("sonic" + this._name) + i, 1000000000 - (1000000 * (Z - 3.460456789)));
_parent[("sonic" + this._name) + i].active = true;
_parent[("sonic" + this._name) + i].Z = Z - 3.460456789;
_parent[("sonic" + this._name) + i].Zi = Z - 3.460456789;
_parent[("sonic" + this._name) + i].X = X;
_parent[("sonic" + this._name) + i].Xi = X;
_parent[("sonic" + this._name) + i].Y = Y;
_parent[("sonic" + this._name) + i].Yi = Y;
_parent[("sonic" + this._name) + i].Xtar = _parent.player.X;
_parent[("sonic" + this._name) + i].Ytar = _parent.player.Y;
Xgo = random(800) - 400;
Ygo = random(1200) - 600;
timecloak = timecloak + 1;
coolcannon = 50;
}
}
if (((X - _parent.lvl.Xcorr) < Xgo) & (vx < 30)) {
vx = vx + 3;
}
if (((X - _parent.lvl.Xcorr) > Xgo) & (vx > -30)) {
vx = vx - 3;
}
if (((Y - _parent.lvl.Ycorr) < Ygo) & (vy < 30)) {
vy = vy + 3;
}
if (((Y - _parent.lvl.Ycorr) > Ygo) & (vy > -30)) {
vy = vy - 3;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.i])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
} else {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.ii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
} else {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
} else {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.sat.sat.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
pain = true;
hp = hp - 1;
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
if (_alpha < 100) {
_alpha = (_alpha + 1);
}
if (cloaking == true) {
timecloak = 0;
plot.start();
cloaking = false;
}
this.sat.play();
pain = false;
}
hitplayer = hitplayer - 1;
if ((((hitplayer <= 0) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 20)) & (dead == false)) {
if (_alpha < 100) {
_alpha = (_alpha + 1);
}
if (cloaking == true) {
timecloak = 0;
plot.start();
goback = true;
cloaking = false;
}
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 20;
_parent.player.beenhit = true;
hitplayer = 70;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.bonus.playmay = true;
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
dead = true;
}
}
if (_parent.player.dead == true) {
enginespeed = 2;
}
if (dead == true) {
_parent.lvl.endit = true;
enginespeed = 0;
}
if ((((Z > Zoom) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
enginespeed = 0;
}
if ((((Z < (Zoom - 5)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
enginespeed = 3;
}
if ((((Z <= Zoom) & (Z > 0)) & ((!dead) == true)) & ((!_parent.player.dead) == true)) {
lockon = true;
if (enginespeed < _parent.player.enginespeed) {
enginespeed = enginespeed + 1;
}
if (enginespeed > _parent.player.enginespeed) {
enginespeed = enginespeed - 1;
}
}
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Symbol 1556 MovieClip Frame 1
stop();
Instance of Symbol 1533 MovieClip in Symbol 1556 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Instance of Symbol 1542 MovieClip in Symbol 1556 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Instance of Symbol 1067 MovieClip "spot" in Symbol 1556 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 1559 MovieClip Frame 1
stop();
Symbol 1566 MovieClip Frame 1
stop();
Symbol 1566 MovieClip Frame 62
stop();
Symbol 1582 MovieClip Frame 1
stop();
Instance of Symbol 1067 MovieClip "spot" in Symbol 1582 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1581 MovieClip in Symbol 1582 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else {
play();
}
}
Symbol 1584 MovieClip Frame 1
stop();
Symbol 1587 MovieClip Frame 1
stop();
Symbol 1587 MovieClip Frame 15
kip = true;
Symbol 1587 MovieClip Frame 16
stop();
Symbol 1588 MovieClip Frame 1
stop();
Instance of Symbol 779 MovieClip "player" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
beenhit = false;
shield = 100;
FF = 0;
H = -10;
D = -0.01;
eenshot = new Sound(this.player.shield);
eenshot.attachSound("blaster");
crash = new Sound(this);
crash.attachSound("glass");
nobomb = new Sound(this);
nobomb.attachSound("lamb");
tweeshot = new Sound(this.player.shield);
tweeshot.attachSound("ion");
drieshot = new Sound(this.player.shield);
drieshot.attachSound("plasma");
motortwee = new Sound(this.player.blueglow);
motortwee.attachSound("straalmotor");
motordrie = new Sound(this.player.blueglow);
motordrie.attachSound("straalmotorX2");
expl = new Sound();
expl.attachSound("smallknal");
shotbomb = false;
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
Yref = 0;
Xref = 0;
Ycheck = 0;
t = 0;
i = 0;
e = 0;
vy = 0;
vx = 0;
Xar = 0;
Yar = 0;
volumen = 100;
crashplaytime = 0.055;
coolcannon = 0;
enginepower = 200;
enginespeed = 1;
if (_root.checkpoint == true) {
X = 0;
Y = 50;
Z = 0;
} else {
X = 0;
Y = -230;
Z = 0;
}
this.swapDepths(1000000000 - (Z * 1000000));
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
ampl = 0;
}
onClipEvent (enterFrame) {
if (_root.invertion == true) {
up = 40;
down = 38;
} else {
down = 40;
up = 38;
}
bombstock = _root.bombstock;
laserlevel = _root.laserlevel;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = X * Math.exp(D * Z);
this._y = Y * Math.exp(D * Z);
this.swapDepths(1000000000 - (Z * 1000000));
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
if (bomstock > 99) {
bombstock = bombstock - 1;
}
if (shield > 100) {
shield = shield - 1;
}
if (shield <= 0) {
ampl = 0;
dead = true;
}
if (_root.gamepaused == true) {
motortwee.stop();
motordrie.stop();
eenshot.stop();
crash.stop();
this.boom.stop();
nobomb.stop();
tweeshot.stop();
drieshot.stop();
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = false;
}
if ((!_root.gamepaused) == true) {
t++;
X = X + vx;
Y = Y + vy;
verY = -Math.floor(Y / 36);
verX = -Math.floor(X / 52);
if ((dead == true) & (Y < 160)) {
if ((!crashtoplayed) == true) {
crash.start(crashplaytime);
crashtoplayed = true;
}
_rotation = (_rotation + 20);
} else if ((dead == true) & (this.player._alpha > 0)) {
fish = true;
enginespeed = 0;
enginepower = 0;
this.boom.boomplaying = true;
_parent.vol = _parent.vol - 20;
this.player._alpha = this.player._alpha - 20;
expl.start();
vx = 0;
vy = 0;
_root.blackscreen.toshow = true;
motortwee.stop();
motordrie.stop();
} else if ((dead == true) & (this.player._alpha <= 0)) {
enginespeed = 0;
enginepower = 0;
FF = FF + 1;
if (FF >= 100) {
_root.lives = _root.lives - 1;
_root.bombstock = 5;
_root.laserlevel = 1;
stopAllSounds();
if (_root.lives >= 0) {
_root.play();
} else {
_root.hitstotal = _root.hitstotal + _root.hits;
_root.gotoAndStop("end");
}
}
}
if ((((Key.isDown(90) & (Zdown == false)) & (shotbomb == false)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.bombstock > 0) {
i = i + 1;
_parent.torp.duplicateMovieClip("torp" + i, i);
_parent["torp" + i].active = true;
this.activebomb = _parent["torp" + i];
_root.bombstock = _root.bombstock - 1;
shotbomb = true;
} else {
nobomb.start();
}
}
if ((shotbomb == true) & (Zdown == true)) {
prego = true;
}
if ((((Key.isDown(90) & (Zdown == false)) & (prego == true)) & ((!dead) == true)) & ((!disabled) == true)) {
this.activebomb.prego = true;
shotbomb = false;
prego = false;
}
if (((Key.isDown(65) & (coolcannon <= 0)) & ((!dead) == true)) & ((!disabled) == true)) {
if (_root.laserlevel == 1) {
eenshot.setVolume(100);
eenshot.start();
} else if (_root.laserlevel == 2) {
tweeshot.setVolume(40);
tweeshot.start();
} else if (_root.laserlevel == 3) {
drieshot.setVolume(50);
drieshot.start();
}
i = i + 1;
_parent.laser.duplicateMovieClip("laser" + i, i);
_parent["laser" + i].active = true;
_parent["laser" + i].Z = Z + 3.078965;
_parent["laser" + i].Yref = Yref;
_parent["laser" + i].Xref = Xref;
coolcannon = 7;
}
if (coolcannon > 0) {
coolcannon = coolcannon - 1;
}
if (ampl > 0) {
ampl = ampl - 0.2;
}
if (Math.abs(ampl) <= 1) {
ampl = 0;
}
if (Ycheck < 0) {
Y = Y + 2;
Ycheck = Ycheck + 2;
}
if (Ycheck > 0) {
Y = Y - 2;
Ycheck = Ycheck - 2;
}
Y = Y + (ampl * Math.cos((Math.PI * t) / 12));
Ycheck = Ycheck + (ampl * Math.cos((Math.PI * t) / 12));
if ((beenhit == true) & ((!dead) == true)) {
crash.start(crashplaytime);
this.player.shield._visible = true;
this.player.shield._alpha = 100;
ampl = 20;
beenhit = false;
}
this.player.xhoek = Math.floor(verX + Xar);
if ((((Key.isDown(37) & (!Key.isDown(39))) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Xar > -5) {
Xar = Xar - 0.25;
}
if (Xar < -5) {
Xar = Xar + 0.25;
}
} else if ((((Key.isDown(39) & (!Key.isDown(37))) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Xar > 5) {
Xar = Xar - 0.25;
}
if (Xar < 5) {
Xar = Xar + 0.25;
}
} else {
if (Xar > 0) {
Xar = Xar - 0.5;
}
if (Xar < 0) {
Xar = Xar + 0.5;
}
}
this.player.yhoek = Math.floor(verY + Yar);
if ((((Key.isDown(down) & (!Key.isDown(up))) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Yar > -5) {
Yar = Yar - 0.25;
}
if (Yar < -5) {
Yar = Yar + 0.25;
}
} else if ((((Key.isDown(up) & (!Key.isDown(down))) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Yar > 5) {
Yar = Yar - 0.25;
}
if (Yar < 5) {
Yar = Yar + 0.25;
}
} else {
if ((Yar > 0) & (!(((dead == true) & (Y < 200)) & (Yar < 5)))) {
Yar = Yar - 0.5;
}
if ((Yar < 0) | (((dead == true) & (Y < 200)) & (Yar < 5))) {
Yar = Yar + 0.5;
}
}
if ((X <= -270) & ((!disabled) == true)) {
Lwall = true;
} else {
Lwall = false;
}
if ((X >= 270) & ((!disabled) == true)) {
Rwall = true;
} else {
Rwall = false;
}
if ((Y <= -180) & ((!disabled) == true)) {
Uwall = true;
} else {
Uwall = false;
}
if ((Y >= 180) & ((!disabled) == true)) {
Dwall = true;
} else {
Dwall = false;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(83) & (enginepower > 0)) & ((boosting == true) | (altdown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerboost == true)) {
motortwee.setVolume(volumen);
if ((!motordrieplaying) == true) {
motortwee.stop();
motordrie.start(0, 99999999999);
motoreenplaying = false;
motortweeplaying = false;
motordrieplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * 5);
boosting = true;
braking = false;
this.player.enginescreen = 1;
if (Z < 31) {
Z = Z + 3.1;
}
enginespeed = 4;
} else if (((((Key.isDown(68) & (enginepower > 0)) & ((braking == true) | (ctrldown == false))) & ((!dead) == true)) & ((!disabled) == true)) | (steerbrake == true)) {
vx = 0;
vy = 0;
motortwee.setVolume(0.3 * volumen);
if ((!motoreenplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motortweeplaying = false;
motoreenplaying = true;
}
if ((enginepower > 0) & ((!disabled) == true)) {
enginepower = enginepower - 2;
}
Cmaak = Math.exp(D * -5);
boosting = false;
braking = true;
this.player.enginescreen = -1;
if (Z > -31) {
Z = Z - 3.1;
}
enginespeed = 0;
} else {
motortwee.setVolume(0.7 * volumen);
if ((!motortweeplaying) == true) {
motordrie.stop();
motortwee.start(0, 99999999999);
motordrieplaying = false;
motoreenplaying = false;
motortweeplaying = true;
}
if (enginepower < 200) {
enginepower = enginepower + 1;
}
braking = false;
boosting = false;
this.player.enginescreen = 0;
Cmaak = 1;
if (Z < 0) {
Z = Z + 3.1;
}
if (Z > 0) {
Z = Z - 3.1;
}
if (!((dead == true) & (fish == true))) {
enginespeed = 2;
}
}
if ((!disabled) == true) {
}
if (((((Key.isDown(39) & (!Key.isDown(37))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerright == true)) {
if (Rwall == true) {
vx = 0;
} else {
if (vx < (10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref < (300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
if (Xref > (300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
} else if (((((Key.isDown(37) & (!Key.isDown(39))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerleft == true)) {
if (Lwall == true) {
vx = 0;
} else {
if (vx < (-10 * enginespeed)) {
vx = vx + (enginespeed / 4);
}
if (vx > (-10 * enginespeed)) {
vx = vx - (enginespeed / 4);
}
}
if (Xref > (-300 * Cmaak)) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < (-300 * Cmaak)) {
Xref = Xref + (15 * Cmaak);
}
} else {
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if (Xref > 0) {
Xref = Xref - (15 * Cmaak);
}
if (Xref < 0) {
Xref = Xref + (15 * Cmaak);
}
if (vx < 0) {
vx = vx + (enginespeed / 4);
}
if (vx > 0) {
vx = vx - (enginespeed / 4);
}
if (Math.abs(vx) < (enginespeed / 4)) {
vx = 0;
}
}
Xref = Cmaak * (X + ((300 * (Xar - (X / 52))) / 5));
Yref = Cmaak * (Y + ((200 * (Yar - (Y / 36))) / 5));
if (((Uwall == true) & (vy < 0)) | ((Dwall == true) & (vy > 0))) {
vy = 0;
}
if (((Lwall == true) & (vx < 0)) | ((Rwall == true) & (vx > 0))) {
vx = 0;
}
if ((!disabled) == true) {
}
if (((((Key.isDown(up) & (!Key.isDown(down))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerdown == true)) {
if (Dwall == true) {
vy = 0;
} else {
if (vy < (10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else if (((((Key.isDown(down) & (!Key.isDown(up))) & (enginespeed >= 2)) & ((!dead) == true)) & ((!disabled) == true)) | (steerup == true)) {
if (Uwall == true) {
vy = 0;
} else {
if (vy < (-10 * enginespeed)) {
vy = vy + (enginespeed / 4);
}
if (vy > (-10 * enginespeed)) {
vy = vy - (enginespeed / 4);
}
}
} else {
if (((Uwall == true) & (vy < 0)) | ((Dwall == true) & (vy > 0))) {
vy = 0;
}
if ((vy < 0) | (((dead == true) & (Y < 200)) & (vy < 10))) {
vy = vy + (enginespeed / 4);
}
if ((vy > 0) & (!(((dead == true) & (Y < 200)) & (vy < 10)))) {
vy = vy - (enginespeed / 4);
}
if (Math.abs(vy) < (enginespeed / 4)) {
vy = 0;
}
}
if (Key.isDown(83)) {
altdown = true;
} else {
altdown = false;
}
if (Key.isDown(68)) {
ctrldown = true;
} else {
ctrldown = false;
}
if (Key.isDown(65)) {
spacedown = true;
} else {
spacedown = false;
}
if (Key.isDown(90)) {
Zdown = true;
} else {
Zdown = false;
}
}
ii = i - 1;
iii = i - 2;
iiii = i - 3;
iiiii = i - 4;
iiiiii = i - 5;
iiiiiii = i - 6;
iiiiiiii = i - 7;
iiiiiiiii = i - 8;
iiiiiiiiii = i - 9;
iiiiiiiiiii = i - 10;
iiiiiiiiiiii = i - 11;
iiiiiiiiiiiii = i - 12;
iiiiiiiiiiiiii = i - 13;
iiiiiiiiiiiiiii = i - 14;
iiiiiiiiiiiiiiii = i - 15;
}
Instance of Symbol 786 MovieClip "laser" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
eenshot = new Sound(this);
eenshot.attachSound("blaster");
H = -10;
D = -0.01;
vx = 0;
vy = 0;
vr = 0;
gotoAndStop(_parent.player.laserlevel);
lightspeed = 15.699465768;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = (_parent.player.X + (2 * _parent.player.player.xhoek)) - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 5.378965;
_rotation = _parent.player._rotation;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
Z = Z + lightspeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
_rotation = (_rotation + vr);
if (active == true) {
if (lightspeed < 0) {
_alpha = (_alpha - 5);
}
Z = Z - _parent.player.enginespeed;
_visible = true;
if (((((Z >= 250) | (absorb == true)) | (Math.abs(_y) > 300)) | (Math.abs(_x) > 400)) | (_alpha < 0)) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 788 MovieClip "croshairB" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 100;
X = _parent.player.X - _parent.player.Xref;
Y = _parent.player.Y - _parent.player.Yref;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 200;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if (_parent.player.dead == true) {
_visible = false;
}
}
Instance of Symbol 788 MovieClip "croshairA" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
_visible = true;
D = -0.01;
H = -100;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
Z = _parent.player.Z + 200;
X = _parent.player.X;
Y = _parent.player.Y;
this.swapDepths(1000000000 - (Z * 1000000));
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
this.swapDepths(1000000000 - (Z * 1000000));
Z = _parent.player.Z + 70;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = _parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z));
if (_parent.player.dead == true) {
_visible = false;
}
}
Instance of Symbol 803 MovieClip "torp" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
H = -10;
D = -0.01;
bombspeed = 5.0021156;
Yref = _parent.player.Yref;
Xref = _parent.player.Xref;
_visible = false;
X = _parent.player.X - (_parent.player.Xref * Math.exp((-D) * _parent.player.Z));
Y = ((_parent.player.Y - (_parent.player.Yref * Math.exp((-D) * _parent.player.Z))) + _parent.player.player._y) + _parent.player.player.Yfire._y;
Z = _parent.player.Z + 1.97086;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
} else if (explosion == true) {
play();
}
}
onClipEvent (enterFrame) {
Xw = (10 * _width) / _xscale;
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
inflight.setVolume(volumen);
if ((!_root.gamepaused) == true) {
Z = Z + bombspeed;
if (active == true) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (((Z >= 200) | (prego == true)) & (bombspeed > 0)) {
_parent.player.prego = false;
_parent.player.shotbomb = false;
inflight.stop();
X = X + (Math.exp((-D) * Z) * Xref);
Xref = 0;
Y = Y + (Math.exp((-D) * Z) * Yref);
Yref = 0;
play();
explosion = true;
bombspeed = 0;
}
if (souldone == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 213 MovieClip "enemylaser" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 7.383465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 5;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 59 MovieClip "lvl" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
H = -10;
Ver = 0;
Xcorr = 0;
Ycorr = 0;
endtime = 0;
points = 0;
i = 0;
_visible = false;
_root.blackscreen.toshow = false;
_parent.player.X = 0;
_parent.player.Y = -230;
_parent.player.Z = 0;
_parent.vol = 100;
Zpassed = -100;
_parent.player.disabled = true;
}
onClipEvent (enterFrame) {
if ((Zpassed > 0) & (Zpassed < 10)) {
_parent.player.disabled = false;
}
if (Zpassed < 0) {
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (-_parent.player.Y));
}
if (((((Key.isDown(32) & (keydown == false)) & (Zpassed >= 0)) & ((!_parent.player.dead) == true)) & ((!finished) == true)) & ((!endit) == true)) {
if ((!_root.gamepaused) == true) {
_root.gamepaused = true;
} else {
_root.gamepaused = false;
}
}
if ((!_root.gamepaused) == true) {
Zpassed = Zpassed + _parent.player.enginespeed;
Xcorr = Xcorr - _parent.player.vx;
Ycorr = Ycorr - _parent.player.vy;
dH = dH - _parent.player.enginespeed;
if (_root.thebottalk == true) {
if (Zpassed < 700) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(12);
} else if ((Zpassed >= 700) & ((!endit) == true)) {
_root.thebot._visible = false;
} else if ((endit == true) & ((!finished) == true)) {
_root.thebot._visible = true;
_root.thebot.gotoAndStop(13);
} else if (finished == true) {
_root.thebot._visible = false;
}
}
if ((Zpassed >= 100) & ((!creationI) == true)) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = 200 + Xcorr;
_parent["item" + i].Y = -150 + Ycorr;
_parent["item" + i].Z = 311.04703;
creationI = true;
} else if ((Zpassed >= 200) & ((!creationII) == true)) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, i);
_parent["item" + i].active = true;
_parent["item" + i].X = -100 + Xcorr;
_parent["item" + i].Y = 200 + Ycorr;
_parent["item" + i].Z = 311.04703;
creationII = true;
} else if ((Zpassed >= 400) & ((!creationIII) == true)) {
i = i + 1;
_parent.bush.duplicateMovieClip("boss", i);
_parent.boss.active = true;
_parent.boss.X = 0 + Xcorr;
_parent.boss.Y = 0 + Ycorr;
_parent.boss.Z = 511.04703;
creationIII = true;
}
}
if (endit == true) {
endtime = endtime + 1;
if (endtime >= 300) {
finished = true;
endit = false;
}
}
if (finished == true) {
if (_root.scorebord.hideaway == true) {
_parent.player.Z = _parent.player.Z + (_parent.player.enginespeed - 2);
_parent.player.steerboost = true;
}
if (_parent.player.Z > 300) {
_root.blackscreen.toshow = true;
if (_root.blackscreen._alpha >= 100) {
stopAllSounds();
_root.checkpoint = false;
_root.gotoAndStop("score");
}
}
_parent.player.X = _parent.player.X + (0.04 * (-_parent.player.X));
_parent.player.Y = _parent.player.Y + (0.04 * (100 - _parent.player.Y));
_parent.player.disabled = true;
_parent.croshairA._visible = false;
_parent.croshairB._visible = false;
}
if (Key.isDown(32)) {
keydown = true;
} else {
keydown = false;
}
}
Instance of Symbol 847 MovieClip "sword" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
plot = new Sound();
plot.attachSound("beam");
_visible = false;
time = 0;
H = -10;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
if (_root.laserlevel < 3) {
_root.laserlevel = _root.laserlevel + 1;
}
_parent.player.player.greenglow.gotoAndPlay(1);
_parent.player.player.greenglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 867 MovieClip "shield" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_parent.player.shield = _parent.player.shield + 20;
_parent.player.player.redglow.gotoAndPlay(1);
_parent.player.player.redglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 888 MovieClip "cap" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
H = -10;
plot = new Sound();
plot.attachSound("beam");
_visible = false;
D = -0.01;
time = 0;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
plot.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
_visible = true;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
this.swapDepths(1000000000 - (Z * 1000000));
if (created == true) {
time = 30;
created = false;
}
if (time > 0) {
Z = Z + 4.01265732185;
time = time - 1;
}
if (((this.hitTest(_parent.player.player.core) & (Math.abs(Z - _parent.player.Z) < 4)) & ((!getitem) == true)) & (Z > -50)) {
_root.bombstock = _root.bombstock + 1;
_parent.player.player.blueglow.gotoAndPlay(1);
_parent.player.player.blueglow.playin = true;
plot.start();
play();
getitem = true;
}
}
if (Z < -50) {
if ((((_x > -300) & (_x < 300)) & (_y > -200)) & (_y < 200)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 82 MovieClip "enemylaserCOP" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 5.273465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
if (aimed == true) {
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
}
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 10;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 955 MovieClip "sonic" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
D = -0.01;
H = -10;
lightspeed = 4.383465768;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((!_root.gamepaused) == true) {
_rotation = (_rotation + 10);
Z = Z - lightspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (active == true) {
_visible = true;
Z = Z - _parent.player.enginespeed;
Y = Y + (((Yi - Ytar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
X = X + (((Xi - Xtar) / Zi) * ((-lightspeed) - _parent.player.enginespeed));
if (this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 10)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 7;
_parent.player.beenhit = true;
absorb = true;
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else if (absorb == true) {
this.swapDepths(0);
this.removeMovieClip();
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
}
}
Instance of Symbol 1005 MovieClip "enemytorp" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
hp = 1;
D = -0.01;
bombspeed = 4.0021156;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
inflight.stop();
} else if ((explosion == true) & ((!souldone) == true)) {
play();
}
}
onClipEvent (enterFrame) {
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((active == true) & ((!_root.gamepaused) == true)) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
Z = Z - bombspeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
if (((this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 6)) | (hp <= 0)) & (bombspeed > 0)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.beenhit = true;
_parent.player.shield = _parent.player.shield - 15;
inflight.stop();
play();
explosion = true;
bombspeed = 0;
}
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
Instance of Symbol 1367 MovieClip "enemyhoming" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
inflight = new Sound(this);
inflight.attachSound("tiefall");
hp = 1;
D = -0.01;
bombspeed = 2.0021156;
vx = 0;
vy = 0;
Yref = 0;
Xref = 0;
_visible = false;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
stop();
inflight.stop();
} else if ((explosion == true) & ((!souldone) == true)) {
play();
}
}
onClipEvent (enterFrame) {
_rotation = 0;
this._xscale = 100 * Math.exp(D * Z);
this._yscale = 100 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if ((active == true) & ((!_root.gamepaused) == true)) {
if (_visible == false) {
inflight.start();
_visible = true;
}
Z = Z - _parent.player.enginespeed;
Z = Z - bombspeed;
X = X - _parent.player.vx;
X = X + vx;
Y = Y - _parent.player.vy;
Y = Y + vy;
if ((!explosion) == true) {
if ((X < _parent.player.X) & (vx < 20)) {
vx = vx + 2;
}
if ((X > _parent.player.X) & (vx > -20)) {
vx = vx - 2;
}
if ((Y < _parent.player.Y) & (vy < 20)) {
vy = vy + 2;
}
if ((Y > _parent.player.Y) & (vy > -20)) {
vy = vy - 2;
}
}
if (((this.hitTest(_parent.player.player.core) & (Math.abs(_parent.player.Z - Z) < 6)) | (hp <= 0)) & (bombspeed > 0)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.beenhit = true;
_parent.player.shield = _parent.player.shield - 15;
inflight.stop();
play();
explosion = true;
bombspeed = 0;
}
}
if (Z < -50) {
if ((Math.abs(_x) < 350) & (Math.abs(_y) < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(1000000000 - (Z * 1000000));
}
}
Instance of Symbol 1566 MovieClip "bush" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
hpmax = 100;
hp = hpmax;
i = 0;
H = -10;
hitplayer = 0;
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
eenshot = new Sound(this);
eenshot.attachSound("tax");
_visible = false;
dead = false;
pain = false;
traag = 0;
coolcannon = 70;
enginespeed = 0;
counttime = 0;
D = -0.01;
vx = 0;
vy = 0;
Ystaaf = 330;
Xstaaf = 450;
wave = true;
select = "left";
Xref = 0;
Yref = 0;
Xgo = 0;
Ygo = 0;
Zoom = 140;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = 300 * Math.exp(D * Z);
this._yscale = 300 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if (Z <= 100) {
this.bush.bush.gotoAndStop(1 + Math.ceil(Z / 10));
} else {
this.bush.bush.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
if (mouthopen == true) {
this.bush.bush.bush.bush.nextFrame();
} else {
this.bush.bush.bush.bush.prevFrame();
}
if ((_parent.Lhand.dead == true) & (_parent.Rhand.dead == true)) {
secondtroef = true;
}
if ((!dead) == true) {
if (secondtroef == true) {
if (((X - _parent.lvl.Xcorr) < Xgo) & (vx < 30)) {
vx = vx + 3;
}
if (((X - _parent.lvl.Xcorr) > Xgo) & (vx > -30)) {
vx = vx - 3;
}
if (((Y - _parent.lvl.Ycorr) < Ygo) & (vy < 30)) {
vy = vy + 3;
}
if (((Y - _parent.lvl.Ycorr) > Ygo) & (vy > -30)) {
vy = vy - 3;
}
mouthopen = true;
if (coolcannon == 30) {
Xgo = _parent.player.X;
Ygo = _parent.player.Y;
}
coolcannon = coolcannon - 1;
if (coolcannon <= 0) {
shots = shots + 1;
i = i + 1;
eenshot.start();
_parent.enemyhoming.duplicateMovieClip("Ehom" + i, 1000000000 - ((Z - 1.460456789) * 1000000));
_parent["Ehom" + i].active = true;
_parent["Ehom" + i].Z = Z - 1.460456789;
_parent["Ehom" + i].X = X;
_parent["Ehom" + i].Y = Y + 150;
coolcannon = 100;
}
} else if (lockon == true) {
if (select == "left") {
if (wave == true) {
_parent.Lhand.openhand = true;
if (_parent.Lhand.Z < (Z + 15)) {
time = 40;
_parent.Lhand.Z = _parent.Lhand.Z + 1;
} else if (time > 0) {
time--;
} else {
wave = false;
}
} else {
_parent.Lhand.openhand = false;
_parent.Lhand.X = _parent.Lhand.X + (0.1 * (_parent.player.X - _parent.Lhand.X));
_parent.Lhand.Y = _parent.Lhand.Y + (0.1 * (_parent.player.Y - _parent.Lhand.Y));
if (_parent.Lhand.Z > -30) {
_parent.Lhand.Z = _parent.Lhand.Z - 7;
} else {
wave = true;
select = "right";
}
}
if (_parent.Rhand.Z < (Z - 15)) {
_parent.Rhand.Z = _parent.Rhand.Z + 7;
} else if (_parent.Lhand.dead == true) {
wave = true;
select = "right";
}
_parent.Rhand.X = _parent.Rhand.X + (0.1 * ((X + 400) - _parent.Rhand.X));
_parent.Rhand.Y = _parent.Rhand.Y + (0.1 * ((Y + 300) - _parent.Rhand.Y));
} else if (select == "right") {
if (wave == true) {
_parent.Rhand.openhand = true;
if (_parent.Rhand.Z < (Z + 15)) {
time = 40;
_parent.Rhand.Z = _parent.Rhand.Z + 1;
} else if (time > 0) {
time--;
} else {
wave = false;
}
} else {
_parent.Rhand.openhand = false;
_parent.Rhand.X = _parent.Rhand.X + (0.1 * (_parent.player.X - _parent.Rhand.X));
_parent.Rhand.Y = _parent.Rhand.Y + (0.1 * (_parent.player.Y - _parent.Rhand.Y));
if (_parent.Rhand.Z > -30) {
_parent.Rhand.Z = _parent.Rhand.Z - 7;
} else {
wave = true;
select = "left";
}
}
if (_parent.Lhand.Z < (Z - 15)) {
_parent.Lhand.Z = _parent.Lhand.Z + 7;
} else if (_parent.Rhand.dead == true) {
wave = true;
select = "left";
}
_parent.Lhand.X = _parent.Lhand.X + (0.1 * ((X - 400) - _parent.Lhand.X));
_parent.Lhand.Y = _parent.Lhand.Y + (0.1 * ((Y + 300) - _parent.Lhand.Y));
}
}
}
if ((!creation) == true) {
_parent.hand.duplicateMovieClip("Lhand", 1000000000 - ((Z - 15.39845956678) * 1000000));
_parent.Lhand.N = 1;
_parent.Lhand.active = true;
_parent.Lhand.X = X - 400;
_parent.Lhand.Y = Y + 300;
_parent.Lhand.Z = Z - 15.39845956678;
_parent.hand.duplicateMovieClip("Rhand", 1000000000 - ((Z - 14.38767438786) * 1000000));
_parent.Rhand.N = -1;
_parent.Rhand.active = true;
_parent.Rhand.X = X + 400;
_parent.Rhand.Y = Y + 300;
_parent.Rhand.Z = Z - 14.38767438786;
creation = true;
}
_parent.Lhand.enginespeed = enginespeed;
_parent.Rhand.enginespeed = enginespeed;
respons = true;
_visible = true;
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
kets.setVolume(volumen);
this._xscale = 300 * Math.exp(D * Z);
this._yscale = 300 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
if (Z <= (100 + Zoom)) {
this.bush.bush.gotoAndStop(1 + Math.ceil((Z - Zoom) / 10));
} else {
this.bush.bush.gotoAndStop(10);
}
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X + vx;
Y = Y + vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.i])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
} else {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.ii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
} else {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
} else {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["torp" + _parent.player.i]) & (Math.abs(_parent["torp" + _parent.player.i].Z - Z) < _parent["torp" + _parent.player.i].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.i])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.i].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.ii]) & (Math.abs(_parent["torp" + _parent.player.ii].Z - Z) < _parent["torp" + _parent.player.ii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.ii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.ii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iii]) & (Math.abs(_parent["torp" + _parent.player.iii].Z - Z) < _parent["torp" + _parent.player.iii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiii]) & (Math.abs(_parent["torp" + _parent.player.iiii].Z - Z) < _parent["torp" + _parent.player.iiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiii].Z - Z) < _parent["torp" + _parent.player.iiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiiiiiii].prego = true;
}
if ((this.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii]) & (Math.abs(_parent["torp" + _parent.player.iiiiiiiiiiiiiii].Z - Z) < _parent["torp" + _parent.player.iiiiiiiiiiiiiii].Xw)) & ((!dead) == true)) {
if (this.bush.bush.bush.bush.spot.hitTest(_parent["torp" + _parent.player.iiiiiiiiiiiiiii])) {
pain = true;
hp = hp - 1;
}
_parent["torp" + _parent.player.iiiiiiiiiiiiiii].prego = true;
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
this.bush.play();
pain = false;
}
hitplayer = hitplayer - 1;
if ((((hitplayer <= 0) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 20)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 20;
_parent.player.beenhit = true;
hitplayer = 70;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.bonus.playmay = true;
_root.hits = _root.hits + 1;
if (greenhave == true) {
i = i + 1;
_parent.sword.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (redhave == true) {
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
} else if (bluehave == true) {
i = i + 1;
_parent.cap.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
dead = true;
}
}
if (_parent.player.dead == true) {
enginespeed = 2;
}
if (dead == true) {
_parent.lvl.endit = true;
enginespeed = 0;
}
if ((((Z > Zoom) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
enginespeed = 0;
}
if ((((Z < (Zoom - 5)) & (Z > 0)) & (dead == false)) & ((!_parent.player.dead) == true)) {
enginespeed = 3;
}
if ((((Z <= Zoom) & (Z > 0)) & ((!dead) == true)) & ((!_parent.player.dead) == true)) {
lockon = true;
if (enginespeed < _parent.player.enginespeed) {
enginespeed = enginespeed + 1;
}
if (enginespeed > _parent.player.enginespeed) {
enginespeed = enginespeed - 1;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 1587 MovieClip "hand" in Symbol 1588 MovieClip Frame 1
onClipEvent (load) {
hpmax = 60;
hp = hpmax;
i = 0;
H = -10;
t = 0;
expl = new Sound(this);
expl.attachSound("smallknal");
kets = new Sound(this);
kets.attachSound("kets");
_visible = false;
dead = false;
pain = false;
D = -0.01;
Xref = 0;
Yref = 0;
var myBlur = (new flash.filters.BlurFilter());
this._xscale = (N * 200) * Math.exp(D * Z);
this._yscale = 200 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Zoom = 125;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == true) {
expl.stop();
stop();
} else if ((dead == true) & ((!kip) == true)) {
play();
}
if ((active == true) & ((!_root.gamepaused) == true)) {
respons = true;
_visible = true;
if (Z <= (100 + Zoom)) {
this.hand.hand.gotoAndStop(1 + Math.ceil((Z - Zoom) / 10));
} else {
this.hand.hand.gotoAndStop(10);
}
if (openhand == true) {
t++;
_rotation = (15 * Math.sin(t / 20));
this.hand.hand.hand.nextFrame();
} else {
t = 0;
_rotation = 0;
this.hand.hand.hand.prevFrame();
}
if (Math.abs(Z) <= 400) {
volumen = 100 - (0.25 * Math.abs(Z));
} else {
volumen = 0;
}
expl.setVolume(volumen);
this._xscale = (N * 200) * Math.exp(D * Z);
this._yscale = 200 * Math.exp(D * Z);
this._x = (X * Math.exp(D * Z)) + Xref;
this._y = (Y * Math.exp(D * Z)) + Yref;
Z = Z - _parent.player.enginespeed;
Z = Z + enginespeed;
X = X - _parent.player.vx;
Y = Y - _parent.player.vy;
this.swapDepths(1000000000 - (Z * 1000000));
if ((this.hitTest(_parent["laser" + _parent.player.i]) & (Math.abs(_parent["laser" + _parent.player.i].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.i])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.i].absorb = true;
} else {
_parent["laser" + _parent.player.i].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.i].vy = random(40) - 20;
_parent["laser" + _parent.player.i].vx = random(40) - 20;
_parent["laser" + _parent.player.i].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.ii]) & (Math.abs(_parent["laser" + _parent.player.ii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.ii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.ii].absorb = true;
} else {
_parent["laser" + _parent.player.ii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.ii].vy = random(40) - 20;
_parent["laser" + _parent.player.ii].vx = random(40) - 20;
_parent["laser" + _parent.player.ii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iii]) & (Math.abs(_parent["laser" + _parent.player.iii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iii].absorb = true;
} else {
_parent["laser" + _parent.player.iii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iii].vy = random(40) - 20;
_parent["laser" + _parent.player.iii].vx = random(40) - 20;
_parent["laser" + _parent.player.iii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiii]) & (Math.abs(_parent["laser" + _parent.player.iiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiii].vr = random(20) - 10;
}
}
if ((this.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii]) & (Math.abs(_parent["laser" + _parent.player.iiiiiiiiiiiiii].Z - Z) < 15)) & ((!dead) == true)) {
if (this.hand.hand.hand.spot.hitTest(_parent["laser" + _parent.player.iiiiiiiiiiiiii])) {
pain = true;
hp = hp - _parent.player.laserlevel;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].absorb = true;
} else {
_parent["laser" + _parent.player.iiiiiiiiiiiiii].lightspeed = -1.6783083;
kets.start();
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vy = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vx = random(40) - 20;
_parent["laser" + _parent.player.iiiiiiiiiiiiii].vr = random(20) - 10;
}
}
if (((pain == true) & (dead == false)) & (hp > 0)) {
this.hand.play();
pain = false;
}
hitplayer = hitplayer - 1;
if ((((hitplayer <= 0) & this.hitTest(_parent.player.player.core)) & (Math.abs(_parent.player.Z - Z) < 20)) & (dead == false)) {
_parent.player.enginespeed = _parent.player.enginespeed - 1;
_parent.player.shield = _parent.player.shield - 20;
_parent.player.beenhit = true;
hitplayer = 40;
}
if ((hp <= 0) & (dead == false)) {
this.play();
expl.start();
if ((!crash) == true) {
if (marked == true) {
_parent.lvl.points = _parent.lvl.points + 1;
}
_root.hits = _root.hits + 1;
_root.bonusB.playmay = true;
i = i + 1;
_parent.shield.duplicateMovieClip("item" + i, 1000000000 - (1000000 * (Z + 1.90768543)));
_parent["item" + i].active = true;
_parent["item" + i].Z = Z + 1.90768543;
_parent["item" + i].X = X;
_parent["item" + i].Y = Y;
}
dead = true;
}
}
if (Z < -50) {
if ((((_x > -350) & (_x < 350)) & (_y > -250)) & (_y < 250)) {
this.onEnterFrame = function () {
myBlur.blurX = 100 - _alpha;
myBlur.blurY = 100 - _alpha;
this.filters = [myBlur];
};
if (_alpha > 0) {
_alpha = ((2 * Z) + 200);
} else {
this.swapDepths(0);
this.removeMovieClip();
}
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Symbol 1611 MovieClip Frame 1
stop();
Instance of Symbol 1135 MovieClip "total" in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
bring = new Sound(this);
bring.attachSound("bring");
coin = new Sound(this);
coin.attachSound("coin");
hits = _root.hitstotal + 1;
gotoAndStop(_root.hitstotal + 1);
}
onClipEvent (enterFrame) {
if (hits > (_root.hitstotal + 1)) {
counting = 2;
hits = hits - 1;
}
if (hits < (_root.hitstotal + 1)) {
counting = 2;
coin.start();
hits = hits + 1;
}
if (_parent.noscore == true) {
_parent.spacepress._visible = true;
} else if (counting >= 1) {
_parent.spacepress._visible = false;
} else if (_parent._alpha > 0) {
_parent.spacepress._visible = true;
}
if (hits == (_root.hitstotal + 1)) {
if (_root.extraship == true) {
_parent.extraship._visible = true;
bring.start();
_root.lives = _root.lives + 1;
_root.extraship = false;
}
}
gotoAndStop(hits);
if (counting > 0) {
counting = counting - 1;
}
}
Instance of Symbol 120 MovieClip "spacepress" in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
ding = new Sound(this);
ding.attachSound("itemfull");
_visible = false;
}
onClipEvent (enterFrame) {
if (((_visible == true) & Key.isDown(32)) & (spacedown == false)) {
if ((!_parent.hideaway) == true) {
ding.start();
}
_parent.hideaway = true;
}
if (Key.isDown(32)) {
spacedown = true;
} else {
spacedown = false;
}
}
Instance of Symbol 1610 MovieClip in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.lives + 1);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.lives + 1);
}