Frame 1
stop();
fscommand ("allowscale", false);
this.onEnterFrame = function () {
var _local4 = this.getBytesLoaded();
var _local3 = this.getBytesTotal();
var _local2 = int((_local4 / _local3) * 100);
txt.text = _local2 + " %";
if (_local2 >= 100) {
delete this.onEnterFrame;
gotoAndPlay (2);
}
};
Frame 2
stop();
stopAllSounds();
_root.allstop = 0;
Instance of Symbol 220 MovieClip "mc" in Frame 2
onClipEvent (load) {
this.stop();
if (_root.fstvar) {
gotoAndStop (390);
} else {
play();
}
}
Frame 3
stop();
_root.gor._x = 0;
_root.boil[1] = _root.NN;
var i = 2;
var k = 1;
while (i < 5) {
if (_root.NN == shuffleArr[k - 1]) {
k++;
_root.boil[i] = shuffleArr[k - 1];
} else {
_root.boil[i] = shuffleArr[k - 1];
}
k++;
i++;
}
i = 1;
while (i <= 4) {
_root["org" + i].pauss = 1;
i++;
}
zol = 1;
while (zol <= 4) {
_root["org" + zol].kar.gotoAndStop(_root.boil[zol]);
zol++;
}
Frame 4
stop();
_root.fstvar = true;
var bons = new Array();
i = 1;
while (i <= 4) {
_root["org" + i].pauss = 1;
i++;
}
var efek = new Sound();
var sond = new Sound();
var racesnd = new Sound();
var hitsnd = new Sound();
Instance of Symbol 277 MovieClip "org1" in Frame 4
onClipEvent (load) {
function move(x, y) {
b = this.getBounds(this);
h = true;
_root.gor._x = _root.gor._x - x;
_root.bgg._x = _root.bgg._x - (x / 10);
_y = (_y + y);
isReady = false;
for (i in _root.gor) {
if (this.r.hitTest(_root.gor[i])) {
if (x != 0) {
if (x > 0) {
v = 1;
} else {
v = -1;
}
while (this.r.hitTest(_root.gor[i])) {
spon = 0;
_root.gor._x = _root.gor._x + v;
_root.bgg._x = _root.bgg._x + (v / 10);
}
_root.bgstop = 0;
} else {
jumping = false;
if (y > 0) {
v = 1;
} else {
v = -1;
}
while (this.r.hitTest(_root.gor[i])) {
ka = 1;
while (ka <= _root.maxbns[_root.stage]) {
if ((this.tar.hitTest(_root.gor["bns" + ka]) && (_root.gor["bns" + k].dead != 1)) && (bons.length <= 2)) {
_root.efek2.attachSound("item");
_root.efek2.setVolume(100);
_root.efek2.start();
if (_root.gor["bns" + ka].pol != 1) {
if (_root.nowball != 7) {
_root.bonus = random(3) + 1;
} else {
_root.bonus = random(3) + 1;
}
_root.bons.push(_root.bonus);
if (_root.bonus == 5) {
_root.nowball++;
_root["br" + _root.nowball]._visible = 1;
}
if (_root.bonus != 5) {
_root.bot.gotoAndStop(_root.bonus + 1);
} else {
_root.bonus = 0;
}
_root.gor["bns" + ka].pol = 1;
_root.gor["bns" + ka].dead = 1;
_root.gor["bns" + ka].gotoAndStop(2);
break;
}
}
ka++;
}
_y = (_y - v);
}
}
h = false;
break;
}
}
return(h);
}
this.stop();
ben = 0;
divr = 0;
kena = 0;
kena2 = 0;
k = 0;
k2 = 0;
keno = 0;
kamecharge = 0;
shields = 0;
kkm = 0;
fini = 0;
ssp = 5;
pauss = 0;
jumping = false;
fall = false;
isReady = false;
jumpc = 0;
bo = 0;
vary = 0;
bani = 100;
_root.shiftkey = false;
}
onClipEvent (enterFrame) {
if (kena == 1) {
if (ben == 0) {
ben = 1;
_root.hitsnd.attachSound("hit");
_root.hitsnd.setVolume(40);
_root.hitsnd.start();
}
k++;
if (k >= 24) {
ben = 0;
k = 0;
kena = 0;
ssp = 5;
this.kar.char.gotoAndStop(1);
}
}
if (fini == 1) {
if (_root.noj >= 5) {
_root.finij.gotoAndStop(2);
_root.noj = 1;
}
kena2 = 1;
_x = (_x + 10);
if (_y < 240) {
_y = (_y + gravity);
gravity = gravity + 1;
} else {
_y = 240;
}
_y = (_y + 3);
}
if (pauss != 1) {
p = 1;
while (p <= 4) {
if ((_root["org" + p]._x - _root.org1._x) >= _root.fastfood) {
divr = 0;
} else if (((_root["org" + p]._x - 30) - _root.org1._x) <= 0) {
divr = 0;
}
p++;
}
if (this.tari.hitTest(_root.gor.fin) && (fini != 1)) {
_root.sond.attachSound("victory");
_root.sond.setVolume(100);
_root.sond.start();
_root.allstop = 1;
_root.juara[_root.noj] = _root.nowchar;
_root.noj++;
gravity = 10;
pauss = 1;
fini = 1;
}
if (_root.kame == 1) {
kamecharge++;
_root.bar._visible = 1;
_root.bar.gotoAndStop(kamecharge);
if (kamecharge >= bani) {
_root.uis.mw._visible = 1;
_root.kame = 0;
kamecharge = 0;
}
}
if ((Key.isDown(32) && (_root.kame != 1)) && (jumping != true)) {
this.kar.char.gotoAndStop(4);
_root.bar._visible = 0;
kameh = 1;
_root.kame = 1;
}
if (((Key.isDown(17) && (!_root.shiftkey)) && (_root.bons.length >= 0)) && (jumping != true)) {
_root.shiftkey = true;
trace("shift :" + _root.bons);
switch (_root.bons[0]) {
case 1 :
this.kar.char.gotoAndStop(2);
_root.boost = 6;
_root["bonus" + _root.bonus] = 1;
break;
case 2 :
this.attachMovie("shil" + codenum2, "shil", 3);
this.shields = 1;
_root["bonus" + _root.bonus] = 1;
break;
case 3 :
if (jumping == false) {
_root["bonus" + _root.bonus] = 1;
_root.tottai++;
_root.efek2.attachSound("obs");
_root.efek2.setVolume(100);
_root.efek2.start();
_root.attachMovie("tai", "tai" + _root.tottai, 100 + _root.tottai);
_root["tai" + _root.tottai]._x = _x;
_root["tai" + _root.tottai]._y = _y + 15;
_root["tai" + _root.tottai].onEnterFrame = function () {
if (_root.org1.spon != 0) {
this._x = this._x - spon;
}
t = 1;
while (t <= 4) {
if (this.hitTest(_root["org" + t]) && (t != codenum)) {
if (_root["org" + t].shields != 1) {
_root["org" + t].ssp = 0;
_root["org" + t].kena = 1;
_root["org" + t].k = 0;
_root["org" + t].kar.char.gotoAndStop(3);
this.removeMovieClip();
break;
}
this.removeMovieClip();
}
t++;
}
};
}
break;
case 4 :
_root.jumplit = 5;
_root["bonus" + _root.bonus] = 1;
break;
default :
trace("you pressed some other key");
}
_root.bonus = 0;
_root.bot.gotoAndStop(1);
}
falling = move(0, 5 + vary);
if ((vary < 10) && (falling == true)) {
vary = vary + 0.5;
} else if (falling == false) {
vary = 0;
}
if ((Key.isDown(38) && (!falling)) && (!jumping)) {
_root.efek.attachSound("jump");
_root.efek.setVolume(50);
_root.efek.start();
jumpc = 0;
jumping = true;
vel = -16 - _root.jumplit;
_root.jumpSound.gotoAndPlay(2);
}
if (Key.isDown(39)) {
if (jumping == false) {
bo = 5;
} else {
bo = 5;
}
} else if (jumping == false) {
bo = 0;
}
if (pauss != 1) {
if (kena != 1) {
spon = ((ssp + bo) + _root.boost) + divr;
if (Key.isDown(39)) {
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
move(spon, 0);
}
}
}
if (jumping) {
isReady = false;
if (vel <= 0) {
h = move(0, vel - 5);
if ((h == false) && (vel < 0)) {
vel = vel * -30;
}
vel++;
} else {
jumping = false;
}
}
}
}
Instance of Symbol 320 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.shiftkey) {
if (_root.bons[0] == "1") {
r = random(2);
_root.racesnd.attachSound("race");
_root.racesnd.setVolume(40);
_root.racesnd.start();
this.b1++;
if (this.b1 >= 60) {
_root.boost = 0;
_root.bonus1 = 0;
b1 = 0;
var shifted = _root.bons.shift();
_root.org1.kar.char.gotoAndStop(1);
_root.shiftkey = false;
}
}
if (_root.bons[0] == "2") {
this.b2++;
if (this.b2 >= 60) {
_root.bonus2 = 0;
_root.org1.shields = 0;
_root.org1.shil.removeMovieClip();
b2 = 0;
var shifted = _root.bons.shift();
_root.shiftkey = false;
}
}
if (_root.bons[0] == "3") {
this.b3++;
if (this.b3 >= 15) {
_root.bonus3 = 0;
b3 = 0;
var shifted = _root.bons.shift();
_root.shiftkey = false;
}
}
if (_root.bons[0] == "4") {
this.b4++;
if (this.b4 >= 60) {
_root.jumplit = 0;
_root.bonus4 = 0;
b4 = 0;
var shifted = _root.bons.shift();
_root.shiftkey = false;
}
}
}
}
onClipEvent (load) {
b1 = 0;
b2 = 0;
b3 = 0;
b4 = 0;
}
Instance of Symbol 321 MovieClip "uis" in Frame 4
onClipEvent (load) {
stop();
zol = 1;
while (zol <= 4) {
_root["org" + zol].kar.gotoAndStop(_root.boil[zol]);
_root["org" + zol].codenum2 = _root.boil[zol];
_root["org" + zol].codenum = zol;
zol++;
}
i = 1;
while (i <= 7) {
_root["br" + i]._visible = 0;
i++;
}
i = 1;
while (i <= _root.nowball) {
_root["br" + i]._visible = 1;
i++;
}
_root.uis.gotoAndStop(_root.nowchar);
_root.noj = 1;
_root.juara = [0, 0, 0, 0, 0];
_root.xxx = 30;
_root.yyy = 30;
_root.bonus = 0;
_root.bonus1 = 0;
_root.bonus2 = 0;
_root.bonus3 = 0;
_root.bonus4 = 0;
_root.boost = 0;
_root.jumplit = 0;
_root.kame = 1;
_root.mspeed = 0;
_root.tim = 0;
_root.maxbns = [0, 20, 17, 17, 20, 20, 1];
_root.tottai = 0;
_root.fastfood = 120;
i = 2;
while (i <= 4) {
_root["org" + i].ambil = 0;
_root["org" + i].pauss = 0;
_root["org" + i].b1 = 0;
_root["org" + i].b2 = 0;
_root["org" + i].b4 = 0;
_root["org" + i].bns1 = 0;
_root["org" + i].bns2 = 0;
_root["org" + i].bns4 = 0;
_root["org" + i].speed = 12;
_root["org" + i].jumping = false;
_root["org" + i].gravity = 10;
_root["org" + i].jumpspeed = 19;
_root["org" + i].js = _root["org" + i].jumpspeed;
_root["org" + i].ssp = 10;
_root["org" + i].boost = 0;
_root["org" + i].kena = 0;
_root["org" + i].k = 0;
_root["org" + i].kame = 1;
_root["org" + i].divr = 0;
_root["org" + i].bonusan = 0;
_root["org" + i].bonus = 0;
_root["org" + i].jumplit = 0;
_root["org" + i].shields = 0;
_root["org" + i].fini = 0;
_root["org" + i].kamecharge = 0;
_root["org" + i].onEnterFrame = function () {
with (this) {
if (fini == 1) {
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 10;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 10;
_x = _x + 10;
_y = 240;
}
}
if (this.pauss != 1) {
with (this) {
if (tari.hitTest(_root.gor.fin) && (fini != 1)) {
_root.juara[_root.noj] = codenum2;
_root.noj++;
fini = 1;
gravity = 10;
pauss = 1;
_y = 240;
}
if (kame == 1) {
kamecharge++;
if (kamecharge >= 60) {
kame = 0;
kamecharge = 0;
}
}
if (bns1 == 1) {
b1++;
if (b1 >= 60) {
boost = 0;
bns1 = 0;
b1 = 0;
kar.char.gotoAndStop(1);
}
}
if (bns2 == 1) {
b2++;
if (b2 >= 70) {
shields = 0;
bns2 = 0;
b2 = 0;
shil.removeMovieClip();
}
}
if ((bns3 == 1) && (jumping != true)) {
_root.tottai++;
_root.attachMovie("tai", "tai" + _root.tottai, 100 + _root.tottai);
_root["tai" + _root.tottai]._x = _x - 15;
_root["tai" + _root.tottai]._y = _y + 15;
_root["tai" + _root.tottai].onEnterFrame = function () {
if (_root.org1.spon != 0) {
this._x = this._x - _root.org1.spon;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
i = 1;
while (i <= 4) {
if (this.hitTest(_root["org" + i]) && (i != codenum)) {
if (_root["org" + i].shields != 1) {
_root["org" + i].ssp = 0;
_root["org" + i].kena = 1;
_root["org" + i].k = 0;
_root["org" + i].kar.char.gotoAndStop(3);
this.removeMovieClip();
break;
}
this.removeMovieClip();
}
i++;
}
};
bns3 = 0;
}
if ((_root.org1._x - _x) >= _root.fastfood) {
divr = 6;
} else if (((_root.org1._x - 30) - _x) <= 0) {
divr = 0;
}
kam = random(30) + 1;
if ((((kam == 1) && (kame != 1)) && (jumping != true)) && (_root.allstop != 1)) {
this.kar.char.gotoAndStop(4);
kameh = 1;
kame = 1;
}
if (kena == 1) {
k++;
if (k >= 24) {
boost = 0;
divr = 0;
k = 0;
kena = 0;
ssp = (10 + divr) + boost;
kar.char.gotoAndStop(1);
}
}
if (_root.gor.hitTest((_x + 30) - 1, _y, true)) {
}
if (_root.gor.hitTest(_x, _y - 89, true) && (kena != 1)) {
if (jumping != true) {
jumping = true;
}
}
if (!_root.gor.hitTest(_x + 33, _y, true)) {
uy = _root.org1.spon;
if (_root.org1.ssp <= 0) {
uy = 0;
}
if (_root.org1.kenal == 1) {
_x = _x + ((ssp + divr) + boost);
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
} else {
if (_root.org1.kena2 == 1) {
cd = (ssp + divr) + boost;
} else {
cd = ((ssp + divr) + boost) - uy;
}
_x = _x + cd;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
} else {
jumping = true;
}
if ((!_root.gor.hitTest(_x, _y + 30, true)) && (jumping == false)) {
_y = _y + gravity;
gravity = gravity + 1;
if (_root.gor.hitTest(_x + 31, _y, true)) {
_x = _x - 10;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
}
if (jumping == true) {
_y = _y - jumpspeed;
jumpspeed = jumpspeed - 2;
if (_root.gor.hitTest(_x + 29, _y, true)) {
_x = _x - 15;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
}
if (_root.gor.hitTest(_x, _y + 29, true)) {
gravity = 10;
jumping = false;
jumpspeed = js;
}
if (_root.gor.hitTest(_x, _y + 29, true)) {
if (_y >= 420) {
_y = 420;
} else if (_y >= 390) {
_y = 390;
} else if (_y >= 360) {
_y = 360;
} else if (_y >= 330) {
_y = 330;
} else if (_y >= 300) {
_y = 300;
} else if (_y >= 270) {
_y = 270;
} else if (_y >= 240) {
_y = 240;
} else if (_y >= 210) {
_y = 210;
} else if (_y >= 180) {
_y = 180;
} else if (_y >= 150) {
_y = 150;
} else if (_y >= 120) {
_y = 120;
} else if (_y >= 90) {
_y = 90;
} else if (_y >= 60) {
_y = 60;
}
_y = _y + 3;
}
if (ambil == 1) {
am++;
if (am >= 12) {
ambil = 0;
}
}
if (_root.gor.hitTest(_x, (_y - 30) + 15, true)) {
i = 1;
while (i <= _root.maxbns[_root.stage]) {
if ((tar.hitTest(_root.gor["bns" + i]) && (_root.gor["bns" + i].dead != 1)) && (ambil != 1)) {
if (_root.gor["bns" + i].pol != 1) {
ambil = 1;
bonus = random(3) + 1;
_root.gor["bns" + i].pol = 1;
_root.gor["bns" + i].dead = 1;
_root.gor["bns" + i].gotoAndStop(2);
bonusan = bonus;
switch (bonus) {
case 1 :
boost = 5;
bns1 = 1;
kar.char.gotoAndStop(2);
break;
case 2 :
bns2 = 1;
shields = 1;
attachMovie("shil" + codenum2, "shil", 3);
break;
case 3 :
bns3 = 1;
break;
case 4 :
bns3 = 1;
}
break;
}
}
i++;
}
_y = _y + 5;
jumpspeed = -1;
}
}
}
};
i++;
}
_root.gor._x = 0;
stop();
}
Instance of Symbol 386 MovieClip "finij" in Frame 4
onClipEvent (enterFrame) {
if (_root.nowball == 7) {
i = 1;
while (i <= 7) {
_root["br" + i]._alpha = _root["br" + i]._alpha - 10;
if (_root["br" + i]._alpha <= 50) {
_root["br" + i]._alpha = 100;
}
i++;
}
}
if (_root.stage == 6) {
t++;
if (t >= 500) {
_root.finij.gotoAndStop("ask");
t = 0;
}
}
}
onClipEvent (load) {
t = 0;
}
Frame 5
stop();
_root.gor._x = 0;
_root.boil[1] = _root.NN;
var i = 2;
var k = 1;
while (i < 5) {
if (_root.NN == shuffleArr[k - 1]) {
k++;
_root.boil[i] = shuffleArr[k - 1];
} else {
_root.boil[i] = shuffleArr[k - 1];
}
k++;
i++;
}
i = 1;
while (i <= 4) {
_root["org" + i].pauss = 1;
i++;
}
zol = 1;
while (zol <= 4) {
_root["org" + zol].kar.gotoAndStop(_root.boil[zol]);
zol++;
}
Frame 6
stop();
_root.fstvar = true;
var bons = new Array();
i = 1;
while (i <= 4) {
_root["org" + i].pauss = 1;
i++;
}
var efek = new Sound();
var sond = new Sound();
var racesnd = new Sound();
var hitsnd = new Sound();
Instance of Symbol 277 MovieClip "org1" in Frame 6
onClipEvent (load) {
function move(x, y) {
b = this.getBounds(this);
h = true;
_root.gor._x = _root.gor._x - x;
_root.bgg._x = _root.bgg._x - (x / 10);
_y = (_y + y);
isReady = false;
for (i in _root.gor) {
if (this.r.hitTest(_root.gor[i])) {
if (x != 0) {
if (x > 0) {
v = 1;
} else {
v = -1;
}
while (this.r.hitTest(_root.gor[i])) {
spon = 0;
_root.gor._x = _root.gor._x + v;
_root.bgg._x = _root.bgg._x + (v / 10);
}
_root.bgstop = 0;
} else {
jumping = false;
if (y > 0) {
v = 1;
} else {
v = -1;
}
while (this.r.hitTest(_root.gor[i])) {
ka = 1;
while (ka <= _root.maxbns[_root.stage]) {
if ((this.tar.hitTest(_root.gor["bns" + ka]) && (_root.gor["bns" + k].dead != 1)) && (bons.length <= 2)) {
_root.efek2.attachSound("item");
_root.efek2.setVolume(100);
_root.efek2.start();
if (_root.gor["bns" + ka].pol != 1) {
if (_root.nowball != 7) {
_root.bonus = random(3) + 1;
} else {
_root.bonus = random(3) + 1;
}
_root.bons.push(_root.bonus);
if (_root.bonus == 5) {
_root.nowball++;
_root["br" + _root.nowball]._visible = 1;
}
if (_root.bonus != 5) {
_root.bot.gotoAndStop(_root.bonus + 1);
} else {
_root.bonus = 0;
}
_root.gor["bns" + ka].pol = 1;
_root.gor["bns" + ka].dead = 1;
_root.gor["bns" + ka].gotoAndStop(2);
break;
}
}
ka++;
}
_y = (_y - v);
}
}
h = false;
break;
}
}
return(h);
}
this.stop();
ben = 0;
divr = 0;
kena = 0;
kena2 = 0;
k = 0;
k2 = 0;
keno = 0;
kamecharge = 0;
shields = 0;
kkm = 0;
fini = 0;
ssp = 5;
pauss = 0;
jumping = false;
fall = false;
isReady = false;
jumpc = 0;
bo = 0;
vary = 0;
bani = 100;
_root.shiftkey = false;
}
onClipEvent (enterFrame) {
if (kena == 1) {
if (ben == 0) {
ben = 1;
_root.hitsnd.attachSound("hit");
_root.hitsnd.setVolume(40);
_root.hitsnd.start();
}
k++;
if (k >= 24) {
ben = 0;
k = 0;
kena = 0;
ssp = 5;
this.kar.char.gotoAndStop(1);
}
}
if (fini == 1) {
if (_root.noj >= 5) {
_root.finij.gotoAndStop(2);
_root.noj = 1;
}
kena2 = 1;
_x = (_x + 10);
if (_y < 240) {
_y = (_y + gravity);
gravity = gravity + 1;
} else {
_y = 240;
}
_y = (_y + 3);
}
if (pauss != 1) {
p = 1;
while (p <= 4) {
if ((_root["org" + p]._x - _root.org1._x) >= _root.fastfood) {
divr = 0;
} else if (((_root["org" + p]._x - 30) - _root.org1._x) <= 0) {
divr = 0;
}
p++;
}
if (this.tari.hitTest(_root.gor.fin) && (fini != 1)) {
_root.sond.attachSound("victory");
_root.sond.setVolume(100);
_root.sond.start();
_root.allstop = 1;
_root.juara[_root.noj] = _root.nowchar;
_root.noj++;
gravity = 10;
pauss = 1;
fini = 1;
}
if (_root.kame == 1) {
kamecharge++;
_root.bar._visible = 1;
_root.bar.gotoAndStop(kamecharge);
if (kamecharge >= bani) {
_root.uis.mw._visible = 1;
_root.kame = 0;
kamecharge = 0;
}
}
if ((Key.isDown(32) && (_root.kame != 1)) && (jumping != true)) {
this.kar.char.gotoAndStop(4);
_root.bar._visible = 0;
kameh = 1;
_root.kame = 1;
}
if (((Key.isDown(17) && (!_root.shiftkey)) && (_root.bons.length >= 0)) && (jumping != true)) {
_root.shiftkey = true;
trace("shift :" + _root.bons);
switch (_root.bons[0]) {
case 1 :
this.kar.char.gotoAndStop(2);
_root.boost = 6;
_root["bonus" + _root.bonus] = 1;
break;
case 2 :
this.attachMovie("shil" + codenum2, "shil", 3);
this.shields = 1;
_root["bonus" + _root.bonus] = 1;
break;
case 3 :
if (jumping == false) {
_root["bonus" + _root.bonus] = 1;
_root.tottai++;
_root.efek2.attachSound("obs");
_root.efek2.setVolume(100);
_root.efek2.start();
_root.attachMovie("tai", "tai" + _root.tottai, 100 + _root.tottai);
_root["tai" + _root.tottai]._x = _x;
_root["tai" + _root.tottai]._y = _y + 15;
_root["tai" + _root.tottai].onEnterFrame = function () {
if (_root.org1.spon != 0) {
this._x = this._x - spon;
}
t = 1;
while (t <= 4) {
if (this.hitTest(_root["org" + t]) && (t != codenum)) {
if (_root["org" + t].shields != 1) {
_root["org" + t].ssp = 0;
_root["org" + t].kena = 1;
_root["org" + t].k = 0;
_root["org" + t].kar.char.gotoAndStop(3);
this.removeMovieClip();
break;
}
this.removeMovieClip();
}
t++;
}
};
}
break;
case 4 :
_root.jumplit = 5;
_root["bonus" + _root.bonus] = 1;
break;
default :
trace("you pressed some other key");
}
_root.bonus = 0;
_root.bot.gotoAndStop(1);
}
falling = move(0, 5 + vary);
if ((vary < 10) && (falling == true)) {
vary = vary + 0.5;
} else if (falling == false) {
vary = 0;
}
if ((Key.isDown(38) && (!falling)) && (!jumping)) {
_root.efek.attachSound("jump");
_root.efek.setVolume(50);
_root.efek.start();
jumpc = 0;
jumping = true;
vel = -16 - _root.jumplit;
_root.jumpSound.gotoAndPlay(2);
}
if (Key.isDown(39)) {
if (jumping == false) {
bo = 5;
} else {
bo = 5;
}
} else if (jumping == false) {
bo = 0;
}
if (pauss != 1) {
if (kena != 1) {
spon = ((ssp + bo) + _root.boost) + divr;
if (Key.isDown(39)) {
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
move(spon, 0);
}
}
}
if (jumping) {
isReady = false;
if (vel <= 0) {
h = move(0, vel - 5);
if ((h == false) && (vel < 0)) {
vel = vel * -30;
}
vel++;
} else {
jumping = false;
}
}
}
}
Instance of Symbol 320 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.shiftkey) {
if (_root.bons[0] == "1") {
r = random(2);
_root.racesnd.attachSound("race");
_root.racesnd.setVolume(40);
_root.racesnd.start();
this.b1++;
if (this.b1 >= 60) {
_root.boost = 0;
_root.bonus1 = 0;
b1 = 0;
var shifted = _root.bons.shift();
_root.org1.kar.char.gotoAndStop(1);
_root.shiftkey = false;
}
}
if (_root.bons[0] == "2") {
this.b2++;
if (this.b2 >= 60) {
_root.bonus2 = 0;
_root.org1.shields = 0;
_root.org1.shil.removeMovieClip();
b2 = 0;
var shifted = _root.bons.shift();
_root.shiftkey = false;
}
}
if (_root.bons[0] == "3") {
this.b3++;
if (this.b3 >= 15) {
_root.bonus3 = 0;
b3 = 0;
var shifted = _root.bons.shift();
_root.shiftkey = false;
}
}
if (_root.bons[0] == "4") {
this.b4++;
if (this.b4 >= 60) {
_root.jumplit = 0;
_root.bonus4 = 0;
b4 = 0;
var shifted = _root.bons.shift();
_root.shiftkey = false;
}
}
}
}
onClipEvent (load) {
b1 = 0;
b2 = 0;
b3 = 0;
b4 = 0;
}
Instance of Symbol 321 MovieClip "uis" in Frame 6
onClipEvent (load) {
stop();
zol = 1;
while (zol <= 4) {
_root["org" + zol].kar.gotoAndStop(_root.boil[zol]);
_root["org" + zol].codenum2 = _root.boil[zol];
_root["org" + zol].codenum = zol;
zol++;
}
i = 1;
while (i <= 7) {
_root["br" + i]._visible = 0;
i++;
}
i = 1;
while (i <= _root.nowball) {
_root["br" + i]._visible = 1;
i++;
}
_root.uis.gotoAndStop(_root.nowchar);
_root.noj = 1;
_root.juara = [0, 0, 0, 0, 0];
_root.xxx = 30;
_root.yyy = 30;
_root.bonus = 0;
_root.bonus1 = 0;
_root.bonus2 = 0;
_root.bonus3 = 0;
_root.bonus4 = 0;
_root.boost = 0;
_root.jumplit = 0;
_root.kame = 1;
_root.mspeed = 0;
_root.tim = 0;
_root.maxbns = [0, 20, 17, 17, 20, 20, 1];
_root.tottai = 0;
_root.fastfood = 180;
i = 2;
while (i <= 4) {
_root["org" + i].ambil = 0;
_root["org" + i].pauss = 0;
_root["org" + i].b1 = 0;
_root["org" + i].b2 = 0;
_root["org" + i].b4 = 0;
_root["org" + i].bns1 = 0;
_root["org" + i].bns2 = 0;
_root["org" + i].bns4 = 0;
_root["org" + i].speed = 12;
_root["org" + i].jumping = false;
_root["org" + i].gravity = 10;
_root["org" + i].jumpspeed = 19;
_root["org" + i].js = _root["org" + i].jumpspeed;
_root["org" + i].ssp = 10;
_root["org" + i].boost = 0;
_root["org" + i].kena = 0;
_root["org" + i].k = 0;
_root["org" + i].kame = 1;
_root["org" + i].divr = 0;
_root["org" + i].bonusan = 0;
_root["org" + i].bonus = 0;
_root["org" + i].jumplit = 0;
_root["org" + i].shields = 0;
_root["org" + i].fini = 0;
_root["org" + i].kamecharge = 0;
_root["org" + i].onEnterFrame = function () {
with (this) {
if (fini == 1) {
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 10;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 10;
_x = _x + 10;
_y = 240;
}
}
if (this.pauss != 1) {
with (this) {
if (tari.hitTest(_root.gor.fin) && (fini != 1)) {
_root.juara[_root.noj] = codenum2;
_root.noj++;
fini = 1;
gravity = 10;
pauss = 1;
_y = 240;
}
if (kame == 1) {
kamecharge++;
if (kamecharge >= 60) {
kame = 0;
kamecharge = 0;
}
}
if (bns1 == 1) {
b1++;
if (b1 >= 60) {
boost = 0;
bns1 = 0;
b1 = 0;
kar.char.gotoAndStop(1);
}
}
if (bns2 == 1) {
b2++;
if (b2 >= 90) {
shields = 0;
bns2 = 0;
b2 = 0;
shil.removeMovieClip();
}
}
if ((bns3 == 1) && (jumping != true)) {
_root.tottai++;
_root.attachMovie("tai", "tai" + _root.tottai, 100 + _root.tottai);
_root["tai" + _root.tottai]._x = _x - 15;
_root["tai" + _root.tottai]._y = _y + 15;
_root["tai" + _root.tottai].onEnterFrame = function () {
if (_root.org1.spon != 0) {
this._x = this._x - _root.org1.spon;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
i = 1;
while (i <= 4) {
if (this.hitTest(_root["org" + i]) && (i != codenum)) {
if (_root["org" + i].shields != 1) {
_root["org" + i].ssp = 0;
_root["org" + i].kena = 1;
_root["org" + i].k = 0;
_root["org" + i].kar.char.gotoAndStop(3);
this.removeMovieClip();
break;
}
this.removeMovieClip();
}
i++;
}
};
bns3 = 0;
}
if ((_root.org1._x - _x) >= _root.fastfood) {
divr = 5;
} else if (((_root.org1._x - 30) - _x) <= 0) {
divr = 0;
}
kam = random(30) + 1;
if ((((kam == 1) && (kame != 1)) && (jumping != true)) && (_root.allstop != 1)) {
this.kar.char.gotoAndStop(4);
kameh = 1;
kame = 1;
}
if (kena == 1) {
k++;
if (k >= 24) {
boost = 0;
divr = 0;
k = 0;
kena = 0;
ssp = (10 + divr) + boost;
kar.char.gotoAndStop(1);
}
}
if (_root.gor.hitTest((_x + 30) - 1, _y, true)) {
}
if (_root.gor.hitTest(_x, _y - 89, true) && (kena != 1)) {
if (jumping != true) {
jumping = true;
}
}
if (!_root.gor.hitTest(_x + 33, _y, true)) {
uy = _root.org1.spon;
if (_root.org1.ssp <= 0) {
uy = 0;
}
if (_root.org1.kenal == 1) {
_x = _x + ((ssp + divr) + boost);
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
} else {
if (_root.org1.kena2 == 1) {
cd = (ssp + divr) + boost;
} else {
cd = ((ssp + divr) + boost) - uy;
}
_x = _x + cd;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
} else {
jumping = true;
}
if ((!_root.gor.hitTest(_x, _y + 30, true)) && (jumping == false)) {
_y = _y + gravity;
gravity = gravity + 1;
if (_root.gor.hitTest(_x + 31, _y, true)) {
_x = _x - 10;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
}
if (jumping == true) {
_y = _y - jumpspeed;
jumpspeed = jumpspeed - 2;
if (_root.gor.hitTest(_x + 29, _y, true)) {
_x = _x - 15;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
}
if (_root.gor.hitTest(_x, _y + 29, true)) {
gravity = 10;
jumping = false;
jumpspeed = js;
}
if (_root.gor.hitTest(_x, _y + 29, true)) {
if (_y >= 420) {
_y = 420;
} else if (_y >= 390) {
_y = 390;
} else if (_y >= 360) {
_y = 360;
} else if (_y >= 330) {
_y = 330;
} else if (_y >= 300) {
_y = 300;
} else if (_y >= 270) {
_y = 270;
} else if (_y >= 240) {
_y = 240;
} else if (_y >= 210) {
_y = 210;
} else if (_y >= 180) {
_y = 180;
} else if (_y >= 150) {
_y = 150;
} else if (_y >= 120) {
_y = 120;
} else if (_y >= 90) {
_y = 90;
} else if (_y >= 60) {
_y = 60;
}
_y = _y + 3;
}
if (ambil == 1) {
am++;
if (am >= 12) {
ambil = 0;
}
}
if (_root.gor.hitTest(_x, (_y - 30) + 15, true)) {
i = 1;
while (i <= _root.maxbns[_root.stage]) {
if ((tar.hitTest(_root.gor["bns" + i]) && (_root.gor["bns" + i].dead != 1)) && (ambil != 1)) {
if (_root.gor["bns" + i].pol != 1) {
ambil = 1;
bonus = random(3) + 1;
trace("bonus:" + bonus);
_root.gor["bns" + i].pol = 1;
_root.gor["bns" + i].dead = 1;
_root.gor["bns" + i].gotoAndStop(2);
bonusan = bonus;
switch (bonus) {
case 1 :
boost = 5;
bns1 = 1;
kar.char.gotoAndStop(2);
break;
case 2 :
bns2 = 1;
shields = 1;
attachMovie("shil" + codenum2, "shil", 3);
break;
case 3 :
bns3 = 1;
break;
case 4 :
bns3 = 1;
}
break;
}
}
i++;
}
_y = _y + 5;
jumpspeed = -1;
}
}
}
};
i++;
}
_root.gor._x = 0;
stop();
}
Instance of Symbol 408 MovieClip "finij" in Frame 6
onClipEvent (enterFrame) {
if (_root.nowball == 7) {
i = 1;
while (i <= 7) {
_root["br" + i]._alpha = _root["br" + i]._alpha - 10;
if (_root["br" + i]._alpha <= 50) {
_root["br" + i]._alpha = 100;
}
i++;
}
}
if (_root.stage == 6) {
t++;
if (t >= 500) {
_root.finij.gotoAndStop("ask");
t = 0;
}
}
}
onClipEvent (load) {
t = 0;
}
Frame 7
stop();
_root.gor._x = 0;
_root.boil[1] = _root.NN;
var i = 2;
var k = 1;
while (i < 5) {
if (_root.NN == shuffleArr[k - 1]) {
k++;
_root.boil[i] = shuffleArr[k - 1];
} else {
_root.boil[i] = shuffleArr[k - 1];
}
k++;
i++;
}
i = 1;
while (i <= 4) {
_root["org" + i].pauss = 1;
i++;
}
zol = 1;
while (zol <= 4) {
_root["org" + zol].kar.gotoAndStop(_root.boil[zol]);
zol++;
}
Frame 8
stop();
_root.fstvar = true;
var bons = new Array();
i = 1;
while (i <= 4) {
_root["org" + i].pauss = 1;
i++;
}
var efek = new Sound();
var sond = new Sound();
var racesnd = new Sound();
var hitsnd = new Sound();
Instance of Symbol 277 MovieClip "org1" in Frame 8
onClipEvent (load) {
function move(x, y) {
b = this.getBounds(this);
h = true;
_root.gor._x = _root.gor._x - x;
_root.bgg._x = _root.bgg._x - (x / 10);
_y = (_y + y);
isReady = false;
for (i in _root.gor) {
if (this.r.hitTest(_root.gor[i])) {
if (x != 0) {
if (x > 0) {
v = 1;
} else {
v = -1;
}
while (this.r.hitTest(_root.gor[i])) {
spon = 0;
_root.gor._x = _root.gor._x + v;
_root.bgg._x = _root.bgg._x + (v / 10);
}
_root.bgstop = 0;
} else {
jumping = false;
if (y > 0) {
v = 1;
} else {
v = -1;
}
while (this.r.hitTest(_root.gor[i])) {
ka = 1;
while (ka <= _root.maxbns[_root.stage]) {
if ((this.tar.hitTest(_root.gor["bns" + ka]) && (_root.gor["bns" + k].dead != 1)) && (bons.length <= 2)) {
_root.efek2.attachSound("item");
_root.efek2.setVolume(100);
_root.efek2.start();
if (_root.gor["bns" + ka].pol != 1) {
if (_root.nowball != 7) {
_root.bonus = random(3) + 1;
} else {
_root.bonus = random(3) + 1;
}
_root.bons.push(_root.bonus);
if (_root.bonus == 5) {
_root.nowball++;
_root["br" + _root.nowball]._visible = 1;
}
if (_root.bonus != 5) {
_root.bot.gotoAndStop(_root.bonus + 1);
} else {
_root.bonus = 0;
}
_root.gor["bns" + ka].pol = 1;
_root.gor["bns" + ka].dead = 1;
_root.gor["bns" + ka].gotoAndStop(2);
break;
}
}
ka++;
}
_y = (_y - v);
}
}
h = false;
break;
}
}
return(h);
}
this.stop();
ben = 0;
divr = 0;
kena = 0;
kena2 = 0;
k = 0;
k2 = 0;
keno = 0;
kamecharge = 0;
shields = 0;
kkm = 0;
fini = 0;
ssp = 5;
pauss = 0;
jumping = false;
fall = false;
isReady = false;
jumpc = 0;
bo = 0;
vary = 0;
bani = 100;
_root.shiftkey = false;
}
onClipEvent (enterFrame) {
if (kena == 1) {
if (ben == 0) {
ben = 1;
_root.hitsnd.attachSound("hit");
_root.hitsnd.setVolume(40);
_root.hitsnd.start();
}
k++;
if (k >= 24) {
ben = 0;
k = 0;
kena = 0;
ssp = 5;
this.kar.char.gotoAndStop(1);
}
}
if (fini == 1) {
if (_root.noj >= 5) {
_root.finij.gotoAndStop(2);
_root.noj = 1;
}
_x = (_x + 10);
kena2 = 1;
if (_y < 240) {
_y = (_y + gravity);
gravity = gravity + 1;
} else {
_y = 240;
}
_y = (_y + 3);
}
if (pauss != 1) {
p = 1;
while (p <= 4) {
if ((_root["org" + p]._x - _root.org1._x) >= _root.fastfood) {
divr = 0;
} else if (((_root["org" + p]._x - 30) - _root.org1._x) <= 0) {
divr = 0;
}
p++;
}
if (this.tari.hitTest(_root.gor.fin) && (fini != 1)) {
_root.sond.attachSound("victory");
_root.sond.setVolume(100);
_root.sond.start();
_root.allstop = 1;
_root.juara[_root.noj] = _root.nowchar;
_root.noj++;
gravity = 10;
pauss = 1;
fini = 1;
}
if (_root.kame == 1) {
kamecharge++;
_root.bar._visible = 1;
_root.bar.gotoAndStop(kamecharge);
if (kamecharge >= bani) {
_root.uis.mw._visible = 1;
_root.kame = 0;
kamecharge = 0;
}
}
if ((Key.isDown(32) && (_root.kame != 1)) && (jumping != true)) {
this.kar.char.gotoAndStop(4);
_root.bar._visible = 0;
kameh = 1;
_root.kame = 1;
}
if (((Key.isDown(17) && (!_root.shiftkey)) && (_root.bons.length >= 0)) && (jumping != true)) {
_root.shiftkey = true;
switch (_root.bons[0]) {
case 1 :
this.kar.char.gotoAndStop(2);
_root.boost = 6;
_root["bonus" + _root.bonus] = 1;
break;
case 2 :
this.attachMovie("shil" + codenum2, "shil", 3);
this.shields = 1;
_root["bonus" + _root.bonus] = 1;
break;
case 3 :
if (jumping == false) {
_root["bonus" + _root.bonus] = 1;
_root.tottai++;
_root.efek2.attachSound("obs");
_root.efek2.setVolume(100);
_root.efek2.start();
_root.attachMovie("tai", "tai" + _root.tottai, 100 + _root.tottai);
_root["tai" + _root.tottai]._x = _x;
_root["tai" + _root.tottai]._y = _y + 15;
_root["tai" + _root.tottai].onEnterFrame = function () {
if (_root.org1.spon != 0) {
this._x = this._x - spon;
}
t = 1;
while (t <= 4) {
if (this.hitTest(_root["org" + t]) && (t != codenum)) {
if (_root["org" + t].shields != 1) {
_root["org" + t].ssp = 0;
_root["org" + t].kena = 1;
_root["org" + t].k = 0;
_root["org" + t].kar.char.gotoAndStop(3);
this.removeMovieClip();
break;
}
this.removeMovieClip();
}
t++;
}
};
}
break;
case 4 :
_root.jumplit = 5;
_root["bonus" + _root.bonus] = 1;
break;
}
_root.bonus = 0;
_root.bot.gotoAndStop(1);
}
falling = move(0, 5 + vary);
if ((vary < 10) && (falling == true)) {
vary = vary + 0.5;
} else if (falling == false) {
vary = 0;
}
if ((Key.isDown(38) && (!falling)) && (!jumping)) {
_root.efek.attachSound("jump");
_root.efek.setVolume(50);
_root.efek.start();
jumpc = 0;
jumping = true;
vel = -16 - _root.jumplit;
_root.jumpSound.gotoAndPlay(2);
}
if (Key.isDown(39)) {
if (jumping == false) {
bo = 5;
} else {
bo = 5;
}
} else if (jumping == false) {
bo = 0;
}
if (pauss != 1) {
if (kena != 1) {
spon = ((ssp + bo) + _root.boost) + divr;
if (Key.isDown(39)) {
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
move(spon, 0);
}
}
}
if (jumping) {
isReady = false;
if (vel <= 0) {
h = move(0, vel - 5);
if ((h == false) && (vel < 0)) {
vel = vel * -30;
}
vel++;
} else {
jumping = false;
}
}
}
}
Instance of Symbol 320 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.shiftkey) {
if (_root.bons[0] == "1") {
r = random(2);
_root.racesnd.attachSound("race");
_root.racesnd.setVolume(40);
_root.racesnd.start();
this.b1++;
if (this.b1 >= 60) {
_root.boost = 0;
_root.bonus1 = 0;
b1 = 0;
var shifted = _root.bons.shift();
_root.org1.kar.char.gotoAndStop(1);
_root.shiftkey = false;
}
}
if (_root.bons[0] == "2") {
this.b2++;
if (this.b2 >= 60) {
_root.bonus2 = 0;
_root.org1.shields = 0;
_root.org1.shil.removeMovieClip();
b2 = 0;
var shifted = _root.bons.shift();
_root.shiftkey = false;
}
}
if (_root.bons[0] == "3") {
this.b3++;
if (this.b3 >= 15) {
_root.bonus3 = 0;
b3 = 0;
var shifted = _root.bons.shift();
_root.shiftkey = false;
}
}
if (_root.bons[0] == "4") {
this.b4++;
if (this.b4 >= 60) {
_root.jumplit = 0;
_root.bonus4 = 0;
b4 = 0;
var shifted = _root.bons.shift();
_root.shiftkey = false;
}
}
}
}
onClipEvent (load) {
b1 = 0;
b2 = 0;
b3 = 0;
b4 = 0;
}
Instance of Symbol 321 MovieClip "uis" in Frame 8
onClipEvent (load) {
stop();
zol = 1;
while (zol <= 4) {
_root["org" + zol].kar.gotoAndStop(_root.boil[zol]);
_root["org" + zol].codenum2 = _root.boil[zol];
_root["org" + zol].codenum = zol;
zol++;
}
i = 1;
while (i <= 7) {
_root["br" + i]._visible = 0;
i++;
}
i = 1;
while (i <= _root.nowball) {
_root["br" + i]._visible = 1;
i++;
}
_root.uis.gotoAndStop(_root.nowchar);
_root.noj = 1;
_root.juara = [0, 0, 0, 0, 0];
_root.xxx = 30;
_root.yyy = 30;
_root.bonus = 0;
_root.bonus1 = 0;
_root.bonus2 = 0;
_root.bonus3 = 0;
_root.bonus4 = 0;
_root.boost = 0;
_root.jumplit = 0;
_root.kame = 1;
_root.mspeed = 0;
_root.tim = 0;
_root.maxbns = [0, 17, 17, 17, 20, 20, 1];
_root.tottai = 0;
_root.fastfood = 120;
i = 2;
while (i <= 4) {
_root["org" + i].ambil = 0;
_root["org" + i].pauss = 0;
_root["org" + i].b1 = 0;
_root["org" + i].b2 = 0;
_root["org" + i].b4 = 0;
_root["org" + i].bns1 = 0;
_root["org" + i].bns2 = 0;
_root["org" + i].bns4 = 0;
_root["org" + i].speed = 12;
_root["org" + i].jumping = false;
_root["org" + i].gravity = 10;
_root["org" + i].jumpspeed = 19;
_root["org" + i].js = _root["org" + i].jumpspeed;
_root["org" + i].ssp = 10;
_root["org" + i].boost = 0;
_root["org" + i].kena = 0;
_root["org" + i].k = 0;
_root["org" + i].kame = 1;
_root["org" + i].divr = 0;
_root["org" + i].bonusan = 0;
_root["org" + i].bonus = 0;
_root["org" + i].jumplit = 0;
_root["org" + i].shields = 0;
_root["org" + i].fini = 0;
_root["org" + i].kamecharge = 0;
_root["org" + i].onEnterFrame = function () {
with (this) {
if (fini == 1) {
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 10;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 10;
_x = _x + 10;
_y = 240;
}
}
if (this.pauss != 1) {
with (this) {
if (tari.hitTest(_root.gor.fin) && (fini != 1)) {
_root.juara[_root.noj] = codenum2;
_root.noj++;
fini = 1;
gravity = 10;
pauss = 1;
_y = 240;
}
if (kame == 1) {
kamecharge++;
if (kamecharge >= 60) {
kame = 0;
kamecharge = 0;
}
}
if (bns1 == 1) {
b1++;
if (b1 >= 60) {
boost = 0;
bns1 = 0;
b1 = 0;
kar.char.gotoAndStop(1);
}
}
if (bns2 == 1) {
b2++;
if (b2 >= 80) {
shields = 0;
bns2 = 0;
b2 = 0;
shil.removeMovieClip();
}
}
if ((bns3 == 1) && (jumping != true)) {
_root.tottai++;
_root.attachMovie("tai", "tai" + _root.tottai, 100 + _root.tottai);
_root["tai" + _root.tottai]._x = _x - 15;
_root["tai" + _root.tottai]._y = _y + 15;
_root["tai" + _root.tottai].onEnterFrame = function () {
if (_root.org1.spon != 0) {
this._x = this._x - _root.org1.spon;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
i = 1;
while (i <= 4) {
if (this.hitTest(_root["org" + i]) && (i != codenum)) {
if (_root["org" + i].shields != 1) {
_root["org" + i].ssp = 0;
_root["org" + i].kena = 1;
_root["org" + i].k = 0;
_root["org" + i].kar.char.gotoAndStop(3);
this.removeMovieClip();
break;
}
this.removeMovieClip();
}
i++;
}
};
bns3 = 0;
}
if ((_root.org1._x - _x) >= _root.fastfood) {
divr = 5;
} else if (((_root.org1._x - 30) - _x) <= 0) {
divr = 0;
}
kam = random(30) + 1;
if ((((kam == 1) && (kame != 1)) && (jumping != true)) && (_root.allstop != 1)) {
this.kar.char.gotoAndStop(4);
kameh = 1;
kame = 1;
}
if (kena == 1) {
k++;
if (k >= 24) {
boost = 0;
divr = 0;
k = 0;
kena = 0;
ssp = (10 + divr) + boost;
kar.char.gotoAndStop(1);
}
}
if (_root.gor.hitTest((_x + 30) - 1, _y, true)) {
}
if (_root.gor.hitTest(_x, _y - 89, true) && (kena != 1)) {
if (jumping != true) {
jumping = true;
}
}
if (!_root.gor.hitTest(_x + 33, _y, true)) {
uy = _root.org1.spon;
if (_root.org1.ssp <= 0) {
uy = 0;
}
if (_root.org1.kenal == 1) {
_x = _x + ((ssp + divr) + boost);
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
} else {
if (_root.org1.kena2 == 1) {
cd = (ssp + divr) + boost;
} else {
cd = ((ssp + divr) + boost) - uy;
}
_x = _x + cd;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
} else {
jumping = true;
}
if ((!_root.gor.hitTest(_x, _y + 30, true)) && (jumping == false)) {
_y = _y + gravity;
gravity = gravity + 1;
if (_root.gor.hitTest(_x + 31, _y, true)) {
_x = _x - 10;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
}
if (jumping == true) {
_y = _y - jumpspeed;
jumpspeed = jumpspeed - 2;
if (_root.gor.hitTest(_x + 29, _y, true)) {
_x = _x - 15;
this.kar.char.t1._rotation = this.kar.char.t1._rotation + 7;
this.kar.char.t2._rotation = this.kar.char.t2._rotation + 7;
}
}
if (_root.gor.hitTest(_x, _y + 29, true)) {
gravity = 10;
jumping = false;
jumpspeed = js;
}
if (_root.gor.hitTest(_x, _y + 29, true)) {
if (_y >= 420) {
_y = 420;
} else if (_y >= 390) {
_y = 390;
} else if (_y >= 360) {
_y = 360;
} else if (_y >= 330) {
_y = 330;
} else if (_y >= 300) {
_y = 300;
} else if (_y >= 270) {
_y = 270;
} else if (_y >= 240) {
_y = 240;
} else if (_y >= 210) {
_y = 210;
} else if (_y >= 180) {
_y = 180;
} else if (_y >= 150) {
_y = 150;
} else if (_y >= 120) {
_y = 120;
} else if (_y >= 90) {
_y = 90;
} else if (_y >= 60) {
_y = 60;
}
_y = _y + 3;
}
if (ambil == 1) {
am++;
if (am >= 12) {
ambil = 0;
}
}
if (_root.gor.hitTest(_x, (_y - 30) + 15, true)) {
i = 1;
while (i <= _root.maxbns[_root.stage]) {
if ((tar.hitTest(_root.gor["bns" + i]) && (_root.gor["bns" + i].dead != 1)) && (ambil != 1)) {
if (_root.gor["bns" + i].pol != 1) {
ambil = 1;
bonus = random(3) + 1;
_root.gor["bns" + i].pol = 1;
_root.gor["bns" + i].dead = 1;
_root.gor["bns" + i].gotoAndStop(2);
bonusan = bonus;
switch (bonus) {
case 1 :
boost = 6;
bns1 = 1;
kar.char.gotoAndStop(2);
break;
case 2 :
bns2 = 1;
shields = 1;
attachMovie("shil" + codenum2, "shil", 3);
break;
case 3 :
bns3 = 1;
break;
case 4 :
bns3 = 1;
}
break;
}
}
i++;
}
_y = _y + 5;
jumpspeed = -1;
}
}
}
};
i++;
}
_root.gor._x = 0;
stop();
}
Instance of Symbol 408 MovieClip "finij" in Frame 8
onClipEvent (enterFrame) {
if (_root.nowball == 7) {
i = 1;
while (i <= 7) {
_root["br" + i]._alpha = _root["br" + i]._alpha - 10;
if (_root["br" + i]._alpha <= 50) {
_root["br" + i]._alpha = 100;
}
i++;
}
}
if (_root.stage == 6) {
t++;
if (t >= 500) {
_root.finij.gotoAndStop("ask");
t = 0;
}
}
}
onClipEvent (load) {
t = 0;
}
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 66 MovieClip Frame 1
on (release) {
_root.b_credit = true;
_parent._parent.nextFrame();
}
Instance of Symbol 57 MovieClip in Symbol 66 MovieClip Frame 1
on (release) {
_root.b_help = true;
_parent._parent.nextFrame();
}
Instance of Symbol 61 MovieClip in Symbol 66 MovieClip Frame 1
on (release) {
_parent._parent.gotoAndPlay(266);
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
on (press) {
getURL ("http://bubu.dysotek.eu/page.php?2", _blank);
}
Symbol 74 Button
on (release) {
_parent.nextFrame();
}
Symbol 110 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
stop();
scrolling = function () {
var _local5 = scrollTrack._height;
var _local2 = txt._height;
var _local4 = scrollFace._height;
var _local3 = maskedView._height;
var initPosition = ((scrollFace._y = scrollTrack._y));
var initContentPos = txt._y;
var _local8 = (_local3 - _local2) + initContentPos;
var left = scrollTrack._x;
var top = scrollTrack._y;
var right = scrollTrack._x;
var bottom = ((scrollTrack._height - _local4) + scrollTrack._y);
var dy = 0;
var _local6 = 10;
var moveVal = ((_local2 - _local3) / (_local5 - _local4));
scrollFace.onPress = function () {
this.s.gotoAndStop(2);
var _local2 = this._y;
startDrag (this, false, left, top, right, bottom);
this.onMouseMove = function () {
dy = Math.abs(initPosition - this._y);
txt._y = Math.round(((dy * -1) * moveVal) + initContentPos);
};
};
scrollFace.onMouseUp = function () {
this.s.gotoAndStop(1);
stopDrag();
delete this.onMouseMove;
};
if (_local2 < _local3) {
scrollFace._visible = false;
btnUp.enabled = false;
btnDown.enabled = false;
} else {
scrollFace._visible = true;
btnUp.enabled = true;
btnDown.enabled = true;
}
};
scrolling();
Symbol 144 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 5
stop();
Symbol 168 MovieClip Frame 10
gotoAndStop (1);
Symbol 168 MovieClip Frame 11
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 5
stop();
Symbol 174 MovieClip Frame 10
gotoAndStop (1);
Symbol 174 MovieClip Frame 11
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 5
stop();
Symbol 180 MovieClip Frame 10
gotoAndStop (1);
Symbol 180 MovieClip Frame 11
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 5
stop();
Symbol 186 MovieClip Frame 10
gotoAndStop (1);
Symbol 186 MovieClip Frame 11
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 5
stop();
Symbol 192 MovieClip Frame 10
gotoAndStop (1);
Symbol 192 MovieClip Frame 11
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 5
stop();
Symbol 198 MovieClip Frame 10
gotoAndStop (1);
Symbol 198 MovieClip Frame 11
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 1
stop();
Instance of Symbol 205 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
on (rollOver) {
this.ss.gotoAndStop(2);
}
on (rollOut) {
this.ss.gotoAndStop(1);
}
on (release) {
_root.levelno = 1;
this.enabled = false;
_parent._parent.gotoAndPlay(22);
}
Instance of Symbol 211 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
if (_root.racesec) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
on (rollOver) {
if (this._currentframe == 1) {
this.ss.gotoAndStop(2);
}
}
on (rollOut) {
if (this._currentframe == 1) {
this.ss.gotoAndStop(1);
}
}
on (release) {
if (this._currentframe == 1) {
_root.levelno = 3;
this.enabled = false;
_parent._parent.gotoAndPlay(22);
}
}
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
trace("mc1 :" + _root.racethr);
if (_root.racethr) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
on (rollOver) {
if (this._currentframe == 1) {
this.ss.gotoAndStop(2);
}
}
on (rollOut) {
if (this._currentframe == 1) {
this.ss.gotoAndStop(1);
}
}
on (release) {
if (this._currentframe == 1) {
_root.levelno = 2;
this.enabled = false;
_parent._parent.gotoAndPlay(22);
}
}
Symbol 219 MovieClip Frame 21
stop();
Symbol 219 MovieClip Frame 46
if (_root.levelno == 1) {
_root.nextFrame();
} else if (_root.levelno == 2) {
_root.gotoAndStop(5);
} else if (_root.levelno == 3) {
_root.gotoAndStop(7);
}
Symbol 220 MovieClip Frame 164
var b_help = false;
var b_credit = false;
Symbol 220 MovieClip Frame 165
stop();
Symbol 220 MovieClip Frame 166
play();
Symbol 220 MovieClip Frame 195
if (_root.b_help) {
help.gotoAndStop(1);
} else if (_root.b_credit) {
help.gotoAndStop(2);
}
_root.b_help = false;
_root.b_credit = false;
Symbol 220 MovieClip Frame 215
stop();
Symbol 220 MovieClip Frame 216
play();
Symbol 220 MovieClip Frame 265
stop();
gotoAndStop (165);
Symbol 220 MovieClip Frame 390
function shuffle() {
i = 0;
while (i < 6) {
tmp = random(6);
tempVal = _root.shuffleArr[i];
_root.shuffleArr[i] = _root.shuffleArr[tmp];
_root.shuffleArr[tmp] = tempVal;
i++;
}
}
function Enab() {
_root.but.enabled = true;
i = 1;
while (i < 7) {
eval ("selectchar.char" + i).enabled = false;
i++;
}
}
stop();
_root.shuffleArr = new Array();
var tmp = 0;
tempVal = "";
var clk = false;
i = 1;
while (i < 7) {
_root.shuffleArr[i - 1] = i;
eval ("selectchar.char" + i).onRollOver = function () {
var Nam = this._name;
_root.NN = Nam.substr(4, 1);
if (!clk) {
eval ("no" + _root.NN).gotoAndStop(2);
}
};
eval ("selectchar.char" + i).onRollOut = function () {
var Nam = this._name;
_root.NN = Nam.substr(4, 1);
if (!clk) {
eval ("no" + _root.NN).gotoAndStop(1);
}
};
eval ("selectchar.char" + i).onRelease = function () {
var Nam = this._name;
_root.NN = Nam.substr(4, 1);
shuffle();
clk = true;
eval ("no" + _root.NN).gotoAndStop(2);
Enab();
nextFrame();
};
i++;
}
_root.but.enabled = false;
_root.megaball = [0, 0, 0, 0, 0, 0, 0, 0];
_root.stage = 1;
_root.suni = 0;
_root.nowball = 0;
_root.chara = [0, 0, 0, 0, 0];
_root.boil = [0, 1, 2, 3, 4];
_root.nowchar = 0;
_root.skor = [0, 0, 0, 0, 0];
Symbol 220 MovieClip Frame 391
play();
Symbol 220 MovieClip Frame 465
stop();
Symbol 235 MovieClip Frame 1
stop();
pol = 0;
Symbol 235 MovieClip Frame 2
stop();
Symbol 251 MovieClip Frame 5
aa = 0;
Symbol 251 MovieClip Frame 9
if (_root.boil[1] == _parent._parent._currentframe) {
var snd = new Sound();
snd.attachSound("fire");
snd.start();
} else {
var snd = new Sound();
snd.attachSound("fire1");
snd.start();
}
Instance of Symbol 250 MovieClip in Symbol 251 MovieClip Frame 9
onClipEvent (enterFrame) {
i = 1;
while (i <= 4) {
if (this.hitTest(_root["org" + i].tar) && (i != _parent._parent._parent._parent.codenum)) {
if (_root["org" + i].shields != 1) {
_root["org" + i].ssp = 0;
_root["org" + i].boost = 0;
_root["org" + i].kena = 1;
_root["org" + i].kar.char.gotoAndStop(3);
}
}
i++;
}
}
Symbol 251 MovieClip Frame 17
aa++;
if (aa >= 3) {
aa = 0;
_parent.gotoAndStop(1);
} else {
gotoAndPlay (9);
}
Symbol 252 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip "t2" in Symbol 252 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 243 MovieClip "t1" in Symbol 252 MovieClip Frame 1
/* no clip actions */
Symbol 252 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 4
stop();
Symbol 255 MovieClip Frame 5
aa = 0;
Symbol 255 MovieClip Frame 6
snd.start();
Symbol 255 MovieClip Frame 9
if (_root.boil[1] == _parent._parent._currentframe) {
var snd = new Sound();
snd.attachSound("fire");
snd.start();
} else {
var snd = new Sound();
snd.attachSound("fire1");
snd.start();
}
Instance of Symbol 250 MovieClip in Symbol 255 MovieClip Frame 9
onClipEvent (enterFrame) {
i = 1;
while (i <= 4) {
if (this.hitTest(_root["org" + i].tar) && (i != _parent._parent._parent._parent.codenum)) {
if (_root["org" + i].shields != 1) {
_root["org" + i].ssp = 0;
_root["org" + i].boost = 0;
_root["org" + i].kena = 1;
_root["org" + i].kar.char.gotoAndStop(3);
}
}
i++;
}
}
Symbol 255 MovieClip Frame 17
aa++;
if (aa >= 3) {
aa = 0;
_parent.gotoAndStop(1);
} else {
gotoAndPlay (9);
}
Symbol 256 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip "t2" in Symbol 256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 243 MovieClip "t1" in Symbol 256 MovieClip Frame 1
/* no clip actions */
Symbol 256 MovieClip Frame 4
stop();
Symbol 259 MovieClip Frame 5
aa = 0;
Symbol 259 MovieClip Frame 9
if (_root.boil[1] == _parent._parent._currentframe) {
var snd = new Sound();
snd.attachSound("fire");
snd.start();
} else {
var snd = new Sound();
snd.attachSound("fire1");
snd.start();
}
Instance of Symbol 250 MovieClip in Symbol 259 MovieClip Frame 9
onClipEvent (enterFrame) {
i = 1;
while (i <= 4) {
if (this.hitTest(_root["org" + i].tar) && (i != _parent._parent._parent._parent.codenum)) {
if (_root["org" + i].shields != 1) {
_root["org" + i].ssp = 0;
_root["org" + i].boost = 0;
_root["org" + i].kena = 1;
_root["org" + i].kar.char.gotoAndStop(3);
}
}
i++;
}
}
Symbol 259 MovieClip Frame 17
aa++;
if (aa >= 3) {
aa = 0;
_parent.gotoAndStop(1);
} else {
gotoAndPlay (9);
}
Symbol 260 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip "t2" in Symbol 260 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 243 MovieClip "t1" in Symbol 260 MovieClip Frame 1
/* no clip actions */
Symbol 260 MovieClip Frame 4
stop();
Symbol 263 MovieClip Frame 5
aa = 0;
Symbol 263 MovieClip Frame 9
if (_root.boil[1] == _parent._parent._currentframe) {
var snd = new Sound();
snd.attachSound("fire");
snd.start();
} else {
var snd = new Sound();
snd.attachSound("fire1");
snd.start();
}
Instance of Symbol 250 MovieClip in Symbol 263 MovieClip Frame 9
onClipEvent (enterFrame) {
i = 1;
while (i <= 4) {
if (this.hitTest(_root["org" + i].tar) && (i != _parent._parent._parent._parent.codenum)) {
if (_root["org" + i].shields != 1) {
_root["org" + i].ssp = 0;
_root["org" + i].boost = 0;
_root["org" + i].kena = 1;
_root["org" + i].kar.char.gotoAndStop(3);
}
}
i++;
}
}
Symbol 263 MovieClip Frame 17
aa++;
if (aa >= 3) {
aa = 0;
_parent.gotoAndStop(1);
} else {
gotoAndPlay (9);
}
Symbol 264 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip "t2" in Symbol 264 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 243 MovieClip "t1" in Symbol 264 MovieClip Frame 1
/* no clip actions */
Symbol 264 MovieClip Frame 4
stop();
Symbol 267 MovieClip Frame 5
aa = 0;
Symbol 267 MovieClip Frame 9
if (_root.boil[1] == _parent._parent._currentframe) {
var snd = new Sound();
snd.attachSound("fire");
snd.start();
} else {
var snd = new Sound();
snd.attachSound("fire1");
snd.start();
}
Instance of Symbol 250 MovieClip in Symbol 267 MovieClip Frame 9
onClipEvent (enterFrame) {
i = 1;
while (i <= 4) {
if (this.hitTest(_root["org" + i].tar) && (i != _parent._parent._parent._parent.codenum)) {
if (_root["org" + i].shields != 1) {
_root["org" + i].ssp = 0;
_root["org" + i].boost = 0;
_root["org" + i].kena = 1;
_root["org" + i].kar.char.gotoAndStop(3);
}
}
i++;
}
}
Symbol 267 MovieClip Frame 17
aa++;
if (aa >= 3) {
aa = 0;
_parent.gotoAndStop(1);
} else {
gotoAndPlay (9);
}
Symbol 268 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip "t2" in Symbol 268 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 243 MovieClip "t1" in Symbol 268 MovieClip Frame 1
/* no clip actions */
Symbol 268 MovieClip Frame 4
stop();
Symbol 273 MovieClip Frame 5
aa = 0;
Symbol 273 MovieClip Frame 9
if (_root.boil[1] == _parent._parent._currentframe) {
var snd = new Sound();
snd.attachSound("fire");
snd.start();
} else {
var snd = new Sound();
snd.attachSound("fire1");
snd.start();
}
Instance of Symbol 250 MovieClip in Symbol 273 MovieClip Frame 9
onClipEvent (enterFrame) {
i = 1;
while (i <= 4) {
if (this.hitTest(_root["org" + i].tar) && (i != _parent._parent._parent._parent.codenum)) {
if (_root["org" + i].shields != 1) {
_root["org" + i].ssp = 0;
_root["org" + i].boost = 0;
_root["org" + i].kena = 1;
_root["org" + i].kar.char.gotoAndStop(3);
}
}
i++;
}
}
Symbol 273 MovieClip Frame 17
aa++;
if (aa >= 3) {
aa = 0;
_parent.gotoAndStop(1);
} else {
gotoAndPlay (9);
}
Symbol 274 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip "t2" in Symbol 274 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 243 MovieClip "t1" in Symbol 274 MovieClip Frame 1
/* no clip actions */
Symbol 274 MovieClip Frame 4
stop();
Symbol 275 MovieClip Frame 1
stop();
mm = 1;
Symbol 282 MovieClip Frame 106
stop();
_root.nextFrame();
Symbol 284 MovieClip Frame 2
stop();
Instance of Symbol 294 MovieClip in Symbol 300 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
} else if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
}
Instance of Symbol 294 MovieClip in Symbol 300 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
} else if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
}
Instance of Symbol 294 MovieClip in Symbol 300 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
} else if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
}
Instance of Symbol 294 MovieClip in Symbol 307 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
} else if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
}
Instance of Symbol 294 MovieClip in Symbol 307 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
} else if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
}
Instance of Symbol 294 MovieClip in Symbol 307 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
} else if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
}
Symbol 316 MovieClip Frame 1
this.ra._visible = false;
this.sh._visible = false;
this.ob._visible = false;
this.jumpchar._visible = false;
this.char._visible = false;
_root.bor._visible = false;
if (_root.bons[0] == "1") {
_root.bor._visible = true;
this.char._visible = true;
this.ra._visible = true;
}
if (_root.bons[0] == "2") {
_root.bor._visible = true;
this.char._visible = true;
this.sh._visible = true;
}
if (_root.bons[0] == "3") {
_root.bor._visible = true;
this.char._visible = true;
this.ob._visible = true;
}
if (_root.bons[0] == "4") {
_root.bor._visible = true;
this.jumpchar._visible = true;
}
Instance of Symbol 300 MovieClip "char" in Symbol 316 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.boil[1]);
}
Instance of Symbol 308 MovieClip "jumpchar" in Symbol 316 MovieClip Frame 1
onClipEvent (load) {
this.char.gotoAndStop(_root.boil[1]);
}
Symbol 317 MovieClip Frame 1
this.ra._visible = false;
this.sh._visible = false;
this.ob._visible = false;
this.jumpchar._visible = false;
this.char._visible = false;
if (_root.bons[1] == "1") {
this.char._visible = true;
this.ra._visible = true;
}
if (_root.bons[1] == "2") {
this.char._visible = true;
this.sh._visible = true;
}
if (_root.bons[1] == "3") {
this.char._visible = true;
this.ob._visible = true;
}
if (_root.bons[1] == "4") {
this.jumpchar._visible = true;
}
Instance of Symbol 300 MovieClip "char" in Symbol 317 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.boil[1]);
}
Instance of Symbol 308 MovieClip "jumpchar" in Symbol 317 MovieClip Frame 1
onClipEvent (load) {
this.char.gotoAndStop(_root.boil[1]);
}
Symbol 318 MovieClip Frame 1
this.ra._visible = false;
this.sh._visible = false;
this.ob._visible = false;
this.jumpchar._visible = false;
this.char._visible = false;
if (_root.bons[2] == "1") {
this.char._visible = true;
this.ra._visible = true;
}
if (_root.bons[2] == "2") {
this.char._visible = true;
this.sh._visible = true;
}
if (_root.bons[2] == "3") {
this.char._visible = true;
this.ob._visible = true;
}
if (_root.bons[2] == "4") {
this.jumpchar._visible = true;
}
Instance of Symbol 300 MovieClip "char" in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.boil[1]);
}
Instance of Symbol 308 MovieClip "jumpchar" in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
this.char.gotoAndStop(_root.boil[1]);
}
Symbol 321 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 2
function setint() {
if (_root.juara[i] == 0) {
eval ("_root.finij.player" + i).gotoAndStop(_root.boil[1]);
} else {
eval ("player" + i).gotoAndStop(_root.juara[i]);
}
eval ("player" + i)._visible = true;
eval ("player" + i).txt.text = i;
eval ("player" + i)._alpha = 0;
eval ("player" + i).onEnterFrame = function () {
this._alpha = this._alpha + 5;
if (this._alpha > 100) {
this.onEnterFrame = null;
}
};
i--;
if (i == 0) {
clearInterval(no);
}
}
_root.bar._visible = false;
_root.inst._visible = false;
if (_root.juara[1] == 0) {
_root.racesec = true;
}
var i = 4;
var no = setInterval(setint, 1500);
but.onPress = function () {
clearInterval(no);
_root.gotoAndStop(2);
};
Instance of Symbol 325 MovieClip in Symbol 386 MovieClip Frame 2
on (release) {
_root.gotoAndPlay(515);
}
Instance of Symbol 368 MovieClip "player1" in Symbol 386 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 371 MovieClip "player2" in Symbol 386 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 374 MovieClip "player3" in Symbol 386 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 377 MovieClip "player4" in Symbol 386 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 404 MovieClip Frame 1
stop();
pol = 0;
Symbol 404 MovieClip Frame 2
stop();
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 2
function setint() {
if (_root.juara[i] == 0) {
eval ("_root.finij.player" + i).gotoAndStop(_root.boil[1]);
} else {
eval ("player" + i).gotoAndStop(_root.juara[i]);
}
eval ("player" + i)._visible = true;
eval ("player" + i).txt.text = i;
eval ("player" + i)._alpha = 0;
eval ("player" + i).onEnterFrame = function () {
this._alpha = this._alpha + 5;
if (this._alpha > 100) {
this.onEnterFrame = null;
}
};
i--;
if (i == 0) {
clearInterval(no);
}
}
_root.bar._visible = false;
_root.inst._visible = false;
trace(_root.juara);
if (_root.juara[1] == 0) {
_root.racethr = true;
}
var i = 4;
var no = setInterval(setint, 1500);
but.onPress = function () {
clearInterval(no);
_root.gotoAndStop(2);
};
Instance of Symbol 325 MovieClip in Symbol 408 MovieClip Frame 2
on (release) {
_root.gotoAndPlay(515);
}
Instance of Symbol 368 MovieClip "player1" in Symbol 408 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 371 MovieClip "player2" in Symbol 408 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 374 MovieClip "player3" in Symbol 408 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 377 MovieClip "player4" in Symbol 408 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 415 MovieClip Frame 1
stop();
pol = 0;
Symbol 415 MovieClip Frame 2
stop();