Combined Code
// unknown tag 88 length 68
movieClip 5 walkthroughButton2 {
frame 1 {
stop();
}
}
movieClip 8 {
}
movieClip 9 notdopplerButton3 {
frame 1 {
stop();
}
}
movieClip 25 {
frame 16 {
this._parent.removeMovieClip();
}
}
movieClip 26 death_cel_wrapper {
}
movieClip 28 {
}
// unknown tag 88 length 68
movieClip 48 text {
}
movieClip 51 walkthroughButton1 {
frame 1 {
stop();
}
}
movieClip 54 {
}
movieClip 55 notdopplerButton2 {
frame 1 {
stop();
}
}
movieClip 58 {
}
movieClip 66 {
}
movieClip 67 {
}
movieClip 69 {
}
movieClip 71 {
}
movieClip 73 {
}
movieClip 74 {
}
movieClip 81 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 86 {
}
movieClip 88 {
}
movieClip 89 {
}
movieClip 91 {
}
movieClip 93 {
}
movieClip 94 {
}
movieClip 95 {
}
movieClip 98 {
}
movieClip 102 {
}
movieClip 112 {
}
movieClip 114 {
}
movieClip 116 {
}
movieClip 117 {
}
movieClip 123 {
}
movieClip 125 {
}
movieClip 127 {
}
movieClip 129 {
}
movieClip 132 {
}
movieClip 133 {
}
movieClip 134 {
}
movieClip 136 {
}
movieClip 138 {
}
movieClip 141 {
}
movieClip 142 {
}
movieClip 143 {
}
movieClip 144 {
}
movieClip 146 {
}
movieClip 147 {
}
movieClip 149 {
}
movieClip 152 {
}
movieClip 153 {
}
movieClip 154 {
}
movieClip 156 {
}
movieClip 158 {
}
movieClip 162 {
}
movieClip 163 {
}
movieClip 164 {
}
movieClip 165 {
}
movieClip 166 {
frame 160 {
stop();
}
}
movieClip 167 {
}
movieClip 168 {
}
movieClip 170 {
}
movieClip 171 {
}
movieClip 172 {
}
movieClip 173 {
}
movieClip 175 {
}
movieClip 177 {
}
movieClip 179 {
}
movieClip 181 {
}
movieClip 183 {
}
movieClip 185 {
}
movieClip 187 {
}
movieClip 189 {
}
movieClip 191 {
}
movieClip 192 {
}
movieClip 194 {
}
movieClip 195 {
}
movieClip 196 {
}
movieClip 207 {
}
movieClip 216 {
}
movieClip 217 {
}
movieClip 218 {
}
movieClip 219 {
frame 215 {
gotoAndPlay('2');
}
frame 216 {
stop();
}
}
movieClip 222 {
}
movieClip 223 {
frame 315 {
stop();
}
}
movieClip 225 endStory {
frame 1 {
stop();
}
}
movieClip 228 {
}
movieClip 230 {
}
movieClip 232 {
}
movieClip 234 {
}
movieClip 236 {
}
movieClip 238 {
}
movieClip 239 {
}
movieClip 241 {
}
movieClip 243 {
}
movieClip 244 {
}
movieClip 248 {
}
movieClip 249 {
}
movieClip 251 {
}
movieClip 253 {
}
movieClip 262 {
}
movieClip 263 {
}
movieClip 264 {
}
movieClip 266 {
}
movieClip 267 {
}
movieClip 268 {
}
movieClip 270 {
}
movieClip 280 story {
frame 1 {
stop();
}
}
movieClip 287 quality_button {
}
movieClip 290 retry_button {
}
movieClip 292 Symbool 1 {
}
movieClip 295 {
}
movieClip 299 {
}
movieClip 300 notdopplerButton {
frame 1 {
stop();
}
}
frame 1 {
function onEnterFrame() {
preFrames = 280;
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
preloader_bar.gotoAndStop(Math.round(getPercent * preFrames));
if (bytes_loaded == bytes_total) {
preloader_bar.gotoAndStop(300);
xlf = true;
}
preloader_bar.onRelease = function () {
if (xlf == true) {
removeMovieClip(adBox);
gotoAndPlay(4);
}
};
}
function doSomething() {}
function doSomething2() {
jump_speed = 30;
}
Playtomic.Log.View(5188, 'd1938973cb4e46d7', _root._url);
A = SharedObject.getLocal('kolioxomol');
currentLevel = A.data.currentLevel;
unlocked_level = A.data.currentLevel;
if (currentLevel == undefined) {
currentLevel = 1;
unlocked_level = 3;
}
mute = A.data.mute;
if (mute == undefined) {
mute = false;
}
show_back = false;
_quality = 'high';
buttonSponsor.onRelease = function () {
getURL('http://www.notdoppler.com/?ref=volcania', '_blank');
};
buttonSponsor.onRollOver = function () {
buttonSponsor.gotoAndStop(2);
};
buttonSponsor.onRollOut = function () {
buttonSponsor.gotoAndStop(1);
};
stop();
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem('Copyright by Styxtwo Productions', doSomething);
Functioned2 = new ContextMenuItem('Jump Higher', doSomething2);
MENU.customItems.push(Functioned);
_root.menu = MENU;
}
movieClip 302 {
}
movieClip 304 {
}
movieClip 306 {
}
movieClip 307 {
}
movieClip 310 {
}
movieClip 313 {
}
movieClip 314 {
}
movieClip 316 {
}
movieClip 317 {
}
movieClip 933 __Packages.Playtomic.LogRequest {
#initclip
if (!_global.Playtomic) {
_global.Playtomic = new Object();
}
if (!_global.Playtomic.LogRequest) {
var v1 = function () {};
Playtomic.LogRequest = v1;
var v2 = v1.prototype;
v2.Queue = function (data) {
++this.Pieces;
this.Data += ((this.Data == '') ? '' : '~') + data;
if (this.Pieces == 8 || this.Data.length > 300) {
this.Pieces = 0;
this.Ready = true;
}
};
v2.Send = function () {
var v3 = function (success) {
if (this.Data.indexOf('v/') == 0 || this.Data.indexOf('~v/') > -1) {
Playtomic.Log.IncreaseViews();
}
if (this.Data.indexOf('p/') == 0 || this.Data.indexOf('~p/') > -1) {
Playtomic.Log.IncreasePlays();
}
};
var v2 = new LoadVars();
v2.sendAndLoad('http://g' + Playtomic.Log.GUID + '.api.playtomic.com/Tracker/q.aspx?swfid=' + Playtomic.Log.SWFID + '&q=' + this.Data + '&url=' + Playtomic.Log.SourceUrl + '&' + Math.random() + 'z', v3, 'POST');
};
v2.Data = '';
v2.Ready = false;
ASSetPropFlags(Playtomic.LogRequest.prototype, null, 1);
}
#endinitclip
}
movieClip 934 __Packages.Playtomic.Log {
#initclip
if (!_global.Playtomic) {
_global.Playtomic = new Object();
}
if (!_global.Playtomic.Log) {
var v1 = function () {};
Playtomic.Log = v1;
var v2 = v1.prototype;
v1.View = function (swfid, guid, defaulturl) {
if (swfid == undefined) {
swfid = 0;
}
if (guid == undefined) {
guid = '';
}
if (defaulturl == undefined) {
defaulturl = '';
}
if (Playtomic.Log.SWFID > 0) {
return undefined;
}
Playtomic.Log.SWFID = swfid;
Playtomic.Log.GUID = guid;
Playtomic.Log.Enabled = true;
if (Playtomic.Log.SWFID == 0 || Playtomic.Log.GUID == '') {
Playtomic.Log.Enabled = false;
return undefined;
}
if (defaulturl.indexOf('http://') != 0) {
Playtomic.Log.Enabled = false;
return undefined;
}
Playtomic.Log.SourceUrl = defaulturl;
if (Playtomic.Log.SourceUrl == null || Playtomic.Log.SourceUrl == '' || Playtomic.Log.SourceUrl.indexOf('https://') == 0) {
Playtomic.Log.Enabled = false;
return undefined;
}
Playtomic.Log.Cookie = SharedObject.getLocal('playtomic');
var v5 = Playtomic.Log.GetCookie('views');
Playtomic.Log.Send('v/' + v5, true);
_global.setTimeout(Playtomic.Log.PingServer, 60000);
};
v1.ForceSend = function () {
if (Playtomic.Log.Request == null) {
return undefined;
}
Playtomic.Log.Request.Send();
Playtomic.Log.Request = new Playtomic.LogRequest();
};
v1.Play = function () {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.LevelCounters = new Array();
Playtomic.Log.LevelAverages = new Array();
Playtomic.Log.LevelRangeds = new Array();
Playtomic.Log.Send('p/' + (Playtomic.Log.Plays + 1), true);
};
v1.CustomMetric = function (name, group, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (group == null || group == undefined) {
group = '';
}
if (unique == null || unique == undefined) {
unique = false;
}
if (unique) {
if (Playtomic.Log.Contains(Playtomic.Log.Customs, name)) {
return undefined;
}
Playtomic.Log.Customs.push(name);
}
Playtomic.Log.Send('c/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group));
};
v1.Link = function (url, name, group, unique, total, fail) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('l/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group) + '/' + Playtomic.Log.Clean(url) + '/' + unique + '/' + total + '/' + fail);
};
v1.LevelCounterMetric = function (name, level, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (unique) {
var v1 = name + '.' + level.toString();
if (Playtomic.Log.Contains(Playtomic.Log.LevelCounters, v1)) {
return undefined;
}
Playtomic.Log.LevelCounters.push(v1);
}
Playtomic.Log.Send('lc/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level));
};
v1.LevelRangedMetric = function (name, level, value, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (unique) {
var v1 = name + '.' + level.toString();
if (Playtomic.Log.Contains(Playtomic.Log.LevelRangeds, v1)) {
return undefined;
}
Playtomic.Log.LevelRangeds.push(v1);
Playtomic.Log.SaveCookie('lr_' + name, 1);
}
Playtomic.Log.Send('lr/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value);
};
v1.LevelAverageMetric = function (name, level, value, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (unique) {
var v1 = name + '.' + level.toString();
if (Playtomic.Log.Contains(Playtomic.Log.LevelAverages, v1)) {
return undefined;
}
Playtomic.Log.LevelAverages.push(v1);
}
Playtomic.Log.Send('la/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value);
};
v1.Contains = function (arr, key) {
var v1 = arr.length - 1;
while (v1 > -1) {
if (arr[v1] == key) {
return true;
}
--v1;
}
return false;
};
v1.Heatmap = function (metric, heatmap, x, y) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('h/' + Playtomic.Log.Clean(metric) + '/' + Playtomic.Log.Clean(heatmap) + '/' + x + '/' + y);
};
v1.Funnel = function (name, step, stepnum) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('f/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(step) + '/' + stepnum);
};
v1.PlayerLevelStart = function (levelid) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('pls/' + levelid);
};
v1.PlayerLevelWin = function (levelid) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('plw/' + levelid);
};
v1.PlayerLevelQuit = function (levelid) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('plq/' + levelid);
};
v1.PlayerLevelRetry = function (levelid) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('plr/' + levelid);
};
v1.PlayerLevelFlag = function (levelid) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('plf/' + levelid);
};
v1.PingServer = function () {
if (!Playtomic.Log.Enabled) {
return undefined;
}
++Playtomic.Log.Pings;
Playtomic.Log.Send('t/' + (Playtomic.Log.FirstPing ? 'y' : 'n') + '/' + Playtomic.Log.Pings, true);
if (Playtomic.Log.FirstPing) {
Playtomic.Log.FirstPing = false;
setInterval(Playtomic.Log.PingServer, 60000);
}
};
v1.Send = function (s, view) {
if (view == undefined) {
view = false;
}
Playtomic.Log.Request.Queue(s);
if (Playtomic.Log.Request.Ready || view || !Playtomic.Log.Queue) {
Playtomic.Log.Request.Send();
Playtomic.Log.Request = new Playtomic.LogRequest();
}
};
v1.GetCookie = function (n) {
if (Playtomic.Log.Cookie.data[n] == undefined) {
return 0;
} else {
return parseInt(Playtomic.Log.Cookie.data[n]);
}
};
v1.SaveCookie = function (n, v) {
Playtomic.Log.Cookie.data[n] = v.toString();
Playtomic.Log.Cookie.flush();
};
v1.Clean = function (s) {
while (s.indexOf('/') > -1) {
s = Playtomic.Log.Replace(s, '/', '\\');
}
while (s.indexOf('~') > -1) {
s = Playtomic.Log.Replace(s, '~', '-');
}
return escape(s);
};
v1.Replace = function (str, find, replace) {
return (str.split(find)).join(replace);
};
v1.IncreaseViews = function () {
var v1 = Playtomic.Log.GetCookie('views');
++v1;
Playtomic.Log.SaveCookie('views', v1);
};
v1.IncreasePlays = function () {
++Playtomic.Log.Plays;
};
v1.Enabled = false;
v1.Queue = true;
v1.SWFID = 0;
v1.GUID = '';
v1.Request = new Playtomic.LogRequest();
v1.FirstPing = true;
v1.Pings = 0;
v1.Plays = 0;
v1.HighestGoal = 0;
v1.Customs = new Array();
v1.LevelCounters = new Array();
v1.LevelAverages = new Array();
v1.LevelRangeds = new Array();
ASSetPropFlags(Playtomic.Log.prototype, null, 1);
}
#endinitclip
}
// unknown tag 88 length 72
movieClip 323 {
}
movieClip 325 {
}
movieClip 326 {
}
movieClip 327 background34 {
}
// unknown tag 88 length 69
movieClip 334 {
}
movieClip 335 {
}
movieClip 336 {
}
movieClip 337 background33 {
}
movieClip 339 {
}
movieClip 340 {
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
instance bug of movieClip 339 {
onClipEvent (load) {
_xscale = 50 + random(50);
_yscale = _xscale;
_alpha = 10 + random(50);
counter = 0;
rotateSpeed = 1 + (random(10) - random(10));
}
onClipEvent (enterFrame) {
_rotation = _rotation + rotateSpeed;
counter += 1;
if (counter > random(20)) {
rotateSpeed = 1 + (random(10) - random(10));
counter = 0;
}
radians = _rotation * 0.01745329;
xSpeed = Math.cos(radians) / 2;
ySpeed = Math.sin(radians) / 2;
_x = _x + xSpeed;
_y = _y + ySpeed;
}
}
}
movieClip 349 {
}
movieClip 354 {
}
movieClip 356 {
}
movieClip 358 background32 {
}
movieClip 360 {
}
movieClip 362 {
}
movieClip 363 {
}
movieClip 365 {
}
movieClip 366 {
}
movieClip 368 {
}
movieClip 369 background30 {
}
movieClip 370 {
}
movieClip 371 {
}
movieClip 373 {
}
movieClip 374 {
}
movieClip 375 {
}
movieClip 378 {
}
movieClip 380 {
}
movieClip 381 {
}
movieClip 382 background31 {
}
movieClip 383 background29 {
}
movieClip 385 {
}
movieClip 386 background28 {
}
movieClip 387 background26 {
}
movieClip 389 {
}
movieClip 390 {
}
movieClip 391 background25 {
}
movieClip 394 {
}
movieClip 395 {
}
movieClip 396 background24 {
}
movieClip 397 {
}
movieClip 398 background23 {
}
movieClip 400 {
}
movieClip 401 background22 {
}
movieClip 402 {
}
movieClip 403 background21 {
}
movieClip 409 {
}
movieClip 414 {
}
movieClip 418 {
}
movieClip 420 {
}
movieClip 421 {
}
movieClip 422 background20 {
}
movieClip 425 background19 {
}
movieClip 427 {
}
movieClip 429 {
}
movieClip 435 {
}
movieClip 436 {
}
movieClip 437 background18 {
}
movieClip 440 background17 {
}
movieClip 443 background16 {
}
movieClip 445 {
}
movieClip 448 {
}
movieClip 449 {
}
movieClip 450 background15 {
}
movieClip 451 {
}
movieClip 452 background14 {
}
movieClip 455 background13 {
}
movieClip 456 background12 {
}
movieClip 457 {
}
movieClip 458 background11 {
}
movieClip 462 {
}
movieClip 463 background10 {
}
movieClip 464 background9 {
}
movieClip 465 {
}
movieClip 466 {
}
movieClip 468 background8 {
frame 1 {
stop();
}
}
movieClip 471 background7 {
}
movieClip 476 {
}
movieClip 478 background6 {
}
movieClip 482 {
}
movieClip 484 {
}
movieClip 485 {
}
movieClip 487 door {
}
movieClip 501 {
}
movieClip 511 {
}
movieClip 513 {
}
movieClip 515 {
}
movieClip 516 {
}
movieClip 518 {
}
movieClip 519 background5 {
}
movieClip 522 background4 {
}
movieClip 527 {
}
movieClip 528 background2 {
}
movieClip 534 {
}
movieClip 535 background3 {
}
movieClip 540 {
}
movieClip 541 background1 {
}
movieClip 543 {
}
movieClip 544 foreground34 {
}
movieClip 546 {
}
movieClip 550 {
}
movieClip 552 {
}
// unknown tag 88 length 79
movieClip 556 {
}
movieClip 557 foreground33 {
}
movieClip 559 {
}
movieClip 562 foreground32 {
}
movieClip 564 {
}
movieClip 565 foreground31 {
}
movieClip 569 {
}
movieClip 571 {
}
movieClip 573 {
}
movieClip 575 foreground30 {
}
movieClip 576 foreground29 {
}
movieClip 578 {
}
movieClip 580 {
}
movieClip 581 foreground28 {
}
movieClip 584 {
}
movieClip 586 {
}
movieClip 588 {
}
movieClip 589 {
}
movieClip 590 {
}
movieClip 591 foreground26 {
}
movieClip 593 {
}
movieClip 594 foreground25 {
}
movieClip 596 {
}
movieClip 597 foreground24 {
}
movieClip 601 {
}
movieClip 602 {
}
movieClip 603 foreground23 {
}
movieClip 612 {
}
movieClip 615 {
}
movieClip 616 foreground22 {
}
movieClip 621 {
}
movieClip 623 {
}
movieClip 624 {
}
movieClip 625 {
}
movieClip 626 foreground21 {
}
movieClip 628 {
}
movieClip 629 foreground20 {
}
movieClip 634 {
}
movieClip 636 {
}
movieClip 639 {
}
movieClip 640 {
}
movieClip 643 foreground19 {
}
movieClip 645 {
}
movieClip 646 foreground18 {
}
movieClip 652 {
}
movieClip 653 {
}
movieClip 655 foreground17 {
}
movieClip 658 {
}
movieClip 659 {
}
movieClip 662 {
}
movieClip 663 foreground16 {
}
movieClip 667 {
}
movieClip 668 foreground15 {
}
movieClip 671 {
}
movieClip 680 foreground14 {
}
movieClip 683 {
}
movieClip 688 {
}
movieClip 689 foreground13 {
}
movieClip 691 foreground12 {
}
movieClip 693 {
}
movieClip 694 foreground11 {
}
movieClip 696 {
}
movieClip 697 foreground10 {
}
movieClip 698 foreground9 {
}
movieClip 700 {
}
movieClip 701 foreground8 {
}
movieClip 703 {
}
movieClip 704 foreground7 {
}
movieClip 706 {
}
movieClip 707 foreground6 {
}
movieClip 708 foreground5 {
}
movieClip 710 {
}
movieClip 712 {
}
movieClip 713 foreground4 {
}
movieClip 715 {
}
movieClip 716 foreground2 {
}
movieClip 724 {
}
movieClip 725 {
frame 175 {
stop();
}
}
movieClip 734 {
}
movieClip 735 {
}
movieClip 736 foreground3 {
}
movieClip 743 {
}
movieClip 745 {
}
movieClip 746 foreground1 {
}
movieClip 749 l9_death {
}
movieClip 751 {
}
movieClip 752 l9_movingPlat {
}
movieClip 754 gravityBar {
}
movieClip 755 gravityBar2 {
}
movieClip 757 {
}
movieClip 758 bullet {
}
movieClip 760 {
}
movieClip 761 {
frame 1 {
stop();
}
}
movieClip 764 {
frame 1 {
stop();
}
}
movieClip 765 shooter {
}
movieClip 767 mouseFollow_22 {
}
movieClip 770 light_28 {
}
movieClip 772 {
}
movieClip 773 lock_1 {
}
movieClip 778 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 780 {
}
movieClip 782 menuBar {
}
movieClip 784 heroins {
}
movieClip 785 {
}
movieClip 786 {
}
movieClip 789 {
}
movieClip 791 {
}
movieClip 792 {
}
movieClip 793 {
}
movieClip 794 hero {
frame 3 {
stop();
}
}
movieClip 800 tile {
}
movieClip 801 {
}
frame 4 {
stop();
}
movieClip 812 {
frame 6 {
stop();
}
}
button 813 {
on (release) {
getURL('http://www.notdoppler.com/?ref=volcania', '_blank');
}
}
movieClip 823 {
}
movieClip 825 {
frame 213 {
this._parent.play();
}
}
frame 5 {
stop();
this.createEmptyMovieClip('shootSounds', this.getNextHighestDepth());
shootSound = new Sound(shootSounds);
shootSound.attachSound('shootSound_lib');
this.createEmptyMovieClip('doorSounds', this.getNextHighestDepth());
doorSound = new Sound(doorSounds);
doorSound.attachSound('doorSound_lib');
this.createEmptyMovieClip('buttonSounds', this.getNextHighestDepth());
buttonSound = new Sound(buttonSounds);
buttonSound.attachSound('buttonSound_lib');
this.createEmptyMovieClip('deathSounds', this.getNextHighestDepth());
deathSound = new Sound(deathSounds);
deathSound.attachSound('deathSound_lib');
this.createEmptyMovieClip('menuMusic', this.getNextHighestDepth());
menuMusic = new Sound(menuMusic);
menuMusic.attachSound('menuMusic_lib');
this.createEmptyMovieClip('gameMusic', this.getNextHighestDepth());
backgroundMusic = new Sound(gameMusic);
backgroundMusic.attachSound('backgroundMusic_lib');
if (mute == true) {
backgroundMusic.setVolume(0);
shootSound.setVolume(0);
menuMusic.setVolume(0);
deathSound.setVolume(0);
doorSound.setVolume(0);
buttonSound.setVolume(0);
} else {
backgroundMusic.setVolume(80);
shootSound.setVolume(30);
menuMusic.setVolume(60);
deathSound.setVolume(5);
doorSound.setVolume(40);
buttonSound.setVolume(10);
}
}
movieClip 828 {
}
movieClip 829 {
frame 86 {
stop();
}
}
movieClip 864 {
frame 150 {
stop();
_root.play();
}
}
movieClip 865 {
}
movieClip 866 {
frame 35 {
stop();
}
}
movieClip 869 {
}
// unknown tag 88 length 83
// unknown tag 88 length 80
movieClip 876 {
frame 86 {
stop();
}
}
movieClip 912 {
frame 74 {
stop();
}
}
movieClip 913 {
}
movieClip 914 {
frame 35 {
stop();
}
}
movieClip 923 {
frame 21 {
stop();
}
}
movieClip 925 {
frame 35 {
stop();
}
}
frame 6 {
stop();
menuMusic.start(0, 9999);
storyFrame = 0;
button_next.onRelease = function () {
buttonSound.start(0, 1);
if (storyFrame == 4) {
menuMusic.stop();
deathSound.start(0, 1);
}
if (storyFrame == 6) {
gotoAndStop(7);
backgroundMusic.start(0, 9999);
}
++storyFrame;
story.gotoAndStop(storyFrame + 1);
};
button_skip.onRelease = function () {
buttonSound.start(0, 1);
gotoAndStop(7);
menuMusic.stop();
backgroundMusic.start(0, 9999);
};
if (mute == true) {
mute_button.gotoAndStop(2);
}
_root.onEnterFrame = function () {
if (_root._currentframe == 6) {
if (mute_button.hitTest(_xmouse, _ymouse)) {
if (Key.isDown(1)) {
if (button == false) {
if (mute == false) {
mute = true;
A.data.mute = mute;
backgroundMusic.setVolume(0);
shootSound.setVolume(0);
menuMusic.setVolume(0);
deathSound.setVolume(0);
doorSound.setVolume(0);
buttonSound.setVolume(0);
mute_button.gotoAndStop(2);
} else {
buttonSound.start(0, 1);
mute = false;
A.data.mute = mute;
backgroundMusic.setVolume(80);
shootSound.setVolume(30);
menuMusic.setVolume(60);
deathSound.setVolume(5);
doorSound.setVolume(40);
buttonSound.setVolume(10);
mute_button.gotoAndStop(1);
}
button = true;
}
} else {
button = false;
}
}
}
};
}
movieClip 927 {
}
movieClip 928 {
}
movieClip 931 {
}
movieClip 932 {
}
frame 7 {
function levelCodeCreate() {
actualLevelFun();
split = levelArray[actualLevel].split(',');
player = [split[2], split[1]];
secondSplit = split[0].split('');
yLength = 21;
xLength = 27;
y = 0;
while (y < yLength) {
level[y] = new Array();
x = 0;
while (x < xLength) {
level[y][x] = secondSplit[x + y * xLength];
++x;
}
++y;
}
}
function actualLevelFun() {
if (currentLevel == 1) {
actualLevel = 32;
}
if (currentLevel == 2) {
actualLevel = 33;
}
if (currentLevel == 3) {
actualLevel = 1;
}
if (currentLevel == 4) {
actualLevel = 2;
}
if (currentLevel == 5) {
actualLevel = 3;
}
if (currentLevel == 6) {
actualLevel = 4;
}
if (currentLevel == 7) {
actualLevel = 10;
}
if (currentLevel == 8) {
actualLevel = 6;
}
if (currentLevel == 9) {
actualLevel = 24;
}
if (currentLevel == 10) {
actualLevel = 7;
}
if (currentLevel == 11) {
actualLevel = 18;
}
if (currentLevel == 12) {
actualLevel = 5;
}
if (currentLevel == 13) {
actualLevel = 20;
}
if (currentLevel == 14) {
actualLevel = 12;
}
if (currentLevel == 15) {
actualLevel = 13;
}
if (currentLevel == 16) {
actualLevel = 26;
}
if (currentLevel == 17) {
actualLevel = 16;
}
if (currentLevel == 18) {
actualLevel = 15;
}
if (currentLevel == 19) {
actualLevel = 17;
}
if (currentLevel == 20) {
actualLevel = 31;
}
if (currentLevel == 21) {
actualLevel = 19;
}
if (currentLevel == 22) {
actualLevel = 11;
}
if (currentLevel == 23) {
actualLevel = 21;
}
if (currentLevel == 24) {
actualLevel = 22;
}
if (currentLevel == 25) {
actualLevel = 23;
}
if (currentLevel == 26) {
actualLevel = 25;
}
if (currentLevel == 27) {
actualLevel = 8;
}
if (currentLevel == 28) {
actualLevel = 14;
}
if (currentLevel == 29) {
actualLevel = 28;
}
if (currentLevel == 30) {
actualLevel = 29;
}
if (currentLevel == 31) {
actualLevel = 30;
}
if (currentLevel == 32) {
actualLevel = 9;
}
if (currentLevel == 33) {
actualLevel = 34;
}
actualLevel2 = currentLevel - 2;
if (actualLevel == 32 || actualLevel == 33) {
actualLevel2 = '-';
}
}
function create_level(l) {
textCounter = 100;
MENU.customItems.splice(1, 1);
_root.menu = MENU;
jump_speed = 9.6;
attachMovie('background' + actualLevel, 'background', getNextHighestDepth());
_root.createEmptyMovieClip('level_container', getNextHighestDepth());
attachMovie('foreground' + actualLevel, 'foreground', getNextHighestDepth());
if (currentLevel != 2 && currentLevel != 1 && currentLevel != 9 && currentLevel != 12 && currentLevel != 15 && currentLevel != 16 && currentLevel != 17 && currentLevel != 19 && currentLevel != 25 && currentLevel != 27 && currentLevel != 29 && currentLevel != 30 && currentLevel != 31 && currentLevel != 32 && currentLevel != 33) {
attachMovie('text', 'text', getNextHighestDepth(), {'_x': 10, '_y': 20});
}
if (currentLevel == 1) {
attachMovie('notdopplerButton', 'sponsorButton', getNextHighestDepth(), {'_x': 500, '_y': 15});
} else {
if (currentLevel == 33 || currentLevel == 25 || currentLevel == 24 || currentLevel == 23 || currentLevel == 21 || currentLevel == 20 || currentLevel == 19 || currentLevel == 18 || currentLevel == 17 || currentLevel == 16 || currentLevel == 15 || currentLevel == 14 || currentLevel == 13) {
attachMovie('notdopplerButton3', 'sponsorButton', getNextHighestDepth(), {'_x': 2, '_y': 453});
attachMovie('walkthroughButton2', 'walkthroughButton', getNextHighestDepth(), {'_x': 540, '_y': 0});
} else {
if (currentLevel != 12) {
attachMovie('notdopplerButton2', 'sponsorButton', getNextHighestDepth(), {'_x': 2, '_y': 453});
attachMovie('walkthroughButton1', 'walkthroughButton', getNextHighestDepth(), {'_x': 540, '_y': 0});
}
}
}
if (currentLevel == 3) {
text.gotoAndStop(1);
}
if (currentLevel == 4) {
text.gotoAndStop(3);
}
if (currentLevel == 5) {
text.gotoAndStop(5);
}
if (currentLevel == 6) {
text.gotoAndStop(6);
}
if (currentLevel == 7) {
text.gotoAndStop(7);
}
if (currentLevel == 8) {
text.gotoAndStop(8);
}
if (currentLevel == 10) {
text.gotoAndStop(9);
}
if (currentLevel == 11) {
text.gotoAndStop(11);
}
if (currentLevel == 13) {
text.gotoAndStop(12);
}
if (currentLevel == 14) {
text.gotoAndStop(14);
}
if (currentLevel == 18) {
text.gotoAndStop(15);
}
if (currentLevel == 20) {
text.gotoAndStop(16);
}
if (currentLevel == 21) {
text.gotoAndStop(17);
}
if (currentLevel == 22) {
text.gotoAndStop(18);
}
if (currentLevel == 23) {
text.gotoAndStop(19);
}
if (currentLevel == 24) {
text.gotoAndStop(20);
}
if (currentLevel == 26) {
text.gotoAndStop(22);
}
if (currentLevel == 28) {
text.gotoAndStop(23);
}
if (actualLevel == 5) {
counter_5 = 0;
}
if (actualLevel == 6) {
amountFinish = 10;
i = 0;
while (i < amountFinish) {
foreground['fake' + i]._alpha = 100;
foreground['fake' + i].gem.gotoAndStop(randGem);
++i;
}
}
if (actualLevel == 7) {
jump_speed = 0.01;
attachMovie('gravityBar', 'gravityBar', getNextHighestDepth(), {'_y': 240});
attachMovie('gravityBar2', 'gravityBar2', getNextHighestDepth(), {'_y': 240});
}
if (actualLevel == 8) {
firstTry_8 = true;
background.gotoAndStop(1);
foreground._alpha = 100;
}
if (actualLevel == 9) {
attachMovie('l9_movingPlat', 'movingPlat', getNextHighestDepth());
speed_9 = 1;
}
if (actualLevel == 12) {
counter_12_1 = 0;
counter_12_2 = 0;
dontMove_12 = true;
}
if (actualLevel == 13) {
foreground.light_13.gotoAndStop(1);
}
if (actualLevel == 14) {
MENU.customItems.push(Functioned2);
_root.menu = MENU;
}
if (actualLevel == 17) {
pressable_17 = 5;
}
if (actualLevel == 19) {
attachMovie('shooter', 'shooter', getNextHighestDepth(), {'_x': 315, '_y': 60});
shooter.fire.gotoAndStop(1);
}
if (actualLevel == 22) {
attachMovie('mouseFollow_22', 'mouseFollow_22', getNextHighestDepth());
}
if (actualLevel == 24) {
level_container._rotation = 180;
level_container._x = 640;
level_container._y = 480;
}
if (actualLevel == 27) {
level_container.attachMovie('lock_1', 'lock_1', _root.level_container.getNextHighestDepth(), {'_x': 260, '_y': 384});
attachMovie('counter', 'counter_1', getNextHighestDepth(), {'_x': 150, '_y': 200});
attachMovie('counter', 'counter_2', getNextHighestDepth(), {'_x': 250, '_y': 200});
attachMovie('counter', 'counter_3', getNextHighestDepth(), {'_x': 350, '_y': 200});
attachMovie('counter', 'counter_4', getNextHighestDepth(), {'_x': 450, '_y': 200});
amountCounter = 4;
counter_1.counterNum = 0;
counter_2.counterNum = 0;
counter_3.counterNum = 0;
counter_4.counterNum = 0;
}
if (actualLevel == 28) {
movX = 40;
movY = 70;
level_container.attachMovie('lock_1', 'lock_1', _root.level_container.getNextHighestDepth(), {'_x': 260, '_y': 384});
attachMovie('light_28', 'light_1_1', getNextHighestDepth(), {'_x': 150 + movX, '_y': 100 + movY});
attachMovie('light_28', 'light_2_1', getNextHighestDepth(), {'_x': 225 + movX, '_y': 100 + movY});
attachMovie('light_28', 'light_3_1', getNextHighestDepth(), {'_x': 300 + movX, '_y': 100 + movY});
attachMovie('light_28', 'light_1_2', getNextHighestDepth(), {'_x': 150 + movX, '_y': 150 + movY});
attachMovie('light_28', 'light_2_2', getNextHighestDepth(), {'_x': 225 + movX, '_y': 150 + movY});
attachMovie('light_28', 'light_3_2', getNextHighestDepth(), {'_x': 300 + movX, '_y': 150 + movY});
attachMovie('light_28', 'light_1_3', getNextHighestDepth(), {'_x': 150 + movX, '_y': 200 + movY});
attachMovie('light_28', 'light_2_3', getNextHighestDepth(), {'_x': 225 + movX, '_y': 200 + movY});
attachMovie('light_28', 'light_3_3', getNextHighestDepth(), {'_x': 300 + movX, '_y': 200 + movY});
light_1_1.gotoAndStop(1);
light_2_1.gotoAndStop(1);
light_3_1.gotoAndStop(1);
light_1_2.gotoAndStop(1);
light_2_2.gotoAndStop(1);
light_3_2.gotoAndStop(1);
light_1_3.gotoAndStop(1);
light_2_3.gotoAndStop(1);
light_3_3.gotoAndStop(1);
}
if (actualLevel == 34) {
}
level_height = l.length;
level_width = l[0].length;
y = 0;
while (y < level_height) {
x = 0;
while (x < level_width) {
if (l[y][x] != 0) {
t = level_container.attachMovie('tile', 't' + y + '_' + x, _root.level_container.getNextHighestDepth(), {'_x': x * tile_size, '_y': y * tile_size});
t.gotoAndStop(l[y][x]);
if (show_back == true) {
} else {
t._alpha = 0;
}
if (actualLevel == 5) {
t.gotoAndStop(9);
t._alpha = 100;
}
} else {
if (actualLevel == 5) {
t = level_container.attachMovie('tile', 't' + y + '_' + x, _root.level_container.getNextHighestDepth(), {'_x': x * tile_size, '_y': y * tile_size});
t.gotoAndStop(9);
t._alpha = 100;
}
if (actualLevel == 29 || actualLevel == 30) {
t = level_container.attachMovie('tile', 't' + y + '_' + x, _root.level_container.getNextHighestDepth(), {'_x': x * tile_size, '_y': y * tile_size});
t.gotoAndStop(5);
t._alpha = 100;
}
}
++x;
}
++y;
}
place_player();
attachMovie('menuBar', 'menuBar', getNextHighestDepth(), {'_x': 575, '_y': 455});
if (actualLevel == 25) {
menuBar.attachMovie('door', 'doorBut_25', menuBar.getNextHighestDepth(), {'_x': -60, '_y': 10});
}
if (mute == true) {
menuBar.mute_button.gotoAndStop(2);
} else {
menuBar.mute_button.gotoAndStop(1);
}
if (_quality == 'HIGH') {
menuBar.quality_button.gotoAndStop(1);
} else {
if (_quality == 'LOW') {
menuBar.quality_button.gotoAndStop(3);
} else {
if (_quality == 'MEDIUM') {
menuBar.quality_button.gotoAndStop(2);
}
}
}
}
function levelSpecCode() {
currentLevel2 = currentLevel - 2;
if (actualLevel == 5) {
if (counter_5 < 10) {
++counter_5;
} else {
circle = 4;
y = foot_y - circle;
while (y < foot_y + circle) {
if (y < foot_y) {
x = left_foot_x - (y - foot_y + circle);
while (x < left_foot_x + (y - foot_y + circle)) {
block = level_container['t' + y + '_' + x];
block._alpha = 0;
++x;
}
} else {
number = circle + foot_y - y;
x = left_foot_x - number + 1;
while (x < left_foot_x + number - 1) {
block = level_container['t' + y + '_' + x];
block._alpha = 0;
++x;
}
}
++y;
}
}
}
if (actualLevel == 6) {
i = 0;
while (i < amountFinish) {
if (level_container.hero.hitTest(foreground['fake' + i])) {
foreground['fake' + i]._alpha = 0;
}
++i;
}
}
if (actualLevel == 7) {
if (gravity <= 0) {
gravityBar._height = -gravity * 480;
gravityBar2._height = 0;
} else {
gravityBar._height = 0;
gravityBar2._height = gravity * 480;
}
}
if (actualLevel == 9) {
speed_9 += 0.001;
movingPlat._x -= speed_9;
i = 0;
while (i < 40) {
if (movingPlat['block' + i].hitTest(level_container.hero._x, level_container.hero._y)) {
movingPlat._x = 0;
speed_9 = 1;
place_player();
deathSound.start(0, 1);
}
++i;
}
if (level_container.hero.hitTest(movingPlat.door)) {
++currentLevel;
remover();
}
}
if (actualLevel == 10) {
if (y_pos > 460) {
y_pos = 0;
}
}
if (actualLevel == 12) {
max_12_1 = 100;
max_12_2 = 50;
if (dontMove_12 == true) {
foreground.light_12.gotoAndStop(1);
++counter_12_1;
if (counter_12_1 > max_12_1) {
counter_12_1 = 0;
dontMove_12 = false;
}
if (Key.isDown(37) || Key.isDown(39) || Key.isDown(38) || Key.isDown(32)) {
place_player();
}
} else {
foreground.light_12.gotoAndStop(2);
++counter_12_2;
if (counter_12_2 == max_12_2) {
counter_12_2 = 0;
dontMove_12 = true;
}
}
}
if (actualLevel == 16) {
if (x_pos > 628) {
x_pos = 13;
}
if (x_pos < 13) {
x_pos = 628;
}
}
if (actualLevel == 17) {
if (Key.isDown(37) || Key.isDown(39) || Key.isDown(38) || Key.isDown(65) || Key.isDown(68) || Key.isDown(83)) {
} else {
youDied_17 = false;
}
if (youDied_17 == false) {
if (Key.isDown(37) || Key.isDown(65)) {
if (d_17_1 == false) {
--pressable_17;
d_17_1 = true;
}
} else {
d_17_1 = false;
}
if (Key.isDown(39) || Key.isDown(68)) {
if (d_17_2 == false) {
--pressable_17;
d_17_2 = true;
}
} else {
d_17_2 = false;
}
}
if (pressable_17 < 0) {
pressable_17 = 5;
deathSound.start(0, 1);
level_container.attachMovie('death_cel_wrapper', 'death_cel_wrapper', _root.level_container.getNextHighestDepth(), {'_x': level_container.hero._x, '_y': level_container.hero._y});
place_player();
youDied_17 = true;
d_17_1 = false;
d_17_2 = false;
}
}
if (actualLevel == 19) {
--countdown_19_b;
if (countdown_19_b < 0) {
countdown_round_19 += 1;
shootSound.start(0, 1);
countdown_19_b = countdown_19_base - countdown_round_19;
if (countdown_19_b < 1) {
countdown_19_b = 1;
}
shooter.fire.gotoAndPlay(1);
shooter.gunins.gotoAndPlay(1);
attachMovie('bullet', 'bullet' + i_b, getNextHighestDepth(), {'_x': shooter._x + Math.cos(0.0174532925199433 * shooter._rotation) * 100, '_y': shooter._y + Math.sin(0.0174532925199433 * shooter._rotation) * 100});
bullets.push(i_b);
bullet = this['bullet' + i_b];
bulletSpeed = 5;
bullet.xSpeed = Math.cos(0.0174532925199433 * shooter._rotation) * bulletSpeed;
bullet.ySpeed = Math.sin(0.0174532925199433 * shooter._rotation) * bulletSpeed;
++i_b;
}
for (i in bullets) {
bullet = this['bullet' + bullets[i]];
bullet._x += bullet.xSpeed;
bullet._y += bullet.ySpeed;
if (bullet._y > 455) {
removeMovieClip(bullet);
bullets.splice(i, 1);
}
if (bullet._x > 615) {
removeMovieClip(bullet);
bullets.splice(i, 1);
}
if (bullet._x < 25) {
removeMovieClip(bullet);
bullets.splice(i, 1);
}
if (bullet.hitTest(level_container.hero.heroins)) {
attachMovie('death_cel_wrapper', 'death_cel_wrapper', getNextHighestDepth(), {'_x': level_container.hero._x, '_y': level_container.hero._y});
place_player();
deathSound.start(0, 1);
}
}
countdown_19_2 = Math.round(countdown_19 / 60);
disx = level_container.hero._x - shooter._x;
disy = level_container.hero._y - shooter._y;
Radians = Math.atan2(disy, disx);
Degrees = 360 * Radians / 6.283185307179586;
shooter._rotation = Degrees;
if (countdown_19 == 0) {
level[17][25] = 3;
foreground.door._x = 610;
foreground.door._y = 420;
} else {
--countdown_19;
}
}
if (actualLevel == 20) {
max_speed = (5 / level_container.hero._x) * 100 - 0.5;
}
if (actualLevel == 22) {
mouseFollow_22._x = _xmouse;
mouseFollow_22._y = _ymouse;
}
if (actualLevel == 25) {
menuBar.doorBut_25.onRelease = function () {
++currentLevel;
remover();
};
}
if (actualLevel == 27) {
if (counter_1.counterNum == 2 && counter_2.counterNum == 5 && counter_3.counterNum == 1 && counter_4.counterNum == 7) {
lock_27 = false;
}
if (lock_27 == true) {
level_container.lock_1.gotoAndStop(1);
if (x_pos > 250) {
x_pos = 250;
}
} else {
level_container.lock_1.gotoAndStop(2);
}
}
if (actualLevel == 28) {
unlock_28 = true;
x = 1;
while (x <= 3) {
y = 1;
while (y <= 3) {
if (this['light_' + x + '_' + y].shine == false) {
unlock_28 = false;
}
++y;
}
++x;
}
if (unlock_28 == true) {
lock_28 = false;
}
if (lock_28 == true) {
level_container.lock_1.gotoAndStop(1);
if (x_pos > 250) {
x_pos = 250;
}
} else {
level_container.lock_1.gotoAndStop(2);
}
}
if (actualLevel == 29) {
if (Key.isDown(1)) {
xM = Math.floor(_xmouse / 24);
yM = Math.floor(_ymouse / 24);
if (level[yM][xM] != 1 && level[yM][xM] != 8) {
block = level_container['t' + yM + '_' + xM];
if (block.hitTest(level_container.hero)) {
} else {
level[yM][xM] = 1;
block.gotoAndStop(4);
}
}
}
}
if (actualLevel == 30) {
if (Key.isDown(1)) {
if (countdown_30 > 0) {
xM = Math.floor(_xmouse / 24);
yM = Math.floor(_ymouse / 24);
if (level[yM][xM] != 1 && level[yM][xM] != 8) {
block = level_container['t' + yM + '_' + xM];
if (block.hitTest(level_container.hero)) {
} else {
--countdown_30;
level[yM][xM] = 1;
block.gotoAndStop(4);
}
}
}
}
}
if (actualLevel == 31) {
foreground.door._alpha = foreground.door._x - level_container.hero._x - 400;
}
if (actualLevel == 34) {
if (Key.isDown(36)) {
if (currentLevel >= unlocked_level) {
unlocked_level = currentLevel;
}
level_container.removeMovieClip();
background.removeMovieClip();
foreground.removeMovieClip();
menuBar.removeMovieClip();
doorSound.start(0, 1);
removeMovieClip(sponsorButton);
walkthroughButton.removeMovieClip();
gotoAndStop(8);
}
}
}
function menuBarF() {
if (sponsorButton.hitTest(_xmouse, _ymouse)) {
sponsorButton.gotoAndStop(2);
if (Key.isDown(1)) {
if (button == false) {
getURL('http://www.notdoppler.com/?ref=volcania', '_blank');
button = true;
}
} else {
button = false;
}
} else {
sponsorButton.gotoAndStop(1);
}
if (walkthroughButton.hitTest(_xmouse, _ymouse)) {
walkthroughButton.gotoAndStop(2);
if (Key.isDown(1)) {
if (buttonxy == false) {
getURL('http://www.notdoppler.com/volcania-walkthrough.php', '_blank');
buttonxy = true;
}
} else {
buttonxy = false;
}
} else {
walkthroughButton.gotoAndStop(1);
}
if (currentLevel == 2) {
if (foreground.prevLev_button.hitTest(_xmouse, _ymouse)) {
if (Key.isDown(1)) {
if (button == false) {
if (selected_level > 1) {
--selected_level;
}
button = true;
}
} else {
button = false;
}
}
if (foreground.nextLev_button.hitTest(_xmouse, _ymouse)) {
if (Key.isDown(1)) {
if (button == false) {
if (selected_level < 31) {
++selected_level;
}
button = true;
}
} else {
button = false;
}
}
}
if (menuBar.quit_button.hitTest(_xmouse, _ymouse)) {
if (Key.isDown(1)) {
if (button == false) {
buttonSound.start(0, 1);
currentLevel = 1;
remover();
button = true;
}
} else {
button = false;
}
}
if (menuBar.mute_button.hitTest(_xmouse, _ymouse)) {
if (Key.isDown(1)) {
if (button == false) {
if (mute == false) {
mute = true;
A.data.mute = mute;
backgroundMusic.setVolume(0);
shootSound.setVolume(0);
menuMusic.setVolume(0);
deathSound.setVolume(0);
doorSound.setVolume(0);
buttonSound.setVolume(0);
menuBar.mute_button.gotoAndStop(2);
} else {
buttonSound.start(0, 1);
mute = false;
A.data.mute = mute;
backgroundMusic.setVolume(80);
shootSound.setVolume(30);
menuMusic.setVolume(60);
deathSound.setVolume(5);
doorSound.setVolume(40);
buttonSound.setVolume(10);
menuBar.mute_button.gotoAndStop(1);
}
button = true;
}
} else {
button = false;
}
}
if (menuBar.retry_button.hitTest(_xmouse, _ymouse)) {
if (Key.isDown(1)) {
if (button == false) {
buttonSound.start(0, 1);
remover();
button = true;
}
} else {
button = false;
}
}
if (menuBar.quality_button.hitTest(_xmouse, _ymouse)) {
if (Key.isDown(1)) {
if (button == false) {
buttonSound.start(0, 1);
if (_quality == 'HIGH') {
menuBar.quality_button.gotoAndStop(3);
_quality = 'low';
} else {
if (_quality == 'LOW') {
menuBar.quality_button.gotoAndStop(2);
_quality = 'medium';
} else {
if (_quality == 'MEDIUM') {
menuBar.quality_button.gotoAndStop(1);
_quality = 'high';
}
}
}
button = true;
}
} else {
button = false;
}
}
}
function lightFunc() {
x = 1;
while (x <= 3) {
y = 1;
while (y <= 3) {
lightMC = this['light_' + x + '_' + y];
if (lightMC.hitTest(_xmouse, _ymouse)) {
if (Key.isDown(1)) {
if (lightMC.upPress != true) {
if (this['light_' + (x - 1) + '_' + y].shine == false) {
this['light_' + (x - 1) + '_' + y].gotoAndStop(2);
this['light_' + (x - 1) + '_' + y].shine = true;
} else {
this['light_' + (x - 1) + '_' + y].gotoAndStop(1);
this['light_' + (x - 1) + '_' + y].shine = false;
}
if (this['light_' + (x + 1) + '_' + y].shine == false) {
this['light_' + (x + 1) + '_' + y].gotoAndStop(2);
this['light_' + (x + 1) + '_' + y].shine = true;
} else {
this['light_' + (x + 1) + '_' + y].gotoAndStop(1);
this['light_' + (x + 1) + '_' + y].shine = false;
}
if (this['light_' + x + '_' + (y - 1)].shine == false) {
this['light_' + x + '_' + (y - 1)].gotoAndStop(2);
this['light_' + x + '_' + (y - 1)].shine = true;
} else {
this['light_' + x + '_' + (y - 1)].gotoAndStop(1);
this['light_' + x + '_' + (y - 1)].shine = false;
}
if (this['light_' + x + '_' + (y + 1)].shine == false) {
this['light_' + x + '_' + (y + 1)].gotoAndStop(2);
this['light_' + x + '_' + (y + 1)].shine = true;
} else {
this['light_' + x + '_' + (y + 1)].gotoAndStop(1);
this['light_' + x + '_' + (y + 1)].shine = false;
}
if (lightMC.shine == false) {
lightMC.gotoAndStop(2);
lightMC.shine = true;
} else {
lightMC.gotoAndStop(1);
lightMC.shine = false;
}
lightMC.upPress = true;
}
} else {
lightMC.upPress = false;
}
}
++y;
}
++x;
}
}
function counterFunc() {
i = 1;
while (i <= 6) {
if (this['counter_' + i].counterUp.hitTest(_xmouse, _ymouse)) {
if (Key.isDown(1)) {
this['counter_' + i].counterUpPress = true;
} else {
if (this['counter_' + i].counterUpPress == true) {
this['counter_' + i].counterUpPress = false;
this['counter_' + i].counterNum += 1;
if (this['counter_' + i].counterNum == 10) {
this['counter_' + i].counterNum = 0;
}
}
}
}
if (this['counter_' + i].counterDown.hitTest(_xmouse, _ymouse)) {
if (Key.isDown(1)) {
this['counter_' + i].counterDownPress = true;
} else {
if (this['counter_' + i].counterDownPress == true) {
this['counter_' + i].counterDownPress = false;
this['counter_' + i].counterNum -= 1;
if (this['counter_' + i].counterNum == -1) {
this['counter_' + i].counterNum = 9;
}
}
}
}
++i;
}
}
function keys() {
if (Key.isDown(39) || Key.isDown(68)) {
} else {
if (Key.isDown(37) || Key.isDown(65)) {
if (actualLevel != 17 || youDied_17 == false) {
if (actualLevel != 15 && actualLevel != 26) {
if (actualLevel == 3 || actualLevel == 24) {
xspeed += speed;
walking = true;
if (jumping == false && falling == false) {
level_container.hero.gotoAndStop(4);
if (actualLevel == 23) {
level_container.hero_c_1.gotoAndStop(4);
level_container.hero_c_2.gotoAndStop(4);
level_container.hero_c_3.gotoAndStop(4);
}
}
walking2 = 2;
} else {
xspeed -= speed;
walking = true;
if (jumping == false && falling == false) {
level_container.hero.gotoAndStop(1);
if (actualLevel == 23) {
level_container.hero_c_1.gotoAndStop(1);
level_container.hero_c_2.gotoAndStop(1);
level_container.hero_c_3.gotoAndStop(1);
}
}
walking2 = 1;
}
}
if (actualLevel == 26) {
left_26 = true;
}
}
} else {
if (left_26 == true) {
left_26 = false;
if (x_pos >= 60) {
x_pos -= 20;
level_container.hero.gotoAndStop(2);
}
}
}
}
if (Key.isDown(37) || Key.isDown(65)) {
} else {
if (Key.isDown(39) || Key.isDown(68)) {
if (actualLevel != 17 || youDied_17 == false) {
if (actualLevel != 26) {
if (actualLevel == 3 || actualLevel == 24) {
xspeed -= speed;
walking = true;
if (jumping == false && falling == false) {
level_container.hero.gotoAndStop(1);
if (actualLevel == 23) {
level_container.hero_c_1.gotoAndStop(1);
level_container.hero_c_2.gotoAndStop(1);
level_container.hero_c_3.gotoAndStop(1);
}
}
walking2 = 1;
} else {
xspeed += speed;
walking = true;
if (jumping == false && falling == false) {
level_container.hero.gotoAndStop(4);
if (actualLevel == 23) {
level_container.hero_c_1.gotoAndStop(4);
level_container.hero_c_2.gotoAndStop(4);
level_container.hero_c_3.gotoAndStop(4);
}
}
walking2 = 2;
}
}
if (actualLevel == 26) {
right_26 = true;
}
}
} else {
if (right_26 == true) {
right_26 = false;
if (x_pos <= 600) {
x_pos += 20;
level_container.hero.gotoAndStop(3);
}
}
}
}
if (Key.isDown(37) || Key.isDown(65)) {
if (Key.isDown(39) || Key.isDown(68)) {
if (jumping == false && falling == false) {
level_container.hero.gotoAndStop(3);
if (actualLevel == 23) {
level_container.hero_c_1.gotoAndStop(3);
level_container.hero_c_2.gotoAndStop(3);
level_container.hero_c_3.gotoAndStop(3);
}
}
}
}
if (actualLevel != 26) {
if (Key.isDown(37) || Key.isDown(39) || Key.isDown(68) || Key.isDown(65)) {
} else {
if (jumping == false && falling == false) {
if (actualLevel == 9) {
level_container.hero.gotoAndStop(4);
} else {
if (walking2 == 1) {
level_container.hero.gotoAndStop(2);
if (actualLevel == 23) {
level_container.hero_c_1.gotoAndStop(2);
level_container.hero_c_2.gotoAndStop(2);
level_container.hero_c_3.gotoAndStop(2);
}
}
if (walking2 == 2) {
level_container.hero.gotoAndStop(3);
if (actualLevel == 23) {
level_container.hero_c_1.gotoAndStop(3);
level_container.hero_c_2.gotoAndStop(3);
level_container.hero_c_3.gotoAndStop(3);
}
}
}
}
}
}
if (Key.isDown(40) || Key.isDown(83)) {
switch (actualLevel) {
case 7:
down_7 = true;
break;
case 11:
down_11 = true;
break;
case 26:
down_26 = true;
}
} else {
if (down_7 == true) {
down_7 = false;
gravity += 0.05;
if (gravity > 0.5) {
gravity = 0.5;
}
}
if (down_11 == true) {
down_11 = false;
gravity = 0.3;
}
if (down_26 == true) {
down_26 = false;
if (y_pos <= 440) {
y_pos += 20;
}
}
}
if (Key.isDown(38) || Key.isDown(87)) {
if (actualLevel != 17 || youDied_17 == false) {
if (actualLevel != 26) {
if (actualLevel == 7) {
up_7 = true;
}
if (actualLevel == 11) {
up_11 = true;
}
get_edges();
if (!falling and !jumping) {
if (actualLevel == 21) {
jump_speed += 1;
if (jump_speed > 20) {
jump_speed = 20;
}
}
if (actualLevel == 17) {
--pressable_17;
}
if (actualLevel == 18) {
jump_speed -= 1;
if (jumps_speed < 0) {
jump_speed = 0;
}
}
if (actualLevel != 7 && actualLevel != 11) {
jumpSound.start(0, 1);
}
jumping = true;
yspeed = -jump_speed;
}
} else {
if (actualLevel == 26) {
up_26 = true;
}
}
}
} else {
if (up_7 == true) {
up_7 = false;
gravity -= 0.05;
if (gravity < -0.5) {
gravity = -0.5;
}
}
if (up_11 == true) {
up_11 = false;
gravity = -0.3;
}
if (up_26 == true) {
up_26 = false;
if (y_pos > 80) {
y_pos -= 20;
}
}
}
if (Key.isDown(82)) {
rIsDown = true;
} else {
if (rIsDown == true) {
rIsDown = false;
remover();
}
}
if (actualLevel != 26) {
if (jumping == true || falling == true) {
if (walking2 == 2) {
level_container.hero.gotoAndStop(6);
if (actualLevel == 23) {
level_container.hero_c_1.gotoAndStop(6);
level_container.hero_c_2.gotoAndStop(6);
level_container.hero_c_3.gotoAndStop(6);
}
} else {
level_container.hero.gotoAndStop(5);
if (actualLevel == 23) {
level_container.hero_c_1.gotoAndStop(5);
level_container.hero_c_2.gotoAndStop(5);
level_container.hero_c_3.gotoAndStop(5);
}
}
}
}
if (actualLevel == 12) {
if (dontMove_12 == true) {
if (walking2 == 1) {
level_container.hero.gotoAndStop(2);
} else {
level_container.hero.gotoAndStop(3);
}
}
}
if (actualLevel == 17 && youDied_17 == true) {
level_container.hero.gotoAndStop(3);
}
}
function ground_under_feet() {
bonus_speed = 0;
left_foot_x = Math.floor((x_pos - 10) / tile_size);
right_foot_x = Math.floor((x_pos + 9) / tile_size);
foot_y = Math.floor((y_pos + 9) / tile_size);
left_foot = level[foot_y][left_foot_x];
right_foot = level[foot_y][right_foot_x];
if (left_foot != 0) {
current_tile = left_foot;
} else {
current_tile = right_foot;
}
switch (current_tile) {
case '0':
over = 'air';
speed = air_acceleration;
friction = air_friction;
falling = true;
break;
case '1':
over = 'ground';
speed = ground_acceleration;
friction = ground_friction;
break;
case '3':
over = 'door';
speed = air_acceleration;
friction = air_friction;
falling = true;
break;
case '8':
over = 'spikes';
if (left_foot == 8 and right_foot == 8) {
if (actualLevel == 17) {
youDied_17 = true;
pressable_17 = 5;
d_17_1 = false;
d_17_2 = false;
}
deathSound.start(0, 1);
if (actualLevel == 24) {
level_container.attachMovie('death_cel_wrapper', 'death_cel_wrapper', _root.level_container.getNextHighestDepth(), {'_x': level_container.hero._x, '_y': level_container.hero._y});
} else {
if (actualLevel == 23) {
foreground.attachMovie('death_cel_wrapper', 'death_cel_wrapper', _root.foreground.getNextHighestDepth(), {'_x': level_container.hero_c_1._x, '_y': level_container.hero_c_1._y});
foreground.attachMovie('death_cel_wrapper', 'death_cel_wrapper', _root.foreground.getNextHighestDepth(), {'_x': level_container.hero_c_2._x, '_y': level_container.hero_c_2._y});
foreground.attachMovie('death_cel_wrapper', 'death_cel_wrapper', _root.foreground.getNextHighestDepth(), {'_x': level_container.hero_c_3._x, '_y': level_container.hero_c_3._y});
}
foreground.attachMovie('death_cel_wrapper', 'death_cel_wrapper', _root.foreground.getNextHighestDepth(), {'_x': level_container.hero._x, '_y': level_container.hero._y});
}
place_player();
}
if (actualLevel == 4) {
if (left_foot == 8 || right_foot == 8) {
place_player();
deathSound.start(0, 1);
}
}
break;
case '6':
if (currentLevel == 1) {
player = [14, 0];
place_player();
getURL('http://www.notdoppler.com/?ref=volcania', '_blank');
} else {
player = [18, 5];
place_player();
getURL('http://www.notdoppler.com/volcania-walkthrough.php', '_blank');
}
}
}
function check_collisions() {
maxYspeed = 15;
if (yspeed > maxYspeed) {
yspeed = maxYspeed;
}
y_pos += yspeed;
get_edges();
if (top_right == 3 || bottom_right == 3 || top_left == 3 || bottom_left == 3) {
if (actualLevel == 8) {
if (firstTry_8 == true) {
place_player();
firstTry_8 = false;
background.gotoAndStop(2);
foreground._alpha = 0;
} else {
++currentLevel;
remover();
}
} else {
if (currentLevel == 1) {
currentLevel += 2;
remover();
} else {
if (currentLevel == 2) {
if (selected_level <= unlocked_level - 2) {
currentLevel = selected_level + 2;
remover();
}
} else {
++currentLevel;
remover();
}
}
}
}
if (top_right == 2 || top_left == 2) {
if (selected_level < 31) {
++selected_level;
}
}
if (top_right == 4 || top_left == 4) {
if (selected_level > 1) {
--selected_level;
}
}
if (currentLevel == 2) {
if (selected_level <= unlocked_level - 2) {
foreground.door._x = 36;
} else {
foreground.door._x = 700;
}
}
if (top_right == 5 || bottom_right == 5 || top_left == 5 || bottom_left == 5) {
if (currentLevel == 2) {
--currentLevel;
remover();
player = [1, 16];
place_player();
} else {
if (currentLevel == 1) {
++currentLevel;
remover();
}
}
}
if (yspeed > 0) {
if (bottom_right != 0 and bottom_right != 3 and bottom_right != 5 or bottom_left != 0 and bottom_left != 3 and bottom_left != 5) {
y_pos = bottom * tile_size - 9;
yspeed = 0;
falling = false;
jumping = false;
}
}
if (yspeed < 0) {
if (top_right != 0 and top_right != 3 and top_right != 5 or top_left != 0 and top_left != 3 and top_left != 5) {
y_pos = bottom * tile_size + 15;
yspeed = 0;
falling = false;
jumping = false;
}
}
x_pos += xspeed;
get_edges();
if (xspeed < 0) {
if (top_left != 0 and top_left != 3 and top_left != 5 or bottom_left != 0 and bottom_left != 3 and bottom_left != 5) {
x_pos = (left + 1) * tile_size + 10;
xspeed = 0;
}
}
if (xspeed > 0) {
if (top_right != 0 and top_right != 3 and top_right != 5 or bottom_right != 0 and bottom_right != 3 and bottom_right != 5) {
x_pos = right * tile_size - 10;
xspeed = 0;
}
}
prev_bottom = bottom;
}
function get_edges() {
right = Math.floor((x_pos + 9) / tile_size);
left = Math.floor((x_pos - 10) / tile_size);
bottom = Math.floor((y_pos + 8) / tile_size);
top = Math.floor((y_pos - 15) / tile_size);
top_right = level[top][right];
top_left = level[top][left];
bottom_left = level[bottom][left];
bottom_right = level[bottom][right];
}
function place_player() {
ground_acceleration = 1.2;
ground_friction = 0.7;
air_acceleration = 0.7;
air_friction = 0.7;
max_speed = 6;
gravity = 0.8;
jump_speed = 12;
lock_27 = true;
lock_28 = true;
xspeed = 0;
yspeed = 0;
level_container.hero.removeMovieClip();
level_container.hero_c_1.removeMovieClip();
level_container.hero_c_2.removeMovieClip();
level_container.hero_c_3.removeMovieClip();
x_pos = player[0] * tile_size + tile_size / 2;
y_pos = player[1] * tile_size + tile_size / 2 + 1;
level_container.attachMovie('hero', 'hero', _root.level_container.getNextHighestDepth(), {'_x': x_pos, '_y': y_pos});
if (actualLevel == 23) {
level_container.attachMovie('hero', 'hero_c_1', _root.level_container.getNextHighestDepth(), {'_x': x_pos - 260, '_y': y_pos});
level_container.attachMovie('hero', 'hero_c_2', _root.level_container.getNextHighestDepth(), {'_x': x_pos - 260, '_y': y_pos + 200});
level_container.attachMovie('hero', 'hero_c_3', _root.level_container.getNextHighestDepth(), {'_x': x_pos, '_y': y_pos + 200});
}
level_container.hero._x = 200;
randGem = Math.round(Math.random() * 6 + 0.5);
if (actualLevel == 6) {
i = 0;
while (i < amountFinish) {
foreground['fake' + i]._alpha = 100;
++i;
}
}
if (actualLevel == 7) {
gravity = 0.2;
jump_speed = 0.01;
}
if (actualLevel == 8) {
background.gotoAndStop(1);
foreground._alpha = 100;
firstTry_8 = true;
}
if (actualLevel == 11) {
jump_speed = 0.1;
}
if (actualLevel == 18) {
jump_speed = 9.6;
}
if (actualLevel == 19) {
countdown_19 = 1500;
countdown_19_base = 50;
countdown_19_b = countdown_19_base;
i_b = 0;
countdown_round_19 = 0;
for (i3 in bullets) {
bullet = this['bullet' + bullets[i3]];
removeMovieClip(bullet);
bullets.splice(i3, 1);
}
level[17][25] = 0;
foreground.door._x = 1000;
foreground.door._y = 350;
}
if (actualLevel == 28) {
light_1_1.gotoAndStop(1);
light_2_1.gotoAndStop(1);
light_3_1.gotoAndStop(1);
light_1_2.gotoAndStop(1);
light_2_2.gotoAndStop(1);
light_3_2.gotoAndStop(1);
light_1_3.gotoAndStop(1);
light_2_3.gotoAndStop(1);
light_3_3.gotoAndStop(1);
light_1_1.shine = false;
light_2_1.shine = false;
light_3_1.shine = false;
light_1_2.shine = false;
light_2_2.shine = false;
light_3_2.shine = false;
light_1_3.shine = false;
light_2_3.shine = false;
light_3_3.shine = false;
}
if (actualLevel == 30 || actualLevel == 29) {
countdown_30 = 3;
y = 0;
while (y < level_height) {
x = 0;
while (x < level_width) {
if (level[y][x] == 1) {
t = level_container['t' + y + '_' + x];
if (t._currentframe == 4) {
level[y][x] = 0;
t.gotoAndStop(5);
}
}
++x;
}
++y;
}
}
}
function remover() {
up_11 = false;
up_7 = false;
if (currentLevel >= unlocked_level) {
unlocked_level = currentLevel;
A.data.currentLevel = currentLevel;
}
if (currentLevel > prevLevel) {
doorSound.start(0, 1);
}
if (currentLevel == 1 && prevLevel == 2) {
doorSound.start(0, 1);
}
removeMovieClip(text);
removeMovieClip(lock_1);
removeMovieClip(light_1_1);
removeMovieClip(light_2_1);
removeMovieClip(light_3_1);
removeMovieClip(light_1_2);
removeMovieClip(light_2_2);
removeMovieClip(light_3_2);
removeMovieClip(light_1_3);
removeMovieClip(light_2_3);
removeMovieClip(light_3_3);
removeMovieClip(sponsorButton);
walkthroughButton.removeMovieClip();
mouseFollow_22.removeMovieClip();
movingPlat.removeMovieClip();
level_container.removeMovieClip();
background.removeMovieClip();
foreground.removeMovieClip();
gravityBar.removeMovieClip();
gravityBar2.removeMovieClip();
shooter.removeMovieClip();
menuBar.removeMovieClip();
i = 1;
while (i <= 6) {
removeMovieClip(this['counter_' + i]);
++i;
}
for (i2 in bullets) {
bullet = this['bullet' + bullets[i2]];
removeMovieClip(bullet);
bullets.splice(i2, 1);
}
levelCodeCreate();
prevLevel = currentLevel;
create_level(level);
}
prevLevel = currentLevel;
Playtomic.Log.Play();
stop();
tile_size = 24;
xspeed = 0;
yspeed = 0;
falling = false;
jumping = false;
climbing = false;
bullets = new Array();
level = new Array();
levelArray = new Array();
split = new Array();
secondSplit = new Array();
levelArray[1] = '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111100000000000011111111111111000000000000000111111111110000000000000000011111111110000030000000000011111111100000111111111000011111111000000000000000000011111111000000000000000000111111110000000000000000000111111110000000000000000000111111111000000000000000001111111111100000000000000001111111111110000000000000001111111111111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111777777777777777777777777777,15,7';
levelArray[2] = '111111111111111111111111111111111110001111111111111111111111000000000000000000111111100000000000000000000011111000000000000000000000011111000000000000000000000111110000000000000000000001111110000000011110000011111111110000111111111111111111000110001111111111111100000000110000001111110000000000000110000000000000000000000000110000000000000000000000000110000000000000000000000000110000000000000000000000000111000000000000000000000030111110000000000000000000111111111000100010000111000111111111888188818888111888111111111888188818888111888111888888888888888888888888888,4,24';
levelArray[3] = '111000000011111111111111111111000000011100000000001111110000000011000000000000111110000000011000000000000011110000000310000000000000011110000000110000000000000011100000001110000000000000001100000011100000000000000001100011111000000000000000001100111000000000000000000001100000000000001001000000001110000000000011881110001111110000000000111881118881111111000000000111881118881111111100010001111881118881111111188818881111881118881111111188818881111881118881111111188818881111881118881111111188818881111881118881111111188818881111881118881111888888888888888888888888888,8,23';
levelArray[4] = '111111111111111100001111111111111111111111100001111111111110000000111001111110111111000000000000000111100011110000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001880000000000000000000000001180000000000000000000000001188000000000000000000000001118000000000000000000000001118000000000000000011000001118800000000000000011100301118800000000000000011111111118800000011000000011111111118880000011111110011111111111888888811111118811111111111888888811111118811111111888888888888888888888888888,1,19';
levelArray[5] = '111111111111111111111111111111110000000000000000111111111100000000000000000000111111100000000000000000000011111000000100000000000000011110000000110000000000000011110000100100000000000000111110001100000010000011111111100001100000110000010000011100001100000110000010000001100000111111110000010000001100000011111118888810300001100000000011111111111110001100000000001111111111100001100000000000000000000000011100000000000000000000000011100000000000000000000000111111000000000000000000001111111111100011100010000111111111111188811188818888111111888888888888888888888888888,4,22';
levelArray[6] = '111111111111111111111111111111111000000000000000011111111100000000000000000001111111000000000000000000000111110000000000000000000000011110000000000000000000000011110001000100101001000100011110001000100101001000100011110001001110101011100100011111001000100101001000100111111001000100101001000100111111001100101101101001100111111001000100101001000100111111001000100101001000100111111001001110101011100100111111001000100101001000100111111001000100101001300100111111101101101101101101101111111881888188181881888188111111881888188181881888188111888888888888888888888888888,2,10';
levelArray[7] = '111111111111111111111111111111001111111111001111000001111000110001110000011300001111000100001110000011110001111000100001100000011000001111000100000000000010000001110000100000000000010001881100000100000000000010001111100000188100100000010000011100000188100100000010000001100000111100100188810000001100000000000100188818881001100000000000100111111111001100000000000100001111100001110000000001100000111000001111100000001100000000000001111110000001100000000000001111111000001100000000000001111111188881188888888888881111111188881188888888888881888888888888888888888888888,7,4';
levelArray[8] = '111111111111111111111111111111111111111111100000001111111111100000000000000000111111100000000000000000000001111000000000000000000000001110000000000000000000111001110000000000000000011111001111100000000000000111111001111110000000000001111110001111111000000000001111100001101111188811888111111000001100011188811888111100000001100001118811888111000000001100000011111111100000000001103000000000000000000000001111100000000000000000000001111110000000000000000000001100000000000011188811118881100000000001111188811118881188888111111111188811118881888888888888888888888888888,5,4';
levelArray[9] = '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111888888888888888888888888888,5,13';
levelArray[10] = '100010000000001000000101001100010000000001000000101001100010000000001000000101011100010000000001000011101001100010000000001100001101001100010000000000110000101101100010000000000010000101001100010000000000018888101031100010000000000018888101011100010018888888818888100001100010011111111111111100001100010000000000000000110001100010000000000000000011001100011111111111110000001001100000000000000000000001001110000000000000000000001001110000000000000000000001001110000000000000000000001001110018888100188888810101001110011111100111111110101001110011111100111111110101001,3,1';
levelArray[11] = '111111111111111111111111111111111111111111111111111111100000000000001100000001111100000000000001100000000111100000000000001100000000001100000000000001100000000001100000000000000100000000001100000000000000100000000001188888888100000000000000001111111111100000000000000001111111000000000000000000001111000000000001000000000001100000000000011000000000001100000000000011000000000001100000000000011000000010001130000000000011000000010001111110000000011000000010001111110000000011000000010001111000000000011000000011111118888888888811881888811111111111111111111111111111111,17,25';
levelArray[12] = '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000001111111111111111000000000000011111111111100000000000000000111111111000000000000000000001111111000000000000000000000111110000000000000000000000111110000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000001110000000000000000000000031110000000000000000000000011111100000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111888888888888888888888888888,15,2';
levelArray[13] = '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000001111111111111111000000000000011111111111100000000000000000111111111000000000000000000001111111000000000000000000000111110000000000000000000000111110000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000001110000000000000000000000001113000000000000000000000011111100000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111888888888888888888888888888,14,25';
levelArray[14] = '111111111111111111111111111111111111111111111111111111111111111111111101111111111111111111110000000011111111111111110000000000000011111111110000000000000000001111111100000000000000000001111111100000000000000000000111111100000000011100000000111111100000000011100000000111111000000000011100000000111111000000000011100000000111111000000000011100000000111111100000000011100000000111111100000000011100000003111111110000000011100000011111111110000000011100000011111111111100000011100001111111111111111111111111111111111111111111111111111111111111888888888888888888888888888,6,8';
levelArray[15] = '111111111111111111111111111111111111111110000001111111110000000000000000000000011100000000000000000000000011100000000000011011101111811100011011111811011101111111111000000001111010000001111111000000000000010000001111110000011000000010011181001110000011011000010011111001110000000011111000000000031110000000000000000000000011110000100000000000000000111110000100010000000000001111110000100011111000011111111111000100011100000001111111111118100011000000000000001111111100011000000000000001111111111811111111111111181111111111111111111111111111888888888888888888888888888,5,1';
levelArray[16] = '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000010000000000000000000000000110000000000000000000000000110000000000000000000000001110000000000000000000000001110000000000000000000000001111000000000000000000000011111000000000000000000000111111000000000000000000000111111000000000000000000000111111100000000000000000000111111100000000000000000001111111110000000000000000001111111111030000111111111111111111111111111111111111111111111111111111888888888888888888888888888,10,8';
levelArray[17] = '111111111111111111111111111111110000000000000001111111111110000000000000000111111111111111111111111000001111111111111111100000000000111100000000000000000000000011100000000000000000000000011100001000000000000000000011100001111111111111111111111100000001111111111111111111100100000000000000000000001100100000000000000000000001100100000000000000000000001111100000000000000000000001111100000000000000000000001111100000000000000000000001111100000000000000000000001111110000000000000000000031111111111111881111111111111111111111111881111111111111888888888888888888888888888,2,5';
levelArray[18] = '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000110000000000000000000000000110000000000000000000000000110000000000000000000000000110000000000000000000000000110001100001000000000000000110011100011000000000000000110111100111111110000000000110111101111111111188810030110000000000000011111111111110000000000000011111111111111111111111118811111111111111111111111111111111111111888888888888888888888888888,6,0';
levelArray[19] = '111111111111111111111111111100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000011111111111111111111111111111888888888888888888888888888,18,12';
levelArray[20] = '111111111111111111111111111111111111111111111111111111111111100000111111111111111111110000000011111111111111111000000000001111111111111111000000000000111111111111110000000000000011111111001110000000000000011111110001110000000000000001111110001110000000000000000111000001110000000000000000000000001110000000000000000000000001111000000000000000000000001111100000000000000000000001111111000000000000000000011111111111100000000000000311111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111888888888888888888888888888,11,2';
levelArray[21] = '111111111111111111111111111111111111110000000001111111111101111100000000000111111111100111100000000000001111111000111100000000000000111110000011100000000000000011110000001100001000000000011110000001100011000000000011110000001000011000000000011110000001000111000000000011110000000000111000000000011110000000000111000000000011110000000000111000000000311110000000000111100000000111110000000000111100000000111110000000000111100000000111111000000000111110000001111111100000000111110000011111111111111111111111111111111111111111111111111111111111888888888888888888888888888,16,7';
levelArray[22] = '111111111111111111111111111111111111110000011111111111111111111000000001111111111111110000000030000000000111111100000000010000000000111111000000000111000111100011111000000000111111111110001111000111111111111000110001111000011000000000000000001111100011000000000000000001111000001000000000000000011111000111000000000000000111111001110000000011888188111111000100000000111188188111111100100000001111111111111111100100000000100000011111111100000000100000000000111111110000000110000000001111111111118888110000000011111111111118888111188811111111888888888888888888888888888,17,20';
levelArray[23] = '111111111111111111111111111100000000000010000000100001100000000000010000003100001100000000000010000111101111100000000000011000000100001100000000000011100000000001100000000000011100000000001101810000000011181000000001101811000000011181100000001111111111111111111111888111111111111111111111111111111100000001000010000000000001100000001000010000000000001100001111000010000000001111100000001000011000000000001100000000000011100000000001100000000000011100000000001100000000000011000000000001100000000000011000000000001111111118881111111111111111118888888888888888888888888,1,24';
levelArray[24] = '111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000001111111111100000000000000000111111111100000000000000000001111110000000000000000000000111110000000100010001010000111110000001188818881810000011110000011111111111110000011100000000000000000000003011110000000000000000000011111110011100000000000000111111110011000000000000000111111110111000100000000000100011111111000100100100000100011111111888100100100000000011111111188100100100100000011111111118188188188111111111111111111111111111111111111888888888888888888888888888,16,23';
levelArray[25] = '111111111111111111111111111111111111111111111111111111111111110000000000000001111111111100000000000000001111111111000000000000000001111111110000000000011111111111111100000000000011111111111111100000000110000111111101111000000000110000000000001111000000001111000000000001110000000001111000000000001110000000011111000001100001110000000011111100011100001110000000111111100011110001110000000111111110011111001110000001111111110111111101110000001111111110111111101111000001111111111111111111111111111111111111111111111111111111111111111111111111888888888888888888888888888,14,2';
levelArray[26] = '111111111111111111111111111100000000000000000000000001103000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001111111111111111111111111111888888888888888888888888888,18,24';
levelArray[27] = '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001100000000000000000000000001100000000000000000000000031111111111111111111111111111888888888888888888888888888,17,2';
levelArray[28] = '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001100000000000000000000000001100000000000000000000000031181111111111111111111111111888888888888888888888888888,17,2';
levelArray[29] = '111111111111111111111111111100000000000000000000000111100000000000000000000000111100000000000000000000000011100000000000000000000000011100000000000000000000000011100001000000000000000100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100031100001888888888888888100011100001888888888888888100111100001888888888888888111111111181888888888888888111111888888888888888888888888888,4,2';
levelArray[30] = '111111111111111111111111111100000000000000000000000111100000000000000000000000111100000000000000000000000011100000000000000000000000011100000000000000000000000011100001000000000000000100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100001100001888888888888888100031100001888888888888888100011100001888888888888888100111100001888888888888888111111111181888888888888888111111888888888888888888888888888,4,2';
levelArray[31] = '111111111111111111111111111100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000031111111111111111111111111111888888888888888888888888888,4,3';
levelArray[32] = '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000030111111101111111111111111111111111101111111111111111111111111101111111111111111111111111161111111111111111111,12,16';
levelArray[33] = '111111111111111111111111110111111111111111111111111110111111111111111111111111100111111111111111111111000000111111111100000000000000000111111111100000000000000000111111111100000000000000000111111111100000000000000000111111111100000000000000000111111111100000000000000000111111111100000000000000000111441122100000000000000000111441122100000000000000000111441122100000000000000000111001100100000000000000000100000000000000000000000000100000000000000000000000000130000000000000000000000005111111111111111110111111111111111111111111116111111111888888888888888888888888888,16,25';
levelArray[34] = '111111111111111111111111111100000000000000000000000001103000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000011111111111111111111111111111888888888888888888888888888,18,24';
selected_level = 1;
levelCodeCreate();
create_level(level);
_root.onEnterFrame = function () {
if (_root._currentframe == 7) {
if (textCounter >= 0) {
--textCounter;
} else {
if (text._alpha >= 0) {
text._alpha -= 2;
}
}
lightFunc();
counterFunc();
menuBarF();
levelSpecCode();
ground_under_feet();
walking = false;
climbing = false;
keys();
if (actualLevel != 26) {
if (!walking) {
xspeed *= friction;
if (Math.abs(xspeed) < 0.5) {
xspeed = 0;
}
}
if (xspeed > max_speed) {
xspeed = max_speed;
}
if (xspeed < max_speed * -1) {
xspeed = max_speed * -1;
}
if (falling or jumping) {
yspeed += gravity;
}
if (climbing) {
yspeed = climb_speed * climbdir;
}
if (!falling and !jumping and !climbing) {
yspeed = 0;
}
}
xspeed += bonus_speed;
check_collisions();
level_container.hero._x = x_pos;
level_container.hero._y = y_pos;
if (actualLevel == 23) {
level_container.hero_c_1._x = x_pos - 312;
level_container.hero_c_1._y = y_pos;
level_container.hero_c_2._x = x_pos - 312;
level_container.hero_c_2._y = y_pos + 240;
level_container.hero_c_3._x = x_pos;
level_container.hero_c_3._y = y_pos + 240;
}
xspeed -= bonus_speed;
}
};
walking2 = 1;
if (actualLevel == 32) {
walking2 = 2;
}
walking = true;
}
frame 8 {
storyFrame = 0;
backgroundMusic.stop();
button_next.onRelease = function () {
++storyFrame;
endStory.gotoAndStop(storyFrame + 1);
if (storyFrame == 6) {
backgroundMusic.start(0, 9999);
button_next._x = 1000;
buttonSponsor._x = 510;
}
};
buttonSponsor.onRelease = function () {
getURL('http://www.notdoppler.com/?ref=volcania', '_blank');
};
buttonSponsor.onRollOver = function () {
buttonSponsor.gotoAndStop(2);
};
buttonSponsor.onRollOut = function () {
buttonSponsor.gotoAndStop(1);
};
}