Frame 1
function goTo() {
getURL ("http://www.mofunzone.com/");
}
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
newMenu.customItems.push(new ContextMenuItem("MoFunZone.com - Play More Games", goTo));
this.menu = newMenu;
function PubLink() {
getURL ("http://www.mofunzone.com/", "_blank");
}
_global.username = "";
Frame 10
Frame 11
_root.BGM = new Sound();
_root.BGM.attachSound("NG38362_title");
_root.BGM.start(0, 1);
stop();
_root.pa_warning._visible = false;
_root.pa_setting._visible = false;
_root.pa_help._visible = false;
_root.b_start0.onRelease = function () {
if (((_root.pa_setting._visible != true) and (_root.so.data.gamesave != true)) or (_root.so.data.continuecount == 0)) {
_root.gamemode = "story";
_root.so.data.gamesave = false;
_root.so.data.continuecount = _root.maxconti;
stopAllSounds();
play();
} else if (_root.pa_warning.opened != true) {
_root.attachMovie("M in_panel_warning", "pa_warning", _root.getNextHighestDepth());
_root.pa_warning._x = 320;
_root.pa_warning._y = 240;
_root.pa_warning.opened = true;
}
};
if ((((_root.so.data.gamesave != true) or (_root.gamedemo == true)) or (_root.webdemo == true)) or (_root.so.data.continuecount == 0)) {
_root.b_continue._alpha = 25;
_root.in_concount._alpha = 25;
} else {
_root.b_continue._alpha = 255;
_root.in_concount._alpha = 255;
}
_root.b_continue.onRelease = function () {
if (((_root.so.data.gamesave == true) and (_root.b_continue._alpha >= 100)) and (_root.pa_warning.opened != true)) {
_root.so.data.continued = true;
_root.so.data.continuecount--;
if (_root.so.data.continuecount == 0) {
_root.so.data.gamesave = false;
}
play();
}
};
_root.b_setting.onRelease = function () {
_root.pa_setting._visible = true;
};
if (_root.gamedemo == true) {
_root.b_seti._alpha = 25;
}
_root.b_help.onRelease = function () {
if (((_root.pa_setting._visible != true) and (_root.pa_help._visible != true)) and (_root.pa_warning.opened != true)) {
_root.attachMovie("M in_panel_help", "pa_help", _root.getNextHighestDepth());
_root.pa_help._x = 320;
_root.pa_help._y = 240;
}
};
_root.b_quit.onRelease = function () {
fscommand ("quit");
};
if (_root.gamedemo == true) {
_root.b_quit._visible = false;
}
Frame 12
_root.bgm = new Sound();
_root.bgm_index = random(2);
stageBGM = function () {
_root.bgm.attachSound("bgm" + _root.bgm_index);
_root.bgm.start(0, 1);
_root.bgm.onSoundComplete = function () {
_root.bgm_index++;
if (_root.bgm_index > 1) {
_root.bgm_index = 0;
}
_root.bgm.attachSound("bgm" + _root.bgm_index);
_root.bgm.start(0, 1);
};
};
stageBGM();
_root.today = new Date();
_root.EPOCH_TIME = _root.today.getTime();
_root.starmp = new Array(60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96);
_root.starballcount = 0;
_root.starballtimelevel = 0;
_root.starballtime = new Array(150, 175, 200, 225, 250, 275, 300, 325, 350, 375);
_root.starballmaxlevel = 0;
_root.starballmax = new Array(6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
_root.powmp = new Array(60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96);
_root.skillpow = -1;
_root.skillpowdamaglevel = 0;
_root.skillpowamp = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
_root.skillpowdamage = new Array(0, 60, 65, 70, 75, 80, 85, 90, 95, 100);
_root.skillpowlevel = 0;
_root.skillpowdamageamp = new Array(15, 30, 45, 60, 75, 90, 105, 120, 135, 150);
_root.skillpowtoggle = 1;
_root.skillpowa = new Array(0, 1);
_root.starballtoggle = 1;
_root.starball = new Array(0, 1);
_root.criticalstar = new Array(0, 25, 30, 35, 40, 45, 50, 55, 60, 65);
_root.criticalstartime = new Array(25, 50, 75, 100, 125, 150, 175, 200, 225, 250);
_root.criticalstarlevel = 0;
_root.criticalballcount = 0;
_root.criticalbomb = new Array(0, 25, 30, 35, 40, 45, 50, 55, 60, 65);
_root.criticalbombpow = new Array(2, 4, 6, 8, 10, 12, 14, 16, 18, 20);
_root.criticalbomblevel = 0;
_root.hpaddlevel = 0;
_root.hpadd = new Array(0, 20, 25, 30, 35, 40, 45, 50, 55, 60);
_root.upskillvar = new Array(null, "skillpowtoggle", "skillpowlevel", "skillpowdamaglevel", "starballtoggle", "starballmaxlevel", "starballtimelevel", "hpaddlevel", "criticalstarlevel", "criticalbomblevel");
_root.allskillarray = new Array(null, "skillpowa", "skillpowamp", "skillpowdamageamp", "starball", "starballmax", "starballtime", "hpadd", "criticalstar", "criticalbomb");
function updatestatus() {
_root.normalpow = _root.basicpow[_root.basicpowlevel] + Math.round(_root.basicpowlevel * 1.3);
_root.dex = _root.acc[_root.acclevel];
_root.ballspeed = _root.ballspeedup[_root.ballspeedlevel];
}
_root.phplevel = 0;
_root.phpmax = new Array(150, 160, 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290, 300, 310, 320, 330, 340, 350);
player.hp = _root.phpmax[_root.phplevel];
_root.pmplevel = 0;
_root.pmpmax = new Array(200, 220, 240, 260, 280, 300, 320, 340, 360, 380, 400, 420, 440, 460, 480, 500, 520, 540, 560, 580, 600);
player.mp = pmpmax[pmplevel];
_root.basicpowlevel = 0;
_root.basicpow = new Array(10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105, 110);
_root.acclevel = 0;
_root.acc = new Array(50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240, 250);
_root.skilladdlevel = 0;
_root.skilladd = new Array(25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105, 110, 115, 120, 125);
_root.ballspeedlevel = 0;
_root.ballspeedup = new Array(11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.ball_hp_reco = 0;
_root.phppluslevel = 0;
_root.phpplus = new Array(0.001, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.ball_mp_reco = 0;
_root.pmppluslevel = 0;
_root.pmpplus = new Array(0.115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.p_live = 0;
_root.upstatusvar = new Array(null, "phplevel", "pmplevel", "skilladdlevel", "basicpowlevel", "acclevel");
_root.allstatusarray = new Array(null, "phpmax", "pmpmax", "skilladd", "basicpow", "acc");
updatestatus();
function leveldesign() {
if (_root.gamelevel == 1) {
_root.map = new Array();
_root.map[0] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, null, 1, 1, 1, 2, 2, 2, null, null, 2, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, null, 1, 1, 1, 2, 2, 2, null, null, 5, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, null, 1, 1, 1, 2, 2, 2, null, null, 2, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, 5, 1, 1, 2, 2, 2, null, null, 2, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, 1, 1, 1, 2, 2, 2, null, null, 2, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, null, 1, 1, 1, 2, 2, 2, null, null, 2, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, null, 1, 1, 1, 2, 2, 2, null, null, 2, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, 1, 1, 1, 2, 2, 2, null, null, 2, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, null, 5, 1, 1, 2, 2, 2, null, null, 2, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, null, 1, 1, 1, 2, 2, 2, null, null, 2, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, null, 1, 1, 1, 2, 2, 2, null, null, 5, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, null, 1, 1, 1, 2, 2, 2, null, null, 2, 2, 2, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 144;
_root.bshot = new Array(_root.b3x10, _root.b5x2, _root.b10x2, _root.b12x10, null);
}
if (_root.gamelevel == 2) {
_root.map = new Array();
_root.map[0] = new Array(null, null, 1, 1, 1, 1, 1, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, null, 1, 1, 5, 1, 1, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, null, 1, 1, 1, 1, 1, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, null, 1, 1, 1, 1, 1, 2, null, null, null, null, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, 1, 1, 5, 1, 1, 2, null, null, null, null, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, 1, 1, 1, 1, 1, 2, null, null, null, null, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, 1, 1, 1, 1, 1, 2, null, null, null, null, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, null, 1, 1, 5, 1, 1, 2, null, null, null, null, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, null, 1, 1, 1, 1, 1, 2, null, null, null, null, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, null, 1, 1, 1, 1, 1, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, null, 1, 1, 5, 1, 1, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, null, 1, 1, 1, 1, 1, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 104;
_root.bshot = new Array(_root.b1x4, _root.b5x4, _root.b10x4, _root.b14x4, null);
}
if (_root.gamelevel == 3) {
_root.map = new Array();
_root.map[0] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, null, 6, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, null, 6, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 3, 3, null, 2, 2, null, 1, 1, null, null, null, null, null, null, null);
_root.maxblock = 98;
_root.bshot = new Array(_root.b7x2, _root.b8x2, null);
}
if (_root.gamelevel == 4) {
_root.map = new Array();
_root.map[0] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, 2, null, null, null, null, 6, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, 2, null, null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, 2, null, null, 1, 1, 1, null, null, null, null, null, null, null, 1, 1, 1, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, 2, null, null, 1, 1, 1, null, null, null, null, null, null, null, 1, 1, 1, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, 2, null, null, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, 2, null, null, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, 2, null, null, 1, 1, 1, null, null, null, null, null, null, null, 1, 1, 1, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, 2, null, null, 1, 1, 1, null, null, null, null, null, null, null, 1, 1, 1, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, 2, null, null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, 2, null, null, null, null, 6, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 136;
_root.bshot = new Array(_root.b3x6, _root.b4x14, _root.b11x14, _root.b12x6, null);
}
if (_root.gamelevel == 5) {
_root.map = new Array();
_root.map[0] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, null, null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null, null);
_root.map[3] = new Array(1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null);
_root.map[4] = new Array(2, 2, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null);
_root.map[5] = new Array(3, 3, null, null, null, null, null, null, null, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null);
_root.map[6] = new Array(6, null, null, null, null, null, null, null, null, null, null, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null);
_root.map[7] = new Array(7, null, null, null, null, null, null, null, null, null, null, null, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null);
_root.map[8] = new Array(7, null, null, null, null, null, null, null, null, null, null, null, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null);
_root.map[9] = new Array(6, null, null, null, null, null, null, null, null, null, null, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null);
_root.map[10] = new Array(3, 3, null, null, null, null, null, null, null, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null);
_root.map[11] = new Array(2, 2, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null);
_root.map[12] = new Array(1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null);
_root.map[13] = new Array(null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null, null);
_root.map[14] = new Array(null, null, null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 250;
_root.bshot = new Array(_root.b6x0, _root.b7x0, _root.b8x0, _root.b9x0, null);
}
if (_root.gamelevel == 6) {
_root.map = new Array();
_root.map[0] = new Array(1, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, null, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, null, null, null, 1, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, 5, 4, null, 1, 1, 1, 1, null, null, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, null, null, 1, 1, 1, null, null, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, 1, 1, 1, 1, null, null, 1, 1, 1, 7, 1, 1, 1, 1, 1, 4, 1, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(1, 1, 1, 1, 1, 1, null, null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(1, 1, 1, 1, 1, 1, null, null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, 1, 1, 1, 1, null, null, 1, 1, 1, 7, 1, 1, 1, 1, 1, 4, 1, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, null, null, null, 1, 1, 1, null, null, 1, 1, 1, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, 5, 4, null, 1, 1, 1, 1, null, null, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, null, null, null, 1, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, null, 1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(1, 1, 1, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(1, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 130;
_root.bshot = new Array(_root.b4x1, _root.b6x11, _root.b9x11, _root.b11x1, null);
}
if (_root.gamelevel == 7) {
_root.map = new Array();
_root.map[0] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, 5, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, null, null, null, null, null, null, null, 7, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, 6, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, 5, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 7, 4, 4, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, 5, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 18;
_root.bshot = new Array(_root.b4x1, _root.b6x9, _root.b7x1, _root.b8x1, _root.b9x16, _root.b11x1, null);
}
if (_root.gamelevel == 8) {
_root.map = new Array();
_root.map[0] = new Array(3, 3, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(3, 3, 3, 3, 3, 3, 3, 2, 2, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, 3, 3, 6, 3, 2, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, null, 3, 3, 2, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, null, 3, 3, 2, 2, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, 3, 3, 2, 2, 2, 2, 2, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, 3, 2, 2, 2, 2, 2, 7, 8, 2, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, null, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, null, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, 3, 2, 2, 2, 2, 2, 7, 8, 2, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, null, 3, 3, 2, 2, 2, 2, 2, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, null, 3, 3, 2, 2, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, null, 3, 3, 2, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, 3, 3, 6, 3, 2, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(3, 3, 3, 3, 3, 3, 3, 2, 2, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(3, 3, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 146;
_root.bshot = new Array(_root.b0x3, _root.b2x3, _root.b6x8, _root.b9x8, _root.b13x3, _root.b15x3, null);
}
if (_root.gamelevel == 9) {
_root.map = new Array();
_root.map[0] = new Array(null, null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 6, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(1, 5, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null);
_root.map[4] = new Array(1, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(4, 5, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null);
_root.map[6] = new Array(4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(4, 5, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null);
_root.map[11] = new Array(1, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(1, 5, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null);
_root.map[13] = new Array(1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 6, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 126;
_root.bshot = new Array(_root.b1x15, _root.b3x1, _root.b5x1, _root.b10x1, _root.b12x1, _root.b14x15, null);
}
if (_root.gamelevel == 10) {
_root.map = new Array();
_root.map[0] = new Array(6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, null, null, null, null, null);
_root.map[1] = new Array(5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, null, null, null, null);
_root.map[2] = new Array(5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[3] = new Array(5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[4] = new Array(4, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[5] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[6] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[7] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[8] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[9] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[10] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[11] = new Array(4, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[12] = new Array(5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[13] = new Array(5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, null, null, null);
_root.map[14] = new Array(5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, null, null, null, null);
_root.map[15] = new Array(6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, null, null, null, null, null);
_root.maxblock = 280;
_root.bshot = new Array(_root.b0x0, _root.b1x0, _root.b2x0, _root.b3x0, _root.b12x0, _root.b13x0, _root.b14x0, _root.b15x0, null);
}
if (_root.gamelevel == 11) {
_root.map = new Array();
_root.map[0] = new Array(null, 5, 4, null, null, 5, 3, null, null, null, 5, 2, null, null, 5, 4, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, 6, 4, null, null, 5, 3, null, null, null, 5, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, 6, 4, null, null, 5, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, 5, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, null, null, null, null, null, null, 8, null, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, null, null, null, null, null, null, 8, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, null, null, null, null, null, null, 8, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, null, null, null, null, null, null, 8, null, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, 5, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, 6, 4, null, null, 5, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, 6, 4, null, null, 5, 3, null, null, null, 5, 2, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, 5, 4, null, null, 5, 3, null, null, null, 5, 2, null, null, null, 5, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 40;
_root.bshot = new Array(_root.b0x1, _root.b0x5, _root.b0x10, _root.b0x14, _root.b1x1, _root.b1x5, _root.b1x10, _root.b2x1, _root.b2x5, _root.b3x1, _root.b12x1, _root.b13x1, _root.b13x5, _root.b14x1, _root.b14x5, _root.b14x10, _root.b15x1, _root.b15x5, _root.b15x10, _root.b15x15, null);
}
if (_root.gamelevel == 12) {
_root.map = new Array();
_root.map[0] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, null, null, null, 4, 5, 8, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, null, null, null, 8, 5, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, null, null, 8, 8, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, null, null, 8, 7, 6, 4, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, null, null, 8, 6, 7, 4, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, null, null, 8, null, null, null, null, null, 8, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, null, null, null, 8, 5, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, null, null, null, 4, 5, 8, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 24;
_root.bshot = new Array(_root.b1x5, _root.b4x5, _root.b7x4, _root.b7x5, _root.b8x4, _root.b8x5, _root.b11x5, _root.b14x5, null);
}
if (_root.gamelevel == 13) {
_root.map = new Array();
_root.map[0] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1, 1, 5, 4, 4, 4, 4, 4, null, null, null, null);
_root.map[2] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1, 1, 5, 4, 4, 4, 4, 4, null, null, null, null);
_root.map[3] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1, 1, 5, 4, 4, 4, 4, 4, null, null, null, null);
_root.map[4] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, null, null, null, null, 1, 8, 7, 3, 3, 3, 3, 3, 3, 3, null, null, null, null, 8, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, null, null, null, null, 1, 8, 7, 3, 3, 3, 3, 3, 3, 3, null, null, null, null, null, null, 8, null, null, null, null, null);
_root.map[7] = new Array(null, null, null, null, null, null, 1, 8, 5, 3, 3, 3, 3, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, null, null, null, null, null, 1, 8, 5, 3, 3, 3, 3, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, null, null, null, null, 1, 8, 7, 3, 3, 3, 3, 3, 3, 3, null, null, null, null, null, null, 8, null, null, null, null, null);
_root.map[10] = new Array(null, null, null, null, null, null, 1, 8, 7, 3, 3, 3, 3, 3, 3, 3, null, null, null, null, 8, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1, 1, 5, 4, 4, 4, 4, 4, null, null, null, null);
_root.map[13] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1, 1, 5, 4, 4, 4, 4, 4, null, null, null, null);
_root.map[14] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1, 1, 5, 4, 4, 4, 4, 4, null, null, null, null);
_root.map[15] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 102;
_root.bshot = new Array(_root.b1x18, _root.b2x18, _root.b3x18, _root.b5x8, _root.b6x8, _root.b7x8, _root.b8x8, _root.b9x8, _root.b10x8, _root.b12x18, _root.b13x18, _root.b14x18, null);
}
if (_root.gamelevel == 14) {
_root.map = new Array();
_root.map[0] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, null, null, null, 8, 8, 1, 1, 1, 4, 4, 8, null, null, null, null, 4, 4, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, 8, 1, 1, 6, 6, 1, 1, 1, 1, 4, 4, 8, null, null, null, 7, 4, 4, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, 1, 1, 1, 6, 6, 1, 1, 1, 1, 1, 4, 4, null, null, null, null, 7, 4, 4, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, null, null, null, null, 4, 4, 4, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, null, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, null, null, null, null, 4, 4, 4, null, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, 1, 1, 1, 6, 6, 1, 1, 1, 1, 1, 4, 4, null, null, null, null, 7, 4, 4, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, null, 8, 1, 1, 6, 6, 1, 1, 1, 1, 4, 4, 8, null, null, null, 7, 4, 4, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(null, null, null, null, 8, 8, 1, 1, 1, 4, 4, 8, null, null, null, null, 4, 4, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 100;
_root.bshot = new Array(_root.b5x5, _root.b5x6, _root.b5x17, _root.b6x5, _root.b6x6, _root.b6x18, _root.b9x5, _root.b9x6, _root.b9x18, _root.b10x5, _root.b10x6, _root.b10x17, null);
}
if (_root.gamelevel == 15) {
_root.map = new Array();
_root.map[0] = new Array(2, 6, 3, 2, 2, 2, 2, 2, 2, 2, 2, 8, 2, 2, 2, 2, 2, 2, 2, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(2, 6, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 8, 2, 2, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(2, 5, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, null, null, null, null, null, null);
_root.map[4] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 1, 1, 1, 2, 2, 2, 2, null, null, null, null, null);
_root.map[5] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, 5, 4, 4, 1, 1, 2, 2, 2, 2, null, null, null, null, null);
_root.map[6] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, 5, 4, 4, 1, 1, 2, 2, 2, 2, null, null, null, null, null);
_root.map[7] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, 5, 4, 4, 1, 1, 2, 2, 2, 2, null, null, null, null, null);
_root.map[8] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, 5, 4, 4, 1, 1, 2, 2, 2, 2, null, null, null, null, null);
_root.map[9] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, 5, 4, 4, 1, 1, 2, 2, 2, 2, null, null, null, null, null);
_root.map[10] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, 5, 4, 4, 1, 1, 2, 2, 2, 2, null, null, null, null, null);
_root.map[11] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 1, 1, 1, 2, 2, 2, 2, null, null, null, null, null);
_root.map[12] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, null, null, null, null, null, null);
_root.map[13] = new Array(2, 5, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, null, null, null, null, null, null, null);
_root.map[14] = new Array(2, 6, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 8, 2, 2, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(2, 6, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 8, 2, 2, 2, 2, 2, 2, null, null, null, null, null, null, null, null, null);
_root.maxblock = 210;
_root.bshot = new Array(_root.b0x1, _root.b1x1, _root.b2x1, _root.b5x14, _root.b6x14, _root.b7x14, _root.b8x14, _root.b9x14, _root.b10x14, _root.b13x1, _root.b14x1, _root.b15x1, null);
}
if (_root.gamelevel == 16) {
_root.map = new Array();
_root.map[0] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, 3, 3, 3, null, null, null, null, null, 8, 5, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(6, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, 3, 3, 3, null, null, null, null, null, null, 5, 4, 4, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, 3, 3, 3, null, null, null, null, null, null, 5, 4, 4, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, 3, 3, 3, null, null, null, null, null, null, 5, 4, 4, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, 3, 3, 3, null, null, null, null, null, null, 5, 4, 4, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(7, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, 3, 3, 3, null, null, null, null, null, 8, 5, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 74;
_root.bshot = new Array(_root.b0x0, _root.b1x10, _root.b2x0, _root.b3x10, _root.b4x0, _root.b5x10, _root.b6x0, _root.b9x0, _root.b10x10, _root.b11x0, _root.b12x10, _root.b13x0, _root.b14x10, _root.b15x0, null);
}
if (_root.gamelevel == 17) {
_root.map = new Array();
_root.map[0] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, 3, 3, 3, null, null, null, null, null, null, 5, 4, 4, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(6, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, 3, 3, 3, null, null, null, null, null, null, 5, 4, 4, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, 3, 3, 3, null, null, null, null, null, null, 5, 4, 4, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(null, 3, 3, 3, null, null, null, null, null, null, 5, 4, 4, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, 3, 3, 3, null, null, null, null, null, null, 5, 4, 4, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(7, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, 3, 3, 3, null, null, null, null, null, null, 5, 4, 4, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(5, 3, 3, 3, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 74;
_root.bshot = new Array(_root.b0x0, _root.b1x10, _root.b2x0, _root.b3x10, _root.b4x0, _root.b5x10, _root.b6x0, _root.b9x0, _root.b10x10, _root.b11x0, _root.b12x10, _root.b13x0, _root.b14x10, _root.b15x0, null);
}
if (_root.gamelevel == 18) {
_root.map = new Array();
_root.map[0] = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(7, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(7, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(5, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null);
_root.map[6] = new Array(5, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null);
_root.map[7] = new Array(null, null, null, null, null, null, null, 6, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[8] = new Array(null, null, null, null, null, null, null, 6, 8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[9] = new Array(5, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null);
_root.map[10] = new Array(5, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null);
_root.map[11] = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(7, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(7, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 112;
_root.bshot = new Array(_root.b1x0, _root.b3x0, _root.b5x0, _root.b6x0, _root.b7x7, _root.b8x7, _root.b9x0, _root.b10x0, _root.b12x0, _root.b14x0, null);
}
if (_root.gamelevel == 19) {
_root.map = new Array();
_root.map[0] = new Array(null, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, 3, 3, 3, 3, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(null, 4, 7, 6, 4, null, null, null, null, null, null, null, null, null, null, null, 3, 6, 3, 3, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(null, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, 3, 3, 3, 3, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(null, null, null, null, null, 4, 6, 7, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[4] = new Array(null, null, null, null, null, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 5, 8, null, null, null, null, null, 8, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, null, null, 8, null, null, null, null, null, null, null, null, null, 4, 5, 8, null, null, null, null, null, 8, null, null, null, null, null);
_root.map[7] = new Array(null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null, 4, 5, 8, null, null, null, null, null, 8, null, null, null, null);
_root.map[8] = new Array(null, null, null, 8, null, null, null, null, null, null, null, null, null, null, null, 4, 5, 8, null, null, null, null, null, 8, null, null, null, null);
_root.map[9] = new Array(null, null, null, null, 8, null, null, null, null, null, null, null, null, null, 4, 5, 8, null, null, null, null, null, 8, null, null, null, null, null);
_root.map[10] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 5, 8, null, null, null, null, null, 8, null, null, null, null, null, null);
_root.map[11] = new Array(null, null, null, null, null, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[12] = new Array(null, null, null, null, null, 4, 6, 7, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[13] = new Array(null, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, 3, 3, 3, 3, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(null, 4, 7, 6, 4, null, null, null, null, null, null, null, null, null, null, null, 3, 6, 3, 3, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, 3, 3, 3, 3, null, null, null, null, null, null, null, null);
_root.maxblock = 84;
_root.bshot = new Array(_root.b1x2, _root.b1x3, _root.b1x17, _root.b3x6, _root.b3x7, _root.b5x14, _root.b6x15, _root.b7x16, _root.b8x16, _root.b9x15, _root.b10x14, _root.b12x6, _root.b12x7, _root.b14x2, _root.b14x3, _root.b14x17, null);
}
if (_root.gamelevel == 20) {
_root.map = new Array();
_root.map[0] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null);
_root.map[3] = new Array(4, 6, 8, 4, 4, 4, 4, 7, 8, 4, 4, 4, 4, 5, 8, 4, 4, 4, 4, 4, null, null, null, null, null, null, 8, null);
_root.map[4] = new Array(4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null);
_root.map[5] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, 4, null, null, null, null, null, null);
_root.map[6] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, 4, null, null, null, null, null, null);
_root.map[7] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, null, null, null, null, null, null);
_root.map[8] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, null, null, null, null, null, null);
_root.map[9] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, 4, null, null, null, null, null, null);
_root.map[10] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, 4, null, null, null, null, null, null);
_root.map[11] = new Array(4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null);
_root.map[12] = new Array(4, 6, 8, 4, 4, 4, 4, 7, 8, 4, 4, 4, 4, 5, 8, 4, 4, 4, 4, 4, null, null, null, null, null, null, 8, null);
_root.map[13] = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null);
_root.map[14] = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 150;
_root.bshot = new Array(_root.b3x1, _root.b3x7, _root.b3x13, _root.b12x1, _root.b12x7, _root.b12x13, null);
}
if (_root.gamelevel == 21) {
_root.map = new Array();
_root.map[0] = new Array(4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.map[1] = new Array(6, 4, 4, 4, 4, 7, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null);
_root.map[2] = new Array(6, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, null, null, null, null, null);
_root.map[3] = new Array(5, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 8, 4, null, null, null, null);
_root.map[4] = new Array(8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, null, null, null);
_root.map[5] = new Array(5, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, 4, 4, 4, 4, null, null);
_root.map[6] = new Array(8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, null, null);
_root.map[7] = new Array(7, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, null, null);
_root.map[8] = new Array(7, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, null, null);
_root.map[9] = new Array(8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, null, null);
_root.map[10] = new Array(5, null, null, null, null, null, null, null, null, null, null, null, null, 8, null, null, null, null, null, null, null, null, 4, 4, 4, 4, null, null);
_root.map[11] = new Array(8, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, null, null, null);
_root.map[12] = new Array(5, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 8, 4, null, null, null, null);
_root.map[13] = new Array(6, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4, 4, 4, 4, null, null, null, null, null);
_root.map[14] = new Array(6, 4, 4, 4, 4, 7, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null);
_root.map[15] = new Array(4, 4, 4, 4, 4, 4, 4, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
_root.maxblock = 104;
_root.bshot = new Array(_root.b1x0, _root.b1x5, _root.b2x0, _root.b3x0, _root.b5x0, _root.b7x0, _root.b8x0, _root.b10x0, _root.b12x0, _root.b13x0, _root.b14x0, _root.b14x5, null);
}
i = 0;
while (i < 16) {
j = 0;
while (j < 27) {
if (_root.map[i][j] != null) {
_root[(("b" + i) + "x") + j].gotoAndStop(_root.map[i][j]);
_root[(("b" + i) + "x") + j]._visible = true;
} else {
_root[(("b" + i) + "x") + j]._visible = false;
}
j++;
}
i++;
}
}
_root.shotfrqlevel5 = new Array(0, 48, 48, 48, 48, 53, 48, 48, 48, 48, 48, 43, 43, 43, 43, 43, 38, 38, 38, 38, 38, 38);
_root.shotfrqlevel6 = new Array(0, 37, 37, 37, 37, 42, 37, 37, 37, 37, 37, 32, 32, 32, 32, 32, 27, 27, 27, 27, 27, 27);
_root.shotfrqlevel7 = new Array(0, 65, 65, 65, 65, 70, 65, 65, 65, 65, 60, 60, 60, 60, 60, 60, 55, 55, 55, 55, 55, 55);
_root.bulletspeed5 = new Array(0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6);
_root.bulletspeed6 = new Array(0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5);
_root.bulletspeed7 = new Array(0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4);
_root.maxbulletlevel = new Array(0, 5, 5, 5, 5, 8, 8, 8, 8, 8, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11);
_root.bossx = new Array(0, 320, 320, 320, 320, 320);
_root.bossy = new Array(0, 100, 115, 115, 130, 170);
_root.bosshp = new Array(0, 1200, 2700, 4500, 6500, 10000);
_root.maxenemylevel = new Array(0, 5, 5, 5, 5, 5, 7, 7, 7, 7, 7, 9, 9, 9, 9, 9, 11, 11, 11, 11, 11, 11);
_root.enemyrate1 = new Array(0, 0, 2, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.enemyrate2 = new Array(0, 0, 0, 2, 2, 0, 0, 0, 0, 1, 0, 0, 4, 1, 0, 0, 3, 0, 0, 0, 0, 0);
_root.enemyrate3 = new Array(0, 0, 0, 0, 0, 0, 2, 7, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0);
_root.enemyrate4 = new Array(0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.enemyrate5 = new Array(0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 2, 0, 3, 2, 0, 0, 0, 5, 2, 3, 0);
_root.enemyrate6 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 2, 5, 0, 0, 0, 0, 0, 0);
_root.enemyrate7 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 3, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0);
_root.enemyrate8 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0);
_root.enemyrate9 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 1, 1, 2, 0);
_root.enemyhp1 = new Array(0, 0, 8, 8, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.enemyhp2 = new Array(0, 0, 0, 13, 21, 0, 0, 0, 0, 24, 0, 0, 21, 16, 0, 0, 24, 0, 0, 0, 0, 0);
_root.enemyhp3 = new Array(0, 0, 0, 0, 0, 0, 24, 13, 0, 32, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0, 0, 0);
_root.enemyhp4 = new Array(0, 0, 0, 21, 21, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.enemyhp5 = new Array(0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 32, 0, 24, 0, 0, 0, 0, 120, 160, 180, 0);
_root.enemyhp6 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 40, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0);
_root.enemyhp7 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 29, 0, 32, 0, 0, 0, 0, 0, 56, 0, 0, 40, 0, 0);
_root.enemyhp8 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 32, 0, 0, 56, 0, 0, 40, 0, 0);
_root.enemyhp9 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 150, 40, 200, 0);
_root.enemyspeed = new Array(4, 6, 2, 5, 3, 2, 5, 3, 2);
hpmax = new Array();
hpmax[0] = new Array(0, 0, 0, 0, 0, 0, 0, 0);
hpmax[1] = new Array(0, 10, 20, 40, 60, 100, 100, 100);
hpmax[2] = hpmax[1];
hpmax[3] = hpmax[1];
hpmax[4] = hpmax[1];
hpmax[5] = new Array(0, 13, 20, 40, 60, 100, 100, 100);
hpmax[6] = new Array(0, 30, 60, 120, 180, 300, 300, 300);
hpmax[7] = hpmax[6];
hpmax[8] = hpmax[6];
hpmax[9] = hpmax[6];
hpmax[10] = new Array(0, 39, 60, 120, 180, 300, 300, 300);
hpmax[11] = new Array(0, 60, 120, 240, 360, 600, 600, 600);
hpmax[12] = hpmax[11];
hpmax[13] = hpmax[11];
hpmax[14] = hpmax[11];
hpmax[15] = new Array(0, 78, 120, 240, 360, 600, 600, 600);
hpmax[16] = new Array(0, 120, 240, 480, 720, 900, 900, 900);
hpmax[17] = hpmax[16];
hpmax[18] = hpmax[16];
hpmax[19] = hpmax[16];
hpmax[20] = new Array(0, 156, 240, 480, 720, 900, 900, 900);
hpmax[21] = new Array(0, 156, 240, 480, 720, 900, 900, 900);
function initlevel() {
_root.maxbullet = _root.maxbulletlevel[_root.gamelevel];
_root.maxenemy = _root.maxenemylevel[_root.gamelevel];
i = 0;
while (i <= _root.maxbullet) {
bullet[i].m_instance._visible = false;
bullet[i].m_instance.removeMovieClip();
delete bullet[i];
delete bmotion[i];
delete bperspective[i];
bullet[i] = null;
i++;
}
i = 0;
while (i <= _root.maxenemy) {
enemy[i].m_instance._visible = false;
enemy[i].m_instance.removeMovieClip();
delete enemy[i];
delete emotion[i];
delete eperspective[i];
enemy[i] = null;
i++;
}
_root.gamelevel = _root.gamelevel + 1;
if ((_root.gamelevel % 5) == 0) {
stopAllSounds();
_root.bgm.onSoundComplete = null;
_root.bgm.attachSound("bgm_boss");
_root.bgm.start(0, 9999);
}
_root.maxbullet = _root.maxbulletlevel[_root.gamelevel];
_root.maxenemy = _root.maxenemylevel[_root.gamelevel];
_root.clearcount = 0;
boss.removeMovieClip();
attachMovie("boss" + (_root.gamelevel / 5), "boss", _root.getNextHighestDepth());
_root.boss._x = bossx[_root.gamelevel / 5];
_root.boss._y = bossy[_root.gamelevel / 5];
_root.boss.hp = _root.bosshp[_root.gamelevel / 5];
if (_root.gamelevel == 21) {
boss.removeMovieClip();
attachMovie("boss5", "boss", _root.getNextHighestDepth());
_root.boss._x = bossx[5];
_root.boss._y = bossy[5];
_root.boss.hp = _root.bosshp[5];
}
i = 0;
while (i < 16) {
j = 0;
while (j < 27) {
_root[(("b" + i) + "x") + j]._visible = true;
j++;
}
i++;
}
leveldesign();
i = 0;
while (i < 16) {
j = 0;
while (j < 27) {
_root[(("b" + i) + "x") + j].hp = hpmax[_root.gamelevel][_root[(("b" + i) + "x") + j]._currentframe];
_root[(("b" + i) + "x") + j].block.gotoAndStop((_root[(("b" + i) + "x") + j].hp * 100) / hpmax[_root.gamelevel][_root[(("b" + i) + "x") + j]._currentframe]);
j++;
}
i++;
}
i = 0;
while (i < _root.bshot.length) {
if (_root.bshot[i]._visible) {
_root.bshot[i].shotcount = random(100);
_root.bshot[i].frq = _root["shotfrqlevel" + _root.bshot[i]._currentframe][_root.gamelevel];
}
i++;
}
if (_root.level == 1) {
player.hp = _root.phpmax[_root.phplevel];
player.mp = pmpmax[pmplevel];
}
_root.removeball(0, _root.maxball);
_root.removeball(1000, _root.maxcriball);
_root.removeball(2000, 2);
i = 0;
ball[i] = new GreenHermitObject("ball", "g_ball" + i, this);
motion[i] = new RoundBallMotion(ball[i], 15, 30, 610, 410);
perspective[i] = new GreenHermit2DView(ball[i]);
ball[i].setPosition(320, 380, 0);
ball[i].m_instance.life = 100;
rad = 45;
sx = Math.cos(rad);
sy = Math.sin(rad);
ball[i].setSpeed(_root.ballspeed * sx, _root.ballspeed * sy, 0);
if (_root.gamelevel > 15) {
i = 2000;
ball[i] = new GreenHermitObject("ballhp", "g_ball" + i, this);
motion[i] = new RoundBallMotion(ball[i], 15, 30, 610, 410);
perspective[i] = new GreenHermit2DView(ball[i]);
ball[i].setPosition(320, 380, 0);
ball[i].m_instance.life = 100;
if (_root.gamelevel > 20) {
ball[i].m_instance.gotoAndStop(2);
}
rad = 60;
sx = Math.cos(rad);
sy = Math.sin(rad);
ball[i].setSpeed(_root.ballspeed * sx, _root.ballspeed * sy, 0);
}
if (_root.gamelevel > 5) {
i = 2001;
ball[i] = new GreenHermitObject("ballmp", "g_ball" + i, this);
motion[i] = new RoundBallMotion(ball[i], 15, 30, 610, 410);
perspective[i] = new GreenHermit2DView(ball[i]);
ball[i].setPosition(320, 380, 0);
ball[i].m_instance.life = 100;
if (_root.gamelevel > 10) {
ball[i].m_instance.gotoAndStop(2);
}
rad = 30;
sx = Math.cos(rad);
sy = Math.sin(rad);
ball[i].setSpeed(_root.ballspeed * sx, _root.ballspeed * sy, 0);
}
i = 0;
while (i <= _root.maxbullet) {
bullet[i].m_instance._visible = false;
bullet[i].m_instance.removeMovieClip();
delete bmotion[i];
delete bperspective[i];
delete bullet[i];
bullet[i] = null;
i++;
}
i = 0;
while (i <= _root.maxenemy) {
enemy[i].m_instance._visible = false;
enemy[i].m_instance.removeMovieClip();
delete enemy[i];
delete emotion[i];
delete eperspective[i];
enemy[i] = null;
i++;
}
_root.skillpow = -1;
_root.onEnterFrame = rungame;
}
_root.gamelevel = 0;
_root.skillpoint = 3;
_root.soundvolume = 100;
_root.add_skillpoint = new Array(0, 1, 1, 1, 1, 3, 1, 1, 1, 1, 3, 1, 1, 1, 1, 3, 1, 1, 1, 1, 3, 0);
_root.attripoint = 5;
_root.add_attripoint = new Array(0, 2, 2, 2, 2, 4, 2, 2, 2, 2, 4, 2, 2, 2, 2, 4, 2, 2, 2, 2, 4, 0);
_root.maxbullet = _root.maxbulletlevel[_root.gamelevel];
_root.maxenemy = _root.maxenemylevel[_root.gamelevel];
var cliptable = new GreenHermitClipTable("block", 16, 27, this, 1);
cliptable.setPosition(15, 30);
cliptable.setSpace(0);
var ball = new Array();
var motion = new Array();
var perspective = new Array();
var bullet = new Array();
var bmotion = new Array();
var bperspective = new Array();
var enemy = new Array();
var emotion = new Array();
var eperspective = new Array();
_root.score = 0;
_root.clearcount = 0;
_root.maxball = 1;
_root.maxcriball = 5;
_root.rball = 10;
if (_root.gamelevel == 0) {
removeMovieClip(_root.dialog_tutorial);
_root.attachMovie("dialog_tutorial", "dialog_tutorial", _root.getNextHighestDepth());
_root.dialog_tutorial._x = 320;
_root.dialog_tutorial._y = 240;
_root.onEnterFrame = null;
}
onEnterFrame = null;
player.onKeyDown = function () {
player.wleft = 0;
player.wright = 0;
if (Key.getCode() == 37) {
player.wleft = 1;
player.wright = 0;
player.gotoAndStop(2);
if (_root.player._x < 0) {
_root.player._x = 0;
}
}
if (Key.getCode() == 39) {
player.wright = 1;
player.wleft = 0;
player.gotoAndStop(2);
if (_root.player._x > 640) {
_root.player._x = 640;
}
}
if (Key.getCode() == 90) {
if (_root.starballtoggle == 1) {
if (player.mp > _root.starmp[_root.starballtimelevel + _root.starballmaxlevel]) {
_root.criticalballcount = 0;
_root.maxball = _root.starballmax[_root.starballmaxlevel];
ang = new Array(-5, -85, -95, -100, -80, -105, -75, -110, -70, -115, -65, -120, -60, -125, -55, -130, -50, -135);
i = 1;
while (i < _root.maxball) {
removeMovieClip(ball[i].m_instance);
delete ball[i];
delete motion[i];
delete perspective[i];
ball[i] = new GreenHermitObject("fakeball", "g_ball" + i, _root);
motion[i] = new RoundBallMotion(ball[i], 15, 30, 610, 410);
perspective[i] = new GreenHermit2DView(ball[i]);
ball[i].m_instance._visible = true;
ball[i].m_instance._alpha = 100;
ball[i].setPosition(ball[0].X, ball[0].Y, 0);
rad = (ang[i] * Math.PI) / 180;
sx = Math.cos(rad);
sy = Math.sin(rad);
ball[i].setSpeed((_root.ballspeed - 5) * sx, (_root.ballspeed - 5) * sy, 0);
i++;
}
player.wleft = 0;
player.wright = 0;
player.mp = player.mp - _root.starmp[_root.starballtimelevel + _root.starballmaxlevel];
player.gotoAndStop(3);
}
}
}
if (Key.getCode() == 88) {
if (_root.skillpowtoggle == 1) {
if (player.mp > _root.powmp[_root.skillpowdamaglevel + _root.skillpowlevel]) {
ball[0].setSpeed(0, -_root.ballspeed, 0);
_root.skillpow = _root.skillpowamp[_root.skillpowdamaglevel];
player.mp = player.mp - _root.powmp[_root.skillpowdamaglevel + _root.skillpowlevel];
player.gotoAndStop(3);
}
}
}
};
player.speed = 10;
player.onKeyUp = function () {
player.wleft = 0;
player.wright = 0;
if (Key.getCode() == 37) {
player.gotoAndStop(1);
}
if (Key.getCode() == 39) {
player.gotoAndStop(1);
}
};
Key.addListener(player);
function effect1(ix, iy, ib) {
if (ib == 0) {
if (_root.skillpow == 0) {
skillbomb(ball[0].X, ball[0].Y);
_root.skillpow = -1;
}
}
_root[(("e1" + ix) + "x") + iy].removeMovieClip();
attachMovie("ef1", (("e1" + ix) + "x") + iy, _root.getNextHighestDepth());
_root[(("e1" + ix) + "x") + iy]._x = ix;
_root[(("e1" + ix) + "x") + iy]._y = iy;
_root[(("e1" + ix) + "x") + iy].gotoAndPlay(1);
}
function effect2(ix, iy, ib) {
if (ib == 0) {
if (_root.skillpow >= 0) {
skillbomb(ball[0].X, ball[0].Y);
_root.skillpow = -1;
}
}
_root[(("e2" + ix) + "x") + iy].removeMovieClip();
attachMovie("ef2x", (("e2" + ix) + "x") + iy, _root.getNextHighestDepth());
_root[(("e2" + ix) + "x") + iy]._x = ix;
_root[(("e2" + ix) + "x") + iy]._y = iy;
_root[(("e2" + ix) + "x") + iy].gotoAndPlay(1);
if (ib == 0) {
if (random(100) < _root.criticalstar[_root.criticalstarlevel]) {
_root.criticalballcount = (_root.criticalballcount + 1) % _root.maxcriball;
if (_root.criticalballcount < _root.maxcriball) {
removeMovieClip(ball[1000 + _root.criticalballcount].m_instance);
delete ball[1000 + _root.criticalballcount];
delete motion[1000 + _root.criticalballcount];
delete perspective[1000 + _root.criticalballcount];
ball[1000 + _root.criticalballcount] = new GreenHermitObject("fakeball", "g_ball1000" + _root.criticalballcount, _root);
motion[1000 + _root.criticalballcount] = new RoundBallMotion(ball[1000 + _root.criticalballcount], 15, 30, 610, 410);
perspective[1000 + _root.criticalballcount] = new GreenHermit2DView(ball[1000 + _root.criticalballcount]);
ball[1000 + _root.criticalballcount].m_instance._visible = true;
ball[1000 + _root.criticalballcount].m_instance._alpha = 100;
ball[1000 + _root.criticalballcount].setPosition(ball[0].X, ball[0].Y, 0);
rad = (Math.PI/4);
sx = Math.cos(rad);
sy = Math.sin(rad);
ball[1000 + _root.criticalballcount].m_instance.showtime = _root.criticalstartime[_root.criticalstarlevel];
ball[1000 + _root.criticalballcount].setSpeed(_root.ballspeed * sx, _root.ballspeed * sy, 0);
}
}
if (random(100) < _root.criticalbomb[_root.criticalbomblevel]) {
skillbomb2(ix, iy);
}
}
}
function effect4(ix, iy, ib) {
if (ib == 0) {
if (_root.skillpow == 0) {
skillbomb(ix, iy);
_root.skillpow = -1;
}
}
_root[(("e4" + ix) + "x") + iy].removeMovieClip();
attachMovie("ef2", (("e4" + ix) + "x") + iy, _root.getNextHighestDepth());
_root[(("e4" + ix) + "x") + iy]._x = ix;
_root[(("e4" + ix) + "x") + iy]._y = iy;
_root[(("e4" + ix) + "x") + iy].gotoAndPlay(1);
}
function effect5(ix, iy, ib) {
_root[(("e5" + ix) + "x") + iy].removeMovieClip();
attachMovie("ef2x", (("e5" + ix) + "x") + iy, _root.getNextHighestDepth());
_root[(("e5" + ix) + "x") + iy]._x = ix;
_root[(("e5" + ix) + "x") + iy]._y = iy;
_root[(("e5" + ix) + "x") + iy].gotoAndPlay(1);
}
function effect3(ix, iy, ib) {
_root[(("e3" + ix) + "x") + iy].removeMovieClip();
attachMovie("ef3", (("e3" + ix) + "x") + iy, _root.getNextHighestDepth());
_root[(("e3" + ix) + "x") + iy]._x = ix;
_root[(("e3" + ix) + "x") + iy]._y = iy;
_root[(("e3" + ix) + "x") + iy].gotoAndPlay(1);
}
function showdamage(ix, iy, id, ob) {
if (ob == 0) {
_root[(("d" + ix) + "x") + iy].removeMovieClip();
attachMovie("damage", (("d" + ix) + "x") + iy, _root.getNextHighestDepth());
_root[(("d" + ix) + "x") + iy]._x = ix;
_root[(("d" + ix) + "x") + iy]._y = iy;
_root[(("d" + ix) + "x") + iy].damage = id;
_root[(("d" + ix) + "x") + iy].gotoAndPlay(1);
} else {
ob = ob % 5;
_root["d" + ob].removeMovieClip();
attachMovie("damage", "d" + ob, _root.getNextHighestDepth());
_root["d" + ob]._x = ix;
_root["d" + ob]._y = iy;
_root["d" + ob].damage = int(id);
_root["d" + ob].gotoAndPlay(1);
}
}
function skillbomb(ix, iy) {
_root.powerbomb.removeMovieClip();
attackGroupBlock(ix, iy, _root.skillpowdamageamp[_root.skillpowlevel] + Math.round((_root.skilladd[_root.skilladdlevel] * random(_root.dex)) / 75));
attachMovie("skillbomb", "powerbomb", _root.getNextHighestDepth());
_root.powerbomb._x = ix;
_root.powerbomb._y = iy;
_root.powerbomb.gotoAndPlay(1);
_root.powerbomb.activeframe = 1;
_root.powerbomb.deactiveframe = 15;
_root.powerbomb.hitcheck = function () {
if ((this._currentframe >= this.activeframe) && (this._currentframe <= this.deactiveframe)) {
var _local3 = 0;
while (_local3 < _root.maxenemy) {
if (_root.enemy[_local3] != null) {
if (this.hitTest(_root.enemy[_local3].m_instance)) {
del = _root.skillpowdamageamp[_root.skillpowlevel] + Math.round((_root.skilladd[_root.skilladdlevel] * random(_root.dex)) / 75);
_root.enemy[_local3].m_instance.hp = _root.enemy[_local3].m_instance.hp - del;
if (_root.enemy[_local3].m_instance.hp < 0) {
_root.enemy[_local3].m_instance._visible = false;
_root.enemy[_local3].m_instance.removeMovieClip();
delete _root.enemy[_local3];
_root.enemy[_local3] = null;
effect4(_root.enemy[_local3].m_instance._x, _root.enemy[_local3].m_instance._y);
} else {
effect2(_root.enemy[_local3].m_instance._x, _root.enemy[_local3].m_instance._y);
}
}
}
_local3++;
}
}
};
}
function skillbomb2(ix, iy) {
if (_root.powerbomb == null) {
attackGroupBlock(ix, iy, Math.round(_root.skillpowdamageamp[_root.skillpowlevel] / 4) + Math.round((_root.skilladd[_root.skilladdlevel] * random(_root.dex)) / 75));
attachMovie("skillbomb2", "powerbomb", _root.getNextHighestDepth());
_root.powerbomb._x = ix;
_root.powerbomb._y = iy;
_root.powerbomb.gotoAndPlay(1);
_root.powerbomb.activeframe = 1;
_root.powerbomb.deactiveframe = 15;
_root.powerbomb.hitcheck = function () {
if ((this._currentframe >= this.activeframe) && (this._currentframe <= this.deactiveframe)) {
var _local3 = 0;
while (_local3 < _root.maxenemy) {
if (_root.enemy[_local3] != null) {
if (this.hitTest(_root.enemy[_local3].m_instance)) {
del = Math.round(_root.skillpowdamageamp[_root.skillpowlevel] / 4) + Math.round((_root.skilladd[_root.skilladdlevel] * random(_root.dex)) / 75);
_root.enemy[_local3].m_instance.hp = _root.enemy[_local3].m_instance.hp - del;
if (_root.enemy[_local3].m_instance.hp < 0) {
_root.enemy[_local3].m_instance._visible = false;
_root.enemy[_local3].m_instance.removeMovieClip();
delete _root.enemy[_local3];
_root.enemy[_local3] = null;
effect4(_root.enemy[_local3].m_instance._x, _root.enemy[_local3].m_instance._y);
} else {
effect2(_root.enemy[_local3].m_instance._x, _root.enemy[_local3].m_instance._y);
}
}
}
_local3++;
}
}
};
}
}
function attackGroupBlock(ix, iy, damage) {
rad = 45;
sx = Math.cos(rad);
sy = Math.sin(rad);
ball[0].setSpeed(_root.ballspeed * sx, _root.ballspeed * sy, 0);
ix = int((ix - 15) / 38);
jy = int((iy - 30) / 13);
sumdel = 0;
i = ix - 2;
j = jy - 4;
while (j < (jy + 4)) {
obj = _root[(("b" + i) + "x") + j];
if (obj != null) {
if (obj._visible) {
if (damage == null) {
del = damage;
} else {
del = damage;
}
obj.hp = obj.hp - del;
sumdel++;
if (obj.hp < 0) {
_root.clearcount++;
if (obj._currentframe != 8) {
obj._visible = false;
}
} else {
obj.block.gotoAndStop(int((obj.hp * 100) / hpmax[_root.gamelevel][obj._currentframe]));
}
}
}
j++;
}
i = ix + 2;
j = jy - 4;
while (j < (jy + 4)) {
obj = _root[(("b" + i) + "x") + j];
if (obj != null) {
if (obj._visible) {
if (damage == null) {
del = damage;
} else {
del = damage;
}
obj.hp = obj.hp - del;
sumdel++;
if (obj.hp < 0) {
_root.clearcount++;
if (obj._currentframe != 8) {
obj._visible = false;
}
} else {
obj.block.gotoAndStop(int((obj.hp * 100) / hpmax[_root.gamelevel][obj._currentframe]));
}
}
}
j++;
}
i = ix - 1;
while (i < (ix + 2)) {
j = jy - 5;
while (j < (jy + 5)) {
obj = _root[(("b" + i) + "x") + j];
if (obj != null) {
if (obj._visible) {
if (damage == null) {
del = damage;
} else {
del = damage;
}
obj.hp = obj.hp - del;
sumdel++;
if (obj.hp < 0) {
_root.clearcount++;
if (obj._currentframe != 8) {
obj._visible = false;
}
} else {
obj.block.gotoAndStop(int((obj.hp * 100) / hpmax[_root.gamelevel][obj._currentframe]));
}
}
}
j++;
}
i++;
}
showdamage(ball[0].X, ball[0].Y, (("BOMB! " + Math.abs(int(del))) + "x") + sumdel, 0);
_root[(("d" + ball[0].X) + "x") + ball[0].Y]._xscale = 120;
_root[(("d" + ball[0].X) + "x") + ball[0].Y]._yscale = 120;
}
function hit(o, ib) {
_root.clearcount++;
if (o._currentframe != 8) {
o._visible = false;
if (_root.skillpow > 0) {
_root.skillpow--;
}
effect1(ball[_root.indexb].X, ball[_root.indexb].Y, ib);
} else {
effect2(ball[_root.indexb].X, ball[_root.indexb].Y, ib);
o.block.gotoAndStop(int((o.hp * 100) / hpmax[_root.gamelevel][o._currentframe]) + 1);
}
_root.score = _root.score + 1;
}
function hitplayer(ix, iy) {
player.gotoAndStop(4);
player.injcount = 5;
}
function hitboss(i) {
if (i == 0) {
if (_root.skillpow > 0) {
_root.skillpow = 0;
_root.sumpow = _root.skilladd[_root.skilladdlevel] + Math.round((_root.skilladd[_root.skilladdlevel] * random(_root.dex + _root.skillpowdamage[_root.skillpowdamaglevel])) / 75);
} else {
_root.sumpow = _root.normalpow + Math.round((_root.normalpow * random(_root.dex)) / 100);
}
} else {
_root.sumpow = _root.starballtimelevel + Math.round(_root.skilladd[_root.skilladdlevel] / 12);
}
del = _root.sumpow;
_root.boss.hp = _root.boss.hp - del;
showdamage(obj._x, obj._y, Math.round(del));
if (_root.boss.hp <= 0) {
_root.boss._visible = false;
if (_root.gamelevel != 21) {
boss.removeMovieClip();
attachMovie("bossbomb" + int(_root.gamelevel / 5), "bomb", _root.getNextHighestDepth());
_root.bomb._x = bossx[_root.gamelevel / 5];
_root.bomb._y = bossy[_root.gamelevel / 5];
_root.bomb.gotoAndPlay(1);
} else {
boss.removeMovieClip();
attachMovie("bossbomb5", "bomb", _root.getNextHighestDepth());
_root.bomb._x = bossx[5];
_root.bomb._y = bossy[5];
_root.bomb.gotoAndPlay(1);
}
}
_root.score = _root.score + 2;
}
function gageprocess() {
_root.ball_hp_reco = _root.ball_hp_reco - random(2);
_root.ball_mp_reco = _root.ball_mp_reco - random(2);
if (_root.ball_hp_reco <= 0) {
_root.ball_hp_reco = 0;
}
if (_root.ball_mp_reco <= 0) {
_root.ball_mp_reco = 0;
}
if (player.hp < _root.phpmax[_root.phplevel]) {
reco_temp_ball = _root.ball_hp_reco / 100;
reco_temp_reco = _root.phpplus[_root.phppluslevel];
reco_temp_hp = _root.phpmax[_root.phplevel];
reco_temp_hplv = random(_root.phplevel) / 200;
reco_temp_luck = random(_root.dex) / 360;
reco_temp_str = random(_root.basicpowlevel) / 360;
player.hp = player.hp + ((((reco_temp_ball + ((reco_temp_hp * reco_temp_reco) / 100)) + reco_temp_hplv) + reco_temp_luck) + reco_temp_str);
} else {
player.hp = _root.phpmax[_root.phplevel];
}
hpgage.gotoAndStop(Math.round((player.hp * 100) / _root.phpmax[_root.phplevel]));
if (player.hp > 0) {
} else if (player.hp <= 0) {
if (_root.p_live <= 0) {
_root.maxbullet = _root.maxbulletlevel[_root.gamelevel];
_root.maxenemy = _root.maxenemylevel[_root.gamelevel];
i = 0;
while (i <= _root.maxbullet) {
bullet[i].m_instance._visible = false;
bullet[i].m_instance.removeMovieClip();
delete bullet[i];
delete bmotion[i];
delete bperspective[i];
bullet[i] = null;
i++;
}
i = 0;
while (i <= _root.maxenemy) {
enemy[i].m_instance._visible = false;
enemy[i].m_instance.removeMovieClip();
delete enemy[i];
delete emotion[i];
delete eperspective[i];
enemy[i] = null;
i++;
}
_root.removeball(0, _root.maxball);
_root.removeball(1000, _root.maxcriball);
_root.removeball(2000, 2);
i = 0;
while (i < 16) {
j = 0;
while (j < 27) {
_root[(("b" + i) + "x") + j]._visible = false;
_root[(("b" + i) + "x") + j].removeMovieClip();
j++;
}
i++;
}
_root.showhp = 0;
onEnterFrame = null;
_root.player._visible = false;
hpgage.gotoAndStop(1);
removeMovieClip(_root.fx_explode05_death);
_root.attachMovie("fx_explode05_death", "fx_explode05_death", _root.getNextHighestDepth());
_root.fx_explode05_death._x = _root.player._x;
_root.fx_explode05_death._y = _root.player._y;
removeMovieClip(_root.dialog_gameover);
_root.attachMovie("dialog_gameover", "dialog_gameover", _root.getNextHighestDepth());
_root.dialog_gameover._x = 320;
_root.dialog_gameover._Y = 240;
} else {
_root.p_live--;
_root.onEnterFrame = null;
removeMovieClip(_root.gfx_live_lost);
_root.attachMovie("gfx_live_lost", "gfx_live_lost", _root.getNextHighestDepth());
_root.gfx_live_lost._x = _root.player._x;
_root.gfx_live_lost._y = _root.player._y;
player.hp = _root.phpmax[_root.phplevel];
}
}
if (player.mp < pmpmax[pmplevel]) {
mpreco_temp_ball = _root.ball_mp_reco / 100;
mpreco_temp_reco = pmpplus[pmppluslevel] + Math.round(pmplevel / 500);
mpreco_temp_mp = pmpmax[pmplevel];
mpreco_temp_luck = random(_root.dex) / 180;
player.mp = player.mp + ((mpreco_temp_ball + ((mpreco_temp_mp * mpreco_temp_reco) / 100)) + (((mpreco_temp_mp * mpreco_temp_reco) / 100) * mpreco_temp_luck));
} else {
player.mp = pmpmax[pmplevel];
}
mpgage.gotoAndStop(Math.round((player.mp * 100) / pmpmax[pmplevel]));
if (boss != null) {
logo_mini._visible = false;
bossgage._visible = true;
bossgage.gotoAndStop(int((_root.boss.hp * 100) / _root.bosshp[int(_root.gamelevel / 5)]));
} else {
logo_mini._visible = true;
bossgage._visible = false;
bossgage.gotoAndStop(1);
}
_root.showmp = Math.round(player.mp);
_root.showhp = Math.round(player.hp);
}
_root.removeball = function (begin, count) {
i = begin;
while (i < (begin + count)) {
removeMovieClip(ball[i].m_instance);
delete ball[i];
delete motion[i];
delete perspective[i];
ball[i] = null;
i++;
}
};
_root.ballprocess = function (begin, count) {
i = begin;
while (i < (begin + count)) {
_root.indexb = i;
if (i == 0) {
if (_root.skillpow > 0) {
_root.sumpow = _root.skilladd[_root.skilladdlevel] + Math.round((_root.skilladd[_root.skilladdlevel] * random(_root.dex + _root.skillpowdamage[_root.skillpowdamaglevel])) / 75);
} else {
_root.sumpow = _root.normalpow + Math.round((_root.normalpow * random(_root.dex)) / 100);
}
} else {
_root.sumpow = _root.starballtimelevel + Math.round(_root.skilladd[_root.skilladdlevel] / 12);
}
if (i >= 2000) {
_root.sumpow = Math.round((_root.normalpow + Math.round((_root.normalpow * random(_root.dex)) / 100)) / 3);
}
if (_root.starballcount == _root.starballtime[_root.starballtimelevel]) {
if (((i != 0) && (i < 1000)) && (ball[i] != null)) {
ball[i].m_instance._alpha = ball[i].m_instance._alpha - 25;
if (ball[i].m_instance._alpha <= 0) {
removeMovieClip(ball[i].m_instance);
delete ball[i];
delete motion[i];
delete perspective[i];
ball[i] = null;
}
}
}
if ((i > 1000) && (i < 2000)) {
if (ball[i] != null) {
ball[i].m_instance.showtime--;
if (ball[i].m_instance.showtime < 0) {
removeMovieClip(ball[i].m_instance);
delete ball[i];
delete motion[i];
delete perspective[i];
ball[i] = null;
}
}
}
if (_root.ball[i] != null) {
if (player.hitTest(ball[i].X, ball[i].Y)) {
rx = ball[i].X - player._x;
ry = ball[i].Y - player._y;
rxy = Math.sqrt((rx * rx) + (ry * ry));
ux = rx / rxy;
uy = ry / rxy;
ball[i].SpeedY = _root.ballspeed * uy;
ball[i].SpeedX = _root.ballspeed * ux;
ball[i].Y = ball[i].Y + ball[i].SpeedY;
ball[i].X = ball[i].X + ball[i].SpeedX;
effect5(ball[i].X, ball[i].Y - _root.rball);
if ((i == 2000) && (_root.gamelevel > 20)) {
dep = _root.getNextHighestDepth();
attachMovie("hpup", "hpup" + dep, dep);
_root["hpup" + dep]._x = player._x;
_root["hpup" + dep]._y = player._y;
_root["hpup" + dep].gotoAndPlay(1);
if (_root.ball_hp_reco <= 0) {
_root.ball_hp_reco = Math.round(random(_root.phpmax[_root.phplevel]) / 10) + 10;
}
if (player.hp >= _root.phpmax[_root.phplevel]) {
player.hp = _root.phpmax[_root.phplevel];
}
}
if ((i == 2001) && (_root.gamelevel > 10)) {
dep = _root.getNextHighestDepth();
attachMovie("mpup", "hpup" + dep, dep);
_root["hpup" + dep]._x = player._x;
_root["hpup" + dep]._y = player._y;
_root["hpup" + dep].gotoAndPlay(1);
if (_root.ball_mp_reco <= 0) {
_root.ball_mp_reco = Math.round(random(_root.pmpmax[_root.pmplevel]) / 10) + 20;
}
if (player.mp >= _root.pmpmax[_root.phplevel]) {
player.mp = _root.pmpmax[_root.phplevel];
}
}
}
if (ball[i].SpeedY > 0) {
obj = _root[(("b" + int((ball[i].X - 15) / 38)) + "x") + int(((ball[i].Y - 30) + _root.rball) / 13)];
if (obj._visible) {
del = obj.hp - _root.sumpow;
obj.hp = del;
showdamage(ball[i].X, ball[i].Y - _root.rball, int(_root.sumpow), i);
if (del < 0) {
hit(obj, i);
} else {
obj.block.gotoAndStop(del);
effect2(ball[i].X, ball[i].Y, i);
ball[i].SpeedY = (-Math.abs(ball[i].SpeedY)) * 0.98;
}
}
} else {
obj = _root[(("b" + int((ball[i].X - 15) / 38)) + "x") + int(((ball[i].Y - 30) - _root.rball) / 13)];
if (obj._visible) {
del = obj.hp - _root.sumpow;
obj.hp = del;
showdamage(ball[i].X, ball[i].Y - _root.rball, int(_root.sumpow), i);
if (del < 0) {
hit(obj, i);
} else {
obj.block.gotoAndStop(del);
effect2(ball[i].X, ball[i].Y, i);
ball[i].SpeedY = Math.abs(ball[i].SpeedY) * 0.98;
}
}
}
if (ball[i].SpeedX > 0) {
obj = _root[(("b" + int(((ball[i].X - 15) + _root.rball) / 38)) + "x") + int((ball[i].Y - 30) / 13)];
if (obj._visible) {
del = obj.hp - _root.sumpow;
obj.hp = del;
showdamage(ball[i].X, ball[i].Y - _root.rball, int(_root.sumpow), i);
if (del < 0) {
hit(obj, i);
} else {
obj.block.gotoAndStop(del);
effect2(ball[i].X, ball[i].Y, i);
ball[i].SpeedX = (-Math.abs(ball[i].SpeedX)) * 0.98;
}
}
} else {
obj = _root[(("b" + int(((ball[i].X - 15) - _root.rball) / 38)) + "x") + int((ball[i].Y - 30) / 13)];
if (obj._visible) {
del = obj.hp - _root.sumpow;
obj.hp = del;
showdamage(ball[i].X, ball[i].Y - _root.rball, int(_root.sumpow), i);
if (del < 0) {
hit(obj, i);
} else {
obj.block.gotoAndStop(del);
effect2(ball[i].X, ball[i].Y, i);
ball[i].SpeedX = Math.abs(ball[i].SpeedX) * 0.98;
}
}
}
if (ball[i].SpeedX < 0) {
if (boss.hitTest(ball[i].X - _root.rball, ball[i].Y, true)) {
ball[i].SpeedX = Math.abs(ball[i].SpeedX) * 0.98;
ball[i].X = ball[i].X + (2 * ball[i].SpeedX);
hitboss(i);
if (_root.skillpow >= 0) {
_root.skillpow = 0;
}
effect1(ball[i].X, ball[i].Y, i);
}
} else if (boss.hitTest(ball[i].X + _root.rball, ball[i].Y, true)) {
ball[i].SpeedX = (-Math.abs(ball[i].SpeedX)) * 0.98;
ball[i].X = ball[i].X + (2 * ball[i].SpeedX);
hitboss(i);
if (_root.skillpow >= 0) {
_root.skillpow = 0;
}
effect1(ball[i].X, ball[i].Y, i);
}
if (ball[i].SpeedY > 0) {
if (boss.hitTest(ball[i].X, ball[i].Y + _root.rball, true)) {
ball[i].SpeedY = (-Math.abs(ball[i].SpeedY)) * 0.98;
ball[i].Y = ball[i].Y + (2 * ball[i].SpeedY);
hitboss(i);
if (_root.skillpow >= 0) {
_root.skillpow = 0;
}
effect1(ball[i].X, ball[i].Y, i);
}
} else if (boss.hitTest(ball[i].X, ball[i].Y - _root.rball, true)) {
ball[i].SpeedY = Math.abs(ball[i].SpeedY) * 0.98;
ball[i].Y = ball[i].Y + (2 * ball[i].SpeedY);
hitboss(i);
if (_root.skillpow >= 0) {
_root.skillpow = 0;
}
effect1(ball[i].X, ball[i].Y, i);
}
j = 0;
while (j <= _root.maxenemy) {
if (enemy[j].m_instance.hitTest(ball[i].m_instance)) {
enemy[j].m_instance.hp = enemy[j].m_instance.hp - _root.sumpow;
if (i == 0) {
if (random(100) < _root.hpadd[_root.hpaddlevel]) {
dep = _root.getNextHighestDepth();
attachMovie("hpup", "hpup" + dep, dep);
_root["hpup" + dep]._x = player._x;
_root["hpup" + dep]._y = player._y;
_root["hpup" + dep].gotoAndPlay(1);
player.hp = player.hp + ((_root.skilladd[_root.skilladdlevel] + Math.round((_root.skilladd[_root.skilladdlevel] * random(_root.dex)) / 100)) / 100);
if (player.hp >= _root.phpmax[_root.phplevel]) {
player.hp = _root.phpmax[_root.phplevel];
}
}
}
if (enemy[j].m_instance.hp < 0) {
enemy[j].m_instance._visible = false;
enemy[j].m_instance.removeMovieClip();
delete enemy[j];
enemy[j] = null;
effect4(ball[i].X, ball[i].Y, i);
} else {
effect2(ball[i].X, ball[i].Y, i);
}
}
j++;
}
if (_root.powerbomb != null) {
_root.powerbomb.hitcheck();
}
motion[i].process();
perspective[i].update();
}
i++;
}
};
function rungame() {
if (_root.soundvolume != 100) {
_root.soundvolume = _root.soundvolume + 2;
if (_root.soundvolume >= 100) {
_root.soundvolume = 100;
}
_root.bgm.setVolume(_root.soundvolume);
}
framecount++;
_root.sumpow = _root.normalpow + Math.round((_root.normalpow * random(_root.dex)) / 100);
if (_root.skillpow >= 0) {
ball[0].m_instance.power.gotoAndStop(15);
} else {
ball[0].m_instance.power.gotoAndStop(1);
}
i = 0;
while (i < _root.bshot.length) {
if (_root.bshot[i]._visible) {
_root.bshot[i].shotcount = _root.bshot[i].shotcount + random(2);
if (_root.bshot[i].shotcount >= (_root.bshot[i].frq + (_root.dex / 8))) {
_root.bshot[i].shotcount = 0;
bulletcount++;
if (bullet[bulletcount] == null) {
bullet[bulletcount].m_instance._visible = false;
bullet[bulletcount].m_instance.removeMovieClip();
delete bullet[bulletcount];
delete bmotion[bulletcount];
delete bperspective[bulletcount];
bullet[bulletcount] = new GreenHermitObject("bullet", "g_bullet" + bulletcount, this);
bullet[bulletcount].m_instance._visible = true;
if (_root.bshot[i]._currentframe == 5) {
bmotion[bulletcount] = new LineMotion(bullet[bulletcount], _root.bshot[i]._x + 20, _root.bshot[i]._y + 5, 0, _root.bshot[i]._x + 20, player._y, 0, _root.bulletspeed5[_root.gamelevel]);
} else if (_root.bshot[i]._currentframe == 6) {
bmotion[bulletcount] = new LineMotion(bullet[bulletcount], _root.bshot[i]._x + 20, _root.bshot[i]._y + 5, 0, random(640), player._y, 0, _root.bulletspeed6[_root.gamelevel]);
} else if (_root.bshot[i]._currentframe == 7) {
bmotion[bulletcount] = new LineMotion(bullet[bulletcount], _root.bshot[i]._x + 20, _root.bshot[i]._y + 5, 0, player._x, player._y, 0, _root.bulletspeed7[_root.gamelevel]);
}
bperspective[bulletcount] = new GreenHermit2DView(bullet[bulletcount]);
}
if (bulletcount > (_root.maxbullet - 1)) {
bulletcount = 0;
}
}
}
i++;
}
i = 0;
while (i <= _root.maxbullet) {
if (bullet[i] != null) {
bperspective[i].update();
bmotion[i].process();
if (bullet[i].Y > 480) {
bullet[i].m_instance._visible = false;
bullet[i].m_instance.removeMovieClip();
delete bmotion[i];
delete bperspective[i];
delete bullet[i];
bullet[i] = null;
}
if (bullet[i].m_instance._visible) {
if (player.hitTest(bullet[i].X, bullet[i].Y)) {
player.hp = player.hp - Math.round(10 + (_root.gamelevel * 4));
effect3(bullet[i].X, bullet[i].Y);
hitplayer(bullet[i].X, bullet[i].Y);
bullet[i].m_instance._visible = false;
bullet[i].m_instance.removeMovieClip();
delete bmotion[i];
delete bperspective[i];
delete bullet[i];
bullet[i] = null;
hitplayer(ball[i].X, ball[i].Y - _root.rball);
}
}
}
i++;
}
rnd = random(640);
i = 1;
while (i < 9) {
if (random(100 + Math.round(_root.dex / 8)) < _root["enemyrate" + i][_root.gamelevel]) {
ecount++;
if (enemy[ecount] == null) {
enemy[ecount].m_instance._visible = false;
enemy[ecount].m_instance.removeMovieClip();
delete enemy[ecount];
delete emotion[ecount];
delete eperspective[ecount];
enemy[ecount] = new GreenHermitObject("e" + i, "g_enemy" + ecount, this);
if (i < 4) {
emotion[ecount] = new LineMotion(enemy[ecount], random(640), 0, 0, random(640), random(640), 0, _root.enemyspeed[i]);
} else if (i < 7) {
rnd = random(640);
emotion[ecount] = new LineMotion(enemy[ecount], rnd, 0, 0, rnd, player._y, 0, _root.enemyspeed[i]);
} else if (i < 20) {
emotion[ecount] = new LineMotion(enemy[ecount], random(640), 0, 0, player._x, player._y, 0, _root.enemyspeed[i]);
}
enemy[ecount].m_instance.hp = _root["enemyhp" + i][_root.gamelevel];
enemy[ecount].m_instance._visible = true;
eperspective[ecount] = new GreenHermit2DView(enemy[ecount]);
}
}
if (ecount > (_root.maxenemy - 1)) {
ecount = 0;
}
i++;
}
i = 0;
while (i <= _root.maxenemy) {
if (enemy[i] != null) {
eperspective[i].update();
emotion[i].process();
if (enemy[i].Y > 480) {
enemy[i].m_instance._visible = false;
enemy[i].m_instance.removeMovieClip();
delete enemy[i];
delete emotion[i];
delete eperspective[i];
enemy[i] = null;
}
if (enemy[i].m_instance._visible) {
if (player.hitTest(enemy[i].m_instance)) {
player.hp = player.hp - Math.round(10 + (_root.gamelevel * 5));
effect3(enemy[i].X, enemy[i].Y);
hitplayer(enemy[i].X, enemy[i].Y);
enemy[i].m_instance._visible = false;
enemy[i].m_instance.removeMovieClip();
delete enemy[i];
delete emotion[i];
delete eperspective[i];
enemy[i] = null;
hitplayer(ball[i].X, ball[i].Y - _root.rball);
}
}
}
i++;
}
if (player.injcount > 0) {
player.injcount--;
if (player.injcount == 0) {
player.gotoAndStop(1);
}
}
if (player.wleft == 1) {
player._x = player._x - player.speed;
}
if (player.wright == 1) {
player._x = player._x + player.speed;
}
_root.ballprocess(0, _root.maxball);
_root.ballprocess(1000, _root.maxcriball);
_root.ballprocess(2000, 2);
_root.starballcount++;
if (_root.starballcount > (_root.starballtime[_root.starballtimelevel] + 5)) {
_root.starballcount = 0;
}
if (((_root.clearcount == _root.maxblock) && (boss == null)) && (bomb == null)) {
_root.maxbullet = _root.maxbulletlevel[_root.gamelevel];
_root.maxenemy = _root.maxenemylevel[_root.gamelevel];
i = 0;
while (i <= _root.maxbullet) {
bullet[i].m_instance._visible = false;
bullet[i].m_instance.removeMovieClip();
delete bullet[i];
delete bmotion[i];
delete bperspective[i];
bullet[i] = null;
i++;
}
i = 0;
while (i <= _root.maxenemy) {
enemy[i].m_instance._visible = false;
enemy[i].m_instance.removeMovieClip();
delete enemy[i];
delete emotion[i];
delete eperspective[i];
enemy[i] = null;
i++;
}
_root.removeball(0, _root.maxball);
_root.removeball(1000, _root.maxcriball);
_root.removeball(2000, 2);
i = 0;
while (i < 16) {
j = 0;
while (j < 27) {
_root[(("b" + i) + "x") + j]._visible = false;
j++;
}
i++;
}
_root.skillpoint = _root.skillpoint + _root.add_skillpoint[_root.gamelevel];
_root.attripoint = _root.attripoint + _root.add_attripoint[_root.gamelevel];
_root.onEnterFrame = null;
_root.dialog_levelclear.removeMovieClip();
_root.attachMovie("dialog_levelclear", "dialog_levelclear", _root.getNextHighestDepth());
_root.dialog_levelclear._x = 320;
_root.dialog_levelclear._y = 240;
}
gageprocess();
}
initlevel();
_root.onEnterFrame = null;
stop();
Symbol 79 MovieClip [mpup] Frame 27
this.removeMovieClip();
Symbol 116 MovieClip [ballmp] Frame 1
stop();
Symbol 119 MovieClip [ballhp] Frame 1
stop();
Symbol 137 MovieClip [ball] Frame 1
stop();
Symbol 169 MovieClip Frame 11
_parent.gotoAndStop(2);
Symbol 179 MovieClip Frame 1
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
barmask._xscale = percent * 100;
};
Symbol 211 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 211 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 222 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 222 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 230 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 230 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 238 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 238 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 246 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 246 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 254 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 254 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 262 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 262 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 270 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 270 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 277 MovieClip Frame 133
_root.play();
Symbol 278 MovieClip Frame 1
stop();
_root.stop();
shiftamt = 17;
isloaded = false;
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
if (bytesloaded == bytestotal) {
isloaded = true;
}
};
this.onRelease = function () {
getURL ("http://www.mofunzone.com/", "_blank");
};
Symbol 808 MovieClip [__Packages.GreenHermitTransform] Frame 0
class GreenHermitTransform
{
var m_object, m_px, m_py;
function GreenHermitTransform (object) {
m_object = object;
}
function update() {
doTranform();
m_object.m_instance._x = m_px;
m_object.m_instance._y = m_py;
}
function doTranform() {
m_px = m_object.X;
m_py = m_object.Y;
}
}
Symbol 809 MovieClip [__Packages.GreenHermitObject] Frame 0
class GreenHermitObject
{
var m_parent, m_instance, X, Y, Z, SpeedX, SpeedY, SpeedZ;
function GreenHermitObject (movieclipID, instance, initclip) {
m_parent = initclip;
m_instance = m_parent.attachMovie(movieclipID, instance, m_parent.getNextHighestDepth());
X = 0;
Y = 0;
Z = 0;
m_instance._x = m_tx;
m_instance._y = m_ty;
SpeedX = 0;
SpeedY = 0;
SpeedZ = 0;
}
function setSpeed(sx, sy, sz) {
SpeedX = sx;
SpeedY = sy;
SpeedZ = sz;
}
function addSpeed(sx, sy, sz) {
SpeedX = SpeedX + sx;
SpeedY = SpeedY + sy;
SpeedZ = SpeedZ + sz;
}
function setPosition(px, py, pz) {
X = px;
Y = py;
Z = pz;
}
}
Symbol 810 MovieClip [__Packages.GreenHermit2DView] Frame 0
class GreenHermit2DView extends GreenHermitTransform
{
function GreenHermit2DView (object) {
super(object);
}
}
Symbol 811 MovieClip [__Packages.GreenHermitClipTable] Frame 0
class GreenHermitClipTable
{
var m_col, m_row, m_parent, m_space, m_sx, m_sy;
function GreenHermitClipTable (movieclipID, col, row, initclip, space) {
if (initclip == null) {
initclip = _root;
}
if (space == null) {
space = 0;
}
m_col = col;
m_row = row;
m_parent = initclip;
m_space = space;
m_sx = 0;
m_sy = 0;
var _local5 = 0;
var _local4 = 0;
_local5 = 0;
while (_local5 < m_col) {
_local4 = 0;
while (_local4 < m_row) {
var _local3 = (("b" + _local5) + "x") + _local4;
m_parent.attachMovie(movieclipID, _local3, m_parent.getNextHighestDepth());
m_parent[_local3]._x = _local5 * (38 + m_space);
m_parent[_local3]._y = _local4 * (13 + m_space);
m_parent[_local3].gotoAndStop(1);
_local4++;
}
_local5++;
}
}
function setPosition(sx, sy) {
var _local4 = 0;
var _local2 = 0;
m_sx = sx;
m_sy = sy;
m_space = 0;
_local4 = 0;
while (_local4 < m_col) {
_local2 = 0;
while (_local2 < m_row) {
var _local3 = (("b" + _local4) + "x") + _local2;
m_parent[_local3]._x = (_local4 * (38 + m_space)) + m_sx;
m_parent[_local3]._y = (_local2 * (13 + m_space)) + m_sy;
_local2++;
}
_local4++;
}
}
function setSpace(space) {
m_space = space;
var _local4 = 0;
var _local2 = 0;
_local4 = 0;
while (_local4 < m_col) {
_local2 = 0;
while (_local2 < m_row) {
var _local3 = (("b" + _local4) + "x") + _local2;
m_parent[_local3]._x = (_local4 * (38 + m_space)) + m_sx;
m_parent[_local3]._y = (_local2 * (13 + m_space)) + m_sy;
_local2++;
}
_local4++;
}
}
}
Symbol 812 MovieClip [__Packages.GreenHermitMotion] Frame 0
class GreenHermitMotion
{
var m_object;
function GreenHermitMotion (object) {
m_object = object;
}
function process() {
customProcess(m_object);
}
function customProcess(target) {
target.X = target.X + target.SpeedX;
target.Y = target.Y + target.SpeedY;
target.Z = target.Z + target.SpeedZ;
}
}
Symbol 813 MovieClip [__Packages.RoundBallMotion] Frame 0
class RoundBallMotion extends GreenHermitMotion
{
var left, right, top, bottom;
function RoundBallMotion (object, zonex, zoney, zonew, zoneh) {
super(object);
left = zonex;
right = zonex + zonew;
top = zoney;
bottom = zoney + zoneh;
}
function customProcess(target) {
target.X = target.X + target.SpeedX;
target.Y = target.Y + target.SpeedY;
target.Z = target.Z + target.SpeedZ;
if (target.X < left) {
target.SpeedX = -target.SpeedX;
target.X = left;
}
if (target.X > right) {
target.SpeedX = -target.SpeedX;
target.X = right;
}
if (target.Y > bottom) {
target.SpeedY = -target.SpeedY;
target.Y = bottom;
}
if (target.Y < top) {
target.SpeedY = -target.SpeedY;
target.Y = top;
}
}
}
Symbol 814 MovieClip [__Packages.LineMotion] Frame 0
class LineMotion extends GreenHermitMotion
{
var dx, dy, dz, size, Speed;
function LineMotion (object, x1, y1, z1, x2, y2, z2, s) {
super(object);
object.X = x1;
object.Y = y1;
object.Z = z1;
dx = x2 - x1;
dy = y2 - y1;
dz = z2 - z1;
size = Math.sqrt(((dx * dx) + (dy * dy)) + (dz * dz));
Speed = s;
object.SpeedX = (Speed * dx) / size;
object.SpeedY = (Speed * dy) / size;
object.SpeedZ = (Speed * dz) / size;
}
function customProcess(target) {
target.X = target.X + target.SpeedX;
target.Y = target.Y + target.SpeedY;
target.Z = target.Z + target.SpeedZ;
}
}
Symbol 301 MovieClip [ef1] Frame 13
this.removeMovieClip();
Symbol 305 MovieClip [dialog_gameover] Frame 1
Symbol 305 MovieClip [dialog_gameover] Frame 85
_root.dialog.removeMovieClip();
_root.attachMovie("dialog_submit", "dialog", _root.getNextHighestDepth());
_root.dialog._x = 320;
_root.dialog._y = 240;
_root.dialog._visible = true;
_root.onEnterFrame = null;
removeMovieClip(this);
Symbol 330 MovieClip [ef2] Frame 13
this.removeMovieClip();
Symbol 340 Button
on (release) {
gotoAndPlay ("skip");
}
Symbol 350 Button
on (release) {
play();
}
Symbol 351 MovieClip [dialog_levelclear] Frame 2
this.onEnterFrame = function () {
_root.soundvolume = _root.soundvolume - 1;
if (_root.soundvolume <= 40) {
_root.soundvolume = 40;
this.onEnterFrame = null;
}
_root.bgm.setVolume(_root.soundvolume);
};
Symbol 351 MovieClip [dialog_levelclear] Frame 61
if ((_root.gamelevel % 5) != 0) {
gotoAndPlay ("skip");
}
if (_root.gamelevel == 5) {
gotoAndPlay (65);
}
if (_root.gamelevel == 10) {
gotoAndPlay (75);
}
if (_root.gamelevel == 15) {
gotoAndPlay (85);
}
if (_root.gamelevel == 20) {
gotoAndPlay (95);
}
Symbol 351 MovieClip [dialog_levelclear] Frame 65
_root.p_live = _root.p_live + 1;
stop();
Symbol 351 MovieClip [dialog_levelclear] Frame 75
stop();
Symbol 351 MovieClip [dialog_levelclear] Frame 85
_root.p_live = _root.p_live + 1;
stop();
Symbol 351 MovieClip [dialog_levelclear] Frame 94
stop();
Symbol 351 MovieClip [dialog_levelclear] Frame 110
if (_root.gamelevel != 21) {
_root.mskilldialog.removeMovieClip();
_root.attachMovie("skilldialog", "mskilldialog", _root.getNextHighestDepth());
_root.mskilldialog._x = 320;
_root.mskilldialog._y = 240;
_root.mskilldialog._visible = true;
_root.mskilldialog.startbutton.onRelease = function () {
_root.mskilldialog._visible = false;
_root.mskilldialog.onEnterFrame = null;
_root.framecount = 0;
_root.bulletcount = 0;
_root.ecount = 0;
_root.updatestatus();
_root.initlevel();
_root.onEnterFrame = _root.rungame;
};
this.removeMovieClip();
}
Symbol 351 MovieClip [dialog_levelclear] Frame 130
stop();
Symbol 351 MovieClip [dialog_levelclear] Frame 180
_root.dialog.removeMovieClip();
_root.attachMovie("dialog_submit", "dialog", _root.getNextHighestDepth());
_root.dialog._x = 320;
_root.dialog._y = 240;
_root.dialog._visible = true;
_root.onEnterFrame = null;
this.removeMovieClip();
Symbol 357 MovieClip Frame 1
gotoAndPlay("p" + random(4));
Symbol 357 MovieClip Frame 15
gotoAndPlay("p" + random(4));
Symbol 357 MovieClip Frame 35
gotoAndPlay("p" + random(4));
Symbol 357 MovieClip Frame 60
gotoAndPlay("p" + random(4));
Symbol 357 MovieClip Frame 90
gotoAndPlay("p" + random(4));
Symbol 362 MovieClip [bossbomb1] Frame 1
_root.onEnterFrame = null;
this.onEnterFrame = function () {
_root._x = random(30) - 15;
_root._y = random(30) - 15;
play();
};
Symbol 362 MovieClip [bossbomb1] Frame 125
_root.onEnterFrame = _root.rungame;
stopAllSounds();
_root.stageBGM();
_root._x = 0;
_root._y = 0;
this.removeMovieClip();
Symbol 367 Button
on (release) {
i = 0;
while (i < 16) {
j = 0;
while (j < 27) {
_root[(("b" + i) + "x") + j]._visible = false;
_root[(("b" + i) + "x") + j].removeMovieClip();
j++;
}
i++;
}
stopAllSounds();
getURL ("http://www.mofunzone.com/online_games/noidzor.shtml", "_blank");
_root.gotoAndStop("Title", "title");
removeMovieClip(_root.boss);
removeMovieClip(this);
}
Symbol 370 Button
on (release) {
i = 0;
while (i < 16) {
j = 0;
while (j < 27) {
_root[(("b" + i) + "x") + j]._visible = false;
_root[(("b" + i) + "x") + j].removeMovieClip();
j++;
}
i++;
}
_root.PubLink();
}
Symbol 373 Button
on (release) {
i = 0;
while (i < 16) {
j = 0;
while (j < 27) {
_root[(("b" + i) + "x") + j]._visible = false;
_root[(("b" + i) + "x") + j].removeMovieClip();
j++;
}
i++;
}
stopAllSounds();
_root.gotoAndStop("Title", "title");
removeMovieClip(_root.boss);
removeMovieClip(this);
}
Symbol 375 MovieClip [dialog_submit] Frame 1
Selection.setFocus("newname");
Symbol 377 MovieClip [bossbomb2] Frame 1
_root.onEnterFrame = null;
this.onEnterFrame = function () {
_root._x = random(30) - 15;
_root._y = random(30) - 15;
play();
};
Symbol 377 MovieClip [bossbomb2] Frame 125
_root.onEnterFrame = _root.rungame;
stopAllSounds();
_root.stageBGM();
_root._x = 0;
_root._y = 0;
this.removeMovieClip();
Symbol 383 Button
on (keyPress "k") {
gotoAndPlay ("skip");
}
Symbol 419 MovieClip [dialog_tutorial] Frame 1
play();
Symbol 419 MovieClip [dialog_tutorial] Frame 2
stop();
Symbol 419 MovieClip [dialog_tutorial] Frame 25
stop();
Symbol 419 MovieClip [dialog_tutorial] Frame 50
stop();
Symbol 419 MovieClip [dialog_tutorial] Frame 75
stop();
Symbol 419 MovieClip [dialog_tutorial] Frame 100
stop();
Symbol 419 MovieClip [dialog_tutorial] Frame 126
stop();
Symbol 419 MovieClip [dialog_tutorial] Frame 150
stop();
Symbol 419 MovieClip [dialog_tutorial] Frame 185
_root.mskilldialog.removeMovieClip();
_root.attachMovie("skilldialog", "mskilldialog", _root.getNextHighestDepth());
_root.mskilldialog._x = 320;
_root.mskilldialog._y = 240;
_root.mskilldialog._visible = true;
_root.mskilldialog.startbutton.onRelease = function () {
_root.mskilldialog._visible = false;
_root.mskilldialog.onEnterFrame = null;
_root.framecount = 0;
_root.bulletcount = 0;
_root.ecount = 0;
_root.updatestatus();
_root.onEnterFrame = _root.rungame;
};
removeMovieClip(this);
Symbol 421 MovieClip [bossbomb3] Frame 1
_root.onEnterFrame = null;
this.onEnterFrame = function () {
_root._x = random(30) - 15;
_root._y = random(30) - 15;
play();
};
Symbol 421 MovieClip [bossbomb3] Frame 125
_root.onEnterFrame = _root.rungame;
stopAllSounds();
_root.stageBGM();
_root._x = 0;
_root._y = 0;
this.removeMovieClip();
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 5
stop();
Symbol 452 MovieClip Frame 10
stop();
Symbol 453 MovieClip [skilldialog] Frame 1
i = 1;
while (i < 6) {
this["b" + i].ind = i;
this["b" + i].varlink = _root.upstatusvar[i];
this["b" + i].varmax = _root[_root.allstatusarray[i]].length - 1;
this["b" + i].onRelease = function () {
if (_root.attripoint > 0) {
if (_root[this.varlink] < this.varmax) {
_root.attripoint--;
_root[this.varlink]++;
}
}
};
this["b" + i].onRollOver = function () {
tip.gotoAndStop(this.ind * 5);
};
this["b" + i].onRollOut = function () {
tip.gotoAndStop(1);
};
i++;
}
i = 1;
while (i < 10) {
this["bs" + i].ind = i;
this["bs" + i].varlink = _root.upskillvar[i];
this["bs" + i].varmax = _root[_root.allskillarray[i]].length - 1;
this["bs" + i].onRelease = function () {
if ((this.ind == 2) || (this.ind == 3)) {
if (_root[_root.upskillvar[1]] < 1) {
return(undefined);
}
}
if ((this.ind == 5) || (this.ind == 6)) {
if (_root[_root.upskillvar[4]] < 1) {
return(undefined);
}
}
if (_root.skillpoint > 0) {
if (_root[this.varlink] < this.varmax) {
_root.skillpoint--;
_root[this.varlink]++;
}
}
};
this["bs" + i].onRollOver = function () {
tip.gotoAndStop((this.ind * 5) + 25);
};
i++;
}
this.updatedata = function () {
i = 1;
while (i < 6) {
this["v" + i] = _root[_root.upstatusvar[i]];
i++;
}
i = 1;
while (i < 10) {
this["vs" + i] = _root[_root.upskillvar[i]];
i++;
}
if (_root.skillpoint > 0) {
if (this.vs1 == 0) {
this.bs2._alpha = 25;
this.bs3._alpha = 25;
_root.bombmpuse = "";
} else {
this.bs1._alpha = 25;
this.bs2._alpha = 100;
this.bs3._alpha = 100;
_root.bombmpuse = "X -" + _root.powmp[_root.skillpowdamaglevel + _root.skillpowlevel];
}
if (this.vs4 == 0) {
this.bs5._alpha = 25;
this.bs6._alpha = 25;
_root.shadowmpuse = "";
} else {
this.bs4._alpha = 25;
this.bs5._alpha = 100;
this.bs6._alpha = 100;
_root.shadowmpuse = "Z -" + _root.starmp[_root.starballtimelevel + _root.starballmaxlevel];
}
} else if (_root.skillpoint <= 0) {
i = 1;
while (i < 10) {
this["bs" + i]._alpha = 25;
i++;
}
}
if (_root.attripoint <= 0) {
i = 1;
while (i < 6) {
this["b" + i]._alpha = 25;
i++;
}
}
};
this.onEnterFrame = function () {
updatedata();
};
stop();
Symbol 455 MovieClip [bossbomb4] Frame 1
_root.onEnterFrame = null;
this.onEnterFrame = function () {
_root._x = random(30) - 15;
_root._y = random(30) - 15;
play();
};
Symbol 455 MovieClip [bossbomb4] Frame 125
_root.onEnterFrame = _root.rungame;
stopAllSounds();
_root.stageBGM();
_root._x = 0;
_root._y = 0;
this.removeMovieClip();
Symbol 457 MovieClip [bossbomb5] Frame 1
_root.onEnterFrame = null;
this.onEnterFrame = function () {
_root._x = random(30) - 15;
_root._y = random(30) - 15;
play();
};
Symbol 457 MovieClip [bossbomb5] Frame 125
_root.onEnterFrame = _root.rungame;
stopAllSounds();
_root.stageBGM();
_root._x = 0;
_root._y = 0;
this.removeMovieClip();
Symbol 495 MovieClip [skillbomb] Frame 1
onEnterFrame = function () {
_root._x = random(20) - 10;
_root._y = random(20) - 10;
};
Symbol 495 MovieClip [skillbomb] Frame 21
_root._x = 0;
_root._y = 0;
this.removeMovieClip();
Symbol 513 MovieClip [ef2x] Frame 10
_root._x = 0;
_root._y = 0;
this.removeMovieClip();
Symbol 530 MovieClip [ef3] Frame 1
onEnterFrame = function () {
_root._x = random(4) - 2;
_root._y = random(4) - 2;
};
Symbol 530 MovieClip [ef3] Frame 10
_root._x = 0;
_root._y = 0;
this.removeMovieClip();
Symbol 580 MovieClip [skillbomb2] Frame 2
onEnterFrame = function () {
_root._x = random(5) - 5;
_root._y = random(5) - 5;
};
Symbol 580 MovieClip [skillbomb2] Frame 26
_root._x = 0;
_root._y = 0;
this.removeMovieClip();
Symbol 629 MovieClip [hpup] Frame 27
this.removeMovieClip();
Symbol 632 MovieClip [damage] Frame 50
this.removeMovieClip();
Symbol 733 MovieClip [fx_explode05_death] Frame 52
stop();
Symbol 734 MovieClip [gfx_live_lost] Frame 26
_root.onEnterFrame = _root.rungame;
removeMovieClip(this);
Symbol 735 MovieClip Frame 1
stop();
Symbol 756 Button
on (release) {
getURL ("http://www.mofunzone.com/game_scores/noidzor/highscores.shtml", "_blank");
}
Symbol 760 Button
on (release) {
_root.PubLink();
}
Symbol 763 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 100
stop();
Symbol 787 MovieClip Frame 100
stop();
Symbol 791 MovieClip Frame 100
stop();
Symbol 803 MovieClip Frame 1
stop();
Symbol 803 MovieClip Frame 5
stop();
Symbol 806 Button
on (release) {
_root.PubLink();
}