Frame 1
function GenLevel(num) {
level = new Array(0);
level[0] = 16;
level[3] = 16;
level[4] = 16;
level[7] = 16;
level[8] = 16;
level[11] = 16;
i = 0;
while (i < 4) {
var zon = eval ("zone" + levels[(num * levelRecordSize) + i]);
level = level.concat(zon);
i++;
}
level[412] = 16;
level[415] = 16;
}
function GenActors(levelNum) {
RandomSeed(levels[(levelNum * levelRecordSize) + 9]);
levelActors = new Array();
if (!isNewGameSuspend) {
levelActors.push(new TActorDesc(160, 0, A_BRIDGE, 1));
}
actorsIndex = 0;
var i = 0;
while (i < levels[(levelNum * levelRecordSize) + 16]) {
if (true) {
var y = (MyRandom(levelSize - 8) + 3);
var x;
if (level[(y * 4) + 1] == 0) {
x = MyRandom(((375 - (level[(y * 4) + 0] * 10)) - (level[(y * 4) + 3] * 10)) - 15) + (level[(y * 4) + 0] * 10);
} else {
x = ((MyRandom(2) == 1) ? (MyRandom(((187.5 - (level[(y * 4) + 0] * 10)) - (level[(y * 4) + 1] * 10)) - 15) + (level[(y * 4) + 0] * 10)) : ((MyRandom(((187.5 - (level[(y * 4) + 2] * 10)) - (level[(y * 4) + 3] * 10)) - 15) + (level[(y * 4) + 2] * 10)) + 187.5));
}
if (IsGround(x, y + 3) || (IsGround(x + 15, y + 3))) {
// unexpected jump
}
if (IsGround(x, y + 2) || (IsGround(x + 15, y + 2))) {
// unexpected jump
}
if (IsGround(x, y + 1) || (IsGround(x + 15, y + 1))) {
// unexpected jump
}
levelActors.push(new TActorDesc(x, y * 25, A_FUEL, 1));
}
i++;
}
RandomSeed(levels[(levelNum * levelRecordSize) + 8]);
var ai = 0;
while (ai < 5) {
var i = 0;
while (i < LodIt(levels[((levelNum * levelRecordSize) + 10) + ai])) {
if (true) {
var y = (MyRandom(levelSize - 6) + 5);
if (CheckActor(y * 25) == 1) {
// unexpected jump
}
var x;
if (level[(y * 4) + 1] == 0) {
var x = (MyRandom(((375 - (level[(y * 4) + 0] * 10)) - (level[(y * 4) + 3] * 10)) - actorWidth[ai]) + (level[(y * 4) + 0] * 10));
} else {
var x = ((MyRandom(2) == 1) ? (MyRandom(((187.5 - (level[(y * 4) + 0] * 10)) - (level[(y * 4) + 1] * 10)) - actorWidth[ai]) + (level[(y * 4) + 0] * 10)) : ((MyRandom(((187.5 - (level[(y * 4) + 2] * 10)) - (level[(y * 4) + 3] * 10)) - actorWidth[ai]) + (level[(y * 4) + 2] * 10)) + 187.5));
}
levelActors.push(new TActorDesc(x, y * 25, ai, MyRandom(2) - 1));
}
i++;
}
ai++;
}
var rx = MyRandom(350);
if (!isNewGameSuspend) {
levelActors.push(new TActorDesc(rx, 25, A_TANK, ((rx < 0) ? -1 : 1)));
}
levelActors.sort(ActorDescComp);
}
function CheckActor(y) {
var i = 0;
while (i < levelActors.length) {
if (levelActors[i].actorType != A_FUEL) {
if (y == levelActors[i].y) {
return(1);
}
}
i++;
}
return(0);
}
function CheckStatic(y) {
var i = 0;
while (i < levelStatics.length) {
if (y == levelStatics[i].y) {
return(1);
}
i++;
}
return(0);
}
function IsGround(x, y) {
if (x < (level[(y * 4) + 0] * 10)) {
return(1);
}
if ((375 - (level[(y * 4) + 3] * 10)) < x) {
return(1);
}
if (((187.5 - (level[(y * 4) + 1] * 10)) < x) && (x < (187.5 + (level[(y * 4) + 2] * 10)))) {
return(1);
}
return(0);
}
function GenStatics(levelNum) {
var num = levels[(levelNum * levelRecordSize) + 4];
var sed = levels[(levelNum * levelRecordSize) + 7];
RandomSeed(sed);
var iw = eval ("itemWidth_" + levels[(levelNum * levelRecordSize) + 6]);
staticsIndex = 0;
levelStatics = new Array();
levelStatics.push(new TActorDesc(0, 0, AS_BRIDGE, 1));
var i = 0;
while (i < num) {
if (true) {
var y = (MyRandom(levelSize - 3) + 2);
if (CheckStatic(y * 25) == 1) {
// unexpected jump
}
}
var j = 0;
while (j < levelStatics.length) {
if (levelStatics[j].y == (y * 25)) {
var y = (MyRandom(levelSize - 3) + 2);
j = 0;
}
j++;
}
var ai = (MyRandom(3) + AS_ITEM1);
var x;
var sp = (((level[(y * 4) + 1] + level[(y * 4) + 2]) * 10) - iw[ai]);
if ((10 < sp) && (MyRandom(2) == 1)) {
x = ((187.5 - (level[(y * 4) + 1] * 10)) + MyRandom((sp / 2) - 4)) + 5;
} else if (MyRandom(2) == 1) {
x = (((level[(y * 4) + 0] * 10) - 5) - MyRandom(level[(y * 4) + 0] * 4)) - iw[ai];
} else {
x = ((375 - (level[(y * 4) + 3] * 10)) + 5) + MyRandom(level[(y * 4) + 3] * 4);
}
levelStatics.push(new TActorDesc(x, y * 25, ai, MyRandom(2) - 1));
i++;
}
var i = 0;
while (i < levels[(levelNum * levelRecordSize) + 15]) {
if (true) {
var y = (MyRandom(levelSize - 3) + 2);
if (CheckStatic(y * 25) == 1) {
// unexpected jump
}
}
if ((MyRandom(2) == 1) && ((iw[AS_TANK] + 10) < (level[(y * 4) + 0] * 10))) {
levelStatics.push(new TActorDesc((((level[(y * 4) + 0] * 10) - iw[AS_TANK]) - 10) - MyRandom(((level[(y * 4) + 0] * 10) - iw[AS_TANK]) - 10), y * 25, AS_TANK, 1));
} else if ((iw[AS_TANK] + 10) < (level[(y * 4) + 3] * 10)) {
levelStatics.push(new TActorDesc(((375 - (level[(y * 4) + 3] * 10)) + 10) + MyRandom(((level[(y * 4) + 3] * 10) - 10) - iw[AS_TANK]), y * 25, AS_TANK, -1));
}
i++;
}
levelStatics.sort(ActorDescComp);
}
function LodIt(num) {
if ((lod == 1) || (isDemo)) {
return(num);
}
if (lod == 2) {
return(num + (num / 2));
}
var ret = (num - (num / 2));
if (ret >= 0) {
return(ret);
}
return(0);
}
function TActorDesc(inx, iny, intype, indir) {
this.x = inx;
this.y = iny;
this.actorType = intype;
this.dir = indir;
}
function ActorDescComp(a, b) {
if (a.y < b.y) {
return(-1);
}
if (b.y < a.y) {
return(1);
}
return(0);
}
function MakeStaticActor(x, y, actorDesc) {
static.attachMovie(levels[(levelNum * levelRecordSize) + 5] + staticActorNames[actorDesc.actorType], "a" + actorLevelStat, actorLevelStat);
var added = eval ("static/a" + actorLevelStat);
actorLevelStat--;
if (actorLevelStat == 100) {
actorLevelStat = 600;
}
added._x = x;
added._y = y - added._height;
if (actorDesc.dir == -1) {
added._x = added._x + added._width;
added._xscale = -100;
}
if (actorDesc.actorType == AS_BRIDGE) {
staticBridge = added;
}
if (actorDesc.actorType == AS_TANK) {
var ay = Math.round(actorDesc.y / 25);
if (ay == 1) {
added.bridge = true;
_root.bridgeTank = added;
}
if (x >= 0) {
added.coast = ((375 - (level[(ay * 4) + 3] * 10)) - 187.5) + 10;
added.other = ((level[(ay * 4) + 0] * 10) - 187.5) - 10;
added.hold = false;
} else {
added.coast = ((level[(ay * 4) + 0] * 10) - 187.5) - 10;
added.other = ((375 - (level[(ay * 4) + 3] * 10)) - 187.5) + 10;
added.hold = false;
}
}
return(added);
}
function MakeActor(x, y, actorDesc) {
if (actorDesc.actorType == A_FUEL) {
obj.attachMovie("e" + actorNames[actorDesc.actorType], "a" + fuelLevel, fuelLevel);
var added = eval ("obj/a" + fuelLevel);
fuelLevel--;
if (fuelLevel == 50) {
fuelLevel = 99;
}
added._x = x;
added._y = y - added._height;
added.actorType = actorDesc.actorType;
return(undefined);
}
if ((actorDesc.actorType == A_TANK) && (actorDesc.y == 25)) {
obj.attachMovie("e" + actorNames[actorDesc.actorType], "a700", 700);
var added = obj/a700;
} else {
obj.attachMovie("e" + actorNames[actorDesc.actorType], "a" + actorLevel, actorLevel);
var added = eval ("obj/a" + actorLevel);
}
actorLevel--;
if (actorLevel == 100) {
actorLevel = 600;
}
added._x = x;
added._y = y - added._height;
added.actorType = actorDesc.actorType;
if (actorDesc.dir == -1) {
added._x = added._x + added._width;
added._xscale = -100;
}
if (actorDesc.actorType == A_BULLET) {
_root.isBullet = true;
}
if ((((actorDesc.actorType == A_HELICOPTER) || (actorDesc.actorType == A_BALOON)) || (actorDesc.actorType == A_SHIP)) || (actorDesc.actorType == A_BADHELICOPTER)) {
var ay = Math.round(actorDesc.y / 25);
if ((level[(ay * 4) + 1] == 0) && (level[(ay * 4) + 2] == 0)) {
added.left = (level[(ay * 4) + 0] * 10) - 187.5;
added.right = (375 - (level[(ay * 4) + 3] * 10)) - 187.5;
} else if (x >= 0) {
added.left = ((level[(ay * 4) + 2] * 10) + 187.5) - 187.5;
added.right = (375 - (level[(ay * 4) + 3] * 10)) - 187.5;
} else {
added.left = (level[(ay * 4) + 0] * 10) - 187.5;
added.right = (187.5 - (level[(ay * 4) + 1] * 10)) - 187.5;
}
added.speed = MyRandom(4);
}
if (actorDesc.actorType == A_BADHELICOPTER) {
added.bul = false;
}
if (actorDesc.actorType == A_BRIDGE) {
_root.bridge = true;
}
if (actorDesc.actorType == A_TANK) {
var ay = Math.round(actorDesc.y / 25);
if (ay == 1) {
if (_root.bridge) {
added.bridge = true;
}
_root.bridgeTank = added;
_root.isLevelIncomplete = true;
}
if (x >= 0) {
added.coast = ((375 - (level[(ay * 4) + 3] * 10)) - 187.5) + 10;
added.other = ((level[(ay * 4) + 0] * 10) - 187.5) - 10;
added.hold = false;
} else {
added.coast = ((level[(ay * 4) + 0] * 10) - 187.5) - 10;
added.other = ((375 - (level[(ay * 4) + 3] * 10)) - 187.5) + 10;
added.hold = false;
}
}
return(added);
}
function CollideLevelMix(actor, coords) {
for (var r in game) {
var row = eval ("game/" + r);
if (actor.hitTest(row)) {
for (var c in row) {
var ch = eval ((("game/" + r) + "/") + c);
var i = 0;
while (i < (coords.length / 2)) {
if (actor.hitTest(ch) && (ch.hitTest(coords[i * 2], coords[(i * 2) + 1], true))) {
return(true);
}
i++;
}
}
}
}
}
function CollideLevelBbox(actor) {
for (var r in game) {
var row = eval ("game/" + r);
if (actor.hitTest(row)) {
for (var c in row) {
var ch = eval ((("game/" + r) + "/") + c);
if (actor.hitTest(ch)) {
return(true);
}
}
}
}
}
function CollideLevelPoint(actor, x, y) {
for (var r in game) {
var row = eval ("game/" + r);
if (actor.hitTest(row)) {
for (var c in row) {
var ch = eval ((("game/" + r) + "/") + c);
if (actor.hitTest(ch) && (ch.hitTest(x, y, true))) {
return(true);
}
}
}
}
}
function Explode(actor) {
score = score + scores[actor.actorType];
bar.score = score;
if (score >= nextLifeBonus) {
nextLifeBonus = nextLifeBonus + newLifeScore;
lives++;
bar.lives = String(lives);
if (_root.isSound) {
_root.sndNewLife.start();
}
}
MakeActor(actor._x + (((actor._width / 2) * actor._xscale) / 100), actor._y + (((actor._height / 2) * actor._yscale) / 100), explosionDesc);
if (actor.actorType == A_BADHELICOPTER) {
actor.bul.removeMovieClip();
}
if (actor.actorType == A_BRIDGE) {
if (((_root.bridgeTank._x + ((_root.bridgeTank._width * _root.bridgeTank._xscale) / 100)) >= actor._x) && ((actor._x + ((actor._width * actor._xscale) / 100)) >= _root.bridgeTank._x)) {
Explode(_root.bridgeTank);
} else if (_root.bridgeTank._x < 0) {
_root.bridgeTank.coast = -37.5;
_root.bridgeTank.other = 37.5;
if (_root.bridgeTank._xscale < 0) {
_root.bridgeTank._xscale = 100;
_root.bridgeTank._x = _root.bridgeTank._x - _root.bridgeTank._width;
}
} else {
_root.bridgeTank.other = -37.5;
_root.bridgeTank.coast = 37.5;
if (0 < _root.bridgeTank._xscale) {
_root.bridgeTank._xscale = -100;
_root.bridgeTank._x = _root.bridgeTank._x + _root.bridgeTank._width;
}
}
_root.bridge = false;
_root.bridgeTank.bridge = false;
_root.bridgeTank.wasBridge = true;
_root.isLevelIncomplete = false;
if (_root.currentLevel == _root.levelsNum) {
_root.victory._visible = true;
_root.isSuspend = true;
}
if (_root.isSound) {
_root.sndBridgeExpl.start();
}
} else if (_root.isSound) {
_root.sndExpl.start();
}
actor.removeMovieClip();
}
function Rand() {
nextRand = ((nextRand * 1103515245) % 4294967295) + 12345;
return((Math.floor(nextRand / 65536) % 32768) / 32767);
}
function MyRandom(top) {
return(Math.floor(Rand() * top));
}
function RandomSeed(seed) {
nextRand = seed;
}
function StaticAi(me) {
if (!isSuspend) {
me._y = me._y + currentMovementSpeed;
if (187.5 < me._y) {
me.removeMovieClip();
return(undefined);
}
}
}
function PlayerAi(me) {
me._x = me._x + me.speed;
if (me._x >= (375 - (me._width / 2))) {
me._x = 375 - (me._width / 2);
}
if ((0 + (me._width / 2)) >= me._x) {
me._x = 0 + (me._width / 2);
}
if ((CollideLevelPoint(me, me._x, me._y) || (CollideLevelPoint(me, me._x + 15, me._y + 4.5))) || (CollideLevelPoint(me, me._x - 15, me._y + 4.5))) {
KillPlayer();
}
for (var r in obj) {
var o = eval ("obj/" + r);
if (me.hitTest(o)) {
if (o.hitTest(me._x, me._y - 17, true)) {
PlayerCollideActor(o);
} else if (o.hitTest(me._x + 15, me._y + 4.5, true)) {
PlayerCollideActor(o);
} else if (o.hitTest(me._x - 15, me._y + 4.5, true)) {
PlayerCollideActor(o);
} else if (o.hitTest(me._x, me._y + 17, true)) {
PlayerCollideActor(o);
} else if (o.hitTest(me._x, me._y, true)) {
PlayerCollideActor(o);
}
}
}
}
function PlayerCollideActor(o) {
if (o.actorType == A_FUEL) {
bar.fuel._xscale = bar.fuel._xscale + fuelIncrease;
if (100 < bar.fuel._xscale) {
bar.fuel._xscale = 100;
}
}
if (((o.actorType >= 0) && (6 >= o.actorType)) || (o.actorType == A_BADEXPLOSION)) {
Explode(o);
KillPlayer();
}
}
function KillPlayer() {
if (_root.isSound) {
_root.sndPlayerDeath.start();
}
MakeActor(player._x - 187.5, player._y - 187.5, explosionDesc);
lives--;
isPlayerDead = true;
player._visible = false;
playerCounter = 0;
killed._visible = true;
bar.lives = String(lives);
if (0 >= lives) {
gameover._visible = true;
isSuspend = true;
}
}
function BulletAi(me) {
if (!isSuspend) {
me._y = me._y - bulletSpeed;
if (me._y < (-187.5 - me._height)) {
isBullet = false;
me.removeMovieClip();
return(undefined);
}
if (CollideLevelPoint(me, 187.5 + me._x, 187.5 + me._y)) {
if (_root.isSound) {
_root.sndTerrExpl.start();
}
MakeActor(me._x, me._y, explosionDesc);
isBullet = false;
me.removeMovieClip();
return(undefined);
}
for (var r in obj) {
var o = eval ("obj/" + r);
if (me == o) {
continue;
}
if (me.hitTest(o) && (7 >= o.actorType)) {
if (o == A_EXPLOSION) {
continue;
}
Explode(o);
isBullet = false;
me.removeMovieClip();
return(undefined);
}
}
}
}
function ExplosionAi(me) {
if (!isSuspend) {
me._y = me._y + currentMovementSpeed;
if (187.5 < me._y) {
me.removeMovieClip();
return(undefined);
}
}
}
function ShipAi(me) {
if (!isSuspend) {
me._y = me._y + currentMovementSpeed;
if (187.5 < me._y) {
me.removeMovieClip();
return(undefined);
}
if (0 < me._xscale) {
me._x = me._x + me.speed;
if (((me.right - me._width) < me._x) || (MyRandom(shipDirChangeChance) == 1)) {
me._xscale = -100;
me._x = me._x + me._width;
}
} else {
me._x = me._x - me.speed;
if ((me._x < (me.left + me._width)) || (MyRandom(shipDirChangeChance) == 1)) {
me._xscale = 100;
me._x = me._x - me._width;
}
}
if (MyRandom(shipSpeedChangeChance) == 1) {
me.speed = MyRandom(shipMaxSpeed);
}
}
}
function HelicopterAi(me) {
if (!isSuspend) {
me._y = me._y + currentMovementSpeed;
if (187.5 < me._y) {
me.removeMovieClip();
return(undefined);
}
if (0 < me._xscale) {
me._x = me._x + me.speed;
if (((me.right - me._width) < me._x) || (MyRandom(heliDirChangeChance) == 1)) {
me._xscale = -100;
me._x = me._x + me._width;
}
} else {
me._x = me._x - me.speed;
if ((me._x < (me.left + me._width)) || (MyRandom(heliDirChangeChance) == 1)) {
me._xscale = 100;
me._x = me._x - me._width;
}
}
if (MyRandom(heliSpeedChangeChance) == 1) {
me.speed = MyRandom(heliMaxSpeed) + 1;
}
}
}
function BaloonAi(me) {
if (!isSuspend) {
me._y = me._y + currentMovementSpeed;
if (187.5 < me._y) {
me.removeMovieClip();
return(undefined);
}
if (0 < me._xscale) {
me._x = me._x + me.speed;
if (((me.right - me._width) < me._x) || (MyRandom(baloonDirChangeChance) == 1)) {
me._xscale = -100;
me._x = me._x + me._width;
}
} else {
me._x = me._x - me.speed;
if ((me._x < (me.left + me._width)) || (MyRandom(baloonDirChangeChance) == 1)) {
me._xscale = 100;
me._x = me._x - me._width;
}
}
if (MyRandom(baloonSpeedChangeChance) == 1) {
me.speed = MyRandom(baloonMaxSpeed);
}
}
}
function BadHelicopterAi(me) {
if (!isSuspend) {
me._y = me._y + currentMovementSpeed;
if (187.5 < me._y) {
me.removeMovieClip();
return(undefined);
}
if (0 < me._xscale) {
me._x = me._x + me.speed;
if (((me.right - me._width) < me._x) || (MyRandom(dirChangeChance) == 1)) {
me._xscale = -100;
me._x = me._x + me._width;
}
} else {
me._x = me._x - me.speed;
if ((me._x < (me.left + me._width)) || (MyRandom(dirChangeChance) == 1)) {
me._xscale = 100;
me._x = me._x - me._width;
}
}
if (MyRandom(speedChangeChance) == 1) {
me.speed = MyRandom(4);
}
if (!me.bul) {
if (_root.isSound) {
_root.sndHeliShoot.start();
}
me.bul = MakeActor(me._x + ((me._xscale / 100) * me._width), (me._y + 15) - currentMovementSpeed, badBulletDesc);
me.bul.speed = (me._xscale / 100) * badBulletSpeed;
} else {
me.bul._x = me.bul._x + me.bul.speed;
if ((me.right < me.bul._x) || (me.bul._x < me.left)) {
me.bul.RemoveMovieClip();
me.bul = 0;
} else if ((!isPlayerDead) && (me.bul.hitTest(player))) {
KillPlayer();
me.bul.RemoveMovieClip();
me.bul = false;
}
}
}
}
function PlaneAi(me) {
if (!isSuspend) {
if (0 < me._xscale) {
me._x = me._x + _root.planeSpeed;
if (187.5 < me._x) {
me._x = -187.5 - me._width;
}
} else {
me._x = me._x - _root.planeSpeed;
if (me._x < -187.5) {
me._x = 187.5 + me._width;
}
}
me._y = me._y + currentMovementSpeed;
if (187.5 < me._y) {
me.removeMovieClip();
return(undefined);
}
}
}
function TankAi(me) {
if (!isSuspend) {
me.counter++;
me._y = me._y + currentMovementSpeed;
if (187.5 < me._y) {
me.removeMovieClip();
return(undefined);
}
if (me.bridge) {
if (0 < me._xscale) {
me._x = me._x + tankSpeed;
if (me._x >= 150) {
me._x = me._x + me._width;
me._xscale = -100;
}
} else {
me._x = me._x - tankSpeed;
if (me._x < -150) {
me._x = me._x - me._width;
me._xscale = 100;
}
}
} else if (!me.hold) {
if (0 < me._xscale) {
me._x = me._x + tankSpeed;
if (me._x >= (me.coast - me._width)) {
me._x = me.coast - me._width;
me.hold = true;
}
} else {
me._x = me._x - tankSpeed;
if (me._x < (me.coast + me._width)) {
me._x = me.coast + me._width;
me.hold = true;
}
}
} else if (!me.bul) {
if (me.wasBridge) {
if (me.counter >= tankPause) {
if (_root.isSound) {
_root.sndTankShoot.start();
}
me.bul = MakeActor(me._x + ((me._xscale / 100) * me._width), (me._y + 5) - currentMovementSpeed, badBulletDesc);
me.bul.speed = (me._xscale / 100) * badBulletSpeed;
me.bul.targ = me.coast + (((me.other - me.coast) * random(100)) / 100);
}
} else {
if (_root.isSound) {
_root.sndTankShoot.start();
}
me.bul = MakeActor(me._x + ((me._xscale / 100) * me._width), (me._y + 5) - currentMovementSpeed, badBulletDesc);
me.bul.speed = (me._xscale / 100) * badBulletSpeed;
me.bul.targ = me.coast + (((me.other - me.coast) * random(100)) / 100);
}
} else {
me.bul._x = me.bul._x + me.bul.speed;
if (((0 < me._xscale) && (me.bul._x >= me.bul.targ)) || ((me._xscale < 0) && (me.bul._x < me.bul.targ))) {
me.counter = 0;
MakeActor(me.bul._x, me.bul._y, badExplosionDesc);
me.bul.RemoveMovieClip();
me.bul = false;
} else if ((!isPlayerDead) && (me.bul.hitTest(player))) {
KillPlayer();
me.bul.RemoveMovieClip();
me.bul = false;
}
}
}
}
function MoreGames() {
_root.AbsLink();
}
function Publish(name, score) {
}
function AbsLink() {
var s = "^jjf0%%WXiebkj_ij$Yec";
var sd = "";
var i = 0;
while (i < s.length) {
sd = sd + String.fromCharCode(s.charCodeAt(i) + 10);
i++;
}
sd = sd + (("/?r=" + GetPrefix()) + "rvr");
getURL (sd, "blank");
}
function SendResult() {
var stSend = ((((((((_root.score + "\t") + 0) + "\t") + stName) + "\t") + "rvr") + "\t") + "web");
getURL ("http://absolutist.com/cgi-bin/gameres.pl?g=rvr&e=" + _root.Crypto(stSend), "blank");
_root.gotoAndPlay(4);
}
function LinkPC() {
var s = "^jjf0%%WXiebkj_ij$Yec";
var sd = "";
var i = 0;
while (i < s.length) {
sd = sd + String.fromCharCode(s.charCodeAt(i) + 10);
i++;
}
sd = sd + (("/boa/?r=" + GetPrefix()) + "rvr");
getURL (sd, "blank");
}
function GetPrefix() {
return(_root._url.charAt(_root._url.length - 3));
}
function DemoInit() {
demoIndex = 0;
}
function DemoProc() {
while (demoSeq[demoIndex] == frame) {
DemoKey(demoSeq[demoIndex + 1]);
demoIndex = demoIndex + 2;
}
if (demoIndex >= demoSeq.length) {
demoIndex = 0;
frame = 0;
}
}
function DemoKey(Code) {
if (Code == 39) {
if (!player.speed) {
player.speed = _root.playerSpeed;
player.gotoAndPlay(2);
}
}
if (Code == 37) {
if (!player.speed) {
player.speed = -_root.playerSpeed;
player.gotoAndPlay(3);
}
}
if (Code == 38) {
_root.currentMovementSpeed = _root.fastMovementSpeed;
}
if (Code == 40) {
_root.currentMovementSpeed = _root.slowMovementSpeed;
}
if ((Code == 32) && (!_root.isBullet)) {
if (_root.isSound) {
_root.sndPlayerShoot.start();
}
_root.MakeActor(player._x - 187.5, player._y - 187.5, _root.bulletDesc);
}
if ((Code == 139) || (Code == 137)) {
player.speed = 0;
player.gotoAndPlay("normal");
}
if (Code == 138) {
_root.currentMovementSpeed = _root.normalMovementSpeed;
}
if (Code == 140) {
_root.currentMovementSpeed = _root.normalMovementSpeed;
}
}
function Init(isDem) {
isSuspend = false;
isDemo = isDem;
demInit = false;
DemoInit();
keyQueue = new Array();
lives = 3;
score = 0;
bar.lives = String(lives);
bulletDesc = new TActorDesc(0, 0, A_BULLET, 1);
badBulletDesc = new TActorDesc(0, 0, A_BADBULLET, 1);
tankBulletDesc = new TActorDesc(0, 0, A_TANKBULLET, 1);
explosionDesc = new TActorDesc(0, 0, A_EXPLOSION, 1);
badExplosionDesc = new TActorDesc(0, 0, A_BADEXPLOSION, 1);
sndClick = new Sound();
sndClick.attachSound("snClick");
sndBridgeExpl = new Sound();
sndBridgeExpl.attachSound("snBridgeExpl");
sndExpl = new Sound();
sndExpl.attachSound("snExpl");
sndHeliShoot = new Sound();
sndHeliShoot.attachSound("snHeliShoot");
sndPlayerDeath = new Sound();
sndPlayerDeath.attachSound("snPlayerDeath");
sndPlayerShoot = new Sound();
sndPlayerShoot.attachSound("snPlayerShoot");
sndTankShoot = new Sound();
sndTankShoot.attachSound("snTankShoot");
sndTerrExpl = new Sound();
sndTerrExpl.attachSound("snTerrExpl");
sndNewLife = new Sound();
sndNewLife.attachSound("snNewLife");
nextLifeBonus = newLifeScore;
NewGame(0);
}
function NewGame(startLevelNum) {
newgam._visible = false;
pause._visible = false;
help._visible = false;
options._visible = false;
newlevel._visible = false;
gameover._visible = false;
victory._visible = false;
demos._visible = isDemo;
newdem._visible = false;
isLevelIncomplete = false;
isPauseLock = false;
isPlayerDead = false;
player._visible = true;
playerCounter = 0;
player._x = playerStartX;
player._y = playerStartY;
isBullet = false;
isNewGameSuspend = true;
killed._visible = false;
if (!isDemo) {
pause._visible = true;
_root.isSuspend = true;
_root.pause._visible = true;
}
bar.fuel.gotoAndPlay(1);
bar.fuel._xscale = 100;
bar.score = score;
currentMovementSpeed = 0;
player.speed = 0;
player.gotoAndPlay("normal");
for (var r in obj) {
var o = eval ("obj/" + r);
o.removeMovieClip();
}
for (var r in static) {
var o = eval ("static/" + r);
o.removeMovieClip();
}
actorLevel = 600;
actorLevelStat = 600;
fuelLevel = 99;
LinoInit(startLevelNum);
rowsNum = Math.ceil(375 / rowHeight) + 1;
rows = new Array(rowsNum);
var y = (rowsNum - 1);
while (y >= 0) {
game.attachMovie("erow", "row" + y, y);
rows[y] = eval ("game/row" + y);
rows[y]._x = -187.5;
rows[y]._y = -187.5 + ((y - 1) * rowHeight);
Linotype(rows[y]);
y--;
}
currentMovementSpeed = normalMovementSpeed;
frame = 0;
RandomSeed(0);
}
function LinoInit(num) {
tileset = levels[(num * levelRecordSize) + 5];
itemTileset = levels[(num * levelRecordSize) + 6];
prevLevel = 0;
prevRow = 0;
currentRow = 1;
currentLevel = num;
bar.bridge = currentLevel;
GenLevel(num);
GenStatics(num);
GenActors(num);
}
function Linotype(row) {
for (cl in row) {
eval ((("game/" + row._name) + "/") + cl).removeMovieClip();
}
var curX = level[(currentRow * 4) + 0];
var prevX = level[(prevRow * 4) + 0];
var deltaX = (curX - prevX);
var shiftX = ((curX >= prevX) ? (prevX) : (curX));
if (shiftX != 0) {
row.attachMovie(tileset + 0, "t0", 0);
row.t0._x = 0;
row.t0._y = 0;
row.t0._xscale = shiftX * 1000;
}
if (deltaX != 0) {
row.attachMovie(tileset + Math.abs(deltaX), "t1", 1);
row.t1._x = shiftX * 10;
row.t1._y = ((0 < deltaX) ? 0 : (rowHeight));
row.t1._yscale = ((0 < deltaX) ? 100 : -100);
}
var curX = level[(currentRow * 4) + 3];
var prevX = level[(prevRow * 4) + 3];
var deltaX = (curX - prevX);
var shiftX = ((curX >= prevX) ? (prevX) : (curX));
if (shiftX != 0) {
row.attachMovie(tileset + 0, "t2", 2);
row.t2._x = 375;
row.t2._y = 0;
row.t2._xscale = shiftX * -1000;
}
if (deltaX != 0) {
row.attachMovie(tileset + Math.abs(deltaX), "t3", 3);
row.t3._x = 375 - (shiftX * 10);
row.t3._y = ((0 < deltaX) ? 0 : (rowHeight));
row.t3._yscale = ((0 < deltaX) ? 100 : -100);
row.t3._xscale = -100;
}
var curX = level[(currentRow * 4) + 2];
var prevX = level[(prevRow * 4) + 2];
var deltaX = (curX - prevX);
var shiftX = ((curX >= prevX) ? (prevX) : (curX));
if (shiftX != 0) {
row.attachMovie(tileset + 0, "t4", 4);
row.t4._x = 187.5;
row.t4._y = 0;
row.t4._xscale = shiftX * 1000;
}
if (deltaX != 0) {
row.attachMovie(tileset + Math.abs(deltaX), "t5", 5);
row.t5._x = (shiftX * 10) + 187.5;
row.t5._y = ((0 < deltaX) ? 0 : (rowHeight));
row.t5._yscale = ((0 < deltaX) ? 100 : -100);
}
var curX = level[(currentRow * 4) + 1];
var prevX = level[(prevRow * 4) + 1];
var deltaX = (curX - prevX);
var shiftX = ((curX >= prevX) ? (prevX) : (curX));
if (shiftX != 0) {
row.attachMovie(tileset + 0, "t6", 6);
row.t6._x = 187.5;
row.t6._y = 0;
row.t6._xscale = shiftX * -1000;
}
if (deltaX != 0) {
row.attachMovie(tileset + Math.abs(deltaX), "t7", 7);
row.t7._x = 187.5 - (shiftX * 10);
row.t7._y = ((0 < deltaX) ? 0 : (rowHeight));
row.t7._yscale = ((0 < deltaX) ? 100 : -100);
row.t7._xscale = -100;
}
while ((Math.round(levelStatics[staticsIndex].y / 25) == prevRow) && (staticsIndex < levelStatics.length)) {
MakeStaticActor(-187.5 + levelStatics[staticsIndex].x, ((row._y + 25) - currentMovementSpeed) - (levelStatics[staticsIndex].y % 25), levelStatics[staticsIndex]);
staticsIndex++;
}
while ((Math.round(levelActors[actorsIndex].y / 25) == prevRow) && (actorsIndex < levelActors.length)) {
MakeActor(-187.5 + levelActors[actorsIndex].x, ((row._y + 25) - currentMovementSpeed) - (levelActors[actorsIndex].y % 25), levelActors[actorsIndex]);
actorsIndex++;
}
prevRow = currentRow;
currentRow++;
if (currentRow == (levelSize - 1)) {
newlevel._visible = true;
}
if (currentRow >= levelSize) {
currentRow = 1;
prevLevel = currentLevel;
currentLevel++;
if (isDemo) {
demInit = true;
return(undefined);
}
if (levelsNum < currentLevel) {
currentLevel = 0;
}
bar.bridge = currentLevel;
GenLevel(currentLevel);
GenStatics(currentLevel);
GenActors(currentLevel);
newlevel._visible = false;
prevRow = 0;
}
}
function OnFrame() {
if (isSuspend) {
return(undefined);
}
if (demInit == true) {
Init(true);
return(undefined);
}
frame++;
if (isDemo) {
DemoProc();
} else {
KeyProc();
}
var i = 0;
while (i < rowsNum) {
rows[i]._y = rows[i]._y + currentMovementSpeed;
if (187.5 < rows[i]._y) {
rows[i]._y = rows[i]._y - (rowHeight * rowsNum);
Linotype(rows[i]);
}
i++;
}
if (player._visible) {
PlayerAi(player);
} else if (isPlayerDead) {
playerCounter++;
if (playerCounter >= deathPause) {
if (_root.isLevelIncomplete) {
NewGame(currentLevel - 1);
} else {
NewGame(currentLevel);
}
}
}
bar.fuel._xscale = bar.fuel._xscale - fuelDecrease;
if (fuelBlinkLevel < bar.fuel._xscale) {
bar.fuel.gotoAndPlay(1);
}
if (fuelBlinkLevel >= bar.fuel._xscale) {
bar.fuel.gotoAndPlay(2);
}
if (bar.fuel._xscale < 0) {
bar.fuel._xscale = 0;
}
if ((bar.fuel._xscale == 0) && (!isPlayerDead)) {
KillPlayer();
}
}
function KeyProc() {
i = 0;
while (i < keyQueue.length) {
HandleKey(keyQueue[i]);
i++;
}
keyQueue.splice(0);
}
function HandleKey(Code) {
if (Code == _root.keyDownRight) {
if (!player.speed) {
player.speed = _root.playerSpeed;
player.gotoAndPlay(2);
}
}
if (Code == _root.keyDownLeft) {
if (!player.speed) {
player.speed = -_root.playerSpeed;
player.gotoAndPlay(3);
}
}
if (Code == _root.keyDownUp) {
_root.currentMovementSpeed = _root.fastMovementSpeed;
}
if (Code == _root.keyDownDown) {
_root.currentMovementSpeed = _root.slowMovementSpeed;
}
if ((Code == _root.keyDownFire) && (!_root.isBullet)) {
if (_root.isSound) {
_root.sndPlayerShoot.start();
}
_root.MakeActor(player._x - 187.5, player._y - 187.5, _root.bulletDesc);
}
if ((Code == _root.keyUpLeft) || (Code == _root.keyUpRight)) {
player.speed = 0;
player.gotoAndPlay("normal");
}
if (Code == _root.keyUpUp) {
_root.currentMovementSpeed = _root.normalMovementSpeed;
}
if (Code == _root.keyUpDown) {
_root.currentMovementSpeed = _root.normalMovementSpeed;
}
}
magicNum = 136.5;
playerStartX = 187.5;
playerStartY = 300;
normalMovementSpeed = 3;
fastMovementSpeed = 5;
slowMovementSpeed = 1;
fuelDecrease = 0.2;
fuelIncrease = 2;
bulletSpeed = 4;
badBulletSpeed = 5;
playerSpeed = 4;
tankSpeed = 2;
tankPause = 15;
planeSpeed = 6;
rowHeight = 25;
itemsNum = 3;
shipMaxSpeed = 3;
shipSpeedChangeChance = 10;
shipDirChangeChance = 60;
heliMaxSpeed = 4;
heliSpeedChangeChance = 8;
heliDirChangeChance = 50;
baloonMaxSpeed = 2;
baloonSpeedChangeChance = 5;
baloonDirChangeChance = 40;
deathPause = 24;
fuelBlinkLevel = 30;
newLifeScore = 10000;
A_HELICOPTER = 0;
A_SHIP = 1;
A_BALOON = 2;
A_PLANE = 3;
A_BADHELICOPTER = 4;
A_TANK = 5;
A_BRIDGE = 6;
A_FUEL = 7;
A_EXPLOSION = 8;
A_BULLET = 9;
A_BADBULLET = 10;
A_BADEXPLOSION = 11;
AS_BRIDGE = 0;
AS_TANK = 1;
AS_ITEM1 = 2;
AS_ITEM2 = 3;
AS_ITEM3 = 4;
scores = new Array(100, 200, 300, 400, 500, 600, 1000);
actorNames = new Array("helicopter", "ship", "baloon", "plane", "badhelicopter", "tank", "bridge", "fuel", "explosion", "bullet", "badbullet", "badexplosion");
staticActorNames = new Array("bridge", "tank", "item1", "item2", "item3");
itemWidth_s = new Array(0, 22.7, 46.4, 38, 77.5);
actorWidth = new Array(43.8, 46.1, 22.5, 33.8, 43.8, 22.7);
keyDownLeft = 37;
keyDownRight = 39;
keyDownUp = 38;
keyDownDown = 40;
keyDownFire = 32;
keyUpLeft = 137;
keyUpRight = 139;
keyUpUp = 138;
keyUpDown = 140;
keyUpFire = 132;
zone1 = new Array(6, 0, 0, 6, 5, 0, 0, 5, 4, 0, 0, 4, 4, 0, 0, 4, 5, 0, 0, 5, 7, 0, 0, 7, 7, 0, 0, 7, 5, 0, 0, 5, 5, 0, 0, 5, 5, 0, 0, 5, 6, 0, 0, 6, 5, 0, 0, 5, 4, 0, 0, 4, 4, 0, 0, 4, 4, 0, 0, 5, 5, 0, 0, 5, 5, 0, 0, 6, 7, 0, 0, 7, 8, 0, 0, 8, 8, 0, 0, 8, 7, 0, 0, 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 0, 0, 5, 12, 0, 0, 6, 11, 0, 0, 6, 10, 0, 0, 7, 10, 0, 0, 6, 10, 0, 0, 7, 10, 0, 0, 8, 10, 0, 0, 9, 8, 0, 0, 9, 7, 0, 0, 10, 8, 0, 0, 10, 7, 0, 0, 10, 7, 0, 0, 10, 7, 0, 0, 10, 7, 0, 0, 10, 6, 0, 0, 11, 7, 0, 0, 11);
zone29 = new Array(5, 0, 0, 14, 4, 0, 0, 14, 4, 0, 0, 16, 5, 0, 0, 16, 7, 0, 0, 16, 7, 0, 0, 16, 8, 0, 0, 15, 8, 0, 0, 14, 8, 0, 0, 14, 9, 0, 0, 14, 9, 0, 0, 14, 10, 0, 0, 14, 11, 0, 0, 12, 12, 0, 0, 11, 13, 0, 0, 11, 14, 0, 0, 9, 14, 0, 0, 9, 14, 0, 0, 8, 14, 0, 0, 8, 14, 0, 0, 8, 14, 0, 0, 8, 13, 0, 0, 8, 12, 0, 0, 10, 13, 0, 0, 10, 13, 0, 0, 10);
zone30 = new Array(12, 0, 0, 13, 12, 0, 0, 14, 14, 0, 0, 14, 14, 0, 0, 15, 13, 0, 0, 14, 13, 0, 0, 14, 13, 0, 0, 14, 11, 0, 0, 11, 8, 0, 0, 9, 4, 0, 0, 3, 3, 4, 2, 2, 3, 6, 4, 2, 2, 6, 5, 1, 1, 6, 5, 1, 1, 6, 5, 1, 2, 4, 3, 2, 3, 3, 2, 5, 4, 1, 2, 6, 5, 0, 0, 9, 8, 0, 0, 10, 9, 0, 0, 12, 11, 0, 0, 12, 13, 0, 0, 14, 15, 0, 0, 14, 15, 0, 0, 14);
zone31 = new Array(8, 0, 0, 11, 7, 0, 0, 12, 5, 0, 0, 14, 4, 0, 0, 15, 3, 0, 0, 15, 2, 0, 0, 15, 2, 0, 0, 13, 3, 0, 0, 9, 5, 0, 0, 6, 10, 0, 0, 5, 12, 0, 0, 4, 13, 0, 0, 4, 13, 0, 0, 3, 12, 0, 0, 3, 9, 0, 0, 4, 6, 0, 0, 6, 5, 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, 0, 7);
zone35 = new Array(5, 0, 0, 6, 4, 0, 0, 4, 4, 0, 0, 2, 4, 0, 0, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3, 1, 3, 4, 5, 0, 0, 6, 9, 0, 0, 7, 10, 0, 0, 8, 11, 0, 0, 9, 12, 0, 0, 9, 12, 0, 0, 9, 12, 0, 0, 9, 13, 0, 0, 12, 14, 0, 0, 12, 15, 0, 0, 12, 15, 0, 0, 14, 15, 0, 0, 14, 15, 0, 0, 13, 15, 0, 0, 12, 13, 0, 0, 12, 12, 0, 0, 14, 13, 0, 0, 14, 14, 0, 0, 12);
zone36 = new Array(4, 0, 0, 4, 3, 0, 0, 4, 3, 0, 0, 5, 4, 0, 0, 7, 5, 0, 0, 8, 5, 0, 0, 8, 7, 0, 0, 9, 9, 0, 0, 10, 10, 0, 0, 11, 12, 0, 0, 12, 13, 0, 0, 13, 13, 0, 0, 15, 14, 0, 0, 15, 15, 0, 0, 14, 14, 0, 0, 12, 14, 0, 0, 11, 12, 0, 0, 10, 10, 0, 0, 9, 8, 0, 0, 8, 7, 0, 0, 8, 7, 0, 0, 7, 7, 0, 0, 7, 7, 0, 0, 7, 8, 0, 0, 7, 9, 0, 0, 7);
zone37 = new Array(2, 0, 0, 12, 3, 0, 0, 11, 3, 0, 0, 10, 5, 0, 0, 9, 6, 0, 0, 7, 7, 0, 0, 6, 10, 0, 0, 5, 10, 0, 0, 4, 11, 0, 0, 4, 12, 0, 0, 5, 9, 0, 0, 9, 9, 0, 0, 10, 9, 0, 0, 9, 10, 0, 0, 9, 12, 0, 0, 12, 12, 0, 0, 12, 11, 0, 0, 11, 10, 0, 0, 10, 9, 0, 0, 9, 7, 0, 0, 7, 7, 0, 0, 7, 6, 0, 0, 6, 6, 0, 0, 6, 7, 0, 0, 7, 8, 0, 0, 8);
zone38 = new Array(6, 0, 0, 6, 6, 0, 0, 6, 7, 0, 0, 7, 7, 0, 0, 7, 8, 0, 0, 8, 9, 0, 0, 9, 10, 0, 0,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4, 1, 3, 1, 3, 3, 0, 0, 4, 3, 0, 0, 11, 4, 0, 0, 12, 5, 0, 0, 10, 5, 0, 0, 8, 4, 0, 0, 7, 4, 0, 0, 9, 5, 0, 0, 13, 6, 0, 0, 13);
zone42 = new Array(9, 0, 0, 10, 8, 0, 0, 9, 9, 0, 0, 10, 9, 0, 0, 9, 10, 0, 0, 11, 10, 0, 0, 11, 11, 0, 0, 12, 12, 0, 0, 12, 12, 0, 0, 12, 13, 0, 0, 13, 13, 0, 0, 13, 13, 0, 0, 13, 13, 0, 0, 12, 13, 0, 0, 11, 12, 0, 0, 11, 12, 0, 0, 9, 11, 0, 0, 8, 9, 1, 1, 6, 7, 1, 2, 5, 7, 1, 2, 6, 6, 0, 0, 4, 8, 0, 0, 5, 9, 0, 0, 5, 10, 0, 0, 7, 10, 0, 0, 9);
zone43 = new Array(9, 0, 0, 12, 9, 0, 0, 12, 9, 0, 0, 11, 11, 0, 0, 10, 11, 0, 0, 11, 11, 0, 0, 10, 11, 0, 0, 10, 12, 0, 0, 8, 13, 0, 0, 8, 14, 0, 0, 7, 14, 0, 0, 8, 13, 0, 0, 8, 13, 0, 0, 9, 14, 0, 0, 8, 15, 0, 0, 8, 15, 0, 0, 7, 14, 0, 0, 7, 13, 0, 0, 8, 11, 0, 0, 8, 10, 0, 0, 9, 10, 0, 0, 10, 10, 0, 0, 10, 10, 0, 0, 10, 11, 0, 0, 9, 12, 0, 0, 9);
zone44 = new Array(11, 0, 0, 9, 11, 0, 0, 10, 10, 0, 0, 10, 10, 0, 0, 12, 12, 0, 0, 12, 11, 0, 0, 12, 8, 0, 0, 13, 7, 0, 0, 13, 7, 0, 0, 13, 6, 0, 0, 12, 7, 0, 0, 12, 7, 0, 0, 9, 7, 0, 0, 8, 8, 0, 0, 9, 9, 0, 0, 11, 9, 0, 0, 12, 9, 0, 0, 12, 10, 0, 0, 14, 9, 0, 0, 14, 10, 0, 0, 13, 10, 0, 0, 12, 12, 0, 0, 11, 12, 0, 0, 11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 5, 4, 0, 0, 4, 4, 0, 0, 4, 3, 0, 0, 3, 2, 0, 0, 2, 2, 0, 0, 2, 2, 0, 0, 2, 2, 0, 0, 2, 2, 0, 0, 2, 2, 0, 0, 2, 3, 0, 0, 3, 4, 0, 0, 4, 5, 0, 0, 5, 6, 0, 0, 6, 7, 0, 0, 7, 8, 0, 0, 8, 10, 0, 0, 10, 12, 0, 0, 12, 12, 0, 0, 12, 13, 0, 0, 13, 13, 0, 0, 13, 13, 0, 0, 13);
zone59 = new Array(5, 0, 0, 5, 5, 0, 0, 5, 7, 0, 0, 7, 10, 0, 0, 10, 11, 0, 0, 11, 10, 0, 0, 10, 9, 0, 0, 9, 7, 0, 0, 7, 6, 0, 0, 6, 6, 0, 0, 6, 8, 0, 0, 8, 9, 0, 0, 9, 12, 0, 0, 12, 12, 0, 0, 12, 10, 0, 0, 10, 8, 0, 0, 8, 8, 0, 0, 8, 8, 0, 0, 8, 8, 0, 0, 8, 8, 0, 0, 8, 8, 0, 0, 8, 8, 0, 0, 8, 10, 0, 0, 10, 10, 0, 0, 10, 11, 0, 0, 11);
zone60 = new Array(5, 0, 0, 5, 4, 0, 0, 4, 4, 0, 0, 4, 4, 0, 0, 4, 4, 0, 0, 4, 6, 0, 0, 6, 7, 0, 0, 7, 8, 0, 0, 8, 9, 0, 0, 9, 9, 0, 0, 9, 9, 0, 0, 9, 10, 0, 0, 10, 11, 0, 0, 11, 11, 0, 0, 11, 12, 0, 0, 12, 12, 0, 0, 12, 12, 0, 0, 12, 12, 0, 0, 12, 9, 0, 0, 9, 7, 0, 0, 7, 8, 0, 0, 8, 7, 0, 0, 7, 6, 0, 0, 6, 6, 0, 0, 6, 5, 0, 0, 5);
levelSize = 104;
levelsNum = 42;
levelRecordSize = 17;
levels = new Array(1, 2, 3, 4, 10, "s", "s", 1, 1, 1, 7, 9, 0, 0, 0, 0, 8, 5, 6, 7, 8, 10, "s", "s", 3, 3, 3, 8, 6, 0, 0, 0, 0, 8, 9, 10, 11, 12, 10, "s", "s", 4, 3, 3, 5, 12, 1, 0, 0, 1, 8, 13, 14, 15, 16, 20, "s", "s", 1, 6, 4, 15, 8, 0, 0, 1, 0, 7, 17, 18, 19, 20, 20, "s", "s", 3, 7, 5, 13, 15, 1, 1, 0, 0, 7, 21, 22, 23, 24, 20, "s", "s", 6, 7, 7, 7, 20, 1, 0, 0, 0, 7, 25, 26, 27, 28, 20, "s", "s", 7, 5, 7, 17, 9, 2, 2, 1, 0, 7, 29, 30, 31, 32, 5, "s", "s", 4, 3, 8, 18, 9, 3, 3, 3, 1, 7, 33, 34, 35, 36, 5, "s", "s", 6, 4, 99, 18, 6, 4, 1, 6, 0, 6, 37, 38, 39, 40, 5, "s", "s", 4, 9, 10, 13, 7, 4, 1, 7, 3, 6, 41, 42, 43, 44, 30, "s", "s", 9, 7, 11, 3, 7, 6, 1, 11, 1, 6, 45, 46, 47, 48, 30, "s", "s", 8, 5, 12, 3, 7, 6, 1, 14, 4, 6, 49, 50, 23, 37, 30, "s", "s", 6, 7, 13, 5, 7, 6, 5, 17, 5, 5, 43, 19, 29, 12, 30, "s", "s", 8, 3, 14, 6, 17, 3, 16, 5, 5, 5, 47, 4, 8, 14, 30, "s", "s", 7, 1, 15, 7, 13, 3, 16, 8, 3, 5, 6, 1, 26, 21, 30, "s", "s", 4, 3, 16, 7, 13, 15, 7, 9, 6, 4, 7, 15, 11, 34, 30, "s", "s", 5, 7, 17, 17, 12, 5, 7, 9, 3, 4, 32, 3, 16, 24, 30, "s", "s", 7, 5, 18, 17, 13, 15, 7, 9, 7, 4, 5, 10, 39, 2, 30, "s", "s", 6, 9, 29, 8, 13, 3, 8, 9, 4, 4, 9, 36, 30, 45, 30, "s", "s", 7, 1, 20, 19, 8, 13, 8, 15, 8, 7, 13, 17, 25, 35, 30, "s", "s", 3, 60, 21, 3, 18, 4, 8, 15, 6, 3, 20, 38, 44, 46, 30, "s", "s", 2, 70, 22, 13, 8, 14, 8, 15, 6, 3, 18, 42, 40, 22, 30, "s", "s", 1, 40, 23, 5, 12, 5, 8, 17, 8, 2, 33, 31, 48, 27, 30, "s", "s", 1, 6, 24, 15, 4, 11, 9, 19, 7, 4, 28, 49, 41, 50, 30, "s", "s", 4, 77, 25, 13, 18, 8, 5, 18, 10, 2, 51, 52, 53, 54, 10, "s", "s", 1, 5, 1, 7, 20, 13, 15, 5, 11, 1, 55, 56, 57, 58, 50, "s", "s", 2, 6, 1, 8, 18, 11, 15, 10, 15, 2, 59, 60, 1, 2, 10, "s", "s", 3, 12, 1, 9, 15, 7, 11, 15, 7, 1, 3, 4, 5, 6, 20, "s", "s", 4, 32, 1, 11, 12, 5, 18, 25, 8, 1, 7, 8, 9, 10, 40, "s", "s", 5, 34, 1, 12, 19, 4, 12, 15, 9, 2, 11, 12, 13, 14, 30, "s", "s", 6, 45, 3, 17, 23, 3, 19, 10, 12, 3, 15, 16, 17, 18, 30, "s", "s", 7, 34, 51, 21, 7, 2, 17, 15, 15, 1, 19, 20, 21, 22, 30, "s", "s", 8, 34, 6, 26, 9, 1, 14, 7, 13, 2, 23, 24, 25, 26, 30, "s", "s", 9, 3, 4, 29, 4, 0, 4, 17, 18, 1, 27, 28, 29, 30, 30, "s", "s", 0, 5, 8, 31, 17, 1, 8, 20, 12, 0, 31, 32, 33, 34, 25, "s", "s", 1, 78, 8, 11, 19, 5, 10, 24, 12, 2, 35, 36, 37, 38, 30, "s", "s", 2, 5, 3, 21, 20, 10, 0, 11, 17, 1, 39, 40, 41, 42, 10, "s", "s", 3, 7, 1, 23, 23, 15, 0, 5, 9, 2, 43, 44, 45, 46, 6, "s", "s", 4, 7, 4, 17, 28, 20, 5, 19, 3, 1, 47, 48, 49, 50, 30, "s", "s", 5, 6, 7, 18, 9, 30, 9, 16, 4, 2, 51, 52, 53, 54, 18, "s", "s", 6, 45, 4, 21, 12, 5, 20, 2, 16, 4, 55, 56, 57, 58, 37, "s", "s", 7, 6, 9, 28, 17, 6, 11, 3, 17, 5, 55, 56, 57, 58, 37, "s", "s", 7, 6, 9, 0, 0, 0, 0, 0, 0, 0);
RandomSeed(1);
demoSeq = new Array(16, 37, 19, 137, 20, 32, 22, 132, 35, 39, 38, 39, 38, 39, 39, 39, 39, 39, 39, 39, 40, 39, 40, 39, 41, 39, 41, 39, 42, 39, 42, 39, 43, 39, 43, 39, 44, 39, 44, 39, 45, 39, 45, 39, 46, 39, 46, 139, 51, 37, 54, 137, 55, 32, 56, 132, 72, 39, 75, 39, 76, 39, 76, 39, 76, 39, 77, 139, 82, 39, 84, 139, 85, 32, 86, 132, 93, 39, 95, 139, 114, 38, 116, 38, 117, 38, 117, 38, 118, 38, 118, 38, 119, 38, 119, 38, 120, 138, 135, 39, 137, 139, 140, 39, 143, 139, 144, 32, 145, 132, 153, 37, 156, 37, 156, 37, 156, 37, 157, 37, 157, 37, 158, 37, 158, 37, 159, 37, 159, 37, 160, 37, 160, 37, 161, 37, 161, 37, 162, 37, 162, 37, 162, 37, 163, 37, 163, 137, 176, 39, 179, 39, 179, 39, 179, 39, 180, 39, 180, 39, 181, 39, 181, 139, 196, 32, 198, 132, 228, 37, 231, 37, 232, 37, 232, 37, 232, 37, 233, 37, 233, 37, 234, 37, 234, 37, 235, 37, 235, 37, 236, 37, 236, 37, 237, 37, 237, 37, 237, 37, 238, 37, 238, 37, 239, 37, 239, 37, 240, 32, 240, 137, 241, 132, 247, 39, 250, 39, 251, 39, 251, 39, 252, 39, 252, 39, 253, 39, 253, 39, 254, 39, 254, 39, 254, 39, 255, 139, 265, 39, 266, 139, 293, 37, 296, 37, 296, 37, 297, 37, 297, 37, 298, 37, 298, 37, 298, 37, 299, 37, 299, 37, 300, 37, 300, 37, 301, 37, 301, 37, 302, 37, 302, 37, 303, 37, 303, 37, 303, 37, 304, 37, 304, 37, 305, 37, 305, 37, 306, 37, 306, 37, 307, 37, 307, 37, 308, 37, 308, 37, 308, 37, 309, 37, 309, 37, 310, 37, 310, 37, 311, 37, 311, 37, 312, 37, 312, 37, 312, 137, 313, 32, 315, 132, 321, 32, 322, 132, 329, 37, 332, 37, 333, 37, 333, 37, 333, 137, 334, 32, 335, 132, 340, 39, 343, 39, 343, 39, 344, 39, 344, 39, 345, 39, 345, 39, 346, 39, 346, 39, 346, 139, 347, 32, 348, 132, 354, 39, 357, 39, 357, 39, 358, 39, 358, 39, 359, 139, 363, 37, 365, 137, 368, 37, 371, 37, 372, 137, 383, 37, 386, 37, 386, 37, 387, 37, 387, 32, 388, 137, 389, 132, 398, 37, 401, 137, 403, 38, 406, 38, 406, 38, 407, 38, 407, 38, 408, 138, 437, 39, 439, 39, 440, 39, 440, 39, 441, 39, 441, 39, 442, 39, 442, 39, 443, 39, 443, 39, 444, 39, 444, 39, 444, 39, 445, 39, 445, 39, 446, 39, 446, 39, 447, 39, 447, 39, 448, 39, 448, 39, 449, 39, 449, 39, 450, 39, 450, 39, 450, 39, 451, 39, 451, 39, 452, 39, 452, 39, 453, 39, 453, 139, 460, 37, 462, 137, 493, 32, 495, 132);
lod = 1;
isSound = true;
if (!isInit) {
isInit = true;
Init(true);
} else {
play();
}
Instance of Symbol 85 MovieClip [eplayer] "player" in Frame 1
onClipEvent (keyDown) {
if (_root.isDemo) {
return(undefined);
}
if (_root.isPlayerDead) {
return(undefined);
}
if (_root.isNewGameSuspend) {
_root.isSuspend = false;
_root.isNewGameSuspend = false;
_root.pause._visible = false;
}
_root.keyQueue.push(Key.getCode());
}
onClipEvent (keyUp) {
if (_root.isDemo) {
return(undefined);
}
if (_root.isPlayerDead) {
return(undefined);
}
_root.keyQueue.push(Key.getCode() + 100);
}
Instance of Symbol 156 MovieClip "pause" in Frame 1
onClipEvent (keyDown) {
if (Key.getCode() != 80) {
return(undefined);
}
if (!_root.isSuspend) {
_root.isSuspend = true;
_root.pause._visible = true;
} else if (_root.pause._visible) {
if (!_root.isPauseLock) {
_root.isSuspend = false;
_root.pause._visible = false;
_root.keyQueue.splice(0);
}
}
}
Instance of Symbol 198 MovieClip "gameover" in Frame 1
onClipEvent (keyDown) {
if (!_visible) {
return(undefined);
}
if (_root.isSound) {
_root.sndClick.start();
}
_root.Init();
}
Frame 2
OnFrame();
Frame 3
gotoAndPlay (2);
Symbol 43 MovieClip [eplayer] Frame 1
stop();
Symbol 43 MovieClip [eplayer] Frame 2
stop();
Symbol 43 MovieClip [eplayer] Frame 3
stop();
Symbol 45 MovieClip [etankbullet] Frame 1
_root.StaticAi(this);
Symbol 45 MovieClip [etankbullet] Frame 2
gotoAndPlay (1);
Symbol 47 MovieClip [ebadbullet] Frame 1
_root.StaticAi(this);
Symbol 47 MovieClip [ebadbullet] Frame 2
gotoAndPlay (1);
Symbol 48 MovieClip [ebullet] Frame 1
_root.BulletAi(this);
Symbol 48 MovieClip [ebullet] Frame 2
_root.BulletAi(this);
gotoAndPlay (1);
Symbol 50 MovieClip [sitem3] Frame 1
_root.StaticAi(this);
Symbol 50 MovieClip [sitem3] Frame 2
gotoAndPlay (1);
Symbol 52 MovieClip [sitem2] Frame 1
_root.StaticAi(this);
Symbol 52 MovieClip [sitem2] Frame 2
gotoAndPlay (1);
Symbol 54 MovieClip [sitem1] Frame 1
_root.StaticAi(this);
Symbol 54 MovieClip [sitem1] Frame 2
gotoAndPlay (1);
Symbol 56 MovieClip [ebridge] Frame 1
_root.StaticAi(this);
Symbol 56 MovieClip [ebridge] Frame 2
gotoAndPlay (1);
Symbol 60 MovieClip [sbridge] Frame 1
_root.StaticAi(this);
Symbol 60 MovieClip [sbridge] Frame 2
gotoAndPlay (1);
Symbol 62 MovieClip [eplane] Frame 1
_root.PlaneAi(this);
Symbol 62 MovieClip [eplane] Frame 2
gotoAndPlay (1);
Symbol 65 MovieClip [ebadhelicopter] Frame 1
_root.BadHelicopterAi(this);
Symbol 65 MovieClip [ebadhelicopter] Frame 2
_root.BadHelicopterAi(this);
Symbol 65 MovieClip [ebadhelicopter] Frame 3
gotoAndPlay (1);
Symbol 68 MovieClip [ehelicopter] Frame 1
_root.HelicopterAi(this);
Symbol 68 MovieClip [ehelicopter] Frame 2
_root.HelicopterAi(this);
Symbol 68 MovieClip [ehelicopter] Frame 3
gotoAndPlay (1);
Symbol 70 MovieClip [eship] Frame 1
_root.ShipAi(this);
Symbol 70 MovieClip [eship] Frame 2
gotoAndPlay (1);
Symbol 72 MovieClip [etank] Frame 1
_root.TankAi(this);
Symbol 72 MovieClip [etank] Frame 2
gotoAndPlay (1);
Symbol 73 MovieClip [stank] Frame 1
_root.TankAi(this);
Symbol 73 MovieClip [stank] Frame 2
gotoAndPlay (1);
Symbol 78 MovieClip [efuel] Frame 1
_root.StaticAi(this);
Symbol 78 MovieClip [efuel] Frame 2
_root.StaticAi(this);
Symbol 78 MovieClip [efuel] Frame 3
_root.StaticAi(this);
Symbol 78 MovieClip [efuel] Frame 4
_root.StaticAi(this);
Symbol 78 MovieClip [efuel] Frame 5
_root.StaticAi(this);
Symbol 78 MovieClip [efuel] Frame 6
_root.StaticAi(this);
Symbol 78 MovieClip [efuel] Frame 7
_root.StaticAi(this);
Symbol 78 MovieClip [efuel] Frame 8
_root.StaticAi(this);
Symbol 78 MovieClip [efuel] Frame 9
gotoAndPlay (1);
Symbol 80 MovieClip [ebaloon] Frame 1
_root.BaloonAi(this);
Symbol 80 MovieClip [ebaloon] Frame 2
gotoAndPlay (1);
Symbol 82 MovieClip [ebadexplosion] Frame 1
_root.ExplosionAi(this);
Symbol 82 MovieClip [ebadexplosion] Frame 2
_root.ExplosionAi(this);
Symbol 82 MovieClip [ebadexplosion] Frame 3
_root.ExplosionAi(this);
Symbol 82 MovieClip [ebadexplosion] Frame 4
_root.ExplosionAi(this);
Symbol 82 MovieClip [ebadexplosion] Frame 5
_root.ExplosionAi(this);
Symbol 82 MovieClip [ebadexplosion] Frame 6
_root.ExplosionAi(this);
Symbol 82 MovieClip [ebadexplosion] Frame 7
_root.ExplosionAi(this);
Symbol 82 MovieClip [ebadexplosion] Frame 8
_root.ExplosionAi(this);
Symbol 82 MovieClip [ebadexplosion] Frame 9
_root.ExplosionAi(this);
this.removeMovieClip();
Symbol 84 MovieClip [eexplosion] Frame 1
_root.ExplosionAi(this);
Symbol 84 MovieClip [eexplosion] Frame 2
_root.ExplosionAi(this);
Symbol 84 MovieClip [eexplosion] Frame 3
_root.ExplosionAi(this);
Symbol 84 MovieClip [eexplosion] Frame 4
_root.ExplosionAi(this);
Symbol 84 MovieClip [eexplosion] Frame 5
_root.ExplosionAi(this);
Symbol 84 MovieClip [eexplosion] Frame 6
_root.ExplosionAi(this);
Symbol 84 MovieClip [eexplosion] Frame 7
_root.ExplosionAi(this);
Symbol 84 MovieClip [eexplosion] Frame 8
_root.ExplosionAi(this);
Symbol 84 MovieClip [eexplosion] Frame 9
_root.ExplosionAi(this);
this.removeMovieClip();
Symbol 85 MovieClip [eplayer] Frame 1
stop();
Symbol 85 MovieClip [eplayer] Frame 2
stop();
Symbol 85 MovieClip [eplayer] Frame 3
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
stop();
Symbol 110 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (_root.isSuspend && (!_root.pause._visible)) {
return(undefined);
}
if (_root.isPauseLock) {
return(undefined);
}
if (_root.pause._visible) {
_root.isPauseLock = true;
}
_root.isSuspend = true;
_root.help._visible = true;
}
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 5
stop();
Symbol 124 MovieClip Frame 8
gotoAndStop (1);
Symbol 124 MovieClip Frame 12
gotoAndStop (1);
Symbol 126 Button
on (rollOver) {
knop1.gotoAndPlay(2);
}
on (rollOut) {
knop1.gotoAndPlay(6);
}
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (_root.isSuspend && (!_root.pause._visible)) {
return(undefined);
}
if (_root.isPauseLock) {
return(undefined);
}
if (_root.pause._visible) {
_root.isPauseLock = true;
}
_root.isSuspend = true;
_root.newgam._visible = true;
}
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 5
stop();
Symbol 133 Button
on (rollOver) {
knop2.gotoAndPlay(2);
}
on (rollOut) {
knop2.gotoAndPlay(6);
}
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (!_root.isSuspend) {
_root.pause._visible = true;
}
_root.isSuspend = true;
_root.MoreGames();
}
Symbol 134 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (_root.isSuspend && (!_root.pause._visible)) {
return(undefined);
}
if (_root.isPauseLock) {
return(undefined);
}
_root.isSuspend = true;
_root.options._visible = true;
_root.oldLod = _root.lod;
if (_root.pause._visible) {
_root.isPauseLock = true;
}
_root.options.radio.gotoAndStop(_root.lod + 1);
}
Symbol 136 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (_root.isPlayerDead) {
return(undefined);
}
if (_root.isSuspend) {
if (!_root.pause._visible) {
return(undefined);
}
if (!_root.isPauseLock) {
_root.isSuspend = false;
_root.pause._visible = false;
_root.isNewGameSuspend = false;
_root.keyQueue.splice(0);
return(undefined);
}
}
_root.isSuspend = true;
_root.pause._visible = true;
}
Symbol 140 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (_root.isSuspend && (!_root.pause._visible)) {
return(undefined);
}
if (_root.isPauseLock) {
return(undefined);
}
_root.newdem._visible = true;
_root.isSuspend = true;
if (_root.pause._visible) {
_root.isPauseLock = true;
}
}
Symbol 150 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (!_root.isSuspend) {
_root.pause._visible = true;
}
_root.isSuspend = true;
_root.MoreGames();
}
Symbol 153 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (_root.isPauseLock) {
return(undefined);
}
_root.isSuspend = false;
_root.isNewGameSuspend = false;
_root.pause._visible = false;
}
Symbol 163 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
_root.Init(false);
}
Symbol 165 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (!_root.pause._visible) {
_root.isSuspend = false;
}
_root.newgam._visible = false;
if (_root.pause._visible) {
_root.isPauseLock = false;
}
}
Symbol 169 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
_root.Init(true);
}
Symbol 170 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (!_root.pause._visible) {
_root.isSuspend = false;
}
_root.newdem._visible = false;
if (_root.pause._visible) {
_root.isPauseLock = false;
}
}
Symbol 174 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (!_root.pause._visible) {
_root.isSuspend = false;
}
_root.help._visible = false;
if (_root.pause._visible) {
_root.isPauseLock = false;
}
}
Symbol 177 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
if (!_root.pause._visible) {
_root.isSuspend = false;
}
_root.options._visible = false;
if (_root.oldLod != _root.lod) {
_root.isSuspend = true;
_root.newgam._visible = true;
}
if (_root.pause._visible) {
_root.isPauseLock = false;
}
}
Symbol 185 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
_root.lod = 0;
gotoAndStop (1);
}
Symbol 186 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
_root.lod = 1;
gotoAndStop (2);
}
Symbol 187 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
_root.lod = 2;
gotoAndStop (3);
}
Symbol 188 MovieClip Frame 1
stop();
Symbol 191 Button
on (release) {
_root.sndClick.start();
gotoAndStop (2);
_root.isSound = false;
Set("/:check", "\"off\"");
}
Symbol 192 Button
on (release) {
_root.sndClick.start();
gotoAndStop (1);
_root.isSound = true;
Set("/:check", "\"on\"");
}
Symbol 193 MovieClip Frame 1
stop();
Symbol 202 Button
on (release) {
if (_root.isSound) {
_root.soundClick.start();
}
_root.Init();
}
Symbol 206 Button
on (release) {
if (_root.isSound) {
_root.sndClick.start();
}
_root.Init(false);
}