Frame 1
ready = true;
Frame 2
function submit(pGame, pDisciple, pScore0, pScore1) {
urlSubmit = "http://www.neodelight.com/v4/submit.php";
session = ("g=" + pGame) + "&";
session = session + (("d=" + pDisciple) + "&");
session = session + (("s0=" + pScore0) + "&");
session = session + ("s1=" + pScore1);
urlSubmit = urlSubmit + ("?session=" + encrypt(session));
getURL (urlSubmit, "_blank");
}
function encrypt(pString) {
pkey = "whytheheckdoyouwasteyourtimehackingthishighscorelist";
text = escape(pString);
crypt = "";
i = 0;
while (i < text.length) {
char = text.charCodeAt(i);
shift = pkey.charCodeAt(i % pkey.length);
char = char + shift;
crypt = crypt + String.fromCharCode(char);
i++;
}
return(escape(crypt));
}
cst = new Object();
cst.gravity = 0.1;
cst.timePerScreen = 999;
cst.slowdown = 0.995;
cst.maxObjects = 20;
cst.maxMonster = 10;
temp = new Object();
code = new Array();
code[1] = "savepoint";
code[4] = "easy";
code[6] = "sputnik";
code[9] = "spacehog";
code[11] = "spikecity";
code[14] = "www.neokolor.com";
code[16] = "suicide";
code[19] = "alice";
code[21] = "theboss";
code[22] = "iceworld";
code[23] = "joecool";
code[24] = "tenderly";
code[25] = "penguin";
code[26] = "nevermind";
code[27] = "experts";
code[28] = "outofmind";
code[29] = "trickydisco";
code[30] = "nervous";
code[31] = "jazzthing";
code[32] = "tension";
code[33] = "norman";
code[34] = "ireland";
code[35] = "wisdom";
code[36] = "elvis42";
code[37] = "secret";
code[38] = "teatime";
code[39] = "hardone";
code[40] = "twoleft";
code[41] = "semifinal";
code[42] = "bigboss";
code[43] = "congratulations";
Frame 14
stop();
Frame 23
Frame 28
startlevel = 1;
stop();
Frame 30
Selection.setFocus("input");
Frame 31
_root.world.ship.actScore = "";
highscores.initSession();
Frame 34
stop();
Instance of Symbol 211 MovieClip "energy" in Frame 34
onClipEvent (load) {
gotoAndStop (50);
}
Instance of Symbol 211 MovieClip "fuel" in Frame 34
onClipEvent (load) {
gotoAndStop (50);
}
Symbol 9 MovieClip Frame 1
function initSession() {
charTable = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&=.";
charTableCrypt = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&=.";
keystring = "whytheheckdoyouwasteyourtimehackingthishighscorelist";
session = "";
while (session.length < 20) {
session = session + charTable.charAt(Math.round(Math.random() * (charTable.length - 1)));
}
}
function submit(pGame, pDisciple, pScore0, pScore1) {
urlSubmit = "http://www.neodelight.com/v4/high_enter.php";
s = ("g=" + pGame) + "&";
s = s + (("d=" + pDisciple) + "&");
s = s + (("s0=" + pScore0) + "&");
s = s + (("s1=" + pScore1) + "&");
s = s + ("se=" + escape(session));
s = s + "&c=42";
urlSubmit = urlSubmit + ("?s=" + escape(encrypt(encrypt(s, keystring), "AnotherKey4You2FindOut4815jiagIOm30JK")));
getURL (urlSubmit, "_blank");
}
function encrypt(pString, pKey) {
text = pString;
crypt = "";
checkSum = 0;
i = 0;
while (i < text.length) {
char = tableIndex(text.charCodeAt(i), charTable);
shift = tableIndex(pKey.charCodeAt(i % pKey.length), charTable);
code = (char + shift) + checkSum;
code = code % charTable.length;
crypt = crypt + charTableCrypt.charAt(code);
checkSum = checkSum + code;
i++;
}
checkSum = checkSum % charTable.length;
return((crypt + "") + charTableCrypt.charAt(checkSum));
}
function tableIndex(pCharCode, pTable) {
j = 0;
while (j < pTable.length) {
if (pCharCode == pTable.charCodeAt(j)) {
return(j);
}
j++;
}
}
_name = "highscores";
_visible = false;
charTable = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&=.";
charTableCrypt = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&=.";
keystring = "whytheheckdoyouwasteyourtimehackingthishighscorelist";
initSession();
Symbol 9 MovieClip Frame 2
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 2
this.display.gotoAndStop(int(((_level0.getBytesLoaded() / _level0.getBytesTotal()) * 40) + 1));
if (_level0.getBytesLoaded() == _level0.getBytesTotal()) {
_root.play();
}
Symbol 24 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 1
if (_parent.vx < 0) {
shot.gotoAndStop(2);
}
stop();
Symbol 28 MovieClip Frame 14
_parent.ready = "gone";
stop();
Symbol 29 MovieClip Frame 1
stop();
vy = 0;
vx = 0;
ready = true;
Symbol 29 MovieClip Frame 2
if (0 < vx) {
vx = vx + 0.4;
} else {
vx = vx - 0.4;
}
vx = vx * 0.97;
_y = (_y + vy);
_x = (_x + vx);
if (_parent.matter.hitTest(_x, _y, true)) {
if (_parent.matter.active.hitTest(_x, _y, true)) {
} else {
if (_parent.matter.danger.monster_1.hitTest(_x, _y, true)) {
_parent.matter.danger.monster_1.hit();
}
if (_parent.matter.danger.monster_2.hitTest(_x, _y, true)) {
_parent.matter.danger.monster_2.hit();
}
if (_parent.matter.danger.monster_3.hitTest(_x, _y, true)) {
_parent.matter.danger.monster_3.hit();
}
if (_parent.matter.danger.monster_4.hitTest(_x, _y, true)) {
_parent.matter.danger.monster_4.hit();
}
if (_parent.matter.danger.monster_5.hitTest(_x, _y, true)) {
_parent.matter.danger.monster_5.hit();
}
if (_parent.matter.danger.monster_6.hitTest(_x, _y, true)) {
_parent.matter.danger.monster_6.hit();
}
if (_parent.matter.danger.monster_7.hitTest(_x, _y, true)) {
_parent.matter.danger.monster_7.hit();
}
if (_parent.matter.danger.monster_8.hitTest(_x, _y, true)) {
_parent.matter.danger.monster_8.hit();
}
if (_parent.matter.danger.monster_9.hitTest(_x, _y, true)) {
_parent.matter.danger.monster_9.hit();
}
if (_parent.matter.danger.monster_10.hitTest(_x, _y, true)) {
_parent.matter.danger.monster_10.hit();
}
if (ready != "explode") {
ready = "explode";
shot.play();
}
vx = vx * 0.9;
}
}
if (_x < 0) {
gotoAndStop (1);
}
if (550 < _x) {
gotoAndStop (1);
}
if (_y < 0) {
gotoAndStop (1);
}
if (400 < _y) {
gotoAndStop (1);
}
Symbol 29 MovieClip Frame 3
if (ready == "gone") {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 32 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 1
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 2
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 3
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 4
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 5
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 6
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 7
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 8
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 9
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 10
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 11
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 12
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 13
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 14
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 15
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 16
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 17
_parent._x = _parent._x + _parent.vx;
_parent._y = _parent._y + _parent.vy;
Symbol 35 MovieClip Frame 18
stop();
_parent.actLives--;
if (_parent.actLives == 0) {
_parent._parent.ready = false;
_root.master.gotoAndPlay("gameOver");
} else {
_parent.gotoAndPlay("start");
}
Symbol 36 MovieClip Frame 1
function bump() {
if (sensorHBump[i] == "left") {
if (_parent.matter.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
if (0 < vx) {
vx = vx * bumpAmount;
}
_x = (_x - 1);
}
} else if (sensorHBump[i] == "right") {
if (_parent.matter.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
if (vx < 0) {
vx = vx * bumpAmount;
}
_x = (_x + 1);
}
}
if (sensorVBump[i] == "up") {
if (_parent.matter.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
if (0 < vy) {
vy = vy * bumpAmount;
}
_y = (_y - 1);
}
} else if (sensorVBump[i] == "down") {
if (_parent.matter.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
if (vy < 0) {
vy = vy * bumpAmount;
}
if (i == 9) {
_y = (_y + 1);
}
}
}
}
function fillUp() {
actEnergy = maxEnergy;
actShots = maxShots;
}
function completeCollisionCheck() {
collision = false;
if (_parent.matter.hitTest(_x + sensorX[5], _y + sensorY[5], true)) {
collision = true;
}
if (_parent.matter.hitTest(_x + sensorX[6], _y + sensorY[6], true)) {
collision = true;
}
if (_parent.matter.hitTest(_x + sensorX[7], _y + sensorY[7], true)) {
collision = true;
}
if (_parent.matter.hitTest(_x + sensorX[8], _y + sensorY[8], true)) {
collision = true;
}
if (_parent.matter.hitTest(_x + sensorX[9], _y + sensorY[9], true)) {
collision = true;
}
}
function checkBorderCollision() {
if ((_x + sensorX[5]) < 0) {
vx = Math.abs(vx * bumpAmount);
_x = (-sensorX[5]);
}
if (550 < (_x + sensorX[6])) {
vx = Math.abs(vx) * bumpAmount;
_x = (550 - sensorX[6]);
}
if ((_y + sensorY[9]) < 0) {
vy = Math.abs(vy * bumpAmount);
_y = (-sensorY[9]);
}
if (339 < _y) {
vy = Math.abs(vy) * bumpAmount;
_y = 339;
}
}
ay = -0.5;
ax = 0.5;
ground = true;
sensorX = new Array();
sensorY = new Array();
sensorHBump = new Array();
sensorVBump = new Array();
sensorX[0] = -11;
sensorY[0] = 0;
sensorHBump[0] = "right";
sensorVBump[0] = "up";
sensorX[1] = 11;
sensorY[1] = 0;
sensorHBump[1] = "left";
sensorVBump[1] = "up";
sensorX[2] = 0;
sensorY[2] = 2;
sensorHBump[2] = "";
sensorVBump[2] = "up";
sensorX[3] = -8;
sensorY[3] = -4;
sensorHBump[3] = "right";
sensorVBump[3] = "up";
sensorX[4] = 8;
sensorY[4] = -4;
sensorHBump[4] = "left";
sensorVBump[4] = "up";
sensorX[5] = -13;
sensorY[5] = -11;
sensorHBump[5] = "right";
sensorVBump[5] = "";
sensorX[6] = 13;
sensorY[6] = -11;
sensorHBump[6] = "left";
sensorVBump[6] = "";
sensorX[7] = -7;
sensorY[7] = -4;
sensorHBump[7] = "right";
sensorVBump[7] = "down";
sensorX[8] = 7;
sensorY[8] = -4;
sensorHBump[8] = "left";
sensorVBump[8] = "down";
sensorX[9] = 0;
sensorY[9] = -21;
sensorHBump[9] = "";
sensorVBump[9] = "down";
sensorX[10] = 0;
sensorY[10] = -7;
bumpAmount = -0.2;
Symbol 36 MovieClip Frame 2
fillUp();
vx = 0;
vy = 0;
_x = 250;
_y = 200;
Symbol 36 MovieClip Frame 3
actSpeed = 0;
vx = vx * _root.cst.slowdown;
collision = 0;
legL = false;
legR = false;
legC = false;
if (_parent.matter.platform.hitTest(_x + sensorX[0], _y + sensorY[0], true)) {
collision++;
legL = true;
}
if (_parent.matter.platform.hitTest(_x + sensorX[1], _y + sensorY[1], true)) {
collision++;
legR = true;
}
if (_parent.matter.platform.hitTest(_x + sensorX[2], _y + sensorY[2], true)) {
collision++;
legC = true;
}
if ((legL == true) && (legR != true)) {
if (_parent.matter.platform.hitTest(_x + sensorX[1], (_y + sensorY[1]) + 3.5, true)) {
rotate = 2;
maxrotate = 5;
} else {
rotate = 3;
maxrotate = 10;
}
}
if ((legR == true) && (legL != true)) {
if (_parent.matter.platform.hitTest(_x + sensorX[0], (_y + sensorY[0]) + 3.5, true)) {
rotate = -2;
maxrotate = 5;
} else {
rotate = -3;
maxrotate = 10;
}
}
if ((legL != true) && (legR != true)) {
rotate = 0;
}
if (1 < collision) {
ground = true;
fireLeft.gotoAndStop("inactive");
fireRight.gotoAndStop("inactive");
vy = 0;
vx = 0;
if ((Math.abs(_rotation) < maxrotate) && (rotate != 0)) {
_rotation = (_rotation + rotate);
_y = (_y + 0.2);
}
i = 5;
while (6 >= i) {
bump();
i++;
}
} else {
ground = false;
_rotation = (_rotation * 0.9);
vy = vy + _root.cst.gravity;
}
completeCollisionCheck();
if (collision == true) {
collision = false;
i = 5;
while (9 >= i) {
if (_parent.matter.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
bump();
}
i++;
}
}
checkBorderCollision();
if (Key.isDown(38)) {
vy = vy + ay;
fireDown.gotoAndStop("fire");
} else {
fireDown.gotoAndStop("inactive");
}
if (Key.isDown(37)) {
if (ground == true) {
vy = vy + ay;
}
vx = vx - ax;
fireRight.gotoAndStop("fire");
_rotation = ((_rotation * 0.98) + 1);
shootLeft = true;
} else {
fireRight.gotoAndStop("inactive");
}
if (Key.isDown(39)) {
if (ground == true) {
vy = vy + ay;
}
vx = vx + ax;
fireLeft.gotoAndStop("fire");
_rotation = ((_rotation * 0.98) - 1);
shootLeft = false;
} else {
fireLeft.gotoAndStop("inactive");
}
_x = (_x + vx);
_y = (_y + vy);
if (Key.isDown(32)) {
if (_parent.shot.ready == true) {
if (shootLeft != true) {
_parent.shot._x = _x + 15;
_parent.shot._y = _y - 8;
_parent.shot.vx = 3;
} else {
_parent.shot._x = _x - 15;
_parent.shot._y = _y - 8;
_parent.shot.vx = -3;
}
_parent.shot.ready = false;
_parent.shot.gotoAndPlay("shoot");
}
}
Symbol 36 MovieClip Frame 4
gotoAndPlay (3);
Symbol 36 MovieClip Frame 5
play();
Symbol 36 MovieClip Frame 9
actLevel++;
_parent.shot.gotoAndStop(1);
_parent.matter.active.nextFrame();
_parent.matter.platform.nextFrame();
_parent.matter.danger.nextFrame();
Symbol 36 MovieClip Frame 10
initObjects();
if (_root.code[actLevel] ne "") {
_root.savepoint = "savepoint";
} else {
_root.savepoint = "";
}
vx = 0;
vy = 0;
_x = 250;
_y = 200;
_parent.shot.gotoAndStop(1);
gotoAndPlay (3);
Symbol 36 MovieClip Frame 11
stop();
Symbol 37 MovieClip Frame 1
go = true;
ready = true;
Symbol 39 Button
on (release) {
getURL ("http://www.neodelight.com?ref=ss7&ref_loc=intro", "_BLANK");
}
Symbol 45 MovieClip Frame 1
Symbol 45 MovieClip Frame 2
Symbol 51 MovieClip Frame 1
startFrame = _parent._currentframe;
Symbol 51 MovieClip Frame 2
vol = (1 - ((_parent._currentFrame - startFrame) / (_parent._totalFrames - startFrame))) * 100;
if (vol < 0) {
vol = 0;
}
_parent.snd.setVolume(vol);
Symbol 51 MovieClip Frame 3
gotoAndPlay (2);
Symbol 52 MovieClip Frame 1
snd = new Sound(this);
snd.setVolume(100);
_parent.stop();
Symbol 52 MovieClip Frame 123
stop();
_parent.play();
Symbol 58 Button
on (release) {
gotoAndPlay (31);
}
Symbol 60 Button
on (release) {
gotoAndStop (30);
}
Symbol 62 Button
on (release) {
gotoAndStop (29);
}
Symbol 64 Button
on (release) {
getURL ("http://www.neodelight.com?ref=ss7&ref_loc=moregames", "_TOP");
}
Symbol 72 Button
on (release) {
gotoAndStop (28);
}
Symbol 83 Button
on (release, keyPress "<Enter>") {
if (input ne "") {
result = "";
i = 0;
while (code.length >= i) {
if (code[i] eq input) {
startlevel = i;
result = "password for level " + i;
gotoAndPlay (31);
break;
}
i++;
}
if (result == "") {
result = "bad password";
input = "";
}
}
}
Symbol 88 MovieClip Frame 1
this._name = "shipPosition";
Instance of Symbol 87 MovieClip "blueprint" in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 90 MovieClip Frame 1
function hit() {
}
Symbol 92 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxObjects >= i) {
tellTarget ("../object_" + i) {
_root.temp.objectFrames = _totalframes;
};
if (Number(_root.temp.objectFrames) == 0) {
_name = ("object_" + i);
break;
}
i++;
}
gotoAndStop (1);
}
function hit() {
if (active == true) {
_parent._parent._parent.ship.actEnergy = _parent._parent._parent.ship.actEnergy + 70;
if (_parent._parent._parent.ship.maxEnergy < _parent._parent._parent.ship.actEnergy) {
_parent._parent._parent.ship.actEnergy = _parent._parent._parent.ship.maxEnergy;
}
_parent._parent._parent.ship.refreshEnergy();
active = false;
play();
}
}
active = true;
stop();
init();
Symbol 92 MovieClip Frame 6
stop();
Symbol 94 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxObjects >= i) {
tellTarget ("../object_" + i) {
_root.temp.objectFrames = _totalframes;
};
if (Number(_root.temp.objectFrames) == 0) {
_name = ("object_" + i);
break;
}
i++;
}
gotoAndStop (1);
}
function hit() {
if (active == true) {
_parent._parent._parent.ship.actFuel = _parent._parent._parent.ship.actFuel + 150;
if (_parent._parent._parent.ship.maxFuel < _parent._parent._parent.ship.actFuel) {
_parent._parent._parent.ship.actFuel = _parent._parent._parent.ship.maxFuel;
}
_parent._parent._parent.ship.burnFuel();
active = false;
play();
}
}
active = true;
stop();
init();
Symbol 94 MovieClip Frame 6
stop();
Symbol 96 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxObjects >= i) {
tellTarget ("../object_" + i) {
_root.temp.objectFrames = _totalframes;
};
if (Number(_root.temp.objectFrames) == 0) {
_name = ("object_" + i);
break;
}
i++;
}
gotoAndStop (1);
}
function hit() {
if (active == true) {
_parent._parent._parent.ship.actShots = _parent._parent._parent.ship.actShots + 3;
_parent._parent._parent.ship.refreshShots();
active = false;
play();
}
}
active = true;
stop();
init();
Symbol 96 MovieClip Frame 6
stop();
Symbol 98 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxObjects >= i) {
tellTarget ("../object_" + i) {
_root.temp.objectFrames = _totalframes;
};
if (Number(_root.temp.objectFrames) == 0) {
_name = ("object_" + i);
break;
}
i++;
}
gotoAndStop (1);
}
function hit() {
if (active == true) {
_parent._parent._parent.ship.actShots = _parent._parent._parent.ship.actShots + 5;
_parent._parent._parent.ship.refreshShots();
active = false;
play();
}
}
active = true;
stop();
init();
Symbol 98 MovieClip Frame 6
stop();
Symbol 101 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxObjects >= i) {
tellTarget ("../object_" + i) {
_root.temp.objectFrames = _totalframes;
};
if (Number(_root.temp.objectFrames) == 0) {
_name = ("object_" + i);
break;
}
i++;
}
gotoAndStop (1);
}
function hit() {
if (active == true) {
_root.temp.monsterId = monster;
i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../../danger/monster_" + i) {
if (id eq _root.temp.monsterId) {
nextFrame();
}
};
active = false;
nextFrame();
i++;
}
}
}
active = true;
stop();
init();
Symbol 103 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxObjects >= i) {
tellTarget ("../object_" + i) {
_root.temp.objectFrames = _totalframes;
};
if (Number(_root.temp.objectFrames) == 0) {
_name = ("object_" + i);
break;
}
i++;
}
gotoAndStop (1);
}
function hit() {
if (active == true) {
_parent._parent._parent.ship.actEnergy = _parent._parent._parent.ship.actEnergy + 70;
if (_parent._parent._parent.ship.maxEnergy < _parent._parent._parent.ship.actEnergy) {
_parent._parent._parent.ship.actEnergy = _parent._parent._parent.ship.maxEnergy;
}
_parent._parent._parent.ship.refreshEnergy();
}
}
active = true;
stop();
init();
Symbol 107 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxObjects >= i) {
tellTarget ("../object_" + i) {
_root.temp.objectFrames = _totalframes;
};
if (Number(_root.temp.objectFrames) == 0) {
_name = ("object_" + i);
break;
}
i++;
}
gotoAndStop (1);
}
function hit() {
if (active == true) {
_parent._parent._parent.ship.actFuel = _parent._parent._parent.ship.actFuel + 150;
if (_parent._parent._parent.ship.maxFuel < _parent._parent._parent.ship.actFuel) {
_parent._parent._parent.ship.actFuel = _parent._parent._parent.ship.maxFuel;
}
_parent._parent._parent.ship.burnFuel();
}
}
active = true;
stop();
init();
Symbol 107 MovieClip Frame 6
stop();
Symbol 109 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxObjects >= i) {
tellTarget ("../object_" + i) {
_root.temp.objectFrames = _totalframes;
};
if (Number(_root.temp.objectFrames) == 0) {
_name = ("object_" + i);
break;
}
i++;
}
gotoAndStop (1);
}
function hit() {
if (active == true) {
_parent._parent._parent.ship.actLives++;
_parent._parent._parent.ship.refreshLives();
active = false;
play();
}
}
active = true;
stop();
init();
Symbol 109 MovieClip Frame 6
stop();
Symbol 110 MovieClip Frame 1
stop();
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 15
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 17
onClipEvent (load) {
monster = 3;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 17
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 17
onClipEvent (load) {
monster = 2;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 19
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 19
onClipEvent (load) {
monster = 2;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 22
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 23
onClipEvent (load) {
monster = 2;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 23
onClipEvent (load) {
monster = 3;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 25
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 25
onClipEvent (load) {
monster = 2;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 26
onClipEvent (load) {
monster = 2;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 28
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 29
onClipEvent (load) {
monster = 2;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 31
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 33
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 35
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 35
onClipEvent (load) {
monster = 2;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 35
onClipEvent (load) {
monster = 3;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 40
onClipEvent (load) {
monster = 2;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 40
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 41
onClipEvent (load) {
monster = 1;
}
Instance of Symbol 101 MovieClip in Symbol 110 MovieClip Frame 41
onClipEvent (load) {
monster = 2;
}
Symbol 114 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../monster_" + i) {
_root.temp.monsterFrames = _totalframes;
};
if (Number(_root.temp.monsterFrames) == 0) {
_name = ("monster_" + i);
break;
}
i++;
}
gotoAndStop (1);
}
function hit() {
if (ready == true) {
nextFrame();
}
}
ready = true;
stop();
init();
Symbol 114 MovieClip Frame 4
ready = false;
play();
Symbol 114 MovieClip Frame 21
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 7
_parent.ready = false;
play();
Symbol 121 MovieClip Frame 24
stop();
Symbol 122 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../monster_" + i) {
_root.temp.monsterFrames = _totalframes;
};
if (Number(_root.temp.monsterFrames) == 0) {
_name = ("monster_" + i);
break;
}
i++;
}
monster.gotoAndStop(1);
if (start ne "") {
gotoAndPlay(start + 1);
} else {
gotoAndPlay (2);
}
}
function hit() {
if (ready == true) {
monster.nextFrame();
}
}
init();
play();
Symbol 122 MovieClip Frame 101
gotoAndPlay (2);
Symbol 124 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../monster_" + i) {
_root.temp.monsterFrames = _totalframes;
};
if (Number(_root.temp.monsterFrames) == 0) {
_name = ("monster_" + i);
break;
}
i++;
}
gotoAndStop (1);
}
function hit() {
}
ready = true;
stop();
init();
Symbol 124 MovieClip Frame 2
ready = false;
play();
Symbol 124 MovieClip Frame 19
stop();
Symbol 129 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 25
_parent.ready = false;
play();
Symbol 129 MovieClip Frame 53
_parent._parent.body.play();
Symbol 129 MovieClip Frame 70
stop();
Symbol 130 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../monster_" + i) {
_root.temp.monsterFrames = _totalframes;
};
if (Number(_root.temp.monsterFrames) == 0) {
_name = ("monster_" + i);
break;
}
i++;
}
monster.gotoAndStop(1);
if (start ne "") {
gotoAndPlay(start + 1);
} else {
gotoAndPlay (2);
}
}
function hit() {
if (ready == true) {
monster.nextFrame();
}
}
init();
_parent.body.gotoAndStop(1);
play();
Symbol 130 MovieClip Frame 2
stop();
Symbol 130 MovieClip Frame 3
stop();
Symbol 130 MovieClip Frame 101
gotoAndPlay (2);
Symbol 133 MovieClip Frame 21
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 10
_parent.ready = false;
play();
Symbol 136 MovieClip Frame 27
stop();
Symbol 137 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../monster_" + i) {
_root.temp.monsterFrames = _totalframes;
};
if (Number(_root.temp.monsterFrames) == 0) {
_name = ("monster_" + i);
break;
}
i++;
}
monster.gotoAndStop(1);
if (start ne "") {
gotoAndPlay(start + 1);
} else {
gotoAndPlay (2);
}
}
function hit() {
if (ready == true) {
monster.nextFrame();
}
}
init();
play();
Symbol 137 MovieClip Frame 61
gotoAndPlay (2);
Symbol 140 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../monster_" + i) {
_root.temp.monsterFrames = _totalframes;
};
if (Number(_root.temp.monsterFrames) == 0) {
_name = ("monster_" + i);
break;
}
i++;
}
monster.gotoAndStop(1);
if (start ne "") {
gotoAndPlay(start + 1);
} else {
gotoAndPlay (2);
}
}
function hit() {
if (ready == true) {
monster.nextFrame();
}
}
init();
play();
Symbol 140 MovieClip Frame 101
gotoAndPlay (2);
Symbol 144 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../monster_" + i) {
_root.temp.monsterFrames = _totalframes;
};
if (Number(_root.temp.monsterFrames) == 0) {
_name = ("monster_" + i);
break;
}
i++;
}
monster.gotoAndStop(1);
if (start ne "") {
gotoAndPlay(start + 1);
} else {
gotoAndPlay (2);
}
}
function hit() {
if (ready == true) {
monster.nextFrame();
}
}
init();
play();
Symbol 144 MovieClip Frame 225
gotoAndPlay (2);
Symbol 147 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../monster_" + i) {
_root.temp.monsterFrames = _totalframes;
};
if (Number(_root.temp.monsterFrames) == 0) {
_name = ("monster_" + i);
break;
}
i++;
}
monster.gotoAndStop(1);
if (start ne "") {
gotoAndPlay(start + 1);
} else {
gotoAndPlay (2);
}
}
init();
play();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 45
_parent.ready = false;
play();
Symbol 149 MovieClip Frame 95
_root.temp.monsterId = 1;
i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../../monster_" + i) {
if (id eq _root.temp.monsterId) {
nextFrame();
}
};
active = false;
nextFrame();
i++;
}
stop();
Symbol 150 MovieClip Frame 1
function init() {
var i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../monster_" + i) {
_root.temp.monsterFrames = _totalframes;
};
if (Number(_root.temp.monsterFrames) == 0) {
_name = ("monster_" + i);
break;
}
i++;
}
monster.gotoAndStop(1);
if (start ne "") {
gotoAndPlay(start + 1);
} else {
gotoAndPlay (2);
}
}
function hit() {
if (ready == true) {
monster.nextFrame();
}
}
init();
_parent.body.gotoAndStop(1);
play();
Symbol 150 MovieClip Frame 200
gotoAndPlay (2);
Symbol 151 MovieClip Frame 1
stop();
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 5
onClipEvent (load) {
start = 1;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 7
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 7
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(60);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 7
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 8
onClipEvent (load) {
id = "wall_1";
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 9
onClipEvent (load) {
start = 50;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 9
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 9
onClipEvent (load) {
start = 60;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 9
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 10
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 10
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 11
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 13
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 13
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 15
onClipEvent (load) {
start = 50;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 124 MovieClip "monster_1" in Symbol 151 MovieClip Frame 15
onClipEvent (load) {
id = 1;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 16
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 16
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 124 MovieClip "monster_2" in Symbol 151 MovieClip Frame 17
onClipEvent (load) {
id = 2;
}
Instance of Symbol 124 MovieClip "monster_1" in Symbol 151 MovieClip Frame 17
onClipEvent (load) {
id = 1;
}
Instance of Symbol 124 MovieClip "monster_2" in Symbol 151 MovieClip Frame 17
onClipEvent (load) {
id = 3;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 18
onClipEvent (load) {
start = 1;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 18
onClipEvent (load) {
start = 1;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 18
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 124 MovieClip "monster_2" in Symbol 151 MovieClip Frame 19
onClipEvent (load) {
id = 2;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 19
onClipEvent (load) {
id = "wall_1";
}
Instance of Symbol 124 MovieClip "monster_1" in Symbol 151 MovieClip Frame 19
onClipEvent (load) {
id = 1;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 19
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 19
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 20
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 20
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 20
onClipEvent (load) {
start = 50;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 124 MovieClip "monster_1" in Symbol 151 MovieClip Frame 20
onClipEvent (load) {
id = 1;
}
Instance of Symbol 130 MovieClip in Symbol 151 MovieClip Frame 21
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 22
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 22
onClipEvent (load) {
start = 30;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 22
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 22
onClipEvent (load) {
start = 30;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 22
onClipEvent (load) {
id = 1;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 23
onClipEvent (load) {
start = 1;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 23
onClipEvent (load) {
start = 30;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 23
onClipEvent (load) {
id = 3;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 23
onClipEvent (load) {
id = 2;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 23
onClipEvent (load) {
id = 1;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 23
onClipEvent (load) {
start = 30;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 24
onClipEvent (load) {
start = 50;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 24
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
start = 30;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
start = 30;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
start = 30;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
id = "wall_1";
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
id = "wall_1";
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
id = 1;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
id = 2;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 26
onClipEvent (load) {
id = 2;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 26
onClipEvent (load) {
id = 1;
}
Instance of Symbol 144 MovieClip in Symbol 151 MovieClip Frame 28
onClipEvent (load) {
start = 1;
}
Instance of Symbol 144 MovieClip in Symbol 151 MovieClip Frame 28
onClipEvent (load) {
start = 60;
}
Instance of Symbol 144 MovieClip in Symbol 151 MovieClip Frame 28
onClipEvent (load) {
start = 120;
}
Instance of Symbol 144 MovieClip in Symbol 151 MovieClip Frame 28
onClipEvent (load) {
start = 180;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 28
onClipEvent (load) {
id = 1;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 28
onClipEvent (load) {
id = "wall_1";
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 28
onClipEvent (load) {
start = 1;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 29
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 29
onClipEvent (load) {
start = 30;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 29
onClipEvent (load) {
start = 1;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 29
onClipEvent (load) {
id = 1;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 29
onClipEvent (load) {
id = 2;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 30
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 30
onClipEvent (load) {
start = 1;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 30
onClipEvent (load) {
start = 30;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 31
onClipEvent (load) {
id = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 32
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 32
onClipEvent (load) {
start = 30;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 32
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 32
onClipEvent (load) {
start = 30;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 32
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 32
onClipEvent (load) {
start = 30;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 33
onClipEvent (load) {
start = 1;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 33
onClipEvent (load) {
start = 1;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 33
onClipEvent (load) {
start = 1;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 33
onClipEvent (load) {
id = 1;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 35
onClipEvent (load) {
id = 2;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 35
onClipEvent (load) {
id = 1;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 35
onClipEvent (load) {
id = 3;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 35
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 36
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 36
onClipEvent (load) {
start = 30;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 36
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 36
onClipEvent (load) {
start = 30;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 36
onClipEvent (load) {
start = 1;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 36
onClipEvent (load) {
start = 30;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 36
onClipEvent (load) {
id = 1;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 36
onClipEvent (load) {
id = 2;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 38
onClipEvent (load) {
start = 1;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 38
onClipEvent (load) {
start = 50;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 38
onClipEvent (load) {
start = 20;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 38
onClipEvent (load) {
start = 40;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 38
onClipEvent (load) {
start = 1;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 38
onClipEvent (load) {
start = 30;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 39
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 39
onClipEvent (load) {
start = 1;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 39
onClipEvent (load) {
start = 1;
}
onClipEvent (load) {
monster.gotoAndPlay(30);
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 40
onClipEvent (load) {
start = 1;
}
Instance of Symbol 140 MovieClip in Symbol 151 MovieClip Frame 40
onClipEvent (load) {
start = 30;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 40
onClipEvent (load) {
id = 2;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 40
onClipEvent (load) {
id = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 40
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 40
onClipEvent (load) {
start = 30;
}
Instance of Symbol 122 MovieClip in Symbol 151 MovieClip Frame 40
onClipEvent (load) {
start = 1;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 41
onClipEvent (load) {
id = 2;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 41
onClipEvent (load) {
id = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 41
onClipEvent (load) {
start = 1;
}
Instance of Symbol 137 MovieClip in Symbol 151 MovieClip Frame 41
onClipEvent (load) {
start = 30;
}
Instance of Symbol 150 MovieClip in Symbol 151 MovieClip Frame 42
onClipEvent (load) {
start = 1;
}
Instance of Symbol 124 MovieClip in Symbol 151 MovieClip Frame 42
onClipEvent (load) {
id = 1;
}
Symbol 199 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 15
if (0 < _parent.actTime) {
_parent.actTime--;
}
Symbol 202 MovieClip Frame 1
function bump() {
if (sensorHBump[i] == "left") {
if (_parent.matter.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
if (0 < vx) {
vx = vx * bumpAmount;
}
_x = (_x - 1);
}
} else if (sensorHBump[i] == "right") {
if (_parent.matter.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
if (vx < 0) {
vx = vx * bumpAmount;
}
_x = (_x + 1);
}
}
if (sensorVBump[i] == "up") {
if (_parent.matter.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
if (0 < vy) {
vy = vy * bumpAmount;
}
_y = (_y - 1);
}
} else if (sensorVBump[i] == "down") {
if (_parent.matter.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
if (vy < 0) {
vy = vy * bumpAmount;
}
if (i == 9) {
_y = (_y + 1);
}
}
}
bumpDamage();
}
function bumpDamage() {
if (harmfulSpeed < actSpeed) {
actEnergy = actEnergy - (actSpeed - harmfulSpeed);
if (actEnergy < 0) {
actEnergy = 0;
refreshEnergy();
gotoAndPlay (18);
} else {
refreshEnergy();
}
}
}
function burnFuel() {
_root.fuel.gotoAndStop(int((actFuel / maxFuel) * 199) + 1);
}
function refreshLives() {
if (lives < 4) {
_root.lives.gotoAndStop(actLives + 1);
} else {
_root.lives.gotoAndStop(5);
}
}
function refreshShots() {
if (shots < 9) {
_root.shots.gotoAndStop(actShots + 1);
} else {
_root.shots.gotoAndStop(10);
}
}
function refreshEnergy() {
_root.energy.gotoAndStop(int((actEnergy / maxEnergy) * 199) + 1);
}
function initObjects() {
i = 1;
while (_root.cst.maxObjects >= i) {
tellTarget ("../matter/active/object_" + i) {
init();
};
i++;
}
i = 1;
while (_root.cst.maxMonster >= i) {
tellTarget ("../matter/danger/monster_" + i) {
init();
ready = true;
};
i++;
}
}
function fillUp() {
actFuel = maxFuel;
actEnergy = maxEnergy;
actShots = maxShots;
refreshLives();
refreshShots();
refreshEnergy();
burnFuel();
}
function completeCollisionCheck() {
collision = false;
if (_parent.matter.danger.hitTest(_x + sensorX[0], (_y + sensorY[0]) - 2, true)) {
gotoAndPlay (18);
}
if (_parent.matter.danger.hitTest(_x + sensorX[1], (_y + sensorY[1]) - 2, true)) {
gotoAndPlay (18);
}
if (_parent.matter.danger.hitTest(_x + sensorX[2], (_y + sensorY[2]) - 4, true)) {
gotoAndPlay (18);
}
if (_parent.matter.hitTest(_x + sensorX[5], _y + sensorY[5], true)) {
collision = true;
}
if (_parent.matter.hitTest(_x + sensorX[6], _y + sensorY[6], true)) {
collision = true;
}
if (_parent.matter.hitTest(_x + sensorX[7], _y + sensorY[7], true)) {
collision = true;
}
if (_parent.matter.hitTest(_x + sensorX[8], _y + sensorY[8], true)) {
collision = true;
}
if (_parent.matter.hitTest(_x + sensorX[9], _y + sensorY[9], true)) {
collision = true;
}
}
function checkBorderCollision() {
if ((_x + sensorX[5]) < 0) {
vx = Math.abs(vx * bumpAmount);
_x = (-sensorX[5]);
}
if (550 < (_x + sensorX[6])) {
vx = Math.abs(vx) * bumpAmount;
_x = (550 - sensorX[6]);
}
if ((_y + sensorY[9]) < 0) {
vy = Math.abs(vy * bumpAmount);
_y = (-sensorY[9]);
}
if (339 < _y) {
vy = Math.abs(vy) * bumpAmount;
_y = 339;
}
}
actLevel = _root.startlevel;
_parent.matter.active.gotoAndStop(actLevel);
_parent.matter.platform.gotoAndStop(actLevel);
_parent.matter.danger.gotoAndStop(actLevel);
maxFuel = 1000;
burnFuelUp = 2;
burnFuelSide = 1;
maxEnergy = 200;
maxShots = 5;
actLives = 3;
if (actScore eq "") {
actScore = 0;
}
actTime = _root.cst.timePerScreen;
harmfulSpeed = 1;
ay = -0.5;
ax = 0.5;
ground = true;
sensorX = new Array();
sensorY = new Array();
sensorHBump = new Array();
sensorVBump = new Array();
sensorX[0] = -11;
sensorY[0] = 0;
sensorHBump[0] = "right";
sensorVBump[0] = "up";
sensorX[1] = 11;
sensorY[1] = 0;
sensorHBump[1] = "left";
sensorVBump[1] = "up";
sensorX[2] = 0;
sensorY[2] = 2;
sensorHBump[2] = "";
sensorVBump[2] = "up";
sensorX[3] = -8;
sensorY[3] = -4;
sensorHBump[3] = "right";
sensorVBump[3] = "up";
sensorX[4] = 8;
sensorY[4] = -4;
sensorHBump[4] = "left";
sensorVBump[4] = "up";
sensorX[5] = -13;
sensorY[5] = -11;
sensorHBump[5] = "right";
sensorVBump[5] = "";
sensorX[6] = 13;
sensorY[6] = -11;
sensorHBump[6] = "left";
sensorVBump[6] = "";
sensorX[7] = -7;
sensorY[7] = -4;
sensorHBump[7] = "right";
sensorVBump[7] = "down";
sensorX[8] = 7;
sensorY[8] = -4;
sensorHBump[8] = "left";
sensorVBump[8] = "down";
sensorX[9] = 0;
sensorY[9] = -21;
sensorHBump[9] = "";
sensorVBump[9] = "down";
sensorX[10] = 0;
sensorY[10] = -7;
bumpAmount = -0.2;
Symbol 202 MovieClip Frame 2
fillUp();
initObjects();
_x = _parent.matter.active.shipPosition._x;
_y = _parent.matter.active.shipPosition._y;
Symbol 202 MovieClip Frame 4
if (_parent.ready != true) {
gotoAndPlay (3);
}
Symbol 202 MovieClip Frame 5
fillUp();
if (_root.code[actLevel] ne "") {
if (actLives < 3) {
actLives = 3;
}
refreshLives();
fillUp();
}
initObjects();
vx = 0;
vy = 0;
_x = _parent.matter.active.shipPosition._x;
_y = _parent.matter.active.shipPosition._y;
Symbol 202 MovieClip Frame 6
actSpeed = Math.pow(Math.abs(vy) + Math.abs(vx * 0.7), 2);
vx = vx * _root.cst.slowdown;
collision = 0;
legL = false;
legR = false;
legC = false;
if (_parent.matter.platform.hitTest(_x + sensorX[0], _y + sensorY[0], true)) {
collision++;
legL = true;
}
if (_parent.matter.platform.hitTest(_x + sensorX[1], _y + sensorY[1], true)) {
collision++;
legR = true;
}
if (_parent.matter.platform.hitTest(_x + sensorX[2], _y + sensorY[2], true)) {
collision++;
legC = true;
}
if ((legL == true) && (legR != true)) {
if (_parent.matter.platform.hitTest(_x + sensorX[1], (_y + sensorY[1]) + 3.5, true)) {
rotate = 2;
maxrotate = 5;
} else {
rotate = 3;
maxrotate = 10;
}
}
if ((legR == true) && (legL != true)) {
if (_parent.matter.platform.hitTest(_x + sensorX[0], (_y + sensorY[0]) + 3.5, true)) {
rotate = -2;
maxrotate = 5;
} else {
rotate = -3;
maxrotate = 10;
}
}
if ((legL != true) && (legR != true)) {
rotate = 0;
}
if (1 < collision) {
ground = true;
fireLeft.gotoAndStop("inactive");
fireRight.gotoAndStop("inactive");
bumpDamage();
vy = 0;
vx = 0;
if (0 >= actFuel) {
gotoAndPlay (18);
}
if ((Math.abs(_rotation) < maxrotate) && (rotate != 0)) {
_rotation = (_rotation + rotate);
_y = (_y + 0.2);
}
i = 5;
while (6 >= i) {
bump();
i++;
}
} else {
ground = false;
_rotation = (_rotation * 0.9);
vy = vy + _root.cst.gravity;
}
completeCollisionCheck();
if (collision == true) {
if (_parent.matter.active.goal.hitTest(_x + sensorX[10], _y + sensorY[10], true)) {
gotoAndStop (8);
}
collision = false;
i = 5;
while (9 >= i) {
if (_parent.matter.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
if (_parent.matter.danger.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
gotoAndPlay (18);
}
if (_parent.matter.active.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
if (_parent.matter.active.object_1.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_1.hit();
}
if (_parent.matter.active.object_2.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_2.hit();
}
if (_parent.matter.active.object_3.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_3.hit();
}
if (_parent.matter.active.object_4.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_4.hit();
}
if (_parent.matter.active.object_5.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_5.hit();
}
if (_parent.matter.active.object_6.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_6.hit();
}
if (_parent.matter.active.object_7.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_7.hit();
}
if (_parent.matter.active.object_8.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_8.hit();
}
if (_parent.matter.active.object_9.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_9.hit();
}
if (_parent.matter.active.object_10.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_10.hit();
}
if (_parent.matter.active.object_11.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_11.hit();
}
if (_parent.matter.active.object_12.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_12.hit();
}
if (_parent.matter.active.object_13.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_13.hit();
}
if (_parent.matter.active.object_14.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_14.hit();
}
if (_parent.matter.active.object_15.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_15.hit();
}
if (_parent.matter.active.object_16.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_16.hit();
}
if (_parent.matter.active.object_17.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_17.hit();
}
if (_parent.matter.active.object_18.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_18.hit();
}
if (_parent.matter.active.object_19.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_19.hit();
}
if (_parent.matter.active.object_20.hitTest(_x + sensorX[i], _y + sensorY[i], true)) {
_parent.matter.active.object_20.hit();
}
} else {
bump();
}
}
i++;
}
}
checkBorderCollision();
if (0 < actFuel) {
if (Key.isDown(38)) {
vy = vy + ay;
actFuel = actFuel - burnFuelUp;
burnFuel();
fireDown.gotoAndStop("fire");
} else {
fireDown.gotoAndStop("inactive");
}
if (Key.isDown(37)) {
if (ground == true) {
vy = vy + ay;
}
vx = vx - ax;
actFuel = actFuel - burnFuelSide;
burnFuel();
fireRight.gotoAndStop("fire");
_rotation = ((_rotation * 0.98) + 1);
shootLeft = true;
} else {
fireRight.gotoAndStop("inactive");
}
if (Key.isDown(39)) {
if (ground == true) {
vy = vy + ay;
}
vx = vx + ax;
actFuel = actFuel - burnFuelSide;
burnFuel();
fireLeft.gotoAndStop("fire");
_rotation = ((_rotation * 0.98) - 1);
shootLeft = false;
} else {
fireLeft.gotoAndStop("inactive");
}
} else {
fireLeft.gotoAndStop("inactive");
fireRight.gotoAndStop("inactive");
fireDown.gotoAndStop("inactive");
}
_x = (_x + vx);
_y = (_y + vy);
if (Key.isDown(32)) {
if (0 < actShots) {
if (_parent.shot.ready == true) {
if (shootLeft != true) {
_parent.shot._x = _x + 15;
_parent.shot._y = _y - 8;
_parent.shot.vx = 3;
} else {
_parent.shot._x = _x - 15;
_parent.shot._y = _y - 8;
_parent.shot.vx = -3;
}
_parent.shot.ready = false;
actShots--;
refreshShots();
_parent.shot.gotoAndPlay("shoot");
}
}
}
Symbol 202 MovieClip Frame 7
gotoAndPlay (6);
Symbol 202 MovieClip Frame 8
play();
Symbol 202 MovieClip Frame 16
actLevel++;
_parent.shot.gotoAndStop(1);
_parent.matter.active.nextFrame();
_parent.matter.platform.nextFrame();
_parent.matter.danger.nextFrame();
Symbol 202 MovieClip Frame 17
initObjects();
if (_root.code[actLevel] ne "") {
_root.savepoint = _root.code[actLevel];
actScore = actScore + actTime;
actTime = _root.cst.timePerScreen;
} else {
_root.savepoint = "";
}
vx = 0;
vy = 0;
_x = _parent.matter.active.shipPosition._x;
_y = _parent.matter.active.shipPosition._y;
_parent.shot.gotoAndStop(1);
gotoAndPlay (6);
Symbol 202 MovieClip Frame 18
stop();
Instance of Symbol 202 MovieClip "ship" in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
vx = 0;
vy = 0;
}
Symbol 211 MovieClip Frame 200
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 222 Button
on (release) {
_root.world.ready = true;
gotoAndStop (4);
}
Symbol 228 Button
on (release, keyPress "r") {
_root.world.ship.gotoAndPlay(1);
gotoAndPlay (1);
}
on (keyPress "R") {
_root.world.ship.gotoAndPlay(1);
gotoAndPlay (1);
}
Symbol 230 Button
on (release, keyPress "g") {
_parent.gotoAndStop("menu");
}
on (keyPress "G") {
_parent.gotoAndStop("menu");
}
Symbol 232 MovieClip Frame 1
_root.world.ready = false;
if (_root.code[_root.world.ship.actLevel] ne "") {
_root.savepoint = "savepoint";
} else {
_root.savepoint = "";
}
Symbol 232 MovieClip Frame 2
if (((((Key.isDown(13) || (Key.isDown(32))) || (Key.isDown(38))) || (Key.isDown(40))) || (Key.isDown(37))) || (Key.isDown(39))) {
_root.world.ready = true;
gotoAndStop (4);
}
Symbol 232 MovieClip Frame 3
gotoAndPlay (2);
Symbol 232 MovieClip Frame 4
stop();
Symbol 232 MovieClip Frame 5
password = "";
i = 1;
while (_root.world.ship.actLevel >= i) {
if (_root.code[i] ne "") {
password = _root.code[i];
_root.startlevel = i;
}
i++;
}
stop();
Symbol 244 Button
on (release) {
highscores.submit("ss7", "", _root.world.ship.actScore, int(getTimer() / 60000));
}
Symbol 250 Button
on (release) {
getURL ("http://www.neodelight.com/", "_top");
}