Frame 1
stop();
fscommand ("showmenu", false);
_root._y = 0;
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) ? (getVersion()) : (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);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("c307f852", this, 10301, true);
Instance of Symbol 145 MovieClip "logo" in Frame 1
on (release) {
getURL ("http://www.shieldarcade.com/?utm_medium=brandedgames_external&utm_campaign=ben10kart&utm_source=host&utm_content=ingame", "_blank");
}
Frame 2
_root._y = 0;
_root.nowball = 0;
_root.efek = new Sound();
_root.efek2 = new Sound();
_root.efek3 = new Sound();
_root.efek4 = new Sound();
_root.efek5 = new Sound();
_root.bgm = new Sound();
_root.bgm.setVolume(100);
_root.bgm.onSoundComplete = function () {
_root.bgm.start();
};
_root.megaball = [0, 0, 0, 0, 0, 0, 0, 0];
_root.stage = 1;
_root.suni = 0;
Instance of Symbol 155 MovieClip in Frame 2
on (release) {
_root.gotoAndStop("sel");
}
Instance of Symbol 157 MovieClip in Frame 2
on (release) {
_root.gotoAndStop("ins");
}
Instance of Symbol 159 MovieClip in Frame 2
on (release) {
getURL ("http://www.shieldarcade.com/?utm_medium=brandedgames_external&utm_campaign=ben10kart&utm_source=host&utm_content=ingame", "_blank");
}
Frame 3
_root._y = 0;
_root.stage = 1;
_root.suni = 0;
_root.bgm.stop();
_root.bgm.attachSound("mus2");
_root.bgm.start();
stop();
Frame 4
_root._y = 0;
Instance of Symbol 164 MovieClip in Frame 4
on (release) {
_root.gotoAndStop("start");
}
Instance of Symbol 159 MovieClip in Frame 4
on (release) {
getURL ("http://www.shieldarcade.com/?utm_medium=brandedgames_external&utm_campaign=ben10kart&utm_source=host&utm_content=ingame", "_blank");
}
Frame 7
_root._y = 0;
trace("stage " + _root.stage);
_root.chara = [0, 0, 0, 0, 0];
_root.boil = [0, 0, 0, 0, 0];
_root.nowchar = 0;
_root.skor = [0, 0, 0, 0, 0];
i = 1;
while (i <= 4) {
_root["a" + i].gotoAndStop(i);
_root["w" + i].gotoAndStop(2);
_root["w" + i].code = i;
_root["w" + i].onRollOver = function () {
_root.efek.attachSound("click");
_root.efek.setVolume(100);
_root.efek.start();
this.gotoAndStop(1);
};
_root["w" + i].onRollOut = function () {
this.gotoAndStop(2);
};
_root["w" + i].onRelease = function () {
_root.nowchar = this.code;
_root.chara[this.code] = 1;
_root.boil[1] = this.code;
j = 2;
while (j <= 4) {
ok = 0;
do {
r = random(4) + 1;
if (_root.chara[r] != 1) {
_root.chara[r] = 1;
_root.boil[j] = r;
ok = 1;
}
} while (ok != 1);
j++;
}
ll = 1;
while (ll <= 4) {
ll++;
}
_root.gotoAndStop("ploy");
};
i++;
}
Frame 8
_root._y = 0;
Frame 11
_root._y = 0;
_root.flager = [0, 0, 0, 0, 0];
yp = 0;
nor1 = 0;
nor2 = 0;
nor3 = 0;
nor4 = 0;
jx2 = [0, 0, 0, 0];
_root.champ = [0, 0, 0, 0, 0];
ppp = 0;
while (ppp <= 3) {
jx2[ppp] = _root.skor[ppp + 1];
_root["nor" + (ppp + 1)] = _root.skor[ppp + 1];
ppp++;
}
jx2.sort(18);
trace(jx2);
loa = 0;
while (loa <= 3) {
jl = 1;
while (jl <= 4) {
if ((0 != (jx2[loa] == _root["nor" + jl])) & (0 != (_root.flager[jl] != 1))) {
_root.flager[jl] = 1;
_root.champ[loa + 1] = jl;
break;
}
jl++;
}
loa++;
}
trace(_root.champ);
uu = 1;
while (uu <= 4) {
_root["r" + uu].gotoAndStop(_root.champ[uu]);
uu++;
}
Instance of Symbol 196 MovieClip in Frame 11
on (release) {
_root.gotoAndStop("sel");
}
Instance of Symbol 159 MovieClip in Frame 11
on (release) {
getURL ("http://www.shieldarcade.com/?utm_medium=brandedgames_external&utm_campaign=ben10kart&utm_source=host&utm_content=ingame", "_blank");
}
Frame 12
_root._y = 0;
Frame 15
_root._y = 0;
i = 1;
while (i <= 4) {
_root["a" + i].gotoAndStop(i);
_root["sk" + i] = _root.skor[i];
i++;
}
_root.flager = [0, 0, 0, 0, 0];
yp = 0;
_root.allstop = 0;
nor1 = 0;
nor2 = 0;
nor3 = 0;
nor4 = 0;
jx2 = [0, 0, 0, 0];
_root.champ = [0, 0, 0, 0, 0];
ppp = 0;
while (ppp <= 3) {
jx2[ppp] = _root.skor[ppp + 1];
_root["nor" + (ppp + 1)] = _root.skor[ppp + 1];
ppp++;
}
jx2.sort(18);
trace(jx2);
loa = 0;
while (loa <= 3) {
jl = 1;
while (jl <= 4) {
if ((0 != (jx2[loa] == _root["nor" + jl])) & (0 != (_root.flager[jl] != 1))) {
_root.flager[jl] = 1;
_root.champ[loa + 1] = jl;
break;
}
jl++;
}
loa++;
}
uu = 1;
while (uu <= 4) {
_root["a" + uu].gotoAndStop(_root.champ[uu]);
_root["sk" + uu] = jx2[uu - 1];
uu++;
}
Instance of Symbol 159 MovieClip in Frame 15
on (release) {
getURL ("http://www.shieldarcade.com/?utm_medium=brandedgames_external&utm_campaign=ben10kart&utm_source=host&utm_content=ingame", "_blank");
}
Frame 16
_root._y = 0;
Frame 21
_root._y = 200;
Instance of Symbol 230 MovieClip "bgg" in Frame 21
onClipEvent (enterFrame) {
if (_x <= 0) {
_x = 0;
}
}
Instance of Symbol 235 MovieClip "tim" in Frame 21
onClipEvent (enterFrame) {
if (_root.bonus1 == 1) {
r = random(2);
_root.efek3.attachSound("car" + r);
_root.efek3.setVolume(100);
_root.efek3.start();
this.b1++;
if (this.b1 >= 60) {
_root.boost = 0;
_root.bonus1 = 0;
b1 = 0;
_root.org1.kar.char.gotoAndStop(1);
}
}
if (_root.bonus2 == 1) {
this.b2++;
if (this.b2 >= 60) {
_root.bonus2 = 0;
b2 = 0;
_root.org1.shields = 0;
_root.org1.shil.removeMovieClip();
}
}
if (_root.bonus4 == 1) {
this.b4++;
if (this.b4 >= 60) {
_root.jumplit = 0;
_root.bonus4 = 0;
b4 = 0;
}
}
}
onClipEvent (load) {
b1 = 0;
b2 = 0;
b4 = 0;
}
Instance of Symbol 320 MovieClip "org1" in Frame 21
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) {
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 ((0 != ((0 != this.tar.hitTest(_root.gor["bns" + ka])) & (0 != (_root.gor["bns" + k].dead != 1)))) & (0 != (_root.bonus == 0))) {
_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(4) + 1;
} else {
_root.bonus = random(5) + 1;
}
if (_root.bonus == 5) {
_root.nowball++;
_root["br" + _root.nowball]._visible = 1;
}
if (_root.bonus == 3) {
_root.bonus3 = 0;
}
if (_root.bonus == 5) {
_root.bonus = 0;
} else {
_root.bot.gotoAndStop(_root.bonus + 1);
}
_root.gor["bns" + ka].pol = 1;
_root.gor["bns" + ka].dead = 1;
_root.gor["bns" + ka].gotoAndStop(2);
break;
}
}
ka++;
}
_y = (_y - v);
}
} else {
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;
}
h = false;
break;
}
}
do {
} while (undefined != null);
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 = 120;
}
onClipEvent (enterFrame) {
if (kena == 1) {
if (ben == 0) {
ben = 1;
_root.efek2.attachSound("hit");
_root.efek2.setVolume(100);
_root.efek2.start();
}
k++;
trace(k);
if (k >= 24) {
ben = 0;
trace("D");
k = 0;
kena = 0;
ssp = 5;
this.kar.char.gotoAndStop(1);
}
}
if (fini == 1) {
_x = (_x + 10);
if (_y < 240) {
_y = (_y + gravity);
gravity = gravity + 1;
} else {
_y = 240;
}
_y = (_y + 3);
}
if (pauss != 1) {
trace("saya1" + _y);
p = 1;
while (p <= 4) {
if ((_root["org" + p]._x - _root.org1._x) >= _root.fastfood) {
divr = 5;
} else if (((_root["org" + p]._x - 30) - _root.org1._x) <= 0) {
divr = 0;
}
p++;
}
if ((0 != this.tari.hitTest(_root.gor.fin)) & (0 != (fini != 1))) {
_root.efek3.attachSound("finish");
_root.efek3.setVolume(100);
_root.efek3.start();
_root.finij.gotoAndStop(2);
_root.allstop = 1;
_root.juara[_root.noj] = _root.nowchar;
trace(_root.juara[_root.noj]);
_root.noj++;
gravity = 10;
pauss = 1;
fini = 1;
}
if (_root.kame == 1) {
kamecharge++;
_root.uis.en.bb._x = _root.uis.en.bb._x + (126 / bani);
if (kamecharge >= bani) {
_root.uis.mw._visible = 1;
_root.kame = 0;
kamecharge = 0;
}
}
if ((0 != ((0 != Key.isDown(32)) & (0 != (_root.kame != 1)))) & (0 != (jumping != true))) {
_root.uis.mw._visible = 0;
_root.uis.en.bb._x = -63;
this.kar.char.gotoAndStop(4);
kameh = 1;
_root.kame = 1;
}
if ((0 != ((0 != ((0 != Key.isDown(13)) & (0 != (_root["bonus" + _root.bonus] != 1)))) & (0 != (_root.bonus != 0)))) & (0 != (jumping != true))) {
if (((__reg0 = _root.bonus)) === 1) {
this.kar.char.gotoAndStop(2);
_root.boost = 5;
_root["bonus" + _root.bonus] = 1;
} else if (__reg0 === 2) {
this.attachMovie("shil" + codenum2, "shil", 3);
_root.efek2.attachSound("kebal");
_root.efek2.setVolume(100);
_root.efek2.start();
this.shields = 1;
_root["bonus" + _root.bonus] = 1;
} else if (__reg0 === 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;
for(;;){
if (t > 4) {
return(undefined);
}
if ((0 != this.hitTest(_root["org" + t])) & (0 != (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();
return(undefined);
}
this.removeMovieClip();
}
t++;
};
};
}
} else if (__reg0 === 4) {
_root.jumplit = 5;
_root["bonus" + _root.bonus] = 1;
}
_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(100);
_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 if (jumping == false) {
bo = 0;
}
if (pauss != 1) {
if (kena != 1) {
spon = ((ssp + bo) + _root.boost) + divr;
move(spon, 0);
}
}
if (jumping) {
isReady = false;
if (vel <= 0) {
h = move(0, vel - 5);
if ((h == false) && (vel < 0)) {
vel = vel * -16;
}
vel++;
} else {
jumping = false;
}
}
}
}
Instance of Symbol 360 MovieClip "uis" in Frame 21
onClipEvent (load) {
_root.bgm.stop();
_root.bgm.attachSound("mus1");
_root.bgm.start();
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, 15, 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 = 10;
_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) {
_x = _x + 10;
_y = 243;
}
}
if (this.pauss != 1) {
with (this) {
if ((0 != tari.hitTest(_root.gor.fin)) & (0 != (fini != 1))) {
_root.juara[_root.noj] = codenum2;
_root.noj++;
fini = 1;
gravity = 10;
pauss = 1;
_y = 243;
}
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 >= 120) {
shields = 0;
bns2 = 0;
b2 = 0;
shil.removeMovieClip();
}
}
if ((0 != (bns3 == 1)) & (0 != (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;
}
i = 1;
for(;;){
if (i > 4) {
return(undefined);
}
if ((0 != this.hitTest(_root["org" + i])) & (0 != (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();
return(undefined);
}
this.removeMovieClip();
}
i++;
};
};
bns3 = 0;
}
if ((_root.org1._x - _x) >= _root.fastfood) {
divr = 7;
} else if (((_root.org1._x - 30) - _x) <= 0) {
divr = 0;
}
kam = random(30) + 1;
if ((0 != ((0 != ((0 != (kam == 1)) & (0 != (kame != 1)))) & (0 != (jumping != true)))) & (0 != (_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);
}
}
!_root.gor.hitTest((_x + 30) - 1, _y, true);
if ((0 != _root.gor.hitTest(_x, _y - 89, true)) & (0 != (kena != 1))) {
if (jumping != true) {
jumping = true;
}
}
if (_root.gor.hitTest(_x + 33, _y, true)) {
jumping = true;
} else {
uy = _root.org1.spon;
if (_root.org1.ssp <= 0) {
uy = 0;
}
if (_root.org1.kenal == 1) {
_x = _x + ((ssp + divr) + boost);
} else {
if (_root.org1.kena2 == 1) {
cd = (ssp + divr) + boost;
} else {
cd = ((ssp + divr) + boost) - uy;
}
_x = _x + cd;
}
}
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;
}
}
if (jumping == true) {
_y = _y - jumpspeed;
jumpspeed = jumpspeed - 2;
if (_root.gor.hitTest(_x + 29, _y, true)) {
_x = _x - 15;
}
}
if (_root.gor.hitTest(_x, _y + 29, true)) {
gravity = 10;
jumping = false;
jumpspeed = js;
}
if (_root.gor.hitTest(_x, _y + 29, true)) {
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)) {
return(undefined);
}
i = 1;
while (i <= _root.maxbns[_root.stage]) {
if ((0 != ((0 != tar.hitTest(_root.gor["bns" + i])) & (0 != (_root.gor["bns" + i].dead != 1)))) & (0 != (ambil != 1))) {
if (_root.gor["bns" + i].pol != 1) {
ambil = 1;
bonus = random(4) + 1;
_root.gor["bns" + i].pol = 1;
_root.gor["bns" + i].dead = 1;
_root.gor["bns" + i].gotoAndStop(2);
bonusan = bonus;
if (((__reg0 = bonus)) === 1) {
boost = 5;
bns1 = 1;
kar.char.gotoAndStop(2);
} else if (__reg0 === 2) {
bns2 = 1;
shields = 1;
attachMovie("shil" + codenum2, "shil", 3);
} else if (__reg0 === 3) {
bns3 = 1;
} else if (__reg0 === 4) {
bns3 = 1;
}
break;
}
}
i++;
}
_y = _y + 5;
jumpspeed = -1;
}
}
};
i++;
}
_root.gor._x = 0;
stop();
}
Instance of Symbol 369 MovieClip "nomi" in Frame 21
onClipEvent (enterFrame) {
if (_root.suni == 0) {
i = 1;
while (i <= 4) {
_root["org" + i].pauss = 1;
i++;
}
}
if ((0 != (_root.noj == 5)) & (0 != (done != 1))) {
yp++;
if (yp >= 36) {
done = 1;
yp = 0;
_root.skor[_root.juara[1]] = _root.skor[_root.juara[1]] + 10;
_root.skor[_root.juara[2]] = _root.skor[_root.juara[2]] + 5;
_root.skor[_root.juara[3]] = _root.skor[_root.juara[3]] + 3;
_root.skor[_root.juara[4]] = _root.skor[_root.juara[4]] + 0;
_root.gotoAndStop("res");
}
}
ppp = 0;
while (ppp <= 3) {
jx[ppp] = _root["org" + (ppp + 1)]._x;
ppp++;
}
nor = _root.org1._x;
jx.sort(16);
loa = 0;
while (loa <= 3) {
if (jx[loa] == nor) {
kon = 0;
if (((__reg0 = loa)) === 0) {
kon = 4;
} else if (__reg0 === 1) {
kon = 3;
} else if (__reg0 === 2) {
kon = 2;
} else if (__reg0 === 3) {
kon = 1;
}
_root.nomi.gotoAndStop(kon);
break;
}
loa++;
}
}
onClipEvent (load) {
_root.suni = 0;
done = 0;
yp = 0;
nor = 0;
jx = [0, 0, 0, 0];
}
Instance of Symbol 159 MovieClip in Frame 21
on (release) {
getURL ("http://www.shieldarcade.com/?utm_medium=brandedgames_external&utm_campaign=ben10kart&utm_source=host&utm_content=ingame", "_blank");
}
Instance of Symbol 402 MovieClip "finij" in Frame 21
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 22
_root._y = 200;
_root.bgg.gotoAndStop(2);
Frame 23
_root._y = 200;
_root.bgg.gotoAndStop(3);
Frame 24
_root._y = 200;
_root.bgg.gotoAndStop(4);
Frame 25
_root._y = 200;
_root.bgg.gotoAndStop(5);
Frame 26
_root._y = 200;
_root.bgg.gotoAndStop(6);
_root.thankmc._visible = false;
Instance of Symbol 447 MovieClip "gor" in Frame 26
onClipEvent (enterFrame) {
trace(_x);
}
Instance of Symbol 235 MovieClip "tim" in Frame 26
onClipEvent (enterFrame) {
if (_root.bonus1 == 1) {
this.b1++;
if (this.b1 >= 60) {
_root.boost = 0;
_root.bonus1 = 0;
b1 = 0;
_root.org1.kar.char.gotoAndStop(1);
}
}
if (_root.bonus2 == 1) {
this.b2++;
if (this.b2 >= 60) {
_root.bonus2 = 0;
b2 = 0;
_root.org1.shields = 0;
_root.org1.shil.removeMovieClip();
}
}
if (_root.bonus4 == 1) {
this.b4++;
if (this.b4 >= 60) {
_root.jumplit = 0;
_root.bonus4 = 0;
b4 = 0;
}
}
}
onClipEvent (load) {
b1 = 0;
b2 = 0;
b4 = 0;
}
Instance of Symbol 320 MovieClip "org1" in Frame 26
onClipEvent (load) {
function move(x, y) {
b = this.getBounds(this);
h = true;
_root.gor._x = _root.gor._x - x;
_root.gir._x = _root.gir._x - x;
if (_root.stage == 6) {
_root.bgg._x = _root.bgg._x - (x / 100);
} else {
_root.bgg._x = _root.bgg._x - (x / 10);
}
if (_root.gor._x <= -1200) {
_root.gor._x = 0;
}
if (_root.gir._x <= -1200) {
_root.gir._x = 0;
}
_y = (_y + y);
isReady = false;
for (i in _root.gor) {
if (this.r.hitTest(_root.gor[i])) {
if (x == 0) {
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 ((0 != ((0 != this.tar.hitTest(_root.gor["bns" + ka])) & (0 != (_root.gor["bns" + k].dead != 1)))) & (0 != (_root.bonus == 0))) {
if (_root.gor["bns" + ka].pol != 1) {
_root.bonus = 3;
if (_root.bonus == 3) {
_root.bonus3 = 0;
}
_root.bot.gotoAndStop(_root.bonus + 1);
_root.gor["bns" + ka].pol = 1;
_root.gor["bns" + ka].dead = 1;
_root.gor["bns" + ka].gotoAndStop(2);
break;
}
}
ka++;
}
_y = (_y - v);
}
} else {
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.gir._x = _root.gir._x + v;
_root.bgg._x = _root.bgg._x + (v / 10);
}
_root.bgstop = 0;
}
h = false;
break;
}
}
do {
} while (undefined != null);
return(h);
}
this.stop();
codenum = 1;
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;
}
onClipEvent (enterFrame) {
if (kena == 1) {
k++;
trace(k);
if (k >= 24) {
trace("D");
k = 0;
kena = 0;
ssp = 5;
this.kar.char.gotoAndStop(1);
}
}
if (fini == 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 = 5;
} else if (((_root["org" + p]._x - 30) - _root.org1._x) <= 0) {
divr = 0;
}
p++;
}
if (this.tari.hitTest(_root.gor.fin)) {
gravity = 10;
pauss = 1;
fini = 1;
}
if (_root.kame == 1) {
kamecharge++;
if (kamecharge >= 60) {
_root.kame = 0;
kamecharge = 0;
}
}
if ((0 != ((0 != Key.isDown(32)) & (0 != (_root.kame != 1)))) & (0 != (jumping != true))) {
this.kar.char.gotoAndStop(4);
kameh = 1;
_root.kame = 1;
}
if ((0 != ((0 != ((0 != Key.isDown(13)) & (0 != (_root["bonus" + _root.bonus] != 1)))) & (0 != (_root.bonus != 0)))) & (0 != (jumping != true))) {
if (((__reg0 = _root.bonus)) === 1) {
this.kar.char.gotoAndStop(2);
_root.boost = 5;
_root["bonus" + _root.bonus] = 1;
} else if (__reg0 === 2) {
this.attachMovie("shil" + codenum, "shil", 3);
this.shields = 1;
_root["bonus" + _root.bonus] = 1;
} else if (__reg0 === 3) {
if (jumping == false) {
_root["bonus" + _root.bonus] = 1;
_root.tottai++;
_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;
for(;;){
if (t > 4) {
return(undefined);
}
if ((0 != this.hitTest(_root["org" + t])) & (0 != (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();
return(undefined);
}
this.removeMovieClip();
}
t++;
};
};
}
} else if (__reg0 === 4) {
_root.jumplit = 5;
_root["bonus" + _root.bonus] = 1;
}
_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)) {
jumpc = 0;
jumping = true;
vel = -18 - _root.jumplit;
_root.jumpSound.gotoAndPlay(2);
}
if (Key.isDown(39)) {
if (jumping == false) {
bo = 10;
}
} else if (jumping == false) {
bo = 0;
}
if (pauss != 1) {
if (kena != 1) {
spon = (ssp + bo) + _root.boost;
move(spon, 0);
}
}
if (jumping) {
isReady = false;
if (vel <= 0) {
h = move(0, vel - 5);
if ((h == false) && (vel < 0)) {
vel = vel * -16;
}
vel++;
} else {
jumping = false;
}
}
}
}
Instance of Symbol 448 MovieClip "gir" in Frame 26
onClipEvent (enterFrame) {
trace(_x);
}
Symbol 29 MovieClip Frame 1
gotoAndPlay(Math.ceil((Math.random() * 14) + 1));
Symbol 29 MovieClip Frame 15
gotoAndPlay (2);
Symbol 32 MovieClip Frame 1
gotoAndPlay(Math.ceil((Math.random() * 14) + 1));
Symbol 39 MovieClip Frame 2
gotoAndPlay(Math.ceil(Math.random() * 20) + 8);
Symbol 39 MovieClip Frame 4
gotoAndPlay(Math.ceil(Math.random() * 20) + 8);
Symbol 39 MovieClip Frame 6
gotoAndPlay(Math.ceil(Math.random() * 20) + 8);
Symbol 39 MovieClip Frame 8
gotoAndPlay(Math.ceil(Math.random() * 20) + 8);
Symbol 39 MovieClip Frame 39
gotoAndPlay((Math.floor(Math.random() * 4) * 2) + 1);
Symbol 76 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 82 Button
on (release) {
getURL ("http://www.shieldarcade.com", "_blank");
}
Symbol 112 MovieClip Frame 25
stop();
Symbol 115 MovieClip Frame 9
stop();
Symbol 118 MovieClip Frame 25
stop();
Symbol 130 MovieClip Frame 120
gotoAndPlay (19);
Symbol 136 MovieClip Frame 120
gotoAndPlay (19);
Symbol 143 MovieClip Frame 1
function gotoMySite() {
getURL ("http://www.thehivedesigns.com", "_blank");
}
function shieldclick() {
getURL ("http://www.shieldarcade.com", "_self");
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem("\u00A9 2011 Shield Arcade.com", shieldclick);
var mySiteLink = new ContextMenuItem("Designed by: TheHiveDesigns.com", gotoMySite);
mySiteLink.separatorBefore = true;
myMenu.customItems.push(copyrightNotice, mySiteLink);
_root.menu = myMenu;
Symbol 143 MovieClip Frame 75
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 189
_root.play();
Symbol 149 Button
on (press) {
logo.play();
but._visible = false;
}
Symbol 173 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 194 Button
on (release) {
_root.gotoAndStop("start");
}
Symbol 205 MovieClip Frame 1
stop();
Symbol 212 Button
on (release) {
_root.suni = 0;
if ((0 != (_root.nowball == 7)) & (0 != (_root.stage == 5))) {
_root.stage++;
_root.gotoAndStop(20 + _root.stage);
} else if (_root.stage == 5) {
_root.gotoAndStop("his");
} else {
_root.stage++;
trace(_root.stage + "_asdasd");
_root.gotoAndStop(20 + _root.stage);
}
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 25
stop();
_root.suni = 1;
i = 1;
while (i <= 4) {
_root["org" + i].pauss = 0;
i++;
}
if (_root.stage == 6) {
_root.finij.gotoAndPlay(3);
}
Symbol 257 MovieClip Frame 5
boni = 0;
Symbol 257 MovieClip Frame 6
_root.efek5.attachSound("wp1");
_root.efek5.setVolume(100);
_root.efek5.start();
Instance of Symbol 253 MovieClip "hiz" in Symbol 257 MovieClip Frame 6
onClipEvent (enterFrame) {
i = 1;
while (i <= 4) {
if ((this.hitTest(_root["org" + i].tar) != 0) & ((i != _parent._parent._parent._parent.codenum) != 0)) {
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 257 MovieClip Frame 10
boni++;
if (boni >= 3) {
_parent.gotoAndStop(1);
} else {
gotoAndPlay (6);
}
Symbol 258 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 6
boni = 0;
Instance of Symbol 272 MovieClip "hiz" in Symbol 277 MovieClip Frame 6
onClipEvent (enterFrame) {
i = 1;
while (i <= 4) {
if ((this.hitTest(_root["org" + i].tar) != 0) & ((i != _parent._parent._parent._parent.codenum) != 0)) {
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 277 MovieClip Frame 7
_root.efek5.attachSound("wp2");
_root.efek5.setVolume(100);
_root.efek5.start();
Symbol 277 MovieClip Frame 11
boni++;
if (boni >= 3) {
_parent.gotoAndStop(1);
} else {
gotoAndPlay (7);
}
Symbol 278 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 7
boni = 0;
Symbol 298 MovieClip Frame 8
_root.efek5.attachSound("wp3");
_root.efek5.setVolume(100);
_root.efek5.start();
Instance of Symbol 297 MovieClip "hiz" in Symbol 298 MovieClip Frame 8
onClipEvent (enterFrame) {
i = 1;
while (i <= 4) {
if ((this.hitTest(_root["org" + i].tar) != 0) & ((i != _parent._parent._parent._parent.codenum) != 0)) {
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 298 MovieClip Frame 12
boni++;
if (boni >= 3) {
_parent.gotoAndStop(1);
} else {
gotoAndPlay (8);
}
Symbol 299 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 4
boni = 0;
Symbol 317 MovieClip Frame 5
_root.efek5.attachSound("wp4");
_root.efek5.setVolume(100);
_root.efek5.start();
Instance of Symbol 315 MovieClip in Symbol 317 MovieClip Frame 5
onClipEvent (enterFrame) {
i = 1;
while (i <= 4) {
if ((this.hitTest(_root["org" + i].tar) != 0) & ((i != _parent._parent._parent._parent.codenum) != 0)) {
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 317 MovieClip Frame 9
boni++;
if (boni >= 3) {
_parent.gotoAndStop(1);
} else {
gotoAndPlay (5);
}
Symbol 318 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 1
stop();
Instance of Symbol 349 MovieClip "bb" in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
trace(_x + "DD");
}
Symbol 360 MovieClip Frame 1
stop();
Instance of Symbol 347 MovieClip "mw" in Symbol 360 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 369 MovieClip Frame 1
stop();
Symbol 398 Button
on (release) {
gotoAndStop (1);
}
Symbol 401 Button
on (release) {
_root.finij._visible = false;
_root.thankmc._visible = true;
_root.thankmc.gotoAndPlay(3);
gotoAndStop (1);
}
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 21
gotoAndStop (1);
Symbol 457 MovieClip Frame 1
teks.cacheAsBitmap = true;
mask.cacheAsBitmap = true;
teks.setMask(mask);
Symbol 457 MovieClip Frame 150
stop();