Frame 1
stop();
usesound = true;
sponsoruri = "http://game.24h.com.vn";
var menucontext = new ContextMenu();
menucontext.hideBuiltInItems();
var menu1 = new ContextMenuItem("ratrichero@gmail.com");
menu1.onSelect = function (obj, item) {
getURL (_root.sponsoruri, "_blank");
};
menucontext.customItems.push(menu1);
this.menu = menucontext;
Frame 2
stop();
if (frommenu) {
delete frommenu;
}
if (_root.usesound && (!menusound)) {
menusound = new Sound(menutitle);
menusound.attachSound("bgsound");
menusound.setVolume(100);
}
menusound.start(0, 99999);
Frame 4
stop();
stopAllSounds();
delete menusound;
if (_root.usesound) {
menusound = new Sound(menutitle);
menusound.attachSound("menusound");
menusound.setVolume(100);
}
menusound.start(0, 99999);
Frame 5
stop();
Frame 6
stop();
if (frommenu) {
prbutton.gotoAndStop(1);
} else {
stopAllSounds();
stopAllSounds();
delete menusound;
prbutton.gotoAndStop(2);
}
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
if (usesound) {
var bgsound = new Sound();
bgsound.attachSound("bgsound");
bgsound.setVolume(100);
bgsound.start(0, 99999);
var gameoversound = new Sound(menudeath);
gameoversound.attachSound("gameoversound");
gameoversound.setVolume(100);
var winsound = new Sound(menuwin);
winsound.attachSound("winsound");
winsound.setVolume(100);
var effect1 = new Sound(arena.spots);
effect1.attachSound("effect1");
effect1.setVolume(100);
var effect2 = new Sound(arena.players);
effect2.attachSound("effect2");
effect2.setVolume(40);
var effect3 = new Sound(arena.spots);
effect3.attachSound("effect3");
effect3.setVolume(100);
var effect4 = new Sound(arena.spots);
effect4.attachSound("effect4");
effect4.setVolume(100);
var effect5 = new Sound(arena.spots);
effect5.attachSound("effect5");
effect5.setVolume(100);
var effect6 = new Sound(arena.spots);
effect6.attachSound("effect6");
effect6.setVolume(100);
var splashwater = new Sound(arena.spots);
splashwater.attachSound("splashwater");
splashwater.setVolume(100);
var bloopsound = new Sound(arena.spots);
bloopsound.attachSound("bloop");
bloopsound.setVolume(100);
}
helisound.onSoundComplete = function () {
helisound.start();
};
bgsound.onSoundComplete = function () {
bgsound.start();
};
var bulletdepth = 0;
var playerdepth = 0;
var spotdepth = 0;
var isPause;
var levelmax = 8;
var plevel = 1;
var currentgun = 1;
var currentsword = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
var sword1have = false;
var sword2have = false;
var sword3have = false;
var sword4have = false;
var sword5have = false;
var gun1bullets = 5;
var gun2bullets = 0;
var gun3bullets = 0;
var gun4bullets = 0;
var gun5bullets = 0;
var gun6bullets = 0;
var gun7bullets = 0;
var gun1power = 250;
var gun2power = 500;
var gun3power = 750;
var gun4power = 1000;
var gun5power = 1400;
var gun6power = 1800;
var gun7power = 2500;
var sword1power = 250;
var sword2power = 500;
var sword3power = 750;
var sword4power = 1000;
var sword5power = 1500;
var sword6power = 1500;
var sword7power = 2500;
var gunreload = 0;
var healthreload = 0;
var gun1everyload = 17;
var gun2everyload = 15;
var gun3everyload = 13;
var gun4everyload = 11;
var gun5everyload = 9;
var gun6everyload = 7;
var gun7everyload = 5;
var healthtimer = 1150;
var guntimer = 900;
var defaultlive = 3;
var plive = defaultlive;
var thescore = 0;
var totalscore = 0;
var enemydefense = Array(0, 10, 13, 17, 22, 25, 30, 35, 250);
var killscore = Array(0, 10, 20, 35, 50, 75, 100, 150, 200);
var mucharmy = Array(0, 25, 30, 30, 30, 30, 30, 30, 3);
var armycount = mucharmy[plevel];
var p1used = false;
var p2used = false;
var p3used = false;
var p4used = false;
var p5used = false;
var p6used = false;
var lastenemy;
if (playertype == 1) {
p1used = true;
p2used = true;
lastenemy = 2;
randomwith = 3;
} else if (playertype == 2) {
p2used = true;
p1used = true;
lastenemy = 1;
randomwith = 3;
} else if (playertype == 3) {
p3used = true;
p1used = true;
lastenemy = 1;
randomwith = 2;
} else if (playertype == 4) {
p4used = true;
p1used = true;
lastenemy = 1;
randomwith = 2;
} else if (playertype == 5) {
p5used = true;
p1used = true;
lastenemy = 1;
randomwith = 2;
} else if (playertype == 6) {
p6used = true;
p1used = true;
lastenemy = 1;
randomwith = 2;
}
for (var e in _root.arena.players) {
if (typeof(_root.arena.players[e]) == "movieclip") {
_root.arena.players[e].live = 100;
_root.arena.players[e].owner = "enemy";
prandom = random(2);
if (prandom == 0) {
_root.arena.players[e].ptype = lastenemy;
continue;
}
_root.arena.players[e].ptype = randomwith;
}
}
depth = playerdepth++;
newplayer = "theplayer";
arena.players.attachMovie("player", newplayer, depth, {_x:50, _y:100});
arena.players[newplayer].owner = "player";
arena.players[newplayer].live = 100;
arena.players[newplayer].ptype = playertype;
arena.players[newplayer].wtype = currentsword;
delete depth;
delete newplayer;
delete prandom;
delete randomwith;
Instance of Symbol 548 MovieClip "arena" in Frame 9
onClipEvent (load) {
var ypos = 0;
var xpos = 0;
}
onClipEvent (enterFrame) {
if (_root.gunreload < _root.guntimer) {
_root.gunreload++;
} else if (_root.gunreload >= _root.guntimer) {
_root.gunreload = 0;
_root.bonusgun = 2 + random(4);
}
if (_root.healthreload < _root.healthtimer) {
_root.healthreload++;
} else if (_root.healthreload >= _root.healthtimer) {
_root.healthreload = 0;
_root.bonushealth = true;
}
if (xpos > 0) {
xpos = 0;
}
if (ypos > 0) {
ypos = 0;
}
var checkxpos = ((-(bg._width - 640)) / 3.41);
var checkypos = ((-(bg._height - 450)) / 3.41);
if (xpos < checkxpos) {
xpos = checkxpos;
}
if (ypos < checkypos) {
ypos = checkypos;
}
var countx = ((0.7071068 * _x) + xpos);
var county = ((0.7071068 * _y) + ypos);
_y = county;
_x = countx;
_root.arena2._x = countx / 1.5;
_root.arena2._y = county / 2;
_root.arena3._x = countx / 2;
_root.arena3._y = county / 3;
if (Key.isDown(32) || (Key.isDown(87))) {
if (!haschange) {
haschange = true;
if (_root.currentgun == 0) {
if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
}
} else if (_root.currentgun == 1) {
if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
}
} else if (_root.currentgun == 2) {
if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
}
} else if (_root.currentgun == 3) {
if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
}
} else if (_root.currentgun == 4) {
if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
}
} else if (_root.currentgun == 5) {
if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
}
} else if (_root.currentgun == 6) {
if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
}
} else if (_root.currentgun == 7) {
if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
}
}
}
} else if (Key.isDown(49) || (Key.isDown(97))) {
if ((_root.currentgun != 1) && (_root.gun1bullets > 0)) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
}
} else if (Key.isDown(50) || (Key.isDown(98))) {
if ((_root.currentgun != 2) && (_root.gun2bullets > 0)) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
}
} else if (Key.isDown(51) || (Key.isDown(99))) {
if ((_root.currentgun != 3) && (_root.gun3bullets > 0)) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
}
} else if (Key.isDown(52) || (Key.isDown(100))) {
if ((_root.currentgun != 4) && (_root.gun4bullets > 0)) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
}
} else if (Key.isDown(53) || (Key.isDown(101))) {
if ((_root.currentgun != 5) && (_root.gun5bullets > 0)) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
}
} else if (Key.isDown(54) || (Key.isDown(102))) {
if ((_root.currentgun != 6) && (_root.gun6bullets > 0)) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
}
} else if (Key.isDown(55) || (Key.isDown(103))) {
if ((_root.currentgun != 7) && (_root.gun7bullets > 0)) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
}
} else if (Key.isDown(80)) {
if (!haschange) {
haschange = true;
if (!_root.isPause) {
_root.isPause = true;
_root.menuplay.gotoAndPlay(2);
_root.scorebar.bar.pbutton.gotoAndStop(2);
} else {
_root.isPause = false;
_root.menuplay.gotoAndStop(1);
_root.scorebar.bar.pbutton.gotoAndStop(1);
}
}
} else {
if (haschange) {
}
delete haschange;
}
}
Symbol 29 MovieClip [box] Frame 1
stop();
onEnterFrame = function () {
var _local7 = (this._x + _parent._x) + _root.arena._x;
var _local5 = (this._y + _parent._y) + _root.arena._y;
if (_root.arena.players.theplayer.hitTest(_local7, _local5 - 20, true)) {
if (_currentframe == 8) {
_root.arena.players.theplayer.live = 100;
_root.scorebar.bar.live.gotoAndStop(50);
} else {
_root[("gun" + _currentframe) + "bullets"] = _root[("gun" + _currentframe) + "bullets"] + _root[("gun" + _currentframe) + "everyload"];
if (_root.scorebar.bar.gunbar._currentframe == 1) {
_root.currentgun = _currentframe;
_root.scorebar.bar.gunbar.gotoAndStop(_currentframe + 1);
}
}
onEnterFrame = null;
var _local4 = _root.spotdepth++;
var _local6 = "newbox" + _local4;
_root.arena.spots.attachMovie("pop", _local6, _local4, {_x:this._x, _y:this._y});
removeMovieClip(this);
}
};
Symbol 29 MovieClip [box] Frame 2
stop();
Symbol 29 MovieClip [box] Frame 3
stop();
Symbol 29 MovieClip [box] Frame 4
stop();
Symbol 29 MovieClip [box] Frame 5
stop();
Symbol 29 MovieClip [box] Frame 6
stop();
Symbol 29 MovieClip [box] Frame 7
stop();
Symbol 29 MovieClip [box] Frame 8
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 37 MovieClip Frame 3
stop();
Symbol 37 MovieClip Frame 4
stop();
Symbol 37 MovieClip Frame 5
stop();
Symbol 37 MovieClip Frame 6
stop();
Symbol 37 MovieClip Frame 7
stop();
Symbol 38 MovieClip [bullet1] Frame 1
onEnterFrame = function () {
var _local17 = hit1._x;
var _local18 = hit1._y;
var _local16 = _local17;
var _local14 = (Math.sin(_rotation * 0.01745329) * _local17) / 1;
var _local12 = (_y + _local18) + _local14;
var _local15 = Math.sqrt((_local16 * _local16) - (_local14 * _local14));
var _local11 = _x + _local15;
if ((_rotation > 90) || (_rotation < -90)) {
_local11 = _x - _local15;
}
if (_root.arena.players.hitTest(_local11 + _root.arena._x, _local12 + _root.arena._y, true)) {
for (var _local13 in _root.arena.players) {
if ((typeof(_root.arena.players[_local13]) == "movieclip") && (!_root.arena.players[_local13].isdead)) {
if (((owner == "enemy") && (_root.arena.players[_local13].owner == "player")) || ((owner == "player") && (_root.arena.players[_local13].owner == "enemy"))) {
var _local7 = _root.arena.players[_local13].hit.hitTest(hit1);
if (_local7) {
if (_root.arena.players[_local13].lompat || (_root.arena.players[_local13].turun)) {
_root.arena.players[_local13].kondeDalam.gotoAndStop("kenalemparlompat");
} else {
_root.arena.players[_local13].kondeDalam.gotoAndStop("kenalempar");
}
_root.arena.players[_local13].jurus = true;
if (_root.arena.players[_local13].owner == "player") {
var _local6 = (_root.gun2power / _root.enemydefense[(_root.levelmax - 1) - _root.plevel]) / 3;
_root.arena.players[_local13].live = _root.arena.players[_local13].live - _local6;
_root.getshot.gotoAndPlay(2);
var _local5 = int(_root.arena.players[_local13].live / 2);
if (_local5 > 0) {
_root.scorebar.bar.live.gotoAndStop(_local5);
} else {
_root.scorebar.bar.live._visible = false;
}
} else {
var _local6 = _root[("gun" + hit1._currentframe) + "power"] / _root.enemydefense[_root.plevel];
_root.arena.players[_local13].live = _root.arena.players[_local13].live - _local6;
var _local5 = int(_root.arena.players[_local13].live / 10);
_root.arena.players[_local13].bar.gotoAndStop(_local5);
}
if ((!_root.arena.players[_local13].box) && (_root.arena.players[_local13].live < 1)) {
if (_root.arena.players[_local13].owner == "player") {
} else {
var _local8 = int(_root.killscore[_root.plevel]);
_root.thescore = _root.thescore + _local8;
_root.arena.players[_local13].bar._visible = false;
if (_root.arena.players[_local13].havepil) {
var _local3 = _root.spotdepth++;
var _local4 = "newbox" + _local3;
_root.arena.spots.attachMovie("box", _local4, _local3, {_x:_root.arena.players[_local13]._x, _y:_root.arena.players[_local13]._y});
_root.arena.spots[_local4].gotoAndStop(8);
_root.arena.spots[_local4].box = true;
} else if (_root.arena.players[_local13].havegun) {
var _local3 = _root.spotdepth++;
var _local4 = "newbox" + _local3;
_root.arena.spots.attachMovie("box", _local4, _local3, {_x:_root.arena.players[_local13]._x, _y:_root.arena.players[_local13]._y});
_root.arena.spots[_local4].gotoAndStop(_root.arena.players[_local13].havegun);
_root.arena.spots[_local4].box = true;
}
}
var _local3 = _root.spotdepth++;
if (_local3 > 100) {
_root.spotdepth = 0;
_local3 = 0;
}
_root.arena.spots.attachMovie("spot", "newspot" + _local3, _local3, {_x:_root.arena.players[_local13]._x, _y:_root.arena.players[_local13]._y});
_root.arena.spots["newspot" + _local3].gotoAndStop(2);
_root.armycount--;
_root.arena.players[_local13].isdead = true;
_root.arena.players[_local13].kondeDalam.gotoAndStop("mati");
} else if (_root.arena.players[_local13].box) {
var _local3 = _root.smokedepth++;
if (_local3 > 100) {
_root.smokedepth = 0;
_local3 = 0;
}
_root.arena.smokes.attachMovie("smoke", "newsmoke" + _local3, _local3, {_x:_local11, _y:_local12});
if (_root.arena.players[_local13].box) {
if (_root.arena.players[_local13]._currentframe == 1) {
_root.arena.players.theplayer.live = 100;
_root.scorebar.bar.live.gotoAndStop(50);
} else if (_root.arena.players[_local13]._currentframe == 2) {
if (_root.arena.players[_local13].havegun == 2) {
_root.gun2bullets = _root.gun2bullets + _root.gun2everyload;
} else if (_root.arena.players[_local13].havegun == 3) {
_root.gun3bullets = _root.gun3bullets + _root.gun3everyload;
} else if (_root.arena.players[_local13].havegun == 4) {
_root.gun4bullets = _root.gun4bullets + _root.gun4everyload;
} else if (_root.arena.players[_local13].havegun == 5) {
_root.gun5bullets = _root.gun5bullets + _root.gun5everyload;
}
}
removeMovieClip(_root.arena.barrier.pbarriers[_root.arena.players[_local13]._name]);
removeMovieClip(_root.arena.players[_local13]);
}
} else {
var _local3 = _root.spotdepth++;
if (_local3 > 100) {
_root.spotdepth = 0;
_local3 = 0;
}
_root.arena.spots.attachMovie("spot", "newspot" + _local3, _local3, {_x:_root.arena.players[_local13]._x, _y:_root.arena.players[_local13]._y});
_root.arena.spots["newspot" + _local3].gotoAndStop(1);
}
removeMovieClip(this);
}
}
}
}
}
};
Symbol 38 MovieClip [bullet1] Frame 14
onEnterFrame = null;
Symbol 38 MovieClip [bullet1] Frame 15
stop();
removeMovieClip(this);
Symbol 44 MovieClip [waterspot] Frame 1
if (_root.usesound) {
}
_root.splashwater.start(0, 1);
Symbol 44 MovieClip [waterspot] Frame 6
removeMovieClip(this);
Symbol 47 MovieClip [pop] Frame 1
if (_root.usesound) {
}
_root.bloopsound.start(0, 1);
Symbol 47 MovieClip [pop] Frame 3
removeMovieClip(this);
Symbol 50 MovieClip [alienbullet] Frame 1
onEnterFrame = function () {
for (var _local4 in _root.arena.barrier) {
if (_currentframe > 2) {
if (this.hitTest(_root.arena.barrier[_local4])) {
xwidth = this.hit._x;
yheight = (Math.sin(this._rotation * 0.01745329) * this.hit._x) / 1;
thisy = (((this.hit._y + _parent._y) + _root.players._y) + yheight) - 16;
countx = Math.sqrt((xwidth * xwidth) - (yheight * yheight));
thisx = (_parent._x + _root.players._x) + countx;
if ((this._rotation > 90) || (this._rotation < -90)) {
thisx = (_parent._x + _root.players._x) - countx;
}
barrierx = _root.arena.barrier[_local4]._x + _root.arena._x;
barriery = _root.arena.barrier[_local4]._y + _root.arena._y;
barrierhy = barriery + _root.arena.barrier[_local4]._height;
barrierwx = barrierx + _root.arena.barrier[_local4]._width;
a = _root.arena.barrier[_local4]._skew;
if (!a) {
a = 0;
}
b = 90 - a;
B = _root.arena.barrier[_local4]._height;
A = (Math.sin(a * 0.01745329) * B) / Math.sin(b * 0.01745329);
BNew = thisy - barriery;
ANew = barrierx - ((BNew * A) / B);
realwidth = _root.arena.barrier[_local4]._width - A;
ANewRight = ANew + realwidth;
if ((((thisx < (ANewRight - 12)) && (thisx > (ANew + 12))) && (thisy < (barrierhy - 12))) && (thisy > (barriery + 12))) {
gotoAndPlay ("off");
break;
}
}
}
}
for (var _local4 in _root.players) {
if (((typeof(_root.players[_local4]) == "movieclip") && (this.hitTest(_root.players[_local4].hit))) && (_root.players[_local4]._currentframe != 9)) {
_root.players[_local4].gotoAndStop("blood");
removeMovieClip(this);
break;
}
}
};
Symbol 50 MovieClip [alienbullet] Frame 17
onEnterFrame = null;
Symbol 50 MovieClip [alienbullet] Frame 50
stop();
removeMovieClip(this);
Symbol 52 MovieClip Frame 1
this._visible = false;
Symbol 65 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 65 MovieClip Frame 2
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 65 MovieClip Frame 3
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 65 MovieClip Frame 4
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 65 MovieClip Frame 5
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 65 MovieClip Frame 6
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 65 MovieClip Frame 7
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 65 MovieClip Frame 8
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 75 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 75 MovieClip Frame 2
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 75 MovieClip Frame 3
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 75 MovieClip Frame 4
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 75 MovieClip Frame 5
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 75 MovieClip Frame 6
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 75 MovieClip Frame 7
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 75 MovieClip Frame 8
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 76 MovieClip Frame 1
if (_parent._parent._parent.isdead) {
stop();
}
Symbol 90 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 90 MovieClip Frame 2
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 90 MovieClip Frame 3
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 90 MovieClip Frame 4
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 90 MovieClip Frame 5
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 90 MovieClip Frame 6
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 90 MovieClip Frame 7
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 90 MovieClip Frame 8
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 91 MovieClip Frame 1
if (_parent._parent._parent.isdead) {
stop();
}
Symbol 99 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent._parent.wtype);
Symbol 99 MovieClip Frame 2
stop();
gotoAndStop(_parent._parent._parent._parent.wtype);
Symbol 99 MovieClip Frame 3
stop();
gotoAndStop(_parent._parent._parent._parent.wtype);
Symbol 99 MovieClip Frame 4
stop();
gotoAndStop(_parent._parent._parent._parent.wtype);
Symbol 99 MovieClip Frame 5
stop();
gotoAndStop(_parent._parent._parent._parent.wtype);
Symbol 99 MovieClip Frame 6
stop();
gotoAndStop(_parent._parent._parent._parent.wtype);
Symbol 99 MovieClip Frame 7
stop();
gotoAndStop(_parent._parent._parent._parent.wtype);
Symbol 99 MovieClip Frame 8
stop();
gotoAndStop(_parent._parent._parent._parent.wtype);
Symbol 100 MovieClip Frame 1
if (_parent._parent._parent.ptype == 8) {
_visible = false;
}
Symbol 112 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 112 MovieClip Frame 2
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 112 MovieClip Frame 3
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 112 MovieClip Frame 4
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 112 MovieClip Frame 5
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 112 MovieClip Frame 6
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 112 MovieClip Frame 7
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 112 MovieClip Frame 8
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 121 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 121 MovieClip Frame 2
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 121 MovieClip Frame 3
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 121 MovieClip Frame 4
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 121 MovieClip Frame 5
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 121 MovieClip Frame 6
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 121 MovieClip Frame 7
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 121 MovieClip Frame 8
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 130 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 130 MovieClip Frame 2
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 130 MovieClip Frame 3
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 130 MovieClip Frame 4
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 130 MovieClip Frame 5
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 130 MovieClip Frame 6
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 130 MovieClip Frame 7
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 130 MovieClip Frame 8
stop();
gotoAndStop(_parent._parent._parent._parent.ptype);
Symbol 132 MovieClip Frame 10
gotoAndPlay (5);
Symbol 133 MovieClip Frame 16
gotoAndPlay (4);
Symbol 136 MovieClip Frame 1
_visible = false;
Symbol 141 MovieClip Frame 5
if (_root.usesound) {
_root.effect2.start(0, 1);
}
Symbol 141 MovieClip Frame 10
if (_parent._parent.cycleval < 3) {
delete _parent._parent.jurus;
delete _parent._parent.cycleval;
}
Symbol 141 MovieClip Frame 11
if (_root.usesound) {
_root.effect2.start(0, 1);
}
Symbol 141 MovieClip Frame 17
if (_root.usesound) {
_root.effect1.start(0, 1);
}
Symbol 141 MovieClip Frame 20
delete _parent._parent.jurus;
delete _parent._parent.cycleval;
Symbol 142 MovieClip Frame 5
if (_root.usesound) {
_root.effect2.start(0, 1);
}
Symbol 142 MovieClip Frame 10
if (_parent._parent.cycleval < 3) {
delete _parent._parent.jurus;
delete _parent._parent.cycleval;
}
Symbol 142 MovieClip Frame 11
if (_root.usesound) {
_root.effect2.start(0, 1);
}
Symbol 142 MovieClip Frame 17
if (_root.usesound) {
_root.effect1.start(0, 1);
}
Symbol 142 MovieClip Frame 20
delete _parent._parent.jurus;
delete _parent._parent.cycleval;
Symbol 145 MovieClip Frame 1
if (_root.usesound) {
_root.effect1.start(0, 1);
}
Symbol 145 MovieClip Frame 6
if (_parent._parent.cycleval < 2) {
delete _parent._parent.jurus;
delete _parent._parent.cycleval;
}
Symbol 145 MovieClip Frame 7
if (_root.usesound) {
_root.effect2.start(0, 1);
}
Symbol 145 MovieClip Frame 11
delete _parent._parent.jurus;
delete _parent._parent.cycleval;
Symbol 148 MovieClip Frame 3
if (_root.usesound) {
_root.effect2.start(0, 1);
}
Symbol 148 MovieClip Frame 6
if (_parent._parent.cycleval < 2) {
delete _parent._parent.jurus;
delete _parent._parent.cycleval;
}
Symbol 148 MovieClip Frame 10
if (_root.usesound) {
_root.effect2.start(0, 1);
}
Symbol 148 MovieClip Frame 15
if (_root.usesound) {
_root.effect2.start(0, 1);
}
Symbol 148 MovieClip Frame 20
delete _parent._parent.jurus;
delete _parent._parent.cycleval;
Symbol 151 MovieClip Frame 1
if (_root.usesound) {
_root.effect3.start(0, 1);
}
Symbol 151 MovieClip Frame 4
delete _parent._parent.jurus;
Symbol 152 MovieClip Frame 1
if (_root.usesound) {
_root.effect3.start(0, 1);
}
Symbol 152 MovieClip Frame 4
delete _parent._parent.jurus;
Symbol 154 MovieClip Frame 1
if (_root.usesound) {
_root.effect4.start(0, 1);
}
Symbol 154 MovieClip Frame 3
delete _parent._parent.jurus;
Symbol 155 MovieClip Frame 1
if (_root.usesound) {
_root.effect4.start(0, 1);
}
for (var e in _root.arena.players) {
if (((((typeof(_root.arena.players[e]) == "movieclip") && (_parent._parent.owner == "player")) && (_root.arena.players[e].owner == "enemy")) && (!_root.arena.players[e].isdead)) && (_root.arena.players[e].kondeDalam._currentframe != 1)) {
delete _root.arena.players[e].jurus;
_root.arena.players[e].kondeDalam.gotoAndStop(1);
}
}
Symbol 155 MovieClip Frame 25
if (_parent._parent.owner == "player") {
_root.lastpx = _parent._parent._x;
_root.lastpy = _parent._parent._y;
if (_root.plive > 1) {
_root.isPause = true;
_root.curtain.gotoAndPlay(2);
} else {
_root.menudeath.gotoAndPlay(2);
_root.plive = 0;
}
}
Symbol 155 MovieClip Frame 40
_parent._parent._alpha = 90;
Symbol 155 MovieClip Frame 41
_parent._parent._alpha = 80;
Symbol 155 MovieClip Frame 42
_parent._parent._alpha = 70;
Symbol 155 MovieClip Frame 43
_parent._parent._alpha = 60;
Symbol 155 MovieClip Frame 44
_parent._parent._alpha = 50;
Symbol 155 MovieClip Frame 45
_parent._parent._alpha = 40;
Symbol 155 MovieClip Frame 46
_parent._parent._alpha = 30;
Symbol 155 MovieClip Frame 47
_parent._parent._alpha = 20;
Symbol 155 MovieClip Frame 48
_parent._parent._alpha = 10;
Symbol 155 MovieClip Frame 49
_parent._parent._alpha = 5;
Symbol 155 MovieClip Frame 50
stop();
removeMovieClip(_parent._parent);
_parent._parent.gotoAndStop(2);
Symbol 160 MovieClip Frame 5
removeMovieClip(_parent._parent);
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
stop();
Symbol 161 MovieClip Frame 3
stop();
Symbol 161 MovieClip Frame 4
stop();
Symbol 161 MovieClip Frame 5
stop();
Symbol 161 MovieClip Frame 6
stop();
Symbol 161 MovieClip Frame 7
stop();
Symbol 161 MovieClip Frame 8
stop();
Symbol 161 MovieClip Frame 9
stop();
Symbol 161 MovieClip Frame 10
stop();
Symbol 161 MovieClip Frame 11
stop();
Symbol 161 MovieClip Frame 12
stop();
Symbol 161 MovieClip Frame 13
stop();
Symbol 161 MovieClip Frame 14
stop();
Symbol 161 MovieClip Frame 15
stop();
Symbol 161 MovieClip Frame 16
stop();
Symbol 161 MovieClip Frame 17
stop();
Symbol 165 MovieClip Frame 1
stop();
this.gotoAndStop(_parent.live / 10);
if (_parent.owner == "player") {
_visible = false;
}
Symbol 165 MovieClip Frame 2
stop();
Symbol 165 MovieClip Frame 3
stop();
Symbol 165 MovieClip Frame 4
stop();
Symbol 165 MovieClip Frame 5
stop();
Symbol 165 MovieClip Frame 6
stop();
Symbol 165 MovieClip Frame 7
stop();
Symbol 165 MovieClip Frame 8
stop();
Symbol 165 MovieClip Frame 9
stop();
Symbol 165 MovieClip Frame 10
stop();
Symbol 166 MovieClip [player] Frame 1
stop();
Symbol 166 MovieClip [player] Frame 2
stop();
Symbol 168 Button
on (release) {
getURL ("http://www.arcadebomb.com", "_blank");
}
Symbol 182 MovieClip Frame 1
this.link_btn.onPress = function () {
getURL ("http://www.game.24h.com.vn", "_blank");
};
Symbol 191 MovieClip Frame 1
this.onEnterFrame = function () {
var _local4 = _parent.getBytesLoaded() / _parent.getBytesTotal();
loading_mc.bar_mc._width = Math.round(236 * _local4);
if (_local4 == 1) {
_root.loadDone = true;
delete this.onEnterFrame;
_root.nextFrame();
}
};
Symbol 206 Button
on (release) {
_root.gotoAndPlay("praplay");
}
Symbol 209 Button
on (release) {
frommenu = true;
_root.gotoAndPlay("instructions");
}
Symbol 212 MovieClip Frame 17
stop();
Symbol 264 MovieClip Frame 1
stop();
Instance of Symbol 166 MovieClip [player] "girl" in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
ptype = 8;
this.bar._visible = false;
}
Symbol 264 MovieClip Frame 2
stop();
Instance of Symbol 166 MovieClip [player] "girl" in Symbol 268 MovieClip Frame 207
onClipEvent (load) {
ptype = 7;
this.bar._visible = false;
}
Symbol 268 MovieClip Frame 300
stopAllSounds();
delete _root.menusound;
_root.gotoAndStop("instructions");
Symbol 270 Button
on (release) {
gotoAndStop ("instructions");
stopAllSounds();
delete menusound;
}
Symbol 289 Button
on (release) {
getURL ("http://www.freeplaynow.com", "_blank");
}
Symbol 291 Button
on (release) {
_root.gotoAndPlay("mainmenu");
}
Symbol 295 Button
on (release) {
_root.gotoAndPlay("instructions2");
}
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 2
stop();
Symbol 337 Button
on (release) {
_root.gotoAndPlay("choose");
}
Symbol 366 Button
on (release) {
_root.gotoAndPlay("gamestart");
}
Symbol 368 Button
on (release) {
if (pchar._currentframe < 6) {
pchar.nextFrame();
} else {
pchar.gotoAndStop(1);
}
}
Symbol 369 Button
on (release) {
if (pchar._currentframe > 1) {
pchar.prevFrame();
} else {
pchar.gotoAndStop(6);
}
}
Symbol 400 MovieClip Frame 1
stop();
_root.playertype = 1;
Symbol 400 MovieClip Frame 2
stop();
_root.playertype = 2;
Symbol 400 MovieClip Frame 3
stop();
_root.playertype = 3;
Symbol 400 MovieClip Frame 4
stop();
_root.playertype = 4;
Symbol 400 MovieClip Frame 5
stop();
_root.playertype = 5;
Symbol 400 MovieClip Frame 6
stop();
_root.playertype = 6;
Symbol 427 MovieClip Frame 1
stop();
gotoAndStop(_root.plevel);
Symbol 427 MovieClip Frame 2
stop();
gotoAndStop(_root.plevel);
Symbol 427 MovieClip Frame 3
stop();
gotoAndStop(_root.plevel);
Symbol 427 MovieClip Frame 4
stop();
gotoAndStop(_root.plevel);
Symbol 427 MovieClip Frame 5
stop();
gotoAndStop(_root.plevel);
Symbol 427 MovieClip Frame 6
stop();
gotoAndStop(_root.plevel);
Symbol 427 MovieClip Frame 7
stop();
gotoAndStop(_root.plevel);
Symbol 427 MovieClip Frame 8
stop();
gotoAndStop(_root.plevel);
Symbol 441 MovieClip Frame 1
stop();
gotoAndStop(_root.plevel);
Symbol 441 MovieClip Frame 2
stop();
gotoAndStop(_root.plevel);
Symbol 441 MovieClip Frame 3
stop();
gotoAndStop(_root.plevel);
Symbol 441 MovieClip Frame 4
stop();
gotoAndStop(_root.plevel);
Symbol 441 MovieClip Frame 5
stop();
gotoAndStop(_root.plevel);
Symbol 441 MovieClip Frame 6
stop();
gotoAndStop(_root.plevel);
Symbol 441 MovieClip Frame 7
stop();
gotoAndStop(_root.plevel);
Symbol 441 MovieClip Frame 8
stop();
gotoAndStop(_root.plevel);
Symbol 443 MovieClip Frame 1
_visible = false;
Symbol 449 MovieClip Frame 1
stop();
var toadd = 10;
var xpostoadd = (toadd / 3.41);
onEnterFrame = function () {
if (!_root.isPause) {
for (var _local20 in this) {
if ((typeof(this[_local20]) == "movieclip") && (!this[_local20].isdead)) {
__reg25 = this[_local20]._x + _parent._x;
__reg33 = this[_local20]._y + _parent._y;
var _local5 = 0;
var _local4 = 0;
if (this[_local20].jurus && (this[_local20].kondeDalam.clip.hit1)) {
var _local18 = (__reg25 + this[_local20].kondeDalam._x) + this[_local20].kondeDalam.clip._x;
var _local17 = (__reg33 + this[_local20].kondeDalam._y) + this[_local20].kondeDalam.clip._y;
var _local19 = _local18 + ((this[_local20].kondeDalam._xscale / 100) * this[_local20].kondeDalam.clip.hit1._x);
var _local13 = _local17 + this[_local20].kondeDalam.clip.hit1._y;
var _local12 = _local18 + ((this[_local20].kondeDalam._xscale / 100) * this[_local20].kondeDalam.clip.hit2._x);
var _local15 = _local17 + this[_local20].kondeDalam.clip.hit2._y;
var _local14 = _local18 + ((this[_local20].kondeDalam._xscale / 100) * this[_local20].kondeDalam.clip.hit3._x);
var _local16 = _local17 + this[_local20].kondeDalam.clip.hit3._y;
var _local6 = this[_local20]._y;
this[_local20]._y = -20;
if ((this.hitTest(_local19, _local13, true) || (this.hitTest(_local12, _local15, true))) || (this.hitTest(_local14, _local16, true))) {
for (var _local24 in this) {
if ((typeof(this[_local24]) == "movieclip") && (!this[_local24].isdead)) {
if (((this[_local20].owner == "enemy") && (this[_local24].owner == "player")) || ((this[_local20].owner == "player") && (this[_local24].owner == "enemy"))) {
if ((this[_local24].hitTest(_local19, _local13, true) || this[_local24].hitTest(_local12, _local15, true)) || this[_local24].hitTest(_local14, _local16, true)) {
if (this[_local24].kondeDalam.clip.pedang) {
if (_root.usesound) {
var _local10 = 5 + random(2);
_root["effect" + _local10].start(0, 1);
}
}
if (_root.arena.players[_local24].lompat || _root.arena.players[_local24].turun) {
_root.arena.players[_local24].kondeDalam.gotoAndStop("kenalemparlompat");
} else {
_root.arena.players[_local24].kondeDalam.gotoAndStop("kenalempar");
}
_root.arena.players[_local24].jurus = true;
if (_root.arena.players[_local24].owner == "player") {
if (_root.arena.players[_local24].block) {
__reg10 = (_root.sword1power / _root.enemydefense[(_root.levelmax + 1) - _root.plevel]) / 10;
} else {
__reg10 = (_root.sword1power / _root.enemydefense[(_root.levelmax + 1) - _root.plevel]) / 3;
}
_root.arena.players[_local24].live = _root.arena.players[_local24].live - __reg10;
_root.getshot.gotoAndPlay(2);
__reg7 = int(_root.arena.players[_local24].live / 2);
if (__reg7 > 0) {
_root.scorebar.bar.live.gotoAndStop(__reg7);
} else {
_root.scorebar.bar.live._visible = false;
}
} else {
var __reg10 = (_root[("sword" + _root.currentsword) + "power"] / _root.enemydefense[_root.plevel]);
_root.arena.players[_local24].live = _root.arena.players[_local24].live - __reg10;
var __reg7 = int(_root.arena.players[_local24].live / 10);
_root.arena.players[_local24].bar.gotoAndStop(__reg7);
}
if ((!_root.arena.players[_local24].box) && (_root.arena.players[_local24].live < 1)) {
if (_root.arena.players[_local24].owner != "player") {
_root.armycount--;
var _local9 = int(_root.killscore[_root.plevel]);
_root.thescore = _root.thescore + _local9;
_root.arena.players[_local24].bar._visible = false;
if (_root.arena.players[_local24].havepil) {
__reg38 = _root.spotdepth++;
__reg5 = "newbox" + __reg38;
_root.arena.spots.attachMovie("box", __reg5, __reg38, {_x:_root.arena.players[_local24]._x, _y:_root.arena.players[_local24]._y});
_root.arena.spots[__reg5].gotoAndStop(8);
_root.arena.spots[__reg5].box = true;
} else if (_root.arena.players[_local24].havegun) {
__reg38 = _root.spotdepth++;
var __reg5 = ("newbox" + __reg38);
_root.arena.spots.attachMovie("box", __reg5, __reg38, {_x:_root.arena.players[_local24]._x, _y:_root.arena.players[_local24]._y});
_root.arena.spots[__reg5].gotoAndStop(_root.arena.players[_local24].havegun);
_root.arena.spots[__reg5].box = true;
}
}
__reg38 = _root.spotdepth++;
if (__reg38 > 100) {
_root.spotdepth = 0;
__reg38 = 0;
}
_root.arena.spots.attachMovie("spot", "newspot" + __reg38, __reg38, {_x:_root.arena.players[_local24]._x, _y:_root.arena.players[_local24]._y});
_root.arena.spots["newspot" + __reg38].gotoAndStop(2);
_root.arena.players[_local24].isdead = true;
_root.arena.players[_local24].kondeDalam.gotoAndStop("mati");
} else if (_root.arena.players[_local24].box) {
__reg38 = _root.smokedepth++;
if (__reg38 > 100) {
_root.smokedepth = 0;
__reg38 = 0;
}
_root.arena.smokes.attachMovie("smoke", "newsmoke" + __reg38, __reg38, {_x:hitx, _y:hity});
if (_root.arena.players[_local24].box) {
if (_root.arena.players[_local24]._currentframe == 1) {
_root.arena.players.theplayer.live = 100;
_root.scorebar.bar.live.gotoAndStop(50);
} else if (_root.arena.players[_local24]._currentframe == 2) {
if (_root.arena.players[_local24].havegun == 2) {
_root.gun2bullets = _root.gun2bullets + _root.gun2everyload;
} else if (_root.arena.players[_local24].havegun == 3) {
_root.gun3bullets = _root.gun3bullets + _root.gun3everyload;
} else if (_root.arena.players[_local24].havegun == 4) {
_root.gun4bullets = _root.gun4bullets + _root.gun4everyload;
} else if (_root.arena.players[_local24].havegun == 5) {
_root.gun5bullets = _root.gun5bullets + _root.gun5everyload;
}
}
removeMovieClip(_root.arena.barrier.pbarriers[_root.arena.players[_local24]._name]);
removeMovieClip(_root.arena.players[_local24]);
}
} else {
var __reg38 = (_root.spotdepth++);
if (__reg38 > 100) {
_root.spotdepth = 0;
__reg38 = 0;
}
_root.arena.spots.attachMovie("spot", "newspot" + __reg38, __reg38, {_x:_root.arena.players[_local24]._x, _y:_root.arena.players[_local24]._y});
_root.arena.spots["newspot" + __reg38].gotoAndStop(1);
}
}
}
}
}
}
this[_local20]._y = _local6;
}
if ((this[_local20].owner == "player") && (this[_local20].ptype != 8)) {
if (_root.arena.deadpoint.hitTest(__reg25, __reg33, true)) {
_root.scorebar.bar.live._visible = false;
_root.lastpx = this[_local20]._x;
_root.lastpy = this[_local20]._y;
if (_root.plive > 1) {
_root.isPause = true;
_root.curtain.gotoAndPlay(2);
} else {
_root.menudeath.gotoAndPlay(2);
_root.plive = 0;
}
removeMovieClip(this[_local20]);
__reg38 = _root.spotdepth++;
if (__reg38 > 100) {
_root.spotdepth = 0;
__reg38 = 0;
}
_root.arena.spots.attachMovie("waterspot", "newspot" + __reg38, __reg38, {_x:_root.lastpx, _y:_root.lastpy});
} else if (_root.arena.goalpoint.hitTest(__reg25, __reg33, true) && (_root.armycount <= 0)) {
trace("-------------11111111-----------");
this[_local20].kondeDalam.gotoAndStop("diam");
if (_root.plevel < _root.levelmax) {
this[_local20].kondeDalam.gotoAndStop("ilang");
_root.menunextlevel.gotoAndPlay(2);
} else {
this[_local20].kondeDalam.gotoAndStop("ilang");
this.girl.kondeDalam.gotoAndStop("ilang");
_root.menuwin.gotoAndPlay(2);
}
break;
}
if (_root.arena.tied.girl.hit.hitTest(__reg25, __reg33 - 20, true) && (_root.armycount == 1)) {
_root.armycount--;
__reg38 = _root.playerdepth++;
var _local7 = "girl";
_root.arena.players.attachMovie("player", _local7, __reg38, {_x:_root.arena.tied._x, _y:_root.arena.tied._y});
_root.arena.players[_local7].owner = "player";
_root.arena.players[_local7].live = 100;
_root.arena.players[_local7].ptype = 8;
_root.arena.tied.gotoAndStop(2);
}
if (Key.isDown(40)) {
this[_local20].duduk = true;
} else if ((Key.isDown(68) && (!this[_local20].turun)) && (!this[_local20].lompat)) {
this[_local20].block = true;
} else if (Key.isDown(39)) {
if (this[_local20].kondeDalam._xscale != 100) {
this[_local20].kondeDalam._xscale = 100;
}
_local5 = -15;
} else if (Key.isDown(37)) {
if (this[_local20].kondeDalam._xscale != -100) {
this[_local20].kondeDalam._xscale = -100;
}
_local5 = 15;
} else {
delete this[_local20].duduk;
delete this[_local20].block;
}
if (Key.isDown(38) && (!this[_local20].turun)) {
if (((!this[_local20].cycle) && (!this[_local20].cyclejump)) || (this[_local20].cyclejump < 2)) {
this[_local20].lompat = this[_local20]._y - 150;
this[_local20].cycle = true;
if (this[_local20].cyclejump == undefined) {
this[_local20].cyclejump = 0;
}
this[_local20].cyclejump++;
}
} else if (Key.isDown(65)) {
if (!this[_local20].cycle) {
if (this[_local20].lompat || (this[_local20].turun)) {
this[_local20].kondeDalam.gotoAndStop("jurus2");
} else if (this[_local20].duduk) {
this[_local20].kondeDalam.gotoAndStop("jurus3");
} else if (_local5) {
this[_local20].kondeDalam.gotoAndStop("jurus1lari");
} else {
this[_local20].kondeDalam.gotoAndStop("jurus1");
}
this[_local20].jurus = true;
this[_local20].cycle = true;
if (this[_local20].cycleval == undefined) {
this[_local20].cycleval = 0;
}
this[_local20].cycleval++;
}
} else {
this[_local20].cycle = null;
}
if (this[_local20].lompat) {
__reg30 = 0.309016994375;
_local4 = (this[_local20]._y - this[_local20].lompat) * __reg30;
if ((_local4 < 1) && (_local4 > -1)) {
_local4 = 0;
delete this[_local20].lompat;
this[_local20].turun = true;
delete this[_local20].cyclejump;
}
} else if (!_root.arena.barriers.hitTest(__reg25, __reg33, true)) {
_local4 = -20;
this[_local20].turun = true;
}
if ((!this[_local20].lompat) || (_root.arena.barriers.outside.hitTest(__reg25 - _local5, __reg33, true))) {
if (_local5 && (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33, true))) {
if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 20, true)) {
_local5 = 0;
} else {
if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 15, true)) {
_local4 = 20;
} else if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 10, true)) {
_local4 = 15;
} else if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 5, true)) {
_local4 = 10;
} else {
_local4 = 5;
}
delete this[_local20].turun;
}
}
if (_root.arena.barriers.hitTest(__reg25, __reg33 - _local4, true)) {
if (this[_local20].turun) {
delete this[_local20].turun;
}
if (_root.arena.barriers.hitTest(__reg25, __reg33 + 2, true)) {
_local4 = 0;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 4, true)) {
_local4 = -2;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 6, true)) {
_local4 = -4;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 8, true)) {
_local4 = -6;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 10, true)) {
_local4 = -8;
} else {
_local4 = -10;
}
}
}
if (this[_local20].lompat && (!_local4)) {
delete this[_local20].lompat;
delete this[_local20].cyclejump;
}
var _local23 = 0;
var _local22 = 0;
_root.arena.xpos = -(((this[_local20]._x - 320) - _local23) / 3.41);
_root.arena.ypos = -(((this[_local20]._y - 275) - _local22) / 3.41);
this[_local20]._x = this[_local20]._x - _local5;
this[_local20]._y = this[_local20]._y - _local4;
if (this[_local20].jurus) {
if (this[_local20].block) {
this[_local20].jurus = false;
}
} else if (this[_local20].turun) {
this[_local20].kondeDalam.gotoAndStop("turun");
} else if ((!this[_local20].lompat) && (_local5)) {
this[_local20].kondeDalam.gotoAndStop("lari");
} else if (this[_local20].lompat) {
this[_local20].kondeDalam.gotoAndStop("lompat");
} else if (this[_local20].block) {
this[_local20].kondeDalam.gotoAndStop("block");
} else if (this[_local20].duduk) {
this[_local20].kondeDalam.gotoAndStop("duduk");
} else {
this[_local20].kondeDalam.gotoAndStop("diam");
}
if (Key.isDown(83)) {
if ((!cycleshoot) && (_root.scorebar.bar.gunbar._currentframe > 1)) {
var _local21 = true;
this[_local20].jurus = true;
cycleshoot = true;
}
} else if (cycleshoot) {
delete cycleshoot;
}
if (_local21) {
if ((_local5 && (!this[_local20].lompat)) && (!this[_local20].turun)) {
this[_local20].kondeDalam.gotoAndStop("lemparlari");
} else if (this[_local20].lompat || (this[_local20].turun)) {
this[_local20].kondeDalam.gotoAndStop("lemparlompat");
} else {
this[_local20].kondeDalam.gotoAndStop("lempar");
}
var _local11 = _root.bulletdepth++;
if (_local11 > 100) {
_root.bulletdepth = 0;
_local11 = 0;
}
var _local8 = "newbullet" + _local11;
_parent.bullets.attachMovie("bullet1", _local8, _local11, {_x:this[_local20]._x, _y:this[_local20]._y - 30});
if (this[_local20].kondeDalam._xscale == -100) {
_parent.bullets[_local8]._rotation = 180;
}
_parent.bullets[_local8].owner = this[_local20].owner;
_parent.bullets[_local8].author = this[_local20];
_parent.bullets[_local8].hit1.gotoAndStop(_root.currentgun);
var _local21 = false;
if (_root.currentgun == 1) {
_root.gun1bullets--;
if (_root.gun1bullets == 0) {
if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else {
_root.currentgun = 0;
_root.scorebar.bar.gunbar.gotoAndStop(1);
}
}
} else if (_root.currentgun == 2) {
_root.gun2bullets--;
if (_root.gun2bullets == 0) {
if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else {
_root.currentgun = 0;
_root.scorebar.bar.gunbar.gotoAndStop(1);
}
}
} else if (_root.currentgun == 3) {
_root.gun3bullets--;
if (_root.gun3bullets == 0) {
if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else {
_root.currentgun = 0;
_root.scorebar.bar.gunbar.gotoAndStop(1);
}
}
} else if (_root.currentgun == 4) {
_root.gun4bullets--;
if (_root.gun4bullets == 0) {
if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else {
_root.currentgun = 0;
_root.scorebar.bar.gunbar.gotoAndStop(1);
}
}
} else if (_root.currentgun == 5) {
_root.gun5bullets--;
if (_root.gun5bullets == 0) {
if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else {
_root.currentgun = 0;
_root.scorebar.bar.gunbar.gotoAndStop(1);
}
}
} else if (_root.currentgun == 6) {
_root.gun6bullets--;
if (_root.gun6bullets == 0) {
if (_root.gun7bullets > 0) {
_root.currentgun = 7;
_root.scorebar.bar.gunbar.gotoAndStop(8);
} else if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else {
_root.currentgun = 0;
_root.scorebar.bar.gunbar.gotoAndStop(1);
}
}
} else if (_root.currentgun == 7) {
_root.gun7bullets--;
if (_root.gun7bullets == 0) {
if (_root.gun1bullets > 0) {
_root.currentgun = 1;
_root.scorebar.bar.gunbar.gotoAndStop(2);
} else if (_root.gun2bullets > 0) {
_root.currentgun = 2;
_root.scorebar.bar.gunbar.gotoAndStop(3);
} else if (_root.gun3bullets > 0) {
_root.currentgun = 3;
_root.scorebar.bar.gunbar.gotoAndStop(4);
} else if (_root.gun4bullets > 0) {
_root.currentgun = 4;
_root.scorebar.bar.gunbar.gotoAndStop(5);
} else if (_root.gun5bullets > 0) {
_root.currentgun = 5;
_root.scorebar.bar.gunbar.gotoAndStop(6);
} else if (_root.gun6bullets > 0) {
_root.currentgun = 6;
_root.scorebar.bar.gunbar.gotoAndStop(7);
} else {
_root.currentgun = 0;
_root.scorebar.bar.gunbar.gotoAndStop(1);
}
}
}
}
} else if (this[_local20].owner == "enemy") {
if ((((__reg25 < -24) || (__reg25 > 664)) || (__reg33 < -10)) || (__reg33 > 535)) {
this[_local20].gotoAndStop(2);
} else {
this[_local20].gotoAndStop(1);
if (_root.arena.deadpoint.hitTest(__reg25, __reg33, true)) {
__reg38 = _root.spotdepth++;
if (__reg38 > 100) {
_root.spotdepth = 0;
__reg38 = 0;
}
_root.arena.spots.attachMovie("waterspot", "newspot" + __reg38, __reg38, {_x:this[_local20]._x, _y:this[_local20]._y});
removeMovieClip(this[_local20]);
}
}
if (this[_local20].go) {
__reg23 = this[_local20]._y - this.theplayer._y;
__reg9 = this[_local20]._x - this.theplayer._x;
if ((((!this[_local20].lompat) && (__reg23 > 50)) && (__reg9 < 50)) && (__reg9 > -50)) {
this[_local20].lompat = this[_local20]._y - 150;
if ((__reg9 < 75) && (__reg9 > -75)) {
if (!this[_local20].jurus) {
this[_local20].kondeDalam.gotoAndStop("jurus2");
this[_local20].jurus = true;
}
}
}
if ((__reg9 > 25) || (__reg9 < -25)) {
if (this[_local20]._x < this.theplayer._x) {
var _local6 = this[_local20]._y;
this[_local20]._y = -20;
__reg26 = this.hitTest(__reg25, __reg33, true);
__reg27 = this.hitTest(__reg25 - 20, __reg33, true);
this[_local20]._y = _local6;
if ((!__reg26) || __reg27) {
_local5 = -8;
}
if (this[_local20].kondeDalam._xscale != 100) {
this[_local20].kondeDalam._xscale = 100;
}
} else {
var _local6 = this[_local20]._y;
this[_local20]._y = -20;
__reg26 = this.hitTest(__reg25, __reg33, true);
__reg27 = this.hitTest(__reg25 + 20, __reg33, true);
this[_local20]._y = _local6;
if ((!__reg26) || __reg27) {
_local5 = 8;
}
if (this[_local20].kondeDalam._xscale != -100) {
this[_local20].kondeDalam._xscale = -100;
}
}
}
if (!this[_local20].lompat) {
if ((_local5 && (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 20, true))) || (_root.arena.enemyjump.hitTest(__reg25 - _local5, __reg33, true))) {
this[_local20].lompat = this[_local20]._y - 150;
}
}
if (this[_local20].lompat) {
__reg30 = 0.309016994375;
_local4 = (this[_local20]._y - this[_local20].lompat) * __reg30;
if ((_local4 < 1) && (_local4 > -1)) {
_local4 = 0;
delete this[_local20].lompat;
this[_local20].turun = true;
delete this[_local20].cyclejump;
}
} else if (!_root.arena.barriers.hitTest(__reg25, __reg33, true)) {
_local4 = -20;
this[_local20].turun = true;
}
if ((!this[_local20].lompat) || (_root.arena.barriers.outside.hitTest(__reg25 - _local5, __reg33, true))) {
if (_local5 && (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33, true))) {
if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 20, true)) {
_local5 = 0;
} else {
if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 15, true)) {
_local4 = 20;
} else if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 10, true)) {
_local4 = 15;
} else if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 5, true)) {
_local4 = 10;
} else {
_local4 = 5;
}
delete this[_local20].turun;
}
}
if (_root.arena.barriers.hitTest(__reg25, __reg33 - _local4, true)) {
if (this[_local20].turun) {
delete this[_local20].turun;
}
if (_root.arena.barriers.hitTest(__reg25, __reg33 + 2, true)) {
_local4 = 0;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 4, true)) {
_local4 = -2;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 6, true)) {
_local4 = -4;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 8, true)) {
_local4 = -6;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 10, true)) {
_local4 = -8;
} else {
_local4 = -10;
}
}
}
if (this[_local20].lompat && (!_local4)) {
delete this[_local20].lompat;
delete this[_local20].cyclejump;
}
this[_local20]._x = this[_local20]._x - _local5;
this[_local20]._y = this[_local20]._y - _local4;
if (this[_local20].jurus) {
if (this[_local20].block) {
this[_local20].jurus = false;
}
} else if (this[_local20].turun) {
this[_local20].kondeDalam.gotoAndStop("turun");
} else if ((!this[_local20].lompat) && _local5) {
this[_local20].kondeDalam.gotoAndStop("lari");
} else if (this[_local20].lompat) {
this[_local20].kondeDalam.gotoAndStop("lompat");
} else if (this[_local20].block) {
this[_local20].kondeDalam.gotoAndStop("block");
} else if (this[_local20].duduk) {
this[_local20].kondeDalam.gotoAndStop("duduk");
} else {
this[_local20].kondeDalam.gotoAndStop("diam");
}
if (((((((__reg9 < 75) && (__reg9 > -75)) && (__reg23 < 50)) && (__reg23 > -50)) && (!this[_local20].lompat)) && (!this[_local20].turun)) && (!this[_local20].jurus)) {
this[_local20].go = false;
delete this[_local20].jurus;
this[_local20].kondeDalam.gotoAndStop("diam");
}
} else {
if (!this[_local20].jurus) {
this[_local20].kondeDalam.gotoAndStop("diam");
}
if (this[_local20].targetattack) {
__reg23 = this[_local20]._y - this.theplayer._y;
__reg9 = this[_local20]._x - this.theplayer._x;
if ((__reg9 > 25) || (__reg9 < -25)) {
if (this[_local20]._x < this.theplayer._x) {
var _local6 = this[_local20]._y;
this[_local20]._y = -20;
__reg26 = this.hitTest(__reg25, __reg33, true);
__reg27 = this.hitTest(__reg25 - 20, __reg33, true);
this[_local20]._y = _local6;
if ((!__reg26) || __reg27) {
_local5 = -8;
}
if (this[_local20].kondeDalam._xscale != 100) {
this[_local20].kondeDalam._xscale = 100;
}
} else {
var _local6 = this[_local20]._y;
this[_local20]._y = -20;
__reg26 = this.hitTest(__reg25, __reg33, true);
__reg27 = this.hitTest(__reg25 + 20, __reg33, true);
this[_local20]._y = _local6;
if ((!__reg26) || __reg27) {
_local5 = 8;
}
if (this[_local20].kondeDalam._xscale != -100) {
this[_local20].kondeDalam._xscale = -100;
}
}
}
if ((this[_local20].delayshoot == 0) || (!this[_local20].delayshoot)) {
this[_local20].delayshoot = 1;
if ((((__reg9 < 75) && (__reg9 > -75)) && (__reg23 < 50)) && (__reg23 > -50)) {
if ((!this[_local20].jurus) && (!theplayer.isdead)) {
if (this[_local20].lompat || this[_local20].turun) {
this[_local20].kondeDalam.gotoAndStop("jurus2");
} else if (this[_local20].duduk) {
this[_local20].kondeDalam.gotoAndStop("jurus3");
} else if (_local5) {
this[_local20].kondeDalam.gotoAndStop("jurus1lari");
} else {
this[_local20].kondeDalam.gotoAndStop("jurus1");
}
this[_local20].jurus = true;
this[_local20].cycleval = random(5);
}
} else {
this[_local20].go = true;
}
} else {
this[_local20].delayshoot--;
}
} else {
if (this[_local20].jurus) {
this[_local20].targetattack = true;
}
if ((this[_local20].delayshoot == 0) || (!this[_local20].delayshoot)) {
this[_local20].delayshoot = 1;
__reg24 = this[_local20]._x - this.theplayer._x;
__reg22 = this[_local20]._y - this.theplayer._y;
__reg28 = Math.sqrt((__reg24 * __reg24) + (__reg22 * __reg22));
if (__reg28 < 250) {
this[_local20].go = true;
this[_local20].targetattack = true;
}
} else {
this[_local20].delayshoot--;
}
}
}
if (this[_local20].delaydetect > 0) {
this[_local20].delaydetect--;
}
} else if ((this[_local20].owner == "player") && (this[_local20].ptype == 8)) {
if (this[_local20].go) {
__reg23 = this[_local20]._y - this.theplayer._y;
__reg9 = this[_local20]._x - this.theplayer._x;
if ((((!this[_local20].lompat) && (__reg23 > 50)) && (__reg9 < 50)) && (__reg9 > -50)) {
this[_local20].lompat = this[_local20]._y - 150;
}
if ((__reg9 > 25) || (__reg9 < -25)) {
if (this[_local20]._x < this.theplayer._x) {
var _local6 = this[_local20]._y;
this[_local20]._y = -20;
__reg26 = this.hitTest(__reg25, __reg33, true);
__reg27 = this.hitTest(__reg25 - 20, __reg33, true);
this[_local20]._y = _local6;
if ((!__reg26) || __reg27) {
_local5 = -8;
}
if (this[_local20].kondeDalam._xscale != 100) {
this[_local20].kondeDalam._xscale = 100;
}
} else {
var _local6 = this[_local20]._y;
this[_local20]._y = -20;
__reg26 = this.hitTest(__reg25, __reg33, true);
__reg27 = this.hitTest(__reg25 + 20, __reg33, true);
this[_local20]._y = _local6;
if ((!__reg26) || __reg27) {
_local5 = 8;
}
if (this[_local20].kondeDalam._xscale != -100) {
this[_local20].kondeDalam._xscale = -100;
}
}
}
if (!this[_local20].lompat) {
if ((_local5 && _root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 20, true)) || _root.arena.enemyjump.hitTest(__reg25 - _local5, __reg33, true)) {
this[_local20].lompat = this[_local20]._y - 150;
}
}
if (this[_local20].lompat) {
var __reg30 = 0.309016994375;
_local4 = (this[_local20]._y - this[_local20].lompat) * __reg30;
if ((_local4 < 1) && (_local4 > -1)) {
_local4 = 0;
delete this[_local20].lompat;
this[_local20].turun = true;
delete this[_local20].cyclejump;
}
} else if (!_root.arena.barriers.hitTest(__reg25, __reg33, true)) {
_local4 = -20;
this[_local20].turun = true;
}
if ((!this[_local20].lompat) || (_root.arena.barriers.outside.hitTest(__reg25 - _local5, __reg33, true))) {
if (_local5 && _root.arena.barriers.hitTest(__reg25 - _local5, __reg33, true)) {
if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 20, true)) {
_local5 = 0;
} else {
if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 15, true)) {
_local4 = 20;
} else if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 10, true)) {
_local4 = 15;
} else if (_root.arena.barriers.hitTest(__reg25 - _local5, __reg33 - 5, true)) {
_local4 = 10;
} else {
_local4 = 5;
}
delete this[_local20].turun;
}
}
if (_root.arena.barriers.hitTest(__reg25, __reg33 - _local4, true)) {
if (this[_local20].turun) {
delete this[_local20].turun;
}
if (_root.arena.barriers.hitTest(__reg25, __reg33 + 2, true)) {
_local4 = 0;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 4, true)) {
_local4 = -2;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 6, true)) {
_local4 = -4;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 8, true)) {
_local4 = -6;
} else if (_root.arena.barriers.hitTest(__reg25, __reg33 + 10, true)) {
_local4 = -8;
} else {
_local4 = -10;
}
}
}
if (this[_local20].lompat && (!_local4)) {
delete this[_local20].lompat;
delete this[_local20].cyclejump;
}
this[_local20]._x = this[_local20]._x - _local5;
this[_local20]._y = this[_local20]._y - _local4;
if (this[_local20].jurus) {
if (this[_local20].block) {
this[_local20].jurus = false;
}
} else if (this[_local20].turun) {
this[_local20].kondeDalam.gotoAndStop("turun");
} else if ((!this[_local20].lompat) && _local5) {
this[_local20].kondeDalam.gotoAndStop("lari");
} else if (this[_local20].lompat) {
this[_local20].kondeDalam.gotoAndStop("lompat");
} else if (this[_local20].block) {
this[_local20].kondeDalam.gotoAndStop("block");
} else if (this[_local20].duduk) {
this[_local20].kondeDalam.gotoAndStop("duduk");
} else {
this[_local20].kondeDalam.gotoAndStop("diam");
}
if (((((((__reg9 < 75) && (__reg9 > -75)) && (__reg23 < 50)) && (__reg23 > -50)) && (!this[_local20].lompat)) && (!this[_local20].turun)) && (!this[_local20].jurus)) {
this[_local20].go = false;
delete this[_local20].jurus;
this[_local20].kondeDalam.gotoAndStop("diam");
}
} else {
if (!this[_local20].jurus) {
this[_local20].kondeDalam.gotoAndStop("diam");
}
if (this[_local20].targetattack) {
var __reg23 = (this[_local20]._y - this.theplayer._y);
var __reg9 = (this[_local20]._x - this.theplayer._x);
if ((__reg9 > 25) || (__reg9 < -25)) {
if (this[_local20]._x < this.theplayer._x) {
var _local6 = this[_local20]._y;
this[_local20]._y = -20;
__reg26 = this.hitTest(__reg25, __reg33, true);
__reg27 = this.hitTest(__reg25 - 20, __reg33, true);
this[_local20]._y = _local6;
if ((!__reg26) || __reg27) {
_local5 = -8;
}
if (this[_local20].kondeDalam._xscale != 100) {
this[_local20].kondeDalam._xscale = 100;
}
} else {
var _local6 = this[_local20]._y;
this[_local20]._y = -20;
var __reg26 = this.hitTest(__reg25, __reg33, true);
var __reg27 = this.hitTest(__reg25 + 20, __reg33, true);
this[_local20]._y = _local6;
if ((!__reg26) || __reg27) {
_local5 = 8;
}
if (this[_local20].kondeDalam._xscale != -100) {
this[_local20].kondeDalam._xscale = -100;
}
}
}
if ((this[_local20].delayshoot == 0) || (!this[_local20].delayshoot)) {
this[_local20].delayshoot = 1;
if (!((((__reg9 < 75) && (__reg9 > -75)) && (__reg23 < 50)) && (__reg23 > -50))) {
this[_local20].go = true;
}
} else {
this[_local20].delayshoot--;
}
} else {
if (this[_local20].jurus) {
this[_local20].targetattack = true;
}
if ((this[_local20].delayshoot == 0) || (!this[_local20].delayshoot)) {
this[_local20].delayshoot = 1;
var __reg24 = (this[_local20]._x - this.theplayer._x);
var __reg22 = (this[_local20]._y - this.theplayer._y);
var __reg28 = Math.sqrt((__reg24 * __reg24) + (__reg22 * __reg22));
if (__reg28 < 250) {
this[_local20].go = true;
this[_local20].targetattack = true;
}
} else {
this[_local20].delayshoot--;
}
}
}
if (this[_local20].delaydetect > 0) {
this[_local20].delaydetect--;
}
}
} else if ((typeof(this[_local20]) == "movieclip") && (this[_local20].isdead)) {
var __reg25 = (this[_local20]._x + _parent._x);
var __reg33 = (this[_local20]._y + _parent._y);
if (!_root.arena.barriers.hitTest(__reg25, __reg33, true)) {
this[_local20]._y = this[_local20]._y + 20;
}
}
}
do {
} while (undefined != null);
return(undefined);
}
if (_root.curtain.atthemiddle) {
_root.plive--;
__reg38 = _root.playerdepth++;
var _local7 = "theplayer";
_root.arena.players.attachMovie("player", _local7, __reg38, {_x:_root.lastpx, _y:_root.lastpy - 350});
_root.arena.players[_local7].owner = "player";
_root.arena.players[_local7].live = 100;
_root.arena.players[_local7].ptype = _root.playertype;
_root.arena.players[_local7].wtype = _root.currentsword;
delete _root.lastpx;
delete _root.lastpy;
delete _root.curtain.atthemiddle;
_root.isPause = false;
_root.curtain.gotoAndPlay("open");
_root.scorebar.bar.live._visible = true;
_root.scorebar.bar.live.gotoAndStop(50);
for (var _local20 in _root.arena.spots) {
if (typeof(_root.arena.spots[_local20]) == "movieclip") {
removeMovieClip(_root.arena.spots[_local20]);
}
}
}
};
Instance of Symbol 166 MovieClip [player] in Symbol 449 MovieClip Frame 1
onClipEvent (load) {
havepil = true;
}
Instance of Symbol 166 MovieClip [player] in Symbol 449 MovieClip Frame 1
onClipEvent (load) {
havegun = 2;
}
Instance of Symbol 166 MovieClip [player] in Symbol 449 MovieClip Frame 1
onClipEvent (load) {
havegun = 1;
}
Symbol 449 MovieClip Frame 2
stop();
trace("Vo ly");
Symbol 449 MovieClip Frame 3
stop();
trace("alo");
Symbol 449 MovieClip Frame 4
stop();
Symbol 449 MovieClip Frame 5
stop();
Symbol 449 MovieClip Frame 6
stop();
Symbol 449 MovieClip Frame 7
stop();
Symbol 449 MovieClip Frame 8
stop();
Symbol 457 MovieClip Frame 1
_visible = false;
Symbol 459 MovieClip Frame 1
Symbol 468 MovieClip Frame 1
_visible = false;
Symbol 470 MovieClip Frame 1
_visible = false;
Symbol 472 MovieClip Frame 1
_visible = false;
Symbol 479 MovieClip Frame 1
_visible = false;
Symbol 481 MovieClip Frame 1
_visible = false;
Symbol 482 MovieClip Frame 1
_visible = false;
Symbol 507 MovieClip Frame 1
_visible = false;
Symbol 509 MovieClip Frame 1
_visible = false;
Symbol 521 MovieClip Frame 1
_visible = false;
Symbol 523 MovieClip Frame 1
_visible = false;
Symbol 530 MovieClip Frame 1
_visible = false;
Symbol 539 MovieClip Frame 1
_visible = false;
Symbol 541 MovieClip Frame 1
_visible = false;
Symbol 543 MovieClip Frame 1
_visible = false;
Symbol 547 MovieClip Frame 1
_visible = false;
Symbol 548 MovieClip Frame 1
stop();
gotoAndStop(_root.plevel);
Symbol 548 MovieClip Frame 2
stop();
gotoAndStop(_root.plevel);
Symbol 548 MovieClip Frame 3
stop();
gotoAndStop(_root.plevel);
Symbol 548 MovieClip Frame 4
stop();
gotoAndStop(_root.plevel);
Symbol 548 MovieClip Frame 5
stop();
gotoAndStop(_root.plevel);
Symbol 548 MovieClip Frame 6
stop();
gotoAndStop(_root.plevel);
Symbol 548 MovieClip Frame 7
stop();
gotoAndStop(_root.plevel);
Symbol 548 MovieClip Frame 8
stop();
gotoAndStop(_root.plevel);
Symbol 591 MovieClip Frame 1
stop();
this.gotoAndStop(_root.arena.players.theplayer.live / 2);
Symbol 591 MovieClip Frame 2
stop();
Symbol 591 MovieClip Frame 3
stop();
Symbol 591 MovieClip Frame 4
stop();
Symbol 591 MovieClip Frame 5
stop();
Symbol 591 MovieClip Frame 6
stop();
Symbol 591 MovieClip Frame 7
stop();
Symbol 591 MovieClip Frame 8
stop();
Symbol 591 MovieClip Frame 9
stop();
Symbol 591 MovieClip Frame 10
stop();
Symbol 591 MovieClip Frame 11
stop();
Symbol 591 MovieClip Frame 12
stop();
Symbol 591 MovieClip Frame 13
stop();
Symbol 591 MovieClip Frame 14
stop();
Symbol 591 MovieClip Frame 15
stop();
Symbol 591 MovieClip Frame 16
stop();
Symbol 591 MovieClip Frame 17
stop();
Symbol 591 MovieClip Frame 18
stop();
Symbol 591 MovieClip Frame 19
stop();
Symbol 591 MovieClip Frame 20
stop();
Symbol 591 MovieClip Frame 21
stop();
Symbol 591 MovieClip Frame 22
stop();
Symbol 591 MovieClip Frame 23
stop();
Symbol 591 MovieClip Frame 24
stop();
Symbol 591 MovieClip Frame 25
stop();
Symbol 591 MovieClip Frame 26
stop();
Symbol 591 MovieClip Frame 27
stop();
Symbol 591 MovieClip Frame 28
stop();
Symbol 591 MovieClip Frame 29
stop();
Symbol 591 MovieClip Frame 30
stop();
Symbol 591 MovieClip Frame 31
stop();
Symbol 591 MovieClip Frame 32
stop();
Symbol 591 MovieClip Frame 33
stop();
Symbol 591 MovieClip Frame 34
stop();
Symbol 591 MovieClip Frame 35
stop();
Symbol 591 MovieClip Frame 36
stop();
Symbol 591 MovieClip Frame 37
stop();
Symbol 591 MovieClip Frame 38
stop();
Symbol 591 MovieClip Frame 39
stop();
Symbol 591 MovieClip Frame 40
stop();
Symbol 591 MovieClip Frame 41
stop();
Symbol 591 MovieClip Frame 42
stop();
Symbol 591 MovieClip Frame 43
stop();
Symbol 591 MovieClip Frame 44
stop();
Symbol 591 MovieClip Frame 45
stop();
Symbol 591 MovieClip Frame 46
stop();
Symbol 591 MovieClip Frame 47
stop();
Symbol 591 MovieClip Frame 48
stop();
Symbol 591 MovieClip Frame 49
stop();
Symbol 591 MovieClip Frame 50
stop();
Symbol 596 Button
on (release) {
_root.usesound = false;
_root.bgsound.stop();
_root.helisound.stop();
_root.pistolsound.stop();
_root.blowsound.stop();
_root.smokesound.stop();
gotoAndStop (2);
}
Symbol 598 Button
on (release) {
_root.usesound = true;
_root.bgsound.start(0, 99999);
_root.helisound.start(0, 99999);
gotoAndStop (1);
}
Symbol 599 MovieClip Frame 1
stop();
Symbol 599 MovieClip Frame 2
stop();
Symbol 601 Button
on (release) {
if (!_root.onPause) {
_root.menuplay.gotoAndPlay(2);
_root.isPause = true;
gotoAndStop (2);
}
}
Symbol 602 MovieClip Frame 1
stop();
Symbol 602 MovieClip Frame 2
stop();
Symbol 603 MovieClip Frame 1
stop();
gotoAndStop(_root.arena.players.theplayer.ptype);
Symbol 603 MovieClip Frame 2
stop();
gotoAndStop(_root.arena.players.theplayer.ptype);
Symbol 603 MovieClip Frame 3
stop();
gotoAndStop(_root.arena.players.theplayer.ptype);
Symbol 603 MovieClip Frame 4
stop();
gotoAndStop(_root.arena.players.theplayer.ptype);
Symbol 603 MovieClip Frame 5
stop();
gotoAndStop(_root.arena.players.theplayer.ptype);
Symbol 603 MovieClip Frame 6
stop();
gotoAndStop(_root.arena.players.theplayer.ptype);
Symbol 636 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 2
stop();
Symbol 636 MovieClip Frame 3
stop();
Symbol 636 MovieClip Frame 4
stop();
Symbol 636 MovieClip Frame 5
stop();
Symbol 636 MovieClip Frame 6
stop();
Symbol 636 MovieClip Frame 7
stop();
Symbol 636 MovieClip Frame 8
stop();
Symbol 642 MovieClip Frame 1
stop();
gotoAndStop(_root.arena.players.theplayer.wtype);
Symbol 642 MovieClip Frame 2
stop();
gotoAndStop(_root.arena.players.theplayer.wtype);
Symbol 642 MovieClip Frame 3
stop();
gotoAndStop(_root.arena.players.theplayer.wtype);
Symbol 642 MovieClip Frame 4
stop();
gotoAndStop(_root.arena.players.theplayer.wtype);
Symbol 642 MovieClip Frame 5
stop();
gotoAndStop(_root.arena.players.theplayer.wtype);
Symbol 651 Button
on (release) {
_parent.gotoAndPlay("playnext");
}
Symbol 653 Button
on (release) {
if (_root._url.indexOf("24h.com.vn") != -1) {
gname = "ninjaquest";
gscore = _root.sumscore;
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
} else {
getURL ("http://game.24h.com.vn", "_self");
}
}
Symbol 666 MovieClip Frame 1
stop();
Symbol 667 MovieClip Frame 1
stop();
Symbol 667 MovieClip Frame 2
_root.isPause = true;
_root.onPause = true;
_root.winsound.start();
_root.healthbonus = (_root.plive * _root.scorebar.bar.live._currentframe) * 2;
_root.sumscore = _root.healthbonus + _root.thescore;
Symbol 667 MovieClip Frame 35
stop();
Symbol 667 MovieClip Frame 44
_root.plevel++;
_root.arena.gotoAndStop(_root.plevel);
_root.arena.players.gotoAndStop(_root.plevel);
_root.arena2.gotoAndStop(_root.plevel);
_root.arena3.gotoAndStop(_root.plevel);
if (_root.currentsword < 5) {
_root.currentsword++;
}
delete _root.onPause;
_root.plive = _root.defaultlive;
_root.totalscore = (_root.thescore = _root.sumscore);
_root.armycount = _root.mucharmy[_root.plevel];
_root.sumscore = 0;
randomwith = _root.lastenemy;
if (_root.p1used) {
if (_root.p2used) {
if (_root.p3used) {
if (_root.p4used) {
if (_root.p5used) {
if (_root.p6used) {
} else {
_root.lastenemy = 6;
_root.p6used = true;
}
} else {
_root.lastenemy = 5;
_root.p5used = true;
}
} else {
_root.lastenemy = 4;
_root.p4used = true;
}
} else {
_root.lastenemy = 3;
_root.p3used = true;
}
} else {
_root.lastenemy = 2;
_root.p2used = true;
}
} else {
_root.lastenemy = 1;
_root.p1used = true;
}
for (var e in _root.arena.players) {
if (typeof(_root.arena.players[e]) == "movieclip") {
if (_root.arena.players[e].owner == "player") {
removeMovieClip(_root.arena.players[e]);
continue;
}
_root.arena.players[e].live = 100;
_root.arena.players[e].owner = "enemy";
if (_root.plevel < 8) {
prandom = random(2);
if (prandom == 0) {
_root.arena.players[e].ptype = _root.lastenemy;
} else {
_root.arena.players[e].ptype = randomwith;
}
continue;
}
_root.arena.players[e].ptype = 7;
_root.arena.players[e].wtype = 7;
}
}
for (var e in _root.arena.spots) {
if (typeof(_root.arena.spots[e]) == "movieclip") {
removeMovieClip(_root.arena.spots[e]);
}
}
depth = playerdepth++;
newplayer = "theplayer";
_root.arena.players.attachMovie("player", newplayer, depth, {_x:50, _y:100});
_root.arena.players[newplayer].owner = "player";
_root.arena.players[newplayer].live = 100;
_root.arena.players[newplayer].ptype = _root.playertype;
_root.arena.players[newplayer].wtype = _root.currentsword;
_root.scorebar.bar.mainweapon.gotoAndStop(_root.currentsword);
delete depth;
delete newplayer;
delete randomwith;
delete _root.onPause;
Symbol 667 MovieClip Frame 50
_root.isPause = false;
Symbol 675 Button
on (release) {
stopAllSounds();
delete _root.onPause;
_root.isPause = false;
_root.gotoAndPlay("mainmenu");
}
Symbol 678 MovieClip Frame 1
stop();
Symbol 678 MovieClip Frame 2
_root.isPause = true;
_root.onPause = true;
_root.healthbonus = (_root.plive * _root.scorebar.bar.live._currentframe) * 2;
_root.sumscore = _root.healthbonus + _root.thescore;
onEnterFrame = function () {
var _local2 = _root.bgsound.getVolume();
if (_local2 < 100) {
_root.bgsound.setVolume(_local2 + 1);
} else {
onEnterFrame = null;
}
};
Symbol 678 MovieClip Frame 27
stop();
Symbol 678 MovieClip Frame 36
stopAllSounds();
_root.isPause = false;
delete _root.onPause;
_root.gotoAndPlay("mainmenu");
Symbol 685 MovieClip Frame 1
stop();
Symbol 685 MovieClip Frame 2
_root.gameoversound.start();
_root.isPause = true;
_root.onPause = true;
_root.healthbonus = (_root.plive * _root.scorebar.bar.live._currentframe) * 2;
_root.sumscore = _root.healthbonus + _root.thescore;
Symbol 685 MovieClip Frame 36
stop();
Symbol 685 MovieClip Frame 45
delete _root.onPause;
_root.plive = _root.defaultlive;
_root.thescore = _root.totalscore;
_root.armycount = _root.mucharmy[_root.plevel];
_root.sumscore = 0;
for (var e in _root.arena.spots) {
if (typeof(_root.arena.spots[e]) == "movieclip") {
removeMovieClip(_root.arena.spots[e]);
}
}
depth = _root.playerdepth++;
newplayer = "theplayer";
_root.arena.players.attachMovie("player", newplayer, depth, {_x:50, _y:100});
_root.arena.players[newplayer].owner = "player";
_root.arena.players[newplayer].live = 100;
_root.arena.players[newplayer].ptype = _root.playertype;
_root.arena.players[newplayer].wtype = _root.currentsword;
_root.scorebar.bar.live._visible = true;
_root.scorebar.bar.live.gotoAndStop(50);
delete depth;
delete newplayer;
Symbol 685 MovieClip Frame 51
_root.isPause = false;
Symbol 686 Button
on (release) {
stopAllSounds();
_root.isPause = false;
delete _root.onPause;
_root.gotoAndPlay("mainmenu");
}
Symbol 688 Button
on (release) {
if (!_root.usesound) {
_root.usesound = true;
_root.bgsound.start(0, 99999);
_root.helisound.start(0, 99999);
_root.scorebar.bar.mbutton.gotoAndStop(1);
} else {
if (_root.usesound) {
_root.usesound = false;
_root.bgsound.stop();
_root.helisound.stop();
_root.pistolsound.stop();
_root.blowsound.stop();
_root.smokesound.stop();
}
_root.scorebar.bar.mbutton.gotoAndStop(2);
}
}
Symbol 690 Button
on (release) {
_root.isPause = false;
_root.scorebar.bar.pbutton.gotoAndStop(1);
_parent.gotoAndStop(1);
}
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 10
stop();
Symbol 694 MovieClip Frame 1
stop();
Symbol 694 MovieClip Frame 2
play();
Symbol 694 MovieClip Frame 3
play();
Symbol 694 MovieClip Frame 4
play();
Symbol 694 MovieClip Frame 5
play();
Symbol 695 MovieClip Frame 1
stop();
Symbol 695 MovieClip Frame 30
stop();
atthemiddle = true;
Symbol 695 MovieClip Frame 45
gotoAndStop (1);