[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Frame 1 (15 B)
Highscore = 0;
Frame 8 (550 B)
LoadAd = new LoadVars();
LoadAd.serial = random(10000);
LoadAd.game_id = 2;
LoadAd.sendAndLoad("http://www.gameahead.com/com_get_ingamead.php", LoadAd, "POST");
LoadAd.onLoad = function (success4) {
var _local1 = _root;
if (success4) {
sponsorURL = LoadAd.url;
ReklamURL = LoadAd.banner;
_local1.tracker.text = (("GO " + ReklamURL) + " ; ") + sponsorURL;
loadMovie (ReklamURL, _local1.Bannermodul);
gotoAndPlay (9);
} else {
_local1.tracker.text = "NOGO" + LoadAd;
sponsorURL = "";
gotoAndPlay (9);
}
};
stop();
Instance of Symbol 2 MovieClip "Bannermodul" in Frame 8 (62 B)
on (release) {
getURL (_root.sponsorURL, "_blank", "POST");
}
Frame 20 (131 B)
if ((_framesloaded >= _totalframes) && (_root.pretext._currentframe >= 80)) {
} else {
gotoAndPlay ("loader");
}
Frame 40 (19 B)
gotoAndPlay ("1");
Frame 41 (779 B)
if ((playmusic != 1) && (playmusic != 2)) {
playmusic = 1;
}
if (niv\u00E5 != 1) {
Set("niv\u00E5", 1);
Set("niv\u00E5sk\u00F6ld", 0);
Set("niv\u00E5skottstyrka", 3);
Set("niv\u00E5targetskott", 0);
Set("niv\u00E5targetsk\u00F6ld", 0);
Set("niv\u00E5targetspeedreload", 0);
Set("niv\u00E5targetfirespeed", -2);
Set("niv\u00E5highscore1", 0);
Set("niv\u00E5bonus", 1);
}
if (playmusic == 1) {
if (inmeny != 1) {
blopp = new Sound();
blopp.attachSound("Blipp");
klock = new Sound();
klock.attachSound("Klick2");
Highsound = new Sound();
Highsound.attachSound("Highsound");
musicmeny = new Sound();
musicmeny.attachSound("Menu");
musicmeny.setVolume(100);
_root.musicmeny.start(0, 999);
inmeny = 1;
}
}
stop();
Frame 42 (8 B)
stop();
Frame 43 (8 B)
stop();
Frame 44 (18 B)
gotoAndPlay (41);
Frame 45 (809 B)
LoadUser = new LoadVars();
LoadUser.load("http://www.gameahead.com/com_initialize.php");
LoadUser.onLoad = function (success2) {
var _local1 = _root;
if (success2) {
_local1.ID.Text = LoadUser.status;
if (LoadUser.status == 1) {
_local1.Logged = true;
userid = LoadUser.user_id;
username = LoadUser.username;
credits = LoadUser.credits;
ticket = LoadUser.ticket;
_local1.attachMovie("Fade", fade, 10000);
_local1.musicmeny.stop();
_local1.inmeny = 0;
_local1.ID.Text = (((((("UserID:" + userid) + " UserName:") + username) + " Credits:") + credits) + " Ticket:") + ticket;
gotoAndPlay ("start");
} else {
_local1.Logged = false;
gotoAndStop ("notLogged");
}
} else {
_local1.Logged = false;
gotoAndStop ("notLogged");
}
};
stop();
Frame 46 (18 B)
gotoAndPlay (41);
Frame 47 (8 B)
stop();
Frame 48 (18 B)
gotoAndPlay (41);
Frame 50 (7.67 KiB) ● ●
antalmonster = 8;
antalskott = 11;
Megatronuppe = 100;
Megatronnere = 350;
targetareauppe = 180;
targetareamitten = 250;
targetareanere = 320;
friction = 0.91;
Speed = 1.2;
dead = false;
highscore = 0;
Shield = 100 + niv\u00E5sk\u00F6ld;
energy = 100 + niv\u00E5sk\u00F6ld;
var Tarenergy = new Array();
var Tarenergyfull = new Array();
Tarenergyfull[1] = 125 + niv\u00E5targetsk\u00F6ld;
Tarenergyfull[2] = 125 + niv\u00E5targetsk\u00F6ld;
Tarenergyfull[3] = 250 + (niv\u00E5targetsk\u00F6ld * 2);
Tarenergyfull[4] = 260 + (niv\u00E5targetsk\u00F6ld * 2);
Tarenergyfull[5] = 440 + (niv\u00E5targetsk\u00F6ld * 3);
Tarenergyfull[6] = 460 + (niv\u00E5targetsk\u00F6ld * 3);
Tarenergyfull[7] = 340 + (niv\u00E5targetsk\u00F6ld * 4);
Tarenergyfull[8] = 150 + niv\u00E5targetsk\u00F6ld;
Tenergy.text = Tarenergy[3];
Set("h\u00F6jdmegatron", megatron._height);
breddmegatron = megatron._width;
var Tarscore = new Array();
Tarscore[1] = 1;
Tarscore[2] = 1;
Tarscore[3] = 2;
Tarscore[4] = 2;
Tarscore[5] = 3;
Tarscore[6] = 3;
Tarscore[7] = 5;
Tarscore[8] = 1;
var TargetLive = new Array();
TargetLive[1] = 0;
TargetLive[2] = 0;
TargetLive[3] = 0;
TargetLive[4] = 0;
TargetLive[5] = 0;
TargetLive[6] = 0;
TargetLive[7] = 0;
TargetLive[8] = 0;
var TargetSpeed = new Array();
TargetSpeed[1] = 3.1;
TargetSpeed[2] = 3.1;
TargetSpeed[3] = 2.7;
TargetSpeed[4] = 2.7;
TargetSpeed[5] = 2.5;
TargetSpeed[6] = 2.5;
TargetSpeed[7] = 6;
TargetSpeed[8] = 2.5;
var TargetShoot = new Array();
TargetShoot[1] = 8 + niv\u00E5targetskott;
TargetShoot[2] = 8 + niv\u00E5targetskott;
TargetShoot[3] = 13 + niv\u00E5targetskott;
TargetShoot[4] = 13 + niv\u00E5targetskott;
TargetShoot[5] = 24 + niv\u00E5targetskott;
TargetShoot[6] = 24 + niv\u00E5targetskott;
TargetShoot[7] = 14 + niv\u00E5targetskott;
TargetShoot[8] = 9 + niv\u00E5targetskott;
var TargetShootSpeed = new Array();
TargetShootSpeed[1] = 24 + niv\u00E5targetfirespeed;
TargetShootSpeed[2] = 24 + niv\u00E5targetfirespeed;
TargetShootSpeed[3] = 26 + niv\u00E5targetfirespeed;
TargetShootSpeed[4] = 26 + niv\u00E5targetfirespeed;
TargetShootSpeed[5] = 30 + niv\u00E5targetfirespeed;
TargetShootSpeed[6] = 30 + niv\u00E5targetfirespeed;
TargetShootSpeed[7] = 38 + niv\u00E5targetfirespeed;
TargetShootSpeed[8] = 26 + niv\u00E5targetfirespeed;
var Targetreloadtime = new Array();
Targetreloadtime[1] = 35 + niv\u00E5targetspeedreload;
Targetreloadtime[2] = 32 + niv\u00E5targetspeedreload;
Targetreloadtime[3] = 48 + niv\u00E5targetspeedreload;
Targetreloadtime[4] = 52 + niv\u00E5targetspeedreload;
Targetreloadtime[5] = 58 + niv\u00E5targetspeedreload;
Targetreloadtime[6] = 62 + niv\u00E5targetspeedreload;
Targetreloadtime[7] = 17 + niv\u00E5targetspeedreload;
Targetreloadtime[8] = 30 + niv\u00E5targetspeedreload;
var Targetreloading = new Array();
Targetreloading[1] = 0;
Targetreloading[2] = 0;
Targetreloading[3] = 0;
Targetreloading[4] = 0;
Targetreloading[5] = 0;
Targetreloading[6] = 0;
Targetreloading[7] = 0;
Targetreloading[8] = 0;
var skottskjut = new Array();
skottskjut[1] = 0;
skottskjut[2] = 0;
skottskjut[3] = 0;
skottskjut[4] = 0;
skottskjut[5] = 0;
skottskjut[6] = 0;
skottskjut[7] = 0;
skottskjut[8] = 0;
skottskjut[9] = 0;
skottskjut[10] = 0;
skottskjut[11] = 0;
var Targetxdest = new Array();
var Targetydest = new Array();
var Targetxvinkel = new Array();
var Targetyvinkel = new Array();
movex = 0;
movey = 0;
xarm = arm._x;
yarm = arm._y;
megatronreloading = 5;
megatronreload = 0;
firestrength = 11 + niv\u00E5skottstyrka;
firespeed = 20;
speed = 2.3;
speedminus = 0;
var vinkelskottx = new Array();
var vinkelskotty = new Array();
mustryck = 0;
someListener = new Object();
someListener.onMouseDown = function () {
Mustryck = 1;
};
Mouse.addListener(someListener);
_root.movebackground = 0;
_root.thebackground = 0;
_root.movefront = 0;
_root.thefront = 0;
kills = 0;
NumberToKill = 0;
spelpekare = 0;
gameover = false;
Set("Spelg\u00E5ng", new Array());
Set("Spelg\u00E5ng", ["Level", "1", "SAttack", "1", "EAttack", "bytbakgrund", "SAttack", "1", "2", "EAttack", "SAttack", "1", "EAttack", "bytbakgrund", "SAttack", "1", "2", "8", "EAttack", "bytbakgrund", "SAttack", "1", "4", "EAttack", "SAttack", "3", "8", "EAttack", "bytbakgrund", "SAttack", "3", "2", "8", "EAttack", "bytbakgrund", "SAttack", "3", "2", "7", "EAttack", "bytbakgrund", "EndLevel", "Level", "2", "SAttack", "1", "2", "EAttack", "bytbakgrund", "SAttack", "1", "4", "EAttack", "SAttack", "1", "8", "EAttack", "bytbakgrund", "SAttack", "3", "2", "8", "EAttack", "SAttack", "3", "4", "EAttack", "bytbakgrund", "SAttack", "3", "4", "8", "EAttack", "SAttack", "1", "8", "EAttack", "bytbakgrund", "SAttack", "3", "6", "8", "EAttack", "SAttack", "3", "8", "EAttack", "bytbakgrund", "SAttack", "3", "4", "7", "8", "EAttack", "bytbakgrund", "EndLevel", "Level", "3", "SAttack", "3", "2", "EAttack", "bytbakgrund", "SAttack", "3", "4", "EAttack", "SAttack", "3", "8", "EAttack", "bytbakgrund", "SAttack", "5", "2", "8", "EAttack", "SAttack", "3", "4", "EAttack", "bytbakgrund", "SAttack", "3", "6", "8", "EAttack", "SAttack", "5", "8", "EAttack", "bytbakgrund", "SAttack", "3", "6", "8", "EAttack", "SAttack", "3", "EAttack", "bytbakgrund", "SAttack", "5", "4", "7", "8", "EAttack", "bytbakgrund", "EndLevel", "Level", "4", "SAttack", "3", "4", "EAttack", "bytbakgrund", "SAttack", "3", "4", "8", "EAttack", "bytbakgrund", "SAttack", "5", "4", "8", "EAttack", "SAttack", "3", "4", "7", "EAttack", "bytbakgrund", "SAttack", "3", "6", "8", "EAttack", "SAttack", "5", "2", "8", "EAttack", "bytbakgrund", "SAttack", "3", "6", "8", "EAttack", "SAttack", "3", "8", "2", "EAttack", "bytbakgrund", "SAttack", "4", "7", "8", "EAttack", "SAttack", "5", "4", "7", "8", "EAttack", "bytbakgrund", "EndLevel", "Level", "5", "SAttack", "3", "6", "EAttack", "bytbakgrund", "SAttack", "5", "6", "8", "EAttack", "SAttack", "3", "4", "7", "EAttack", "bytbakgrund", "SAttack", "5", "4", "8", "EAttack", "SAttack", "5", "4", "7", "EAttack", "bytbakgrund", "SAttack", "3", "6", "8", "EAttack", "SAttack", "5", "2", "8", "EAttack", "bytbakgrund", "SAttack", "7", "6", "8", "EAttack", "SAttack", "3", "8", "2", "EAttack", "bytbakgrund", "SAttack", "4", "7", "8", "1", "EAttack", "SAttack", "5", "4", "7", "8", "EAttack", "SAttack", "5", "6", "7", "8", "EAttack", "bytbakgrund", "EndLevel", "Level", "6"]);
life = new Array();
life[1] = 0;
life[2] = 0;
life[3] = 0;
life[4] = 0;
Highscore = 0;
putscore = 0;
_root.score.text = Highscore;
experience = 0 + niv\u00E5exp;
Set("sk\u00F6ldkost", 6);
skottstyrkakost = 18;
skottfartkost = 14;
fartkost = 10;
ShieldUppg = 10;
firestrengthUppg = 2;
firespeedUppg = 3;
speedUppg = 0.3;
lives = 3;
firsttimelevelstart = 1;
Laser01Sound = new Sound();
Laser01Sound.attachSound("Laser03");
Laser02Sound = new Sound();
Laser02Sound.attachSound("Laser01");
Laser03Sound = new Sound();
Laser03Sound.attachSound("GameRocket02");
Laser04Sound = new Sound();
Laser04Sound.attachSound("Laser04");
Laser05Sound = new Sound();
Laser05Sound.attachSound("Laser01");
Hit01Sound = new Sound();
Hit01Sound.attachSound("Bang01");
Hit02Sound = new Sound();
Hit02Sound.attachSound("Bang02");
Pickup01Sound = new Sound();
Pickup01Sound.attachSound("Pickup01");
Boom01Sound = new Sound();
Boom01Sound.attachSound("Explosion01");
Boom02Sound = new Sound();
Boom02Sound.attachSound("Explosion02");
Boom03Sound = new Sound();
Boom03Sound.attachSound("Explosion03");
Boom04Sound = new Sound();
Boom04Sound.attachSound("Explosion04");
Set("\u00F6ken", new Sound());
\u00F6ken.attachSound("\u00F6ken");
ice = new Sound();
ice.attachSound("ice");
factory = new Sound();
factory.attachSound("factory");
upgrade = new Sound();
upgrade.attachSound("Upgrade");
Instance of Symbol 373 MovieClip "Trigger1" in Frame 50 (2.64 KiB) ●
onClipEvent (enterFrame) {
if (_root["spelg\u00E5ng"][_root.spelpekare] == "Level") {
if (_root.firsttimelevelstart == 1) {
_root.firsttimelevelstart = 0;
_root.gotoAndPlay("startText");
}
_root.startabana();
_root.firsttimelevelstart = 1;
}
if (_root.gameover == true) {
Mouse.show();
_root["\u00F6ken"].stop();
_root.ice.stop();
_root.factory.stop();
_root.gotoAndPlay("Die");
}
if (Key.isDown(27) || (Key.isDown(80))) {
_root.gotoAndPlay("Paus");
}
if (_root["spelg\u00E5ng"][_root.spelpekare] != "bytbakgrund") {
if (_root.dead == false) {
if (_root.numbertokill == _root.kills) {
_root.Targetattack();
}
_root.konstanter();
_root.knappar();
_root.mouseTryck();
_root.Targetskott();
_root.moveMegatron();
_root.moveTargets();
_root.flyttaSkott();
_root.kollition();
_root.r\u00E4knahighscore();
} else {
if (_root.numbertokill == _root.kills) {
_root.Targetattack();
}
_root.konstanter();
_root.moveTargets();
_root.flyttaSkott();
_root.r\u00E4knahighscore();
}
} else if (_root["spelg\u00E5ng"][_root.spelpekare + 1] == "EndLevel") {
if ((_root.megatron._x + (_root.breddmegatron / 2)) <= 550) {
_root.knappar();
_root.taframpil();
_root.konstanter();
_root.flyttaSkott();
_root.moveMegatron();
_root.kollition();
_root.r\u00E4knahighscore();
} else {
if (_root["spelg\u00E5ng"][_root.spelpekare + 3] == 6) {
Mouse.show();
_root.gotoAndPlay("Madeit");
}
_root.Black00._x = -20;
_root.highscore = _root.highscore + int((_root.energy * 2) * _root["niv\u00E5bonus"]);
_root.highscore = _root.highscore + int((_root.lives * 100) * _root["niv\u00E5bonus"]);
_root.highscore = _root.highscore + int(((_root["spelg\u00E5ng"][_root.spelpekare + 3] - 1) * 200) * _root["niv\u00E5bonus"]);
_root.greenbox(_root.megatron._x - 50, _root.megatron._y, int((((_root.energy * 10) + (_root.lives * 200)) + ((_root["spelg\u00E5ng"][_root.spelpekare + 3] - 1) * 200)) * _root["niv\u00E5bonus"]));
_root["\u00F6ken"].stop();
_root.ice.stop();
_root.factory.stop();
_root.upgrade.start(0, 999);
Mouse.show();
_root.gotoAndPlay("Upgrade");
}
} else if (((_root.megatron._x + (_root.breddmegatron / 2)) <= 550) && (_root.movebackground == 0)) {
_root.taframpil();
_root.konstanter();
_root.knappar();
_root.mouseTryck();
_root.Targetskott();
_root.flyttaSkott();
_root.moveMegatron();
_root.kollition();
_root.r\u00E4knahighscore();
} else {
_root.movetonextbackground();
_root.konstanter();
_root.flyttaSkott();
_root.movex = -10;
_root.moveMegatron();
_root.movex = 0;
_root.r\u00E4knahighscore();
}
}
Frame 51 (21.43 KiB) ● ● ●
function konstanter() {
var _local1 = _root;
xmouse = _local1._xmouse;
ymouse = _local1._ymouse;
_local1.Sikte0._x = xmouse;
_local1.Sikte0._y = ymouse;
xkanon = _local1.megatron._x - 10;
ykanon = _local1.megatron._y - 10;
xmegatron = megatron._x;
ymegatron = megatron._y;
}
function MoveMegatron() {
angle = Math.atan2(ykanon - ymouse, xkanon - xmouse);
_root.megatron.kanon._rotation = (angle * 57) + 180;
if (((xmegatron + (breddmegatron / 2)) < 550) && ((xmegatron - (breddmegatron / 2)) > 0)) {
megatron._x = xmegatron + movex;
} else {
if (((xmegatron + (breddmegatron / 2)) >= 550) && (movex < 0)) {
megatron._x = xmegatron + movex;
}
if (((xmegatron - (breddmegatron / 2)) <= 0) && (movex > 0)) {
megatron._x = xmegatron + movex;
}
}
if (((ymegatron + (h\u00F6jdmegatron / 2)) < Megatronnere) && ((ymegatron - (h\u00F6jdmegatron / 2)) > Megatronuppe)) {
megatron._y = ymegatron + movey;
} else {
if (((ymegatron + (h\u00F6jdmegatron / 2)) >= Megatronnere) && (movey < 0)) {
megatron._y = ymegatron + movey;
}
if (((ymegatron - (h\u00F6jdmegatron / 2)) <= Megatronuppe) && (movey > 0)) {
megatron._y = ymegatron + movey;
}
}
movex = movex * friction;
movey = movey * friction;
if ((movex < 0.5) && (movex > -0.5)) {
movex = 0;
}
if ((movey < 0.5) && (movey > -0.5)) {
movey = 0;
}
if ((((movey >= 2) || (movex >= 2)) || (movey <= -2)) || (movex <= -2)) {
walk = 1;
} else {
walk = 0;
}
}
function moveTargets() {
var _local1 = _root;
j = 1;
while (j <= antalmonster) {
Target = _local1["Target" + j];
TargetKanon = Target[("Target" + j) + "kanon"];
Enemyangle = Math.atan2(_local1.Target._y - ykanon, _local1.Target._x - xkanon);
TargetKanon._rotation = (Enemyangle * 57) + 180;
if (TargetLive[j] == 1) {
if (j != 7) {
if ((((Target._x >= (Targetxdest[j] - (targetspeed[j] * 4))) && (Target._x <= (Targetxdest[j] + (targetspeed[j] * 4)))) && (Target._y >= (Targetydest[j] - (targetspeed[j] * 4)))) && (Target._y <= (Targetydest[j] + (targetspeed[j] * 4)))) {
Targetxdest[j] = -1;
Targetydest[j] = -1;
if (((j == 1) || (j == 3)) || (j == 5)) {
while ((((targetxdest[j] <= 300) || (targetxdest[j] >= 530)) || (targetydest[j] <= targetareauppe)) || (targetydest[j] >= targetareamitten)) {
Targetxdest[j] = math.round((Target._x + (Math.random() * 200)) - 100);
Targetydest[j] = math.round((Target._y + (Math.random() * 200)) - 100);
}
}
if (((j == 2) || (j == 4)) || (j == 6)) {
while ((((targetxdest[j] <= 300) || (targetxdest[j] >= 530)) || (targetydest[j] <= targetareamitten)) || (targetydest[j] >= targetareanere)) {
Targetxdest[j] = math.round((Target._x + (Math.random() * 200)) - 100);
Targetydest[j] = math.round((Target._y + (Math.random() * 200)) - 100);
}
}
if (j == 8) {
while ((((targetxdest[j] <= 50) || (targetxdest[j] >= 100)) || (targetydest[j] <= targetareauppe)) || (targetydest[j] >= targetareanere)) {
Targetxdest[j] = math.round((Target._x + (Math.random() * 200)) - 100);
Targetydest[j] = math.round((Target._y + (Math.random() * 200)) - 100);
}
}
TargetMoveangle = Math.atan2(Target._y - Targetydest[j], Target._x - Targetxdest[j]);
Targetxvinkel[j] = (math.cos(TargetMoveangle) * -1) * targetspeed[j];
Targetyvinkel[j] = (math.sin(TargetMoveangle) * -1) * targetspeed[j];
} else {
Target._x = Target._x + Targetxvinkel[j];
Target._y = Target._y + Targetyvinkel[j];
}
}
if (j == 7) {
if ((((Target._x >= (Targetxdest[j] - (targetspeed[j] * 4))) && (Target._x <= (Targetxdest[j] + (targetspeed[j] * 4)))) && (Target._y >= (Targetydest[j] - (targetspeed[j] * 4)))) && (Target._y <= (Targetydest[j] + (targetspeed[j] * 4)))) {
Targetxvinkel[j] = 0;
Targetyvinkel[j] = 0;
} else if (Targetxvinkel[j] != 0) {
Target._x = Target._x + Targetxvinkel[j];
Target._y = Target._y + Targetyvinkel[j];
}
}
}
j++;
}
}
function knappar() {
if (Key.isDown("68") || (Key.isDown("39"))) {
movex = movex + (Speed * speedminus);
}
if (Key.isDown("65") || (Key.isDown("37"))) {
movex = movex - (Speed * speedminus);
}
if (Key.isDown("87") || (Key.isDown("38"))) {
movey = movey - (Speed * speedminus);
}
if (Key.isDown("83") || (Key.isDown("40"))) {
movey = movey + (Speed * speedminus);
}
}
function mouseTryck() {
var _local1 = _root;
if (megatronreload >= 0) {
megatronreload = megatronreload - 1;
}
if ((megatronreload <= 0) && (mustryck == 1)) {
megatronreload = megatronreloading;
skjutet = 0;
if (skottskjut[1] == 0) {
skott1._rotation = (angle * 57) + 180;
skott1._x = xkanon;
skott1._y = ykanon;
vinkelskottx[1] = (math.cos(angle) * -1) * firespeed;
vinkelskotty[1] = (math.sin(angle) * -1) * firespeed;
skottskjut[1] = 1;
skjutet = 1;
_local1.Laser01Sound.start();
}
if ((skottskjut[2] == 0) && (skjutet == 0)) {
skott2._x = xkanon;
skott2._y = ykanon;
skott2._rotation = (angle * 57) + 180;
vinkelskottx[2] = (math.cos(angle) * -1) * firespeed;
vinkelskotty[2] = (math.sin(angle) * -1) * firespeed;
skottskjut[2] = 1;
skjutet = 1;
_local1.Laser01Sound.start();
}
if ((skottskjut[3] == 0) && (skjutet == 0)) {
skott3._x = xkanon;
skott3._y = ykanon;
skott3._rotation = (angle * 57) + 180;
vinkelskottx[3] = (math.cos(angle) * -1) * firespeed;
vinkelskotty[3] = (math.sin(angle) * -1) * firespeed;
skottskjut[3] = 1;
_local1.Laser01Sound.start();
}
Mustryck = 0;
}
}
function Targetskott() {
var _local1 = _root;
j = 1;
while (j <= antalmonster) {
if (TargetLive[j] == 1) {
skott = _local1["skott" + (j + 3)];
Target = _local1["Target" + j];
if (Targetreloading[j] >= 0) {
Targetreloading[j] = Targetreloading[j] - 1;
}
if (((((skottskjut[j + 3] == 0) && (TargetLive[j] == 1)) && (Target._x < 540)) && (Target._x > 10)) && (Targetreloading[j] <= 0)) {
if (Target._currentframe == 1) {
Target.gotoAndPlay(2);
}
skott._x = Target._x;
skott._y = Target._y;
targetangle = Math.atan2(skott._y - ykanon, skott._x - xkanon);
skott._rotation = targetangle * 57;
vinkelskottx[j + 3] = (math.cos(targetangle) * -1) * TargetShootSpeed[j];
vinkelskotty[j + 3] = (math.sin(targetangle) * -1) * TargetShootSpeed[j];
skottskjut[j + 3] = 1;
Targetreloading[j] = Targetreloadtime[j];
if (((j == 1) || (j == 2)) || (j == 8)) {
_local1.Laser02Sound.start();
}
if ((j == 3) || (j == 4)) {
_local1.Laser03Sound.start();
}
if ((j == 5) || (j == 6)) {
_local1.Laser04Sound.start();
}
if (j == 7) {
_local1.Laser05Sound.start();
}
}
}
j++;
}
}
function flyttaSkott() {
var _local1 = _root;
j = 1;
while (j <= antalskott) {
if (skottskjut[j] == 1) {
skott = _local1["Skott" + j];
skott._x = skott._x + vinkelskottx[j];
skott._y = skott._y + vinkelskotty[j];
if ((((skott._x > 590) || (skott._x < -40)) || (skott._y > 440)) || (skott._y < -40)) {
skottskjut[j] = 0;
}
}
j++;
}
}
function kollition() {
var _local1 = _root;
i = 1;
while (i <= antalmonster) {
if (TargetLive[i] == 1) {
Target = _local1["Target" + i];
j = 1;
while (j <= 3) {
Set("temptr\u00E4ff", _local1["Tr\u00E4ff" + j]);
skott = _local1["Skott" + j];
if ((_local1.Target.hitTest(skott) == true) && (skottskjut[j] == 1)) {
if (i != 7) {
if ((((skott._x < (Target._x + (Target._width / 2.5))) && (skott._x > (Target._x - (Target._width / 2.5)))) && (skott._y < (Target._y + (Target._height / 1.2)))) && ((skott._y > (Target._y - Target._height)) / 2)) {
temptr\u00E4ff._x = skott._x;
temptr\u00E4ff._y = skott._y;
if (((skott._rotation < 90) && (skott._rotation >= 0)) || ((skott._rotation > -90) && (skott._rotation < 0))) {
temptr\u00E4ff._rotation = skott._rotation;
temptr\u00E4ff.gotoAndPlay(1);
} else {
temptr\u00E4ff._rotation = skott._rotation;
temptr\u00E4ff.gotoAndPlay(8);
}
skottskjut[j] = 0;
c = math.abs(_local1.Target._y - skott._y);
c = c / (Target._height / 2);
lost = firestrength + (1 / c);
if (lost > (20 + firestrength)) {
lost = 20 + firestrength;
}
skott._x = -500;
skott._y = -500;
lost = math.round(lost);
Tarenergy[i] = Tarenergy[i] - lost;
Tenergy.text = Tarenergy[i];
if (Tarenergy[i] <= 0) {
if ((math.random() < 0.4) && (i != 7)) {
if (life[1] == 1) {
if (life[2] == 1) {
if (life[3] == 1) {
} else {
_local1.Life03._x = Target._x - 20;
_local1.Life03._y = Target._y + 50;
life[3] = 1;
}
} else {
_local1.Life02._x = Target._x - 20;
_local1.Life02._y = Target._y + 50;
life[2] = 1;
}
} else {
_local1.Life01._x = Target._x - 20;
_local1.Life01._y = Target._y + 50;
life[1] = 1;
}
} else if ((math.random() < 0.09) && (i != 7)) {
if (life[4] == 0) {
_local1.Life04._x = Target._x - 20;
_local1.Life04._y = Target._y + 50;
life[4] = 1;
}
}
tempdowntarget = _local1["Downtarget" + i];
tempdowntarget._x = Target._x;
tempdowntarget._y = Target._y;
tempdowntarget.gotoAndPlay(1);
Target._x = -1000;
Target._y = -500;
Target.gotoAndStop("Blank");
kills = kills + 1;
Targetxvinkel[i] = 0;
Targetyvinkel[i] = 0;
TargetLive[i] = 0;
if (((i == 1) || (i == 2)) || (i == 8)) {
highscore = (highscore + (Tarscore[i] * 100)) + niv\u00E5highscore1;
greenbox(tempdowntarget._x, tempdowntarget._y, (Tarscore[i] * 100) + niv\u00E5highscore1);
}
if ((i == 3) || (i == 4)) {
highscore = (highscore + (Tarscore[i] * 100)) + (niv\u00E5highscore1 * 2);
greenbox(tempdowntarget._x, tempdowntarget._y, (Tarscore[i] * 100) + (niv\u00E5highscore1 * 2));
}
if ((i == 5) || (i == 6)) {
highscore = (highscore + (Tarscore[i] * 100)) + (niv\u00E5highscore1 * 3);
greenbox(tempdowntarget._x, tempdowntarget._y, (Tarscore[i] * 100) + (niv\u00E5highscore1 * 3));
}
experience = experience + TarScore[i];
if ((((j == 1) || (j == 2)) || (j == 3)) || (j == 4)) {
_local1.Hit02Sound.start();
}
if ((j == 5) || (j == 6)) {
_local1.Boom04Sound.start();
}
} else {
_local1.Boom03Sound.start();
}
}
}
if (i == 7) {
if ((((skott._x < (Target._x + (Target._width / 2.5))) && (skott._x > (Target._x - (Target._width / 2.5)))) && (skott._y < (Target._y - 15))) && ((skott._y > (Target._y - Target._height)) / 2)) {
temptr\u00E4ff._x = skott._x;
temptr\u00E4ff._y = skott._y;
if (((skott._rotation < 90) && (skott._rotation >= 0)) || ((skott._rotation > -90) && (skott._rotation < 0))) {
temptr\u00E4ff._rotation = skott._rotation + 180;
temptr\u00E4ff.gotoAndPlay(8);
} else {
temptr\u00E4ff._rotation = skott._rotation + 180;
temptr\u00E4ff.gotoAndPlay(1);
}
skottskjut[j] = 0;
lost = firestrength;
skott._x = -40;
skott._y = -40;
lost = math.round(lost);
Tarenergy[i] = Tarenergy[i] - lost;
Tenergy.text = Tarenergy[i];
if (Tarenergy[i] <= 0) {
_local1.apachedown._x = Target._x;
_local1.apachedown._y = Target._y;
_local1.apachedown.gotoAndPlay(1);
Target._x = -1000;
Target._y = -500;
Target.gotoAndStop("Blank");
kills = kills + 1;
Targetxvinkel[i] = 0;
Targetyvinkel[i] = 0;
TargetLive[i] = 0;
highscore = (highscore + (Tarscore[i] * 100)) + (niv\u00E5highscore1 * 4);
greenbox(_local1.apachedown._x, _local1.apachedown._y, (Tarscore[i] * 100) + (niv\u00E5highscore1 * 4));
experience = experience + TarScore[i];
_local1.Boom01Sound.start();
}
} else {
_local1.Boom03Sound.start();
}
}
}
j++;
}
}
i++;
}
j = 1;
while (j <= antalmonster) {
skott = _local1["skott" + (j + 3)];
Set("temptr\u00E4ff", _local1["Tr\u00E4ff" + (j + 3)]);
if (_local1.Megatron.hitTest(Skott) == true) {
if ((((skott._x < (xmegatron + (breddmegatron / 2))) && (skott._x > (xmegatron - (breddmegatron / 2)))) && (skott._y > (ymegatron - (h\u00F6jdmegatron / 2.5)))) && (skott._y < (ymegatron + (h\u00F6jdmegatron / 2)))) {
_local1.Hit01Sound.start();
temptr\u00E4ff._x = skott._x;
temptr\u00E4ff._y = skott._y;
if (((skott._rotation < 90) && (skott._rotation >= 0)) || ((skott._rotation > -90) && (skott._rotation < 0))) {
temptr\u00E4ff._rotation = skott._rotation + 180;
temptr\u00E4ff.gotoAndPlay(8);
} else {
temptr\u00E4ff._rotation = skott._rotation + 180;
temptr\u00E4ff.gotoAndPlay(1);
}
skottskjut[j + 3] = 0;
skott._x = -40;
skott._y = -40;
lost = Targetshoot[j] + (math.random() * 5);
lost = math.round(lost);
energy = energy - lost;
if (energy <= 0) {
lives = lives - 1;
livestext.text = lives;
energy = shield;
dead = true;
_local1.Boom02Sound.start();
_local1.MD._x = _local1.megatron._x;
_local1.MD._y = _local1.megatron._y;
_local1.megatron._x = -1000;
_local1.megatron._y = -1000;
_local1.MD.gotoAndPlay(2);
if (lives < 0) {
gameover = true;
}
}
Menergy.text = energy;
}
}
j++;
}
j = 1;
while (j <= 4) {
lifecell = _local1["Life0" + j];
if (_local1.Megatron.hitTest(lifecell) == true) {
if (lifecell._y >= (ymegatron + 30)) {
_local1.Pickup01Sound.start();
Life[j] = 0;
if (j != 4) {
Highscore = (Highscore + 100) + niv\u00E5highscore1;
greenbox(lifecell._x, lifecell._y, (100 + niv\u00E5highscore1) + " + Health");
energy = energy + 25;
experience = experience + int(2 * niv\u00E5bonus);
Menergy.text = energy;
} else {
highscore = (highscore + 500) + (niv\u00E5highscore1 * 4);
greenbox(lifecell._x, lifecell._y, (500 + (niv\u00E5highscore1 * 4)) + " + Life");
lives = lives + 1;
experience = experience + int(4 * niv\u00E5bonus);
livestext.text = lives;
}
lifecell._x = -1000;
lifecell._y = -1000;
}
}
j++;
}
i = 1;
while (i <= antalmonster) {
if (TargetLive[i] == 1) {
Target = _local1["Target" + i];
if ((_local1.Megatron.hitTest(Target) == true) && (i != 7)) {
if (((ymegatron >= Target._y) && (megatron.getDepth() < Target.getDepth())) || ((ymegatron < Target._y) && (megatron.getDepth() > Target.getDepth()))) {
megatron.swapDepths(Target);
}
}
}
i++;
}
}
function Targetattack() {
var _local1 = _root;
if (spelg\u00E5ng[spelpekare] == "EAttack") {
spelpekare = spelpekare + 1;
numbertokill = 0;
kills = 0;
}
if (spelg\u00E5ng[spelpekare] == "SAttack") {
spelpekare = spelpekare + 1;
while (spelg\u00E5ng[spelpekare] != "EAttack") {
speltemp = spelg\u00E5ng[spelpekare];
if (TargetLive[speltemp] == 0) {
Target = _local1["Target" + speltemp];
if (((speltemp == 1) || (speltemp == 3)) || (speltemp == 5)) {
Target._x = 600 + int(math.random() * 200);
Target._y = targetareauppe + int(math.random() * 100);
Targetxdest[speltemp] = 500 + int(math.random() * 100);
Targetydest[speltemp] = targetareauppe + int(math.random() * 40);
Target.gotoAndPlay("Start");
}
if (((speltemp == 2) || (speltemp == 4)) || (speltemp == 6)) {
Target._x = 600 + int(math.random() * 200);
Target._y = 300 + int(math.random() * 100);
Targetxdest[speltemp] = 500 + int(math.random() * 100);
Targetydest[speltemp] = targetareamitten + int(math.random() * 40);
Target.gotoAndPlay("Start");
}
if (speltemp == 7) {
Target._x = 600 + int(math.random() * 400);
Target._y = int(math.random() * 100);
Targetxdest[speltemp] = 300 + int(math.random() * 200);
Targetydest[speltemp] = 150;
Target.gotoAndPlay("Start");
}
if (speltemp == 8) {
Target._x = -100 - int(math.random() * 300);
Target._y = targetareauppe + int(math.random() * 100);
Targetxdest[speltemp] = 50 + int(math.random() * 50);
Targetydest[speltemp] = targetareauppe + int(math.random() * 200);
Target.gotoAndPlay("Start");
}
TargetMoveangle = Math.atan2(Target._y - Targetydest[speltemp], Target._x - Targetxdest[speltemp]);
Targetxvinkel[speltemp] = (math.cos(TargetMoveangle) * -1) * targetspeed[speltemp];
Targetyvinkel[speltemp] = (math.sin(TargetMoveangle) * -1) * targetspeed[speltemp];
Tarenergy[speltemp] = Tarenergyfull[speltemp];
TargetLive[speltemp] = 1;
numbertokill = numbertokill + 1;
}
spelpekare = spelpekare + 1;
}
}
}
function movetonextbackground() {
var _local1 = _root;
if (movebackground == 0) {
pil._x = -200;
pil._y = -200;
_local1.highscore = _local1.highscore + int(int(_local1.energy / 2) * niv\u00E5bonus);
_local1.highscore = _local1.highscore + int((_local1.lives * 50) * niv\u00E5bonus);
greenbox(_local1.megatron._x - 50, _local1.megatron._y, int((int(_local1.energy / 2) + (_local1.lives * 50)) * niv\u00E5bonus));
TempBack1 = _local1.Back["Back0" + thebackground];
TempBack2 = _local1.Back["Back0" + (thebackground + 1)];
}
if (movebackground < 40) {
TempBack1._x = TempBack1._x - 20;
TempBack2._x = TempBack2._x - 20;
movebackground = movebackground + 1;
j = 1;
while (j <= 4) {
Lifetemp = _local1["Life0" + j];
Lifetemp._x = Lifetemp._x - 20;
j++;
}
} else {
spelpekare = spelpekare + 1;
movebackground = 0;
thebackground = thebackground + 1;
}
}
function taframpil() {
pil._x = 470;
pil._y = 370;
}
function startabana() {
var _local1 = _root;
_local1.ambiens.gotoAndPlay(1);
_local1.Back.Back00._x = 0;
_local1.Back.Back01._x = 800;
_local1.Back.Back02._x = 800;
_local1.Back.Back03._x = 800;
_local1.Back.Back04._x = 800;
_local1.Back.Back05._x = 800;
_local1.Level.text = "Level " + spelg\u00E5ng[spelpekare + 1];
Life[1] = 0;
Life[2] = 0;
Life[3] = 0;
Life[4] = 0;
if (spelg\u00E5ng[spelpekare + 1] != 1) {
_local1.Front._x = -1000;
_local1.Front._y = -1000;
}
if ((spelg\u00E5ng[spelpekare + 1] == 1) || (spelg\u00E5ng[spelpekare + 1] == 2)) {
SoundEffect = 1;
_local1.Back.Back00.gotoAndStop(1);
_local1.Back.Back01.gotoAndStop(1);
_local1.Back.Back02.gotoAndStop(1);
_local1.Back.Back03.gotoAndStop(1);
_local1.Back.Back04.gotoAndStop(1);
_local1.Back.Back05.gotoAndStop(1);
Megatronuppe = 110;
Megatronnere = 420;
targetareauppe = 130;
targetareamitten = 250;
targetareanere = 360;
friction = 0.8;
speedminus = 1;
}
if ((spelg\u00E5ng[spelpekare + 1] == 3) || (spelg\u00E5ng[spelpekare + 1] == 4)) {
SoundEffect = 2;
_local1.Back.Back00.gotoAndStop(2);
_local1.Back.Back01.gotoAndStop(2);
_local1.Back.Back02.gotoAndStop(2);
_local1.Back.Back03.gotoAndStop(2);
_local1.Back.Back04.gotoAndStop(2);
_local1.Back.Back05.gotoAndStop(2);
Megatronuppe = 120;
Megatronnere = 370;
targetareauppe = 150;
targetareamitten = 240;
targetareanere = 330;
friction = 0.9;
speedminus = 0.55;
}
if ((spelg\u00E5ng[spelpekare + 1] == 5) || (spelg\u00E5ng[spelpekare + 1] == 6)) {
SoundEffect = 3;
_local1.Back.Back00.gotoAndStop(3);
_local1.Back.Back01.gotoAndStop(3);
_local1.Back.Back02.gotoAndStop(3);
_local1.Back.Back03.gotoAndStop(3);
_local1.Back.Back04.gotoAndStop(3);
_local1.Back.Back05.gotoAndStop(3);
Megatronuppe = 170;
Megatronnere = 420;
targetareauppe = 200;
targetareamitten = 290;
targetareanere = 360;
friction = 0.82;
speedminus = 0.85;
}
energy = shield;
Menergy.text = energy;
_local1.score.text = Highscore;
_local1.score2.text = Highscore;
livestext.text = lives;
spelpekare = spelpekare + 2;
thebackground = 0;
movefront = 0;
}
function r\u00E4knahighscore() {
var _local1 = _root;
if (putscore < Highscore) {
putscore = putscore + 10;
_local1.score.text = putscore + " po\u00E4ng";
_local1.score2.text = putscore;
}
}
function greenbox(GX, GY, GSc) {
var _local1 = _root;
GBoxJ = GBoxJ + 1;
if (GBoxJ > 100) {
GBoxJ = 0;
}
_local1.attachMovie("GreenBoxPoint", "GreenBox" + GBoxJ, 2000 + GBoxJ);
_local1["GreenBox" + GBoxJ].points.pointsbox.text = GSc;
_local1["GreenBox" + GBoxJ]._x = GX;
_local1["GreenBox" + GBoxJ]._y = GY;
}
Frame 52 (26 B)
gotoAndPlay ("GameLoop");
Frame 53 (23 B)
Mouse.show();
stop();
Frame 54 (22 B)
gotoAndStop ("Paus");
Frame 55 (532 B)
if (exp != 1) {
textxp.text = experience + "xp";
textsk\u00F6ld.text = sk\u00F6ldkost + "xp";
textskottstyrka.text = skottstyrkakost + "xp";
textskottfart.text = skottfartkost + "xp";
textg\u00E5ngfart.text = fartkost + "xp";
textsk\u00F6ldnu.text = ((shield + " hp (+") + shieldUppg) + ")";
textskottstyrkanu.text = ((firestrength + " (+") + firestrengthUppg) + ")";
textskottfartnu.text = ((firespeed + " (+") + firespeedUppg) + ")";
textg\u00E5ngfartnu.text = ((Speed + " (+") + SpeedUppg) + ")";
exp = 1;
}
Frame 56 (53 B)
_root.Black00._x = -20;
gotoAndPlay ("Uppgradera");
Frame 57 (848 B)
if (_root["spelg\u00E5ng"][spelpekare + 1] == 1) {
_root.Introleveltext.text = "Level 1, phase 1";
_root.introleveltext2.text = "The desert";
}
if (_root["spelg\u00E5ng"][spelpekare + 1] == 2) {
_root.Introleveltext.text = "Level 1, phase 2";
_root.introleveltext2.text = "Out of the sands";
}
if (_root["spelg\u00E5ng"][spelpekare + 1] == 3) {
_root.Introleveltext.text = "Level 2, phase 1";
_root.introleveltext2.text = "The ice cave";
}
if (_root["spelg\u00E5ng"][spelpekare + 1] == 4) {
_root.Introleveltext.text = "Level 2, phase 2";
_root.introleveltext2.text = "Run for the factory";
}
if (_root["spelg\u00E5ng"][spelpekare + 1] == 5) {
_root.Introleveltext.text = "Level 3, the final battle";
_root.introleveltext2.text = "In the factory";
}
Mouse.hide();
if (playmusic == 1) {
_root.Musicpluxus.stop();
}
Frame 126 (91 B)
_root.firsttimelevelstart = 0;
_root.attachMovie("Fade", fade, 10000);
gotoAndPlay (51);
Frame 127 (74 B)
_root.Black00._x = -1000;
gotoAndPlay (128);
_root.musicingame.stop();
Frame 196 (962 B)
if (_root.Logged == true) {
ScoreGame = new LoadVars();
ScoreGame.game_id = 2;
ScoreGame.user_id = userid;
ScoreGame.score = Highscore;
ScoreGame.level = "0";
ScoreGame.gametime = "0";
ScoreGame.ticket = ticket;
ScoreGame.serial = random(10000);
ScoreGame.sendAndLoad("http://www.gameahead.com/com_put_highscore.php", ScoreGame, "POST");
ScoreGame.onLoad = function (success4) {
var _local1 = _root;
_local1.ScoreOKt.text = "pendlat!";
if (success4) {
if (ScoreGame.status == "OK") {
gotoAndPlay ("highscore");
} else {
_local1.ScoreOKt.text = ("Error: " + ScoreGame) + succes4;
gotoAndStop ("ScoreError");
}
_local1.ScoreOKt.text = "Success: " + ScoreGame;
} else {
_local1.ScoreOKt.text = ("Error: " + ScoreGame) + succes4;
gotoAndStop ("ScoreError");
}
};
} else {
if (playmusic == 1) {
_root.musicmeny.start(0, 999);
}
inmeny = 1;
gotoAndPlay ("highscore");
}
stop();
Frame 199 (1.03 KiB) ●
scorenamndaglig = new Array();
scorepoangdaglig = new Array();
scoredatumdaglig = new Array();
scorenamnmanad = new Array();
scorepoangmanad = new Array();
scoredatummanad = new Array();
LoadTopTen = new LoadVars();
LoadTopTen.serialnumber = random(1000);
LoadTopTen.game_id = 2;
LoadTopTen.sendAndLoad("http://www.gameahead.com/com_get_highscore.php", LoadTopTen, "POST");
LoadTopTen.onLoad = function (success1) {
if (success1) {
var _local1 = 1;
while (_local1 <= 10) {
scorenamndaglig[_local1 - 1] = LoadTopTen["usernamedaglig" + _local1];
scorepoangdaglig[_local1 - 1] = LoadTopTen["scoredaglig" + _local1];
scoredatumdaglig[_local1 - 1] = LoadTopTen["datedaglig" + _local1];
scorenamnmanad[_local1 - 1] = LoadTopTen["usernamemanad" + _local1];
scorepoangmanad[_local1 - 1] = LoadTopTen["scoremanad" + _local1];
scoredatummanad[_local1 - 1] = LoadTopTen["datemanad" + _local1];
_local1++;
}
gotoAndPlay ("Highscoreloaded");
} else {
HVName[1] = "";
gotoAndStop (41);
}
};
stop();
Frame 200 (241 B)
if (Highscore != 0) {
_root.Lname.text = "Last score:";
_root.Lscore.text = Highscore;
} else {
_root.Lname.text = "";
_root.Lscore.text = "";
}
_root.HS.visas = "manad";
_root.HS.gotoAndPlay("change");
_root.Highsound.start();
Frame 208 (8 B)
stop();
Frame 209 (18 B)
gotoAndPlay (41);
Frame 211 (52 B)
_root.Black00._x = -1000;
gotoAndPlay ("Madeit2");
Frame 326 (26 B)
_root.gotoAndPlay("Die");
Symbol 8 MovieClip Frame 1 (87 B)
this.procent.text = int((100 * _root.getBytesLoaded()) / _root.getBytesTotal()) + "%";
Symbol 10 MovieClip Frame 20 (8 B)
stop();
Symbol 30 MovieClip Frame 1 (27 B)
this.fader.gotoAndPlay(1);
Symbol 30 MovieClip Frame 19 (95 B)
if (((100 * _root.getBytesLoaded()) / _root.getBytesTotal()) <= 10) {
gotoAndPlay (2);
}
Symbol 30 MovieClip Frame 20 (27 B)
this.fader.gotoAndPlay(1);
Symbol 30 MovieClip Frame 39 (96 B)
if (((100 * _root.getBytesLoaded()) / _root.getBytesTotal()) <= 50) {
gotoAndPlay (21);
}
Symbol 30 MovieClip Frame 40 (27 B)
this.fader.gotoAndPlay(1);
Symbol 30 MovieClip Frame 59 (96 B)
if (((100 * _root.getBytesLoaded()) / _root.getBytesTotal()) <= 80) {
gotoAndPlay (41);
}
Symbol 30 MovieClip Frame 60 (27 B)
this.fader.gotoAndPlay(1);
Symbol 30 MovieClip Frame 79 (96 B)
if (((100 * _root.getBytesLoaded()) / _root.getBytesTotal()) <= 90) {
gotoAndPlay (61);
}
Symbol 30 MovieClip Frame 80 (27 B)
this.fader.gotoAndPlay(1);
Symbol 30 MovieClip Frame 100 (8 B)
stop();
Symbol 54 MovieClip [Fade] Frame 11 (24 B)
this.removeMovieClip();
Symbol 58 MovieClip [GreenBoxPoint] Frame 30 (24 B)
this.removeMovieClip();
Symbol 59 MovieClip Frame 1 (8 B)
stop();
Symbol 68 Button (104 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
gotoAndStop ("options");
}
Symbol 71 Button (106 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
gotoAndPlay ("highscore");
}
Symbol 74 Button (109 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
gotoAndStop ("instructions");
}
Symbol 78 Button (105 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
gotoAndStop ("CheckLog");
}
Symbol 83 Button (101 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
gotoAndPlay ("menu");
}
Symbol 102 Button (101 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
_quality = "MEDIUM";
}
Symbol 106 Button (99 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
_quality = "HIGH";
}
Symbol 112 Button (119 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
playmusic = 2;
_root.musicmeny.stop();
_root.klock.start();
}
Symbol 115 Button (154 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
if (playmusic == 2) {
playmusic = 1;
_root.musicmeny.start(0, 999);
}
}
Symbol 119 Button (381 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
Set("niv\u00E5", 1);
Set("niv\u00E5sk\u00F6ld", 50);
Set("niv\u00E5skottstyrka", 10);
Set("niv\u00E5targetskott", -5);
Set("niv\u00E5targetsk\u00F6ld", -15);
Set("niv\u00E5targetfirespeed", -5);
Set("niv\u00E5targetspeedreload", 8);
Set("niv\u00E5highscore1", -50);
Set("niv\u00E5bonus", 0.5);
}
Symbol 121 Button (372 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
Set("niv\u00E5", 1);
Set("niv\u00E5sk\u00F6ld", 0);
Set("niv\u00E5skottstyrka", 2);
Set("niv\u00E5targetskott", 0);
Set("niv\u00E5targetsk\u00F6ld", 0);
Set("niv\u00E5targetfirespeed", -1);
Set("niv\u00E5targetspeedreload", 0);
Set("niv\u00E5highscore1", 0);
Set("niv\u00E5bonus", 1);
}
Symbol 124 Button (377 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
Set("niv\u00E5", 1);
Set("niv\u00E5sk\u00F6ld", -5);
Set("niv\u00E5skottstyrka", -1);
Set("niv\u00E5targetskott", 2);
Set("niv\u00E5targetsk\u00F6ld", 8);
Set("niv\u00E5targetfirespeed", 1);
Set("niv\u00E5targetspeedreload", -1);
Set("niv\u00E5highscore1", 50);
Set("niv\u00E5bonus", 1.5);
}
Symbol 128 Button (57 B)
on (release) {
_root.klock.start();
gotoAndStop (41);
}
Symbol 132 Button (170 B)
on (release) {
_root.attachMovie("Fade", fade, 10000);
_root.musicmeny.stop();
_root.klock.start();
_root.inmeny = 0;
_root.Logged = false;
gotoAndPlay ("start");
}
Symbol 139 MovieClip Frame 1 (8 B)
stop();
Symbol 139 MovieClip Frame 2 (8 B)
stop();
Symbol 139 MovieClip Frame 3 (8 B)
stop();
Symbol 146 MovieClip Frame 1 (8 B)
stop();
Symbol 146 MovieClip Frame 2 (8 B)
stop();
Symbol 146 MovieClip Frame 3 (8 B)
stop();
Symbol 153 MovieClip Frame 1 (8 B)
stop();
Symbol 153 MovieClip Frame 2 (8 B)
stop();
Symbol 153 MovieClip Frame 3 (8 B)
stop();
Symbol 160 MovieClip Frame 1 (8 B)
stop();
Symbol 160 MovieClip Frame 2 (8 B)
stop();
Symbol 160 MovieClip Frame 3 (8 B)
stop();
Symbol 167 MovieClip Frame 1 (8 B)
stop();
Symbol 167 MovieClip Frame 2 (8 B)
stop();
Symbol 167 MovieClip Frame 3 (8 B)
stop();
Symbol 172 MovieClip Frame 1 (8 B)
stop();
Symbol 172 MovieClip Frame 2 (8 B)
stop();
Symbol 172 MovieClip Frame 3 (8 B)
stop();
Symbol 193 MovieClip Frame 26 (8 B)
stop();
Symbol 199 MovieClip Frame 3 (229 B)
if (((_root.angle * 57) >= 150) || ((_root.angle * 57) <= -150)) {
gotoAndPlay (4);
} else if (((_root.angle * 57) < 150) && ((_root.angle * 57) >= 90)) {
gotoAndPlay (8);
} else {
gotoAndPlay (1);
}
Symbol 199 MovieClip Frame 6 (229 B)
if (((_root.angle * 57) >= 150) || ((_root.angle * 57) <= -150)) {
gotoAndPlay (4);
} else if (((_root.angle * 57) < 150) && ((_root.angle * 57) >= 90)) {
gotoAndPlay (8);
} else {
gotoAndPlay (1);
}
Symbol 199 MovieClip Frame 9 (229 B)
if (((_root.angle * 57) >= 150) || ((_root.angle * 57) <= -150)) {
gotoAndPlay (4);
} else if (((_root.angle * 57) < 150) && ((_root.angle * 57) >= 90)) {
gotoAndPlay (8);
} else {
gotoAndPlay (1);
}
Symbol 209 MovieClip Frame 2 (1.46 KiB) ●
if (((_root.angle * 57) <= -60) && ((_root.angle * 57) > -120)) {
gotoAndPlay (1);
} else if ((((_root.angle * 57) <= -120) && ((_root.angle * 57) > -135)) || (((_root.angle * 57) <= -45) && ((_root.angle * 57) > -60))) {
gotoAndPlay (3);
} else if ((((_root.angle * 57) <= -135) && ((_root.angle * 57) > -150)) || (((_root.angle * 57) <= -30) && ((_root.angle * 57) > -45))) {
gotoAndPlay (5);
} else if ((((_root.angle * 57) <= -150) && ((_root.angle * 57) > -170)) || (((_root.angle * 57) <= -10) && ((_root.angle * 57) > -30))) {
gotoAndPlay (7);
} else if ((((_root.angle * 57) <= -170) || ((_root.angle * 57) >= 170)) || (((_root.angle * 57) < 10) && ((_root.angle * 57) > -10))) {
gotoAndPlay (9);
} else if ((((_root.angle * 57) < 170) && ((_root.angle * 57) >= 150)) || (((_root.angle * 57) >= 10) && ((_root.angle * 57) < 30))) {
gotoAndPlay (11);
} else if ((((_root.angle * 57) < 150) && ((_root.angle * 57) >= 135)) || (((_root.angle * 57) >= 30) && ((_root.angle * 57) < 45))) {
gotoAndPlay (13);
} else if ((((_root.angle * 57) < 135) && ((_root.angle * 57) >= 120)) || (((_root.angle * 57) >= 45) && ((_root.angle * 57) < 60))) {
gotoAndPlay (15);
} else if (((_root.angle * 57) < 120) && ((_root.angle * 57) >= 60)) {
gotoAndPlay (17);
}
Symbol 209 MovieClip Frame 4 (1.46 KiB) ●
if (((_root.angle * 57) <= -60) && ((_root.angle * 57) > -120)) {
gotoAndPlay (1);
} else if ((((_root.angle * 57) <= -120) && ((_root.angle * 57) > -135)) || (((_root.angle * 57) <= -45) && ((_root.angle * 57) > -60))) {
gotoAndPlay (3);
} else if ((((_root.angle * 57) <= -135) && ((_root.angle * 57) > -150)) || (((_root.angle * 57) <= -30) && ((_root.angle * 57) > -45))) {
gotoAndPlay (5);
} else if ((((_root.angle * 57) <= -150) && ((_root.angle * 57) > -170)) || (((_root.angle * 57) <= -10) && ((_root.angle * 57) > -30))) {
gotoAndPlay (7);
} else if ((((_root.angle * 57) <= -170) || ((_root.angle * 57) >= 170)) || (((_root.angle * 57) < 10) && ((_root.angle * 57) > -10))) {
gotoAndPlay (9);
} else if ((((_root.angle * 57) < 170) && ((_root.angle * 57) >= 150)) || (((_root.angle * 57) >= 10) && ((_root.angle * 57) < 30))) {
gotoAndPlay (11);
} else if ((((_root.angle * 57) < 150) && ((_root.angle * 57) >= 135)) || (((_root.angle * 57) >= 30) && ((_root.angle * 57) < 45))) {
gotoAndPlay (13);
} else if ((((_root.angle * 57) < 135) && ((_root.angle * 57) >= 120)) || (((_root.angle * 57) >= 45) && ((_root.angle * 57) < 60))) {
gotoAndPlay (15);
} else if (((_root.angle * 57) < 120) && ((_root.angle * 57) >= 60)) {
gotoAndPlay (17);
}
Symbol 209 MovieClip Frame 6 (1.46 KiB) ●
if (((_root.angle * 57) <= -60) && ((_root.angle * 57) > -120)) {
gotoAndPlay (1);
} else if ((((_root.angle * 57) <= -120) && ((_root.angle * 57) > -135)) || (((_root.angle * 57) <= -45) && ((_root.angle * 57) > -60))) {
gotoAndPlay (3);
} else if ((((_root.angle * 57) <= -135) && ((_root.angle * 57) > -150)) || (((_root.angle * 57) <= -30) && ((_root.angle * 57) > -45))) {
gotoAndPlay (5);
} else if ((((_root.angle * 57) <= -150) && ((_root.angle * 57) > -170)) || (((_root.angle * 57) <= -10) && ((_root.angle * 57) > -30))) {
gotoAndPlay (7);
} else if ((((_root.angle * 57) <= -170) || ((_root.angle * 57) >= 170)) || (((_root.angle * 57) < 10) && ((_root.angle * 57) > -10))) {
gotoAndPlay (9);
} else if ((((_root.angle * 57) < 170) && ((_root.angle * 57) >= 150)) || (((_root.angle * 57) >= 10) && ((_root.angle * 57) < 30))) {
gotoAndPlay (11);
} else if ((((_root.angle * 57) < 150) && ((_root.angle * 57) >= 135)) || (((_root.angle * 57) >= 30) && ((_root.angle * 57) < 45))) {
gotoAndPlay (13);
} else if ((((_root.angle * 57) < 135) && ((_root.angle * 57) >= 120)) || (((_root.angle * 57) >= 45) && ((_root.angle * 57) < 60))) {
gotoAndPlay (15);
} else if (((_root.angle * 57) < 120) && ((_root.angle * 57) >= 60)) {
gotoAndPlay (17);
}
Symbol 209 MovieClip Frame 8 (1.46 KiB) ●
if (((_root.angle * 57) <= -60) && ((_root.angle * 57) > -120)) {
gotoAndPlay (1);
} else if ((((_root.angle * 57) <= -120) && ((_root.angle * 57) > -135)) || (((_root.angle * 57) <= -45) && ((_root.angle * 57) > -60))) {
gotoAndPlay (3);
} else if ((((_root.angle * 57) <= -135) && ((_root.angle * 57) > -150)) || (((_root.angle * 57) <= -30) && ((_root.angle * 57) > -45))) {
gotoAndPlay (5);
} else if ((((_root.angle * 57) <= -150) && ((_root.angle * 57) > -170)) || (((_root.angle * 57) <= -10) && ((_root.angle * 57) > -30))) {
gotoAndPlay (7);
} else if ((((_root.angle * 57) <= -170) || ((_root.angle * 57) >= 170)) || (((_root.angle * 57) < 10) && ((_root.angle * 57) > -10))) {
gotoAndPlay (9);
} else if ((((_root.angle * 57) < 170) && ((_root.angle * 57) >= 150)) || (((_root.angle * 57) >= 10) && ((_root.angle * 57) < 30))) {
gotoAndPlay (11);
} else if ((((_root.angle * 57) < 150) && ((_root.angle * 57) >= 135)) || (((_root.angle * 57) >= 30) && ((_root.angle * 57) < 45))) {
gotoAndPlay (13);
} else if ((((_root.angle * 57) < 135) && ((_root.angle * 57) >= 120)) || (((_root.angle * 57) >= 45) && ((_root.angle * 57) < 60))) {
gotoAndPlay (15);
} else if (((_root.angle * 57) < 120) && ((_root.angle * 57) >= 60)) {
gotoAndPlay (17);
}
Symbol 209 MovieClip Frame 10 (1.46 KiB) ●
if (((_root.angle * 57) <= -60) && ((_root.angle * 57) > -120)) {
gotoAndPlay (1);
} else if ((((_root.angle * 57) <= -120) && ((_root.angle * 57) > -135)) || (((_root.angle * 57) <= -45) && ((_root.angle * 57) > -60))) {
gotoAndPlay (3);
} else if ((((_root.angle * 57) <= -135) && ((_root.angle * 57) > -150)) || (((_root.angle * 57) <= -30) && ((_root.angle * 57) > -45))) {
gotoAndPlay (5);
} else if ((((_root.angle * 57) <= -150) && ((_root.angle * 57) > -170)) || (((_root.angle * 57) <= -10) && ((_root.angle * 57) > -30))) {
gotoAndPlay (7);
} else if ((((_root.angle * 57) <= -170) || ((_root.angle * 57) >= 170)) || (((_root.angle * 57) < 10) && ((_root.angle * 57) > -10))) {
gotoAndPlay (9);
} else if ((((_root.angle * 57) < 170) && ((_root.angle * 57) >= 150)) || (((_root.angle * 57) >= 10) && ((_root.angle * 57) < 30))) {
gotoAndPlay (11);
} else if ((((_root.angle * 57) < 150) && ((_root.angle * 57) >= 135)) || (((_root.angle * 57) >= 30) && ((_root.angle * 57) < 45))) {
gotoAndPlay (13);
} else if ((((_root.angle * 57) < 135) && ((_root.angle * 57) >= 120)) || (((_root.angle * 57) >= 45) && ((_root.angle * 57) < 60))) {
gotoAndPlay (15);
} else if (((_root.angle * 57) < 120) && ((_root.angle * 57) >= 60)) {
gotoAndPlay (17);
}
Symbol 209 MovieClip Frame 12 (1.46 KiB) ●
if (((_root.angle * 57) <= -60) && ((_root.angle * 57) > -120)) {
gotoAndPlay (1);
} else if ((((_root.angle * 57) <= -120) && ((_root.angle * 57) > -135)) || (((_root.angle * 57) <= -45) && ((_root.angle * 57) > -60))) {
gotoAndPlay (3);
} else if ((((_root.angle * 57) <= -135) && ((_root.angle * 57) > -150)) || (((_root.angle * 57) <= -30) && ((_root.angle * 57) > -45))) {
gotoAndPlay (5);
} else if ((((_root.angle * 57) <= -150) && ((_root.angle * 57) > -170)) || (((_root.angle * 57) <= -10) && ((_root.angle * 57) > -30))) {
gotoAndPlay (7);
} else if ((((_root.angle * 57) <= -170) || ((_root.angle * 57) >= 170)) || (((_root.angle * 57) < 10) && ((_root.angle * 57) > -10))) {
gotoAndPlay (9);
} else if ((((_root.angle * 57) < 170) && ((_root.angle * 57) >= 150)) || (((_root.angle * 57) >= 10) && ((_root.angle * 57) < 30))) {
gotoAndPlay (11);
} else if ((((_root.angle * 57) < 150) && ((_root.angle * 57) >= 135)) || (((_root.angle * 57) >= 30) && ((_root.angle * 57) < 45))) {
gotoAndPlay (13);
} else if ((((_root.angle * 57) < 135) && ((_root.angle * 57) >= 120)) || (((_root.angle * 57) >= 45) && ((_root.angle * 57) < 60))) {
gotoAndPlay (15);
} else if (((_root.angle * 57) < 120) && ((_root.angle * 57) >= 60)) {
gotoAndPlay (17);
}
Symbol 209 MovieClip Frame 14 (1.46 KiB) ●
if (((_root.angle * 57) <= -60) && ((_root.angle * 57) > -120)) {
gotoAndPlay (1);
} else if ((((_root.angle * 57) <= -120) && ((_root.angle * 57) > -135)) || (((_root.angle * 57) <= -45) && ((_root.angle * 57) > -60))) {
gotoAndPlay (3);
} else if ((((_root.angle * 57) <= -135) && ((_root.angle * 57) > -150)) || (((_root.angle * 57) <= -30) && ((_root.angle * 57) > -45))) {
gotoAndPlay (5);
} else if ((((_root.angle * 57) <= -150) && ((_root.angle * 57) > -170)) || (((_root.angle * 57) <= -10) && ((_root.angle * 57) > -30))) {
gotoAndPlay (7);
} else if ((((_root.angle * 57) <= -170) || ((_root.angle * 57) >= 170)) || (((_root.angle * 57) < 10) && ((_root.angle * 57) > -10))) {
gotoAndPlay (9);
} else if ((((_root.angle * 57) < 170) && ((_root.angle * 57) >= 150)) || (((_root.angle * 57) >= 10) && ((_root.angle * 57) < 30))) {
gotoAndPlay (11);
} else if ((((_root.angle * 57) < 150) && ((_root.angle * 57) >= 135)) || (((_root.angle * 57) >= 30) && ((_root.angle * 57) < 45))) {
gotoAndPlay (13);
} else if ((((_root.angle * 57) < 135) && ((_root.angle * 57) >= 120)) || (((_root.angle * 57) >= 45) && ((_root.angle * 57) < 60))) {
gotoAndPlay (15);
} else if (((_root.angle * 57) < 120) && ((_root.angle * 57) >= 60)) {
gotoAndPlay (17);
}
Symbol 209 MovieClip Frame 16 (1.46 KiB) ●
if (((_root.angle * 57) <= -60) && ((_root.angle * 57) > -120)) {
gotoAndPlay (1);
} else if ((((_root.angle * 57) <= -120) && ((_root.angle * 57) > -135)) || (((_root.angle * 57) <= -45) && ((_root.angle * 57) > -60))) {
gotoAndPlay (3);
} else if ((((_root.angle * 57) <= -135) && ((_root.angle * 57) > -150)) || (((_root.angle * 57) <= -30) && ((_root.angle * 57) > -45))) {
gotoAndPlay (5);
} else if ((((_root.angle * 57) <= -150) && ((_root.angle * 57) > -170)) || (((_root.angle * 57) <= -10) && ((_root.angle * 57) > -30))) {
gotoAndPlay (7);
} else if ((((_root.angle * 57) <= -170) || ((_root.angle * 57) >= 170)) || (((_root.angle * 57) < 10) && ((_root.angle * 57) > -10))) {
gotoAndPlay (9);
} else if ((((_root.angle * 57) < 170) && ((_root.angle * 57) >= 150)) || (((_root.angle * 57) >= 10) && ((_root.angle * 57) < 30))) {
gotoAndPlay (11);
} else if ((((_root.angle * 57) < 150) && ((_root.angle * 57) >= 135)) || (((_root.angle * 57) >= 30) && ((_root.angle * 57) < 45))) {
gotoAndPlay (13);
} else if ((((_root.angle * 57) < 135) && ((_root.angle * 57) >= 120)) || (((_root.angle * 57) >= 45) && ((_root.angle * 57) < 60))) {
gotoAndPlay (15);
} else if (((_root.angle * 57) < 120) && ((_root.angle * 57) >= 60)) {
gotoAndPlay (17);
}
Symbol 209 MovieClip Frame 18 (1.46 KiB) ●
if (((_root.angle * 57) <= -60) && ((_root.angle * 57) > -120)) {
gotoAndPlay (1);
} else if ((((_root.angle * 57) <= -120) && ((_root.angle * 57) > -135)) || (((_root.angle * 57) <= -45) && ((_root.angle * 57) > -60))) {
gotoAndPlay (3);
} else if ((((_root.angle * 57) <= -135) && ((_root.angle * 57) > -150)) || (((_root.angle * 57) <= -30) && ((_root.angle * 57) > -45))) {
gotoAndPlay (5);
} else if ((((_root.angle * 57) <= -150) && ((_root.angle * 57) > -170)) || (((_root.angle * 57) <= -10) && ((_root.angle * 57) > -30))) {
gotoAndPlay (7);
} else if ((((_root.angle * 57) <= -170) || ((_root.angle * 57) >= 170)) || (((_root.angle * 57) < 10) && ((_root.angle * 57) > -10))) {
gotoAndPlay (9);
} else if ((((_root.angle * 57) < 170) && ((_root.angle * 57) >= 150)) || (((_root.angle * 57) >= 10) && ((_root.angle * 57) < 30))) {
gotoAndPlay (11);
} else if ((((_root.angle * 57) < 150) && ((_root.angle * 57) >= 135)) || (((_root.angle * 57) >= 30) && ((_root.angle * 57) < 45))) {
gotoAndPlay (13);
} else if ((((_root.angle * 57) < 135) && ((_root.angle * 57) >= 120)) || (((_root.angle * 57) >= 45) && ((_root.angle * 57) < 60))) {
gotoAndPlay (15);
} else if (((_root.angle * 57) < 120) && ((_root.angle * 57) >= 60)) {
gotoAndPlay (17);
}
Symbol 238 MovieClip Frame 3 (251 B)
if (_root.walk == 0) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (1);
} else {
gotoAndPlay (40);
}
}
if (_root.walk == 1) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (4);
} else {
gotoAndPlay (22);
}
}
Symbol 238 MovieClip Frame 9 (220 B)
if (_root.walk == 0) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (1);
} else {
gotoAndPlay (40);
}
}
if (_root.walk == 1) {
if (_root.xmegatron > _root.xmouse) {
gotoAndPlay (22);
}
}
Symbol 238 MovieClip Frame 15 (220 B)
if (_root.walk == 0) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (1);
} else {
gotoAndPlay (40);
}
}
if (_root.walk == 1) {
if (_root.xmegatron > _root.xmouse) {
gotoAndPlay (22);
}
}
Symbol 238 MovieClip Frame 21 (251 B)
if (_root.walk == 0) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (1);
} else {
gotoAndPlay (40);
}
}
if (_root.walk == 1) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (4);
} else {
gotoAndPlay (22);
}
}
Symbol 238 MovieClip Frame 27 (219 B)
if (_root.walk == 0) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (1);
} else {
gotoAndPlay (40);
}
}
if (_root.walk == 1) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (4);
}
}
Symbol 238 MovieClip Frame 33 (219 B)
if (_root.walk == 0) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (1);
} else {
gotoAndPlay (40);
}
}
if (_root.walk == 1) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (4);
}
}
Symbol 238 MovieClip Frame 39 (251 B)
if (_root.walk == 0) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (1);
} else {
gotoAndPlay (40);
}
}
if (_root.walk == 1) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (4);
} else {
gotoAndPlay (22);
}
}
Symbol 238 MovieClip Frame 42 (251 B)
if (_root.walk == 0) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (1);
} else {
gotoAndPlay (40);
}
}
if (_root.walk == 1) {
if (_root.xmegatron < _root.xmouse) {
gotoAndPlay (4);
} else {
gotoAndPlay (22);
}
}
Symbol 243 MovieClip Frame 1 (8 B)
stop();
Symbol 243 MovieClip Frame 55 (23 B)
gotoAndPlay ("Start");
Symbol 254 MovieClip Frame 1 (8 B)
stop();
Symbol 254 MovieClip Frame 25 (23 B)
gotoAndPlay ("Start");
Symbol 261 MovieClip Frame 1 (8 B)
stop();
Symbol 261 MovieClip Frame 25 (23 B)
gotoAndPlay ("Start");
Symbol 268 MovieClip Frame 1 (8 B)
stop();
Symbol 268 MovieClip Frame 25 (23 B)
gotoAndPlay ("Start");
Symbol 275 MovieClip Frame 1 (8 B)
stop();
Symbol 275 MovieClip Frame 25 (23 B)
gotoAndPlay ("Start");
Symbol 277 MovieClip Frame 1 (8 B)
stop();
Symbol 277 MovieClip Frame 56 (23 B)
gotoAndPlay ("Start");
Symbol 300 MovieClip Frame 24 (8 B)
stop();
Symbol 316 MovieClip Frame 1 (8 B)
stop();
Symbol 316 MovieClip Frame 37 (23 B)
gotoAndPlay ("Start");
Symbol 342 MovieClip Frame 26 (8 B)
stop();
Symbol 343 MovieClip Frame 26 (8 B)
stop();
Symbol 348 MovieClip Frame 1 (8 B)
stop();
Symbol 348 MovieClip Frame 29 (139 B)
_root.dead = false;
_root.megatron._x = _root.MD._x;
_root.megatron._y = _root.MD._y;
_root.MD._x = -400;
_root.MD._y = -400;
stop();
Symbol 351 MovieClip Frame 8 (8 B)
stop();
Symbol 351 MovieClip Frame 16 (8 B)
stop();
Symbol 371 MovieClip Frame 2 (189 B)
if (_root.SoundEffect == 1) {
_root["\u00F6ken"].start(0, 1);
}
if (_root.SoundEffect == 2) {
_root.ice.start(0, 1);
}
if (_root.SoundEffect == 3) {
_root.factory.start(0, 1);
}
Symbol 379 Button (175 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
_root["\u00F6ken"].stop();
_root.ice.stop();
_root.factory.stop();
_root.gotoAndPlay("Die");
}
Symbol 382 Button (125 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
Mouse.hide();
_root.gotoAndPlay("GameLoop");
}
Symbol 392 Button (175 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
upgrade.stop();
_root.spelpekare = _root.spelpekare + 2;
exp = 2;
gotoAndPlay ("startText");
}
Symbol 400 Button (259 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
if ((experience - fartkost) >= 0) {
_root.klock.start();
speed = speed + speedUppg;
experience = experience - fartkost;
fartkost = fartkost + 4;
speedUppg = speedUppg + 0.05;
exp = 2;
}
}
Symbol 402 Button (319 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
if ((experience - skottstyrkakost) >= 0) {
_root.klock.start();
firestrength = firestrength + firestrengthUppg;
experience = experience - skottstyrkakost;
skottstyrkakost = skottstyrkakost + 3;
firestrengthUppg = firestrengthUppg + 1;
exp = 2;
}
}
Symbol 404 Button (291 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
if ((experience - sk\u00F6ldkost) >= 0) {
_root.klock.start();
Shield = Shield + ShieldUppg;
experience = experience - sk\u00F6ldkost;
Set("sk\u00F6ldkost", sk\u00F6ldkost + 3);
ShieldUppg = ShieldUppg + 5;
exp = 2;
}
}
Symbol 406 Button (296 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
if ((experience - skottfartkost) >= 0) {
_root.klock.start();
firespeed = firespeed + firespeedUppg;
experience = experience - skottfartkost;
skottfartkost = skottfartkost + 6;
firespeedUppg = firespeedUppg + 1;
exp = 2;
}
}
Symbol 429 Button (48 B)
on (release) {
gotoAndPlay ("Savehighscore");
}
Symbol 432 Button (97 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.klock.start();
gotoAndPlay (41);
}
Symbol 435 Button (142 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.HS.visas = "manad";
_root.HS.gotoAndPlay("change");
_root.Highsound.start();
}
Symbol 438 Button (143 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.HS.visas = "daglig";
_root.HS.gotoAndPlay("change");
_root.Highsound.start();
}
Symbol 441 Button (142 B)
on (rollOver) {
_root.blopp.start();
}
on (release) {
_root.HS.visas = "vecka";
_root.HS.gotoAndPlay("change");
_root.Highsound.start();
}
Symbol 481 MovieClip Frame 2 (55 B)
stop();
var hj = 1;
while (hj <= 10) {
hj++;
}
Symbol 481 MovieClip Frame 8 (228 B)
var hj = 1;
while (hj <= 10) {
this["N" + hj].text = _root["scorenamn" + visas][hj - 1];
this["P" + hj].text = _root["scorepoang" + visas][hj - 1];
this["D" + hj].text = _root["scoredatum" + visas][hj - 1];
hj++;
}
Symbol 481 MovieClip Frame 13 (25 B)
gotoAndStop ("stopped");