Frame 1
function loadGameServices(url) {
var _local3 = createEmptyMovieClip("gs_loader_mc", getNextHighestDepth());
var _local2 = new MovieClipLoader();
_local2.addListener(this);
_local2.loadClip(url, _local3);
}
function onLoadInit(mc) {
_root.gs_loaded = true;
gs_gameServices = new GameServices(gameServicesCallback);
gs_scoreSubmit = new GSScoreSubmit(gameServicesCallback);
GameServices.initGameTracking(null, false);
trace((((("GS Loaded! Ver=" + GameServices.getVersionString()) + "; BaseDir=") + GameServices.getBaseDir()) + "; GS Host=") + GameServices.getHost(null));
trace(showGSStartupInfo());
trace("SENT TO MENU");
gotoAndStop(g_startFrame);
}
function onLoadError(mc) {
trace("GS Load Failed");
gotoAndStop(g_loadFailed);
}
function gameServicesCallback(gsResponseInfo, whichCommand) {
trace("calledback from " + whichCommand);
var succeeded;
if (gsResponseInfo != null) {
succeeded = !gsResponseInfo.isError();
} else if (whichCommand.length > 0) {
succeeded = true;
}
if (!succeeded) {
trace((("Error=" + gsResponseInfo.getErrorMessage()) + "; ") + gsResponseInfo.getExtendedInfo());
startupVars.text = (gsResponseInfo.getErrorMessage() + "; ") + gsResponseInfo.getExtendedInfo();
showData.text = (("Command " + whichCommand) + " failed: ") + gsResponseInfo.getErrorMessage();
} else {
switch (whichCommand) {
case "StfSend" :
gotoAndStop ("Result");
break;
case "StfCheckData" :
trace("Received game data " + GameServices.getGameData());
gotoAndStop ("ReceivedData");
break;
case "SetUserScoreGetScores" :
case "SetUserScoreGetScoresUnauth" :
case "GetScoreRanks" :
case "GetScoreRanksUnauth" :
case "GetUserScoreRanks" :
case "GetUserRatingRanks" :
case "GetRatingRanks" :
var leaderboard = gsResponseInfo.getResults();
leaderBoardText = "";
if (leaderboard.length > 0) {
i = 0;
while (i < leaderboard.length) {
leaderBoardText = leaderBoardText + (((((_root.g_PagingScores * 10) + i) + 1) + ". ") + leaderboard[i].user_name);
leaderBoardText = leaderBoardText + ("\t\t" + leaderboard[i].score);
leaderBoardText = leaderBoardText + newline;
i++;
}
} else {
leaderBoardText = "There are no entries";
}
showData.text = leaderBoardText;
break;
case "SetUserScoreGetRank" :
case "SetUserScoreGetRankUnauth" :
case "GetSiteUserRank" :
var myRank = gsResponseInfo.getOutputParams().user_rank;
showData.text = "Your rank is " + myRank;
break;
case "GetUserScore" :
var myResults = gsResponseInfo.getResults();
var myScore = myResults[0].score;
var myGameData = myResults[0].game_data;
showData.text = (("Your score is " + myScore) + "\nThe game performance was ") + myGameData;
break;
case "GetRegistrationStatus" :
case "UserLogin" :
var myResults = gsResponseInfo.getResults();
var userStatus = myResults[0];
showData.text = (((((((("User " + userStatus.user_name) + " (id=") + userStatus.user_id) + ") created on ") + userStatus.date_created) + "\nLogged in ") + userStatus.login_count) + " times, last login on ") + userStatus.last_login;
GameServices.loadAvatar(1, _root, "myAvatar", _root.getNextHighestDepth());
break;
case "GetUserGameGroupExperiencePoints" :
case "GetUserGameExperiencePoints" :
case "GetUserSiteExperiencePoints" :
var myResults = gsResponseInfo.getResults();
var points = myResults[0].experience_points;
showData.text = ("You currently have " + points) + " experience points.";
break;
case "AcceptUserBuddy" :
case "AddUserBuddy" :
break;
case "GetUserBuddies" :
var buddies = gsResponseInfo.getResults();
buddiesText = "";
if (buddies.length > 0) {
i = 0;
while (i < buddies.length) {
buddiesText = (((((buddiesText + (i + 1)) + ". ") + buddies[i].user_name) + "\t\t") + buddies[i].buddy_user_id) + newline;
GameServices.loadAvatarForUser(buddies[i].buddy_user_id, 2, _root, "buddiesAvatar" + buddies[i].buddy_user_id, _root.getNextHighestDepth());
eval ("buddiesAvatar" + buddies[i].buddy_user_id)._y = (i * 20) + 50;
i++;
}
} else {
buddiesText = "There are no entries";
}
showData.text = buddiesText;
break;
case "AdReady" :
trace("ad ready");
if (GameServices.isAdEnabled()) {
gs_adReady = true;
gs_adComplete = false;
if (!gs_prerollComplete) {
gotoAndStop(g_startFrame);
}
}
break;
case "AdComplete" :
trace("ad complete");
gs_adComplete = true;
gs_adElapsedTimeStart = new Date();
if (!gs_prerollComplete) {
gs_prerollComplete = true;
if (!gs_adReady) {
gotoAndStop(g_startFrame);
} else {
r.gotoAndPlay("menu2");
}
} else {
r.gotoAndPlay("menu2");
}
gs_adReady = false;
GameServices.getNextAd();
}
if (whichCommand.indexOf("SetUserScore") != -1) {
resultCode = gsResponseInfo.getErrorMessage();
if (resultCode == "UNCHANGED") {
startupVars.text = "You already have a better score.";
} else {
startupVars.text = "Score submitted!";
}
}
}
}
function showGSStartupInfo() {
gs_siteId = GameServices.getSiteId();
gs_sessionId = GameServices.getSessionId();
gs_playbackId = GameServices.getPlaybackId();
return((((((((("Loaded from " + mtvnGSPath) + "; version ") + GameServices.getVersionString()) + "\nSiteId=") + gs_siteId) + "; SessionId=") + gs_sessionId) + "; PlaybackId=") + gs_playbackId);
}
trace("version 0.19");
var g_isDev = (_root.GSPath == null);
var mtvnGSPath = "gs1.swf";
var g_startFrame = "Menu";
var gs_adFrame = "showAd";
var g_loadFailed = "GSLoadFailure";
var gs_gameServices = null;
var gs_scoreSubmit = null;
var gs_sendToFriend = null;
var gs_loaded = false;
var gs_adReady = false;
var gs_adComplete = false;
var gs_prerollComplete = false;
var showAdFlag = false;
_root.g_PagingScores = 0;
if (g_isDev) {
_root.game_id = "6";
_root.site_id = "10";
_root.SubmitURL = "http://gs.mtv-q.mtvi.com/community.php";
_root.gs_key = "47aebc87c59723276c140e31e791a9e5";
} else {
mtvnGSPath = _root.GSPath + mtvnGSPath;
}
if (!_root.gs_loaded) {
trace("Loading GS from " + mtvnGSPath);
loadGameServices(mtvnGSPath);
}
_global.tUserName = "AAA";
_global.nRandomNumber = 0;
stop();
fscommand ("trapallkeys", 1);
fscommand ("allowscale", 0);
Stage.showMenu = false;
Stage.scaleMode = "noScale";
fr.swapDepths(200010);
_global.r = this;
udamusik = 0;
extreme = 0;
music = 1;
persen = 1;
adlevelstep = 2;
adlevelcount = 0;
udashowAd = 0;
GameServices.sendHit(GSGameTracking.LOAD, "Game Tracking Load Event");
Frame 2
trace("ON MENU PAGE");
onEnterFrame = function () {
persen = Math.round((getBytesLoaded() / getBytesTotal()) * 100);
if (_framesloaded == _totalframes) {
delete onEnterFrame;
trace("PRE-LOADING FINISHED");
if (gs_adReady) {
gotoAndPlay ("showAd");
} else {
gotoAndPlay ("menu2");
}
}
};
stop();
Frame 10
MovieClip.prototype.initmusicsfx = function () {
if (!r.udamusik) {
r.udamusik = 1;
stopAllSounds();
r.createEmptyMovieClip("sfx", 60001);
r.allsfx = ["zexplodebig", "zblast", "zdevilskull", "zdevilstep", "zdevildie", "zdevilscream", "zthrow", "zpc", "zbsod", "zgrimdie2", "zdraculabats", "zdraculaattack", "zdracula", "zdoorshow", "zwitchdie", "zwitch1", "zwitch2", "zspider", "zgrim", "zcaesarfall", "zcrash", "zgrimdie", "zarrow", "zcannon", "zmetal", "zbossdisappear", "zbossappear", "zslash", "zstep2", "zstep1", "zjumpland", "zhit2", "zrobotic", "zbullet1", "zrumble", "zrumbling", "zdoorin", "zdoorout", "zbomb", "zweapon3", "zweapon2", "zweapon1", "zexplode4", "zexplode3", "zexplode2", "zexplode1", "zarrow", "zhit1", "ztic", "ztoc", "zlevel", "zhit", "zbonus"];
var _local1 = 0;
while (_local1 < r.allsfx.length) {
r[allsfx[_local1]] = new Sound(sfx);
r[allsfx[_local1]].attachSound(r.allsfx[_local1]);
_local1++;
}
r.createEmptyMovieClip("sfx2", 60002);
r.allsfx = ["zlaugh3", "zlaugh2", "zlaugh1", "zfall"];
_local1 = 0;
while (_local1 < r.allsfx.length) {
r[allsfx[_local1]] = new Sound(sfx2);
r[allsfx[_local1]].attachSound(r.allsfx[_local1]);
r[allsfx[_local1]].onSoundComplete = function () {
r.talking = 0;
};
_local1++;
}
r.createEmptyMovieClip("sfx3", 60003);
r.zloop = new Sound(sfx3);
r.zloop.attachSound("zloop");
r.zloop.start(0, 99999);
r.createEmptyMovieClip("sfx4", 60004);
r.ztank = new Sound(sfx4);
r.ztank.attachSound("ztank");
r.createEmptyMovieClip("sfx5", 60005);
r.zhorses = new Sound(sfx5);
r.zhorses.attachSound("zhorses");
r.createEmptyMovieClip("sfx6", 60006);
r.zblast = new Sound(sfx6);
r.zblast.attachSound("zblast");
}
};
MovieClip.prototype.adcekgoto = function (labl) {
r.adlevelcount++;
if ((r.adlevelcount >= r.adlevelstep) && (gs_adReady)) {
r.adlevelcount = 0;
r.gotoAndStop("interAd");
} else {
r.gotoAndPlay(labl);
}
};
MovieClip.prototype.initchasingenemy = function (energy, attackpower) {
var t = this;
r.enemy.push(t);
((!energy) ? 10 : null);
t.energy = (t.energynow = (t.energymax = energy));
t.attack = 0;
t.attackpower = attackpower;
t.onEnterFrame = function () {
t.plat = getmyplatform(t);
if (t.plat) {
t.xmin = Math.max(t._width / 2, (t.plat._x + t.plat.bx1) + (t._width / 2));
t.xmax = Math.min(r.screenwid - (t._width / 2), (t.plat._x + t.plat.bx2) - (t._width / 2));
t.updepth(2000);
t.xs = (t.xspeed = 2);
t.onEnterFrame = function () {
if (!t.attack) {
t.xmove();
t._y = getlandpos(t._x, t.plat);
if (Math.abs(t.xs) != t.xspeed) {
(t.a.gotoAndStop("run"));// not popped
} else {
(t.a.gotoAndStop("walk"));// not popped
}
} else if (t.a.a._currentframe < t.a.a._totalframes) {
if (t.a.a.z != undefined) {
if (t.a.a.z.hitTest(p.z)) {
r.hit = {mc:t, tipe:2, power:t.attackpower};
}
}
} else {
t.attack = 0;
t.a.gotoAndStop("walk");
((t.xs > 0) ? ((t._xscale = 100)) : ((t._xscale = -100)));
}
if (t.plat == r.ontop) {
if ((Math.abs(p._x - t._x) < 70) and (r.energy > 0)) {
t.attack = 1;
t.a.gotoAndStop("attack");
t.faceplayer();
} else {
t.faceplayer();
((Math.abs(t.xs) == t.xspeed) ? (((t._xscale > 0) ? ((t.xs = 3 * t.xspeed)) : ((t.xs = -3 * t.xspeed)))) : null);
}
} else {
((t.xs < 0) ? ((t.xs = -t.xspeed)) : ((t.xs = t.xspeed)));
}
t.cekbodypcollide();
t.cekenergy();
((t._y < r.ymin) ? (t.removeit(r.enemy)) : null);
};
}
};
};
MovieClip.prototype.stoploopsfx = function () {
r.ztank.stop();
r.zhorses.stop();
r.zblast.stop();
};
MovieClip.prototype.initspider = function (energy) {
var _local2 = this;
r.enemy.push(_local2);
_local2.energy = (_local2.energynow = (_local2.energymax = energy));
_local2.updepth();
_local2.a.gotoAndStop("fall");
((_local2._y > r.ymax) ? ((_local2._y = r.ymin)) : null);
_local2.ys = 0;
_local2.grav = 0.8;
_local2.nx = _local2._x;
_local2.speed = 2 + (0.1 * random(10));
_local2.xs = 0;
_local2.spiderjump();
};
MovieClip.prototype.spiderjump = function () {
var t = this;
t.plat = 0;
r.zspider.start();
t.onEnterFrame = function () {
t.ys = t.ys + t.grav;
t.ny = t._y + t.ys;
t.nx = t._x + t.xs;
t.cekbodypcollide();
t.res = t.cekenergy();
t.enemydetectlanding();
t._y = t.ny;
t._x = t.nx;
(t.plat ? (t.spiderwalk()) : null);
((t._y > (r.ymax + 20)) ? (t.removeit(r.enemy)) : null);
};
};
MovieClip.prototype.spiderwalk = function () {
var t = this;
t.a.gotoAndStop("run");
t.xs = ((t._x > p._x) ? (-t.speed) : (t.speed));
t.xmin = t.plat._x + t.plat.bx1;
t.xmax = t.plat._x + t.plat.bx2;
r.zspider.start();
t.onEnterFrame = function () {
t.xmove();
t._y = getlandpos(t._x, t.plat);
t.cekbodypcollide();
t.res = t.cekenergy();
t.cekoutofscreen(15);
if (Math.abs(t._x - p._x) < 60) {
if (Math.abs(t._y - p._y) < 200) {
t.a.gotoAndStop("jump");
((t._x > p._x) ? ((t.xs = -t.speed)) : ((t.xs = t.speed)));
t.grav = 1.5;
t.jump = 1;
if (t._y < p._y) {
t.ys = -8;
} else {
(((t._y - p._y) > 60) ? ((t.ys = -22)) : ((t.ys = -10 - random(8))));
}
t.spiderjump();
}
}
t.cekoutofscreen(15);
};
};
MovieClip.prototype.enemydetectlanding = function () {
var _local2 = this;
if (_local2.ys > 0) {
_local2.res = cekland(_local2._x, _local2._y);
if (_local2.ys > 10) {
_local2.res2 = cekland(_local2._x, _local2._y - 10);
((_local2.res2.yy < _local2.res.yy) ? ((_local2.res = _local2.res2)) : null);
}
if (_local2.ny > _local2.res.yy) {
_local2.ny = _local2.res.yy;
_local2.jump = 0;
if (_local2.res.id) {
_local2.plat = _local2.res.id;
_local2.nx = Math.min(_local2.plat._x + _local2.plat.bx2, Math.max(_local2.plat._x + _local2.plat.bx1, _local2.nx));
_local2.ny = getlandpos(_local2.nx, _local2.plat);
}
}
}
};
MovieClip.prototype.initspikeball = function (tipe) {
var t = this;
t.spikeballpower = 15;
if (tipe == 1) {
t.xmin = 0;
t.xmax = r.screenwid;
t.udamin = (t.udamax = 0);
t.xs = (t.speed = 3);
t.ro = 10;
t.onEnterFrame = function () {
t._x = t._x + t.xs;
if ((t.xs > 0) and (!t.udamax)) {
var _local1 = 0;
while (_local1 < r.all.length) {
(cekhitpix(t, r.all[_local1]) ? ((t.xmax = t._x - t.speed)(t.udamax = 1)) : null);
_local1++;
}
}
if ((t.xs < 0) and (!t.udamin)) {
var _local1 = 0;
while (_local1 < r.all.length) {
(cekhitpix(t, r.all[_local1]) ? ((t.xmin = t._x + t.speed)(t.udamin = 1)) : null);
_local1++;
}
}
((t._x > t.xmax) ? ((t._x = t.xmax)(t.xs = -t.speed)(t.udamax = 1)) : null);
((t._x < t.xmin) ? ((t._x = t.xmin)(t.xs = t.speed)(t.udamin = 1)) : null);
t._rotation = t._rotation + t.ro;
if (cekhitpix(t, p.z)) {
r.hit = {mc:t, tipe:2, power:t.spikeballpower};
}
((t._y < (r.ymin - t._height)) ? (t.removeMovieClip()) : null);
};
} else {
t.ymin = r.ymin - 30;
t.ymax = t._y;
t.udamin = (t.udamax = 0);
t.speed = 3;
t.ro = 10;
t.ys = -t.speed;
t.onEnterFrame = function () {
t._y = t._y + t.ys;
if ((t.ys > 0) and (!t.udamax)) {
var _local1 = 0;
while (_local1 < r.all.length) {
(cekhitpix(t, r.all[_local1]) ? ((t.ymax = t._y - t.speed)(t.udamax = 1)) : null);
_local1++;
}
}
if ((t.ys < 0) and (!t.udamin)) {
var _local1 = 0;
while (_local1 < r.all.length) {
(cekhitpix(t, r.all[_local1]) ? ((t.ymin = t._y + t.speed)(t.udamin = 1)) : null);
_local1++;
}
}
((t._y > t.ymax) ? ((t._y = t.ymax)(t.ys = -t.speed)(t.udamax = 1)) : null);
((t._y < t.ymin) ? ((t._y = t.ymin)(t.ys = t.speed)(t.udamin = 1)) : null);
t._rotation = t._rotation + t.ro;
if (cekhitpix(t, p.z)) {
r.hit = {mc:t, tipe:2, power:t.spikeballpower};
}
((t._y < (r.ymin - 300)) ? (t.removeMovieClip()) : null);
};
}
};
MovieClip.prototype.initbatsmall = function (energy) {
var t = this;
r.enemy.push(t);
t.energy = (t.energynow = (t.energymax = energy));
t.updepth();
t.fxmin = -50;
t.fxmax = r.screenwid + 50;
t.speed = 5;
t.range = 8;
t.ang = random(360);
t.onEnterFrame = function () {
t.fymin = r.ymin - 50;
t.fymax = r.ymax + 50;
t.simplewander();
t.cekflylimits();
t.cekbodypcollide();
t.res = t.cekenergy();
((r.enemy.length > 15) ? (t.cekoutofscreen(20)) : null);
};
};
MovieClip.prototype.cekbodypcollide = function (dx, dy) {
(this.cekhitpzone(p.z) ? ((r.hit = {mc:this, tipe:1})) : null);
};
MovieClip.prototype.initbatbig = function (energy) {
var t = this;
r.enemy.push(t);
t.energy = (t.energynow = (t.energymax = energy));
t.updepth();
t.fxmin = -50;
t.fxmax = r.screenwid + 50;
t.speed = 3;
t.range = 4;
t.ang = random(360);
t.onEnterFrame = function () {
t.fymin = r.ymin - 50;
t.fymax = r.ymax + 50;
t.simplewander();
t.cekflylimits();
t.cekbodypcollide();
t.res = t.cekenergy();
if (t.res) {
var _local1 = 0;
while (_local1 < 3) {
m.attachMovie("batsmall", "batsmall" + r.bd, r.bd, {_x:t._x, _y:t._y});
r.bd++;
_local1++;
}
m.attachMovie("explosion", "explosion" + r.bd, r.bd, {_x:t._x, _y:t._y});
r.bd++;
r.zexplode2.start();
t.removeit(r.enemy);
}
((r.enemy.length > 15) ? (t.cekoutofscreen(20)) : null);
};
};
MovieClip.prototype.initspike = function () {
var t = this;
t.updepth();
t.spikepower = 10;
t.onEnterFrame = function () {
if (t.a.z != undefined) {
if (cekhitpix(t.a.z, p.z)) {
r.hit = {mc:t, tipe:2, power:t.spikepower};
}
}
((t._y < (r.ymin - t._height)) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.faceplayer = function () {
((this._x < p._x) ? ((this._xscale = 100)) : ((this._xscale = -100)));
};
MovieClip.prototype.initskullfly2 = function (energy) {
var t = this;
r.enemy.push(t);
t.energy = (t.energynow = (t.energymax = energy));
t.updepth();
t.ys = -1;
t._y = r.ymax;
t.attackdelay = 60;
t.d = 2 * t.attackdelay;
t.onEnterFrame = function () {
t.d--;
if (t.d > 0) {
t._y = t._y + t.ys;
} else if (!t.d) {
p = p;
} else {
t._x = t._x + ((p._x - t._x) / 3);
t._y = t._y + ((p._y - t._y) / 3);
if ((Math.abs(p._x - t._x) < 5) and (Math.abs(p._y - t._y) < 5)) {
t._rotation = 0;
t.d = t.attackdelay;
}
}
t.cekbodypcollide();
t.faceplayer();
if (Math.abs(p._x - t._x) < 80) {
t._rotation = 0;
} else if (t._xscale > 0) {
t._rotation = deg(Math.atan2((p._y - 50) - t._y, p._x - t._x));
} else {
t._rotation = -180 + deg(Math.atan2((p._y - 50) - t._y, p._x - t._x));
}
t.res = t.cekenergy();
t.cekoutofscreen(30);
};
};
MovieClip.prototype.updepth = function (dep) {
((!dep) ? (dep = 3000) : null);
this.swapDepths(this.getDepth() + dep);
};
MovieClip.prototype.initskullfly = function (energy) {
var t = this;
r.enemy.push(t);
t.energy = (t.energynow = (t.energymax = energy));
t.updepth();
t.fxmin = -50;
t.fxmax = r.screenwid + 50;
t.speed = 4;
t.range = 4;
t.ang = random(360);
t.onEnterFrame = function () {
t.fymin = r.ymin - 50;
t.fymax = r.ymax + 50;
t.simplewander();
t.cekflylimits();
t.cekbodypcollide();
t.res = t.cekenergy();
if (t.res) {
t.res = 0;
t.speed = t.speed * 1.6;
}
(((r.enemy.length > 12) or bossland) ? (t.cekoutofscreen(20)) : null);
};
};
MovieClip.prototype.cekoutofscreen = function (dis) {
(((((this._y < (r.ymin - dis)) or (this._y > (r.ymax + dis))) or (this._x < (-dis))) or (this._x > (r.screenwid + dis))) ? (this.removeit(r.enemy)) : null);
};
MovieClip.prototype.initarrow = function () {
var t = this;
t.hitpower = 10;
t.speed = 17;
t.ang = rad(t._rotation);
t.xs = Math.cos(t.ang) * t.speed;
t.ys = Math.sin(t.ang) * t.speed;
t.grav = 0.5;
t.wid = 20;
t.onEnterFrame = function () {
t.ys = t.ys + t.grav;
t._x = t._x + t.xs;
t._y = t._y + t.ys;
t._rotation = deg(Math.atan2(t.ys, t.xs));
if (cekhitpix(t, p.z)) {
r.hit = {mc:t, tipe:2, power:t.hitpower};
t.removeMovieClip();
}
if ((((t._y < (r.ymin - t.wid)) or (t._y > (r.ymax + t.wid))) or (t._x < (-t.wid))) or (t._x > (r.screenwid + t.wid))) {
t.removeMovieClip();
}
};
};
MovieClip.prototype.initshooter = function (energy) {
var t = this;
r.enemy.push(t);
((!energy) ? 10 : null);
t.energy = (t.energynow = (t.energymax = energy));
t.attack = 0;
t.attackpower = attackpower;
t.onEnterFrame = function () {
t.plat = getmyplatform(t);
if (t.plat) {
t.xmin = Math.max(t._width / 2, (t.plat._x + t.plat.bx1) + (t._width / 2));
t.xmax = Math.min(r.screenwid - (t._width / 2), (t.plat._x + t.plat.bx2) - (t._width / 2));
t.updepth(2000);
t.xs = 2;
t.atime = (t.attacktime = 30);
t.attackcek = 10;
t.attackdelay = 50;
t.ad = 40 + random(50);
t.onEnterFrame = function () {
if (!t.attack) {
t.xmove();
t._y = getlandpos(t._x, t.plat);
} else {
t.atime--;
t.faceplayer();
t.angle = Math.atan2((p._y - 50) - (t._y - 56), p._x - t._x);
t.angdeg = deg(t.angle);
if (t._xscale > 0) {
t.a.a.a._rotation = t.angdeg;
} else {
t.a.a.a._rotation = -(180 + t.angdeg);
}
t.a.a.b._rotation = t.a.a.a._rotation;
if (t.atime == t.attackcek) {
t.range = 60;
m.attachMovie("arrow", "arrow" + r.bd, r.bd, {_x:t._x + (Math.cos(t.angle) * t.range), _y:(t._y - 56) + (Math.sin(t.angle) * t.range), _rotation:t.angdeg});
r.bd++;
}
if (!t.atime) {
t.attack = 0;
t.a.gotoAndStop("walk");
((t.xs > 0) ? ((t._xscale = 100)) : ((t._xscale = -100)));
}
}
t.ad--;
if (t.ad < 0) {
if (p._y < r.ymax) {
t.attack = 1;
t.atime = t.attacktime;
t.a.gotoAndStop("attack");
}
t.ad = t.attackdelay + random(20);
}
t.cekbodypcollide();
t.cekenergy();
((t._y < r.ymin) ? (t.removeit(r.enemy)) : null);
};
}
};
};
MovieClip.prototype.initcheckpoint = function () {
var t = this;
if (r.ymin == 0) {
t.showsign = 1;
t.onEnterFrame = function () {
((t._y < r.ymin) ? (t.removeMovieClip()) : null);
};
} else {
t.onEnterFrame = function () {
if (Math.abs(t._y - p._y) < 10) {
if (t.hitTest(p)) {
r.checkpoint++;
t.showsign = 1;
popmessage(t._x, t._y - 54, 5);
r.zlevel.start();
t.onEnterFrame = function () {
((t._y < r.ymin) ? (t.removeMovieClip()) : null);
};
}
}
};
}
};
MovieClip.prototype.poplevelinfo = function () {
stat.attachMovie("levelinfo", "levelinfo", r.popd, {_x:275, _y:225, delay:15});
r.popd++;
};
MovieClip.prototype.popwininfo = function () {
stat.attachMovie("wininfo", "wininfo", r.popd, {_x:275, _y:225});
r.popd++;
};
MovieClip.prototype.initwindoor = function (id) {
var t = this;
r.doors.push(t);
t.tipe = "in";
t.id = id;
t.dpos = {xx:t._x, yy:t._y};
t._x = -8000;
t.onEnterFrame = function () {
if (r.popwindoor) {
r.popwindoor = 0;
t._x = t.dpos.xx;
t._y = t.dpos.yy;
t._xscale = (t._yscale = 10);
r.zdoorshow.start();
t.onEnterFrame = function () {
t._xscale = Math.min(100, t._xscale * 1.1);
t._yscale = t._xscale;
if (t._xscale >= 100) {
t.onEnterFrame = function () {
if (!r.door) {
if (Math.abs(p._x - t._x) < 20) {
if (((p._y - t._y) < 45) and ((p._y - t._y) > 0)) {
r.door = t;
}
}
}
if (t._y < (r.ymin - t._height)) {
t.removeit(r.doors);
}
};
t.stop();
}
};
}
};
};
MovieClip.prototype.initdoorin = function (id) {
var t = this;
r.doors.push(t);
t.tipe = "in";
t.id = id;
t.onEnterFrame = function () {
if (!r.door) {
if (Math.abs(p._x - t._x) < 20) {
if (((p._y - t._y) < 45) and ((p._y - t._y) > 0)) {
r.door = t;
}
}
}
if (t._y < (r.ymin - t._height)) {
t.removeit(r.doors);
}
};
t.stop();
};
MovieClip.prototype.initdoorout = function (id) {
var t = this;
r.doors.push(t);
t.tipe = "out";
t.id = id;
t.onEnterFrame = function () {
((t._y < (r.ymin - t._height)) ? (t.removeit(r.doors)) : null);
};
t.stop();
};
MovieClip.prototype.initdebris = function () {
var t = this;
t._visible = false;
t.d = 1 + random(10);
t.onEnterFrame = function () {
t.d--;
if (!t.d) {
t._visible = true;
t.grav = 2;
((random(100) > 50) ? ((t.xs = 1 + random(6))) : ((t.xs = -1 - random(6))));
((random(100) > 50) ? ((t.ro = 5 + random(10))) : ((t.ro = -5 - random(10))));
t.ys = -20 - random(20);
t.c = new Color(t);
t.tintpersen = 100;
t.onEnterFrame = function () {
t.ys = t.ys + t.grav;
t._y = t._y + t.ys;
t._x = t._x + t.xs;
t._rotation = t._rotation + t.ro;
t.c.resetColor();
t.c.setTint(16761139, t.tintpersen);
t.tintpersen = t.tintpersen - 10;
((t._y > 800) ? ((t._visible = false)delete t.onEnterFrame) : null);
};
}
};
};
MovieClip.prototype.initpcparts = function () {
var t = this;
t.ys = -20 - random(20);
t.grav = 1.5;
((random(100) > 50) ? ((t.xs = 1 + random(8))) : ((t.xs = -1 - random(8))));
((random(100) > 50) ? ((t.ro = 5 + random(10))) : ((t.ro = -5 - random(10))));
t.onEnterFrame = function () {
t.ys = t.ys + t.grav;
t._y = t._y + t.ys;
t._x = t._x + t.xs;
t._rotation = t._rotation + t.ro;
((t._y > r.ymax) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.initbossplatform = function () {
var t = this;
r.all.push(t);
_global.bossland = t;
t.onEnterFrame = function () {
if (t._y < (r.ymin - t._height)) {
_global.bossland = null;
t.removeit(r.all);
}
};
};
MovieClip.prototype.popskor = function (xx, yy, sk, got) {
m.attachMovie("popscore", "pop" + r.bd, r.bd, {_x:xx, _y:yy, sk:sk});
r.bd++;
};
MovieClip.prototype.popmessage = function (xx, yy, no) {
m.attachMovie("popmessage", "pop" + r.bd, r.bd, {_x:xx, _y:yy, no:no});
r.bd++;
};
MovieClip.prototype.initbonus = function (id) {
var t = this;
t.id = id;
t.onEnterFrame = function () {
if (Math.abs(p._x - t._x) < 30) {
if (Math.abs(p._y - t._y) < 100) {
if (p.z.hitTest(t)) {
if (t.id == 1) {
r.special = r.specialmax;
stat.specialbar.gotoAndPlay(1);
} else if (t.id == 2) {
r.weapon = 2;
r.wtimer = r.weapontime[r.weapon];
} else if (t.id == 3) {
r.weapon = 3;
r.wtimer = r.weapontime[r.weapon];
} else if (t.id == 4) {
r.energy = r.energymax;
}
r.zbonus.start();
popmessage(t._x, t._y - 40, t.id);
t.removeMovieClip();
}
}
}
if (t._y < (r.ymin - t._height)) {
t.removeMovieClip();
}
};
};
MovieClip.prototype.bom = function () {
m.attachMovie("bomb", "bomb" + r.bd, r.bd, {_x:p._x, _y:p._y - 60});
r.bd++;
};
MovieClip.prototype.initbomb = function () {
var t = this;
t.grav = 2;
t.ys = -14;
t.c = new Color(m);
t.flip = 1;
t.onEnterFrame = function () {
t._y = t._y + t.ys;
t.ys = t.ys + t.grav;
if (t.ys > 4) {
t.d = 10;
t.a.play();
r.zbomb.start();
t.onEnterFrame = function () {
t.d--;
t.flip = !t.flip;
(t.flip ? (t.c.setTint(16777215, 80)) : (t.c.resetColor()));
if (!t.d) {
var _local1 = 0;
while (_local1 < r.enemy.length) {
r.enemy[_local1].energy = r.enemy[_local1].energy - r.flashbombpower;
_local1++;
}
(boss._visible ? ((boss.energy = boss.energy - r.flashbombpower)) : null);
t.c.resetColor();
t.removeMovieClip();
}
};
}
};
};
MovieClip.prototype.getaim = function () {
r.aimanglerad = Math.atan2(m._ymouse - (p._y - 35), m._xmouse - p._x);
r.aimangle = deg(r.aimanglerad);
};
MovieClip.prototype.initchain = function (tipe) {
var t = this;
t.cacheAsBitmap = true;
t.tipe = tipe;
r.chain.push(t);
t.dep = t.getDepth();
t.swapDepths(t.dep + 2000);
t.spacing = 10;
t.total = Math.round(t.yk / t.spacing);
t.cd = 1000;
t.yy = 0;
var _local2 = 0;
while (_local2 < t.total) {
t.attachMovie("chain1", "chain" + t.cd, t.cd, {_y:t.yy});
t.cd--;
t.yy = t.yy + t.spacing;
_local2++;
}
t.onEnterFrame = function () {
if (t._y < (r.ymin - t.yk)) {
t.removeit(r.chain);
}
};
t.stop();
};
MovieClip.prototype.initpoletrap = function () {
var t = this;
t.updepth();
t.total = 8;
t.onEnterFrame = function () {
if (Math.abs(p._x - t._x) < 30) {
if (Math.abs(p._y - t._y) < 10) {
var _local1 = 1;
while (_local1 <= t.total) {
t["pole" + _local1].yy = random(20);
_local1++;
}
t.d = 2;
t.onEnterFrame = function () {
t.d--;
if (!t.d) {
if (Math.abs(p._x - t._x) < 30) {
if ((p._y > (t._y - 80)) and (p._y < (t._y + 10))) {
r.hit = {mc:t, tipe:1};
}
}
}
if (t.d < -30) {
t.polehide();
}
};
}
}
((t._y < r.ymin) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.polehide = function () {
var t = this;
t.d = 90;
t.onEnterFrame = function () {
var _local1 = 1;
while (_local1 <= t.total) {
t["pole" + _local1].yy = Math.min(t["pole" + _local1].ystart, t["pole" + _local1].yy + 1);
_local1++;
}
t.d--;
if (!t.d) {
_local1 = 1;
while (_local1 <= t.total) {
t["pole" + _local1].yy = t["pole" + _local1].ystart;
_local1++;
}
t.initpoletrap();
}
};
};
MovieClip.prototype.shoot = function (id) {
var _local4 = r.bulletspeed[id];
var _local3 = r.bulletpoprange[id];
var _local5 = Math.cos(r.aimanglerad);
var _local2 = Math.sin(r.aimanglerad);
m.attachMovie("bullet" + id, "o" + r.bd, r.bd, {_x:p._x + (_local5 * _local3), _y:(p._y - 35) + (_local2 * _local3), _rotation:r.aimangle, xs:_local5 * _local4, ys:_local2 * _local4});
r.bd++;
r["zweapon" + id].start();
r.weaponfireani = 2;
};
MovieClip.prototype.initbullet = function (energy) {
var t = this;
t.hit = 0;
t.energy = energy;
t.onEnterFrame = function () {
t._x = t._x + t.xs;
t._y = t._y + t.ys;
t.res = cekhitenemy(t);
if (!t.res) {
if (boss._visible) {
(cekhitpix(t, boss.a.zw) ? ((t.res = boss)) : null);
if (!t.res) {
if (boss.id == "hitler") {
(cekhitpix(t, boss) ? (r.zmetal.start()t.removeMovieClip()) : null);
} else if ((boss.id == "devil") and (boss.actnow == "frontattack")) {
(cekhitpix(t, boss) ? (r.zmetal.start()t.removeMovieClip()) : null);
}
}
}
}
if (t.res) {
t.res.energy = t.res.energy - t.energy;
t.removeMovieClip();
}
if ((((t._y < r.ymin) or (t._y > r.ymax)) or (t._x < 0)) or (t._x > r.screenwid)) {
t.removeMovieClip();
}
};
};
MovieClip.prototype.cekhitenemy = function (t) {
var _local3 = 0;
while (_local3 < r.enemy.length) {
var _local1 = r.enemy[_local3];
if (Math.abs(_local1._x - t._x) < (_local1._width + t._width)) {
if (Math.abs(_local1._y - t._y) < (_local1._height + t._height)) {
if (t.z.hitTest(_local1.a.zw)) {
return(_local1);
}
}
}
_local3++;
}
return(false);
};
MovieClip.prototype.initfloatvars = function (xs, xr, ys, yr) {
var _local2 = this;
if (xr != 0) {
_local2.xrange = xr;
_local2.xspeed = xs;
_local2.startx = _local2._y;
_local2.xs = _local2.xrange;
}
if (yr != 0) {
_local2.yrange = yr;
_local2.yspeed = ys;
_local2.starty = _local2._y;
_local2.ys = _local2.yrange;
}
};
MovieClip.prototype.xfloat = function () {
var _local2 = this;
_local2._x = _local2._x + _local2.xs;
if (_local2._x > _local2.startx) {
_local2.xs = Math.max(_local2.xs - _local2.xspeed, -_local2.xrange);
} else {
_local2.xs = Math.min(_local2.xs + _local2.xspeed, _local2.xrange);
}
};
MovieClip.prototype.yfloat = function () {
var _local2 = this;
_local2._y = _local2._y + _local2.ys;
if (_local2._y > _local2.starty) {
_local2.ys = Math.max(_local2.ys - _local2.yspeed, -_local2.yrange);
} else {
_local2.ys = Math.min(_local2.ys + _local2.yspeed, _local2.yrange);
}
};
MovieClip.prototype.initflyingenemy = function (energy) {
var t = this;
r.enemy.push(t);
t.energy = (t.energynow = (t.energymax = energy));
t.updepth();
t.xs = 4;
if (t._x > (r.screenwid / 2)) {
t.xs = -t.xs;
t._xscale = -t._xscale;
}
t.xmin = -10;
t.xmax = r.screenwid + 10;
t.initfloatvars(0, 0, 0.2, 3);
t.onEnterFrame = function () {
t.xmove();
t.yfloat();
t.cekbodypcollide();
t.cekenergy();
if (t._y < (r.ymin - t._height)) {
t.removeit(r.enemy);
}
};
};
MovieClip.prototype.cekenergy = function () {
var _local2 = this;
if (_local2.energynow != _local2.energy) {
_local2.energynow = _local2.energy;
if (_local2.energy <= 0) {
var _local4 = Math.min(200, Math.max((2 * (_local2._width + _local2._height)) / 2, 60));
m.attachMovie("explosion", "explosion" + r.bd, r.bd, {_x:_local2._x, _y:_local2._y, _xscale:_local4, _yscale:_local4});
r.bd++;
if (_local2.energymax > 20) {
r.zexplode2.start();
} else {
r.zexplode1.start();
}
var _local3 = _local2.energymax * 10;
popskor(Math.min(r.screenwid - 20, Math.max(20, _local2._x)), Math.min(r.ymax - 50, Math.max(r.ymin + 60, _local2._y)), _local3);
r.ang = r.ang + _local3;
_local2.removeit(r.enemy);
} else {
r.zhit1.start();
_local2.tint(10);
}
return(true);
}
return(false);
};
MovieClip.prototype.removeit = function (arr) {
arr.removeValue(this);
r.totalkill++;
if ((((r.laughd < 0) and (!boss)) and (r.act != "jump")) and (r.act != "hit")) {
(((r.totalkill - r.prevtotalkill) > 5) ? (laugh()) : null);
r.prevtotalkill = r.totalkill;
r.laughd = r.laughdelay + random(50);
}
this.removeMovieClip();
};
MovieClip.prototype.laugh = function () {
r.zlaugh1.stop();
r[getrandom("laughsfx")].start();
r.talking = 1;
};
MovieClip.prototype.initwalkingenemy = function (energy, attackpower) {
var t = this;
r.enemy.push(t);
((!energy) ? 10 : null);
t.energy = (t.energynow = (t.energymax = energy));
t.attack = 0;
t.attackpower = attackpower;
t.onEnterFrame = function () {
t.plat = getmyplatform(t);
if (t.plat) {
t.xmin = Math.max(t._width / 2, (t.plat._x + t.plat.bx1) + (t._width / 2));
t.xmax = Math.min(r.screenwid - (t._width / 2), (t.plat._x + t.plat.bx2) - (t._width / 2));
t.updepth(2000);
t.xs = 2;
t.onEnterFrame = function () {
if (!t.attack) {
t.xmove();
t._y = getlandpos(t._x, t.plat);
} else if (t.a.a._currentframe < t.a.a._totalframes) {
if (t.a.a.z != undefined) {
if (t.a.a.z.hitTest(p.z)) {
r.hit = {mc:t, tipe:2, power:t.attackpower};
}
}
} else {
t.attack = 0;
t.a.gotoAndStop("walk");
((t.xs > 0) ? ((t._xscale = 100)) : ((t._xscale = -100)));
}
if ((p._y > (t._y - 40)) and (p._y < (t._y + 10))) {
if ((Math.abs(p._x - t._x) < 100) and (r.energy > 0)) {
t.attack = 1;
t.a.gotoAndStop("attack");
t.faceplayer();
}
}
t.cekbodypcollide();
t.cekenergy();
((t._y < r.ymin) ? (t.removeit(r.enemy)) : null);
};
}
};
};
MovieClip.prototype.xmove = function () {
var _local2 = this;
_local2._x = _local2._x + _local2.xs;
if (_local2._x < _local2.xmin) {
_local2._x = _local2.xmin;
_local2.xs = Math.abs(_local2.xs);
_local2._xscale = 100;
} else if (_local2._x > _local2.xmax) {
_local2._x = _local2.xmax;
_local2.xs = -Math.abs(_local2.xs);
_local2._xscale = -100;
}
};
MovieClip.prototype.getmyplatform = function (mc) {
var _local2 = 0;
while (_local2 < r.all.length) {
var _local1 = r.all[_local2];
if (mc._x > (_local1._x + _local1.bx1)) {
if (mc._x < (_local1._x + _local1.bx2)) {
if (cekhitpix(mc, _local1)) {
return(_local1);
}
}
}
_local2++;
}
return(false);
};
MovieClip.prototype.loosefall = function () {
var t = this;
t.ys = 4 + random(8);
t.grav = 0.8 + (0.1 * random(8));
t.ro = -5 + random(11);
t.onEnterFrame = function () {
t._y = t._y + t.ys;
t.ys = t.ys + t.grav;
t._rotation = t._rotation + t.ro;
};
t.stop();
};
MovieClip.prototype.snapshot = function (dest, sourc, x1, y1, wid, hei, ska, bx, by) {
((!ska) ? (ska = 1) : null);
var _local1 = new flash.display.BitmapData(wid, hei, false, 16777215);
var _local2 = new flash.geom.Matrix();
_local2.scale(ska, ska);
_local2.translate(-x1, -y1);
_local1.draw(sourc, _local2, null, null, new flash.geom.Rectangle(0, 0, wid, hei), true);
if ((bx + by) > 0) {
_local1.applyFilter(_local1, new flash.geom.Rectangle(0, 0, wid, hei), new flash.geom.Point(0, 0), new flash.filters.BlurFilter(bx, by, 1));
}
if (dest instanceof MovieClip) {
dest.attachBitmap(_local1, 1, "auto", true);
} else {
dest.copyPixels(_local1, new flash.geom.Rectangle(0, 0, wid, hei), new flash.geom.Point(0, 0));
}
};
MovieClip.prototype.outoftime = function () {
_global.snap = r.place.createEmptyMovieClip("snap", 202);
snapshot(snap, r, 0, 0, r.screenwid, r.screenhei, 1, 5, 5);
r.place.attachMovie("out", "out", 203, {_x:r.screenwid / 2, _y:200});
r.gotoAndPlay("timeout");
};
MovieClip.prototype.platformbreak = function () {
var t = this;
t.d = 80;
t.onEnterFrame = function () {
t.d--;
((t.d < 0) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.initlooseplatform = function (id) {
var t = this;
r.all.push(t);
t.id = id;
t.ypos = t._y;
t.onEnterFrame = function () {
if (r.ontop == t) {
t.delay = 30;
t.ax = t.a._x;
r.zrumbling.start();
t.onEnterFrame = function () {
t.delay--;
t.xs = -2 + random(5);
t.a._x = t.ax + t.xs;
if (!t.delay) {
if (r.ontop == t) {
r.ontop = 0;
r.jump = 1;
r.drag.vy = 0;
}
r.zrumble.start();
m.attachMovie(("o" + t.id) + "break", (("o" + t.id) + "break") + r.od, r.od, {_x:t._x, _y:t._y});
r.od++;
t.removeit(r.all);
}
};
}
if (t._y < (r.ymin - t._height)) {
t.removeit(r.all);
}
};
};
MovieClip.prototype.timetotext = function (waktu, onesec) {
var _local1 = Math.floor(waktu / onesec);
var _local3 = (waktu - (_local1 * onesec)) * 4;
var _local2 = Math.floor(_local1 / 60);
_local1 = _local1 - (_local2 * 60);
((_local2 < 10) ? ((tmin = "0" + _local2)) : ((tmin = _local2)));
((_local1 < 10) ? ((tsec = "0" + _local1)) : ((tsec = _local1)));
((_local3 < 10) ? ((tmsec = "0" + _local3)) : ((tmsec = _local3)));
return((tmin + ":") + tsec);
};
MovieClip.prototype.getleveldata = function () {
var _local1 = 1;
while (_local1 <= r.levelmax) {
if (r.level <= _local1) {
add2pos(r["pos" + _local1]);
}
_local1++;
}
if (r.checkpoint) {
var _local3 = 0;
while (_local3 < r.checkpoint) {
if (r.pos.length) {
var _local2 = r.pos.shift();
if (_local2.id == 89) {
_local3++;
((_local3 >= r.checkpoint) ? (r.pos.unshift(_local2)) : null);
}
continue;
}
trace("checkpoint not found!");
return(false);
}
var _local4 = r.pos[0].yy - 120;
_local1 = 0;
while (_local1 < r.pos.length) {
r.pos[_local1].yy = r.pos[_local1].yy - _local4;
_local1++;
}
}
};
MovieClip.prototype.add2pos = function (arr) {
var _local6 = 400;
var _local3 = arr.clon();
var _local7 = r.pos.length;
if (r.pos.length) {
var _local5 = r.pos[r.pos.length - 1].yy + _local6;
} else {
var _local5 = 0;
}
var _local4 = _local3.length;
var _local2 = 0;
while (_local2 < _local4) {
var _local1 = _local3.shift();
_local1.yy = _local1.yy + _local5;
r.pos.push(_local1);
_local2++;
}
};
MovieClip.prototype.cekpfall = function () {
if (p._y > (r.ymax + 75)) {
r.lives--;
r.zlaugh1.stop();
r.zfall.start();
var t = r.drag;
r.noshoot = 99999 /* 0x01869F */;
t.d = 30;
t.onEnterFrame = function () {
t.d--;
if (!t.d) {
if (r.lives > 0) {
r.energy = r.energymax;
r.gotoAndPlay("retry");
} else {
r.gotoAndPlay("end");
}
}
};
t.stop();
}
};
MovieClip.prototype.initlevelmarker = function () {
var t = this;
if (t._y < 400) {
t.removeMovieClip();
} else {
t._visible = false;
t.uda = 0;
t.onEnterFrame = function () {
if ((!t.uda) and (t._y < (r.ymax + 30))) {
t.uda = 1;
var _local2 = 0;
while (_local2 < r.all.length) {
var _local1 = r.all[_local2];
if (Math.abs(_local1._y - t._y) < 50) {
if (_local1.hitTest(t)) {
make(84, _local1._x - 22, _local1._y - 12);
make(81, _local1._x + 22, _local1._y - 12);
}
}
_local2++;
}
}
if (Math.abs(t._y - p._y) < 10) {
if (t.hitTest(p)) {
r.level++;
r.checkpoint = 0;
poplevelinfo();
r.zlevel.start();
t.removeMovieClip();
}
}
};
}
};
MovieClip.prototype.cekhitpzone = function (z, dx, dy) {
if (!r.inv) {
var _local2 = this;
((!dx) ? (dx = 60) : null);
if (Math.abs(_local2._x - p._x) < dx) {
((!dy) ? (dy = 80) : null);
if (Math.abs(_local2._y - p._y) < 80) {
if (_local2.a.z.hitTest(z)) {
return(true);
}
}
}
}
return(false);
};
MovieClip.prototype.make = function (id, xx, yy, ro, xk, yk) {
m.attachMovie("o" + id, "o" + r.od, r.od, {_x:xx, _y:yy, ro:ro, xk:xk, yk:yk});
r.od++;
};
MovieClip.prototype.initplatform = function () {
var t = this;
r.all.push(t);
t.onEnterFrame = function () {
if (t._y < (r.ymin - t._height)) {
t.removeit(r.all);
}
};
};
MovieClip.prototype.initlandpoint = function () {
var _local3 = this;
var _local4 = _local3._parent._parent;
var _local5 = {xx:Math.round(_local3._x), yy:Math.round(_local3._y)};
if (_local3._parent._parent.pt == undefined) {
_local3._parent._parent.pt = [_local5];
} else {
var _local2 = _local3._parent._parent.pt;
_local2.push(_local5);
_local2.sortOn("yy", Array.NUMERIC);
_local4.by1 = _local2[0].yy;
_local4.by2 = _local2[_local2.length - 1].yy;
_local2.sortOn("xx", Array.NUMERIC);
_local4.bx1 = _local2[0].xx;
_local4.bx2 = _local2[_local2.length - 1].xx;
}
};
MovieClip.prototype.protate = function (xx, yy, angle) {
var _local3 = rad(angle);
var _local2 = Math.sin(_local3);
var _local1 = Math.cos(_local3);
return({xx:(_local1 * xx) - (_local2 * yy), yy:(_local2 * xx) + (_local1 * yy)});
};
MovieClip.prototype.cekpcoll = function () {
var _local2 = this;
if (Math.abs(p._x - _local2._x) < 30) {
if ((p._y - 70) < (_local2._y + 20)) {
if (p._y > (_local2._y - 20)) {
return(p.z.hitTest(_local2.z));
}
}
}
return(0);
};
MovieClip.prototype.moveplatform = function (xs, xmin, xmax, ys, ymin, ymax) {
var t = this;
t.xs = xs;
t.xmin = t._x + xmin;
t.xmax = t._x + xmax;
t.ys = ys;
t.ymin = t._y + ymin;
t.ymax = t._y + ymax;
t.onEnterFrame = function () {
t._x = t._x + t.xs;
t._y = t._y + t.ys;
if ((((t._x < t.xmin) or (t._x > t.xmax)) or (t._y < t.ymin)) or (t._y > t.ymax)) {
t._x = Math.min(t.xmax, Math.max(t._x, t.xmin));
t._y = Math.min(t.ymax, Math.max(t._y, t.ymin));
t.xs = -t.xs;
t.ys = -t.ys;
}
((t._y < (r.ymin - t._height)) ? (t.removeit(r.all)) : null);
};
};
MovieClip.prototype.initbg = function () {
var t = this;
t.lastone = 1;
t.onEnterFrame = function () {
if (t.lastone) {
if (t._y < ((-m._y) / r.bgdiv)) {
bg.attachMovie("bg", "bg" + r.bgd, r.bgd, {_y:t._y + r.screenhei});
r.bgd++;
t.lastone = 0;
}
}
if (t._y < (((-m._y) / r.bgdiv) - r.screenhei)) {
t.removeMovieClip();
}
};
};
MovieClip.prototype.detectlanding = function () {
var _local2 = this;
if (_local2.vy > 0) {
_local2.res = cekland(p._x, p._y);
if (_local2.vy > 10) {
_local2.res2 = cekland(p._x, p._y - 10);
((_local2.res2.yy < _local2.res.yy) ? ((_local2.res = _local2.res2)) : null);
}
if (_local2.ny > _local2.res.yy) {
_local2.ny = _local2.res.yy;
_local2.xs = r.pspeed;
r.jump = 0;
if (_local2.res.id) {
r.ontop = _local2.res.id;
_local2.nx = Math.min(r.ontop._x + r.ontop.bx2, Math.max(r.ontop._x + r.ontop.bx1, _local2.nx));
_local2.ny = getlandpos(_local2.nx, r.ontop);
}
}
}
};
MovieClip.prototype.cekland = function (xx, yy) {
var _local7 = {id:0, yy:9999999};
var _local2 = 0;
while (_local2 < r.all.length) {
var _local1 = r.all[_local2];
var _local4 = _local1._x + _local1.bx2;
if (xx <= _local4) {
var _local5 = _local1._x + _local1.bx1;
if (xx >= _local5) {
var _local3 = _local1._y + _local1.by2;
if (yy <= _local3) {
yr = getlandpos(xx, _local1);
if (((yy - 10) <= yr) and (yr < _local7.yy)) {
_local7 = {id:_local1, yy:yr};
}
}
}
}
_local2++;
}
return(_local7);
};
MovieClip.prototype.getlandpos = function (xx, a) {
var _local2 = 1;
while (_local2 < a.pt.length) {
var _local3 = a._x + a.pt[_local2].xx;
if (xx < _local3) {
var _local4 = a._x + a.pt[_local2 - 1].xx;
return((a._y + a.pt[_local2 - 1].yy) + (((xx - _local4) / (_local3 - _local4)) * (a.pt[_local2].yy - a.pt[_local2 - 1].yy)));
}
_local2++;
}
};
MovieClip.prototype.getranmove = function () {
var _local2 = this;
_local2.nx = _local2.xmin + random(_local2.range);
_local2.xs = 0.3 + (0.1 * random(5));
if (_local2.nx < _local2._x) {
_local2.xs = -_local2.xs;
}
_local2.d = 20 + random(20);
};
MovieClip.prototype.energize = function (a) {
r.energy = Math.min(r.energymax, r.energy + a);
r.energy = Math.max(0, r.energy);
if (a > 0) {
r.zbonus.start();
r.energybar.bg.gotoAndPlay(2);
}
r.energybar.gotoAndPlay(1);
};
MovieClip.prototype.initpopup = function (delay, distance, golabel) {
var t = this;
if (!delay) {
delay = 30;
}
if (!distance) {
distance = 20;
}
t.yy = t._y - distance;
t._alpha = 0;
var d = delay;
t.onEnterFrame = function () {
t._alpha = Math.min(100, t._alpha + 20);
t._y = Math.floor(t._y + ((t.yy - t._y) / 3));
d--;
if (!d) {
t.onEnterFrame = function () {
t._alpha = t._alpha - 20;
t._y = t._y - 3;
if (t._alpha <= 0) {
delete t.onEnterFrame;
if (!golabel) {
t.removeMovieClip();
} else {
t.gotoAndPlay(golabel);
}
}
};
}
};
t.stop();
};
Frame 11
MovieClip.prototype.appearbright = function (speed, clr) {
var t = this.createEmptyMovieClip("appearmc", this.getNextHighestDepth());
((!speed) ? (speed = 15) : null);
t.yy = t._parent._y - 25;
t.c = new Color(t._parent);
((!clr) ? (clr = 16777215) : null);
t.clr = clr;
t.c.setTint(t.clr, t.br);
t.br = 100;
t.brless = t.br / speed;
t.blur = 12;
t.blurless = t.blur / speed;
t.onEnterFrame = function () {
t._parent._y = t._parent._y + ((t.yy - t._parent._y) / 2);
t.blur = t.blur - t.blurless;
t._parent.filters = [new flash.filters.BlurFilter(t.blur, t.blur, 3)];
t.br = t.br - t.brless;
t.c.resetColor();
t.c.setTint(t.clr, t.br);
if (t.br <= 0) {
t._parent.filters = null;
c.resetColor();
delete t.onEnterFrame;
}
};
};
MovieClip.prototype.disappearbright = function (speed, clr) {
var t = this.createEmptyMovieClip("disappearmc", this.getNextHighestDepth());
((!speed) ? (speed = 8) : null);
t.c = new Color(t._parent);
t.br = 10;
t.bradd = 100 / speed;
((!clr) ? (clr = 16777215) : null);
t.clr = clr;
t.c.setTint(t.clr, t.br);
t.blur = 1;
t.bluradd = 12 / speed;
t.onEnterFrame = function () {
t.blur = t.blur + t.bluradd;
t._parent.filters = [new flash.filters.BlurFilter(t.blur, t.blur, 3)];
t.br = t.br + t.bradd;
t.c.resetColor();
t.c.setTint(t.clr, t.br);
if (t.br >= 100) {
t.onEnterFrame = function () {
t._parent._alpha = t._parent._alpha - 10;
if (t._parent._alpha <= 0) {
t._parent.filters = null;
c.resetColor();
delete t.onEnterFrame;
}
};
}
};
};
MovieClip.prototype.cekhitpix = function (a, b, alphatolerance) {
((alphatolerance == undefined) ? (alphatolerance = 255) : null);
var _local2 = a.getBounds(r);
var _local1 = b.getBounds(r);
if ((Stage.width == r.screenwid) and (Stage.height == r.screenhei)) {
var _local5 = (hdif = 0);
} else {
var _local5 = Math.round((Stage.width - r.screenwid) / 2);
var hdif = Math.round((Stage.height - r.screenhei) / 2);
_local2.xMin = _local2.xMin + _local5;
_local2.xMax = _local2.xMax + _local5;
_local1.xMin = _local1.xMin + _local5;
_local1.xMax = _local1.xMax + _local5;
_local2.yMin = _local2.yMin + hdif;
_local2.yMax = _local2.yMax + hdif;
_local1.yMin = _local1.yMin + hdif;
_local1.yMax = _local1.yMax + hdif;
}
if (_local2.xMax > _local1.xMin) {
if (_local1.xMax > _local2.xMin) {
if (_local2.yMax > _local1.yMin) {
if (_local1.yMax > _local2.yMin) {
var _local3 = {xMin:Math.max(_local2.xMin, _local1.xMin), xMax:Math.min(_local2.xMax, _local1.xMax), yMin:Math.max(_local2.yMin, _local1.yMin), yMax:Math.min(_local2.yMax, _local1.yMax)};
var _local7 = new flash.display.BitmapData(_local3.xMax - _local3.xMin, _local3.yMax - _local3.yMin, false);
var _local4 = a.transform.concatenatedMatrix;
_local4.tx = _local4.tx - _local3.xMin;
_local4.ty = _local4.ty - _local3.yMin;
_local7.draw(a, _local4, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, alphatolerance));
_local4 = b.transform.concatenatedMatrix;
_local4.tx = _local4.tx - _local3.xMin;
_local4.ty = _local4.ty - _local3.yMin;
_local7.draw(b, _local4, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, alphatolerance), "difference");
var _local6 = _local7.getColorBoundsRect(4294967295, 4278255615);
_local7.dispose();
if (_local6.width) {
_local6.x = _local6.x + (_local3.xMin - _local5);
_local6.y = _local6.y + (_local3.yMin - hdif);
return(_local6);
}
}
}
}
}
return(false);
};
MovieClip.prototype.globalpos = function (mc) {
var _local1 = {x:0, y:0};
mc.localToGlobal(_local1);
return({xx:_local1.x, yy:_local1.y});
};
MovieClip.prototype.localpos = function (mc, m) {
var _local2 = globalpos(mc);
var _local1 = {x:_local2.xx, y:_local2.yy};
m.globalToLocal(_local1);
return({xx:_local1.x, yy:_local1.y});
};
MovieClip.prototype.appear = function (speed) {
var t = this;
if (!speed) {
speed = 15;
}
t.speed = speed;
t.yy = t._y - 25;
t._alpha = 0;
t.onEnterFrame = function () {
t._y = t._y + ((t.yy - t._y) / 2);
t._alpha = t._alpha + t.speed;
if (t._alpha >= 100) {
t._alpha = 100;
delete t.onEnterFrame;
}
};
};
MovieClip.prototype.disappear = function (speed, ys) {
var t = this;
if (!speed) {
speed = 20;
}
if (ys == undefined) {
ys = -2;
}
t.speed = speed;
t.ys = ys;
t.onEnterFrame = function () {
t._y = t._y + t.ys;
t._alpha = t._alpha - t.speed;
if (t._alpha <= 0) {
delete t.onEnterFrame;
t.removeMovieClip();
}
};
t.stop();
};
MovieClip.prototype.jiggle = function (beginska) {
var t = this;
if (!beginska) {
beginska = 200;
}
t._xscale = (t._yscale = beginska);
t.ska = 100;
t.dx = 0;
t.dv = 0.8;
t.dvstep = 0.6;
t.onEnterFrame = function () {
t.dx = (t.dx * t.dvstep) + ((t.ska - t._xscale) * t.dv);
t._xscale = t._xscale + t.dx;
t._yscale = t._xscale;
};
};
Array.prototype.removeElement = function (i) {
if (i == null) {
i = 0;
}
var _local4 = this[i];
var _local2 = i;
while (_local2 < (this.length - 1)) {
this[_local2] = this[_local2 + 1];
_local2++;
}
this.pop();
return(_local4);
};
Array.prototype.removeValue = function (a) {
var _local2 = 0;
while (_local2 < this.length) {
if (a == this[_local2]) {
this.removeElement(_local2);
}
_local2++;
}
};
Array.prototype.randomize = function () {
return(this.sort(function (a, b) {
return(((Math.floor(Math.random() * 2) == 0) ? 1 : -1));
}));
};
Array.prototype.copy = Array.prototype.slice;
Object.prototype.clon = function () {
if (this instanceof Array) {
var _local2 = [];
var _local3 = 0;
while (_local3 < this.length) {
_local2[_local3] = ((typeof(this[_local3]) == "object") ? (this[_local3].clon()) : (this[_local3]));
_local3++;
}
} else if ((this instanceof XML) || (this instanceof MovieClip)) {
var _local2 = null;
trace("Warning! Object.clon can not be used on MovieClip or XML objects");
} else {
var _local2 = {};
for (var _local3 in this) {
_local2[_local3] = ((typeof(this[_local3]) == "object") ? (this[_local3].clon()) : (this[_local3]));
}
}
return(_local2);
};
ASSetPropFlags(Object.prototype, ["clon"], 1);
MovieClip.prototype.fadescreen = function (speed) {
if (!speed) {
speed = 5;
}
r.createEmptyMovieClip("dark", 100001);
var d = r.dark;
d.speed = speed;
d.lineStyle(1, 0, 100);
d.beginFill(0, 100);
d.moveTo(-5000, -5000);
d.lineTo(5000, -5000);
d.lineTo(5000, 5000);
d.lineTo(-5000, 5000);
d.endFill();
d.onEnterFrame = function () {
d._alpha = d._alpha - d.speed;
if (d._alpha <= 0) {
d.removeMovieClip();
d.stop();
}
};
};
MovieClip.prototype.getrandom = function (aray) {
if (r.randomlisting.length > 0) {
var _local3 = 0;
var _local1 = 0;
while (_local1 < r.randomlisting.length) {
if (r.randomlisting[_local1] == aray) {
_local3 = 1;
break;
}
_local1++;
}
if (!_local3) {
r.randomlisting.push(aray);
}
} else {
r.randomlisting = [];
r.randomlisting.push(aray);
}
if (r[aray + "getrandom"].length <= 0) {
r[aray + "getrandom"] = [];
r[aray + "getrandom"] = r[aray].clon();
r[aray + "getrandom"].randomize();
if (r[aray + "getrandom"].length > 1) {
if (r[aray + "lastpop"] == r[aray + "getrandom"][r[aray + "getrandom"].length - 1]) {
r[aray + "getrandom"].pop();
}
}
}
var _local4 = r[aray + "getrandom"].pop();
r[aray + "lastpop"] = _local4;
return(_local4);
};
MovieClip.prototype.resetrandom = function () {
if (r.randomlisting.length > 0) {
var _local1 = 0;
while (_local1 < r.randomlisting.length) {
r[r.randomlisting[_local1] + "getrandom"] = [];
r[r.randomlisting[_local1] + "lastpop"] = undefined;
_local1++;
}
}
};
MovieClip.prototype.tint = function (delay, colr) {
var t = this.createEmptyMovieClip("tintmc", this.getNextHighestDepth());
t.d = delay;
((!t.d) ? ((t.d = 10)) : null);
t.colr = colr;
((!t.colr) ? ((t.colr = 16737792)) : null);
t.c = new Color(t._parent);
t.a = (t.b = 1);
t._parent.filters = [new flash.filters.GlowFilter(t.colr, 1, 7, 7, 1.5, 1, false, false)];
t.onEnterFrame = function () {
t.d--;
t.a--;
if (!t.a) {
t.a = 2;
t.b = !t.b;
if (t.b) {
t.c.setTint(t.colr, 100);
} else {
t.c.setTint(16777215, 100);
}
} else {
t.c.resetColor();
}
if (!t.d) {
t.c.resetColor();
t._parent.filters = null;
t.removeMovieClip();
}
};
};
MovieClip.prototype.findang = function (dx, dy) {
return(deg(Math.atan2(dy, dx)));
};
MovieClip.prototype.rad = function (qdeg) {
return(qdeg * (Math.PI/180));
};
MovieClip.prototype.deg = function (qrad) {
return(qrad * 57.2957795130823);
};
Number.prototype.limit = function (floor, ceil) {
return(Math.min(ceil, Math.max(floor, this)));
};
Number.prototype.isEven = function () {
return(!(this % 2));
};
Number.prototype.isMultipleOf = function (BaseNum) {
return(!(this % BaseNum));
};
Number.prototype.between = function (lo, hi) {
return((this > lo) && (this < hi));
};
Color.prototype.setBrightness = function (value) {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
var trans = this.getTransform();
var percent = (Math.abs(value) / 100);
var brightnessColor = ((value > 0) ? 255 : 0);
with (trans) {
ra = ra - (ra * percent);
ga = ga - (ga * percent);
ba = ba - (ba * percent);
rb = rb + ((brightnessColor - rb) * percent);
gb = gb + ((brightnessColor - gb) * percent);
bb = bb + ((brightnessColor - bb) * percent);
}
this.setTransform(trans);
};
Color.prototype.setTint = function (col, percent) {
if (isNaN(col) || (isNaN(percent))) {
return(undefined);
}
col = ((col <= 0) ? 0 : (((col >= 16777215) ? 16777215 : (Math.round(col)))));
percent = ((percent <= 0) ? 0 : (((percent >= 100) ? 1 : (percent / 100))));
var trans = this.getTransform();
with (trans) {
ra = ra - (ra * percent);
ga = ga - (ga * percent);
ba = ba - (ba * percent);
rb = rb + ((((col & 16711680) >> 16) - rb) * percent);
gb = gb + ((((col & 65280) >> 8) - gb) * percent);
bb = bb + (((col & 255) - bb) * percent);
}
this.setTransform(trans);
};
Color.prototype.resetColor = function () {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
};
Sound.prototype.fade = function (fadeType, fadeDuration) {
this.fadeDuration = (fadeDuration * 1000) / 100;
this.fadeType = fadeType;
this.currentVolume = this.getVolume();
this.intID = setInterval(function (thisObj) {
thisObj.doFade(thisObj.fadeType);
}, this.fadeDuration, this);
this.doFade = function (fadeType) {
if (fadeType == "out") {
this.setVolume(this.currentVolume--);
if (this.getVolume() <= 0) {
clearInterval(this.intID);
}
} else if (fadeType == "in") {
this.setVolume(this.currentVolume++);
if (this.getVolume() >= 100) {
clearInterval(this.intID);
}
}
};
};
MovieClip.prototype.wait = function (delay) {
var t = this.createEmptyMovieClip("wdl", 55555);
t.delay = delay;
t.onEnterFrame = function () {
t.delay--;
if (t.delay < 0) {
delete t.onEnterFrame;
t._parent.play();
t.removeMovieClip();
}
};
t._parent.stop();
};
MovieClip.prototype.savecookie = function (vari, value) {
var _local1 = SharedObject.getLocal("lazcookie", "/");
_local1.data[vari] = value;
_local1.flush();
};
MovieClip.prototype.loadcookie = function (vari) {
var _local1 = SharedObject.getLocal("lazcookie", "/");
if (_local1.data[vari] != null) {
return(_local1.data[vari]);
}
return(false);
};
Frame 12
MovieClip.prototype.initdevil = function () {
_global.boss = this;
var t = this;
t.id = "devil";
t.pattern = ["run2middle", "frontstand", "run2leftcorner", "spearattack", "run", "run2middle", "frontstand", "frontattack", "run2rightcorner", "spearattack"];
t.swapDepths(14010);
stat.attachMovie("screenshaker", "screenshaker", r.popd, {_x:-8000, _y:-8000});
r.popd++;
t.energy = (t.energynow = (t.energymax = 2200));
t.spearpower = 15;
t.xspeed = 10;
t.jumpspeed = -38;
t.xmin = 30;
t.xmax = r.screenwid - 30;
t.onEnterFrame = function () {
if ((Math.abs(p._y - bossland._y) < 10) and (p._y < r.ymax)) {
popbossenergybar();
t._y = bossland._y;
r.screenshake = 8;
t.bossthink();
}
};
};
MovieClip.prototype.bossspearattack = function () {
var t = this;
if ((t._y - p._y) > 200) {
t.pattern2.unshift("run2middle", "frontstand", "frontattack");
t.bossthink();
} else if (((t._y - p._y) < 200) and ((t._y - p._y) > 50)) {
if (p._x < 275) {
t.pattern2.unshift("run2leftcorner", "run2middle", "frontstand", "frontattack");
} else {
t.pattern2.unshift("run2rightcorner", "run2middle", "frontstand", "frontattack");
}
t.bossthink();
} else {
t.a.gotoAndStop("attack");
t.actnow = "attack";
if (t._x < 100) {
t._xscale = 100;
} else if (t._x > (r.screenwid - 100)) {
t._xscale = -100;
} else {
t.faceplayer();
}
((r.energy > 70) ? ((t.d = 65)) : (((r.energy > 50) ? ((t.d = 75)) : ((t.d = 85)))));
t.onEnterFrame = function () {
t.d--;
if (t.d != 60) {
} else {
r.zblast.start(0, 9);
(t.a.a.gotoAndPlay("blast"));// not popped
}
if (t.d < 60) {
if (p._y > (boss._y - 90)) {
if (((boss._xscale > 0) and (p._x > (boss._x + 60))) or ((boss._xscale < 0) and (p._x < (boss._x - 60)))) {
r.hit = {mc:t, tipe:2, power:t.spearpower};
}
}
((!t.d) ? (r.zblast.stop()t.bossthink()) : null);
}
t.cekbossplayercollide(120, 150);
t.bosscekenergy();
};
}
};
MovieClip.prototype.bossfrontstand = function () {
var t = this;
t.a.gotoAndStop("frontstand");
t.actnow = "stand";
t.d = 20 + random(20);
t.onEnterFrame = function () {
t.cekbossplayercollide(200, 150);
t.bosscekenergy();
t.d--;
((!t.d) ? (t.bossthink()) : null);
};
};
MovieClip.prototype.bossfrontattack = function () {
var t = this;
t.a.gotoAndStop("frontattack");
t.actnow = "frontattack";
t.d = 135;
t.onEnterFrame = function () {
t.cekbossplayercollide(200, 150);
t.bosscekenergy();
t.d--;
((!t.d) ? (t.bossthink()) : null);
};
};
MovieClip.prototype.initskullfly3 = function () {
var t = this;
t.updepth();
t.dis = 50;
t.onEnterFrame = function () {
t._x = t._x + t.xs;
t._y = t._y + t.ys;
t.cekbodypcollide();
(((((t._y < (r.ymin - t.dis)) or (t._y > (r.ymax + t.dis))) or (t._x < (-t.dis))) or (t._x > (r.screenwid + t.dis))) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.makeskullfly3 = function (ang) {
var _local2 = rad(ang);
var _local4 = 100;
var _local5 = 20;
var _local3 = Math.cos(_local2);
var _local1 = Math.sin(_local2);
var _local7 = _local3 * _local4;
var _local6 = _local1 * _local4;
var _local10 = _local3 * _local5;
var _local9 = _local1 * _local5;
m.attachMovie("skullfly3", "skullfly3" + r.bd, r.bd, {_x:boss._x + _local7, _y:(boss._y - 220) + _local6, xs:_local10, ys:_local9, _rotation:ang});
r.bd++;
r.zdevilskull.start();
};
MovieClip.prototype.popbossenergybar = function () {
stat.attachMovie("bossenergybar", "bossenergybar", r.popd, {_x:275, _y:450});
r.popd++;
};
MovieClip.prototype.initcolumn = function () {
var t = this;
t.ys = 5;
t.grav = 1.5;
t.onEnterFrame = function () {
t.ys = t.ys + t.grav;
t._y = t._y + t.ys;
t.cekbodypcollide();
if (t._y > bossland._y) {
r.zcrash.start();
t._y = bossland._y;
t.d = 30;
t.onEnterFrame = function () {
t.d--;
((t.d < 5) ? ((t._alpha = t._alpha - 20)) : null);
((!t.d) ? (t.removeMovieClip()) : null);
};
}
};
};
MovieClip.prototype.initcaesar = function () {
var t = this;
_global.boss = this;
t.id = "caesar";
t.energy = (t.energynow = (t.energymax = 520));
t.dep = 14010;
t.onEnterFrame = function () {
if ((Math.abs(p._y - bossland._y) < 10) and (p._y < r.ymax)) {
popbossenergybar();
r.zhorses.start(0, 99999);
r.zhorses.setVolume = 0;
t.a.gotoAndStop("run");
t._x = -150;
t._y = bossland._y;
t.xs = (t.xspeed = 12);
t.xmin = -200;
t.xmax = r.screenwid + 200;
t.attackdelay = 200;
t.ad = 0;
t.onEnterFrame = function () {
if (!t.ad) {
t._x = t._x + t.xs;
if ((t._x > t.xmax) or (t._x < t.xmin)) {
t._x = Math.min(t.xmax, Math.max(t.xmin));
t._xscale = -t._xscale;
t.xs = -t.xs;
t.ad = t.attackdelay;
}
t.cekbodypcollide();
t.bosscekenergy();
} else {
t.ad--;
if ((t.ad > 60) and t.ad.isMultipleOf(24)) {
m.attachMovie("column", "column" + r.bd, r.bd, {_x:30 + (10 * random(49)), _y:r.ymin});
r.bd++;
}
}
(((t._x > 0) and (t._x < r.screenwid)) ? ((t.vol = 100)) : ((t.vol = 0)));
var _local1 = r.zhorses.getVolume();
r.zhorses.setVolume(_local1 + ((t.vol - _local1) / 2));
};
}
};
};
MovieClip.prototype.initbosslawyer = function () {
var t = this;
_global.boss = this;
r.lawyerface = [1, 2, 3, 4, 5, 6, 7];
t.dep = 14010;
t.need2make = (t.need2kill = (t.energymax = (t.energy = 70)));
t.onEnterFrame = function () {
if ((Math.abs(p._y - bossland._y) < 10) and (p._y < r.ymax)) {
popbossenergybar();
t.lawyerdelay = 20;
t.flip = 1;
t.d = 1;
t.onEnterFrame = function () {
t.d--;
if (!t.d) {
if (t.need2make) {
t.flip = !t.flip;
if (r.energy > 50) {
t.d = 10 + random(10);
} else {
t.d = t.lawyerdelay + random(10);
}
t.lawyerdelay = Math.min(50, t.lawyerdelay + 2);
((random(100) > 50) ? ((lawyermc = "lawyer1")) : ((lawyermc = "lawyer2")));
if (random(100) > 50) {
t.yy = bossland._y - 200;
} else {
t.yy = bossland._y - 10;
}
m.attachMovie(lawyermc, "lawyer" + t.dep, t.dep, {_x:(t.flip ? -30 : 580), _y:t.yy, no:getrandom("lawyerface")});
t.dep++;
t.need2make--;
} else {
t.onEnterFrame = function () {
t.energy = t.need2kill;
((!t.need2kill) ? (t.bosslose(30)) : null);
};
}
}
t.energy = t.need2kill;
};
}
};
};
MovieClip.prototype.initlawyer = function () {
var _local2 = this;
r.enemy.push(_local2);
_local2.id = "lawyer";
_local2.energy = (_local2.energynow = (_local2.energymax = 40));
_local2.xspeed = 5;
_local2.jumpspeed = -20;
_local2.xmin = -100;
_local2.xmax = r.screenwid + 100;
_local2.grav = 2;
if (_local2._y < (bossland._y - 100)) {
if (_local2._x < 200) {
_local2.bosslawyerjump(-25, _local2.xspeed);
} else {
_local2.bosslawyerjump(-25, -_local2.xspeed);
}
} else if (_local2._x < 200) {
_local2.pattern = ["run2rightcorner", "jumpleft", "run2leftcorner"];
_local2.bossjump(-2, _local2.xspeed);
} else {
_local2.pattern = ["run2leftcorner", "jumpright", "run2rightcorner"];
_local2.bossjump(-2, -_local2.xspeed);
}
};
MovieClip.prototype.initbriefcase = function () {
var t = this;
t.power = 10;
t.grav = 1.5;
t.uda = 0;
t.onEnterFrame = function () {
t.ys = t.ys + t.grav;
t._x = t._x + t.xs;
t._y = t._y + t.ys;
t._rotation = t._rotation + (2 * t.xs);
if (!t.uda) {
t.res = cekhitpix(t, p);
(t.res ? ((r.hit = {mc:t, tipe:2, power:t.power})(t.uda = 1)) : null);
}
((t._y > (r.ymax + 20)) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.bosslawyerjump = function (ys, xs) {
var t = this;
t.a.gotoAndStop("jump");
t.plat = 0;
t.ys = ys;
t.xs = xs;
((t.xs > 0) ? ((t._xscale = 100)) : ((t._xscale = -100)));
t.onEnterFrame = function () {
t.ys = t.ys + t.grav;
t.ny = t._y + t.ys;
t.nx = t._x + t.xs;
t.cekbodypcollide();
t.bosscekenergy();
t.enemydetectlanding();
t._y = t.ny;
t._x = t.nx;
(t.plat ? (t.bosslawyerwalk()) : null);
};
};
MovieClip.prototype.bosslawyerwalk = function () {
var t = this;
t.a.gotoAndStop("run");
t.xs = ((t._xscale < 100) ? (-t.xspeed) : (t.xspeed));
t.xmin = t.plat._x + t.plat.bx1;
t.xmax = t.plat._x + t.plat.bx2;
((r.energy > 50) ? ((t.attackdelay = 60)) : (((r.energy > 30) ? ((t.attackdelay = 80)) : ((t.attackdelay = 100)))));
t.ad = t.attackdelay + random(30);
t.onEnterFrame = function () {
t.xmove();
t._y = getlandpos(t._x, t.plat);
t.cekbodypcollide();
t.bosscekenergy();
t.ad--;
if (!t.ad) {
t.a.gotoAndStop("attack");
((p._x > t._x) ? ((t._xscale = 100)) : ((t._xscale = -100)));
t.d = 25;
t.onEnterFrame = function () {
t.d--;
if (t.d == 4) {
((t._xscale > 0) ? ((t.sign = 1)) : ((t.sign = -1)));
m.attachMovie("briefcase", "briefcase" + r.bd, r.bd, {_x:t._x + (t.sign * 50), _y:t._y - 70, xs:t.sign * (7 + random(8)), ys:0});
r.bd++;
}
((!t.d) ? (t.bosslawyerwalk()) : null);
};
}
};
};
MovieClip.prototype.initbsod = function () {
var t = this;
_global.bsod = t;
t._visible = false;
t.onEnterFrame = function () {
if (boss.energy < 350) {
t.d = (t.delay = 5);
t.onEnterFrame = function () {
t.d--;
((t.d < 0) ? ((t._visible = !t._visible)(t._visible ? ((t.d = 1 + random(5))r.zbsod.start()) : ((t.d = t.delay + random(20))))) : null);
(t.visible ? ((t.a._x = -2 + random(5))(t.a._y = -2 + random(5))) : null);
};
}
};
};
MovieClip.prototype.initwinlogo = function (energy) {
var t = this;
r.enemy.push(t);
t.energy = (t.energynow = (t.energymax = energy));
t.updepth();
t.xmin = 33;
t.xmax = r.screenwid - 33;
t.speed = 8;
t.angle = rad(random(360));
t.xs = Math.cos(t.angle) * t.speed;
t.ys = Math.sin(t.angle) * t.speed;
t.ska = 10;
t._xscale = (t._yscale = t.ska);
stat.attachMovie("bsod", "bsod", 29900, {_x:r.screenwid / 2, _y:r.screenhei / 2});
t.onEnterFrame = function () {
if (t.ska < 100) {
t.ska = Math.min(100, t.ska * 1.2);
t._xscale = (t._yscale = t.ska);
}
t.ymin = r.ymin + 35;
t.ymax = r.ymax - 35;
t._x = t._x + t.xs;
t._y = t._y + t.ys;
((t._x > t.xmax) ? ((t._x = t.xmax)(t.xs = -t.xs)) : null);
((t._x < t.xmin) ? ((t._x = t.xmin)(t.xs = -t.xs)) : null);
((t._y > t.ymax) ? ((t._y = t.ymax)(t.ys = -t.ys)) : null);
((t._y < t.ymin) ? ((t._y = t.ymin)(t.ys = -t.ys)) : null);
t.cekbodypcollide();
t.res = t.cekenergy();
};
};
MovieClip.prototype.initpc = function () {
_global.boss = this;
var t = this;
t.id = "pc";
t.pattern = ["pcappear", "pcattack", "pcdisappear"];
t.swapDepths(14010);
t.energy = (t.energynow = (t.energymax = 1600));
t.xspeed = 3;
t.xmin = 140;
t.xmax = r.screenwid - 140;
t.onEnterFrame = function () {
if ((Math.abs(p._y - bossland._y) < 10) and (p._y < r.ymax)) {
popbossenergybar();
t.bossthink();
}
};
};
MovieClip.prototype.bosspcappear = function () {
var t = this;
t.actnow = "appear";
t.a.gotoAndStop("appear");
var _local3 = [];
var _local2 = 0;
while (_local2 < r.all.length) {
(((r.all[_local2]._y > (bossland._y - 300)) and (r.all[_local2]._y < bossland._y)) ? (_local3.push(r.all[_local2])) : null);
_local2++;
}
_local3.randomize();
t.plat = _local3.pop();
t._y = t.plat._y - 14;
t._x = t.plat._x;
t.d = 20;
r.zpc.start();
t.onEnterFrame = function () {
t.d--;
((!t.d) ? (t.bossthink()) : null);
};
};
MovieClip.prototype.bosspcdisappear = function () {
var t = this;
t.actnow = "disappear";
t.a.gotoAndStop("disappear");
t.d = 20;
t.onEnterFrame = function () {
t.d--;
((!t.d) ? (t.bossthink()) : null);
};
};
MovieClip.prototype.bosspcattack = function () {
var t = this;
t.actnow = "attack";
t.a.gotoAndStop("attack");
t.d = 20;
t.onEnterFrame = function () {
t.d--;
if ((t.d == 10) and (r.enemy.length < 15)) {
m.attachMovie("winlogo", "winlogo" + r.bd, r.bd, {_x:t._x, _y:t._y - 30});
r.bd++;
}
((!t.d) ? (t.bossthink()) : null);
t.cekbossplayercollide(100, 150);
t.bosscekenergy();
};
};
MovieClip.prototype.initdracula = function () {
_global.boss = this;
var t = this;
t.id = "dracula";
t.pattern = ["dappear", "run", "strike", "run", "transform"];
t.swapDepths(14010);
t.energy = (t.energynow = (t.energymax = 2400));
t.xspeed = 3;
t.xmin = 140;
t.xmax = r.screenwid - 140;
t.striketime = 24;
t.strikehitdelay = 7;
t.strikepower = 20;
t.onEnterFrame = function () {
if ((Math.abs(p._y - bossland._y) < 10) and (p._y < r.ymax)) {
popbossenergybar();
t.bossthink();
}
};
};
MovieClip.prototype.bossdappear = function () {
var t = this;
t.actnow = "appear";
t.a.gotoAndStop("appear");
t._y = bossland._y - 270;
t._x = 150 + random(250);
t.d = 28;
t.onEnterFrame = function () {
t.d--;
((!t.d) ? (t.bossthink()) : null);
};
};
MovieClip.prototype.bosstransform = function () {
var t = this;
t.actnow = "transform";
t.a.gotoAndStop("transform");
t.batpos = [{xx:-86, yy:-58}, {xx:-108, yy:-36}, {xx:-73, yy:-40}, {xx:-51, yy:-47}, {xx:-27, yy:-42}, {xx:-3, yy:-41}, {xx:1, yy:-6}, {xx:21, yy:-44}, {xx:44, yy:-45}, {xx:71, yy:-43}, {xx:88, yy:-61}, {xx:100, yy:-41}];
t.d = 30;
t.onEnterFrame = function () {
t.d--;
if (t.d == 5) {
while (t.batpos.length) {
var _local1 = t.batpos.pop();
m.attachMovie("batdracula", "bat" + r.bd, r.bd, {_x:t._x + _local1.xx, _y:t._y + _local1.yy});
r.bd++;
}
}
if (!t.d) {
t.ok = 0;
t.d = 20;
t.onEnterFrame = function () {
t.d--;
if (!t.d) {
t.ok = 1;
}
if (t.ok) {
t.bossthink();
}
};
}
};
};
MovieClip.prototype.simplewander = function () {
var _local2 = this;
if (_local2.d > 0) {
_local2.d--;
_local2.ang = _local2.ang + random(_local2.range);
((_local2.ang > 360) ? ((_local2.ang = _local2.ang - 360)) : null);
} else {
_local2.d++;
_local2.ang = _local2.ang - random(_local2.range);
((_local2.ang < 0) ? ((_local2.ang = _local2.ang + 360)) : null);
}
if (!_local2.d) {
_local2.d = 10 + random(40);
((random(100) > 50) ? ((_local2.d = -_local2.d)) : null);
}
_local2.rang = rad(_local2.ang);
_local2.xs = Math.cos(_local2.rang) * _local2.speed;
_local2.ys = Math.sin(_local2.rang) * _local2.speed;
_local2._x = _local2._x + _local2.xs;
_local2._y = _local2._y + _local2.ys;
((_local2.xs > 0) ? ((_local2._xscale = 100)) : ((_local2._xscale = -100)));
};
MovieClip.prototype.initdebris2bossland = function (ys) {
var t = this;
((!ys) ? (ys = -10) : null);
t.ys = ys;
t.ro = 15 + random(5);
t.grav = 0.7;
t._rotation = 20;
t.onEnterFrame = function () {
t.ys = t.ys + t.grav;
t.ny = t._y + t.ys;
t._rotation = t._rotation + t.ro;
if (t.ny > bossland._y) {
t.ny = bossland._y;
t.ys = t.ys * -0.5;
t._rotation = 0;
t.ro = -1;
}
t._y = t.ny;
((t._y < (r.ymin - t._height)) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.initwitch = function () {
_global.boss = this;
var t = this;
t.id = "witch";
t.pattern = ["flyleft", "flyright", "fly"];
t.swapDepths(14010);
t.energy = (t.energynow = (t.energymax = 770));
t.xmin = -8888;
t.xmax = 8888;
t.speed = 8;
t.range = 4;
t.ang = random(360);
t.d = 1;
t.sd = (t.spiderdelay = 6);
t.onEnterFrame = function () {
if ((Math.abs(p._y - bossland._y) < 10) and (p._y < r.ymax)) {
popbossenergybar();
t.fxmin = 0;
t.fxmax = r.screenwid;
t.fymin = bossland._y - 320;
t.fymax = bossland._y - 180;
t._y = bossland._y - 250;
t._x = -50;
t.bossthink();
}
};
};
MovieClip.prototype.bossflyleft = function () {
var t = this;
t._xscale = 100;
r.zwitch1.start();
t.onEnterFrame = function () {
t._x = t._x + t.speed;
t.cekbossplayercollide(120, 150);
t.bosscekenergy();
t.sd--;
((t.sd < 0) ? ((t.sd = t.spiderdelay + random(8))make(39, t._x, t._y)) : null);
((t._x > (r.screenwid + t._width)) ? (t.bossthink()) : null);
};
};
MovieClip.prototype.bossflyright = function () {
var t = this;
t._xscale = -100;
r.zwitch2.start();
t.onEnterFrame = function () {
t._x = t._x - t.speed;
t.cekbossplayercollide(120, 150);
t.bosscekenergy();
t.sd--;
((t.sd < 0) ? ((t.sd = t.spiderdelay + random(8))make(39, t._x, t._y)) : null);
((t._x < (-t._width)) ? (t.bossthink()) : null);
};
};
MovieClip.prototype.bossfly = function () {
var t = this;
t.d = 200 + random(100);
t.onEnterFrame = function () {
t.simplewander();
t.cekflylimits();
t.cekbossplayercollide(120, 150);
t.bosscekenergy();
t.d--;
((!t.d) ? (t.bossthink()) : null);
};
};
MovieClip.prototype.cekflylimits = function () {
var _local2 = this;
if (_local2._x < _local2.fxmin) {
_local2._x = _local2.fxmin;
_local2.ang = 0;
_local2.d = 10 + random(40);
} else if (_local2._x > _local2.fxmax) {
_local2._x = _local2.fxmax;
_local2.ang = 180;
_local2.d = 10 + random(40);
}
if (_local2._y < _local2.fymin) {
_local2._y = _local2.fymin;
_local2.ang = _local2.ang + 180;
_local2.d = 10 + random(40);
} else if (_local2._y > _local2.fymax) {
_local2._y = _local2.fymax;
_local2.ang = _local2.ang + 180;
_local2.d = 10 + random(40);
}
};
MovieClip.prototype.initwheel = function () {
var t = this;
t.onEnterFrame = function () {
if (boss.actnow == "run") {
((boss._xscale > 0) ? ((t._rotation = t._rotation + (2 * boss.xs))) : ((t._rotation = t._rotation - (2 * boss.xs))));
}
};
};
MovieClip.prototype.bosshitlershoot = function (nextfunction) {
var t = this;
t.a.gotoAndStop("attack");
t.actnow = "attack";
((t._x > (r.screenwid / 2)) ? ((t._xscale = -100)) : ((t._xscale = 100)));
t.sd = 1;
t.ammo = t.attackammo;
t.atime = t.attacktime;
t.onEnterFrame = function () {
t.sd--;
if (!t.sd) {
t.sd = t.shotdelay;
if (((t._xscale > 0) and ((p._x - t._x) > 120)) and ((p._x - t._x) < 300)) {
var _local5 = {xx:t._x + 45, yy:t._y - 93};
var _local3 = deg(Math.atan2((p._y - 50) - _local5.yy, p._x - _local5.xx));
} else if (((t._xscale < 0) and ((t._x - p._x) > 120)) and ((t._x - p._x) < 300)) {
var _local5 = {xx:t._x - 45, yy:t._y - 93};
var _local3 = 180 - deg(Math.atan2((p._y - 50) - _local5.yy, p._x - _local5.xx));
} else {
var _local2 = [0, -10, 10];
_local2.randomize();
var _local3 = _local2.pop();
}
t.a.a.a.cannon._rotation = _local3;
var _local1 = _local3;
((t._xscale < 0) ? (_local1 = 180 - _local1) : null);
}
if (t.sd == t.shotdelay) {
var _local4 = localpos(wp2, m);
m.attachMovie(t.bulletname, "o" + r.bd, r.bd, {_x:_local4.xx, _y:_local4.yy, _rotation:_local1});
r.bd++;
r[t.bulletsfx].start();
t.ammo--;
((t.ammo <= 0) ? ((t.sd = 99999)) : null);
}
t.atime--;
if (!t.atime) {
((nextfunction == undefined) ? (t.bossthink()) : (t[nextfunction]()));
}
t.cekbossplayercollide(120, 150);
t.bosscekenergy();
};
};
MovieClip.prototype.inithitler = function () {
_global.boss = this;
var t = this;
t.id = "hitler";
t.pattern = ["runoutright", "runinright", "hitlershoot", "runoutleft", "runinleft", "hitlershoot"];
t.swapDepths(14010);
t.energy = (t.energynow = (t.energymax = 550));
t.xspeed = 9;
t.xmin = -8888;
t.xmax = 8888;
t.attacktime = 110;
((r.energy > 50) ? ((t.shotdelay = 15 - random(6))) : ((t.shotdelay = 15)));
t.bulletlaunch = 3;
t.bulletname = "bullethitler";
t.bulletsfx = "zcannon";
t.attackammo = 6;
t.shoot = 0;
t.onEnterFrame = function () {
if ((Math.abs(p._y - bossland._y) < 10) and (p._y < r.ymax)) {
popbossenergybar();
t._y = bossland._y;
t.bossthink();
r.ztank.start(0, 99999);
}
};
};
MovieClip.prototype.initgrimreaper = function () {
_global.boss = this;
var t = this;
t.id = "grim";
t.pattern = ["appear", "strike", "disappear"];
t.swapDepths(14010);
t.energy = (t.energynow = (t.energymax = 1000));
t.xspeed = 4;
t.xmin = 30;
t.xmax = r.screenwid - 30;
t.grav = 2;
t.striketime = 18;
t.strikehitdelay = 9;
t.strikepower = 10;
t.onEnterFrame = function () {
if ((Math.abs(p._y - bossland._y) < 10) and (p._y < r.ymax)) {
popbossenergybar();
t._y = bossland._y;
t.bossthink();
}
};
};
MovieClip.prototype.bossappear = function () {
var t = this;
t.actnow = "appear";
t.a.gotoAndStop("stand");
t._alpha = 0;
t.dx = 80;
((p._x > (r.screenwid / 2)) ? ((t._x = p._x - t.dx)) : ((t._x = p._x + t.dx)));
t.blurx = 20;
t.blury = 100;
t.filters = [new flash.filters.BlurFilter(t.blurx, t.blury, 1)];
t.d = 80;
r.zbossappear.start();
r.zgrim.start();
((r.energy > 70) ? ((t.randomlimit = 20)) : (((r.energy > 50) ? ((t.randomlimit = 35)) : ((t.randomlimit = 50)))));
if (random(100) > t.randomlimit) {
t.blurdiv = 0.9;
} else {
t.blurdiv = 0.95;
}
t.onEnterFrame = function () {
t._alpha = Math.min(100, t._alpha + 2);
t.blury = Math.floor(t.blury * t.blurdiv);
t.blurx = Math.floor(t.blurx * t.blurdiv);
t.filters = [new flash.filters.BlurFilter(t.blurx, t.blury, 1)];
((t._alpha > 80) ? (t.cekbossplayercollide(80, 150)) : null);
if (((t.blurx + t.blury) == 0) or (t.d < 0)) {
t.filters = null;
t._alpha = 100;
t.delay = 1 + (random(4) * 4);
t.onEnterFrame = function () {
t.delay--;
((!t.delay) ? (t.bossthink()) : null);
};
}
};
};
MovieClip.prototype.bossdisappear = function () {
var t = this;
t.blurx = 1;
t.blury = 1;
t.blurxmax = 20;
t.blurymax = 100;
t.filters = [new flash.filters.BlurFilter(t.blurx, t.blury, 1)];
r.zbossdisappear.start();
t.d = 80;
t.onEnterFrame = function () {
((t.blury > 50) ? ((t._alpha = Math.max(0, t._alpha - 20))) : null);
t.blury = Math.min(t.blurymax, Math.ceil(t.blury * 1.1));
t.blurx = Math.min(t.blurxmax, Math.ceil(t.blurx * 1.05));
t.filters = [new flash.filters.BlurFilter(t.blurx, t.blury, 1)];
((t._alpha > 50) ? (t.cekbossplayercollide(80, 150)) : null);
if ((t._alpha <= 0) or (t.d < 0)) {
t._x = -8000;
t.filters = null;
t._alpha = 100;
t.bossthink();
}
};
};
MovieClip.prototype.initgrinchbomb = function () {
var t = this;
t.hit = 0;
t.grav = 1.5;
if ((r.energy > 30) or (random(100) > 50)) {
var _local2 = 17;
if ((t._y - p._y) < 100) {
((Math.abs(p._x - t._x) < 200) ? (((Math.abs(p._x - t._x) < 50) ? (_local2 = 0) : (_local2 = 10))) : null);
((Math.abs(p._x - t._x) > 350) ? (_local2 = 23) : null);
}
} else {
var _local2 = 10 + random(12);
}
t.angrad = rad((t._rotation - 10) + random(20));
t.xs = Math.cos(t.angrad) * _local2;
t.ys = Math.sin(t.angrad) * _local2;
t.onEnterFrame = function () {
t.ys = t.ys + t.grav;
t._x = t._x + t.xs;
t._y = t._y + t.ys;
t.res = t.a.a.cekhitpix(p);
if (!t.res) {
(bossland ? ((t.res = cekhitpix(t.a.a, bossland))) : null);
}
if (t.res) {
enemyexplosion(t._x, t._y);
t.removeMovieClip();
} else if ((((t._y < r.ymin) or (t._y > r.ymax)) or (t._x < 0)) or (t._x > r.screenwid)) {
t.removeMovieClip();
}
};
};
MovieClip.prototype.enemyexplosion = function (xx, yy) {
m.attachMovie("enemyexplosion", "enemyexplosion" + r.bd, r.bd, {_x:xx, _y:yy});
r.bd++;
r.zexplode2.start();
};
MovieClip.prototype.initenemyexplosion = function () {
var t = this;
t.d = 3;
t.power = 20;
t.radius = 120;
t.radius2 = t.radius * t.radius;
t.onEnterFrame = function () {
t.d--;
if (!t.d) {
var _local2 = p._x - t._x;
var _local1 = p._y - t._y;
((((_local2 * _local2) + (_local1 * _local1)) < t.radius2) ? ((r.hit = {mc:t, tipe:2, power:t.power})) : null);
}
};
};
MovieClip.prototype.initgrinch = function () {
_global.boss = this;
var t = this;
t.id = "grinch";
t.pattern = ["run2leftcorner", "attack", "stand", "attack", "stand", "attack", "run", "attack", "run2middle", "attack", "jumpright", "attack", "run2rightcorner", "attack", "stand", "attack", "stand", "attack", "run2middle", "attack", "jumpleft"];
t.swapDepths(14010);
t.energy = (t.energynow = (t.energymax = 2200));
t.xspeed = 4;
t.jumpspeed = -25;
t.xmin = 30;
t.xmax = r.screenwid - 30;
t.grav = 2;
t.attacktime = 10;
t.attackammo = 4;
t.shotdelay = 10;
t.bulletlaunch = 5;
t.bulletname = "grinchbomb";
t.bulletsfx = "zthrow";
t.onEnterFrame = function () {
if ((Math.abs(p._y - bossland._y) < 10) and (p._y < r.ymax)) {
popbossenergybar();
t._y = bossland._y;
t._x = -50;
t.bossmoveintoscene();
}
};
};
MovieClip.prototype.bossmoveintoscene = function () {
var t = this;
t.a.gotoAndStop("run");
t.actnow = "run";
((t._x < 200) ? ((t.xx = 100)(t.xs = t.xspeed)(t._xscale = 100)) : ((t.xx = r.screenwid - 100)(t.xs = -t.xspeed)(t._xscale = -100)));
t.onEnterFrame = function () {
t._x = t._x + t.xs;
((Math.abs(t._x - t.xx) < (2 * t.xspeed)) ? (t.bossthink()) : null);
t.cekbossplayercollide(120, 150);
t.bosscekenergy();
};
};
MovieClip.prototype.initsaddam = function () {
_global.boss = this;
var t = this;
t.id = "saddam";
t.pattern = ["run2leftcorner", "stand", "attack", "stand", "run", "run2middle", "jumpright", "run2rightcorner", "stand", "attack", "stand", "run2middle", "jumpleft"];
t.swapDepths(14010);
t.energy = (t.energynow = (t.energymax = 1280));
t.xspeed = 7;
t.jumpspeed = -38;
t.xmin = 30;
t.xmax = r.screenwid - 30;
t.grav = 2;
t.attacktime = 40;
t.shotdelay = 10;
t.bulletlaunch = 5;
t.bulletname = "bulletsaddam";
t.bulletsfx = "zbullet1";
t.attackammo = 4;
t.shoot = 0;
t.onEnterFrame = function () {
if ((Math.abs(p._y - bossland._y) < 10) and (p._y < r.ymax)) {
popbossenergybar();
t._y = bossland._y - 10;
t.bossjump(-30, -t.xspeed);
}
};
};
MovieClip.prototype.initenemybullet = function (power, speed) {
var t = this;
t.hit = 0;
t.power = power;
t.angrad = rad(t._rotation);
t.xs = Math.cos(t.angrad) * speed;
t.ys = Math.sin(t.angrad) * speed;
t.onEnterFrame = function () {
t._x = t._x + t.xs;
t._y = t._y + t.ys;
t.res = t.cekhitpzone(p.z, dx, dy);
if (t.res) {
r.hit = {mc:t, tipe:2, power:t.power};
t.removeMovieClip();
} else if ((((t._y < r.ymin) or (t._y > r.ymax)) or (t._x < 0)) or (t._x > r.screenwid)) {
t.removeMovieClip();
}
};
};
MovieClip.prototype.bosscekenergy = function () {
var _local2 = this;
if (_local2.energynow != _local2.energy) {
_local2.energynow = _local2.energy;
r.zhit2.start();
_local2.tint(5);
if (_local2.energy <= 0) {
var _local3 = 0;
if (((_local2.id == "saddam") or (_local2.id == "grinch")) or (_local2.id == "dracula")) {
(((_local2.actnow == "run") or (_local2.actnow == "stand")) ? (_local3 = 1) : null);
} else if (_local2.id == "hitler") {
((_local2.actnow == "attack") ? (_local3 = 1) : null);
} else if (_local2.id == "witch") {
(((_local2._x > 50) and (_local2._x < (r.screenwid - 50))) ? (_local3 = 1) : null);
} else if (_local2.id == "caesar") {
(((_local2._x > 150) and (_local2._x < (r.screenwid - 150))) ? (_local3 = 1) : null);
} else {
_local3 = 1;
}
if (_local3) {
_local2.a.gotoAndStop("die");
stoploopsfx();
if (_local2.id == "lawyer") {
m.attachMovie("explosion", "explosion" + r.bd, r.bd, {_x:_local2._x, _y:_local2._y});
r.bd++;
r.zexplode2.start();
boss.need2kill--;
_local2.removeMovieClip();
} else {
_local2.bosslose();
}
}
}
}
};
MovieClip.prototype.bosslose = function (delay) {
var t = this;
delete stat.timer.onEnterFrame;
stat.timer.gotoAndStop(1);
((delay == undefined) ? (delay = 120) : null);
t.d = delay;
r.ang = r.ang + r.bosskilledscore;
t.onEnterFrame = function () {
t.d--;
((t.d == 60) ? (laugh()) : null);
if (!t.d) {
if (r.level < r.levelmax) {
_global.boss = null;
r.popwindoor = 1;
} else {
r.noshoot = 99999 /* 0x01869F */;
}
stat.bossenergybar.disappear();
popwininfo();
}
((t._y < (r.ymin - t._height)) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.bossstrike = function (nextfunction) {
var t = this;
t.a.gotoAndStop("attack");
t.actnow = "attack";
t.faceplayer();
t.stime = t.striketime;
t.onEnterFrame = function () {
if (t.stime == t.strikehitdelay) {
(cekhitpix(t, p) ? ((r.hit = {mc:t, tipe:2, power:t.strikepower})) : null);
}
t.stime--;
if (!t.stime) {
((nextfunction == undefined) ? (t.bossthink()) : (t[nextfunction]()));
}
t.cekbossplayercollide(120, 150);
t.bosscekenergy();
};
};
MovieClip.prototype.bossattack = function (nextfunction) {
var t = this;
t.a.gotoAndStop("attack");
t.actnow = "attack";
t.faceplayer();
t.sd = 1;
t.ammo = t.attackammo;
t.atime = t.attacktime;
t.onEnterFrame = function () {
t.sd--;
if (!t.sd) {
boss.shoot = 1;
t.sd = t.shotdelay;
}
if (t.sd == t.shotdelay) {
var _local2 = localpos(wp1, m);
var _local1 = localpos(wp2, m);
var _local3 = deg(Math.atan2(_local1.yy - _local2.yy, _local1.xx - _local2.xx));
m.attachMovie(t.bulletname, "o" + r.bd, r.bd, {_x:_local1.xx, _y:_local1.yy, _rotation:_local3});
r.bd++;
r[t.bulletsfx].start();
t.ammo--;
((t.ammo <= 0) ? ((t.sd = 99999)) : null);
}
t.atime--;
if (!t.atime) {
((nextfunction == undefined) ? (t.bossthink()) : (t[nextfunction]()));
}
t.cekbossplayercollide(120, 150);
t.bosscekenergy();
};
};
MovieClip.prototype.bossthink = function () {
var _local2 = this;
((!_local2.pattern2.length) ? ((_local2.pattern2 = [])(_local2.pattern2 = _local2.pattern.copy())) : null);
_local2["boss" + _local2.pattern2[0]]();
_local2.pattern2.shift();
};
MovieClip.prototype.cekbossplayercollide = function (dx, dy) {
var _local2 = this;
if (Math.abs(_local2._x - p._x) < dx) {
if (Math.abs(_local2._y - p._y) < dy) {
(_local2.a.z.hitTest(p.z) ? ((r.hit = {mc:_local2, tipe:1})) : null);
}
}
};
MovieClip.prototype.bossjumpright = function () {
var _local2 = this;
_local2.bossjump(_local2.jumpspeed, _local2.xspeed);
};
MovieClip.prototype.bossjumpleft = function () {
var _local2 = this;
_local2.bossjump(_local2.jumpspeed, -_local2.xspeed);
};
MovieClip.prototype.bossjump = function (ys, xs) {
var t = this;
t.a.gotoAndStop("jump");
t.actnow = "jump";
t.ys = ys;
t.xs = xs;
((t.xs < 0) ? ((t._xscale = -100)) : ((t._xscale = 100)));
t.yland = bossland._y;
t.onEnterFrame = function () {
t.xmove();
t.cekbossplayercollide(120, 150);
t.bosscekenergy();
t.ys = t.ys + t.grav;
t.ny = t._y + t.ys;
if (t.ny > t.yland) {
t.ny = t.yland;
t.ys = 0;
((t.id == "saddam") ? (r.zjumpland.start()) : null);
t.bossthink();
}
t._y = t.ny;
};
};
MovieClip.prototype.bossrun2leftcorner = function () {
var _local2 = this;
_local2.bossrun(40);
};
MovieClip.prototype.bossrun2rightcorner = function () {
var _local2 = this;
_local2.bossrun(r.screenwid - 40);
};
MovieClip.prototype.bossrunoutleft = function () {
var _local2 = this;
_local2._xscale = -100;
_local2.bossrun(-_local2._width);
};
MovieClip.prototype.bossrunoutright = function () {
var _local2 = this;
_local2._xscale = 100;
_local2.bossrun(r.screenwid + _local2._width);
};
MovieClip.prototype.bossruninleft = function () {
var _local2 = this;
_local2._xscale = 100;
_local2.bossrun(100);
};
MovieClip.prototype.bossruninright = function () {
var _local2 = this;
_local2._xscale = -100;
_local2.bossrun(r.screenwid - 100);
};
MovieClip.prototype.bossrun2middle = function () {
var _local2 = this;
_local2.bossrun(r.screenwid / 2);
};
MovieClip.prototype.bossrun = function (xx) {
var t = this;
t.a.gotoAndStop("run");
t.actnow = "run";
if (xx == undefined) {
t.xx = -8000;
((t._xscale > 0) ? ((t.xs = t.xspeed)) : ((t.xs = -t.xspeed)));
t.d = 60 + random(40);
} else {
t.xx = xx;
((t.xx > t._x) ? ((t.xs = t.xspeed)(t._xscale = 100)) : ((t.xs = -t.xspeed)(t._xscale = -100)));
t.d = 99999 /* 0x01869F */;
}
t.onEnterFrame = function () {
t.xmove();
((Math.abs(t._x - t.xx) < (2 * t.xspeed)) ? (t.bossthink()) : null);
t.cekbossplayercollide(200, 150);
t.bosscekenergy();
t.d--;
((!t.d) ? (t.bossthink()) : null);
};
};
MovieClip.prototype.bossstand = function () {
var t = this;
t.a.gotoAndStop("stand");
t.actnow = "stand";
t.d = 20 + random(20);
t.onEnterFrame = function () {
t.faceplayer();
t.cekbossplayercollide(200, 150);
t.bosscekenergy();
t.d--;
((!t.d) ? (t.bossthink()) : null);
};
};
Frame 13
pos1 = [{id:3, yy:262, xx:69}, {id:25, yy:388, xx:174}, {id:1, yy:496, xx:330}, {id:31, yy:522, xx:347, ro:180}, {id:34, yy:586, xx:576}, {id:34, yy:606, xx:-33}, {id:3, yy:630, xx:495}, {id:3, yy:718, xx:385}, {id:34, yy:768, xx:-32}, {id:34, yy:796, xx:576}, {id:2, yy:834, xx:251}, {id:31, yy:854, xx:243, ro:180}, {id:34, yy:918, xx:-27}, {id:3, yy:942, xx:102}, {id:34, yy:960, xx:576}, {id:34, yy:1092, xx:587}, {id:6, yy:1112, xx:195}, {id:31, yy:1244, xx:297, ro:180}, {id:34, yy:1296, xx:587}, {id:34, yy:1354, xx:-25}, {id:3, yy:1374, xx:494}, {id:34, yy:1510, xx:-33}, {id:9, yy:1514, xx:320}, {id:34, yy:1652, xx:598}, {id:34, yy:1652, xx:-27}, {id:2, yy:1672, xx:114}, {id:31, yy:1688, xx:155, ro:180}, {id:34, yy:1790, xx:587}, {id:3, yy:1814, xx:241}, {id:34, yy:1836, xx:-27}, {id:34, yy:1936, xx:567}, {id:1, yy:1976, xx:360}, {id:34, yy:2020, xx:-33}, {id:34, yy:2060, xx:618}, {id:4, yy:2144, xx:515}, {id:34, yy:2196, xx:-25}, {id:34, yy:2198, xx:606}, {id:5, yy:2334, xx:370}, {id:31, yy:2348, xx:409, ro:180}, {id:31, yy:2360, xx:142, ro:180}, {id:34, yy:2388, xx:587}, {id:3, yy:2466, xx:30}, {id:34, yy:2504, xx:567}, {id:89, yy:2590, xx:136}, {id:3, yy:2604, xx:144}, {id:34, yy:2720, xx:570}, {id:1, yy:2742, xx:317}, {id:34, yy:2776, xx:-23}, {id:34, yy:2848, xx:570}, {id:82, yy:2880, xx:498}, {id:4, yy:2892, xx:497}, {id:7, yy:2968, xx:545}, {id:34, yy:2972, xx:-25}, {id:34, yy:2980, xx:567}, {id:34, yy:3122, xx:-33}, {id:3, yy:3236, xx:215}, {id:34, yy:3318, xx:-35}, {id:34, yy:3318, xx:570}, {id:32, yy:3430, xx:323}, {id:5, yy:3446, xx:170}, {id:31, yy:3452, xx:237, ro:180}, {id:31, yy:3464, xx:47, ro:180}, {id:1, yy:3608, xx:594}, {id:34, yy:3714, xx:576}, {id:3, yy:3772, xx:451}, {id:34, yy:3776, xx:-25}, {id:81, yy:3892, xx:322}, {id:2, yy:3906, xx:322}, {id:34, yy:3930, xx:570}, {id:41, yy:3952, xx:48}, {id:34, yy:4030, xx:588}, {id:5, yy:4070, xx:-68}, {id:31, yy:4072, xx:171, ro:180}, {id:42, yy:4276, xx:502}, {id:3, yy:4376, xx:504}, {id:9, yy:4490, xx:401}, {id:34, yy:4562, xx:-29}, {id:34, yy:4632, xx:576}, {id:32, yy:4640, xx:217}, {id:2, yy:4652, xx:219}, {id:34, yy:4678, xx:-29}, {id:31, yy:4688, xx:256, ro:180}, {id:34, yy:4762, xx:576}, {id:1, yy:4822, xx:-26}, {id:34, yy:4892, xx:573}, {id:34, yy:4984, xx:-23}, {id:4, yy:4986, xx:139}, {id:34, yy:5098, xx:576}, {id:3, yy:5122, xx:226}, {id:34, yy:5214, xx:-25}, {id:2, yy:5262, xx:380}, {id:31, yy:5266, xx:404, ro:180}, {id:34, yy:5356, xx:-24}, {id:6, yy:5470, xx:105}, {id:3, yy:5486, xx:494}, {id:84, yy:5490, xx:25}, {id:34, yy:5492, xx:578}, {id:34, yy:5506, xx:-32}, {id:31, yy:5572, xx:171, ro:180}, {id:34, yy:5620, xx:578}, {id:31, yy:5640, xx:321, ro:180}, {id:4, yy:5734, xx:423}, {id:34, yy:5752, xx:576}, {id:89, yy:5872, xx:501}, {id:3, yy:5884, xx:509}, {id:2, yy:6056, xx:429}, {id:83, yy:6198, xx:245}, {id:3, yy:6210, xx:278}, {id:4, yy:6314, xx:177}, {id:25, yy:6316, xx:370}, {id:49, yy:6322, xx:54}, {id:21, yy:6414, xx:270}, {id:71, yy:6418, xx:-74}];
pos2 = [{id:50, yy:226, xx:277}, {id:88, yy:322, xx:275}, {id:3, yy:330, xx:279}, {id:34, yy:406, xx:570}, {id:4, yy:434, xx:407}, {id:34, yy:494, xx:-29}, {id:34, yy:522, xx:566}, {id:31, yy:532, xx:325, ro:180}, {id:2, yy:544, xx:330}, {id:25, yy:624, xx:182}, {id:34, yy:646, xx:-33}, {id:34, yy:716, xx:576}, {id:3, yy:740, xx:84}, {id:34, yy:812, xx:576}, {id:32, yy:880, xx:314}, {id:31, yy:886, xx:180, ro:180}, {id:2, yy:890, xx:251}, {id:34, yy:964, xx:576}, {id:34, yy:974, xx:-27}, {id:10, yy:1028, xx:471}, {id:31, yy:1028, xx:440}, {id:25, yy:1160, xx:335}, {id:34, yy:1194, xx:570}, {id:34, yy:1212, xx:-29}, {id:3, yy:1290, xx:221}, {id:34, yy:1316, xx:573}, {id:34, yy:1318, xx:-25}, {id:41, yy:1406, xx:479}, {id:34, yy:1424, xx:567}, {id:4, yy:1434, xx:307}, {id:3, yy:1512, xx:481}, {id:4, yy:1554, xx:377}, {id:34, yy:1686, xx:573}, {id:42, yy:1704, xx:70}, {id:2, yy:1812, xx:98}, {id:34, yy:1812, xx:572}, {id:25, yy:1920, xx:256}, {id:34, yy:1962, xx:573}, {id:82, yy:1996, xx:492}, {id:34, yy:2002, xx:-25}, {id:4, yy:2010, xx:491}, {id:3, yy:2064, xx:386}, {id:31, yy:2090, xx:384}, {id:34, yy:2108, xx:-25}, {id:32, yy:2212, xx:217}, {id:2, yy:2230, xx:245}, {id:34, yy:2244, xx:567}, {id:34, yy:2368, xx:-25}, {id:4, yy:2392, xx:115}, {id:34, yy:2430, xx:565}, {id:5, yy:2536, xx:156}, {id:31, yy:2552, xx:334, ro:180}, {id:31, yy:2552, xx:58}, {id:31, yy:2552, xx:195, ro:180}, {id:31, yy:2564, xx:-72, ro:180}, {id:34, yy:2608, xx:567}, {id:4, yy:2686, xx:511}, {id:34, yy:2692, xx:370}, {id:89, yy:2784, xx:417}, {id:3, yy:2798, xx:425}, {id:34, yy:2864, xx:570}, {id:9, yy:2920, xx:567}, {id:34, yy:2920, xx:-23}, {id:34, yy:3080, xx:-25}, {id:34, yy:3088, xx:567}, {id:31, yy:3156, xx:514, ro:180}, {id:5, yy:3160, xx:376}, {id:31, yy:3172, xx:362}, {id:31, yy:3172, xx:152}, {id:31, yy:3206, xx:254, ro:180}, {id:8, yy:3272, xx:-41}, {id:81, yy:3480, xx:141}, {id:3, yy:3494, xx:142}, {id:34, yy:3502, xx:570}, {id:32, yy:3666, xx:235}, {id:32, yy:3674, xx:365}, {id:5, yy:3682, xx:170}, {id:31, yy:3688, xx:237, ro:180}, {id:31, yy:3700, xx:138}, {id:31, yy:3700, xx:47, ro:180}, {id:4, yy:3846, xx:489}, {id:34, yy:3884, xx:-25}, {id:34, yy:3898, xx:576}, {id:41, yy:3906, xx:130}, {id:7, yy:3948, xx:375}, {id:31, yy:3984, xx:481}, {id:31, yy:3986, xx:387, ro:180}, {id:34, yy:4038, xx:570}, {id:42, yy:4532, xx:428}, {id:3, yy:4634, xx:426}, {id:34, yy:4712, xx:-27}, {id:34, yy:4776, xx:576}, {id:32, yy:4784, xx:209}, {id:1, yy:4796, xx:211}, {id:34, yy:4822, xx:-29}, {id:31, yy:4832, xx:248, ro:180}, {id:34, yy:4906, xx:576}, {id:34, yy:4918, xx:-25}, {id:4, yy:4966, xx:36}, {id:34, yy:5036, xx:573}, {id:34, yy:5128, xx:-23}, {id:34, yy:5128, xx:584}, {id:4, yy:5130, xx:115}, {id:34, yy:5242, xx:576}, {id:25, yy:5268, xx:33}, {id:34, yy:5358, xx:-25}, {id:34, yy:5370, xx:584}, {id:4, yy:5410, xx:113}, {id:41, yy:5484, xx:461}, {id:7, yy:5558, xx:273}, {id:34, yy:5574, xx:585}, {id:84, yy:5624, xx:25}, {id:31, yy:5694, xx:211, ro:180}, {id:31, yy:5694, xx:313, ro:180}, {id:31, yy:5694, xx:261, ro:180}, {id:31, yy:5716, xx:171, ro:180}, {id:34, yy:5738, xx:590}, {id:34, yy:5878, xx:-23}, {id:34, yy:5944, xx:592}, {id:34, yy:6084, xx:-21}, {id:42, yy:6136, xx:161}, {id:89, yy:6226, xx:158}, {id:3, yy:6236, xx:163}, {id:4, yy:6380, xx:256}, {id:83, yy:6494, xx:373}, {id:3, yy:6506, xx:354}, {id:49, yy:6614, xx:484}, {id:72, yy:6702, xx:-77}, {id:21, yy:6710, xx:270}];
pos3 = [{id:50, yy:230, xx:439}, {id:88, yy:322, xx:437}, {id:3, yy:330, xx:441}, {id:34, yy:338, xx:-27}, {id:34, yy:416, xx:579}, {id:3, yy:472, xx:346}, {id:34, yy:492, xx:-33}, {id:34, yy:540, xx:580}, {id:25, yy:628, xx:431}, {id:34, yy:644, xx:575}, {id:34, yy:730, xx:571}, {id:10, yy:748, xx:260}, {id:31, yy:756, xx:246, ro:180}, {id:34, yy:764, xx:-35}, {id:34, yy:848, xx:575}, {id:4, yy:868, xx:100}, {id:34, yy:992, xx:586}, {id:19, yy:1022, xx:188, yk:478}, {id:2, yy:1026, xx:104}, {id:31, yy:1026, xx:59, ro:180}, {id:34, yy:1068, xx:-41}, {id:34, yy:1196, xx:577}, {id:34, yy:1300, xx:-35}, {id:34, yy:1380, xx:571}, {id:34, yy:1464, xx:-35}, {id:34, yy:1532, xx:571}, {id:34, yy:1616, xx:-35}, {id:8, yy:1654, xx:230}, {id:31, yy:1666, xx:204, ro:180}, {id:34, yy:1758, xx:563}, {id:83, yy:1802, xx:382}, {id:4, yy:1818, xx:380}, {id:34, yy:1842, xx:-43}, {id:9, yy:1938, xx:518}, {id:35, yy:1988, xx:464}, {id:41, yy:2026, xx:55}, {id:32, yy:2118, xx:166}, {id:5, yy:2128, xx:194}, {id:31, yy:2144, xx:373, ro:180}, {id:31, yy:2144, xx:97}, {id:31, yy:2144, xx:234, ro:180}, {id:31, yy:2156, xx:-33, ro:180}, {id:34, yy:2252, xx:564}, {id:34, yy:2408, xx:573}, {id:42, yy:2540, xx:259}, {id:34, yy:2642, xx:573}, {id:2, yy:2644, xx:205}, {id:34, yy:2704, xx:-38}, {id:3, yy:2806, xx:65}, {id:34, yy:2872, xx:579}, {id:34, yy:2934, xx:-32}, {id:34, yy:2942, xx:595}, {id:32, yy:3004, xx:278}, {id:5, yy:3020, xx:214}, {id:35, yy:3046, xx:366}, {id:31, yy:3054, xx:181}, {id:31, yy:3054, xx:440, ro:180}, {id:31, yy:3054, xx:90, ro:180}, {id:34, yy:3116, xx:-33}, {id:34, yy:3134, xx:573}, {id:19, yy:3190, xx:432, yk:704}, {id:3, yy:3196, xx:488}, {id:34, yy:3228, xx:568}, {id:34, yy:3304, xx:-32}, {id:34, yy:3344, xx:578}, {id:34, yy:3442, xx:585}, {id:34, yy:3478, xx:-41}, {id:34, yy:3616, xx:568}, {id:34, yy:3634, xx:-33}, {id:34, yy:3678, xx:594}, {id:34, yy:3830, xx:594}, {id:34, yy:3874, xx:-26}, {id:1, yy:3978, xx:333}, {id:31, yy:4012, xx:288, ro:180}, {id:31, yy:4012, xx:370, ro:180}, {id:34, yy:4054, xx:585}, {id:34, yy:4098, xx:-35}, {id:89, yy:4100, xx:135}, {id:3, yy:4112, xx:144}, {id:34, yy:4214, xx:585}, {id:81, yy:4262, xx:74}, {id:19, yy:4270, xx:196, yk:382}, {id:2, yy:4274, xx:110}, {id:34, yy:4342, xx:-33}, {id:34, yy:4442, xx:-32}, {id:34, yy:4484, xx:594}, {id:34, yy:4626, xx:-43}, {id:7, yy:4630, xx:449}, {id:35, yy:4766, xx:393}, {id:31, yy:4766, xx:438, ro:180}, {id:31, yy:4766, xx:490, ro:180}, {id:31, yy:4788, xx:347, ro:180}, {id:4, yy:4856, xx:126}, {id:34, yy:4898, xx:-41}, {id:34, yy:4976, xx:600}, {id:3, yy:5000, xx:34}, {id:34, yy:5050, xx:-41}, {id:6, yy:5122, xx:97}, {id:32, yy:5176, xx:231}, {id:34, yy:5206, xx:-29}, {id:34, yy:5214, xx:580}, {id:31, yy:5224, xx:163, ro:180}, {id:4, yy:5266, xx:427}, {id:31, yy:5292, xx:313, ro:180}, {id:84, yy:5396, xx:510}, {id:4, yy:5410, xx:508}, {id:34, yy:5426, xx:-27}, {id:25, yy:5554, xx:440}, {id:34, yy:5590, xx:600}, {id:34, yy:5594, xx:-20}, {id:2, yy:5714, xx:299}, {id:35, yy:5726, xx:296}, {id:34, yy:5778, xx:594}, {id:34, yy:5820, xx:-29}, {id:19, yy:5892, xx:331, yk:382}, {id:1, yy:5898, xx:207}, {id:31, yy:5946, xx:237, ro:180}, {id:31, yy:5946, xx:183, ro:180}, {id:34, yy:6012, xx:603}, {id:34, yy:6132, xx:585}, {id:34, yy:6150, xx:-35}, {id:41, yy:6208, xx:491}, {id:34, yy:6234, xx:-26}, {id:34, yy:6284, xx:585}, {id:3, yy:6308, xx:493}, {id:25, yy:6358, xx:360}, {id:34, yy:6366, xx:-37}, {id:34, yy:6380, xx:580}, {id:34, yy:6510, xx:574}, {id:34, yy:6600, xx:-29}, {id:34, yy:6600, xx:591}, {id:34, yy:6708, xx:600}, {id:34, yy:6720, xx:-46}, {id:42, yy:6774, xx:80}, {id:19, yy:6872, xx:192, yk:582}, {id:2, yy:6876, xx:108}, {id:34, yy:7064, xx:-49}, {id:34, yy:7104, xx:585}, {id:34, yy:7196, xx:-46}, {id:34, yy:7300, xx:-41}, {id:34, yy:7340, xx:594}, {id:34, yy:7418, xx:-58}, {id:34, yy:7458, xx:576}, {id:34, yy:7548, xx:-55}, {id:1, yy:7568, xx:203}, {id:35, yy:7604, xx:166}, {id:31, yy:7604, xx:240, ro:180}, {id:31, yy:7604, xx:266, ro:180}, {id:34, yy:7610, xx:577}, {id:34, yy:7656, xx:-55}, {id:4, yy:7714, xx:381}, {id:34, yy:7760, xx:-52}, {id:34, yy:7800, xx:583}, {id:10, yy:7860, xx:572}, {id:34, yy:7884, xx:591}, {id:89, yy:7990, xx:406}, {id:3, yy:8004, xx:414}, {id:34, yy:8064, xx:-43}, {id:4, yy:8132, xx:336}, {id:34, yy:8146, xx:-61}, {id:34, yy:8218, xx:574}, {id:2, yy:8258, xx:238}, {id:31, yy:8274, xx:284, ro:180}, {id:31, yy:8274, xx:258, ro:180}, {id:8, yy:8360, xx:52}, {id:35, yy:8392, xx:63}, {id:82, yy:8532, xx:263}, {id:3, yy:8544, xx:277}, {id:49, yy:8644, xx:146}, {id:4, yy:8672, xx:474}, {id:4, yy:8672, xx:77}, {id:21, yy:8746, xx:280}, {id:32, yy:8748, xx:362}, {id:32, yy:8748, xx:190}, {id:73, yy:8772, xx:-89}];
pos4 = [{id:50, yy:226, xx:84}, {id:88, yy:318, xx:82}, {id:2, yy:326, xx:70}, {id:34, yy:362, xx:584}, {id:34, yy:428, xx:-27}, {id:19, yy:498, xx:122, yk:318}, {id:3, yy:508, xx:178}, {id:34, yy:514, xx:584}, {id:31, yy:524, xx:195, ro:180}, {id:34, yy:580, xx:-27}, {id:34, yy:740, xx:576}, {id:34, yy:806, xx:-35}, {id:34, yy:908, xx:582}, {id:4, yy:922, xx:183}, {id:25, yy:930, xx:309}, {id:34, yy:974, xx:-29}, {id:34, yy:1094, xx:576}, {id:10, yy:1116, xx:474}, {id:31, yy:1138, xx:505, ro:180}, {id:35, yy:1140, xx:440}, {id:34, yy:1160, xx:-36}, {id:34, yy:1242, xx:-33}, {id:34, yy:1246, xx:576}, {id:34, yy:1320, xx:-35}, {id:3, yy:1346, xx:367}, {id:31, yy:1366, xx:362, ro:180}, {id:34, yy:1424, xx:576}, {id:2, yy:1502, xx:251}, {id:31, yy:1534, xx:193, ro:180}, {id:31, yy:1546, xx:247, ro:180}, {id:34, yy:1586, xx:-27}, {id:34, yy:1628, xx:576}, {id:19, yy:1648, xx:75, yk:478}, {id:4, yy:1658, xx:102}, {id:34, yy:1736, xx:-27}, {id:34, yy:1798, xx:581}, {id:34, yy:1818, xx:-24}, {id:34, yy:1880, xx:584}, {id:34, yy:1896, xx:-27}, {id:34, yy:1958, xx:582}, {id:34, yy:2036, xx:-36}, {id:34, yy:2096, xx:573}, {id:6, yy:2162, xx:101}, {id:35, yy:2246, xx:81}, {id:34, yy:2262, xx:-25}, {id:31, yy:2284, xx:125, ro:180}, {id:31, yy:2304, xx:182, ro:180}, {id:30, yy:2330, xx:289, ro:180}, {id:19, yy:2380, xx:478, yk:478}, {id:3, yy:2382, xx:533}, {id:34, yy:2418, xx:-33}, {id:34, yy:2560, xx:-25}, {id:34, yy:2560, xx:598}, {id:34, yy:2690, xx:-25}, {id:34, yy:2780, xx:-27}, {id:34, yy:2888, xx:567}, {id:34, yy:2888, xx:-36}, {id:9, yy:2976, xx:468}, {id:31, yy:3008, xx:433, ro:180}, {id:34, yy:3016, xx:-36}, {id:2, yy:3140, xx:219}, {id:34, yy:3148, xx:-25}, {id:35, yy:3154, xx:253}, {id:31, yy:3168, xx:205, ro:180}, {id:34, yy:3228, xx:567}, {id:82, yy:3312, xx:94}, {id:4, yy:3324, xx:93}, {id:34, yy:3396, xx:-23}, {id:1, yy:3428, xx:442}, {id:34, yy:3444, xx:570}, {id:35, yy:3448, xx:413}, {id:4, yy:3482, xx:154}, {id:34, yy:3500, xx:-23}, {id:34, yy:3572, xx:570}, {id:89, yy:3662, xx:70}, {id:3, yy:3676, xx:78}, {id:34, yy:3696, xx:-25}, {id:34, yy:3704, xx:567}, {id:4, yy:3834, xx:183}, {id:41, yy:3878, xx:489}, {id:2, yy:3988, xx:529}, {id:7, yy:4002, xx:103}, {id:35, yy:4008, xx:499}, {id:34, yy:4028, xx:570}, {id:30, yy:4066, xx:226, ro:180}, {id:31, yy:4082, xx:157, ro:180}, {id:31, yy:4100, xx:94, ro:180}, {id:31, yy:4108, xx:40, ro:180}, {id:34, yy:4306, xx:577}, {id:34, yy:4396, xx:575}, {id:34, yy:4430, xx:-26}, {id:34, yy:4504, xx:566}, {id:34, yy:4522, xx:-28}, {id:42, yy:4622, xx:398}, {id:3, yy:4722, xx:400}, {id:33, yy:4742, xx:193}, {id:34, yy:4766, xx:577}, {id:34, yy:4884, xx:579}, {id:4, yy:4890, xx:514}, {id:34, yy:4890, xx:-26}, {id:34, yy:5008, xx:-24}, {id:34, yy:5010, xx:576}, {id:3, yy:5068, xx:451}, {id:34, yy:5072, xx:-25}, {id:34, yy:5116, xx:579}, {id:34, yy:5136, xx:-24}, {id:2, yy:5202, xx:322}, {id:31, yy:5204, xx:345, ro:180}, {id:34, yy:5226, xx:570}, {id:34, yy:5242, xx:-24}, {id:5, yy:5420, xx:34}, {id:35, yy:5428, xx:48}, {id:31, yy:5428, xx:110, ro:180}, {id:30, yy:5428, xx:182, ro:180}, {id:34, yy:5596, xx:-22}, {id:25, yy:5604, xx:431}, {id:33, yy:5678, xx:193}, {id:34, yy:5726, xx:-22}, {id:34, yy:5772, xx:576}, {id:19, yy:5778, xx:249, yk:478}, {id:2, yy:5786, xx:338}, {id:34, yy:5818, xx:-29}, {id:31, yy:5822, xx:376, ro:180}, {id:34, yy:5888, xx:-24}, {id:34, yy:5902, xx:576}, {id:34, yy:6032, xx:573}, {id:34, yy:6234, xx:-22}, {id:6, yy:6256, xx:24}, {id:84, yy:6276, xx:25}, {id:34, yy:6296, xx:-23}, {id:31, yy:6360, xx:60, ro:180}, {id:31, yy:6386, xx:164, ro:180}, {id:34, yy:6410, xx:576}, {id:4, yy:6526, xx:364}, {id:34, yy:6526, xx:-25}, {id:34, yy:6564, xx:569}, {id:34, yy:6588, xx:-67}, {id:3, yy:6694, xx:423}, {id:34, yy:6694, xx:569}, {id:31, yy:6704, xx:436, ro:180}, {id:34, yy:6718, xx:-67}, {id:34, yy:6824, xx:580}, {id:34, yy:6848, xx:-56}, {id:10, yy:6872, xx:601}, {id:34, yy:6942, xx:582}, {id:34, yy:6966, xx:-54}, {id:32, yy:7050, xx:358}, {id:5, yy:7058, xx:342}, {id:32, yy:7058, xx:166}, {id:30, yy:7076, xx:286, ro:180}, {id:31, yy:7080, xx:427, ro:180}, {id:35, yy:7082, xx:107}, {id:31, yy:7082, xx:226, ro:180}, {id:31, yy:7082, xx:168, ro:180}, {id:34, yy:7094, xx:-43}, {id:34, yy:7200, xx:-40}, {id:81, yy:7236, xx:31}, {id:4, yy:7248, xx:32}, {id:34, yy:7308, xx:-50}, {id:3, yy:7428, xx:144}, {id:34, yy:7440, xx:575}, {id:34, yy:7446, xx:-43}, {id:31, yy:7454, xx:157, ro:180}, {id:41, yy:7478, xx:465}, {id:35, yy:7562, xx:355}, {id:1, yy:7566, xx:373}, {id:34, yy:7568, xx:575}, {id:31, yy:7572, xx:291, ro:180}, {id:34, yy:7576, xx:-43}, {id:34, yy:7700, xx:585}, {id:34, yy:7708, xx:-33}, {id:42, yy:7854, xx:343}, {id:19, yy:7950, xx:451, yk:254}, {id:2, yy:7954, xx:371}, {id:34, yy:8060, xx:581}, {id:34, yy:8060, xx:-30}, {id:34, yy:8188, xx:578}, {id:34, yy:8188, xx:-33}, {id:3, yy:8290, xx:456}, {id:34, yy:8328, xx:-37}, {id:34, yy:8330, xx:584}, {id:1, yy:8446, xx:286}, {id:34, yy:8446, xx:-37}, {id:31, yy:8474, xx:209, ro:180}, {id:35, yy:8474, xx:271}, {id:31, yy:8488, xx:316, ro:180}, {id:34, yy:8492, xx:584}, {id:34, yy:8578, xx:-26}, {id:89, yy:8612, xx:72}, {id:34, yy:8624, xx:595}, {id:3, yy:8624, xx:80}, {id:34, yy:8696, xx:-24}, {id:34, yy:8742, xx:597}, {id:4, yy:8806, xx:168}, {id:34, yy:8822, xx:-27}, {id:34, yy:8868, xx:594}, {id:34, yy:8928, xx:-24}, {id:83, yy:8954, xx:291}, {id:3, yy:8966, xx:296}, {id:49, yy:9074, xx:54}, {id:74, yy:9176, xx:-132}, {id:21, yy:9178, xx:270}];
pos5 = [{id:50, yy:206, xx:313}, {id:88, yy:298, xx:311}, {id:3, yy:306, xx:315}, {id:34, yy:440, xx:579}, {id:4, yy:474, xx:407}, {id:34, yy:530, xx:-25}, {id:34, yy:592, xx:579}, {id:2, yy:632, xx:330}, {id:31, yy:640, xx:283, ro:180}, {id:31, yy:640, xx:325, ro:180}, {id:34, yy:682, xx:-25}, {id:19, yy:696, xx:51, yk:500}, {id:25, yy:704, xx:184}, {id:4, yy:708, xx:78}, {id:34, yy:818, xx:571}, {id:34, yy:908, xx:-33}, {id:34, yy:986, xx:577}, {id:34, yy:1076, xx:-27}, {id:34, yy:1172, xx:570}, {id:34, yy:1262, xx:-34}, {id:11, yy:1274, xx:51}, {id:34, yy:1324, xx:571}, {id:2, yy:1414, xx:332}, {id:34, yy:1414, xx:-33}, {id:31, yy:1426, xx:303, ro:180}, {id:31, yy:1426, xx:384, ro:180}, {id:34, yy:1502, xx:570}, {id:8, yy:1604, xx:546}, {id:34, yy:1604, xx:-34}, {id:35, yy:1618, xx:504}, {id:34, yy:1706, xx:571}, {id:4, yy:1760, xx:372}, {id:34, yy:1796, xx:-33}, {id:34, yy:1876, xx:576}, {id:31, yy:1900, xx:283, ro:180}, {id:35, yy:1900, xx:218}, {id:2, yy:1902, xx:232}, {id:34, yy:1958, xx:579}, {id:34, yy:1994, xx:-28}, {id:19, yy:2022, xx:88, yk:400}, {id:3, yy:2026, xx:40}, {id:34, yy:2036, xx:576}, {id:34, yy:2176, xx:568}, {id:6, yy:2212, xx:520}, {id:34, yy:2266, xx:-36}, {id:30, yy:2282, xx:388, ro:180}, {id:31, yy:2284, xx:434, ro:180}, {id:35, yy:2296, xx:500}, {id:34, yy:2444, xx:-33}, {id:83, yy:2488, xx:107}, {id:4, yy:2502, xx:105}, {id:11, yy:2538, xx:180}, {id:34, yy:2564, xx:592}, {id:34, yy:2570, xx:-37}, {id:7, yy:2592, xx:657}, {id:19, yy:2664, xx:383, yk:478}, {id:33, yy:2690, xx:99}, {id:34, yy:2690, xx:589}, {id:34, yy:2712, xx:-31}, {id:31, yy:2732, xx:503, ro:180}, {id:34, yy:2834, xx:594}, {id:34, yy:2874, xx:-31}, {id:34, yy:2996, xx:594}, {id:34, yy:3006, xx:-20}, {id:34, yy:3124, xx:-18}, {id:34, yy:3128, xx:605}, {id:41, yy:3208, xx:58}, {id:34, yy:3246, xx:607}, {id:34, yy:3252, xx:-21}, {id:32, yy:3296, xx:309}, {id:32, yy:3300, xx:179}, {id:5, yy:3312, xx:166}, {id:31, yy:3320, xx:259, ro:180}, {id:30, yy:3346, xx:393, ro:180}, {id:31, yy:3346, xx:105, ro:180}, {id:31, yy:3346, xx:164}, {id:34, yy:3372, xx:604}, {id:34, yy:3538, xx:595}, {id:34, yy:3640, xx:-51}, {id:34, yy:3664, xx:592}, {id:42, yy:3768, xx:351}, {id:3, yy:3870, xx:353}, {id:34, yy:3910, xx:-49}, {id:34, yy:3970, xx:598}, {id:81, yy:4014, xx:229}, {id:4, yy:4030, xx:231}, {id:34, yy:4072, xx:-49}, {id:34, yy:4100, xx:608}, {id:8, yy:4122, xx:54}, {id:33, yy:4172, xx:443}, {id:31, yy:4176, xx:72, ro:180}, {id:34, yy:4204, xx:-38}, {id:34, yy:4218, xx:610}, {id:34, yy:4322, xx:-36}, {id:2, yy:4342, xx:281}, {id:34, yy:4346, xx:607}, {id:35, yy:4354, xx:267}, {id:31, yy:4354, xx:332, ro:180}, {id:34, yy:4448, xx:-39}, {id:34, yy:4510, xx:585}, {id:2, yy:4522, xx:524}, {id:35, yy:4534, xx:493, ro:180}, {id:34, yy:4570, xx:-47}, {id:34, yy:4642, xx:596}, {id:89, yy:4688, xx:350}, {id:34, yy:4696, xx:-50}, {id:3, yy:4702, xx:359}, {id:34, yy:4760, xx:598}, {id:25, yy:4778, xx:204}, {id:34, yy:4840, xx:-44}, {id:34, yy:4886, xx:595}, {id:10, yy:4928, xx:20}, {id:31, yy:4962, xx:53, ro:180}, {id:34, yy:5062, xx:582}, {id:19, yy:5098, xx:275, yk:478}, {id:3, yy:5100, xx:225}, {id:35, yy:5118, xx:238}, {id:34, yy:5128, xx:-72}, {id:34, yy:5188, xx:579}, {id:34, yy:5254, xx:-75}, {id:34, yy:5330, xx:585}, {id:34, yy:5396, xx:-69}, {id:34, yy:5494, xx:585}, {id:41, yy:5520, xx:137}, {id:34, yy:5560, xx:-69}, {id:34, yy:5624, xx:596}, {id:12, yy:5644, xx:275}, {id:34, yy:5690, xx:-58}, {id:34, yy:5742, xx:598}, {id:34, yy:5808, xx:-56}, {id:34, yy:5870, xx:595}, {id:34, yy:5900, xx:-59}, {id:42, yy:6054, xx:403}, {id:3, yy:6154, xx:405}, {id:34, yy:6244, xx:595}, {id:19, yy:6292, xx:263, yk:478}, {id:4, yy:6304, xx:291}, {id:34, yy:6372, xx:-44}, {id:34, yy:6372, xx:591}, {id:82, yy:6384, xx:190}, {id:4, yy:6396, xx:189}, {id:34, yy:6498, xx:-47}, {id:34, yy:6546, xx:579}, {id:34, yy:6674, xx:576}, {id:34, yy:6674, xx:-59}, {id:35, yy:6686, xx:510}, {id:2, yy:6694, xx:495}, {id:34, yy:6800, xx:-63}, {id:34, yy:6816, xx:582}, {id:19, yy:6840, xx:197, yk:478}, {id:4, yy:6852, xx:225}, {id:34, yy:6944, xx:-57}, {id:34, yy:6978, xx:582}, {id:33, yy:7050, xx:382}, {id:34, yy:7106, xx:-57}, {id:34, yy:7110, xx:593}, {id:34, yy:7176, xx:595}, {id:34, yy:7236, xx:-46}, {id:34, yy:7302, xx:591}, {id:34, yy:7354, xx:-44}, {id:84, yy:7390, xx:153}, {id:19, yy:7392, xx:126, yk:478}, {id:4, yy:7404, xx:154}, {id:34, yy:7474, xx:605}, {id:34, yy:7482, xx:-47}, {id:33, yy:7508, xx:373}, {id:34, yy:7602, xx:602}, {id:34, yy:7614, xx:-37}, {id:34, yy:7742, xx:-40}, {id:34, yy:7776, xx:590}, {id:34, yy:7904, xx:587}, {id:34, yy:7916, xx:-52}, {id:6, yy:7940, xx:76}, {id:19, yy:8034, xx:441, yk:288}, {id:34, yy:8044, xx:-55}, {id:2, yy:8046, xx:527}, {id:31, yy:8046, xx:53, ro:180}, {id:34, yy:8046, xx:592}, {id:31, yy:8052, xx:127, ro:180}, {id:35, yy:8076, xx:478}, {id:31, yy:8080, xx:201, ro:180}, {id:30, yy:8086, xx:262, ro:180}, {id:34, yy:8186, xx:-49}, {id:34, yy:8208, xx:592}, {id:34, yy:8340, xx:603}, {id:34, yy:8348, xx:-49}, {id:41, yy:8408, xx:56}, {id:7, yy:8440, xx:188}, {id:34, yy:8458, xx:605}, {id:81, yy:8464, xx:223}, {id:33, yy:8472, xx:508}, {id:34, yy:8480, xx:-39}, {id:34, yy:8584, xx:602}, {id:34, yy:8598, xx:-37}, {id:33, yy:8704, xx:262}, {id:34, yy:8724, xx:-40}, {id:42, yy:8960, xx:496}, {id:32, yy:9110, xx:375}, {id:32, yy:9114, xx:245}, {id:5, yy:9116, xx:372}, {id:30, yy:9126, xx:313, ro:180}, {id:34, yy:9134, xx:600}, {id:30, yy:9144, xx:251, ro:180}, {id:31, yy:9146, xx:194, ro:180}, {id:31, yy:9150, xx:135, ro:180}, {id:34, yy:9242, xx:-25}, {id:34, yy:9262, xx:597}, {id:4, yy:9272, xx:26}, {id:34, yy:9370, xx:-29}, {id:34, yy:9436, xx:585}, {id:1, yy:9442, xx:182}, {id:31, yy:9488, xx:159, ro:180}, {id:31, yy:9488, xx:213, ro:180}, {id:35, yy:9488, xx:272}, {id:34, yy:9544, xx:-41}, {id:25, yy:9562, xx:389}, {id:34, yy:9564, xx:582}, {id:9, yy:9670, xx:522}, {id:34, yy:9672, xx:-44}, {id:34, yy:9706, xx:588}, {id:34, yy:9814, xx:-38}, {id:89, yy:9832, xx:350}, {id:3, yy:9844, xx:358}, {id:34, yy:9868, xx:588}, {id:34, yy:9976, xx:-38}, {id:82, yy:9996, xx:174}, {id:34, yy:10000, xx:598}, {id:4, yy:10010, xx:273}, {id:4, yy:10010, xx:180}, {id:4, yy:10010, xx:366}, {id:34, yy:10108, xx:-27}, {id:34, yy:10118, xx:600}, {id:4, yy:10194, xx:180}, {id:4, yy:10194, xx:273}, {id:4, yy:10194, xx:366}, {id:49, yy:10316, xx:481}, {id:75, yy:10406, xx:-121}, {id:21, yy:10406, xx:275}];
pos6 = [{id:50, yy:206, xx:439}, {id:88, yy:298, xx:437}, {id:3, yy:306, xx:441}, {id:34, yy:392, xx:579}, {id:34, yy:474, xx:-30}, {id:3, yy:476, xx:324}, {id:31, yy:482, xx:310, ro:180}, {id:34, yy:544, xx:580}, {id:34, yy:626, xx:-30}, {id:25, yy:642, xx:463}, {id:19, yy:686, xx:19, yk:320}, {id:34, yy:690, xx:571}, {id:4, yy:698, xx:46}, {id:34, yy:770, xx:571}, {id:10, yy:784, xx:250}, {id:31, yy:796, xx:282, ro:180}, {id:35, yy:808, xx:336}, {id:30, yy:808, xx:211, ro:180}, {id:34, yy:842, xx:571}, {id:34, yy:850, xx:-38}, {id:34, yy:1020, xx:-32}, {id:34, yy:1068, xx:563}, {id:6, yy:1076, xx:79}, {id:30, yy:1182, xx:114, ro:180}, {id:35, yy:1194, xx:180}, {id:34, yy:1206, xx:-38}, {id:30, yy:1212, xx:211, ro:180}, {id:35, yy:1224, xx:278}, {id:34, yy:1236, xx:569}, {id:14, yy:1284, xx:413}, {id:34, yy:1358, xx:-38}, {id:19, yy:1382, xx:30, yk:480}, {id:3, yy:1386, xx:-22}, {id:34, yy:1422, xx:562}, {id:6, yy:1528, xx:387}, {id:34, yy:1534, xx:-38}, {id:34, yy:1574, xx:563}, {id:31, yy:1580, xx:271, ro:180}, {id:31, yy:1594, xx:336, ro:180}, {id:30, yy:1594, xx:380, ro:180}, {id:35, yy:1614, xx:460}, {id:34, yy:1738, xx:-38}, {id:34, yy:1752, xx:562}, {id:34, yy:1910, xx:-32}, {id:34, yy:1956, xx:563}, {id:3, yy:1956, xx:82}, {id:31, yy:1966, xx:74, ro:180}, {id:83, yy:1972, xx:470}, {id:19, yy:1982, xx:496, yk:320}, {id:35, yy:1984, xx:460}, {id:3, yy:1984, xx:446}, {id:34, yy:1990, xx:-30}, {id:11, yy:2010, xx:185}, {id:34, yy:2070, xx:-32}, {id:34, yy:2126, xx:568}, {id:34, yy:2208, xx:-41}, {id:34, yy:2208, xx:571}, {id:34, yy:2286, xx:568}, {id:34, yy:2426, xx:560}, {id:9, yy:2444, xx:489}, {id:35, yy:2458, xx:470}, {id:4, yy:2622, xx:342}, {id:41, yy:2720, xx:497}, {id:42, yy:2776, xx:56}, {id:35, yy:2822, xx:425}, {id:1, yy:2822, xx:465}, {id:19, yy:2902, xx:111, yk:400}, {id:2, yy:2906, xx:30}, {id:34, yy:2954, xx:596}, {id:34, yy:3058, xx:-32}, {id:34, yy:3106, xx:597}, {id:34, yy:3202, xx:-41}, {id:34, yy:3250, xx:588}, {id:34, yy:3282, xx:-40}, {id:34, yy:3330, xx:588}, {id:34, yy:3354, xx:-40}, {id:34, yy:3402, xx:588}, {id:38, yy:3402, xx:256}, {id:38, yy:3406, xx:342}, {id:38, yy:3410, xx:171}, {id:5, yy:3418, xx:181}, {id:30, yy:3436, xx:210, ro:180}, {id:35, yy:3442, xx:301}, {id:31, yy:3452, xx:79}, {id:31, yy:3452, xx:24, ro:180}, {id:30, yy:3452, xx:408, ro:180}, {id:9, yy:3580, xx:578}, {id:34, yy:3580, xx:-49}, {id:34, yy:3628, xx:580}, {id:34, yy:3750, xx:-43}, {id:34, yy:3798, xx:586}, {id:10, yy:3808, xx:400}, {id:2, yy:3810, xx:149}, {id:35, yy:3822, xx:147}, {id:31, yy:3824, xx:414}, {id:31, yy:3824, xx:359, ro:180}, {id:34, yy:3934, xx:-49}, {id:34, yy:3982, xx:579}, {id:4, yy:3996, xx:18}, {id:34, yy:4086, xx:-49}, {id:34, yy:4134, xx:580}, {id:89, yy:4150, xx:96}, {id:3, yy:4162, xx:104}, {id:11, yy:4208, xx:203}, {id:82, yy:4210, xx:422}, {id:19, yy:4214, xx:505, yk:640}, {id:3, yy:4216, xx:455}, {id:31, yy:4228, xx:465}, {id:34, yy:4404, xx:-47}, {id:34, yy:4424, xx:591}, {id:36, yy:4444, xx:282}, {id:36, yy:4556, xx:113}, {id:34, yy:4572, xx:-41}, {id:34, yy:4576, xx:592}, {id:34, yy:4758, xx:-47}, {id:36, yy:4822, xx:146}, {id:34, yy:4910, xx:-47}, {id:5, yy:4996, xx:446}, {id:31, yy:5022, xx:406}, {id:30, yy:5026, xx:350, ro:180}, {id:30, yy:5030, xx:481, ro:180}, {id:31, yy:5036, xx:261, ro:180}, {id:35, yy:5038, xx:214}, {id:8, yy:5116, xx:0}, {id:35, yy:5158, xx:46}, {id:81, yy:5340, xx:164}, {id:25, yy:5354, xx:161}, {id:9, yy:5356, xx:522}, {id:35, yy:5386, xx:514}, {id:34, yy:5414, xx:-26}, {id:20, yy:5454, xx:337, yk:412}, {id:36, yy:5502, xx:55}, {id:4, yy:5512, xx:244}, {id:34, yy:5552, xx:594}, {id:34, yy:5600, xx:-32}, {id:34, yy:5738, xx:588}, {id:34, yy:5752, xx:-32}, {id:36, yy:5870, xx:83}, {id:34, yy:5890, xx:562}, {id:1, yy:5982, xx:436}, {id:35, yy:5994, xx:446}, {id:34, yy:6046, xx:-21}, {id:13, yy:6170, xx:263}, {id:34, yy:6184, xx:566}, {id:34, yy:6198, xx:-21}, {id:36, yy:6200, xx:109}, {id:14, yy:6260, xx:175}, {id:34, yy:6336, xx:592}, {id:34, yy:6344, xx:-30}, {id:34, yy:6424, xx:-29}, {id:34, yy:6482, xx:583}, {id:34, yy:6496, xx:-29}, {id:6, yy:6508, xx:593}, {id:35, yy:6564, xx:520}, {id:13, yy:6648, xx:88}, {id:34, yy:6720, xx:-38}, {id:8, yy:6794, xx:134}, {id:31, yy:6834, xx:150}, {id:34, yy:6890, xx:594}, {id:34, yy:6890, xx:-32}, {id:9, yy:6912, xx:412}, {id:19, yy:6930, xx:323, yk:320}, {id:35, yy:6944, xx:421}, {id:34, yy:7042, xx:594}, {id:34, yy:7076, xx:-38}, {id:36, yy:7202, xx:100}, {id:34, yy:7228, xx:-38}, {id:34, yy:7268, xx:586}, {id:34, yy:7340, xx:586}, {id:84, yy:7362, xx:275}, {id:25, yy:7378, xx:278}, {id:34, yy:7422, xx:-24}, {id:34, yy:7452, xx:580}, {id:36, yy:7468, xx:412}, {id:34, yy:7494, xx:-24}, {id:10, yy:7556, xx:95}, {id:20, yy:7564, xx:478, yk:430}, {id:34, yy:7564, xx:577}, {id:31, yy:7578, xx:140}, {id:30, yy:7578, xx:83}, {id:34, yy:7606, xx:-30}, {id:11, yy:7646, xx:259}, {id:34, yy:7718, xx:-49}, {id:34, yy:7734, xx:583}, {id:36, yy:7816, xx:306}, {id:34, yy:7888, xx:-43}, {id:34, yy:7920, xx:577}, {id:36, yy:7934, xx:184}, {id:36, yy:8058, xx:296}, {id:34, yy:8072, xx:577}, {id:34, yy:8074, xx:-49}, {id:12, yy:8114, xx:500}, {id:11, yy:8218, xx:149}, {id:34, yy:8226, xx:-49}, {id:34, yy:8318, xx:588}, {id:81, yy:8348, xx:24}, {id:8, yy:8356, xx:67}, {id:31, yy:8394, xx:64, ro:180}, {id:34, yy:8422, xx:588}, {id:34, yy:8536, xx:-43}, {id:34, yy:8536, xx:582}, {id:1, yy:8552, xx:358}, {id:30, yy:8598, xx:334, ro:180}, {id:35, yy:8598, xx:389, ro:180}, {id:34, yy:8608, xx:-43}, {id:30, yy:8610, xx:446, ro:180}, {id:34, yy:8648, xx:579}, {id:34, yy:8720, xx:-49}, {id:4, yy:8736, xx:523}, {id:34, yy:8818, xx:585}, {id:34, yy:8834, xx:-51}, {id:41, yy:8852, xx:228}, {id:25, yy:8904, xx:446}, {id:9, yy:8942, xx:292}, {id:31, yy:8968, xx:272, ro:180}, {id:31, yy:8972, xx:355, ro:180}, {id:34, yy:9002, xx:-45}, {id:34, yy:9002, xx:579}, {id:34, yy:9122, xx:575}, {id:34, yy:9176, xx:-52}, {id:42, yy:9346, xx:62}, {id:5, yy:9478, xx:161}, {id:31, yy:9478, xx:247, ro:180}, {id:35, yy:9482, xx:319}, {id:31, yy:9482, xx:189, ro:180}, {id:30, yy:9486, xx:358, ro:180}, {id:25, yy:9604, xx:539}, {id:89, yy:9760, xx:471}, {id:3, yy:9772, xx:479}, {id:14, yy:9872, xx:382}, {id:83, yy:10110, xx:385}, {id:3, yy:10122, xx:407}, {id:3, yy:10122, xx:150}, {id:49, yy:10216, xx:52}, {id:21, yy:10310, xx:267}, {id:76, yy:10314, xx:-160}];
pos7 = [{id:50, yy:206, xx:389}, {id:88, yy:298, xx:387}, {id:3, yy:306, xx:391}, {id:34, yy:440, xx:579}, {id:1, yy:446, xx:191}, {id:30, yy:462, xx:148, ro:180}, {id:31, yy:478, xx:259, ro:180}, {id:34, yy:530, xx:-25}, {id:19, yy:570, xx:29, yk:478}, {id:4, yy:582, xx:56}, {id:34, yy:592, xx:579}, {id:34, yy:682, xx:-25}, {id:34, yy:818, xx:571}, {id:2, yy:856, xx:354}, {id:35, yy:866, xx:351, ro:180}, {id:31, yy:866, xx:393, ro:180}, {id:34, yy:908, xx:-33}, {id:34, yy:986, xx:577}, {id:34, yy:1076, xx:-27}, {id:8, yy:1144, xx:63}, {id:34, yy:1172, xx:570}, {id:31, yy:1202, xx:75, ro:180}, {id:11, yy:1240, xx:213}, {id:34, yy:1262, xx:-34}, {id:34, yy:1324, xx:571}, {id:19, yy:1336, xx:416, yk:320}, {id:2, yy:1350, xx:502}, {id:31, yy:1360, xx:520, ro:180}, {id:35, yy:1362, xx:465}, {id:34, yy:1414, xx:-33}, {id:34, yy:1502, xx:570}, {id:34, yy:1604, xx:-34}, {id:34, yy:1706, xx:571}, {id:33, yy:1722, xx:141}, {id:82, yy:1742, xx:373}, {id:4, yy:1752, xx:371}, {id:34, yy:1796, xx:-33}, {id:14, yy:1830, xx:295}, {id:34, yy:1982, xx:579}, {id:34, yy:1994, xx:-28}, {id:3, yy:2026, xx:40}, {id:35, yy:2030, xx:48}, {id:33, yy:2066, xx:209}, {id:34, yy:2098, xx:577}, {id:19, yy:2102, xx:335, yk:320}, {id:4, yy:2114, xx:362}, {id:34, yy:2240, xx:579}, {id:33, yy:2254, xx:295}, {id:34, yy:2286, xx:-41}, {id:34, yy:2384, xx:581}, {id:34, yy:2402, xx:-43}, {id:34, yy:2500, xx:579}, {id:9, yy:2502, xx:537}, {id:32, yy:2532, xx:196}, {id:35, yy:2538, xx:512}, {id:2, yy:2544, xx:251}, {id:34, yy:2544, xx:-41}, {id:31, yy:2554, xx:283, ro:180}, {id:34, yy:2642, xx:581}, {id:89, yy:2682, xx:118}, {id:3, yy:2694, xx:126}, {id:33, yy:2796, xx:306}, {id:34, yy:2796, xx:575}, {id:34, yy:2830, xx:-41}, {id:19, yy:2876, xx:82, yk:320}, {id:34, yy:2882, xx:578}, {id:25, yy:2882, xx:42}, {id:31, yy:2890, xx:37, ro:180}, {id:34, yy:2954, xx:578}, {id:34, yy:3010, xx:-37}, {id:25, yy:3084, xx:506}, {id:35, yy:3114, xx:527}, {id:34, yy:3158, xx:578}, {id:34, yy:3172, xx:-29}, {id:7, yy:3224, xx:439}, {id:34, yy:3268, xx:578}, {id:4, yy:3324, xx:82}, {id:34, yy:3330, xx:-25}, {id:30, yy:3360, xx:479, ro:180}, {id:31, yy:3360, xx:427, ro:180}, {id:30, yy:3372, xx:380, ro:180}, {id:35, yy:3380, xx:337, ro:180}, {id:34, yy:3382, xx:582}, {id:31, yy:3394, xx:259, ro:180}, {id:4, yy:3492, xx:25}, {id:34, yy:3496, xx:584}, {id:34, yy:3558, xx:-37}, {id:34, yy:3600, xx:579}, {id:4, yy:3676, xx:77}, {id:41, yy:3692, xx:497}, {id:34, yy:3718, xx:-25}, {id:34, yy:3724, xx:575}, {id:8, yy:3796, xx:542}, {id:35, yy:3800, xx:504}, {id:5, yy:3856, xx:123}, {id:30, yy:3866, xx:330, ro:180}, {id:31, yy:3866, xx:151, ro:180}, {id:30, yy:3890, xx:80, ro:180}, {id:30, yy:3890, xx:259, ro:180}, {id:34, yy:4010, xx:582}, {id:42, yy:4258, xx:136}, {id:3, yy:4378, xx:139}, {id:34, yy:4396, xx:578}, {id:34, yy:4526, xx:-35}, {id:11, yy:4532, xx:202}, {id:19, yy:4650, xx:366, yk:478}, {id:34, yy:4652, xx:567}, {id:3, yy:4652, xx:421}, {id:34, yy:4670, xx:-27}, {id:34, yy:4798, xx:-27}, {id:33, yy:4842, xx:151}, {id:34, yy:4888, xx:-29}, {id:34, yy:4992, xx:567}, {id:34, yy:4996, xx:-38}, {id:34, yy:5126, xx:-38}, {id:34, yy:5208, xx:569}, {id:83, yy:5216, xx:509}, {id:9, yy:5224, xx:355}, {id:4, yy:5228, xx:507}, {id:31, yy:5256, xx:320, ro:180}, {id:34, yy:5258, xx:-27}, {id:34, yy:5336, xx:569}, {id:32, yy:5378, xx:51}, {id:2, yy:5390, xx:106}, {id:35, yy:5404, xx:140}, {id:31, yy:5416, xx:92, ro:180}, {id:34, yy:5468, xx:567}, {id:34, yy:5504, xx:-25}, {id:4, yy:5520, xx:231}, {id:34, yy:5608, xx:-25}, {id:1, yy:5678, xx:330}, {id:35, yy:5700, xx:308}, {id:35, yy:5724, xx:354}, {id:34, yy:5792, xx:569}, {id:34, yy:5804, xx:-27}, {id:4, yy:5814, xx:527}, {id:34, yy:5882, xx:-30}, {id:9, yy:5934, xx:533}, {id:34, yy:6012, xx:-30}, {id:34, yy:6070, xx:577}, {id:34, yy:6144, xx:-19}, {id:41, yy:6168, xx:51}, {id:2, yy:6176, xx:417}, {id:35, yy:6198, xx:386}, {id:34, yy:6228, xx:587}, {id:7, yy:6250, xx:-9}, {id:30, yy:6292, xx:163, ro:180}, {id:31, yy:6314, xx:114, ro:180}, {id:31, yy:6330, xx:75, ro:180}, {id:34, yy:6336, xx:578}, {id:34, yy:6466, xx:578}, {id:42, yy:6624, xx:410}, {id:81, yy:6710, xx:488}, {id:9, yy:6726, xx:419}, {id:34, yy:6844, xx:591}, {id:89, yy:6888, xx:252}, {id:3, yy:6900, xx:260}, {id:34, yy:6948, xx:591}, {id:34, yy:6974, xx:-25}, {id:5, yy:7094, xx:-49}, {id:30, yy:7114, xx:90}, {id:31, yy:7114, xx:169, ro:180}, {id:34, yy:7140, xx:579}, {id:34, yy:7246, xx:569}, {id:34, yy:7308, xx:568}, {id:34, yy:7334, xx:-28}, {id:34, yy:7370, xx:564}, {id:13, yy:7388, xx:280}, {id:34, yy:7530, xx:-30}, {id:5, yy:7540, xx:496}, {id:31, yy:7558, xx:444}, {id:31, yy:7558, xx:508, ro:180}, {id:35, yy:7558, xx:382}, {id:30, yy:7562, xx:303, ro:180}, {id:11, yy:7656, xx:35}, {id:34, yy:7736, xx:577}, {id:8, yy:7806, xx:-12}, {id:34, yy:7842, xx:577}, {id:35, yy:7850, xx:48}, {id:20, yy:7866, xx:310, yk:412}, {id:20, yy:7866, xx:472, yk:412}, {id:20, yy:7866, xx:391, yk:412}, {id:84, yy:8006, xx:183}, {id:3, yy:8020, xx:185}, {id:34, yy:8038, xx:575}, {id:34, yy:8090, xx:-35}, {id:34, yy:8116, xx:572}, {id:34, yy:8194, xx:-35}, {id:34, yy:8244, xx:572}, {id:33, yy:8344, xx:165}, {id:34, yy:8376, xx:583}, {id:34, yy:8390, xx:-37}, {id:8, yy:8454, xx:564}, {id:35, yy:8462, xx:508}, {id:34, yy:8468, xx:-40}, {id:33, yy:8566, xx:351}, {id:34, yy:8598, xx:-30}, {id:34, yy:8646, xx:564}, {id:13, yy:8702, xx:405}, {id:34, yy:8730, xx:-19}, {id:38, yy:8766, xx:296}, {id:9, yy:8776, xx:262}, {id:38, yy:8782, xx:228}, {id:34, yy:8820, xx:-31}, {id:34, yy:8824, xx:575}, {id:34, yy:8932, xx:568}, {id:19, yy:8954, xx:132, yk:478}, {id:2, yy:8958, xx:48}, {id:31, yy:8970, xx:68, ro:180}, {id:34, yy:9064, xx:579}, {id:33, yy:9108, xx:229}, {id:34, yy:9162, xx:583}, {id:34, yy:9260, xx:-35}, {id:34, yy:9300, xx:568}, {id:19, yy:9348, xx:40, yk:400}, {id:4, yy:9360, xx:64}, {id:33, yy:9372, xx:327}, {id:34, yy:9432, xx:579}, {id:34, yy:9490, xx:-37}, {id:34, yy:9530, xx:583}, {id:34, yy:9634, xx:-36}, {id:1, yy:9674, xx:374}, {id:31, yy:9678, xx:396, ro:180}, {id:31, yy:9698, xx:457, ro:180}, {id:35, yy:9698, xx:336}, {id:2, yy:9834, xx:-27}, {id:89, yy:10028, xx:92}, {id:3, yy:10040, xx:100}, {id:83, yy:10184, xx:198}, {id:4, yy:10198, xx:200}, {id:20, yy:10222, xx:421, yk:226}, {id:20, yy:10222, xx:127, yk:226}, {id:20, yy:10222, xx:275, yk:226}, {id:49, yy:10494, xx:75}, {id:21, yy:10584, xx:266}, {id:77, yy:10590, xx:-145}];
pos8 = [{id:50, yy:168, xx:53}, {id:88, yy:260, xx:51}, {id:3, yy:268, xx:55}, {id:34, yy:328, xx:587}, {id:8, yy:400, xx:262}, {id:34, yy:418, xx:-22}, {id:34, yy:428, xx:585}, {id:31, yy:428, xx:256, ro:180}, {id:34, yy:536, xx:585}, {id:41, yy:548, xx:61}, {id:34, yy:566, xx:-27}, {id:9, yy:588, xx:508}, {id:35, yy:620, xx:515}, {id:32, yy:650, xx:154}, {id:32, yy:658, xx:284}, {id:5, yy:666, xx:90}, {id:34, yy:672, xx:585}, {id:31, yy:684, xx:93, ro:180}, {id:30, yy:684, xx:218, ro:180}, {id:34, yy:808, xx:585}, {id:36, yy:882, xx:482}, {id:42, yy:1010, xx:63}, {id:14, yy:1030, xx:290}, {id:10, yy:1120, xx:79}, {id:34, yy:1138, xx:567}, {id:83, yy:1306, xx:438}, {id:34, yy:1306, xx:573}, {id:3, yy:1320, xx:444}, {id:34, yy:1352, xx:-45}, {id:34, yy:1388, xx:576}, {id:34, yy:1520, xx:-39}, {id:34, yy:1540, xx:576}, {id:13, yy:1566, xx:290}, {id:34, yy:1602, xx:-36}, {id:34, yy:1702, xx:567}, {id:9, yy:1716, xx:148}, {id:19, yy:1740, xx:63, yk:400}, {id:34, yy:1754, xx:-36}, {id:35, yy:1768, xx:145}, {id:34, yy:1878, xx:573}, {id:34, yy:1916, xx:-45}, {id:34, yy:1990, xx:576}, {id:34, yy:2080, xx:579}, {id:34, yy:2092, xx:-39}, {id:34, yy:2204, xx:-36}, {id:19, yy:2244, xx:497, yk:400}, {id:1, yy:2248, xx:369}, {id:34, yy:2258, xx:570}, {id:31, yy:2268, xx:313, ro:180}, {id:30, yy:2268, xx:446, ro:180}, {id:32, yy:2282, xx:50}, {id:2, yy:2292, xx:105}, {id:34, yy:2294, xx:-33}, {id:35, yy:2294, xx:393}, {id:35, yy:2308, xx:139}, {id:31, yy:2320, xx:91, ro:180}, {id:34, yy:2388, xx:570}, {id:34, yy:2472, xx:-43}, {id:34, yy:2568, xx:573}, {id:34, yy:2602, xx:-43}, {id:34, yy:2654, xx:576}, {id:34, yy:2726, xx:576}, {id:25, yy:2742, xx:366}, {id:31, yy:2756, xx:374, ro:180}, {id:19, yy:2764, xx:61, yk:400}, {id:25, yy:2772, xx:105}, {id:34, yy:2782, xx:-39}, {id:4, yy:2786, xx:498}, {id:35, yy:2792, xx:111}, {id:82, yy:2800, xx:236}, {id:4, yy:2812, xx:234}, {id:34, yy:2930, xx:576}, {id:34, yy:2944, xx:-31}, {id:34, yy:3040, xx:576}, {id:41, yy:3072, xx:496}, {id:34, yy:3102, xx:-27}, {id:7, yy:3138, xx:326}, {id:34, yy:3154, xx:580}, {id:34, yy:3268, xx:582}, {id:31, yy:3274, xx:314, ro:180}, {id:30, yy:3274, xx:366, ro:180}, {id:35, yy:3274, xx:269}, {id:30, yy:3296, xx:146, ro:180}, {id:31, yy:3296, xx:224, ro:180}, {id:34, yy:3330, xx:-39}, {id:34, yy:3420, xx:577}, {id:34, yy:3490, xx:-27}, {id:34, yy:3544, xx:573}, {id:8, yy:3616, xx:540}, {id:35, yy:3620, xx:502}, {id:42, yy:3626, xx:52}, {id:38, yy:3720, xx:106}, {id:38, yy:3724, xx:191}, {id:5, yy:3740, xx:31}, {id:31, yy:3750, xx:149, ro:180}, {id:31, yy:3774, xx:257, ro:180}, {id:34, yy:3830, xx:580}, {id:89, yy:3876, xx:380}, {id:34, yy:3886, xx:-23}, {id:3, yy:3890, xx:388}, {id:34, yy:3974, xx:-25}, {id:10, yy:4016, xx:571}, {id:31, yy:4034, xx:507, ro:180}, {id:4, yy:4096, xx:421}, {id:34, yy:4126, xx:585}, {id:36, yy:4134, xx:464}, {id:34, yy:4164, xx:-33}, {id:11, yy:4184, xx:204}, {id:34, yy:4224, xx:577}, {id:34, yy:4256, xx:-25}, {id:25, yy:4328, xx:254}, {id:36, yy:4340, xx:99}, {id:34, yy:4362, xx:-33}, {id:11, yy:4468, xx:204}, {id:34, yy:4484, xx:-36}, {id:34, yy:4514, xx:594}, {id:19, yy:4622, xx:421, yk:480}, {id:8, yy:4636, xx:517}, {id:34, yy:4636, xx:-36}, {id:35, yy:4640, xx:489}, {id:34, yy:4666, xx:594}, {id:20, yy:4852, xx:348, yk:482}, {id:34, yy:4866, xx:-39}, {id:34, yy:4964, xx:579}, {id:34, yy:5026, xx:-39}, {id:34, yy:5122, xx:579}, {id:34, yy:5184, xx:-39}, {id:20, yy:5256, xx:148, yk:482}, {id:34, yy:5282, xx:579}, {id:34, yy:5344, xx:-39}, {id:20, yy:5418, xx:62, yk:482}, {id:11, yy:5432, xx:195}, {id:34, yy:5440, xx:576}, {id:34, yy:5502, xx:-42}, {id:33, yy:5578, xx:327}, {id:34, yy:5612, xx:577}, {id:34, yy:5672, xx:-37}, {id:33, yy:5764, xx:161}, {id:34, yy:5770, xx:576}, {id:34, yy:5830, xx:-40}, {id:34, yy:5930, xx:574}, {id:33, yy:5938, xx:384}, {id:8, yy:6038, xx:2}, {id:38, yy:6110, xx:149}, {id:4, yy:6124, xx:152}, {id:34, yy:6170, xx:-23}, {id:4, yy:6176, xx:224}, {id:38, yy:6208, xx:295}, {id:4, yy:6222, xx:297}, {id:34, yy:6258, xx:569}, {id:34, yy:6268, xx:-23}, {id:4, yy:6270, xx:370}, {id:38, yy:6306, xx:440}, {id:4, yy:6320, xx:443}, {id:34, yy:6356, xx:569}, {id:19, yy:6356, xx:488, yk:320}, {id:4, yy:6368, xx:516}, {id:34, yy:6374, xx:-23}, {id:34, yy:6454, xx:-23}, {id:34, yy:6462, xx:569}, {id:34, yy:6542, xx:569}, {id:34, yy:6554, xx:-23}, {id:34, yy:6614, xx:569}, {id:41, yy:6626, xx:60}, {id:6, yy:6700, xx:54}, {id:84, yy:6756, xx:522}, {id:9, yy:6768, xx:477}, {id:31, yy:6802, xx:471, ro:180}, {id:31, yy:6818, xx:104, ro:180}, {id:35, yy:6818, xx:447}, {id:35, yy:6844, xx:174}, {id:30, yy:6856, xx:220, ro:180}, {id:42, yy:7042, xx:483}, {id:2, yy:7158, xx:502}, {id:89, yy:7270, xx:328}, {id:19, yy:7278, xx:384, yk:400}, {id:3, yy:7282, xx:336}, {id:34, yy:7428, xx:598}, {id:34, yy:7428, xx:-23}, {id:5, yy:7572, xx:-134}, {id:34, yy:7580, xx:-23}, {id:34, yy:7580, xx:598}, {id:35, yy:7596, xx:74}, {id:34, yy:7726, xx:589}, {id:34, yy:7726, xx:-32}, {id:14, yy:7802, xx:385}, {id:34, yy:7806, xx:589}, {id:34, yy:7806, xx:-31}, {id:34, yy:7878, xx:589}, {id:34, yy:7878, xx:-31}, {id:11, yy:8064, xx:165}, {id:34, yy:8102, xx:-40}, {id:34, yy:8102, xx:581}, {id:35, yy:8152, xx:50}, {id:25, yy:8156, xx:41}, {id:36, yy:8260, xx:437}, {id:34, yy:8272, xx:587}, {id:34, yy:8272, xx:-34}, {id:14, yy:8310, xx:139}, {id:34, yy:8458, xx:-40}, {id:34, yy:8458, xx:581}, {id:2, yy:8608, xx:268}, {id:34, yy:8610, xx:-40}, {id:34, yy:8610, xx:581}, {id:35, yy:8618, xx:267}, {id:34, yy:8774, xx:587}, {id:34, yy:8812, xx:-31}, {id:19, yy:8828, xx:317, yk:400}, {id:10, yy:8834, xx:424}, {id:36, yy:8840, xx:187}, {id:31, yy:8848, xx:438}, {id:31, yy:8848, xx:383, ro:180}, {id:35, yy:8852, xx:502}, {id:34, yy:8878, xx:584}, {id:34, yy:8956, xx:-25}, {id:34, yy:9064, xx:578}, {id:81, yy:9224, xx:47}, {id:34, yy:9230, xx:579}, {id:4, yy:9238, xx:45}, {id:6, yy:9274, xx:189}, {id:30, yy:9356, xx:119, ro:180}, {id:30, yy:9356, xx:179, ro:180}, {id:31, yy:9374, xx:255, ro:180}, {id:35, yy:9438, xx:445}, {id:31, yy:9440, xx:377, ro:180}, {id:11, yy:9492, xx:355}, {id:9, yy:9648, xx:233}, {id:35, yy:9694, xx:260}, {id:89, yy:9836, xx:60}, {id:3, yy:9848, xx:68}, {id:9, yy:9984, xx:223}, {id:30, yy:10016, xx:249, ro:180}, {id:31, yy:10026, xx:196, ro:180}, {id:83, yy:10098, xx:410}, {id:25, yy:10108, xx:407}, {id:49, yy:10240, xx:62}, {id:4, yy:10258, xx:316}, {id:21, yy:10344, xx:277}, {id:78, yy:10346, xx:-96}];
pos9 = [{id:50, yy:206, xx:359}, {id:88, yy:298, xx:357}, {id:3, yy:306, xx:361}, {id:34, yy:392, xx:579}, {id:3, yy:476, xx:258}, {id:31, yy:492, xx:249, ro:180}, {id:34, yy:496, xx:-33}, {id:34, yy:544, xx:580}, {id:19, yy:640, xx:71, yk:320}, {id:35, yy:650, xx:122}, {id:25, yy:650, xx:117}, {id:34, yy:684, xx:575}, {id:34, yy:770, xx:571}, {id:34, yy:804, xx:-35}, {id:34, yy:888, xx:575}, {id:10, yy:1002, xx:276}, {id:31, yy:1010, xx:262, ro:180}, {id:30, yy:1010, xx:210, ro:180}, {id:35, yy:1026, xx:332}, {id:34, yy:1032, xx:586}, {id:4, yy:1070, xx:92}, {id:34, yy:1108, xx:-41}, {id:2, yy:1150, xx:520}, {id:31, yy:1150, xx:476, ro:180}, {id:34, yy:1236, xx:577}, {id:9, yy:1314, xx:318}, {id:34, yy:1340, xx:-35}, {id:35, yy:1368, xx:288}, {id:34, yy:1420, xx:571}, {id:8, yy:1486, xx:108}, {id:30, yy:1498, xx:82, ro:180}, {id:34, yy:1504, xx:-35}, {id:35, yy:1550, xx:144, ro:180}, {id:34, yy:1572, xx:571}, {id:83, yy:1628, xx:507}, {id:11, yy:1634, xx:268}, {id:4, yy:1642, xx:505}, {id:34, yy:1656, xx:-35}, {id:9, yy:1776, xx:475}, {id:34, yy:1782, xx:575}, {id:30, yy:1820, xx:455, ro:180}, {id:34, yy:1874, xx:-43}, {id:4, yy:1948, xx:336}, {id:3, yy:2048, xx:220}, {id:35, yy:2054, xx:226}, {id:33, yy:2092, xx:129}, {id:44, yy:2184, xx:343}, {id:34, yy:2232, xx:564}, {id:1, yy:2252, xx:344}, {id:30, yy:2270, xx:411, ro:180}, {id:30, yy:2274, xx:284, ro:180}, {id:25, yy:2392, xx:528}, {id:34, yy:2458, xx:-29}, {id:34, yy:2480, xx:576}, {id:4, yy:2508, xx:421}, {id:32, yy:2596, xx:236}, {id:31, yy:2602, xx:188, ro:180}, {id:2, yy:2606, xx:259}, {id:35, yy:2610, xx:302}, {id:34, yy:2642, xx:-27}, {id:34, yy:2672, xx:576}, {id:35, yy:2736, xx:440}, {id:30, yy:2748, xx:499, ro:180}, {id:2, yy:2752, xx:468}, {id:4, yy:2850, xx:335}, {id:33, yy:2878, xx:198}, {id:34, yy:2880, xx:-29}, {id:4, yy:2966, xx:271}, {id:37, yy:3054, xx:216}, {id:36, yy:3060, xx:155}, {id:34, yy:3092, xx:567}, {id:89, yy:3120, xx:346}, {id:3, yy:3134, xx:355}, {id:41, yy:3138, xx:491}, {id:34, yy:3194, xx:-33}, {id:3, yy:3236, xx:477}, {id:42, yy:3532, xx:58}, {id:2, yy:3632, xx:86}, {id:34, yy:3672, xx:598}, {id:43, yy:3722, xx:391}, {id:34, yy:3726, xx:573}, {id:38, yy:3726, xx:234}, {id:4, yy:3730, xx:331}, {id:4, yy:3744, xx:237}, {id:34, yy:3794, xx:-27}, {id:81, yy:3840, xx:453}, {id:4, yy:3850, xx:451}, {id:36, yy:3952, xx:129}, {id:3, yy:3968, xx:372}, {id:31, yy:3982, xx:350, ro:180}, {id:35, yy:3982, xx:386, ro:180}, {id:34, yy:4000, xx:-25}, {id:14, yy:4072, xx:258}, {id:36, yy:4092, xx:479}, {id:34, yy:4136, xx:567}, {id:34, yy:4260, xx:-25}, {id:4, yy:4284, xx:153}, {id:34, yy:4322, xx:565}, {id:5, yy:4456, xx:156}, {id:35, yy:4472, xx:58}, {id:31, yy:4472, xx:195, ro:180}, {id:31, yy:4472, xx:334, ro:180}, {id:30, yy:4472, xx:260, ro:180}, {id:30, yy:4472, xx:387, ro:180}, {id:34, yy:4528, xx:567}, {id:4, yy:4578, xx:523}, {id:34, yy:4652, xx:-21}, {id:3, yy:4678, xx:425}, {id:34, yy:4784, xx:570}, {id:34, yy:4840, xx:-23}, {id:83, yy:4878, xx:513}, {id:4, yy:4890, xx:511}, {id:34, yy:5036, xx:-25}, {id:34, yy:5044, xx:567}, {id:31, yy:5112, xx:514, ro:180}, {id:5, yy:5116, xx:376}, {id:30, yy:5122, xx:430, ro:180}, {id:35, yy:5128, xx:362}, {id:35, yy:5128, xx:152}, {id:30, yy:5146, xx:254, ro:180}, {id:4, yy:5292, xx:35}, {id:20, yy:5328, xx:311, yk:378}, {id:34, yy:5330, xx:571}, {id:3, yy:5444, xx:137}, {id:34, yy:5464, xx:577}, {id:34, yy:5478, xx:-35}, {id:8, yy:5508, xx:513}, {id:35, yy:5518, xx:457}, {id:34, yy:5582, xx:-35}, {id:34, yy:5720, xx:-39}, {id:34, yy:5762, xx:573}, {id:34, yy:5824, xx:-39}, {id:11, yy:5836, xx:310}, {id:8, yy:5874, xx:175}, {id:34, yy:5896, xx:576}, {id:30, yy:5920, xx:135, ro:180}, {id:35, yy:5922, xx:176}, {id:14, yy:5982, xx:515}, {id:34, yy:6020, xx:-41}, {id:33, yy:6068, xx:162}, {id:34, yy:6098, xx:-44}, {id:34, yy:6164, xx:577}, {id:33, yy:6206, xx:78}, {id:34, yy:6228, xx:-44}, {id:38, yy:6250, xx:464}, {id:9, yy:6258, xx:429}, {id:38, yy:6266, xx:396}, {id:34, yy:6276, xx:560}, {id:34, yy:6360, xx:-33}, {id:38, yy:6396, xx:283}, {id:9, yy:6406, xx:248}, {id:38, yy:6412, xx:214}, {id:34, yy:6450, xx:-45}, {id:34, yy:6454, xx:571}, {id:33, yy:6530, xx:444}, {id:34, yy:6562, xx:565}, {id:4, yy:6574, xx:302}, {id:2, yy:6588, xx:34}, {id:31, yy:6600, xx:54, ro:180}, {id:43, yy:6608, xx:155}, {id:34, yy:6694, xx:575}, {id:34, yy:6756, xx:-41}, {id:84, yy:6758, xx:172}, {id:3, yy:6770, xx:176}, {id:34, yy:6772, xx:-31}, {id:34, yy:6792, xx:579}, {id:34, yy:6818, xx:570}, {id:34, yy:6884, xx:-36}, {id:34, yy:6946, xx:569}, {id:32, yy:6982, xx:145}, {id:32, yy:6990, xx:275}, {id:5, yy:6998, xx:80}, {id:31, yy:7004, xx:147, ro:180}, {id:35, yy:7016, xx:48}, {id:31, yy:7016, xx:97, ro:180}, {id:34, yy:7070, xx:572}, {id:4, yy:7072, xx:402}, {id:34, yy:7160, xx:574}, {id:34, yy:7222, xx:-37}, {id:89, yy:7230, xx:469}, {id:3, yy:7244, xx:477}, {id:34, yy:7346, xx:-34}, {id:34, yy:7374, xx:576}, {id:44, yy:7410, xx:331}, {id:7, yy:7424, xx:375}, {id:44, yy:7430, xx:215}, {id:34, yy:7462, xx:-33}, {id:31, yy:7462, xx:387, ro:180}, {id:31, yy:7496, xx:462, ro:180}, {id:34, yy:7514, xx:570}, {id:30, yy:7524, xx:275, ro:180}, {id:34, yy:7560, xx:-29}, {id:19, yy:7656, xx:43, yk:400}, {id:2, yy:7658, xx:-41}, {id:20, yy:7798, xx:219, yk:344}, {id:20, yy:7842, xx:128, yk:344}, {id:20, yy:7842, xx:310, yk:344}, {id:34, yy:7888, xx:581}, {id:41, yy:7992, xx:428}, {id:34, yy:7996, xx:577}, {id:34, yy:8092, xx:581}, {id:3, yy:8094, xx:426}, {id:37, yy:8108, xx:46}, {id:34, yy:8154, xx:-25}, {id:34, yy:8192, xx:581}, {id:37, yy:8242, xx:129}, {id:37, yy:8248, xx:262}, {id:34, yy:8262, xx:-29}, {id:42, yy:8500, xx:57}, {id:9, yy:8558, xx:394}, {id:3, yy:8600, xx:54}, {id:43, yy:8608, xx:152}, {id:35, yy:8610, xx:412}, {id:34, yy:8698, xx:573}, {id:34, yy:8710, xx:-21}, {id:4, yy:8784, xx:154}, {id:34, yy:8794, xx:571}, {id:34, yy:8798, xx:-25}, {id:44, yy:8860, xx:442}, {id:7, yy:8882, xx:399}, {id:81, yy:8888, xx:522}, {id:34, yy:8940, xx:-23}, {id:30, yy:9002, xx:468, ro:180}, {id:31, yy:9014, xx:392, ro:180}, {id:34, yy:9034, xx:-25}, {id:30, yy:9040, xx:297, ro:180}, {id:35, yy:9066, xx:231}, {id:3, yy:9126, xx:30}, {id:35, yy:9126, xx:46}, {id:34, yy:9178, xx:590}, {id:4, yy:9316, xx:110}, {id:34, yy:9318, xx:-23}, {id:34, yy:9384, xx:592}, {id:11, yy:9394, xx:181}, {id:4, yy:9442, xx:408}, {id:34, yy:9524, xx:-21}, {id:35, yy:9618, xx:517}, {id:2, yy:9618, xx:551}, {id:44, yy:9636, xx:402}, {id:34, yy:9674, xx:-25}, {id:34, yy:9710, xx:581}, {id:4, yy:9792, xx:417}, {id:34, yy:9814, xx:-23}, {id:34, yy:9850, xx:583}, {id:34, yy:9910, xx:-25}, {id:19, yy:9920, xx:79, yk:400}, {id:30, yy:9932, xx:194, ro:180}, {id:35, yy:9932, xx:144}, {id:2, yy:9936, xx:165}, {id:34, yy:9946, xx:581}, {id:3, yy:9986, xx:357}, {id:31, yy:9992, xx:346, ro:180}, {id:34, yy:10020, xx:-33}, {id:34, yy:10056, xx:573}, {id:34, yy:10160, xx:-31}, {id:41, yy:10194, xx:509}, {id:34, yy:10196, xx:575}, {id:44, yy:10248, xx:348}, {id:34, yy:10256, xx:-33}, {id:38, yy:10260, xx:251}, {id:9, yy:10270, xx:216}, {id:38, yy:10276, xx:182}, {id:38, yy:10280, xx:456}, {id:8, yy:10288, xx:496}, {id:34, yy:10292, xx:573}, {id:37, yy:10320, xx:34}, {id:42, yy:10706, xx:51}, {id:3, yy:10806, xx:49}, {id:89, yy:10956, xx:162}, {id:3, yy:10970, xx:170}, {id:22, yy:11126, xx:273}, {id:22, yy:11256, xx:378}, {id:83, yy:11386, xx:279}, {id:22, yy:11394, xx:280}, {id:49, yy:11478, xx:390}, {id:4, yy:11508, xx:331}, {id:4, yy:11508, xx:215}, {id:4, yy:11508, xx:448}, {id:4, yy:11508, xx:98}, {id:21, yy:11574, xx:275}, {id:79, yy:11584, xx:-175}];
pos10 = [{id:50, yy:206, xx:275}, {id:88, yy:298, xx:273}, {id:3, yy:306, xx:277}, {id:34, yy:392, xx:579}, {id:4, yy:456, xx:392}, {id:34, yy:474, xx:-30}, {id:34, yy:544, xx:580}, {id:35, yy:594, xx:518}, {id:25, yy:610, xx:505}, {id:34, yy:626, xx:-30}, {id:34, yy:690, xx:571}, {id:10, yy:752, xx:306}, {id:31, yy:764, xx:338, ro:180}, {id:30, yy:768, xx:276, ro:180}, {id:35, yy:776, xx:392}, {id:34, yy:840, xx:571}, {id:34, yy:850, xx:-38}, {id:19, yy:880, xx:131, yk:320}, {id:4, yy:892, xx:158}, {id:34, yy:990, xx:567}, {id:34, yy:1020, xx:-32}, {id:37, yy:1110, xx:63}, {id:34, yy:1140, xx:567}, {id:36, yy:1206, xx:326}, {id:34, yy:1210, xx:-30}, {id:34, yy:1288, xx:566}, {id:2, yy:1306, xx:185}, {id:30, yy:1336, xx:208, ro:180}, {id:31, yy:1336, xx:168, ro:180}, {id:36, yy:1340, xx:478}, {id:22, yy:1378, xx:332}, {id:34, yy:1424, xx:-27}, {id:25, yy:1442, xx:433}, {id:30, yy:1452, xx:427, ro:180}, {id:34, yy:1544, xx:-27}, {id:2, yy:1588, xx:524}, {id:35, yy:1596, xx:516}, {id:23, yy:1650, xx:396}, {id:34, yy:1664, xx:-31}, {id:83, yy:1708, xx:336}, {id:4, yy:1720, xx:335}, {id:34, yy:1738, xx:577}, {id:34, yy:1784, xx:-30}, {id:23, yy:1796, xx:270}, {id:3, yy:1876, xx:185}, {id:34, yy:1902, xx:-32}, {id:30, yy:1912, xx:177, ro:180}, {id:34, yy:1950, xx:580}, {id:23, yy:1966, xx:81}, {id:34, yy:2070, xx:580}, {id:6, yy:2072, xx:221}, {id:30, yy:2178, xx:203, ro:180}, {id:30, yy:2178, xx:256, ro:180}, {id:34, yy:2190, xx:576}, {id:35, yy:2190, xx:322}, {id:30, yy:2208, xx:353, ro:180}, {id:35, yy:2220, xx:420}, {id:34, yy:2310, xx:576}, {id:23, yy:2328, xx:525}, {id:34, yy:2338, xx:-30}, {id:34, yy:2430, xx:574}, {id:23, yy:2460, xx:473}, {id:20, yy:2538, xx:402, yk:344}, {id:34, yy:2552, xx:-27}, {id:23, yy:2592, xx:525}, {id:34, yy:2672, xx:-27}, {id:3, yy:2726, xx:516}, {id:20, yy:2778, xx:282, yk:344}, {id:34, yy:2792, xx:-31}, {id:34, yy:2896, xx:571}, {id:34, yy:2912, xx:-30}, {id:22, yy:2974, xx:364}, {id:36, yy:2998, xx:101}, {id:20, yy:3018, xx:162, yk:344}, {id:37, yy:3034, xx:235}, {id:34, yy:3052, xx:-32}, {id:34, yy:3152, xx:567}, {id:36, yy:3158, xx:367}, {id:34, yy:3198, xx:-30}, {id:22, yy:3214, xx:244}, {id:34, yy:3272, xx:567}, {id:36, yy:3274, xx:60}, {id:34, yy:3390, xx:566}, {id:34, yy:3438, xx:-33}, {id:22, yy:3454, xx:124}, {id:89, yy:3540, xx:47}, {id:3, yy:3554, xx:56}, {id:34, yy:3556, xx:571}, {id:34, yy:3556, xx:-33}, {id:34, yy:3664, xx:579}, {id:34, yy:3676, xx:-35}, {id:4, yy:3700, xx:153}, {id:41, yy:3724, xx:497}, {id:34, yy:3788, xx:-35}, {id:34, yy:3788, xx:575}, {id:22, yy:3804, xx:241}, {id:8, yy:3860, xx:542}, {id:35, yy:3864, xx:504}, {id:22, yy:3888, xx:380}, {id:42, yy:4022, xx:62}, {id:3, yy:4142, xx:65}, {id:11, yy:4180, xx:166}, {id:22, yy:4250, xx:396}, {id:34, yy:4256, xx:-35}, {id:34, yy:4256, xx:585}, {id:23, yy:4336, xx:471}, {id:34, yy:4364, xx:592}, {id:34, yy:4364, xx:-27}, {id:33, yy:4406, xx:303}, {id:14, yy:4422, xx:516}, {id:34, yy:4488, xx:-31}, {id:34, yy:4488, xx:589}, {id:5, yy:4628, xx:-39}, {id:81, yy:4662, xx:449}, {id:30, yy:4662, xx:195, ro:180}, {id:35, yy:4662, xx:73}, {id:30, yy:4662, xx:135, ro:180}, {id:4, yy:4674, xx:447}, {id:34, yy:4680, xx:588}, {id:34, yy:4680, xx:-31}, {id:43, yy:4682, xx:284}, {id:34, yy:4788, xx:596}, {id:34, yy:4788, xx:-24}, {id:23, yy:4800, xx:387}, {id:23, yy:4886, xx:450}, {id:34, yy:4912, xx:-27}, {id:34, yy:4912, xx:592}, {id:19, yy:4972, xx:496, yk:320}, {id:2, yy:4986, xx:582}, {id:34, yy:5016, xx:-27}, {id:34, yy:5110, xx:579}, {id:34, yy:5128, xx:-27}, {id:34, yy:5228, xx:594}, {id:34, yy:5236, xx:-19}, {id:33, yy:5268, xx:229}, {id:34, yy:5336, xx:602}, {id:34, yy:5360, xx:-23}, {id:4, yy:5394, xx:446}, {id:22, yy:5428, xx:362}, {id:34, yy:5460, xx:598}, {id:34, yy:5464, xx:-22}, {id:11, yy:5500, xx:128}, {id:8, yy:5560, xx:-17}, {id:35, yy:5606, xx:45}, {id:34, yy:5658, xx:585}, {id:41, yy:5734, xx:246}, {id:82, yy:5736, xx:138}, {id:4, yy:5748, xx:136}, {id:34, yy:5802, xx:588}, {id:34, yy:5922, xx:604}, {id:42, yy:6158, xx:486}, {id:5, yy:6286, xx:352}, {id:30, yy:6312, xx:282, ro:180}, {id:30, yy:6316, xx:226, ro:180}, {id:31, yy:6322, xx:155, ro:180}, {id:35, yy:6322, xx:206}, {id:30, yy:6324, xx:152, ro:180}, {id:35, yy:6326, xx:100}, {id:14, yy:6386, xx:25}, {id:34, yy:6496, xx:592}, {id:20, yy:6546, xx:194, yk:344}, {id:34, yy:6558, xx:-46}, {id:34, yy:6620, xx:588}, {id:9, yy:6638, xx:378}, {id:19, yy:6656, xx:290, yk:320}, {id:84, yy:6670, xx:106}, {id:35, yy:6676, xx:388}, {id:34, yy:6682, xx:-50}, {id:25, yy:6686, xx:109}, {id:34, yy:6786, xx:-50}, {id:34, yy:6818, xx:574}, {id:34, yy:6898, xx:-50}, {id:34, yy:7002, xx:581}, {id:34, yy:7006, xx:-42}, {id:44, yy:7010, xx:240}, {id:44, yy:7012, xx:347}, {id:34, yy:7114, xx:581}, {id:89, yy:7122, xx:354}, {id:34, yy:7130, xx:-46}, {id:3, yy:7134, xx:362}, {id:23, yy:7222, xx:461}, {id:34, yy:7222, xx:589}, {id:34, yy:7234, xx:-45}, {id:23, yy:7328, xx:525}, {id:34, yy:7346, xx:585}, {id:33, yy:7416, xx:266}, {id:23, yy:7434, xx:461}, {id:34, yy:7450, xx:585}, {id:34, yy:7466, xx:-48}, {id:23, yy:7540, xx:525}, {id:34, yy:7590, xx:-52}, {id:34, yy:7598, xx:592}, {id:23, yy:7646, xx:461}, {id:33, yy:7688, xx:119}, {id:34, yy:7694, xx:-51}, {id:34, yy:7722, xx:588}, {id:38, yy:7772, xx:370}, {id:9, yy:7780, xx:335}, {id:38, yy:7788, xx:301}, {id:34, yy:7826, xx:588}, {id:34, yy:7842, xx:-45}, {id:82, yy:7922, xx:180}, {id:4, yy:7934, xx:178}, {id:34, yy:7966, xx:-49}, {id:22, yy:8052, xx:101}, {id:34, yy:8070, xx:-48}, {id:23, yy:8182, xx:192}, {id:23, yy:8182, xx:25}, {id:23, yy:8182, xx:358}, {id:41, yy:8194, xx:468}, {id:23, yy:8268, xx:108}, {id:23, yy:8268, xx:275}, {id:42, yy:8578, xx:91}, {id:22, yy:8762, xx:97}, {id:25, yy:8844, xx:191}, {id:34, yy:8860, xx:-34}, {id:11, yy:8896, xx:286}, {id:34, yy:8982, xx:-38}, {id:22, yy:9022, xx:508}, {id:34, yy:9088, xx:-37}, {id:34, yy:9098, xx:578}, {id:23, yy:9146, xx:421}, {id:34, yy:9220, xx:574}, {id:34, yy:9236, xx:-31}, {id:23, yy:9260, xx:349}, {id:33, yy:9266, xx:152}, {id:34, yy:9326, xx:575}, {id:34, yy:9358, xx:-35}, {id:19, yy:9358, xx:394, yk:320}, {id:8, yy:9372, xx:490}, {id:35, yy:9374, xx:462}, {id:34, yy:9464, xx:-34}, {id:34, yy:9474, xx:581}, {id:34, yy:9596, xx:577}, {id:34, yy:9702, xx:578}, {id:41, yy:9836, xx:395}, {id:42, yy:10184, xx:62}, {id:20, yy:10364, xx:71, yk:344}, {id:34, yy:10394, xx:-32}, {id:34, yy:10454, xx:578}, {id:20, yy:10486, xx:132, yk:344}, {id:34, yy:10498, xx:-32}, {id:34, yy:10560, xx:578}, {id:34, yy:10646, xx:-26}, {id:34, yy:10708, xx:585}, {id:34, yy:10770, xx:-29}, {id:34, yy:10830, xx:581}, {id:34, yy:10874, xx:-29}, {id:89, yy:10928, xx:137}, {id:34, yy:10936, xx:581}, {id:3, yy:10940, xx:145}, {id:22, yy:11082, xx:26}, {id:23, yy:11188, xx:94}, {id:25, yy:11298, xx:15}, {id:25, yy:11298, xx:532}, {id:83, yy:11394, xx:92}, {id:4, yy:11406, xx:456}, {id:4, yy:11406, xx:90}, {id:3, yy:11514, xx:33}, {id:3, yy:11514, xx:514}, {id:21, yy:11618, xx:267}, {id:80, yy:11622, xx:620}];
pos11 = [{id:50, yy:166, xx:137}, {id:88, yy:258, xx:135}, {id:3, yy:266, xx:139}, {id:4, yy:356, xx:23}, {id:4, yy:356, xx:524}, {id:4, yy:464, xx:456}, {id:4, yy:464, xx:91}, {id:25, yy:572, xx:15}, {id:25, yy:572, xx:532}, {id:4, yy:680, xx:91}, {id:4, yy:680, xx:456}, {id:3, yy:788, xx:33}, {id:3, yy:788, xx:514}, {id:21, yy:892, xx:267}, {id:80, yy:896, xx:620}];
Frame 20
call("pro");
call("pro2");
r._y = -500;
d = 60;
onEnterFrame = function () {
d--;
if ((d < 0) or r.beginningAd) {
delete onEnterFrame;
r._y = 0;
initmusicsfx();
fadescreen();
}
};
stop();
Frame 28
call("pro2");
fadescreen();
stop();
Frame 35
startupVars.text = showGSStartupInfo();
if (!GameServices.sendHit(GSGameTracking.PLAY, "Game Tracking Play Event")) {
trace("PLAY failed");
} else {
trace("PLAY sent");
}
gotoAndPlay ("start");
Frame 36
call("pro");
call("pro2");
call("proboss");
call("pos");
_global.m = this.map;
_global.bg = m.bg;
_global.stat = this.stat;
_global.p = m.attachMovie("player", "player", 14000, {_x:100, _y:50, _xscale:-100});
_global.boss = null;
_global.bossland = null;
fadescreen(8);
if (!r.level) {
r.level = 1;
r.checkpoint = 0;
r.ang = 0;
r.lives = (r.livesmax = 5);
r.energy = (r.energymax = 100);
}
r._y = 0;
levelmax = 10;
weapon = 1;
bulletpower = [0, 10, 30, 20];
bulletspeed = [0, 20, 20, 20];
bulletpoprange = [0, 45, 64, 45];
shotdelay = [0, 6, 8, 3];
leveltimes = [0, 300, 330, 330, 360, 360, 420, 420, 450, 450, 450];
weapontime = [0, 0, 600, 600];
special = (specialmax = 3);
flashbombpower = 30;
laughsfx = ["zlaugh3", "zlaugh2", "zlaugh1"];
laughd = (laughdelay = 80);
totalkill = (prevtotalkill = 0);
specialdelay = 40;
pspeed = 5;
jump = (hit = (ontop = (inv = (noshoot = (door = (weaponfireani = (nospecial = (popwindoor = (wtimer = (talking = 0))))))))));
bumpdamage = 15;
nil = 500;
bosskilledscore = 10000;
leveltime = r.leveltimes[r.level];
onesec = 30;
waktu = leveltime * onesec;
jumppower = -23;
grav = 2;
screenwid = 550;
screenhei = 440;
halfwid = screenwid / 2;
halfhei = screenhei / 2;
xmin = 20;
xmax = 530;
pymidpos = 200;
addpeekrange = 160;
invhitdelay = 50;
bgdiv = 2;
od = 6000;
bd = 14100;
d = 10;
bgd = 100;
popd = 100;
all = [];
enemy = [];
pos = [];
chain = [];
doors = [];
getleveldata(r.level);
var i = 0;
while (i < pos.length) {
if (pos[i].id < 10) {
p._x = pos[i].xx;
p._y = pos[i].yy - 20;
break;
}
i++;
}
r.jump = 1;
r.drag.vy = 20;
bg.attachMovie("bg", "bg" + r.bgd, r.bgd);
r.bgd++;
resetrandom();
initmusicsfx();
r.scrmax = 0;
r.ymin = -r.scrmax;
r.ymax = r.ymin + r.screenhei;
r.pynow = (-p._y) + 300;
var i = 0;
while (i < 10) {
it = pos.shift();
make(it.id, it.xx, it.yy, it.ro, it.xk, it.yk);
i++;
}
if (!r.checkpoint) {
poplevelinfo();
}
scrolldiv = 5;
onEnterFrame = function () {
if (((r.act == "climb") or (r.act == "door")) or ((!r.jump) and (!r.hit))) {
r.pynow = (-p._y) + r.pymidpos;
}
if (boss and bossland) {
m._y = Math.max((-bossland._y) + 400, Math.min(r.scrmax, Math.round(m._y + ((r.pynow - m._y) / r.scrolldiv))));
} else {
m._y = Math.min(r.scrmax, Math.round(m._y + ((r.pynow - m._y) / r.scrolldiv)));
}
if (m._y > ((-p._y) + r.pymidpos)) {
r.scrmax = m._y;
}
r.ymin = -r.scrmax;
r.ymax = r.ymin + r.screenhei;
m.fire._y = -m._y;
bg._y = (-m._y) / r.bgdiv;
if (r.pos[0].yy < (((-m._y) + r.screenhei) + 200)) {
it = pos.shift();
make(it.id, it.xx, it.yy, it.ro, it.xk, it.yk);
}
if (r.inv > 0) {
r.inv--;
p._visible = !p._visible;
if (!r.inv) {
p._visible = true;
}
}
if (r.noshoot > 0) {
r.noshoot--;
}
if (r.nospecial > 0) {
r.nospecial--;
}
if (r.wtimer > 0) {
r.wtimer--;
if (!r.wtimer) {
r.weapon = 1;
}
}
if (!r.noshoot) {
shoot(r.weapon);
r.noshoot = r.shotdelay[r.weapon];
}
if (r.weaponfireani > 0) {
r.weaponfireani--;
}
r.laughd--;
};
stop();
Instance of Symbol 1317 MovieClip in Frame 36
onClipEvent (load) {
letterkeys = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
numberkeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
numpadkeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "+", "Enter", "-", ".", "/"];
functionkeys = ["F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12"];
otherkeys = ["Space", "Page Up", "Page Down", "End", "Home", "Left", "Up", "Right", "Down"];
keypressed = "";
}
onClipEvent (keyDown) {
k = Key.getCode();
if ((k >= 65) and (k <= 90)) {
keyp = letterkeys[k - 65];
}
if ((k >= 48) and (k <= 57)) {
keyp = numberkeys[k - 48];
}
if ((k >= 96) and (k <= 111)) {
keyp = numpadkeys[k - 96];
}
if ((k >= 112) and (k <= 123)) {
keyp = functionkeys[k - 112];
}
if ((k >= 32) and (k <= 40)) {
keyp = otherkeys[k - 32];
}
if (k == 8) {
keyp = "BackSpace";
}
if (k == 9) {
keyp = "Tab";
}
if (k == 12) {
keyp = "Clear";
}
if (k == 13) {
keyp = "Enter";
}
if (k == 16) {
keyp = "Shift";
}
if (k == 17) {
keyp = "Control";
}
if (k == 18) {
keyp = "Alt";
}
if (k == 20) {
keyp = "Caps Lock";
}
if (k == 27) {
keyp = "Esc";
}
if (k == 45) {
keyp = "Insert";
}
if (k == 46) {
keyp = "Delete";
}
if (k == 47) {
keyp = "help";
}
if (k == 144) {
keyp = "Num Lock";
}
if (k == 186) {
keyp = ";:";
}
if (k == 187) {
keyp = "=+";
}
if (k == 189) {
keyp = "-_";
}
if (k == 191) {
keyp = "/?";
}
if (k == 192) {
keyp = "'@";
}
if (k == 219) {
keyp = "[{";
}
if (k == 220) {
keyp = "\\|";
}
if (k == 221) {
keyp = "]}";
}
keypressed = keypressed + keyp;
if ((substring(keypressed, keypressed.length - 3, 4)) == "DICK") {
r.energy = r.energymax;
r.zbonus.start();
keypressed = "";
} else if ((substring(keypressed, keypressed.length - 3, 4)) == "HUNT") {
r.special = r.specialmax;
stat.specialbar.gotoAndPlay(1);
r.zbonus.start();
keypressed = "";
} else if ((substring(keypressed, keypressed.length - 2, 3)) == "CIA") {
r.weapon = 3;
r.wtimer = 2 * r.weapontime[r.weapon];
r.zbonus.start();
} else if ((substring(keypressed, keypressed.length - 3, 4)) == "NNNN") {
r.level++;
r.checkpoint = 0;
if (r.level > r.levelmax) {
r.gotoAndPlay("win");
} else {
energize(r.energymax);
r.gotoAndPlay("retry");
r.zbonus.start();
keypressed = "";
}
}
}
Frame 42
stoploopsfx();
r._y = 0;
d = 50;
onEnterFrame = function () {
d--;
if (!d) {
snap.removeMovieClip();
r.lives--;
if (r.lives > 0) {
r.checkpoint = 0;
r.energy = r.energymax;
r.gotoAndPlay("retry");
} else {
r.gotoAndPlay("end");
}
}
};
stop();
Frame 50
stoploopsfx();
r._y = 0;
gotoAndPlay ("start");
Frame 56
stoploopsfx();
r._y = 0;
delete onEnterFrame;
fadescreen();
stop();
Frame 62
stoploopsfx();
r._y = 0;
delete onEnterFrame;
fadescreen();
stop();
Frame 69
delete onEnterFrame;
stop();
onEnterFrame = function () {
ScreenName.text = ScreenName.text.toUpperCase();
};
tResultScore.text = r.ang;
ScreenName.text = _global.tUserName;
if (!GameServices.sendHit(GSGameTracking.ZONECHANGE, "Game Tracking ZoneChange Event")) {
trace("ZONECHANGE failed");
} else {
trace("ZONECHANGE sent");
}
btn_submitScoreGetScores.onRelease = function () {
score = r.ang;
if (score > 0) {
var _local2 = 6;
if (_local2 > 0) {
var _local3 = GSScoreSubmit.setGameId(_local2);
if (!_local3) {
errorMsg.text = "That's a bad game id";
}
}
firstRank = 1;
if ((firstRank < 1) || (firstRank > 10000)) {
firstRank = 1;
}
numRanks = 10;
if ((numRanks < 1) || (numRanks > 1000)) {
numRanks = 25;
}
_global.tUserName = ScreenName.text;
if (ScreenName.text == "") {
ScreenName.text = "AAA";
_global.tUserName = ScreenName.text;
}
GSScoreSubmit.unauthSubmitScoreGetScores(score, score, "", ScreenName.text, firstRank, numRanks, 10, -1);
r.fromscoresubmit = 1;
gotoAndPlay ("UnauthSubmitResults");
} else {
errorMsg.text = "Score not valid for submission";
}
};
Frame 84
delete onEnterFrame;
stop();
aa.high_score_title.text = "Today's Highscore Results";
var g_PagingScores = 0;
var g_LastPagingScores = 0;
var g_ScoresPerPage = 10;
var g_TimePeriodType = 10;
var g_TimePeriod = -1;
GSScoreSubmit.unauthLeaderBoard(g_PagingScores * g_ScoresPerPage, 10, g_TimePeriodType, g_TimePeriod);
if (!GameServices.sendHit(GSGameTracking.GAMEOVER, "Game Tracking Game Over Event")) {
trace("GAMEOVER failed");
} else {
trace("GAMEOVER sent");
}
GetUserScoreRanksToday_btn.onRelease = function () {
g_LastPagingScores = 0;
g_PagingScores = 0;
g_TimePeriodType = 10;
g_TimePeriod = -1;
trace(g_TimePeriod);
aa.high_score_title.text = "Today's Highscore Results";
GSScoreSubmit.unauthLeaderBoard(g_PagingScores * g_ScoresPerPage, 10, g_TimePeriodType, g_TimePeriod);
};
GetUserScoreRanksYesterday_btn.onRelease = function () {
g_LastPagingScores = 0;
g_PagingScores = 0;
g_TimePeriodType = 10;
g_TimePeriod = -2;
trace(g_TimePeriod);
aa.high_score_title.text = "Yesterday's Highscore Results";
GSScoreSubmit.unauthLeaderBoard(g_PagingScores * g_ScoresPerPage, 10, g_TimePeriodType, g_TimePeriod);
};
GetUserScoreRanksMonth_btn.onRelease = function () {
g_LastPagingScores = 0;
g_PagingScores = 0;
g_TimePeriodType = 30;
g_TimePeriod = -1;
trace(g_TimePeriod);
aa.high_score_title.text = "This Month's Highscore Results";
GSScoreSubmit.unauthLeaderBoard(g_PagingScores * g_ScoresPerPage, 10, g_TimePeriodType, g_TimePeriod);
};
GetUserScoreRanksWeek_btn.onRelease = function () {
g_LastPagingScores = 0;
g_PagingScores = 0;
g_TimePeriodType = 20;
g_TimePeriod = -1;
trace(g_TimePeriod);
aa.high_score_title.text = "This Week's Top Highscore Results";
GSScoreSubmit.unauthLeaderBoard(g_PagingScores * g_ScoresPerPage, 10, g_TimePeriodType, g_TimePeriod);
};
GetUserScoreRanksAllTime_btn.onRelease = function () {
g_PagingScores = 0;
g_TimePeriodType = 0;
g_TimePeriod = -1;
trace(g_TimePeriod);
aa.high_score_title.text = "All Time Highscore Results";
GSScoreSubmit.unauthLeaderBoard(g_PagingScores * g_ScoresPerPage, 10, g_TimePeriodType, g_TimePeriod);
};
RightArrow_mc.onRelease = function () {
g_LastPagingScores = g_PagingScores;
g_PagingScores = g_PagingScores + 1;
GSScoreSubmit.unauthLeaderBoard(g_PagingScores * g_ScoresPerPage, 10, g_TimePeriodType, g_TimePeriod);
};
LeftArrow_mc.onRelease = function () {
g_LastPagingScores = g_PagingScores;
g_PagingScores = g_PagingScores - 1;
if (g_PagingScores < 0) {
g_PagingScores = 0;
}
GSScoreSubmit.unauthLeaderBoard(g_PagingScores * g_ScoresPerPage, 10, g_TimePeriodType, g_TimePeriod);
};
Frame 102
trace("received in showAd");
Mouse.show();
r._x = (r._y = 0);
r.udamusik = 0;
r.beginningAd = 1;
stopAllSounds();
delete onEnterFrame;
GameServices.showAd(GSAdService.PREROLL, ad_mc);
btn_skipAd.onRelease = function () {
GameServices.cancelAd(ad_mc);
};
stop();
Frame 111
trace("received in interstitial ad");
Mouse.show();
r._x = (r._y = 0);
r.udamusik = 0;
stopAllSounds();
delete onEnterFrame;
GameServices.showAd(GSAdService.INTERSTITIAL, ad_mc);
btn_skipAd.onRelease = function () {
GameServices.cancelAd(ad_mc);
};
stop();
Symbol 3 MovieClip [fadeout] Frame 1
vs = 5;
vol = r.zloop.getVolume();
if (vol > 0) {
onEnterFrame = function () {
vol = vol - vs;
if (vs > 0.5) {
vs = 0.95 * vs;
}
r.zloop.setVolume(vol);
if (vol <= 0) {
r.zloop.stop();
delete onEnterFrame;
}
};
}
Symbol 7 MovieClip Frame 1
onEnterFrame = function () {
_xscale = r.persen;
};
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 1
initlandpoint();
Symbol 80 MovieClip [o1] Frame 1
initplatform();
Symbol 83 MovieClip [bg] Frame 1
initbg();
Symbol 86 MovieClip [o11] Frame 1
initplatform();
moveplatform(3, 0, 150, 0, 0, 0);
Symbol 87 MovieClip [o12] Frame 1
initplatform();
moveplatform(-3, -150, 0, 0, 0, 0);
Symbol 90 MovieClip [o2] Frame 1
initplatform();
Symbol 93 MovieClip [o3] Frame 1
initplatform();
Symbol 96 MovieClip [o4] Frame 1
initplatform();
Symbol 100 MovieClip Frame 5
gotoAndPlay (1);
Symbol 103 MovieClip [o51] Frame 1
initnote(1);
Symbol 104 MovieClip [o13] Frame 1
initplatform();
moveplatform(0, 0, 0, -3, -150, 0);
Symbol 105 MovieClip [o14] Frame 1
initplatform();
moveplatform(0, 0, 0, 3, 0, 150);
Symbol 107 MovieClip Frame 1
_visible = false;
Symbol 110 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 118 MovieClip Frame 1
gotoAndStop(r.weapon);
onEnterFrame = function () {
gotoAndStop(r.weapon);
};
stop();
Symbol 123 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 129 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 132 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 140 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 143 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 149 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 152 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 158 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 163 MovieClip Frame 1
onEnterFrame = function () {
(r.talking ? (gotoAndStop (2)) : (gotoAndStop (1)));
};
Symbol 169 MovieClip Frame 1
onEnterFrame = function () {
if (r.weaponfireani) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 172 MovieClip Frame 1
onEnterFrame = function () {
if (r.weaponfireani) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 174 MovieClip Frame 1
onEnterFrame = function () {
if (r.weaponfireani) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 175 MovieClip Frame 1
gotoAndStop(r.weapon);
onEnterFrame = function () {
gotoAndStop(r.weapon);
};
stop();
Symbol 179 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 180 MovieClip Frame 1
if (p._xscale > 0) {
a._rotation = r.aimangle;
} else {
a._rotation = 180 - r.aimangle;
}
onEnterFrame = function () {
if (p._xscale > 0) {
a._rotation = r.aimangle;
} else {
a._rotation = 180 - r.aimangle;
}
};
stop();
Symbol 181 MovieClip Frame 4
r.zstep1.start();
Symbol 181 MovieClip Frame 10
r.zstep2.start();
Symbol 181 MovieClip Frame 13
gotoAndPlay (1);
Symbol 182 MovieClip Frame 7
stop();
Symbol 183 MovieClip Frame 18
stop();
Symbol 186 MovieClip Frame 10
stop();
Symbol 190 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 191 MovieClip Frame 1
onEnterFrame = function () {
_y = Math.max(0, Math.min(15, 15 - ((p._y - 60) - r.cha._y)));
};
Symbol 199 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 201 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 204 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 208 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 213 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 216 MovieClip Frame 18
stop();
Symbol 217 MovieClip [player] Frame 1
stop();
Symbol 219 MovieClip Frame 1
_visible = false;
Symbol 220 MovieClip Frame 1
_visible = false;
Symbol 229 MovieClip [o34] Frame 1
initflyingenemy(10);
Symbol 234 MovieClip [o88] Frame 1
initlevelmarker();
Symbol 238 MovieClip Frame 1
loosefall();
Symbol 240 MovieClip Frame 1
loosefall();
Symbol 242 MovieClip Frame 1
loosefall();
Symbol 244 MovieClip Frame 1
loosefall();
Symbol 246 MovieClip Frame 1
loosefall();
Symbol 248 MovieClip Frame 1
loosefall();
Symbol 250 MovieClip Frame 1
loosefall();
Symbol 252 MovieClip Frame 1
loosefall();
Symbol 254 MovieClip Frame 1
loosefall();
Symbol 256 MovieClip Frame 1
loosefall();
Symbol 258 MovieClip Frame 1
loosefall();
Symbol 260 MovieClip Frame 1
_xscale = (50 + random(50));
_yscale = (50 + random(50));
loosefall();
Symbol 261 MovieClip Frame 1
stop();
Symbol 262 MovieClip [o23] Frame 1
initlooseplatform(23);
Symbol 266 MovieClip Frame 1
loosefall();
Symbol 268 MovieClip Frame 1
loosefall();
Symbol 270 MovieClip Frame 1
loosefall();
Symbol 272 MovieClip Frame 1
loosefall();
Symbol 274 MovieClip Frame 1
loosefall();
Symbol 276 MovieClip Frame 1
loosefall();
Symbol 278 MovieClip Frame 1
loosefall();
Symbol 280 MovieClip Frame 1
loosefall();
Symbol 282 MovieClip Frame 1
loosefall();
Symbol 284 MovieClip Frame 1
loosefall();
Symbol 286 MovieClip Frame 1
loosefall();
Symbol 288 MovieClip Frame 1
loosefall();
Symbol 289 MovieClip Frame 1
stop();
Symbol 290 MovieClip [o22] Frame 1
initlooseplatform(22);
Symbol 294 MovieClip [out] Frame 1
_alpha = 0;
yy = _y;
_y = (_y + 20);
cl = new Color(snap);
br = 0;
onEnterFrame = function () {
_y = (_y + ((yy - _y) / 3));
_alpha = (_alpha + 10);
br = br - 2;
cl.setBrightness(br);
if (_alpha >= 100) {
_alpha = 100;
delete onEnterFrame;
}
};
stop();
Symbol 296 MovieClip Frame 1
sk = _parent._parent.sk;
Symbol 298 MovieClip [popskor] Frame 24
this.removeMovieClip();
Symbol 303 MovieClip [bullet2] Frame 1
initbullet(r.bulletpower[2]);
Symbol 326 MovieClip [explosion] Frame 14
this.removeMovieClip();
stop();
Symbol 327 MovieClip Frame 1
_visible = false;
Symbol 329 MovieClip Frame 1
_visible = false;
Symbol 350 MovieClip Frame 37
gotoAndPlay (1);
Symbol 351 MovieClip Frame 19
gotoAndPlay (1);
Symbol 353 MovieClip Frame 1
_visible = false;
Symbol 359 MovieClip Frame 1
stop();
Symbol 360 MovieClip [o31] Frame 1
initwalkingenemy(40, 20);
Symbol 368 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 369 MovieClip Frame 1
div = 1.2 + (0.1 * random(10));
yy = (ystart = 87 + random(4));
onEnterFrame = function () {
a._y = a._y + ((yy - a._y) / 2);
};
Symbol 370 MovieClip [o32] Frame 1
initpoletrap();
Symbol 371 MovieClip [o19] Frame 1
initchain(1);
Symbol 378 MovieClip [o20] Frame 1
initchain(2);
Symbol 381 MovieClip [o6] Frame 1
initplatform();
Symbol 384 MovieClip [o5] Frame 1
initplatform();
Symbol 387 MovieClip [o7] Frame 1
initplatform();
Symbol 390 MovieClip Frame 15
gotoAndPlay (1);
Symbol 391 MovieClip [o41] Frame 1
initdoorin(1);
Symbol 394 MovieClip Frame 15
gotoAndPlay (1);
Symbol 395 MovieClip [o42] Frame 1
initdoorout(1);
Symbol 398 MovieClip [bullet1] Frame 1
initbullet(r.bulletpower[1]);
Symbol 401 MovieClip [bullet3] Frame 1
initbullet(r.bulletpower[3]);
Symbol 413 MovieClip Frame 1
onEnterFrame = function () {
_rotation = random(360);
};
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 6
stop();
Symbol 415 MovieClip [bomb] Frame 1
initbomb();
Symbol 426 MovieClip Frame 8
wait(20 + random(30));
Symbol 431 MovieClip [o81] Frame 1
initbonus(1);
Symbol 435 MovieClip [o82] Frame 1
initbonus(2);
Symbol 439 MovieClip [o83] Frame 1
initbonus(3);
Symbol 443 MovieClip [o84] Frame 1
initbonus(4);
Symbol 445 MovieClip Frame 1
sk = _parent.sk;
Symbol 446 MovieClip [popscore] Frame 1
_visible = false;
d = 14;
onEnterFrame = function () {
d--;
if (!d) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 446 MovieClip [popscore] Frame 2
_visible = true;
appear();
Symbol 446 MovieClip [popscore] Frame 32
disappear();
Symbol 452 MovieClip Frame 1
gotoAndStop(_parent.no);
Symbol 453 MovieClip [popmessage] Frame 1
appear();
Symbol 453 MovieClip [popmessage] Frame 32
disappear();
Symbol 454 MovieClip Frame 1
_visible = false;
Symbol 456 MovieClip Frame 1
_visible = false;
Symbol 461 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.shirt);
Symbol 470 MovieClip Frame 1
gotoAndStop(_parent._parent.pants);
Symbol 499 MovieClip Frame 1
_global["wp" + _name] = this;
_visible = false;
Symbol 502 MovieClip Frame 1
onEnterFrame = function () {
if (boss.shoot) {
boss.shoot = 0;
delete onEnterFrame;
play();
}
};
stop();
Symbol 502 MovieClip Frame 7
gotoAndStop (1);
Symbol 514 MovieClip Frame 6
r.zrobotic.start();
Symbol 514 MovieClip Frame 15
r.zrobotic.start();
Symbol 514 MovieClip Frame 19
gotoAndPlay (1);
Symbol 516 MovieClip Frame 1
_visible = false;
Symbol 517 MovieClip Frame 19
stop();
Symbol 537 MovieClip Frame 1
_rotation = random(360);
Symbol 537 MovieClip Frame 16
this.removeMovieClip();
stop();
Symbol 538 MovieClip Frame 2
r.zexplode3.start();
Symbol 538 MovieClip Frame 6
r.zexplode2.start();
Symbol 538 MovieClip Frame 12
r.zexplode2.start();
Symbol 538 MovieClip Frame 17
r.zexplode2.start();
Symbol 538 MovieClip Frame 23
r.zexplode3.start();
Symbol 538 MovieClip Frame 29
r.zexplode2.start();
Symbol 538 MovieClip Frame 34
r.zexplode2.start();
Symbol 538 MovieClip Frame 42
r.zexplode4.start();
Instance of Symbol 468 MovieClip in Symbol 538 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Instance of Symbol 468 MovieClip in Symbol 538 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Instance of Symbol 475 MovieClip in Symbol 538 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Instance of Symbol 489 MovieClip in Symbol 538 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Instance of Symbol 491 MovieClip in Symbol 538 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Instance of Symbol 491 MovieClip in Symbol 538 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Instance of Symbol 493 MovieClip in Symbol 538 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Instance of Symbol 495 MovieClip in Symbol 538 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Instance of Symbol 497 MovieClip in Symbol 538 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Symbol 538 MovieClip Frame 49
r.zexplode2.start();
Symbol 538 MovieClip Frame 54
r.zexplode2.start();
Symbol 538 MovieClip Frame 60
r.zexplode2.start();
Symbol 538 MovieClip Frame 66
r.zexplode3.start();
stop();
Symbol 539 MovieClip Frame 1
stop();
Symbol 540 MovieClip [o71] Frame 1
initsaddam();
Symbol 543 MovieClip [o21] Frame 1
initbossplatform();
Symbol 544 MovieClip Frame 1
_visible = false;
Symbol 551 MovieClip [bulletsaddam] Frame 1
initenemybullet(8, 10);
Symbol 552 MovieClip [o49] Frame 1
initwindoor(9);
Symbol 553 MovieClip [o50] Frame 1
initdoorout(9);
Symbol 558 MovieClip Frame 1
range = 1.5;
speed = 0.15;
starty = _y;
ys = range;
onEnterFrame = function () {
_y = (_y + ys);
if (_y > starty) {
ys = Math.max(ys - speed, -range);
} else {
ys = Math.min(ys + speed, range);
}
};
Symbol 559 MovieClip Frame 1
_visible = false;
onEnterFrame = function () {
(_parent.showsign ? (_visible = truetruegotoAndStop (2)) : null);
};
stop();
Symbol 560 MovieClip [o89] Frame 1
initcheckpoint();
Symbol 562 MovieClip Frame 1
_visible = false;
Symbol 564 MovieClip Frame 1
_visible = false;
Symbol 585 MovieClip Frame 1
_rotation = random(360);
Symbol 598 MovieClip Frame 15
gotoAndPlay (1);
Symbol 599 MovieClip Frame 20
stop();
Symbol 607 MovieClip Frame 11
stop();
Symbol 613 MovieClip Frame 1
ys = -16;
xs = 0.6;
grav = 0.5;
yland = -5;
ro = 15;
onEnterFrame = function () {
ys = ys + grav;
_y = (_y + ys);
_x = (_x + xs);
_rotation = (_rotation + ro);
if (_y > yland) {
_y = yland;
ys = -0.2 * ys;
xs = 0;
_rotation = ((ro = 0));
}
};
Symbol 614 MovieClip Frame 2
r.zexplode3.start();
Symbol 614 MovieClip Frame 6
r.zexplode2.start();
Symbol 614 MovieClip Frame 12
r.zexplode2.start();
Symbol 614 MovieClip Frame 17
r.zexplode2.start();
Symbol 614 MovieClip Frame 23
r.zexplode3.start();
Symbol 614 MovieClip Frame 29
r.zexplode2.start();
Symbol 614 MovieClip Frame 34
r.zexplode2.start();
Symbol 614 MovieClip Frame 42
r.zexplode4.start();
Symbol 614 MovieClip Frame 49
r.zexplode2.start();
Symbol 614 MovieClip Frame 54
r.zexplode2.start();
Symbol 614 MovieClip Frame 60
r.zexplode2.start();
Symbol 614 MovieClip Frame 66
r.zexplode3.start();
stop();
Symbol 615 MovieClip Frame 1
stop();
Symbol 616 MovieClip [o73] Frame 1
initgrinch();
Symbol 627 MovieClip Frame 1
a = "LEVEL " + r.level;
b = 1000 + r.waktu;
r.ang = r.ang + b;
Symbol 632 MovieClip Frame 1
a = "LEVEL " + r.level;
b = 1000 + r.waktu;
r.ang = r.ang + b;
Symbol 633 MovieClip [wininfo] Frame 1
_visible = false;
d = 20;
onEnterFrame = function () {
d--;
if (!d) {
_visible = true;
appearbright();
d = 100;
onEnterFrame = function () {
d--;
if (!d) {
if (r.level == r.levelmax) {
d = 50;
onEnterFrame = function () {
d--;
if (!d) {
r.gotoAndPlay("win");
}
};
} else {
disappearbright();
delete onEnterFrame;
}
}
};
if (r.level == r.levelmax) {
gotoAndStop (2);
} else {
stop();
}
}
};
stop();
Symbol 635 MovieClip Frame 1
a = "LEVEL " + r.level;
Symbol 636 MovieClip [levelinfo] Frame 1
_visible = false;
((!delay) ? ((delay = 0)) : null);
d = delay;
onEnterFrame = function () {
d--;
((d < 0) ? (play()) : null);
};
stop();
Symbol 636 MovieClip [levelinfo] Frame 2
_visible = true;
r.leveltime = r.leveltimes[r.level];
r.waktu = r.leveltime * r.onesec;
r.waktu = r.waktu + (r.onesec - 1);
appearbright(12, 16777164);
wid = _width;
hei = _height;
_width = 600;
_height = 20;
d = 50;
onEnterFrame = function () {
_width = (_width + ((wid - _width) / 2));
if (_width < 200) {
_height = (_height + ((hei - _height) / 2));
}
d--;
((!d) ? (disappearbright(8, 16763904)) : null);
};
stop();
Symbol 637 MovieClip [grinchbomb] Frame 1
initgrinchbomb();
Symbol 638 MovieClip [enemyexplosion] Frame 1
initenemyexplosion();
Symbol 640 MovieClip Frame 1
_visible = false;
Symbol 641 MovieClip Frame 1
_visible = false;
Symbol 689 MovieClip Frame 8
r.zslash.start();
Symbol 689 MovieClip Frame 18
stop();
Symbol 707 MovieClip Frame 1
onEnterFrame = function () {
_yscale = (100 + random(20));
_xscale = (100 + random(20));
};
Symbol 707 MovieClip Frame 2
r.zgrimdie.start();
r.zgrimdie2.start();
Symbol 707 MovieClip Frame 55
delete onEnterFrame;
_yscale = 100;
_xscale = 100;
Symbol 707 MovieClip Frame 76
r.zexplode2.start();
stop();
Symbol 708 MovieClip Frame 1
stop();
Symbol 709 MovieClip [o72] Frame 1
initgrimreaper();
Symbol 710 MovieClip Frame 1
_visible = false;
Symbol 731 MovieClip Frame 1
initwheel();
Symbol 736 MovieClip Frame 1
initwheel();
Symbol 741 MovieClip Frame 1
_visible = false;
Symbol 741 MovieClip Frame 50
stop();
Symbol 754 MovieClip Frame 48
stop();
Symbol 755 MovieClip Frame 50
stop();
Symbol 758 MovieClip Frame 2
r.zexplode3.start();
Symbol 758 MovieClip Frame 6
r.zexplode2.start();
Symbol 758 MovieClip Frame 12
r.zexplode2.start();
Symbol 758 MovieClip Frame 17
r.zexplode2.start();
Symbol 758 MovieClip Frame 23
r.zexplode3.start();
Symbol 758 MovieClip Frame 29
r.zexplode2.start();
Instance of Symbol 730 MovieClip in Symbol 758 MovieClip Frame 33
onClipEvent (load) {
initdebris();
}
Instance of Symbol 735 MovieClip in Symbol 758 MovieClip Frame 33
onClipEvent (load) {
initdebris();
}
Instance of Symbol 735 MovieClip in Symbol 758 MovieClip Frame 33
onClipEvent (load) {
initdebris();
}
Symbol 758 MovieClip Frame 34
r.zexplode2.start();
Instance of Symbol 714 MovieClip in Symbol 758 MovieClip Frame 36
onClipEvent (load) {
initdebris();
}
Instance of Symbol 719 MovieClip in Symbol 758 MovieClip Frame 36
onClipEvent (load) {
initdebris();
}
Instance of Symbol 733 MovieClip in Symbol 758 MovieClip Frame 36
onClipEvent (load) {
initdebris();
}
Instance of Symbol 733 MovieClip in Symbol 758 MovieClip Frame 36
onClipEvent (load) {
initdebris();
}
Instance of Symbol 735 MovieClip in Symbol 758 MovieClip Frame 36
onClipEvent (load) {
initdebris();
}
Instance of Symbol 712 MovieClip in Symbol 758 MovieClip Frame 39
onClipEvent (load) {
initdebris();
}
Instance of Symbol 716 MovieClip in Symbol 758 MovieClip Frame 39
onClipEvent (load) {
initdebris();
}
Instance of Symbol 730 MovieClip in Symbol 758 MovieClip Frame 39
onClipEvent (load) {
initdebris();
}
Symbol 758 MovieClip Frame 42
r.zexplode4.start();
Instance of Symbol 733 MovieClip in Symbol 758 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Instance of Symbol 735 MovieClip in Symbol 758 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Instance of Symbol 735 MovieClip in Symbol 758 MovieClip Frame 42
onClipEvent (load) {
initdebris();
}
Symbol 758 MovieClip Frame 49
r.zexplode2.start();
Symbol 758 MovieClip Frame 54
r.zexplode2.start();
Symbol 758 MovieClip Frame 60
r.zexplode2.start();
Symbol 758 MovieClip Frame 66
r.zexplode3.start();
stop();
Symbol 759 MovieClip Frame 1
stop();
Symbol 760 MovieClip [o79] Frame 1
inithitler();
Symbol 761 MovieClip Frame 1
_visible = false;
Symbol 762 MovieClip Frame 1
_visible = false;
Symbol 769 MovieClip Frame 1
((!uda) ? ((uda = 1)gotoAndPlay(1 + random(_totalframes))) : null);
Symbol 770 MovieClip Frame 1
((!uda) ? ((uda = 1)gotoAndPlay(1 + random(_totalframes))) : null);
Symbol 771 MovieClip Frame 1
((!uda) ? ((uda = 1)gotoAndPlay(1 + random(_totalframes))) : null);
Symbol 772 MovieClip Frame 1
((!uda) ? ((uda = 1)gotoAndPlay(1 + random(_totalframes))) : null);
Symbol 774 MovieClip Frame 1
((!uda) ? (gotoAndPlay(Number(_name))) : null);
Symbol 779 MovieClip Frame 1
stop();
Symbol 779 MovieClip Frame 7
stop();
Symbol 780 MovieClip [o39] Frame 1
initspider(10);
Symbol 781 MovieClip Frame 1
_visible = false;
Symbol 783 MovieClip Frame 1
_visible = false;
Symbol 798 MovieClip Frame 11
gotoAndPlay (1);
Symbol 805 MovieClip Frame 1
r.zwitchdie.start();
Symbol 805 MovieClip Frame 3
m.attachMovie("broomfall", "broom" + r.bd, r.bd, {_x:boss._x, _y:boss._y + 10});
r.bd++;
flip = 1;
onEnterFrame = function () {
flip = !flip;
if (flip) {
((r.enemy.length > 0) ? ((r.enemy[0].energy = r.enemy[0].energy - 1000)) : (delete onEnterFrame));
}
};
stop();
Symbol 806 MovieClip Frame 1
if (!uda) {
uda = 1;
oldy = _parent._y;
onEnterFrame = function () {
ys = _parent._y - oldy;
_rotation = (_rotation + (((-3 * ys) - _rotation) / 10));
oldy = _parent._y;
};
}
stop();
Symbol 806 MovieClip Frame 6
_rotation = 0;
delete onEnterFrame;
Symbol 807 MovieClip [o78] Frame 1
initwitch();
Symbol 808 MovieClip [broomfall] Frame 1
initdebris2bossland();
Symbol 814 MovieClip [bullethitler] Frame 1
initenemybullet(20, 10);
Symbol 837 MovieClip Frame 37
gotoAndPlay (1);
Symbol 843 MovieClip Frame 30
stop();
Symbol 845 MovieClip Frame 21
r.zarrow.start();
Symbol 845 MovieClip Frame 30
stop();
Symbol 848 MovieClip Frame 1
stop();
Symbol 849 MovieClip [o35] Frame 1
initshooter(20);
Symbol 850 MovieClip [arrow] Frame 1
initarrow();
Symbol 851 MovieClip Frame 1
_visible = false;
Symbol 865 MovieClip Frame 1
onEnterFrame = function () {
a._rotation = 5 * _parent.ys;
};
Symbol 866 MovieClip [o37] Frame 1
initskullfly2(60);
Symbol 873 MovieClip Frame 1
_visible = false;
Symbol 875 MovieClip [o38] Frame 1
initspike();
Symbol 881 MovieClip Frame 1
onEnterFrame = function () {
a._rotation = 5 * _parent.ys;
};
Symbol 882 MovieClip [o36] Frame 1
initskullfly(20);
Symbol 891 MovieClip [o33] Frame 1
initbatbig(100);
Symbol 893 MovieClip [batsmall] Frame 1
initbatsmall(10);
Symbol 898 MovieClip [o43] Frame 1
initspikeball(1);
Symbol 899 MovieClip [o44] Frame 1
initspikeball(2);
Symbol 900 MovieClip Frame 1
_visible = false;
Symbol 906 MovieClip Frame 1
((!uda) ? ((uda = 1)gotoAndPlay(1 + random(_totalframes))) : null);
Symbol 907 MovieClip Frame 1
((!uda) ? ((uda = 1)gotoAndPlay(1 + random(_totalframes))) : null);
Symbol 908 MovieClip Frame 1
((!uda) ? ((uda = 1)gotoAndPlay(1 + random(_totalframes))) : null);
Symbol 909 MovieClip Frame 1
((!uda) ? ((uda = 1)gotoAndPlay(1 + random(_totalframes))) : null);
Symbol 911 MovieClip Frame 1
((!uda) ? (gotoAndPlay(Number(_name))) : null);
Symbol 914 MovieClip Frame 1
((!uda) ? (gotoAndPlay(Number(_name))) : null);
Symbol 917 MovieClip Frame 1
stop();
Symbol 917 MovieClip Frame 7
stop();
Symbol 918 MovieClip [o40] Frame 1
initspider(10);
Symbol 919 MovieClip Frame 1
_visible = false;
Symbol 920 MovieClip Frame 1
_visible = false;
Symbol 940 MovieClip Frame 10
stop();
Symbol 941 MovieClip Frame 10
stop();
Symbol 942 MovieClip Frame 15
r.zdraculaattack.start();
Symbol 942 MovieClip Frame 24
stop();
Symbol 945 MovieClip Frame 28
stop();
Symbol 950 MovieClip Frame 15
stop();
Symbol 952 MovieClip Frame 11
r.zdraculabats.start();
Symbol 952 MovieClip Frame 31
stop();
Symbol 956 MovieClip Frame 2
((!udasfx) ? ((udasfx = 1)r.zdracula.start()) : null);
Symbol 956 MovieClip Frame 5
((n < 8) ? (m.attachMovie("enemyexplosion", "enemyexplosion" + r.bd, r.bd, {_x:boss._x, _y:boss._y + (10 * random(15))})) : null);
r.bd++;
r.zexplode2.start();
Symbol 956 MovieClip Frame 10
((!n) ? ((n = 1)) : null);
n++;
((n < 9) ? (m.attachMovie("enemyexplosion", "enemyexplosion" + r.bd, r.bd, {_x:boss._x, _y:boss._y + (10 * random(15))})) : null);
r.bd++;
r.zexplode2.start();
((n < 10) ? (gotoAndPlay (1)) : null);
Symbol 956 MovieClip Frame 11
r.zexplode2.start();
flip = 1;
onEnterFrame = function () {
flip = !flip;
if (flip) {
((r.enemy.length > 0) ? ((r.enemy[0].energy = r.enemy[0].energy - 1000)) : (delete onEnterFrame));
}
};
stop();
Symbol 957 MovieClip Frame 1
stop();
Symbol 958 MovieClip Frame 1
var it = _parent.a;
range = 1;
speed = 0.1;
starty = 0;
ys = range;
onEnterFrame = function () {
it._y = it._y + ys;
if (it._y > starty) {
ys = Math.max(ys - speed, -range);
} else {
ys = Math.min(ys + speed, range);
}
};
Symbol 959 MovieClip [o74] Frame 1
initdracula();
Symbol 966 MovieClip Frame 1
if (!uda) {
uda = 1;
gotoAndPlay(1 + random(_totalframes));
}
Symbol 968 MovieClip [batdracula] Frame 1
initbatsmall(20);
Symbol 970 MovieClip Frame 1
_visible = false;
Symbol 971 MovieClip Frame 1
_visible = false;
Symbol 981 MovieClip Frame 1
xmin = -6;
xmax = 6;
ymin = -4;
ymax = 4;
a._x = xmin + random(12);
a._y = ymin + random(8);
speed = 0.8;
angle = rad(random(360));
xs = Math.cos(angle) * speed;
ys = Math.sin(angle) * speed;
onEnterFrame = function () {
a._x = a._x + xs;
a._y = a._y + ys;
((a._x > xmax) ? ((a._x = xmax)(xs = -xs)) : null);
((a._x < xmin) ? ((a._x = xmin)(xs = -xs)) : null);
((a._y > ymax) ? ((a._y = ymax)(ys = -ys)) : null);
((a._y < ymin) ? ((a._y = ymin)(ys = -ys)) : null);
};
Symbol 982 MovieClip Frame 20
stop();
Symbol 983 MovieClip Frame 20
stop();
Symbol 984 MovieClip Frame 2
bsod.removeMovieClip();
m.attachMovie("pcparts1", "pcparts" + r.bd, r.bd, {_x:boss._x, _y:boss._y});
r.bd++;
r.zexplode4.start();
Symbol 984 MovieClip Frame 4
n = 10;
onEnterFrame = function () {
n--;
if (n > 0) {
m.attachMovie("pcparts2", "pcparts" + r.bd, r.bd, {_x:(boss._x - 20) + random(40), _y:(boss._y - 20) + random(40)});
r.bd++;
m.attachMovie("pcparts2", "pcparts" + r.bd, r.bd, {_x:(boss._x - 20) + random(40), _y:(boss._y - 20) + random(40)});
r.bd++;
}
};
Symbol 984 MovieClip Frame 6
r.zexplode2.start();
Symbol 984 MovieClip Frame 12
r.zexplode2.start();
Symbol 984 MovieClip Frame 17
r.zexplode2.start();
Symbol 984 MovieClip Frame 23
r.zexplode3.start();
Symbol 984 MovieClip Frame 29
r.zexplode2.start();
Symbol 984 MovieClip Frame 34
r.zexplode2.start();
Symbol 984 MovieClip Frame 42
r.zexplode4.start();
Symbol 984 MovieClip Frame 49
r.zexplode2.start();
Symbol 984 MovieClip Frame 54
r.zexplode2.start();
Symbol 984 MovieClip Frame 60
r.zexplode2.start();
Symbol 984 MovieClip Frame 65
flip = 1;
onEnterFrame = function () {
flip = !flip;
if (flip) {
((r.enemy.length > 0) ? ((r.enemy[0].energy = r.enemy[0].energy - 1000)) : (delete onEnterFrame));
}
};
stop();
Symbol 985 MovieClip Frame 1
stop();
Symbol 986 MovieClip [o75] Frame 1
initpc();
Symbol 987 MovieClip Frame 1
_visible = false;
Symbol 988 MovieClip Frame 1
_visible = false;
Symbol 993 MovieClip [winlogo] Frame 1
initwinlogo(50);
Symbol 995 MovieClip [pcparts1] Frame 1
initpcparts();
Symbol 1000 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 1001 MovieClip [pcparts2] Frame 1
_yscale = (50 + random(200));
_xscale = (50 + random(200));
initpcparts();
Symbol 1005 MovieClip [bsod] Frame 1
initbsod();
Symbol 1006 MovieClip Frame 1
_visible = false;
Symbol 1007 MovieClip Frame 1
_visible = false;
Symbol 1029 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.no);
Symbol 1035 MovieClip Frame 13
gotoAndPlay (1);
Symbol 1036 MovieClip Frame 30
stop();
Symbol 1041 MovieClip Frame 20
r.zthrow.start();
Symbol 1041 MovieClip Frame 25
stop();
Symbol 1042 MovieClip Frame 1
stop();
Symbol 1043 MovieClip [lawyer1] Frame 1
initlawyer();
Symbol 1047 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.shirt);
Symbol 1052 MovieClip Frame 1
gotoAndStop(_parent._parent.pants);
Symbol 1061 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.no);
Symbol 1066 MovieClip Frame 13
gotoAndPlay (1);
Symbol 1067 MovieClip Frame 30
stop();
Symbol 1070 MovieClip Frame 20
r.zthrow.start();
Symbol 1070 MovieClip Frame 25
stop();
Symbol 1071 MovieClip Frame 1
stop();
Symbol 1072 MovieClip [lawyer2] Frame 1
initlawyer();
Symbol 1075 MovieClip [o76] Frame 1
initbosslawyer();
Symbol 1076 MovieClip [briefcase] Frame 1
initbriefcase();
Symbol 1077 MovieClip Frame 1
_visible = false;
Symbol 1078 MovieClip Frame 1
_visible = false;
Symbol 1105 MovieClip Frame 1
((!uda) ? ((uda = 1)gotoAndPlay(Number(_name))) : null);
Symbol 1134 MovieClip Frame 1
((!yy) ? ((yy = _y)) : null);
onEnterFrame = function () {
_y = (yy + (0.1 * random(10)));
};
Symbol 1136 MovieClip Frame 1
yy = _y;
onEnterFrame = function () {
_y = (yy + (0.1 * random(10)));
};
Symbol 1138 MovieClip Frame 1
onEnterFrame = function () {
_rotation = (_rotation + 20);
};
Symbol 1140 MovieClip Frame 1
onEnterFrame = function () {
_x = (_x + 12);
};
Symbol 1160 MovieClip [caesaroff] Frame 1
ys = -25;
grav = 2;
onEnterFrame = function () {
_x = (_x - 3);
ys = ys + grav;
_y = (_y + ys);
((_y > 0) ? (_y = 00delete onEnterFramegotoAndPlay ("land")) : null);
};
Symbol 1160 MovieClip [caesaroff] Frame 5
r.zexplode3.start();
Symbol 1160 MovieClip [caesaroff] Frame 20
stop();
Symbol 1160 MovieClip [caesaroff] Frame 22
r.zcaesarfall.start();
Symbol 1160 MovieClip [caesaroff] Frame 78
r.zexplode1.start();
stop();
Symbol 1162 MovieClip Frame 1
stop();
Symbol 1163 MovieClip [o77] Frame 1
initcaesar();
Symbol 1164 MovieClip Frame 1
_visible = false;
Symbol 1168 MovieClip [column] Frame 1
initcolumn();
Symbol 1171 MovieClip [o8] Frame 1
initplatform();
Symbol 1174 MovieClip [o9] Frame 1
initplatform();
Symbol 1177 MovieClip [o10] Frame 1
initplatform();
Symbol 1180 MovieClip [o25] Frame 1
initplatform();
Symbol 1188 MovieClip Frame 1
stop();
Symbol 1199 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 1200 MovieClip [bossenergybar] Frame 1
_x = 275;
yy = 425;
d = 25;
onEnterFrame = function () {
_y = (_y + ((yy - _y) / 3));
d--;
((!d) ? (_y = yydelete onEnterFrameplay()) : null);
};
stop();
Symbol 1200 MovieClip [bossenergybar] Frame 2
accel = 0.8;
convert = 0.5;
xs = 0;
onEnterFrame = function () {
persen = (boss.energy / boss.energymax) * 100;
xs = (xs * accel) + ((persen - b._xscale) * convert);
b._xscale = Math.min(100, Math.max(0.1, b._xscale + xs));
if (persen > 10) {
b.gotoAndStop(1);
} else {
b.gotoAndStop(2);
}
};
stop();
Symbol 1201 MovieClip Frame 1
_visible = false;
Symbol 1207 MovieClip [skullfly3] Frame 1
initskullfly3();
Symbol 1208 MovieClip Frame 1
_visible = false;
Symbol 1209 MovieClip Frame 1
_visible = false;
Symbol 1230 MovieClip Frame 18
gotoAndPlay (1);
Symbol 1235 MovieClip Frame 9
r.zdevilstep.start();
r.screenshake = 8;
Symbol 1235 MovieClip Frame 22
r.zdevilstep.start();
r.screenshake = 8;
Symbol 1235 MovieClip Frame 27
gotoAndPlay (1);
Symbol 1246 MovieClip Frame 15
gotoAndPlay ("u");
Symbol 1246 MovieClip Frame 19
gotoAndPlay ("l");
Symbol 1271 MovieClip Frame 6
r.zdevilscream.start();
Symbol 1274 MovieClip Frame 2
r.zdevilscream.start();
Symbol 1274 MovieClip Frame 45
r.zdevilscream.start();
d = (attackdelay = 5);
onEnterFrame = function () {
d--;
if (!d) {
d = attackdelay;
makeskullfly3(-25);
makeskullfly3(0);
makeskullfly3(22);
makeskullfly3(-205);
makeskullfly3(180);
makeskullfly3(202);
}
};
Symbol 1274 MovieClip Frame 75
r.zdevilscream.start();
Symbol 1274 MovieClip Frame 95
delete onEnterFrame;
Symbol 1274 MovieClip Frame 135
stop();
Symbol 1276 MovieClip Frame 1
total = 20;
delay = 5;
d = 1;
onEnterFrame = function () {
d--;
if (!d) {
d = delay;
ska = 100 + random(50);
m.attachMovie("enemyexplosion", "enemyexplosion" + r.bd, r.bd, {_x:(boss._x - 50) + random(100), _y:(boss._y - 160) + (10 * random(10)), _xscale:ska, _yscale:ska});
r.bd++;
r.zexplode2.start();
total--;
if (!total) {
delete onEnterFrame;
r.zdevildie.start();
m.attachMovie("enemyexplosion", "enemyexplosion" + r.bd, r.bd, {_x:boss._x, _y:boss._y - 120, _xscale:200, _yscale:200});
r.bd++;
a._visible = false;
r.zexplodebig.start();
}
r.screenshake = 3;
}
};
Symbol 1277 MovieClip Frame 1
stop();
Symbol 1277 MovieClip Frame 30
stop();
Symbol 1278 MovieClip [o80] Frame 1
initdevil();
Symbol 1281 MovieClip [screenshaker] Frame 1
onEnterFrame = function () {
if (r.screenshake > 0) {
r.screenshake--;
((!range) ? ((range = 4)(flip = 1)) : null);
flip = !flip;
(flip ? ((r._y = range)) : ((r._y = -range)));
if (!r.screenshake) {
range = 0;
r._y = 0;
}
}
};
stop();
Symbol 1282 MovieClip [o23break] Frame 1
platformbreak();
Symbol 1283 MovieClip [o22break] Frame 1
platformbreak();
Symbol 1284 MovieClip [o30] Frame 1
initchasingenemy(40, 20);
Symbol 1290 Button
on (press) {
r.gotoAndPlay("UnauthSubmitResults");
}
Symbol 1291 Button
on (release) {
r.level = 0;
r.gotoAndPlay("ins");
}
Symbol 1312 Button
on (release) {
r.level = 0;
r.gotoAndPlay("start");
}
Symbol 1315 MovieClip Frame 1
xs = r.pspeed;
r.act = "stand";
testing = 0;
if (testing) {
key1 = 50;
key2 = 87;
key3 = 81;
key4 = 69;
} else {
key1 = 87;
key2 = 83;
key3 = 65;
key4 = 68;
}
onMouseDown = function () {
if ((r._xmouse < (r.screenwid - 30)) and (r._ymouse > 30)) {
if (!r.nospecial) {
if (r.special > 0) {
bom();
r.special--;
r.nospecial = r.specialdelay;
stat.specialbar.gotoAndPlay(1);
}
}
}
};
onEnterFrame = function () {
r.kp = {at:Key.isDown(key1), ba:Key.isDown(key2), ki:Key.isDown(key3), ka:Key.isDown(key4), at2:Key.isDown(38), ba2:Key.isDown(40), ki2:Key.isDown(37), ka2:Key.isDown(39)};
if (r.kp.ka or r.kp.ka2) {
sign = 1;
nx = Math.min(r.xmax, p._x + (sign * xs));
r.act = "run";
} else if (r.kp.ki or r.kp.ki2) {
sign = -1;
nx = Math.max(r.xmin, p._x + (sign * xs));
r.act = "run";
} else {
nx = p._x;
r.act = "stand";
((m._xmouse > p._x) ? ((sign = 1)) : ((sign = -1)));
}
if (fromclimb) {
(((!r.kp.at) and (!r.kp.at2)) ? ((fromclimb = 0)) : null);
} else if (r.kp.at or r.kp.at2) {
if (!r.jump) {
r.jump = 1;
r.ontop = 0;
r.zjump.start();
vy = r.jumppower;
}
} else if (r.kp.ba or r.kp.ba2) {
r.cha = 0;
r.climb = "";
var _local2 = 0;
while (_local2 < r.chain.length) {
var _local1 = r.chain[_local2];
if (Math.abs(p._x - _local1._x) < 20) {
if ((p._y < (_local1._y + 10)) and (p._y > (_local1._y - 10))) {
r.cha = _local1;
break;
}
}
_local2++;
}
if (r.cha) {
r.jump = 0;
r.climb = "down";
gotoAndPlay ("climb");
}
}
getaim();
if (r.ontop) {
if (r.ontop.xs) {
nx = nx + r.ontop.xs;
}
if ((nx < (r.ontop._x + r.ontop.bx1)) or (nx > (r.ontop._x + r.ontop.bx2))) {
r.ontop = 0;
r.jump = 1;
vy = 1;
}
ny = getlandpos(nx, r.ontop);
p._y = ny;
}
p._x = nx;
if (r.jump) {
vy = vy + r.grav;
ny = p._y + vy;
if ((p._y > (r.ymin + 10)) and (p._y < (r.ymax + 20))) {
detectlanding();
}
p._y = ny;
if (!r.jump) {
r.act = "stand";
r.zstep1.start();
r.zstep2.start();
} else {
r.act = "jump";
}
r.cha = 0;
r.climb = "";
var _local2 = 0;
while (_local2 < r.chain.length) {
var _local1 = r.chain[_local2];
if (Math.abs(p._x - _local1._x) < 20) {
if (((p._y - _local1._y) > 35) and ((p._y - _local1._y) < _local1._height)) {
r.cha = _local1;
r.jump = 0;
r.climb = "up";
delete onEnterFrame;
delete onMouseDown;
gotoAndPlay ("climb");
break;
}
}
_local2++;
}
}
p.gotoAndStop(r.act);
p._xscale = sign * 100;
if (r.hit) {
((!r.inv) ? (delete onEnterFramedelete onMouseDowngotoAndPlay ("hit")) : ((r.hit = 0)));
} else if (r.door) {
delete onEnterFrame;
delete onMouseDown;
gotoAndPlay ("door");
} else {
cekpfall();
}
};
stop();
Symbol 1315 MovieClip Frame 7
delete onMouseDown;
r.act = "hit";
p.gotoAndStop("hit");
r.zlaugh1.stop();
r.talking = 0;
if (r.hit.tipe == 2) {
energize(-r.hit.power);
} else {
energize(-r.bumpdamage);
}
r.zhit.start();
r.ontop = 0;
vy = -20;
grav = 5;
xs = 5;
p._xscale = -100;
if (r.hit.mc._x > p._x) {
xs = -xs;
p._xscale = -p._xscale;
}
r.inv = r.invhitdelay;
onEnterFrame = function () {
p._x = p._x + xs;
p._x = Math.max(r.xmin, Math.min(r.xmax, p._x));
vy = vy + grav;
ny = p._y + vy;
detectlanding();
p._y = ny;
if (r.ontop or (p._y == r.yland)) {
if (r.energy > 0) {
r.hit = 0;
gotoAndPlay ("run");
} else {
r.lives--;
p.gotoAndStop("die");
p._y = p._y + 4;
d = 80;
r.noshoot = 9999;
onEnterFrame = function () {
d--;
if (!d) {
if (r.lives > 0) {
r.energy = r.energymax;
r.gotoAndPlay("retry");
} else {
r.gotoAndPlay("end");
}
}
};
}
} else {
cekpfall();
}
};
stop();
Symbol 1315 MovieClip Frame 13
p.gotoAndStop("climb");
r.act = "climb";
p._x = r.cha._x;
ys = 3;
cr = 1;
cymin = r.cha._y + 35;
cymax = r.cha._y + r.cha._height;
if (r.climb == "up") {
ny = Math.min(cymax, p._y - ys);
} else {
ny = Math.max(cymin, p._y + (10 * ys));
}
p._y = ny;
endclimb = (letgo1 = (letgo2 = 0));
r.ontop = 0;
onMouseDown = function () {
if (!r.nospecial) {
if (r.special > 0) {
bom();
r.special--;
r.nospecial = r.specialdelay;
stat.specialbar.gotoAndPlay(1);
}
}
};
onEnterFrame = function () {
r.kp = {at:Key.isDown(key1), ba:Key.isDown(key2), ki:Key.isDown(key3), ka:Key.isDown(key4), at2:Key.isDown(38), ba2:Key.isDown(40), ki2:Key.isDown(37), ka2:Key.isDown(39)};
if (r.kp.at or r.kp.at2) {
ny = p._y - ys;
if (ny < cymin) {
if (r.cha.tipe == 1) {
p._y = r.cha._y - 10;
endclimb = 1;
} else {
ny = cymin;
}
}
} else if (r.kp.ba or r.kp.ba2) {
ny = p._y + ys;
if (ny > cymax) {
p._y = cymax + 10;
endclimb = 1;
}
}
if ((!r.kp.ka) and (!r.kp.ka2)) {
letgo1 = 1;
}
if ((!r.kp.ki) and (!r.kp.ki2)) {
letgo2 = 1;
}
if (letgo1 and (r.kp.ka or r.kp.ka2)) {
p._x = p._x + 25;
endclimb = 1;
} else if (letgo2 and (r.kp.ki or r.kp.ki2)) {
p._x = p._x - 25;
endclimb = 1;
}
if (ny > p._y) {
cr++;
if (cr > p.a._totalframes) {
cr = 1;
}
}
if (ny < p._y) {
cr--;
if (cr < 1) {
cr = p.a._totalframes;
}
}
p.a.gotoAndStop(cr);
((m._xmouse > p._x) ? ((p._xscale = 100)) : ((p._xscale = -100)));
getaim();
if (r.hit) {
((!r.inv) ? (delete onEnterFramegotoAndPlay ("hit")) : ((r.hit = 0)));
} else if (endclimb) {
vy = 0;
r.jump = 1;
r.cha = 0;
r.climb = "";
fromclimb = 1;
delete onEnterFrame;
gotoAndPlay ("run");
} else {
p._y = ny;
}
};
stop();
Symbol 1315 MovieClip Frame 20
delete onMouseDown;
r.act = "door";
p.a.a.stop();
skadiv = 0.7;
doorid = r.door.id;
scrollspeedmax = 10;
scrollspeed = 1;
r.ontop = (r.jump = (r.hit = 0));
r.noshoot = 99999 /* 0x01869F */;
r.zdoorin.start();
onEnterFrame = function () {
if (p._yscale > 10) {
p._xscale = p._xscale * skadiv;
p._yscale = p._yscale * skadiv;
p._x = p._x + ((r.door._x - p._x) / 3);
p._y = p._y + ((r.door._y - p._y) / 3);
} else {
p._x = p._x + 8000;
onEnterFrame = function () {
p._y = p._y + scrollspeed;
scrollspeed = Math.min(scrollspeedmax, scrollspeed + 1);
if (r.doors.length) {
var _local2 = 0;
while (_local2 < r.doors.length) {
var _local1 = r.doors[_local2];
if (_local1._y < (r.ymax - r.pymidpos)) {
if ((_local1.tipe == "out") and (_local1.id == doorid)) {
p._x = _local1._x;
p._y = _local1._y;
((_local1._x > (r.screenwid / 2)) ? ((sign = -1)) : ((sign = 1)));
p._xscale = sign * Math.abs(p._xscale);
skadiv = 1.4;
xs = 1;
r.zdoorout.start();
onEnterFrame = function () {
p._xscale = p._xscale * skadiv;
p._yscale = p._yscale * skadiv;
p._x = p._x + (sign * xs);
xs = xs * 1.28;
if (p._yscale > 100) {
p._yscale = 100;
p._xscale = sign * 100;
r.jump = 1;
r.hit = (r.door = (r.noshoot = (vy = 0)));
delete onEnterFrame;
gotoAndPlay ("run");
}
};
break;
}
}
_local2++;
}
}
};
}
};
stop();
Symbol 1322 MovieClip Frame 1
duplicateMovieClip ("pic", "pic2", 2);
wid = pic._height;
pic2._y = wid;
starty = _y;
if (!_name) {
ys = -2;
} else {
ys = -4;
}
onEnterFrame = function () {
ny = _y + ys;
if (ny < (starty - wid)) {
ny = ny + wid;
}
if (ny > starty) {
ny = ny - wid;
}
_y = ny;
};
Symbol 1331 Button
on (release) {
r.music = 0;
r.zlaugh1.setVolume(0);
r.zhit.setVolume(0);
r.ztank.setVolume(0);
r.zloop.setVolume(0);
r.zhorses.setVolume(0);
gotoAndStop (2);
}
Symbol 1335 Button
on (release) {
r.music = 1;
r.zlaugh1.setVolume(100);
r.zhit.setVolume(100);
r.ztank.setVolume(100);
r.zloop.setVolume(100);
r.zhorses.setVolume(100);
gotoAndStop (1);
}
Symbol 1336 MovieClip Frame 1
if (r.music) {
stop();
} else {
gotoAndStop (2);
}
Symbol 1337 MovieClip Frame 8
r.ztic.start();
Symbol 1337 MovieClip Frame 15
r.ztic.start();
Symbol 1338 MovieClip Frame 1
stop();
Symbol 1341 MovieClip Frame 1
r.waktutxt = timetotext(r.waktu, r.onesec);
d = 50;
onEnterFrame = function () {
d--;
((!d) ? (play()) : null);
};
stop();
Symbol 1341 MovieClip Frame 2
d = (de = 2);
onEnterFrame = function () {
r.waktu--;
if (r.waktu < 300) {
tictoc.gotoAndStop(2);
if (r.waktu < r.onesec) {
_visible = true;
tictoc.gotoAndStop(1);
if (r.waktu <= 0) {
delete onEnterFrame;
outoftime();
}
} else {
d--;
if (!d) {
d = de;
(_visible ? (_visible = falsefalse) : (_visible = truetrue));
}
}
} else {
_visible = true;
tictoc.gotoAndStop(1);
}
r.waktutxt = timetotext(r.waktu, r.onesec);
};
stop();
Symbol 1348 MovieClip Frame 1
stop();
Symbol 1349 MovieClip Frame 1
accel = 0.8;
convert = 0.5;
xs = 0;
onEnterFrame = function () {
xs = (xs * accel) + ((r.energy - b._xscale) * convert);
b._xscale = Math.min(100, Math.max(0.1, b._xscale + xs));
if (r.energy > 10) {
b.gotoAndStop(1);
} else {
b.gotoAndStop(2);
}
};
stop();
Symbol 1355 MovieClip Frame 10
stop();
Symbol 1358 MovieClip Frame 1
if (r.lives <= 0) {
var d = 30;
onEnterFrame = function () {
d--;
if (!d) {
r.gotoAndPlay("end");
}
};
}
gotoAndStop((r.livesmax + 2) - r.lives);
Symbol 1365 MovieClip Frame 10
stop();
Symbol 1368 MovieClip Frame 1
gotoAndStop((r.specialmax + 2) - r.special);
Symbol 1397 Button
on (release) {
r.ang = (r.checkpoint = 0);
r.energy = r.energymax;
r.lives = r.livesmax;
adcekgoto("start");
}
Symbol 1400 Button
on (press) {
r.gotoAndPlay("unauthScoreSubmit");
}
Symbol 1403 MovieClip Frame 1
((r.ang > 0) ? (gotoAndStop (2)) : (stop()));
Symbol 1409 MovieClip Frame 1
onEnterFrame = function () {
_rotation = (_rotation + 5);
};
Symbol 1425 Button
on (release) {
r.level = 0;
r.gotoAndPlay("start");
}
Symbol 1462 Button
on (press) {
if (r.fromscoresubmit) {
r.fromscoresubmit = 0;
adcekgoto("menu2");
} else {
r.gotoAndPlay("menu2");
}
}