Combined Code
frame 1 {
function gpstudios() {
getURL('http://www.gpstudios.com/', '_blank');
}
function tips() {
getURL('http://www.gpstudios.com/coconudge_tips.php', '_blank');
}
function highscores(level) {
if (level == undefined) {
level = 0;
}
getURL('http://www.gpstudios.com/highscores.php?id=' + gameID + '&level=' + level, '_blank');
}
function highscoresMenu() {
getURL('http://www.gpstudios.com/highscores.php?id=' + gameID + '&level=1', '_blank');
}
function download() {
getURL('http://www.gpstudios.com/downloads/coconudge.rar', '_blank');
}
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = '__mochibot__';
mbc = 'mochibot.com';
g = _global ? _global : _level0._root;
if (g[mb + swfid]) {
return g[mb + swfid];
}
s = System.security;
x = mc._root.getSWFVersion;
fv = x ? mc.getSWFVersion() : (_global ? 6 : 5);
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == 'localWithFile') {
return null;
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = (fv == 5) ? /:$version : System.capabilities.version;
u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : '');
lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv);
g[mb + 'level'] = lv;
if (fv == 5) {
res = '_level' + lv;
if (!eval(res)) {
loadMovieNum(u, lv);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
Stage.scaleMode = 'noBorder';
stop();
play_btn._visible = false;
gn = true;
_root.onEnterFrame = function () {
percent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
preloader.gotoAndStop(percent);
if (percent >= 100) {
play_btn._visible = true;
}
};
var CPMStarContentSpotID = '2250QF56DB61B';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
gameID = 470;
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
newMenu.customItems.push(new ContextMenuItem('Play More Games at GPStudios.com', gpstudios));
newMenu.customItems.push(new ContextMenuItem('Check Out The Tips Page', tips));
newMenu.customItems.push(new ContextMenuItem('Check Out The Highscores', highscoresMenu));
newMenu.customItems.push(new ContextMenuItem('Download This Game For Your Site!', download));
this.menu = newMenu;
__com_mochibot__('79ec6af0', this, 10301, true);
__com_mochibot__('a8029461', this, 10301, true);
}
movieClip 3 {
}
movieClip 11 {
frame 1 {
stop();
}
}
movieClip 14 {
}
movieClip 15 {
}
movieClip 18 {
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 26 {
}
movieClip 28 {
}
// unknown tag 88 length 69
button 35 {
on (press) {
_root.gotoAndStop(2);
}
}
movieClip 38 {
}
movieClip 39 {
}
movieClip 41 {
}
movieClip 45 {
frame 44 {
stop();
}
}
movieClip 46 {
frame 1 {
enterFrame = function () {
if (currentFrame <= 140) {
logo.gotoAndPlay(Math.round(Math.random() * 12) + 1);
}
};
gpstudios_but.onPress = function () {
getURL('http://www.gpstudios.com', '_blank');
};
}
frame 157 {
stop();
_root.nextFrame();
}
}
frame 3 {
function ball_die() {
trace('vrijeme: ' + vrijeme * 10 * 2.9);
pif = 1;
naspajku = false;
removeMovieClip(_root.siljci_lopta);
bricks._x = 275 - 80 * _root.ball_start_x;
bricks._y = 250 - 80 * _root.ball_start_y;
if (checkpoint_passed) {
} else {
vrijeme = 0;
}
xspeed = 0;
yspeed = 0;
draw_level(lev);
trace('krepo');
vrijeme2.vrijeme_text.text = vrijeme;
vrijemekreni = false;
keyup = false;
safe = 0;
krepala = true;
}
function draw_level(number) {
monS = true;
eS = true;
safety = 1;
finallvl = false;
fS = true;
ball._xscale = xodlopte;
ball._yscale = yodlopte;
mozedalje = false;
bricks.krajlvl.gotoAndStop(1);
_root.ball._alpha = 100;
kraj_anim = false;
majmun_banana = false;
_root.vrijeme2.banane.gotoAndStop(1);
imas_bananu = false;
krepala = false;
if (novi_level) {
if (nexlvl == 1) {
keyup = true;
nexlvl = 2;
} else {
keyup = false;
}
vrijeme = 0;
novi_level = false;
vrijeme2.vrijeme_text.text = vrijeme;
vrijemekreni = false;
safe = 0;
}
yspeed = 0;
xspeed = 0;
level = new Array();
messages = new Array();
trace(number);
if (number == 1) {
keyup = true;
_root.ball_start_x = 0;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(1, 12001, 1, 1, 1, 1, 10, 0, 0, 0, 0, 0, 0, 0, 0);
messages[1] = 'Welcome to the COCONUDGE, your goal is to get to the black hole.';
}
if (number == 2) {
if (provjera_levela.data.lvl < 2) {
provjera_levela.data.lvl = 2;
}
_root.ball_start_x = 0;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 10, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 3) {
if (provjera_levela.data.lvl < 3) {
provjera_levela.data.lvl = 3;
}
_root.ball_start_x = 0;
_root.ball_start_y = 1;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 5, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 10, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 4) {
if (provjera_levela.data.lvl < 4) {
provjera_levela.data.lvl = 4;
}
_root.ball_start_x = 5;
_root.ball_start_y = 5;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 1, 1, 9, 1, 0, 10, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 1, 0, 0, 9, 0, 1, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 0, 9, 0, 1, 1, 0, 9, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 0, 1, 9, 1, 9, 1, 1, 0, 0, 0, 0, 0, 0);
}
if (number == 5) {
if (provjera_levela.data.lvl < 5) {
provjera_levela.data.lvl = 5;
}
_root.ball_start_x = 4;
_root.ball_start_y = 2;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 12001, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 7, 1, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 9, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 1, 1, 14, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
messages[1] = 'You will find bananas along the way, collect them so you will have a free pass from the monkey..';
}
if (number == 6) {
if (provjera_levela.data.lvl < 6) {
provjera_levela.data.lvl = 6;
}
_root.ball_start_x = 2;
_root.ball_start_y = 2;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 0, 0, 1, 5, 1, 1, 5, 9, 7, 0, 0, 0);
level[2] = new Array(0, 0, 1, 12001, 4, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 0, 0, 10, 14, 1, 0, 0, 0, 0, 0, 0, 0);
messages[1] = 'Don\'t forget your bananas...';
}
if (number == 7) {
if (provjera_levela.data.lvl < 7) {
provjera_levela.data.lvl = 7;
}
_root.ball_start_x = 2;
_root.ball_start_y = 2;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 1, 1, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 1, 2, 1, 1, 1, 1, 1, 4, 1, 7, 0, 0, 0, 0);
level[5] = new Array(0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 1, 5, 14, 4, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 8) {
if (provjera_levela.data.lvl < 8) {
provjera_levela.data.lvl = 8;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 1, 0, 0, 1, 9, 5, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 3, 1, 1, 3, 0, 12001, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(1, 1, 1, 1, 4, 4, 4, 1, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
messages[1] = 'Better move fast!';
}
if (number == 9) {
if (provjera_levela.data.lvl < 9) {
provjera_levela.data.lvl = 9;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(1, 1, 0, 0, 1, 5, 5, 1, 1, 0, 0, 0, 0, 0, 0);
level[1] = new Array(9, 0, 0, 0, 1, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0);
level[2] = new Array(1, 0, 5, 1, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0);
level[3] = new Array(5, 1, 9, 0, 0, 0, 1, 3, 1, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 0, 0, 10, 1, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 10) {
if (provjera_levela.data.lvl < 10) {
provjera_levela.data.lvl = 10;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 0, 0, 1, 9, 1, 1, 3, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 1, 4, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 1, 0, 6, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0);
level[3] = new Array(5, 1, 9, 0, 13, 0, 0, 1, 4, 0, 0, 0, 0, 0, 0);
level[4] = new Array(9, 0, 0, 0, 4, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(5, 1, 1, 14, 1, 0, 0, 3, 2, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 4, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 1, 0, 3, 0, 0, 9, 1, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 1, 9, 5, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 12001, 10, 0, 0, 0, 0, 0, 0);
messages[1] = 'Still not hard enough?';
}
if (number == 11) {
if (provjera_levela.data.lvl < 11) {
provjera_levela.data.lvl = 11;
}
_root.ball_start_x = 0;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(1, 1, 5, 6, 1, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(10, 14, 6, 1, 6, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 12) {
if (provjera_levela.data.lvl < 12) {
provjera_levela.data.lvl = 12;
}
_root.ball_start_x = 2;
_root.ball_start_y = 1;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(6, 9, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(3, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(9, 5, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 13) {
if (provjera_levela.data.lvl < 13) {
provjera_levela.data.lvl = 13;
}
_root.ball_start_x = 0;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(1, 1, 6, 6, 6, 6, 4, 1, 1, 7, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 4, 6, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 1, 0, 0, 1, 4, 6, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 1, 14, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 14) {
if (provjera_levela.data.lvl < 14) {
provjera_levela.data.lvl = 14;
}
_root.ball_start_x = 3;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(2, 8, 12001, 1, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(6, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(1, 0, 6, 1, 3, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(1, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
messages[1] = 'Hmm... This looks slipery...';
}
if (number == 15) {
if (provjera_levela.data.lvl < 15) {
provjera_levela.data.lvl = 15;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 1, 9, 6, 9, 1, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 11, 11, 11, 12001, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 1, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
messages[1] = 'I wonder what this is...';
}
if (number == 16) {
if (provjera_levela.data.lvl < 16) {
provjera_levela.data.lvl = 16;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 0, 0, 1, 8, 14, 6, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 8, 0, 0, 6, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 1, 0, 0, 1, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 1, 1, 0, 6, 4, 0, 1, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 6, 0, 0, 1, 0, 6, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 1, 4, 0, 1, 3, 0, 3, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(2, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(6, 0, 0, 11, 11, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(3, 1, 1, 11, 0, 0, 6, 1, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 9, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0);
level[10] = new Array(0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[11] = new Array(0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[12] = new Array(0, 13, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 17) {
if (provjera_levela.data.lvl < 17) {
provjera_levela.data.lvl = 17;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 0, 0, 0, 1, 1, 14, 8, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 8, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 8, 0, 0, 0, 8, 0, 0, 8, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 8, 0, 0, 0, 2, 0, 0, 10, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 5, 5, 8, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 18) {
if (provjera_levela.data.lvl < 18) {
provjera_levela.data.lvl = 18;
}
_root.ball_start_x = 3;
_root.ball_start_y = 3;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(8, 9, 6, 9, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(1, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(1, 9, 1, 1, 0, 9, 1, 0, 0, 9, 9, 9, 0, 0, 0);
level[4] = new Array(0, 0, 0, 0, 0, 0, 9, 1, 8, 1, 0, 1, 0, 0, 0);
level[5] = new Array(0, 0, 0, 0, 14, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0);
level[6] = new Array(0, 0, 0, 11, 1, 0, 0, 0, 0, 11, 11, 11, 0, 0, 0);
level[7] = new Array(0, 10, 1, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0);
}
if (number == 19) {
if (provjera_levela.data.lvl < 19) {
provjera_levela.data.lvl = 19;
}
_root.ball_start_x = 3;
_root.ball_start_y = 3;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(11, 11, 11, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(8, 9, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 20) {
if (provjera_levela.data.lvl < 20) {
provjera_levela.data.lvl = 20;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 1, 1, 9, 1, 9, 9, 1, 9, 7, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 0, 1, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 0, 1, 8, 11, 8, 9, 1, 10, 0, 0, 0, 0);
}
if (number == 21) {
if (provjera_levela.data.lvl < 21) {
provjera_levela.data.lvl = 21;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 9, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 9, 1, 0, 0, 0, 11, 11, 10, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 9, 1, 0, 11, 11, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 0, 9, 6, 9, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 22) {
if (provjera_levela.data.lvl < 22) {
provjera_levela.data.lvl = 22;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 0, 0, 0, 1, 6, 1, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 1, 0, 5, 8, 3, 0, 3, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 1, 4, 1, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 0, 0, 10, 1, 9, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 23) {
if (provjera_levela.data.lvl < 23) {
provjera_levela.data.lvl = 23;
}
_root.ball_start_x = 2;
_root.ball_start_y = 4;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(4, 6, 1, 9, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(1, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(10, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 9, 6, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 24) {
if (provjera_levela.data.lvl < 24) {
provjera_levela.data.lvl = 24;
}
_root.ball_start_x = 3;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 0, 1, 1, 0, 7, 11, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 1, 11, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 1, 9, 1, 11, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(10, 1, 14, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 25) {
if (provjera_levela.data.lvl < 25) {
provjera_levela.data.lvl = 25;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 6, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 6, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 9, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 9, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 9, 0, 11, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 1, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[10] = new Array(0, 1, 1, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[11] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[12] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[13] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[14] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 26) {
if (provjera_levela.data.lvl < 26) {
provjera_levela.data.lvl = 26;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0);
level[2] = new Array(5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0);
level[3] = new Array(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0);
level[4] = new Array(1, 1, 1, 1, 1, 6, 6, 6, 9, 6, 9, 6, 1, 0, 0);
level[5] = new Array(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0);
level[6] = new Array(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0);
level[7] = new Array(7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0);
level[8] = new Array(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0);
level[9] = new Array(1, 9, 1, 1, 1, 4, 5, 1, 1, 8, 9, 1, 8, 0, 0);
}
if (number == 27) {
if (provjera_levela.data.lvl < 27) {
provjera_levela.data.lvl = 27;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(2, 1, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(8, 0, 0, 11, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(8, 0, 11, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(9, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 28) {
if (provjera_levela.data.lvl < 28) {
provjera_levela.data.lvl = 28;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 0, 8, 9, 11, 0, 10, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 2, 1, 8, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 0, 0, 0, 9, 8, 9, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 29) {
if (provjera_levela.data.lvl < 29) {
provjera_levela.data.lvl = 29;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 8, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 8, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 9, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 9, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 1, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 1, 1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 30) {
if (provjera_levela.data.lvl < 30) {
provjera_levela.data.lvl = 30;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 14, 13, 6, 9, 0, 0, 0, 10, 0, 0, 0, 0, 0);
level[1] = new Array(0, 2, 0, 0, 0, 1, 6, 8, 0, 1, 0, 0, 0, 0, 0);
level[2] = new Array(0, 9, 0, 0, 0, 0, 0, 5, 1, 9, 0, 0, 0, 0, 0);
level[3] = new Array(0, 8, 9, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 11, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 5, 11, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 1, 8, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 31) {
if (provjera_levela.data.lvl < 31) {
provjera_levela.data.lvl = 31;
}
_root.ball_start_x = 10;
_root.ball_start_y = 7;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 0, 0, 0, 10, 0, 1, 9, 7, 0, 0, 0, 0);
level[2] = new Array(0, 0, 0, 0, 0, 6, 1, 0, 8, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 0, 0, 3, 0, 14, 9, 1, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 0, 0, 0, 1, 8, 1, 0, 1, 4, 0, 0, 0, 0);
level[6] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0);
level[7] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 32) {
if (provjera_levela.data.lvl < 32) {
provjera_levela.data.lvl = 32;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 1, 2, 0, 8, 1, 9, 8, 8, 7, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 8, 9, 11, 0, 6, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 9, 8, 9, 8, 9, 14, 5, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 33) {
if (provjera_levela.data.lvl < 33) {
provjera_levela.data.lvl = 33;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 11, 11, 11, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 0, 11, 9, 0, 11, 8, 11, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 0, 11, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 0, 11, 6, 11, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 34) {
if (provjera_levela.data.lvl < 34) {
provjera_levela.data.lvl = 34;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 11, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 0, 9, 0, 1, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(0, 8, 1, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(0, 11, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(0, 11, 0, 11, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 9, 6, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
if (number == 35) {
if (provjera_levela.data.lvl < 35) {
provjera_levela.data.lvl = 35;
}
_root.ball_start_x = 1;
_root.ball_start_y = 0;
if (checkpoint_passed) {
_root.ball_start_x = save_x;
_root.ball_start_y = save_y;
}
level[0] = new Array(0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[1] = new Array(0, 2, 0, 0, 8, 14, 1, 0, 0, 0, 0, 0, 0, 0, 0);
level[2] = new Array(11, 4, 0, 1, 3, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0);
level[3] = new Array(9, 0, 0, 6, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0);
level[4] = new Array(5, 1, 0, 3, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0);
level[5] = new Array(0, 1, 8, 1, 0, 10, 9, 1, 0, 0, 0, 0, 0, 0, 0);
level[6] = new Array(0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[7] = new Array(0, 0, 9, 8, 9, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[8] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
level[9] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
_root.createEmptyMovieClip('bricks', 2);
bricks._x = 275 - 80 * ball_start_x;
bricks._y = 250 - 80 * ball_start_y;
y = 0;
while (y <= 14) {
x = 0;
while (x <= 14) {
if (level[y][x] > 0) {
depth = y * 12 + x;
place_brick = bricks.attachMovie('brick', 'brick_' + depth, bricks.getNextHighestDepth(), {'_x': x * 80, '_y': y * 80});
if (level[y][x] == 7) {
bricks.attachMovie('banane', 'banane', bricks.getNextHighestDepth(), {'_x': x * 80, '_y': y * 80});
}
if (level[y][x] == 14) {
bricks.attachMovie('majmunianim', 'majmun', bricks.getNextHighestDepth(), {'_x': x * 80, '_y': y * 80});
}
if (level[y][x] == 10) {
bricks.attachMovie('krajlvl', 'krajlvl', bricks.getNextHighestDepth(), {'_x': x * 80, '_y': y * 80});
}
if (tip_kocke == 3) {
tip_kocke = 1;
}
place_brick.tip_kocke.gotoAndStop(tip_kocke);
place_brick.tip_kocke2.gotoAndStop(tip_kocke);
frame_to_stop = level[y][x];
tip_kocke += 1;
if (frame_to_stop > 12000) {
frame_to_stop = 12;
}
place_brick.gotoAndStop(frame_to_stop);
}
++x;
}
++y;
}
}
stop();
igraSound = new Sound(this);
igraSound.attachSound('muzika_igra');
igraSound.setVolume(100);
vodaSound = new Sound(this);
vodaSound.attachSound('vodaSound');
endSound = new Sound(this);
endSound.attachSound('endHole');
monkeySound = new Sound(this);
monkeySound.attachSound('monkeySound');
signSound = new Sound(this);
signSound.attachSound('signSound');
strelicaSound = new Sound(this);
strelicaSound.attachSound('strelicaSound');
fallSound = new Sound(this);
fallSound.attachSound('falldown');
kickSound = new Sound(this);
kickSound.attachSound('kick');
_root.attachMovie('intro_mc', 'intro', 30, {'_x': 275, '_y': 250});
_root.attachMovie('izbornik', 'izbornik', 20, {'_x': 0, '_y': 0});
_root.attachMovie('starz', 'starz', 1, {'_x': -20, '_y': -20});
_root.attachMovie('ball', 'ball', 3, {'_x': 275, '_y': 250});
_root.attachMovie('vrijeme', 'vrijeme2', 5, {'_x': 405, '_y': 15});
_root.attachMovie('info_panel', 'info_panel', 4, {'_y': 395, '_alpha': 100, '_visible': false});
firstlvl = false;
finallvl = false;
mi = false;
kraj_anim2 = false;
xodlopte = ball._xscale;
yodlopte = ball._yscale;
nexlvl = 2;
safety = 1;
provjera_levela = SharedObject.getLocal('lvl');
monS = true;
aS = true;
sS = true;
fS = true;
vS = true;
eS = true;
naspajku = false;
ball.texture.setMask(ball.ball_itself);
yspeed = 0;
xspeed = 0;
scoreilinext = 2;
rezultat_ukupno = 0;
tip_kocke = 1;
rezultat = 0;
vrijeme = 0;
imas_bananu = false;
majmun_banana = false;
mozedalje = false;
safe = 0;
iskljucenzvuk = false;
keyup = false;
kraj_anim = false;
vrijemekreni = false;
novi_level = false;
checkpoint_passed = false;
stoptime = false;
lev = 1;
draw_level(lev);
pozivbanane = function () {
removeMovieClip(_root.bricks.banane);
_root.vrijeme2.banane.gotoAndStop(2);
imas_bananu = true;
};
ball.onEnterFrame = function () {
_root.izbornik.new_game.onPress = function () {
firstlvl = true;
_root.izbornik.removeMovieClip();
};
intro.skip_btn.onRelease = function () {
_root.intro.gotoAndStop(1);
_root.intro.introSound.stop();
_root.igraSound.start(0, 99);
_root.intro.removeMovieClip();
};
if (provjera_levela.data.lvl != undefined) {
if (provjera_levela.data.lvl >= 1) {
_root.izbornik.lvl_select_tab.level_tab.lv1.onPress = function () {
firstlvl = true;
lev = 1;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 2) {
_root.izbornik.lvl_select_tab.level_tab.lv2.onPress = function () {
firstlvl = true;
lev = 2;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 3) {
_root.izbornik.lvl_select_tab.level_tab.lv3.onPress = function () {
firstlvl = true;
lev = 3;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 4) {
_root.izbornik.lvl_select_tab.level_tab.lv4.onPress = function () {
firstlvl = true;
lev = 4;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 5) {
_root.izbornik.lvl_select_tab.level_tab.lv5.onPress = function () {
firstlvl = true;
lev = 5;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 6) {
_root.izbornik.lvl_select_tab.level_tab.lv6.onPress = function () {
firstlvl = true;
lev = 6;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 7) {
_root.izbornik.lvl_select_tab.level_tab.lv7.onPress = function () {
firstlvl = true;
lev = 7;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 8) {
_root.izbornik.lvl_select_tab.level_tab.lv8.onPress = function () {
firstlvl = true;
lev = 8;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 9) {
_root.izbornik.lvl_select_tab.level_tab.lv9.onPress = function () {
firstlvl = true;
lev = 9;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 10) {
_root.izbornik.lvl_select_tab.level_tab.lv10.onPress = function () {
firstlvl = true;
lev = 10;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 11) {
_root.izbornik.lvl_select_tab.level_tab.lv11.onPress = function () {
firstlvl = true;
lev = 11;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 12) {
_root.izbornik.lvl_select_tab.level_tab.lv12.onPress = function () {
firstlvl = true;
lev = 12;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 13) {
_root.izbornik.lvl_select_tab.level_tab.lv13.onPress = function () {
firstlvl = true;
lev = 13;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 14) {
_root.izbornik.lvl_select_tab.level_tab.lv14.onPress = function () {
firstlvl = true;
lev = 14;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 15) {
_root.izbornik.lvl_select_tab.level_tab.lv15.onPress = function () {
firstlvl = true;
lev = 15;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 16) {
_root.izbornik.lvl_select_tab.level_tab.lv16.onPress = function () {
firstlvl = true;
lev = 16;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 17) {
_root.izbornik.lvl_select_tab.level_tab.lv17.onPress = function () {
firstlvl = true;
lev = 17;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 18) {
_root.izbornik.lvl_select_tab.level_tab.lv18.onPress = function () {
firstlvl = true;
lev = 18;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 19) {
_root.izbornik.lvl_select_tab.level_tab.lv19.onPress = function () {
firstlvl = true;
lev = 19;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 20) {
_root.izbornik.lvl_select_tab.level_tab.lv20.onPress = function () {
firstlvl = true;
lev = 20;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 21) {
_root.izbornik.lvl_select_tab.level_tab.lv21.onPress = function () {
firstlvl = true;
lev = 21;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 22) {
_root.izbornik.lvl_select_tab.level_tab.lv22.onPress = function () {
firstlvl = true;
lev = 22;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 23) {
_root.izbornik.lvl_select_tab.level_tab.lv23.onPress = function () {
firstlvl = true;
lev = 23;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 24) {
_root.izbornik.lvl_select_tab.level_tab.lv24.onPress = function () {
firstlvl = true;
lev = 24;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 25) {
_root.izbornik.lvl_select_tab.level_tab.lv25.onPress = function () {
firstlvl = true;
lev = 25;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 26) {
_root.izbornik.lvl_select_tab.level_tab.lv26.onPress = function () {
firstlvl = true;
lev = 26;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 27) {
_root.izbornik.lvl_select_tab.level_tab.lv27.onPress = function () {
firstlvl = true;
lev = 27;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 28) {
_root.izbornik.lvl_select_tab.level_tab.lv28.onPress = function () {
firstlvl = true;
lev = 28;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 29) {
_root.izbornik.lvl_select_tab.level_tab.lv29.onPress = function () {
firstlvl = true;
lev = 29;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 30) {
_root.izbornik.lvl_select_tab.level_tab.lv30.onPress = function () {
firstlvl = true;
lev = 30;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 31) {
_root.izbornik.lvl_select_tab.level_tab.lv31.onPress = function () {
firstlvl = true;
lev = 31;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 32) {
_root.izbornik.lvl_select_tab.level_tab.lv32.onPress = function () {
firstlvl = true;
lev = 32;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 33) {
_root.izbornik.lvl_select_tab.level_tab.lv33.onPress = function () {
firstlvl = true;
lev = 33;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 34) {
_root.izbornik.lvl_select_tab.level_tab.lv34.onPress = function () {
firstlvl = true;
lev = 34;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
if (provjera_levela.data.lvl >= 35) {
_root.izbornik.lvl_select_tab.level_tab.lv35.onPress = function () {
firstlvl = true;
lev = 35;
draw_level(lev);
_root.izbornik.removeMovieClip();
};
}
switch (provjera_levela.data.lvl) {
case 2:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
break;
case 3:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
break;
case 4:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
break;
case 5:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
break;
case 6:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
break;
case 7:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
break;
case 8:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
break;
case 9:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
break;
case 10:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
break;
case 11:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
break;
case 12:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
break;
case 13:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
break;
case 14:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
break;
case 15:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
break;
case 16:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
break;
case 17:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
break;
case 18:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
break;
case 19:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
break;
case 20:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
break;
case 21:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
break;
case 22:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
break;
case 23:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
break;
case 24:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
break;
case 25:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
break;
case 26:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv26.gotoAndStop(2);
break;
case 27:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv26.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv27.gotoAndStop(2);
break;
case 28:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv26.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv27.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv28.gotoAndStop(2);
break;
case 29:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv26.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv27.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv28.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv29.gotoAndStop(2);
break;
case 30:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv26.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv27.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv28.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv29.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv30.gotoAndStop(2);
break;
case 31:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv26.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv27.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv28.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv29.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv30.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv31.gotoAndStop(2);
break;
case 32:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv26.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv27.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv28.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv29.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv30.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv31.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv32.gotoAndStop(2);
break;
case 33:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv26.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv27.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv28.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv29.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv30.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv31.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv32.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv33.gotoAndStop(2);
break;
case 34:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv26.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv27.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv28.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv29.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv30.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv31.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv32.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv33.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv34.gotoAndStop(2);
break;
case 35:
_root.izbornik.lvl_select_tab.level_tab.lv2.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv3.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv4.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv5.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv6.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv7.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv8.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv9.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv10.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv11.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv12.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv13.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv14.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv15.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv16.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv17.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv18.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv19.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv20.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv21.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv22.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv23.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv24.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv25.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv26.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv27.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv28.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv29.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv30.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv31.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv32.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv33.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv34.gotoAndStop(2);
_root.izbornik.lvl_select_tab.level_tab.lv35.gotoAndStop(2);
}
} else {
provjera_levela.data.lvl = 1;
}
_root.izbornik.lvl_select_tab.level_tab.lv1.gotoAndStop(2);
if (iskljucenzvuk) {
_root.vrijeme2.sound_gumb1.gotoAndStop(2);
}
if (iskljucenzvuk == false) {
_root.vrijeme2.sound_gumb1.gotoAndStop(1);
}
_root.intro.sound_button2.onPress = function () {
if (iskljucenzvuk == false) {
iskljucenzvuk = true;
vS = false;
sS = false;
aS = false;
igraSound.stop();
} else {
iskljucenzvuk = false;
igraSound.start(0, 99);
}
};
pokreniIgru = function () {
keyup = true;
};
krajigrice = function () {
_root.krajigre.removeMovieClip();
_root.attachMovie('izbornik', 'izbornik', 10000, {'_x': 0, '_y': 0});
vrijeme = 0;
vrijeme2.vrijeme_text.text = vrijeme;
vrijemekreni = false;
lev = 1;
draw_level(lev);
};
_root.izbornik.sound_button2.onPress = function () {
if (iskljucenzvuk == false) {
iskljucenzvuk = true;
vS = false;
sS = false;
aS = false;
igraSound.stop();
} else {
iskljucenzvuk = false;
igraSound.start(0, 99);
}
};
_root.vrijeme2.sound_gumb1.onPress = function () {
if (iskljucenzvuk == false) {
iskljucenzvuk = true;
vS = false;
sS = false;
aS = false;
igraSound.stop();
} else {
iskljucenzvuk = false;
igraSound.start(0, 99);
}
};
vrijemezamochi = vrijeme * 10 * 2.9 % 1000000;
vrijeme2.level_text.text = lev;
_root.vrijeme2.menu_gumb.onPress = function () {
_root.medjuizbornik.removeMovieClip();
_root.gpsHS.removeMovieClip();
_root.attachMovie('izbornik', 'izbornik', 10000, {'_x': 0, '_y': 0});
checkpoint_passed = false;
vrijeme = 0;
vrijeme2.vrijeme_text.text = vrijeme;
vrijemekreni = false;
lev = 1;
firstlvl = false;
draw_level(lev);
};
_root.medjuizbornik.medju2.menu_gumb.onPress = function () {
_root.medjuizbornik.removeMovieClip();
_root.attachMovie('izbornik', 'izbornik', 10000, {'_x': 0, '_y': 0});
checkpoint_passed = false;
vrijeme = 0;
vrijeme2.vrijeme_text.text = vrijeme;
vrijemekreni = false;
lev = 1;
firstlvl = false;
draw_level(lev);
};
_root.krajigre.medju2.continue_gumb.onPress = function () {
_root.krajigre.removeMovieClip();
checkpoint_passed = false;
vrijeme = 0;
vrijeme2.vrijeme_text.text = vrijeme;
vrijemekreni = false;
lev = 1;
firstlvl = false;
draw_level(lev);
_root.attachMovie('finnish', 'finnish', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
};
_root.krajigre.medju2.submit_gumb.onPress = function () {
_root.attachMovie('finnish', 'finnish', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
finnish.gotoAndStop(1);
if (lev == 35) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
scoreilinext = 1;
_root.krajigre.removeMovieClip();
vrijeme = 0;
vrijeme2.vrijeme_text.text = vrijeme;
vrijemekreni = false;
lev = 1;
firstlvl = false;
draw_level(lev);
};
_root.medjuizbornik.medju2.submit_gumb.onPress = function () {
if (lev == 1) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 2) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 3) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 4) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 5) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 6) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 7) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 8) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 9) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 10) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 11) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 12) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 13) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 14) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 15) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 16) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 17) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 18) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 19) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 20) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 21) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 22) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 23) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 24) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 25) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 26) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 27) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 28) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 29) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 30) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 31) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 32) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 33) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 34) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
if (lev == 35) {
_root.attachMovie('gpsHS', 'gpsHS', _root.getNextHighestDepth(), {'_x': 275, '_y': 250});
gpsHS.score = vrijeme * 10 * 2.9;
gpsHS.level = lev;
}
scoreilinext = 1;
_root.medjuizbornik.removeMovieClip();
vrijeme = 0;
vrijeme2.vrijeme_text.text = vrijeme;
vrijemekreni = false;
};
_root.medjuizbornik.medju2.next_gumb.onPress = function () {
scoreilinext = 1;
_root.medjuizbornik.removeMovieClip();
vrijeme = 0;
vrijeme2.vrijeme_text.text = vrijeme;
vrijemekreni = false;
nexlvl = 1;
};
if (vrijemekreni) {
if (stoptime == false) {
vrijeme += 1;
vrijeme2.vrijeme_text.text = (vrijeme / 35) * 100 / 100;
}
}
safe += 1;
info_panel._visible = false;
friction = 0.99;
power = 0.5;
brick_x = Math.floor((bricks._x - 235) / 80) * -1;
brick_y = Math.floor((bricks._y - 208) / 80) * -1;
type_of_tile = level[brick_y][brick_x];
if (type_of_tile > 12000) {
message_to_show = messages[type_of_tile % 12000];
type_of_tile = 12;
}
switch (type_of_tile) {
case 1:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
stoptime = false;
vS = true;
sS = true;
aS = true;
break;
case 2:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
if (iskljucenzvuk == false) {
if (aS) {
strelicaSound.start(0, 1);
}
vS = true;
sS = true;
aS = false;
}
stoptime = false;
yspeed += 0.4;
break;
case 3:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
if (iskljucenzvuk == false) {
if (aS) {
strelicaSound.start(0, 1);
}
vS = true;
sS = true;
aS = false;
}
stoptime = false;
yspeed -= 0.4;
break;
case 4:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
if (iskljucenzvuk == false) {
if (aS) {
strelicaSound.start(0, 1);
}
vS = true;
sS = true;
aS = false;
}
stoptime = false;
xspeed -= 0.4;
break;
case 5:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
if (iskljucenzvuk == false) {
if (aS) {
strelicaSound.start(0, 1);
}
vS = true;
sS = true;
aS = false;
}
stoptime = false;
xspeed += 0.4;
break;
case 6:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
vS = true;
sS = true;
aS = true;
stoptime = false;
depth = brick_y * 12 + brick_x;
bricks['brick_' + depth]._alpha -= 8;
if (bricks['brick_' + depth]._alpha < 1) {
level[brick_y][brick_x] = 0;
}
break;
case 7:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
vS = true;
sS = true;
aS = true;
pozivbanane();
break;
case 8:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
if (iskljucenzvuk == false) {
if (vS) {
vodaSound.start(0, 1);
}
vS = false;
sS = true;
aS = true;
}
stoptime = false;
friction = 1;
power = 0;
break;
case 9:
if (ball._xscale < xodlopte) {
ball_die();
}
vS = true;
sS = true;
aS = true;
stoptime = false;
depth = brick_y * 12 + brick_x;
if (bricks['brick_' + depth].lava.lava1._currentframe > 109 && bricks['brick_' + depth].lava.lava1._currentframe < 142) {
if (naspajku == false) {
naspajku = true;
_root.ball._alpha = 0;
pif = 0;
keyup = false;
if (iskljucenzvuk == false) {
kickSound.start(0, 1);
}
_root.attachMovie('siljci_lopta', 'siljci_lopta', getNextHighestDepth(), {'_x': ball._x, '_y': ball._y});
}
if (pif == 0) {
power = 0;
friction = 0;
}
}
break;
case 10:
if (pif == 0) {
power = 0;
friction = 0;
}
if (iskljucenzvuk == false) {
if (eS) {
endSound.start(0, 1);
eS = false;
}
}
if (ball._xscale < xodlopte) {
ball_die();
}
vS = true;
sS = true;
aS = true;
kraj_anim = true;
stoptime = false;
checkpoint_passed = false;
novi_level = true;
if (kraj_anim == true) {
bricks.krajlvl.gotoAndStop(2);
bricks.krajlvl.klvl.play();
_root.ball._alpha = 0;
power = 0;
friction = 0;
}
stoptime = true;
if (provjera_levela.data.lvl < lev + 1) {
provjera_levela.data.lvl = lev + 1;
}
trace('vrijeme: ' + vrijeme * 10 * 2.9);
if (_root.mozedalje == true) {
if (safety == 1) {
if (lev == 35 && finallvl == false) {
trace('drek');
finallvl = true;
_root.attachMovie('krajigre', 'krajigre', getNextHighestDepth(), {'_x': 275, '_y': 250});
_root.removeMovieClip('bricks');
safety = 2;
} else {
_root.attachMovie('medjuizbornik', 'medjuizbornik', getNextHighestDepth(), {'_x': 275, '_y': 250});
_root.removeMovieClip('bricks');
safety = 2;
}
}
if (scoreilinext == 1) {
if (lev == 35) {
lev = 1;
} else {
++lev;
draw_level(lev);
scoreilinext = 2;
}
}
}
break;
case 11:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
vS = true;
sS = true;
aS = true;
stoptime = false;
power *= -1;
break;
case 12:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
if (iskljucenzvuk == false) {
if (sS) {
signSound.start(0, 1);
}
vS = true;
sS = false;
aS = true;
}
stoptime = false;
info_panel._visible = true;
info_panel.message_text.text = message_to_show;
break;
case 13:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
vS = true;
sS = true;
aS = true;
stoptime = false;
checkpoint_passed = true;
save_x = brick_x;
save_y = brick_y;
break;
case 14:
if (pif == 0) {
power = 0;
friction = 0;
}
if (ball._xscale < xodlopte) {
ball_die();
}
vS = true;
sS = true;
aS = true;
if (imas_bananu == true) {
if (iskljucenzvuk == false) {
if (monS) {
monkeySound.start(0, 1);
monS = false;
}
}
majmun_banana = true;
_root.bricks.majmun.majmunce.gotoAndStop(3);
_root.vrijeme2.banane.gotoAndStop(1);
} else {
pif = 0;
_root.ball._alpha = 0;
_root.bricks.majmun.majmunce.gotoAndStop(2);
}
break;
default:
if (iskljucenzvuk == false) {
if (fS) {
fallSound.start(0, 1);
}
}
friction = 0.4;
power = 0;
fS = false;
if (ball._xscale < 0) {
ball_die();
vS = true;
sS = true;
aS = true;
}
ball._xscale -= 5;
ball._yscale -= 5;
}
if (krepala) {
if (safe > 20) {
keyup = true;
}
}
if (firstlvl) {
if (keyup) {
if (mi) {
if (Key.isDown(32)) {
mi = false;
scoreilinext = 1;
_root.medjuizbornik.removeMovieClip();
vrijeme = 0;
vrijeme2.vrijeme_text.text = vrijeme;
vrijemekreni = false;
nexlvl = 1;
}
}
if (Key.isDown(37) || Key.isDown(65)) {
xspeed -= power;
vrijemekreni = true;
}
if (Key.isDown(39) || Key.isDown(68)) {
xspeed += power;
vrijemekreni = true;
}
if (Key.isDown(38) || Key.isDown(87)) {
yspeed -= power;
vrijemekreni = true;
}
if (Key.isDown(40) || Key.isDown(83)) {
yspeed += power;
vrijemekreni = true;
}
}
}
xspeed *= friction;
yspeed *= friction;
if (xspeed < 0.1 and xspeed > -0.1) {
xspeed = 0;
}
if (yspeed < 0.1 and yspeed > -0.1) {
yspeed = 0;
}
bricks._y -= yspeed;
bricks._x -= xspeed;
starz._x = -20 + (bricks._x - 275) / 10;
starz._y = -20 + (bricks._y - 250) / 10;
starz.palme._x = -20 + (bricks._x - 275) / 10;
starz.palme._y = -20 + (bricks._y - 250) / 10;
this.texture._y += yspeed;
this.texture._x += xspeed;
if (this.texture._x > 28) {
this.texture._x -= 40;
}
if (this.texture._x < -28) {
this.texture._x += 40;
}
if (this.texture._y > 28) {
this.texture._y -= 40;
}
if (this.texture._y < -28) {
this.texture._y += 40;
}
};
}
movieClip 48 {
}
movieClip 49 {
}
movieClip 50 {
}
movieClip 52 {
}
movieClip 54 {
}
// unknown tag 88 length 148
movieClip 59 izbornikpad {
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 66 {
}
movieClip 68 {
}
movieClip 69 {
}
movieClip 72 {
}
movieClip 74 {
}
movieClip 80 {
}
movieClip 89 {
}
movieClip 91 {
}
movieClip 93 {
}
movieClip 99 {
}
movieClip 100 {
}
movieClip 101 {
}
movieClip 106 {
}
movieClip 108 {
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 115 {
}
movieClip 129 finnish {
frame 1 {
_root.igraSound.stop();
}
frame 362 {
_root.attachMovie('izbornik', 'izbornik', _root.getNextHighestDepth(), {'_x': 0, '_y': 0});
_root.igraSound.start(0, 99);
this.removeMovieClip();
}
}
movieClip 132 {
}
movieClip 138 {
}
movieClip 140 {
}
movieClip 141 {
}
movieClip 144 {
}
movieClip 147 {
}
movieClip 168 {
}
button 170 {
on (press) {
getURL('http://www.gpstudios.com', '_blank');
}
}
movieClip 186 tip_kocke {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 189 {
}
movieClip 191 {
}
movieClip 193 {
}
movieClip 194 {
}
movieClip 196 {
}
movieClip 198 {
}
movieClip 199 {
}
movieClip 200 {
}
movieClip 202 {
}
movieClip 209 {
}
movieClip 210 {
}
movieClip 211 {
}
movieClip 215 {
}
movieClip 216 {
}
movieClip 231 {
}
movieClip 232 {
frame 15 {
gotoAndPlay(1);
}
}
movieClip 233 {
}
movieClip 234 {
}
movieClip 235 {
frame 1 {
stop();
}
frame 17 {
stop();
}
frame 31 {
stop();
}
}
movieClip 239 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 275 {
}
movieClip 276 {
frame 1 {
stop();
}
frame 17 {
stop();
}
frame 31 {
stop();
}
}
movieClip 283 {
}
movieClip 284 {
frame 1 {
stop();
}
frame 17 {
stop();
}
frame 31 {
stop();
}
}
movieClip 285 izbornik {
frame 1 {
instructions.onPress = function () {
instructions_tab.gotoAndPlay(2);
};
instructions_tab.inst_tab.back_gumb_meni.onPress = function () {
instructions_tab.gotoAndPlay(18);
};
level_select.onPress = function () {
lvl_select_tab.gotoAndPlay(2);
};
lvl_select_tab.level_tab.back_gumb_meni1.onPress = function () {
lvl_select_tab.gotoAndPlay(18);
};
credits.onPress = function () {
creditss_tab.gotoAndPlay(2);
};
creditss_tab.credits_tab.back_gumb_meni2.onPress = function () {
creditss_tab.gotoAndPlay(18);
};
more_games.onPress = function () {
_root.gpstudios();
};
}
}
movieClip 288 {
}
movieClip 289 {
}
movieClip 291 {
}
movieClip 311 {
frame 87 {
gotoAndPlay('scream');
}
}
movieClip 313 {
}
// unknown tag 88 length 63
movieClip 321 {
}
movieClip 322 {
}
movieClip 324 {
}
movieClip 327 {
frame 32 {
stop();
}
}
movieClip 331 {
frame 32 {
stop();
}
}
movieClip 332 {
}
movieClip 333 {
frame 7 {
_parent.nextFrame();
_parent.nextFrame();
_parent.play();
}
frame 14 {
stop();
}
}
movieClip 336 {
}
movieClip 337 {
}
movieClip 339 {
}
movieClip 341 {
}
movieClip 343 {
}
movieClip 345 {
}
movieClip 346 {
}
movieClip 348 {
}
movieClip 349 {
}
movieClip 350 {
}
movieClip 351 {
}
movieClip 352 {
}
movieClip 353 {
instance of movieClip 311 {
onClipEvent (load) {
gotoAndPlay('scream');
}
}
}
movieClip 355 {
}
movieClip 358 {
}
movieClip 359 {
frame 40 {
gotoAndPlay(1);
}
}
movieClip 361 {
}
movieClip 362 {
frame 30 {
shakey = 8;
}
frame 45 {
shakey = 0;
stop();
}
}
movieClip 364 {
frame 1 {
stop();
}
instance of movieClip 311 {
onClipEvent (load) {
gotoAndPlay('scream');
}
}
}
movieClip 365 {
instance of movieClip 311 {
onClipEvent (load) {
gotoAndPlay('scream');
}
}
}
movieClip 366 {
instance of movieClip 364 {
onClipEvent (load) {
gotoAndStop(2);
}
}
}
movieClip 370 {
}
movieClip 372 {
}
movieClip 374 {
}
movieClip 376 {
}
movieClip 377 {
}
movieClip 379 {
}
movieClip 381 {
}
movieClip 383 {
}
movieClip 385 {
}
movieClip 386 {
}
movieClip 387 {
}
movieClip 388 {
}
movieClip 389 {
}
movieClip 391 {
}
movieClip 392 {
}
movieClip 393 {
instance of movieClip 311 {
onClipEvent (load) {
gotoAndPlay('scream');
}
}
}
movieClip 395 {
}
movieClip 397 {
}
movieClip 398 intro_mc {
frame 1 {
introSound = new Sound(this);
introSound.attachSound('loop');
introSound.setVolume(100);
introSound.start(0, 1);
}
frame 98 {
stop();
}
frame 150 {
stop();
}
instance of movieClip 362 {
onClipEvent (load) {
function rand_pos_neg() {
if (random(2) == 0) {
return 1;
} else {
return -1;
}
}
function camShake(xdist, ydist, rotate) {
_x = _x - oldx;
_y = _y - oldy;
xadd = (random(xdist * 10) / 10) * rand_pos_neg();
yadd = (random(ydist * 10) / 10) * rand_pos_neg();
_x = _x + xadd;
_y = _y + yadd;
oldx = xadd;
oldy = yadd;
_rotation = _rotation - oldrotation;
radd = (random(rotate * 10) / 10) * rand_pos_neg();
_rotation = _rotation + radd;
oldrotation = radd;
}
shakey = 0;
}
onClipEvent (enterFrame) {
camShake(1.5, 6 + shakey, 0);
}
}
frame 195 {
stop();
}
frame 217 {
stop();
}
frame 270 {
stop();
_root.igraSound.start(0, 99);
introSound.stop();
this.removeMovieClip();
}
}
movieClip 401 {
}
movieClip 404 {
}
movieClip 405 {
}
// unknown tag 88 length 106
movieClip 408 info_panel {
}
// unknown tag 88 length 109
movieClip 412 {
}
movieClip 414 {
}
movieClip 416 {
}
movieClip 417 {
frame 17 {
gotoAndPlay(1);
}
}
movieClip 419 {
}
movieClip 421 {
}
movieClip 423 {
frame 1 {
stop();
}
}
movieClip 424 {
frame 1 {
stop();
}
instance but of movieClip 414 {
onClipEvent (rollOver) {
_parent.gotoAndStop(2);
}
onClipEvent (rollOut) {
_parent.gotoAndStop(1);
}
onClipEvent (press) {
_parent._parent.sendScores(_parent._parent.nameEntry.username.text, _parent._parent.score, _parent._parent.level);
}
}
instance but of movieClip 414 {
onClipEvent (rollOver) {
_parent.gotoAndStop(5);
}
onClipEvent (rollOut) {
_parent.gotoAndStop(4);
}
onClipEvent (press) {
_root.highscores(_parent._parent.level);
}
}
instance but of movieClip 414 {
onClipEvent (load) {
timer = getTimer();
}
onClipEvent (enterFrame) {
timer2 = getTimer() - timer;
if (timer2 > 1500) {
_parent.gotoAndStop(1);
}
}
}
}
movieClip 426 {
}
movieClip 430 {
frame 1 {
stop();
if (temp == undefined) {
var temp = 'Your Name';
}
username.text = temp;
}
frame 13 {
gotoAndStop(1);
}
frame 14 {
username.text = temp;
}
}
button 434 {
on (press) {
_root.finnish.play();
_root.pokreniIgru();
_root.gpsHS.removeMovieClip();
}
}
movieClip 435 gpsHS {
frame 1 {
function sendScores(userName, userScore, level) {
nameEntry.temp = nameEntry.username.text;
if (nameEntry.username.text == 'Your Name' or nameEntry.username.text == '') {
nameEntry.play();
} else {
submitButton.gotoAndStop('sending');
nameEntry.gotoAndStop('end');
var v3 = new LoadVars();
v3.onLoad = function (success) {
if (success) {
trace('Success');
submitButton.gotoAndStop('success');
} else {
trace('Error connecting to server.');
submitButton.gotoAndStop('error');
nameEntry.temp = nameEntry.username.text;
nameEntry.gotoAndStop('start');
}
};
var v2 = new LoadVars();
v2.gameID = _root.gameID;
v2.userName = edit(userName);
v2.myScore = userScore;
v2.levelNo = level;
v2.sendAndLoad('http://www.gpstudios.com/highscores/addScore.php', v3, 'POST');
}
}
function edit(string) {
var v2 = string.split(' ');
string = v2.join('_');
return string;
}
var score;
var level;
var time;
enterFrame = function () {
if (submitButton.currentFrame == 3) {
if (getTimer() - time > 10000) {
submitButton.gotoAndStop('error');
nameEntry.temp = nameEntry.username.text;
nameEntry.gotoAndStop('start');
}
} else {
time = getTimer();
}
};
Security.allowDomain('www.gpstudios.com');
}
instance nameEntry of movieClip 430 {
onClipEvent (mouseDown) {
if (_xmouse >= username._width / -2 and _xmouse <= username._width / 2) {
if (_ymouse >= username._height / -2 and _ymouse <= username._height / 2) {
if (username.text == 'Your Name') {
username.text = '';
}
}
}
}
}
}
movieClip 436 brick {
}
movieClip 439 {
frame 1 {
stop();
}
}
movieClip 440 banane {
}
movieClip 442 ball_itself {
}
movieClip 446 texture {
}
movieClip 448 ball {
}
movieClip 451 {
}
movieClip 452 {
}
movieClip 453 {
}
movieClip 454 {
}
movieClip 455 {
}
movieClip 456 {
}
movieClip 457 {
}
movieClip 458 {
}
movieClip 459 {
}
movieClip 460 {
}
movieClip 461 {
}
movieClip 462 {
}
movieClip 463 {
}
movieClip 464 starz {
}
movieClip 466 sound_button1 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 471 siljci_lopta {
frame 30 {
stop();
_root.ball_die();
}
}
movieClip 473 pad_lopte {
}
movieClip 497 {
}
movieClip 498 medjuizbornik {
frame 1 {
_root.mi = true;
medju2.moregames2.onPress = function () {
_root.gpstudios();
};
}
}
movieClip 504 {
}
movieClip 505 {
}
movieClip 506 {
}
movieClip 509 {
}
movieClip 514 {
}
movieClip 515 {
}
movieClip 516 {
}
movieClip 524 {
}
movieClip 532 {
frame 12 {
_root.kickSound.start(0, 1);
}
frame 20 {
_root.ball_die();
}
}
movieClip 537 {
frame 14 {
stop();
}
}
movieClip 538 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 539 majmunianim {
frame 1 {
stop();
}
frame 15 {
removeMovieClip(this);
stop();
}
}
movieClip 554 {
frame 1 {
stop();
}
frame 21 {
_root.mozedalje = true;
_root.kraj_anim = false;
_parent.gotoAndStop(1);
stop();
}
}
movieClip 555 krajlvl {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 564 {
}
movieClip 565 krajigre {
frame 1 {
_root.mi = true;
medju2.moregames2.onPress = function () {
_root.gpstudios();
};
}
}
// unknown tag 88 length 126
movieClip 575 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 582 {
}
button 583 {
on (press) {
getURL('http://www.gpstudios.com', '_blank');
}
}
movieClip 584 vrijeme {
frame 1 {
tips.onPress = function () {
_root.tips();
};
}
}
movieClip 593 {
frame 1 {
stop();
}
}