Frame 1
stop();
mochi.as2.MochiAd.showPreGameAd({res:"600x480", id:"924a0d4ed6def2aa"});
stop();
Frame 2
stop();
var _mochiads_game_id = "8d95193ee2c5ffd0";
stop();
var loading_level = MovieClip(this);
loading_level.createEmptyMovieClip("mc_mask", 5);
loading_level.attachMovie("circle", "circle", 3);
circle.setMask("mc_mask");
var mask_x = ((circle._x = Stage.width / 2));
var mask_y = ((circle._y = Stage.height / 2));
var mask_ra = ((circle._width / 2) * -1);
var c = 0;
var percentDone = 0;
var pL = 0;
var pT = 0;
loading_level.onEnterFrame = function () {
if (percentDone > 99) {
mc_mask.removeMovieClip();
circle.removeMovieClip();
gotoAndPlay("/:3");
delete loading_level.onEnterFrame;
} else {
pL = this.getBytesLoaded();
pT = this.getBytesTotal();
loader = int(((100 * getBytesLoaded()) / getBytesTotal()) + 0.5);
percentDone = Math.round((pL / pT) * 100);
mc_mask.clear();
mc_mask.moveTo(mask_x, mask_y);
mc_mask.beginFill(0, 100);
mc_mask.lineStyle(1, 0, 80);
i = 0;
for ( ; i >= c ; i--) {
x = (Math.sin((Math.PI/90) * i) * mask_ra) + mask_x;
y = (Math.cos((Math.PI/90) * i) * mask_ra) + mask_y;
mc_mask.lineTo(x, y);
}
mc_mask.endFill();
c = Math.round(percentDone * -1.84);
}
};
Frame 125
stop();
tv.removeMovieClip();
gotoAndPlay("/:126");
Frame 126
stop();
Symbol 1 MovieClip [__Packages.mochi.as2.MochiAd] Frame 1
#initclip 1
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (mochi == undefined) {
_global.mochi = {};
}
if (!_global.mochi.hasOwnProperty("as2")) {
_global.mochi.as2 = {};
}
_global.mochi.as2.MochiAd = function () {
with (this) {
}
};
mochi.as2.MochiAd.getVersion = function () {
with (this) {
return(mochi.as2.MochiServices.getVersion());
}
};
mochi.as2.MochiAd.showPreGameAd = function (options) {
with (this) {
var DEFAULTS = {ad_progress:function (percent) {
}, ad_skipped:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
}, ad_finished:function () {
this.clip.play();
}, ad_started:function () {
this.clip.stop();
}, no_progress_bar:false, outline:13994812, background:16777161, color:16747008, method:"showPreloaderAd", regpt:"o", fadeout_time:250, ad_timeout:3000, clip:_root};
options = mochi.as2.MochiAd._parseOptions(options, DEFAULTS);
var clip = options.clip;
var ad_msec = 11000;
var ad_timeout = options.ad_timeout;
if (options.skip) {
ad_timeout = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var wh = mochi.as2.MochiAd._getRes(options);
var w = wh[0];
var h = wh[1];
mc._x = w * 0.5;
mc._y = h * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = w * -0.5;
chk._y = h * -0.5;
var bar = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
bar._visible = false;
delete options.no_progress_bar;
} else {
bar._x = 10;
bar._y = h - 20;
}
var bar_color = options.color;
delete options.color;
var bar_background = options.background;
delete options.background;
var bar_outline = options.outline;
delete options.outline;
var backing = bar.createEmptyMovieClip("_outline", 1);
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo(w - 20, 0);
backing.lineTo(w - 20, 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
var inside = bar.createEmptyMovieClip("_inside", 2);
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo(w - 20, 0);
inside.lineTo(w - 20, 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside._xscale = 0;
var outline = bar.createEmptyMovieClip("_outline", 3);
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo(w - 20, 0);
outline.lineTo(w - 20, 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (p > 0) {
this._parent._alpha = p;
} else {
var _clip = this._parent._parent;
mochi.as2.MochiAd.unload(_clip);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _chk = this.mc._mochiad_wait;
_chk.server_control = true;
_chk.started = getTimer();
_chk.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
chk.onEnterFrame = function () {
var _clip = this._parent._parent;
var loader = _clip;
while (!(loader.getBytesTotal() || (!loader))) {
loader = loader._parent;
}
if (!loader) {
loader = _root;
}
var ad_clip = this._parent._mochiad_ctr;
var elapsed = (getTimer() - this.started);
var finished = false;
var clip_total = loader.getBytesTotal();
var clip_loaded = loader.getBytesLoaded();
var clip_pcnt = ((100 * clip_loaded) / clip_total);
var ad_pcnt = ((100 * elapsed) / chk.ad_msec);
var _inside = this._mochiad_bar._inside;
var pcnt = Math.min(Math.min(ad_pcnt, clip_pcnt || 0), 100);
pcnt = Math.max(pcnt, this.last_pcnt);
this.last_pcnt = pcnt;
_inside._xscale = pcnt;
options.ad_progress(pcnt);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {pcnt:clip_pcnt, id:"hostLoadPcnt"}, clip._mochiad._containerLCName);
if (clip_pcnt == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var total = ad_clip.getBytesTotal();
if (!((total <= 0) && (typeof(total) != "undefined"))) {
chk.showing = true;
chk.started = getTimer();
} else if (!((elapsed <= chk.ad_timeout) || (clip_pcnt != 100))) {
options.ad_failed();
finished = true;
}
}
if (elapsed > chk.ad_msec) {
finished = true;
}
if (!((clip_total <= 0) || ((clip_loaded < clip_total) || (!finished)))) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
};
mochi.as2.MochiAd.showClickAwayAd = function (options) {
with (this) {
var DEFAULTS = {ad_skipped:function () {
}, ad_failed:function () {
}, ad_loaded:function (width, height) {
}, ad_finished:function () {
}, ad_started:function () {
}, no_bg:true, res:"300x250", method:"showClickAwayAd", regpt:"o", fadeout_time:250, ad_timeout:2000, clip:_root};
options = mochi.as2.MochiAd._parseOptions(options, DEFAULTS);
var clip = options.clip;
var ad_timeout = options.ad_timeout;
delete options.ad_timeout;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var wh = mochi.as2.MochiAd._getRes(options);
var w = wh[0];
var h = wh[1];
mc._x = w * 0.5;
mc._y = h * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
var sendHostProgress = false;
chk.onEnterFrame = function () {
var ad_clip = this._parent._mochiad_ctr;
var elapsed = (getTimer() - this.started);
var finished = false;
if (!chk.showing) {
var total = ad_clip.getBytesTotal();
if (!((total <= 0) && (typeof(total) != "undefined"))) {
finished = true;
chk.showing = true;
chk.started = getTimer();
} else if (elapsed > chk.ad_timeout) {
options.ad_failed();
finished = true;
}
}
if (finished) {
delete this.onEnterFrame;
}
};
}
};
mochi.as2.MochiAd.showInterLevelAd = function (options) {
with (this) {
var DEFAULTS = {ad_skipped:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
}, ad_finished:function () {
this.clip.play();
}, ad_started:function () {
this.clip.stop();
}, method:"showTimedAd", regpt:"o", fadeout_time:250, ad_timeout:2000, clip:_root};
options = mochi.as2.MochiAd._parseOptions(options, DEFAULTS);
var clip = options.clip;
var ad_msec = 11000;
var ad_timeout = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var wh = mochi.as2.MochiAd._getRes(options);
var w = wh[0];
var h = wh[1];
mc._x = w * 0.5;
mc._y = h * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (p > 0) {
this._parent._alpha = p;
} else {
var _clip = this._parent._parent;
mochi.as2.MochiAd.unload(_clip);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _chk = this.mc._mochiad_wait;
_chk.server_control = true;
_chk.started = getTimer();
_chk.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
chk.onEnterFrame = function () {
var ad_clip = this._parent._mochiad_ctr;
var elapsed = (getTimer() - this.started);
var finished = false;
if (!chk.showing) {
var total = ad_clip.getBytesTotal();
if (!((total <= 0) && (typeof(total) != "undefined"))) {
chk.showing = true;
chk.started = getTimer();
} else if (elapsed > chk.ad_timeout) {
options.ad_failed();
finished = true;
}
}
if (elapsed > chk.ad_msec) {
finished = true;
}
if (finished) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
};
mochi.as2.MochiAd.showPreloaderAd = function (options) {
with (this) {
mochi.as2.MochiAd.showPreGameAd(options);
}
};
mochi.as2.MochiAd.showTimedAd = function (options) {
with (this) {
mochi.as2.MochiAd.showInterLevelAd(options);
}
};
mochi.as2.MochiAd._allowDomains = function (server) {
with (this) {
var hostname = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(hostname);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(hostname);
}
}
return(hostname);
}
};
mochi.as2.MochiAd.load = function (options) {
with (this) {
var DEFAULTS = {id:"_UNKNOWN_", depth:10333, method:"load", server:"http://x.mochiads.com/srv/1/", clip:_root};
options = mochi.as2.MochiAd._parseOptions(options, DEFAULTS);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = mochi.as2.MochiAd.getVersion();
var clip = options.clip;
if (!mochi.as2.MochiAd._isNetworkAvailable()) {
return(null);
}
if (clip._mochiad_loaded) {
return(null);
}
var depth = options.depth;
delete options.depth;
var mc = clip.createEmptyMovieClip("_mochiad", depth);
var wh = mochi.as2.MochiAd._getRes(options);
options.res = (wh[0] + "x") + wh[1];
var _local1 = "server";
options[_local1] = options[_local1] + options.id;
delete options.id;
clip._mochiad_loaded = true;
if (clip._url.indexOf("http") != 0) {
}
var lv = mc.createEmptyMovieClip("_mochiad_ctr", 1);
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (k == undefined) {
var k = null;
}
for (_reg0 in options) {
in options;
k = _reg0;
lv[k] = options[k];
}
for (_reg0 in options) {
}
var server = lv.server;
delete lv.server;
var hostname = mochi.as2.MochiAd._allowDomains(server);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var lc = new Object();
var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
lc.mc = mc;
lc.name = name;
lc.hostname = hostname;
lc.allowDomain = function (d) {
return(true);
};
lc.allowInsecureDomain = lc.allowDomain;
lc.connect(name);
mc.lc = lc;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
lv.lc = name;
lv.st = getTimer();
if (!options.skip) {
lv.loadMovie(server + ".swf", "POST");
}
return(mc);
}
};
mochi.as2.MochiAd.unload = function (clip) {
with (this) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (!((!clip.clip) || (!clip.clip._mochiad))) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
};
mochi.as2.MochiAd._isNetworkAvailable = function () {
with (this) {
if (System.security) {
var o = System.security;
if (o.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
};
mochi.as2.MochiAd._getRes = function (options) {
with (this) {
var b = options.clip.getBounds();
var w = 0;
var h = 0;
if (typeof(options.res) != "undefined") {
var xy = options.res.split("x");
w = parseFloat(xy[0]);
h = parseFloat(xy[1]);
} else {
w = b.xMax - b.xMin;
h = b.yMax - b.yMin;
}
if (!((w != 0) && (h != 0))) {
w = Stage.width;
h = Stage.height;
}
return([w, h]);
}
};
mochi.as2.MochiAd._parseOptions = function (options, defaults) {
with (this) {
var optcopy = {};
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (k == undefined) {
var k = null;
}
for (_reg0 in defaults) {
in defaults;
k = _reg0;
optcopy[k] = defaults[k];
}
for (_reg0 in defaults) {
}
if (options) {
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (k == undefined) {
var k = null;
}
for (_reg0 in options) {
in options;
k = _reg0;
optcopy[k] = options[k];
}
if ((in options) != null) {
// unexpected jump
}
}
if (_root.mochiad_options) {
var pairs = _root.mochiad_options.split("&");
var i = 0;
for ( ; i < pairs.length ; i++) {
var kv = pairs[i].split("=");
optcopy[unescape(kv[0])] = unescape(kv[1]);
}
}
if (optcopy.id == "test") {
}
return(optcopy);
}
};
mochi.as2.MochiAd.rpc = function (clip, callbackID, arg) {
with (this) {
arg.id;
if (arg.id != "setValue") {
if (arg.id != "getValue") {
if (arg.id != "runMethod") {
return;
mochi.as2.MochiAd.setValue(clip, arg.objectName, arg.value);
return;
var val = mochi.as2.MochiAd.getValue(clip, arg.objectName);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, val, clip._mochiad._containerLCName);
return;
}
}
} else {
mochi.as2.MochiAd.setValue(clip, arg.objectName, arg.value);
return;
var val = mochi.as2.MochiAd.getValue(clip, arg.objectName);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, val, clip._mochiad._containerLCName);
return;
var ret = mochi.as2.MochiAd.runMethod(clip, arg.method, arg.args);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, ret, clip._mochiad._containerLCName);
}
}
};
mochi.as2.MochiAd.setValue = function (base, objectName, value) {
with (this) {
var nameArray = Array(objectName.split("."));
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (i == undefined) {
var i = NaN;
}
i = 0;
for ( ; i < (nameArray.length - 1) ; i++) {
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (!((base[nameArray[i]] != undefined) && (base[nameArray[i]] != null))) {
return(undefined);
}
base = base[nameArray[i]];
}
base[nameArray[i]] = value;
}
};
mochi.as2.MochiAd.getValue = function (base, objectName) {
with (this) {
var nameArray = Array(objectName.split("."));
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (i == undefined) {
var i = NaN;
}
i = 0;
for ( ; i < (nameArray.length - 1) ; i++) {
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (!((base[nameArray[i]] != undefined) && (base[nameArray[i]] != null))) {
return(undefined);
}
base = base[nameArray[i]];
}
return(base[nameArray[i]]);
}
};
mochi.as2.MochiAd.runMethod = function (base, methodName, argsArray) {
with (this) {
var nameArray = Array(methodName.split("."));
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (i == undefined) {
var i = NaN;
}
i = 0;
for ( ; i < (nameArray.length - 1) ; i++) {
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (!((base[nameArray[i]] != undefined) && (base[nameArray[i]] != null))) {
return(undefined);
}
base = base[nameArray[i]];
}
if (typeof(base[nameArray[i]]) == "function") {
return(base[nameArray[i]].apply(base, argsArray));
}
return(undefined);
}
};
mochi.as2.MochiAd.containerNotify = function (clip, args, lcName) {
with (this) {
var container = clip._mochiad._mochiad_ctr.ad.app;
if (container.notify) {
container.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
};
mochi.as2.MochiAd.containerRpcResult = function (clip, callbackID, val, lcName) {
with (this) {
var container = clip._mochiad._mochiad_ctr.ad.app;
if (container.rpcResult) {
container.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
};
#endinitclip
Symbol 17 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
parameters = {};
properties = parameters;
}
} else {
// unexpected jump
}
};
stop();
Symbol 23 Button
on (press) {
tellTarget ("..") {
getURL("http://flashmaster.co.cc", "_blank");
}
}
Symbol 28 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
this._parent.createEmptyMovieClip("tv_static", 1);
tv_static._x = tv_mc._x;
tv_static._y = tv_mc._y;
var bitmap_data = (new flash.display.BitmapData(tv_mc._width, tv_mc._height));
tv_static.attachBitmap(bitmap_data, 1);
tv_static.setMask(tv_mc);
onEnterFrame = function () {
tellTarget ("..") {
bitmap_data.noise(Math.floor(1000 * Math.random()), 0, 255, 7, true);
}
};
}
} else {
// unexpected jump
}
};
stop();
Symbol 34 Button
on (press) {
getURL("http://flashmaster.co.cc", "_blank");
}
Symbol 33 MovieClip Frame 71
stop();
Symbol 37 MovieClip Frame 1
if (!hasOwnProperty("_load0752FE68")) {
_load0752FE68 = true;
tellTarget ("..") {
var leange = function () {
tellTarget ("..") {
ausgabelevel = level + 1;
spr_innen_ausgabe.innen_ausgabe = (("" add kontroll_balls) add "/") add level_forderung[level];
spr_points_ausgabe.points_ausgabe = "Points: " add points;
spr_stage_ausgabe.stage_ausgabe = "Stage " add ausgabelevel;
if (kontroll_helden <= 0) {
del = level_ball_groesse[level];
for ( ; del > -5 ; del--) {
_root["ball" + del].removeMovieClip();
}
del = level_ball_groesse[level];
for ( ; del > -5 ; del--) {
_root["green_ball" + del].removeMovieClip();
}
del = black_holes;
for ( ; del > -5 ; del--) {
_root["black_hole" + del].removeMovieClip();
}
del = level_balls_orange[level];
for ( ; del > -5 ; del--) {
_root["orange_ball" + del].removeMovieClip();
}
del = bonus_balls_1[level] + one_more_ball_level;
for ( ; del > -5 ; del--) {
_root["bonus_1" + del].removeMovieClip();
}
platzieren_held = 0;
if (kontroll_balls >= level_forderung[level]) {
var _local1 = "level";
_root[_local1]++;
fenster.ausgabe = "Level Clear\nPoints: " add points;
fenster.button_ausgabe = "Next";
clear_sound.gotoAndPlay(2);
if (_root.level == _root.level_balls.length) {
fenster.ausgabe = "You have all Levels Clear";
fenster.button_ausgabe = "Again";
_root.level = 0;
_root.points = 0;
_local1 = "game_round";
_root[_local1]++;
}
} else {
fenster.ausgabe = "Sorry\nPoints: " add points;
fenster.button_ausgabe = "Again";
_root.sorry_sound.gotoAndPlay(2);
}
_root.laser_1.clear();
_root.laser_2.clear();
fenster._x = Stage.width / 2;
fenster._y = Stage.height / 2;
spr_stage_ausgabe.stage_ausgabe = "Stage " add ausgabelevel;
spr_points_ausgabe.points_ausgabe = "Points: " add points;
delete onEnterFrame;
}
}
};
}
} else {
// unexpected jump
}
var duplicate_balls = function () {
tellTarget ("..") {
i = 0;
for ( ; i < balls ; i++) {
ball.duplicateMovieClip("ball" + i, getNextHighestDepth());
ball._x = ((600 - 0) * (random(100001) / 100000)) + 0;
ball._y = ((440 - 0) * (random(100001) / 100000)) + 0;
_root["ball" + i].dir = (Math.random() * 2) * Math.PI;
_root["ball" + i].onEnterFrame = function () {
this.xspeed = _root.level_ball_speed[_root.level] * Math.cos(this.dir);
this.yspeed = _root.level_ball_speed[_root.level] * Math.sin(this.dir);
var _local1 = "_x";
this[_local1] = this[_local1] + this.xspeed;
_local1 = "_y";
this[_local1] = this[_local1] + this.yspeed;
if (this._x < -20) {
this._x = 660;
}
if (this._x > 660) {
this._x = 0;
}
if (this._y < -20) {
this._y = 500;
}
if (this._y > 500) {
this._y = 0;
}
};
}
ball._x = -100;
ball._y = -100;
i = 0;
for ( ; i < balls_green ; i++) {
green_ball.duplicateMovieClip("green_ball" + i, getNextHighestDepth());
green_ball._x = ((600 - 0) * (random(100001) / 100000)) + 0;
green_ball._y = ((440 - 0) * (random(100001) / 100000)) + 0;
_root["green_ball" + i].dir = (Math.random() * 2) * Math.PI;
_root["green_ball" + i].onEnterFrame = function () {
this.xspeed = _root.level_green_ball_speed[_root.level] * Math.cos(this.dir);
this.yspeed = _root.level_green_ball_speed[_root.level] * Math.sin(this.dir);
var _local1 = "_x";
this[_local1] = this[_local1] + this.xspeed;
_local1 = "_y";
this[_local1] = this[_local1] + this.yspeed;
if (this._x < -20) {
this._x = 660;
}
if (this._x > 660) {
this._x = 0;
}
if (this._y < -20) {
this._y = 500;
}
if (this._y > 500) {
this._y = 0;
}
};
}
green_ball._x = -100;
green_ball._y = -100;
i = 0;
for ( ; i < black_holes ; i++) {
black_hole.duplicateMovieClip("black_hole" + i, getNextHighestDepth());
black_hole._x = ((600 - 0) * (random(100001) / 100000)) + 0;
black_hole._y = ((440 - 0) * (random(100001) / 100000)) + 0;
_root["black_hole" + i].dir = (Math.random() * 2) * Math.PI;
_root["black_hole" + i].onEnterFrame = function () {
this.xspeed = _root.level_black_hole_speed[_root.level] * Math.cos(this.dir);
this.yspeed = _root.level_black_hole_speed[_root.level] * Math.sin(this.dir);
var _local1 = "_x";
this[_local1] = this[_local1] + this.xspeed;
_local1 = "_y";
this[_local1] = this[_local1] + this.yspeed;
if (this._x < -20) {
this._x = 660;
}
if (this._x > 660) {
this._x = 0;
}
if (this._y < -20) {
this._y = 500;
}
if (this._y > 500) {
this._y = 0;
}
};
}
black_hole._x = -100;
black_hole._y = -100;
i = 0;
for ( ; i < balls_orange ; i++) {
orange_ball.duplicateMovieClip("orange_ball" + i, getNextHighestDepth());
orange_ball._x = ((600 - 0) * (random(100001) / 100000)) + 0;
orange_ball._y = ((440 - 0) * (random(100001) / 100000)) + 0;
_root["orange_ball" + i].dir = (Math.random() * 2) * Math.PI;
_root["orange_ball" + i].onEnterFrame = function () {
this.xspeed = _root.level_orange_ball_speed[_root.level] * Math.cos(this.dir);
this.yspeed = _root.level_orange_ball_speed[_root.level] * Math.sin(this.dir);
var _local1 = "_x";
this[_local1] = this[_local1] + this.xspeed;
_local1 = "_y";
this[_local1] = this[_local1] + this.yspeed;
if (this._x < -20) {
this._x = 660;
}
if (this._x > 660) {
this._x = 0;
}
if (this._y < -20) {
this._y = 500;
}
if (this._y > 500) {
this._y = 0;
}
};
}
orange_ball._x = -100;
orange_ball._y = -100;
i = 0;
for ( ; i < b_balls1 ; i++) {
bonus_1.duplicateMovieClip("bonus_1" + i, getNextHighestDepth());
bonus_1._x = ((600 - 40) * (random(100001) / 100000)) + 40;
bonus_1._y = ((440 - 40) * (random(100001) / 100000)) + 40;
_root["bonus_1" + i].dir = (Math.random() * 2) * Math.PI;
_root["bonus_1" + i].onEnterFrame = function () {
this.xspeed = _root.bonus_balls_1_speed[_root.level] * Math.cos(this.dir);
this.yspeed = _root.bonus_balls_1_speed[_root.level] * Math.sin(this.dir);
var _local1 = "_x";
this[_local1] = this[_local1] + this.xspeed;
_local1 = "_y";
this[_local1] = this[_local1] + this.yspeed;
if (this._x < -20) {
this._x = 660;
}
if (this._x > 660) {
this._x = 0;
}
if (this._y < -20) {
this._y = 500;
}
if (this._y > 500) {
this._y = 0;
}
};
_root["bonus_1" + i].onPress = function () {
if (_root.platzieren_held == 0) {
var _local1 = "kontroll_balls";
_root[_local1]++;
_root.points = _root.points + 8;
_root.laser_1.lineStyle(6, 16449535, 50);
_root.laser_1.moveTo(0, 480);
_root.laser_1.lineTo(_root._xmouse, _root._ymouse);
_root.laser_2.lineStyle(6, 16449535, 50);
_root.laser_2.moveTo(640, 480);
_root.laser_2.lineTo(_root._xmouse, _root._ymouse);
this.nextFrame();
this.play();
}
};
}
bonus_1._x = -100;
bonus_1._y = -100;
fadenkreuz_spr.swapDepths(getNextHighestDepth());
}
};
// unexpected jump
// unexpected jump
var create_held = function () {
tellTarget ("..") {
var _local1 = "b";
_root[_local1]++;
_root.held._x = _root.x;
_root.held._y = _root.y;
held.duplicateMovieClip("held_box1" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box1" + _root.b].onEnterFrame = function () {
var _local1 = "_x";
this[_local1] = this[_local1] + _root.level_held_speed[_root.level];
if (this._x > 660) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 25;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 35;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
held.duplicateMovieClip("held_box2" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box2" + _root.b].onEnterFrame = function () {
var _local1 = "_x";
this[_local1] = this[_local1] - _root.level_held_speed[_root.level];
if (this._x < -20) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 25;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 35;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
held.duplicateMovieClip("held_box3" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box3" + _root.b].onEnterFrame = function () {
var _local1 = "_y";
this[_local1] = this[_local1] + _root.level_held_speed[_root.level];
if (this._y > 500) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 25;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 35;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
held.duplicateMovieClip("held_box4" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box4" + _root.b].onEnterFrame = function () {
var _local1 = "_y";
this[_local1] = this[_local1] - _root.level_held_speed[_root.level];
if (this._y < -20) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 25;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 35;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
if (super_held_level >= 2) {
create_superheld();
} else {
_root.held._x = -100;
_root.held._y = -100;
}
}
};
// unexpected jump
// unexpected jump
var create_superheld = function () {
tellTarget ("..") {
held.duplicateMovieClip("held_box5" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box5" + _root.b].onEnterFrame = function () {
var _local1 = "_x";
this[_local1] = this[_local1] + _root.level_held_speed[_root.level];
_local1 = "_y";
this[_local1] = this[_local1] + _root.level_held_speed[_root.level];
if (!((this._x <= 660) && (this._y <= 500))) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 25;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 35;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
if (super_held_level >= 3) {
held.duplicateMovieClip("held_box6" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box6" + _root.b].onEnterFrame = function () {
var _local1 = "_x";
this[_local1] = this[_local1] - _root.level_held_speed[_root.level];
_local1 = "_y";
this[_local1] = this[_local1] - _root.level_held_speed[_root.level];
if (!((this._x >= -20) && (this._y >= -20))) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 25;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 35;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
}
if (super_held_level >= 4) {
held.duplicateMovieClip("held_box7" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box7" + _root.b].onEnterFrame = function () {
var _local1 = "_y";
this[_local1] = this[_local1] + _root.level_held_speed[_root.level];
_local1 = "_x";
this[_local1] = this[_local1] - _root.level_held_speed[_root.level];
if (!((this._y <= 500) && (this._x >= -20))) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 25;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 35;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
}
if (super_held_level >= 5) {
held.duplicateMovieClip("held_box8" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box8" + _root.b].onEnterFrame = function () {
var _local1 = "_y";
this[_local1] = this[_local1] - _root.level_held_speed[_root.level];
_local1 = "_x";
this[_local1] = this[_local1] + _root.level_held_speed[_root.level];
if (!((this._y >= -20) && (this._x <= 660))) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 25;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 35;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
}
_root.held._x = -100;
_root.held._y = -100;
}
};
// unexpected jump
// unexpected jump
var create_held_from_green = function () {
tellTarget ("..") {
var _local1 = "b";
_root[_local1]++;
_root.held_from_green._x = _root.x;
_root.held_from_green._y = _root.y;
held_from_green.duplicateMovieClip("held_box1" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box1" + _root.b].onEnterFrame = function () {
var _local1 = "_x";
this[_local1] = this[_local1] + _root.level_held_from_green_speed[_root.level];
_local1 = "_y";
this[_local1] = this[_local1] + _root.level_held_from_green_speed[_root.level];
if (this._x > 660) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 29;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 39;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
held_from_green.duplicateMovieClip("held_box2" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box2" + _root.b].onEnterFrame = function () {
var _local1 = "_x";
this[_local1] = this[_local1] - _root.level_held_from_green_speed[_root.level];
_local1 = "_y";
this[_local1] = this[_local1] - _root.level_held_from_green_speed[_root.level];
if (this._x < -20) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 29;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 39;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
held_from_green.duplicateMovieClip("held_box3" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box3" + _root.b].onEnterFrame = function () {
var _local1 = "_y";
this[_local1] = this[_local1] + _root.level_held_from_green_speed[_root.level];
_local1 = "_x";
this[_local1] = this[_local1] - _root.level_held_from_green_speed[_root.level];
if (this._y > 500) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 29;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 39;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
held_from_green.duplicateMovieClip("held_box4" + _root.b, getNextHighestDepth());
kontroll_helden++;
_root["held_box4" + _root.b].onEnterFrame = function () {
var _local1 = "_y";
this[_local1] = this[_local1] - _root.level_held_from_green_speed[_root.level];
_local1 = "_x";
this[_local1] = this[_local1] + _root.level_held_from_green_speed[_root.level];
if (this._y < -20) {
_local1 = "kontroll_helden";
_root[_local1]--;
this.removeMovieClip();
}
i = 0;
for ( ; i <= _root.balls ; i++) {
if (_root["ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["ball" + i]._x;
_root.y = _root["ball" + i]._y;
_root["ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.points = _root.points + 29;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_green ; i++) {
if (_root["green_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["green_ball" + i]._x;
_root.y = _root["green_ball" + i]._y;
_root["green_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held_from_green();
_root.points = _root.points + 39;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.black_holes ; i++) {
if (_root["black_hole" + i].hitTest(this)) {
_root.black_hole_sound.gotoAndPlay(2);
_root.x = _root["black_hole" + i]._x;
_root.y = _root["black_hole" + i]._y;
_local1 = "kontroll_helden";
_root[_local1]--;
_root.points = _root.points - 5;
this.removeMovieClip();
}
}
i = 0;
for ( ; i <= _root.balls_orange ; i++) {
if (_root["orange_ball" + i].hitTest(this)) {
_local1 = "kontroll_balls";
_root[_local1]++;
_root.blob_sound.gotoAndPlay(2);
_root.x = _root["orange_ball" + i]._x;
_root.y = _root["orange_ball" + i]._y;
_root["orange_ball" + i].removeMovieClip();
_local1 = "kontroll_helden";
_root[_local1]--;
_root.create_held();
_root.create_held();
_root.points = _root.points + 120;
this.removeMovieClip();
}
}
};
_root.held_from_green._x = -100;
_root.held_from_green._y = -100;
}
};
// unexpected jump
// unexpected jump
var upgrade_ausgabe = function () {
tellTarget ("..") {
upgrade_fenster.superheld_upgrade_spr.super_held_level_ausgabe = (super_held_level add "/") add super_held_level_max_upgrade;
upgrade_fenster.one_more_bonus_ball.upgrade_level_ausgabe = (one_more_ball_level add "/") add one_more_ball_level_max_upgrade;
upgrade_fenster.player_upgrade_spr.upgrade_level_ausgabe = (shotspeed_level add "/") add shotspeed_max;
upgrade_fenster.doppel_held.upgrade_level_ausgabe = (platzieren add "/") add doppel_held_max;
upgrade_fenster.fadenkreuz_upgr.upgrade_level_ausgabe = fadenkreuz_see;
}
};
// unexpected jump
// unexpected jump
var fadenkreuz_visible = function () {
tellTarget ("..") {
Mouse.hide();
fadenkreuz_spr.startDrag(true);
fadenkreuz_spr._visible = true;
}
};
// unexpected jump
// unexpected jump
var fadenkreuz_hide = function () {
tellTarget ("..") {
Mouse.show();
fadenkreuz_spr.stopDrag();
fadenkreuz_spr._visible = false;
}
};
// unexpected jump
// unexpected jump
_lockroot = true;
miner._visible = false;
shooting_level._visible = false;
level_forderung = new Array(1, 2, 4, 5, 5, 10, 12, 15, 15, 15, 16, 18, 20, 21, 22, 23, 24, 25, 25, 25, 25, 25, 25, 26, 27, 28, 29, 30, 30, 30, 30, 30, 20, 20, 20, 20, 20, 20, 20, 20, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39);
miner_visible = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
miner_balls = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20);
miner_timer = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15);
shooting_level_visible = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0);
shooting_level_gegner_speed = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0);
level_balls = new Array(2, 10, 10, 10, 10, 20, 20, 20, 20, 0, 20, 20, 25, 25, 25, 25, 25, 35, 35, 0, 35, 35, 30, 25, 25, 25, 26, 26, 24, 0, 25, 25, 15, 15, 15, 15, 15, 15, 15, 0, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33);
level_ball_speed = new Array(2, 2, 4, 4, 6, 6, 6, 6, 6, 0, 8, 8, 8, 8, 8, 8, 8, 10, 10, 0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 0, 10, 10, 11, 11, 11, 12, 12, 12, 12, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0);
level_ball_groesse = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 80, 80, 80, 80, 80, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50);
bonus_balls_1 = new Array(0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 4, 4, 4, 4, 4, 2, 2, 2, 2, 0, 4, 4, 4, 4, 6, 6, 6, 6, 6, 0, 8, 8, 8, 8, 8, 8, 8, 9, 9, 0, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9);
bonus_balls_1_speed = new Array(0, 0, 0, 0, 0, 0, 0, 2, 4, 0, 4, 4, 4, 4, 4, 6, 6, 6, 6, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 6, 6, 7, 7, 7, 8, 8, 8, 8, 0, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9);
bonus_balls_1_groesse = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 60, 60, 80, 80, 80, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70);
level_balls_green = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 2, 2, 3, 3, 3, 3, 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0);
level_green_ball_speed = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0);
level_green_ball_groesse = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40);
level_balls_orange = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 3, 3, 3, 3, 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0);
level_orange_ball_speed = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0);
level_orange_ball_groesse = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60);
level_black_hole = new Array(0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 3, 3, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 3, 4, 3, 3, 3, 3, 3, 3, 3, 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0);
level_black_hole_speed = new Array(0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 3, 3, 3, 3, 3, 5, 5, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 5, 5, 5, 5, 5, 6, 6, 6, 6, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0);
level_black_hole_groesse = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 80, 60, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50);
level_held_speed = new Array(12, 12, 12, 12, 12, 12, 5, 5, 6, 6, 8, 8, 8, 8, 8, 8, 8, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11);
level_held_groesse = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 80, 80, 80, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 40, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30);
level_held_from_green_speed = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6);
level_held_from_green_groesse = new Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40);
var super_held_level = 1;
var super_held_level_max_upgrade = 5;
var super_held_level_upgrade_cost = 25000;
var one_more_ball_level = 1;
var one_more_ball_level_max_upgrade = 10;
var one_more_ball_level_upgrade_cost = 10000;
shotspeed_upgrades = new Array(0, 600, 500, 400, 300, 200, 100);
var shotspeed_max = (shotspeed_upgrades.length - 1);
var shotspeed_level = 1;
var shotspeed_upgrade_cost = 7000;
var doppel_held_upgrade_cost = 50000;
var doppel_held_max = 2;
var fadenkreuz_cost = 1000;
var fadenkreuz_gekauft = false;
var fadenkreuz_see = false;
fadenkreuz_spr._visible = false;
var points = 0;
var platzieren = 1;
var platzieren_held = 0;
var balls = 0;
var kontroll_helden = 0;
var kontroll_balls = 0;
var level = 0;
var b = 0;
var x = 0;
var y = 0;
var game_round = 0;
balls = level_balls[level];
balls_green = level_balls_green[level];
black_holes = level_black_hole[level];
b_balls1 = bonus_balls_1[level];
back.onPress = function () {
tellTarget ("..") {
helden = new Array();
if (platzieren_held >= 1) {
kontroll_balls = 0;
_root.x = _xmouse;
_root.y = _ymouse;
create_held();
platzieren_held--;
_root.onEnterFrame = _root.leange;
}
}
};
gun_1.onEnterFrame = function () {
tellTarget ("..") {
dist_x = this._x - _root._xmouse;
dist_y = this._y - _root._ymouse;
angle = Math.atan2(dist_x, dist_y) * -1;
this._rotation = (angle / (Math.PI/180)) - 90;
}
};
gun_2.onEnterFrame = function () {
tellTarget ("..") {
dist_x = this._x - _root._xmouse;
dist_y = this._y - _root._ymouse;
angle = Math.atan2(dist_x, dist_y) * -1;
this._rotation = (angle / (Math.PI/180)) - 90;
}
};
fenster.start_btn.onRelease = function () {
tellTarget ("..") {
ball._xscale = level_ball_groesse[level];
ball._yscale = ball._xscale;
held._xscale = level_held_groesse[level];
held._yscale = held._xscale;
held_from_green._xscale = level_held_from_green_groesse[level];
held_from_green._yscale = held_from_green._xscale;
green_ball._xscale = level_green_ball_groesse[level];
green_ball._yscale = green_ball._xscale;
black_hole._xscale = level_black_hole_groesse[level];
black_hole._yscale = black_hole._xscale;
orange_ball._xscale = level_orange_ball_groesse[level];
orange_ball._yscale = orange_ball._xscale;
bonus_1._xscale = bonus_balls_1_groesse[level];
bonus_1._yscale = bonus_1._xscale;
balls = level_balls[level];
balls_green = level_balls_green[level];
balls_orange = level_balls_orange[level];
black_holes = level_black_hole[level];
if (one_more_ball_level > 0) {
b_balls1 = bonus_balls_1[level] + one_more_ball_level;
} else {
b_balls1 = bonus_balls_1[level];
}
if (!((black_holes <= 0) || (_root.game_round <= 0))) {
black_holes = black_holes + _root.game_round;
}
ausgabelevel = (level+1);
spr_innen_ausgabe.innen_ausgabe = "0/" add level_forderung[level];
spr_stage_ausgabe.stage_ausgabe = "Stage " add ausgabelevel;
spr_points_ausgabe.points_ausgabe = "Points: " add points;
fenster._x = -200;
fenster._y = -200;
platzieren_held = platzieren;
if (miner_visible[level] == true) {
miner._visible = true;
miner.nextFrame();
} else if (shooting_level_visible[level] == true) {
shooting_level._visible = true;
shooting_level.gotoAndStop(2);
} else {
miner._visible = false;
shooting_level._visible = false;
duplicate_balls();
}
}
};
fenster.upgrade_btn.onRelease = function () {
tellTarget ("..") {
upgrade_fenster._x = Stage.width / 2;
upgrade_fenster._y = Stage.height / 2;
fenster._x = -200;
fenster._y = -200;
}
};
fenster.tutorial_btn.onRelease = function () {
tellTarget ("..") {
tutorial_fenster._x = Stage.width / 2;
tutorial_fenster._y = Stage.height / 2;
fenster._x = -200;
fenster._y = -200;
}
};
tutorial_fenster.back_btn.onRelease = function () {
tellTarget ("..") {
tutorial_fenster._x = -400;
tutorial_fenster._y = -400;
fenster._x = Stage.width / 2;
fenster._y = Stage.height / 2;
}
};
upgrade_fenster.back_btn.onRelease = function () {
tellTarget ("..") {
upgrade_fenster._x = -400;
upgrade_fenster._y = -400;
fenster._x = Stage.width / 2;
fenster._y = Stage.height / 2;
}
};
upgrade_fenster.superheld_upgrade_spr.super_held_level_btn.onRelease = function () {
tellTarget ("..") {
if (!((points < super_held_level_upgrade_cost) || (super_held_level >= super_held_level_max_upgrade))) {
upgrade_fenster.superheld_upgrade_spr.super_helden_level_spr.nextFrame();
super_held_level++;
buy_upgrade.gotoAndPlay(1);
points = points - super_held_level_upgrade_cost;
spr_points_ausgabe.points_ausgabe = "Points: " add points;
upgrade_ausgabe();
} else {
no_enough_points.gotoAndPlay(1);
}
}
};
upgrade_fenster.superheld_upgrade_spr.super_held_level_btn.onRollOver = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = super_held_level_upgrade_cost add " Points";
upgrade_fenster.beschreibung_spr.disctruption = "Fuegt einen weiteren Antivir dazu.";
}
};
upgrade_fenster.superheld_upgrade_spr.super_held_level_btn.onRollOut = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = "";
upgrade_fenster.beschreibung_spr.disctruption = "";
}
};
upgrade_fenster.one_more_bonus_ball.upgrade_btn.onRelease = function () {
tellTarget ("..") {
if (!((points < one_more_ball_level_upgrade_cost) || (one_more_ball_level >= one_more_ball_level_max_upgrade))) {
one_more_ball_level++;
buy_upgrade.gotoAndPlay(1);
points = points - one_more_ball_level_upgrade_cost;
spr_points_ausgabe.points_ausgabe = "Points: " add points;
upgrade_ausgabe();
} else {
no_enough_points.gotoAndPlay(1);
}
}
};
upgrade_fenster.one_more_bonus_ball.upgrade_btn.onRollOver = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = one_more_ball_level_upgrade_cost add " Points";
upgrade_fenster.beschreibung_spr.disctruption = "Du findest mehr Hacker pro Level.";
}
};
upgrade_fenster.one_more_bonus_ball.upgrade_btn.onRollOut = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = "";
upgrade_fenster.beschreibung_spr.disctruption = "";
}
};
upgrade_fenster.player_upgrade_spr.upgrade_btn.onRelease = function () {
tellTarget ("..") {
if (!((points < shotspeed_upgrade_cost) || (shotspeed_level >= shotspeed_max))) {
shotspeed_level++;
buy_upgrade.gotoAndPlay(1);
points = points - shotspeed_upgrade_cost;
spr_points_ausgabe.points_ausgabe = "Points: " add points;
upgrade_ausgabe();
} else {
no_enough_points.gotoAndPlay(1);
}
}
};
upgrade_fenster.player_upgrade_spr.upgrade_btn.onRollOver = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = shotspeed_upgrade_cost add " Points";
upgrade_fenster.beschreibung_spr.disctruption = "Schneller schiesen.";
}
};
upgrade_fenster.player_upgrade_spr.upgrade_btn.onRollOut = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = "";
upgrade_fenster.beschreibung_spr.disctruption = "";
}
};
upgrade_fenster.doppel_held.upgrade_btn.onRelease = function () {
tellTarget ("..") {
if (!((points < doppel_held_upgrade_cost) || (platzieren >= doppel_held_max))) {
platzieren++;
buy_upgrade.gotoAndPlay(1);
points = points - doppel_held_upgrade_cost;
spr_points_ausgabe.points_ausgabe = "Points: " add points;
upgrade_ausgabe();
} else {
no_enough_points.gotoAndPlay(1);
}
}
};
upgrade_fenster.doppel_held.upgrade_btn.onRollOver = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = doppel_held_upgrade_cost add " Points";
upgrade_fenster.beschreibung_spr.disctruption = "Platziere Zwei Antivir Bots.";
}
};
upgrade_fenster.doppel_held.upgrade_btn.onRollOut = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = "";
upgrade_fenster.beschreibung_spr.disctruption = "";
}
};
upgrade_fenster.fadenkreuz_upgr.upgrade_btn.onRelease = function () {
tellTarget ("..") {
if (!((points < fadenkreuz_cost) || (fadenkreuz_gekauft != false))) {
fadenkreuz_gekauft = true;
fadenkreuz_see = true;
fadenkreuz_visible();
buy_upgrade.gotoAndPlay(1);
points = points - fadenkreuz_cost;
spr_points_ausgabe.points_ausgabe = "Points: " add points;
upgrade_ausgabe();
} else {
no_enough_points.gotoAndPlay(1);
}
}
};
upgrade_fenster.fadenkreuz_upgr.visible_btn.onRelease = function () {
tellTarget ("..") {
if (!((fadenkreuz_gekauft != true) || (fadenkreuz_see != false))) {
fadenkreuz_see = true;
fadenkreuz_visible();
upgrade_ausgabe();
} else if (!((fadenkreuz_gekauft != true) || (fadenkreuz_see != true))) {
fadenkreuz_see = false;
fadenkreuz_hide();
upgrade_ausgabe();
}
}
};
upgrade_fenster.fadenkreuz_upgr.upgrade_btn.onRollOver = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = fadenkreuz_cost add " Points";
upgrade_fenster.beschreibung_spr.disctruption = "Zeigt ein Fadenkreuz.";
}
};
upgrade_fenster.fadenkreuz_upgr.upgrade_btn.onRollOut = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = "";
upgrade_fenster.beschreibung_spr.disctruption = "";
}
};
upgrade_fenster.sound_download.upgrade_btn.onRelease = function () {
tellTarget ("..") {
if (game_round >= 1) {
getURL("https://rapidshare.com/files/1701572976/music.mp3", "_blank");
}
}
};
upgrade_fenster.sound_download.upgrade_btn.onRollOver = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = "0 Points";
upgrade_fenster.beschreibung_spr.disctruption = "Spiele alle Level und du kannst den Original Virus Track runterladen.";
}
};
upgrade_fenster.sound_download.upgrade_btn.onRollOut = function () {
tellTarget ("..") {
upgrade_fenster.cost_spr.price = "";
upgrade_fenster.beschreibung_spr.disctruption = "";
}
};
fenster._x = Stage.width / 2;
fenster._y = Stage.height / 2;
fenster.ausgabe = ("Destroy the Virus\n" add _root.level_balls.length) add " Levels\nVersion 1.07.2";
fenster.button_ausgabe = "Start";
upgrade_ausgabe();
// unexpected jump
// unexpected jump
};
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
gotoAndStop(1);
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
gotoAndStop(1);
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
gotoAndStop(1);
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
gotoAndStop(1);
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 2
gotoAndStop(1);
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
gotoAndStop(1);
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
gotoAndStop(1);
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 5
_root.laser_1.clear();
_root.laser_2.clear();
Symbol 141 MovieClip Frame 41
stop();
this.removeMovieClip();
Symbol 152 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
var abziehen = function () {
tellTarget ("..") {
timer--;
timer_ausgabe = timer;
if (timer == 0) {
_parent.clear_sound.gotoAndPlay(2);
nextFrame();
play();
}
}
};
}
} else {
// unexpected jump
}
};
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
pod._x = 310;
pod._y = 0;
timer = _root.miner_timer[_root.level];
timer_ausgabe = timer;
ti = setInterval(abziehen, 1000);
bou = 0;
for ( ; bou < _root.miner_balls[_root.level] ; bou++) {
zufallstein = Math.round(((2 - 1) * (random(100001) / 100000)) + 1);
attachMovie(["boulder" + zufallstein], "boulder_" + bou, getNextHighestDepth());
this["boulder_" + bou]._x = ((600 - 40) * (random(100001) / 100000)) + 40;
this["boulder_" + bou]._y = ((440 - 40) * (random(100001) / 100000)) + 40;
groesse = ((40 - 20) * (random(100001) / 100000)) + 20;
this["boulder_" + bou]._width = groesse;
this["boulder_" + bou]._height = this["boulder_" + bou]._width;
this["boulder_" + bou].picked = false;
this["boulder_" + bou].onEnterFrame = function () {
if (!this.picked) {
if (!((pod_status != "shoot") || (!this.hitTest(hot_spot_x, hot_spot_y, true)))) {
pod_status = "rewind";
this.picked = true;
slowdown = Math.floor(this._width / 5);
}
} else {
this._x = hot_spot_x;
this._y = hot_spot_y;
if (pod_status == "rotate") {
_root.points = (_root.points + Math.ceil(this._width)) + 200;
_root.spr_points_ausgabe.points_ausgabe = "Points: " add _root.points;
_root.mine_sound.gotoAndPlay(2);
this.removeMovieClip();
}
}
};
}
createEmptyMovieClip("rod", _root.getNextHighestDepth());
rotation_dir = 2;
pod_status = "rotate";
slowdown = 0;
pod_speed = 4;
pod.onEnterFrame = function () {
myColor = Math.round(Math.random() * 16777215);
if (pod_status != "rotate") {
if (pod_status != "shoot") {
if (pod_status != "rewind") {
return;
if (Key.isDown(37)) {
var _local1 = "_x";
this[_local1] = this[_local1] - pod_speed;
if (this._x < 20) {
this._x = 20;
}
}
if (Key.isDown(39)) {
var _local1 = "_x";
this[_local1] = this[_local1] + pod_speed;
if (this._x > 480) {
this._x = 480;
}
}
var _local1 = "_rotation";
this[_local1] = this[_local1] + rotation_dir;
if (!((this._rotation != 80) && (this._rotation != -80))) {
rotation_dir = rotation_dir * -1;
}
return;
slowdown = 0;
_local1 = "_x";
this[_local1] = this[_local1] + (10 * Math.cos(dir));
_local1 = "_y";
this[_local1] = this[_local1] + (10 * Math.sin(dir));
hot_spot_x = this._x + (40 * Math.cos(dir));
hot_spot_y = this._y + (40 * Math.sin(dir));
if (!((hot_spot_y <= 480) && ((hot_spot_x >= 0) && (hot_spot_x <= 640)))) {
pod_status = "rewind";
}
rod.clear();
rod.lineStyle(1, myColor);
rod.moveTo(start_rope_x, 0);
rod.lineTo(this._x, this._y);
return;
}
}
} else {
if (Key.isDown(37)) {
var _local1 = "_x";
this[_local1] = this[_local1] - pod_speed;
if (this._x < 20) {
this._x = 20;
}
}
if (Key.isDown(39)) {
var _local1 = "_x";
this[_local1] = this[_local1] + pod_speed;
if (this._x > 480) {
this._x = 480;
}
}
var _local1 = "_rotation";
this[_local1] = this[_local1] + rotation_dir;
if (!((this._rotation != 80) && (this._rotation != -80))) {
rotation_dir = rotation_dir * -1;
}
return;
slowdown = 0;
_local1 = "_x";
this[_local1] = this[_local1] + (10 * Math.cos(dir));
_local1 = "_y";
this[_local1] = this[_local1] + (10 * Math.sin(dir));
hot_spot_x = this._x + (40 * Math.cos(dir));
hot_spot_y = this._y + (40 * Math.sin(dir));
if (!((hot_spot_y <= 480) && ((hot_spot_x >= 0) && (hot_spot_x <= 640)))) {
pod_status = "rewind";
}
rod.clear();
rod.lineStyle(1, myColor);
rod.moveTo(start_rope_x, 0);
rod.lineTo(this._x, this._y);
return;
rod.clear();
hot_spot_x = this._x + (40 * Math.cos(dir));
hot_spot_y = this._y + (40 * Math.sin(dir));
_local1 = "_x";
this[_local1] = this[_local1] - ((10 - slowdown) * Math.cos(dir));
_local1 = "_y";
this[_local1] = this[_local1] - ((10 - slowdown) * Math.sin(dir));
if (this._y < 0) {
this._y = 0;
this._x = start_rope_x;
pod_status = "rotate";
} else {
rod.lineStyle(1, myColor);
rod.moveTo(start_rope_x, 0);
rod.lineTo(this._x, this._y);
}
}
};
down_button.onMouseDown = function () {
if (pod_status == "rotate") {
dir = (pod._rotation + 90) * 0.0174532925;
start_rope_x = pod._x;
pod_status = "shoot";
}
};
stop();
Symbol 159 MovieClip Frame 3
stop();
clearInterval(ti);
rod.clear();
_root.fenster._visible = true;
_root.fenster._x = Stage.width / 2;
_root.fenster._y = Stage.height / 2;
delete pod.onEnterFrame;
var _local1 = "level";
_root[_local1]++;
if (_root.level == _root.level_balls.length) {
_root.fenster.ausgabe = "You have all Levels Clear";
_root.fenster.button_ausgabe = "Again";
_root.level = 0;
_root.points = 0;
_local1 = "game_round";
_root[_local1]++;
} else {
_root.fenster.ausgabe = "Level Clear\nPoints: " add _root.points;
_root.fenster.button_ausgabe = "Next";
}
gotoAndStop(1);
Symbol 160 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
var end_game = function () {
tellTarget ("..") {
if (_level0.fadenkreuz_see == false) {
Mouse.show();
stopDrag();
}
fadenkreuz._x = -100;
fadenkreuz._y = -100;
delete player.onEnterFrame;
delete playerfolger.onEnterFrame;
delete this.onEnterFrame;
clearInterval(shot);
clearInterval(gegner_interval);
i = 0;
for ( ; i <= _root.anzahl_gegner ; i++) {
_root["gegner" + i].removeMovieClip();
}
_level0.fenster._visible = true;
_level0.fenster._x = Stage.width / 2;
_level0.fenster._y = Stage.height / 2;
var _local1 = "level";
_level0[_local1]++;
if (_level0.level == _root.level_balls.length) {
_level0.fenster.ausgabe = "You have all Levels Clear";
_level0.fenster.button_ausgabe = "Again";
_level0.level = 0;
_level0.points = 0;
_local1 = "game_round";
_root[_local1]++;
} else {
_level0.fenster.ausgabe = "Level Clear\nPoints: " add _level0.points;
_level0.fenster.button_ausgabe = "Next";
}
gotoAndStop(1);
}
};
}
} else {
// unexpected jump
}
var make_gegner = function () {
tellTarget ("..") {
zufall_maker = random(4);
if (zufall_maker != 0) {
if (zufall_maker != 1) {
if (zufall_maker != 2) {
if (zufall_maker != 3) {
// unexpected jump
x = ((640 - 0) * (random(100001) / 100000)) + 0;
y = ((-80 - -40) * (random(100001) / 100000)) + -40;
// unexpected jump
x = ((640 - 0) * (random(100001) / 100000)) + 0;
y = ((5220 - 500) * (random(100001) / 100000)) + 500;
// unexpected jump
x = ((-80 - -40) * (random(100001) / 100000)) + -40;
y = ((480 - 0) * (random(100001) / 100000)) + 0;
// unexpected jump
}
}
}
} else {
x = ((640 - 0) * (random(100001) / 100000)) + 0;
y = ((-80 - -40) * (random(100001) / 100000)) + -40;
// unexpected jump
x = ((640 - 0) * (random(100001) / 100000)) + 0;
y = ((5220 - 500) * (random(100001) / 100000)) + 500;
// unexpected jump
x = ((-80 - -40) * (random(100001) / 100000)) + -40;
y = ((480 - 0) * (random(100001) / 100000)) + 0;
// unexpected jump
x = ((720 - 700) * (random(100001) / 100000)) + 700;
y = ((480 - 0) * (random(100001) / 100000)) + 0;
}
_root.attachMovie("gegner", "gegner" + _root.anzahl_gegner, _root.getNextHighestDepth(), {_y:y, _x:x});
_root["gegner" + anzahl_gegner].onEnterFrame = function () {
dist_x = _parent.player._x - this._x;
dist_y = _parent.player._y - this._y;
angle = Math.atan2(dist_y, dist_x);
this._x = this._x + (_root.gegner_speed * Math.cos(angle));
this._y = this._y + (_root.gegner_speed * Math.sin(angle));
this._rotation = angle / (Math.PI/180);
if (_root.player.hitTest(this)) {
_root.attachMovie("gegner_effekt", "gegner_effekt" + this._x, _root.getNextHighestDepth(), {_y:this._y, _x:this._x});
_root["gegner_effekt" + this._x].gotoAndPlay(2);
_root.live = _root.live - 5;
_root.leben_anzeigen();
this.removeMovieClip();
}
};
var _local1 = "anzahl_gegner";
_root[_local1]++;
}
};
// unexpected jump
// unexpected jump
var leben_anzeigen = function () {
tellTarget ("..") {
lebens_anzeige.balken._xscale = live;
}
};
// unexpected jump
// unexpected jump
var schiessen = function () {
tellTarget ("..") {
gun_sound1.gotoAndPlay(2);
angle = player._rotation;
x = player._x + (30 * Math.cos((angle * Math.PI) / 180));
y = player._y + (30 * Math.sin((angle * Math.PI) / 180));
attachMovie("cannonball", "cannonball" + depth, _root.getNextHighestDepth(), {_y:y, _x:x});
_root["cannonball" + depth].dirx = Math.cos((angle * Math.PI) / 180) * 600;
_root["cannonball" + depth].diry = Math.sin((angle * Math.PI) / 180) * 600;
_root["cannonball" + depth].onEnterFrame = function () {
var _local1 = "_x";
this[_local1] = this[_local1] + (this.dirx / 20);
_local1 = "_y";
this[_local1] = this[_local1] + (this.diry / 20);
if (this._x < -10) {
this.removeMovieClip();
}
if (this._x > 810) {
this.removeMovieClip();
}
if (this._y < -10) {
this.removeMovieClip();
}
if (this._y > 610) {
this.removeMovieClip();
}
if (_root.environment.hitTest(this._x, this._y - 3, true)) {
this.removeMovieClip();
}
i = 0;
for ( ; i < _root.anzahl_gegner ; i++) {
if (_root["gegner" + i].hitTest(this)) {
_root.attachMovie("gegner_effekt", "gegner_effekt" + i, _root.getNextHighestDepth(), {_y:this._y, _x:this._x});
_root["gegner_effekt" + i].gotoAndPlay(2);
_root["gegner" + i].removeMovieClip();
_level0.points = _level0.points + 157;
_level0.spr_points_ausgabe.points_ausgabe = "Points: " add _level0.points;
this.removeMovieClip();
if (_root.interval_gegner_speed <= 150) {
_root.interval_gegner_speed = 150;
} else {
clearInterval(_root.gegner_interval);
_root.interval_gegner_speed = _root.interval_gegner_speed - 10;
_root.gegner_interval = setInterval(_root.make_gegner, _root.interval_gegner_speed);
}
}
}
};
depth++;
}
};
// unexpected jump
// unexpected jump
_lockroot = true;
// unexpected jump
// unexpected jump
};
stop();
Symbol 163 MovieClip [gegner_effekt] Frame 1
stop();
Symbol 163 MovieClip [gegner_effekt] Frame 2
play();
Symbol 163 MovieClip [gegner_effekt] Frame 22
stop();
this.removeMovieClip();
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 2
gotoAndStop(1);
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 208
stop();
_parent.gotoAndPlay(3);
Symbol 217 MovieClip Frame 1
player._x = 320;
player._y = -80;
playerfolger._x = 320;
playerfolger._y = 240;
lebens_anzeige.balken._xscale = 100;
stop();
Symbol 217 MovieClip Frame 2
intro.gotoAndPlay(2);
stop();
Symbol 217 MovieClip Frame 3
stop();
if (_level0.fadenkreuz_see == false) {
fadenkreuz.startDrag(true);
Mouse.hide();
}
anzahl_gegner = 0;
live = 100;
cannonball._xscale = 100;
cannonball._yscale = cannonball._xscale;
shotspeed = _level0.shotspeed_upgrades[_level0.shotspeed_level];
depth = 0;
torch_power = 300;
torch_step = 100;
torch_angle = 30;
torch_angle_step = 20;
walk_speed = 12;
radius = 20;
gegner_speed = _level0.shooting_level_gegner_speed[_level0.level];
interval_gegner_speed = 1000;
_root.attachMovie("environment", "environment", _root.getNextHighestDepth());
_root.attachMovie("player", "player", _root.getNextHighestDepth(), {_y:200, _x:250});
player.onEnterFrame = function () {
dist_x = this._x - _root._xmouse;
dist_y = this._y - _root._ymouse;
angle = Math.atan2(dist_x, dist_y) * -1;
this._rotation = (angle / (Math.PI/180)) - 90;
var _local1 = "_x";
this[_local1] = this[_local1] + ((_root.playerfolger._x - this._x) * 0.25);
_local1 = "_y";
this[_local1] = this[_local1] + ((_root.playerfolger._y - this._y) * 0.25);
};
this.onEnterFrame = function () {
if (_root.live <= 0) {
end_game();
}
};
ground.onPress = function () {
shot = setInterval(schiessen, shotspeed);
};
ground.onRelease = function () {
clearInterval(shot);
};
ground.onReleaseOutside = function () {
clearInterval(shot);
};
playerfolger.onEnterFrame = function () {
if (Key.isDown(65)) {
var _local1 = "_x";
this[_local1] = this[_local1] - walk_speed;
}
if (Key.isDown(68)) {
var _local1 = "_x";
this[_local1] = this[_local1] + walk_speed;
}
if (Key.isDown(87)) {
var _local1 = "_y";
this[_local1] = this[_local1] - walk_speed;
}
if (Key.isDown(83)) {
var _local1 = "_y";
this[_local1] = this[_local1] + walk_speed;
}
while (_root.environment.hitTest(this._x, this._y + radius, true)) {
var _local1 = "_y";
this[_local1]--;
}
while (_root.environment.hitTest(this._x, this._y - radius, true)) {
var _local1 = "_y";
this[_local1]++;
}
while (_root.environment.hitTest(this._x - radius, this._y, true)) {
var _local1 = "_x";
this[_local1]++;
}
while (_root.environment.hitTest(this._x + radius, this._y, true)) {
var _local1 = "_x";
this[_local1]--;
}
dist_x = this._x - _root._xmouse;
dist_y = this._y - _root._ymouse;
angle = Math.atan2(dist_x, dist_y) * -1;
this._rotation = (angle / (Math.PI/180)) - 90;
};
gegner_interval = setInterval(make_gegner, interval_gegner_speed);
stop();
Symbol 230 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
var lautstearke = function () {
tellTarget ("..") {
sound.setVolume(tap._x / 2);
tap.volumen_ausgabe = Math.round(tap._x / 2);
}
};
}
} else {
// unexpected jump
}
sound = new Sound();
sound.setVolume(80);
tap._x = 180;
tap.volumen_ausgabe = Math.round(tap._x / 2);
// unexpected jump
// unexpected jump
};
stop();
Symbol 236 Button
on (press) {
startDrag (_target, false, 0, 0, 200, 0);
onEnterFrame = _parent.lautstearke;
}
on (release, releaseOutside) {
delete onEnterFrame;
stopDrag();
if (_root.fadenkreuz_see == true) {
_root.fadenkreuz_visible();
}
}
Symbol 241 Button
on (release) {
nextFrame();
play();
}
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 2
stop();
Symbol 240 MovieClip Frame 3
stop();
Symbol 240 MovieClip Frame 4
gotoAndStop(2);
Symbol 255 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
parameters = {alp:60, speedzahl:7};
properties = parameters;
}
} else {
// unexpected jump
}
};
stop();
Symbol 280 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
(_target);// not popped
call("/_phy:2");
}
} else {
// unexpected jump
}
};
nextFrame();
play();
Symbol 280 MovieClip Frame 3
tellTarget ("..") {
(_target);// not popped
call("/_phy:3");
(_target);// not popped
call("/_phy:4");
};
gotoAndPlay (2);
Symbol 294 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
var scrollen = function () {
tellTarget ("..") {
if (!((tap._y >= 0) || (_parent.content._y >= 0))) {
var _local1 = "_y";
_parent.content[_local1] = _parent.content[_local1] - (tap._y / _parent.parameters.speedzahl);
} else if (!((tap._y <= 0) || (_parent.content._height <= _parent.maske._height))) {
var _local1 = "_y";
_parent.content[_local1] = _parent.content[_local1] - (tap._y / _parent.parameters.speedzahl);
if (_parent.content._y <= ((-_parent.content._height) + _parent.maske._height)) {
_parent.content._y = (-_parent.content._height) + _parent.maske._height;
}
}
if (_parent.content._y > 0) {
_parent.content._y = 0;
}
}
};
}
} else {
// unexpected jump
}
tap._y = 0;
tap._x = 0;
// unexpected jump
// unexpected jump
};
stop();
Symbol 299 Button
on (press) {
this.startDrag(false, 0, ((_parent.form._height * -1) / 2) + (_parent.tap._height / 2), 0, (_parent.form._height / 2) - (_parent.tap._height / 2));
_parent.onEnterFrame = _parent.scrollen;
}
on (release, releaseOutside) {
this._alpha = 100;
this._y = 0;
stopDrag();
if (_root.fadenkreuz_see == true) {
_root.fadenkreuz_visible();
}
delete _parent.onEnterFrame;
}
on (rollOver) {
this._alpha = _parent._parent.parameters.alp;
}
on (rollOut) {
this._alpha = 100;
}
Symbol 316 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
durchgang = 0;
}
} else {
// unexpected jump
}
};
stop();
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 10
durchgang++;
if (durchgang == 20) {
_root.intro_fenster._visible = false;
_parent._parent.fenster.haubtmusik.nextFrame();
nextFrame();
} else {
gotoAndPlay(2);
}
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 10
durchgang++;
if (durchgang == 20) {
nextFrame();
} else {
gotoAndPlay(2);
}
Symbol 332 MovieClip Frame 181
load_screen.play();
titel.load_virus.play();
Symbol 332 MovieClip Frame 225
stop();